@zeniai/web-cockpit-ui 1.15.5-qa → 1.15.6-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/assets/{ACHDetailsPage-BLKhKkZC-B6yajpe4.js → ACHDetailsPage-DDuW5spI-DmIOfZaQ.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-J3dtNEgn-CyCBRrSq.js → AIPerformancePage-Bbk-pUwz-C4OuKpoP.js} +1 -1
  3. package/dist/assets/AccountInfoPage-D0Kzx5mY-BAk7_PwQ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D8oVcn1T-CzQ3IzP7.js → AccountInfoPageContent-BA3WBfD4-D0j1Octx.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B9_FdrYm-BwA3_wO5.js → AccountLockedInfoModal-Bs1ImO2L-DxzozOh-.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DFjW0u9--yCg_Nq2n.js → AccountReconDetailsDrawerPage-Ci_Eb0_d-BUE92sWn.js} +12 -12
  7. package/dist/assets/{AccountRow-Bq6uJ1hA-CcRQ_R2_.js → AccountRow-BWclqiQh-CE6dTXhw.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DQmHrc8b-4RlJ7dsg.js → AccountsPromoCardStack-BHgGIeBG-CmkZoBWh.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-O987RTn2-BZzZn_Kw.js → AddAddressForCardDrawer-C_QsOhGT-DsebdApi.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-C2Z6f8Y6--FPE1uf9.js → AddToWalletPage-Dllxg_0u-Dx42ctyC.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BlPqvXdx-cDHArZjn.js → AgingReportsPage-CBHhfTKI-C6o1AzEa.js} +1 -1
  12. package/dist/assets/{AllUserItems-CL17FcAl-BcuiUm6t.js → AllUserItems-Bdv9AIQ9-CmD4bDJM.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CHVwRH_g-CDcR5kBk.js → ApAgingDetailPage-EE3MrY5l-GTVFM97s.js} +5 -5
  14. package/dist/assets/{AppBasePage-CnlPnTBn-C2N-RLb9.js → AppBasePage-02I6V3Np-CCphkJYy.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-C2CNe5yn-CVDhTyQq.js → AppDrawerContent-DbBd9m20-CkGtqH-e.js} +6 -6
  16. package/dist/assets/{ApprovalRulesSettingsPage-XsMzIe4e-BshSh3vL.js → ApprovalRulesSettingsPage-5bJIKss7-Bq1QuSO5.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Ck1uAv_a-CY0UAZzE.js → ArAgingChart-BqBx1Gj1-Dtyx3ykG.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-KRWJzbCq-ENUC0XH0.js → ArAgingDetailPage-D9rI5yue-CC_VXcgM.js} +5 -5
  19. package/dist/assets/{AttachmentView-uaen0kuU-BLtDvJym.js → AttachmentView-CeblaMyI-BGuVsAFd.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CwOhGEgT-HsgZBFUH.js → BankAccountSection-B3v3BDPK-D84yJmse.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-D7BVcqIu-CAilro7y.js → BankAccountWarningSection-DCi9o7_J-CCUXAbXm.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BOdlcBfa-B862853q.js → BankConnectionsSettingsPage-Csbc7IYe-FYIp5A-6.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Ct4Q960V-CcQXypWc.js → BillDetailPage-ByPP2r-L-Dy5TaPD-.js} +6 -6
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DUU4rXuM-CxDkFcxJ.js → BillPayApprovalRuleDetailPage-GDOnscxH-CWuGDMqT.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-C0pcFzje-C_8luS6Q.js → BillPayApprovalRulesPage-BqDyhnz3-B0_T4q5D.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BsEtxcjB-Cdf_GDEd.js → BillPayPromoPage-B1_ugFQw-BTaNERS7.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-B-rBYCtR-DgaQzPx9.js → BillPaySetUpPage-Cx2vQIL8-CS_5d8G2.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-BadzsZdt-BWSUJGLs.js → BillingSettingsPage-BiKaSV4T-CKmWrEJ5.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CbA-LUIt-0sYnn4IM.js → BillsBulkReviewDrawerPage-B8KhD0xH-39Z7_l7K.js} +1 -1
  30. package/dist/assets/{BoxItem-BoanamYM-LrJX4JYX.js → BoxItem-CqsCCOrk-3dsq5OCh.js} +3 -3
  31. package/dist/assets/{BusinessVerificationPage-B9hjIdCd-CJiJbU9u.js → BusinessVerificationPage-8tFxbXGC-DJTKBkwq.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DFO_EKrs-cO_HCGSk.js → CardNumberSubText-ByPbO0F8-NoIjeblD.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Bp85-5Ie-DVTl8leg.js → CashbackDetailPage-Ve3JZpeP-CIU9Z6Ud.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-D8dY9X8Q-CxLkHRJg.js → ChargeCardDetailPage-D7zLKDQo-BKsWUNwo.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CxplfJ1W-DYMc5T_c.js → ChargeCardListPage-Cnm7GqIj-Bo3bzB3t.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-scY11ryy-DiQBQtP0.js → ChargeCardListTable-bTR8Mmj4-OJHIEg6M.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-Brh4ot5q-DDUd6_3s.js → ChargeCardPaymentHistoryPage-Cufm-hgn-6YH6ILTO.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-BUGGPnco-Gkf99GV0.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Bumq17f6-D0WQyKKN.js → ChargeCardSetupPage-B-jcdCNM-LK6iT6P8.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-DbU7LEIP-CRit8Q5S.js → ChargeCardStatementsPage-CyVlO8hd-CSdH-m0s.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-CFl7Vr_I-CweAWiZj.js → CheckDepositDrawerPage-BmG5ma6K-BUju2PKA.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CRaZZnGr-BljjGZjn.js → CollapsableReportTable-LB-wYzj1-B7gXwkx1.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-C4rN7mXr-DGQrC1mq.js → CompanyOfficerDetailsSection-CMl5cDNs-DXQkvQJO.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-I21kA_Ir-DJjRvGKO.js → CompanyPassportCard-BwHjmTyn-DTj-m8EW.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-BSDnF5-7-BU5nHQfj.js → CompanyPassportPage-BlDBD5EG-C-1jtLrK.js} +1 -1
  46. package/dist/assets/{CompleteProfile-uultMZ5R-B4uDmeYB.js → CompleteProfile-H7UexvAo-DS_U9ezr.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-CpmYtgfk-BNp_aNl4.js → ConfettiBurst-nOkNOTPr-CU4839EQ.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-AfKsEb9G-DJP3ueZ2.js → CreateOrEditVendorPage-Bt2itRHK-lFE26i6l.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D0Lh5Tw1-DD5m0ddI.js → CreditCardPaymentDrawerPage-B8eb8Q0G-CaFYQ2DA.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-BvNBUOqg-CsBuJI1p.js → CurrencySelectField-DIh7_ile-X1kVuNeI.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-OtCugBPI-D91o4aDd.js → CustomerOnboardingActivationPage-B3t4tiur-DjVPHMY9.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CYcBYKlf.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DKTuqAzn.js → CustomerOnboardingDetailPageSkeleton-JE_MoyoU-Bsgy0GZh.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-p062pNc5-BNSIkJLR.js → CustomerOnboardingNoStepsPage-D1XU-7jk-Cn22BABs.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-Byojt-WN-BI89EQZZ.js → CustomerOnboardingPage-DFky4iQx-BxCGJxNC.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-C9W7h_tT-DDpX8IWO.js → CustomerOnboardingProductSuitePage-DZLKr3qq-COlAJTzv.js} +3 -3
  57. package/dist/assets/{Dashboard-Dkwr9npN-DOlsnBvO.js → Dashboard-z7EuNcjw-UzQuGNor.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-Qk5_OFw7-45oSqJmy.js → DashboardReportPage-BX2xSgwt-CtMCy2_m.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BiD26wyg-BRXfEvXl.js → DashboardSidebarBackgroundAnimation-fiNmHYV3-bIt2Kc3t.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-13TnlK6P-psKtbL0Y.js → DepositAccTransactionItem-CmlUJZgz-bnmz8rhM.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-Dc3G81fB-B2QZVX7l.js → DepositAccTransactionListPage-MLQJ9urd-BDlhd475.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-CCIoGmZO-B9flQJrp.js → DomesticWireDetailsPage-D-SBQqbR-DQWXll-f.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-Nc_Ra7Co-CsNXZ-X3.js → DownloadOverlay-DznbXeUZ-D1NoRQ5k.js} +1 -1
  64. package/dist/assets/{DrawerPage-Bq1naYya-CbTI2Oir.js → DrawerPage-8d8mdD3v-Dfra5TT0.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BnYTxq_9-Bs1JHHVK.js → EditPeoplePage-CTwY7ePr-D0nnt0-I.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-D-uH9OV3-Cq2uYRbN.js → EditReimbursementDetailPage-DVg6dH7p-CjarxZTI.js} +1 -1
  67. package/dist/assets/EntityDetailPage-Bj5lQ0PH-CGebRb13.js +18 -0
  68. package/dist/assets/{EntitySummarySection-BI44dDjO-B-d9qKtl.js → EntitySummarySection-CloCPwyO-CgnOdasB.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-XA0L4mZw-CpnZngC7.js → ExpenseAutomationOverviewPage-dHZEdK4L-elD22oh3.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CGkJWoKY-BRMhK3VV.js → ExpenseAutomationPage-CWyP8ETl-CY2GVa2F.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-BX3rmT8V-CwR2-MHb.js → ExpressPayPage-liflPa6J-BKtQJoOF.js} +8 -8
  72. package/dist/assets/{FeaturePreviewPage-W5YS3_F--oZdslOzE.js → FeaturePreviewPage-DhSoy4IL-CDDhl9rE.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-C1Nmspra-g1QKZ2WI.js → FollowStepsSection-DW5HuzRR-DcJNUD9X.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-BfVSGVJe-nrO0MSCI.js → GlobalReviewListPage-CGCdgQFw-qnxwU5hv.js} +1 -1
  75. package/dist/assets/{InformationCardStack-BwgEyJER-DBUBT-P7.js → InformationCardStack-D6xiRsRy-BhoVOIXn.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-BnEWSQ0m-BuxHTIEs.js → InsightsCardStack-D1eIlMkU-ukmVGuFg.js} +5 -5
  77. package/dist/assets/{InsightsSection-hFNVHtei-DFkdhpSF.js → InsightsSection-BT0lHMo3-BgjHvnt6.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-De8DEt0a-CU8Pbtf9.js → IntegrationsSettingsPage-CRZfnPIT-XEzkhiGZ.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Dri_Nj57-C0blfNRG.js → InternationalWireSwiftDetailsPage-DouGaVny-CRo_03LB.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CPIRgDy5-BkL1JOGT.js → InternationalWireVerificationPage-B0ha4dEA-D2bWiaRf.js} +3 -3
  81. package/dist/assets/{InviteFormPage-Ca_tdccZ-CGjMuOAB.js → InviteFormPage-dCGpLoBC-CnwRO6GR.js} +1 -1
  82. package/dist/assets/{InvitePageListView-BQbRhQ6V-CRXbgx-s.js → InvitePageListView-DhV6Pw56-Dy7_3oOM.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-BKffwOP--V5gE16hl.js → InvitePeoplePage-J-HYw9MC-DQIPfQK0.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-H-JhX_DQ-Cg45FklV.js → InvoiceUploadSection-BJLLf4x5-BYeTjPlO.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-rinAPB-d-DG3ZhygF.js → IssueChargeCardPage-hEaegmyi-DePIbfxK.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-kPYLLOgv-Ca8uDguJ.js → LabeledAddressValue-PXtKo31O-B1dTxAsd.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-B_N4O3Mv-CPUPG_5z.js → LabeledAddressValueField-D0Ow_UPE-BHdlfsNf.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DiD9FNgO-D1jXFK30.js → LabeledControlledCheckBoxField-DVOeaKu0-CwyeTdvX.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-BCYMtV4j-BKgMFZkq.js → LabeledCountryMultiSelectField-CJud_Lwc-Sf4MZhvZ.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-Dm03LVdQ-hgzKVxJf.js → LabeledCreatableSingleSelectField-Dqt1M07c-CNB-6Gh3.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-CWqz_jSU-RG8yAT0I.js → LabeledDocumentField-D2n9ry_0-Cul5QuOh.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-DhwPnDY8-Cj0K2Ch4.js → LabeledDropDownFormattedTextField-BfpPbI2T-u_0q2QC6.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-C9feGqHN-USGYCM7x.js → LabeledMultiSelectField-DH6iG4SR-CYpPK-Cw.js} +1 -1
  94. package/dist/assets/{LabeledText-C91Eu04E-CepIkWM4.js → LabeledText-BHQeQs6Z-DhDpA6wq.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-uruIe6mr-CpShuEXQ.js → LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-CkdExi4v.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BBpe1-wI-eTEFPYGs.js → LabeledZeniRolesDropDownField-Dpdlc1DB-DQObOG0W.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-Cn7He0uo-CV8un8kj.js → LinkJETransactionPage-CWOfaAhz-DWQUITuq.js} +2 -2
  98. package/dist/assets/{LockCardPage-CaIor45t-Dj9ZYRbG.js → LockCardPage-BMt1zujT-CFeVzpTL.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DQJYforY-CYt371Eb.js → LowBalancePopup-BN2RBNOV-hy8CG739.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-D5GQff-7.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-77L1DsxR.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-BJr0TTTO.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-RsvHwQTQ-Cr9S_5hK.js → MagicLinkSuccessPage-DQbdgFhH-BQZS2a7G.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DaThYY60-yvWZdo6C.js → MagicLinkTitleSection-BYkzInkY-CnbT4Veu.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-DiSohByM-9g2JEN_I.js +21 -0
  106. package/dist/assets/{Menu-DWx47kcG-DbhvsdcT.js → Menu-TzNY4ajT-Bc5fvTOh.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DtnGJLK--CI7NINxg.js → MyBankConnectionsSettingsPage-Bk4Hdapv-gAHHFi2O.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-B1A2Dxw3-BOWmPTsp.js → MyPendingActivationChargeCardListPage-C5Q5p5zq-CnCSpKZ4.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BHpnpTmJ-CAbs0YL8.js → MyProfileSettingsPage-BxiofsK0-C3vlSwei.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Biz620wH-TEitrYNs.js → NavBarWithPicker-DX31nlvR-DsZZuak6.js} +1 -1
  111. package/dist/assets/{NavigationArrow-CV_u5I1d-BUNwYCaW.js → NavigationArrow-BDdBEJFM-kO85jIsj.js} +1 -1
  112. package/dist/assets/{NavigationDots-DBshnTnS-CFrPftyk.js → NavigationDots-BZOdXVhR-CfDXOc_R.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DV2k3q5N-DvvNwwEK.js → NewGlobalMerchantPage-qOuBGJ6w-BmGoY907.js} +1 -1
  114. package/dist/assets/{NoDataChart-DmThvRWS-DMCfCw3w.js → NoDataChart-DxwqqeoI-DOHENLK_.js} +1 -1
  115. package/dist/assets/{NoDataTable-8GCzndE4-COwZVLdz.js → NoDataTable-DOZy5UAM-BJyDiZ-C.js} +1 -1
  116. package/dist/assets/{NotFoundPage-VR72eVPP-C86iqIgz.js → NotFoundPage-B31SyO4w-TK5jF5I6.js} +5 -5
  117. package/dist/assets/{NotificationSettingsPage-Bwf-7o4F-cOymEnQu.js → NotificationSettingsPage-3GoJDHjY-e7wDfjlQ.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-Dn_RFaAK-CfnUwgLK.js → NotificationsListConfig-C-OlC5S6-zDT4Ztbb.js} +1 -1
  119. package/dist/assets/{NotificationsPage-B8GufkTS-DKihZEjC.js → NotificationsPage-Cuz_KDD8-wXs79zwS.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BlEqljuU-CpCR9K40.js → OpExByVendorPage-B2CQ-hT1-CdHYab7a.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-BYJ8KqrE.js → OverlayContainerPage-Daz3A7cI-DCSdV5h7.js} +1 -1
  122. package/dist/assets/PandLWithForecastPage-Dkcy07sC-JgqiuJuu.js +107 -0
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BIxsEOJG-B4rGOs0i.js → PaymentAccountSetupBillingAddressSection-Dnw0APJu-DFVf9SKl.js} +1 -1
  124. package/dist/assets/{PeoplePage-DahKRMoB-j_nwq06O.js → PeoplePage-yzYfizds-CBGf3Gd5.js} +1 -1
  125. package/dist/assets/{Preview-BtZ3ZcmU.js → Preview-CSa6riGd.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-1P24z1p4-ZVWDXjYr.js → ProductsCarousel-DRfZ_sZ_-mmjpTyj5.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-DiKj0_oo-Cd0BSFVK.js → PromoBaseCards-CbPywvj2-1eQh0qml.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-A0ysjdIC-DUlZygO9.js → QBOConnectionDialog-DLuBxOXr-DCzBovUv.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-Me828i1a-DkFeUuRm.js → QBOSetupSection-CxLynYFq-Cwy-C1n0.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-dID4dZbu-BsIhKH78.js → ReimbursementApprovalRuleDetailPage-CDK4q7B4-CUbM2HBk.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-D8stgYq_-D3kqEOx0.js → ReimbursementApprovalRulesPage-DFmZm1Qr-Cl7V1PiK.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-DaYD1eTP-DKAx24cc.js → ReimbursementDetailPage-DOCRkpPT-CA-MUhmO.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-ClRa3wo6-01Wxwlz5.js → ReimbursementPromoPage-DENI6dAX-B1sT6_KV.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-CaJCRajP-DiAl9zxc.js → ReimbursementSetUpPage-BJoFNAQR-Lp5jp-Tn.js} +5 -5
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BuBVWui--LumBRV3u.js → ReimbursementsBulkReviewDrawerPage-C0a107hB-D2OOQoI4.js} +1 -1
  136. package/dist/assets/{ReloadCard-DzxA-pGI-BTxFtDZL.js → ReloadCard-BCuJkAqw-CYhviv2P.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-D1k2eDtE-C7gtHRC6.js → ReportTableViewSelector-CEo0z4A2-CAPsKjzu.js} +1 -1
  138. package/dist/assets/{ReportsPage-DqXYfBQC-HKnm0VLl.js → ReportsPage-gMt_l_Aa-DIB3PTgR.js} +5 -5
  139. package/dist/assets/{RevenueChart-C0vx4zUX-CS6tiD6b.js → RevenueChart-JLdzi3aQ-CfmQzfo9.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-DmHHVA8I-rryT8nyx.js → ReviewDetailsPage-WBKwpVad-B2V98SLr.js} +52 -52
  141. package/dist/assets/{ReviewOverlay-tGj059Ib-BKVdx9g4.js → ReviewOverlay-DqOXHkMM-jjjTXZU9.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-BGafXnoE-2tbvzQW2.js → RoleWithToolTip-BYuFXi4d-BXj5hmHZ.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DuuvsMhX-CBSo_UOt.js → ScheduleDetailsFixedAssetsPage-BU--t7Cu-BVboxaxs.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-BCw7YaHZ-BPICcxXg.js → ScheduleDetailsPage-_Ag36lXG-DTOl83nB.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-C31xhtxt-DsLLSYz6.js → ScheduleSequenceTable-axweBiV5-Bbbb-U5v.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-C67GO5Te.js → ScreenRoutes-C0-VBL51.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D8PGmPML-Bzhtk2nI.js → SetUpAccountSection-CerAAia_-BvPxgY0Z.js} +1 -1
  148. package/dist/assets/{SignIn-CwWQnPnB-BWr26Rrd.js → SignIn-B1yQ5XWH-C-xtXH4l.js} +3 -3
  149. package/dist/assets/{SignInScreen-CEuHZjo7.js → SignInScreen-fYwH5UY7.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-B-EbBpvJ-D4QvSWNX.js → SpendManagementListViewPage-BL77zVeL-BdHlBBto.js} +5 -5
  151. package/dist/assets/{SpendManagementPerTabPage-DANa2aTd-CWvsy1uU.js → SpendManagementPerTabPage-B82q9yMk-Crz1O3b0.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-CXYhrJSF-DegWG-xT.js → SpendManagementSection-Bcex-9e7-BcTlnTQw.js} +1 -1
  153. package/dist/assets/StatementItem-CL4KzNeN-DGvjkmoq.js +31 -0
  154. package/dist/assets/{StatementsPage-2OCuox8g-CketcBVa.js → StatementsPage-ECVGrRXi-B7osQmZV.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-CfBOEbYV-BG_Psc8-.js → StatusSwitcher-Cw0Sq3bY-BbChaknS.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-LzrZe6zz-9QlUiay1.js → SubTabSwitcher-DmGRgMQe-C3YnGDOU.js} +1 -1
  157. package/dist/assets/{SummaryCard-DTbKziXk-06dkT-e5.js → SummaryCard-OvE5BRYP-DQ7Zk4PZ.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-J0L5w2Wc-_GLV6uUI.js → TaskManagementPage-CAX0yrep-DYDVQ3C3.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-CIhE-4dW-gA6h-SPl.js → TimeRangeSwitcher-2AXHoZ8f-DqBXOz3V.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-YlXclGGy-C1UEcBoK.js → TimeframeSwitcher-DJiKd_tL-DApIRoV9.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-BKRmBPLL-Zi3dvA5E.js → TimeframeSwitcherWithToggle-5W1Xu4QM-D0OKi7Nt.js} +1 -1
  162. package/dist/assets/{TopExCard-D1k8bh_F-Bl4Np8KZ.js → TopExCard-8RRaMY7F-Gon6G4m3.js} +10 -10
  163. package/dist/assets/{TopExDetailPage-BRJ9k9hY-QrrZWVa6.js → TopExDetailPage-D2KlaBXx-BpdUQtul.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-CJjGDJoM-D2JAk05P.js → TransactionDetailPage-DdyFRxld-C-5usEOx.js} +1 -1
  165. package/dist/assets/{TransactionList-CLJV-J8J-BYehwI5o.js → TransactionList-CLVkETBe-BTi0TF8x.js} +1 -1
  166. package/dist/assets/{TransactionListBig-CDMd8KmW-BlVD7tdK.js → TransactionListBig-BRCiFBKB-90T7vD3u.js} +1 -1
  167. package/dist/assets/{TransactionListPage-Dm_JZDPM-Dja1gl3F.js → TransactionListPage-D0OgwsUo-CHqv8Ptz.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-BDuBQged-CvXp-xOX.js → TransactionVendorDetailPage-BLCUqZvL-BIALvbPN.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-lY_wB7eB-BnbxYTNq.js → TransferDrawerPage-DdDRqsyR-Dpm3m1og.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-D5OetJEP-CBj-l09J.js → TreasuryOverviewPage-BcIRsLLj-dqw9iZxG.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-8tXexPVv-pVJJ14ZG.js → TreasuryPromoPage-qbltxtYj-Be5gnIqG.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DEOyNQFW-AlE9KEaP.js → TreasuryStatementsPage-CLFal4Qu-D7fSpwwi.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-B2AurZ-A-BQb9STu_.js → TreasuryTaxLetterPage-C2-SmkNZ-CYIVDUGa.js} +2 -2
  174. package/dist/assets/{TrendChart-DhH1bAfv-D3LXI5YU.js → TrendChart-Cot9LFNh-CytK-s0s.js} +2 -2
  175. package/dist/assets/{TrendWithTransactions-BLYyM3MY-D7UeGVnC.js → TrendWithTransactions-BKxxRKGE-L7jdBP-R.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CFir4dX5-DgsKoByZ.js → UncategorizedAccountsMappingPage-C7Z3q75s-C7vlCsmg.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-CHR1UsV3-CKbTwyHM.js → UnitIntegrationPage-DV9q3Nzs-EQSgep-S.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CVb-0jqF-DsW1DeW-.js → UploadAdditionalDocumentOverlay-B37gdjRF-Dp2vDOBj.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-BJI6SeE0-eNPAVD8D.js → Vendor2FAPopup-BZQXt_G4-BTtalNNx.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-WS3d8TF6-Da0vtQql.js +1 -0
  181. package/dist/assets/{VendorDetailPage-Bl6Xaq0d-Dm7H_1pT.js → VendorDetailPage-CH1L4UZF-B3MhcE6y.js} +5 -5
  182. package/dist/assets/{VendorDomesticWireDetailsPage-B83WB2Vz-Ddp5nU-e.js → VendorDomesticWireDetailsPage-Brom_Sf_-B5VglIGE.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-DHabnH22-Ci-SR-CB.js → VendorFiling1099EditablePage-BaX4ACXz-CJd2K39u.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-JhwEqiFF-Dp6nc1bX.js → VendorFirstReviewPage-DAZJMUR3-BZQS9qCZ.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DKsYBIjo-PLt1U3wd.js → VendorInternationalWireDetailsPage-CPnjLrDQ-0-KyGCYk.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-DO48MG3i.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-Bvhib6Hd-CHxc62W3.js → VendorsAccountsSection-DsgK37WB-BrTiEXUw.js} +1 -1
  188. package/dist/assets/{VerifyDevice-DGjS39sh-Cb897kZW.js → VerifyDevice-BPAsHKLY-rDHP_WGx.js} +1 -1
  189. package/dist/assets/{VideoPlayer-DufuoQRs-oPVEl4ns.js → VideoPlayer-Bwg_8KIq-BrCqLhsq.js} +2 -2
  190. package/dist/assets/{VideoPopup-1aNRmLD6-NApO2qk6.js → VideoPopup-CxjbzbjP-Bfo2Jbi-.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-Bikg48FF-Cbty70OQ.js → WarningsDrawerPage-BBc3-y8F-DEB-oHPA.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-DJiB-R44-DNmBtR_I.js → ZeniAccountDetailPage-VB4JoNYE-DnLTquPY.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-BJF3-1hq-LSfxZ1Rl.js → ZeniAccountListViewPage-CMjCtqT0-41l3IEZs.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-ZZoVi49V-DI70eC49.js → ZeniAccountNavBarPieces-C89nBJ6j-BQmFQnUD.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-VfZj6e9J-BYxBlesF.js → ZeniAccountPromoPage-C1_qLOdH-CT-Nw3at.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-CfUBgLaM-BRYKYPE6.js → ZeniAccountSetupPage-DWEVvvHh-mdXQepOk.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-UUk3LylG-m9Xmp5JI.js → ZeniCopyright-COx-CtZK-BJjjuCdE.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DuyKUAsb-CGhQHvXM.js → ZeniTransferAmountSlider-DfOF_MH1-DEdEmpvO.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-BrN1Aye0.js → add-to-wallet-DgdBD8_G-DJTDRQKQ.js} +1 -1
  200. package/dist/assets/{analytics-zyQYZvSc.js → analytics-COhRzxPT.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Cv_74YFl.js → analyticsHelper-CRtdFimq.js} +1 -1
  202. package/dist/assets/{analyticsHelper-C_CHYSrd-DeLJvIPW.js → analyticsHelper-CcmV6wHp-D-5PVU9-.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-3vc9ELkd.js → arrow-south-east-round-PEovUgvH-rNeD8cA8.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-c21rRbXN.js → auto-transfer-rule-mbafm5D3-_-2LojGH.js} +1 -1
  205. package/dist/assets/{chartTypes-CfyGWP2E-CMEv9V_N.js → chartTypes-YlZX4WLs-BVobq2KO.js} +1 -1
  206. package/dist/assets/{commonDimensions-uDLC8oOH-0Au8IFVq.js → commonDimensions-IG4iGJ-6-D0-edPu2.js} +1 -1
  207. package/dist/assets/{commonTypes-DBWmGaRi-DbYfiAyn.js → commonTypes-ByC4Sd87-P4qhDabt.js} +1 -1
  208. package/dist/assets/{constants-DWk2fFv_.js → constants-PRjhMiOb.js} +1 -1
  209. package/dist/assets/{core-eaZ5MkII.js → core-BPFYe8Fp.js} +1 -1
  210. package/dist/assets/{dash.all.min-CcMymYrD.js → dash.all.min-BHP7ZpuB.js} +1 -1
  211. package/dist/assets/{detailCommon-CUjnzfBn-DLVfXaab.js → detailCommon-lUFqcp_3-DLubEUfX.js} +3 -3
  212. package/dist/assets/{downloadPdf-DZnGQqi5-CeOjPDtf.js → downloadPdf-DYME892p-CgtFhUt6.js} +1 -1
  213. package/dist/assets/{empty-5jxUSzqQ.js → empty-Cp4uRDWx.js} +1 -1
  214. package/dist/assets/{empty-B7T-FSqA.js → empty-_EE1GUl0.js} +1 -1
  215. package/dist/assets/{epic-qVoPQO6A.js → epic-BIwB2Nyn.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DZK07yWZ.js → gift-box-Cmt9OgIZ-CWOIBKFq.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CBdedu6R.js → graphic-no-data-l-DU4J8fDt-CGUgoC2L.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CxQSQ7nM.js → graphic-no-data-net-burn-l-CzmycA0m-Bkxol6JE.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-DDyFnDC1.js → handshake-BPg58FML-B1aTSimH.js} +1 -1
  220. package/dist/assets/{index-D8PMCh18.js → index-B6Om0Agf.js} +7 -7
  221. package/dist/assets/{index-B97sUjo_.js → index-BNhIcPIg.js} +1 -1
  222. package/dist/assets/{index-DZdvjaDg.js → index-ByQkLJJD.js} +1 -1
  223. package/dist/assets/{index-vcow32RM.js → index-DAOCYnQR.js} +1 -1
  224. package/dist/assets/{index-oTgseo1z.js → index-DdFqgh6Q.js} +1 -1
  225. package/dist/assets/{index-D2sj31x5.js → index-gqLeArqE.js} +1 -1
  226. package/dist/assets/{index-BD479JGG.js → index-mYyCGmMK.js} +1 -1
  227. package/dist/assets/{lexical-DZqbjlo3.js → lexical-acVZWmws.js} +1 -1
  228. package/dist/assets/{liveblocks-CYMGg0Jd.js → liveblocks-DWNROPS5.js} +1 -1
  229. package/dist/assets/{lottie-wSb1JmVE.js → lottie-DQjCP4UK.js} +1 -1
  230. package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-CG4-iokq.js +1 -0
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Cf59HreQ.js → mapSectionWithAcOnlyToTreeNode-BNXHaV-x-Dya99XN3.js} +1 -1
  232. package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DJHBQyJ3.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-LxIEmBdX-D0eWUHRt.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-DrBdfP98.js +1 -0
  235. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-nQMPswZb.js +1 -0
  236. package/dist/assets/{mui-8c7TTPte.js → mui-C6XKQL2c.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-rPobFqLh.js → page-detail-CWX5S47F-BzjIQtfg.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-JegKPmEU.js → radio-default-CiSgisfh-BS1GVp2P.js} +1 -1
  239. package/dist/assets/{react-BkLRSHeS.js → react-B0pgw5Mm.js} +1 -1
  240. package/dist/assets/{react-BeFAL7xc.js → react-BSuQuG9G.js} +2 -2
  241. package/dist/assets/{react-BTIOleqc.js → react-BjT2oqbW.js} +1 -1
  242. package/dist/assets/{react-DqDI51zp.js → react-Brqsw08v.js} +1 -1
  243. package/dist/assets/{react-Bm2m1z7n.js → react-CVQUd4tH.js} +1 -1
  244. package/dist/assets/{react-Bgfqj-6V.js → react-CXCL32Ls.js} +1 -1
  245. package/dist/assets/{react-BvBglWtA.js → react-D8jgeeNV.js} +1 -1
  246. package/dist/assets/{react-CpDQbd_p.js → react-Dk7l6rEc.js} +1 -1
  247. package/dist/assets/{recharts-DLR05d4e.js → recharts-CPZsikvb.js} +1 -1
  248. package/dist/assets/{sentry-gJCFOenX.js → sentry-yju9hmuU.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-BYII5mua.js → shield-DOlUxcFf-C-RFN1Ny.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-BAw7mDDs-BHjR7Lz6.js +1 -0
  251. package/dist/assets/{toChartData-DD8ISjzM-BEMY07yt.js → toChartData-CuSN9vUZ-eye27L_h.js} +1 -1
  252. package/dist/assets/{uploadAttachment-CEqqTe84-DtoAuKJx.js → uploadAttachment-CRI5U1f4-uoLiqp2e.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-B7XOfqVi.js → uploadReceipts-CPw64UYa-DbLoTUL7.js} +1 -1
  254. package/dist/assets/{url-Df8TrFuK.js → url-7nemmS6b.js} +1 -1
  255. package/dist/assets/{url-CPssbUxP.js → url-BZCKPycf.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-b6cGrqv9.js → useLongPress-GCK2COYQ-Dvu-g8xT.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-BI2SMRc4.js → usp-line-BBd1wKwW-BKD4OxLr.js} +1 -1
  258. package/dist/assets/{utils-BoH8rMdz.js → utils-B5xU1y4i.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-B6kYb9qr.js → zeni-epic-state-ag00jsAo.js} +3 -3
  260. package/dist/index.html +1 -1
  261. package/package.json +2 -2
  262. package/dist/assets/AccountInfoPage-CI5UcHFj-CxN8pKH-.js +0 -18
  263. package/dist/assets/ChargeCardPromoPage-CPURUrkI-B12CNYfn.js +0 -222
  264. package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BKcFYTYY.js +0 -1
  265. package/dist/assets/EntityDetailPage-DCcgGupN-Pg8_N3U5.js +0 -18
  266. package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-DXNzQf7Z.js +0 -1
  267. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-BxWp8jFf.js +0 -1
  268. package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-qhkrhNCj.js +0 -1
  269. package/dist/assets/MailingDetailsSection-DKs9SGYB-DrREfI80.js +0 -21
  270. package/dist/assets/PandLWithForecastPage-GOxiUR2j-C-ak3I_k.js +0 -107
  271. package/dist/assets/StatementItem-DeYhvD3S-D2y3sY45.js +0 -31
  272. package/dist/assets/VendorACHDetailsPage-DLY7vm1r-B9tUnjc_.js +0 -1
  273. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-_ofC4l4D.js +0 -1
  274. package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-DdUiAptt.js +0 -1
  275. package/dist/assets/mapSpacerToTreeNode-D950gQIm-B1jS0Sxi.js +0 -1
  276. package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-DMiy9TSZ.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CGqZlkwx.js +0 -1
  278. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-DzfqC0pd.js +0 -1
  279. package/dist/assets/toCOABalancesWithID-B6AaIKKE-7gBQPg3T.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as r,eS as Q,b6 as U,o as Z,c as t}from"./index-D8PMCh18.js";import{a as k}from"./sentry-gJCFOenX.js";import{n as u}from"./mui-8c7TTPte.js";import{W as G,A as J}from"./BankAccountWarningSection-D7BVcqIu-CAilro7y.js";import{M as K}from"./MagicLinkTitleSection-DaThYY60-yvWZdo6C.js";import{e as X}from"./BankAccountSection-CwOhGEgT-HsgZBFUH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e2a6d891-a649-47c5-9581-56b754668b39",e._sentryDebugIdIdentifier="sentry-dbid-e2a6d891-a649-47c5-9581-56b754668b39")}catch{}})();const a={paddingTopBottomContainer:new r(t[3],t[3]),paddingLeftContainer:new r(t[3],t[6]),paddingRightContainer:new r(t[3],t[8]),sectionTitleMarginLeft:new r(t[4],t[6]),sectionTitleMarginTop:new r(12,t[3]),buttonWidth:new r(140,140)},T="achDetailsPage",f="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:v,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const c=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Y(o),[o])}),[z,b]=k.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(p,d)=>{const s=d[f].bankRoutingNumber;N(d),p===`${f}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&v?.(s)};k.useEffect(()=>{const p=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>M(s,d))});return()=>{p.unsubscribe()}});const R=i.handleSubmit(p=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:c,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:L}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:c,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:c,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:f,isDisabled:x})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(c)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
1
+ import{q as E,a9 as W,F as w,cC as _,V as n,cn as V,co as F,cp as H,ac as O,aP as q,y as c,eS as Q,b6 as U,o as Z,c as t}from"./index-B6Om0Agf.js";import{a as k}from"./sentry-yju9hmuU.js";import{n as u}from"./mui-C6XKQL2c.js";import{W as G,A as J}from"./BankAccountWarningSection-DCi9o7_J-CCUXAbXm.js";import{M as K}from"./MagicLinkTitleSection-BYkzInkY-CnbT4Veu.js";import{e as X}from"./BankAccountSection-B3v3BDPK-D84yJmse.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="ca708906-bf32-45e9-afe5-ae08c213c150",e._sentryDebugIdIdentifier="sentry-dbid-ca708906-bf32-45e9-afe5-ae08c213c150")}catch{}})();const a={paddingTopBottomContainer:new c(t[3],t[3]),paddingLeftContainer:new c(t[3],t[6]),paddingRightContainer:new c(t[3],t[8]),sectionTitleMarginLeft:new c(t[4],t[6]),sectionTitleMarginTop:new c(12,t[3]),buttonWidth:new c(140,140)},T="achDetailsPage",p="bankAccountSection",A=e=>`${e}_form`,ue=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,isDisabled:x,style:S,onSaveHandler:B,onBackClick:h,onACHDetailsUpdated:N,onFetchBankName:v,isMagicLink:m,companyName:D,currencySymbol:j,amount:P,bankAccountContext:$})=>{const r=E(),i=W({mode:"onBlur",reValidateMode:"onChange",defaultValues:k.useMemo(()=>Y(o),[o])}),[z,b]=k.useState(!1),l=w.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=w.getLocalizedStrings().common.footer,{achDetails:C,bankAccountCommon:y}=l,L={onOkClick:()=>{b(!1),i.reset(),h?.()},onCancelClick:()=>{b(!1)}},M=async(f,d)=>{const s=d[p].bankRoutingNumber;N(d),f===`${p}.bankRoutingNumber`&&s?.length===9&&Q.test(s)===!0&&v?.(s)};k.useEffect(()=>{const f=i.watch((d,{name:s})=>{s!=null&&d!=null&&_(()=>M(s,d))});return()=>{f.unsubscribe()}});const R=i.handleSubmit(f=>{g.fetchState!=="In-Progress"&&B("ach")});return n.jsxs(ne,{children:[n.jsxs(te,{style:S,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(H,{children:l.discardTitle}),descriptionComponent:n.jsx(F,{children:l.discardDescription}),primaryButtonText:l.discard,secondaryButtonText:l.cancel,action:L}):null,n.jsx(G,{header:m?n.jsx(K,{companyName:D??"",currencySymbol:j??"",amount:P??0}):C.addACHDetails,isMagicLink:m,isDirty:i.formState.isDirty,onBackClick:h,setShowConfirmationPopup:b}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(J,{warningText:y.accountExistWarning}):null,$==="express-pay"?null:n.jsx(ae,{size:r,children:C.title}),n.jsx(ie,{children:n.jsx(O,{...i,children:n.jsx("form",{id:A(T),onSubmit:R,children:n.jsx(ee,{size:r,children:n.jsx(X,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:g,sectionId:p,isDisabled:x})})})})})]}),n.jsx(q,{formId:A(T),primaryBtn:{label:m?y.submitDetails:y.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:x!=null},showCancel:!m,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?b(!0):(i.reset(),h?.())}}})]})},Y=e=>({[p]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),ee=u.div`
2
2
  padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
3
  padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
4
  padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,ka as T,c as n,bN as g,dn as h1,p as d,a7 as S1,b2 as p1,d as m1,kb as f,ai as x,kc as Z1,kd as B1,ar as S,a as K,b6 as X,am as F1,ke as W1,dJ as _1,f_ as D1,cg as u1,al as H1}from"./index-D8PMCh18.js";import{a as e}from"./sentry-gJCFOenX.js";import{n as i,c as P1,k as T1}from"./mui-8c7TTPte.js";import{Gf as E,Gg as e1,Gh as F}from"./zeni-epic-state-B6kYb9qr.js";import{R as V1}from"./NavBarWithPicker-Biz620wH-TEitrYNs.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-DLR05d4e.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="ae8d08e2-f3a2-4a70-bf71-c5c7e5ef6f64",t._sentryDebugIdIdentifier="sentry-dbid-ae8d08e2-f3a2-4a70-bf71-c5c7e5ef6f64")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=i.div`
1
+ import{y as u,a8 as y1,q as M,F as j,cb as j1,V as C,bR as $1,o as r,aN as v1,b as D,ci as b1,ka as T,c as n,bN as g,dn as h1,p as d,a7 as S1,b2 as p1,d as m1,kb as f,ai as x,kc as Z1,kd as B1,ar as S,a as K,b6 as X,am as F1,ke as W1,dJ as _1,f_ as D1,cg as u1,al as H1}from"./index-B6Om0Agf.js";import{a as e}from"./sentry-yju9hmuU.js";import{n as i,c as P1,k as T1}from"./mui-C6XKQL2c.js";import{Gf as E,Gg as e1,Gh as F}from"./zeni-epic-state-ag00jsAo.js";import{R as V1}from"./NavBarWithPicker-DX31nlvR-DsZZuak6.js";import{F as k1,X as x1,Y as I,I as z1,J as O1,G as t1}from"./recharts-CPZsikvb.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="da2bf87c-7639-40e6-a817-7e1316c513b3",t._sentryDebugIdIdentifier="sentry-dbid-da2bf87c-7639-40e6-a817-7e1316c513b3")}catch{}})();const C1={titleLoaderWidth:new u(200,200,300),subtitleLoaderWidth:new u(100,100,200)},G1=i.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${t=>t.theme.colors.grey3};
@@ -0,0 +1,18 @@
1
+ import{d as y,q as h,V as t,gM as x,o as r,y as a,hy as D,c as i}from"./index-B6Om0Agf.js";import{a as $}from"./sentry-yju9hmuU.js";import{n as o}from"./mui-C6XKQL2c.js";import{K as P}from"./StatusSwitcher-Cw0Sq3bY-BbChaknS.js";import{r as z}from"./AccountInfoPageContent-BA3WBfD4-D0j1Octx.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./downloadPdf-DYME892p-CgtFhUt6.js";import"./commonDimensions-IG4iGJ-6-D0-edPu2.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]="bec6a3d8-d6d6-40e3-b5bd-5bbd133fbc29",e._sentryDebugIdIdentifier="sentry-dbid-bec6a3d8-d6d6-40e3-b5bd-5bbd133fbc29")}catch{}})();const s={pageTitleMarginXAxis:new a(i[4],i[8]),containerPaddingLeft:new a(i[3],i[6],i[8]),containerPaddingRight:new a(i[3],i[6],i[8])},B=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:d,zeniAccountsConfigDetail:f,currentTenant:u,onDismissClick:g})=>{const p=y(),c=h(),[l,m]=$.useState("achDetails"),b=w=>{m(w)};return t.jsxs(T,{children:[t.jsx(x,{title:"",backgroundColor:p.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:g}),t.jsx(v,{windowSize:c,children:d.accountName}),t.jsx(S,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:b,isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx(z,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:f,currentTenant:u,depositAccount:d})})]})},A=o.div`
2
+ padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
+ `,T=o.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: ${e=>e.theme.colors.grey4};
8
+ overflow-x: hidden;
9
+ height: 100%;
10
+ width: 100%;
11
+ `,v=o(D)`
12
+ color: ${e=>e.theme.colors.primary};
13
+ padding: ${r.sp3} ${r.sp0};
14
+ margin: ${e=>`${r.sp0} ${s.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
+ `,S=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{B as default};
@@ -1,4 +1,4 @@
1
- import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ai as re,u as Ce,gZ as ze,al as ae}from"./index-D8PMCh18.js";import{a as s}from"./sentry-gJCFOenX.js";import{n as t}from"./mui-8c7TTPte.js";import{w as _e}from"./downloadPdf-DZnGQqi5-CeOjPDtf.js";import{o as Le}from"./commonDimensions-uDLC8oOH-0Au8IFVq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="a6f4500e-b208-4970-abb7-b5f4a9e08753",e._sentryDebugIdIdentifier="sentry-dbid-a6f4500e-b208-4970-abb7-b5f4a9e08753")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:G}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,V]=s.useState(!1),[j,q]=s.useState(!1),[A,U]=s.useState(!1),[S,B]=s.useState(!1),[T,F]=s.useState(!1),[v,H]=s.useState(!1),[$,O]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),F(!1),H(!1),O(!1),B(!1),U(!1),q(!1),V(!1)},1200)},[h,T,v,$,S,A,j,w]);const W=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
1
+ import{q as je,gW as Ae,hz as Q,V as r,bR as z,k as Se,aN as _,o as a,b6 as Te,F as ve,c1 as De,p as E,ai as re,u as Ce,gZ as ze,al as ae}from"./index-B6Om0Agf.js";import{a as s}from"./sentry-yju9hmuU.js";import{n as t}from"./mui-C6XKQL2c.js";import{w as _e}from"./downloadPdf-DYME892p-CgtFhUt6.js";import{o as Le}from"./commonDimensions-IG4iGJ-6-D0-edPu2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="86d86bc2-9cd1-4324-aa6d-eda28b37fd71",e._sentryDebugIdIdentifier="sentry-dbid-86d86bc2-9cd1-4324-aa6d-eda28b37fd71")}catch{}})();const{common:{strings:Ie,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Z},billPay:{vendorCreation:{achDetails:o}},downloads:G}}=ve.getLocalizedStrings(),er=({authParams:e,downloadAccountDetailEndPoint:y,currentTab:p,depositAccount:c,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=je(),[,M]=Ae(),[N,te]=s.useState(!1),[se,ne]=s.useState(!1),[ce,ie]=s.useState(!1),[le,de]=s.useState(!1),[be,ue]=s.useState(!1),[me,pe]=s.useState(!1),[he,fe]=s.useState(!1),[xe,ye]=s.useState(!1),[h,P]=s.useState(!1),[w,V]=s.useState(!1),[j,q]=s.useState(!1),[A,U]=s.useState(!1),[S,B]=s.useState(!1),[T,F]=s.useState(!1),[v,H]=s.useState(!1),[$,O]=s.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=Q(u.zeniAccountsConfigDetail.mailingAddress).text2,m=Q(u.zeniAccountsConfigDetail.bankAddress).text2;s.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),F(!1),H(!1),O(!1),B(!1),U(!1),q(!1),V(!1)},1200)},[h,T,v,$,S,A,j,w]);const W=(f,n)=>{switch(f){case"accountType":ne(n);break;case"acccountNumber":ie(n);break;case"routingNumber":de(n);break;case"bankName":ue(n);break;case"beneficiaryName":fe(n);break;case"beneficiaryAddress":pe(n);break;case"bankAddress":ye(n);break}},$e=f=>{let n;f==="achDetails"?n=`${o.bankRoutingNumber} ${c.routingNumberAch}
2
2
 
3
3
  ${o.accountTypeLabel} ${c.accountSubType.name??""}
4
4
 
@@ -1,4 +1,4 @@
1
- import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-D8PMCh18.js";import{n as r}from"./mui-8c7TTPte.js";import{t as v}from"./handshake-BPg58FML-DDyFnDC1.js";import"./sentry-gJCFOenX.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="cebf66af-7e31-4ddf-9ef7-3f41ecb64137",e._sentryDebugIdIdentifier="sentry-dbid-cebf66af-7e31-4ddf-9ef7-3f41ecb64137")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const s=g(),h=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(_,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(f,{unlockDate:e,onSubmit:i})})})}const S=r.div`
1
+ import{d as g,F as d,V as t,al as x,b9 as l,n as b,o,p,aq as y,bX as j,bY as $,bZ as w,bQ as k}from"./index-B6Om0Agf.js";import{n as r}from"./mui-C6XKQL2c.js";import{t as v}from"./handshake-BPg58FML-B1aTSimH.js";import"./sentry-yju9hmuU.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="cebf66af-7e31-4ddf-9ef7-3f41ecb64137",e._sentryDebugIdIdentifier="sentry-dbid-cebf66af-7e31-4ddf-9ef7-3f41ecb64137")}catch{}})();const m="support@zeni.ai",n=d.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const s=g(),h=e.format(d.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(d.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(S,{children:[t.jsx(D,{children:n.accountLockedTitle}),t.jsxs(I,{children:[t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(Y,{})}),t.jsx(x,{children:n.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(z,{})}),t.jsxs(l,{children:[n.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(L,{children:"•"}),u]}),n.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:s,children:t.jsx(A,{})}),t.jsxs(l,{children:[n.accountLockedContactMessage,t.jsx(_,{href:`mailto:${m}`,children:m})]})]}),t.jsx(b,{variant:"primary",label:n.understood,onClick:i})]})]})};function M({unlockDate:e,onClose:i}){return t.jsx(k,{open:!0,onClose:i,children:t.jsx(F,{children:t.jsx(f,{unlockDate:e,onSubmit:i})})})}const S=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as $e,b6 as J,am as X,L as be,aa as ke,dI as ve,eQ as we,d0 as G,dr as Z,F as Ce,al as d,d as Ee,aL as Pe,bv as ee,dL as te,au as Re,p as ne,u as Ie}from"./index-D8PMCh18.js";import{a as r}from"./sentry-gJCFOenX.js";import{n as o}from"./mui-8c7TTPte.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-B6kYb9qr.js";import{E as _e,C as Fe,w as Le,f as Ue}from"./AccountRow-Bq6uJ1hA-CcRQ_R2_.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="ba6deaae-2486-44b6-9852-b7c57cd3025f",e._sentryDebugIdIdentifier="sentry-dbid-ba6deaae-2486-44b6-9852-b7c57cd3025f")}catch{}})();const m={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
1
+ import{a9 as me,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as $e,b6 as J,am as X,L as be,aa as ke,dI as ve,eQ as we,d0 as G,dr as Z,F as Ce,al as d,d as Ee,aL as Pe,bv as ee,dL as te,au as Re,p as ne,u as Ie}from"./index-B6Om0Agf.js";import{a as r}from"./sentry-yju9hmuU.js";import{n as o}from"./mui-C6XKQL2c.js";import{bL as oe,Gv as De,Gw as Te}from"./zeni-epic-state-ag00jsAo.js";import{E as _e,C as Fe,w as Le,f as Ue}from"./AccountRow-BWclqiQh-CE6dTXhw.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="b4cab7ec-58f1-4fdf-8c68-4f44b9cf981e",e._sentryDebugIdIdentifier="sentry-dbid-b4cab7ec-58f1-4fdf-8c68-4f44b9cf981e")}catch{}})();const f={containerPaddingLeft:c.sp4,containerPaddingRight:c.sp4,navBarHeight:c.sp10,navBarPaddingRight:c.sp4,navBarPaddingLeft:c.sp4,balanceContainerWidth:114,sourceContainerWidth:400},Me=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -12,7 +12,7 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
12
12
  flex: 0 0 auto;
13
13
  width: ${c.sp4};
14
14
  `,Be=o.div`
15
- min-height: ${m.navBarHeight};
15
+ min-height: ${f.navBarHeight};
16
16
  position: sticky;
17
17
  background-color: ${e=>e.theme.colors.grey4};
18
18
  border-bottom: 1px solid transparent;
@@ -30,8 +30,8 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
30
30
  }
31
31
  flex: 0 0 auto;
32
32
  `,Ae=o.div`
33
- padding-left: ${m.containerPaddingLeft};
34
- padding-right: ${m.containerPaddingRight};
33
+ padding-left: ${f.containerPaddingLeft};
34
+ padding-right: ${f.containerPaddingRight};
35
35
  `,We=o.div`
36
36
  position: relative;
37
37
  min-height: 62px;
@@ -44,8 +44,8 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
44
44
  top: 0;
45
45
  left: 0;
46
46
  right: 0;
47
- padding-right: ${m.navBarPaddingRight};
48
- padding-left: ${m.navBarPaddingLeft};
47
+ padding-right: ${f.navBarPaddingRight};
48
+ padding-left: ${f.navBarPaddingLeft};
49
49
  height: 100%;
50
50
  `,ze=o($e)`
51
51
  display: flex;
@@ -90,7 +90,7 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
90
90
  flex-direction: column;
91
91
  align-items: flex-start;
92
92
  justify-content: center;
93
- min-width: ${m.balanceContainerWidth}px;
93
+ min-width: ${f.balanceContainerWidth}px;
94
94
  `,A=o(X)`
95
95
  display: flex;
96
96
  color: ${e=>e.theme.colors.hero};
@@ -104,7 +104,7 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
104
104
  flex-direction: column;
105
105
  align-items: flex-start;
106
106
  justify-content: flex-start;
107
- min-width: ${m.balanceContainerWidth}px;
107
+ min-width: ${f.balanceContainerWidth}px;
108
108
  `,Xe=o(d)`
109
109
  display: flex;
110
110
  color: ${e=>e.theme.colors.primary};
@@ -121,7 +121,7 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
121
121
  flex-direction: column;
122
122
  align-items: flex-start;
123
123
  justify-content: flex-start;
124
- min-width: ${m.balanceContainerWidth}px;
124
+ min-width: ${f.balanceContainerWidth}px;
125
125
  `,tt=o(d)`
126
126
  display: flex;
127
127
  color: ${e=>e.theme.colors.grey3};
@@ -160,7 +160,7 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
160
160
  flex-direction: column;
161
161
  align-items: flex-start;
162
162
  justify-content: center;
163
- min-width: ${m.sourceContainerWidth}px;
163
+ min-width: ${f.sourceContainerWidth}px;
164
164
  gap: ${c.sp2};
165
165
  `,rt=o(J)`
166
166
  display: flex;
@@ -231,9 +231,9 @@ import{a9 as fe,fw as xe,V as t,ac as ye,cn as ge,co as je,cp as Se,o as c,M as
231
231
  color: ${ne.success};
232
232
  align-items: center;
233
233
  justify-content: flex-end;
234
- `,mt=o(d)`
234
+ `,ft=o(d)`
235
235
  text-align: right;
236
236
  color: ${e=>e.status==="connected"?e.theme.colors.success:e.status==="reconnect"?e.theme.colors.important:e.theme.colors.link};
237
237
  cursor: pointer;
238
238
  text-decoration: underline;
239
- `,{common:p,dateFormat:Q,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),ft=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const f=fe({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=f.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,me)=>{I!=null&&console.log("Plaid Connection Error",I,me),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...f,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,setUploadErrorMessage:f})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&f(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,f]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:ft(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&f(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{f(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),f(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(mt,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Ue(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,ft as uniqueName};
239
+ `,{common:p,dateFormat:Q,expenseAutomation:{accountRecon:i}}=Ce.getLocalizedStrings(),mt=(e,n)=>`${e}.${n}`,xt="accountReconDrawerDetailsPage",se="accountReconDrawerDetailsSection";function Mt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:$,onFetchLinkTokenClick:E,onEstablishConnectionClick:P,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U}){const m=me({mode:"all",reValidateMode:"onChange",defaultValues:K(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:K(e)}),b=m.handleSubmit(()=>{}),[h,y]=r.useState(void 0),k=n.link_account_no_microdeposit,v=n.update_account,a=h==="update_account"?v:k,[g,M]=r.useState(a.linkToken??null),[s,w]=r.useState(!1),[N,Y]=r.useState(!1),[B,O]=r.useState(void 0),[re,z]=r.useState(void 0),le=r.useCallback(()=>{y("link_account_no_microdeposit")},[]),de=r.useCallback(()=>{y("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{B!=null&&(R(B),O(void 0)),z(void 0),Y(!1)},onCancelClick:()=>{O(void 0),Y(!1)}},H=r.useRef(h);r.useEffect(()=>{H.current=h},[h]);const pe=r.useCallback(I=>{P(I,e.accountReconEntity.account.accountId,H.current),y(void 0),w(!1)},[P,e.accountReconEntity.account.accountId]),he=r.useCallback((I,fe)=>{I!=null&&console.log("Plaid Connection Error",I,fe),y(void 0),w(!1)},[]),{open:q,ready:V}=xe({token:g,onSuccess:pe,onExit:he});return r.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),r.useEffect(()=>{!s&&h!=null&&a.linkToken===g&&a.fetchStatus.fetchState==="Completed"&&V&&w(!0)},[V,g,a.fetchStatus.fetchState,a.linkToken,h,s]),r.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==g&&M(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,g]),r.useEffect(()=>{s&&q()},[s,q]),t.jsxs(Me,{children:[t.jsx(Be,{children:t.jsx(We,{children:t.jsxs(Ne,{children:[t.jsx(Ye,{}),t.jsxs(ze,{children:[t.jsx(He,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(kt,{monthYearPeriod:l})})]}),t.jsx(qe,{children:t.jsx(Oe,{onClick:$})})]})})}),t.jsxs(Ae,{children:[t.jsx(ye,{...m,children:t.jsx("form",{style:{width:"100%"},id:xt,onSubmit:b,children:t.jsx(yt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:_,onDeleteFile:R,onEditFileName:F,onStatementUploadSuccess:L,onUploadWindowOpenedOnce:U,showConfirmationPopup:N,setShowConfirmationPopup:Y,deleteFileId:B,setDeleteFileId:O,uploadErrorMessage:re,setUploadErrorMessage:z})})}),N===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ge,{titleComponent:t.jsx(Se,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const yt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:$,setDeleteFileId:E,setShowConfirmationPopup:P,onEditFileName:_,onSelectSourceType:R,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:L,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[b,h]=r.useState(!1),y=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,k=[];n.accountReconEntity.account.accountType==="bank"&&k.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),k.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const v=n.accountReconEntity.account.accountType==="credit_card"?"bank_statement":n.localData?.accountSource;let a=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0||b?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),r.useEffect(()=>{n.accountReconEntity.statementStatus.code==="uploaded"&&(n.accountReconEntity.statementDataStatus?.code==="validation_failed"||n.accountReconEntity.statementDataStatus?.code==="parsing_failed"||n.accountReconEntity.statementDataStatus?.code==="processing_failed")&&m(_e(n.accountReconEntity.statementDataStatus?.code,"drawer",n.accountReconEntity.errorMessage?.errorShort))},[n.accountReconEntity.statementStatus.code,n.accountReconEntity.statementDataStatus?.code,n.accountReconEntity.errorMessage?.errorShort,m]);const g=["reconciled","in_progress","reconciled_via_qbo"],M=n.accountReconEntity.reconciliationStatus!=null&&g.includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Ve,{children:[t.jsxs(Ge,{children:[t.jsxs(Qe,{children:[t.jsx(A,{children:i.reconciliation.headers.bankBalance}),t.jsx(Ke,{children:t.jsx(Fe,{bankBalance:n.accountReconEntity.balance,bankConnection:n.accountConnectionStatus,isLoading:!1,fromDrawer:!0,accountId:n.accountReconEntity.account.accountId,statementStatus:n.accountReconEntity.statementStatus.code,onStatementAddClicked:()=>{},setIsHovering:()=>{}})})]}),t.jsxs(Je,{children:[t.jsx(A,{children:i.reconciliation.headers.clearedBalance}),t.jsx(Xe,{children:t.jsx(Le,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(et,{children:[t.jsx(A,{children:i.reconciliation.headers.variance}),t.jsx(tt,{children:t.jsx($t,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(st,{children:[t.jsxs(rt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(lt,{children:[t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.type}),t.jsx(T,{children:a!=null?t.jsx(j,{children:a==="plaid"&&n.accountReconEntity.account.accountType==="bank"?t.jsxs(t.Fragment,{children:[t.jsx(ie,{}),i.reconciliation.menu.bankConnection]}):t.jsxs(t.Fragment,{children:[t.jsx(ae,{}),i.reconciliation.menu.statement]})}):t.jsx(ke,{controller:!0,children:t.jsx(ve,{moreIconType:"custom",customIcon:t.jsx(gt,{selectedSourceType:v}),options:k,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:s=>{R(De(s))},valueToIcon:s=>s==="plaid"?t.jsx(ut,{}):s==="bank_statement"?t.jsx(pt,{}):null})})})]}),v==="bank_statement"?t.jsx(C,{children:t.jsx(we,{name:mt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:M,sizeLimit:1e7,onFileSizeError:s=>{s&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Te,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:s=>{m(s?.message)},onUploadSuccess:s=>{F(s),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{L()}},onDeleteFile:s=>{E(s),P(!0)},onEditFileName:(s,w)=>{_(s,w)}})}):null,t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.status}),t.jsx(T,{children:v!=="bank_statement"?t.jsx(jt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:$}):t.jsx(St,{uploadInProgress:b,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(T,{children:t.jsx(bt,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(C,{children:[t.jsx(D,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(T,{children:t.jsx(Z,{isLoading:b,customStyle:{height:"20px",width:"100px"},position:"left",children:y!=null?t.jsx(j,{children:G(y.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},gt=({selectedSourceType:e})=>t.jsxs(ct,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(it,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(at,{})]}),jt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(W,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(W,{children:[t.jsx(dt,{}),t.jsx(ht,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(W,{onClick:e==="reconnect"?u:l,children:t.jsx(ft,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),St=({status:e,uploadInProgress:n})=>n?t.jsx(Z,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(j,{children:p.strings.hyphen}):e==="parsing"?t.jsx(j,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(j,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(j,{children:p.strings.hyphen}),$t=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:$}=Ue(u,e,l,!0);return t.jsxs(Ze,{children:[t.jsx(nt,{textColor:x,children:Pe("0,0",e)??p.strings.hyphen}),t.jsxs(ot,{textColor:S,bgColor:$,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},bt=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(j,{children:n})},kt=({monthYearPeriod:e})=>t.jsx(ce,{children:vt(e)}),vt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Q.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Q.visual.DMMMYYYYFormat)}`},K=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Mt as default,mt as uniqueName};
@@ -1,4 +1,4 @@
1
- import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ai as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-D8PMCh18.js";import{a as ye}from"./sentry-gJCFOenX.js";import{n as a,c as we}from"./mui-8c7TTPte.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]="23535930-6f38-4b21-a1a9-ef4a145f5a73",e._sentryDebugIdIdentifier="sentry-dbid-23535930-6f38-4b21-a1a9-ef4a145f5a73")}catch{}})();const $e=a.div`
1
+ import{V as t,aL as E,bR as f,o,aN as y,aa as se,dI as re,F as le,al as w,dJ as de,p as g,dK as X,dL as Y,cX as ue,aT as x,ai as Z,c as p,q as xe,d as S,a_ as pe,dp as he,an as ge,n as me,am as I,bI as fe,dB as je}from"./index-B6Om0Agf.js";import{a as ye}from"./sentry-yju9hmuU.js";import{n as a,c as we}from"./mui-C6XKQL2c.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]="23535930-6f38-4b21-a1a9-ef4a145f5a73",e._sentryDebugIdIdentifier="sentry-dbid-23535930-6f38-4b21-a1a9-ef4a145f5a73")}catch{}})();const $e=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -1,4 +1,4 @@
1
- import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as me,aK as he,aQ as ge,ai as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-D8PMCh18.js";import{a as F,S}from"./sentry-gJCFOenX.js";import{c as $e}from"./SummaryCard-DTbKziXk-06dkT-e5.js";import{n as r,k as X,c as V}from"./mui-8c7TTPte.js";import{EM as be}from"./zeni-epic-state-B6kYb9qr.js";import{N as E}from"./NavigationArrow-CV_u5I1d-BUNwYCaW.js";import{k as ve}from"./NavigationDots-DBshnTnS-CFrPftyk.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]="b3e5e3ca-88d4-4bd3-9f7c-7cdb32b206dd",e._sentryDebugIdIdentifier="sentry-dbid-b3e5e3ca-88d4-4bd3-9f7c-7cdb32b206dd")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
1
+ import{F as U,V as o,o as t,aW as z,p as v,aq as ne,b as ae,bt as ie,bu as se,bv as ce,bw as le,bx as Y,l as de,aM as q,aJ as pe,d as R,aw as ue,aN as _,aV as me,aK as he,aQ as ge,ai as Q,aX as xe,b4 as fe,al as ye,b9 as Ce}from"./index-B6Om0Agf.js";import{a as F,S}from"./sentry-yju9hmuU.js";import{c as $e}from"./SummaryCard-OvE5BRYP-DQ7Zk4PZ.js";import{n as r,k as X,c as V}from"./mui-C6XKQL2c.js";import{EM as be}from"./zeni-epic-state-ag00jsAo.js";import{N as E}from"./NavigationArrow-BDdBEJFM-kO85jIsj.js";import{k as ve}from"./NavigationDots-BZOdXVhR-CfDXOc_R.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]="6a9d0212-0c9a-4e01-8c65-2a128667bde2",e._sentryDebugIdIdentifier="sentry-dbid-6a9d0212-0c9a-4e01-8c65-2a128667bde2")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return X`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -1,4 +1,4 @@
1
- import{d as y,q as S,aO as T,b as r,V as l,jr as w,o as t,y as m,aN as B,F as x,c as n}from"./index-D8PMCh18.js";import{a as C}from"./sentry-gJCFOenX.js";import{n as j}from"./mui-8c7TTPte.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b6a4e308-0b71-4e3e-a2a5-b0b977720133",e._sentryDebugIdIdentifier="sentry-dbid-b6a4e308-0b71-4e3e-a2a5-b0b977720133")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:A}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:o,customAddressStatus:a,onDismissClick:d,onSubmitHandler:c})=>{const u=y(),s=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&d()},[a.fetchState,d,i]);const b=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:a.fetchState,addressToEdit:o,onSubmitHandler:h=>c(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:A.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=j.div`
1
+ import{d as y,q as S,aO as T,b as r,V as l,jr as w,o as t,y as m,aN as B,F as x,c as n}from"./index-B6Om0Agf.js";import{a as C}from"./sentry-yju9hmuU.js";import{n as j}from"./mui-C6XKQL2c.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b6a4e308-0b71-4e3e-a2a5-b0b977720133",e._sentryDebugIdIdentifier="sentry-dbid-b6a4e308-0b71-4e3e-a2a5-b0b977720133")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:A}=x.getLocalizedStrings(),K=({googleAPIKey:e,customAddress:o,customAddressStatus:a,onDismissClick:d,onSubmitHandler:c})=>{const u=y(),s=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&d()},[a.fetchState,d,i]);const b=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,f=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:a.fetchState,addressToEdit:o,onSubmitHandler:h=>c(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...f},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...b,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:A.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=j.div`
2
2
  display: flex;
3
3
  background-color: ${e=>e.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jo as ce,o as i,n as A,aN as W,y as m,R as $,M as b,jp as he,j5 as ge,cg as xe,p as r,jq as me,bw as we,cT as ue,al as $e,b as be,j9 as fe}from"./index-D8PMCh18.js";import{a as g}from"./sentry-gJCFOenX.js";import{n as o,c as D}from"./mui-8c7TTPte.js";import{EL as ye}from"./zeni-epic-state-B6kYb9qr.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-BrN1Aye0.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="ac7fb1ea-0546-4111-bf7a-b024ef3060bd",e._sentryDebugIdIdentifier="sentry-dbid-ac7fb1ea-0546-4111-bf7a-b024ef3060bd")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(Ae,{style:l,children:[t.jsx(We,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},Ae=o.div`
1
+ import{q as L,a8 as le,aw as ne,F as N,V as t,bA as de,c as p,j4 as pe,jo as ce,o as i,n as A,aN as W,y as m,R as $,M as b,jp as he,j5 as ge,cg as xe,p as r,jq as me,bw as we,cT as ue,al as $e,b as be,j9 as fe}from"./index-B6Om0Agf.js";import{a as g}from"./sentry-yju9hmuU.js";import{n as o,c as D}from"./mui-C6XKQL2c.js";import{EL as ye}from"./zeni-epic-state-ag00jsAo.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as ze}from"./add-to-wallet-DgdBD8_G-DJTDRQKQ.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="ac7fb1ea-0546-4111-bf7a-b024ef3060bd",e._sentryDebugIdIdentifier="sentry-dbid-ac7fb1ea-0546-4111-bf7a-b024ef3060bd")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(Ae,{style:l,children:[t.jsx(We,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},Ae=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-D8PMCh18.js";import{a as f}from"./sentry-gJCFOenX.js";import{n as y}from"./mui-8c7TTPte.js";import{bh as T,FW as Ye}from"./zeni-epic-state-B6kYb9qr.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-Ck1uAv_a-CY0UAZzE.js";import{C as ie}from"./NoDataChart-DmThvRWS-DMCfCw3w.js";import{I as se,R as $}from"./CollapsableReportTable-CRaZZnGr-BljjGZjn.js";import{d as le}from"./NoDataTable-8GCzndE4-COwZVLdz.js";import{l as ce}from"./mapSpacerToTreeNode-D950gQIm-B1jS0Sxi.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./chartTypes-CfyGWP2E-CMEv9V_N.js";import"./AccountRow-Bq6uJ1hA-CcRQ_R2_.js";import"./graphic-no-data-l-DU4J8fDt-CBdedu6R.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]="250f3f24-23a6-403f-b9eb-ac93095fb737",e._sentryDebugIdIdentifier="sentry-dbid-250f3f24-23a6-403f-b9eb-ac93095fb737")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
1
+ import{d as K,q as O,h_ as _e,V as t,h$ as De,bM as Ne,i0 as ve,bB as Oe,bA as je,y as D,aa as R,g2 as ke,F as x,o as N,aR as Pe,c as m,aL as Q,cd as Be,ce as $e,cf as Ie,al as Me,cg as Ae,b2 as ne,aB as oe,aT as re}from"./index-B6Om0Agf.js";import{a as f}from"./sentry-yju9hmuU.js";import{n as y}from"./mui-C6XKQL2c.js";import{bh as T,FW as Ye}from"./zeni-epic-state-ag00jsAo.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-BqBx1Gj1-Dtyx3ykG.js";import{C as ie}from"./NoDataChart-DxwqqeoI-DOHENLK_.js";import{I as se,R as $}from"./CollapsableReportTable-LB-wYzj1-B7gXwkx1.js";import{d as le}from"./NoDataTable-DOZy5UAM-BJyDiZ-C.js";import{l as ce}from"./mapSpacerToTreeNode-DpgQIqP_-DJHBQyJ3.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./chartTypes-YlZX4WLs-BVobq2KO.js";import"./AccountRow-BWclqiQh-CE6dTXhw.js";import"./graphic-no-data-l-DU4J8fDt-CGUgoC2L.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]="94bfab3f-15e4-4d43-8fda-a34d9f605945",e._sentryDebugIdIdentifier="sentry-dbid-94bfab3f-15e4-4d43-8fda-a34d9f605945")}catch{}})();const Re={chartHeight:new D(288,360)},de=y.div`
2
2
  display: flex;
3
3
  `,ge=y.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-D8PMCh18.js";import{n as p}from"./mui-8c7TTPte.js";import{FB as ze,bg as X}from"./zeni-epic-state-B6kYb9qr.js";import{a as E}from"./sentry-gJCFOenX.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-uruIe6mr-CpShuEXQ.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-BBpe1-wI-eTEFPYGs.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]="3c5ff284-57dd-4972-a503-38c31cb496ee",e._sentryDebugIdIdentifier="sentry-dbid-3c5ff284-57dd-4972-a503-38c31cb496ee")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(Y.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(G,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:J(e.role,w)},registerOptions:{required:!0}}}),l.jsx(G,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(G,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:y,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
1
+ import{cP as Q,eg as Ie,q as _,V as l,aN as P,y as O,o as i,b8 as re,F as Z,n as ie,al as ne,cX as Pe,cg as Ce,c as L,bR as Se,aH as te,cy as Y,gN as de,fV as R,fS as J,fT as K,fU as ce,fW as pe,a_ as me,gO as Te,p as ue,cW as ge,am as he,eo as Oe,ad as Re}from"./index-B6Om0Agf.js";import{n as p}from"./mui-C6XKQL2c.js";import{FB as ze,bg as X}from"./zeni-epic-state-ag00jsAo.js";import{a as E}from"./sentry-yju9hmuU.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-CkdExi4v.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-Dpdlc1DB-DQObOG0W.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]="4a14e35f-693f-4e2d-b432-5340ba8baa60",e._sentryDebugIdIdentifier="sentry-dbid-4a14e35f-693f-4e2d-b432-5340ba8baa60")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:w,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const y=_(),C=se.largeLabelWidth.value(y),{setValue:S}=Q(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(Y.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:y,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(G,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:J(e.role,w)},registerOptions:{required:!0}}}),l.jsx(G,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(y),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],j=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),I=[];return j!=null&&I.push(j.className),I}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(G,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:y,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.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{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-D8PMCh18.js";import{a as _}from"./sentry-gJCFOenX.js";import{n as i}from"./mui-8c7TTPte.js";import{W as Q,L as X}from"./EntitySummarySection-BI44dDjO-B-d9qKtl.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="6bffbcdc-44c4-4028-a0eb-163e53a7c88b",e._sentryDebugIdIdentifier="sentry-dbid-6bffbcdc-44c4-4028-a0eb-163e53a7c88b")}catch{}})();const S={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
1
+ import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as J,bB as V,y as A,cd as W,ce as G,cf as Z,c as u}from"./index-B6Om0Agf.js";import{a as S}from"./sentry-yju9hmuU.js";import{n as i}from"./mui-C6XKQL2c.js";import{W as Q,L as X}from"./EntitySummarySection-CloCPwyO-CgnOdasB.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="35d31f42-c91a-4979-aae3-e102357e32c5",e._sentryDebugIdIdentifier="sentry-dbid-35d31f42-c91a-4979-aae3-e102357e32c5")}catch{}})();const v={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -38,9 +38,9 @@ import{d as O,q as B,F as g,V as o,bM as H,g2 as q,bA as K,ck as U,o as T,aR as
38
38
  display: block;
39
39
  background-color: ${e=>e.theme.colors.grey4};
40
40
  height: calc(100vh - 178px);
41
- margin-top: ${e=>S.wrapperContainerMarginTop.valuePx(e.windowSize)};
41
+ margin-top: ${e=>v.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
42
  `,ie=i.div`
43
- margin-left: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
- margin-right: ${e=>S.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
43
+ margin-left: ${e=>v.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
+ margin-right: ${e=>v.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
45
  height: 100%;
46
- `;function _e(e){const s=O(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:v,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=a,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=z,[j,P]=_.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,R=_.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),v(c,f)},[d,r.vendor,t,v]);if(_.useEffect(()=>{async function c(){const f={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:I,reportDate:t};await se(k,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,a.companyName,y,j,t,D,b,I,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(q,{fetchState:m});const Y=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(K,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:Y,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:$.length===0||n==null?o.jsx(U,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:z,invoices:$,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:R,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=G(t.headers,a.defaultFileName),w=await t.arrayBuffer();Z(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{_e as default,le as toDownloadAgingDetailedReportOptionsPayload};
46
+ `;function Se(e){const s=O(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:b,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:k,timezone:I}=a,{fetchState:m,invoices:$,apAgingDetailUIState:z,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:_,downloadState:y}=z,[j,P]=S.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,R=S.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),b(c,f)},[d,r.vendor,t,b]);if(S.useEffect(()=>{async function c(){const f={companyName:a.companyName,sortKey:D,sortOrder:_,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:I,reportDate:t};await se(k,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,_,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,k,a.companyName,y,j,t,D,_,I,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(q,{fetchState:m});const Y=o.jsx(V,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(K,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:Y,source:"ApAgingDetailPage"}),o.jsx(Q,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:$.length===0||n==null?o.jsx(U,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(X,{uiState:z,invoices:$,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:R,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await W({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=G(t.headers,a.defaultFileName),w=await t.arrayBuffer();Z(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{Se as default,le as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-D8PMCh18.js";import{n as i,k as y}from"./mui-8c7TTPte.js";import{a as j}from"./sentry-gJCFOenX.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c8b24b29-5205-4a32-b5e7-5210bac75713",e._sentryDebugIdIdentifier="sentry-dbid-c8b24b29-5205-4a32-b5e7-5210bac75713")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=y`
1
+ import{V as t,q as m,L as x,o as r,y as d,p as a,aR as g,F as u,bo as $,cU as b,dJ as f,cT as w}from"./index-B6Om0Agf.js";import{n as i,k as y}from"./mui-C6XKQL2c.js";import{a as j}from"./sentry-yju9hmuU.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c8b24b29-5205-4a32-b5e7-5210bac75713",e._sentryDebugIdIdentifier="sentry-dbid-c8b24b29-5205-4a32-b5e7-5210bac75713")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=y`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,11 +1,11 @@
1
- import{aw as te,N as ae,t as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as de,aa as ce,bn as ue,o as t,bo as pe,aX as b,b4 as m}from"./index-D8PMCh18.js";import{a as o,S as be}from"./sentry-gJCFOenX.js";import{n as l}from"./mui-8c7TTPte.js";import{bk as me}from"./zeni-epic-state-B6kYb9qr.js";import{v as fe}from"./DashboardSidebarBackgroundAnimation-BiD26wyg-BRXfEvXl.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="6972d490-12e6-470b-9ed7-c83e533dfc31",e._sentryDebugIdIdentifier="sentry-dbid-6972d490-12e6-470b-9ed7-c83e533dfc31")}catch{}})();const he=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ge,{children:n.jsx(m,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
1
+ import{aw as te,N as ae,t as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as de,aa as ce,bn as ue,o as t,bo as be,aX as f,b4 as p}from"./index-B6Om0Agf.js";import{a as o,S as fe}from"./sentry-yju9hmuU.js";import{n as l}from"./mui-C6XKQL2c.js";import{bk as pe}from"./zeni-epic-state-ag00jsAo.js";import{v as me}from"./DashboardSidebarBackgroundAnimation-fiNmHYV3-bIt2Kc3t.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="782fb91d-742a-4f4f-bf01-0433bfdfae0f",e._sentryDebugIdIdentifier="sentry-dbid-782fb91d-742a-4f4f-bf01-0433bfdfae0f")}catch{}})();const he=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomNewYear",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(ge,{children:n.jsx(p,{style:{display:"flex",width:"70px",height:"140px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),ge=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${t.sp3};
5
5
  display: flex;
6
6
  height: auto;
7
7
  right: ${t.sp0};
8
- `,xe=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Ee,{children:n.jsx(m,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ee=l.div`
8
+ `,xe=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomChristmas",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Ee,{children:n.jsx(p,{style:{display:"flex",width:"240px",height:"98px"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Ee=l.div`
9
9
  position: absolute;
10
10
  z-index: 0;
11
11
  bottom: ${t.sp0};
@@ -13,7 +13,7 @@ import{aw as te,N as ae,t as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as
13
13
  height: auto;
14
14
  right: ${t.sp0};
15
15
  width: 100%;
16
- `,ye=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomHalloween",e),[a,r]=o.useState(null);return i!=null&&a==null&&!s&&r(i),e&&a!=null?n.jsx(we,{children:n.jsx(m,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),we=l.div`
16
+ `,ye=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomHalloween",e),[a,r]=o.useState(null);return i!=null&&a==null&&!s&&r(i),e&&a!=null?n.jsx(we,{children:n.jsx(p,{style:{display:"flex",width:"60px",height:"60px",marginLeft:"20%",marginTop:"10%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),we=l.div`
17
17
  position: absolute;
18
18
  z-index: 0;
19
19
  width: 100%;
@@ -25,7 +25,7 @@ import{aw as te,N as ae,t as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as
25
25
  background-repeat: no-repeat;
26
26
  background-position-y: bottom;
27
27
  left: 0;
28
- `,Ce=o.memo(function({animationEnabled:e=!1}){const[i,s]=b("DashboardSidebarBottomThanksgiving",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Se,{children:n.jsx(m,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
28
+ `,Ce=o.memo(function({animationEnabled:e=!1}){const[i,s]=f("DashboardSidebarBottomThanksgiving",e),[a,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&a!=null?n.jsx(Se,{children:n.jsx(p,{style:{display:"flex",width:"100px",height:"100px",marginLeft:"45%"},animationData:a,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
29
29
  position: absolute;
30
30
  z-index: 0;
31
31
  bottom: ${t.sp0};
@@ -82,10 +82,10 @@ import{aw as te,N as ae,t as k,bi as se,V as n,bj as oe,bk as le,bl as re,bm as
82
82
  color: ${e=>e.theme.colors.primary};
83
83
  }
84
84
  z-index: 1;
85
- `,Te=l(pe)`
85
+ `,Te=l(be)`
86
86
  display: flex;
87
87
  width: ${t.sp4};
88
88
  height: ${t.sp4};
89
89
  align-items: center;
90
90
  justify-content: center;
91
- `;function Re({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:D,selectedMenu:T,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:V=!1,isOnDashboard:M,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:x,signedInUser:f,aiCfoView:F,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:C=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:N,treasuryYieldPercentage:L,onNotificationIconClick:P,handleLogOutClick:U,handleMenuChange:B,onZeniLogoClick:O,handlePopupClose:R,handleBackClick:S,handleCockpitClick:_,handleTenantSelect:G,updateCurrentChatSessionId:H,handleSettingsClick:v}){const[d,Z]=o.useState(c&&x),g=be.useRef("noAnimation"),Q=me(f),X=te(),{useFeatureGate:A}=ae(),{isFeatureEnabled:q}=A(k.isReimbursementCommentingEnabled),{isFeatureEnabled:J}=A(k.isBillPayCommentingEnabled),K=se(),W=()=>{g.current="slide-in-right-to-left",v&&v()},ee=()=>{g.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&Z(c)},[c,d]);const p=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ne=g.current,ie=Q||q&&J&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Ae,{isOnDashboard:M,children:[n.jsxs(ke,{children:[n.jsx(oe,{onClick:O,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w}),n.jsx(le,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:G})]}),n.jsx(je,{children:n.jsx(re,{className:ne,signedInUser:f,selectedMenu:T,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:D,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:F,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:L,isChargeCardEnabled:$,isNotificationsTabVisible:z,isPerformanceEnabledForUser:K,isExpenseAutomationEnabledForUser:N,onSelectionChanged:B,updateCurrentChatSessionId:H,onBackClick:ee,onPopupClose:R})}),n.jsx(fe,{christmasAnimationEnabled:h}),n.jsxs($e,{children:[n.jsx(de,{signedInUser:f,onLogOutClick:U,onSettingsClick:W,onCockpitClick:_,currentTenant:E,isSettingsFeatureEnabled:x}),ie?n.jsx(ce,{controller:u!=null,children:n.jsxs(De,{isDisabled:p,onClick:p?void 0:P,children:[n.jsx(ue,{count:p?void 0:u?.count,type:"important",isLoading:p,style:{left:"12px"}}),n.jsx(Te,{})]})}):null]}),n.jsx(ve,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w})]},d.toString())}export{Re as default};
91
+ `;function Re({currentTenantId:e,tenants:i,isVendorsTabVisible:s,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,isChargeCardEnabled:$,rewardsConfiguration:D,selectedMenu:T,isTenantDropdownDisabled:I,isSettings:c=!1,isAiCfo:V=!1,isOnDashboard:M,isAiCfoAccessEnabled:Y,isNotificationsTabVisible:z,isSettingsFeatureEnabled:x,signedInUser:m,aiCfoView:F,currentTenant:E,christmasAnimationEnabled:h=!1,halloweenAnimationEnabled:y=!1,newYearAnimationEnabled:w=!1,thanksGivingAnimationEnabled:C=!1,notificationCountDetails:u,isExpenseAutomationEnabledForUser:N,treasuryYieldPercentage:L,onNotificationIconClick:P,handleLogOutClick:U,handleMenuChange:B,onZeniLogoClick:O,handlePopupClose:R,handleBackClick:S,handleCockpitClick:_,handleTenantSelect:G,updateCurrentChatSessionId:H,handleSettingsClick:v}){const[d,Z]=o.useState(c&&x),g=fe.useRef("noAnimation"),Q=pe(m),X=te(),{useFeatureGate:A}=ae(),{isFeatureEnabled:q}=A(k.isReimbursementCommentingEnabled),{isFeatureEnabled:J}=A(k.isBillPayCommentingEnabled),K=se(),W=()=>{g.current="slide-in-right-to-left",v&&v()},ee=()=>{g.current="slide-in-left-to-right",d&&S&&S()};o.useEffect(()=>{c!==d&&Z(c)},[c,d]);const b=u?.fetchStatus.fetchState==="Not-Started"||u?.fetchStatus.fetchState==="In-Progress",ne=g.current,ie=Q||q&&J&&!X.loggedInUserRole.includes("investor_or_banker");return n.jsxs(Ae,{isOnDashboard:M,children:[n.jsxs(ke,{children:[n.jsx(oe,{onClick:O,halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w}),n.jsx(le,{currentTenantId:e??"",tenants:i,isDisabled:I,onTenantSelect:G})]}),n.jsx(je,{children:n.jsx(re,{className:ne,signedInUser:m,selectedMenu:T,currentTenant:E,isVendorsTabVisible:s,rewardsConfiguration:D,isSetting:d,isAiCfo:V,isAiCfoAccessEnabled:Y,aiCfoView:F,isZeniAccountEnabled:a,isTreasuryEnabled:r,isTreasuryPopupVisible:j,treasuryYieldPercentage:L,isChargeCardEnabled:$,isNotificationsTabVisible:z,isPerformanceEnabledForUser:K,isExpenseAutomationEnabledForUser:N,onSelectionChanged:B,updateCurrentChatSessionId:H,onBackClick:ee,onPopupClose:R})}),n.jsx(me,{christmasAnimationEnabled:h}),n.jsxs($e,{children:[n.jsx(de,{signedInUser:m,onLogOutClick:U,onSettingsClick:W,onCockpitClick:_,currentTenant:E,isSettingsFeatureEnabled:x}),ie?n.jsx(ce,{controller:u!=null,children:n.jsxs(De,{isDisabled:b,onClick:b?void 0:P,children:[n.jsx(ue,{count:b?void 0:u?.count,type:"important",isLoading:b,style:{left:"12px"}}),n.jsx(Te,{})]})}):null]}),n.jsx(ve,{halloweenAnimationEnabled:y,thanksGivingAnimationEnabled:C,christmasAnimationEnabled:h,newYearAnimationEnabled:w})]},d.toString())}export{Re as default};
@@ -1,4 +1,4 @@
1
- import{d as H,q as U,aw as V,F as p,aT as x,V as t,bA as E,k as q,fq as v,dB as S,y as d,o as j,am as G,b as k,c as o}from"./index-D8PMCh18.js";import{n as l}from"./mui-8c7TTPte.js";import{Fy as J,Fz as N}from"./zeni-epic-state-B6kYb9qr.js";import"./sentry-gJCFOenX.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="92b75075-9c5e-4906-80d5-22612bd59ea7",e._sentryDebugIdIdentifier="sentry-dbid-92b75075-9c5e-4906-80d5-22612bd59ea7")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=H(),i=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:B}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:$,reimbursement:M}=B,{billPaySetup:L}=$,{reimbursementSetup:W}=M,{setUp:s}=C,D=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",b=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),_=J(c,u.loggedInUserRoleMap),F=N(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:D?t.jsx(Y,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[_===!0&&t.jsx(v,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:b},onClick:I,status:m.length>0?z:void 0}),F===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:b},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:T,status:f.length>0?A:void 0})]})]})})]})},O=l.div`
1
+ import{d as H,q as U,aw as V,F as p,aT as x,V as t,bA as E,k as q,fq as v,dB as S,y as d,o as j,am as G,b as k,c as o}from"./index-B6Om0Agf.js";import{n as l}from"./mui-C6XKQL2c.js";import{Fy as J,Fz as N}from"./zeni-epic-state-ag00jsAo.js";import"./sentry-yju9hmuU.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="92b75075-9c5e-4906-80d5-22612bd59ea7",e._sentryDebugIdIdentifier="sentry-dbid-92b75075-9c5e-4906-80d5-22612bd59ea7")}catch{}})();const n={sectionRowGap:new d(o[4],o[8],o[8]),lastSectionPaddingBottom:new d(o[7],o[10],o[10]),iconWidthHeight:new d(20,o[4]),subtitleSectionWidth:new d(343,580,1200)},ue=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=H(),i=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:A}=a,{commonSetUp:C,spendManagement:B}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,y=p.getLocalizedStrings().common.headers,{billPay:$,reimbursement:M}=B,{billPaySetup:L}=$,{reimbursementSetup:W}=M,{setUp:s}=C,D=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",b=r.mode==="light"?new x(r.colors.brandColorJadeLight):new x(r.colors.brandColorJadeDark),_=J(c,u.loggedInUserRoleMap),F=N(c,u.loggedInUserRoleMap);return t.jsxs(Q,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:i==="medium-compact"||i==="small",onClickMenuIcon:P}),t.jsx(X,{windowSize:i,children:D?t.jsx(Y,{children:t.jsx(q,{size:"ExtraLarge",start:!0})}):t.jsxs(O,{children:[t.jsx(K,{windowSize:i,children:t.jsx(ee,{windowSize:i,children:w.infoText.approvalRules})}),t.jsxs(Z,{windowSize:i,children:[_===!0&&t.jsx(v,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:y.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(i),height:n.iconWidthHeight.valuePx(i)}),color:b},onClick:I,status:m.length>0?z:void 0}),F===!0&&t.jsx(v,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:y.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(i)}),color:b},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(i)},onClick:T,status:f.length>0?A:void 0})]})]})})]})},O=l.div`
2
2
  width: 100%;
3
3
  margin: auto;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{V as i,F as f,d5 as k,d as z,b2 as N,c as S,b as w,aW as T,d6 as P,d7 as I,p as h,o as x,al as q}from"./index-D8PMCh18.js";import{a as C,S as H}from"./sentry-gJCFOenX.js";import{n as j}from"./mui-8c7TTPte.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-CfyGWP2E-CMEv9V_N.js";import{bm as D,Fi as B}from"./zeni-epic-state-B6kYb9qr.js";import{N as V,I as W,X as A,Y as G,J as _,K as F}from"./recharts-DLR05d4e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="548758d1-c8f1-4854-8246-3bb1e3f36db7",e._sentryDebugIdIdentifier="sentry-dbid-548758d1-c8f1-4854-8246-3bb1e3f36db7")}catch{}})();const Q=j.div`
1
+ import{V as i,F as f,d5 as k,d as z,b2 as N,c as S,b as w,aW as T,d6 as P,d7 as I,p as h,o as x,al as q}from"./index-B6Om0Agf.js";import{a as C,S as H}from"./sentry-yju9hmuU.js";import{n as j}from"./mui-C6XKQL2c.js";import{l as v,_ as K,h as R,m as J,u as L}from"./chartTypes-YlZX4WLs-BVobq2KO.js";import{bm as D,Fi as B}from"./zeni-epic-state-ag00jsAo.js";import{N as V,I as W,X as A,Y as G,J as _,K as F}from"./recharts-CPZsikvb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="1ff73eda-5a53-4776-8e8c-7f59a7df53b7",e._sentryDebugIdIdentifier="sentry-dbid-1ff73eda-5a53-4776-8e8c-7f59a7df53b7")}catch{}})();const Q=j.div`
2
2
  display: flex;
3
3
  `,U=j.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{d as Y,q as F,V as o,bM as L,g2 as O,bA as B,ck as H,F as S,o as A,aR as q,bB as K,y as z,cd as U,ce as J,cf as V,c as y}from"./index-D8PMCh18.js";import{a as _}from"./sentry-gJCFOenX.js";import{n as s}from"./mui-8c7TTPte.js";import{W,L as G}from"./EntitySummarySection-BI44dDjO-B-d9qKtl.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4cf3d450-5a5c-4e62-8f64-f3f4b9edf45a",e._sentryDebugIdIdentifier="sentry-dbid-4cf3d450-5a5c-4e62-8f64-f3f4b9edf45a")}catch{}})();const b={wrapperContainerMarginTop:new z(y[4],y[0]),wrapperContaineHorizontalrMargin:new z(y[0],y[8])},{common:X,reports:{common:Z,aging:{agingDetail:Q}},dateFormat:M}=S.getLocalizedStrings();function be(e){const l=Y(),c=F(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:C,timezone:I}=d,{fetchState:p,invoices:v,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[P,j]=_.useState(!1),E=_.useCallback((g,f)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,f,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,f)},[r.customer,m,a,t]);if(_.useEffect(()=>{async function g(){const f={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:t};await ee(C,k,f),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}P&&u!=="In-Progress"&&(j(!1),w("In-Progress"),g())},[k,C,d.companyName,u,P,t,x,D,I,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(L,{})}),o.jsx(ne,{children:Z.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(O,{fetchState:p});const R=o.jsx(K,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:X.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:R,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(W,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:c,children:o.jsx(le,{windowSize:c,children:v.length===0||i==null?o.jsx(H,{message:Q.noDataText}):o.jsx(re,{windowSize:c,children:o.jsx(G,{uiState:$,invoices:v,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,c){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(c)))}`,d=S.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await U({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();V(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
1
+ import{d as Y,q as F,V as o,bM as L,g2 as O,bA as B,ck as H,F as S,o as A,aR as q,bB as K,y as z,cd as U,ce as J,cf as V,c as f}from"./index-B6Om0Agf.js";import{a as b}from"./sentry-yju9hmuU.js";import{n as s}from"./mui-C6XKQL2c.js";import{W,L as G}from"./EntitySummarySection-CloCPwyO-CgnOdasB.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="b0e84e62-7e6a-4b06-aadd-08d07e39ec13",e._sentryDebugIdIdentifier="sentry-dbid-b0e84e62-7e6a-4b06-aadd-08d07e39ec13")}catch{}})();const _={wrapperContainerMarginTop:new z(f[4],f[0]),wrapperContaineHorizontalrMargin:new z(f[0],f[8])},{common:X,reports:{common:Z,aging:{agingDetail:Q}},dateFormat:M}=S.getLocalizedStrings();function _e(e){const l=Y(),c=F(),{arAgingDetail:r,downloadParams:d,reportDate:t,analytics:a,onReload:n,onBackClick:h,onColumnSortConfigChanged:m,updateDownloadStateHandler:w,onTransactionClick:N}=e,{authParams:k,downloadEndPoint:C,timezone:I}=d,{fetchState:p,invoices:v,arAgingDetailUIState:$,customer:i,totalBalances:T}=r,{sortKey:x,sortOrder:D,downloadState:u}=$,[P,j]=b.useState(!1),E=b.useCallback((g,y)=>{r.customer!=null&&a.trackArAgingDetailReportSortChange(g,y,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name),m(g,y)},[r.customer,m,a,t]);if(b.useEffect(()=>{async function g(){const y={companyName:d.companyName,sortKey:x,sortOrder:D,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:i?.id??"",timezone:I,reportDate:t};await ee(C,k,y),w("Completed"),r.customer!=null&&a.trackApAgingDetailReportDownload(x,D,t.format(M.analytics.YYYYDashMMDashDDFormat),r.customer.id,r.customer.name)}P&&u!=="In-Progress"&&(j(!1),w("In-Progress"),g())},[k,C,d.companyName,u,P,t,x,D,I,w,i?.id,r.customer,a]),p==="Error")return o.jsxs(te,{children:[o.jsx(ae,{onClick:n,children:o.jsx(L,{})}),o.jsx(ne,{children:Z.failed})]});if(p==="In-Progress"||p==="Not-Started")return o.jsx(O,{fetchState:p});const R=o.jsx(K,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:u==="In-Progress"}],onDownloadClick:async g=>{if(g==="excel")if(u==="In-Progress"){console.log("Download is already in progress!");return}else j(!0)}}}});return o.jsxs(ie,{children:[o.jsx(B,{title:X.strings.empty,backgroundColor:l.colors.grey5,onBackClick:h,rightSideComponent:R,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(W,{totalBalances:T,entityName:i?.name??"",entityLogo:i?.logo,reportId:"accounts_receivable_aging",reportDate:t}),o.jsx(se,{windowSize:c,children:o.jsx(le,{windowSize:c,children:v.length===0||i==null?o.jsx(H,{message:Q.noDataText}):o.jsx(re,{windowSize:c,children:o.jsx(G,{uiState:$,invoices:v,entityName:i.name,entityLogo:i.logo,onColumnSortConfigChanged:E,onTransactionClick:N})})})})]})}async function ee(e,l,c){const r=`${e}?query=${encodeURIComponent(JSON.stringify(oe(c)))}`,d=S.getLocalizedStrings(),t=d.reports.aging.arAging.arAging,a=d.download;try{const n=await U({urlEndPoint:r,authParams:l,fileType:"excel"});if(n.ok){const h=J(n.headers,a.defaultFileName),m=await n.arrayBuffer();V(m,h)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${n.statusText}`)}catch(n){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",t)} ${JSON.stringify(n)}`)}}function oe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const re=s.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -38,9 +38,9 @@ import{d as Y,q as F,V as o,bM as L,g2 as O,bA as B,ck as H,F as S,o as A,aR as
38
38
  display: block;
39
39
  background-color: ${e=>e.theme.colors.grey4};
40
40
  height: calc(100vh - 178px);
41
- margin-top: ${e=>b.wrapperContainerMarginTop.valuePx(e.windowSize)};
41
+ margin-top: ${e=>_.wrapperContainerMarginTop.valuePx(e.windowSize)};
42
42
  `,le=s.div`
43
- margin-left: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
- margin-right: ${e=>b.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
43
+ margin-left: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
+ margin-right: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
45
  height: 100%;
46
- `;export{be as default,oe as toDownloadAgingDetailedReportOptionsPayload};
46
+ `;export{_e as default,oe as toDownloadAgingDetailedReportOptionsPayload};