@zeniai/web-cockpit-ui 1.15.10-dev → 1.15.11-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 (278) hide show
  1. package/dist/assets/{ACHDetailsPage-BtE9TY6d-C9maaZu_.js → ACHDetailsPage-CR6ypd9o-CPuvu8Ya.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BkDJ2ST0-Dzxt81Gg.js → AIPerformancePage-C1OU9y7O-Cy2fQhSN.js} +12 -12
  3. package/dist/assets/{AccountInfoPage-CTbeJLI7-C29oNV5j.js → AccountInfoPage-CyJ0eFqc-oDTaIYye.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BUTcEduM-DVKpBXHq.js → AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-v6aQO7JB-xH0-ZPkG.js → AccountLockedInfoModal-DNU_J1FV-BrQt7SPM.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DIAg-5PN-B1-bYNLU.js → AccountReconDetailsDrawerPage-DghCIWni-WUADgsvH.js} +1 -1
  7. package/dist/assets/{AccountRow-BVKk7u7h-CDJSAP1l.js → AccountRow-CYv0Uw-I-DQCZ-Htb.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js → AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DDTSYpDb-gu3pix_O.js → AddAddressForCardDrawer-D1XOklKz-D41jak46.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-D2Qg0MR_-DL2aRvxj.js → AddToWalletPage-C8keLYK6-Bn2sefuz.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-_mSqD2hW-Boesp-Ca.js → AgingReportsPage-L84_Ka8x-B6lkNbiG.js} +1 -1
  12. package/dist/assets/{AllUserItems-CLsMcXeg-B7yfRaza.js → AllUserItems-Duwm6ypi-CNUX4dOE.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BsJuvMuy-C0lGm0Hq.js → ApAgingDetailPage-MH7SN7mP-D7GEtWSd.js} +7 -7
  14. package/dist/assets/{AppBasePage-BxGd2ny5-CxKcTkZB.js → AppBasePage-DpK4Drat-Bt4q9XbU.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DzQ2jw8d-B8p2K7qi.js → AppDrawerContent-CR_WXwBz-CFNPiFQp.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-6n8xLG5c-9HDMDjw5.js → ApprovalRulesSettingsPage-DD2E4NU5-DpHAD8Ti.js} +1 -1
  17. package/dist/assets/{ArAgingChart-B3T4qk8t-CVyLgEv4.js → ArAgingChart-q1DoAAzl-IMdyrhPv.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-pdf0VjeI-BUmI9Ihk.js → ArAgingDetailPage-BKqFTdkz-kMEm6GPZ.js} +1 -1
  19. package/dist/assets/{AttachmentView-BJfqJ9hP-BtlO-7I1.js → AttachmentView-CwbFyo5O-DSfNvuAU.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Cd_h3co--DCzIyA5D.js → BankAccountSection-DNYhcdas-Ddz8QKzl.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Cz9fzMVv-CvaYS3T_.js → BankAccountWarningSection-B6AIe7nT-BcHAPM_q.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-P-hobvq_-BOnK_glB.js → BankConnectionsSettingsPage-BQSAz9yS-R3TufSTo.js} +1 -1
  23. package/dist/assets/{BillDetailPage-B-_gbDGZ-BtpvnzvD.js → BillDetailPage-CJMkS2TO-CUCvdJLF.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CyoqtTu1-C1sdR4PX.js → BillPayApprovalRuleDetailPage-CWCmHWbz-BO-G290w.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CTRvfoZN-BLcwl2yw.js → BillPayApprovalRulesPage-0_wlhyx9-CKOGyW5d.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-OYlocjA7-7DEWsR0V.js → BillPayPromoPage-CKOYCq5V-C6OfnMF1.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-B8_IEgff-CAWPUMJX.js → BillPaySetUpPage-Dibv-FD4-kIfalP85.js} +4 -4
  28. package/dist/assets/{BillingSettingsPage-DqO-9dDI-7RCoKyM1.js → BillingSettingsPage-CG9gklV0-CGGGPaut.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B-nfpiM2-CiONs4dM.js → BillsBulkReviewDrawerPage-Cgof7dpG-BwYBq9-d.js} +1 -1
  30. package/dist/assets/{BoxItem-C-LLQ7NS-CyKsGaF0.js → BoxItem-DD7d5_ky-D2d9aLr-.js} +5 -5
  31. package/dist/assets/{BusinessVerificationPage-BD-G0QbW-BuRfqr04.js → BusinessVerificationPage-KfKed7nf-Bzkiryv0.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CPcuTV6V-CmAy0kVV.js → CardNumberSubText-sE2DGwYG-B174guLL.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CzEHO7NM-DhooXBnW.js → CashbackDetailPage-D1ejnH4R-BltiUdCI.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DpA9C48D-Cg9lUs5_.js → ChargeCardDetailPage-Cvs-BEKp-Bqa3oM5k.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-igseWp-z-CgO4ULTe.js → ChargeCardListPage-CW0WF8w6-DBIJI8Xw.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-C-nM1SEM-CukpO46W.js → ChargeCardListTable-43l6tEOp-BbcKoGZ2.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-TCuBt2Cv-BDmH-kNH.js → ChargeCardPaymentHistoryPage-fpQhp74g-BLq-AFt8.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-D0np03A--Bpq9wCjH.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-zdLpdeJV-CBsuPE8U.js → ChargeCardSetupPage-CFR2KfLW-Bj3pYNfL.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-D42XfAtE-RchDbumz.js → ChargeCardStatementsPage-BMYUlzTk-CZ02SfTF.js} +2 -2
  41. package/dist/assets/{CheckDepositDrawerPage-DC1L83fB-BCa5n7-H.js → CheckDepositDrawerPage-BXWeeMR7-BYN5c48i.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-BWfFYJbH-BIiPdpTy.js → CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-TNyVByDX-D2759MDx.js → CompanyOfficerDetailsSection-b2itwQOK-DbOlSBag.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DjBkQwpn-Dd7qvLcE.js → CompanyPassportCard-C5C3AykH-DcHAKmoT.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CrqL6_wm-C8yNeeq6.js → CompanyPassportPage-D9zWgLlj-CWyCqrqW.js} +12 -12
  46. package/dist/assets/{CompleteProfile-BP-MRXpZ-BD6u4U_v.js → CompleteProfile-CMnTwbXr-DZqd8rFQ.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-D2FdlxTA-BPfMfLCc.js → ConfettiBurst-BRie0bid-CKCgsLzT.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-D2Cuyhtu-CjSilO-g.js → CreateOrEditVendorPage-CthcMxEa-PQhPjSjB.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LQiWqyEO-5RaHGm67.js → CreditCardPaymentDrawerPage-LD349Ert-C4Wbd8yP.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-Dpcv7_rA-DStJFuSr.js → CurrencySelectField-iXGB-cNy-BRjQHy5W.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BRWiLUVc-B8_ST9_b.js → CustomerOnboardingActivationPage-BuZrVCRr-DQvZbF43.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DBMIRSp3.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D4fUQLXG-BvBHzbJv.js → CustomerOnboardingDetailPageSkeleton-L4WssPjU-BL2-a44j.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-CxF6ZEAa-CMxQsxHY.js → CustomerOnboardingNoStepsPage-Bqv6vbYJ-B4xhs9JC.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-DKcr5stz-DRi352cJ.js → CustomerOnboardingPage-D7YVlzdy-GqcXPa-d.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-DLzC-lxj-pVKJNYgp.js +202 -0
  57. package/dist/assets/{Dashboard-DMAOn7Hi-CGGVivU9.js → Dashboard-BgpeTLE--ZF2wZzkh.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-UUd1-ITz-DMCD3HWG.js → DashboardReportPage-DJtJdsj5-D0j90p2O.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BuINHqA--61tWJjrX.js → DashboardSidebarBackgroundAnimation-CL6vWi6p-DaXPDfmE.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BE8LeqlM-hlhKmXR8.js → DepositAccTransactionItem-B8Kledeo-BlVCqg6w.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-DyH-aZDX-DTHKAa1Z.js → DepositAccTransactionListPage-DYBIAd7n-gVv7-TK3.js} +2 -2
  62. package/dist/assets/{DomesticWireDetailsPage-Bk5AZOQt-CMcHRFaW.js → DomesticWireDetailsPage-Bm-bfxSa-rYZYhMWI.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-BOYOF8Po-BwD6Afat.js → DownloadOverlay-CAfyh0W2-BJk2KPOA.js} +1 -1
  64. package/dist/assets/{DrawerPage-BGGHNo0X-DCBr8o9E.js → DrawerPage-DUeVKq0Q-DB8bkP9s.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-CEiwvizd-D-zbL-nU.js → EditPeoplePage-dVrpOcc1-DgbweCi9.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-DBLDLvqO-C54aQF5d.js → EditReimbursementDetailPage-xWwm-k8T-Hs0cdO6C.js} +1 -1
  67. package/dist/assets/EntityDetailPage-Cpdbw3XR-C8k1xBJc.js +18 -0
  68. package/dist/assets/{EntitySummarySection-Ddaj1RmO-DBcpL5Yc.js → EntitySummarySection-CTU-YsQl-CSwZth_c.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-B_BlqiWf-CaFabiLU.js → ExpenseAutomationOverviewPage-DCbcWM84-DHrtqP9f.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-DfUf0zEN-B6VJ2UJy.js → ExpenseAutomationPage-DbFQ6EeA-C0i_UBmZ.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-Da8lLZso-Cwv7Clar.js → ExpressPayPage-DMLKT4Nf-6YIrNvk0.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-CmrPDUFU-5rcSl0eb.js → FeaturePreviewPage-DFsZRRmZ-KGYTIegX.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DbxSUIzC-BaXmlzKU.js → FollowStepsSection-DkBj9-hs-mJdSbXed.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-Du_3tupM--fNfq6rW.js → GlobalReviewListPage-D1fbfssG-CByDE9EN.js} +1 -1
  75. package/dist/assets/{InformationCardStack-Bx_9X95v-xPOrStCv.js → InformationCardStack-CBsOTiOc-CgAe3fDD.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-Xn2rGwX0-BAx1TkHE.js → InsightsCardStack-BEpCIgoE-Bd7MJjyH.js} +2 -2
  77. package/dist/assets/{InsightsSection-CwyGEE7C-BgS40gth.js → InsightsSection-DcKb1p5B-QoDxUPcZ.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-CEL26-eE-DfibyIun.js → IntegrationsSettingsPage-CMEV5P0b-3g_v4D8X.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-IUz-DwAH-CGr6Gc70.js → InternationalWireSwiftDetailsPage-Bukfo0LC-DGIPKWPe.js} +4 -4
  80. package/dist/assets/{InternationalWireVerificationPage-C66rHdsi-fqJ5C72A.js → InternationalWireVerificationPage-nZvCemaM-DntrzxyD.js} +1 -1
  81. package/dist/assets/{InviteFormPage-Do-6PG8h-C-rzmYCh.js → InviteFormPage-BpgeFttq-BbrTw2ZL.js} +1 -1
  82. package/dist/assets/{InvitePageListView-DYKcMtIL-nvuj34Qe.js → InvitePageListView-B6wJomGk-pTRfOIaC.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-C2SmS7y8-BN_wFYgu.js → InvitePeoplePage-BArRXjlz-BHQlwXvg.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-rCCcSbbj-CFzlgKg9.js → InvoiceUploadSection-CTqSftrm-CyVrgEkl.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-DZvVosb3-C2W1gOfV.js → IssueChargeCardPage-DYG5IXrC-D-2m3p9R.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-CAX5YTSE-BfVvpzvP.js → LabeledAddressValue-D09c5wJR-784mespz.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-BraOMDrG-CfBm_XIY.js → LabeledAddressValueField-Cac2YPpN-Ba7qdzlE.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js → LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-DYid8vvM-BfPOTgp8.js → LabeledCountryMultiSelectField-DdqOGBwp-DSHkYk9h.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DzB7KPXf-BwfCQ3vj.js → LabeledCreatableSingleSelectField-K0xUavli-THytCXMe.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-BdQjt44W-EnLXAA71.js → LabeledDocumentField--JZn0qDn-Ck_rkdmF.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BheK7sFg-D0D4XYai.js → LabeledDropDownFormattedTextField-Dms9ziRv-CJQkVxrk.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-m2Y_IFK_-DBGqM9Nr.js → LabeledMultiSelectField-X5GGPnfG-0qUfOlj0.js} +1 -1
  94. package/dist/assets/{LabeledText-C6M4paXi-dAFR23d7.js → LabeledText-BJrI_PVT-oE-g3K8U.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-i7qOybJ3-QdNWRUWG.js → LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-BzPJ9P_-.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BhNbXDjb-DgKv1slV.js → LabeledZeniRolesDropDownField-PsaKyCCY-EbSrXIJy.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage--sqluuih-VivXIc5D.js → LinkJETransactionPage-BDIpw0zn-B_cGLw9N.js} +1 -1
  98. package/dist/assets/{LockCardPage-Bq0Tu8g8-C6m1-JJ1.js → LockCardPage-ChGk6VJX-BzQI96FY.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-hlu_jjTZ-DZ1z8xe6.js → LowBalancePopup-Bv3kKmAV-DSB2Ymlf.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-ItRZ63_N.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C843OBvj.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-COXfeIQs.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-D6ZDRs5F-DQNiPx3u.js → MagicLinkSuccessPage-ySlQc8oV-BspPWH9Z.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-e9WYeJQA-BdMlQ905.js → MagicLinkTitleSection-C_OYT1do-NbVFRCAZ.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-CTPCXpZR-Dv3Iye8Q.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Bb7UZRJf-B5XKMom_.js → MyBankConnectionsSettingsPage-CxaXh1Aj-CwKK_h51.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BToJWGM8-CjAx4TXN.js → MyPendingActivationChargeCardListPage-B9mNbLDd-Db1Atl2l.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-CGxf42bP-Cc5RApxz.js → MyProfileSettingsPage-DDERIXlZ-CjalvgMv.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-DcDs1pe7-RUEHjYNa.js → NavBarWithPicker-BJ_8PHPv-B6R9nMuM.js} +1 -1
  110. package/dist/assets/{NavigationArrow-DGSdnTKQ-CgfnFgIs.js → NavigationArrow-9HOMBxoh-CWFuMeOE.js} +1 -1
  111. package/dist/assets/{NavigationDots-BPsFQiss-Dqh0y0c_.js → NavigationDots-DPf5iy8f-DNlf5jCf.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-od2IF__o-BUeowAQW.js → NewGlobalMerchantPage-1MfUlwkA-Dx3DZ-ZO.js} +1 -1
  113. package/dist/assets/{NoDataChart-qG0jmc8Z-Dctec7eR.js → NoDataChart-CDHiYyiO-DHWgty-U.js} +1 -1
  114. package/dist/assets/{NoDataTable-CgKT7NGU-CuzMQ4sx.js → NoDataTable-BoAJZxdS-ClNYPP1-.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CdUJ7M5p-DbLXvN2b.js → NotFoundPage-C-EoeDss-DqOvJ6YN.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-D1PKq-ED-ChTF7VDn.js → NotificationSettingsPage-BfFNx-vu-Byo7BJZr.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js → NotificationsListConfig-CBQwRqMo-DVBdjTys.js} +1 -1
  118. package/dist/assets/{NotificationsPage-_5Yn9uTy-mxWdg1FN.js → NotificationsPage-BPfRskWZ-_QOFXGgt.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-Dqr805s1-CqYYgxC3.js → OpExByVendorPage-BLI8h8LP-PGQ9bnDo.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-YfbThdai.js → OverlayContainerPage-IDTUbuAC-B16J5Isr.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CQ5IMW_B-BHtqAaTy.js → PandLWithForecastPage-DvT1WQdL-CPylI6Uc.js} +4 -4
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DtOeyTmL-DXDwBnq6.js → PaymentAccountSetupBillingAddressSection-CyfKYJV3-CnunCi1o.js} +7 -7
  123. package/dist/assets/{PeoplePage-DEp24LGx-BkYkgzLW.js → PeoplePage-BHfn-oLF-CGOapKvG.js} +1 -1
  124. package/dist/assets/{Preview-XG6ky5VX.js → Preview-B9tjpKKL.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-Dgwws_g9-_dPrFjDV.js → ProductsCarousel-ChWN6HhX-DEhcI5NW.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-wfvFaqMw-CY2jDhRy.js → PromoBaseCards-BWpqciJW-DEw7mp3r.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CSMrKgrY-gVbZ-mZ8.js → QBOConnectionDialog-D9wVm2ga-jv2cIUQM.js} +1 -1
  128. package/dist/assets/{QBOSetupSection--FQKYLxN-LYuddynp.js → QBOSetupSection-CR7JQ_H9-CokKwnfI.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dzg2pNcJ-BdMg1RhW.js → ReimbursementApprovalRuleDetailPage-RTvnT_vl-D0AOYl_B.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-eyZWsjXs-Du4OL-aC.js → ReimbursementApprovalRulesPage-Dbs4lLSo-5JjLiWWQ.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-DnSo6uTd-B2fnQcOh.js → ReimbursementDetailPage-COF-QqKR-BLj9_Zcn.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-0st3rBmg-BJkFCzXz.js → ReimbursementPromoPage-DSHynwPv-CMfUTDoh.js} +8 -8
  133. package/dist/assets/{ReimbursementSetUpPage-DCMgwGAM-CVZuk20s.js → ReimbursementSetUpPage-CafAtAVr-BdH5_Uu6.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cx7BlVAb-BW2L-YXt.js → ReimbursementsBulkReviewDrawerPage-Cz8keUEO-C42JglzT.js} +1 -1
  135. package/dist/assets/{ReloadCard-8Tiu9Mq9-WidMrFBg.js → ReloadCard-Bf1jxC4B-CjPHohhm.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-BwBEG73W-D23xRsEe.js → ReportTableViewSelector-DOQm7O9r-DcS436ql.js} +1 -1
  137. package/dist/assets/{ReportsPage-BxXxsNBv-dsPUH8v1.js → ReportsPage-Deg59aYB-VaMTaqOC.js} +5 -5
  138. package/dist/assets/{RevenueChart-D13bncyo-DisVSBsZ.js → RevenueChart-C1RR_51e-Bn1LRvSc.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-C5q0Abn_-DCYfD4eU.js → ReviewDetailsPage-D3bqGZYb-DmpMCAqo.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-BNnNWFdW-Dc8TbL95.js → ReviewOverlay-CKB9LulM-CUNk2W-s.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-DvYf0VUz-DfyQTHhc.js → RoleWithToolTip-BGlbeXtJ-BQ5iinOT.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DqrwF4kG-YxjHzQUp.js → ScheduleDetailsFixedAssetsPage-D4OkyPNa-6prKuM88.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-CH2lKmlN-Db_nhPQU.js → ScheduleDetailsPage-9oUScaFD-Czq02-r0.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-BzDIvZ9H-BagpGi8M.js → ScheduleSequenceTable-CuOC0Niz-BzAvMkBB.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-l2ZSRE3X.js → ScreenRoutes-DhG0rKVC.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-DOvqcC8t-DxYvNTsg.js → SetUpAccountSection-CK2Ibij3-DvyPJ8FZ.js} +1 -1
  147. package/dist/assets/{SignIn-CBRwaiPC-DSZbn4tf.js → SignIn-CLLS0cqt-G1jKv-f1.js} +1 -1
  148. package/dist/assets/{SignInScreen-DA-QJIMK.js → SignInScreen-BdhVUUiU.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js → SpendManagementListViewPage-C1hg05PB-BMXGChah.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-S5zX9fWg-B69ncWCU.js → SpendManagementPerTabPage-7uggjzlM-BBdEOhcD.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-vo9WEGWQ-DV0kvnxH.js → SpendManagementSection-DFiL_yNI-ca-vlRub.js} +1 -1
  152. package/dist/assets/StatementItem-CdytKcBE-CavJc8fo.js +31 -0
  153. package/dist/assets/{StatementsPage-0BpH6B2F-c3HeY-pH.js → StatementsPage-DU32IYXF-Dj_pMhMm.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-Cj2oyfqn-GHqh8PSV.js → StatusSwitcher-DPzwQ_o1-DkaIBc47.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-B-gfkK-k-9khtx1-k.js → SubTabSwitcher-Dztt2rN9-DqHo5u0Z.js} +1 -1
  156. package/dist/assets/SummaryCard-D3ev0zFr-CHfcyxTY.js +1 -0
  157. package/dist/assets/{TaskManagementPage-DND-MEly-DfQOsUTI.js → TaskManagementPage-BRAt26fv-om-zuIgh.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-BCfDT5nQ-BnXndCyZ.js → TimeRangeSwitcher-DMCbeOcI-C4mgjK4U.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js → TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-Di1hQ-WC-DVlTpSsC.js → TimeframeSwitcherWithToggle-BBJP1nmh-D1jTbV4O.js} +2 -2
  161. package/dist/assets/{TopExCard-B4CpuO-v-CxDodwtl.js → TopExCard-LesAF7Ot-CWhGtv9n.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-BWdJnu-c-DDcIl_DR.js → TopExDetailPage-BTG2W95T-CAgJv3QR.js} +5 -5
  163. package/dist/assets/{TransactionDetailPage-CL_VbaJy-BG7mpSq_.js → TransactionDetailPage-BqHVfK2K-CBoMen48.js} +1 -1
  164. package/dist/assets/{TransactionList-CSfzB0gM-Dw6vqliW.js → TransactionList-CGmpQyNM-BGohJsUE.js} +1 -1
  165. package/dist/assets/{TransactionListBig-Dkdt0pvn-BZrDL6CH.js → TransactionListBig-CSYpIxGa-Bd2xJZzC.js} +1 -1
  166. package/dist/assets/{TransactionListPage-DBAqpKkc-SGyXtVgm.js → TransactionListPage-CV5U_pA6-DsUhS_R3.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-BPb6IGMd-D5zJvpum.js → TransactionVendorDetailPage-DvqHmq7y-C8mjIShR.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-oyNu_G0D-C-dL6Rya.js → TransferDrawerPage-Cm5reG35-B5qd6-NU.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-DIPEykKC-C5rL0Wer.js → TreasuryOverviewPage-CwcehiRb-BBfaI9Ls.js} +9 -9
  170. package/dist/assets/{TreasuryPromoPage-wmxtzW1N-BB1K5PqR.js → TreasuryPromoPage-BagqhZgO-BswlnynL.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-vHS-mb3R-Ddrpn04Q.js → TreasuryStatementsPage-o-ID2nvn-DTg8AAgQ.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-3fiYxv2D-Dg0xbQQQ.js → TreasuryTaxLetterPage-D9f3ohGF-DEP20r26.js} +2 -2
  173. package/dist/assets/{TrendChart-dVd4QdGQ-CLKuTzb2.js → TrendChart-CqxpheW7-DiPHNgeC.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-zZUv_Qrs-BElxtx49.js → TrendWithTransactions-CK_je__x-C1Qk91i9.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-CcyG64pA-0yQuhcbM.js → UncategorizedAccountsMappingPage-BBYQFJxE-nEmuJTEW.js} +5 -5
  176. package/dist/assets/{UnitIntegrationPage-BL6g4XY0-fYnhKg75.js → UnitIntegrationPage-ULhazfl5-DPlYAGvC.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CBg0WhaZ-C_8-7GFi.js → UploadAdditionalDocumentOverlay-BPNLdaLG-DQNAWd7N.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-CF5AV8a5-BsgzaDOa.js → Vendor2FAPopup-C3Z-3poJ-Cxx265s1.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-DnB2b-v_-C755XLlO.js +1 -0
  180. package/dist/assets/{VendorDetailPage-C168zV-E-B3dEwSOF.js → VendorDetailPage-DPiVnh93-CAOlBr9d.js} +5 -5
  181. package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-DhsLa-3A.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-DVrk7af6-wOFW-4Wi.js → VendorFiling1099EditablePage-CFrvW8qi-C-v6Mx4-.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-kiMBuYID-CtvtJJUg.js → VendorFirstReviewPage-CRLGuw2s-wfeT2fAg.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CtGJurq9-CCXwNCAZ.js → VendorInternationalWireDetailsPage-CV11lzdw-BWhlaMax.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-BXIinpkC.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-B9Ik1T2V-BaqvYUX_.js → VendorsAccountsSection-vd0V4UXY-BNPavepY.js} +1 -1
  187. package/dist/assets/{VerifyDevice-DfX9VA7b-BdOPIyEo.js → VerifyDevice-DbyjJVTH-_0YHPiw6.js} +3 -3
  188. package/dist/assets/{VideoPlayer-_FcQClfH-cuN5RcOe.js → VideoPlayer-CoI7aj8a-B3tmTxCF.js} +2 -2
  189. package/dist/assets/{VideoPopup-D0XTfD6q-CZBktelE.js → VideoPopup-Bp7fCV1r-BulLqsQx.js} +4 -4
  190. package/dist/assets/{WarningsDrawerPage-DIwWkX4B-B-UdjfAF.js → WarningsDrawerPage-jMslD0FX-CrUmOPLP.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-mo0trXHB-B20udciT.js → ZeniAccountDetailPage-C1Vq8cMd-BzjwyTwn.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-CVzyx1Sx-CoJhvG_N.js → ZeniAccountListViewPage-BNTb04x5-DcvhdCN4.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-CbXVnnp9-Dnxyvh_X.js → ZeniAccountNavBarPieces-ByYrxg3x-w6kmpmKh.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-gZMYr_Ux-DJicJ7wt.js → ZeniAccountPromoPage-BCkk0NbR-juw5u7mQ.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-DPOLAjZV-DJVpJ_Nd.js → ZeniAccountSetupPage-ClZTjZhF-C_sOqJTM.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-BDUQdaKP-B6B-IB0N.js → ZeniCopyright-C8wXM9Gr-qMGnv8al.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js → ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-BBEivBdQ.js → add-to-wallet-DgdBD8_G-flwj0i1s.js} +1 -1
  199. package/dist/assets/{analytics-DO1unY4G.js → analytics-EizVTK6x.js} +1 -1
  200. package/dist/assets/{analyticsHelper-ZZI8M_53.js → analyticsHelper-BRPQgKH6.js} +1 -1
  201. package/dist/assets/{analyticsHelper-7cF4XxuH-_xEf-TSd.js → analyticsHelper-DjynPp_X-s29on7ka.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-CV7FSM6U.js → arrow-south-east-round-PEovUgvH-DbFUNUBk.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CJUhOMj-.js → auto-transfer-rule-mbafm5D3-T83isyAA.js} +1 -1
  204. package/dist/assets/{chartTypes-DjzTOuyH-BFNN0c4F.js → chartTypes-CXNoxZp_-CJ_wyUtd.js} +1 -1
  205. package/dist/assets/{commonDimensions-CtIrih5r-CfslRtQI.js → commonDimensions-i9Qxk1O2-XYIUogON.js} +1 -1
  206. package/dist/assets/{commonTypes-9h2Y-L4i-CJG-nO2R.js → commonTypes-CcEHeA3z-sEqnsPbS.js} +1 -1
  207. package/dist/assets/{constants-pYZADjo8.js → constants-BGXrwDfx.js} +1 -1
  208. package/dist/assets/{core-B9Znwqny.js → core-C5wq1_Bk.js} +1 -1
  209. package/dist/assets/{dash.all.min-CS5kHJkT.js → dash.all.min-B4_top4V.js} +1 -1
  210. package/dist/assets/{detailCommon-CEOeZl26-CdFIe8qF.js → detailCommon-DVTOw71--Wk0Evzej.js} +5 -5
  211. package/dist/assets/{downloadPdf-Pyk_BhF7-WEbr68vS.js → downloadPdf-1-N8Pf0G-CMW67koi.js} +1 -1
  212. package/dist/assets/{empty-CpGZk5F5.js → empty-DuP8pCf7.js} +1 -1
  213. package/dist/assets/{empty-ChJVx-YB.js → empty-fb3xJ2Vb.js} +1 -1
  214. package/dist/assets/{epic-C_GKKQik.js → epic-4LjfR2JF.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-DNEMczKk.js → gift-box-Cmt9OgIZ-BtixTK1k.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js → graphic-no-data-l-DU4J8fDt--UnjJCr0.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C46dJM7J.js → graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-C6X_P0qB.js → handshake-BPg58FML-BSCdA5zo.js} +1 -1
  219. package/dist/assets/{index-1k0W8uO3.js → index-CzJUh-iK.js} +1 -1
  220. package/dist/assets/{index-BhvUwV_v.js → index-DVgY55Ab.js} +7 -7
  221. package/dist/assets/{index-POT-Iy9l.js → index-DqRCO-H6.js} +1 -1
  222. package/dist/assets/{index-CfJ2tiIp.js → index-J8KI2Uyc.js} +1 -1
  223. package/dist/assets/{index-BFgzVTwo.js → index-Ko3PkHk3.js} +1 -1
  224. package/dist/assets/{index-DpdT_X0L.js → index-_TIifI_v.js} +1 -1
  225. package/dist/assets/{index-CPEwTrV2.js → index-tW1FBxGF.js} +1 -1
  226. package/dist/assets/{lexical-DSIpBzCF.js → lexical-xuKHFvUb.js} +1 -1
  227. package/dist/assets/{liveblocks-BqcT5iTZ.js → liveblocks-B14TpO3l.js} +1 -1
  228. package/dist/assets/{lottie-oQfNS8l-.js → lottie-BIQaRIZs.js} +1 -1
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-DoHalh0I-DytjKdZ3.js → mapLoadingInProgressToTreeNode-UA-QQZJo-DsDuha6V.js} +1 -1
  230. package/dist/assets/mapSectionWithAcOnlyToTreeNode--y3nO5uZ-DP42yTzT.js +1 -0
  231. package/dist/assets/mapSpacerToTreeNode-BOG_274U-C0W1M9EX.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-CEgQnhXV.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-B42MwYQ_.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bz1bR9oN-BR28SX0V.js → mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-BAIV3Qln.js} +1 -1
  235. package/dist/assets/{mui-DqYnCiYu.js → mui-CR-wYMmN.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-C4YmGfRe.js → page-detail-CWX5S47F-Dp0GDjdb.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-C5tnzklf.js → radio-default-CiSgisfh-CInIhD3e.js} +1 -1
  238. package/dist/assets/{react-xLrt57tQ.js → react-BHi_eEiU.js} +1 -1
  239. package/dist/assets/{react-D2eQzOPv.js → react-BW87X3sj.js} +1 -1
  240. package/dist/assets/{react-Bu5BHG8O.js → react-C8urvt-z.js} +1 -1
  241. package/dist/assets/{react-DbRD5tNt.js → react-CCZeJYV_.js} +1 -1
  242. package/dist/assets/{react-CBiOQOL3.js → react-CcqTmi2W.js} +1 -1
  243. package/dist/assets/{react-B-LXbQdG.js → react-D2cRiLcJ.js} +1 -1
  244. package/dist/assets/{react-DEOv3QaS.js → react-DHV7aTmN.js} +2 -2
  245. package/dist/assets/{react-BPazyT0C.js → react-D_2r5dmn.js} +1 -1
  246. package/dist/assets/{recharts-D7E0WJGk.js → recharts-C3mrSjO2.js} +1 -1
  247. package/dist/assets/{sentry-DgGQRl6g.js → sentry-DMXY90dB.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-DK1OxwF6.js → shield-DOlUxcFf-BYs2EC5i.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js +1 -0
  250. package/dist/assets/{toChartData-BFuIgA2L-C4IkmCYG.js → toChartData-Dv-QcYgv-C4sd-ifC.js} +1 -1
  251. package/dist/assets/{uploadAttachment-ux9baWqa-BwjN4G2_.js → uploadAttachment-DSmux1Yp-Dl4ms4pR.js} +1 -1
  252. package/dist/assets/{uploadReceipts-DJRtId-4-xnWXJPvb.js → uploadReceipts-DJRtId-4-CHJq-raT.js} +1 -1
  253. package/dist/assets/{url-CW650CMO.js → url-20Ls3nS_.js} +1 -1
  254. package/dist/assets/{url-DxcM52GB.js → url-DojBAuFA.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-D9KvmRO7.js → useLongPress-GCK2COYQ-C5_U_XBl.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-EmNWFdhU.js → usp-line-BBd1wKwW-l2et8N9o.js} +1 -1
  257. package/dist/assets/{utils-C_quS4m3.js → utils-BCuN6woZ.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-WWg2r7iB.js → zeni-epic-state-BXMuLX_S.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/ChargeCardPromoPage-DEjWh0Ax-DtQMu7KS.js +0 -222
  262. package/dist/assets/CustomerOnboardingContainerPage-BLGGDdc6-DSwc8Dwv.js +0 -1
  263. package/dist/assets/CustomerOnboardingProductSuitePage-B84wAHDe-CoEVNP5O.js +0 -202
  264. package/dist/assets/EntityDetailPage-Cd3eku5o-D0l7oH4S.js +0 -18
  265. package/dist/assets/MagicLinkACHDetailsPage-C1pJBTPa-Dk0xalTl.js +0 -1
  266. package/dist/assets/MagicLinkDomesticWireDetailsPage-C77X02bo-Dbss_Tqv.js +0 -1
  267. package/dist/assets/MagicLinkInternationalWireDetailsPage-DUHpAm8_-BkDmu3l4.js +0 -1
  268. package/dist/assets/MailingDetailsSection--Lx7QBGW-BxmiDkr6.js +0 -21
  269. package/dist/assets/StatementItem-BxnOzchG-C1vR7F9V.js +0 -31
  270. package/dist/assets/SummaryCard-D92z4WU0-Dk2J87_c.js +0 -1
  271. package/dist/assets/VendorACHDetailsPage-B_wVoMw5-D4XhjcJ1.js +0 -1
  272. package/dist/assets/VendorDomesticWireDetailsPage-cAu_hGIj-CosrcI_S.js +0 -1
  273. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Cy8QoA_b-vnefUABQ.js +0 -1
  274. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CjiNTI8L-BE28qPgb.js +0 -1
  275. package/dist/assets/mapSpacerToTreeNode-Di-_Qhw7-nEHRbBKZ.js +0 -1
  276. package/dist/assets/mapTimeframeBalancesToTreeNode-BaIl_VbE-C25WmKnk.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-mMtwXmJx-B8gyB0Lt.js +0 -1
  278. package/dist/assets/toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as i,T as u,o as s,ai as g,aZ as f}from"./index-BhvUwV_v.js";import{n as r,c}from"./mui-DqYnCiYu.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]="934217fc-b123-4b96-aa10-2a945e7e064f",e._sentryDebugIdIdentifier="sentry-dbid-934217fc-b123-4b96-aa10-2a945e7e064f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
1
+ import{V as i,T as u,o as s,ai as g,aZ as f}from"./index-DVgY55Ab.js";import{n as r,c}from"./mui-CR-wYMmN.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]="934217fc-b123-4b96-aa10-2a945e7e064f",e._sentryDebugIdIdentifier="sentry-dbid-934217fc-b123-4b96-aa10-2a945e7e064f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -0,0 +1 @@
1
+ import{V as n}from"./index-DVgY55Ab.js";import{E as r,I as t}from"./ReloadCard-Bf1jxC4B-CjPHohhm.js";(function(){try{var d=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new d.Error().stack;e&&(d._sentryDebugIds=d._sentryDebugIds||{},d._sentryDebugIds[e]="279d8d34-b148-4857-9ffd-950254e503a2",d._sentryDebugIdIdentifier="sentry-dbid-279d8d34-b148-4857-9ffd-950254e503a2")}catch{}})();const s=d=>{function e(){return d.card.fetchState==="In-Progress"||d.card.fetchState==="Not-Started"?n.jsx(r,{dimension:d.card.dimension,animated:!d.card.disableAnimations}):d.card.fetchState==="Error"?n.jsx(t,{dimension:d.card.dimension,cardType:d.card.cardType,cardIndex:d.card.cardIndex,onReloadData:d.actions.onReloadData}):n.jsx("div",{children:d.children})}return n.jsx("div",{children:e()})};export{s as c};
@@ -1,4 +1,4 @@
1
- import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as wt,F as se,o as s,ju as qe,ch as Ee,cl as ft,g4 as Ct,b9 as Tt,bN as Xe,aT as $t,Q as ie,a9 as yt,y as Qe,cE as jt,ac as bt,b3 as vt,cs as St,iQ as Gt,iR as Lt,jv as De,aR as Et,r as Me,bS as Ie,eK as Je,jw as It,c_ as et,jx as ce,jy as ke,jz as xe,jA as tt,jB as Nt,jC as st,jD as ot,jE as nt,jF as at,jG as rt,jH as V,u as ge,jI as ae,ai as re,jJ as Mt,jK as Dt,x as zt,an as Bt,jL as At,d9 as Rt,jM as Wt,cI as it,em as Ot,b as Pt,jN as Ft,jO as Ht,g5 as Ut,gx as _t,jP as Vt,jQ as X,jR as ze,cu as Kt,jS as Zt,jT as Yt,jU as qt,jV as Be,p as Ae,gu as Xt,am as Qt}from"./index-BhvUwV_v.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as o,c as we}from"./mui-DqYnCiYu.js";import{G6 as Jt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-WWg2r7iB.js";import{X as ts,t as ss}from"./SpendManagementSection-vo9WEGWQ-DV0kvnxH.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-Ctfr3h3b-B2C7Z_Di.js";import{a as is}from"./SpendManagementListViewPage-BjdD7zHz-duCSBxrR.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./StatusSwitcher-Cj2oyfqn-GHqh8PSV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="cd0addf6-50c8-4718-a62d-399795a54a13",e._sentryDebugIdIdentifier="sentry-dbid-cd0addf6-50c8-4718-a62d-399795a54a13")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
1
+ import{aw as gt,g as Ye,V as t,jt as Z,bB as kt,aa as U,co as xt,al as K,aq as wt,F as se,o as s,ju as qe,ch as Ee,cl as ft,g4 as Ct,b9 as Tt,bN as Xe,aT as $t,Q as ie,a9 as yt,y as Qe,cE as jt,ac as bt,b3 as vt,cs as St,iQ as Gt,iR as Lt,jv as De,aR as Et,r as Me,bS as Ie,eK as Je,jw as It,c_ as et,jx as ce,jy as ke,jz as xe,jA as tt,jB as Nt,jC as st,jD as ot,jE as nt,jF as at,jG as rt,jH as V,u as ge,jI as ae,ai as re,jJ as Mt,jK as Dt,x as zt,an as Bt,jL as At,d9 as Rt,jM as Wt,cI as it,em as Ot,b as Pt,jN as Ft,jO as Ht,g5 as Ut,gx as _t,jP as Vt,jQ as X,jR as ze,cu as Kt,jS as Zt,jT as Yt,jU as qt,jV as Be,p as Ae,gu as Xt,am as Qt}from"./index-DVgY55Ab.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as o,c as we}from"./mui-CR-wYMmN.js";import{G6 as Jt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-BXMuLX_S.js";import{X as ts,t as ss}from"./SpendManagementSection-DFiL_yNI-ca-vlRub.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-CBQwRqMo-DVBdjTys.js";import{a as is}from"./SpendManagementListViewPage-C1hg05PB-BMXGChah.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./StatusSwitcher-DPzwQ_o1-DkaIBc47.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="dd7c5edc-a6bd-44d4-ac69-783f741faab7",e._sentryDebugIdIdentifier="sentry-dbid-dd7c5edc-a6bd-44d4-ac69-783f741faab7")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b3 as _,aD as S,di as B,br as H,o as d,ai as L}from"./index-BhvUwV_v.js";import{a as n}from"./sentry-DgGQRl6g.js";import{n as g}from"./mui-DqYnCiYu.js";import{Y as q}from"./core-B9Znwqny.js";import{V as U}from"./CollapsableReportTable-BWfFYJbH-BIiPdpTy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="87afad1f-624b-4d9d-af57-9eff24e4a9ae",e._sentryDebugIdIdentifier="sentry-dbid-87afad1f-624b-4d9d-af57-9eff24e4a9ae")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b3 as _,aD as S,di as B,br as H,o as a,ai as L}from"./index-DVgY55Ab.js";import{a as n}from"./sentry-DMXY90dB.js";import{n as g}from"./mui-CR-wYMmN.js";import{Y as q}from"./core-C5wq1_Bk.js";import{V as U}from"./CollapsableReportTable-CZJ_4MUf-TH_6P-Y_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="f54dd051-f1c4-4187-98b2-17dfda8a78da",e._sentryDebugIdIdentifier="sentry-dbid-f54dd051-f1c4-4187-98b2-17dfda8a78da")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -25,8 +25,8 @@ import{V as t,b3 as _,aD as S,di as B,br as H,o as d,ai as L}from"./index-BhvUwV
25
25
  position: relative;
26
26
  scrollbar-width: none;
27
27
  `,J=g(L)``,K=g.div`
28
- top: ${d.sp0};
29
- left: ${d.sp0};
28
+ top: ${a.sp0};
29
+ left: ${a.sp0};
30
30
  width: calc(${e=>h*e.numberOfTicksSelected}px);
31
31
  position: absolute;
32
32
  height: ${p}px;
@@ -34,19 +34,19 @@ import{V as t,b3 as _,aD as S,di as B,br as H,o as d,ai as L}from"./index-BhvUwV
34
34
  .slider-icon {
35
35
  fill: ${e=>e.theme.colors.grey1};
36
36
  }
37
- border-radius: ${d.sp2};
38
- border-left: ${d.sp0};
39
- border-right: ${d.sp0};
37
+ border-radius: ${a.sp2};
38
+ border-left: ${a.sp0};
39
+ border-right: ${a.sp0};
40
40
  &:hover {
41
41
  border: 1px solid ${e=>e.theme.colors.primary};
42
- border-radius: ${d.sp2};
43
- border-left: ${d.sp0};
44
- border-right: ${d.sp0};
42
+ border-radius: ${a.sp2};
43
+ border-left: ${a.sp0};
44
+ border-right: ${a.sp0};
45
45
  .slider-icon {
46
46
  fill: ${e=>e.theme.colors.primary};
47
47
  }
48
48
  }
49
- line-height: ${d.sp0};
49
+ line-height: ${a.sp0};
50
50
  pointer-events: none;
51
51
  box-sizing: border-box;
52
52
  `,Q=g.div`
@@ -61,4 +61,4 @@ import{V as t,b3 as _,aD as S,di as B,br as H,o as d,ai as L}from"./index-BhvUwV
61
61
  cursor: pointer;
62
62
  pointer-events: all;
63
63
  color: ${e=>e.theme.colors.grey5};
64
- `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:a,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:a,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const a=s-e,f=Math.floor(e/h)+Math.round(a/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:a,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(a.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(a.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(a.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,a.highlightedOfSelectedTicks)||C(a.highlightedOfSelectedTicks)},[l,y,a,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(E.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},V=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:V}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return q.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:d,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:d,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const d=s-e,f=Math.floor(e/h)+Math.round(d/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:d,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(d.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(d.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(d.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,d.highlightedOfSelectedTicks)||C(d.highlightedOfSelectedTicks)},[l,y,d,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},D=(o,c)=>{const m=ne(E.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},V=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:R}=y,Y=o>=v&&o<v+R;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:Y,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:V}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(B,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:D,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(_,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,F as p}from"./index-BhvUwV_v.js";import{n}from"./mui-DqYnCiYu.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]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-DVgY55Ab.js";import{n}from"./mui-CR-wYMmN.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]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Q as s,V as t,y as n,ai as u,bI as w}from"./index-BhvUwV_v.js";import{n as r}from"./mui-DqYnCiYu.js";import{b as l}from"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.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]="dbc414d9-9d9d-4ffa-93e9-38384a7f0df3",e._sentryDebugIdIdentifier="sentry-dbid-dbc414d9-9d9d-4ffa-93e9-38384a7f0df3")}catch{}})();const d="ZeniSwitch",i={root:`${d}-root`,switchBase:`${d}-switchBase`,track:`${d}-track`,thumb:`${d}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{Q as d,V as t,y as n,ai as u,bI as w}from"./index-DVgY55Ab.js";import{n as r}from"./mui-CR-wYMmN.js";import{b as l}from"./TimeframeSwitcher-YCgPbEnk-CJUz-kg1.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]="54b16b1d-019f-4c42-874d-000204674379",e._sentryDebugIdIdentifier="sentry-dbid-54b16b1d-019f-4c42-874d-000204674379")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -28,4 +28,4 @@ import{Q as s,V as t,y as n,ai as u,bI as w}from"./index-BhvUwV_v.js";import{n a
28
28
  `,C=r(u)`
29
29
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
30
30
  opacity: ${e=>e.isDisabled?.5:1};
31
- `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=s();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=s();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function I(e){const o=s();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{I as M};
31
+ `,f=({label:e,isOn:o,isToggleDisabled:a,onValueChanged:h})=>t.jsxs(t.Fragment,{children:[t.jsx(C,{isOn:o,isDisabled:a===!0,children:e}),t.jsx(p,{checked:o,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:g=>{h(g.target.checked)}})]}),T=e=>{const o=d();return t.jsxs(y,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(k,{children:t.jsx(f,{...e.toggle})})]})},v=e=>{const o=d();return t.jsxs($,{children:[t.jsx(m,{windowSize:o,children:t.jsx(l,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),t.jsx(j,{children:t.jsx(f,{...e.toggle})})]})};function I(e){const o=d();return o==="small"||o==="medium-compact"?t.jsx(T,{...e}):t.jsx(v,{...e})}export{I as M};
@@ -1,4 +1,4 @@
1
- import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p,ai as C,b9 as Y,al as F,F as S,aM as X,aS as E,b2 as G,b3 as N,aP as q,aT as U,bQ as W}from"./index-BhvUwV_v.js";import{P as w,a as Z}from"./sentry-DgGQRl6g.js";import{F3 as J}from"./zeni-epic-state-WWg2r7iB.js";import{n as g}from"./mui-DqYnCiYu.js";import{A as ee,I as te}from"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-D7E0WJGk.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]="43cd8700-5c7f-4837-a543-9077b2a5033b",e._sentryDebugIdIdentifier="sentry-dbid-43cd8700-5c7f-4837-a543-9077b2a5033b")}catch{}})();const ie=g(E)`
1
+ import{aD as M,Q as z,V as t,g as x,u as f,b as T,aY as Q,aN as R,aL as H,o as p,ai as C,b9 as Y,al as F,F as S,aM as X,aS as E,b2 as G,b3 as N,aP as q,aT as U,bQ as W}from"./index-DVgY55Ab.js";import{P as w,a as Z}from"./sentry-DMXY90dB.js";import{F3 as J}from"./zeni-epic-state-BXMuLX_S.js";import{n as g}from"./mui-CR-wYMmN.js";import{A as ee,I as te}from"./ReloadCard-Bf1jxC4B-CjPHohhm.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt--UnjJCr0.js";import{H as k,X as L,Y as P,K as $,O,Q as ne,S as oe}from"./recharts-C3mrSjO2.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]="01d155d9-a0e6-4d06-a9fa-9da8603a8e3f",e._sentryDebugIdIdentifier="sentry-dbid-01d155d9-a0e6-4d06-a9fa-9da8603a8e3f")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{g as j,Q as B,V as t,bB as P,F as x,aN as b,b3 as S,G as A,o as i,y as E,bP as H,bs as V,u as c,p as z,al as $,aP as F,a$ as T}from"./index-BhvUwV_v.js";import{n}from"./mui-DqYnCiYu.js";import{F3 as D}from"./zeni-epic-state-WWg2r7iB.js";import{E as _,I}from"./TopExCard-B4CpuO-v-CxDodwtl.js";import{b as M}from"./TimeframeSwitcher-CCMyvSSI-DIRa_Jc4.js";import{d as L}from"./NoDataTable-CgKT7NGU-CuzMQ4sx.js";import{P as Z,a as o}from"./sentry-DgGQRl6g.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import"./graphic-no-data-l-DU4J8fDt-Bx_mQw5e.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="226259f1-590e-40a5-925e-87dfd11e4717",e._sentryDebugIdIdentifier="sentry-dbid-226259f1-590e-40a5-925e-87dfd11e4717")}catch{}})();const v="141px",O=i.sp4,N="123px",Q=n(T)`
1
+ import{g as j,Q as B,V as t,bB as P,F as f,aN as b,b3 as S,G as A,o as i,y as E,bP as H,bs as V,u as c,p as z,al as $,aP as F,a$ as T}from"./index-DVgY55Ab.js";import{n}from"./mui-CR-wYMmN.js";import{F3 as D}from"./zeni-epic-state-BXMuLX_S.js";import{E as _,I}from"./TopExCard-LesAF7Ot-CWhGtv9n.js";import{b as M}from"./TimeframeSwitcher-YCgPbEnk-CJUz-kg1.js";import{d as L}from"./NoDataTable-BoAJZxdS-ClNYPP1-.js";import{P as Z,a as o}from"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./ReloadCard-Bf1jxC4B-CjPHohhm.js";import"./graphic-no-data-l-DU4J8fDt--UnjJCr0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="742d0971-4190-46b7-9783-9c120d07a4ca",e._sentryDebugIdIdentifier="sentry-dbid-742d0971-4190-46b7-9783-9c120d07a4ca")}catch{}})();const v="141px",O=i.sp4,N="123px",Q=n(T)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -42,7 +42,7 @@ import{g as j,Q as B,V as t,bB as P,F as x,aN as b,b3 as S,G as A,o as i,y as E,
42
42
  min-width: ${N};
43
43
  text-align: left;
44
44
  margin-left: ${i.sp4};
45
- `;function q({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=Q,{common:{strings:{empty:y}}}=x.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,f=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(W,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(X,{"data-testid":F("top-ex-account-name",f),style:{marginLeft:h},title:f,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:f})]}),t.jsx(G,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:b("0,0",l?.balance.available)})})]})}const J=n.div`
45
+ `;function q({leftChevron:e,account:l,onAccountBalanceClick:a}){const s=l!=null&&l.balance!=null,r=e==="hidden",g=s?"pointer":"default",d=r===!1&&s,w=d?"pointer":"default",h=r?c[6]:c[4],m=Q,{common:{strings:{empty:y}}}=f.getLocalizedStrings(),C=l?.accountDescription?l.accountDescription:y,x=l?.accountName?l.accountName:C;return t.jsxs(R,{isClickable:d,children:[t.jsxs(W,{style:{cursor:w},isClickable:d,children:[r===!1?t.jsx(m,{style:{minWidth:c[3],minHeight:c[3]}}):null,t.jsx(X,{"data-testid":F("top-ex-account-name",x),style:{marginLeft:h},title:x,onClick:()=>{d&&l!=null&&l.balance!=null&&a?.(l)},children:x})]}),t.jsx(G,{style:{cursor:g},children:t.jsx(K,{isClickable:s,onClick:()=>{l?.balance!=null&&a?.(l)},children:b("0,0",l?.balance.available)})})]})}const J=n.div`
46
46
  display: flex;
47
47
  width: 100%;
48
48
  flex-direction: column;
@@ -99,13 +99,13 @@ import{g as j,Q as B,V as t,bB as P,F as x,aN as b,b3 as S,G as A,o as i,y as E,
99
99
  padding-bottom: ${i.sp0};
100
100
  padding-left: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
101
101
  padding-right: ${e=>u.wrapperPadding.valuePx(e.windowSize)};
102
- `,fe=n.div`
102
+ `,xe=n.div`
103
103
  display: flex;
104
104
  flex-direction: row;
105
105
  flex: 1 1 auto;
106
106
  justify-content: center;
107
107
  max-width: 100%;
108
- `,xe=n.div`
108
+ `,fe=n.div`
109
109
  display: flex;
110
110
  padding: ${i.sp2} ${i.sp0} ${i.sp4} ${i.sp0};
111
111
  `,ue=n.div`
@@ -129,4 +129,4 @@ import{g as j,Q as B,V as t,bB as P,F as x,aN as b,b3 as S,G as A,o as i,y as E,
129
129
  margin-bottom: ${i.sp5};
130
130
  `,$e=n.div`
131
131
  display: flex;
132
- `;function Ie(e){const l=j(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=B(),w=[...D],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,f=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(A.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(P,{source:"TopExDetailPage",title:x.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:f}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(xe,{children:t.jsx(fe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:b("0,0",C)}),t.jsx(ye,{children:x.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${x.getLocalizedStrings().chartCard.no_data_available_for} ${x.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(S,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
132
+ `;function Ie(e){const l=j(),{report:a,onTimeframeSelectionChanged:s,onAccountBalanceClick:r,onBackClick:g}=e,d=B(),w=[...D],h=_(a.topExpenses.accountsOrdered),{topExTimePeriod:m,topExpenses:y}=a,C=y.total,x=p=>{e.autoCompleteData.autoCompleteText!=null&&e.analytics?.trackSearch(A.Event.search,"Top Expenses",p.type,p.name,e.autoCompleteData.autoCompleteText),e.autoCompleteActions.onAutoCompleteEntity?.(p)};return t.jsxs(he,{children:[t.jsx(P,{source:"TopExDetailPage",title:f.getLocalizedStrings().reportTitleById.top_expenses,backgroundColor:l.colors.grey5,onBackClick:g,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:x}}}),t.jsxs(me,{windowSize:d,children:[t.jsx(fe,{children:t.jsx(xe,{children:t.jsx(M,{timeframes:w,selectedTimeframe:m,onTimeframeSelectionChanged:p=>{s?.(p)}})})}),h?null:t.jsxs(ge,{children:[t.jsx(we,{children:b("0,0",C)}),t.jsx(ye,{children:f.getLocalizedStrings().reports.detail.topEx.insightLabel})]}),h?t.jsx($e,{children:t.jsx(pe,{title:`${f.getLocalizedStrings().chartCard.no_data_available_for} ${f.getLocalizedStrings().timeframe[m]}`})}):t.jsx(Ce,{windowSize:d,children:t.jsx(S,{style:{height:"fit-content"},children:({height:p,width:k})=>t.jsx(I,{report:a,timeframe:m,showBarHoverBackground:!1,width:k,height:p,isDetailPage:!0})})})]}),t.jsx(ue,{windowSize:d,children:h?t.jsx(L,{}):t.jsx(ne,{report:a,onAccountBalanceClick:r})})]})}export{Ie as default};
@@ -1,4 +1,4 @@
1
- import{P as Bn,n as Fn,g as Pt,a9 as Wn,Q as ae,F as B,aQ as Zt,dP as Hn,dQ as Gn,cE as Yn,aD as Jn,dR as nn,dS as Zn,V as i,ac as Xn,bB as Qn,dT as Kn,dU as ea,T as oi,dV as zi,aR as ta,y as N,aP as F,dW as an,dX as Te,dY as Oe,dZ as Pe,d_ as Ke,d$ as et,e0 as St,e1 as kt,e2 as tt,e3 as gt,e4 as zt,e5 as At,e6 as Xt,e7 as ee,e8 as ia,e9 as ei,ea as ue,eb as on,ec as pe,ed as sn,aJ as na,ee as Dt,ef as Ai,eg as aa,r as oa,co as sa,o as a,cc as la,eh as ra,u as O,G as wi,p as le,aq as Di,ba as si,e as ca,ei as da,cj as ua,ch as li,cI as st,ej as pa,ek as Ht,aU as ln,cY as ma,el as ha,cf as ga,cg as fa,aN as Le,al as fe,a$ as ya,em as ba,en as rn,eo as Qt,ep as Kt,eq as mi,de as xa,b3 as wa,cs as va,er as Ti,a8 as cn,es as ti,et as ii,eu as dn,cN as un,bS as Oi,ev as hi,dj as gi,ew as Ca,bs as Ia,ex as Ri,ey as $a,ez as Da,ay as Ta,eA as Oa,eB as La,a as pn,eC as mn,bJ as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bH as lt,at as Sa,as as ka,ds as za,b as yn,eH as Aa,bF as Ra,x as Ea,am as Va,l as Pa,aW as vi}from"./index-BhvUwV_v.js";import{a as v,P as Tt}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{Fu as _a,uu as Na,bE as Et,bD as Vt,bF as qa,c3 as Ua,l8 as Ma,bh as Ba}from"./zeni-epic-state-WWg2r7iB.js";import{x as Vi}from"./LabeledControlledCheckBoxField-DBcPQa79-B_0nrSFr.js";import{R as Fa}from"./TrendWithTransactions-zZUv_Qrs-BElxtx49.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-ux9baWqa-BwjN4G2_.js";import{o as Ja}from"./radio-default-CiSgisfh-C5tnzklf.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./TrendChart-dVd4QdGQ-CLKuTzb2.js";import"./chartTypes-DjzTOuyH-BFNN0c4F.js";import"./toCOABalancesWithID-CjVmQxAs-8r-ogQXf.js";import"./toChartData-BFuIgA2L-C4IkmCYG.js";import"./NoDataChart-qG0jmc8Z-Dctec7eR.js";import"./InsightsSection-CwyGEE7C-BgS40gth.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";import"./TransactionList-CSfzB0gM-Dw6vqliW.js";import"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import"./commonDimensions-CtIrih5r-CfslRtQI.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]="3db24d9d-82fe-4844-a3dc-3036db5d66db",e._sentryDebugIdIdentifier="sentry-dbid-3db24d9d-82fe-4844-a3dc-3036db5d66db")}catch{}})();const Za={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
1
+ import{P as Bn,n as Fn,g as Pt,a9 as Wn,Q as ae,F as B,aQ as Zt,dP as Hn,dQ as Gn,cE as Yn,aD as Jn,dR as nn,dS as Zn,V as i,ac as Xn,bB as Qn,dT as Kn,dU as ea,T as oi,dV as zi,aR as ta,y as N,aP as F,dW as an,dX as Te,dY as Oe,dZ as Pe,d_ as Ke,d$ as et,e0 as St,e1 as kt,e2 as tt,e3 as gt,e4 as zt,e5 as At,e6 as Xt,e7 as ee,e8 as ia,e9 as ei,ea as ue,eb as on,ec as pe,ed as sn,aJ as na,ee as Dt,ef as Ai,eg as aa,r as oa,co as sa,o as a,cc as la,eh as ra,u as O,G as wi,p as le,aq as Di,ba as si,e as ca,ei as da,cj as ua,ch as li,cI as st,ej as pa,ek as Ht,aU as ln,cY as ma,el as ha,cf as ga,cg as fa,aN as Le,al as fe,a$ as ya,em as ba,en as rn,eo as Qt,ep as Kt,eq as mi,de as xa,b3 as wa,cs as va,er as Ti,a8 as cn,es as ti,et as ii,eu as dn,cN as un,bS as Oi,ev as hi,dj as gi,ew as Ca,bs as Ia,ex as Ri,ey as $a,ez as Da,ay as Ta,eA as Oa,eB as La,a as pn,eC as mn,bJ as ja,eD as Ei,eE as hn,eF as gn,eG as fn,bH as lt,at as Sa,as as ka,ds as za,b as yn,eH as Aa,bF as Ra,x as Ea,am as Va,l as Pa,aW as vi}from"./index-DVgY55Ab.js";import{a as v,P as Tt}from"./sentry-DMXY90dB.js";import{n as l}from"./mui-CR-wYMmN.js";import{Fu as _a,uu as Na,bE as Et,bD as Vt,bF as qa,c3 as Ua,l8 as Ma,bh as Ba}from"./zeni-epic-state-BXMuLX_S.js";import{x as Vi}from"./LabeledControlledCheckBoxField--EmdYCME-BUoRkObt.js";import{R as Fa}from"./TrendWithTransactions-CK_je__x-C1Qk91i9.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-DSmux1Yp-Dl4ms4pR.js";import{o as Ja}from"./radio-default-CiSgisfh-CInIhD3e.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./TrendChart-CqxpheW7-DiPHNgeC.js";import"./chartTypes-CXNoxZp_-CJ_wyUtd.js";import"./toCOABalancesWithID-C_7wlYeT-C3P4q5bp.js";import"./toChartData-Dv-QcYgv-C4sd-ifC.js";import"./NoDataChart-CDHiYyiO-DHWgty-U.js";import"./InsightsSection-DcKb1p5B-QoDxUPcZ.js";import"./NavigationDots-DPf5iy8f-DNlf5jCf.js";import"./TransactionList-CGmpQyNM-BGohJsUE.js";import"./BoxItem-DD7d5_ky-D2d9aLr-.js";import"./commonDimensions-i9Qxk1O2-XYIUogON.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]="e5314230-b152-45b0-b305-5a07cced65e0",e._sentryDebugIdIdentifier="sentry-dbid-e5314230-b152-45b0-b305-5a07cced65e0")}catch{}})();const Za={headerMarginTop:new N(O[7],O[8])},Xa=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Qa=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as ht,o,p as Q,cs as pt,F as y,y as K,T as gt,al as v,u as g,ai as bt,dh as X,d0 as G,aN as J,am as wt}from"./index-BhvUwV_v.js";import{a as p,P as $t}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";import{F4 as A,F5 as V,F6 as U,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-WWg2r7iB.js";import{g as it}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as B}from"./commonDimensions-CtIrih5r-CfslRtQI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="e61510c5-0305-4e42-a56b-6fed3d2fb725",t._sentryDebugIdIdentifier="sentry-dbid-e61510c5-0305-4e42-a56b-6fed3d2fb725")}catch{}})();const S=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},q=n.div`
1
+ import{cc as ct,Q as R,V as e,b3 as mt,aP as x,de as ft,df as xt,d9 as ut,dg as ht,o,p as Q,cs as pt,F as y,y as K,T as gt,al as v,u as g,ai as bt,dh as X,d0 as G,aN as J,am as wt}from"./index-DVgY55Ab.js";import{a as p,P as $t}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.js";import{F4 as A,F5 as V,F6 as U,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-BXMuLX_S.js";import{g as it}from"./BoxItem-DD7d5_ky-D2d9aLr-.js";import{o as B}from"./commonDimensions-i9Qxk1O2-XYIUogON.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="744bd86e-f58f-47a4-8f87-67050de3b54e",t._sentryDebugIdIdentifier="sentry-dbid-744bd86e-f58f-47a4-8f87-67050de3b54e")}catch{}})();const S=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b as ae,p as B,o,a as j,d as Q,F as $,bq as se,br as le,ai as de,aq as ce,aN as me,bs as pe,ao as he,T as ue,G,bt as X,r as V,aT as ee}from"./index-BhvUwV_v.js";import{a as U,P as z}from"./sentry-DgGQRl6g.js";import{n as i,c as ge}from"./mui-DqYnCiYu.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-WWg2r7iB.js";import{G as $e,c as be}from"./AccountsPromoCardStack-CM2kVta7-D4DDSl1Z.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./SummaryCard-D92z4WU0-Dk2J87_c.js";import"./ReloadCard-8Tiu9Mq9-WidMrFBg.js";import"./NavigationArrow-DGSdnTKQ-CgfnFgIs.js";import"./NavigationDots-BPsFQiss-Dqh0y0c_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f708b7ad-980b-4a03-8f1b-4e8ef05b58f6",e._sentryDebugIdIdentifier="sentry-dbid-f708b7ad-980b-4a03-8f1b-4e8ef05b58f6")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
1
+ import{y as a,Q as R,aw as W,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b as ae,p as B,o,a as j,d as Q,F as $,bq as se,br as le,ai as de,aq as ce,aN as me,bs as pe,ao as he,T as ue,G,bt as X,r as V,aT as ee}from"./index-DVgY55Ab.js";import{a as U,P as z}from"./sentry-DMXY90dB.js";import{n as i,c as ge}from"./mui-CR-wYMmN.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-BXMuLX_S.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BANu3wYt-CQ0iVQrx.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./SummaryCard-D3ev0zFr-CHfcyxTY.js";import"./ReloadCard-Bf1jxC4B-CjPHohhm.js";import"./NavigationArrow-9HOMBxoh-CWFuMeOE.js";import"./NavigationDots-DPf5iy8f-DNlf5jCf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="1ded49ff-927f-45ac-b181-5780c18564ca",e._sentryDebugIdIdentifier="sentry-dbid-1ded49ff-927f-45ac-b181-5780c18564ca")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,ve=i.div`
@@ -1,4 +1,4 @@
1
- import{g as _,bz as z,bA as R,V as o,bB as M,aP as g,T as V,o as n,al as q}from"./index-BhvUwV_v.js";import{a as r,n as G}from"./sentry-DgGQRl6g.js";import{n as l}from"./mui-DqYnCiYu.js";import{f as J}from"./TransactionList-CSfzB0gM-Dw6vqliW.js";import{t as X}from"./page-detail-CWX5S47F-C4YmGfRe.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import"./commonDimensions-CtIrih5r-CfslRtQI.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="6c88ced9-2910-4c8c-8fc1-ed5efa11b5b9",t._sentryDebugIdIdentifier="sentry-dbid-6c88ced9-2910-4c8c-8fc1-ed5efa11b5b9")}catch{}})();const Z=l.div`
1
+ import{g as _,bz as z,bA as R,V as o,bB as M,aP as g,T as V,o as n,al as q}from"./index-DVgY55Ab.js";import{a as r,n as G}from"./sentry-DMXY90dB.js";import{n as l}from"./mui-CR-wYMmN.js";import{f as J}from"./TransactionList-CGmpQyNM-BGohJsUE.js";import{t as X}from"./page-detail-CWX5S47F-Dp0GDjdb.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./BoxItem-DD7d5_ky-D2d9aLr-.js";import"./commonDimensions-i9Qxk1O2-XYIUogON.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="e4971b43-c463-4dd0-8076-2d0e26ef2587",t._sentryDebugIdIdentifier="sentry-dbid-e4971b43-c463-4dd0-8076-2d0e26ef2587")}catch{}})();const Z=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -32,4 +32,4 @@ import{g as _,bz as z,bA as R,V as o,bB as M,aP as g,T as V,o as n,al as q}from"
32
32
  &:hover {
33
33
  color: ${t=>t.theme.colors.primary};
34
34
  }
35
- `;function ht({title:t,subTitle:c,firstMonthOfFY:p,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:b,report:e,currentScrollYOffset:T,showStatementPageIcon:k=!1,onTimePeriodChange:y,onTransactionItemClick:L,onTransactionListScroll:C,onBackClick:I,onStatementPageIconClick:j,referrerType:D}){const[f,S]=r.useState(!0),[m,$]=r.useState(!1),[u,P]=r.useState(!1),B=_();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const N=z(),v=R(D),E=`${v===""?N:v}.transactions.list`,F=a.startDate.isAfter(b.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(s,i)=>{P(!1),$(!0),y?.(s,a,i)}}:void 0,Y=a.endDate.isBefore(b.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(s,i)=>{$(!1),P(!0),y?.(s,a,i)}}:void 0;let w=null;k&&(w=o.jsx(U,{onClick:j}));const h=r.useRef(null);function A(s,i,O){G({category:`${E}.transaction-list.react.profiler`,message:`${s} (${i}) took ${O}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:A,children:o.jsxs(Z,{"data-testid":g("transaction-list-page",t),children:[o.jsx(M,{source:"TransactionListPage","data-testid":g("transaction-list-page-nav-bar"),title:t,onBackClick:I,backgroundColor:B.colors.grey4,rightSideComponent:w,scrollableContent:h.current!=null?h:void 0}),o.jsxs(H,{"data-testid":g("transaction-list",t),children:[o.jsx(Q,{children:c}),f===!1?o.jsx(J,{ref:h,firstMonthOfFY:p,timeframe:d,timePeriod:a,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:T,onTransactionItemClick:L,onTransactionListScroll:C,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(K,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
35
+ `;function ht({title:t,subTitle:c,firstMonthOfFY:p,timeframe:d,timePeriod:s,useFixedPeriod:x,dataAvailableForPeriod:y,report:e,currentScrollYOffset:T,showStatementPageIcon:k=!1,onTimePeriodChange:b,onTransactionItemClick:L,onTransactionListScroll:C,onBackClick:I,onStatementPageIconClick:j,referrerType:D}){const[f,S]=r.useState(!0),[m,$]=r.useState(!1),[u,P]=r.useState(!1),B=_();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const N=z(),v=R(D),E=`${v===""?N:v}.transactions.list`,F=s.startDate.isAfter(y.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,a)=>{P(!1),$(!0),b?.(i,s,a)}}:void 0,Y=s.endDate.isBefore(y.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,a)=>{$(!1),P(!0),b?.(i,s,a)}}:void 0;let w=null;k&&(w=o.jsx(U,{onClick:j}));const h=r.useRef(null);function A(i,a,O){G({category:`${E}.transaction-list.react.profiler`,message:`${i} (${a}) took ${O}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:A,children:o.jsxs(Z,{"data-testid":g("transaction-list-page",t),children:[o.jsx(M,{source:"TransactionListPage","data-testid":g("transaction-list-page-nav-bar"),title:t,onBackClick:I,backgroundColor:B.colors.grey4,rightSideComponent:w,scrollableContent:h.current!=null?h:void 0}),o.jsxs(H,{"data-testid":g("transaction-list",t),children:[o.jsx(Q,{children:c}),f===!1?o.jsx(J,{ref:h,firstMonthOfFY:p,timeframe:d,timePeriod:s,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:T,onTransactionItemClick:L,onTransactionListScroll:C,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(K,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
@@ -1,4 +1,4 @@
1
- import{Q as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d2 as Q,a9 as U,cE as G,ac as K,u as r,hd as F,he as B,hf as M,g as X,cJ as Y,gL as z,hg as Z,b7 as ee,hk as oe,hl as te}from"./index-BhvUwV_v.js";import{a as I}from"./sentry-DgGQRl6g.js";import{n as c}from"./mui-DqYnCiYu.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./zeni-epic-state-WWg2r7iB.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.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]="b243bb85-066d-4246-b719-c4db64b6bc55",e._sentryDebugIdIdentifier="sentry-dbid-b243bb85-066d-4246-b719-c4db64b6bc55")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:b})=>{const i=A(),x=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),P=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(R=>R.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>P(s),defaultValue:{selectedOption:e,allOptions:B(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{Q as A,F as k,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d2 as Q,a9 as U,cE as G,ac as K,u as r,hd as F,he as B,hf as M,g as X,cJ as Y,gL as z,hg as Z,b7 as ee,hk as oe,hl as te}from"./index-DVgY55Ab.js";import{a as I}from"./sentry-DMXY90dB.js";import{n as c}from"./mui-CR-wYMmN.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="b243bb85-066d-4246-b719-c4db64b6bc55",e._sentryDebugIdIdentifier="sentry-dbid-b243bb85-066d-4246-b719-c4db64b6bc55")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:b})=>{const i=A(),x=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),P=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(R=>R.accountId===s)?.accountName;return[oe,te].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>P(s),defaultValue:{selectedOption:e,allOptions:B(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${x.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e,o as a,F as R,y as c,x as Ne,f as dt,b9 as ut,aq as ft,M as be,ai as De,al as fe,aQ as ce,fy as pt,a9 as Xe,cE as mt,aY as ht,aO as gt,p as Q,ac as qe,fC as ke,fD as Ae,ga as wt,bS as ye,g4 as xt,hD as $t,u as o,fm as bt,ch as Je,b$ as Dt,e_ as yt,bJ as Tt,am as Ze,fP as Ct,ds as St,c1 as Qe,gW as vt,gX as kt}from"./index-BhvUwV_v.js";import{a as u}from"./sentry-DgGQRl6g.js";import{n}from"./mui-DqYnCiYu.js";import{bL as At}from"./zeni-epic-state-WWg2r7iB.js";import{v as Pt}from"./ZeniTransferAmountSlider-B-nq8t_K-ANSQo16z.js";import{r as Lt}from"./AccountInfoPageContent-BUTcEduM-DVKpBXHq.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";import"./downloadPdf-Pyk_BhF7-WEbr68vS.js";import"./commonDimensions-CtIrih5r-CfslRtQI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8d5fdbab-0708-48ef-b21e-4b7c07cc479a",e._sentryDebugIdIdentifier="sentry-dbid-8d5fdbab-0708-48ef-b21e-4b7c07cc479a")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ue="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:U,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),K=r.transferMoneyPartiesFetchState,oe=ce(K),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ke=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ke,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&K==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,K,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ue),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,Q as ue,aP as A,ht as lt,aN as J,r as ve,hC as ct,T as Ye,aR as $e,o as a,F as R,y as c,x as Ne,f as dt,b9 as ut,aq as ft,M as be,ai as De,al as fe,aQ as ce,fy as pt,a9 as Xe,cE as mt,aY as ht,aO as gt,p as Q,ac as qe,fC as ke,fD as Ae,ga as wt,bS as ye,g4 as xt,hD as $t,u as o,fm as bt,ch as Je,b$ as Dt,e_ as yt,bJ as Tt,am as Ze,fP as Ct,ds as St,c1 as Qe,gW as vt,gX as kt}from"./index-DVgY55Ab.js";import{a as u}from"./sentry-DMXY90dB.js";import{n}from"./mui-CR-wYMmN.js";import{bL as At}from"./zeni-epic-state-BXMuLX_S.js";import{v as Pt}from"./ZeniTransferAmountSlider-NAR_1h8K-DARDrTsk.js";import{r as Lt}from"./AccountInfoPageContent-CrSVf_Od-DxUVjtpH.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./downloadPdf-1-N8Pf0G-CMW67koi.js";import"./commonDimensions-i9Qxk1O2-XYIUogON.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7aa3a2c2-3c53-4f89-9dbb-c445f9efa4c8",e._sentryDebugIdIdentifier="sentry-dbid-7aa3a2c2-3c53-4f89-9dbb-c445f9efa4c8")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ue="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:U,onReviewClick:H}){const i=ue(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),K=r.transferMoneyPartiesFetchState,oe=ce(K),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ke=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ke,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&U?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&K==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,K,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ue),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,aP as W,T as We,o as i,ai as k,F as L,p as w,bJ as Ee,y as f,ff as X,a as R,u as p,b4 as ne,bN as Le,aT as Me,aw as _e,fS as Ge,h0 as Ue,r as Je,al as B,a$ as Xe,jo as Qe,k0 as Ze,bg as qe,eL as et,d7 as tt,fP as it,kV as ot,iZ as Be,i_ as Oe,cs as rt,iQ as at,iR as nt,kW as st,kb as lt,am as E,bQ as dt,cy as le,iY as ct,cB as ht}from"./index-BhvUwV_v.js";import{a as y,P as pt}from"./sentry-DgGQRl6g.js";import{n as o,c as de}from"./mui-DqYnCiYu.js";import{bL as _,c4 as xt}from"./zeni-epic-state-WWg2r7iB.js";import{s as gt}from"./commonDimensions-CtIrih5r-CfslRtQI.js";import{g as ce}from"./BoxItem-C-LLQ7NS-CyKsGaF0.js";import{o as mt}from"./shield-DOlUxcFf-DK1OxwF6.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-D7E0WJGk.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7f3e88e6-4c85-4ea1-88ff-de1b90bbb80f",e._sentryDebugIdIdentifier="sentry-dbid-7f3e88e6-4c85-4ea1-88ff-de1b90bbb80f")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ft={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new f(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new f(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new f(80,100,150,180,200)},oe=()=>[ft,yt,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new f(p[0],p[4]),headerLastColumnRightPadding:new f(p[3],p[11]),headerLastColumnBottomPadding:new f(p[0],p[4]),headerLastColumnLeftPadding:new f(p[3],p[11]),headerHeight:new f(Be,Oe),sortIconSize:new f(p[2],p[2]),headerPaddingTop:new f(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=y.useState(oe());y.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(fe,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,aP as W,T as We,o as i,ai as k,F as L,p as w,bJ as Ee,y,ff as X,a as R,u as p,b4 as ne,bN as Le,aT as Me,aw as _e,fS as Ge,h0 as Ue,r as Je,al as B,a$ as Xe,jo as Qe,k0 as Ze,bg as qe,eL as et,d7 as tt,fP as it,kV as ot,iZ as Be,i_ as Oe,cs as rt,iQ as at,iR as nt,kW as st,kb as lt,am as E,bQ as dt,cy as le,iY as ct,cB as ht}from"./index-DVgY55Ab.js";import{a as f,P as pt}from"./sentry-DMXY90dB.js";import{n as o,c as de}from"./mui-CR-wYMmN.js";import{bL as _,c4 as xt}from"./zeni-epic-state-BXMuLX_S.js";import{s as gt}from"./commonDimensions-i9Qxk1O2-XYIUogON.js";import{g as ce}from"./BoxItem-DD7d5_ky-D2d9aLr-.js";import{o as mt}from"./shield-DOlUxcFf-BYs2EC5i.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-C3mrSjO2.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="449d00e9-075d-45d1-9e89-2024ad369bea",e._sentryDebugIdIdentifier="sentry-dbid-449d00e9-075d-45d1-9e89-2024ad369bea")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Be,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -59,7 +59,7 @@ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
59
59
  align-items: center;
60
60
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
61
61
  ${e=>e.headerdata.sortOrder==="ascending"?`padding-top: ${S.headerPaddingTop.valuePx(e.windowSize)}`:"padding-bottom: 2px"}
62
- `,fe=o.div`
62
+ `,ye=o.div`
63
63
  width: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
64
64
  height: ${({windowSize:e})=>S.sortIconSize.valuePx(e)};
65
65
  cursor: pointer;
@@ -95,7 +95,7 @@ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
95
95
  cursor: pointer;
96
96
  gap: 5px;
97
97
  color: ${e=>e.theme.colors.primary};
98
- `,G={containerPaddingLeft:new f(p[3],p[4]),containerPaddingRight:new f(p[2],p[3]),containerPaddingTop:new f(p[2],p[3]),containerPaddingBottom:new f(p[2],p[3])};function Bt({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(_t,{children:[t.jsx(ye,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Zt,{children:t.jsx(qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Ot,{windowSize:d,children:[t.jsxs(At,{windowSize:d,width:$,children:[t.jsx(ye,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
98
+ `,G={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function Bt({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(_t,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Zt,{children:t.jsx(qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Ot,{windowSize:d,children:[t.jsxs(At,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
99
99
  width: 100%;
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
@@ -131,7 +131,7 @@ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
131
131
  min-width: ${e=>e.width.valuePx(e.windowSize)};
132
132
  padding-right: ${i.sp2};
133
133
  box-sizing: border-box;
134
- `,ye=o(lt)`
134
+ `,fe=o(lt)`
135
135
  width: ${i.sp4};
136
136
  height: ${i.sp4};
137
137
  `,we=o(B)`
@@ -246,7 +246,7 @@ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
246
246
  `,ei=o.div`
247
247
  display: flex;
248
248
  align-items: flex-start;
249
- `,re={lastListItemHeight:new f(200,128),rowWrapperMarginLeftRight:new f(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=y.useRef(null),d=y.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Be:Oe,$=y.useMemo(()=>e.length*d+x,[e.length,d,x]);y.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Re,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Ae,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Ae=y.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Re,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Ae.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(Bt,{data:e,boxType:"roundedBox"},e.id),li=o.div`
249
+ `,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Be:Oe,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Re,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Ae,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Ae=f.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Re,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Ae.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(Bt,{data:e,boxType:"roundedBox"},e.id),li=o.div`
250
250
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
251
251
  display: block;
252
252
  height: 100%;
@@ -293,7 +293,7 @@ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
293
293
  position: relative;
294
294
  width: auto;
295
295
  height: 100%;
296
- `,Re=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],fi=e=>xt(e??"",ui),U=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:U.editPortfolio},{value:"taxLetter",label:U.taxLetter},{value:"statements",label:U.statements},{value:"settings",label:U.settings}],yi=({onOptionSelection:e,onTransferClick:r})=>{const n=_e(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ge(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Ue,{entity:"zeni_treasury",onOptionSelection:g=>{const x=fi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
296
+ `,Re=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>xt(e??"",ui),U=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:U.editPortfolio},{value:"taxLetter",label:U.taxLetter},{value:"statements",label:U.statements},{value:"settings",label:U.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=_e(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ge(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Ue,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
297
297
  display: flex;
298
298
  flex-direction: row;
299
299
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
@@ -311,7 +311,7 @@ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
311
311
  justify-content: center;
312
312
  align-items: center;
313
313
  background-color: ${e=>e.theme.colors.grey4};
314
- `,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new f(p[3],p[8]),accountDetailHeaderPaddingBottom:new f(p[3],p[6]),accountDetailHeaderPaddingLeft:new f(p[3],p[8]),accountDetailHeaderPaddingTop:new f(p[3],p[6]),accountDetailContentMarginTop:new f(p[4],p[4]),areaChartHeight:new f(114,209),accountDetailHeaderGap:new f(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Q,common:bi}=L.getLocalizedStrings(),Ie=y.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=y.useState(),a=y.useMemo(()=>{const s=_(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let A;return O<.5?A=0:O<.6?A=.9*((O-.5)/.09999999999999998):A=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:A}})},[]),u=y.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=y.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=y.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=_(m[0].payload?.date??"").format(Q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=y.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const A=O?_(D).format(Q.visual.MMMformat):_(D).format(Q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:A})})},[e.accountHistoryWithBalance.length,r]),j=y.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(_i,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=y.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=y.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Zi,{children:[t.jsx(Qi,{children:v.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(fo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(yi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ai,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=y.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=y.useState(!1);return y.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Bi,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=y.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Qe(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
314
+ `,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Q,common:bi}=L.getLocalizedStrings(),Ie=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=_(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let A;return O<.5?A=0:O<.6?A=.9*((O-.5)/.09999999999999998):A=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:A}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=_(m[0].payload?.date??"").format(Q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const A=O?_(D).format(Q.visual.MMMformat):_(D).format(Q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:A})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(_i,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Zi,{children:[t.jsx(Qi,{children:v.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ai,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Bi,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Qe(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
315
315
  display: flex;
316
316
  flex-direction: column;
317
317
  align-items: center;
@@ -618,11 +618,11 @@ import{Q as C,g as M,a8 as Fe,cc as Ke,V as t,aN as V,bS as ae,bB as Ve,b as ie,
618
618
  color: ${e=>e.theme.colors.primary};
619
619
  }
620
620
  }
621
- `,fo=o(mt)`
621
+ `,yo=o(mt)`
622
622
  width: ${i.sp3};
623
623
  height: ${i.sp3};
624
624
  color: ${w.success};
625
- `,yo=o(B)`
625
+ `,fo=o(B)`
626
626
  padding: ${i.sp3} ${i.sp4} 0 ${i.sp4};
627
627
  color: ${w.heroLight};
628
628
  `,wo=o.div`
@@ -1,4 +1,4 @@
1
- import{g as ce,Q as V,aw as $e,a8 as fe,aQ as ye,V as r,bB as be,fr as ke,b4 as je,o as t,jo as Se,bS as ze,ai as k,r as Z,aP as J,F,a as $,aq as A,p as a,y as z,al as R,d7 as ve,bU as Le,f as Me,am as Pe,f9 as Be,u as h,dM as Ee,bf as Ie,M as Te,x as De,b as ee,d2 as _e}from"./index-BhvUwV_v.js";import{a as s,P as We}from"./sentry-DgGQRl6g.js";import{n as i}from"./mui-DqYnCiYu.js";import{Gx as Re}from"./zeni-epic-state-WWg2r7iB.js";import{I as Ge,N as He}from"./VideoPlayer-_FcQClfH-cuN5RcOe.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-CJUhOMj-.js";import{o as Ve}from"./shield-DOlUxcFf-DK1OxwF6.js";import"./liveblocks-BqcT5iTZ.js";import"./core-B9Znwqny.js";import"./recharts-D7E0WJGk.js";import"./lottie-oQfNS8l-.js";import"./analytics-DO1unY4G.js";import"./lexical-DSIpBzCF.js";import"./utils-C_quS4m3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="a0a97aa9-1acf-4594-b311-64f9e8ba1d40",e._sentryDebugIdIdentifier="sentry-dbid-a0a97aa9-1acf-4594-b311-64f9e8ba1d40")}catch{}})();const Fe=({isOpen:e,onClose:g})=>{const d=V(),C=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Qe,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
1
+ import{g as ce,Q as V,aw as $e,a8 as fe,aQ as ye,V as r,bB as be,fr as ke,b4 as je,o as t,jo as Se,bS as ze,ai as k,r as Z,aP as J,F,a as $,aq as A,p as a,y as z,al as R,d7 as ve,bU as Le,f as Me,am as Pe,f9 as Be,u as h,dM as Ee,bf as Ie,M as Te,x as De,b as ee,d2 as _e}from"./index-DVgY55Ab.js";import{a as s,P as We}from"./sentry-DMXY90dB.js";import{n as i}from"./mui-CR-wYMmN.js";import{Gx as Re}from"./zeni-epic-state-BXMuLX_S.js";import{I as Ge,N as He}from"./VideoPlayer-CoI7aj8a-B3tmTxCF.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-T83isyAA.js";import{o as Ve}from"./shield-DOlUxcFf-BYs2EC5i.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="c0e6c20b-a0c8-4f1a-9ddd-aac190da1578",e._sentryDebugIdIdentifier="sentry-dbid-c0e6c20b-a0c8-4f1a-9ddd-aac190da1578")}catch{}})();const Fe=({isOpen:e,onClose:g})=>{const d=V(),C=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ae,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(H,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(H,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Qe,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Ze,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(H,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Ae=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;