@zeniai/web-app-ui 4.14.33-qa → 4.14.34-next

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 (368) hide show
  1. package/dist/assets/{ACHDetailsPage-DKTSwNyl-vaiiH6iF.js → ACHDetailsPage-iiVBlQka-D5mKQfBD.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-5-sFPCOu.js → AIPerformancePage-MBAB5kgB-DYjikmd2.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cz9yoVl8-CmCgEK1m.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-nblnEZiO.js → AccountInfoPageContent-j85psx_A-HR0H-eLP.js} +2 -2
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-CbXEwSi6.js → AccountLockedInfoModal-B1JxHllU-CApHAbyP.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-Bmi7mlyR.js → AccountReconDetailsDrawerPage-DF-X46_u-Ca8PuqCB.js} +3 -3
  7. package/dist/assets/{AccountRow-C-Iunc36-72sE71ts.js → AccountRow-DEtntSrL-DccMoOXH.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-CDd7581y.js → AccountsPromoCardStack-Cvixqb_6-DC4LEqBz.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-iUCl4WAL.js → AddAddressForCardDrawer-B1Qfn44J-BcMQra1g.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DF4WBRew.js → AddToWalletPage-BLxUsh1Y-DSfpr8wZ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-DZ3CePsl.js → AddressRoutes-re_P5Gi8.js} +1 -1
  12. package/dist/assets/{AddressScreen--daeKsww.js → AddressScreen-D0jdlECR.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-DmdGNpEA.js → AgingReportsPage-XIzuLRE4-Dg2ff8zG.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-DrIEINcV.js → AiCfoScreen-DU_mftPt.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-C5NuOkc_.js → AllUserItems-BGMZCYUO-BjCAS0VR.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-DVMMh04t.js → ApAgingDetailPage-B-1gVAu6-BcSRnhTZ.js} +8 -8
  17. package/dist/assets/{AppBasePage-yAU5vW5D-C53pNaUV.js → AppBasePage-CYjdUgY4-5oNPEz3E.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-B2ApD6yG.js → AppDrawerContent-CbF8TOjd-Cfws62tB.js} +5 -5
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-C80eVk9A.js → ApprovalRulesSettingsPage-RCtygkuw-7HGRK-Kk.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-CSeG-Uqv.js → ArAgingChart-ZwWwEBJ3-BX2BsofQ.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BAIqYo3y.js → ArAgingDetailPage-DtqyngrA-DhqLr2c3.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-mCwLL7Mx.js → AttachmentView-UxkSFZmq-D8zXcRrH.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-D5kbkQ7T.js → BalancesInsightWithToolTip-Co6ZUc5x-BGKH31_O.js} +8 -8
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-KaAYLI0p.js → BankAccountSection-DnBVOkJC-CZ4VvDPT.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--CUBNVb6Q.js → BankAccountWarningSection-D7OuLiLz-46LAz_wy.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-CJ_u9xIa.js → BankConnectionsSettingsPage-BDLTuNLu-CjCCAjX4.js} +13 -13
  27. package/dist/assets/{BillDetailPage-DRpctLxu-bdCPRsGz.js → BillDetailPage-V8us93cj-BklrwzsQ.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-DFkIdcSF.js → BillPayApprovalRoutes-ayd5Uhdd.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-DLUSXFmg.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BVKOFsD1.js → BillPayApprovalRulesPage-C6G_eDX9-Dv1ykerd.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-DdNDHpVJ.js → BillPayPromoPage-CTQSknOB-BB-idd70.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-B46aoVkb.js → BillPayRoutes-Imk-TXga.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-Bfo7Z4ox.js → BillPaySetUpPage-BmgMLaf--ByUAKdsa.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM--gtvAMnb.js → BillingSettingsPage-IHY3ak0N-ACDwSPG2.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-D655D3p3.js → BillsBulkReviewDrawerPage-ZoFahXYa-B8FNahM_.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-nxbr18CH.js → BoxItem-XoWq-tnh-BKabUWbk.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DMRdoDLL.js → BusinessVerificationPage-D9HtnNOu-DDDa00sg.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-C86_V-r6.js → BusinessVerificationPageScreen-DOorrN1e.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-D_KjfCvN.js → BusyIndication-BLGcHlgu-DO50OPkT.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-DydQglA7.js → CardNumberSubText-Cn0EZrNE-8S_Hkb0o.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-5lX_RN0h.js → CashbackDetailPage-Bk5ssPnj-CtoifsbU.js} +9 -9
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-BjL0DKyM.js → ChargeCardDetailPage-Ge9Aw7PA-CAFYyH-X.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-CCJNQLG0.js → ChargeCardListPage-BNLOoSv3-BSIYp8tw.js} +9 -9
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-Dgu4VrOO.js → ChargeCardListTable-BoufojYF-BTQboiSm.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-rwescXiM.js → ChargeCardPaymentHistoryPage-5lUxK8pF-CIMB2FXY.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-Bb0IG3IR.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CPgq-Fcs.js → ChargeCardRoutes-BOv39ITT.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-Dyz8DCk0.js → ChargeCardSetupPage-Dqoel2Do-CUYct81I.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-Db6p_ygZ.js → ChargeCardStatementsPage-Dalrj66w-DetFA813.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-95lqaH1D.js → CheckDepositDrawerPage-mYjv1H0f-BkMT_2BX.js} +7 -7
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-hzcwjYIg.js → CollapsableReportTable-CIaa7SIH-BcmrCcCw.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-Dc3qK4JY.js → CompanyOfficerDetailsSection-BSFNYauO-CqdsvmlQ.js} +7 -7
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-D9MmZ8zJ.js → CompanyPassportCard-B-mBb9Q5-D5OLWrri.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-CUlcgg__.js → CompanyPassportPage-Blyl_Z-c-Bv6cz8vO.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DFzd5xMl.js → CompanyPassportScreen-BSgWemfd.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-CBfB04g9.js → CompleteProfile-ySk9I1Ut-CX4lUHXI.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-DQJv_Nip.js → ConfettiBurst-CeAc4Ily-CQzNjmhJ.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CxbcAiyp.js → ConnectionAuthScreen-B4jR-OqM.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CFViNyFz.js → ConstrainedInnerElement-CgdnMeoA-D6DpOFeV.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-CIY4Siau.js → CreateOrEditVendorPage-BRkqkhfw-CD_B7FM4.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-wlf0KhHC.js → CreditCardPaymentDrawerPage-oUIakAtz-FAWvFh7a.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-Crf9Iyws.js → CurrencySelectField-CSPhUjwG-TUea2NgP.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-BTSd_gC1.js → CustomerOnboardingActivationPage-CoOyWe6_-BbzsUah6.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-ChFZfEbR.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BAW70o1Y.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-Clg865Pc.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-TlQiouZ5.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-Di-cYBWB.js → CustomerOnboardingNoStepsPage-DWx46Z6R-DGUwV-k3.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-C74TSa_v.js → CustomerOnboardingPage-D86Sj2KP-RtLD02LU.js} +3 -3
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-DgtSAlPY.js → CustomerOnboardingProductSuitePage-Bo0LFveG-C45nsoZA.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-D8lBv3Fo.js → CustomerOnboardingRoutes-KhoQMmxs.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-DtqZ0TAC.js → Dashboard-DQLJzr16-XDHVlVNP.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-BeGuSbHr.js → DashboardReportPage-CwfTMXY5-cFYSJu0N.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C_p-DfC4.js → DashboardRoutes-Dkt6idAs.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Bg6ARoU-.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-CTx7mG_i.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DFVvpMg0.js → DefaultTenantHome-BLYjm2Rl.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL--Y5TyCxK.js → DepositAccTransactionItem-Ci-LxLsk-Ak1hNE9N.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-B3QFlMvi.js → DepositAccTransactionListPage-RG7P8vQS-SKAVbGWJ.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-BxeuSD7C.js → DomesticWireDetailScreen-Cb8yfXyQ.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CkHg76UF.js → DomesticWireDetailsPage-DsPFUOcE-ACmLsH0n.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-BSolbkT5.js → DownloadOverlay-BjTf50Dz-4dKqJIUv.js} +14 -14
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-CsKBkHKX.js → DrawerPage-0OFinUxM-DQiNyOfv.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CNYes_B5.js → DrawerScreen-BxAJjX-V.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-T5IKpK3c.js → EditPeoplePage-BKcOmYVv-CCeaCSZK.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-CMbJXkGu.js → EditReimbursementDetailPage-BFIHhQbx-D5cGJPvr.js} +1 -1
  85. package/dist/assets/EntityDetailPage-D8FzsqNk-CTE5lJhs.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-B_fkkkd0.js → EntityDetailRoutes-T0SbGq5C.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-DK_sIHqa.js → EntitySummarySection-ORJ2pE_k-CrZhDCdR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DUzEeon7.js → ExpenseAutomationOverviewPage-Dzf7j2zV-CB93FJgY.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-CtuC2pA_.js → ExpenseAutomationPage-BRsKGeoM-CuVPAlKg.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Bn_W0EJ4.js → ExpenseAutomationRoutes-DdrEQ35G.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-C5JsOuHP.js → ExpressPayPage-DlBFtMaR-COte8Hl6.js} +6 -6
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-Dh66_th1.js → FeaturePreviewPage-C31F3Gmz-zATsNfdb.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-qfP2OUEx.js → FeaturePreviewScreen-D_I8hTXD.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-4LVVpbi9.js → FollowStepsSection-BVT2K7mu-DOUcVu-3.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-mV5JyIK2.js → GlobalReviewListPage-0cZe1hh0-lMXvemkS.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-ChrRXFYI.js → InformationCardStack-t8eELRLU-DKi42zgD.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--BoiaSNx7.js → InsightsCardStack-CJBPZbzD-C9DEIBNn.js} +6 -6
  98. package/dist/assets/InsightsSection-tUBzsCix-t2SD0L6y.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-C7P8jA4W.js → IntegrationsSettingsPage-Ce0yKUWI-BFf92zp0.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-BLrA_sVU.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DLEAf0e9.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-j-LqM69O.js → InternationalWireVerificationPage-7tCXdJ3Y-CCylLosQ.js} +10 -10
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-DTRQdcWE.js → InviteFormPage-DePVC0CH-BiWnY9_1.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-tf28z0Pj.js → InvitePageListView-ChbvDKgQ-DOGDOCwK.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-WhL9WNb0.js → InvitePeoplePage-DJiEzIeY-DBD22Qe2.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-NI5q_7OK.js → InvoiceUploadSection-BjNMjhQR-BiXOVXBw.js} +12 -12
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-B4KlGbEM.js → IssueChargeCardPage-4xbGf5Ut-Bzzrbo3g.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-BerYTYe0.js → LabeledAddressValue-Czt7QvSJ-C3osThRZ.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-DIler834.js → LabeledAddressValueField-Dl3atH92-CjWOLfvq.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-BRawuCYy.js → LabeledControlledCheckBoxField-DT_nxhPN-DG3q_4VK.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-DYoPmUzY.js → LabeledCountryMultiSelectField-BnljZpX0-Bai5L6wP.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-B7iwCfH_.js → LabeledCreatableSingleSelectField-CiInq9yD-BahNvXgw.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-Dn-2GIt3.js → LabeledDocumentField-Ceb8vgVH-DKJFu0uE.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-BPjCYmio.js → LabeledDropDownFormattedTextField-B98gNWTE-BFLazuPm.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-B5JFU4wM.js → LabeledEmailInputField-C53P9fJl-DlfrFCPM.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-CHfes9Ox.js → LabeledNameField-BdVztq_8-BVu5RDiT.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-CCFQll02.js → LabeledSingleSelectField-sjDjhxfQ-GUbWbkLt.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-D0ysNeoF.js → LabeledText-CFJSoGtK-YKLGY1KT.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CvY4pk5I.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-BLveJfCB.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-CarCFyTQ.js → LabeledZeniRolesDropDownField-CQiP2rEh-cspEcG7h.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-DJ6xwUid.js → LinkJETransactionPage-ANY7Ns42-BXUS9vB-.js} +12 -12
  121. package/dist/assets/{LockCardPage-D2dUPnNL-Eafl9wy6.js → LockCardPage-0piclOz3-CpQTPdSC.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-CeYZtxfy.js → LowBalancePopup-CplxkRHP-D51-vJar.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-Dhxfjrr6.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CtCxTvdx.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-RGB6DLRx.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-CakulreU.js → MagicLinkRoutes-DFvfWmRN.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-DmbM-s2i.js → MagicLinkSignInScreen-Dqj0rmTv.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-Baz0qr0W.js → MagicLinkSuccessPage-BA1LfhVb-Cs7EEnSb.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-h10gi8NN.js → MagicLinkTitleSection-DLdaV8WG-C3bsdoSE.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-BNVPaGFt-l5wno-Nb.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-2LbkYhdu.js → MobileAppDrawer-lcEQxANw.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-1RkUcWJr.js → MoreMenuButton-DrAQ635T-CD7O87sU.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-By1YLu0H.js → MyBankConnectionsSettingsPage-BiDvyO_G-DmJiZ7Np.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-CBi6XHSM.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-CqgYRvuz.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-BOMukk0k.js → MyProfileSettingsPage-nY_eDqfm-gJ1y9AQT.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-JHYu4cvw.js → NavBarWithPicker-Dr5XHgP5-Baq2EBjR.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-Bl_-33Bd.js → NavigationArrow-DT82hMh--_l1Xq3OC.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DFRkvytB.js → NavigationDots-CwCZ9EAa-Uo4o2B8k.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-0fcN1-JD.js → NewGlobalMerchantPage-D1lxnByE-BPjTlYDM.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-CJ1icN_z.js → NoDataChart-DCTRXLc7-BU0W5yLr.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--DfcxqWrJ.js → NoDataTable-D8Xw5pAY-EktbXITg.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-BE5hfWJC.js → NotFoundPage-B_zPUigU-DNJnTGd6.js} +8 -8
  143. package/dist/assets/{NotFoundScreen-Bbv8H3nZ.js → NotFoundScreen-Cg8eb9UX.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-Bw6HdP3t.js → NotificationRoutes-CSEEDZ70.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-B-O9mrhC.js → NotificationSettingsPage-aKLRiMp--D5QirhkW.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-DMi-LyFP.js → NotificationsListConfig-CVEetkBc-C-y-bIu5.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-BLrKuEst.js → NotificationsPage-DEw6V83J-CdE2VpYg.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-D3aW4Up2.js → OpExByVendorPage-DJMov6Ux-DGUP7ne6.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-cN3F11As.js → OverlayContainerPage-BG9y5C0t-GGV7TQTP.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-C1wItahw.js → PandLWithForecastPage-RBTh1bFk-cjQssrIs.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-DEpl-kK8.js → PandLWithForecastRoutes-NvgQAmB8.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-BPH3KEPd.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-CkzD5-JK.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-BaBsCmEu.js → PeoplePage-BEc-Oss7-DLtdqqo0.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BERYSVqt.js → PeopleRoutes-NI_EwZmv.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-BGDjlCKg.js → PerformanceRoutes-DWe9qDT0.js} +1 -1
  156. package/dist/assets/{Preview-Ch-PxJf8.js → Preview-KXQhErZz.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-Ce6W9juD.js → ProductsCarousel-BRo0P4GW-DqFI6EgG.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-uSCnFLmc.js → PromoBaseCards-BrXJEufN-Ct5eWSri.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-Q804Cvr3.js → QBOConnectionDialog-BIg9Iais-C-bKnRUb.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Cg7BmKuP.js → QBOConnectionScreen-BbH6Q0Zv.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-BVPCLXHR.js → QBOSetupSection-DDoUJ7L6-C84E_gV5.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-Do1GpEZb.js → ReferralListScreen-yb3eBsQ9.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-DykPBANB.js → ReimbursementApprovalRoutes-JsmozJ90.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-BNELgYj0.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-CcMzRfdI.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bmntxu5O.js → ReimbursementApprovalRuleDetailScreen-CmvANLeO.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-Cw7UlK2v.js → ReimbursementApprovalRulesPage-BpVWq3rk-DqxLa5ss.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-dtJvpaUZ.js → ReimbursementDetailPage-pCg86_Ty-CbpPhjAt.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-CrUxmQbQ.js → ReimbursementPromoPage-BW6icjG5-DKQI9joH.js} +6 -6
  169. package/dist/assets/{ReimbursementRoutes-DIhapEaG.js → ReimbursementRoutes-BuDt9Zc1.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-DY7UAbXu.js → ReimbursementSetUpPage-B6OhWEWH-BS8UGS4Z.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-aC2GWjh5.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-khE9K_mL.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-DZ7WcKTp.js → ReloadCard-DIFXZM9U-CDUNRCGh.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-BgPE2K8D.js → ReportTableViewSelector-BsIDwouQ-BXT2zDSg.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-D9B82vbB.js → ReportsPage-BFTuYQt2-CMI7yOCk.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-D0tPBhGa.js → ReportsRoutes-CjyJQ43R.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-7bv4bhdH.js → RevenueChart-BoFq3ebd-DF5yhvon.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-BjlIl2Hn.js → ReviewDetailsPage-6kCQzaHm-DplNkQk4.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-BujvaBnu.js → ReviewOverlay-Dhb-kL6G-C2wB3DBc.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BRbYkU2f.js → RewardsRoutes-r3Lwv-tv.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-CTVk-E46.js → RoleWithToolTip-BfM8Ltz4-D7NtOwF-.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-D8WWU11u.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-ChZX0aFf.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-Dk2G_kUJ.js → ScheduleDetailsPage-D4LK83qQ-kEM_9suf.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-D1_O58Op.js → ScheduleSequenceTable-BZR2cL6z-CphiJELf.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-l7j_PAHw.js → ScreenRoutes-ChEs7BzO.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-DRnE7z5J.js → SetUpAccountSection-CxjYbrXu-B-CwrNpf.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BOYsRkcJ.js → SettingsRoutes-C1Kq1J_D.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BW5sbmcH.js → SetupPagesScreen-CoGP1Xn9.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-DePqNMHn.js → SignIn-CVmtPGKL-BcX200wt.js} +6 -6
  189. package/dist/assets/{SignInScreen-DslARcQJ.js → SignInScreen-D0kLHiST.js} +1 -1
  190. package/dist/assets/{SignOutScreen-C_H6M-mZ.js → SignOutScreen-G-A2kWXp.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CSd5tSEZ.js → SpendManagementListViewPage-BLjP9T8h-CjHcTVHF.js} +4 -4
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-CS3ilKe0.js → SpendManagementPerTabPage-Ck4brjun-CCGYGR5C.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-DENgRE8u.js → SpendManagementSection-DAqR2c98-D3UQb_pP.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-fjAqSj3Z.js → StatementItem-B_iG99XI-Cw1V7vkp.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cp77wyFS-C7ISvjR1.js → StatementsPage-DcKziEfZ-BIqp5I24.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-Car4Wffo.js → StatusSwitcher-BI-dgnrK-RmmgjxXK.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-BAGv3SSP.js → SubTabSwitcher-BpNI5Wke-CkiBjSyM.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CZsu9OVO.js → SuccessAnimation-AojDorqX-DkE_42MT.js} +1 -1
  199. package/dist/assets/SummaryCard-HW-1WXN9-BBwEPOlY.js +1 -0
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-CRzBilad.js → TaskDetailPage-Cwe193JO-ewAuLH52.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CKaTUfjj.js → TaskListScreen-DSEOf3IG.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-BfMuUNcv.js → TaskManagementPage-Bz1uP5hK-CSZ7cyMf.js} +28 -28
  203. package/dist/assets/{TaskRoutes-GbR1OR35.js → TaskRoutes-BRwNIKsT.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-zKlJ5DzO.js → TimeRangeSwitcher-oORYeFzN-DMRym10P.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-DQR_BxSV.js → TimeframeSwitcher-JcJSbn0--NxzXFooZ.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-FfcB1NLf.js → TimeframeSwitcherWithToggle-BEZU-KDj-DCVf1xga.js} +2 -2
  207. package/dist/assets/{TopExCard-PayAZZY--iaLxXoM4.js → TopExCard-CF6z0JWk-BLcp4aU-.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-oLp7-3Ip.js → TopExDetailPage-DrcKlFuy-CmjEb40G.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-CXp6QGqE.js → TransactionActivityLogPage-BB4q0jan-C5nPIzaf.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-BTMQkCwv.js → TransactionDetailPage-DRG_qosz-D9fl3J-h.js} +22 -22
  211. package/dist/assets/{TransactionDetailRoutes-CvNXB6If.js → TransactionDetailRoutes-CAxYOH5j.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-BV_pNfyg.js → TransactionDetailScreen-DqwOALaI.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-BUFZXOSq.js → TransactionList-iw4pyMYF-BEukkbgw.js} +9 -9
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-DBRBONTs.js → TransactionListBig-BljAUwAB-DPYo8qDs.js} +6 -6
  215. package/dist/assets/TransactionListPage-ReGTmF43-T1nD9Uec.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-C7_wmcOK.js → TransactionListRoutes-Iquxrv0X.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-DH3LeouE.js → TransactionVendorDetailPage-DXuYIj-p-PZqvaBS6.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-Ds3Buuei.js → TransferDrawerPage-C3q8h8Zy-CC7puzT8.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-B3lkP75d.js → TreasuryOverviewPage-DqjFEV9B-DejoDznR.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-57H2ubx5.js → TreasuryPromoPage-ByeK0W_5-CDilRLcX.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-R2IJOmnc.js → TreasuryRoutes-Dyo-oi_i.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-BjGwvMFL--8sdcv4h.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-BeDKnsuI.js → TreasuryTaxLetterPage-DwLyqS86-BuzUnyLn.js} +4 -4
  224. package/dist/assets/{TrendChart-BvXDrgUJ-BpZSEXhR.js → TrendChart-Dgh_21FN-Dg7QPEOU.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-bpOEgU86.js → TrendWithTransactions-BgIPapHk-6i4jdit5.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-BI9FK75f.js → UncategorizedAccountsMappingPage-DIIJcGrj-B5UXABtw.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-Ddm0HOtK.js → UnitIntegrationPage-DIOZhQOZ-SKHNorkF.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-GduEZkMl.js → UploadAdditionalDocumentOverlay-qrcEQmkz-BT3JtLBM.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-CRzhgn8L.js → Vendor2FAPopup-C58w6vC7-DeUBxd1k.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-B1FHSUnq.js +1 -0
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-DnYGOrtp.js → VendorDetailPage-CEQFcNHr-C6lUHaOU.js} +11 -11
  232. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-DPrHDHbN.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-CXHipFEF.js → VendorFiling1099EditablePage-Dl7jZYBV-Da2k3M6O.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-EYzoSqiC.js → VendorFirstReviewPage-yVbtg_tG-DcfprkGG.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-D2HrMQxV.js → VendorInternationalWireDetailsPage-DNDv_s8G-B-pyh3MJ.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-C9751j1W.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-DWmz9oym.js → VendorsAccountsSection-Cscbgqrx-Ce3rtYta.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CutfvXg5.js → VendorsRoutes-BBEDIzoc.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-FPY3GtJ6.js → VerifyDevice-D1vsUSdJ-BJqUkCDT.js} +5 -5
  240. package/dist/assets/{VideoPlayer-53OvOC7l-B8n3tQt2.js → VideoPlayer-TlEy-oD0-gkMXG7RM.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-DZjd9t4t.js → VideoPopup-3DD646kG-BZkPXier.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-BrKM2fxE.js → WiseConfirmationScreen-DqyRLv9N.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-DgQWWE4Z.js → ZeniAccountDetailPage-BbsXzuHD-Bd6UhBNb.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-vuCxLVfZ.js → ZeniAccountListViewPage-lmuVUpKS-DnaPAR_9.js} +21 -21
  245. package/dist/assets/ZeniAccountNavBarPieces-CQhwBKXD-C5pPBUjJ.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-cXlTTduj.js → ZeniAccountPromoPage-CXEb9tRE-D3KRNdIi.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CVVAUaPO.js → ZeniAccountRoutes-DmdwgYJg.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-BRlOELTo.js → ZeniAccountSetupPage-DPhYQu6u-C7pVffOX.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-ScoHvAyQ.js → ZeniAccountStatementScreen-wf3nq6fE.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-MRoTqMzS.js → ZeniAvatar-CCOD249Z-CjjovQwc.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-BjVfX9jS.js → ZeniCopyright-pvaggW6x-D1Otd6KX.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-BS6c2-W_.js → ZeniDatePicker-EhzRlpFY-EOxDZOmQ.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-4kutNI0C.js → ZeniTransferAmountSlider-Dlyom9dD-GrZZTmIS.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BsfTzM_T.js → accountMappingHelper-CVdhvGPq.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-Dy45DaiH.js → add-to-wallet-DgdBD8_G-CaGBANmB.js} +1 -1
  256. package/dist/assets/{analytics-BX2zKevq.js → analytics-B1todtP5.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qtejXlXH-BejVWTJz.js → analyticsHelper-AeOsAjMK-DaU6AkkF.js} +1 -1
  258. package/dist/assets/{analyticsHelper-8YQEEKMi.js → analyticsHelper-BbSyGowe.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-XZ3zlctQ.js → arrow-south-east-round-PEovUgvH-BEbw-5Yd.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-DR96fUbR.js → auto-transfer-rule-mbafm5D3-DnNkWE4v.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-DRSZhV3E.js → avatar-Dz7aEm3d-DMNCAMEH.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-rbOCdeK7.js → bank-letter-BOcVjN6J-BPuaG37P.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-Cy_LgZ5r.js → calculateSize-D-LzlJzs-DFGwuhs_.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-BHjz48UJ.js → chartTypes-BLsP7rGF-vQGIz6hv.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-DZUKQUzx.js → clock-CJkylEKt-FEGV41kB.js} +1 -1
  266. package/dist/assets/common-CAmBErdt-Df8rw7Lg.js +1 -0
  267. package/dist/assets/{commonDimensions-CzWWgDTA-Dv5cpYCb.js → commonDimensions-DIm7kTtR-D3Xn6J24.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-0hjd__4v.js → commonTypes-B3mnx2x_-CroghFI-.js} +1 -1
  269. package/dist/assets/{core-CRK-q5k6.js → core-DzJgWcSP.js} +1 -1
  270. package/dist/assets/{dash.all.min-DkWnBsIH.js → dash.all.min-m6zq1IwU.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-Br2RkwXR.js → decodeURIComponentSafe-KkOdhBBM.js} +1 -1
  272. package/dist/assets/{dnd-CgFlpM7S.js → dnd-CHoU1kzM.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CdMT-oeR.js → dollar-round-D18u7nlm-CbvimQvt.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-C4uN458-.js → downloadPdf-B5WrL0K1-tr71U0aD.js} +1 -1
  275. package/dist/assets/{empty-DI8oDJKz.js → empty-CPN39ukT.js} +1 -1
  276. package/dist/assets/{empty-Qlk-PeUi.js → empty-DeLuycYG.js} +1 -1
  277. package/dist/assets/{epic-B1grlEUb.js → epic-C4j1vZle.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-Dx-p_nKS.js → filter-cZIFUNvj-DPs6iKkq.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-CYoIDNTT.js → getLocaleForTenant-Wt99tKjn.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-6lCOhzA2.js → gift-box-Cmt9OgIZ-fewdE2Of.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B1HqTfGk.js → graphic-no-data-l-DU4J8fDt-8kufdn6n.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XwIBzG5l.js → graphic-no-data-net-burn-l-CzmycA0m-CYa2bwlw.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DimJJW29.js → handshake-BPg58FML-DDrW3vFD.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-B_cdFqPQ.js → helper-BVESv00--DJZ1TZmV.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-CACRdS-l.js → hyperlink-DQyCeXx2-DmgckPpf.js} +1 -1
  286. package/dist/assets/{index-D8yPC9GA.js → index-B4Iram2Y.js} +1 -1
  287. package/dist/assets/{index-D57b0ZIG.js → index-CpL7aMNT.js} +458 -458
  288. package/dist/assets/{index-Cghn_Im8.js → index-DMvVAF9y.js} +1 -1
  289. package/dist/assets/{index-Dz5LYLj6.js → index-Da5QqNEd.js} +1 -1
  290. package/dist/assets/{index-Dc6LyeRJ.js → index-Df7CIWGo.js} +1 -1
  291. package/dist/assets/{index-C3bEDUWe.js → index-DvyqBD9K.js} +1 -1
  292. package/dist/assets/{lexical-BMu8Xd93.js → lexical-IHnBM1y6.js} +1 -1
  293. package/dist/assets/{liveblocks-L3GY4hN_.js → liveblocks-DFEps-VX.js} +1 -1
  294. package/dist/assets/{lottie-NpRVnd_t.js → lottie-BKwTCLtN.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-eq40ooKW.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-BrmfiJTm.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CPxDFwgO.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-gWkFUMYW.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-OjRUPUv4.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-DlGJLONZ.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BhCoVmMQ.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-B31h2g5c.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-DfhY90Zy.js} +1 -1
  301. package/dist/assets/{media-player-DIQJ-Dun.js → media-player-DTE-47lc.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DLoKZhIi.js → money-2cg1MuG4-CS00Zw1N.js} +1 -1
  303. package/dist/assets/{mui-CQrPxNXb.js → mui-Bkh9mHku.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BXmqV-8q.js → page-detail-CWX5S47F-DIsY0RGw.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-yb1lXduc.js → page-summary-D7_VQHwN-CPkNBTme.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-gMIlsmGi.js → panelSelectedMixin-Cddsb26L-DrgKnSgE.js} +1 -1
  307. package/dist/assets/{pathToGoBack-qafDCrK2.js → pathToGoBack-CVP2PAJB.js} +1 -1
  308. package/dist/assets/{pdf-CPt_J5sA.js → pdf-B2Mjqvbt.js} +3 -3
  309. package/dist/assets/{pdf-lib-QnEuDtVn.js → pdf-lib-D3H8wuz5.js} +1 -1
  310. package/dist/assets/{plaid-Dz-bwqi6.js → plaid-DK5T1xk0.js} +1 -1
  311. package/dist/assets/{pusher-GX3zigf-.js → pusher-XA-QAM4y.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-BdmcXfaL.js → radio-default-CiSgisfh-DyUowwkD.js} +1 -1
  313. package/dist/assets/{react-DrHnHV0M.js → react-BHm_BED9.js} +1 -1
  314. package/dist/assets/{react-BkCQv5vP.js → react-BeMd7khY.js} +1 -1
  315. package/dist/assets/{react-CNiez0tx.js → react-CE5hFMxZ.js} +3 -3
  316. package/dist/assets/{react-D9THCnPV.js → react-Cj_Jwgdx.js} +1 -1
  317. package/dist/assets/{react-7IgUsF0e.js → react-D2KU5dAD.js} +1 -1
  318. package/dist/assets/{react-J_JRr1Ub.js → react-DTIyYN_7.js} +1 -1
  319. package/dist/assets/{react-C66SfqMw.js → react-cE9bfIgF.js} +1 -1
  320. package/dist/assets/{react-BMEXzrEi.js → react-oG0R2hr9.js} +1 -1
  321. package/dist/assets/{recharts-CuxDYXli.js → recharts-Cex23pUy.js} +1 -1
  322. package/dist/assets/{routePaths-BPx5L1hv.js → routePaths-BW7eum2v.js} +1 -1
  323. package/dist/assets/{sentry-D8J10Xru.js → sentry-Cw2y1cds.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-DWYvIa1C.js → shield-DOlUxcFf-BymyXTB6.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-Due4I925.js → spend-limit-D6SyboD4-CciA3XkG.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-BWMF0py6-Cfce2Nwc.js +1 -0
  327. package/dist/assets/{toChartData-CWgd8E5c-DmnOTU-I.js → toChartData-BkubFDq8-BcIfwb51.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-D-Bv3g86.js → transaction-placeholder-CpOwZAMG-BdKC2D6J.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Bnj6vWIW.js → undo-b_3XZ5CX-CAaI7tMV.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-u0K-tQmu.js → unlock-BPWn2I5L-CsX6-f2z.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BRrYSmi8.js → upload-reimbursement-receipt-O2N8vcO7-DiOxDVP5.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-lQriSWqX.js → uploadAttachment-CzgakLtr-BXMV7Ssr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-CvjBscau.js → uploadReceipts-CIgkuVpu-DzT3q5XH.js} +1 -1
  334. package/dist/assets/{url-BBCYKnGe.js → url-B--KBVQO.js} +1 -1
  335. package/dist/assets/{url-vH8VntTf.js → url-Cb1SMxJX.js} +1 -1
  336. package/dist/assets/{useDeviceId-CiSBUfG_.js → useDeviceId-Blv0FTZw.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-DM-agcRr.js → useInitialThreadRequest-C3TkjaAN.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BIGmXHF7.js → useLongPress-GCK2COYQ-C7S-Au32.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D7I-fmMU.js → usp-line-BBd1wKwW-DghPNW3_.js} +1 -1
  340. package/dist/assets/{utils-GhRHHdOC.js → utils-DqUQm2Md.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BY7As9fq.js → withTransactionSidePanel-VAEC0Epo.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-BpS-Wh5Q.js → zeni-epic-state-C-J3ARpk.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-Ae5IXOu0.js → zeni-icon-only-Vz4_IoFJ.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-CrEEthms-yN3GwJSx.js +0 -18
  347. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-Cg9PD1au.js +0 -27
  348. package/dist/assets/ChargeCardPromoPage-6JwKgWli-Bq9Woc_8.js +0 -222
  349. package/dist/assets/CustomerOnboardingAuthScreen-DtbgUnG6.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-Do3oBaOG.js +0 -1
  351. package/dist/assets/EntityDetailPage-CvLzsrUE-CmFRC1Gy.js +0 -18
  352. package/dist/assets/InsightsSection-D9PJ55E6-CiDuAe2j.js +0 -27
  353. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BTnN4ina.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-NiCTPCej.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-CTNIFHe0.js +0 -1
  356. package/dist/assets/MailingDetailsSection-DiZwQ9QV-DZ8ow1Kr.js +0 -21
  357. package/dist/assets/SummaryCard-DgIPSt4y-C1zi99VN.js +0 -1
  358. package/dist/assets/TransactionListPage-D_dgwnFp-BQysIFBi.js +0 -35
  359. package/dist/assets/TreasuryStatementsPage-DOzJzfTG-DtwCwdE7.js +0 -58
  360. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-DvqhzUaK.js +0 -1
  361. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-BsqcaQeD.js +0 -1
  362. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-DSEtroCd.js +0 -1
  363. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-yElArATR.js +0 -33
  364. package/dist/assets/common-BxjzMhDO-S5r9siR9.js +0 -1
  365. package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh--mm1uc9R.js +0 -1
  366. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-Dg1nMMYC.js +0 -1
  367. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-BGzm5TyC.js +0 -1
  368. package/dist/assets/toCOABalancesWithID-B70YK7cw-CwZZ7JH8.js +0 -1
@@ -1,21 +1,21 @@
1
- import{e as E,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as K,x as s,eq as Q,ar as X,o as G,m as t}from"./index-D57b0ZIG.js";import{a as h}from"./sentry-D8J10Xru.js";import{n as d}from"./mui-CQrPxNXb.js";import{W as J,A as Y}from"./BankAccountWarningSection-Dhmxhwx--CUBNVb6Q.js";import{M as Z}from"./MagicLinkTitleSection-CtsQ_c44-h10gi8NN.js";import{e as ee}from"./BankAccountSection-4vXBKCFA-KaAYLI0p.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]="ed7d783b-9f07-40fd-8057-ee1cb2acdda7",e._sentryDebugIdIdentifier="sentry-dbid-ed7d783b-9f07-40fd-8057-ee1cb2acdda7")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:f,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:l,companyName:z,currencySymbol:M,amount:$,bankAccountContext:I})=>{const r=E(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[L,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,P=A.getLocalizedStrings().common.footer,{achDetails:k,bankAccountCommon:g}=c,R={onOkClick:()=>{u(!1),i.reset(),f?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(W,w)=>{const p=w[m].bankRoutingNumber;D(w),W===`${m}.bankRoutingNumber`&&p?.length===9&&Q.test(p)===!0&&j?.(p)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[L===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(J,{header:l?n.jsx(Z,{companyName:z??"",currencySymbol:M??"",amount:$??0}):k.addACHDetails,isMagicLink:l,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Y,{warningText:g.accountExistWarning}):null,I==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(K,{formId:B(S),primaryBtn:{label:l?g.submitDetails:g.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!l,cancelBtn:{label:P.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),f?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=d.div`
1
+ import{e as W,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as G,x as s,eq as J,ar as K,o as Q,m as t}from"./index-CpL7aMNT.js";import{a as h}from"./sentry-Cw2y1cds.js";import{n as l}from"./mui-Bkh9mHku.js";import{W as X,A as Y}from"./BankAccountWarningSection-D7OuLiLz-46LAz_wy.js";import{M as Z}from"./MagicLinkTitleSection-DLdaV8WG-C3bsdoSE.js";import{e as ee}from"./BankAccountSection-DnBVOkJC-CZ4VvDPT.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]="c4b35663-7812-46d7-a2a1-a9f998a430d9",e._sentryDebugIdIdentifier="sentry-dbid-c4b35663-7812-46d7-a2a1-a9f998a430d9")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:g,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:d,companyName:P,currencySymbol:L,amount:M,bankAccountContext:$})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[z,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=A.getLocalizedStrings().common.footer,{achDetails:k,bankAccountCommon:p}=c,R={onOkClick:()=>{u(!1),i.reset(),g?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(E,w)=>{const f=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&f?.length===9&&J.test(f)===!0&&j?.(f)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(X,{header:d?n.jsx(Z,{companyName:P??"",currencySymbol:L??"",amount:M??0}):k.addACHDetails,isMagicLink:d,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Y,{warningText:p.accountExistWarning}):null,$==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(G,{formId:B(S),primaryBtn:{label:d?p.submitDetails:p.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!d,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),g?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=l.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)};
5
5
  padding-bottom: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
6
- `,ae=d.div`
6
+ `,ae=l.div`
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  width: 100%;
10
10
  height: 100%;
11
- `,ie=d.div`
11
+ `,ie=l.div`
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  flex-grow: 1;
15
- `,oe=d(X)`
15
+ `,oe=l(K)`
16
16
  color: ${e=>e.theme.colors.champion};
17
17
  margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
18
18
  margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
19
- `,se=d.div`
20
- margin-top: ${G.sp5};
19
+ `,se=l.div`
20
+ margin-top: ${Q.sp5};
21
21
  `;export{be as f};
@@ -1,4 +1,4 @@
1
- import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bo as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-D57b0ZIG.js";import{a as e}from"./sentry-D8J10Xru.js";import{n as o,c as D1,k as H1}from"./mui-CQrPxNXb.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-BpS-Wh5Q.js";import{R as P1}from"./NavBarWithPicker-jqJCHGvR-JHYu4cvw.js";import{t as V1}from"./clock-CJkylEKt-DZUKQUzx.js";import{o as T1}from"./dollar-round-D18u7nlm-CdMT-oeR.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-CuxDYXli.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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]="14fcdf9d-666d-4554-a633-0c62f364e574",t._sentryDebugIdIdentifier="sentry-dbid-14fcdf9d-666d-4554-a633-0c62f364e574")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.div`
1
+ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bo as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-CpL7aMNT.js";import{a as e}from"./sentry-Cw2y1cds.js";import{n as o,c as D1,k as H1}from"./mui-Bkh9mHku.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-C-J3ARpk.js";import{R as P1}from"./NavBarWithPicker-Dr5XHgP5-Baq2EBjR.js";import{t as V1}from"./clock-CJkylEKt-FEGV41kB.js";import{o as T1}from"./dollar-round-D18u7nlm-CbvimQvt.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-Cex23pUy.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="ee870e24-f40e-47d9-9704-382ed9d39c8a",t._sentryDebugIdIdentifier="sentry-dbid-ee870e24-f40e-47d9-9704-382ed9d39c8a")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.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{y as h,e as x,V as t,gd as y,o as r,x as s,h0 as b,m as i}from"./index-CpL7aMNT.js";import{a as D}from"./sentry-Cw2y1cds.js";import{n as o}from"./mui-Bkh9mHku.js";import{K as P}from"./StatusSwitcher-BI-dgnrK-RmmgjxXK.js";import{r as $}from"./AccountInfoPageContent-j85psx_A-HR0H-eLP.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./downloadPdf-B5WrL0K1-tr71U0aD.js";import"./commonDimensions-DIm7kTtR-D3Xn6J24.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]="e3e39c65-a4e9-4666-a2ab-187cc3522537",e._sentryDebugIdIdentifier="sentry-dbid-e3e39c65-a4e9-4666-a2ab-187cc3522537")}catch{}})();const d={pageTitleMarginXAxis:new s(i[4],i[8]),containerPaddingLeft:new s(i[3],i[6],i[8]),containerPaddingRight:new s(i[3],i[6],i[8])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:g,currentTenant:p,onDismissClick:m})=>{const u=h(),c=x(),[l,f]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(y,{title:"",backgroundColor:u.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:m}),t.jsx(j,{windowSize:c,children:a.accountName}),t.jsx(z,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:l,entity:"zeni_accounts",onTabSelectedChange:w=>{f(w)},isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:c,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:l,zeniAccountsConfigDetail:g,currentTenant:p,depositAccount:a})})]})},A=o.div`
2
+ padding-left: ${e=>`${d.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${d.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
+ `,j=o(b)`
12
+ color: ${e=>e.theme.colors.primary};
13
+ padding: ${r.sp3} ${r.sp0};
14
+ margin: ${e=>`${r.sp0} ${d.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
+ `,z=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{G as default};
@@ -1,4 +1,4 @@
1
- import{e as ke,gm as Ne,h1 as K,V as r,bo as L,L as we,b as z,o,ar as je,O as Ae,by as Se,f as R,C as re,aA as Te,gq as ve,l as oe}from"./index-D57b0ZIG.js";import{a as n}from"./sentry-D8J10Xru.js";import{n as t}from"./mui-CQrPxNXb.js";import{w as De}from"./downloadPdf-BFFM3Hea-C4uN458-.js";import{o as Ce}from"./commonDimensions-CzWWgDTA-Dv5cpYCb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="6ae95b47-b663-4b40-8abe-c07749791147",e._sentryDebugIdIdentifier="sentry-dbid-6ae95b47-b663-4b40-8abe-c07749791147")}catch{}})();const{common:{strings:Le,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:a}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:$,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const ae=ke(),[,M]=Ne(),[N,te]=n.useState(!1),[ne,se]=n.useState(!1),[ie,ce]=n.useState(!1),[de,le]=n.useState(!1),[be,ue]=n.useState(!1),[pe,me]=n.useState(!1),[he,ye]=n.useState(!1),[xe,$e]=n.useState(!1),[h,P]=n.useState(!1),[w,q]=n.useState(!1),[j,O]=n.useState(!1),[A,B]=n.useState(!1),[S,G]=n.useState(!1),[T,H]=n.useState(!1),[v,J]=n.useState(!1),[f,U]=n.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,p=K(u.zeniAccountsConfigDetail.bankAddress).text2;n.useEffect(()=>{(h||T||v||f||S||f||j||w||A)&&setTimeout(()=>{P(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,f,S,A,j,w]);const V=(y,i)=>{switch(y){case"accountType":se(i);break;case"acccountNumber":ce(i);break;case"routingNumber":le(i);break;case"bankName":ue(i);break;case"beneficiaryName":ye(i);break;case"beneficiaryAddress":me(i);break;case"bankAddress":$e(i)}},c=(y,i,x,F)=>{let l,d;switch(x){case"acccountNumber":l=ie,d=v;break;case"accountType":l=ne,d=T;break;case"bankName":l=be,d=S;break;case"beneficiaryName":l=he,d=w;break;case"beneficiaryAddress":l=pe,d=A;break;case"bankAddress":l=xe,d=j;break;default:l=de,d=f}return r.jsxs(Pe,{onMouseEnter:()=>V(x,!0),onMouseLeave:()=>V(x,!1),children:[r.jsx(qe,{children:y}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(Oe,{children:[l||ae==="small"?r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:d,children:d?g.copied:g.copy}),enterDelay:600,children:d===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{M(i),(()=>{switch(x){case"accountType":H(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":U(!0);break;case"bankName":G(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":O(!0)}})()}})})}):null,i]}),F!=null?r.jsx(He,{children:F}):null]})})]})},fe={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${$}?query=${encodeURIComponent(JSON.stringify(fe))}`;return r.jsx(ze,{children:r.jsxs(_e,{children:[r.jsxs(Ie,{children:[r.jsx(Ee,{children:m==="achDetails"?Q.achTitle:Q.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?W.downloading:W.download}),enterDelay:600,children:N===!0?r.jsx(we,{size:"Small",start:!0}):r.jsx(Me,{"data-testid":z("account-info-download-pdf"),onClick:()=>{De(ge,Le.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>(y=>{let i;i=y==="achDetails"?`${a.bankRoutingNumber} ${s.routingNumberAch}
1
+ import{e as ke,gm as Ne,h1 as K,V as r,bo as z,L as we,b as L,o,ar as je,O as Ae,by as Se,f as R,C as re,aA as Te,gq as ve,l as oe}from"./index-CpL7aMNT.js";import{a as n}from"./sentry-Cw2y1cds.js";import{n as t}from"./mui-Bkh9mHku.js";import{w as De}from"./downloadPdf-B5WrL0K1-tr71U0aD.js";import{o as Ce}from"./commonDimensions-DIm7kTtR-D3Xn6J24.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="91bda2fe-14db-4d9f-8ac2-65f763317f02",e._sentryDebugIdIdentifier="sentry-dbid-91bda2fe-14db-4d9f-8ac2-65f763317f02")}catch{}})();const{common:{strings:ze,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:a}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:f,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const ae=ke(),[,M]=Ne(),[N,te]=n.useState(!1),[ne,se]=n.useState(!1),[ie,ce]=n.useState(!1),[de,le]=n.useState(!1),[be,ue]=n.useState(!1),[pe,me]=n.useState(!1),[he,ye]=n.useState(!1),[xe,fe]=n.useState(!1),[h,P]=n.useState(!1),[w,q]=n.useState(!1),[j,O]=n.useState(!1),[A,B]=n.useState(!1),[S,G]=n.useState(!1),[T,H]=n.useState(!1),[v,J]=n.useState(!1),[$,U]=n.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,p=K(u.zeniAccountsConfigDetail.bankAddress).text2;n.useEffect(()=>{(h||T||v||$||S||$||j||w||A)&&setTimeout(()=>{P(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,$,S,A,j,w]);const V=(y,i)=>{switch(y){case"accountType":se(i);break;case"acccountNumber":ce(i);break;case"routingNumber":le(i);break;case"bankName":ue(i);break;case"beneficiaryName":ye(i);break;case"beneficiaryAddress":me(i);break;case"bankAddress":fe(i)}},c=(y,i,x,F)=>{let l,d;switch(x){case"acccountNumber":l=ie,d=v;break;case"accountType":l=ne,d=T;break;case"bankName":l=be,d=S;break;case"beneficiaryName":l=he,d=w;break;case"beneficiaryAddress":l=pe,d=A;break;case"bankAddress":l=xe,d=j;break;default:l=de,d=$}return r.jsxs(Pe,{onMouseEnter:()=>V(x,!0),onMouseLeave:()=>V(x,!1),children:[r.jsx(qe,{children:y}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(Oe,{children:[l||ae==="small"?r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:d,children:d?g.copied:g.copy}),enterDelay:600,children:d===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":L("account-info-copy",x),onClick:()=>{M(i),(()=>{switch(x){case"accountType":H(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":U(!0);break;case"bankName":G(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":O(!0)}})()}})})}):null,i]}),F!=null?r.jsx(He,{children:F}):null]})})]})},$e={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${f}?query=${encodeURIComponent(JSON.stringify($e))}`;return r.jsx(Le,{children:r.jsxs(_e,{children:[r.jsxs(Ie,{children:[r.jsx(Ee,{children:m==="achDetails"?Q.achTitle:Q.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?W.downloading:W.download}),enterDelay:600,children:N===!0?r.jsx(we,{size:"Small",start:!0}):r.jsx(Me,{"data-testid":L("account-info-download-pdf"),onClick:()=>{De(ge,ze.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(z,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>(y=>{let i;i=y==="achDetails"?`${a.bankRoutingNumber} ${s.routingNumberAch}
2
2
 
3
3
  ${a.accountTypeLabel} ${s.accountSubType.name??""}
4
4
 
@@ -18,7 +18,7 @@ ${a.beneficiaryName} ${D}
18
18
 
19
19
  ${a.bankAddress} ${p}
20
20
 
21
- ${a.beneficiaryAddress} ${C}`,M(i),P(!0)})(m),"data-testid":z("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(Je,{children:[r.jsx(X,{children:c(a.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(a.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(a.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(a.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Y,{children:c(a.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Ue,{children:[r.jsx(X,{children:c(a.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(a.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(a.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(a.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:c(a.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:c(a.beneficiaryName,D,"beneficiaryName",a.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:c(a.beneficiaryAddress,C,"beneficiaryAddress",a.beneficiaryAddressSubLabel)}):null]}):null]})})},ze=t.div``,_e=t.div`
21
+ ${a.beneficiaryAddress} ${C}`,M(i),P(!0)})(m),"data-testid":L("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(Je,{children:[r.jsx(X,{children:c(a.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(a.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(a.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(a.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Y,{children:c(a.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Ue,{children:[r.jsx(X,{children:c(a.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(a.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(a.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(a.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:c(a.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:c(a.beneficiaryName,D,"beneficiaryName",a.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:c(a.beneficiaryAddress,C,"beneficiaryAddress",a.beneficiaryAddressSubLabel)}):null]}):null]})})},Le=t.div``,_e=t.div`
22
22
  margin: ${o.sp4};
23
23
  margin-left: ${o.sp0};
24
24
  `,Ie=t.div`
@@ -1,4 +1,4 @@
1
- import{y as g,O as l,V as t,l as x,au as c,a as y,o,f as m,D as j,bu as $,bn as b}from"./index-D57b0ZIG.js";import{n as r}from"./mui-CQrPxNXb.js";import{t as w}from"./handshake-BPg58FML-DimJJW29.js";import{o as k,r as v}from"./unlock-BPWn2I5L-u0K-tQmu.js";import"./sentry-D8J10Xru.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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]="6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4",e._sentryDebugIdIdentifier="sentry-dbid-6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4")}catch{}})();const p="support@zeni.ai",s=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(I,{})}),t.jsxs(c,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(A,{})}),t.jsxs(c,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(y,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
1
+ import{y as g,O as l,V as t,l as x,au as c,a as y,o,f as m,D as j,bu as $,bn as b}from"./index-CpL7aMNT.js";import{n as r}from"./mui-Bkh9mHku.js";import{t as w}from"./handshake-BPg58FML-DDrW3vFD.js";import{o as k,r as v}from"./unlock-BPWn2I5L-CsX6-f2z.js";import"./sentry-Cw2y1cds.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4",e._sentryDebugIdIdentifier="sentry-dbid-6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4")}catch{}})();const p="support@zeni.ai",s=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(I,{})}),t.jsxs(c,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(A,{})}),t.jsxs(c,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(y,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as be,E as ke,dc as $e,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-D57b0ZIG.js";import{a as s}from"./sentry-D8J10Xru.js";import{n as o}from"./mui-CQrPxNXb.js";import{u as Te}from"./plaid-Dz-bwqi6.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-BpS-Wh5Q.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-C-Iunc36-72sE71ts.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./utils-GhRHHdOC.js";import"./clock-CJkylEKt-DZUKQUzx.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]="c6d052fb-b51a-4996-afbc-5d18df292bf0",e._sentryDebugIdIdentifier="sentry-dbid-c6d052fb-b51a-4996-afbc-5d18df292bf0")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=o.div`
1
+ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-CpL7aMNT.js";import{a as s}from"./sentry-Cw2y1cds.js";import{n as o}from"./mui-Bkh9mHku.js";import{u as Te}from"./plaid-DK5T1xk0.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-C-J3ARpk.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-DEtntSrL-DccMoOXH.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./utils-DqUQm2Md.js";import"./clock-CJkylEKt-FEGV41kB.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]="d8f4c922-4366-4378-953a-dce0617b9937",e._sentryDebugIdIdentifier="sentry-dbid-d8f4c922-4366-4378-953a-dce0617b9937")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -19,7 +19,7 @@ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,
19
19
  z-index: 2;
20
20
  top: ${c.sp0};
21
21
  width: 100%;
22
- `,We=o(be)`
22
+ `,We=o(ke)`
23
23
  cursor: pointer;
24
24
  color: ${e=>e.theme.colors.hero};
25
25
  width: ${c.sp4};
@@ -236,4 +236,4 @@ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,
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:Z,expenseAutomation:{accountRecon:i}}=ve.getLocalizedStrings(),bt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:b,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),k=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),$=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:$,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=Te({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:b})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:k,children:t.jsx(kt,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const kt=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:b,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:I,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[k,h]=s.useState(!1),f=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,$=[];n.accountReconEntity.account.accountType==="bank"&&$.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),$.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=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||k?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),s.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 y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(g,{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($e,{moreIconType:"custom",customIcon:t.jsx($t,{selectedSourceType:w}),options:$,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(De(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),w==="bank_statement"?t.jsx(v,{children:t.jsx(we,{name:bt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Ie,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{I(r,j)}})}):null,t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:w!=="bank_statement"?t.jsx(wt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:b}):t.jsx(vt,{uploadInProgress:k,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(X,{isLoading:k,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},$t=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),wt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),vt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:b}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:b,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,bt as uniqueName};
239
+ `,{common:p,dateFormat:Z,expenseAutomation:{accountRecon:i}}=ve.getLocalizedStrings(),kt=(e,n)=>`${e}.${n}`,se="accountReconDrawerDetailsSection";function Vt({accountReconciliation:e,plaidConnectionDetails:n,monthYearPeriod:l,openFilePicker:u,filesEndPoint:x,authParams:S,onDismissClick:k,onFetchLinkTokenClick:E,onEstablishConnectionClick:C,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U}){const m=xe({mode:"all",reValidateMode:"onChange",defaultValues:J(e),resetOptions:{keepDirtyValues:!0,keepErrors:!0},values:J(e)}),$=m.handleSubmit(()=>{}),[h,f]=s.useState(void 0),b=n.link_account_no_microdeposit,w=n.update_account,a=h==="update_account"?w:b,[y,r]=s.useState(a.linkToken??null),[j,M]=s.useState(!1),[z,O]=s.useState(!1),[Y,A]=s.useState(void 0),[re,H]=s.useState(void 0),le=s.useCallback(()=>{f("link_account_no_microdeposit")},[]),de=s.useCallback(()=>{f("update_account"),E("update_account",e.paymentAccountId)},[e.paymentAccountId]),ue={onOkClick:()=>{Y!=null&&(R(Y),A(void 0)),H(void 0),O(!1)},onCancelClick:()=>{A(void 0),O(!1)}},V=s.useRef(h);s.useEffect(()=>{V.current=h},[h]);const pe=s.useCallback(P=>{C(P,e.accountReconEntity.account.accountId,V.current),f(void 0),M(!1)},[C,e.accountReconEntity.account.accountId]),he=s.useCallback((P,me)=>{P!=null&&console.log("Plaid Connection Error",P,me),f(void 0),M(!1)},[]),{open:W,ready:q}=Te({token:y,onSuccess:pe,onExit:he});return s.useEffect(()=>{(oe(new Date().toISOString()).isAfter(a.expiration)||a.linkToken==null)&&a.fetchStatus.fetchState==="Not-Started"&&E("link_account_no_microdeposit")},[a.fetchStatus.fetchState]),s.useEffect(()=>{!j&&h!=null&&a.linkToken===y&&a.fetchStatus.fetchState==="Completed"&&q&&M(!0)},[q,y,a.fetchStatus.fetchState,a.linkToken,h,j]),s.useEffect(()=>{a.fetchStatus.fetchState==="Completed"&&a.linkToken!=null&&a.linkToken!==y&&r(a.linkToken)},[a.fetchStatus.fetchState,a.linkToken,y]),s.useEffect(()=>{j&&W()},[j,W]),t.jsxs(ze,{children:[t.jsx(Ve,{children:t.jsx(Ge,{children:t.jsxs(Ze,{children:[t.jsx(He,{}),t.jsxs(Je,{children:[t.jsx(Ke,{children:e.accountReconEntity.account.accountName}),t.jsx(ce,{children:t.jsx(Rt,{monthYearPeriod:l})})]}),t.jsx(Qe,{children:t.jsx(We,{onClick:k})})]})})}),t.jsxs(qe,{children:[t.jsx(fe,{...m,children:t.jsx("form",{style:{width:"100%"},id:"accountReconDrawerDetailsPage",onSubmit:$,children:t.jsx($t,{monthYearPeriod:l,accountReconciliation:e,filesEndPoint:x,openFilePicker:u,authParams:S,onConnectClick:le,onReconnectClick:de,onSelectSourceType:I,onDeleteFile:R,onEditFileName:_,onStatementUploadSuccess:F,onUploadWindowOpenedOnce:U,showConfirmationPopup:z,setShowConfirmationPopup:O,deleteFileId:Y,setDeleteFileId:A,uploadErrorMessage:re,setUploadErrorMessage:H})})}),z===!0||e.statementDeleteStatus.fetchState==="In-Progress"?t.jsx(ye,{titleComponent:t.jsx(je,{children:i.reconciliation.drawer.deleteConfirmation.heading}),descriptionComponent:t.jsx(ge,{children:i.reconciliation.drawer.deleteConfirmation.description}),isLoading:e.statementDeleteStatus.fetchState==="In-Progress",primaryButtonText:p.confirm,secondaryButtonText:p.cancel,action:ue}):null]})]})}const $t=({monthYearPeriod:e,accountReconciliation:n,filesEndPoint:l,authParams:u,openFilePicker:x,onConnectClick:S,onReconnectClick:k,setDeleteFileId:E,setShowConfirmationPopup:C,onEditFileName:I,onSelectSourceType:R,onStatementUploadSuccess:_,onUploadWindowOpenedOnce:F,uploadErrorMessage:U,setUploadErrorMessage:m})=>{const[$,h]=s.useState(!1),f=(n.localData?.accountSource??"plaid")==="plaid"?n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt:n.accountReconEntity.reconUpdatedAt,b=[];n.accountReconEntity.account.accountType==="bank"&&b.push({label:i.reconciliation.menu.bankConnection,value:"plaid"}),b.push({label:i.reconciliation.menu.statement,value:"bank_statement"});const w=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||$?"bank_statement":void 0;n.accountReconEntity.account.accountType==="credit_card"&&(a="bank_statement"),s.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 y=n.accountReconEntity.reconciliationStatus!=null&&["reconciled","in_progress","reconciled_via_qbo"].includes(n.accountReconEntity.reconciliationStatus.code);return t.jsxs(Xe,{children:[t.jsxs(et,{children:[t.jsxs(tt,{children:[t.jsx(B,{children:i.reconciliation.headers.bankBalance}),t.jsx(nt,{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(ot,{children:[t.jsx(B,{children:i.reconciliation.headers.clearedBalance}),t.jsx(ct,{children:t.jsx(Ue,{clearedBalance:n.accountReconEntity.clearedBalance,isLoading:!1})})]}),t.jsxs(at,{children:[t.jsx(B,{children:i.reconciliation.headers.variance}),t.jsx(st,{children:t.jsx(Et,{variance:n.accountReconEntity.variance,variancePercentage:n.accountReconEntity.variancePercentage})})]})]}),t.jsxs(ht,{children:[t.jsxs(mt,{children:[" ",i.reconciliation.drawer.source," "]}),t.jsxs(xt,{children:[t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.type}),t.jsx(D,{children:a!=null?t.jsx(g,{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($e,{controller:!0,children:t.jsx(be,{moreIconType:"custom",customIcon:t.jsx(bt,{selectedSourceType:w}),options:b,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:c.sp5,width:"180px"})},menuPlacement:"bottom",onOptionSelection:r=>{R(De(r))},valueToIcon:r=>r==="plaid"?t.jsx(yt,{}):r==="bank_statement"?t.jsx(gt,{}):null})})})]}),w==="bank_statement"?t.jsx(v,{children:t.jsx(we,{name:kt(se,"file"),file:n.accountReconEntity.statementMetaData?.file,showPhotoPicker:!1,isDisabled:y,sizeLimit:1e7,onFileSizeError:r=>{r&&m(p.fileElementPicker.sizeLimit)},deleteFileStatusById:{},updateFileStatusById:{},filesEndPoint:l,authParams:u,acceptableTypes:["application/pdf"],placeholderText:i.reconciliation.drawer.downloadPlaceholder,autoOpenFilePicker:x,accountStatementUpload:{uploadHelper:Ie,metadataPayload:{accountId:n.accountReconEntity.account.accountId,accountType:n.accountReconEntity.account.accountType??"bank",monthYearPeriod:e},errorMessage:U,onUploadError:r=>{m(r?.message)},onUploadSuccess:r=>{_(r),h(!1)},onUploadStart:()=>{h(!0),m(void 0)},onUploadWindowOpenedOnce:()=>{F()}},onDeleteFile:r=>{E(r),C(!0)},onEditFileName:(r,j)=>{I(r,j)}})}):null,t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.status}),t.jsx(D,{children:w!=="bank_statement"?t.jsx(wt,{status:n.accountConnectionStatus,connectionInProgress:n.connectionInProgress,onConnectClick:S,onReconnectClick:k}):t.jsx(vt,{uploadInProgress:$,status:n.accountReconEntity.statementDataStatus?.code})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.accountType}),t.jsx(D,{children:t.jsx(Ct,{accountSubType:G(n.accountReconEntity.account.accountSubType??"")})})]}),t.jsxs(v,{children:[t.jsx(T,{children:i.reconciliation.drawer.labels.lastUpdated}),t.jsx(D,{children:t.jsx(X,{isLoading:$,customStyle:{height:"20px",width:"100px"},position:"left",children:f!=null?t.jsx(g,{children:G(f.utc(!0).fromNow())}):p.strings.hyphen})})]})]})]})]})},bt=({selectedSourceType:e})=>t.jsxs(dt,{children:[e==null||e==="plaid"?t.jsx(ie,{}):t.jsx(ae,{}),t.jsx(ut,{children:e==null||e==="plaid"?i.reconciliation.menu.bankConnection:i.reconciliation.menu.statement}),t.jsx(pt,{})]}),wt=({status:e,connectionInProgress:n,onConnectClick:l,onReconnectClick:u})=>n?t.jsx(L,{children:i.reconciliation.drawer.values.connecting}):e==="connected"?t.jsxs(L,{children:[t.jsx(ft,{}),t.jsx(jt,{children:i.reconciliation.drawer.values.connected})]}):t.jsx(L,{onClick:e==="reconnect"?u:l,children:t.jsx(St,{status:e,children:e==="reconnect"?i.reconciliation.drawer.values.reconnect:i.reconciliation.drawer.values.connect})}),vt=({status:e,uploadInProgress:n})=>n?t.jsx(X,{isLoading:n,customStyle:{height:"20px",width:"100px"},position:"left",children:t.jsx(t.Fragment,{})}):e==null?t.jsx(g,{children:p.strings.hyphen}):e==="parsing"?t.jsx(g,{children:i.reconciliation.drawer.values.statementParsing}):e==="validated"?t.jsx(g,{children:i.reconciliation.drawer.values.uploaded}):t.jsx(g,{children:p.strings.hyphen}),Et=({variance:e,variancePercentage:n,reconciliationStatusCode:l})=>{const u=Ee(),{varianceColor:x,variancePercentageColor:S,variancePercentageContainerColor:k}=Me(u,e,l,!0);return t.jsxs(it,{children:[t.jsx(rt,{textColor:x,children:Ce("0,0",e)??p.strings.hyphen}),t.jsxs(lt,{textColor:S,bgColor:k,children:[n!=null?n===0?"0":n.toFixed(2):null,n!=null?p.strings.percentage:null]})]})},Ct=({accountSubType:e})=>{const n=e!=null?e.replace("_"," "):p.strings.hyphen;return t.jsx(g,{children:n})},Rt=({monthYearPeriod:e})=>t.jsx(ce,{children:Pt(e)}),Pt=e=>{const{month:n,year:l}=e,u=oe(`${l}-${String(n).padStart(2,"0")}-01`);let x=u.endOf("month");return`${u.format(Z.visual.DMMMYYYYFormat)} ${p.strings.hyphen} ${x.format(Z.visual.DMMMYYYYFormat)}`},J=e=>({[se]:{file:e.accountReconEntity.statementMetaData?.file,selectedType:e.localData?.accountSource}});export{Vt as default,kt as uniqueName};
@@ -1,4 +1,4 @@
1
- import{V as e,a5 as I,bo as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bj as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-D57b0ZIG.js";import{a as gt}from"./sentry-D8J10Xru.js";import{n as a,c as mt}from"./mui-CQrPxNXb.js";import{t as ft}from"./clock-CJkylEKt-DZUKQUzx.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="c35eec52-ca91-4b60-ad49-7de148300a98",t._sentryDebugIdIdentifier="sentry-dbid-c35eec52-ca91-4b60-ad49-7de148300a98")}catch{}})();const jt=a.div`
1
+ import{V as e,a5 as I,bo as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bj as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-CpL7aMNT.js";import{a as gt}from"./sentry-Cw2y1cds.js";import{n as a,c as mt}from"./mui-Bkh9mHku.js";import{t as ft}from"./clock-CJkylEKt-FEGV41kB.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="c35eec52-ca91-4b60-ad49-7de148300a98",t._sentryDebugIdIdentifier="sentry-dbid-c35eec52-ca91-4b60-ad49-7de148300a98")}catch{}})();const jt=a.div`
2
2
  position: relative;
3
3
  ${t=>t.showTreeLine===!0&&t.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -1,4 +1,4 @@
1
- import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as se,a6 as Z,a3 as ie,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,z as me,ap as he,l as ue,au as ge}from"./index-D57b0ZIG.js";import{a as N,b as z}from"./sentry-D8J10Xru.js";import{c as xe}from"./SummaryCard-DgIPSt4y-C1zi99VN.js";import{n as r,k as U,c as V}from"./mui-CQrPxNXb.js";import{F5 as fe}from"./zeni-epic-state-BpS-Wh5Q.js";import{N as X}from"./NavigationArrow-DY_BhITD-Bl_-33Bd.js";import{x as ye}from"./NavigationDots-Kh5ODrCQ-DFRkvytB.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]="36815be3-14d1-4116-91c5-ed2551bb4897",e._sentryDebugIdIdentifier="sentry-dbid-36815be3-14d1-4116-91c5-ed2551bb4897")}catch{}})();const I=(e,n)=>U`
1
+ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as se,a6 as Z,a3 as ie,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,z as me,ap as he,l as ue,au as ge}from"./index-CpL7aMNT.js";import{a as N,b as z}from"./sentry-Cw2y1cds.js";import{c as xe}from"./SummaryCard-HW-1WXN9-BBwEPOlY.js";import{n as r,k as U,c as V}from"./mui-Bkh9mHku.js";import{F5 as fe}from"./zeni-epic-state-C-J3ARpk.js";import{N as X}from"./NavigationArrow-DT82hMh--_l1Xq3OC.js";import{x as ye}from"./NavigationDots-CwCZ9EAa-Uo4o2B8k.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]="0c5b6689-06dd-49ca-9ba3-8efd946132d6",e._sentryDebugIdIdentifier="sentry-dbid-0c5b6689-06dd-49ca-9ba3-8efd946132d6")}catch{}})();const I=(e,n)=>U`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${e==="right"?`-${n}%`:`${n}%`});
@@ -1,4 +1,4 @@
1
- import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-D57b0ZIG.js";import{a as C}from"./sentry-D8J10Xru.js";import{n as I}from"./mui-CQrPxNXb.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,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(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
1
+ import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-CpL7aMNT.js";import{a as C}from"./sentry-Cw2y1cds.js";import{n as I}from"./mui-Bkh9mHku.js";import"./pdf-B2Mjqvbt.js";import"./zeni-epic-state-C-J3ARpk.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,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(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
2
2
  display: flex;
3
3
  background-color: ${t=>t.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-D57b0ZIG.js";import{a as g}from"./sentry-D8J10Xru.js";import{n as o,c as A}from"./mui-CQrPxNXb.js";import{F4 as ye}from"./zeni-epic-state-BpS-Wh5Q.js";import{t as fe,n as je,i as ve,a as Se,l as Ce,r as ke,A as Te}from"./add-to-wallet-DgdBD8_G-Dy45DaiH.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
1
+ import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-CpL7aMNT.js";import{a as g}from"./sentry-Cw2y1cds.js";import{n as o,c as A}from"./mui-Bkh9mHku.js";import{F4 as ye}from"./zeni-epic-state-C-J3ARpk.js";import{t as fe,n as je,i as ve,a as Se,l as Ce,r as ke,A as Te}from"./add-to-wallet-DgdBD8_G-CaGBANmB.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.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]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -1 +1 @@
1
- import{j as e}from"./pdf-CPt_J5sA.js";import{A as s}from"./AddressScreen--daeKsww.js";import i from"./NotFoundScreen-Bbv8H3nZ.js";import"./sentry-D8J10Xru.js";import{R as a,m as r}from"./core-CRK-q5k6.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./index-D57b0ZIG.js";import"./mui-CQrPxNXb.js";import"./recharts-CuxDYXli.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
1
+ import{j as e}from"./pdf-B2Mjqvbt.js";import{A as s}from"./AddressScreen-D0jdlECR.js";import i from"./NotFoundScreen-Cg8eb9UX.js";import"./sentry-Cw2y1cds.js";import{R as a,m as r}from"./core-DzJgWcSP.js";import"./zeni-epic-state-C-J3ARpk.js";import"./index-CpL7aMNT.js";import"./mui-Bkh9mHku.js";import"./recharts-Cex23pUy.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
@@ -1,4 +1,4 @@
1
- import{j as d}from"./pdf-CPt_J5sA.js";import{a as b}from"./sentry-D8J10Xru.js";import{j as P,i as j,h as _,l as E,u as M,k as D}from"./core-CRK-q5k6.js";import{e as B,y as L,js as $,_ as H,jQ as K,bk as R,jz as C,J as m,jL as z,jD as h,jM as U}from"./index-D57b0ZIG.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-BpS-Wh5Q.js";import{n as J}from"./mui-CQrPxNXb.js";import Q from"./NotFoundScreen-Bbv8H3nZ.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]="1cf28a44-30b4-4cc4-b8d0-26532b4968e6",e._sentryDebugIdIdentifier="sentry-dbid-1cf28a44-30b4-4cc4-b8d0-26532b4968e6")}catch{}})();const W=J.div`
1
+ import{j as d}from"./pdf-B2Mjqvbt.js";import{a as b}from"./sentry-Cw2y1cds.js";import{j as P,i as j,h as _,l as E,u as M,k as D}from"./core-DzJgWcSP.js";import{e as B,y as L,js as $,_ as H,jQ as K,bk as R,jz as C,J as m,jL as z,jD as h,jM as U}from"./index-CpL7aMNT.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-C-J3ARpk.js";import{n as J}from"./mui-Bkh9mHku.js";import Q from"./NotFoundScreen-Cg8eb9UX.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]="1cf28a44-30b4-4cc4-b8d0-26532b4968e6",e._sentryDebugIdIdentifier="sentry-dbid-1cf28a44-30b4-4cc4-b8d0-26532b4968e6")}catch{}})();const W=J.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as S,o as $,ab as Be,m as c,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as de,S as ce,ad as ge}from"./index-D57b0ZIG.js";import{a as y}from"./sentry-D8J10Xru.js";import{n as x}from"./mui-CQrPxNXb.js";import{bs as W,Gm as ze}from"./zeni-epic-state-BpS-Wh5Q.js";import{m as Le}from"./BusyIndication-YMYY0Pff-D_KjfCvN.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-RNJ2ukKC-BS6c2-W_.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-CCc6eh55-CSeG-Uqv.js";import{C as pe}from"./NoDataChart-CuiKDcAB-CJ1icN_z.js";import{n as me,t as T}from"./CollapsableReportTable-C_bWRP7w-hzcwjYIg.js";import{d as he}from"./NoDataTable-BpH8puX--DfcxqWrJ.js";import{l as ue}from"./mapSpacerToTreeNode-Ci5bdH6P-Dg1nMMYC.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./chartTypes-BqRsL6eJ-BHjz48UJ.js";import"./AccountRow-C-Iunc36-72sE71ts.js";import"./clock-CJkylEKt-DZUKQUzx.js";import"./graphic-no-data-l-DU4J8fDt-B1HqTfGk.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]="df67bd66-af47-4ba4-b876-ab90391eb0da",e._sentryDebugIdIdentifier="sentry-dbid-df67bd66-af47-4ba4-b876-ab90391eb0da")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
1
+ import{y as V,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as C,o as $,ab as Be,m as d,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as ce,S as de,ad as ge}from"./index-CpL7aMNT.js";import{a as y}from"./sentry-Cw2y1cds.js";import{n as x}from"./mui-Bkh9mHku.js";import{bs as W,Gm as ze}from"./zeni-epic-state-C-J3ARpk.js";import{m as Le}from"./BusyIndication-BLGcHlgu-DO50OPkT.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-EhzRlpFY-EOxDZOmQ.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-ZwWwEBJ3-BX2BsofQ.js";import{C as pe}from"./NoDataChart-DCTRXLc7-BU0W5yLr.js";import{n as me,t as T}from"./CollapsableReportTable-CIaa7SIH-BcmrCcCw.js";import{d as he}from"./NoDataTable-D8Xw5pAY-EktbXITg.js";import{l as ue}from"./mapSpacerToTreeNode-Bj3f2irs-gWkFUMYW.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-B2Mjqvbt.js";import"./core-DzJgWcSP.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";import"./chartTypes-BLsP7rGF-vQGIz6hv.js";import"./AccountRow-DEtntSrL-DccMoOXH.js";import"./clock-CJkylEKt-FEGV41kB.js";import"./graphic-no-data-l-DU4J8fDt-8kufdn6n.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]="3029afb6-c8a1-49eb-8d07-a2b041a8a52f",e._sentryDebugIdIdentifier="sentry-dbid-3029afb6-c8a1-49eb-8d07-a2b041a8a52f")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
2
2
  display: flex;
3
3
  `,ye=x.div`
4
4
  display: flex;
@@ -6,17 +6,17 @@ import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
6
6
  flex-direction: column;
7
7
  height: ${e=>He.chartHeight.valuePx(e.windowSize)};
8
8
  padding-bottom: ${$.sp6};
9
- `;function Ue({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(qe,{report:e}):t.jsx(Ge,{report:e})}function qe({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:S.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(de,{children:({height:o,width:r})=>t.jsx(Re,{isDetailPage:!0,report:e,width:r,height:o})})})}function Ge({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:S.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(de,{children:({height:o,width:r})=>t.jsx(Te,{isDetailPage:!0,report:e,width:r,height:o})})})}function we({agingBalances:e,numOfBalances:a,title:o,isLastNode:r,config:s,parentNodeIDs:i,ancestorMetadata:m}){const l=T("aging_report_row",[],o),n={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:m},config:s}},u=e.children.map((d,g)=>we({agingBalances:d,numOfBalances:a,title:d.customer.name,config:s,isLastNode:g===e.children.length-1,parentNodeIDs:[...i,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...m.vendorOrCustomerAncestorMetadata,{depth:d.id.length-1,hasSibling:e.children.length>1,hasChildren:d.children.length>0,isLastNode:g===e.children.length-1,name:d.customer.name}]}}));return n.children.push(...u),e.children.length>0&&n.children.push(function({nestedCustomer:d,numOfBalances:g,title:p,config:b,parentNodeIDs:j,ancestorMetadata:w}){return{children:[],id:T("ac_subentity_total",j),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:p,data:d,numOfBalances:g,metadata:w},config:b}}}({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:i,ancestorMetadata:m})),n}function X({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??T("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function xe({title:e,balances:a,config:o,numOfBalances:r,nodeId:s}){return{children:[],id:s??T("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:r,data:a},config:o}}}const We=(e,a,o=!0)=>{const{agingPeriods:r,totalBalances:s,agingBalances:i}=e,m=r.length,l=X({agingPeriods:r,config:a}),n=[];n.push(l);const u=i.map((g,p)=>function({agingBalances:b,numOfBalances:j,title:w,isLastNode:L,config:_}){return{children:[],id:T("aging_report_row",[],w),isLastNode:L,reportElementData:{element:{kind:"aging_report_row",title:w,data:b,numOfBalances:j},config:_}}}({agingBalances:g,title:g.vendor.name,numOfBalances:m,isLastNode:p===i.length-1,config:a}));n.push(...u);const d=xe({title:S.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:m});return n.push(d),[...Array(1)].forEach((g,p)=>{n.push(ue({title:`${p}+${S.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:n}};function be(e,a,o,r=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,i=X({agingPeriods:s,config:a});return{config:a,headerNodes:r?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const Y={contentPaddingLeft:new M(c[0],c[0],c[0]),contentPaddingRight:new M(c[3],c[3],c[8]),wrapperPadding:new M(c[3],c[3],c[8])},H=x.div`
9
+ `;function Ue({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(qe,{report:e}):t.jsx(Ge,{report:e})}function qe({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:C.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(ce,{children:({height:o,width:r})=>t.jsx(Re,{isDetailPage:!0,report:e,width:r,height:o})})})}function Ge({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:C.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(ce,{children:({height:o,width:r})=>t.jsx(Te,{isDetailPage:!0,report:e,width:r,height:o})})})}function we({agingBalances:e,numOfBalances:a,title:o,isLastNode:r,config:s,parentNodeIDs:i,ancestorMetadata:m}){const l=T("aging_report_row",[],o),n={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:m},config:s}},u=e.children.map((c,g)=>we({agingBalances:c,numOfBalances:a,title:c.customer.name,config:s,isLastNode:g===e.children.length-1,parentNodeIDs:[...i,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...m.vendorOrCustomerAncestorMetadata,{depth:c.id.length-1,hasSibling:e.children.length>1,hasChildren:c.children.length>0,isLastNode:g===e.children.length-1,name:c.customer.name}]}}));return n.children.push(...u),e.children.length>0&&n.children.push(function({nestedCustomer:c,numOfBalances:g,title:p,config:b,parentNodeIDs:j,ancestorMetadata:w}){return{children:[],id:T("ac_subentity_total",j),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:p,data:c,numOfBalances:g,metadata:w},config:b}}}({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:i,ancestorMetadata:m})),n}function X({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??T("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function xe({title:e,balances:a,config:o,numOfBalances:r,nodeId:s}){return{children:[],id:s??T("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:r,data:a},config:o}}}const We=(e,a,o=!0)=>{const{agingPeriods:r,totalBalances:s,agingBalances:i}=e,m=r.length,l=X({agingPeriods:r,config:a}),n=[];n.push(l);const u=i.map((g,p)=>function({agingBalances:b,numOfBalances:j,title:w,isLastNode:L,config:_}){return{children:[],id:T("aging_report_row",[],w),isLastNode:L,reportElementData:{element:{kind:"aging_report_row",title:w,data:b,numOfBalances:j},config:_}}}({agingBalances:g,title:g.vendor.name,numOfBalances:m,isLastNode:p===i.length-1,config:a}));n.push(...u);const c=xe({title:C.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:m});return n.push(c),[...Array(1)].forEach((g,p)=>{n.push(ue({title:`${p}+${C.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:n}};function be(e,a,o,r=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,i=X({agingPeriods:s,config:a});return{config:a,headerNodes:r?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const Y={contentPaddingLeft:new M(d[0],d[0],d[0]),contentPaddingRight:new M(d[3],d[3],d[8]),wrapperPadding:new M(d[3],d[3],d[8])},H=x.div`
10
10
  display: flex;
11
11
  position: sticky;
12
12
  justify-content: center;
13
13
  padding-top: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
14
14
  padding-left: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
- `,Ce=x.div`
16
+ `,Se=x.div`
17
17
  width: 100%;
18
18
  height: calc(100vh - ${$.sp11});
19
- `;function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){return e.reportId==="accounts_payable_aging"?t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Qe,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r})}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[r,s]=y.useState(void 0),[i,m]=y.useState(void 0),l=z(),n=Q(),u=!(l==="small"||l==="medium-compact"),d=y.useCallback((g,p)=>{a(g,p)},[a]);return y.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(i!=null&&ce(r,e)){const p=be(i,g,e,u);m(p)}else{const p=We(e,g,u);s(e),m(p)}},[e,d]),e.agingBalances.length===0?t.jsx(H,{windowSize:l,children:t.jsx(he,{})}):i!=null?t.jsx(H,{windowSize:l,children:t.jsx(Ce,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(n.colors.grey4),rootNodes:i,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:Y.contentPaddingLeft.value(l),right:Y.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Qe({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){const[s,i]=y.useState(void 0),[m,l]=y.useState(void 0),n=z(),u=Q(),d=!(n==="small"||n==="medium-compact"),g=y.useCallback((p,b)=>{a(p,b)},[a]);return y.useEffect(()=>{const p={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:g,onEntityNameClick:o}};if(m!=null&&ce(s,e)){const b=be(m,p,e,d);l(b)}else{const b=((j,w,L=!0)=>{const{agingPeriods:_,totalBalances:U,agingBalances:h}=j,N=_.length,v=X({agingPeriods:_,config:w}),D=[];D.push(v);const E=h.map((k,P)=>we({agingBalances:k,title:k.customer.name,numOfBalances:N,isLastNode:P===h.length-1,config:w,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:h.length>1,hasChildren:k.children.length>0,isLastNode:P===h.length-1}]}}));D.push(...E);const C=xe({title:S.getLocalizedStrings().chartCard.total,balances:U,config:w,numOfBalances:N});return D.push(C),[...Array(1)].forEach((k,P)=>{D.push(ue({title:`${P}+${S.getLocalizedStrings().common.loading}`,balances:[],config:w}))}),{config:w,headerNodes:L?[v]:[],contentNodes:D}})(e,p,d);i(e),l(b)}},[e,g]),e.agingBalances.length===0?t.jsx(H,{windowSize:n,children:t.jsx(he,{})}):m!=null?t.jsx(H,{windowSize:n,children:t.jsx(Ce,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(u.colors.grey4),rootNodes:m,type:"name+balances_actual",isSticky:{isStickyHeader:d,isStickyName:d},treeNodePadding:{left:Y.contentPaddingLeft.value(n),right:Y.contentPaddingRight.value(n)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:r,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new M(c[2],c[1],c[1],c[2],c[6])},Ze=x.div`
19
+ `;function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){return e.reportId==="accounts_payable_aging"?t.jsx(Qe,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r})}function Qe({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[r,s]=y.useState(void 0),[i,m]=y.useState(void 0),l=z(),n=V(),u=!(l==="small"||l==="medium-compact"),c=y.useCallback((g,p)=>{a(g,p)},[a]);return y.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:c,onEntityNameClick:o}};if(i!=null&&de(r,e)){const p=be(i,g,e,u);m(p)}else{const p=We(e,g,u);s(e),m(p)}},[e,c]),e.agingBalances.length===0?t.jsx(H,{windowSize:l,children:t.jsx(he,{})}):i!=null?t.jsx(H,{windowSize:l,children:t.jsx(Se,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(n.colors.grey4),rootNodes:i,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:Y.contentPaddingLeft.value(l),right:Y.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){const[s,i]=y.useState(void 0),[m,l]=y.useState(void 0),n=z(),u=V(),c=!(n==="small"||n==="medium-compact"),g=y.useCallback((p,b)=>{a(p,b)},[a]);return y.useEffect(()=>{const p={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:g,onEntityNameClick:o}};if(m!=null&&de(s,e)){const b=be(m,p,e,c);l(b)}else{const b=((j,w,L=!0)=>{const{agingPeriods:_,totalBalances:U,agingBalances:h}=j,N=_.length,v=X({agingPeriods:_,config:w}),D=[];D.push(v);const E=h.map((k,P)=>we({agingBalances:k,title:k.customer.name,numOfBalances:N,isLastNode:P===h.length-1,config:w,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:h.length>1,hasChildren:k.children.length>0,isLastNode:P===h.length-1}]}}));D.push(...E);const S=xe({title:C.getLocalizedStrings().chartCard.total,balances:U,config:w,numOfBalances:N});return D.push(S),[...Array(1)].forEach((k,P)=>{D.push(ue({title:`${P}+${C.getLocalizedStrings().common.loading}`,balances:[],config:w}))}),{config:w,headerNodes:L?[v]:[],contentNodes:D}})(e,p,c);i(e),l(b)}},[e,g]),e.agingBalances.length===0?t.jsx(H,{windowSize:n,children:t.jsx(he,{})}):m!=null?t.jsx(H,{windowSize:n,children:t.jsx(Se,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(u.colors.grey4),rootNodes:m,type:"name+balances_actual",isSticky:{isStickyHeader:c,isStickyName:c},treeNodePadding:{left:Y.contentPaddingLeft.value(n),right:Y.contentPaddingRight.value(n)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:r,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new M(d[2],d[1],d[1],d[2],d[6])},Ze=x.div`
20
20
  display: flex;
21
21
  width: 100%;
22
22
  justify-content: space-between;
@@ -34,7 +34,7 @@ import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
34
34
  width: fit-content;
35
35
  `,se=x(Ye)`
36
36
  color: ${e=>e.theme.colors.primary};
37
- `;function et({totalBalances:e,reportId:a}){const o=y.useMemo(()=>Ke(e),[e]),r=z();return t.jsxs(Ze,{windowSize:r,children:[e.map(s=>{const{period:i}=s;return t.jsxs(re,{children:[t.jsx(ie,{children:S.getLocalizedStrings().reports.aging.duration[i]}),t.jsx(se,{children:ne("0,0",s?.balance)})]},i)}),t.jsxs(re,{children:[t.jsx(ie,{children:a==="accounts_payable_aging"?S.getLocalizedStrings().reports.aging.apAging.totalPayable:S.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(se,{children:ne("0,0",o?.balance)})]})]})}const V={wrapperPadding:new M(c[3],c[3],c[8]),navbarMarginBottom:new M(c[7],c[4])},{download:J,dateFormat:I,reports:{common:tt,aging:R}}=S.getLocalizedStrings();function Yt(e){const a=Q(),[o,r]=y.useState(!1),s=z(),{report:i,uiState:m,downloadParams:l,analytics:n,onSelectedDateChanged:u,onBackClick:d,onSearchTextChange:g,onReloadReport:p,onSortOrderChange:b,onEntityNameClick:j,updateDownloadStateHandler:w,onNodeCollapseToggled:L}=e,{fetchState:_,reportTitle:U,reportId:h}=i,{searchString:N,downloadState:v,sortKey:D,sortOrder:E,selectedDate:C,agingDateSelectionType:k}=m,{authParams:P,downloadEndPoint:Z,timezone:ee}=l,te=y.useCallback((f,O)=>{const B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),C!=null?C.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,C]),ae=y.useCallback(f=>{const O=Ee({options:R.preComputedDurationOptions.map(({label:F,value:q})=>({label:F,value:ze(q)})).filter(({value:F})=>F!=null),selectedDate:f}),B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),C!=null?C.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,C]),Se=y.useCallback((f,O)=>{b(f,O),n.trackAgingReportSortChange(K(h),O,f)},[n,b,h]),_e=y.useCallback(()=>t.jsx(Fe,{maxDate:W(),selectedDate:{date:C},precomputedOptionsProperties:{preComputedOptionSelected:dt(k),preComputedOptionDateFormat:I.visual.MMMDCommaYYYYformat,preComputedOptions:R.preComputedDurationOptions,onPreComputedOptionSelected:te},onSelectedDateChanged:ae}),[C,te,ae,k]);if(y.useEffect(()=>{o&&v!=="In-Progress"&&(r(!1),w("In-Progress"),async function(){const f={companyName:l.companyName,searchString:N,sortKey:D,sortOrder:E,statementFileType:"excel",timezone:ee,reportId:h==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:C};await async function(O,B,F){const q=`${O}?query=${encodeURIComponent(JSON.stringify(at(F)))}`,oe=R.arAging;try{const A=await Ie({urlEndPoint:q,authParams:B,fileType:"excel"});if(A.ok){const Ne=Me(A.headers,J.defaultFileName),Oe=await A.arrayBuffer();$e(Oe,Ne)}else console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${A.statusText}`)}catch(A){console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${JSON.stringify(A)}`)}}(Z,P,f),w("Completed"),n.trackAgingReportDownloadClick(K(h),D,E)}())},[P,Z,l.companyName,v,o,h,N,D,E,w,C,n,ee]),_==="Error")return t.jsxs(ot,{children:[t.jsx(nt,{onClick:p,children:t.jsx(je,{})}),t.jsx(rt,{children:tt.failed})]});const De=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(N?.length??0)>0,searchPlaceHolder:h==="accounts_payable_aging"?R.apAging.searchPlaceholder:R.arAging.searchPlaceholder,searchText:N??"",onSearchTextChanged:f=>{g(f)},downloadPresent:!0}),t.jsx(ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:v==="In-Progress"}],onDownloadClick:async f=>{if(f==="excel"){if(v==="In-Progress")return void console.log("Download is already in progress!");r(!0)}}}}})]});return t.jsxs(it,{children:[t.jsx(Pe,{title:U,subTitle:_e(),backgroundColor:a.colors.grey5,onBackClick:d,rightSideComponent:De,downloadPresent:!0,style:{marginBottom:V.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(G,{controller:_==="In-Progress"||_==="Not-Started",children:t.jsx(Le,{fetchState:_})}),t.jsxs(G,{controller:_==="Completed",children:[t.jsx(G,{controller:N.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(et,{reportId:h==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:i.totalBalances})}),t.jsx(Ue,{report:i})]})}),t.jsx(Je,{report:i,onSortOrderChange:Se,onEntityNameClick:j,onNodeCollapseToggled:L})]})]})}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const ot=x.div`
37
+ `;function et({totalBalances:e,reportId:a}){const o=y.useMemo(()=>Ke(e),[e]),r=z();return t.jsxs(Ze,{windowSize:r,children:[e.map(s=>{const{period:i}=s;return t.jsxs(re,{children:[t.jsx(ie,{children:C.getLocalizedStrings().reports.aging.duration[i]}),t.jsx(se,{children:ne("0,0",s?.balance)})]},i)}),t.jsxs(re,{children:[t.jsx(ie,{children:a==="accounts_payable_aging"?C.getLocalizedStrings().reports.aging.apAging.totalPayable:C.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(se,{children:ne("0,0",o?.balance)})]})]})}const Q={wrapperPadding:new M(d[3],d[3],d[8]),navbarMarginBottom:new M(d[7],d[4])},{download:J,dateFormat:I,reports:{common:tt,aging:R}}=C.getLocalizedStrings();function Yt(e){const a=V(),[o,r]=y.useState(!1),s=z(),{report:i,uiState:m,downloadParams:l,analytics:n,onSelectedDateChanged:u,onBackClick:c,onSearchTextChange:g,onReloadReport:p,onSortOrderChange:b,onEntityNameClick:j,updateDownloadStateHandler:w,onNodeCollapseToggled:L}=e,{fetchState:_,reportTitle:U,reportId:h}=i,{searchString:N,downloadState:v,sortKey:D,sortOrder:E,selectedDate:S,agingDateSelectionType:k}=m,{authParams:P,downloadEndPoint:Z,timezone:ee}=l,te=y.useCallback((f,O)=>{const B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),S!=null?S.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,S]),ae=y.useCallback(f=>{const O=Ee({options:R.preComputedDurationOptions.map(({label:F,value:q})=>({label:F,value:ze(q)})).filter(({value:F})=>F!=null),selectedDate:f}),B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),S!=null?S.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,S]),Ce=y.useCallback((f,O)=>{b(f,O),n.trackAgingReportSortChange(K(h),O,f)},[n,b,h]),_e=y.useCallback(()=>t.jsx(Fe,{maxDate:W(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(k),preComputedOptionDateFormat:I.visual.MMMDCommaYYYYformat,preComputedOptions:R.preComputedDurationOptions,onPreComputedOptionSelected:te},onSelectedDateChanged:ae}),[S,te,ae,k]);if(y.useEffect(()=>{o&&v!=="In-Progress"&&(r(!1),w("In-Progress"),async function(){const f={companyName:l.companyName,searchString:N,sortKey:D,sortOrder:E,statementFileType:"excel",timezone:ee,reportId:h==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await async function(O,B,F){const q=`${O}?query=${encodeURIComponent(JSON.stringify(at(F)))}`,oe=R.arAging;try{const A=await Ie({urlEndPoint:q,authParams:B,fileType:"excel"});if(A.ok){const Ne=Me(A.headers,J.defaultFileName),Oe=await A.arrayBuffer();$e(Oe,Ne)}else console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${A.statusText}`)}catch(A){console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${JSON.stringify(A)}`)}}(Z,P,f),w("Completed"),n.trackAgingReportDownloadClick(K(h),D,E)}())},[P,Z,l.companyName,v,o,h,N,D,E,w,S,n,ee]),_==="Error")return t.jsxs(ot,{children:[t.jsx(nt,{onClick:p,children:t.jsx(je,{})}),t.jsx(rt,{children:tt.failed})]});const De=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(N?.length??0)>0,searchPlaceHolder:h==="accounts_payable_aging"?R.apAging.searchPlaceholder:R.arAging.searchPlaceholder,searchText:N??"",onSearchTextChanged:f=>{g(f)},downloadPresent:!0}),t.jsx(ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:v==="In-Progress"}],onDownloadClick:async f=>{if(f==="excel"){if(v==="In-Progress")return void console.log("Download is already in progress!");r(!0)}}}}})]});return t.jsxs(it,{children:[t.jsx(Pe,{title:U,subTitle:_e(),backgroundColor:a.colors.grey5,onBackClick:c,rightSideComponent:De,downloadPresent:!0,style:{marginBottom:Q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(G,{controller:_==="In-Progress"||_==="Not-Started",children:t.jsx(Le,{fetchState:_})}),t.jsxs(G,{controller:_==="Completed",children:[t.jsx(G,{controller:N.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(et,{reportId:h==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:i.totalBalances})}),t.jsx(Ue,{report:i})]})}),t.jsx(Je,{report:i,onSortOrderChange:Ce,onEntityNameClick:j,onNodeCollapseToggled:L})]})]})}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const ot=x.div`
38
38
  display: flex;
39
39
  width: 100%;
40
40
  height: calc(100% - 60px);
@@ -74,6 +74,6 @@ import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
74
74
  position: relative;
75
75
  box-shadow: ${e=>`2px 2px ${$.sp1} ${e.theme.colors.dropShadowNormal}`};
76
76
  background-color: ${e=>e.theme.colors.grey5};
77
- padding-left: ${e=>V.wrapperPadding.valuePx(e.windowSize)};
78
- padding-right: ${e=>V.wrapperPadding.valuePx(e.windowSize)};
79
- `,dt=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},le=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Yt as default,at as toDownloadAgingReportOptionsPayload};
77
+ padding-left: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
78
+ padding-right: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
79
+ `,ct=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},le=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Yt as default,at as toDownloadAgingReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{j as S}from"./pdf-CPt_J5sA.js";import{a as r}from"./sentry-D8J10Xru.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-CRK-q5k6.js";import{mm as oe,js as ie,e as re,mn as le,mo as ue,mp as $,bk as ce,jz as P,I as B,mq as de,mr as me,J as pe,k9 as he,ms as fe,k4 as Se,jO as ge,jM as Ce,mt as ke,mu as be}from"./index-D57b0ZIG.js";import{cM as N,ct as we,eS as Ie,Ok as Ee,d1 as ye,f0 as Te,eY as _e,dd as Pe,d7 as ve,c_ as xe,d4 as R,d8 as Oe,d9 as Qe,da as Ae,db as Me,dc as je}from"./zeni-epic-state-BpS-Wh5Q.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-CQrPxNXb.js";import{p as Ue}from"./pathToGoBack-qafDCrK2.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="211d4598-33e3-4371-bdfd-b8e680efd310",a._sentryDebugIdIdentifier="sentry-dbid-211d4598-33e3-4371-bdfd-b8e680efd310")}catch{}})();const q="chat-response-generated",Be=ne(function(a,i){const n=N(a),d=i.isSubmitting;return{showSampleQuestions:i.sessionFromUrl==="explore"&&n.uiState.currentChatSessionId==null,aiCfoView:n,isSubmitting:d,isNewChatSession:i.sessionFromUrl==="new_chat"||i.sessionFromUrl==="explore",isFullView:!0,tableDownloadEndPoint:`${Se}/tableDownload`,emailLinkQuestion:i.emailLinkQuestion,autoSubmitEmailLinkQuestion:i.autoSubmitEmailLinkQuestion,onEmailLinkQuestionProcessed:i.onEmailLinkQuestionProcessed,isFileUploadEnabled:i.isFileUploadEnabled}},function(a,i){const{location:n,currentTenant:d,userId:u,navigate:p,currentChatSessionId:h,allSessionsWithOrderedQuestionAnswers:g}=i;return{onEventReceived:(e,o)=>{if(e===q&&typeof o.text=="string"&&typeof o.metadata=="object"){const t=o,m=Qe(t.type),c=t.metadata.chat_session_id??null,{currentChatSession:s,currentQuestionAnswer:C,currentQuestionAnswerSummary:f}=$(g,c);m!=="answer"?P.trackAICFOChatResponseGenerated(m,C?.question.questionText??"",t.text,c,be(f,s),t.metadata.message_id??null):P.trackAICFOChatAnswerGenerated(t.text,C?.question.questionText??"",(t.follow_up_questions?.length??0)>0,!!t.assumptions,!!t.insights,t.visualization!=null,Ae(t.visualization?.type??"")??null,c,t.summarized_title,t.metadata.message_id??null),a(Me({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(je({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&ke(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Oe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??Ue(1);p(o,{state:{...n.state,pathnameStackToGoBack:e.newStack}}),a(R(""))},togglePageView:()=>{p(`/${d.tenantEmailDomain}/dashboard`,{state:{...n.state,message:"open_ai_cfo_drawer"}})},onCopy:()=>{},onThumbsUp:()=>{},onThumbsDown:()=>{},onTogglePageView:()=>{p(-1)},onNewChatClick:()=>{h!=null&&a(xe());const e=ge(n.state?.pathnameStackToGoBack,n.pathname);p(`/${d.tenantEmailDomain}/ai-cfo/new_chat`,{state:{pathnameStackToGoBack:e.slice(0,-1),referrer:"Sidebar"}})},onToggleCotCollapsed:(e,o)=>{a(ve({questionAnswerId:e,isCollapsed:o}))},onMenuClick:i.onMenuClick}})(he(fe)),at=({setIsAiCfoOpen:a,isFileUploadEnabled:i})=>{const n=ee(),d=te(),u=se(),[p,h]=r.useState(!1),{customPageTitle:g}=oe(),e=U(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=U(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,k=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{O.current||k==null||k===""||(I(k),E(x),O.current=!0)},[k,x]);const z=r.useCallback(()=>{I(null),E(!1)},[]),Q=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=Q.get("ref")??f?.aiCfoRef,y=Q.get("emailRefId")??f?.aiCfoEmailRefId,M=r.useRef(!1);r.useEffect(()=>{M.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),M.current=!0)},[A,y,s,n,o]);const b=e.uiState.lastContextMessage;r.useEffect(()=>{b!=null&&b!==""&&s!=null&&(I(b),E(!0),n(Ee()))},[b,s,n]);const W=c.masterTOSInfo,w=W?.isMasterTOSAccepted??!1,{visitedSessions:j}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,F=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",L=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),D=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(D,s),J=H.length===0;r.useEffect(()=>{w||d("../dashboard",{state:{...u.state,message:"open_ai_cfo_drawer"}})},[w]),r.useEffect(()=>{s!=null&&t!==s&&d(`../ai-cfo/${s}`,{state:{...u.state}})},[s,t]),r.useEffect(()=>{t!=null&&s==null&&t!=="new_chat"&&t!=="explore"&&n(ye({sessionId:t,agentId:"controller"}))},[]);const Y=r.useMemo(()=>({events:j.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[j]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&F!=="In-Progress"&&L&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[F,L,s,o,n]),o==null||t==null)throw Error("Can't access AI Controller page without signing in...");const K=s!=null&&e.responseStateByChatSessionId?.[s]?.answer?.fetchState==="In-Progress";return S.jsxs($e,{children:[S.jsx(ce,{analytics:P,onLoad:l=>l.trackPageLoaded(pe.Event.aiCFOPage)}),B(m)&&C.drawerElement,S.jsx(Be,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:J,customPageTitle:g,currentTenant:c,emailLinkQuestion:G??void 0,autoSubmitEmailLinkQuestion:V,onEmailLinkQuestionProcessed:z,onMenuClick:B(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Fe,{anchor:"right",open:p,transitionDuration:250,PaperProps:{component:Ne,style:{width:`${de}vw`}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>h(!1),children:S.jsx(Re,{onClick:l=>l.stopPropagation(),children:S.jsx(me,{isTOSAccepted:w,acceptMasterTOSState:e.masterTOSAcceptanceState,customPageTitle:g,onCloseClick:()=>h(!1),onCompleteClick:()=>{w||c.userRoleId==null||n(Pe(c.userRoleId)),h(!1)}})})})]})},Re=v(De)`
1
+ import{j as S}from"./pdf-B2Mjqvbt.js";import{a as r}from"./sentry-Cw2y1cds.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-DzJgWcSP.js";import{mm as oe,js as ie,e as re,mn as le,mo as ue,mp as $,bk as ce,jz as P,I as B,mq as de,mr as me,J as pe,k9 as he,ms as fe,k4 as Se,jO as ge,jM as Ce,mt as ke,mu as be}from"./index-CpL7aMNT.js";import{cM as N,ct as we,eS as Ie,Ok as Ee,d1 as ye,f0 as Te,eY as _e,dd as Pe,d7 as ve,c_ as xe,d4 as R,d8 as Oe,d9 as Qe,da as Ae,db as Me,dc as je}from"./zeni-epic-state-C-J3ARpk.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-Bkh9mHku.js";import{p as Ue}from"./pathToGoBack-CVP2PAJB.js";import"./lottie-BKwTCLtN.js";import"./liveblocks-DFEps-VX.js";import"./recharts-Cex23pUy.js";import"./dnd-CHoU1kzM.js";import"./analytics-B1todtP5.js";import"./plaid-DK5T1xk0.js";import"./utils-DqUQm2Md.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="211d4598-33e3-4371-bdfd-b8e680efd310",a._sentryDebugIdIdentifier="sentry-dbid-211d4598-33e3-4371-bdfd-b8e680efd310")}catch{}})();const q="chat-response-generated",Be=ne(function(a,i){const n=N(a),d=i.isSubmitting;return{showSampleQuestions:i.sessionFromUrl==="explore"&&n.uiState.currentChatSessionId==null,aiCfoView:n,isSubmitting:d,isNewChatSession:i.sessionFromUrl==="new_chat"||i.sessionFromUrl==="explore",isFullView:!0,tableDownloadEndPoint:`${Se}/tableDownload`,emailLinkQuestion:i.emailLinkQuestion,autoSubmitEmailLinkQuestion:i.autoSubmitEmailLinkQuestion,onEmailLinkQuestionProcessed:i.onEmailLinkQuestionProcessed,isFileUploadEnabled:i.isFileUploadEnabled}},function(a,i){const{location:n,currentTenant:d,userId:u,navigate:p,currentChatSessionId:h,allSessionsWithOrderedQuestionAnswers:g}=i;return{onEventReceived:(e,o)=>{if(e===q&&typeof o.text=="string"&&typeof o.metadata=="object"){const t=o,m=Qe(t.type),c=t.metadata.chat_session_id??null,{currentChatSession:s,currentQuestionAnswer:C,currentQuestionAnswerSummary:f}=$(g,c);m!=="answer"?P.trackAICFOChatResponseGenerated(m,C?.question.questionText??"",t.text,c,be(f,s),t.metadata.message_id??null):P.trackAICFOChatAnswerGenerated(t.text,C?.question.questionText??"",(t.follow_up_questions?.length??0)>0,!!t.assumptions,!!t.insights,t.visualization!=null,Ae(t.visualization?.type??"")??null,c,t.summarized_title,t.metadata.message_id??null),a(Me({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(je({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&ke(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Oe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??Ue(1);p(o,{state:{...n.state,pathnameStackToGoBack:e.newStack}}),a(R(""))},togglePageView:()=>{p(`/${d.tenantEmailDomain}/dashboard`,{state:{...n.state,message:"open_ai_cfo_drawer"}})},onCopy:()=>{},onThumbsUp:()=>{},onThumbsDown:()=>{},onTogglePageView:()=>{p(-1)},onNewChatClick:()=>{h!=null&&a(xe());const e=ge(n.state?.pathnameStackToGoBack,n.pathname);p(`/${d.tenantEmailDomain}/ai-cfo/new_chat`,{state:{pathnameStackToGoBack:e.slice(0,-1),referrer:"Sidebar"}})},onToggleCotCollapsed:(e,o)=>{a(ve({questionAnswerId:e,isCollapsed:o}))},onMenuClick:i.onMenuClick}})(he(fe)),at=({setIsAiCfoOpen:a,isFileUploadEnabled:i})=>{const n=ee(),d=te(),u=se(),[p,h]=r.useState(!1),{customPageTitle:g}=oe(),e=U(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=U(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,k=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{O.current||k==null||k===""||(I(k),E(x),O.current=!0)},[k,x]);const z=r.useCallback(()=>{I(null),E(!1)},[]),Q=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=Q.get("ref")??f?.aiCfoRef,y=Q.get("emailRefId")??f?.aiCfoEmailRefId,M=r.useRef(!1);r.useEffect(()=>{M.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),M.current=!0)},[A,y,s,n,o]);const b=e.uiState.lastContextMessage;r.useEffect(()=>{b!=null&&b!==""&&s!=null&&(I(b),E(!0),n(Ee()))},[b,s,n]);const W=c.masterTOSInfo,w=W?.isMasterTOSAccepted??!1,{visitedSessions:j}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,F=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",L=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),D=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(D,s),J=H.length===0;r.useEffect(()=>{w||d("../dashboard",{state:{...u.state,message:"open_ai_cfo_drawer"}})},[w]),r.useEffect(()=>{s!=null&&t!==s&&d(`../ai-cfo/${s}`,{state:{...u.state}})},[s,t]),r.useEffect(()=>{t!=null&&s==null&&t!=="new_chat"&&t!=="explore"&&n(ye({sessionId:t,agentId:"controller"}))},[]);const Y=r.useMemo(()=>({events:j.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[j]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&F!=="In-Progress"&&L&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[F,L,s,o,n]),o==null||t==null)throw Error("Can't access AI Controller page without signing in...");const K=s!=null&&e.responseStateByChatSessionId?.[s]?.answer?.fetchState==="In-Progress";return S.jsxs($e,{children:[S.jsx(ce,{analytics:P,onLoad:l=>l.trackPageLoaded(pe.Event.aiCFOPage)}),B(m)&&C.drawerElement,S.jsx(Be,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:J,customPageTitle:g,currentTenant:c,emailLinkQuestion:G??void 0,autoSubmitEmailLinkQuestion:V,onEmailLinkQuestionProcessed:z,onMenuClick:B(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Fe,{anchor:"right",open:p,transitionDuration:250,PaperProps:{component:Ne,style:{width:`${de}vw`}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>h(!1),children:S.jsx(Re,{onClick:l=>l.stopPropagation(),children:S.jsx(me,{isTOSAccepted:w,acceptMasterTOSState:e.masterTOSAcceptanceState,customPageTitle:g,onCloseClick:()=>h(!1),onCompleteClick:()=>{w||c.userRoleId==null||n(Pe(c.userRoleId)),h(!1)}})})})]})},Re=v(De)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as se,l as ce,cq as Ce,bH as Se,m as L,bo as Oe,a1 as oe,c0 as J,fr as R,fo as ee,fp as ie,fq as me,aj as pe,ge as Te,f as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-D57b0ZIG.js";import{n as d}from"./mui-CQrPxNXb.js";import{G0 as De,bt as le}from"./zeni-epic-state-BpS-Wh5Q.js";import{a as G}from"./sentry-D8J10Xru.js";import{K as xe}from"./LabeledEmailInputField-CY2mGhJG-B5JFU4wM.js";import{j as be,x as fe,C as ve}from"./LabeledZeniRolesDropDownField-DJfE1qQb-CarCFyTQ.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CvY4pk5I.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]="61156c1a-3c2a-4528-9d72-b27d7fb99554",e._sentryDebugIdIdentifier="sentry-dbid-61156c1a-3c2a-4528-9d72-b27d7fb99554")}catch{}})();const V=(e,t)=>`${e}.${t}`,ae={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},u=A.getLocalizedStrings().peoplePage,ke=({user:e,sectionId:t,mode:o,managersList:m,classList:s,controllersList:b,customerRoleOptions:C,isBankingOnlyTenant:g,isCardsOnlyTenant:f,isEdit:N,person:h,analytics:v})=>{const $=_(),P=ae.largeLabelWidth.value($),{setValue:S}=Y(),D=oe(b),w=D.splice(0,1),U=D.reduce((a,r)=>a.concat(`${r.email},`),""),M=G.useMemo(()=>oe(J.roles),[]),p=le(e.role);return G.useEffect(()=>{(p||g||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),p&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[p,g,f]),i.jsxs(Ne,{windowSize:$,"data-testid":I("edit-people-user-item-section"),children:[i.jsx(xe,{label:u.invitePage.email,name:V(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(u.addPlaceholderPrefix,u.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2}}),i.jsx(X,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(be,{label:{label:u.invitePage.role,width:P},style:{width:"auto"},rolesDropDownField:{name:V(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(g,f)},productsByUserRole:ee(e.role,C)},registerOptions:{required:!0}}}),i.jsx(X,{}),i.jsx($e,{label:{label:u.invitePage.manager,width:P},showTooltip:!0,toolTipWidth:ae.toolTipWidth.valuePx($),tooltipTitle:i.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:V(t,"manager"),value:{allUsers:m,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:a=>{const r=m.findIndex(n=>n.userId===a);if(r!==-1){const n=m[r],y=s.find(k=>k.classId===n.userRole.accountingClassIDs[0]),j=[];return y!=null&&j.push(y.className),j}return[]},placeholderLabel:p?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.manager),registerOptions:{required:!p},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:p?"disabled":void 0,isOptionDisabled:a=>a===h?.user?.userId},style:{width:"auto"},isDisabled:p?"disabled":void 0,opacity:p?.32:1}),i.jsx(X,{}),i.jsx(fe,{label:{label:u.invitePage.department,width:P},singleSelectWithoutClearableField:{name:V(t,"department"),defaultValue:{allOptions:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})),selectedOption:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})).find(a=>a.value===e.departmentId)},placeholder:p||g||f?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.department),registerOptions:{required:!p||!(g||f)},isDisabled:p||g||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:p||g||f?"disabled":void 0,opacity:p||g||f?.32:1}),N?null:i.jsxs(Ue,{windowSize:$,children:[u.invitePage.controllerText,w[0]?i.jsxs(We,{href:`mailto:${w[0].email}?cc=${U}&subject=${encodeURIComponent(u.invitePage.emailSubject)}`,children:[i.jsx("span",{children:`${w[0].firstName} ${w[0].lastName}`}),i.jsx(pe,{className:"arrowIcon"})]}):null]})]}):i.jsx(ve,{label:{label:u.invitePage.role,width:P},zeniRolesDropDownField:{name:V(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(u.selectPlaceholderPrefix,u.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:a=>{h!=null&&v?.trackRoleChanged(h.userRole.userRoles,a[0],h?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Ne=d.div`
1
+ import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as se,l as ce,cq as Ce,bH as Se,m as L,bo as Oe,a1 as oe,c0 as J,fr as R,fo as ee,fp as ie,fq as me,aj as pe,ge as Te,f as ue,cp as ge,H as he,dX as Re,W as ze}from"./index-CpL7aMNT.js";import{n as d}from"./mui-Bkh9mHku.js";import{G0 as De,bt as le}from"./zeni-epic-state-C-J3ARpk.js";import{a as G}from"./sentry-Cw2y1cds.js";import{K as xe}from"./LabeledEmailInputField-C53P9fJl-DlfrFCPM.js";import{j as fe,x as be,C as ve}from"./LabeledZeniRolesDropDownField-CQiP2rEh-cspEcG7h.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-BLveJfCB.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]="ac917bf5-d52f-4fef-9080-305de29fcd9d",e._sentryDebugIdIdentifier="sentry-dbid-ac917bf5-d52f-4fef-9080-305de29fcd9d")}catch{}})();const V=(e,t)=>`${e}.${t}`,ae={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},u=A.getLocalizedStrings().peoplePage,ke=({user:e,sectionId:t,mode:o,managersList:m,classList:s,controllersList:f,customerRoleOptions:C,isBankingOnlyTenant:g,isCardsOnlyTenant:b,isEdit:N,person:h,analytics:v})=>{const $=_(),P=ae.largeLabelWidth.value($),{setValue:S}=Y(),D=oe(f),w=D.splice(0,1),U=D.reduce((a,r)=>a.concat(`${r.email},`),""),M=G.useMemo(()=>oe(J.roles),[]),p=le(e.role);return G.useEffect(()=>{(p||g||b)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),p&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[p,g,b]),i.jsxs(Ne,{windowSize:$,"data-testid":I("edit-people-user-item-section"),children:[i.jsx(xe,{label:u.invitePage.email,name:V(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(u.addPlaceholderPrefix,u.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2}}),i.jsx(X,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(fe,{label:{label:u.invitePage.role,width:P},style:{width:"auto"},rolesDropDownField:{name:V(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(g,b)},productsByUserRole:ee(e.role,C)},registerOptions:{required:!0}}}),i.jsx(X,{}),i.jsx($e,{label:{label:u.invitePage.manager,width:P},showTooltip:!0,toolTipWidth:ae.toolTipWidth.valuePx($),tooltipTitle:i.jsx(Le,{}),userSingleSelectWithSubTitlesField:{name:V(t,"manager"),value:{allUsers:m,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:a=>{const r=m.findIndex(n=>n.userId===a);if(r!==-1){const n=m[r],y=s.find(k=>k.classId===n.userRole.accountingClassIDs[0]),j=[];return y!=null&&j.push(y.className),j}return[]},placeholderLabel:p?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.manager),registerOptions:{required:!p},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:p?"disabled":void 0,isOptionDisabled:a=>a===h?.user?.userId},style:{width:"auto"},isDisabled:p?"disabled":void 0,opacity:p?.32:1}),i.jsx(X,{}),i.jsx(be,{label:{label:u.invitePage.department,width:P},singleSelectWithoutClearableField:{name:V(t,"department"),defaultValue:{allOptions:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})),selectedOption:s.map(a=>({label:a.fullyQualifiedAccountingClassName??"",value:a.classId,hoverText:a.accountingClassNumber})).find(a=>a.value===e.departmentId)},placeholder:p||g||b?u.notApplicable:R(u.selectPlaceholderPrefix,u.invitePage.department),registerOptions:{required:!p||!(g||b)},isDisabled:p||g||b?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:p||g||b?"disabled":void 0,opacity:p||g||b?.32:1}),N?null:i.jsxs(Ue,{windowSize:$,children:[u.invitePage.controllerText,w[0]?i.jsxs(We,{href:`mailto:${w[0].email}?cc=${U}&subject=${encodeURIComponent(u.invitePage.emailSubject)}`,children:[i.jsx("span",{children:`${w[0].firstName} ${w[0].lastName}`}),i.jsx(pe,{className:"arrowIcon"})]}):null]})]}):i.jsx(ve,{label:{label:u.invitePage.role,width:P},zeniRolesDropDownField:{name:V(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:R(u.selectPlaceholderPrefix,u.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:a=>{h!=null&&v?.trackRoleChanged(h.userRole.userRoles,a[0],h?.userRole.userEmail)}},style:{width:"auto"}})]})},Le=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Ne=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -43,7 +43,7 @@ import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  }
45
45
  }
46
- `,W=(e,t)=>`${e}.${t}`,re={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=A.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:m,managersList:s,classList:b,controllersList:C,index:g,customerRoleOptions:f,isEdit:N,isBankingOnlyTenant:h,isCardsOnlyTenant:v})=>{const $=_(),{getValues:P,formState:{errors:S},setValue:D}=Y(),w=re.largeLabelWidth.value($),[U,...M]=C,p=M.map(n=>n.email).join(","),a=G.useMemo(()=>J.roles.filter(n=>!["admin","bookkeeping_admin"].includes(n.value)),[]),r=le(e.role);return G.useEffect(()=>{(r||h||v)&&D(`userItems.${g}.department`,{allOptions:[],selectedOption:void 0}),r&&D(`userItems.${g}.manager`,{allUsers:[],selectedUser:void 0})},[r,h,v]),i.jsxs(Ze,{windowSize:$,"data-testid":I("invite-people-user-item-section"),children:[i.jsx(xe,{label:c.invitePage.email,name:W(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:n=>!Me(n,P("userItems"),g),notZeniMail:n=>o==="zeni_only"||m||n.map(y=>!y.match(Te)).reduce((y,j)=>y&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2},additionalInfoLabel:Ee(P("userItems"),W(t,"email"),g,o,S)}),i.jsx(Q,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(be,{label:{label:c.invitePage.role,width:w},style:{width:"auto"},rolesDropDownField:{name:W(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(h,v)},productsByUserRole:ee(e.role,f)},registerOptions:{required:!0}}}),i.jsx(Q,{}),i.jsx($e,{label:{label:c.invitePage.manager,width:w},showTooltip:!0,toolTipWidth:re.toolTipWidth.valuePx($),tooltipTitle:i.jsx(_e,{}),userSingleSelectWithSubTitlesField:{name:W(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:n=>{const y=s.findIndex(j=>j.userId===n);if(y!==-1){const j=s[y],k=b.find(O=>O.classId===j.userRole.accountingClassIDs[0]),x=[];return k!=null&&x.push(k.className),x}return[]},placeholderLabel:r?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!r},isDisabled:r?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?l.sp8:"74px",boxSizing:"border-box"},isDisabled:r?"disabled":void 0,opacity:r?.32:1}),i.jsx(Q,{}),i.jsx(fe,{label:{label:c.invitePage.department,width:w},singleSelectWithoutClearableField:{name:W(t,"department"),defaultValue:{allOptions:b.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:b.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===e.departmentId)},placeholder:r||h||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!r||!(h||v)},isDisabled:r||h||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:r||h||v?"disabled":void 0,opacity:r||h||v?.32:1}),i.jsx(Q,{}),N?null:i.jsxs(Be,{windowSize:$,isDisabled:r,children:[c.invitePage.controllerText,U?i.jsx(Ve,{firstController:[U],isInvestorBanker:r,restControllerEmailsStr:p}):null]})]}):i.jsx(ve,{label:{label:c.invitePage.role,width:w},zeniRolesDropDownField:{defaultValue:{allOptions:a,selectedOptions:e.role},name:W(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},_e=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Me=(e,t,o)=>{const m=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return m.length>0&&e.every(s=>m.includes(s))},Ze=d.div`
46
+ `,W=(e,t)=>`${e}.${t}`,re={largeLabelWidth:new T(125,140,160),toolTipWidth:new T(246,250)},c=A.getLocalizedStrings().peoplePage,Fe=({user:e,sectionId:t,mode:o,isZeniTenant:m,managersList:s,classList:f,controllersList:C,index:g,customerRoleOptions:b,isEdit:N,isBankingOnlyTenant:h,isCardsOnlyTenant:v})=>{const $=_(),{getValues:P,formState:{errors:S},setValue:D}=Y(),w=re.largeLabelWidth.value($),[U,...M]=C,p=M.map(n=>n.email).join(","),a=G.useMemo(()=>J.roles.filter(n=>!["admin","bookkeeping_admin"].includes(n.value)),[]),r=le(e.role);return G.useEffect(()=>{(r||h||v)&&D(`userItems.${g}.department`,{allOptions:[],selectedOption:void 0}),r&&D(`userItems.${g}.manager`,{allUsers:[],selectedUser:void 0})},[r,h,v]),i.jsxs(Ze,{windowSize:$,"data-testid":I("invite-people-user-item-section"),children:[i.jsx(xe,{label:c.invitePage.email,name:W(t,"email"),registerOptions:{required:!0,value:e.email,validate:{duplicate:n=>!Me(n,P("userItems"),g),notZeniMail:n=>o==="zeni_only"||m||n.map(y=>!y.match(Te)).reduce((y,j)=>y&&j)}},placeholder:R(c.addPlaceholderPrefix,c.invitePage.email),style:{paddingTop:l.sp2,paddingBottom:l.sp2},additionalInfoLabel:Ee(P("userItems"),W(t,"email"),g,o,S)}),i.jsx(Q,{}),o==="off"?i.jsxs(i.Fragment,{children:[i.jsx(fe,{label:{label:c.invitePage.role,width:w},style:{width:"auto"},rolesDropDownField:{name:W(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:me(e.role),allRootRole:ie(h,v)},productsByUserRole:ee(e.role,b)},registerOptions:{required:!0}}}),i.jsx(Q,{}),i.jsx($e,{label:{label:c.invitePage.manager,width:w},showTooltip:!0,toolTipWidth:re.toolTipWidth.valuePx($),tooltipTitle:i.jsx(_e,{}),userSingleSelectWithSubTitlesField:{name:W(t,"manager"),value:{allUsers:s,selectedUser:e.managerId},valueToSubtitle:n=>{const y=s.findIndex(j=>j.userId===n);if(y!==-1){const j=s[y],k=f.find(O=>O.classId===j.userRole.accountingClassIDs[0]),x=[];return k!=null&&x.push(k.className),x}return[]},placeholderLabel:r?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.manager),registerOptions:{required:!r},isDisabled:r?"disabled":void 0,showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]}},style:{width:"auto",height:e.managerId==null?l.sp8:"74px",boxSizing:"border-box"},isDisabled:r?"disabled":void 0,opacity:r?.32:1}),i.jsx(Q,{}),i.jsx(be,{label:{label:c.invitePage.department,width:w},singleSelectWithoutClearableField:{name:W(t,"department"),defaultValue:{allOptions:f.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:f.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===e.departmentId)},placeholder:r||h||v?c.notApplicable:R(c.selectPlaceholderPrefix,c.invitePage.department),registerOptions:{required:!r||!(h||v)},isDisabled:r||h||v?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:r||h||v?"disabled":void 0,opacity:r||h||v?.32:1}),i.jsx(Q,{}),N?null:i.jsxs(Be,{windowSize:$,isDisabled:r,children:[c.invitePage.controllerText,U?i.jsx(Ve,{firstController:[U],isInvestorBanker:r,restControllerEmailsStr:p}):null]})]}):i.jsx(ve,{label:{label:c.invitePage.role,width:w},zeniRolesDropDownField:{defaultValue:{allOptions:a,selectedOptions:e.role},name:W(t,"role"),placeholderLabel:R(c.selectPlaceholderPrefix,c.invitePage.role),registerOptions:{required:o==="zeni_only"},isMulti:!1,forZeniUser:!1},style:{width:"auto"}})]})},_e=()=>A.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Me=(e,t,o)=>{const m=t.filter(s=>s.userIndex!==o).map(s=>s.email).flat();return m.length>0&&e.every(s=>m.includes(s))},Ze=d.div`
47
47
  display: flex;
48
48
  flex-direction: column;
49
49
  background-color: ${e=>e.theme.colors.grey5};
@@ -89,10 +89,10 @@ import{cc as Y,dP as Pe,e as _,V as i,b as I,x as T,o as l,at as de,O as A,a as
89
89
  color: ${e=>e.isDisabled?e.theme.colors.grey1:e.theme.colors.primary};
90
90
  }
91
91
  }
92
- `,Ee=(e,t,o,m,s)=>{if(Re(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":case"validate":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(b=>{if(!ze.test(b))return c.invitePage.defaultHelpText}),m==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;default:return}},Ve=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let m="";const s=t[0];return m=s?.firstName&&s?.lastName?`${s?.firstName} ${s?.lastName}`:s?.firstName?s?.firstName:s?.lastName?s?.lastName:s?.email??"",i.jsxs(qe,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[i.jsx("span",{children:m}),i.jsx(pe,{className:"arrowIcon"})]})},Ae=e=>i.jsx(He,{style:e.style,"data-testid":I("user-item-section"),children:e.isEdit?i.jsx(ke,{...e}):i.jsx(Fe,{...e})}),He=d.div`
92
+ `,Ee=(e,t,o,m,s)=>{if(Re(s,t)&&s?.userItems&&s?.userItems[o]?.email)switch(s?.userItems[o]?.email.type){case"required":case"validate":return c.invitePage.defaultHelpText;case"pattern":return e[o].email.forEach(f=>{if(!ze.test(f))return c.invitePage.defaultHelpText}),m==="zeni_only"?c.invitePage.otherThanZeniMailIDForZeniModeText:c.invitePage.zeniMailIDForNormalModeText;case"duplicate":return c.invitePage.emailAlreadyExist;case"notZeniMail":return c.invitePage.zeniMailIDForNormalModeText;default:return}},Ve=({isInvestorBanker:e,firstController:t,restControllerEmailsStr:o})=>{let m="";const s=t[0];return m=s?.firstName&&s?.lastName?`${s?.firstName} ${s?.lastName}`:s?.firstName?s?.firstName:s?.lastName?s?.lastName:s?.email??"",i.jsxs(qe,{isDisabled:e,href:e?void 0:`mailto:${t[0]?.email}?cc=${o}&subject=${encodeURIComponent(c.invitePage.emailSubject)}`,children:[i.jsx("span",{children:m}),i.jsx(pe,{className:"arrowIcon"})]})},Ae=e=>i.jsx(He,{style:e.style,"data-testid":I("user-item-section"),children:e.isEdit?i.jsx(ke,{...e}):i.jsx(Fe,{...e})}),He=d.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
- `,F={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},z=A.getLocalizedStrings().peoplePage,hi=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:m,style:s,sectionId:b,mode:C,isZeniTenant:g,managersList:f,classList:N,controllersList:h,customerRoleOptions:v,isBankingOnlyTenant:$,isCardsOnlyTenant:P,isEdit:S=!1,person:D,analytics:w})=>{const{getValues:U}=Y(),{append:M,remove:p}=Pe({name:b,control:t}),a=_(),r=U().userItems,n=()=>{const x=((O,K,Z,B,q,H,E)=>({userIndex:O,email:[],role:B==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:B!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:ie(H,E)},productsByUserRole:ee([],q)}:void 0,manager:{allUsers:K,selectedUser:void 0},department:{allOptions:Z.map(te=>({label:te.className,value:te.classId})),selectedOption:void 0}}))(r.length-1+1,f,N,C,v,$,P);setTimeout(()=>M(x,{shouldFocus:!0}))},y=x=>{m(x)},j=()=>{m(-1)},k=()=>{setTimeout(()=>p(o)),m(-1)};return i.jsxs(Xe,{style:s,windowSize:a,"data-testid":I("user-items"),children:[r.length>0?r.map((x,O)=>{const K=r.length;let Z={};if(C==="zeni_only")Z={email:x.email,role:Ke(x.role.selectedOptions,S)??void 0};else{const B=x.nonZeniRole?.userRole.selectedRole,q=B!=null?(x.nonZeniRole?.productsByUserRole[B]??[]).map(E=>De(E.selectedOption?.value)).filter(E=>E!=null):[],H=q.length>0&&le(q);Z={email:x.email,role:q,managerId:H?void 0:x.manager?.selectedUser,departmentId:H?void 0:x.department?.selectedOption?.value}}return i.jsxs(Ye,{"data-testid":I("user-item",x.userIndex.toString()),children:[S?null:i.jsx(i.Fragment,{children:K>1?i.jsx(ne,{windowSize:a,children:i.jsx(Qe,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:y,onCancelClick:j,onRemoveUserItem:k})}):i.jsx(ne,{windowSize:a,children:i.jsx(ye,{children:i.jsx(Ie,{children:i.jsx(je,{windowSize:a,children:z.invitePage.user})})})})}),i.jsx(Ae,{isDisabled:e,sectionId:`${b}.${O}`,control:t,user:Z,mode:C,isZeniTenant:g,managersList:f,classList:N,controllersList:h,customerRoleOptions:v,isBankingOnlyTenant:$,isCardsOnlyTenant:P,isEdit:S,person:D,analytics:w,index:O}),o===O&&a==="small"?i.jsx(ii,{children:i.jsx(we,{onCancelClick:j,onRemoveUserItem:k})}):null]},O)}):null,S?null:i.jsxs(oi,{"data-testid":I("all-user-items-add-user-button"),windowSize:a,onClick:()=>{n?.()},children:[i.jsx(ai,{}),i.jsx(ri,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s,isDisabled:b})=>{const C=_();return i.jsxs(ye,{children:[i.jsx(Ie,{children:i.jsx(je,{windowSize:C,children:`#${e+1} ${z.invitePage.user}`})}),b===void 0?i.jsx(Ge,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s}):null]})},Ge=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s})=>{const b=_();return i.jsx(i.Fragment,{children:b==="small"?i.jsx(i.Fragment,{children:t!==e?i.jsx(si,{"data-testid":I("delete-icon",e.toString()),onClick:()=>o(e)}):null}):i.jsx(i.Fragment,{children:t===e?i.jsx(ei,{children:i.jsx(we,{onCancelClick:m,onRemoveUserItem:s})}):i.jsx(Je,{"data-testid":I("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:i.jsx(Oe,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:i.jsx(ti,{})})})})})},we=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return i.jsxs(i.Fragment,{children:[z.invitePage.deleteConfirmation,i.jsxs(li,{windowSize:o,"data-testid":I("delete-confirmation-wrapper"),children:[i.jsx(se,{"data-testid":I("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:F.buttonWidth.value(o),marginRight:l.sp3},size:"small",variant:"secondary"}),i.jsx(se,{"data-testid":I("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:F.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ke=(e,t)=>t?e:e!=null?[e]:[],Xe=d.div`
95
+ `,F={buttonWidth:new T(70,70),marginBottom:new T(12,L[3]),deleteContentMarginLeft:new T(L[0],L[3]),containerPaddingTop:new T(L[0],L[3]),addUserWrapperGap:new T(L[1],L[2])},z=A.getLocalizedStrings().peoplePage,hi=({isDisabled:e,control:t,deleteConfirmationIndex:o,updateDeleteConfirmationIndex:m,style:s,sectionId:f,mode:C,isZeniTenant:g,managersList:b,classList:N,controllersList:h,customerRoleOptions:v,isBankingOnlyTenant:$,isCardsOnlyTenant:P,isEdit:S=!1,person:D,analytics:w})=>{const{getValues:U}=Y(),{append:M,remove:p}=Pe({name:f,control:t}),a=_(),r=U().userItems,n=()=>{const x=((O,K,Z,B,q,H,E)=>({userIndex:O,email:[],role:B==="zeni_only"?{allOptions:J.roles,selectedOptions:[]}:void 0,nonZeniRole:B!=="zeni_only"?{userRole:{selectedRole:void 0,allRootRole:ie(H,E)},productsByUserRole:ee([],q)}:void 0,manager:{allUsers:K,selectedUser:void 0},department:{allOptions:Z.map(te=>({label:te.className,value:te.classId})),selectedOption:void 0}}))(r.length-1+1,b,N,C,v,$,P);setTimeout(()=>M(x,{shouldFocus:!0}))},y=x=>{m(x)},j=()=>{m(-1)},k=()=>{setTimeout(()=>p(o)),m(-1)};return i.jsxs(Xe,{style:s,windowSize:a,"data-testid":I("user-items"),children:[r.length>0?r.map((x,O)=>{const K=r.length;let Z={};if(C==="zeni_only")Z={email:x.email,role:Ke(x.role.selectedOptions,S)??void 0};else{const B=x.nonZeniRole?.userRole.selectedRole,q=B!=null?(x.nonZeniRole?.productsByUserRole[B]??[]).map(E=>De(E.selectedOption?.value)).filter(E=>E!=null):[],H=q.length>0&&le(q);Z={email:x.email,role:q,managerId:H?void 0:x.manager?.selectedUser,departmentId:H?void 0:x.department?.selectedOption?.value}}return i.jsxs(Ye,{"data-testid":I("user-item",x.userIndex.toString()),children:[S?null:i.jsx(i.Fragment,{children:K>1?i.jsx(ne,{windowSize:a,children:i.jsx(Qe,{curIndex:O,isDisabled:e,deleteConfirmationIndex:o,onDeleteClick:y,onCancelClick:j,onRemoveUserItem:k})}):i.jsx(ne,{windowSize:a,children:i.jsx(ye,{children:i.jsx(Ie,{children:i.jsx(je,{windowSize:a,children:z.invitePage.user})})})})}),i.jsx(Ae,{isDisabled:e,sectionId:`${f}.${O}`,control:t,user:Z,mode:C,isZeniTenant:g,managersList:b,classList:N,controllersList:h,customerRoleOptions:v,isBankingOnlyTenant:$,isCardsOnlyTenant:P,isEdit:S,person:D,analytics:w,index:O}),o===O&&a==="small"?i.jsx(ii,{children:i.jsx(we,{onCancelClick:j,onRemoveUserItem:k})}):null]},O)}):null,S?null:i.jsxs(oi,{"data-testid":I("all-user-items-add-user-button"),windowSize:a,onClick:()=>{n?.()},children:[i.jsx(ai,{}),i.jsx(ri,{children:`${z.invitePage.add} ${z.invitePage.user}`})]})]})},Qe=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s,isDisabled:f})=>{const C=_();return i.jsxs(ye,{children:[i.jsx(Ie,{children:i.jsx(je,{windowSize:C,children:`#${e+1} ${z.invitePage.user}`})}),f===void 0?i.jsx(Ge,{curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s}):null]})},Ge=({curIndex:e,deleteConfirmationIndex:t,onDeleteClick:o,onCancelClick:m,onRemoveUserItem:s})=>{const f=_();return i.jsx(i.Fragment,{children:f==="small"?i.jsx(i.Fragment,{children:t!==e?i.jsx(si,{"data-testid":I("delete-icon",e.toString()),onClick:()=>o(e)}):null}):i.jsx(i.Fragment,{children:t===e?i.jsx(ei,{children:i.jsx(we,{onCancelClick:m,onRemoveUserItem:s})}):i.jsx(Je,{"data-testid":I("all-user-items-delete-icon-wrapper"),className:"delete-icon-wrapper",onClick:()=>o(e),children:i.jsx(Oe,{style:{padding:"2px 5px"},enterDelay:600,title:z.invitePage.remove,placement:"left",children:i.jsx(ti,{})})})})})},we=({onCancelClick:e,onRemoveUserItem:t})=>{const o=_();return i.jsxs(i.Fragment,{children:[z.invitePage.deleteConfirmation,i.jsxs(li,{windowSize:o,"data-testid":I("delete-confirmation-wrapper"),children:[i.jsx(se,{"data-testid":I("delete-confirmation-cancel-button"),label:z.invitePage.cancel,onClick:e,style:{width:F.buttonWidth.value(o),marginRight:l.sp3},size:"small",variant:"secondary"}),i.jsx(se,{"data-testid":I("delete-confirmation-remove-button"),label:z.invitePage.remove,onClick:t,style:{width:F.buttonWidth.value(o)},size:"small",variant:"danger"})]})]})},Ke=(e,t)=>t?e:e!=null?[e]:[],Xe=d.div`
96
96
  display: flex;
97
97
  flex-direction: column;
98
98
  padding-top: ${e=>F.containerPaddingTop.valuePx(e.windowSize)};