@zeniai/web-cockpit-ui 1.13.92-prod → 1.13.93-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 (222) hide show
  1. package/dist/assets/{ACHDetailsPage-DSxVnTLA-DQ5hyRPZ.js → ACHDetailsPage-B7Osqlyb-BwlnvX_d.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpJmdFIS-v3w0n1_t.js → AIPerformancePage-CEGqk2vj-DYer4sK1.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-UxE6vaxM-BKC2rl6V.js → AccountInfoPage-Dsi_xY1U-B-sH9O2B.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B8luWP8D-D_9Ih9aO.js → AccountInfoPageContent-CmRpq4eF-B2DwYw45.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CRuSLa04-D-K1ZLZ6.js → AccountReconDetailsDrawerPage-Bwc-VZmp-CnpXttfi.js} +1 -1
  6. package/dist/assets/{AccountRow-DVnBiB7_-J44FakMX.js → AccountRow-DMeCdEPJ-0Td7rdjz.js} +14 -14
  7. package/dist/assets/{AccountsPromoCardStack-oPvi6hmo-OA0s77-O.js → AccountsPromoCardStack-NYQHh0uE-De_Ps0gr.js} +13 -13
  8. package/dist/assets/{AddAddressForCardDrawer-Bl8FShie-i1WSnUQT.js → AddAddressForCardDrawer-3WPrDfNL-BmoU8xMj.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-BykgUTfa-BDdyLcOr.js → AddToWalletPage-IjvBXyuu-LqJuRvIx.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-CtpuS77Y-DtZ2PXub.js → AgingReportsPage-CIJTKbrN-CVdoyKAO.js} +5 -5
  11. package/dist/assets/{AllUserItems-zqRosy03-Cs4csIlw.js → AllUserItems-BuX43aPo-H0s42hTQ.js} +4 -4
  12. package/dist/assets/{ApAgingDetailPage-B4dHhJE1-DD149xB0.js → ApAgingDetailPage-02ejdrQy-CkSV3Gpj.js} +2 -2
  13. package/dist/assets/{AppBasePage-ntAldChd-CqmvMW4d.js → AppBasePage-CC3bbnnu-Ciqf55R8.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-LRG0OW3a-D-Uu_dh-.js → AppDrawerContent-B_EAPC9w-BdR_mtmP.js} +5 -5
  15. package/dist/assets/ApprovalRulesSettingsPage-1AQm08qF-1bvo_sOv.js +47 -0
  16. package/dist/assets/{ArAgingChart-BmfMCB8_-DmvBDcyM.js → ArAgingChart-UnY648RV-B8ISkKOi.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-C2lhYsGV-C5rZDRGB.js → ArAgingDetailPage-CMUpR-2N-CqTh98Ou.js} +3 -3
  18. package/dist/assets/{AttachmentView-CQlsMYN3-DzTpPq3-.js → AttachmentView-sbbFtu9R-wkkd2tSH.js} +1 -1
  19. package/dist/assets/{BankAccountSection-D1tQzNSO-C_sKIdwB.js → BankAccountSection-BJPkV-qV-DnIozyCI.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js → BankAccountWarningSection-D9R1VhzE-GAcwzATB.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-UQAJXShM-Qhq0Pgu1.js → BankConnectionsSettingsPage-BG99PtV_-CvP1ZQFj.js} +1 -1
  22. package/dist/assets/{BillDetailPage-BOy1MkMT-DxTJJg4k.js → BillDetailPage-C_JDjRL0-Kxjam1W7.js} +6 -6
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C7c04fyW-DVLpyOTC.js → BillPayApprovalRuleDetailPage-B_XMuvzZ-CuOSZOiJ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-D7vn36vA-CMpZz5F0.js → BillPayApprovalRulesPage-CyZjNIsQ-DvR9HK7c.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-VCQ0v0Ko-xduBQZLD.js → BillPayPromoPage-ByDsqYfw-Bz6xfanS.js} +3 -3
  26. package/dist/assets/{BillPaySetUpPage-MD1PbTMB-C2K6g1vr.js → BillPaySetUpPage-yTO-xwRJ-D5LOIl5a.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-B0U9RKLC-xDKZksR_.js → BillingSettingsPage-BIAy1QHr-CdxSnuoN.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CStmvhgL-Dbr4Aj-D.js → BillsBulkReviewDrawerPage-Cw1XCs0q-BPMOI-f-.js} +1 -1
  29. package/dist/assets/{BoxItem-D3v5T6bP-BOLCnSeA.js → BoxItem-UCX7eqiN-Bx4T9Ckg.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BIba2-zs-DYcAve60.js → BusinessVerificationPage-CSsout2C-D0_Wr4yR.js} +3 -3
  31. package/dist/assets/{CardNumberSubText-DoWj5vAy-UIXS_891.js → CardNumberSubText-DuTv0ip1-BQ2cCq6Y.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-CPz0J2HA-6i9rTXwB.js → CashbackDetailPage-KdHf-_ZF-DMwQoPE0.js} +9 -9
  33. package/dist/assets/{ChargeCardDetailPage-DxE5h1S5-DoqsPVXx.js → ChargeCardDetailPage-DYGcQs0M-D9cSv6UR.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-fXayrykw-D_Av_aTf.js → ChargeCardListPage-CNrRrNbd-BjkSAo-I.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-C-WxFg6W-DaGBsMkN.js → ChargeCardListTable-B1a9-RYl-DFaeigKK.js} +103 -103
  36. package/dist/assets/ChargeCardPromoPage-DZ1f8Sus-BW8ozxyr.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-ByLkUH5I-CkMXps05.js → ChargeCardSetupPage-DOrs_Bw8-DgkoLihJ.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-Dsv5AXrZ-DSUPLibI.js → ChargeCardStatementsPage-xvq2HeEr-DOI6TXvC.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CVC43_6w-CF1lXmY5.js → ChargeCardUtils-Dt303NN_-05QPLa2p.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CHWBgNa9-BopXJjvt.js → ChaseOverlay-BK2ISNjj-S6c-qliM.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DySu5_BH-C-eiJPK5.js → CheckDepositDrawerPage-CbsRUWnx-BK3WXMqm.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-ZObwzBbY-BysjoVFa.js → CollapsableReportTable-D5D0ufUn-Bzt15FNd.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVG0lvX--DVsfgUwx.js → CompanyOfficerDetailsSection-C7fuDGQk-IsFgAXuq.js} +6 -6
  44. package/dist/assets/{CompanyPassportCard-DBZRV0g0-BbdPQsC4.js → CompanyPassportCard-DwUqLcAr-DSkb28QS.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-BoaNol0L-BoQuDw9B.js → CompanyPassportPage-ClToBIAw-kZszHSwA.js} +10 -10
  46. package/dist/assets/{CompleteProfile-nkRKLJTF-Criq8Ljm.js → CompleteProfile-CLDWG3QK-CfBVYMEP.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BYoGZ66F-BF6awnnE.js → ConfettiBurst-DoZB9Us7-CMmPQCFc.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C1Yx8t4M-Cm2ZBJu1.js → CreateOrEditVendorPage-B837xw8A-BAYCbcGJ.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DlnR16jr-B4-3qddP.js → CreditCardPaymentDrawerPage-zGaAOnnB-BsFRJBm4.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-CZ2vyMiF-Dv-Vc4T9.js → CreditCardPaymentPlgSection-BLbZFCcL-Bqc-C6eO.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-vH1oB0K8-wHe9UTtT.js → CurrencySelectField-DS3dOR3F-DalqX_lS.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-rpZmgNZo-yoY6ZZPd.js → CustomerOnboardingActivationPage-WWVaQenb-B8ztly-z.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-BmFfAaO1-BI9KTD4O.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CFIeHxxw-Ch_NCmop.js → CustomerOnboardingDetailPageSkeleton-BSXKMQ77-MLxx67vI.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BueMiyFl-Be70Dm6Q.js → CustomerOnboardingNoStepsPage-Dd5kCuRE-BcQg4Ohl.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CmHXtB9v-N2UU7_FI.js → CustomerOnboardingPage-CGJpD875-Dopxs2Zj.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-I9pftf_j-Cq5FoNJf.js → CustomerOnboardingProductSuitePage-BFmVLk0l-Dqe6wu_O.js} +3 -3
  58. package/dist/assets/{Dashboard-DcfkiicK-Cm9EkmBL.js → Dashboard-BLIK_ZsD-D6wuOJAN.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-B7J8yZR6-mwifnpEI.js → DashboardReportPage-BbYtKYEH-pc8ejgXI.js} +8 -8
  60. package/dist/assets/{DepositAccTransactionItem-CP_2AL3M-BUfk_EHJ.js → DepositAccTransactionItem-BMXQpKVB-DaF1MUuy.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-C4o1y1mJ-BCGYl-3q.js → DepositAccTransactionListPage-bwEdSihi-CXBTlKtY.js} +2 -2
  62. package/dist/assets/{DocumentSecurityBanner-C5w0d_S8-7kR46baw.js → DocumentSecurityBanner-DV9HE3MK-LQKK6f7V.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-t0Ebo518-DcWosEiy.js → DomesticWireDetailsPage-OI-gqVNE-BqvWfcoc.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CPW9ebxu-CBIAqpEI.js → DownloadOverlay-De5uIGOt-g0Egf70Z.js} +1 -1
  65. package/dist/assets/{DrawerPage-Xc2rQipJ-vAGShlns.js → DrawerPage-n421ewDm-CnkmETxv.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CF5UleI0-IR4jULIP.js → EditPeoplePage-sO1qN6Uw-bGTiOwCj.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DGCkOykv-CxbUxJWC.js → EditReimbursementDetailPage-D5iKVGl3--EFA7JxG.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-BykQZo8S-BxO8SQOK.js → EntityDetailPage-CDk-oyYB-dhBDHyNo.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-Dw4PBcg_-Bj_myq1U.js → EntitySummarySection-C4cC9rOJ-D8GGYrtb.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BwAaZVq3-Dh0_-ULP.js → ExpenseAutomationOverviewPage-BojhuW5i-BvXr37wt.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Cqiyk-AY-2jDbqfUl.js → ExpenseAutomationPage-D0BViJ7J-CWRMA15W.js} +44 -44
  72. package/dist/assets/{ExpressPayPage-D0lCczvw-BKP2pyII.js → ExpressPayPage-DdgtFYep-CUOKOoiC.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-CxZIUB8l-DOVVe0bn.js → FeaturePreviewPage-CW0YmOgl-bNGEnD-g.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CILr1_vc-CyBQiJEA.js → FollowStepsSection-BfnTsu_D-DwG4wG8g.js} +7 -7
  75. package/dist/assets/{GlobalReviewListPage-DL6H7PZG-C2ENZA8V.js → GlobalReviewListPage-C0U7Y6dI-BkEZ_PU4.js} +1 -1
  76. package/dist/assets/{HelpButton-CkSfhBfN-l0ZmaZgI.js → HelpButton-DXFYhUL5-Co36EHOd.js} +1 -1
  77. package/dist/assets/{InformationCardStack-i76c5dym-B2hRo2sD.js → InformationCardStack-6BD3n76T-CKu_A2Jh.js} +2 -2
  78. package/dist/assets/{InsightsCardStack-wcWhovKK-D5i-CS8Q.js → InsightsCardStack-CwxJP-ic-nmTxa9wo.js} +3 -3
  79. package/dist/assets/{InsightsSection-CCzgI0uK-YzyDaTgw.js → InsightsSection-DYyHpcUE-N_KvwWiO.js} +4 -4
  80. package/dist/assets/{IntegrationsSettingsPage-B2CDE2Xd-DdpGmyZ0.js → IntegrationsSettingsPage-ZkvKZqwD-BFhl6nEA.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DNT75nXv-DPS5Vbqb.js → InternationalWireSwiftDetailsPage-D3nyRM06-CLJCmyag.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BDxujQK--DSmITxMC.js → InternationalWireVerificationPage-BOdAP6dN-Bwjg3gOc.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BnLBPR7X-BUgP_pam.js → InviteFormPage-HJMhfa_f-tkS1HQ9G.js} +1 -1
  84. package/dist/assets/{InvitePageListView-7mhz_Fyy-DsAbeFJv.js → InvitePageListView-CjneWRfJ-Cqi-gRH8.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-B8gb9N_8-CpTkSYzD.js → InvitePeoplePage-By6TWsVZ-DcezDHDA.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-Bes1nCJn-CI5aLm07.js → InvoiceUploadSection-CfAnZsV9-DBOTURQ6.js} +4 -4
  87. package/dist/assets/{IssueChargeCardPage-DC3yIsQd-DaEy5Twd.js → IssueChargeCardPage-pKF4dRNw-CboqmQ0I.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-Dtw8vM0g-BatSanO0.js → LabeledAddressValue-UYEy_1W0-Ci2tufnL.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D72yUpQl-EukAFw0M.js → LabeledAddressValueField-BmSVDTMx-CBdRfhaZ.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFaru2xf-BBWtrziO.js → LabeledControlledCheckBoxField-BFnLx9E0-ozh3nGkA.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js → LabeledCreatableSingleSelectField-Bh-cfR9F-Cgfy3beB.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-aYYBY16j-DiHUA7gr.js → LabeledDocumentField-YBoeNDoD-DV_I5uPN.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-Co7u6hHL-xLKIGiNZ.js → LabeledDropDownFormattedTextField-jrOUW9Ig-BtNHTfAs.js} +1 -1
  94. package/dist/assets/{LabeledText-BrOLGzO5-DZaVXgIe.js → LabeledText-BqO1wHro-DuRorhx4.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8D7YUkE.js → LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-C9gBIqih.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-WXH8xLJq-qoydEE07.js → LabeledZeniRolesDropDownField-Cgy0v5oD-DVkREz_1.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-NFV4Vo3i-BI2YmfkU.js → LinkJETransactionPage-PZAQ79zW-CK6GNIYR.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-Bxkd2pBR-_OwRs2WF.js → LowBalancePopup-BYeSnxBp-BI_shW18.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-BJFlUq7i-Dpmq3H_6.js → MagicLinkACHDetailsPage-D_FaPCmn-oM5m56GJ.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTuaNol6-DcoGcITs.js → MagicLinkDomesticWireDetailsPage-rnZdulCr-CM2OhcqO.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-L2dPsfWM-EuAyHUTS.js → MagicLinkInternationalWireDetailsPage-B7ScwCJc-hpVpOAMi.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DutanrSJ-M6t2IhUS.js → MagicLinkSuccessPage-DVhVWuCR-C1ELLMXO.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.js → MagicLinkTitleSection-CjV-_WEQ-BZeg3Eo_.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DwWeiSC0-D_M7IxPH.js → MailingDetailsSection-CW6ShqHJ-CO_dTd-f.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js → MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.js} +1 -1
  106. package/dist/assets/{Menu-CrSQ1yNo-Bv-dHYqs.js → Menu-LDwLOgxI-DZ0xBJbp.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CJjW9ymP-CrHV2cpA.js → MyBankConnectionsSettingsPage-BzxtuXEu-B9IXFZww.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CvxqOjc7-CtBP8g1r.js → MyPendingActivationChargeCardListPage-9jGJWmds-BAoE5bWC.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BX5dXulH-Dfifbw5G.js → MyProfileSettingsPage-9yk4H_yu-D2-h3k3L.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-CuVAj7o5-CEGVfhrc.js → NavBarWithPicker-DUpJ0EXp-43gjuBbT.js} +1 -1
  111. package/dist/assets/{NavigationArrow-BPQ9vRqR-CplDa_T1.js → NavigationArrow-lL3Ug8Mk-CKQ_08MZ.js} +1 -1
  112. package/dist/assets/{NavigationDots-Toh5TKEv-CA0n9HQq.js → NavigationDots-6Q5ZVqKl-C4jKPBGn.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B4r1haCm-BkdFCE3S.js → NewGlobalMerchantPage-nrWvsRy4-DbM5W8Wn.js} +1 -1
  114. package/dist/assets/{NoDataChart-CVM-QPHf-C9B0uxva.js → NoDataChart-DGbfWo33-CtNbg73S.js} +1 -1
  115. package/dist/assets/{NoDataTable-CM-tApqo-BFJr-jl2.js → NoDataTable-CsvWc_ok-iHpzgtD5.js} +1 -1
  116. package/dist/assets/{NotFoundPage-I-EBmx2b-CdYXt2jJ.js → NotFoundPage-CzfiPkml-BQeqs7Av.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CtZ7hdMN-DWIPkxdy.js → NotificationSettingsPage-Dmfqzy1H-CXBPPrT7.js} +6 -6
  118. package/dist/assets/{NotificationsListConfig-BAKipCDG-B8nCR-af.js → NotificationsListConfig-Cc3hEei0-BUGnkVM7.js} +1 -1
  119. package/dist/assets/{NotificationsPage-xyLmK3l7-Clly1YOz.js → NotificationsPage-BAj5p1zx-D_Mwv5JA.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B63DEuJM-pkzuBzfO.js → OpExByVendorPage-CRt-VUTi-BSRoe6fS.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BJTXz7EF.js → OverlayContainerPage-C0rUb6-5-CpXI0Wjw.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-uY-ajYp4-U3FMr0Xz.js → PandLWithForecastPage-lT9GgcG2-Do2wpSYt.js} +5 -5
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DM9NYbmX-CPcRwkU8.js → PaymentAccountSetupBillingAddressSection-DY4eeS5C-DRjMzj0b.js} +4 -4
  124. package/dist/assets/{PeoplePage-DPZj6XeQ-Uf9hTrMZ.js → PeoplePage-CDQl7HVr-BdnTCUNW.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-De56plDa-C7xgHS3E.js → PortfolioAllocationFormPage-StMDGc2G-BtdTMk__.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-DiITguNZ-cyxUfNyR.js → PortfolioDetails-Dk_IIRuG-B_DxSJx7.js} +3 -3
  127. package/dist/assets/{ProductsCarousel-BojgZxY7-DdyXJr2w.js → ProductsCarousel-0-ksFQos-BOcG3c1-.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-DPAkjdDp-BGlT4RI_.js → PromoBaseCards-DNSnqS61-Al7XKWVe.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-CzuH4c1o-C7pXVe4U.js → QBOConnectionDialog-BmIUfW_i-DCw1_Zjz.js} +4 -4
  130. package/dist/assets/{QBOSetupSection-DJBfLeXn-n3W_hKe8.js → QBOSetupSection-BaNFiEPB-BQTYBa9Y.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CAcLCt68-z_TSwQVX.js → ReimbursementApprovalRuleDetailPage-CtTk4HV2-BFn-5msn.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-edz_6MDX-BBQCU7zZ.js → ReimbursementApprovalRulesPage-IhKSiGK_-xDcDckpI.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-DD_GbfiV-Br_JM6Bl.js → ReimbursementDetailPage-B2rT1dKM-BvN3K25P.js} +4 -4
  134. package/dist/assets/{ReimbursementPromoPage-B_HZWdXi-BTiGgxO3.js → ReimbursementPromoPage-d7XBUzip-Baqr_9HR.js} +18 -18
  135. package/dist/assets/{ReimbursementSetUpPage-C0SNbg5D-B3aU2e8W.js → ReimbursementSetUpPage-DWCUtN5c-B7jvTAZ2.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-NOK5jPjr-Cia2ZDC0.js → ReimbursementsBulkReviewDrawerPage-ByNvcTCn-CVr0tk48.js} +1 -1
  137. package/dist/assets/{ReloadCard-CqyGWGqs-_YURCGpq.js → ReloadCard-DZy28iWR-fdBnNVQp.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-B8ZW0kxU-8Kw8Bgrt.js → ReportTableViewSelector-DdZm4cOJ-noq_7l2G.js} +5 -5
  139. package/dist/assets/{ReportsPage-DdqQgvJt-ChJzejj9.js → ReportsPage-CJDkY9FT-BvINYvTj.js} +1 -1
  140. package/dist/assets/{RevenueChart-QoBLII7z-BxG5kvro.js → RevenueChart-B_jdFFPm-BXFiwU14.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BVoI7xF7-BZLZQS7P.js → ReviewDetailsPage-DjPVGzeL-DLDIfiIY.js} +9 -9
  142. package/dist/assets/{ReviewOverlay-CbpylyCx-DaZFUH7Y.js → ReviewOverlay-DGYnF07r-qnvuKuhQ.js} +6 -6
  143. package/dist/assets/{RoleWithToolTip-TxLTa63q-h_h2zj3V.js → RoleWithToolTip-VlYG_GPv-D1yDUHv7.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CuwxZJjj-DGJYOl0Z.js → ScheduleDetailsFixedAssetsPage-oPFQEE8g-DGu6MDH1.js} +3 -3
  145. package/dist/assets/{ScheduleDetailsPage-u0VNz7hA-BXvUVAFs.js → ScheduleDetailsPage-BdBgJEAl-DNQIOTck.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-usJjTfAn-BVSbI8s8.js → ScheduleSequenceTable-Ncft3mZN-BP3nA4Wm.js} +5 -5
  147. package/dist/assets/{ScreenRoutes-CSiIYQhL.js → ScreenRoutes-GKyBzI0O.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DDe06VBR-B9IJiM9A.js → SetUpAccountSection-BrYiljyO-B0sFI8H-.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js → SetUpDefaultSection-B361ojb9-CxOpM9AT.js} +1 -1
  150. package/dist/assets/{SignIn-BdhV8PbY-BtAifhPi.js → SignIn-B_-FUZwZ-DmmXPLIK.js} +1 -1
  151. package/dist/assets/{SignInScreen-Bz8feu1F.js → SignInScreen-DXQE8i8n.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DNgC__pX-B532HqYI.js → SpendManagementListViewPage-XbjqwHXx-DUJaDID4.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BkiWOMch-DQ0tV62-.js → SpendManagementPerTabPage-D-4W-Ru9-BTwZxU7E.js} +8 -8
  154. package/dist/assets/{SpendManagementSection-DuR3sx7V-CT7Uld_h.js → SpendManagementSection-B7pMvj7Z-BAsdHFSu.js} +8 -8
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DoUKX4Sf-BldIeqnn.js → SpendMgmtSetupAccountSection-DdUs96r9-BtVu2Jjy.js} +1 -1
  156. package/dist/assets/{StatementItem-VYK0Vtgt-Bk5BgCtg.js → StatementItem-B4DJRmwy-B3hGXxas.js} +1 -1
  157. package/dist/assets/{StatementsPage-CLxned7l-BhLZL60e.js → StatementsPage-DzFEOmFA-wer7iddM.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-Jqpvk1VX-xLUVqT6G.js → StatusSwitcher-DGOwA8qO-D_gDSZQm.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-C7_JB54g-CphEJgto.js → SubTabSwitcher-Be-6o_mE-CbWpxIAQ.js} +1 -1
  160. package/dist/assets/{SummaryCard-oqK_zyxl-CPgSyc_4.js → SummaryCard-CD1amg78-BqcEBi2M.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BDOhB7Ny-BBdO0DDz.js → TaskManagementPage-C2UYhTtL-BjeaDszl.js} +12 -12
  162. package/dist/assets/{TimeRangeSwitcher-AWKZ7PNb-JsWizZnK.js → TimeRangeSwitcher-DxAmlHGP-Bw1t8DbY.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-BlL5woGb-CYQePLIH.js → TimeframeSwitcher-ndYSpUa6-BlrKZqFe.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-CRnWI6xW-C86KiNGD.js → TimeframeSwitcherWithToggle-B3bxr-_s-BNVy54lX.js} +1 -1
  165. package/dist/assets/{TopExCard-B4T3kqhZ-5leQC_es.js → TopExCard-CcpyunQ3-BaDgbdKx.js} +2 -2
  166. package/dist/assets/{TopExDetailPage-Cx9T3i9O-BUFgQydG.js → TopExDetailPage-C_B0c8iP-ByXi3xQ5.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CAGxHcQ9-DAEh18Kl.js → TransactionDetailPage-DVPGLobu-DL-y5UIM.js} +23 -23
  168. package/dist/assets/{TransactionList-CVrK_-YB-CzryXgTg.js → TransactionList-CvGyadHZ-CKr6j1Ej.js} +1 -1
  169. package/dist/assets/{TransactionListBig-BnI6EofP-CiyZQoDY.js → TransactionListBig-BeZjYsO0-CWaiI9xM.js} +14 -14
  170. package/dist/assets/{TransactionListPage-vK6DdhrP-DT6k2g4T.js → TransactionListPage-C8h-sa3V-ISAOcRCi.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-IyAfkyMv-lNTZZabw.js → TransactionVendorDetailPage-BcV8h3xR-BGD_XS9I.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-Bp0TG8fm-CznoIWIM.js → TransferDrawerPage-B_AJgZWp-BgCFpQ-3.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-Cr1liTpc-Cd33lmI2.js → TreasuryOverviewPage-kG1jZF28-DFMfLtUz.js} +17 -17
  174. package/dist/assets/{TreasuryPromoPage-Da7l7gv8-CKMiHpr6.js → TreasuryPromoPage-Dy3ExIiy-DKLmlPyB.js} +9 -9
  175. package/dist/assets/{TreasurySetupPage-DLNsPnS8-CDmeA1e-.js → TreasurySetupPage-Cjr-dp6O-D_HiOnt5.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-CNXxykvB-CuoSCyX7.js → TreasuryStatementsPage-CzOSIKGQ-CtcTNklQ.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-DUbt8ItG-CFIrAIuu.js → TreasuryTaxLetterPage-CWLf1Zxq-BkcKbbtq.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-qxabbCrK-NTQJ00iK.js → TreasuryTransferOrReviewPage-C5F3fmoI-C6lOcQ5d.js} +8 -8
  179. package/dist/assets/{TrendChart-SOAxSpv2-DgR01mAM.js → TrendChart-CtjfgQ9g-DU-bY5qU.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BSQ2TJvu-C2vH4bQx.js → TrendWithTransactions-SmcM2UIp-SwKmDId5.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Caf242zp-VGuE3thQ.js → UncategorizedAccountsMappingPage-CXoadwja-CEPslaD_.js} +7 -7
  182. package/dist/assets/{UnitIntegrationPage-Bvc4wx_r-B7he8exM.js → UnitIntegrationPage-wYQVQqP7-CMNCVZiN.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BTEhwmVL-C4lSvPpB.js → UploadAdditionalDocumentOverlay-8_c7UpvB-74BXxoUO.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DimcegQ_-WnSXqrLw.js → Vendor2FAPopup-DtNSOXbK-B54GFzKj.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BOIRRgCy-UgegopbT.js → VendorACHDetailsPage-zNbGGe4q-8GlI6jYy.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CWcqMMpT-9VL32fGD.js → VendorDetailPage-Cv-MG9iR-l4dRK0G1.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-9C2CIkhB-ZF2CrFpl.js → VendorDomesticWireDetailsPage-BkqtoYAw-CtX9mSuC.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Crz_WLRG-BF546nfl.js → VendorFiling1099EditablePage-DYJudj3c-DQ_wjKTT.js} +5 -5
  189. package/dist/assets/{VendorFirstReviewPage-hQ0U61KD-C9g--4mo.js → VendorFirstReviewPage-BNFIAB9n-BN6v_Gep.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-mm1qIXTf-BLxRn49M.js → VendorInternationalWireDetailsPage-DHa8JoNl-BRi2UVJj.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaOsJGNO-BH9lf0Lb.js → VendorInternationalWireSwiftDetailsPage-a5nSOMXK-BxkY5s8d.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CGbDIAMd-ym1H8Uh3.js → VendorsAccountsSection-DwDGbjey-Bypo8ABo.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-7DzlUfv7-BKqLm7L1.js → WarningsDrawerPage-CaSTx_8h-B-9jNZQU.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-B_U4d2iv-BManRlon.js → ZeniAccountDetailPage-BSOpxKiJ-Bcu_9TPK.js} +6 -6
  195. package/dist/assets/{ZeniAccountListViewPage-C2Yej3tG-BD_IZ5aS.js → ZeniAccountListViewPage-CZM1ODEE-CvbySLjB.js} +6 -6
  196. package/dist/assets/{ZeniAccountNavBarPieces-DsWyZL7N-D5tOjgeX.js → ZeniAccountNavBarPieces-CjNAr1N9-HkSrs5G-.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-D6S3o6xA-B-4D3zUQ.js → ZeniAccountPromoPage-PcyNGe7A-BLBuAvub.js} +9 -9
  198. package/dist/assets/{ZeniAccountSetupPage-YpW9LEB1-DY1tJUjA.js → ZeniAccountSetupPage-DhJ2zm6A-CuFLGcXY.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-Buv4_0jF-BUJ7afxM.js → ZeniCopyright-CSUSID-7-DBheoLGB.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CvuOgkEg-D9otBk72.js → ZeniTransferAmountSlider-DPl7porw-Dl84FVK1.js} +1 -1
  201. package/dist/assets/{analyticsHelper-B3QVnfWf-Cfyqi3Js.js → analyticsHelper-Cex5LOMD-Dxu2vm4u.js} +1 -1
  202. package/dist/assets/{analyticsHelper-RWvozMVr.js → analyticsHelper-CpvxdbQV.js} +1 -1
  203. package/dist/assets/{chartTypes-DYAHlgKd-H1smi7OR.js → chartTypes-Df8u7la0-CtDbCz1y.js} +1 -1
  204. package/dist/assets/{commonDimensions-Pkc8qIrn-CnS_lHb5.js → commonDimensions-OJhakpB_-Bbp60BrB.js} +1 -1
  205. package/dist/assets/{detailCommon-CsukAL3T-BWIfVtAp.js → detailCommon-4wAnHr6n-CdRaYMXz.js} +4 -4
  206. package/dist/assets/{downloadPdf-DlKRXI5W-OJRqS6Ne.js → downloadPdf-D02UNVHu-DqpjG06G.js} +1 -1
  207. package/dist/assets/{index-BFn0iyzF.js → index-DTlzo6Yx.js} +512 -512
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-KYsp1YPe-CLN9qM8e.js → mapLoadingInProgressToTreeNode-HsZI6Bdg-DBYPe0Tb.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-t5fK12Uc--riMsIoZ.js → mapSectionWithAcOnlyToTreeNode-B9KMXCTi-cXLO9gFn.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-1YBqnFwa-BUbNWLck.js → mapSpacerToTreeNode-BIZ_jwXi-CRlgAghX.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD1v-gTG-CsfVJjJT.js → mapTimeframeBalancesToTreeNode-BOFrVlzJ-4iwTY3Ct.js} +1 -1
  212. package/dist/assets/{play-icon-19dLaWkG-Dp_fy0nZ.js → play-icon-BDRoJBSV-DFuHei9M.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js → toCOABalancesWithID-RJhTPgAt-Cci2ybt-.js} +1 -1
  214. package/dist/assets/{toChartData-CxZEcdj_-BYbG-aHT.js → toChartData-K68FB3Iy-nDeLE4ni.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BqwCUN2u-X_XE57yN.js → treasuryColorHelper-DjASf5JB-DoMbQSj9.js} +1 -1
  216. package/dist/assets/{uploadAttachment-CHFo3qZI-V-zea-FO.js → uploadAttachment-D7Rju7jS-SY7cBnUt.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-C9miDyXe.js → uploadReceipts-Buvz7DfG-JDslMarZ.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +2 -2
  220. package/dist/assets/ApprovalRulesSettingsPage-CFCbNOcB-DqUDrXZ1.js +0 -47
  221. package/dist/assets/ChargeCardPromoPage-CiwWzvym-mX5HHnvt.js +0 -175
  222. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-Bgtk1o5G.js +0 -1
@@ -1,8 +1,8 @@
1
- import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as w,q as n,r as ae,g as B,o,Q as j,h as Q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,p as he,e as ue,K as Y,D as G,aN as X,a9 as ee}from"./index-BFn0iyzF.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-oPvi6hmo-OA0s77-O.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-oqK_zyxl-CPgSyc_4.js";import"./ReloadCard-CqyGWGqs-_YURCGpq.js";import"./NavigationArrow-BPQ9vRqR-CplDa_T1.js";import"./NavigationDots-Toh5TKEv-CA0n9HQq.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,X as L,V as W,H as ie,aJ as ne,l as B,j as t,Y as x,ao as re,M as w,q as n,r as ae,g as D,o,Q as j,h as Q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,p as he,e as ue,K as Y,B as G,aN as X,a9 as ee}from"./index-DTlzo6Yx.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-NYQHh0uE-De_Ps0gr.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-CD1amg78-BqcEBi2M.js";import"./ReloadCard-DZy28iWR-fdBnNVQp.js";import"./NavigationArrow-lL3Ug8Mk-CKQ_08MZ.js";import"./NavigationDots-6Q5ZVqKl-C4jKPBGn.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
5
- color: ${B.important};
5
+ color: ${D.important};
6
6
  opacity: 1;
7
7
  cursor: default;
8
8
  `,K=i.span`
@@ -21,7 +21,7 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
21
21
  width: ${o.sp3};
22
22
  height: ${o.sp3};
23
23
  margin-right: 6px;
24
- color: ${B.important};
24
+ color: ${D.important};
25
25
  visibility: hidden;
26
26
  cursor: pointer;
27
27
  `,ze=i.div`
@@ -36,7 +36,7 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
36
36
  border-radius: ${o.sp1};
37
37
  width: 270px;
38
38
  right: 5%;
39
- `,J=i.div`
39
+ `,V=i.div`
40
40
  padding: 10px 12px 12px ${o.sp0};
41
41
  background: ${e=>e.checked?e.theme.colors.grey3:"transparent"};
42
42
  & input {
@@ -81,7 +81,7 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
81
81
  }
82
82
  `,ke=i(ee)`
83
83
  text-align: center;
84
- `,V=i(ee)`
84
+ `,J=i(ee)`
85
85
  top: -2px;
86
86
  position: relative;
87
87
  cursor: pointer;
@@ -97,7 +97,7 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
97
97
  background: ${e=>e.theme.colors.background};
98
98
  text-align: center;
99
99
  border-radius: ${o.sp1};
100
- `;function Ae({accountDetails:e,analytics:b,isZeniUser:p,onSetAccountsStatementDate:C}){const c=w.getLocalizedStrings().statementCloseDay.dropdown.option1,h=w.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,v]=f.useState(!1),r=e.statementCloseDay,[y,$]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?c:h),[g,m]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[E,T]=f.useState(!1),_=f.useRef(r),H=W();f.useEffect(()=>{_.current!==r&&T(!1)},[r]);const I=s=>{D.hasAdminLevelAccess(H.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),v(!0),b.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},U=s=>{const d=["th","st","nd","rd"],O=s%100;return s+(d[(O-20)%10]||d[O]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=w.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${w.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${U(r)} ${w.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const R=s=>{const d=s.target.value;d===h&&m(void 0),$(d)},u=(s,d)=>{s.stopPropagation(),m(d),$(c)},S=()=>{m(void 0),$(h)},F=()=>{const s=e.accountId,d=g??"LAST_DAY_OF_THE_MONTH";r!==d&&(T(!0),C?.(s,d)),v(!1),b.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",g!==void 0?`${g}`:"End")},te=()=>t.jsxs(V,{children:[w.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Pe,{children:g??" - "}),w.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(ze,{role:"presentation","data-testid":x("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(J,{checked:y===c,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:c,value:c,onChange:R,checked:y===c,style:{width:"100%"},"data-testid":x("statement-close-day-input")}),te(),t.jsx(fe,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Ce,{isSelectedDate:s===g,"data-testid":x("statement-close-day-text"),onClick:d=>u(d,s),children:t.jsx(ke,{children:s})},s))})]}),t.jsxs(J,{checked:y===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:R,checked:y===h,style:{width:"100%"},"data-testid":x("statement-close-day-input-last-day")}),t.jsx(V,{onClick:()=>S(),children:w.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(je,{children:[t.jsx(Y,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{v(!1)},style:{marginRight:o.sp3},"data-testid":x("statement-close-day-button-secondary")}),t.jsx(Y,{size:"small",variant:"primary",label:"Save",onClick:F,disabled:g==null&&y!==h,"data-testid":x("statement-close-day-button-primary")})]})]}),Z=L();return t.jsx(he,{onClickAway:()=>v(!1),children:t.jsxs("div",{onClick:I,"data-testid":x("statement-close-day-modal"),children:[E?t.jsx(ue,{size:"Small",start:!0}):k?t.jsxs(ye,{"data-testid":x("edit-statement-close-day"),children:[t.jsx(ve,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Z,children:k})]}):D.hasAdminLevelAccess(H.loggedInUserRole??[])&&p===!0?t.jsxs(be,{"data-testid":x("add-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Z,children:w.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const De=new a(n[9],98),z={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},Be={textContainer:new j("standardMedium","largeMedium")},Te=i.div`
100
+ `;function Ae({accountDetails:e,analytics:b,isZeniUser:p,onSetAccountsStatementDate:C}){const c=w.getLocalizedStrings().statementCloseDay.dropdown.option1,h=w.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,v]=f.useState(!1),r=e.statementCloseDay,[y,$]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?c:h),[g,m]=f.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[E,T]=f.useState(!1),_=f.useRef(r),H=W();f.useEffect(()=>{_.current!==r&&T(!1)},[r]);const I=s=>{B.hasAdminLevelAccess(H.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),v(!0),b.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},U=s=>{const d=["th","st","nd","rd"],O=s%100;return s+(d[(O-20)%10]||d[O]||d[0])};let k="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?k=w.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:k=`${w.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${U(r)} ${w.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const R=s=>{const d=s.target.value;d===h&&m(void 0),$(d)},u=(s,d)=>{s.stopPropagation(),m(d),$(c)},S=()=>{m(void 0),$(h)},F=()=>{const s=e.accountId,d=g??"LAST_DAY_OF_THE_MONTH";r!==d&&(T(!0),C?.(s,d)),v(!1),b.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",g!==void 0?`${g}`:"End")},te=()=>t.jsxs(J,{children:[w.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Pe,{children:g??" - "}),w.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),oe=()=>t.jsxs(ze,{role:"presentation","data-testid":x("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(V,{checked:y===c,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:c,value:c,onChange:R,checked:y===c,style:{width:"100%"},"data-testid":x("statement-close-day-input")}),te(),t.jsx(fe,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Ce,{isSelectedDate:s===g,"data-testid":x("statement-close-day-text"),onClick:d=>u(d,s),children:t.jsx(ke,{children:s})},s))})]}),t.jsxs(V,{checked:y===h,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:h,value:h,onChange:R,checked:y===h,style:{width:"100%"},"data-testid":x("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>S(),children:w.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(je,{children:[t.jsx(Y,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{v(!1)},style:{marginRight:o.sp3},"data-testid":x("statement-close-day-button-secondary")}),t.jsx(Y,{size:"small",variant:"primary",label:"Save",onClick:F,disabled:g==null&&y!==h,"data-testid":x("statement-close-day-button-primary")})]})]}),Z=L();return t.jsx(he,{onClickAway:()=>v(!1),children:t.jsxs("div",{onClick:I,"data-testid":x("statement-close-day-modal"),children:[E?t.jsx(ue,{size:"Small",start:!0}):k?t.jsxs(ye,{"data-testid":x("edit-statement-close-day"),children:[t.jsx(ve,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Z,children:k})]}):B.hasAdminLevelAccess(H.loggedInUserRole??[])&&p===!0?t.jsxs(be,{"data-testid":x("add-statement-close-day"),children:[t.jsx(Se,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Z,children:w.getLocalizedStrings().statementCloseDay.statement})]}):"",P?oe():""]})})}const Be=new a(n[9],98),z={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},De={textContainer:new j("standardMedium","largeMedium")},Te=i.div`
101
101
  display: flex;
102
102
  width: 100%;
103
103
  `,He=i.div`
@@ -138,7 +138,7 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
138
138
  max-width: calc(
139
139
  100% - ${e=>z.amountWrapperWidth.valuePx(e.windowSize)}
140
140
  );
141
- ${e=>`${Be.textContainer.style(e.windowSize)}`};
141
+ ${e=>`${De.textContainer.style(e.windowSize)}`};
142
142
  `,Le=i.img`
143
143
  width: ${e=>z.imageWidth.valuePx(e.windowSize)};
144
144
  height: ${e=>z.imageHeight.valuePx(e.windowSize)};
@@ -157,7 +157,7 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
157
157
  align-items: flex-end;
158
158
  flex-direction: column;
159
159
  justify-content: center;
160
- `,_e=i(pe)``;function Ue({data:e,showStatementSection:b,analytics:p,isZeniUser:C,onItemClick:c,onSetAccountsStatementDate:h}){const{key:P,title:v,amount:r,logoUri:y}=e,$=W(),g=$.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess($.loggedInUserRole),m=L();return t.jsx(Te,{windowSize:m,children:t.jsx(He,{"data-testid":x("transaction-list-item-big",e.title),windowSize:m,showEditStatementIcon:D.hasAdminLevelAccess($.loggedInUserRole??[])&&C===!0,isClickEnabled:g,onClick:()=>g===!0?c?.(P,e.source):null,children:t.jsxs(Ie,{windowSize:m,children:[t.jsxs(Re,{windowSize:m,children:[t.jsx(Le,{windowSize:m,src:y,loading:"lazy"}),t.jsx(Me,{windowSize:m,children:v})]}),t.jsxs(Ee,{windowSize:m,children:[t.jsx(_e,{children:me("0,0",r)}),b&&m!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:p})]})]})})})}const Fe=f.memo(Ue),A=w.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},q=8,Ne=i.div`
160
+ `,_e=i(pe)``;function Ue({data:e,showStatementSection:b,analytics:p,isZeniUser:C,onItemClick:c,onSetAccountsStatementDate:h}){const{key:P,title:v,amount:r,logoUri:y}=e,$=W(),g=$.loggedInUserRole!=null&&!B.hasInvestorBankerLevelAccess($.loggedInUserRole),m=L();return t.jsx(Te,{windowSize:m,children:t.jsx(He,{"data-testid":x("transaction-list-item-big",e.title),windowSize:m,showEditStatementIcon:B.hasAdminLevelAccess($.loggedInUserRole??[])&&C===!0,isClickEnabled:g,onClick:()=>g===!0?c?.(P,e.source):null,children:t.jsxs(Ie,{windowSize:m,children:[t.jsxs(Re,{windowSize:m,children:[t.jsx(Le,{windowSize:m,src:y,loading:"lazy"}),t.jsx(Me,{windowSize:m,children:v})]}),t.jsxs(Ee,{windowSize:m,children:[t.jsx(_e,{children:me("0,0",r)}),b&&m!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:C,onSetAccountsStatementDate:h,analytics:p})]})]})})})}const Fe=f.memo(Ue),A=w.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},M={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},q=8,Ne=i.div`
161
161
  display: flex;
162
162
  flex: 1 1 auto;
163
163
  flex-direction: column;
@@ -192,9 +192,9 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
192
192
  `,Ke=i.div`
193
193
  display: flex;
194
194
  justify-content: center;
195
- `,Je=i.div`
195
+ `,Ve=i.div`
196
196
  width: 100%;
197
- `,Ve=i(le)`
197
+ `,Je=i(le)`
198
198
  scrollbar-width: thin;
199
199
  scrollbar-color: transparent transparent;
200
200
  &::-webkit-scrollbar {
@@ -203,8 +203,8 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
203
203
  background-color: transparent;
204
204
  }
205
205
  &::-webkit-scrollbar-track {
206
- box-shadow: inset 0 0 2px ${B.scrollbarBoxShadow};
207
- -webkit-box-shadow: inset 0 0 2px ${B.scrollbarBoxShadow};
206
+ box-shadow: inset 0 0 2px ${D.scrollbarBoxShadow};
207
+ -webkit-box-shadow: inset 0 0 2px ${D.scrollbarBoxShadow};
208
208
  background-color: transparent;
209
209
  }
210
210
  &::-webkit-scrollbar-thumb {
@@ -227,7 +227,7 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
227
227
  position: relative;
228
228
  padding: ${e=>l.promoBannerPadding.valuePx(e.size)};
229
229
  background-color: ${e=>e.theme.colors.zeniAccountsPromoBackgroundColor};
230
- border: 1px solid ${B.brandColorJade};
230
+ border: 1px solid ${D.brandColorJade};
231
231
  border-radius: ${o.sp2};
232
232
  width: ${e=>e.width}px;
233
233
  display: flex;
@@ -281,4 +281,4 @@ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as
281
281
  position: absolute;
282
282
  bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
283
283
  right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
284
- `,nt=({sectionTitle:e,totalFormatted:b})=>{const p=L();return t.jsx(We,{windowSize:p,children:t.jsxs(Oe,{windowSize:p,children:[t.jsx(Ye,{children:e}),t.jsx(Ge,{children:b})]})})};function yt({sectionTitle:e,analytics:b,transactionArray:p,isZeniUser:C,zeniAccountsPromoCardReport:c,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:v}){const r=L(),y=N.createRef(),[$,g]=N.useState(0),m=W(),E=ie(p,function(u,S){return u+(S.amount?.amount??0)},0),T=p.length>0?p[0].amount?.currencySymbol:"",_=ne("0,0",E,T),H=({index:u,style:S})=>t.jsx("div",{style:{...S},children:t.jsx(Ke,{children:t.jsx(Je,{windowSize:r,children:t.jsx(Fe,{data:p[u],showStatementSection:e===w.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:b,onItemClick:h,onSetAccountsStatementDate:P})})})}),I=N.useRef(null),U=()=>{const u=I.current;u!=null&&u.clientHeight>0&&u.clientHeight!=$&&g(u.clientHeight)},k=()=>{v?.(c?.depositAccountId??"")},R=D.hasZeniAccountsAdminLevelAccess(m.loggedInUserRoleMap);return t.jsxs(Ne,{windowSize:r,listHeight:$,"data-testid":x("transaction-list-big"),children:[t.jsx(nt,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{children:t.jsx(re,{children:({height:u,width:S})=>t.jsxs(t.Fragment,{children:[c?.isShowDepositAccountsPromo===!0?t.jsxs(qe,{width:S,size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Xe,{size:r,children:A.keepInterest.prefixCashBalance}),t.jsx(et,{size:r,children:xe("keepInterest",we(c.maxPossibleInterest??0))})]}),t.jsx(tt,{onClick:k,size:r,children:t.jsx(ot,{size:r,children:R?c.depositAccountId!=null?A.button:A.signUp:A.learnMore})}),t.jsx(it,{size:r,children:A.keepInterest.footer.replace(/<interest>/,c.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Ve,{ref:y,height:u,width:S,style:{overflow:"unset"},itemCount:p.length,itemSize:De.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:U,itemKey:F=>p[F].key,innerRef:I,children:H})]})})})]})}export{yt as default,l as dimensions};
284
+ `,nt=({sectionTitle:e,totalFormatted:b})=>{const p=L();return t.jsx(We,{windowSize:p,children:t.jsxs(Oe,{windowSize:p,children:[t.jsx(Ye,{children:e}),t.jsx(Ge,{children:b})]})})};function yt({sectionTitle:e,analytics:b,transactionArray:p,isZeniUser:C,zeniAccountsPromoCardReport:c,onItemClick:h,onSetAccountsStatementDate:P,onPromoCardBtnClick:v}){const r=L(),y=N.createRef(),[$,g]=N.useState(0),m=W(),E=ie(p,function(u,S){return u+(S.amount?.amount??0)},0),T=p.length>0?p[0].amount?.currencySymbol:"",_=ne("0,0",E,T),H=({index:u,style:S})=>t.jsx("div",{style:{...S},children:t.jsx(Ke,{children:t.jsx(Ve,{windowSize:r,children:t.jsx(Fe,{data:p[u],showStatementSection:e===w.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:C,analytics:b,onItemClick:h,onSetAccountsStatementDate:P})})})}),I=N.useRef(null),U=()=>{const u=I.current;u!=null&&u.clientHeight>0&&u.clientHeight!=$&&g(u.clientHeight)},k=()=>{v?.(c?.depositAccountId??"")},R=B.hasZeniAccountsAdminLevelAccess(m.loggedInUserRoleMap);return t.jsxs(Ne,{windowSize:r,listHeight:$,"data-testid":x("transaction-list-big"),children:[t.jsx(nt,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{children:t.jsx(re,{children:({height:u,width:S})=>t.jsxs(t.Fragment,{children:[c?.isShowDepositAccountsPromo===!0?t.jsxs(qe,{width:S,size:r,children:[t.jsxs(Qe,{size:r,children:[t.jsx(Xe,{size:r,children:A.keepInterest.prefixCashBalance}),t.jsx(et,{size:r,children:xe("keepInterest",we(c.maxPossibleInterest??0))})]}),t.jsx(tt,{onClick:k,size:r,children:t.jsx(ot,{size:r,children:R?c.depositAccountId!=null?A.button:A.signUp:A.learnMore})}),t.jsx(it,{size:r,children:A.keepInterest.footer.replace(/<interest>/,c.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Je,{ref:y,height:u,width:S,style:{overflow:"unset"},itemCount:p.length,itemSize:Be.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:U,itemKey:F=>p[F].key,innerRef:I,children:H})]})})})]})}export{yt as default,l as dimensions};
@@ -1,4 +1,4 @@
1
- import{u as z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,t as V}from"./index-BFn0iyzF.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-CVrK_-YB-CzryXgTg.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-D3v5T6bP-BOLCnSeA.js";import"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";const G=l.div`
1
+ import{u as z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,t as V}from"./index-DTlzo6Yx.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-CvGyadHZ-CKr6j1Ej.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-UCX7eqiN-Bx4T9Ckg.js";import"./commonDimensions-OJhakpB_-Bbp60BrB.js";const G=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,9 +1,9 @@
1
- import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as q,c3 as X,F as Y,q as r,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-BFn0iyzF.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
1
+ import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as q,c3 as X,F as Y,q as s,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-DTlzo6Yx.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",v),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:q(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
5
5
  padding-bottom: ${a.sp3};
6
- `,se=d(ee)`
6
+ `,re=d(ee)`
7
7
  color: ${e=>e.theme.colors.primary};
8
8
  margin-bottom: ${a.sp3};
9
9
  margin-right: ${a.sp6};
@@ -20,7 +20,7 @@ import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,c
20
20
  background-color: ${e=>e.theme.colors.grey3};
21
21
  min-height: 1px;
22
22
  max-height: 1px;
23
- `,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:v,allOwners:t,selectedVendor:m,formLocalData:p,isDisabled:C,onSaveVendor:b,saveVendorDetailLocalData:h,accountsHierarchyList:u,classHierarchyList:f})=>{const x=U({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,f,t,p)}),[l,y]=I.useState(!1),$=s=>{s.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&l===!1&&b?.()},j=(s,S)=>{const n=ue(s,void 0);h?.(n)},P=async(s,S)=>{(s.includes("vendorName")||s.includes("vendorOwner")||s.includes("vendorClass")||s.includes("vendorCategory"))&&(j(S),l===!0&&s.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const s=x.watch((S,{name:n})=>{n!=null&&S!=null&&X(()=>P(n,S))});return()=>{s.unsubscribe()}}),I.useEffect(()=>{m.saveStatus.fetchState==="Error"&&m.saveStatus.error?.code===409&&y(!0)},[m.saveStatus]),o.jsx(Y,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:V,selectedVendorDetails:m,isSaveError:l,selectedAccountId:p?.vendorCategory,selectedClassId:p?.vendorClass,selectedOwnerId:p?.vendorOwner,allAccounts:c??[],allClasses:v??[],selectedVendorName:p?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:f})})})},ce=(e,c,v,t)=>({[V]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:q(v),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:M(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:F(c),selectedOption:t?.vendorClass}}});function ue(e,c,v){const t=e?.[V];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:c,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const w={containerPaddingLeft:new g(r[3],r[3],r[6]),containerPaddingRight:new g(r[3],r[3],r[8]),containerMarginTop:new g(r[2],r[2],r[4]),navbarContainerPaddingTop:new g(r[3],r[3]),navbarContainerPaddingBottom:new g(r[3],r[3]),SectionTitleMarginTop:new g(0,r[3])},T={sectionTitle:new G("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},pe=d.div`
23
+ `,V="vendorDetails",de=({id:e,allAccounts:c,allClasses:h,allOwners:t,selectedVendor:m,formLocalData:p,isDisabled:C,onSaveVendor:b,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:f})=>{const x=U({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,f,t,p)}),[l,y]=I.useState(!1),$=r=>{r.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&l===!1&&b?.()},j=(r,S)=>{const n=ue(r,void 0);v?.(n)},P=async(r,S)=>{(r.includes("vendorName")||r.includes("vendorOwner")||r.includes("vendorClass")||r.includes("vendorCategory"))&&(j(S),l===!0&&r.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const r=x.watch((S,{name:n})=>{n!=null&&S!=null&&X(()=>P(n,S))});return()=>{r.unsubscribe()}}),I.useEffect(()=>{m.saveStatus.fetchState==="Error"&&m.saveStatus.error?.code===409&&y(!0)},[m.saveStatus]),o.jsx(Y,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:V,selectedVendorDetails:m,isSaveError:l,selectedAccountId:p?.vendorCategory,selectedClassId:p?.vendorClass,selectedOwnerId:p?.vendorOwner,allAccounts:c??[],allClasses:h??[],selectedVendorName:p?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:f})})})},ce=(e,c,h,t)=>({[V]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:q(h),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:M(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:F(c),selectedOption:t?.vendorClass}}});function ue(e,c,h){const t=e?.[V];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:c,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const w={containerPaddingLeft:new g(s[3],s[3],s[6]),containerPaddingRight:new g(s[3],s[3],s[8]),containerMarginTop:new g(s[2],s[2],s[4]),navbarContainerPaddingTop:new g(s[3],s[3]),navbarContainerPaddingBottom:new g(s[3],s[3]),SectionTitleMarginTop:new g(0,s[3])},T={sectionTitle:new G("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},pe=d.div`
24
24
  display: flex;
25
25
  flex: 1 1 auto;
26
26
  min-height: 100%;
@@ -28,11 +28,11 @@ import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,c
28
28
  flex-direction: column;
29
29
  background-color: ${e=>e.theme.colors.grey5};
30
30
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
31
- `,ve=d.div`
31
+ `,he=d.div`
32
32
  margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
33
33
  padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
34
34
  padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
35
- `,he=d.div`
35
+ `,ve=d.div`
36
36
  display: flex;
37
37
  flex: 1 1 auto;
38
38
  height: 100vh;
@@ -77,4 +77,4 @@ import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,c
77
77
  ${e=>`${T.sectionTitle.style(e.windowSize)}`};
78
78
  margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
79
79
  line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
80
- `,k="vendorDetailPage",E=e=>`${e}_form`,je=({vendorDetailView:e,onSaveSuccess:c,onCancelClick:v,onSaveVendor:t,saveVendorDetailLocalData:m})=>{const{editVendorState:p,newVendorState:C,accountsHierarchyList:b,classHierarchyList:h}=e,u=H(),{footer:f,newVendor:x}=A.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,l=Object.assign({},p??C);if(I.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&c?.()},[l]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(he,{children:o.jsx(B,{size:"ExtraLarge",start:!0})});const y=l.saveStatus?.fetchState==="In-Progress";return o.jsxs(pe,{windowSize:u,"data-testid":D("transaction-vendor-detail-page"),children:[o.jsxs(me,{windowSize:u,children:[o.jsx(we,{children:o.jsx(fe,{onClick:v,"data-testid":D("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(ve,{windowSize:u,"data-testid":D("vendor-detail-page-form"),children:o.jsx(de,{id:E(k),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:l,formLocalData:l.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:m,accountsHierarchyList:b,classHierarchyList:h})})}),o.jsx(W,{formId:E(k),primaryBtn:{label:f.save,isLoading:y},cancelBtn:{label:f.cancel,shouldResetOnCancel:!0,onClick:v}})]})};export{je as default,E as formUniqueName};
80
+ `,k="vendorDetailPage",E=e=>`${e}_form`,je=({vendorDetailView:e,onSaveSuccess:c,onCancelClick:h,onSaveVendor:t,saveVendorDetailLocalData:m})=>{const{editVendorState:p,newVendorState:C,accountsHierarchyList:b,classHierarchyList:v}=e,u=H(),{footer:f,newVendor:x}=A.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,l=Object.assign({},p??C);if(I.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&c?.()},[l]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(ve,{children:o.jsx(B,{size:"ExtraLarge",start:!0})});const y=l.saveStatus?.fetchState==="In-Progress";return o.jsxs(pe,{windowSize:u,"data-testid":D("transaction-vendor-detail-page"),children:[o.jsxs(me,{windowSize:u,children:[o.jsx(we,{children:o.jsx(fe,{onClick:h,"data-testid":D("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(he,{windowSize:u,"data-testid":D("vendor-detail-page-form"),children:o.jsx(de,{id:E(k),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:l,formLocalData:l.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:m,accountsHierarchyList:b,classHierarchyList:v})})}),o.jsx(W,{formId:E(k),primaryBtn:{label:f.save,isLoading:y},cancelBtn:{label:f.cancel,shouldResetOnCancel:!0,onClick:h}})]})};export{je as default,E as formUniqueName};
@@ -1,4 +1,4 @@
1
- import{j as t,X as de,Y as A,gP as it,M as I,_ as Z,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,v as $e,t as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,q as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as qe,f2 as yt,dq as Ct,bp as Ze,f9 as St,fb as vt}from"./index-BFn0iyzF.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CvuOgkEg-D9otBk72.js";import{r as At}from"./AccountInfoPageContent-B8luWP8D-D_9Ih9aO.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-DlKRXI5W-OJRqS6Ne.js";import"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=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 Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(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(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,q]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};J(se)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:Z("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(qt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?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(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
1
+ import{j as t,X as de,Y as A,gP as it,M as I,_ as Z,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,v as $e,t as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,q as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as qe,f2 as yt,dq as Ct,bp as Ze,f9 as St,fb as vt}from"./index-DTlzo6Yx.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-DPl7porw-Dl84FVK1.js";import{r as At}from"./AccountInfoPageContent-CmRpq4eF-B2DwYw45.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-D02UNVHu-DqpjG06G.js";import"./commonDimensions-OJhakpB_-Bbp60BrB.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=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 Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(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(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,q]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};J(se)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:Z("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(qt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?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(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.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{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y as E,e as Ke,o as i,v as k,g as w,b5 as Fe,C as u,cO as _,Q as B,l as V,q as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Ve,bf as Le,a9 as Me,y as We,fm as Ee,gm as Ge,K as Ue,t as A,ak as Je,iD as Xe,je as _e,ke as qe,eG as Qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as st,m as G,bY as xe,ig as nt,b$ as lt,ih as dt,ii as ct}from"./index-BFn0iyzF.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";import{g as me}from"./BoxItem-D3v5T6bP-BOLCnSeA.js";import{l as se,d as xt}from"./treasuryColorHelper-BqwCUN2u-X_XE57yN.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:ne.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:s}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const n of p)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,n)=>{let m=n;r.sortKey===p&&(m=n==="ascending"?"descending":"ascending"),s(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(n=>n.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{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(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y as E,e as Ke,o as i,v as k,g as w,b5 as Ve,C as u,cO as _,Q as B,l as F,q as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Fe,bf as Le,a9 as Me,V as We,fm as Ee,gm as Ge,K as Ue,t as A,ak as Je,iD as Xe,je as _e,ke as qe,eG as Qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as st,m as G,bY as xe,ig as nt,b$ as lt,ih as dt,ii as ct}from"./index-DTlzo6Yx.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-OJhakpB_-Bbp60BrB.js";import{g as me}from"./BoxItem-UCX7eqiN-Bx4T9Ckg.js";import{l as se,d as xt}from"./treasuryColorHelper-DjASf5JB-DoMbQSj9.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ne=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:ne.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:ne.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:ne.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:s}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const n of p)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,n)=>{let m=n;r.sortKey===p&&(m=n==="ascending"?"descending":"ascending"),s(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(n=>n.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{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(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -95,7 +95,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
95
95
  cursor: pointer;
96
96
  gap: 5px;
97
97
  color: ${e=>e.theme.colors.primary};
98
- `,U={containerPaddingLeft:new u(h[3],h[4]),containerPaddingRight:new u(h[2],h[3]),containerPaddingTop:new u(h[2],h[3]),containerPaddingBottom:new u(h[2],h[3])};function Mt({data:e,boxType:r}){const{description:s,amount:c,status:l,date:a}=e,y=W("0,0.00",c),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),j=x[0].width,f=x[1].width,p=x[2].width,n=xt(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Ft,{children:[t.jsxs(Vt,{children:[t.jsxs(Et,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[s,l!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(_t,{color:n?.color,children:n?.value})]}):null]})})})]}),t.jsx(qt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Wt,{children:t.jsx(Zt,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:s}),l!=null?t.jsxs(It,{windowSize:d,children:[t.jsx(Nt,{}),t.jsx(Yt,{color:n?.color,children:n?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
98
+ `,U={containerPaddingLeft:new u(h[3],h[4]),containerPaddingRight:new u(h[2],h[3]),containerPaddingTop:new u(h[2],h[3]),containerPaddingBottom:new u(h[2],h[3])};function Mt({data:e,boxType:r}){const{description:s,amount:c,status:l,date:a}=e,y=W("0,0.00",c),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),j=x[0].width,f=x[1].width,p=x[2].width,n=xt(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Ft,{children:[t.jsxs(Et,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(Ut,{children:t.jsxs(Jt,{children:[s,l!=null?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(_t,{color:n?.color,children:n?.value})]}):null]})})})]}),t.jsx(qt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Wt,{children:t.jsx(Zt,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(At,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,children:[t.jsx(fe,{}),t.jsxs(It,{windowSize:d,children:[t.jsx(we,{children:s}),l!=null?t.jsxs(Ht,{windowSize:d,children:[t.jsx(Nt,{}),t.jsx(Yt,{color:n?.color,children:n?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const At=o.div`
99
99
  width: 100%;
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
@@ -143,7 +143,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
143
143
  word-break: break-word;
144
144
  text-align: left;
145
145
  overflow: hidden;
146
- `,Ht=o.div`
146
+ `,It=o.div`
147
147
  display: flex;
148
148
  align-items: center;
149
149
  text-align: left;
@@ -154,7 +154,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
154
154
  word-break: break-word;
155
155
  text-overflow: ellipsis;
156
156
  overflow: hidden;
157
- `,It=o.div`
157
+ `,Ht=o.div`
158
158
  display: flex;
159
159
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
160
160
  align-items: center;
@@ -186,12 +186,12 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
186
186
  box-shadow: ${e=>e.theme.mode==="dark"?`${w.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${w.dropShadowNormalLight}`};
187
187
  border-radius: ${i.sp2};
188
188
  gap: ${i.sp1};
189
- `,Ft=o.div`
189
+ `,Vt=o.div`
190
190
  display: flex;
191
191
  width: 100%;
192
192
  justify-content: space-between;
193
193
  align-items: flex-start;
194
- `,Vt=o.div`
194
+ `,Ft=o.div`
195
195
  display: flex;
196
196
  flex-direction: column;
197
197
  flex: 1;
@@ -296,7 +296,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
296
296
  position: relative;
297
297
  width: auto;
298
298
  height: 100%;
299
- `,Oe=o.div``,mi=["editPortfolio","taxLetter","statements","settings"],ui=e=>V.stringToUnionStrict(e??"",mi),J=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:J.editPortfolio},{value:"taxLetter",label:J.taxLetter},{value:"statements",label:J.statements},{value:"settings",label:J.settings}],yi=({onOptionSelection:e,onTransferClick:r})=>{const s=We(),c=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=s.loggedInUserRoleMap.treasury_user===!0||Ee(s),y=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(fi,{isTopAlign:!1,children:[t.jsx(Ge,{entity:"zeni_treasury",onOptionSelection:g=>{const x=ui(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?y:je}),!a&&(c==="small"?t.jsx(wi,{}):t.jsx(Ue,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},fi=o.div`
299
+ `,Oe=o.div``,mi=["editPortfolio","taxLetter","statements","settings"],ui=e=>F.stringToUnionStrict(e??"",mi),J=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:J.editPortfolio},{value:"taxLetter",label:J.taxLetter},{value:"statements",label:J.statements},{value:"settings",label:J.settings}],yi=({onOptionSelection:e,onTransferClick:r})=>{const s=We(),c=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=s.loggedInUserRoleMap.treasury_user===!0||Ee(s),y=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(fi,{isTopAlign:!1,children:[t.jsx(Ge,{entity:"zeni_treasury",onOptionSelection:g=>{const x=ui(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?y:je}),!a&&(c==="small"?t.jsx(wi,{}):t.jsx(Ue,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},fi=o.div`
300
300
  display: flex;
301
301
  flex-direction: row;
302
302
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
@@ -316,7 +316,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
316
316
  background-color: ${e=>e.theme.colors.grey5};
317
317
  box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
318
318
  background-color: ${e=>e.theme.colors.grey4};
319
- `,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new u(h[3],h[8]),accountDetailHeaderPaddingBottom:new u(h[3],h[6]),accountDetailHeaderPaddingLeft:new u(h[3],h[8]),accountDetailHeaderPaddingTop:new u(h[3],h[6]),accountDetailContentMarginTop:new u(h[4],h[4]),areaChartHeight:new u(114,209),accountDetailHeaderGap:new u(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:ji}=L.getLocalizedStrings(),Re=$.memo(({accountHistory:e})=>{const r=C(),s=M(),[c,l]=$.useState(),a=$.useMemo(()=>{const n=V.zeniDate(new Date().toISOString()),m=n.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?n:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),y=$.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(n=>n.balance?.available.amount===0)),g=$.useMemo(()=>e.accountHistoryWithBalance.map(n=>({...n,date:n.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.useCallback(n=>{const m=Array.isArray(n)?n:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=W("0,0[.]00",D),b=V.zeniDate(m[0].payload?.date??"").format(q.visual.DMMMYYYYFormat)}return t.jsxs(Wi,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),j=$.useCallback(n=>{const m=n,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?V.zeniDate(D).format(q.visual.MMMformat):V.zeniDate(D).format(q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Ni,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:n,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==n||c?.y!==m)&&l({x:n,y:m}),t.jsx(Ei,{cx:n,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.useMemo(()=>{const n=e.accountHistoryWithBalance.length;return n<=0?0:n>360?Math.floor(n/12):Math.floor(n/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(Zi,{children:[t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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:s.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:s.colors.grey2,stopOpacity:.02})]})}),t.jsx(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,tick:n=>j(n),interval:y,padding:{right:h[4]}}),t.jsx(he,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(pe,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:s.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(eo,{children:t.jsx(Qi,{children:v.noData})})]}):t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,reversed:!0,tick:n=>j(n),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(Ve,{position:c,content:({payload:n})=>x(n),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(pe,{activeDot:f,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Re.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:s,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=M(),x=Ye().analytics,j=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},f=e.accountSummary,p=$.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(qi,{children:[t.jsx(_i,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:W("0,0[.]00",f?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:W("0,0[.]00",f?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:W("0,0[.]00",f?.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(He,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(uo,{}):t.jsx(Ie,{})})})},[f,d]),n=t.jsx(yi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Di,{children:[t.jsx(Ne,{title:v.title,onBackClick:c,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:n,source:"treasury"}),t.jsxs(Ti,{windowSize:d,children:[t.jsxs(Li,{windowSize:d,children:[t.jsx(bi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Re,{accountHistory:e.accountHistory})})]}),t.jsx(vi,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Be,{treasuryDetail:e,onColumnSortConfigChanged:s}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":E("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ii,{children:ji.reloadPage.label})]}):t.jsx($i,{children:t.jsx(Ke,{size:"ExtraLarge",start:!0})})]})},Be=$.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const s=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Pi,{windowSize:s,children:t.jsx(ri,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(zi,{})})});Be.displayName="TransactionListScreen";const bi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:s,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Mi,{children:[t.jsxs(X,{children:[t.jsx(Fi,{children:t.jsxs(F,{children:[K(be.zeniAccountList.totalAvailableBalance),s("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(_,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(X,{children:[t.jsxs(F,{children:[K(v.insuredFunds),s("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(F,{children:K(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(F,{children:K(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(F,{children:[K(v.sevenDayYield)," ",s("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Vi,{windowSize:a,children:[Ci(c??{},l),"%"]})})]})]})]})},vi=({analytics:e,fundsData:r,fundAllocation:s,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(to,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=se(j,d);return t.jsxs(io,{expanded:f,windowSize:y,children:[t.jsx(xo,{bgColor:p.headerBackground}),t.jsx(Si,{fund:x,fundIndex:j,fundAllocation:s!=null?s[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(oo,{children:t.jsxs(ao,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(Co,{}),t.jsx(ki,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},Si=({fund:e,fundIndex:r,fundAllocation:s})=>{const c=M(),l=se(r,c),a=C();return t.jsxs(ro,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(no,{children:t.jsxs(lo,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[s,"%"]})]})}),t.jsxs(co,{color:l.fundNameColor,children:[t.jsx(X,{children:e.fundCompanyName}),t.jsx(X,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(po,{children:[v.fundTile.sevenDayYieldLabel,t.jsx(He,{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(Ie,{})})})]}),t.jsxs(ho,{windowSize:a,children:[e.yield,"%"]})]})})]})},ki=({analytics:e,fund:r,fundIndex:s,onHide:c})=>{const l=M(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=se(s,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(fo,{children:[t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Xe(r.fundSize,r.currencyCode)})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.maturity,a.timeStrings.days]}),t.jsx(Y,{children:r.maturity})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(H,{children:[t.jsxs(I,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs(wo,{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($o,{children:r.compositions.map((x,j)=>t.jsxs(jo,{children:[t.jsx(bo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),children:t.jsxs(vo,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(go,{children:[t.jsxs(So,{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(ko,{})]}),t.jsxs(mo,{onClick:c,children:[d.hide,t.jsx(Ji,{})]})]})]})};function Ci(e,r){let s=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(s+=c.yield*l)}return Number((s/100).toFixed(2))}const K=e=>t.jsx(Gi,{children:e}),zi=o.div`
319
+ `,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new u(h[3],h[8]),accountDetailHeaderPaddingBottom:new u(h[3],h[6]),accountDetailHeaderPaddingLeft:new u(h[3],h[8]),accountDetailHeaderPaddingTop:new u(h[3],h[6]),accountDetailContentMarginTop:new u(h[4],h[4]),areaChartHeight:new u(114,209),accountDetailHeaderGap:new u(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:ji}=L.getLocalizedStrings(),Re=$.memo(({accountHistory:e})=>{const r=C(),s=M(),[c,l]=$.useState(),a=$.useMemo(()=>{const n=F.zeniDate(new Date().toISOString()),m=n.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?n:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),y=$.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(n=>n.balance?.available.amount===0)),g=$.useMemo(()=>e.accountHistoryWithBalance.map(n=>({...n,date:n.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.useCallback(n=>{const m=Array.isArray(n)?n:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=W("0,0[.]00",D),b=F.zeniDate(m[0].payload?.date??"").format(q.visual.DMMMYYYYFormat)}return t.jsxs(Wi,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),j=$.useCallback(n=>{const m=n,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?F.zeniDate(D).format(q.visual.MMMformat):F.zeniDate(D).format(q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Ni,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:n,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==n||c?.y!==m)&&l({x:n,y:m}),t.jsx(Ei,{cx:n,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.useMemo(()=>{const n=e.accountHistoryWithBalance.length;return n<=0?0:n>360?Math.floor(n/12):Math.floor(n/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(Zi,{children:[t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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:s.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:s.colors.grey2,stopOpacity:.02})]})}),t.jsx(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,tick:n=>j(n),interval:y,padding:{right:h[4]}}),t.jsx(he,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(pe,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:s.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(eo,{children:t.jsx(Qi,{children:v.noData})})]}):t.jsx(le,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(de,{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(ce,{dataKey:"date",stroke:s.colors.grey3,tickSize:0,reversed:!0,tick:n=>j(n),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(Fe,{position:c,content:({payload:n})=>x(n),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(pe,{activeDot:f,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Re.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:s,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=M(),x=Ye().analytics,j=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},f=e.accountSummary,p=$.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(qi,{children:[t.jsx(_i,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:W("0,0[.]00",f?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:W("0,0[.]00",f?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:W("0,0[.]00",f?.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(Ie,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(uo,{}):t.jsx(He,{})})})},[f,d]),n=t.jsx(yi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Di,{children:[t.jsx(Ne,{title:v.title,onBackClick:c,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:n,source:"treasury"}),t.jsxs(Ti,{windowSize:d,children:[t.jsxs(Li,{windowSize:d,children:[t.jsx(bi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Re,{accountHistory:e.accountHistory})})]}),t.jsx(vi,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Be,{treasuryDetail:e,onColumnSortConfigChanged:s}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Ii,{onClick:l,"data-testid":E("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Hi,{children:ji.reloadPage.label})]}):t.jsx($i,{children:t.jsx(Ke,{size:"ExtraLarge",start:!0})})]})},Be=$.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const s=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Pi,{windowSize:s,children:t.jsx(ri,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(zi,{})})});Be.displayName="TransactionListScreen";const bi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:s,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Mi,{children:[t.jsxs(X,{children:[t.jsx(Vi,{children:t.jsxs(V,{children:[K(be.zeniAccountList.totalAvailableBalance),s("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(_,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(X,{children:[t.jsxs(V,{children:[K(v.insuredFunds),s("insuredFunds")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(V,{children:K(v.insuredFundsAmount)})]}),r&&t.jsxs(Ai,{children:[t.jsxs(Ce,{children:[t.jsx(V,{children:K(be.common.totalYieldEarned)}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(_,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(V,{children:[K(v.sevenDayYield)," ",s("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Fi,{windowSize:a,children:[Ci(c??{},l),"%"]})})]})]})]})},vi=({analytics:e,fundsData:r,fundAllocation:s,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(to,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=se(j,d);return t.jsxs(io,{expanded:f,windowSize:y,children:[t.jsx(xo,{bgColor:p.headerBackground}),t.jsx(Si,{fund:x,fundIndex:j,fundAllocation:s!=null?s[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(oo,{children:t.jsxs(ao,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Ui,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(Co,{}),t.jsx(ki,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},Si=({fund:e,fundIndex:r,fundAllocation:s})=>{const c=M(),l=se(r,c),a=C();return t.jsxs(ro,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(no,{children:t.jsxs(lo,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[s,"%"]})]})}),t.jsxs(co,{color:l.fundNameColor,children:[t.jsx(X,{children:e.fundCompanyName}),t.jsx(X,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(po,{children:[v.fundTile.sevenDayYieldLabel,t.jsx(Ie,{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(He,{})})})]}),t.jsxs(ho,{windowSize:a,children:[e.yield,"%"]})]})})]})},ki=({analytics:e,fund:r,fundIndex:s,onHide:c})=>{const l=M(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=se(s,l);return t.jsxs(t.Fragment,{children:[t.jsx(yo,{children:r.description}),t.jsxs(fo,{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:Xe(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity,a.timeStrings.days]}),t.jsx(Y,{children:r.maturity})]}),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(wo,{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($o,{children:r.compositions.map((x,j)=>t.jsxs(jo,{children:[t.jsx(bo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),children:t.jsxs(vo,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(go,{children:[t.jsxs(So,{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(ko,{})]}),t.jsxs(mo,{onClick:c,children:[d.hide,t.jsx(Ji,{})]})]})]})};function Ci(e,r){let s=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(s+=c.yield*l)}return Number((s/100).toFixed(2))}const K=e=>t.jsx(Gi,{children:e}),zi=o.div`
320
320
  display: flex;
321
321
  flex-direction: column;
322
322
  align-items: center;
@@ -369,7 +369,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
369
369
  flex-direction: column;
370
370
  justify-content: center;
371
371
  align-items: center;
372
- `,Hi=o.div`
372
+ `,Ii=o.div`
373
373
  height: ${i.sp12};
374
374
  width: ${i.sp12};
375
375
  background: ${e=>e.theme.colors.background};
@@ -387,7 +387,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
387
387
  color: ${e=>e.theme.colors.primary};
388
388
  }
389
389
  }
390
- `,Ii=o(Me)`
390
+ `,Hi=o(Me)`
391
391
  margin-top: ${i.sp3};
392
392
  color: ${e=>e.theme.colors.hero};
393
393
  `,Yi=o(Le)`
@@ -421,10 +421,10 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
421
421
  flex: 1;
422
422
  min-width: 140px;
423
423
  flex-direction: column;
424
- `,Fi=o(k)`
424
+ `,Vi=o(k)`
425
425
  display: flex;
426
426
  color: ${e=>e.theme.colors.hero};
427
- `,Vi=o.div`
427
+ `,Fi=o.div`
428
428
  color: ${e=>e.theme.colors.success};
429
429
  ${e=>P.integerStyles.style(e.windowSize)};
430
430
  `,Wi=o.div`
@@ -444,7 +444,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
444
444
  fill: ${e=>e.theme.colors.grey5};
445
445
  `,ze=o(k)`
446
446
  color: ${e=>e.isSublabel===!0?w.neutralGrey1Light:w.brandColorPearl};
447
- `,F=o.div`
447
+ `,V=o.div`
448
448
  display: flex;
449
449
  gap: ${i.sp1};
450
450
  `,Gi=o(k)`
@@ -465,7 +465,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
465
465
  display: flex;
466
466
  align-items: baseline;
467
467
  color: ${e=>e.theme.colors.primary};
468
- `,He=o.div`
468
+ `,Ie=o.div`
469
469
  display: flex;
470
470
  color: ${e=>e.theme.colors.grey1};
471
471
  &:hover {
@@ -491,7 +491,7 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
491
491
  color: ${e=>e.theme.colors.hero};
492
492
  `,te=o.div`
493
493
  color: ${w.primaryDark};
494
- `,Ie=o(Fe)`
494
+ `,He=o(Ve)`
495
495
  width: ${i.sp3};
496
496
  height: ${i.sp3};
497
497
  color: ${e=>e.theme.colors.hero};
@@ -634,12 +634,12 @@ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,r as ie,Y a
634
634
  display: flex;
635
635
  flex-direction: column;
636
636
  padding: ${i.sp2} ${i.sp5};
637
- `,H=o.div`
637
+ `,I=o.div`
638
638
  display: flex;
639
639
  justify-content: space-between;
640
640
  align-items: flex-start;
641
641
  padding-bottom: ${i.sp1};
642
- `,I=o(A)`
642
+ `,H=o(A)`
643
643
  color: ${e=>e.theme.colors.hero};
644
644
  width: 140px;
645
645
  display: flex;