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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-DOdcnea1.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-GiPvCRJA.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-DyFOkn-g.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-Dv2VQ_UN.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-0u2oxgMR.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-Cy_UpDhS.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-BWdxQBZs.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-xvXEX-Ux.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
  11. package/dist/assets/{AddressRoutes-ffTj4-XE.js → AddressRoutes-BOfIecri.js} +1 -1
  12. package/dist/assets/{AddressScreen-CwbSwP2P.js → AddressScreen-BL1pptQ5.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-C-s9DGYa.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-ky7GYy31.js → AiCfoScreen-B5nbVKeh.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-Dadr9Gec.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-CXso1m5Y.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-N8in2lu3.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-HEzUvQD5.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-6E84O9sA.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-BSFQLwWJ.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-CcwxPD_r.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-C2YzlN6Z.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x-BSkB04b8.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-vpE8xbp3.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-DfeZIMEg.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-OBPhlcth.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-a4bc14UJ.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRqEGV5h.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-CDGGBdw4.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-C2T9b-Vq.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-IwCLBQ4C.js → BillPayRoutes-CBS2uwsj.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--hKXnXW7y.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-BYPEX6n6.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-DETAm1nH.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-CNFx_qzU.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-ZRSnva4Q.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-CBtz2-zR.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-DaOngyN9.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-DUYxvvHo.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DvaMlHNq.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-CIu-TGGw.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-B-StV0nu.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-DZi3AnCd.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-BCsrr76G.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-qFs5VmEt.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-CcQz84BS.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-4SSCFPQ4.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-SmPvhIJ-.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-BHE5m01A.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-CLhqGMI2.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-Djs-y_lF.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c-CfshBdbX.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-CfkYFhOH.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-BkCkkFbF.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-DA7b9h73.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-Bt9nVDvl.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DpAfq4d_.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-BjR4IlX5.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-BWbFgsjF.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-CnRANTg2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-BUv4wnWa.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-zXc9wagp.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-C-ExaFC2.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-D6-04E6_.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-BzG7cQxy.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-DtIuxucw.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-CVWpnSBo.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-CYxNkh7v.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-ChFJ7MHp.js → DashboardRoutes-C-92-XEq.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CgiNswdF.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DpbVQ8O_.js → DefaultTenantHome-Bim9etFd.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DRNN1br-.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-KiHqHADW.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-mFjAiqsH.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-D5dltjE3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BTRZen3n.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-Dw-wONp5.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CnU-VoMe.js → DrawerScreen-MxSrrJrd.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DqbQfjtE.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-DZUd4Itz.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-Bl0VaL7D.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-BoOr8fVU.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-CwsDMrKO.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-xnjjT-mx.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-D8OIvCDd.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-SeZBy6gS.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-C0P6i02u.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-CcjSI5cK.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-CY3KrJG7.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-QDZIOJkv.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-Bxjmly9q.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-Bb1JSXvK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-CHqlcKsY.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-Bd8qZ6Sn.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-DTdizezB.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-CfPz5aLZ.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-BoGyyI8-.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-DW8tQqHU.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BVfacopw.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-B7H94Qr_.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-D1NZ5n0C.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-DQcySL2B.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-9Bh85cZL.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-C7uKsE8n.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-B68SMHkZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-B0SGNp0O.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-CBxNcBjR.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-fV4URX6J.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-CkFXu9dG.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-DOZ2ED2j.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-CpanQxt-.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-WYjBLL4Z.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CmNHahAF.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-dj-ud4dM.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-mjp3UwWz.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-Ckqd1b8v.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-CQO3ycRf.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-DaX13Is3.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-Je-xXgqt.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-BgAj_Mic.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-8WWnBNb8.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Bcyem12-.js → MobileAppDrawer-C3TNoouV.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-CmGmYM-R.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-BmGEKHOY.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-QySvTesc.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CUAB-1K_.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DsUaY4v0.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-BB9rS2z2.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-DmJjA0eC.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-BRwtqbdY.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-CJGJMrLD.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-CqL87o0B.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-Ceul2a4k.js → NotFoundScreen-CubXCR1V.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BjIV5PW8.js → NotificationRoutes-C2SuMmMM.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--gxJ4ef8p.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-DvchCo1R.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BMiLOKv6.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-CSTc2zF7.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-7YT_HLI5.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-CYrlYxiW.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-D46AftWd.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-BXInRRHh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CYTf-n47.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B6Hh54SM.js → PeopleRoutes-CAoitlRn.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-CZK-MKEJ.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
  156. package/dist/assets/{Preview-Dz6VBJ2u.js → Preview-B3lHkBD5.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-Bx79qkz1.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-wliyWMwp.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-BhNTbLuP.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Dyzyd1p0.js → QBOConnectionScreen-W61uspBL.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-DQnE3KzF.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-BOWr342j.js → ReferralListScreen-CFqALHvq.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-m5L8sFJ5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-Cd-uHeUo.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CC5sxHbJ.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-NVHIG-OE.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BpFwxhjT.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-L-8yyH_M.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-LUt3h9UV.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-B07qbUkS.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-uzEFRQ-S.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-DBPBbgAk.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-CPsb7qgs.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-DMFsqd7C.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-o9bGTZG2.js → ReportsRoutes-DCqEshJz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-BKAB0VPm.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-BuMU9buw.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-T1Rt0JTi.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BgoAL3gc.js → RewardsRoutes-CSIVaJxq.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-GXXfeOBC.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-DNDpwGYk.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-CrubqPOA.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-w_YgKqjP.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-TOE80oct.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-DQJqTTcH.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-DiQAnQke.js → SettingsRoutes-D3PUQXPp.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-B44zrHwc.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-CXpuQZF7.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
  189. package/dist/assets/{SignInScreen-C2qODMhD.js → SignInScreen-BDFrycHi.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BuY2-rDM.js → SignOutScreen-CGJ8k7ri.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-Bnkn6BRU.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-BbdiQcvt.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-C5fgGVtc.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-BDI0UE9q.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-CpFQ2fm7.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-esyU6zat.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-DY-WyLZ7.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-Ct3YtoCE.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CoLCJfe-.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-NTfqA0n4.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
  201. package/dist/assets/{TaskListScreen-pLglWsFm.js → TaskListScreen-BN0d0a63.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-CpLCNkk4.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
  203. package/dist/assets/{TaskRoutes-DnaScSH0.js → TaskRoutes-DEMuiHnC.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-D8_bwHZK.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--WBWh3QNc.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D-7PUQTb.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BU77sN9h.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-DtCTyGEZ.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-Dt9C7u25.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-CdI1Sif1.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-LeQoOoop.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DmniS92w.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-BZXHb6ne.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-CwuevZBI.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-B0NbfJGc.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-BAGVAnze.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-BoniTEmb.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-DKLiFiZv.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-CSsspYlY.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-RdusD-Rs.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-DtzjbSZs.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-fE4rL1gs.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-CoxM2wed.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BjS9g3RO.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-BAgYpBnA.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-Pa5hfJ1q.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BNROU96t.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-CdHY7Z8F.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-D7-yK69r.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DkVJi06p.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-Bjr44b-O.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-Bo3Iqcup.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-SOKeFy8n.js → VendorsRoutes-05ainu55.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-DgLDroCx.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-u3_il_Y_.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-DAIfDEuP.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-DH4LFnlh.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-D5t6KpKy.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-BoKhHVdj.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-w44Ezq7c.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-Clp7jZPs.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-DFjwyu_L.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-CIYZ11Sw.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-C6QxYG3m.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-aNjy2A_h.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-CiSnJmIZ.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-CeeUTfjC.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-ssTMZPmj.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BiN37Afq.js → accountMappingHelper-GPi0oD1D.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-CPiuqV_c.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
  256. package/dist/assets/{analytics-wdo9XAAq.js → analytics-B2Q_uKwH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-AeOsAjMK-BGRykG4C.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
  258. package/dist/assets/{analyticsHelper-DCVh2Q2D.js → analyticsHelper-eqJrrWmY.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cha4vEKb.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BOscmwTD.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-Cy0EjR0N.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-Dipf9hW8.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-DzScwWaZ.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-Da9uYAcr.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CnqntmQY.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-BvbgEdIW.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-DYgG7K13.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
  269. package/dist/assets/{core-BcVj2gTX.js → core-D9P6lLF-.js} +1 -1
  270. package/dist/assets/{dash.all.min-C98tiWV1.js → dash.all.min-CrF9T_sg.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-ClJHrrjv.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
  272. package/dist/assets/{dnd-eXDjf6Lj.js → dnd-nSkfhkrX.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-B8-M7Nzo.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-CyBUyeC8.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
  275. package/dist/assets/{empty-wYUB3tSo.js → empty-BM1tlym1.js} +1 -1
  276. package/dist/assets/{empty-C4qv3p9z.js → empty-DqDGRwQI.js} +1 -1
  277. package/dist/assets/{epic-BQcpQKad.js → epic-C-GRNY0z.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-BvpfZxhV.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-Cgh9LbcE.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-DmzAN1Y2.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-C2w81gyO.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-B9Kj_9xA.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-C5EsxlDc.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--CCWSdc0u.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-B8GMs2Qi.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
  286. package/dist/assets/{index-Lqpf6Iwl.js → index-BGoNZK9J.js} +1 -1
  287. package/dist/assets/{index-DlrbNfLu.js → index-BHx-AV13.js} +1 -1
  288. package/dist/assets/{index-DxRPAtdN.js → index-BoyH9PC5.js} +1 -1
  289. package/dist/assets/{index-Bnlx-O7K.js → index-C6CSTWn-.js} +1 -1
  290. package/dist/assets/{index-CDsOcKsG.js → index-CAltUZe8.js} +6 -6
  291. package/dist/assets/{index-CHxhGC-k.js → index-D3FWjv6R.js} +1 -1
  292. package/dist/assets/{lexical-DEeAev9O.js → lexical-Ct6cBwR8.js} +1 -1
  293. package/dist/assets/{liveblocks-BAIL303h.js → liveblocks-DxIK6Zp5.js} +1 -1
  294. package/dist/assets/{lottie-DP5A4Fs7.js → lottie-BEhoArVd.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-BSyDfjzw.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-_jPUKmdI.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-n_XJX95T.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
  301. package/dist/assets/{media-player-Bc98lKB5.js → media-player-CsDObYZE.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DIu_vl7e.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
  303. package/dist/assets/{mui-hn9thxzh.js → mui-CMSRVFAm.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-6zbdwm2S.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BOxy1JzR.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-B7PwrSV9.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
  307. package/dist/assets/{pathToGoBack-CQ5L4Qtj.js → pathToGoBack-Blub25Cp.js} +1 -1
  308. package/dist/assets/{pdf-Cs-mh77O.js → pdf-Be2WBqYM.js} +3 -3
  309. package/dist/assets/{pdf-lib-sBkKqPTU.js → pdf-lib-CnVZquuu.js} +1 -1
  310. package/dist/assets/{plaid-NpQK5k22.js → plaid-BfI3x5Cu.js} +1 -1
  311. package/dist/assets/{pusher-DWT0gMh9.js → pusher-B6_CsVbZ.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-CFx63U5w.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
  313. package/dist/assets/{react-CDpJbt9S.js → react-BHFS79hd.js} +1 -1
  314. package/dist/assets/{react-C6SHTtsh.js → react-BU_9CVSX.js} +3 -3
  315. package/dist/assets/{react-D2TGyR4z.js → react-BpE8-YB1.js} +1 -1
  316. package/dist/assets/{react-xLLMyMiK.js → react-C0Y1QuQQ.js} +1 -1
  317. package/dist/assets/{react-D8Ql5Ir3.js → react-C8t61nFI.js} +1 -1
  318. package/dist/assets/{react-GYK8-ald.js → react-D-1D0x0x.js} +1 -1
  319. package/dist/assets/{react-BTmu8DG-.js → react-Df07f_EQ.js} +1 -1
  320. package/dist/assets/{react-D7EJTKAr.js → react-DoqYYGGT.js} +1 -1
  321. package/dist/assets/{recharts-B4dFoR35.js → recharts-gT6BOz1b.js} +1 -1
  322. package/dist/assets/{routePaths-C-_oCckx.js → routePaths-C2kSZwVH.js} +1 -1
  323. package/dist/assets/{sentry-BkPUuNvL.js → sentry-DQeYyYXx.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-aMF7hqRR.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-C-17E3uX.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-CRAS8Brl.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-B2H47PYQ.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-DnfqwuXr.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-PO6XR31-.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CkquQ_GZ.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-w-CpO5ZH.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-DItV8z0n.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
  334. package/dist/assets/{url-Bagborol.js → url-DabKyEXg.js} +1 -1
  335. package/dist/assets/{url-DmgUP0mV.js → url-Doy-Mf6X.js} +1 -1
  336. package/dist/assets/{useDeviceId-eLv7tFR4.js → useDeviceId-Dx8RlRsA.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BQU3Jo1E.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Cftpm8Z6.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D_M71co8.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
  340. package/dist/assets/{utils-DkgigH7S.js → utils-BAO5KfNy.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-H3IbO2pr.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CsRsIUwY.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-QItZ_P8a.js → zeni-icon-only-4nFle2Fz.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-i4SdDCSW.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-DeBCdl3d.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-B1_RM9n8.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DW3UNOti.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-D7hLcvD9.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-t-Qqzm11.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-a6QKQbsr.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-yzbitn8u.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-CyHS18r2.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-EDVvFAle.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-BxMdrzgd.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-3dryvOZg.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-rl7Xwq3o.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bd-GOuTM.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-B_msRt77.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DHmy9Qnb.js +0 -1
  362. package/dist/assets/common-CAmBErdt-mQeN1s1o.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CqHpAmA4.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-BqlDWqT_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-COMd_TR_.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as W,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as G,x as s,eq as J,ar as K,o as Q,m as t}from"./index-CDsOcKsG.js";import{a as h}from"./sentry-BkPUuNvL.js";import{n as l}from"./mui-hn9thxzh.js";import{W as X,A as Y}from"./BankAccountWarningSection-D7OuLiLz-DfeZIMEg.js";import{M as Z}from"./MagicLinkTitleSection-DLdaV8WG-8WWnBNb8.js";import{e as ee}from"./BankAccountSection-DnBVOkJC-vpE8xbp3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c4b35663-7812-46d7-a2a1-a9f998a430d9",e._sentryDebugIdIdentifier="sentry-dbid-c4b35663-7812-46d7-a2a1-a9f998a430d9")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:g,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:d,companyName:P,currencySymbol:L,amount:M,bankAccountContext:$})=>{const r=W(),i=H({mode:"onBlur",reValidateMode:"onChange",defaultValues:h.useMemo(()=>ne(o),[o])}),[z,u]=h.useState(!1),c=A.getLocalizedStrings().spendManagement.billPay.vendorCreation,I=A.getLocalizedStrings().common.footer,{achDetails:k,bankAccountCommon:p}=c,R={onOkClick:()=>{u(!1),i.reset(),g?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(E,w)=>{const f=w[m].bankRoutingNumber;D(w),E===`${m}.bankRoutingNumber`&&f?.length===9&&J.test(f)===!0&&j?.(f)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[z===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:R}):null,n.jsx(X,{header:d?n.jsx(Z,{companyName:P??"",currencySymbol:L??"",amount:M??0}):k.addACHDetails,isMagicLink:d,isDirty:i.formState.isDirty,onBackClick:g,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Y,{warningText:p.accountExistWarning}):null,$==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(G,{formId:B(S),primaryBtn:{label:d?p.submitDetails:p.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!d,cancelBtn:{label:I.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),g?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=l.div`
1
+ import{e as E,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as G,x as s,eq as J,ar as Q,o as K,m as t}from"./index-CAltUZe8.js";import{a as h}from"./sentry-DQeYyYXx.js";import{n as l}from"./mui-CMSRVFAm.js";import{W as X,A as Y}from"./BankAccountWarningSection-Cled-2cR-CM49bGSJ.js";import{M as Z}from"./MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js";import{e as ee}from"./BankAccountSection-Di4sF52j-D_gkfCl5.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]="4cb9aa88-b500-46fa-91ef-479b04ac69bf",e._sentryDebugIdIdentifier="sentry-dbid-4cb9aa88-b500-46fa-91ef-479b04ac69bf")}catch{}})();const a={paddingTopBottomContainer:new s(t[3],t[3]),paddingLeftContainer:new s(t[3],t[6]),paddingRightContainer:new s(t[3],t[8]),sectionTitleMarginLeft:new s(t[4],t[6]),sectionTitleMarginTop:new s(12,t[3]),buttonWidth:new s(140,140)},S="achDetailsPage",m="bankAccountSection",B=e=>`${e}_form`,be=({bankAccountCreationState:e,bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,isDisabled:y,style:N,onSaveHandler:v,onBackClick:f,onACHDetailsUpdated:D,onFetchBankName:j,isMagicLink:d,companyName:P,currencySymbol:R,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:g}=c,M={onOkClick:()=>{u(!1),i.reset(),f?.()},onCancelClick:()=>{u(!1)}};h.useEffect(()=>{const x=i.watch((C,{name:T})=>{T!=null&&C!=null&&O(()=>(async(W,w)=>{const p=w[m].bankRoutingNumber;D(w),W===`${m}.bankRoutingNumber`&&p?.length===9&&J.test(p)===!0&&j?.(p)})(T,C))});return()=>{x.unsubscribe()}});const _=i.handleSubmit(x=>{b.fetchState!=="In-Progress"&&v("ach")});return n.jsxs(ae,{children:[n.jsxs(ie,{style:N,size:r,children:[I===!0?n.jsx(V,{titleComponent:n.jsx(F,{children:c.discardTitle}),descriptionComponent:n.jsx(q,{children:c.discardDescription}),primaryButtonText:c.discard,secondaryButtonText:c.cancel,action:M}):null,n.jsx(X,{header:d?n.jsx(Z,{companyName:P??"",currencySymbol:R??"",amount:$??0}):k.addACHDetails,isMagicLink:d,isDirty:i.formState.isDirty,onBackClick:f,setShowConfirmationPopup:u}),e?.fetchState==="Error"&&e.error?.code===409?n.jsx(Y,{warningText:g.accountExistWarning}):null,z==="express-pay"?null:n.jsx(oe,{size:r,children:k.title}),n.jsx(se,{children:n.jsx(U,{...i,children:n.jsx("form",{id:B(S),onSubmit:_,children:n.jsx(te,{size:r,children:n.jsx(ee,{bankAccountToCreate:o,fetchBankNameByRoutingStatus:b,sectionId:m,isDisabled:y})})})})})]}),n.jsx(G,{formId:B(S),primaryBtn:{label:d?g.submitDetails:g.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:a.buttonWidth.value(r)},isDisabled:y!=null},showCancel:!d,cancelBtn:{label:L.cancel,style:{width:a.buttonWidth.value(r)},shouldResetOnCancel:!1,onClick:()=>{i.formState.isDirty?u(!0):(i.reset(),f?.())}}})]})},ne=e=>({[m]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName,bankAccountType:e?.bankAccountType}}),te=l.div`
2
2
  padding-left: ${e=>a.paddingLeftContainer.valuePx(e.size)};
3
3
  padding-right: ${e=>a.paddingRightContainer.valuePx(e.size)};
4
4
  padding-top: ${e=>a.paddingTopBottomContainer.valuePx(e.size)};
@@ -12,10 +12,10 @@ import{e as W,T as H,O as A,c8 as O,V as n,bR as V,bS as q,bT as F,A as U,a9 as
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  flex-grow: 1;
15
- `,oe=l(K)`
15
+ `,oe=l(Q)`
16
16
  color: ${e=>e.theme.colors.champion};
17
17
  margin-left: ${e=>a.sectionTitleMarginLeft.valuePx(e.size)};
18
18
  margin-top: ${e=>a.sectionTitleMarginTop.valuePx(e.size)};
19
19
  `,se=l.div`
20
- margin-top: ${Q.sp5};
20
+ margin-top: ${K.sp5};
21
21
  `;export{be as f};
@@ -1,4 +1,4 @@
1
- import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bo as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-CDsOcKsG.js";import{a as e}from"./sentry-BkPUuNvL.js";import{n as o,c as D1,k as H1}from"./mui-hn9thxzh.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-CsRsIUwY.js";import{R as P1}from"./NavBarWithPicker-Dr5XHgP5-BMoWiwl5.js";import{t as V1}from"./clock-CJkylEKt-CnqntmQY.js";import{o as T1}from"./dollar-round-D18u7nlm-B8-M7Nzo.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-B4dFoR35.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="ee870e24-f40e-47d9-9704-382ed9d39c8a",t._sentryDebugIdIdentifier="sentry-dbid-ee870e24-f40e-47d9-9704-382ed9d39c8a")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.div`
1
+ import{x as k,h as y1,e as y,O as j,bF as j1,V as C,bo as $1,o as r,b as v1,w as D,bI as b1,iX as V,m as n,bg as f,bO as h1,f as c,N as S1,an as p1,y as m1,iY as g,C as x,iZ as Z1,i_ as B1,q as S,c2 as Y,ar as J,H as F1,fx as W1,bH as u1,l as _1}from"./index-CAltUZe8.js";import{a as e}from"./sentry-DQeYyYXx.js";import{n as o,c as D1,k as H1}from"./mui-CMSRVFAm.js";import{GL as w,GM as e1,GN as F}from"./zeni-epic-state-CHpO1ZKT.js";import{R as P1}from"./NavBarWithPicker-CGGEvLwe-DGWn5q5A.js";import{t as V1}from"./clock-CJkylEKt-CwvCI5hq.js";import{o as T1}from"./dollar-round-D18u7nlm-DJ7jjz8a.js";import{N as k1,X as x1,Y as I,E as z1,F as O1,O as t1}from"./recharts-gT6BOz1b.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var 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]="cd116069-b905-44dd-947d-1a68d17cff9e",t._sentryDebugIdIdentifier="sentry-dbid-cd116069-b905-44dd-947d-1a68d17cff9e")}catch{}})();const C1={titleLoaderWidth:new k(200,200,300),subtitleLoaderWidth:new k(100,100,200)},G1=o.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  border: 1px solid ${t=>t.theme.colors.grey3};
@@ -0,0 +1,18 @@
1
+ import{y as h,e as x,V as t,gd as y,o as r,x as s,h0 as b,m as i}from"./index-CAltUZe8.js";import{a as D}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{K as P}from"./StatusSwitcher-Bv-ozN6U-aFxpsrjy.js";import{r as $}from"./AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./downloadPdf-Dsuxeias-DgqgIEmy.js";import"./commonDimensions-Oz1tdAcx-6qsjkus3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="72ef6653-ac6e-4085-a701-322a798595e8",e._sentryDebugIdIdentifier="sentry-dbid-72ef6653-ac6e-4085-a701-322a798595e8")}catch{}})();const d={pageTitleMarginXAxis:new s(i[4],i[8]),containerPaddingLeft:new s(i[3],i[6],i[8]),containerPaddingRight:new s(i[3],i[6],i[8])},G=({authParams:e,downloadAccountDetailEndPoint:n,depositAccount:a,zeniAccountsConfigDetail:g,currentTenant:p,onDismissClick:f})=>{const m=h(),l=x(),[c,u]=D.useState("achDetails");return t.jsxs(T,{children:[t.jsx(y,{title:"",backgroundColor:m.colors.grey4,style:{zIndex:4},isTitleAlignLeft:!0,onCloseClick:f}),t.jsx(j,{windowSize:l,children:a.accountName}),t.jsx(z,{children:t.jsx(P,{tabIds:["achDetails","wireDetails"],selectedTab:c,entity:"zeni_accounts",onTabSelectedChange:w=>{u(w)},isSwitcherLeftAlign:!0})}),t.jsx(A,{windowSize:l,children:t.jsx($,{authParams:e,downloadAccountDetailEndPoint:n,currentTab:c,zeniAccountsConfigDetail:g,currentTenant:p,depositAccount:a})})]})},A=o.div`
2
+ padding-left: ${e=>`${d.containerPaddingLeft.valuePx(e.windowSize)}`};
3
+ padding-right: ${e=>`${d.containerPaddingRight.valuePx(e.windowSize)}`};
4
+ `,T=o.div`
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: ${e=>e.theme.colors.grey4};
8
+ overflow-x: hidden;
9
+ height: 100%;
10
+ width: 100%;
11
+ `,j=o(b)`
12
+ color: ${e=>e.theme.colors.primary};
13
+ padding: ${r.sp3} ${r.sp0};
14
+ margin: ${e=>`${r.sp0} ${d.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
15
+ `,z=o.div`
16
+ display: flex;
17
+ justify-content: flex-start;
18
+ `;export{G as default};
@@ -0,0 +1,149 @@
1
+ import{e as ke,gm as Ne,h1 as K,V as r,bo as L,L as we,b as z,o as a,ar as je,O as Ae,by as Se,f as R,C as re,aA as Te,gq as ve,l as ae}from"./index-CAltUZe8.js";import{a as n}from"./sentry-DQeYyYXx.js";import{n as t}from"./mui-CMSRVFAm.js";import{w as De}from"./downloadPdf-Dsuxeias-DgqgIEmy.js";import{o as Ce}from"./commonDimensions-Oz1tdAcx-6qsjkus3.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[$]="aab30243-3c4f-4444-a7a0-c7166e41a5ad",e._sentryDebugIdIdentifier="sentry-dbid-aab30243-3c4f-4444-a7a0-c7166e41a5ad")}catch{}})();const{common:{strings:Le,copyToClipBoard:g},spendManagement:{zeniAccounts:{zeniAccountDetail:Q},billPay:{vendorCreation:{achDetails:o}},downloads:W}}=Ae.getLocalizedStrings(),Xe=({authParams:e,downloadAccountDetailEndPoint:$,currentTab:m,depositAccount:s,zeniAccountsConfigDetail:u,currentTenant:k})=>{const oe=ke(),[,M]=Ne(),[N,te]=n.useState(!1),[ne,se]=n.useState(!1),[ie,ce]=n.useState(!1),[de,le]=n.useState(!1),[be,ue]=n.useState(!1),[pe,me]=n.useState(!1),[he,ye]=n.useState(!1),[xe,$e]=n.useState(!1),[h,P]=n.useState(!1),[w,q]=n.useState(!1),[j,O]=n.useState(!1),[A,B]=n.useState(!1),[S,G]=n.useState(!1),[T,H]=n.useState(!1),[v,J]=n.useState(!1),[f,U]=n.useState(!1),D=k?.company?.companyInfo.companyLegalName,C=K(u.zeniAccountsConfigDetail.mailingAddress).text2,p=K(u.zeniAccountsConfigDetail.bankAddress).text2;n.useEffect(()=>{(h||T||v||f||S||f||j||w||A)&&setTimeout(()=>{P(!1),H(!1),J(!1),U(!1),G(!1),B(!1),O(!1),q(!1)},1200)},[h,T,v,f,S,A,j,w]);const V=(y,i)=>{switch(y){case"accountType":se(i);break;case"acccountNumber":ce(i);break;case"routingNumber":le(i);break;case"bankName":ue(i);break;case"beneficiaryName":ye(i);break;case"beneficiaryAddress":me(i);break;case"bankAddress":$e(i)}},c=(y,i,x,F)=>{let l,d;switch(x){case"acccountNumber":l=ie,d=v;break;case"accountType":l=ne,d=T;break;case"bankName":l=be,d=S;break;case"beneficiaryName":l=he,d=w;break;case"beneficiaryAddress":l=pe,d=A;break;case"bankAddress":l=xe,d=j;break;default:l=de,d=f}return r.jsxs(Pe,{onMouseEnter:()=>V(x,!0),onMouseLeave:()=>V(x,!1),children:[r.jsx(qe,{children:y}),r.jsx(Be,{children:r.jsxs(Ge,{children:[r.jsxs(Oe,{children:[l||oe==="small"?r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:d,children:d?g.copied:g.copy}),enterDelay:600,children:d===!0?r.jsx(ee,{}):r.jsx(Z,{"data-testid":z("account-info-copy",x),onClick:()=>{M(i),(()=>{switch(x){case"accountType":H(!0);break;case"acccountNumber":J(!0);break;case"routingNumber":U(!0);break;case"bankName":G(!0);break;case"beneficiaryName":q(!0);break;case"beneficiaryAddress":B(!0);break;case"bankAddress":O(!0)}})()}})})}):null,i]}),F!=null?r.jsx(He,{children:F}):null]})})]})},fe={detail_type:"account_details",deposit_account_id:s.id,company_name:k?.companyName??"",company_legal_name:k?.company?.companyInfo.companyLegalName??""},ge=`${$}?query=${encodeURIComponent(JSON.stringify(fe))}`;return r.jsx(ze,{children:r.jsxs(_e,{children:[r.jsxs(Ie,{children:[r.jsx(Ee,{children:m==="achDetails"?Q.achTitle:Q.wireTitle}),r.jsxs(Re,{children:[r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:N,children:N?W.downloading:W.download}),enterDelay:600,children:N===!0?r.jsx(we,{size:"Small",start:!0}):r.jsx(Me,{"data-testid":z("account-info-download-pdf"),onClick:()=>{De(ge,Le.empty,e,te,!0)}})})}),r.jsx(_,{children:r.jsx(L,{display:"flex",placement:"left",title:r.jsx(I,{isTextCopied:h,children:h?g.copied:g.copy}),enterDelay:600,children:h===!0?r.jsx(ee,{}):r.jsx(Z,{onClick:()=>(y=>{let i;i=y==="achDetails"?`${o.bankRoutingNumber} ${s.routingNumberAch}
2
+
3
+ ${o.accountTypeLabel} ${s.accountSubType.name??""}
4
+
5
+ ${o.bankAccountNumber} ${s.accountNumber}
6
+
7
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
8
+
9
+ ${o.bankAddress} ${p}`:`${o.bankRoutingNumber} ${s.routingNumberAch}
10
+
11
+ ${o.accountTypeLabel} ${s.accountSubType.name??""}
12
+
13
+ ${o.bankAccountNumber} ${s.accountNumber}
14
+
15
+ ${o.bankName} ${u.zeniAccountsConfigDetail.bankName}
16
+
17
+ ${o.beneficiaryName} ${D}
18
+
19
+ ${o.bankAddress} ${p}
20
+
21
+ ${o.beneficiaryAddress} ${C}`,M(i),P(!0)})(m),"data-testid":z("title-text-copy")})})})]})]}),m==="achDetails"?r.jsxs(Je,{children:[r.jsx(X,{children:c(o.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(o.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(o.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(Y,{children:c(o.bankAddress,p,"bankAddress")}):null]}):m==="wireDetails"?r.jsxs(Ue,{children:[r.jsx(X,{children:c(o.bankRoutingNumber,s.routingNumberAch,"routingNumber")}),r.jsx(b,{children:c(o.accountTypeLabel,s.accountSubType.name,"accountType")}),r.jsx(b,{children:c(o.bankAccountNumber,s.accountNumber,"acccountNumber")}),r.jsx(b,{children:c(o.bankName,u.zeniAccountsConfigDetail.bankName,"bankName")}),p!=null?r.jsx(b,{children:c(o.bankAddress,p,"bankAddress")}):null,D!=null?r.jsx(b,{children:c(o.beneficiaryName,D,"beneficiaryName",o.beneficiaryNameSubLabel)}):null,C!=null?r.jsx(Y,{children:c(o.beneficiaryAddress,C,"beneficiaryAddress",o.beneficiaryAddressSubLabel)}):null]}):null]})})},ze=t.div``,_e=t.div`
22
+ margin: ${a.sp4};
23
+ margin-left: ${a.sp0};
24
+ `,Ie=t.div`
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: space-between;
28
+ margin-bottom: ${a.sp3};
29
+ `,Re=t.div`
30
+ display: flex;
31
+ gap: ${a.sp4};
32
+ `,Ee=t(je)`
33
+ color: ${e=>e.theme.colors.primary};
34
+ margin-right: ${a.sp2};
35
+ `,Me=t(Se)`
36
+ height: ${a.sp3};
37
+ width: ${a.sp3};
38
+ color: ${e=>e.theme.colors.hero};
39
+ cursor: pointer;
40
+ &:hover {
41
+ color: ${e=>e.theme.colors.primary};
42
+ }
43
+ `,E=t.div`
44
+ box-sizing: border-box;
45
+ min-height: ${Ce.transactionItemHeight}px;
46
+ display: flex;
47
+ border: 1px solid;
48
+ border-radius: ${a.sp2};
49
+ background-color: ${e=>e.theme.colors.grey5};
50
+ border-color: ${e=>e.theme.colors.grey3};
51
+ color: ${e=>e.theme.colors.hero};
52
+ &:hover {
53
+ border-color: ${e=>e.theme.colors.primary};
54
+ color: ${e=>e.theme.colors.primary};
55
+ .tag {
56
+ border-color: ${e=>e.theme.colors.grey2};
57
+ color: ${e=>e.theme.colors.grey1};
58
+ }
59
+ }
60
+ `,X=t(E)`
61
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
62
+ display: flex;
63
+ border-top-width: 1px;
64
+ border-right-width: 1px;
65
+ border-bottom-width: 0.5px;
66
+ border-left-width: 1px;
67
+
68
+ border-top-left-radius: ${a.sp2};
69
+ border-top-right-radius: ${a.sp2};
70
+ border-bottom-left-radius: ${a.sp0};
71
+ border-bottom-right-radius: ${a.sp0};
72
+ &:hover {
73
+ border-bottom-width: 1px;
74
+ }
75
+ `,Y=t(E)`
76
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
77
+ display: flex;
78
+ border-top-width: 0.5px;
79
+ border-right-width: 1px;
80
+ border-bottom-width: 1px;
81
+ border-left-width: 1px;
82
+ border-top-left-radius: ${a.sp0};
83
+ border-top-right-radius: ${a.sp0};
84
+ border-bottom-left-radius: ${a.sp2};
85
+ border-bottom-right-radius: ${a.sp2};
86
+ &:hover {
87
+ border-top-width: 1px;
88
+ }
89
+ `,_=t.div`
90
+ display: flex;
91
+ color: ${e=>e.theme.colors.grey1};
92
+ &:hover {
93
+ color: ${e=>e.theme.colors.primary};
94
+ svg {
95
+ color: ${e=>e.theme.colors.primary};
96
+ }
97
+ }
98
+ `,Z=t(ve)`
99
+ height: ${a.sp3};
100
+ width: ${a.sp3};
101
+ color: ${e=>e.theme.colors.hero};
102
+ cursor: pointer;
103
+ &:hover {
104
+ color: ${e=>e.theme.colors.primary};
105
+ }
106
+ `,ee=t(Te)`
107
+ height: ${a.sp3};
108
+ width: ${a.sp3};
109
+ color: ${R.success};
110
+ `,Pe=t.div`
111
+ display: flex;
112
+ flex-direction: row;
113
+ padding: ${a.sp3} ${a.sp4};
114
+ justify-content: space-between;
115
+ width: 100%;
116
+ gap: ${a.sp4};
117
+ `,qe=t(ae)`
118
+ color: ${e=>e.theme.colors.hero};
119
+ `,Oe=t(ae)`
120
+ display: flex;
121
+ align-items: center;
122
+ color: ${e=>e.theme.colors.primary};
123
+ background-color: ${e=>e.theme.colors.grey5};
124
+ justify-content: flex-end;
125
+ text-align: end;
126
+ `,Be=t.div`
127
+ display: flex;
128
+ `,Ge=t.div`
129
+ display: flex;
130
+ flex-direction: column;
131
+ align-items: flex-end;
132
+ `,He=t(re)`
133
+ color: ${e=>e.theme.colors.grey1};
134
+ text-align: end;
135
+ `,I=t(re)`
136
+ color: ${e=>e.isTextCopied?R.primaryDark:R.neutralGrey1Light};
137
+ `,b=t(E)`
138
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
139
+ display: flex;
140
+ border-radius: ${a.sp0};
141
+ border-top-width: 0.5px;
142
+ border-right-width: 1px;
143
+ border-bottom-width: 0.5px;
144
+ border-left-width: 1px;
145
+ &:hover {
146
+ border-top-width: 1px;
147
+ border-bottom-width: 1px;
148
+ }
149
+ `,Je=t.div``,Ue=t.div``;export{Xe as r};
@@ -1,4 +1,4 @@
1
- import{y as g,O as l,V as t,l as x,au as c,a as y,o,f as m,D as j,bu as $,bn as b}from"./index-CDsOcKsG.js";import{n as r}from"./mui-hn9thxzh.js";import{t as w}from"./handshake-BPg58FML-C5EsxlDc.js";import{o as k,r as v}from"./unlock-BPWn2I5L-PO6XR31-.js";import"./sentry-BkPUuNvL.js";import"./pdf-Cs-mh77O.js";import"./zeni-epic-state-CsRsIUwY.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4",e._sentryDebugIdIdentifier="sentry-dbid-6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4")}catch{}})();const p="support@zeni.ai",s=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(I,{})}),t.jsxs(c,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(A,{})}),t.jsxs(c,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(y,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
1
+ import{y as g,O as l,V as t,l as x,au as c,a as y,o,f as m,D as j,bu as $,bn as b}from"./index-CAltUZe8.js";import{n as r}from"./mui-CMSRVFAm.js";import{t as w}from"./handshake-BPg58FML-Dy9hpFzO.js";import{o as k,r as v}from"./unlock-BPWn2I5L-DrFYUkdQ.js";import"./sentry-DQeYyYXx.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4",e._sentryDebugIdIdentifier="sentry-dbid-6859f754-a8aa-4cdf-ad8a-ef3f2dd549a4")}catch{}})();const p="support@zeni.ai",s=l.getLocalizedStrings().commonSetUp.twoFactorAuthentication,f=({unlockDate:e,onSubmit:i})=>{const n=g(),h=e.format(l.getLocalizedStrings().dateFormat.visual.MMMDCommaYYYYformat),u=e.format(l.getLocalizedStrings().dateFormat.visual.HHMMFormat);return t.jsxs(D,{children:[t.jsx(M,{children:s.accountLockedTitle}),t.jsxs(S,{children:[t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(z,{})}),t.jsx(x,{children:s.accountLockedSecurityMessage})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(I,{})}),t.jsxs(c,{children:[s.tryAgainAfter,t.jsxs(C,{children:[h,t.jsx(_,{children:"•"}),u]}),s.signInViaGoogleOrMicrosoft]})]}),t.jsxs(a,{children:[t.jsx(d,{theme:n,children:t.jsx(A,{})}),t.jsxs(c,{children:[s.accountLockedContactMessage,t.jsx(L,{href:`mailto:${p}`,children:p})]})]}),t.jsx(y,{variant:"primary",label:s.understood,onClick:i})]})]})},D=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-CDsOcKsG.js";import{a as s}from"./sentry-BkPUuNvL.js";import{n as o}from"./mui-hn9thxzh.js";import{u as Te}from"./plaid-NpQK5k22.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-CsRsIUwY.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-DEtntSrL-0u2oxgMR.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./utils-DkgigH7S.js";import"./clock-CJkylEKt-CnqntmQY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d8f4c922-4366-4378-953a-dce0617b9937",e._sentryDebugIdIdentifier="sentry-dbid-d8f4c922-4366-4378-953a-dce0617b9937")}catch{}})();const Oe=c.sp4,Ye=c.sp4,Ae=c.sp10,Be=c.sp4,Le=c.sp4,N=114,Ne=400,ze=o.div`
1
+ import{T as xe,V as t,A as fe,bR as ye,bS as ge,bT as je,o as c,M as Se,ar as K,H as Q,a8 as ke,E as $e,dc as be,el as we,cv as G,cS as X,O as ve,l as d,y as Ee,a5 as Ce,aU as ee,de as te,$ as Re,f as ne,aA as Pe}from"./index-CAltUZe8.js";import{a as s}from"./sentry-DQeYyYXx.js";import{n as o}from"./mui-CMSRVFAm.js";import{u as Te}from"./plaid-BfI3x5Cu.js";import{bG as oe,H4 as De,H5 as Ie}from"./zeni-epic-state-CHpO1ZKT.js";import{E as _e,C as Fe,w as Ue,f as Me}from"./AccountRow-D1cjRJJD--D2oyMqA.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./utils-BAO5KfNy.js";import"./clock-CJkylEKt-CwvCI5hq.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]="f18009c7-89f0-47ee-948c-c2efb126f1fe",e._sentryDebugIdIdentifier="sentry-dbid-f18009c7-89f0-47ee-948c-c2efb126f1fe")}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,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bj as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-CDsOcKsG.js";import{a as gt}from"./sentry-BkPUuNvL.js";import{n as a,c as mt}from"./mui-hn9thxzh.js";import{t as ft}from"./clock-CJkylEKt-CnqntmQY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="c35eec52-ca91-4b60-ad49-7de148300a98",t._sentryDebugIdIdentifier="sentry-dbid-c35eec52-ca91-4b60-ad49-7de148300a98")}catch{}})();const jt=a.div`
1
+ import{V as e,a5 as I,bo as f,o,b as j,E as at,dc as it,O as ct,l as y,f as m,dd as X,de as Y,cq as st,ad as x,C as Z,m as g,e as rt,y as S,aj as lt,bj as dt,j as ut,a as xt,H as W,b6 as pt,d4 as ht}from"./index-CAltUZe8.js";import{a as gt}from"./sentry-DQeYyYXx.js";import{n as a,c as mt}from"./mui-CMSRVFAm.js";import{t as ft}from"./clock-CJkylEKt-CwvCI5hq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="c35eec52-ca91-4b60-ad49-7de148300a98",t._sentryDebugIdIdentifier="sentry-dbid-c35eec52-ca91-4b60-ad49-7de148300a98")}catch{}})();const jt=a.div`
2
2
  position: relative;
3
3
  ${t=>t.showTreeLine===!0&&t.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -1,4 +1,4 @@
1
- import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as se,a6 as Z,a3 as ie,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,z as me,ap as he,l as ue,au as ge}from"./index-CDsOcKsG.js";import{a as N,b as z}from"./sentry-BkPUuNvL.js";import{c as xe}from"./SummaryCard-HW-1WXN9-CoLCJfe-.js";import{n as r,k as U,c as V}from"./mui-hn9thxzh.js";import{F5 as fe}from"./zeni-epic-state-CsRsIUwY.js";import{N as X}from"./NavigationArrow-DT82hMh--DsUaY4v0.js";import{x as ye}from"./NavigationDots-CwCZ9EAa-BB9rS2z2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0c5b6689-06dd-49ca-9ba3-8efd946132d6",e._sentryDebugIdIdentifier="sentry-dbid-0c5b6689-06dd-49ca-9ba3-8efd946132d6")}catch{}})();const I=(e,n)=>U`
1
+ import{O,V as o,o as t,ag as P,f as b,D as ee,w as oe,aS as te,aT as re,aU as ne,aV as ae,aW as G,n as se,a6 as Z,a3 as ie,y as R,_ as ce,b as M,af as le,a4 as de,aa as pe,C as J,z as me,ap as he,l as ue,au as ge}from"./index-CAltUZe8.js";import{a as N,b as z}from"./sentry-DQeYyYXx.js";import{c as xe}from"./SummaryCard-C2qoTsAY-DD3uQEFW.js";import{n as r,k as U,c as V}from"./mui-CMSRVFAm.js";import{F5 as fe}from"./zeni-epic-state-CHpO1ZKT.js";import{N as X}from"./NavigationArrow-CTNkKUtV-LsyvHBca.js";import{x as ye}from"./NavigationDots-Dvce3gHt-H1P3hT7y.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]="2605821b-dade-43b3-bbf0-62bb810b8538",e._sentryDebugIdIdentifier="sentry-dbid-2605821b-dade-43b3-bbf0-62bb810b8538")}catch{}})();const I=(e,n)=>U`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${e==="right"?`-${n}%`:`${n}%`});
@@ -18,7 +18,7 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
18
18
  width: ${t.sp7};
19
19
  height: ${t.sp7};
20
20
  border-radius: 50%;
21
- border: 2px solid ${v.neutralGrey5Light};
21
+ border: 2px solid ${b.neutralGrey5Light};
22
22
  `,$e=r.div`
23
23
  display: flex;
24
24
  align-items: center;
@@ -27,12 +27,12 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
27
27
  gap: ${t.sp2};
28
28
  margin-bottom: ${t.sp4};
29
29
  padding: ${t.sp0} ${t.sp2};
30
- `,ve=r(ge)`
30
+ `,be=r(ge)`
31
31
  text-align: center;
32
32
  max-width: 222px;
33
33
  white-space: pre-line;
34
34
  color: ${e=>e.theme.colors.zeniAccountsPromoDetailTextColor};
35
- `,be=r.div`
35
+ `,ve=r.div`
36
36
  min-height: 95px;
37
37
  display: flex;
38
38
  flex-direction: column;
@@ -48,7 +48,7 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
48
48
  `,je=r(ue)`
49
49
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
50
50
  `,Ae=r(ae)`
51
- color: ${v.brandColorJade};
51
+ color: ${b.brandColorJade};
52
52
  height: ${t.sp4};
53
53
  width: ${t.sp4};
54
54
  `,we=r(ne)`
@@ -82,14 +82,14 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
82
82
  height: 34px;
83
83
  width: ${t.sp5};
84
84
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
85
- background-color: ${v.brandColorGold};
85
+ background-color: ${b.brandColorGold};
86
86
  `,Ie=r.div`
87
87
  display: flex;
88
88
  align-items: center;
89
89
  height: 34px;
90
90
  width: 168px;
91
91
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
92
- background-color: ${v.brandColorJade};
92
+ background-color: ${b.brandColorJade};
93
93
  opacity: 0;
94
94
  animation: ${I("right",100)} normal 0.5s 1
95
95
  forwards;
@@ -103,7 +103,7 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
103
103
  `,Be=r.div`
104
104
  width: 2px;
105
105
  height: ${t.sp0};
106
- background-color: ${v.important};
106
+ background-color: ${b.important};
107
107
  transform: rotate(64deg);
108
108
  position: absolute;
109
109
  top: ${t.sp1};
@@ -148,7 +148,7 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
148
148
  align-items: center;
149
149
  margin-right: ${t.sp3};
150
150
  ${K}
151
- background-color:${v.brandColorGold};
151
+ background-color:${b.brandColorGold};
152
152
  `,Le=r(ee)`
153
153
  color: ${e=>e.theme.colors.brandColorOnyx};
154
154
  `,Ne=r(re)`
@@ -158,7 +158,7 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
158
158
  path {
159
159
  stroke-width: 2px;
160
160
  }
161
- `,Oe=(e,n)=>{const{common:a}=O.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((s,c)=>o.jsx(Me,{className:"card-highlight-text-stack",direction:s.direction,stepCount:s.stepCount,children:s.values.map((m,g)=>o.jsx(w,{className:"card-highlight-text",children:m},`${m}_${g}`))},`${s.direction}_${c}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(ke,{children:[o.jsx(we,{}),o.jsx(Ae,{})]}),o.jsx(De,{}),o.jsxs(Pe,{children:[o.jsxs(ze,{children:[o.jsx(Se,{}),o.jsxs(W,{isZeniProgressBar:!1,children:[n[0].values[0]," ",a.texts.insured]})]}),o.jsxs(Ie,{children:[o.jsx(Te,{children:n[0].values[1]}),o.jsx(W,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:a.texts.insured})]})]})]});case"freeWire":return o.jsxs(q,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Be,{})]}),o.jsx(w,{children:o.jsx(Y,{children:o.jsx(Ne,{})})}),o.jsx(w,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(_e,{children:[o.jsx(S,{style:{animationDelay:"0.2s"},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png"})}),o.jsx(S,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png"})}),o.jsx(S,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png"})}),o.jsx(He,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Le,{children:[" ",n[0].values[0]]})})]})}};let E;function Ue({zeniAccountsPromoCardContent:e,showConfetti:n}){const[a]=me("Confetti"),s=R(),[c,m]=N.useState(!1);N.useEffect(()=>(n&&(E=setTimeout(()=>{m(!0)},2e3)),()=>{clearTimeout(E),m(!1)}),[n]);const{prefix:g,header:l,headerAnimationData:h,showAnimation:y,key:x}=e;return o.jsxs($e,{children:[n&&c&&a!=null?o.jsx(he,{loop:!1,play:!0,onComplete:()=>{m(!1)},segments:[100,299],animationData:a,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(be,{children:[l!=null?o.jsx(je,{children:l}):null,o.jsx(q,{children:y?Oe(x,h):null})]}),o.jsx(ve,{themeContext:s,children:g})]})}const Fe=r(de)`
161
+ `,Oe=(e,n)=>{const{common:a}=O.getLocalizedStrings();switch(e){case"keepInterest":case"noHiddenFees":return o.jsx(o.Fragment,{children:n.map((s,c)=>o.jsx(Me,{className:"card-highlight-text-stack",direction:s.direction,stepCount:s.stepCount,children:s.values.map((m,g)=>o.jsx(w,{className:"card-highlight-text",children:m},`${m}_${g}`))},`${s.direction}_${c}`))});case"protectCash":return o.jsxs(o.Fragment,{children:[o.jsxs(ke,{children:[o.jsx(we,{}),o.jsx(Ae,{})]}),o.jsx(De,{}),o.jsxs(Pe,{children:[o.jsxs(ze,{children:[o.jsx(Se,{}),o.jsxs(W,{isZeniProgressBar:!1,children:[n[0].values[0]," ",a.texts.insured]})]}),o.jsxs(Ie,{children:[o.jsx(Te,{children:n[0].values[1]}),o.jsx(W,{isZeniProgressBar:!0,style:{marginTop:"6px"},children:a.texts.insured})]})]})]});case"freeWire":return o.jsxs(q,{style:{gap:t.sp2},children:[o.jsxs(w,{style:{position:"relative"},children:[n[0].values[0],o.jsx(Be,{})]}),o.jsx(w,{children:o.jsx(Y,{children:o.jsx(Ne,{})})}),o.jsx(w,{children:o.jsx(Y,{style:{animationDelay:"1.5s"},children:n[0].values[1]})})]});case"expertSupport":return o.jsxs(_e,{children:[o.jsx(S,{style:{animationDelay:"0.2s"},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png"})}),o.jsx(S,{style:{animationDelay:"0.4s",zIndex:1},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png"})}),o.jsx(S,{style:{animationDelay:"0.6s",zIndex:2},children:o.jsx(_,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png"})}),o.jsx(He,{style:{animationDelay:"0.8s",zIndex:3},children:o.jsxs(Le,{children:[" ",n[0].values[0]]})})]})}};let E;function Ue({zeniAccountsPromoCardContent:e,showConfetti:n}){const[a]=me("Confetti"),s=R(),[c,m]=N.useState(!1);N.useEffect(()=>(n&&(E=setTimeout(()=>{m(!0)},2e3)),()=>{clearTimeout(E),m(!1)}),[n]);const{prefix:g,header:l,headerAnimationData:h,showAnimation:y,key:x}=e;return o.jsxs($e,{children:[n&&c&&a!=null?o.jsx(he,{loop:!1,play:!0,onComplete:()=>{m(!1)},segments:[100,299],animationData:a,style:{position:"absolute",top:`-${t.sp8}`,left:t.sp0},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null,o.jsxs(ve,{children:[l!=null?o.jsx(je,{children:l}):null,o.jsx(q,{children:y?Oe(x,h):null})]}),o.jsx(be,{themeContext:s,children:g})]})}const Fe=r(de)`
162
162
  flex-wrap: wrap;
163
163
  overflow: hidden;
164
164
  & .styledNav {
@@ -204,4 +204,4 @@ import{O,V as o,o as t,ag as P,f as v,D as ee,w as oe,aS as te,aT as re,aU as ne
204
204
  bottom: 6px;
205
205
  `,Re=r(G)`
206
206
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
207
- `,k=O.getLocalizedStrings().zeniAccountsPromoCard;function Je({analytics:e,cardPosition:n,card:a,data:s,activeCardIndex:c,isZeniAccountsSetUp:m,handleLearnMoreClick:g,handleCardNavigation:l}){const h=R(),y=ce(),[x,u]=z.useState(0),[C,b]=z.useState(0),[T,j]=z.useState("left"),d=(p,f)=>{p.stopPropagation(),j(f);const Q=f=="left"?c+1:c-1;e.trackZeniAccountsPromoCardClick(n,f==="left"?"Next":"Back"),l(A(Q),f)};function A(p){return p<0?s.length+p:p%s.length}const B=s.length>1,F=fe(y.loggedInUserRoleMap);return o.jsx(Fe,{"data-testid":M("dashboard",a.cardType),style:{cursor:"default"},dimension:a.dimension,onTouchStart:p=>B?function(f){u(f.targetTouches[0].clientX)}(p):null,onTouchMove:p=>B?function(f){b(f.targetTouches[0].clientX)}(p):null,onTouchEnd:()=>B?void(x-C>50&&C!==0?(l(A(c+1),"left"),j("left"),u(0),b(0)):x-C<-50&&C!==0&&(l(A(c-1),"right"),j("right"),u(0),b(0))):null,children:o.jsxs(Ze,{children:[o.jsx(H,{children:o.jsx(X,{"data-testid":M("dashboard-navigation-arrow-left",a.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:d,promoColor:h.colors.zeniAccountsPromoButtonColor,promoBorderColor:h.colors.zeniAccountsPromoButtonColor})}),o.jsxs(H,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(Ye,{children:o.jsx(Ee,{children:k.title})}),s.map((p,f)=>o.jsx(le,{activeCardIndex:c,currentIndex:f,which:T,children:o.jsx(Ue,{zeniAccountsPromoCardContent:p,showConfetti:c===2})},p.key)),o.jsx(Xe,{onClick:()=>g(F?m?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(We,{children:F?m?k.button:k.signUp:k.learnMore})}),o.jsx(ye,{spendManagementPromoCardActive:!0,numberOfDots:s.length,activeIndex:c,handleClick:p=>{l(A(p),"left")},promoColor:h.colors.zeniAccountsPromoButtonColor,promoColorHover:h.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),c===0?o.jsx(Ge,{children:o.jsx(Re,{children:s[0].footer})}):null]}),o.jsx(H,{children:o.jsx(X,{"data-testid":M("dashboard-navigation-arrow-right",a.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:d,promoColor:h.colors.zeniAccountsPromoButtonColor,promoBorderColor:h.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:i,common:$}=O.getLocalizedStrings(),D={key:"keepInterest",title:i.title,prefix:i.keepInterest.prefixDashboard,header:i.keepInterest.header,headerAnimationData:[],footer:i.keepInterest.footer,showAnimation:!0},L={key:"protectCash",title:i.title,prefix:i.protectCash.prefix,headerAnimationData:[],showAnimation:!0},Ve=[{key:"noHiddenFees",title:i.title,prefix:i.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:i.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:i.title,prefix:i.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:i.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:i.title,prefix:i.expertSupport.prefix,header:i.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:i.expertSupport.headerAnimationData}],showAnimation:!0}];function Ke({card:e,data:n,analytics:a,actions:s,isZeniAccountsEnabled:c,columnKey:m,index:g,dndProps:l}){const[h,y]=N.useState(0),x=(m+1)*(g+1),{maxInsuredAmount:u,maxPossibleInterest:C,maxAnnualPercentageYield:b,maxCashBalanceAvailable:T=0}=n;D.headerAnimationData=qe(C??25e4),D.prefix=i.keepInterest.prefixDashboard.replace(/<amount>/,P("0,0",T,$.currency.currencySymbol).toUpperCase()),D.footer=i.keepInterest.footer.replace(/<interest>/,b.toString()),L.headerAnimationData=[{direction:"right",stepCount:1,values:[...i.protectCash.headerAnimationData,P(Z(u),u,$.currency.currencySymbol).toUpperCase()]}],L.prefix=i.protectCash.prefix.replace(/<amount>/,P(Z(u),u,$.currency.currencySymbol).toUpperCase());const j=[D,L,...Ve];return o.jsx(ie,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:d=>l?.onDragStart(e.cardType,d),onDragOver:d=>l?.onDragOver(d,e.cardType),onDragLeave:d=>l?.onDragLeave(d),onDrop:d=>l?.onDrop(d,e.cardType),dimension:e.dimension,children:o.jsx(xe,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(Je,{card:e,data:j,handleCardNavigation:d=>{y(d)},activeCardIndex:h,handleLearnMoreClick:d=>{a.trackZeniAccountsPromoCardClick(x,d),n.depositAccountId!=null?s.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):s.onCardBtnClick?.("zeni_accounts_promo_card")},isZeniAccountsSetUp:c&&n.depositAccountId!=null,analytics:a,cardPosition:x})})},e.cardIndex)}function qe(e){const n=[],a=P("0,0",Math.floor(e),$.currency.currencySymbol);for(let s=0;s<a.length;s++){const c=a[s],m={direction:"up",stepCount:0,values:[c]};if(c===$.currency.currencySymbol||c===$.strings.comma)n.push(m);else{const g=parseInt(a[s]),l=s===1&&g<=1?1:Math.floor(g/2),h=s%2==0?"down":"up",y=g-l,x=[];for(let u=0;u<=y;u++){const C=l+u;x.push(C.toString())}h==="down"&&x.reverse(),n.push({direction:h,stepCount:y,values:x})}}return n}z.memo(Ke);export{Oe as G,Ke as a,qe as c};
207
+ `,k=O.getLocalizedStrings().zeniAccountsPromoCard;function Je({analytics:e,cardPosition:n,card:a,data:s,activeCardIndex:c,isZeniAccountsSetUp:m,handleLearnMoreClick:g,handleCardNavigation:l}){const h=R(),y=ce(),[x,u]=z.useState(0),[C,v]=z.useState(0),[T,j]=z.useState("left"),d=(p,f)=>{p.stopPropagation(),j(f);const Q=f=="left"?c+1:c-1;e.trackZeniAccountsPromoCardClick(n,f==="left"?"Next":"Back"),l(A(Q),f)};function A(p){return p<0?s.length+p:p%s.length}const B=s.length>1,F=fe(y.loggedInUserRoleMap);return o.jsx(Fe,{"data-testid":M("dashboard",a.cardType),style:{cursor:"default"},dimension:a.dimension,onTouchStart:p=>B?function(f){u(f.targetTouches[0].clientX)}(p):null,onTouchMove:p=>B?function(f){v(f.targetTouches[0].clientX)}(p):null,onTouchEnd:()=>B?void(x-C>50&&C!==0?(l(A(c+1),"left"),j("left"),u(0),v(0)):x-C<-50&&C!==0&&(l(A(c-1),"right"),j("right"),u(0),v(0))):null,children:o.jsxs(Ze,{children:[o.jsx(H,{children:o.jsx(X,{"data-testid":M("dashboard-navigation-arrow-left",a.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:d,promoColor:h.colors.zeniAccountsPromoButtonColor,promoBorderColor:h.colors.zeniAccountsPromoButtonColor})}),o.jsxs(H,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(Ye,{children:o.jsx(Ee,{children:k.title})}),s.map((p,f)=>o.jsx(le,{activeCardIndex:c,currentIndex:f,which:T,children:o.jsx(Ue,{zeniAccountsPromoCardContent:p,showConfetti:c===2})},p.key)),o.jsx(Xe,{onClick:()=>g(F?m?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(We,{children:F?m?k.button:k.signUp:k.learnMore})}),o.jsx(ye,{spendManagementPromoCardActive:!0,numberOfDots:s.length,activeIndex:c,handleClick:p=>{l(A(p),"left")},promoColor:h.colors.zeniAccountsPromoButtonColor,promoColorHover:h.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),c===0?o.jsx(Ge,{children:o.jsx(Re,{children:s[0].footer})}):null]}),o.jsx(H,{children:o.jsx(X,{"data-testid":M("dashboard-navigation-arrow-right",a.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:d,promoColor:h.colors.zeniAccountsPromoButtonColor,promoBorderColor:h.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:i,common:$}=O.getLocalizedStrings(),D={key:"keepInterest",title:i.title,prefix:i.keepInterest.prefixDashboard,header:i.keepInterest.header,headerAnimationData:[],footer:i.keepInterest.footer,showAnimation:!0},L={key:"protectCash",title:i.title,prefix:i.protectCash.prefix,headerAnimationData:[],showAnimation:!0},Ve=[{key:"noHiddenFees",title:i.title,prefix:i.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:i.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:i.title,prefix:i.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:i.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:i.title,prefix:i.expertSupport.prefix,header:i.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:i.expertSupport.headerAnimationData}],showAnimation:!0}];function Ke({card:e,data:n,analytics:a,actions:s,isZeniAccountsEnabled:c,columnKey:m,index:g,dndProps:l}){const[h,y]=N.useState(0),x=(m+1)*(g+1),{maxInsuredAmount:u,maxPossibleInterest:C,maxAnnualPercentageYield:v,maxCashBalanceAvailable:T=0}=n;D.headerAnimationData=qe(C??25e4),D.prefix=i.keepInterest.prefixDashboard.replace(/<amount>/,P("0,0",T,$.currency.currencySymbol).toUpperCase()),D.footer=i.keepInterest.footer.replace(/<interest>/,v.toString()),L.headerAnimationData=[{direction:"right",stepCount:1,values:[...i.protectCash.headerAnimationData,P(Z(u),u,$.currency.currencySymbol).toUpperCase()]}],L.prefix=i.protectCash.prefix.replace(/<amount>/,P(Z(u),u,$.currency.currencySymbol).toUpperCase());const j=[D,L,...Ve];return o.jsx(ie,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:d=>l?.onDragStart(e.cardType,d),onDragOver:d=>l?.onDragOver(d,e.cardType),onDragLeave:d=>l?.onDragLeave(d),onDrop:d=>l?.onDrop(d,e.cardType),dimension:e.dimension,children:o.jsx(xe,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(Je,{card:e,data:j,handleCardNavigation:d=>{y(d)},activeCardIndex:h,handleLearnMoreClick:d=>{a.trackZeniAccountsPromoCardClick(x,d),n.depositAccountId!=null?s.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):s.onCardBtnClick?.("zeni_accounts_promo_card")},isZeniAccountsSetUp:c&&n.depositAccountId!=null,analytics:a,cardPosition:x})})},e.cardIndex)}function qe(e){const n=[],a=P("0,0",Math.floor(e),$.currency.currencySymbol);for(let s=0;s<a.length;s++){const c=a[s],m={direction:"up",stepCount:0,values:[c]};if(c===$.currency.currencySymbol||c===$.strings.comma)n.push(m);else{const g=parseInt(a[s]),l=s===1&&g<=1?1:Math.floor(g/2),h=s%2==0?"down":"up",y=g-l,x=[];for(let u=0;u<=y;u++){const C=l+u;x.push(C.toString())}h==="down"&&x.reverse(),n.push({direction:h,stepCount:y,values:x})}}return n}z.memo(Ke);export{Oe as G,Ke as a,qe as c};
@@ -1,4 +1,4 @@
1
- import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-CDsOcKsG.js";import{a as C}from"./sentry-BkPUuNvL.js";import{n as I}from"./mui-hn9thxzh.js";import"./pdf-Cs-mh77O.js";import"./zeni-epic-state-CsRsIUwY.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
1
+ import{y,e as S,a7 as T,w as d,V as m,iE as w,o as e,x as l,b as B,O as x,m as n}from"./index-CAltUZe8.js";import{a as C}from"./sentry-DQeYyYXx.js";import{n as I}from"./mui-CMSRVFAm.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="4d594a1a-3ec5-467f-aa31-d943c0a6adfb",t._sentryDebugIdIdentifier="sentry-dbid-4d594a1a-3ec5-467f-aa31-d943c0a6adfb")}catch{}})();const p={marginTop:new l(n[0],18),marginBottom:new l(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),W=({googleAPIKey:t,customAddress:s,customAddressStatus:a,onDismissClick:r,onSubmitHandler:c})=>{const u=y(),o=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&r()},[a.fetchState,r,i]);const f=o==="small"?d.extraSmallRegular.cssObject:d.standardRegular.cssObject,b=o==="small"?d.standardMedium.cssObject:d.h5Regular.cssObject;return m.jsx(v,{"data-testid":B("add-address-for-card-drawer"),children:m.jsx(w,{googleAPIKey:t,loadingState:a.fetchState,addressToEdit:s,onSubmitHandler:h=>c(h),onCancel:r,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(o),marginBottom:p.marginBottom.valuePx(o),...b},subTitleStyles:{marginTop:e.sp0,marginBottom:e.sp0,...f,color:u.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:e.sp2,paddingRight:e.sp3},sectionStyles:{paddingTop:e.sp4,paddingBottom:e.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:e.sp4}}})})},v=I.div`
2
2
  display: flex;
3
3
  background-color: ${t=>t.theme.colors.grey4};
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-CDsOcKsG.js";import{a as g}from"./sentry-BkPUuNvL.js";import{n as o,c as A}from"./mui-hn9thxzh.js";import{F4 as ye}from"./zeni-epic-state-CsRsIUwY.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-CPiuqV_c.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
1
+ import{e as E,h as re,_ as ne,O as L,V as i,a_ as le,m as p,ij as de,iB as pe,o as t,a as z,b as W,x as m,d as $,M as b,iC as ce,ik as he,bH as ge,f as s,iD as xe,aV as me,cn as we,l as ue,w as $e,ip as be}from"./index-CAltUZe8.js";import{a as g}from"./sentry-DQeYyYXx.js";import{n as o,c as A}from"./mui-CMSRVFAm.js";import{F4 as ye}from"./zeni-epic-state-CHpO1ZKT.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-0ekd9-Ri.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="027add54-4c7e-420d-9b35-e8ab73ae8f24",e._sentryDebugIdIdentifier="sentry-dbid-027add54-4c7e-420d-9b35-e8ab73ae8f24")}catch{}})();const Ie=({options:e,selected:a,onToggle:h,containerStyle:n={},optionStyle:f={},thumbStyle:C={}})=>{const w=e.findIndex(l=>l.id===a),u=100/e.length;return i.jsxs(ze,{style:n,children:[i.jsx(We,{style:{width:u-1+"%",...w===0?{left:"1%"}:w===e.length-1?{left:(e.length-1)*u+"%"}:{left:w*u+"%"},...C}}),e.map(l=>i.jsx(Ae,{style:f,active:l.id===a,"data-testid":l.dataTestId,onClick:j=>{j.preventDefault(),h(l.id)},children:l.label},l.id))]})},ze=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -1 +1 @@
1
- import{j as e}from"./pdf-Cs-mh77O.js";import{A as s}from"./AddressScreen-CwbSwP2P.js";import i from"./NotFoundScreen-Ceul2a4k.js";import"./sentry-BkPUuNvL.js";import{R as a,m as r}from"./core-BcVj2gTX.js";import"./zeni-epic-state-CsRsIUwY.js";import"./index-CDsOcKsG.js";import"./mui-hn9thxzh.js";import"./recharts-B4dFoR35.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
1
+ import{j as e}from"./pdf-Be2WBqYM.js";import{A as s}from"./AddressScreen-BL1pptQ5.js";import i from"./NotFoundScreen-CubXCR1V.js";import"./sentry-DQeYyYXx.js";import{R as a,m as r}from"./core-D9P6lLF-.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import"./recharts-gT6BOz1b.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="7ac0a9a3-44b6-4a4f-a315-142e9081120e",t._sentryDebugIdIdentifier="sentry-dbid-7ac0a9a3-44b6-4a4f-a315-142e9081120e")}catch{}})();function D(){return e.jsxs(a,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(s,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(s,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{D as default};
@@ -1,4 +1,4 @@
1
- import{j as d}from"./pdf-Cs-mh77O.js";import{a as b}from"./sentry-BkPUuNvL.js";import{j as P,i as j,h as _,l as E,u as M,k as D}from"./core-BcVj2gTX.js";import{e as B,y as L,js as $,_ as H,jQ as K,bk as R,jz as C,J as m,jL as z,jD as h,jM as U}from"./index-CDsOcKsG.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-CsRsIUwY.js";import{n as J}from"./mui-hn9thxzh.js";import Q from"./NotFoundScreen-Ceul2a4k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1cf28a44-30b4-4cc4-b8d0-26532b4968e6",e._sentryDebugIdIdentifier="sentry-dbid-1cf28a44-30b4-4cc4-b8d0-26532b4968e6")}catch{}})();const W=J.div`
1
+ import{j as d}from"./pdf-Be2WBqYM.js";import{a as b}from"./sentry-DQeYyYXx.js";import{j as P,i as j,h as _,l as E,u as M,k as D}from"./core-D9P6lLF-.js";import{e as B,y as L,js as $,_ as H,jQ as K,bk as R,jz as C,J as m,jL as z,jD as h,jM as U}from"./index-CAltUZe8.js";import{HR as k,eq as q,ct as F,HS as G,bE as N,HT as O,hr as V}from"./zeni-epic-state-CHpO1ZKT.js";import{n as J}from"./mui-CMSRVFAm.js";import Q from"./NotFoundScreen-CubXCR1V.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1cf28a44-30b4-4cc4-b8d0-26532b4968e6",e._sentryDebugIdIdentifier="sentry-dbid-1cf28a44-30b4-4cc4-b8d0-26532b4968e6")}catch{}})();const W=J.div`
2
2
  display: flex;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{y as V,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as C,o as $,ab as Be,m as d,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as ce,S as de,ad as ge}from"./index-CDsOcKsG.js";import{a as y}from"./sentry-BkPUuNvL.js";import{n as x}from"./mui-hn9thxzh.js";import{bs as W,Gm as ze}from"./zeni-epic-state-CsRsIUwY.js";import{m as Le}from"./BusyIndication-BLGcHlgu-DaOngyN9.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-EhzRlpFY-CeeUTfjC.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-ZwWwEBJ3-BSFQLwWJ.js";import{C as pe}from"./NoDataChart-DCTRXLc7-BRwtqbdY.js";import{n as me,t as T}from"./CollapsableReportTable-CIaa7SIH-BHE5m01A.js";import{d as he}from"./NoDataTable-D8Xw5pAY-CJGJMrLD.js";import{l as ue}from"./mapSpacerToTreeNode-Bj3f2irs-BQdWgZ0d.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-Cs-mh77O.js";import"./core-BcVj2gTX.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";import"./chartTypes-BLsP7rGF-Da9uYAcr.js";import"./AccountRow-DEtntSrL-0u2oxgMR.js";import"./clock-CJkylEKt-CnqntmQY.js";import"./graphic-no-data-l-DU4J8fDt-C2w81gyO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3029afb6-c8a1-49eb-8d07-a2b041a8a52f",e._sentryDebugIdIdentifier="sentry-dbid-3029afb6-c8a1-49eb-8d07-a2b041a8a52f")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
1
+ import{y as Q,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O as S,o as $,ab as Be,m as c,a5 as ne,bJ as Ie,bK as Me,bL as $e,l as Ae,bH as Ye,an as de,S as ce,ad as ge}from"./index-CAltUZe8.js";import{a as y}from"./sentry-DQeYyYXx.js";import{n as x}from"./mui-CMSRVFAm.js";import{bs as W,Gm as ze}from"./zeni-epic-state-CHpO1ZKT.js";import{m as Le}from"./BusyIndication-9zDqSKBP-C1ZL_6Kc.js";import{h as Ee,g as Fe}from"./ZeniDatePicker-BHXPxPnI-vwmLROHK.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{L as Re,k as Te}from"./ArAgingChart-CBsqOd-4-Be7GSB8o.js";import{C as pe}from"./NoDataChart-CrKeqWSr-DJdc5MTN.js";import{n as me,t as T}from"./CollapsableReportTable-DNfFkAts-Ba6KUje2.js";import{d as he}from"./NoDataTable-4vPXmPYF-Do6t4z9R.js";import{l as ue}from"./mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js";import{l as Ke}from"./agingReportHelper-ovKP-qSS-CbeRQDiP.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./chartTypes-CD3vrBsI-D1eLb6aA.js";import"./AccountRow-D1cjRJJD--D2oyMqA.js";import"./clock-CJkylEKt-CwvCI5hq.js";import"./graphic-no-data-l-DU4J8fDt-qX4MU25I.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]="36fed5bd-660d-4778-865b-52d140211b54",e._sentryDebugIdIdentifier="sentry-dbid-36fed5bd-660d-4778-865b-52d140211b54")}catch{}})();const He={chartHeight:new M(288,360)},fe=x.div`
2
2
  display: flex;
3
3
  `,ye=x.div`
4
4
  display: flex;
@@ -6,17 +6,17 @@ import{y as V,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
6
6
  flex-direction: column;
7
7
  height: ${e=>He.chartHeight.valuePx(e.windowSize)};
8
8
  padding-bottom: ${$.sp6};
9
- `;function Ue({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(qe,{report:e}):t.jsx(Ge,{report:e})}function qe({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:C.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(ce,{children:({height:o,width:r})=>t.jsx(Re,{isDetailPage:!0,report:e,width:r,height:o})})})}function Ge({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:C.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(ce,{children:({height:o,width:r})=>t.jsx(Te,{isDetailPage:!0,report:e,width:r,height:o})})})}function we({agingBalances:e,numOfBalances:a,title:o,isLastNode:r,config:s,parentNodeIDs:i,ancestorMetadata:m}){const l=T("aging_report_row",[],o),n={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:m},config:s}},u=e.children.map((c,g)=>we({agingBalances:c,numOfBalances:a,title:c.customer.name,config:s,isLastNode:g===e.children.length-1,parentNodeIDs:[...i,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...m.vendorOrCustomerAncestorMetadata,{depth:c.id.length-1,hasSibling:e.children.length>1,hasChildren:c.children.length>0,isLastNode:g===e.children.length-1,name:c.customer.name}]}}));return n.children.push(...u),e.children.length>0&&n.children.push(function({nestedCustomer:c,numOfBalances:g,title:p,config:b,parentNodeIDs:j,ancestorMetadata:w}){return{children:[],id:T("ac_subentity_total",j),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:p,data:c,numOfBalances:g,metadata:w},config:b}}}({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:i,ancestorMetadata:m})),n}function X({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??T("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function xe({title:e,balances:a,config:o,numOfBalances:r,nodeId:s}){return{children:[],id:s??T("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:r,data:a},config:o}}}const We=(e,a,o=!0)=>{const{agingPeriods:r,totalBalances:s,agingBalances:i}=e,m=r.length,l=X({agingPeriods:r,config:a}),n=[];n.push(l);const u=i.map((g,p)=>function({agingBalances:b,numOfBalances:j,title:w,isLastNode:L,config:_}){return{children:[],id:T("aging_report_row",[],w),isLastNode:L,reportElementData:{element:{kind:"aging_report_row",title:w,data:b,numOfBalances:j},config:_}}}({agingBalances:g,title:g.vendor.name,numOfBalances:m,isLastNode:p===i.length-1,config:a}));n.push(...u);const c=xe({title:C.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:m});return n.push(c),[...Array(1)].forEach((g,p)=>{n.push(ue({title:`${p}+${C.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:n}};function be(e,a,o,r=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,i=X({agingPeriods:s,config:a});return{config:a,headerNodes:r?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const Y={contentPaddingLeft:new M(d[0],d[0],d[0]),contentPaddingRight:new M(d[3],d[3],d[8]),wrapperPadding:new M(d[3],d[3],d[8])},H=x.div`
9
+ `;function Ue({report:e}){return e.reportId==="accounts_payable_aging"?t.jsx(qe,{report:e}):t.jsx(Ge,{report:e})}function qe({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:S.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(de,{children:({height:o,width:r})=>t.jsx(Re,{isDetailPage:!0,report:e,width:r,height:o})})})}function Ge({report:e}){const a=z();return e.agingBalances.length===0?t.jsx(fe,{children:t.jsx(pe,{title:S.getLocalizedStrings().chartCard.no_data_available})}):t.jsx(ye,{windowSize:a,children:t.jsx(de,{children:({height:o,width:r})=>t.jsx(Te,{isDetailPage:!0,report:e,width:r,height:o})})})}function we({agingBalances:e,numOfBalances:a,title:o,isLastNode:r,config:s,parentNodeIDs:i,ancestorMetadata:m}){const l=T("aging_report_row",[],o),n={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"aging_report_row",title:o,data:e,numOfBalances:a,metadata:m},config:s}},u=e.children.map((d,g)=>we({agingBalances:d,numOfBalances:a,title:d.customer.name,config:s,isLastNode:g===e.children.length-1,parentNodeIDs:[...i,l],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[...m.vendorOrCustomerAncestorMetadata,{depth:d.id.length-1,hasSibling:e.children.length>1,hasChildren:d.children.length>0,isLastNode:g===e.children.length-1,name:d.customer.name}]}}));return n.children.push(...u),e.children.length>0&&n.children.push(function({nestedCustomer:d,numOfBalances:g,title:p,config:b,parentNodeIDs:j,ancestorMetadata:w}){return{children:[],id:T("ac_subentity_total",j),isLastNode:!1,reportElementData:{element:{kind:"ac_subentity_total",title:p,data:d,numOfBalances:g,metadata:w},config:b}}}({config:s,nestedCustomer:e,numOfBalances:a,title:e.customer.name,parentNodeIDs:i,ancestorMetadata:m})),n}function X({agingPeriods:e,config:a,nodeId:o}){return{children:[],id:o??T("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:a}}}function xe({title:e,balances:a,config:o,numOfBalances:r,nodeId:s}){return{children:[],id:s??T("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,numOfBalances:r,data:a},config:o}}}const We=(e,a,o=!0)=>{const{agingPeriods:r,totalBalances:s,agingBalances:i}=e,m=r.length,l=X({agingPeriods:r,config:a}),n=[];n.push(l);const u=i.map((g,p)=>function({agingBalances:b,numOfBalances:j,title:w,isLastNode:L,config:_}){return{children:[],id:T("aging_report_row",[],w),isLastNode:L,reportElementData:{element:{kind:"aging_report_row",title:w,data:b,numOfBalances:j},config:_}}}({agingBalances:g,title:g.vendor.name,numOfBalances:m,isLastNode:p===i.length-1,config:a}));n.push(...u);const d=xe({title:S.getLocalizedStrings().chartCard.total,balances:s,config:a,numOfBalances:m});return n.push(d),[...Array(1)].forEach((g,p)=>{n.push(ue({title:`${p}+${S.getLocalizedStrings().common.loading}`,balances:[],config:a}))}),{config:a,headerNodes:o?[l]:[],contentNodes:n}};function be(e,a,o,r=!0){Object.assign(e.config,a);const{agingPeriods:s}=o,i=X({agingPeriods:s,config:a});return{config:a,headerNodes:r?[i]:[],contentNodes:[i,...e.contentNodes.slice(1)]}}const Y={contentPaddingLeft:new M(c[0],c[0],c[0]),contentPaddingRight:new M(c[3],c[3],c[8]),wrapperPadding:new M(c[3],c[3],c[8])},H=x.div`
10
10
  display: flex;
11
11
  position: sticky;
12
12
  justify-content: center;
13
13
  padding-top: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
14
14
  padding-left: ${e=>Y.wrapperPadding.valuePx(e.windowSize)};
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
- `,Se=x.div`
16
+ `,Ce=x.div`
17
17
  width: 100%;
18
18
  height: calc(100vh - ${$.sp11});
19
- `;function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){return e.reportId==="accounts_payable_aging"?t.jsx(Qe,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r})}function Qe({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[r,s]=y.useState(void 0),[i,m]=y.useState(void 0),l=z(),n=V(),u=!(l==="small"||l==="medium-compact"),c=y.useCallback((g,p)=>{a(g,p)},[a]);return y.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:c,onEntityNameClick:o}};if(i!=null&&de(r,e)){const p=be(i,g,e,u);m(p)}else{const p=We(e,g,u);s(e),m(p)}},[e,c]),e.agingBalances.length===0?t.jsx(H,{windowSize:l,children:t.jsx(he,{})}):i!=null?t.jsx(H,{windowSize:l,children:t.jsx(Se,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(n.colors.grey4),rootNodes:i,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:Y.contentPaddingLeft.value(l),right:Y.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){const[s,i]=y.useState(void 0),[m,l]=y.useState(void 0),n=z(),u=V(),c=!(n==="small"||n==="medium-compact"),g=y.useCallback((p,b)=>{a(p,b)},[a]);return y.useEffect(()=>{const p={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:g,onEntityNameClick:o}};if(m!=null&&de(s,e)){const b=be(m,p,e,c);l(b)}else{const b=((j,w,L=!0)=>{const{agingPeriods:_,totalBalances:U,agingBalances:h}=j,N=_.length,v=X({agingPeriods:_,config:w}),D=[];D.push(v);const E=h.map((k,P)=>we({agingBalances:k,title:k.customer.name,numOfBalances:N,isLastNode:P===h.length-1,config:w,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:h.length>1,hasChildren:k.children.length>0,isLastNode:P===h.length-1}]}}));D.push(...E);const S=xe({title:C.getLocalizedStrings().chartCard.total,balances:U,config:w,numOfBalances:N});return D.push(S),[...Array(1)].forEach((k,P)=>{D.push(ue({title:`${P}+${C.getLocalizedStrings().common.loading}`,balances:[],config:w}))}),{config:w,headerNodes:L?[v]:[],contentNodes:D}})(e,p,c);i(e),l(b)}},[e,g]),e.agingBalances.length===0?t.jsx(H,{windowSize:n,children:t.jsx(he,{})}):m!=null?t.jsx(H,{windowSize:n,children:t.jsx(Se,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(u.colors.grey4),rootNodes:m,type:"name+balances_actual",isSticky:{isStickyHeader:c,isStickyName:c},treeNodePadding:{left:Y.contentPaddingLeft.value(n),right:Y.contentPaddingRight.value(n)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:r,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new M(d[2],d[1],d[1],d[2],d[6])},Ze=x.div`
19
+ `;function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){return e.reportId==="accounts_payable_aging"?t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Qe,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r})}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[r,s]=y.useState(void 0),[i,m]=y.useState(void 0),l=z(),n=Q(),u=!(l==="small"||l==="medium-compact"),d=y.useCallback((g,p)=>{a(g,p)},[a]);return y.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(i!=null&&ce(r,e)){const p=be(i,g,e,u);m(p)}else{const p=We(e,g,u);s(e),m(p)}},[e,d]),e.agingBalances.length===0?t.jsx(H,{windowSize:l,children:t.jsx(he,{})}):i!=null?t.jsx(H,{windowSize:l,children:t.jsx(Ce,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(n.colors.grey4),rootNodes:i,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:Y.contentPaddingLeft.value(l),right:Y.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Qe({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:r}){const[s,i]=y.useState(void 0),[m,l]=y.useState(void 0),n=z(),u=Q(),d=!(n==="small"||n==="medium-compact"),g=y.useCallback((p,b)=>{a(p,b)},[a]);return y.useEffect(()=>{const p={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:g,onEntityNameClick:o}};if(m!=null&&ce(s,e)){const b=be(m,p,e,d);l(b)}else{const b=((j,w,L=!0)=>{const{agingPeriods:_,totalBalances:U,agingBalances:h}=j,N=_.length,v=X({agingPeriods:_,config:w}),D=[];D.push(v);const E=h.map((k,P)=>we({agingBalances:k,title:k.customer.name,numOfBalances:N,isLastNode:P===h.length-1,config:w,parentNodeIDs:[],ancestorMetadata:{vendorOrCustomerAncestorMetadata:[{depth:0,hasSibling:h.length>1,hasChildren:k.children.length>0,isLastNode:P===h.length-1}]}}));D.push(...E);const C=xe({title:S.getLocalizedStrings().chartCard.total,balances:U,config:w,numOfBalances:N});return D.push(C),[...Array(1)].forEach((k,P)=>{D.push(ue({title:`${P}+${S.getLocalizedStrings().common.loading}`,balances:[],config:w}))}),{config:w,headerNodes:L?[v]:[],contentNodes:D}})(e,p,d);i(e),l(b)}},[e,g]),e.agingBalances.length===0?t.jsx(H,{windowSize:n,children:t.jsx(he,{})}):m!=null?t.jsx(H,{windowSize:n,children:t.jsx(Ce,{numOfRows:e.agingBalances.length,children:t.jsx(me,{backgroundColor:new ge(u.colors.grey4),rootNodes:m,type:"name+balances_actual",isSticky:{isStickyHeader:d,isStickyName:d},treeNodePadding:{left:Y.contentPaddingLeft.value(n),right:Y.contentPaddingRight.value(n)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:r,compareMode:"compare_mode_amount"})})}):null}const Xe={summaryColumnGap:new M(c[2],c[1],c[1],c[2],c[6])},Ze=x.div`
20
20
  display: flex;
21
21
  width: 100%;
22
22
  justify-content: space-between;
@@ -34,7 +34,7 @@ import{y as V,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
34
34
  width: fit-content;
35
35
  `,se=x(Ye)`
36
36
  color: ${e=>e.theme.colors.primary};
37
- `;function et({totalBalances:e,reportId:a}){const o=y.useMemo(()=>Ke(e),[e]),r=z();return t.jsxs(Ze,{windowSize:r,children:[e.map(s=>{const{period:i}=s;return t.jsxs(re,{children:[t.jsx(ie,{children:C.getLocalizedStrings().reports.aging.duration[i]}),t.jsx(se,{children:ne("0,0",s?.balance)})]},i)}),t.jsxs(re,{children:[t.jsx(ie,{children:a==="accounts_payable_aging"?C.getLocalizedStrings().reports.aging.apAging.totalPayable:C.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(se,{children:ne("0,0",o?.balance)})]})]})}const Q={wrapperPadding:new M(d[3],d[3],d[8]),navbarMarginBottom:new M(d[7],d[4])},{download:J,dateFormat:I,reports:{common:tt,aging:R}}=C.getLocalizedStrings();function Yt(e){const a=V(),[o,r]=y.useState(!1),s=z(),{report:i,uiState:m,downloadParams:l,analytics:n,onSelectedDateChanged:u,onBackClick:c,onSearchTextChange:g,onReloadReport:p,onSortOrderChange:b,onEntityNameClick:j,updateDownloadStateHandler:w,onNodeCollapseToggled:L}=e,{fetchState:_,reportTitle:U,reportId:h}=i,{searchString:N,downloadState:v,sortKey:D,sortOrder:E,selectedDate:S,agingDateSelectionType:k}=m,{authParams:P,downloadEndPoint:Z,timezone:ee}=l,te=y.useCallback((f,O)=>{const B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),S!=null?S.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,S]),ae=y.useCallback(f=>{const O=Ee({options:R.preComputedDurationOptions.map(({label:F,value:q})=>({label:F,value:ze(q)})).filter(({value:F})=>F!=null),selectedDate:f}),B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),S!=null?S.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,S]),Ce=y.useCallback((f,O)=>{b(f,O),n.trackAgingReportSortChange(K(h),O,f)},[n,b,h]),_e=y.useCallback(()=>t.jsx(Fe,{maxDate:W(),selectedDate:{date:S},precomputedOptionsProperties:{preComputedOptionSelected:ct(k),preComputedOptionDateFormat:I.visual.MMMDCommaYYYYformat,preComputedOptions:R.preComputedDurationOptions,onPreComputedOptionSelected:te},onSelectedDateChanged:ae}),[S,te,ae,k]);if(y.useEffect(()=>{o&&v!=="In-Progress"&&(r(!1),w("In-Progress"),async function(){const f={companyName:l.companyName,searchString:N,sortKey:D,sortOrder:E,statementFileType:"excel",timezone:ee,reportId:h==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:S};await async function(O,B,F){const q=`${O}?query=${encodeURIComponent(JSON.stringify(at(F)))}`,oe=R.arAging;try{const A=await Ie({urlEndPoint:q,authParams:B,fileType:"excel"});if(A.ok){const Ne=Me(A.headers,J.defaultFileName),Oe=await A.arrayBuffer();$e(Oe,Ne)}else console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${A.statusText}`)}catch(A){console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${JSON.stringify(A)}`)}}(Z,P,f),w("Completed"),n.trackAgingReportDownloadClick(K(h),D,E)}())},[P,Z,l.companyName,v,o,h,N,D,E,w,S,n,ee]),_==="Error")return t.jsxs(ot,{children:[t.jsx(nt,{onClick:p,children:t.jsx(je,{})}),t.jsx(rt,{children:tt.failed})]});const De=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(N?.length??0)>0,searchPlaceHolder:h==="accounts_payable_aging"?R.apAging.searchPlaceholder:R.arAging.searchPlaceholder,searchText:N??"",onSearchTextChanged:f=>{g(f)},downloadPresent:!0}),t.jsx(ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:v==="In-Progress"}],onDownloadClick:async f=>{if(f==="excel"){if(v==="In-Progress")return void console.log("Download is already in progress!");r(!0)}}}}})]});return t.jsxs(it,{children:[t.jsx(Pe,{title:U,subTitle:_e(),backgroundColor:a.colors.grey5,onBackClick:c,rightSideComponent:De,downloadPresent:!0,style:{marginBottom:Q.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(G,{controller:_==="In-Progress"||_==="Not-Started",children:t.jsx(Le,{fetchState:_})}),t.jsxs(G,{controller:_==="Completed",children:[t.jsx(G,{controller:N.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(et,{reportId:h==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:i.totalBalances})}),t.jsx(Ue,{report:i})]})}),t.jsx(Je,{report:i,onSortOrderChange:Ce,onEntityNameClick:j,onNodeCollapseToggled:L})]})]})}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:C.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const ot=x.div`
37
+ `;function et({totalBalances:e,reportId:a}){const o=y.useMemo(()=>Ke(e),[e]),r=z();return t.jsxs(Ze,{windowSize:r,children:[e.map(s=>{const{period:i}=s;return t.jsxs(re,{children:[t.jsx(ie,{children:S.getLocalizedStrings().reports.aging.duration[i]}),t.jsx(se,{children:ne("0,0",s?.balance)})]},i)}),t.jsxs(re,{children:[t.jsx(ie,{children:a==="accounts_payable_aging"?S.getLocalizedStrings().reports.aging.apAging.totalPayable:S.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(se,{children:ne("0,0",o?.balance)})]})]})}const V={wrapperPadding:new M(c[3],c[3],c[8]),navbarMarginBottom:new M(c[7],c[4])},{download:J,dateFormat:I,reports:{common:tt,aging:R}}=S.getLocalizedStrings();function Yt(e){const a=Q(),[o,r]=y.useState(!1),s=z(),{report:i,uiState:m,downloadParams:l,analytics:n,onSelectedDateChanged:u,onBackClick:d,onSearchTextChange:g,onReloadReport:p,onSortOrderChange:b,onEntityNameClick:j,updateDownloadStateHandler:w,onNodeCollapseToggled:L}=e,{fetchState:_,reportTitle:U,reportId:h}=i,{searchString:N,downloadState:v,sortKey:D,sortOrder:E,selectedDate:C,agingDateSelectionType:k}=m,{authParams:P,downloadEndPoint:Z,timezone:ee}=l,te=y.useCallback((f,O)=>{const B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),C!=null?C.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,C]),ae=y.useCallback(f=>{const O=Ee({options:R.preComputedDurationOptions.map(({label:F,value:q})=>({label:F,value:ze(q)})).filter(({value:F})=>F!=null),selectedDate:f}),B=le(O);u(f,B),n.trackAgingReportDateChange(K(h),C!=null?C.format(I.analytics.YYYYDashMMDashDDFormat):W().format(I.analytics.YYYYDashMMDashDDFormat),f.format(I.analytics.YYYYDashMMDashDDFormat),B)},[n,u,h,C]),Se=y.useCallback((f,O)=>{b(f,O),n.trackAgingReportSortChange(K(h),O,f)},[n,b,h]),_e=y.useCallback(()=>t.jsx(Fe,{maxDate:W(),selectedDate:{date:C},precomputedOptionsProperties:{preComputedOptionSelected:dt(k),preComputedOptionDateFormat:I.visual.MMMDCommaYYYYformat,preComputedOptions:R.preComputedDurationOptions,onPreComputedOptionSelected:te},onSelectedDateChanged:ae}),[C,te,ae,k]);if(y.useEffect(()=>{o&&v!=="In-Progress"&&(r(!1),w("In-Progress"),async function(){const f={companyName:l.companyName,searchString:N,sortKey:D,sortOrder:E,statementFileType:"excel",timezone:ee,reportId:h==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:C};await async function(O,B,F){const q=`${O}?query=${encodeURIComponent(JSON.stringify(at(F)))}`,oe=R.arAging;try{const A=await Ie({urlEndPoint:q,authParams:B,fileType:"excel"});if(A.ok){const Ne=Me(A.headers,J.defaultFileName),Oe=await A.arrayBuffer();$e(Oe,Ne)}else console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${A.statusText}`)}catch(A){console.error(`${J.errorMessages.fileDownloadError.replace("__feature__",oe.arAging)} ${JSON.stringify(A)}`)}}(Z,P,f),w("Completed"),n.trackAgingReportDownloadClick(K(h),D,E)}())},[P,Z,l.companyName,v,o,h,N,D,E,w,C,n,ee]),_==="Error")return t.jsxs(ot,{children:[t.jsx(nt,{onClick:p,children:t.jsx(je,{})}),t.jsx(rt,{children:tt.failed})]});const De=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(N?.length??0)>0,searchPlaceHolder:h==="accounts_payable_aging"?R.apAging.searchPlaceholder:R.arAging.searchPlaceholder,searchText:N??"",onSearchTextChanged:f=>{g(f)},downloadPresent:!0}),t.jsx(ke,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:v==="In-Progress"}],onDownloadClick:async f=>{if(f==="excel"){if(v==="In-Progress")return void console.log("Download is already in progress!");r(!0)}}}}})]});return t.jsxs(it,{children:[t.jsx(Pe,{title:U,subTitle:_e(),backgroundColor:a.colors.grey5,onBackClick:d,rightSideComponent:De,downloadPresent:!0,style:{marginBottom:V.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(G,{controller:_==="In-Progress"||_==="Not-Started",children:t.jsx(Le,{fetchState:_})}),t.jsxs(G,{controller:_==="Completed",children:[t.jsx(G,{controller:N.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(et,{reportId:h==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:i.totalBalances})}),t.jsx(Ue,{report:i})]})}),t.jsx(Je,{report:i,onSortOrderChange:Se,onEntityNameClick:j,onNodeCollapseToggled:L})]})]})}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:S.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const ot=x.div`
38
38
  display: flex;
39
39
  width: 100%;
40
40
  height: calc(100% - 60px);
@@ -74,6 +74,6 @@ import{y as V,e as z,V as t,bd as je,hr as ve,a$ as ke,a_ as Pe,x as M,E as G,O
74
74
  position: relative;
75
75
  box-shadow: ${e=>`2px 2px ${$.sp1} ${e.theme.colors.dropShadowNormal}`};
76
76
  background-color: ${e=>e.theme.colors.grey5};
77
- padding-left: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
78
- padding-right: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
79
- `,ct=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},le=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Yt as default,at as toDownloadAgingReportOptionsPayload};
77
+ padding-left: ${e=>V.wrapperPadding.valuePx(e.windowSize)};
78
+ padding-right: ${e=>V.wrapperPadding.valuePx(e.windowSize)};
79
+ `,dt=e=>{switch(e){case"last_month":return"month";case"last_quarter":return"quarter";default:return}},le=e=>e==="month"?"last_month":e==="quarter"?"last_quarter":"custom_date";export{Yt as default,at as toDownloadAgingReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{j as S}from"./pdf-Cs-mh77O.js";import{a as r}from"./sentry-BkPUuNvL.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-BcVj2gTX.js";import{mm as oe,js as ie,e as re,mn as le,mo as ue,mp as $,bk as ce,jz as P,I as B,mq as de,mr as me,J as pe,k9 as he,ms as fe,k4 as Se,jO as ge,jM as Ce,mt as ke,mu as be}from"./index-CDsOcKsG.js";import{cM as N,ct as we,eS as Ie,Ok as Ee,d1 as ye,f0 as Te,eY as _e,dd as Pe,d7 as ve,c_ as xe,d4 as R,d8 as Oe,d9 as Qe,da as Ae,db as Me,dc as je}from"./zeni-epic-state-CsRsIUwY.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-hn9thxzh.js";import{p as Ue}from"./pathToGoBack-CQ5L4Qtj.js";import"./lottie-DP5A4Fs7.js";import"./liveblocks-BAIL303h.js";import"./recharts-B4dFoR35.js";import"./dnd-eXDjf6Lj.js";import"./analytics-wdo9XAAq.js";import"./plaid-NpQK5k22.js";import"./utils-DkgigH7S.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="211d4598-33e3-4371-bdfd-b8e680efd310",a._sentryDebugIdIdentifier="sentry-dbid-211d4598-33e3-4371-bdfd-b8e680efd310")}catch{}})();const q="chat-response-generated",Be=ne(function(a,i){const n=N(a),d=i.isSubmitting;return{showSampleQuestions:i.sessionFromUrl==="explore"&&n.uiState.currentChatSessionId==null,aiCfoView:n,isSubmitting:d,isNewChatSession:i.sessionFromUrl==="new_chat"||i.sessionFromUrl==="explore",isFullView:!0,tableDownloadEndPoint:`${Se}/tableDownload`,emailLinkQuestion:i.emailLinkQuestion,autoSubmitEmailLinkQuestion:i.autoSubmitEmailLinkQuestion,onEmailLinkQuestionProcessed:i.onEmailLinkQuestionProcessed,isFileUploadEnabled:i.isFileUploadEnabled}},function(a,i){const{location:n,currentTenant:d,userId:u,navigate:p,currentChatSessionId:h,allSessionsWithOrderedQuestionAnswers:g}=i;return{onEventReceived:(e,o)=>{if(e===q&&typeof o.text=="string"&&typeof o.metadata=="object"){const t=o,m=Qe(t.type),c=t.metadata.chat_session_id??null,{currentChatSession:s,currentQuestionAnswer:C,currentQuestionAnswerSummary:f}=$(g,c);m!=="answer"?P.trackAICFOChatResponseGenerated(m,C?.question.questionText??"",t.text,c,be(f,s),t.metadata.message_id??null):P.trackAICFOChatAnswerGenerated(t.text,C?.question.questionText??"",(t.follow_up_questions?.length??0)>0,!!t.assumptions,!!t.insights,t.visualization!=null,Ae(t.visualization?.type??"")??null,c,t.summarized_title,t.metadata.message_id??null),a(Me({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(je({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&ke(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Oe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??Ue(1);p(o,{state:{...n.state,pathnameStackToGoBack:e.newStack}}),a(R(""))},togglePageView:()=>{p(`/${d.tenantEmailDomain}/dashboard`,{state:{...n.state,message:"open_ai_cfo_drawer"}})},onCopy:()=>{},onThumbsUp:()=>{},onThumbsDown:()=>{},onTogglePageView:()=>{p(-1)},onNewChatClick:()=>{h!=null&&a(xe());const e=ge(n.state?.pathnameStackToGoBack,n.pathname);p(`/${d.tenantEmailDomain}/ai-cfo/new_chat`,{state:{pathnameStackToGoBack:e.slice(0,-1),referrer:"Sidebar"}})},onToggleCotCollapsed:(e,o)=>{a(ve({questionAnswerId:e,isCollapsed:o}))},onMenuClick:i.onMenuClick}})(he(fe)),at=({setIsAiCfoOpen:a,isFileUploadEnabled:i})=>{const n=ee(),d=te(),u=se(),[p,h]=r.useState(!1),{customPageTitle:g}=oe(),e=U(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=U(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,k=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{O.current||k==null||k===""||(I(k),E(x),O.current=!0)},[k,x]);const z=r.useCallback(()=>{I(null),E(!1)},[]),Q=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=Q.get("ref")??f?.aiCfoRef,y=Q.get("emailRefId")??f?.aiCfoEmailRefId,M=r.useRef(!1);r.useEffect(()=>{M.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),M.current=!0)},[A,y,s,n,o]);const b=e.uiState.lastContextMessage;r.useEffect(()=>{b!=null&&b!==""&&s!=null&&(I(b),E(!0),n(Ee()))},[b,s,n]);const W=c.masterTOSInfo,w=W?.isMasterTOSAccepted??!1,{visitedSessions:j}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,F=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",L=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),D=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(D,s),J=H.length===0;r.useEffect(()=>{w||d("../dashboard",{state:{...u.state,message:"open_ai_cfo_drawer"}})},[w]),r.useEffect(()=>{s!=null&&t!==s&&d(`../ai-cfo/${s}`,{state:{...u.state}})},[s,t]),r.useEffect(()=>{t!=null&&s==null&&t!=="new_chat"&&t!=="explore"&&n(ye({sessionId:t,agentId:"controller"}))},[]);const Y=r.useMemo(()=>({events:j.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[j]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&F!=="In-Progress"&&L&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[F,L,s,o,n]),o==null||t==null)throw Error("Can't access AI Controller page without signing in...");const K=s!=null&&e.responseStateByChatSessionId?.[s]?.answer?.fetchState==="In-Progress";return S.jsxs($e,{children:[S.jsx(ce,{analytics:P,onLoad:l=>l.trackPageLoaded(pe.Event.aiCFOPage)}),B(m)&&C.drawerElement,S.jsx(Be,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:J,customPageTitle:g,currentTenant:c,emailLinkQuestion:G??void 0,autoSubmitEmailLinkQuestion:V,onEmailLinkQuestionProcessed:z,onMenuClick:B(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Fe,{anchor:"right",open:p,transitionDuration:250,PaperProps:{component:Ne,style:{width:`${de}vw`}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>h(!1),children:S.jsx(Re,{onClick:l=>l.stopPropagation(),children:S.jsx(me,{isTOSAccepted:w,acceptMasterTOSState:e.masterTOSAcceptanceState,customPageTitle:g,onCloseClick:()=>h(!1),onCompleteClick:()=>{w||c.userRoleId==null||n(Pe(c.userRoleId)),h(!1)}})})})]})},Re=v(De)`
1
+ import{j as S}from"./pdf-Be2WBqYM.js";import{a as r}from"./sentry-DQeYyYXx.js";import{i as ee,j as te,h as se,u as U,l as ae,k as ne}from"./core-D9P6lLF-.js";import{mm as oe,js as ie,e as re,mn as le,mo as ue,mp as $,bk as ce,jz as P,I as B,mq as de,mr as me,J as pe,k9 as he,ms as fe,k4 as Se,jO as ge,jM as Ce,mt as ke,mu as be}from"./index-CAltUZe8.js";import{cM as N,ct as we,eS as Ie,Ok as Ee,d1 as ye,f0 as Te,eY as _e,dd as Pe,d7 as ve,c_ as xe,d4 as R,d8 as Oe,d9 as Qe,da as Ae,db as Me,dc as je}from"./zeni-epic-state-CHpO1ZKT.js";import{D as Fe,n as v,P as Le,S as De}from"./mui-CMSRVFAm.js";import{p as Ue}from"./pathToGoBack-Blub25Cp.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new a.Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="211d4598-33e3-4371-bdfd-b8e680efd310",a._sentryDebugIdIdentifier="sentry-dbid-211d4598-33e3-4371-bdfd-b8e680efd310")}catch{}})();const q="chat-response-generated",Be=ne(function(a,i){const n=N(a),d=i.isSubmitting;return{showSampleQuestions:i.sessionFromUrl==="explore"&&n.uiState.currentChatSessionId==null,aiCfoView:n,isSubmitting:d,isNewChatSession:i.sessionFromUrl==="new_chat"||i.sessionFromUrl==="explore",isFullView:!0,tableDownloadEndPoint:`${Se}/tableDownload`,emailLinkQuestion:i.emailLinkQuestion,autoSubmitEmailLinkQuestion:i.autoSubmitEmailLinkQuestion,onEmailLinkQuestionProcessed:i.onEmailLinkQuestionProcessed,isFileUploadEnabled:i.isFileUploadEnabled}},function(a,i){const{location:n,currentTenant:d,userId:u,navigate:p,currentChatSessionId:h,allSessionsWithOrderedQuestionAnswers:g}=i;return{onEventReceived:(e,o)=>{if(e===q&&typeof o.text=="string"&&typeof o.metadata=="object"){const t=o,m=Qe(t.type),c=t.metadata.chat_session_id??null,{currentChatSession:s,currentQuestionAnswer:C,currentQuestionAnswerSummary:f}=$(g,c);m!=="answer"?P.trackAICFOChatResponseGenerated(m,C?.question.questionText??"",t.text,c,be(f,s),t.metadata.message_id??null):P.trackAICFOChatAnswerGenerated(t.text,C?.question.questionText??"",(t.follow_up_questions?.length??0)>0,!!t.assumptions,!!t.insights,t.visualization!=null,Ae(t.visualization?.type??"")??null,c,t.summarized_title,t.metadata.message_id??null),a(Me({chatSessionId:t.metadata.chat_session_id,responseType:m,fetchState:{fetchState:"Completed",error:void 0}})),a(je({chatSessionId:t.metadata.chat_session_id,answerPayload:t,userId:u}))}},onSubmit:(e,o,t,m)=>{e&&ke(a,e,o,h,g,u,m,t)},updateCurrentInput:e=>{a(R(e))},onStopSubmit:()=>{},onUpdateScrollYOffset:e=>{a(Oe(e))},onSelectSampleQuestion:()=>{},onBackClick:()=>{p(-1)},onCloseClick:()=>{const e=Ce(n.state?.pathnameStackToGoBack),o=e.poppedPathname??Ue(1);p(o,{state:{...n.state,pathnameStackToGoBack:e.newStack}}),a(R(""))},togglePageView:()=>{p(`/${d.tenantEmailDomain}/dashboard`,{state:{...n.state,message:"open_ai_cfo_drawer"}})},onCopy:()=>{},onThumbsUp:()=>{},onThumbsDown:()=>{},onTogglePageView:()=>{p(-1)},onNewChatClick:()=>{h!=null&&a(xe());const e=ge(n.state?.pathnameStackToGoBack,n.pathname);p(`/${d.tenantEmailDomain}/ai-cfo/new_chat`,{state:{pathnameStackToGoBack:e.slice(0,-1),referrer:"Sidebar"}})},onToggleCotCollapsed:(e,o)=>{a(ve({questionAnswerId:e,isCollapsed:o}))},onMenuClick:i.onMenuClick}})(he(fe)),at=({setIsAiCfoOpen:a,isFileUploadEnabled:i})=>{const n=ee(),d=te(),u=se(),[p,h]=r.useState(!1),{customPageTitle:g}=oe(),e=U(l=>N(l)),o=ie.getSignedInUser(),{session_id:t}=ae(),m=re(),c=U(l=>we(l)),s=e.uiState.currentChatSessionId,C=le({currentTenant:c,currentChatSessionId:s,aiCfoView:e}),f=u.state,k=f?.aiCfoInitialQuestion,x=!!f?.aiCfoShouldSubmit,[G,I]=r.useState(null),[V,E]=r.useState(!1),O=r.useRef(!1);r.useEffect(()=>{O.current||k==null||k===""||(I(k),E(x),O.current=!0)},[k,x]);const z=r.useCallback(()=>{I(null),E(!1)},[]),Q=r.useMemo(()=>new URLSearchParams(u.search),[u.search]),A=Q.get("ref")??f?.aiCfoRef,y=Q.get("emailRefId")??f?.aiCfoEmailRefId,M=r.useRef(!1);r.useEffect(()=>{M.current||A!=="month-end-email"||y==null||s!=null||o==null||(n(Ie("controller",o.userId,y,"MONTH_END_EMAIL")),M.current=!0)},[A,y,s,n,o]);const b=e.uiState.lastContextMessage;r.useEffect(()=>{b!=null&&b!==""&&s!=null&&(I(b),E(!0),n(Ee()))},[b,s,n]);const W=c.masterTOSInfo,w=W?.isMasterTOSAccepted??!1,{visitedSessions:j}=ue(s),T=e.fetchState,_=e.uiState.chatSessionsNextPageToken.hasMore||!e.uiState.chatSessionsFirstPageFetched,F=s!=null?e.fetchChatSessionHistoryByChatSessionId?.[s]?.fetchState??"Not-Started":"Not-Started",L=s==null||(e.uiState.chatHistoryNextPageToken[s]?.hasMore??!0),D=e.allSessionsWithOrderedQuestionAnswers,{currentSessionQuestionAnswers:H}=$(D,s),J=H.length===0;r.useEffect(()=>{w||d("../dashboard",{state:{...u.state,message:"open_ai_cfo_drawer"}})},[w]),r.useEffect(()=>{s!=null&&t!==s&&d(`../ai-cfo/${s}`,{state:{...u.state}})},[s,t]),r.useEffect(()=>{t!=null&&s==null&&t!=="new_chat"&&t!=="explore"&&n(ye({sessionId:t,agentId:"controller"}))},[]);const Y=r.useMemo(()=>({events:j.map(l=>`private-chat-${l}.${q}`),eventCallback:(l,X,Z)=>Z.onEventReceived(l,X)}),[j]);if(r.useEffect(()=>{T!=="In-Progress"&&_&&n(Te())},[T,_,n]),r.useEffect(()=>{s!=null&&F!=="In-Progress"&&L&&o!=null&&T==="Completed"&&!_&&n(_e(s,o.userId))},[F,L,s,o,n]),o==null||t==null)throw Error("Can't access AI Controller page without signing in...");const K=s!=null&&e.responseStateByChatSessionId?.[s]?.answer?.fetchState==="In-Progress";return S.jsxs($e,{children:[S.jsx(ce,{analytics:P,onLoad:l=>l.trackPageLoaded(pe.Event.aiCFOPage)}),B(m)&&C.drawerElement,S.jsx(Be,{...Y,currentChatSessionId:s,allSessionsWithOrderedQuestionAnswers:D,openOnboardingPage:()=>h(!0),userId:o.userId,setIsAiCfoOpen:a,navigate:d,sessionFromUrl:t,location:u,isSubmitting:K,isEmptyChatWithSession:J,customPageTitle:g,currentTenant:c,emailLinkQuestion:G??void 0,autoSubmitEmailLinkQuestion:V,onEmailLinkQuestionProcessed:z,onMenuClick:B(m)?C.open:void 0,isFileUploadEnabled:i}),S.jsx(Fe,{anchor:"right",open:p,transitionDuration:250,PaperProps:{component:Ne,style:{width:`${de}vw`}},slotProps:{backdrop:{style:{backgroundColor:"transparent",cursor:"pointer"}}},onClose:()=>h(!1),children:S.jsx(Re,{onClick:l=>l.stopPropagation(),children:S.jsx(me,{isTOSAccepted:w,acceptMasterTOSState:e.masterTOSAcceptanceState,customPageTitle:g,onCloseClick:()=>h(!1),onCompleteClick:()=>{w||c.userRoleId==null||n(Pe(c.userRoleId)),h(!1)}})})})]})},Re=v(De)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;