@zeniai/web-app-ui 4.14.38-dev → 4.14.38-qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/assets/{ACHDetailsPage-BShpKoIj-D1Wy32uO.js → ACHDetailsPage-BShpKoIj-fWd9thRi.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CFErwUsE-DcUypqs6.js → AIPerformancePage-CFErwUsE-snITC-s1.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B8upbXj9-Cm42EUIq.js → AccountInfoPage-B8upbXj9-vrSWYUF1.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CKpeDot5-CwoUlvIm.js → AccountInfoPageContent-CKpeDot5-D2xjzg6V.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-c30P9O_3-DzDiXoV7.js → AccountLockedInfoModal-c30P9O_3-7xneSCwL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-CTb98mzK.js → AccountReconDetailsDrawerPage-CO9BYPWm-C-h2FArs.js} +1 -1
  7. package/dist/assets/{AccountRow-BrW_eEjE-Cmf0Jids.js → AccountRow-BrW_eEjE-DNRjFVcP.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-XXlQf85I.js → AccountsPromoCardStack-De2yNNuZ-CSno44se.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-riOPLnxb-DAb8sz-Z.js → AddAddressForCardDrawer-riOPLnxb-mAwCf0Pc.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CsOmzC7v-S49ZGsCa.js → AddToWalletPage-CsOmzC7v-Cj06wdOf.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CO2FKDgK.js → AddressRoutes-DQjryUkl.js} +1 -1
  12. package/dist/assets/{AddressScreen-DsuZFaVf.js → AddressScreen-C6vJhn2u.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-D9I9afnB-Df3hrLUY.js → AgingReportsPage-D9I9afnB-yHHj3Wmi.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-D5N0hxeG.js → AiCfoScreen-BAk_dxw0.js} +1 -1
  15. package/dist/assets/{AllUserItems-Dq7NcP-o-Da1Zo4z6.js → AllUserItems-Dq7NcP-o-BAdmqEIT.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-Z5JgfH-e-CEuDNd6O.js → ApAgingDetailPage-Z5JgfH-e-BN9WDlLq.js} +1 -1
  17. package/dist/assets/{AppBasePage-B5sDynhi-CeUmBhIQ.js → AppBasePage-B5sDynhi-KPVBtrs7.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-D9Q8ir0T-DZmwUW8c.js → AppDrawerContent-D9Q8ir0T-CSqphav9.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-DVGvJsQG-yl1UuAvx.js → ApprovalRulesSettingsPage-DVGvJsQG-C6QLqN1r.js} +1 -1
  20. package/dist/assets/{ArAgingChart-Tcu0Lja_-BWNKgMZE.js → ArAgingChart-Tcu0Lja_-BdIZJO8_.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-B5vqkc3v-B1AqC5xt.js → ArAgingDetailPage-B5vqkc3v-BVlxBAMs.js} +1 -1
  22. package/dist/assets/{AttachmentView-CiYfninr-DZhIwWMR.js → AttachmentView-CiYfninr-6iFibggZ.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-tiQUQUbX-DMW3pWLJ.js → BalancesInsightWithToolTip-tiQUQUbX-DzkOWVQM.js} +1 -1
  24. package/dist/assets/{BankAccountSection-EZtscP2z-C2fUrA1M.js → BankAccountSection-EZtscP2z-CnmlGLJZ.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js → BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-Brl3VmAQ.js → BankConnectionsSettingsPage-CQWy9jvt-6r8YHtRG.js} +1 -1
  27. package/dist/assets/{BillDetailPage-pt1k5AQf-C_HrCJfS.js → BillDetailPage-pt1k5AQf-C4XZbQqy.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-5Y0msu-c.js → BillPayApprovalRoutes-BlJjLh3Z.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-EZrQsXba.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-DEQ3gHmS.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-D7U9ywcy.js → BillPayApprovalRulesPage-Cmyo59xB-B9Q9d_tb.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-Dgpz2TLG-BwKkDBie.js → BillPayPromoPage-Dgpz2TLG-CIs4FndH.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-aVWMd64J.js → BillPayRoutes-C3s6um5A.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-DFM86E0U.js → BillPaySetUpPage-B6Pd_eBf-Ds0KjbN5.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CYsvBrFV-B9NfPSZ9.js → BillingSettingsPage-CYsvBrFV-CkCbu93u.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-C01NVO_d.js → BillsBulkReviewDrawerPage-DNnAmqWz-DGjq3gMe.js} +1 -1
  36. package/dist/assets/{BoxItem-B06DK4G--C4opawya.js → BoxItem-B06DK4G--DWbBsOKU.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-BrQSkaHR.js → BusinessVerificationPage-Dgk5gyMv-C_48y3eC.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-D9PxWQrU.js → BusinessVerificationPageScreen-C0MRjLR6.js} +1 -1
  39. package/dist/assets/{BusyIndication-Cd67eHX6-C7aB5h-1.js → BusyIndication-Cd67eHX6-CtvBXiRL.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CcH9jUoZ-HppogTjx.js → CardNumberSubText-CcH9jUoZ-BDFM7Ge9.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-5eysaHGf-CZA31npt.js → CashbackDetailPage-5eysaHGf-CYaLHynC.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-BccKvsWr.js → ChargeCardDetailPage-Diwf-gwZ-BiwCPZo-.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-C-RTGkKK-Cc1az4M9.js → ChargeCardListPage-C-RTGkKK-B2_lKD4-.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-B-bNbtZQ-BuEumynS.js → ChargeCardListTable-B-bNbtZQ-Dci6OLkr.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-CNy0B9A3.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-BOra7Rvn.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-Cz3rNFwM-CdxjjcEa.js → ChargeCardPromoPage-Cz3rNFwM-Bi8y2V52.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-CKV_cGg2.js → ChargeCardRoutes-BN8xSwU5.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-BJuaiwYA.js → ChargeCardSetupPage-BcTB9Yy5-r-uwgYnE.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-W5ryAUPk.js → ChargeCardStatementsPage-B_ERvgmB-CYpHQAai.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-D7_usOVn-DA-Kombi.js → CheckDepositDrawerPage-D7_usOVn-J4mV41ZF.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-h0vIfI8o-Q6XPsw6M.js → CollapsableReportTable-h0vIfI8o-B6GpVtrk.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-DANlup8L.js → CompanyOfficerDetailsSection-CWADX4kZ-BPWcwdB2.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-DF9LFrFD-DPvP8c2P.js → CompanyPassportCard-DF9LFrFD-DKr80bar.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-BtAopyLq-CG1Jq4C9.js → CompanyPassportPage-BtAopyLq-CYUPpkJA.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-Dl29U7F0.js → CompanyPassportScreen-ChKPVSO-.js} +1 -1
  56. package/dist/assets/{CompleteProfile-CsbsHQ0p-DmLd2177.js → CompleteProfile-CsbsHQ0p-Bd33SFhs.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-duD341Gp-CKS6HfNq.js → ConfettiBurst-duD341Gp-DUM2aCzm.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CtmFWvaS.js → ConnectionAuthScreen--S5MRVzc.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-hv51KpGg-CKGSsSPo.js → ConstrainedInnerElement-hv51KpGg-D4gYEuVE.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-Cx-c8OBN.js → CreateOrEditVendorPage-C2xU6c51-DBwl6xUl.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-CazU8VPX.js → CreditCardPaymentDrawerPage-CeagMaCu-WyeO0sfn.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-B8EoF2aF-DHzUxLL4.js → CurrencySelectField-B8EoF2aF-CpaeLEvO.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-CMOVbNs9.js → CustomerOnboardingActivationPage-CIeR2XvU-C2ojqyMc.js} +1 -1
  64. package/dist/assets/{CustomerOnboardingAuthScreen-DtvN_x2S.js → CustomerOnboardingAuthScreen-56Gd68oe.js} +1 -1
  65. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-DfPVnT4w.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BjHJq9e_.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-XN6Qwg1Y.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-Br0jy7Pu-xbtVpPeD.js → CustomerOnboardingNoStepsPage-Br0jy7Pu-BRxlJCi7.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-Dm2Si769-CuOP2t9G.js → CustomerOnboardingPage-Dm2Si769-Cmr-TTFk.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-CBFgnoEY.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-_9JVpPYF.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-C_QLwzau.js → CustomerOnboardingRoutes-BM1FvHLp.js} +1 -1
  71. package/dist/assets/{Dashboard-DReG_aaf-B9cmSG7e.js → Dashboard-DReG_aaf-CJroxq1R.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-BXSlwsR7-CjT08Tnm.js → DashboardReportPage-BXSlwsR7-Bifyqc1s.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-Cr_y84hZ.js → DashboardRoutes-CcC7_3PW.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-B3dtVAe2-DcsdDEM2.js → DashboardSidebarBackgroundAnimation-B3dtVAe2-ceF5qNn2.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-Bp9gU4vX.js → DefaultTenantHome-d55WPyJZ.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-YuSXjbLh-DkrFIYaS.js → DepositAccTransactionItem-YuSXjbLh-B9DRqaZc.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-C-FAvZwD-CLMW6N19.js → DepositAccTransactionListPage-C-FAvZwD-BlyjU0oU.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-CV-2twy7.js → DomesticWireDetailScreen-BavbRsOF.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-BaiSpc0N-BjZ307kD.js → DomesticWireDetailsPage-BaiSpc0N-Ch_6qZVT.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-BpRKCn-0-Ceuu4G9V.js → DownloadOverlay-BpRKCn-0-L4byV6ko.js} +1 -1
  81. package/dist/assets/{DrawerPage-DQ3Xuekx-osFrzw_b.js → DrawerPage-DQ3Xuekx-C25HKZ4X.js} +1 -1
  82. package/dist/assets/{DrawerScreen-0WDRSJz6.js → DrawerScreen-C_bLtDRv.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-8DalSMWH-CybAz5BL.js → EditPeoplePage-8DalSMWH-jeT76aa4.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-CC2BjMkR-UcYvbITo.js → EditReimbursementDetailPage-CC2BjMkR-BA33kcGZ.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-fmWuxHTZ-zOCr7HwT.js → EntityDetailPage-fmWuxHTZ-DkQICR3e.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes-r6uNQDsF.js → EntityDetailRoutes-BJPdCnex.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-vsEMiXYh-xFy88yRd.js → EntitySummarySection-vsEMiXYh-b447Pkl8.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-BoAXmFoS.js → ExpenseAutomationOverviewPage-B3HPfIsK-BWcr0uLA.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-4LJefgNh-n1--5-UE.js → ExpenseAutomationPage-4LJefgNh-CHSe-eX7.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Dd80KoVV.js → ExpenseAutomationRoutes-DVq6I4cf.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-BH7oCW_F-DgICn4el.js → ExpressPayPage-BH7oCW_F-Cn_ygI86.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-DSv61BhF-BsdnfTlO.js → FeaturePreviewPage-DSv61BhF-CnLFcwsn.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-D2Pa-R10.js → FeaturePreviewScreen-DX_dSelb.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-Bgy9MpO4-CvIWpdyW.js → FollowStepsSection-Bgy9MpO4-C5zXR2w0.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-VRq_gimm-BpVLghA7.js → GlobalReviewListPage-VRq_gimm-q7Ngmw6E.js} +1 -1
  96. package/dist/assets/{InformationCardStack-rx0fypl3-OYwqii2C.js → InformationCardStack-rx0fypl3-DX-Qi0u8.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-uJWMkIZL-BDZTXUwm.js → InsightsCardStack-uJWMkIZL-BEQ1nM_Y.js} +1 -1
  98. package/dist/assets/{InsightsSection-ByFf2oGn-ChvKOP1F.js → InsightsSection-ByFf2oGn-O2kwXghv.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-lRHeOJiB.js → IntegrationsSettingsPage-Cj01Nub6-DanmyN_T.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv-BLs5mpsl.js → InternationalWireSwiftDetailsPage-C2PM97sv--IsCSEC1.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-Cr3sDrT--Dj5HT769.js → InternationalWireVerificationPage-Cr3sDrT--CUVEN_2T.js} +1 -1
  102. package/dist/assets/{InviteFormPage-dsMpScvq-pwPoaIw-.js → InviteFormPage-dsMpScvq-BSmEB5t_.js} +1 -1
  103. package/dist/assets/{InvitePageListView-e7vGSbFa-BfSD0kcH.js → InvitePageListView-e7vGSbFa-lWVPew31.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-BT_YVCP4-CQRb2c-r.js → InvitePeoplePage-BT_YVCP4-DtNP7JKz.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-Dg1-uunA-1cshMTVc.js → InvoiceUploadSection-Dg1-uunA-CdV_lYCj.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-CyF9wrb0-CWwHqex_.js → IssueChargeCardPage-CyF9wrb0-C00uByr7.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-3l0Bv00--Bw_81ZJz.js → LabeledAddressValue-3l0Bv00--D4SAlVUn.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-F9kvUR_r-9ELTRqNI.js → LabeledAddressValueField-F9kvUR_r-DWIWqg4N.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BgC8y0D6-BlS4qFJC.js → LabeledControlledCheckBoxField-BgC8y0D6-CE2WH-rg.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-UcVNXOp1.js → LabeledCountryMultiSelectField-3qI_4noU-BeknFMe3.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-BCEINAy7.js → LabeledCreatableSingleSelectField-BV3h9bh7-46gx1dC-.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-rriEcsdr-CcDZw3QZ.js → LabeledDocumentField-rriEcsdr-BwrcuQUL.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-DoVSg3nZ-82mPtDTT.js → LabeledDropDownFormattedTextField-DoVSg3nZ-BFaTo2zA.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CKWZEkTs-C9DTkL1y.js → LabeledEmailInputField-CKWZEkTs-K1-nx9hv.js} +1 -1
  115. package/dist/assets/{LabeledNameField-yaSRe5Vt-cnDt7eal.js → LabeledNameField-yaSRe5Vt-B1WOmtZJ.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-D5QUlcEP-DOA8WTdI.js → LabeledSingleSelectField-D5QUlcEP-CTACJg8Z.js} +1 -1
  117. package/dist/assets/{LabeledText-DGZ7hxY4-BBOC0Eln.js → LabeledText-DGZ7hxY4-BoX7lemD.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-NPjB_w_o.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BjyfWV9u.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--C7mgztQg.js → LabeledZeniRolesDropDownField-jIrTovp--KnDiAlnF.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-Bvbqpltz-BZhW34oI.js → LinkJETransactionPage-Bvbqpltz-TQTwB5Ra.js} +1 -1
  121. package/dist/assets/{LockCardPage-DyEQBJYx-DksW1-ZG.js → LockCardPage-DyEQBJYx-BqE2JwR7.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-C2vHKMNF-CMEceag2.js → LowBalancePopup-C2vHKMNF-B1dLaV9R.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-lAAwAtH7-D8E0BCBV.js → MagicLinkACHDetailsPage-lAAwAtH7-u0ZacaAy.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-cv823ASo-Br4bjkHP.js → MagicLinkDomesticWireDetailsPage-cv823ASo-CPv9egXH.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C_SjsgC9-Dt-hi6Za.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-nDwskxXL.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-DAnRUF47.js → MagicLinkRoutes-JRtQtFqQ.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-BRdR8FPq.js → MagicLinkSignInScreen-DkCDkLiS.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-B1LBYM2F-DRIhjweE.js → MagicLinkSuccessPage-B1LBYM2F-BhpgnlDO.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js → MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-9_XLl4bT-Bq5v10Od.js → MailingDetailsSection-9_XLl4bT-uVaax-qs.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-DXy0Oi_h.js → MobileAppDrawer-D_NdxckS.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-Ct8k8Oax-C0IXgNiJ.js → MoreMenuButton-Ct8k8Oax-Jl7RdYoC.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-CSPIvvUE.js → MyBankConnectionsSettingsPage-CBNYcuP4-D719I_IU.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-n71n40uQ-DnLQhl3T.js → MyPendingActivationChargeCardListPage-n71n40uQ-DGClXmnK.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-BUMIjZYc-CAlzma3h.js → MyProfileSettingsPage-BUMIjZYc-DIf9EMiw.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-CbjFNysh-Ck578WIs.js → NavBarWithPicker-CbjFNysh-Gsj0zn-Z.js} +1 -1
  137. package/dist/assets/{NavigationArrow-Dpc7u6y4-CiTKhYeI.js → NavigationArrow-Dpc7u6y4-BduXlhxm.js} +1 -1
  138. package/dist/assets/{NavigationDots-DCpslVnm-D-4SKVAz.js → NavigationDots-DCpslVnm-wapVz6Ga.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-Cu6PKFa1.js → NewGlobalMerchantPage-B10sY6Q_-DHbg5KdP.js} +1 -1
  140. package/dist/assets/{NoDataChart-9-bhq204-BNHp8Nld.js → NoDataChart-9-bhq204-Ck-FboCC.js} +1 -1
  141. package/dist/assets/{NoDataTable-C6Q2Anpz-BqTI2GFx.js → NoDataTable-C6Q2Anpz-Dt08aukB.js} +1 -1
  142. package/dist/assets/{NotFoundPage-4mPhXD5--pWqZwF3K.js → NotFoundPage-4mPhXD5--B-cMmgSa.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-MU1vvTl3.js → NotFoundScreen-DIsBJSaH.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-CiTIiIjp.js → NotificationRoutes-BlE0nk7I.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-BTxCoB_b-1ycVlHAN.js → NotificationSettingsPage-BTxCoB_b-GR1fpvE7.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-CylnViXd-DEcj9I_Q.js → NotificationsListConfig-CylnViXd-DiKD1VlE.js} +1 -1
  147. package/dist/assets/{NotificationsPage-D41h0mS6-lOcsglza.js → NotificationsPage-D41h0mS6-C9DBLIC1.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-BV_uJSCh-ClxLsbjb.js → OpExByVendorPage-BV_uJSCh-CweIBxzu.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-CkUYOhlh-C1amAlX0.js → OverlayContainerPage-CkUYOhlh-BLbo4mkL.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-Cj3UWjG4-C0webWAA.js → PandLWithForecastPage-Cj3UWjG4-DJOh_oXL.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-t6sqNQ0M.js → PandLWithForecastRoutes-Du4Y6NM_.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-DCuXfW77.js → PaymentAccountSetupBillingAddressSection-BWFl695q-COL-e_83.js} +1 -1
  153. package/dist/assets/{PeoplePage-DcGqWtAP-kL10xLdE.js → PeoplePage-DcGqWtAP-DPX6yuPR.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-DvMa0FHX.js → PeopleRoutes-BBTvXpYa.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-C97G2NlX.js → PerformanceRoutes-BwZ7C83C.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-C9JoJQeH-y7_emSya.js → ProductsCarousel-C9JoJQeH-CkXkxCBK.js} +1 -1
  157. package/dist/assets/{PromoBaseCards-mFk7SsOr-B_0Pg0f0.js → PromoBaseCards-mFk7SsOr-aETB5Ygs.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-CJsIrEZq-CgfqE4WV.js → QBOConnectionDialog-CJsIrEZq-D0yN3PXk.js} +1 -1
  159. package/dist/assets/{QBOConnectionScreen-1Q56jIZw.js → QBOConnectionScreen--nNex-HH.js} +1 -1
  160. package/dist/assets/{QBOSetupSection-C_fqHza_-B72ZoKWs.js → QBOSetupSection-C_fqHza_-KCFm35xW.js} +1 -1
  161. package/dist/assets/{ReferralListScreen-DJHg0qdR.js → ReferralListScreen-DTl3cgUl.js} +1 -1
  162. package/dist/assets/{ReimbursementApprovalRoutes-5hvNi1ri.js → ReimbursementApprovalRoutes-Chwz3Zd6.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-C22qLIuK.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-CZta2n6p.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE15OHBL.js → ReimbursementApprovalRuleDetailScreen-3osscpq2.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-D_08-i4Q.js → ReimbursementApprovalRulesPage-C2zNa8dT-Dx_jUEM7.js} +1 -1
  166. package/dist/assets/{ReimbursementDetailPage-B1o8ea57-pJYrfLLt.js → ReimbursementDetailPage-B1o8ea57-Dof3tsbT.js} +1 -1
  167. package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-CKWnZWeo.js → ReimbursementPromoPage-Df5QmXzC-BHlanHYp.js} +1 -1
  168. package/dist/assets/{ReimbursementRoutes-RM0BTfix.js → ReimbursementRoutes-CNHtnGTV.js} +1 -1
  169. package/dist/assets/{ReimbursementSetUpPage-D450RVsP-XThkQYrn.js → ReimbursementSetUpPage-D450RVsP-w7ex11t8.js} +1 -1
  170. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-Dpv01EXR.js → ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-CGZmi3lN.js} +1 -1
  171. package/dist/assets/{ReloadCard-D5cvzWxe-BiXLC8Nt.js → ReloadCard-D5cvzWxe-DYoPEBgn.js} +1 -1
  172. package/dist/assets/{ReportTableViewSelector-Ig41fOPb-DWudlBCf.js → ReportTableViewSelector-Ig41fOPb-rBlSQ3e9.js} +1 -1
  173. package/dist/assets/{ReportsPage-CRAVAUTO-B8oVNLjt.js → ReportsPage-CRAVAUTO-CDAZl-Wm.js} +1 -1
  174. package/dist/assets/{ReportsRoutes-yGE_MThE.js → ReportsRoutes-BpBrdYFu.js} +1 -1
  175. package/dist/assets/{RevenueChart-DtQu0KAn-8Nxk30mB.js → RevenueChart-DtQu0KAn-CJ0e9bCc.js} +1 -1
  176. package/dist/assets/{ReviewDetailsPage-vui4TqeA-BHywFcJg.js → ReviewDetailsPage-vui4TqeA-CrYNT8pq.js} +1 -1
  177. package/dist/assets/{ReviewOverlay-CUnL7H-a-C2Hax1dX.js → ReviewOverlay-CUnL7H-a-B6WGfdWG.js} +1 -1
  178. package/dist/assets/{RewardsRoutes-BLdquuw-.js → RewardsRoutes-j_a3QqIz.js} +1 -1
  179. package/dist/assets/{RoleWithToolTip-x2rnvWn9-CndfBCzZ.js → RoleWithToolTip-x2rnvWn9-BcsseCTF.js} +1 -1
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D_Cls2jC-DT2hV6fF.js → ScheduleDetailsFixedAssetsPage-D_Cls2jC-BbXiHOdz.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsPage-DmSLuM8g-BJX_WigV.js → ScheduleDetailsPage-DmSLuM8g-VVVHjW5Q.js} +1 -1
  182. package/dist/assets/{ScheduleSequenceTable-js9_P_Lo-C0aHTQ-B.js → ScheduleSequenceTable-js9_P_Lo-D3P2gakZ.js} +1 -1
  183. package/dist/assets/{ScreenRoutes-Ckyy2m-9.js → ScreenRoutes-tN3DKXwj.js} +2 -2
  184. package/dist/assets/{SetUpAccountSection-DYRWWXcL-BJMCbqBu.js → SetUpAccountSection-DYRWWXcL-Bt4sXwAD.js} +1 -1
  185. package/dist/assets/{SettingsRoutes-HPPA3EWU.js → SettingsRoutes-B7xS4Bv0.js} +1 -1
  186. package/dist/assets/{SetupPagesScreen-Cz2ybo_2.js → SetupPagesScreen-Dec5-vG9.js} +1 -1
  187. package/dist/assets/{SignIn-CUJkZb3S-Cj2EgQsz.js → SignIn-CUJkZb3S-Cl_ZsA0p.js} +1 -1
  188. package/dist/assets/{SignInScreen-BSE9oghj.js → SignInScreen-BCab6yM0.js} +1 -1
  189. package/dist/assets/{SignOutScreen-CDL-h93X.js → SignOutScreen-BVFjhNbz.js} +1 -1
  190. package/dist/assets/{SpendManagementListViewPage-BieufnDb-Cqid6Xsk.js → SpendManagementListViewPage-BieufnDb-BvlrNZeN.js} +3 -3
  191. package/dist/assets/{SpendManagementPerTabPage-BmUp80QX-B1ZhgxKn.js → SpendManagementPerTabPage-BmUp80QX-5QSrTfVD.js} +1 -1
  192. package/dist/assets/{SpendManagementSection-DKZNTYXT-D04hpJmz.js → SpendManagementSection-DKZNTYXT-JIQihEyD.js} +1 -1
  193. package/dist/assets/{StatementItem-Dyt5Q0eR-jB2YMdu5.js → StatementItem-Dyt5Q0eR-DMqzBE6A.js} +1 -1
  194. package/dist/assets/{StatementsPage-CbtnJM5y-y3-8Ovdn.js → StatementsPage-CbtnJM5y-DFFjoYfI.js} +1 -1
  195. package/dist/assets/{StatusSwitcher-BfQ9VbBH-C2uXiIL4.js → StatusSwitcher-BfQ9VbBH-Dgu_WG_g.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-CzGiuhk3-C7cKUv_v.js → SubTabSwitcher-CzGiuhk3-ryyXc5wR.js} +1 -1
  197. package/dist/assets/{SuccessAnimation-DA3343II-B6vDBJ0_.js → SuccessAnimation-DA3343II-CPpeKMV2.js} +1 -1
  198. package/dist/assets/{SummaryCard-D61xzK3a-CfR23TFg.js → SummaryCard-D61xzK3a-QerUeyNc.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-CyZxZdJB-DrITidSC.js → TaskDetailPage-CyZxZdJB-Ciw5Uu5K.js} +1 -1
  200. package/dist/assets/{TaskListScreen-DwAEl1NC.js → TaskListScreen-j6aXmdAS.js} +1 -1
  201. package/dist/assets/{TaskManagementPage-ucVAdv7x-Msj3UnnC.js → TaskManagementPage-ucVAdv7x-fUgA7HRS.js} +1 -1
  202. package/dist/assets/{TaskRoutes-Bz1uRNCx.js → TaskRoutes-CGRMEck8.js} +1 -1
  203. package/dist/assets/{TimeRangeSwitcher-C3jXm39I-fOK0S_yE.js → TimeRangeSwitcher-C3jXm39I-0VbXr2bN.js} +1 -1
  204. package/dist/assets/{TimeframeSwitcher-CcYg-YQJ-DfqszobX.js → TimeframeSwitcher-CcYg-YQJ-DOGZ9gMN.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcherWithToggle-w4YJno-p-mLBmOb3v.js → TimeframeSwitcherWithToggle-w4YJno-p-C9o85JE8.js} +1 -1
  206. package/dist/assets/{TopExCard-D2PRxvFc-3B8t-gu0.js → TopExCard-D2PRxvFc-DYT8NSuE.js} +1 -1
  207. package/dist/assets/{TopExDetailPage-C0uHdU7N-CImodBfZ.js → TopExDetailPage-C0uHdU7N-nxnaVy-a.js} +1 -1
  208. package/dist/assets/{TransactionActivityLogPage-CqYb19tY-MGx1R4Ww.js → TransactionActivityLogPage-CqYb19tY-BdO5tRUg.js} +1 -1
  209. package/dist/assets/{TransactionDetailPage-D-NR_yZG-CxUKWZX4.js → TransactionDetailPage-D-NR_yZG-Ci72o0wJ.js} +1 -1
  210. package/dist/assets/{TransactionDetailRoutes-CpDSsFwB.js → TransactionDetailRoutes-DT2_L5nu.js} +1 -1
  211. package/dist/assets/{TransactionDetailScreen-DfuoY_gg.js → TransactionDetailScreen-C-kbZYkM.js} +1 -1
  212. package/dist/assets/{TransactionList-f6yB-byH-FETk5Iif.js → TransactionList-f6yB-byH-BbsyqjjD.js} +1 -1
  213. package/dist/assets/{TransactionListBig-BrDWayQS-BY28Hg37.js → TransactionListBig-BrDWayQS-CYutGkGW.js} +1 -1
  214. package/dist/assets/{TransactionListPage-C-Z62y2d-DONuCLTJ.js → TransactionListPage-C-Z62y2d-Cs4hNKp4.js} +1 -1
  215. package/dist/assets/{TransactionListRoutes-Bw5edFOJ.js → TransactionListRoutes-CS-Aed2O.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-DBSEzxOy.js → TransactionVendorDetailPage-CQQuAR6V-BrnkOOxy.js} +1 -1
  217. package/dist/assets/{TransferDrawerPage-DfFm-1-3-BhX0O4LO.js → TransferDrawerPage-DfFm-1-3-BUPWCPmv.js} +1 -1
  218. package/dist/assets/{TreasuryOverviewPage-CKSanlUG-CXaeORdV.js → TreasuryOverviewPage-CKSanlUG-hcTuDL8m.js} +1 -1
  219. package/dist/assets/{TreasuryPromoPage-Dyip3H10-C2tUOOp5.js → TreasuryPromoPage-Dyip3H10-CaL--OIv.js} +1 -1
  220. package/dist/assets/{TreasuryRoutes-j5E27301.js → TreasuryRoutes-2SWOS6G5.js} +1 -1
  221. package/dist/assets/{TreasuryStatementsPage-mljf2Van-DcI9l-or.js → TreasuryStatementsPage-mljf2Van-BxW1eeF3.js} +1 -1
  222. package/dist/assets/{TreasuryTaxLetterPage-D3cV3a-8-ZsZIzn5I.js → TreasuryTaxLetterPage-D3cV3a-8-BTBXzOEj.js} +1 -1
  223. package/dist/assets/{TrendChart-fFlHCvNx-QKskVgw6.js → TrendChart-fFlHCvNx-C-NDpGcx.js} +1 -1
  224. package/dist/assets/{TrendWithTransactions-It4KDov3-DY_vu1lx.js → TrendWithTransactions-It4KDov3-SqmxJLwp.js} +1 -1
  225. package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-BJNWUYth.js → UncategorizedAccountsMappingPage-BxBz2Ce0-BuxR3cW9.js} +1 -1
  226. package/dist/assets/{UnitIntegrationPage-gVgsk2ji-D4-73jRv.js → UnitIntegrationPage-gVgsk2ji-Be3rQKfw.js} +1 -1
  227. package/dist/assets/{UploadAdditionalDocumentOverlay-C5m8jqup-BRodE0Ls.js → UploadAdditionalDocumentOverlay-C5m8jqup-BuDXKqpt.js} +1 -1
  228. package/dist/assets/{Vendor2FAPopup-DRwBzOwn-DD_9hpy1.js → Vendor2FAPopup-DRwBzOwn-Bu88G5Uf.js} +1 -1
  229. package/dist/assets/{VendorACHDetailsPage-By2Ya2bv-Cwsi_OAL.js → VendorACHDetailsPage-By2Ya2bv-BZiTrUhh.js} +1 -1
  230. package/dist/assets/{VendorDetailPage-jci1LqX3-BHXhYJF0.js → VendorDetailPage-jci1LqX3-CcT9Y7_3.js} +1 -1
  231. package/dist/assets/{VendorDomesticWireDetailsPage-uIDE-n5v-uvktM6eq.js → VendorDomesticWireDetailsPage-uIDE-n5v-CZQCRVkI.js} +1 -1
  232. package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-BDiOOpIL.js → VendorFiling1099EditablePage-8pYT3u-X-E-s_MI6R.js} +1 -1
  233. package/dist/assets/{VendorFirstReviewPage-CafakxA1-DGimiBs4.js → VendorFirstReviewPage-CafakxA1-2lhthp_z.js} +1 -1
  234. package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-Cgs5W7gM.js → VendorInternationalWireDetailsPage-DJeI-ZFW-DsIia0J7.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Co-5nTam-xgR7Rh7n.js → VendorInternationalWireSwiftDetailsPage-Co-5nTam-ShOnk0vp.js} +1 -1
  236. package/dist/assets/{VendorsAccountsSection-YX2g8ETe-YNhvXO1d.js → VendorsAccountsSection-YX2g8ETe-DB_XPKqM.js} +1 -1
  237. package/dist/assets/{VendorsRoutes-n5RcX0Vf.js → VendorsRoutes-BKpp91Ol.js} +1 -1
  238. package/dist/assets/{VerifyDevice-DeHW4GAi-ejYUh2le.js → VerifyDevice-DeHW4GAi-Xw2L2uDk.js} +1 -1
  239. package/dist/assets/{VideoPlayer-DxIfGrPu-C3cW7OOT.js → VideoPlayer-DxIfGrPu-CxZJ5OEW.js} +1 -1
  240. package/dist/assets/{VideoPopup-CUP7ctgS-Cy6Bpggh.js → VideoPopup-CUP7ctgS-COd6keBu.js} +1 -1
  241. package/dist/assets/{WiseConfirmationScreen-CJyMiRdY.js → WiseConfirmationScreen-B8p2H0wE.js} +1 -1
  242. package/dist/assets/{ZeniAccountDetailPage-7NdkdSg3-trkVyM14.js → ZeniAccountDetailPage-7NdkdSg3-7e7alBpD.js} +1 -1
  243. package/dist/assets/{ZeniAccountListViewPage-B-cs_xnc-DkcNyo5a.js → ZeniAccountListViewPage-B-cs_xnc-DPQ7NJOh.js} +1 -1
  244. package/dist/assets/{ZeniAccountNavBarPieces-CjRip0v9-Bv00yUCA.js → ZeniAccountNavBarPieces-CjRip0v9-x_CaXaVR.js} +1 -1
  245. package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-BWgu0hz6.js → ZeniAccountPromoPage-BikXtkeH-nFNGwlDD.js} +1 -1
  246. package/dist/assets/{ZeniAccountRoutes-BdqNU648.js → ZeniAccountRoutes-C-qtUClC.js} +1 -1
  247. package/dist/assets/{ZeniAccountSetupPage-BRBsijVt-BBTbKTOF.js → ZeniAccountSetupPage-BRBsijVt-ZM0-bMDB.js} +1 -1
  248. package/dist/assets/{ZeniAccountStatementScreen-DVjRkXeL.js → ZeniAccountStatementScreen-BtXMxdDS.js} +1 -1
  249. package/dist/assets/{ZeniAvatar-pjdoqfWE-DmYSRpHD.js → ZeniAvatar-pjdoqfWE-BIF5P_G9.js} +1 -1
  250. package/dist/assets/{ZeniCopyright-DDGvdmLF-CPeY3qcE.js → ZeniCopyright-DDGvdmLF-DwYXGCDa.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-K3F-G3-0-pGSyeWuf.js → ZeniDatePicker-K3F-G3-0-D-lxuOwz.js} +1 -1
  252. package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-B_jBC96s.js → ZeniTransferAmountSlider-Cdg0TlHk-DNSmlK3y.js} +1 -1
  253. package/dist/assets/{analyticsHelper-CTH_kB-0.js → analyticsHelper-CMK0FF_Q.js} +1 -1
  254. package/dist/assets/{analyticsHelper-D9xdJK4b-DkISjLhy.js → analyticsHelper-D9xdJK4b-C4FHTXha.js} +1 -1
  255. package/dist/assets/{calculateSize-zPet_z9g-UKcDxIjM.js → calculateSize-zPet_z9g-DAbLjY3A.js} +1 -1
  256. package/dist/assets/{chartTypes-Dq3hUz_T-DlStt0to.js → chartTypes-Dq3hUz_T-boMzYtYd.js} +1 -1
  257. package/dist/assets/{common-kiEGPQ33-BvLj55nP.js → common-kiEGPQ33-i2MKa07U.js} +1 -1
  258. package/dist/assets/{commonDimensions-CGHIQ2To-BVJ-7SGP.js → commonDimensions-CGHIQ2To-BnULbNsl.js} +1 -1
  259. package/dist/assets/{commonTypes-BAJPaPYg-qcmBeNCl.js → commonTypes-BAJPaPYg-2nCYtMXG.js} +1 -1
  260. package/dist/assets/{downloadPdf-BI2Y41h2-C3b-r1N_.js → downloadPdf-BI2Y41h2-Bu4K6jWB.js} +1 -1
  261. package/dist/assets/{getLocaleForTenant-BPL6tSgt.js → getLocaleForTenant-BxHoiee7.js} +1 -1
  262. package/dist/assets/{helper-z5-P4a-y-DRvyDGbW.js → helper-z5-P4a-y-BYdbtuif.js} +1 -1
  263. package/dist/assets/{index-BocbTmE1.js → index-DBW4633P.js} +5 -5
  264. package/dist/assets/{mapLoadingInProgressToTreeNode-DrC2Zs2y-B2Wt05iy.js → mapLoadingInProgressToTreeNode-DrC2Zs2y-BM0pLknf.js} +1 -1
  265. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-DAKgnUEj.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-D2PE8B4K.js} +1 -1
  266. package/dist/assets/{mapSpacerToTreeNode-DMDEaLzQ-lo7UbRO0.js → mapSpacerToTreeNode-DMDEaLzQ-A_DJ4_H7.js} +1 -1
  267. package/dist/assets/{mapTimeframeBalancesToTreeNode-CW_wzI5T-BaeuL7EQ.js → mapTimeframeBalancesToTreeNode-CW_wzI5T-u6fAoA1F.js} +1 -1
  268. package/dist/assets/{mapTimeframeBalancesToTreeNode-DvfKBCs5-Dl1ySEwF.js → mapTimeframeBalancesToTreeNode-DvfKBCs5-pYXcOLbR.js} +1 -1
  269. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-CUYmne9-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-BAYHZBxR.js} +1 -1
  270. package/dist/assets/{routePaths-_EQ7HBkZ.js → routePaths-GPfd2GU_.js} +1 -1
  271. package/dist/assets/{toCOABalancesWithID-P7keEtAg-CVzjqCh4.js → toCOABalancesWithID-P7keEtAg-DjgvOCvR.js} +1 -1
  272. package/dist/assets/{toChartData-BUf5HHim-BMyIU8Hn.js → toChartData-BUf5HHim-BlDtF069.js} +1 -1
  273. package/dist/assets/{uploadAttachment-DJA30WSD-Mme28mRP.js → uploadAttachment-DJA30WSD-plv7LCEU.js} +1 -1
  274. package/dist/assets/{uploadReceipts-CqDftTRt-DnJMDyN6.js → uploadReceipts-CqDftTRt-Dkc7WGe9.js} +1 -1
  275. package/dist/assets/{useInitialThreadRequest-GWflkp6K.js → useInitialThreadRequest-CIvC2FkG.js} +1 -1
  276. package/dist/assets/{withTransactionSidePanel-D4o5a7Hq.js → withTransactionSidePanel-C2pbazis.js} +1 -1
  277. package/dist/index.html +1 -1
  278. package/package.json +1 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-uJRgyQW8.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as E,P as H,O as A,c8 as O,V as n,bR as V,bS as F,bT as U,M as q,a9 as G,x as s,eA as J,ar as X,o as Z,j as t}from"./index-BocbTmE1.js";import{a as h}from"./sentry-DINNQYpi.js";import{n as d}from"./mui-C_CXevf3.js";import{W as K,A as Q}from"./BankAccountWarningSection-DCfyIUlu-D_RVGDL2.js";import{M as Y}from"./MagicLinkTitleSection-ClAnBBt9-BWJjfwMs.js";import{e as ee}from"./BankAccountSection-EZtscP2z-C2fUrA1M.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]="9d7d119b-94b9-4d85-9b24-72f9051496b4",e._sentryDebugIdIdentifier="sentry-dbid-9d7d119b-94b9-4d85-9b24-72f9051496b4")}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:j,onBackClick:g,onACHDetailsUpdated:v,onFetchBankName:D,isMagicLink:l,companyName:P,currencySymbol:M,amount:$,bankAccountContext:z})=>{const r=E(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[I,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,L=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(W,w)=>{const f=w[m].bankRoutingNumber;v(w),W===`${m}.bankRoutingNumber`&&f?.length===9&&J.test(f)===!0&&D?.(f)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&j("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[I===!0?n.jsx(V,{titleComponent:n.jsx(U,{children:c.discardTitle}),descriptionComponent:n.jsx(F,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(K,{header:l?n.jsx(Y,{companyName:P??"",currencySymbol:M??"",amount:$??0}):k.addACHDetails,isMagicLink:l,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Q,{warningText:p.accountExistWarning}):null,z==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(q,{...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:l?p.submitDetails:p.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!l,cancelBtn:{label:L.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=d.div`
1
+ import{X as E,P as H,O as A,c8 as O,V as n,bR as V,bS as F,bT as U,M as q,a9 as G,x as s,eA as J,ar as X,o as Z,j as t}from"./index-DBW4633P.js";import{a as h}from"./sentry-DINNQYpi.js";import{n as d}from"./mui-C_CXevf3.js";import{W as K,A as Q}from"./BankAccountWarningSection-DCfyIUlu-DWGOWwU8.js";import{M as Y}from"./MagicLinkTitleSection-ClAnBBt9-Cym29B_c.js";import{e as ee}from"./BankAccountSection-EZtscP2z-CnmlGLJZ.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]="9d7d119b-94b9-4d85-9b24-72f9051496b4",e._sentryDebugIdIdentifier="sentry-dbid-9d7d119b-94b9-4d85-9b24-72f9051496b4")}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:j,onBackClick:g,onACHDetailsUpdated:v,onFetchBankName:D,isMagicLink:l,companyName:P,currencySymbol:M,amount:$,bankAccountContext:z})=>{const r=E(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[I,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,L=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(W,w)=>{const f=w[m].bankRoutingNumber;v(w),W===`${m}.bankRoutingNumber`&&f?.length===9&&J.test(f)===!0&&D?.(f)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&j("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[I===!0?n.jsx(V,{titleComponent:n.jsx(U,{children:c.discardTitle}),descriptionComponent:n.jsx(F,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(K,{header:l?n.jsx(Y,{companyName:P??"",currencySymbol:M??"",amount:$??0}):k.addACHDetails,isMagicLink:l,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Q,{warningText:p.accountExistWarning}):null,z==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(q,{...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:l?p.submitDetails:p.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!l,cancelBtn:{label:L.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=d.div`
2
2
  padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
3
  padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
4
  padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{x as k,m as y1,X as y,O as j,bF as j1,V as C,bo as $1,o as r,E as v1,w as D,bI as b1,iZ as V,j as n,bg as f,bO as h1,e as c,W as S1,an as p1,y as m1,i_ as g,C as x,i$ as Z1,j0 as B1,T as S,c2 as J,ar as X,H as W1,fH as F1,bH as u1,l as _1}from"./index-BocbTmE1.js";import{a as e}from"./sentry-DINNQYpi.js";import{n as o,c as D1,k as H1}from"./mui-C_CXevf3.js";import{GR as w,GS as e1,GT as W}from"./zeni-epic-state-a7Sj5mjO.js";import{R as P1}from"./NavBarWithPicker-CbjFNysh-Ck578WIs.js";import{t as V1}from"./clock-CJkylEKt-BFtrn8ev.js";import{o as T1}from"./dollar-round-D18u7nlm-BAPPb_YV.js";import{J as k1,X as x1,Y as I,C as z1,B as O1,K as t1}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.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]="157e69cb-0255-4ccd-926d-875da8574d3a",t._sentryDebugIdIdentifier="sentry-dbid-157e69cb-0255-4ccd-926d-875da8574d3a")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.div`
1
+ import{x as k,m as y1,X as y,O as j,bF as j1,V as C,bo as $1,o as r,E as v1,w as D,bI as b1,iZ as V,j as n,bg as f,bO as h1,e as c,W as S1,an as p1,y as m1,i_ as g,C as x,i$ as Z1,j0 as B1,T as S,c2 as J,ar as X,H as W1,fH as F1,bH as u1,l as _1}from"./index-DBW4633P.js";import{a as e}from"./sentry-DINNQYpi.js";import{n as o,c as D1,k as H1}from"./mui-C_CXevf3.js";import{GR as w,GS as e1,GT as W}from"./zeni-epic-state-a7Sj5mjO.js";import{R as P1}from"./NavBarWithPicker-CbjFNysh-Gsj0zn-Z.js";import{t as V1}from"./clock-CJkylEKt-BFtrn8ev.js";import{o as T1}from"./dollar-round-D18u7nlm-BAPPb_YV.js";import{J as k1,X as x1,Y as I,C as z1,B as O1,K as t1}from"./recharts-CTWfsY-L.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.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]="157e69cb-0255-4ccd-926d-875da8574d3a",t._sentryDebugIdIdentifier="sentry-dbid-157e69cb-0255-4ccd-926d-875da8574d3a")}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};
@@ -1,4 +1,4 @@
1
- import{y as h,X as b,V as t,gi as x,o as r,x as d,h2 as y,j as i}from"./index-BocbTmE1.js";import{a as D}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{K as P}from"./StatusSwitcher-BfQ9VbBH-C2uXiIL4.js";import{r as $}from"./AccountInfoPageContent-CKpeDot5-CwoUlvIm.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-C3b-r1N_.js";import"./commonDimensions-CGHIQ2To-BVJ-7SGP.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]="f2550e93-8889-4da1-a438-8b5d055cbb43",e._sentryDebugIdIdentifier="sentry-dbid-f2550e93-8889-4da1-a438-8b5d055cbb43")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:g,currentTenant:p,onDismissClick:f})=>{const u=h(),l=b(),[c,m]=D.useState("achDetails");return t.jsxs(A,{children:[t.jsx(x,{title:"",backgroundColor:u.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:f}),t.jsx(T,{windowSize:l,children:a.accountName}),t.jsx(z,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w=>{m(w)},isSwitcherLeftAlign:!0})}),t.jsx(j,{windowSize:l,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:g,currentTenant:p,depositAccount:a})})]})},j=o.div`
1
+ import{y as h,X as b,V as t,gi as x,o as r,x as d,h2 as y,j as i}from"./index-DBW4633P.js";import{a as D}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{K as P}from"./StatusSwitcher-BfQ9VbBH-Dgu_WG_g.js";import{r as $}from"./AccountInfoPageContent-CKpeDot5-D2xjzg6V.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./downloadPdf-BI2Y41h2-Bu4K6jWB.js";import"./commonDimensions-CGHIQ2To-BnULbNsl.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]="f2550e93-8889-4da1-a438-8b5d055cbb43",e._sentryDebugIdIdentifier="sentry-dbid-f2550e93-8889-4da1-a438-8b5d055cbb43")}catch{}})();const s={pageTitleMarginXAxis:new d(i[4],i[8]),containerPaddingLeft:new d(i[3],i[6],i[8]),containerPaddingRight:new d(i[3],i[6],i[8])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:g,currentTenant:p,onDismissClick:f})=>{const u=h(),l=b(),[c,m]=D.useState("achDetails");return t.jsxs(A,{children:[t.jsx(x,{title:"",backgroundColor:u.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:f}),t.jsx(T,{windowSize:l,children:a.accountName}),t.jsx(z,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w=>{m(w)},isSwitcherLeftAlign:!0})}),t.jsx(j,{windowSize:l,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:g,currentTenant:p,depositAccount:a})})]})},j=o.div`
2
2
  padding-left: ${e=>`${s.containerPaddingLeft.valuePx(e.windowSize)}`};
3
3
  padding-right: ${e=>`${s.containerPaddingRight.valuePx(e.windowSize)}`};
4
4
  `,A=o.div`
@@ -1,4 +1,4 @@
1
- import{X as ke,gr as Ne,h3 as F,V as r,bo as L,L as we,E as z,o,ar as je,O as Ae,by as Se,e as E,C as re,aA as Te,gv as ve,l as oe}from"./index-BocbTmE1.js";import{a as n}from"./sentry-DINNQYpi.js";import{n as t}from"./mui-C_CXevf3.js";import{w as De}from"./downloadPdf-BI2Y41h2-C3b-r1N_.js";import{o as Ce}from"./commonDimensions-CGHIQ2To-BVJ-7SGP.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[$]="375e3b90-0efa-4d85-97c4-f2ce53ab77e4",e._sentryDebugIdIdentifier="sentry-dbid-375e3b90-0efa-4d85-97c4-f2ce53ab77e4")}catch{}})();const{common:{strings:Le,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:a}},downloads:Q}}=Ae.getLocalizedStrings(),We=({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,O]=n.useState(!1),[j,q]=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=F(u.zeniAccountsConfigDetail.mailingAddress).text2,p=F(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),q(!1),O(!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,X)=>{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(Oe,{children:y}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(qe,{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":O(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":q(!0)}})()}})})}):null,i]}),X!=null?r.jsx(He,{children:X}):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(Re,{children:m==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Ee,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?Q.downloading:Q.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{X as ke,gr as Ne,h3 as F,V as r,bo as L,L as we,E as z,o,ar as je,O as Ae,by as Se,e as E,C as re,aA as Te,gv as ve,l as oe}from"./index-DBW4633P.js";import{a as n}from"./sentry-DINNQYpi.js";import{n as t}from"./mui-C_CXevf3.js";import{w as De}from"./downloadPdf-BI2Y41h2-Bu4K6jWB.js";import{o as Ce}from"./commonDimensions-CGHIQ2To-BnULbNsl.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[$]="375e3b90-0efa-4d85-97c4-f2ce53ab77e4",e._sentryDebugIdIdentifier="sentry-dbid-375e3b90-0efa-4d85-97c4-f2ce53ab77e4")}catch{}})();const{common:{strings:Le,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:K},billPay:{vendorCreation:{achDetails:a}},downloads:Q}}=Ae.getLocalizedStrings(),We=({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,O]=n.useState(!1),[j,q]=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=F(u.zeniAccountsConfigDetail.mailingAddress).text2,p=F(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),q(!1),O(!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,X)=>{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(Oe,{children:y}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(qe,{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":O(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":q(!0)}})()}})})}):null,i]}),X!=null?r.jsx(He,{children:X}):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(Re,{children:m==="achDetails"?K.achTitle:K.wireTitle}),r.jsxs(Ee,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?Q.downloading:Q.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}
2
2
 
3
3
  ${a.accountTypeLabel} ${s.accountSubType.name??""}
4
4
 
@@ -1,4 +1,4 @@
1
- import{y as g,O as l,V as t,l as x,au as d,a as b,o,e as m,D as y,bu as j,bn as $}from"./index-BocbTmE1.js";import{n as r}from"./mui-C_CXevf3.js";import{t as w}from"./handshake-BPg58FML-Cw8-rpU_.js";import{o as k,r as v}from"./unlock-BPWn2I5L-fA9hPtxv.js";import"./sentry-DINNQYpi.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="ea77cc3e-c2b2-439b-b19a-af4d4c63b727",e._sentryDebugIdIdentifier="sentry-dbid-ea77cc3e-c2b2-439b-b19a-af4d4c63b727")}catch{}})();const p="support@zeni.ai",s=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const n=g(),u=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=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(c,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:n,children:t.jsx(I,{})}),t.jsxs(d,{children:[s.tryAgainAfter,t.jsxs(C,{children:[u,t.jsx(_,{children:"•"}),f]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:n,children:t.jsx(A,{})}),t.jsxs(d,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(b,{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 d,a as b,o,e as m,D as y,bu as j,bn as $}from"./index-DBW4633P.js";import{n as r}from"./mui-C_CXevf3.js";import{t as w}from"./handshake-BPg58FML-Cw8-rpU_.js";import{o as k,r as v}from"./unlock-BPWn2I5L-fA9hPtxv.js";import"./sentry-DINNQYpi.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="ea77cc3e-c2b2-439b-b19a-af4d4c63b727",e._sentryDebugIdIdentifier="sentry-dbid-ea77cc3e-c2b2-439b-b19a-af4d4c63b727")}catch{}})();const p="support@zeni.ai",s=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,h=({unlockDate:e,onSubmit:i})=>{const n=g(),u=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),f=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(c,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(c,{theme:n,children:t.jsx(I,{})}),t.jsxs(d,{children:[s.tryAgainAfter,t.jsxs(C,{children:[u,t.jsx(_,{children:"•"}),f]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(c,{theme:n,children:t.jsx(A,{})}),t.jsxs(d,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(b,{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{P as xe,V as t,M as fe,bR as ye,bS as ge,bT as je,o as c,d as Se,ar as K,H as Q,a8 as ke,I as be,df as $e,ev as ve,cv as G,cV as X,O as we,l as d,y as Ee,a5 as Ce,aU as ee,dh as te,$ as Re,e as ne,aA as Pe}from"./index-BocbTmE1.js";import{a as s}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{u as De}from"./plaid-Yyr3DBd8.js";import{bG as oe,Ha as Ie,Hb as Te}from"./zeni-epic-state-a7Sj5mjO.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-BrW_eEjE-Cmf0Jids.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./clock-CJkylEKt-BFtrn8ev.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]="6ad337ac-5944-44f4-bc5e-c98ad995ba95",e._sentryDebugIdIdentifier="sentry-dbid-6ad337ac-5944-44f4-bc5e-c98ad995ba95")}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{P as xe,V as t,M as fe,bR as ye,bS as ge,bT as je,o as c,d as Se,ar as K,H as Q,a8 as ke,I as be,df as $e,ev as ve,cv as G,cV as X,O as we,l as d,y as Ee,a5 as Ce,aU as ee,dh as te,$ as Re,e as ne,aA as Pe}from"./index-DBW4633P.js";import{a as s}from"./sentry-DINNQYpi.js";import{n as o}from"./mui-C_CXevf3.js";import{u as De}from"./plaid-Yyr3DBd8.js";import{bG as oe,Ha as Ie,Hb as Te}from"./zeni-epic-state-a7Sj5mjO.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-BrW_eEjE-DNRjFVcP.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./clock-CJkylEKt-BFtrn8ev.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]="6ad337ac-5944-44f4-bc5e-c98ad995ba95",e._sentryDebugIdIdentifier="sentry-dbid-6ad337ac-5944-44f4-bc5e-c98ad995ba95")}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};
@@ -1,4 +1,4 @@
1
- import{V as e,a5 as I,bo as f,o,E as j,I as at,df as it,O as ct,l as y,e as m,dg as K,dh as Y,cq as st,ad as x,C as Z,j as g,X as rt,y as S,aj as lt,bj as dt,g as ut,a as xt,H as W,b6 as pt,d7 as ht}from"./index-BocbTmE1.js";import{a as gt}from"./sentry-DINNQYpi.js";import{n as a,c as mt}from"./mui-C_CXevf3.js";import{t as ft}from"./clock-CJkylEKt-BFtrn8ev.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]="cae7bfa6-4770-416e-b587-5edca6ac48e4",t._sentryDebugIdIdentifier="sentry-dbid-cae7bfa6-4770-416e-b587-5edca6ac48e4")}catch{}})();const jt=a.div`
1
+ import{V as e,a5 as I,bo as f,o,E as j,I as at,df as it,O as ct,l as y,e as m,dg as K,dh as Y,cq as st,ad as x,C as Z,j as g,X as rt,y as S,aj as lt,bj as dt,g as ut,a as xt,H as W,b6 as pt,d7 as ht}from"./index-DBW4633P.js";import{a as gt}from"./sentry-DINNQYpi.js";import{n as a,c as mt}from"./mui-C_CXevf3.js";import{t as ft}from"./clock-CJkylEKt-BFtrn8ev.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]="cae7bfa6-4770-416e-b587-5edca6ac48e4",t._sentryDebugIdIdentifier="sentry-dbid-cae7bfa6-4770-416e-b587-5edca6ac48e4")}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,e 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,v as ce,E as M,af as le,a4 as de,aa as pe,C as J,t as me,ap as he,l as ue,au as ge}from"./index-BocbTmE1.js";import{a as N,b as z}from"./sentry-DINNQYpi.js";import{c as xe}from"./SummaryCard-D61xzK3a-CfR23TFg.js";import{n as r,k as U,c as V}from"./mui-C_CXevf3.js";import{Fb as fe}from"./zeni-epic-state-a7Sj5mjO.js";import{N as X}from"./NavigationArrow-Dpc7u6y4-CiTKhYeI.js";import{x as ye}from"./NavigationDots-DCpslVnm-D-4SKVAz.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]="b9e90072-8755-4ada-96f3-cf8dae7645a1",e._sentryDebugIdIdentifier="sentry-dbid-b9e90072-8755-4ada-96f3-cf8dae7645a1")}catch{}})();const I=(e,n)=>U`
1
+ import{O,V as o,o as t,ag as P,e 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,v as ce,E as M,af as le,a4 as de,aa as pe,C as J,t as me,ap as he,l as ue,au as ge}from"./index-DBW4633P.js";import{a as N,b as z}from"./sentry-DINNQYpi.js";import{c as xe}from"./SummaryCard-D61xzK3a-QerUeyNc.js";import{n as r,k as U,c as V}from"./mui-C_CXevf3.js";import{Fb as fe}from"./zeni-epic-state-a7Sj5mjO.js";import{N as X}from"./NavigationArrow-Dpc7u6y4-BduXlhxm.js";import{x as ye}from"./NavigationDots-DCpslVnm-wapVz6Ga.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]="b9e90072-8755-4ada-96f3-cf8dae7645a1",e._sentryDebugIdIdentifier="sentry-dbid-b9e90072-8755-4ada-96f3-cf8dae7645a1")}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,X as S,a7 as T,w as d,V as m,iG as w,o as e,x as l,E as B,O as x,j as n}from"./index-BocbTmE1.js";import{a as C}from"./sentry-DINNQYpi.js";import{n as j}from"./mui-C_CXevf3.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="99308816-5e56-478d-916a-967666804d19",t._sentryDebugIdIdentifier="sentry-dbid-99308816-5e56-478d-916a-967666804d19")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:I}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:o,customAddressStatus:s,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),a=S(),i=T(s.fetchState);C.useEffect(()=>{i==="In-Progress"&&s.fetchState==="Completed"&&r()},[s.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="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:s.fetchState,addressToEdit:o,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(a),marginBottom:p.marginBottom.valuePx(a),...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:I.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=j.div`
1
+ import{y,X as S,a7 as T,w as d,V as m,iG as w,o as e,x as l,E as B,O as x,j as n}from"./index-DBW4633P.js";import{a as C}from"./sentry-DINNQYpi.js";import{n as j}from"./mui-C_CXevf3.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="99308816-5e56-478d-916a-967666804d19",t._sentryDebugIdIdentifier="sentry-dbid-99308816-5e56-478d-916a-967666804d19")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:I}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:o,customAddressStatus:s,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),a=S(),i=T(s.fetchState);C.useEffect(()=>{i==="In-Progress"&&s.fetchState==="Completed"&&r()},[s.fetchState,r,i]);const f=a==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=a==="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:s.fetchState,addressToEdit:o,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(a),marginBottom:p.marginBottom.valuePx(a),...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:I.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=j.div`
2
2
  display: flex;
3
3
  background-color: ${t=>t.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{X as M,m as re,v as ne,O as N,V as i,a_ as le,j as p,il as de,iD as pe,o as t,a as z,E as W,x as m,N as $,d as b,iE as ce,im as he,bH as ge,e as s,iF as xe,aV as me,cn as we,l as ue,w as $e,ir as be}from"./index-BocbTmE1.js";import{a as g}from"./sentry-DINNQYpi.js";import{n as o,c as A}from"./mui-C_CXevf3.js";import{Fa as ye}from"./zeni-epic-state-a7Sj5mjO.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-DZDSR_90.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="a8219aa9-5064-4bb1-a6d4-80b6c1585afa",e._sentryDebugIdIdentifier="sentry-dbid-a8219aa9-5064-4bb1-a6d4-80b6c1585afa")}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{X as M,m as re,v as ne,O as N,V as i,a_ as le,j as p,il as de,iD as pe,o as t,a as z,E as W,x as m,N as $,d as b,iE as ce,im as he,bH as ge,e as s,iF as xe,aV as me,cn as we,l as ue,w as $e,ir as be}from"./index-DBW4633P.js";import{a as g}from"./sentry-DINNQYpi.js";import{n as o,c as A}from"./mui-C_CXevf3.js";import{Fa as ye}from"./zeni-epic-state-a7Sj5mjO.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-DZDSR_90.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="a8219aa9-5064-4bb1-a6d4-80b6c1585afa",e._sentryDebugIdIdentifier="sentry-dbid-a8219aa9-5064-4bb1-a6d4-80b6c1585afa")}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"./liveblocks-BsQBjN-0.js";import{A as s}from"./AddressScreen-DsuZFaVf.js";import i from"./NotFoundScreen-MU1vvTl3.js";import"./sentry-DINNQYpi.js";import{R as a,m as r}from"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./index-BocbTmE1.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.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]="bff88b10-8664-47eb-a6aa-4395372aa729",t._sentryDebugIdIdentifier="sentry-dbid-bff88b10-8664-47eb-a6aa-4395372aa729")}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"./liveblocks-BsQBjN-0.js";import{A as s}from"./AddressScreen-C6vJhn2u.js";import i from"./NotFoundScreen-DIsBJSaH.js";import"./sentry-DINNQYpi.js";import{R as a,m as r}from"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./index-DBW4633P.js";import"./mui-C_CXevf3.js";import"./pdf-DyB_VHQx.js";import"./recharts-CTWfsY-L.js";import"./lottie-C2R6rGxS.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./utils-DmE88LS_.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]="bff88b10-8664-47eb-a6aa-4395372aa729",t._sentryDebugIdIdentifier="sentry-dbid-bff88b10-8664-47eb-a6aa-4395372aa729")}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"./liveblocks-BsQBjN-0.js";import{a as h}from"./sentry-DINNQYpi.js";import{j as T,i as j,h as _,l as E,u as B,k as M}from"./core-5sxMy3sZ.js";import{X as $,y as D,ju as K,v as L,jS as H,bk as F,jB as C,K as m,jN as N,jF as b,jO as O}from"./index-BocbTmE1.js";import{HX as k,eq as R,ct as U,HY as q,bE as G,HZ as V,hr as X}from"./zeni-epic-state-a7Sj5mjO.js";import{n as z}from"./mui-C_CXevf3.js";import Y from"./NotFoundScreen-MU1vvTl3.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]="09005b06-71c6-4479-83c9-261ce2c6d20b",e._sentryDebugIdIdentifier="sentry-dbid-09005b06-71c6-4479-83c9-261ce2c6d20b")}catch{}})();const Z=z.div`
1
+ import{j as d}from"./liveblocks-BsQBjN-0.js";import{a as h}from"./sentry-DINNQYpi.js";import{j as T,i as j,h as _,l as E,u as B,k as M}from"./core-5sxMy3sZ.js";import{X as $,y as D,ju as K,v as L,jS as H,bk as F,jB as C,K as m,jN as N,jF as b,jO as O}from"./index-DBW4633P.js";import{HX as k,eq as R,ct as U,HY as q,bE as G,HZ as V,hr as X}from"./zeni-epic-state-a7Sj5mjO.js";import{n as z}from"./mui-C_CXevf3.js";import Y from"./NotFoundScreen-DIsBJSaH.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]="09005b06-71c6-4479-83c9-261ce2c6d20b",e._sentryDebugIdIdentifier="sentry-dbid-09005b06-71c6-4479-83c9-261ce2c6d20b")}catch{}})();const Z=z.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{y as Q,X as z,V as t,bd as Oe,ht as ve,a$ as ke,a_ as Pe,x as M,I as G,O as S,o as $,ab as Be,j as d,a5 as oe,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-BocbTmE1.js";import{a as y}from"./sentry-DINNQYpi.js";import{n as x}from"./mui-C_CXevf3.js";import{bs as W,Gs as ze}from"./zeni-epic-state-a7Sj5mjO.js";import{m as Le}from"./BusyIndication-Cd67eHX6-C7aB5h-1.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-K3F-G3-0-pGSyeWuf.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Te,k as Re}from"./ArAgingChart-Tcu0Lja_-BWNKgMZE.js";import{C as pe}from"./NoDataChart-9-bhq204-BNHp8Nld.js";import{n as me,t as R}from"./CollapsableReportTable-h0vIfI8o-Q6XPsw6M.js";import{d as he}from"./NoDataTable-C6Q2Anpz-BqTI2GFx.js";import{l as ue}from"./mapSpacerToTreeNode-DMDEaLzQ-lo7UbRO0.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./chartTypes-Dq3hUz_T-DlStt0to.js";import"./AccountRow-BrW_eEjE-Cmf0Jids.js";import"./clock-CJkylEKt-BFtrn8ev.js";import"./graphic-no-data-l-DU4J8fDt-BXfLioW6.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]="ffafb57c-c3dc-4d26-abe8-3eccd14ec272",e._sentryDebugIdIdentifier="sentry-dbid-ffafb57c-c3dc-4d26-abe8-3eccd14ec272")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
1
+ import{y as Q,X as z,V as t,bd as Oe,ht as ve,a$ as ke,a_ as Pe,x as M,I as G,O as S,o as $,ab as Be,j as d,a5 as oe,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-DBW4633P.js";import{a as y}from"./sentry-DINNQYpi.js";import{n as x}from"./mui-C_CXevf3.js";import{bs as W,Gs as ze}from"./zeni-epic-state-a7Sj5mjO.js";import{m as Le}from"./BusyIndication-Cd67eHX6-CtvBXiRL.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-K3F-G3-0-D-lxuOwz.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Te,k as Re}from"./ArAgingChart-Tcu0Lja_-BdIZJO8_.js";import{C as pe}from"./NoDataChart-9-bhq204-Ck-FboCC.js";import{n as me,t as R}from"./CollapsableReportTable-h0vIfI8o-B6GpVtrk.js";import{d as he}from"./NoDataTable-C6Q2Anpz-Dt08aukB.js";import{l as ue}from"./mapSpacerToTreeNode-DMDEaLzQ-A_DJ4_H7.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./chartTypes-Dq3hUz_T-boMzYtYd.js";import"./AccountRow-BrW_eEjE-DNRjFVcP.js";import"./clock-CJkylEKt-BFtrn8ev.js";import"./graphic-no-data-l-DU4J8fDt-BXfLioW6.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]="ffafb57c-c3dc-4d26-abe8-3eccd14ec272",e._sentryDebugIdIdentifier="sentry-dbid-ffafb57c-c3dc-4d26-abe8-3eccd14ec272")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
2
2
  display: flex;
3
3
  `,ye=x.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as S}from"./liveblocks-BsQBjN-0.js";import{a as r}from"./sentry-DINNQYpi.js";import{i as ee,j as te,h as se,u as D,l as ae,k as ne}from"./core-5sxMy3sZ.js";import{mo as oe,ju as ie,X as re,mp as le,mq as ue,mr as $,bk as ce,jB as P,J as U,ms as de,mt as me,K as pe,kb as he,mu as fe,k6 as Se,jQ as ge,jO as Ce,mv as be,mw as ke}from"./index-BocbTmE1.js";import{cM as N,ct as we,eS as Ie,Op 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 Qe,d9 as Oe,da as Ae,db as je,dc as Fe}from"./zeni-epic-state-a7Sj5mjO.js";import{D as Le,n as v,P as Me,S as Be}from"./mui-C_CXevf3.js";import{p as De}from"./pathToGoBack-D5dFRCuJ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="67792462-6869-474b-a19d-cf6ae4cb1574",a._sentryDebugIdIdentifier="sentry-dbid-67792462-6869-474b-a19d-cf6ae4cb1574")}catch{}})();const q="chat-response-generated",Ue=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=Oe(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,ke(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(je({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(Fe({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&be(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Qe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??De(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=D(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=D(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,b=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),Q=r.useRef(!1);r.useEffect(()=>{Q.current||b==null||b===""||(I(b),E(x),Q.current=!0)},[b,x]);const W=r.useCallback(()=>{I(null),E(!1)},[]),O=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=O.get("ref")??f?.aiCfoRef,y=O.get("emailRefId")??f?.aiCfoEmailRefId,j=r.useRef(!1);r.useEffect(()=>{j.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),j.current=!0)},[A,y,s,n,o]);const k=e.uiState.lastContextMessage;r.useEffect(()=>{k!=null&&k!==""&&s!=null&&(I(k),E(!0),n(Ee()))},[k,s,n]);const z=c.masterTOSInfo,w=z?.isMasterTOSAccepted??!1,{visitedSessions:F}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,L=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",M=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),B=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(B,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:F.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[F]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&L!=="In-Progress"&&M&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[L,M,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)}),U(m)&&C.drawerElement,S.jsx(Ue,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:B,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:W,onMenuClick:U(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Le,{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(Be)`
1
+ import{j as S}from"./liveblocks-BsQBjN-0.js";import{a as r}from"./sentry-DINNQYpi.js";import{i as ee,j as te,h as se,u as D,l as ae,k as ne}from"./core-5sxMy3sZ.js";import{mo as oe,ju as ie,X as re,mp as le,mq as ue,mr as $,bk as ce,jB as P,J as U,ms as de,mt as me,K as pe,kb as he,mu as fe,k6 as Se,jQ as ge,jO as Ce,mv as be,mw as ke}from"./index-DBW4633P.js";import{cM as N,ct as we,eS as Ie,Op 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 Qe,d9 as Oe,da as Ae,db as je,dc as Fe}from"./zeni-epic-state-a7Sj5mjO.js";import{D as Le,n as v,P as Me,S as Be}from"./mui-C_CXevf3.js";import{p as De}from"./pathToGoBack-D5dFRCuJ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="67792462-6869-474b-a19d-cf6ae4cb1574",a._sentryDebugIdIdentifier="sentry-dbid-67792462-6869-474b-a19d-cf6ae4cb1574")}catch{}})();const q="chat-response-generated",Ue=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=Oe(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,ke(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(je({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(Fe({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&be(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Qe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??De(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=D(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=D(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,b=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),Q=r.useRef(!1);r.useEffect(()=>{Q.current||b==null||b===""||(I(b),E(x),Q.current=!0)},[b,x]);const W=r.useCallback(()=>{I(null),E(!1)},[]),O=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=O.get("ref")??f?.aiCfoRef,y=O.get("emailRefId")??f?.aiCfoEmailRefId,j=r.useRef(!1);r.useEffect(()=>{j.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),j.current=!0)},[A,y,s,n,o]);const k=e.uiState.lastContextMessage;r.useEffect(()=>{k!=null&&k!==""&&s!=null&&(I(k),E(!0),n(Ee()))},[k,s,n]);const z=c.masterTOSInfo,w=z?.isMasterTOSAccepted??!1,{visitedSessions:F}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,L=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",M=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),B=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(B,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:F.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[F]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&L!=="In-Progress"&&M&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[L,M,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)}),U(m)&&C.drawerElement,S.jsx(Ue,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:B,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:W,onMenuClick:U(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Le,{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(Be)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{cc as Y,dW as Pe,X as _,V as i,E as I,x as T,o as l,at as de,O as V,a as se,l as ce,cq as Ce,bH as Se,j as L,bo as Oe,a1 as oe,c0 as J,fB as z,fy as ee,fz as ie,fA as me,aj as pe,gj as Te,e as ue,cp as ge,H as he,e5 as ze,b as Re}from"./index-BocbTmE1.js";import{n as d}from"./mui-C_CXevf3.js";import{G6 as De,bt as le}from"./zeni-epic-state-a7Sj5mjO.js";import{a as G}from"./sentry-DINNQYpi.js";import{K as xe}from"./LabeledEmailInputField-CKWZEkTs-C9DTkL1y.js";import{j as be,x as fe,C as ve}from"./LabeledZeniRolesDropDownField-jIrTovp--C7mgztQg.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-NPjB_w_o.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]="335635ec-377d-4633-a4fb-b9379e9991ba",e._sentryDebugIdIdentifier="sentry-dbid-335635ec-377d-4633-a4fb-b9379e9991ba")}catch{}})();const A=(e,t)=>`${e}.${t}`,ae={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},u=V.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,n)=>a.concat(`${n.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:A(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:z(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:A(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:A(t,"manager"),value:{allUsers:m,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:a=>{const n=m.findIndex(r=>r.userId===a);if(n!==-1){const r=m[n],y=s.find(k=>k.classId===r.userRole.accountingClassIDs[0]),j=[];return y!=null&&j.push(y.className),j}return[]},placeholderLabel:p?u.notApplicable:z(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:A(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:z(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:A(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:z(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=()=>V.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Ne=d.div`
1
+ import{cc as Y,dW as Pe,X as _,V as i,E as I,x as T,o as l,at as de,O as V,a as se,l as ce,cq as Ce,bH as Se,j as L,bo as Oe,a1 as oe,c0 as J,fB as z,fy as ee,fz as ie,fA as me,aj as pe,gj as Te,e as ue,cp as ge,H as he,e5 as ze,b as Re}from"./index-DBW4633P.js";import{n as d}from"./mui-C_CXevf3.js";import{G6 as De,bt as le}from"./zeni-epic-state-a7Sj5mjO.js";import{a as G}from"./sentry-DINNQYpi.js";import{K as xe}from"./LabeledEmailInputField-CKWZEkTs-K1-nx9hv.js";import{j as be,x as fe,C as ve}from"./LabeledZeniRolesDropDownField-jIrTovp--KnDiAlnF.js";import{Y as $e}from"./LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BjyfWV9u.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]="335635ec-377d-4633-a4fb-b9379e9991ba",e._sentryDebugIdIdentifier="sentry-dbid-335635ec-377d-4633-a4fb-b9379e9991ba")}catch{}})();const A=(e,t)=>`${e}.${t}`,ae={largeLabelWidth:new T(120,120,160),toolTipWidth:new T(215,237)},u=V.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,n)=>a.concat(`${n.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:A(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:z(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:A(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:A(t,"manager"),value:{allUsers:m,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:a=>{const n=m.findIndex(r=>r.userId===a);if(n!==-1){const r=m[n],y=s.find(k=>k.classId===r.userRole.accountingClassIDs[0]),j=[];return y!=null&&j.push(y.className),j}return[]},placeholderLabel:p?u.notApplicable:z(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:A(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:z(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:A(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:M},registerOptions:{required:!0},placeholderLabel:z(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=()=>V.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};
@@ -1,4 +1,4 @@
1
- import{y as W,X as ee,O as l,V as o,bd as oe,aZ as te,bN as re,a_ as ne,o as T,ab as ae,x as N,a$ as ie,bJ as se,bK as le,bL as de,j as u}from"./index-BocbTmE1.js";import{a as b}from"./sentry-DINNQYpi.js";import{n}from"./mui-C_CXevf3.js";import{m as ce}from"./BusyIndication-Cd67eHX6-C7aB5h-1.js";import{L as ge,D as pe}from"./EntitySummarySection-vsEMiXYh-xFy88yRd.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="fa3f4385-01f4-4f48-bc31-f7315f90d856",e._sentryDebugIdIdentifier="sentry-dbid-fa3f4385-01f4-4f48-bc31-f7315f90d856")}catch{}})();const C={wrapperContainerMarginTop:new N(u[4],u[0]),wrapperContaineHorizontalrMargin:new N(u[0],u[8])},me=n.div`
1
+ import{y as W,X as ee,O as l,V as o,bd as oe,aZ as te,bN as re,a_ as ne,o as T,ab as ae,x as N,a$ as ie,bJ as se,bK as le,bL as de,j as u}from"./index-DBW4633P.js";import{a as b}from"./sentry-DINNQYpi.js";import{n}from"./mui-C_CXevf3.js";import{m as ce}from"./BusyIndication-Cd67eHX6-CtvBXiRL.js";import{L as ge,D as pe}from"./EntitySummarySection-vsEMiXYh-b447Pkl8.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="fa3f4385-01f4-4f48-bc31-f7315f90d856",e._sentryDebugIdIdentifier="sentry-dbid-fa3f4385-01f4-4f48-bc31-f7315f90d856")}catch{}})();const C={wrapperContainerMarginTop:new N(u[4],u[0]),wrapperContaineHorizontalrMargin:new N(u[0],u[8])},me=n.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as t,X as m,a8 as x,o as r,x as d,e as s,ab as g,O as u,aN as f,co as $,cn as w}from"./index-BocbTmE1.js";import{n as o,k as b}from"./mui-C_CXevf3.js";import{a as y}from"./sentry-DINNQYpi.js";import{t as j}from"./clock-CJkylEKt-BFtrn8ev.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="45285e07-1628-4c1f-9432-aa97a2e9789a",e._sentryDebugIdIdentifier="sentry-dbid-45285e07-1628-4c1f-9432-aa97a2e9789a")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=b`
1
+ import{V as t,X as m,a8 as x,o as r,x as d,e as s,ab as g,O as u,aN as f,co as $,cn as w}from"./index-DBW4633P.js";import{n as o,k as b}from"./mui-C_CXevf3.js";import{a as y}from"./sentry-DINNQYpi.js";import{t as j}from"./clock-CJkylEKt-BFtrn8ev.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="45285e07-1628-4c1f-9432-aa97a2e9789a",e._sentryDebugIdIdentifier="sentry-dbid-45285e07-1628-4c1f-9432-aa97a2e9789a")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=b`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{v as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as fe,aL as ge,I as xe,aM as Ee,o as a,aN as ye,t as h,ap as f}from"./index-BocbTmE1.js";import{a as o,b as Ce}from"./sentry-DINNQYpi.js";import{n as l}from"./mui-C_CXevf3.js";import{bm as we}from"./zeni-epic-state-a7Sj5mjO.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-B3dtVAe2-DcsdDEM2.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="0e64d7ae-6507-45f3-8da4-6af1dc92d6bc",e._sentryDebugIdIdentifier="sentry-dbid-0e64d7ae-6507-45f3-8da4-6af1dc92d6bc")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(Se,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
1
+ import{v as ce,aE as pe,aF as ue,aG as p,aH as me,V as n,aI as be,aJ as he,aK as fe,aL as ge,I as xe,aM as Ee,o as a,aN as ye,t as h,ap as f}from"./index-DBW4633P.js";import{a as o,b as Ce}from"./sentry-DINNQYpi.js";import{n as l}from"./mui-C_CXevf3.js";import{bm as we}from"./zeni-epic-state-a7Sj5mjO.js";import{v as Ae}from"./DashboardSidebarBackgroundAnimation-B3dtVAe2-ceF5qNn2.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="0e64d7ae-6507-45f3-8da4-6af1dc92d6bc",e._sentryDebugIdIdentifier="sentry-dbid-0e64d7ae-6507-45f3-8da4-6af1dc92d6bc")}catch{}})();const ke=o.memo(function({animationEnabled:e=!1}){const[i,s]=h("DashboardSidebarBottomNewYear",e),[t,r]=o.useState(null);return o.useEffect(()=>{i!=null&&!s&&r(i)},[i,s]),e&&t!=null?n.jsx(Se,{children:n.jsx(f,{style:{display:"flex",width:"70px",height:"140px"},animationData:t,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),Se=l.div`
2
2
  position: absolute;
3
3
  z-index: 0;
4
4
  bottom: -${a.sp3};
@@ -1,4 +1,4 @@
1
- import{y as G,X as U,v as V,O as p,ad as y,V as t,a_ as E,L as J,f7 as b,d7 as S,x as d,o as k,H as N,w as j,j as i}from"./index-BocbTmE1.js";import{n as l}from"./mui-C_CXevf3.js";import{G3 as F,G4 as X}from"./zeni-epic-state-a7Sj5mjO.js";import"./sentry-DINNQYpi.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="9cf5b58e-4e99-4eb2-b583-d9cd73cd6060",e._sentryDebugIdIdentifier="sentry-dbid-9cf5b58e-4e99-4eb2-b583-d9cd73cd6060")}catch{}})();const n={sectionRowGap:new d(i[4],i[8],i[8]),lastSectionPaddingBottom:new d(i[7],i[10],i[10]),iconWidthHeight:new d(20,i[4]),subtitleSectionWidth:new d(343,580,1200)},me=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=G(),o=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=a,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:L}=B,{reimbursementSetup:W}=M,{setUp:s}=A,D=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),H=F(c,u.loggedInUserRoleMap),_=X(c,u.loggedInUserRoleMap);return t.jsxs(O,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:P}),t.jsx(K,{windowSize:o,children:D?t.jsx(Q,{children:t.jsx(J,{size:"ExtraLarge",start:!0})}):t.jsxs(q,{children:[t.jsx(Z,{windowSize:o,children:t.jsx(ee,{windowSize:o,children:w.infoText.approvalRules})}),t.jsxs(Y,{windowSize:o,children:[H===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(o),height:n.iconWidthHeight.valuePx(o)}),color:v},onClick:I,status:m.length>0?z:void 0}),_===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(o)}),color:v},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(o)},onClick:T,status:f.length>0?C:void 0})]})]})})]})},q=l.div`
1
+ import{y as G,X as U,v as V,O as p,ad as y,V as t,a_ as E,L as J,f7 as b,d7 as S,x as d,o as k,H as N,w as j,j as i}from"./index-DBW4633P.js";import{n as l}from"./mui-C_CXevf3.js";import{G3 as F,G4 as X}from"./zeni-epic-state-a7Sj5mjO.js";import"./sentry-DINNQYpi.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.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]="9cf5b58e-4e99-4eb2-b583-d9cd73cd6060",e._sentryDebugIdIdentifier="sentry-dbid-9cf5b58e-4e99-4eb2-b583-d9cd73cd6060")}catch{}})();const n={sectionRowGap:new d(i[4],i[8],i[8]),lastSectionPaddingBottom:new d(i[7],i[10],i[10]),iconWidthHeight:new d(20,i[4]),subtitleSectionWidth:new d(343,580,1200)},me=({billpayApprovalView:e,remiApproverView:a,currentTenant:c,onBackClick:R,onClickMenuIcon:P,onSetupApprovalRulesBillPaySectionClick:I,onSetupApprovalRulesRemiSectionClick:T})=>{const r=G(),o=U(),u=V(),{fetchState:g,allApprovalRules:m,approvalRulesStatus:z}=e,{fetchState:h,allApprovalRules:f,approvalRulesStatus:C}=a,{commonSetUp:A,spendManagement:$}=p.getLocalizedStrings(),w=p.getLocalizedStrings().common.settings,x=p.getLocalizedStrings().common.headers,{billPay:B,reimbursement:M}=$,{billPaySetup:L}=B,{reimbursementSetup:W}=M,{setUp:s}=A,D=g==="In-Progress"||h==="In-Progress"||g==="Not-Started"||h==="Not-Started",v=r.mode==="light"?new y(r.colors.brandColorJadeLight):new y(r.colors.brandColorJadeDark),H=F(c,u.loggedInUserRoleMap),_=X(c,u.loggedInUserRoleMap);return t.jsxs(O,{children:[t.jsx(E,{source:"ApprovalRulesSettingsPage",title:w.title.approvalRules,backgroundColor:r.colors.grey4,style:{zIndex:3},onBackClick:R,showBackButton:!1,showMenuIcon:o==="medium-compact"||o==="small",onClickMenuIcon:P}),t.jsx(K,{windowSize:o,children:D?t.jsx(Q,{children:t.jsx(J,{size:"ExtraLarge",start:!0})}):t.jsxs(q,{children:[t.jsx(Z,{windowSize:o,children:t.jsx(ee,{windowSize:o,children:w.infoText.approvalRules})}),t.jsxs(Y,{windowSize:o,children:[H===!0&&t.jsx(b,{title:m.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:L.approvalSubTitle,header:x.bills,icon:{element:t.jsx(S,{width:n.iconWidthHeight.valuePx(o),height:n.iconWidthHeight.valuePx(o)}),color:v},onClick:I,status:m.length>0?z:void 0}),_===!0&&t.jsx(b,{title:f.length>0?s.approvalTitle:s.createApprovalTitle,subTitle:W.approvalSubTitle,header:x.reimbursements,icon:{element:t.jsx(S,{height:n.iconWidthHeight.valuePx(o)}),color:v},style:{paddingBottom:n.lastSectionPaddingBottom.valuePx(o)},onClick:T,status:f.length>0?C:void 0})]})]})})]})},q=l.div`
2
2
  width: 100%;
3
3
  margin: auto;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{V as u,O as x,cA as w,y as N,an as P,j as v,w as S,ag as T,cB as I,cC as K,e as y,o as j,l as Q}from"./index-BocbTmE1.js";import{a as k,b as q}from"./sentry-DINNQYpi.js";import{n as C}from"./mui-C_CXevf3.js";import{l as L,_ as R,h as W,m as U,u as D}from"./chartTypes-Dq3hUz_T-DlStt0to.js";import{ci as B,FQ as O}from"./zeni-epic-state-a7Sj5mjO.js";import{N as A,C as V,X as G,Y as M,B as _,H as F}from"./recharts-CTWfsY-L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a8bca517-ed99-424b-8b70-ab8ca29e18e9",e._sentryDebugIdIdentifier="sentry-dbid-a8bca517-ed99-424b-8b70-ab8ca29e18e9")}catch{}})();const X=C.div`
1
+ import{V as u,O as x,cA as w,y as N,an as P,j as v,w as S,ag as T,cB as I,cC as K,e as y,o as j,l as Q}from"./index-DBW4633P.js";import{a as k,b as q}from"./sentry-DINNQYpi.js";import{n as C}from"./mui-C_CXevf3.js";import{l as L,_ as R,h as W,m as U,u as D}from"./chartTypes-Dq3hUz_T-boMzYtYd.js";import{ci as B,FQ as O}from"./zeni-epic-state-a7Sj5mjO.js";import{N as A,C as V,X as G,Y as M,B as _,H as F}from"./recharts-CTWfsY-L.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="a8bca517-ed99-424b-8b70-ab8ca29e18e9",e._sentryDebugIdIdentifier="sentry-dbid-a8bca517-ed99-424b-8b70-ab8ca29e18e9")}catch{}})();const X=C.div`
2
2
  display: flex;
3
3
  `,Y=C.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{y as Z,X as G,V as o,bd as Q,aZ as W,bN as ee,a_ as oe,O as C,o as T,ab as te,x as A,a$ as re,bJ as ae,bK as ne,bL as ie,j as u}from"./index-BocbTmE1.js";import{a as D}from"./sentry-DINNQYpi.js";import{n as a}from"./mui-C_CXevf3.js";import{m as se}from"./BusyIndication-Cd67eHX6-C7aB5h-1.js";import{L as le,D as de}from"./EntitySummarySection-vsEMiXYh-xFy88yRd.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="86715726-763c-4a50-9ea4-e713d86f5bdf",e._sentryDebugIdIdentifier="sentry-dbid-86715726-763c-4a50-9ea4-e713d86f5bdf")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:ce,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=Z(),d=G(),{arAgingDetail:t,downloadParams:f,reportDate:n,analytics:c,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:y,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:k,timezone:I}=f,{fetchState:m,invoices:v,arAgingDetailUIState:j,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=j,[P,$]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&c.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,c,n]);if(D.useEffect(()=>{P&&g!=="In-Progress"&&($(!1),y("In-Progress"),async function(){const i={companyName:f.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:I,reportDate:n};await async function(p,J,V){const U=`${p}?query=${encodeURIComponent(JSON.stringify(pe(V)))}`,z=C.getLocalizedStrings(),M=z.reports.aging.arAging.arAging,x=z.download;try{const s=await ae({urlEndPoint:U,authParams:J,fileType:"excel"});if(s.ok){const q=ne(s.headers,x.defaultFileName),X=await s.arrayBuffer();ie(X,q)}else console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${s.statusText}`)}catch(s){console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${JSON.stringify(s)}`)}}(k,S,i),y("Completed"),t.customer!=null&&c.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,k,f.companyName,g,P,n,h,w,I,y,r?.id,t.customer,c]),m==="Error")return o.jsxs(fe,{children:[o.jsx(ye,{onClick:O,children:o.jsx(Q,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");$(!0)}}}}});return o.jsx(W,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:ce.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(de,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:d,children:o.jsx(De,{windowSize:d,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:d,children:o.jsx(le,{uiState:j,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
1
+ import{y as Z,X as G,V as o,bd as Q,aZ as W,bN as ee,a_ as oe,O as C,o as T,ab as te,x as A,a$ as re,bJ as ae,bK as ne,bL as ie,j as u}from"./index-DBW4633P.js";import{a as D}from"./sentry-DINNQYpi.js";import{n as a}from"./mui-C_CXevf3.js";import{m as se}from"./BusyIndication-Cd67eHX6-CtvBXiRL.js";import{L as le,D as de}from"./EntitySummarySection-vsEMiXYh-b447Pkl8.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";import"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="86715726-763c-4a50-9ea4-e713d86f5bdf",e._sentryDebugIdIdentifier="sentry-dbid-86715726-763c-4a50-9ea4-e713d86f5bdf")}catch{}})();const b={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},{common:ce,reports:{common:me,aging:{agingDetail:ge}},dateFormat:N}=C.getLocalizedStrings();function Fe(e){const l=Z(),d=G(),{arAgingDetail:t,downloadParams:f,reportDate:n,analytics:c,onReload:O,onBackClick:F,onColumnSortConfigChanged:_,updateDownloadStateHandler:y,onTransactionClick:Y,sidePanelIsOpen:E,sidePanelIsFullView:L,panelContent:R}=e,{authParams:S,downloadEndPoint:k,timezone:I}=f,{fetchState:m,invoices:v,arAgingDetailUIState:j,customer:r,totalBalances:B}=t,{sortKey:h,sortOrder:w,downloadState:g}=j,[P,$]=D.useState(!1),H=D.useCallback((i,p)=>{t.customer!=null&&c.trackArAgingDetailReportSortChange(i,p,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name),_(i,p)},[t.customer,_,c,n]);if(D.useEffect(()=>{P&&g!=="In-Progress"&&($(!1),y("In-Progress"),async function(){const i={companyName:f.companyName,sortKey:h,sortOrder:w,statementFileType:"excel",reportId:"accounts_receivable_aging",entityId:r?.id??"",timezone:I,reportDate:n};await async function(p,J,V){const U=`${p}?query=${encodeURIComponent(JSON.stringify(pe(V)))}`,z=C.getLocalizedStrings(),M=z.reports.aging.arAging.arAging,x=z.download;try{const s=await ae({urlEndPoint:U,authParams:J,fileType:"excel"});if(s.ok){const q=ne(s.headers,x.defaultFileName),X=await s.arrayBuffer();ie(X,q)}else console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${s.statusText}`)}catch(s){console.error(`${x.errorMessages.fileDownloadError.replace("__feature__",M)} ${JSON.stringify(s)}`)}}(k,S,i),y("Completed"),t.customer!=null&&c.trackApAgingDetailReportDownload(h,w,n.format(N.analytics.YYYYDashMMDashDDFormat),t.customer.id,t.customer.name)}())},[S,k,f.companyName,g,P,n,h,w,I,y,r?.id,t.customer,c]),m==="Error")return o.jsxs(fe,{children:[o.jsx(ye,{onClick:O,children:o.jsx(Q,{})}),o.jsx(he,{children:me.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(se,{fetchState:m});const K=o.jsx(re,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:g==="In-Progress"}],onDownloadClick:async i=>{if(i==="excel"){if(g==="In-Progress")return void console.log("Download is already in progress!");$(!0)}}}}});return o.jsx(W,{isOpen:E??!1,isFullView:L??!1,panelContent:R,headerContent:o.jsxs(o.Fragment,{children:[o.jsx(oe,{title:ce.strings.empty,backgroundColor:l.colors.grey5,onBackClick:F,rightSideComponent:K,downloadPresent:!0,source:"ArAgingDetailPage"}),o.jsx(de,{totalBalances:B,entityName:r?.name??"",entityLogo:r?.logo,reportId:"accounts_receivable_aging",reportDate:n})]}),listContent:o.jsx(we,{children:o.jsx(xe,{windowSize:d,children:o.jsx(De,{windowSize:d,children:v.length===0||r==null?o.jsx(ee,{message:ge.noDataText}):o.jsx(ue,{windowSize:d,children:o.jsx(le,{uiState:j,invoices:v,entityName:r.name,entityLogo:r.logo,onColumnSortConfigChanged:H,onTransactionClick:Y})})})})})})}function pe(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}const ue=a.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{X as b,O as w,y as B,V as l,g5 as U,g2 as j,g3 as V,bo as _,E as C,f2 as R,o as a,at as O,g6 as S,e as k,cp as M}from"./index-BocbTmE1.js";import{a as e}from"./sentry-DINNQYpi.js";import{n as r}from"./mui-C_CXevf3.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="7923db82-e373-4ebf-a558-160f4d5c1f61",t._sentryDebugIdIdentifier="sentry-dbid-7923db82-e373-4ebf-a558-160f4d5c1f61")}catch{}})();const $=r.div`
1
+ import{X as b,O as w,y as B,V as l,g5 as U,g2 as j,g3 as V,bo as _,E as C,f2 as R,o as a,at as O,g6 as S,e as k,cp as M}from"./index-DBW4633P.js";import{a as e}from"./sentry-DINNQYpi.js";import{n as r}from"./mui-C_CXevf3.js";import"./liveblocks-BsQBjN-0.js";import"./core-5sxMy3sZ.js";import"./zeni-epic-state-a7Sj5mjO.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./plaid-Yyr3DBd8.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="7923db82-e373-4ebf-a558-160f4d5c1f61",t._sentryDebugIdIdentifier="sentry-dbid-7923db82-e373-4ebf-a558-160f4d5c1f61")}catch{}})();const $=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  box-sizing: border-box;
@@ -1,4 +1,4 @@
1
- import{X as $,V as o,E as p,i as g,bl as x,o as e,aQ as y,b6 as b,x as c,l as j,j as h}from"./index-BocbTmE1.js";import{a as S}from"./sentry-DINNQYpi.js";import{n as s,c as z}from"./mui-C_CXevf3.js";import{J as v}from"./CollapsableReportTable-h0vIfI8o-Q6XPsw6M.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new i.Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="e9af7ccf-0426-4a33-b3ba-bbf49d5157e4",i._sentryDebugIdIdentifier="sentry-dbid-e9af7ccf-0426-4a33-b3ba-bbf49d5157e4")}catch{}})();const w={tooltipLeftPosition:new c(h[0],-156),tooltipTopPosition:new c(h[3],h[4]),tooltipWidth:new c(300,350)},m=z`
1
+ import{X as $,V as o,E as p,i as g,bl as x,o as e,aQ as y,b6 as b,x as c,l as j,j as h}from"./index-DBW4633P.js";import{a as S}from"./sentry-DINNQYpi.js";import{n as s,c as z}from"./mui-C_CXevf3.js";import{J as v}from"./CollapsableReportTable-h0vIfI8o-B6GpVtrk.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new i.Error().stack;t&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[t]="e9af7ccf-0426-4a33-b3ba-bbf49d5157e4",i._sentryDebugIdIdentifier="sentry-dbid-e9af7ccf-0426-4a33-b3ba-bbf49d5157e4")}catch{}})();const w={tooltipLeftPosition:new c(h[0],-156),tooltipTopPosition:new c(h[3],h[4]),tooltipWidth:new c(300,350)},m=z`
2
2
  position: relative;
3
3
  `,T=s.div`
4
4
  color: ${i=>i.theme.colors.primary};
@@ -1,4 +1,4 @@
1
- import{X as R,cc as P,a7 as A,e5 as B,O as S,x as n,V as t,cd as f,cf as w,c6 as T,al as L,o as g,eA as D,eC as V,E as z,j as a,L as q,l as H}from"./index-BocbTmE1.js";import{a as C}from"./sentry-DINNQYpi.js";import{n as u}from"./mui-C_CXevf3.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]="f2290d08-9457-4ad8-aa16-b9408d703e31",e._sentryDebugIdIdentifier="sentry-dbid-f2290d08-9457-4ad8-aa16-b9408d703e31")}catch{}})();const E=u.div`
1
+ import{X as R,cc as P,a7 as A,e5 as B,O as S,x as n,V as t,cd as f,cf as w,c6 as T,al as L,o as g,eA as D,eC as V,E as z,j as a,L as q,l as H}from"./index-DBW4633P.js";import{a as C}from"./sentry-DINNQYpi.js";import{n as u}from"./mui-C_CXevf3.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]="f2290d08-9457-4ad8-aa16-b9408d703e31",e._sentryDebugIdIdentifier="sentry-dbid-f2290d08-9457-4ad8-aa16-b9408d703e31")}catch{}})();const E=u.div`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  align-items: center;
4
4
  justify-content: flex-end;
@@ -1,4 +1,4 @@
1
- import{X as w,V as a,E as u,bo as $,o as e,x as t,bx as b,N as x,d as y,O as k,e as l,eB as v,l as z,j as n}from"./index-BocbTmE1.js";import{n as o}from"./mui-C_CXevf3.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new i.Error().stack;r&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[r]="a9d70f65-078a-4002-bfdc-841b01e2ff88",i._sentryDebugIdIdentifier="sentry-dbid-a9d70f65-078a-4002-bfdc-841b01e2ff88")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(B,{windowSize:s,children:[g?null:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),a.jsx(f,{windowSize:s,children:i})]}):a.jsx(S,{children:g?null:a.jsx($,{title:j,enterDelay:600,placement:"bottom",children:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),s!=="small"?a.jsx(f,{windowSize:s,children:i}):null]})},f=o(y)`
1
+ import{X as w,V as a,E as u,bo as $,o as e,x as t,bx as b,N as x,d as y,O as k,e as l,eB as v,l as z,j as n}from"./index-DBW4633P.js";import{n as o}from"./mui-C_CXevf3.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new i.Error().stack;r&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[r]="a9d70f65-078a-4002-bfdc-841b01e2ff88",i._sentryDebugIdIdentifier="sentry-dbid-a9d70f65-078a-4002-bfdc-841b01e2ff88")}catch{}})();const{common:{navBar:{back:j}}}=k.getLocalizedStrings(),d={navBarContainerPadding:new t(10,n[3]),customTitleMarginBottom:new t(n[0],n[3]),customTitleMarginLeft:new t(n[3],n[6]),customTitleMarginRight:new t(n[5],n[8])},P={formTitle:new x("h6Medium","h5Medium")},R=({header:i,isDirty:r,isMagicLink:g,onBackClick:m,setShowConfirmationPopup:p})=>{const s=w();return a.jsxs(a.Fragment,{children:[s==="small"?a.jsxs(B,{windowSize:s,children:[g?null:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click-mobile")}),a.jsx(f,{windowSize:s,children:i})]}):a.jsx(S,{children:g?null:a.jsx($,{title:j,enterDelay:600,placement:"bottom",children:a.jsx(h,{onClick:()=>r?p?.(!0):m?.(),"data-testid":u("bank-account-page-back-click")})})}),s!=="small"?a.jsx(f,{windowSize:s,children:i}):null]})},f=o(y)`
2
2
  ${i=>`${P.formTitle.style(i.windowSize)}`};
3
3
  color: ${i=>i.theme.colors.primary};
4
4
  margin-bottom: ${i=>d.customTitleMarginBottom.valuePx(i.windowSize)};
@@ -1,4 +1,4 @@
1
- import{y as xe,X as Ae,P as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H as Ze,l as M,L as se,bN as Ke,M as et,bo as tt,j as k,at as nt,w as Ue,N as it,m as Ce,cc as ot,a7 as G,ad as he,e5 as at,aU as Me,fd as je,fe as ct,ff as Ve,bu as Ie,fg as lt,fh as st,fi as me,fj as fe,fk as ze,a5 as ge,bG as we,E as rt,b6 as dt,df as He,e as K,C as E,fl as ut,fm as pt,fn as ht,aD as mt,fo as ft}from"./index-BocbTmE1.js";import{a as r}from"./sentry-DINNQYpi.js";import{n}from"./mui-C_CXevf3.js";import{r as Te}from"./core-5sxMy3sZ.js";import{u as _e}from"./plaid-Yyr3DBd8.js";import{cf as gt,cg as ee,bG as Le}from"./zeni-epic-state-a7Sj5mjO.js";import{a as wt}from"./SetUpAccountSection-DYRWWXcL-BJMCbqBu.js";import"./liveblocks-BsQBjN-0.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ac1790c6-93c7-4d51-97bf-3377f3fe03da",e._sentryDebugIdIdentifier="sentry-dbid-ac1790c6-93c7-4d51-97bf-3377f3fe03da")}catch{}})();const{settings:{bankConnectionHeader:ae}}=re.getLocalizedStrings().common,V=[{value:ae.productType,width:new _(100,19)},{value:ae.primaryAccount,width:new _(100,36)},{value:ae.linkAccount,width:new _(100,22)},{value:ae.status,width:new _(12,12)},{value:ae.balance,width:new _(12,13)}],{common:{settings:Oe,strings:{hyphen:ye}},commonSetUp:{setUp:Fe}}=re.getLocalizedStrings(),j={containerPadding:new _(k[3],k[4]),containerRightPadding:new _(k[3],k[8]),iconContainerMaxWidthHeight:new _(k[6],k[7]),iconWidthHeight:new _(20,k[4]),iconPadding:new _(k[1],12),productTypeContainerMarginBottom:new _(k[3],k[0]),linkAccountContainerMarginTop:new _(k[3],k[0]),productTypeIconSize:new _(k[3],k[4])},St=({productType:e,windowSize:d})=>{switch(e){case"bill_pay":return t.jsx(Bt,{windowSize:d,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Rt,{windowSize:d,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(Dt,{windowSize:d,children:t.jsx(Me,{})});case"zeni_treasury":return t.jsx(Wt,{windowSize:d,children:t.jsx(pt,{})});default:return t.jsx(Nt,{windowSize:d,children:t.jsx(ut,{})})}},xt=({allBankAccounts:e,setupView:d,connectedAccountProvider:H,onFetchLinkTokenClick:B,onUpdatePaymentAccountStatus:z,onEstablishConnectionClick:T,onEstablishConnectionSuccess:R})=>{const C=xe(),c=Ae(),m=Ce().analytics,{trigger:w,formState:{errors:D}}=ot(),{plaidConnectionDetails:N,allFundingAccounts:o,primaryFundingAccount:a,productType:s}=d,u=N.link_account,p=N.update_account,[v,W]=r.useState(void 0),[$,S]=r.useState(!1),b=v==="update_account"?p:u,[A,q]=r.useState(b.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let f,F,l,g=!1;a!=null&&(a.accType==="depositAccount"?f={code:"verified",name:"Verified"}:(f=a.providerVerificationStatus,F=a?.institutionDetails,l=f?.code,g=a?.isLoginRequired??!1));const U=G(u.updateStatus.fetchState),X=G(p.updateStatus.fetchState),I=G(p.fetchStatus.fetchState),J=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Ge=>Ge.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||v!=="update_account"||Pe?.verification_status==null||g?T(x,y(s),s):z(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,v,g,z,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&z("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,z]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(gt(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&v!=null&&b.linkToken===A&&b.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,b.fetchStatus.fetchState,b.linkToken,l,v,O]);const L=be("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==A&&q(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=F?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Je={element:t.jsx(Me,{width:j.iconWidthHeight.valuePx(c)}),color:J};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(je,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(vt,{windowSize:c,wrapperWidth:V[0].width,children:[t.jsx(kt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx(St,{productType:s,windowSize:c})}),t.jsx(bt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:g,children:ct(Je,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:be(s,"primaryAccountSection"),placeholder:Fe.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:g,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de)?t.jsx(zt,{}):null]}):null,c==="small"&&f!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:f.name,textColor:fe(f.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de?t.jsx(ze,{productType:s,isUpdateLinkClicked:v==="update_account",isLoginRequired:g,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Ee,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Ft,{windowSize:c,isDisabled:g,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(jt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Et,{isDisabled:g?"disabled":void 0,name:be(s,"bankAccountSection"),placeholder:Fe.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:f!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:f.name,textColor:fe(f.code)}):t.jsx(ve,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Ee,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},yt=n.div`
1
+ import{y as xe,X as Ae,P as Ye,c8 as Xe,V as t,a_ as Qe,o as i,O as re,x as _,H as Ze,l as M,L as se,bN as Ke,M as et,bo as tt,j as k,at as nt,w as Ue,N as it,m as Ce,cc as ot,a7 as G,ad as he,e5 as at,aU as Me,fd as je,fe as ct,ff as Ve,bu as Ie,fg as lt,fh as st,fi as me,fj as fe,fk as ze,a5 as ge,bG as we,E as rt,b6 as dt,df as He,e as K,C as E,fl as ut,fm as pt,fn as ht,aD as mt,fo as ft}from"./index-DBW4633P.js";import{a as r}from"./sentry-DINNQYpi.js";import{n}from"./mui-C_CXevf3.js";import{r as Te}from"./core-5sxMy3sZ.js";import{u as _e}from"./plaid-Yyr3DBd8.js";import{cf as gt,cg as ee,bG as Le}from"./zeni-epic-state-a7Sj5mjO.js";import{a as wt}from"./SetUpAccountSection-DYRWWXcL-Bt4sXwAD.js";import"./liveblocks-BsQBjN-0.js";import"./lottie-C2R6rGxS.js";import"./pdf-DyB_VHQx.js";import"./dnd-Cfx_ai1S.js";import"./analytics-Buyhprzd.js";import"./recharts-CTWfsY-L.js";import"./utils-DmE88LS_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ac1790c6-93c7-4d51-97bf-3377f3fe03da",e._sentryDebugIdIdentifier="sentry-dbid-ac1790c6-93c7-4d51-97bf-3377f3fe03da")}catch{}})();const{settings:{bankConnectionHeader:ae}}=re.getLocalizedStrings().common,V=[{value:ae.productType,width:new _(100,19)},{value:ae.primaryAccount,width:new _(100,36)},{value:ae.linkAccount,width:new _(100,22)},{value:ae.status,width:new _(12,12)},{value:ae.balance,width:new _(12,13)}],{common:{settings:Oe,strings:{hyphen:ye}},commonSetUp:{setUp:Fe}}=re.getLocalizedStrings(),j={containerPadding:new _(k[3],k[4]),containerRightPadding:new _(k[3],k[8]),iconContainerMaxWidthHeight:new _(k[6],k[7]),iconWidthHeight:new _(20,k[4]),iconPadding:new _(k[1],12),productTypeContainerMarginBottom:new _(k[3],k[0]),linkAccountContainerMarginTop:new _(k[3],k[0]),productTypeIconSize:new _(k[3],k[4])},St=({productType:e,windowSize:d})=>{switch(e){case"bill_pay":return t.jsx(Bt,{windowSize:d,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Rt,{windowSize:d,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(Dt,{windowSize:d,children:t.jsx(Me,{})});case"zeni_treasury":return t.jsx(Wt,{windowSize:d,children:t.jsx(pt,{})});default:return t.jsx(Nt,{windowSize:d,children:t.jsx(ut,{})})}},xt=({allBankAccounts:e,setupView:d,connectedAccountProvider:H,onFetchLinkTokenClick:B,onUpdatePaymentAccountStatus:z,onEstablishConnectionClick:T,onEstablishConnectionSuccess:R})=>{const C=xe(),c=Ae(),m=Ce().analytics,{trigger:w,formState:{errors:D}}=ot(),{plaidConnectionDetails:N,allFundingAccounts:o,primaryFundingAccount:a,productType:s}=d,u=N.link_account,p=N.update_account,[v,W]=r.useState(void 0),[$,S]=r.useState(!1),b=v==="update_account"?p:u,[A,q]=r.useState(b.linkToken??null),[O,P]=r.useState(!1),h=u.fetchStatus.fetchState==="In-Progress"||u.updateStatus.fetchState==="In-Progress";let f,F,l,g=!1;a!=null&&(a.accType==="depositAccount"?f={code:"verified",name:"Verified"}:(f=a.providerVerificationStatus,F=a?.institutionDetails,l=f?.code,g=a?.isLoginRequired??!1));const U=G(u.updateStatus.fetchState),X=G(p.updateStatus.fetchState),I=G(p.fetchStatus.fetchState),J=C.mode==="light"?new he(C.colors.brandColorJadeLight):new he(C.colors.brandColorJadeDark),Q=r.useCallback((x,Y)=>{m.trackConnectBankSuccess(s,"Settings");const Pe=Y.accounts.find(Ge=>Ge.id===a?.providerAccountId)??Y.accounts[0];a?.id==null||v!=="update_account"||Pe?.verification_status==null||g?T(x,y(s),s):z(Pe?.verification_status,a.id,"update_account",y(s),s),W(void 0),P(!1)},[m,s,a?.id,a?.providerAccountId,v,g,z,T]),te=r.useCallback((x,Y)=>{x!=null&&(m.trackConnectBankFailure(s,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&a?.id!=null&&z("verification_failed",a.id,"update_account",y(s),s),console.log("Plaid Connection Error",x,Y)),W(void 0),P(!1)},[m,s,a?.id,z]),{open:ne,ready:ie}=_e({token:A,onSuccess:Q,onExit:te});r.useEffect(()=>{(U==="In-Progress"&&u.updateStatus.fetchState==="Completed"||X==="In-Progress"&&p.updateStatus.fetchState==="Completed")&&(gt(l??"")||(B("link_account",y(s)),R(y(s),s)))},[u.updateStatus.fetchState,R,B,a?.providerVerificationStatus?.code,a?.id,U,X,p.updateStatus.fetchState,l,s]),r.useEffect(()=>{(ee(l??"")||l==="verification_failed")&&!O&&v!=null&&b.linkToken===A&&b.fetchStatus.fetchState==="Completed"&&ie&&P(!0)},[ie,A,b.fetchStatus.fetchState,b.linkToken,l,v,O]);const L=be("bankConnectionsSettingsPage","primaryAccountSection"),Z=at(D,L);r.useEffect(()=>{b.fetchStatus.fetchState==="Completed"&&b.linkToken!=null&&b.linkToken!==A&&q(b.linkToken)},[b.fetchStatus.fetchState,b.linkToken,A]),r.useEffect(()=>{O&&ne()},[O,ne]),r.useEffect(()=>{!a?.zeniAccountId&&!Z&&w(L)},[a?.id]),r.useEffect(()=>{(l==null||l==="verification_failed"||l==="verification_expired"||ee(l))&&(Le(new Date().toISOString()).isAfter(u.expiration)||u.linkToken==null)&&B("link_account",y(s))},[]);const oe=`${a?.accountSubType?.name!=null?a?.accountSubType?.name.substring(0,1).toUpperCase().concat(a?.accountSubType?.name.substring(1)):""} ${a?.maskedAccountNumber??""}`.trim(),de=F?.zeniInstitutionId.toLowerCase()==="chase",qe=o.findIndex(x=>x.id===a?.id),Je={element:t.jsx(Me,{width:j.iconWidthHeight.valuePx(c)}),color:J};return t.jsxs(yt,{windowSize:c,children:[$===!0?Te.createPortal(t.jsx(je,{connectedAccountProvider:H,action:{onBackClick:()=>S(!1)}}),document.body):null,t.jsxs(vt,{windowSize:c,wrapperWidth:V[0].width,children:[t.jsx(kt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx(St,{productType:s,windowSize:c})}),t.jsx(bt,{children:Oe.productNameByType[s]})]}),t.jsx($t,{windowSize:c,wrapperWidth:V[1].width,children:t.jsxs(_t,{windowSize:c,children:[a!=null&&c!=="small"?t.jsx(Tt,{isDisabled:g,children:ct(Je,c,C.mode==="dark",a,qe,!1)}):null,t.jsxs(Pt,{windowSize:c,className:"fundingAccount",children:[t.jsx(Ve,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ie.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ie.medium},name:be(s,"primaryAccountSection"),placeholder:Fe.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,Y)=>st(o,x,Y),valueToSubLabels:(x,Y)=>lt(o,x,Y,!1),defaultValue:{selectedOption:a?.id,allOptions:o.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:h?"disabled":void 0,showLoadingIcon:h,onClickCreateOption:()=>{m.trackConnectBank(s,"Settings"),W("link_account"),u.linkToken==null||Le(new Date().toISOString()).isAfter(u.expiration)?B("link_account",y(s)):A!==u.linkToken?q(u.linkToken):O?ne():P(!0)}}),t.jsxs(At,{isDisabled:g,children:[oe?t.jsxs(t.Fragment,{children:[t.jsx(Ct,{children:oe}),c!=="small"&&(l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de)?t.jsx(zt,{}):null]}):null,c==="small"&&f!=null?t.jsx(me,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:f.name,textColor:fe(f.code)}):null,l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification"||g||de?t.jsx(ze,{productType:s,isUpdateLinkClicked:v==="update_account",isLoginRequired:g,isPendingVerification:l!=="verification_failed"&&a?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:p.fetchStatus,updateStatus:p.updateStatus,linkFetchStatus:u.fetchStatus,linkUpdateStatus:u.updateStatus,prevFetchState:I,prevUpdateState:X},onUpdateLinkTokenClick:()=>{m.trackConnectBankGetBalance(s,"Settings"),W("update_account"),B("update_account",y(s),a?.id)},onChaseInfoClick:()=>{S(!0)}}):null]})]}),c==="small"?t.jsxs(Lt,{children:[a?.accountBalance?.available?t.jsx(Ee,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Ft,{windowSize:c,isDisabled:g,wrapperWidth:V[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",s),className:"qboLinkAcc",children:[c==="small"?t.jsx(jt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Et,{isDisabled:g?"disabled":void 0,name:be(s,"bankAccountSection"),placeholder:Fe.zeniCashAccountPlaceholder,defaultValue:{selectedOption:a?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Ot,{windowSize:c,wrapperWidth:V[3].width,children:f!=null?t.jsx(me,{style:{width:"max-content",padding:0},tagTitle:f.name,textColor:fe(f.code)}):t.jsx(ve,{children:ye})}):null,c!=="small"?t.jsxs(It,{windowSize:c,wrapperWidth:V[4].width,children:[a?.accountBalance?.available?t.jsx(Ee,{className:"balanceLabel",children:ge("0,0[.]00",a?.accountBalance?.available)}):t.jsx(ve,{children:ye}),a?.accountBalance?.lastRefreshTime?t.jsx(Be,{className:"balanceLabel",children:we(a?.accountBalance?.lastRefreshTime)}):a?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},yt=n.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};