@zeniai/web-cockpit-ui 1.14.22-dev → 1.14.23-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 (244) hide show
  1. package/dist/assets/{ACHDetailsPage-Csc8UPGK-C5DTl14D.js → ACHDetailsPage-DZv7I3Jm-zPHhT4Vj.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BNK1zghX-CXpkKBhu.js → AIPerformancePage-DCq95N_N-DO8MzOBI.js} +26 -26
  3. package/dist/assets/{AccountInfoPage-WoQj1Knu-Cxdf_g3B.js → AccountInfoPage-wfDS5ToF-BkRJ-lxL.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BsiMZrTm-DfeZwew1.js → AccountInfoPageContent-dgeBtGlm-BSaBGsXw.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-CaIpZQOZ-DUBexURk.js → AccountLockedInfoModal-CqjvVPUE-Cma-cVvt.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BQTm9Igh-bRUuCvDt.js → AccountReconDetailsDrawerPage-BJ1TTvni-CnFKI7ya.js} +11 -11
  7. package/dist/assets/{AccountRow-mHhwnvVT-61DHuT3I.js → AccountRow-99zfxKet-iP3hUTyF.js} +19 -19
  8. package/dist/assets/{AccountsPromoCardStack-jk87J-uY-CYM3oaB-.js → AccountsPromoCardStack-CZwrQBcr-BLPwkeVU.js} +8 -8
  9. package/dist/assets/{AddAddressForCardDrawer-BY-ABNiB-C1fgvotd.js → AddAddressForCardDrawer-BcOX27nY-CA-KCO8n.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-BmaqhQ_z-fr9KNRwo.js → AddToWalletPage-CoW0Ppg4-WAfWgl1v.js} +14 -14
  11. package/dist/assets/{AgingReportsPage-B2tfefId-BY1ufaPI.js → AgingReportsPage-Dgi5oFl4-Cao6O7NF.js} +10 -10
  12. package/dist/assets/{AllUserItems-C5jB4yc_-bcEnXv8A.js → AllUserItems-6iESftSq-BBGiJxHd.js} +9 -9
  13. package/dist/assets/{ApAgingDetailPage-B-ZHX3JJ-Dm0NOaoH.js → ApAgingDetailPage-jEL75hOV-BLy4yEPM.js} +3 -3
  14. package/dist/assets/{AppBasePage-DOXcrTCE-BU2ssx1Y.js → AppBasePage-CMHbFdBh-DTT6hgO7.js} +3 -3
  15. package/dist/assets/{AppDrawerContent-Cav4Sy09-XmmoSBRe.js → AppDrawerContent-NAyrnDCL-B7ak2Xor.js} +40 -19
  16. package/dist/assets/{ApprovalRulesSettingsPage-rzr9k2jA-BhZWVqKA.js → ApprovalRulesSettingsPage-BWraRVsT-BRbAilw6.js} +5 -5
  17. package/dist/assets/{ArAgingChart-B3NtEWh--G5H5BTO1.js → ArAgingChart-DPrIHwSE-ym_zT_Xu.js} +9 -9
  18. package/dist/assets/{ArAgingDetailPage-uX2oVxj4-B2CH08AV.js → ArAgingDetailPage-CdNiD7uR-DccUXEIa.js} +4 -4
  19. package/dist/assets/{AttachmentView-BQMzs_UT-DjbZBXs7.js → AttachmentView-Cmh726Zl-C82E74gy.js} +3 -3
  20. package/dist/assets/{BankAccountSection-MWGcLsKa-DYMEitGJ.js → BankAccountSection-jRnEB-Ut-BpoXdxMl.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-CBlOG9xN-KyoF0Xjl.js → BankAccountWarningSection-KznYA-cf-CV3aOKhB.js} +3 -3
  22. package/dist/assets/{BankConnectionsSettingsPage-PagAlxUn-CnNwI2lQ.js → BankConnectionsSettingsPage-BXrsOxcg-CZU1wEnM.js} +15 -15
  23. package/dist/assets/{BillDetailPage-DU3KKWCI-Dgx7cNS3.js → BillDetailPage-glKjF2MJ-CxnS8ehW.js} +5 -5
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DzfhQmLn-0k3Mkm1z.js → BillPayApprovalRuleDetailPage-DyH2jp6G-BgnVnU6E.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-B051t9Mv-Bz466D-_.js → BillPayApprovalRulesPage-jctlpXwj-sMvcDhpz.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-DvBp9dFZ-DT65a4C3.js → BillPayPromoPage-DGyWwW1t-B2E2k4g7.js} +32 -32
  27. package/dist/assets/{BillPaySetUpPage-D7335PCo-lcC21Rm6.js → BillPaySetUpPage-UfM6FOqW-wZRanfNP.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-PsWVXatK-Df6MXAqh.js → BillingSettingsPage-BfMIxeqM-C_WtlbYK.js} +5 -5
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Dkq-bCpf-QfTbq_6Y.js → BillsBulkReviewDrawerPage-DhoLC2aT-Cih70QQk.js} +1 -1
  30. package/dist/assets/{BoxItem-Bf9DDBGl-B4tzyane.js → BoxItem-CIOib-WX-Cvut8WLk.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DZpS0b_1-DhH_xv3P.js → BusinessVerificationPage-Czf-y16x-BBZA7C_w.js} +14 -14
  32. package/dist/assets/{CardNumberSubText-8FNDlBHV-xefYK_FQ.js → CardNumberSubText-B8CivrXd-CzHZkmhR.js} +2 -2
  33. package/dist/assets/{CashbackDetailPage-CUc07auE-CayGCDQt.js → CashbackDetailPage-BOTxd8DW-CNmZsYqR.js} +17 -17
  34. package/dist/assets/{ChargeCardDetailPage-D84v0WwQ-Drf4gFgi.js → ChargeCardDetailPage-DbtvRfDc-CRGJceoy.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-BFssQAQg-Dr6YIgl1.js → ChargeCardListPage-Q1zat_TQ-BbazZeau.js} +18 -18
  36. package/dist/assets/{ChargeCardListTable-BuI0T0Bn-DXKO7Y7U.js → ChargeCardListTable-CKH-EZW4-CiPC1KQt.js} +28 -28
  37. package/dist/assets/{ChargeCardPromoPage-CRqyciNL-FrtjBhKN.js → ChargeCardPromoPage-BRkny-dl-BA8MhBiS.js} +30 -30
  38. package/dist/assets/ChargeCardSetupPage-DM15gWD1-rI_IQnGw.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-BtImi0Pc-D6s-jUZ3.js → ChargeCardStatementsPage-xedf3XEE-CzGfRvhd.js} +7 -7
  40. package/dist/assets/{ChargeCardUtils-DQztOSYJ-DZxY6wV1.js → ChargeCardUtils-D4KmVUMt-Bgc7_40s.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-BaGgoJZk-L4zZNkyz.js → ChaseOverlay-IbWtzNzT-CiTCJc7A.js} +10 -10
  42. package/dist/assets/{CheckDepositDrawerPage-90KwCes_-BFVP9Xnd.js → CheckDepositDrawerPage-BCIvt4pQ-BUO3GGvc.js} +6 -6
  43. package/dist/assets/{CollapsableReportTable-dCUjgg1X-DLs7OVqc.js → CollapsableReportTable-jOFcWQi9-BD7j44zD.js} +109 -109
  44. package/dist/assets/{CompanyOfficerDetailsSection-B5d06n1B-shOCzvZi.js → CompanyOfficerDetailsSection-DMCZTk1e-CevbfEQw.js} +20 -20
  45. package/dist/assets/{CompanyPassportCard-BOuhptIV-CVEQtf9Q.js → CompanyPassportCard-BbJLMFqe-CAuk2TxY.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-CPxR1IKu-B6sc0yZA.js → CompanyPassportPage-BwCMcjB9-C5l65FSQ.js} +25 -25
  47. package/dist/assets/{CompleteProfile-BIN-sI3M-1L7bxHe9.js → CompleteProfile-Dz4laW45-D0LCAfKu.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-nTrV9Xfw-D3DkhcOF.js → ConfettiBurst-B2j3QxzW-BoOT7g5H.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CQH4Gfy0-DBGaDkEf.js → CreateOrEditVendorPage-z2chPZUl-moxdaTde.js} +12 -12
  50. package/dist/assets/{CreditCardPaymentDrawerPage-C3PvfNmm-amz8Ne7l.js → CreditCardPaymentDrawerPage-Z9RiL1h7-BimNMSu_.js} +17 -17
  51. package/dist/assets/{CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js → CreditCardPaymentPlgSection-Cg-oo7DU-CbeaX1ko.js} +10 -10
  52. package/dist/assets/{CurrencySelectField-ltt1zExP-D2omcj4n.js → CurrencySelectField-CxNprN2u-CPSD5Bje.js} +2 -2
  53. package/dist/assets/{CustomerOnboardingActivationPage-Cst56yLP-ejyq0w3C.js → CustomerOnboardingActivationPage-diAJ07bX-sBysngto.js} +4 -4
  54. package/dist/assets/CustomerOnboardingContainerPage-BZzvupuA-CSzku5k4.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-H59MLCwU-KBQed5cV.js → CustomerOnboardingDetailPageSkeleton--8DBjaCm-B9kNPkv6.js} +11 -11
  56. package/dist/assets/CustomerOnboardingNoStepsPage-Ccq8kI-v-D3QEvGB2.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-1o2R-ghV-DIOBtRSu.js → CustomerOnboardingPage-s3GNwP8c-p7WLMkGR.js} +6 -6
  58. package/dist/assets/CustomerOnboardingProductSuitePage-C-tToXNK-4Ab_CkNQ.js +202 -0
  59. package/dist/assets/{Dashboard-CptSiho6-CYuyH4KA.js → Dashboard-BtcnzaY6-gJck50nw.js} +230 -230
  60. package/dist/assets/{DashboardReportPage-G32NOQFe-BOVMH67u.js → DashboardReportPage-C6jLfLtF-BPfMWD5H.js} +9 -8
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-s8Nl8CmH-Dm61fSUI.js +12 -0
  62. package/dist/assets/{DepositAccTransactionItem-CQX9MBK--x7S3np6v.js → DepositAccTransactionItem-Bm63W_1e-5FIgWMcL.js} +1 -1
  63. package/dist/assets/DepositAccTransactionListPage-D4QcTw4n-1uhB2yjw.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-Bgm_YYHM-C2zlQj9Q.js → DomesticWireDetailsPage-DX0BA5i3-Ea2aCTYV.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DN4zwFl5-BWBizCPI.js → DownloadOverlay-BcH72YTL-B8MaexAj.js} +1 -1
  66. package/dist/assets/{DrawerPage-B-jrvyA1-D5alUPyS.js → DrawerPage-CzHhh0IP-BIFSEwpr.js} +10 -10
  67. package/dist/assets/{EditPeoplePage-BTXEd5bm-DPBckywd.js → EditPeoplePage-Z5btEDax-BKTta_xp.js} +7 -7
  68. package/dist/assets/{EditReimbursementDetailPage-5-BeM3DC-BRw6nxEw.js → EditReimbursementDetailPage-D_FsqRgU-DhM4BWkK.js} +74 -74
  69. package/dist/assets/{EntityDetailPage-CCTwe1iu-DAg47Prp.js → EntityDetailPage-Bc4YVpPC-DWs1zPrx.js} +3 -3
  70. package/dist/assets/{EntitySummarySection-B7uoP2ou-DZ_drzmW.js → EntitySummarySection-Ba6AWxNi-BdQCQZ3F.js} +4 -4
  71. package/dist/assets/ExpenseAutomationOverviewPage-Cg0sM_PI-vkhdPOgy.js +222 -0
  72. package/dist/assets/{ExpenseAutomationPage-o8ox1q0R-W0eDJCTN.js → ExpenseAutomationPage-EjI20a6v-rIac0d4o.js} +90 -90
  73. package/dist/assets/{ExpressPayPage-BdUERste-C5P04O3w.js → ExpressPayPage-562vstqT-BTrZQzDN.js} +10 -10
  74. package/dist/assets/{FeaturePreviewPage-B6_exSoS-Do4_f9l1.js → FeaturePreviewPage-eUvRNjsx-D93wu9_Y.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BoA-EzkO-CtKbn8f6.js → FollowStepsSection-D60JM8h_-WgnL9DSD.js} +11 -11
  76. package/dist/assets/{GlobalReviewListPage-CYjobk5Y-BRiHcGuf.js → GlobalReviewListPage-BpXEtrb4-CJJjyGfo.js} +6 -6
  77. package/dist/assets/HelpButton-hflpTkYP-BxxKYxfC.js +28 -0
  78. package/dist/assets/{InformationCardStack-Dvu4sQsc-BlKJwxKC.js → InformationCardStack-BsxmscQq-CSrArWRb.js} +3 -3
  79. package/dist/assets/{InsightsCardStack-DffcRWuM-BTqxOdqS.js → InsightsCardStack-5JDl2mCA-CZ5TshWK.js} +7 -7
  80. package/dist/assets/{InsightsSection-C8Oi6wcZ-D3wuyBHx.js → InsightsSection-DsO5tfQL-CBUNqXt7.js} +4 -4
  81. package/dist/assets/{IntegrationsSettingsPage-C0VZQfG_-ks1Gh_uy.js → IntegrationsSettingsPage-MQDeidS6-BKVTNE0x.js} +6 -6
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-SAcvo9BB-BCh0Bmwt.js → InternationalWireSwiftDetailsPage-CpT4WPn3-b0nQCCWc.js} +14 -14
  83. package/dist/assets/{InternationalWireVerificationPage-8Ff3v4gu-BQsNCeNp.js → InternationalWireVerificationPage-DlBFLwxy-BIViCBlF.js} +5 -5
  84. package/dist/assets/InviteFormPage-D0QCEMkX-DZr12vmY.js +312 -0
  85. package/dist/assets/{InvitePageListView-DG91-L1w-HUdilJLK.js → InvitePageListView-CVf8HrhY-cBhycZNO.js} +24 -24
  86. package/dist/assets/{InvitePeoplePage-6ANmf4z2-D3l-3sjy.js → InvitePeoplePage-Dg7iuq2i-Cx5QFhMU.js} +4 -4
  87. package/dist/assets/{InvoiceUploadSection-C4O7GGrv-DEO_7ppT.js → InvoiceUploadSection-BuwWumE2-CTijWOqK.js} +5 -5
  88. package/dist/assets/{IssueChargeCardPage-gohjPIRu-KdDkWZ0o.js → IssueChargeCardPage-DL23WAiQ-CCNHr1-9.js} +26 -26
  89. package/dist/assets/{LabeledAddressValue-C6EUPzNB-f8CKs718.js → LabeledAddressValue-CnL_9Mgq-C1-zs_ut.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-DLou-2Lm-30_LmoCw.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-TB_2rc3R-DL54XhuW.js → LabeledControlledCheckBoxField-DqrqiFhz-GyWAbp3D.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CdgNcgTu-CwOMlXoT.js → LabeledCreatableSingleSelectField-CxnC4AFe-BOkJ5-5r.js} +8 -8
  93. package/dist/assets/{LabeledDocumentField-CzTqgS97-CVWMa21M.js → LabeledDocumentField-By7zV2VD-Deh87JH9.js} +4 -4
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CVzL0J5a-D5_Y7iWl.js → LabeledDropDownFormattedTextField-BF37XlAJ-B3ToXjDJ.js} +6 -6
  95. package/dist/assets/{LabeledText-BICN3vpf-Lk4PuYrJ.js → LabeledText-D4fC1Hz2-Cxv5m94v.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-VeWNep8c-tP0CG0Iv.js → LabeledUserSingleSelectWithSubtitlesField-DMxSLbjX-B9c0Mx1N.js} +7 -7
  97. package/dist/assets/{LabeledZeniRolesDropDownField--Jr1KizL-SyZHoQyC.js → LabeledZeniRolesDropDownField-CTA3JLz4-D4MXXizm.js} +17 -17
  98. package/dist/assets/{LinkJETransactionPage-BNWOmBHj-C6dNtx3m.js → LinkJETransactionPage-CLAyFAJh-Dm40KZjj.js} +5 -5
  99. package/dist/assets/{LowBalancePopup-Dhrtsv_E-B0rnJzet.js → LowBalancePopup-TCSP5zrD-BmN6CG0D.js} +7 -7
  100. package/dist/assets/{MagicLinkACHDetailsPage-Brt9q6YZ-ByLyPANb.js → MagicLinkACHDetailsPage-C9sNEDPT-D6e_XUAG.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CkSEgmKP-DxqY0_R2.js → MagicLinkDomesticWireDetailsPage-D4C-a5QY-DOB7ds5g.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CqYC7uu7-CV88Q6h1.js → MagicLinkInternationalWireDetailsPage-oKAXWkRz-ICvIdgn3.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-VR-HSAYZ-DUCuiXm5.js → MagicLinkSuccessPage-DTKe1Hxk-D3l_qzGn.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-T6m2zH4A-C4uTRZc1.js → MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-B6ZCAac5-CjQ8hXZb.js → MailingDetailsSection-DOuPh_kK-CJdFvtR9.js} +6 -6
  106. package/dist/assets/{MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js → MeetingCalenderPopup-Bn5picNg-BZadZTcq.js} +1 -1
  107. package/dist/assets/{Menu-DOJJ_REW-BwD6B3Nk.js → Menu-D_vf2LDo-39KwK8wM.js} +3 -3
  108. package/dist/assets/{MyBankConnectionsSettingsPage-C_NrRV7T-BjsWlM7P.js → MyBankConnectionsSettingsPage-DJZVD_j4-CYkcPYeU.js} +14 -14
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-CNHCZPs--fg7FpZSk.js → MyPendingActivationChargeCardListPage-DyhXBMCi-DtFEW_4I.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-CIfFufvo-uBNLzBNw.js → MyProfileSettingsPage-gPNoKP10-gCIICwqR.js} +10 -10
  111. package/dist/assets/{NavBarWithPicker-CvhnGryh-CauN1w5W.js → NavBarWithPicker-BlYfbDi0-BiD5rNBH.js} +5 -5
  112. package/dist/assets/{NavigationArrow-CXkUidH6-fqvGvSGZ.js → NavigationArrow-CQ_K0Bon-C-8VFiTg.js} +1 -1
  113. package/dist/assets/{NavigationDots-hBq7kHVj-Vj1p5Rqn.js → NavigationDots-CI0cjpQA-B6oVaxeu.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-DORHvz4D-CYDIdofb.js → NewGlobalMerchantPage-BHQiRWO8-or4Uc_HY.js} +6 -6
  115. package/dist/assets/{NoDataChart-C4KqN3ua-6H0vHNsB.js → NoDataChart-Dg1_sU_O-flEThGvM.js} +1 -1
  116. package/dist/assets/{NoDataTable-DaX07HI0-B6ZwwCAM.js → NoDataTable-qTYBbL2H-BGrSHe_q.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BIh20jzm-BXLRcjFX.js → NotFoundPage-DYjrSF7l-D7C6Z_Gh.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-gU3g8rJ2-Au_WueGH.js → NotificationSettingsPage-DZHlnrbH-D8paihJx.js} +13 -13
  119. package/dist/assets/NotificationsListConfig-BSBZHM3y-CGdVXHfi.js +1 -0
  120. package/dist/assets/{NotificationsPage-oy3LHVU2-C0LKRRGq.js → NotificationsPage-QgnztPHs-CnFUIBHp.js} +35 -35
  121. package/dist/assets/{OpExByVendorPage-D8jXzTd6-CpwZHxBM.js → OpExByVendorPage-_AMvFFwS-DGSt9CNm.js} +7 -7
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-Drnebvl5.js → OverlayContainerPage-Bmu909Fo-CI9x-FUu.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-BQW2_QDB-BVhcDW_t.js → PandLWithForecastPage-D_3EfFjd-JoBuR2Ry.js} +10 -10
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CY9QJXXs-ByBDQvaD.js → PaymentAccountSetupBillingAddressSection-Ch5yJBuG-Czoqfz5V.js} +5 -5
  125. package/dist/assets/{PeoplePage-B7s3mjRX-BNB49xB2.js → PeoplePage-DZr3Lusf-M76DhnJE.js} +23 -23
  126. package/dist/assets/PortfolioAllocationFormPage-Byu_8Js7-CWAHnet9.js +207 -0
  127. package/dist/assets/{PortfolioDetails-BFqRNjFs-DdtIdWXw.js → PortfolioDetails-BH-sfG9j-CdKUfZw3.js} +19 -19
  128. package/dist/assets/{ProductsCarousel-BaTq9uMB-DT3_7m1I.js → ProductsCarousel-C4J19mb--DcgR5jdw.js} +5 -5
  129. package/dist/assets/{PromoBaseCards-Bf3Dizji-DFvWixK1.js → PromoBaseCards-Bj4SLu8_-CC7a127A.js} +7 -7
  130. package/dist/assets/{QBOConnectionDialog-DhOSSZ5O-BcCZx_dG.js → QBOConnectionDialog-Bx6ZDEvY-BRYqXjwh.js} +7 -7
  131. package/dist/assets/{QBOSetupSection-BWJoUKzu-DC5g6xXu.js → QBOSetupSection-BCdoUjwK-BF2gwacX.js} +9 -9
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CiebC6vq-B0xwHjcZ.js → ReimbursementApprovalRuleDetailPage-DsTMXav9-B1Ngpniy.js} +2 -2
  133. package/dist/assets/{ReimbursementApprovalRulesPage-gKLkrIyV-DxnMuJiA.js → ReimbursementApprovalRulesPage-CJLcH9Ov--aMB2wIm.js} +9 -9
  134. package/dist/assets/{ReimbursementDetailPage-BF4vlfIm-A5yNZHmb.js → ReimbursementDetailPage-Ctgt3Dcz-Bah5s5HT.js} +11 -11
  135. package/dist/assets/{ReimbursementPromoPage-BFwztEak-CceCs1UK.js → ReimbursementPromoPage-DCmevd5G-RVnIiUe8.js} +14 -14
  136. package/dist/assets/{ReimbursementSetUpPage-D1AVnqd4-CKntMkOU.js → ReimbursementSetUpPage-Dc9xJUbM-BRgUtgcr.js} +4 -4
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BsqdpOS_-B3Pgz4a_.js → ReimbursementsBulkReviewDrawerPage-CKjHGxjw-DAh9TKrH.js} +1 -1
  138. package/dist/assets/{ReloadCard-BmYf1NZf-DhNr8urp.js → ReloadCard-DxJMY9If-DFVN_BWj.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-yTxheyC3-CSqeEY6U.js → ReportTableViewSelector-lMBROmrI-C57N0Ev_.js} +11 -11
  140. package/dist/assets/{ReportsPage-DZtCp9CP-GUEOyiOt.js → ReportsPage-DMYLnwc7-C986BuH8.js} +10 -10
  141. package/dist/assets/{RevenueChart-CXSh5l_p-dQ5RnZTk.js → RevenueChart-DD8vb3zi-DI64DZjn.js} +1 -1
  142. package/dist/assets/ReviewDetailsPage-C-6hNb3q-Bs8iB-Q6.js +290 -0
  143. package/dist/assets/{ReviewOverlay-B2jf6tfG-D_9vNPuM.js → ReviewOverlay-sqbjCjkE-BYmWnWTV.js} +10 -10
  144. package/dist/assets/{RoleWithToolTip-DHdLJcWR-GnlXHGj6.js → RoleWithToolTip-BpMhPbAJ-D4xuhbtR.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CY0i2n7i-9GRv9Sh2.js → ScheduleDetailsFixedAssetsPage-D1uRcS4p-n5wC_akR.js} +8 -8
  146. package/dist/assets/{ScheduleDetailsPage-CVh8-Sc9-BcDI1QHR.js → ScheduleDetailsPage-D8Cvxd7m-bSm3GRae.js} +4 -4
  147. package/dist/assets/{ScheduleSequenceTable-8qqeMhAk-COgow_cL.js → ScheduleSequenceTable-CvqXlh31-iJzQjEX9.js} +50 -50
  148. package/dist/assets/{ScreenRoutes-HggFEvBU.js → ScreenRoutes-CG3ALmQe.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-CDXmRiGQ-DykmFmYq.js +378 -0
  150. package/dist/assets/{SetUpDefaultSection-BM57n5BV-BGP1G39B.js → SetUpDefaultSection-VPie4JZS-CUUkgLvy.js} +6 -6
  151. package/dist/assets/SignIn-9DfCxy9Q-D5TOW1KJ.js +407 -0
  152. package/dist/assets/{SignInScreen-BP8BTBPi.js → SignInScreen-C5ZC9m_8.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-BphSarNr-olaU5e62.js → SpendManagementListViewPage-Q5bQb3hk-BwLto-DN.js} +4 -4
  154. package/dist/assets/{SpendManagementPerTabPage-DCkS4HuZ-BoJws23h.js → SpendManagementPerTabPage-CD-kDdxa-BPnAzojr.js} +26 -26
  155. package/dist/assets/{SpendManagementSection-DKqHikhq-CsTWl7zh.js → SpendManagementSection-DGGOMGEz-BERrqLUW.js} +6 -6
  156. package/dist/assets/{SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js → SpendMgmtSetupAccountSection-CjqaRCUW-DdnBx9W6.js} +21 -21
  157. package/dist/assets/{StatementItem-Ki_Mzpf9-D38JqRpj.js → StatementItem-1vBLASxl-Bg-WCzCW.js} +4 -4
  158. package/dist/assets/{StatementsPage-B6XMWWpt-Dr9BGLnN.js → StatementsPage-cCluGN33-CUSb15rA.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-BkAnAbyd-DQZA1a3w.js → StatusSwitcher-efLzDuyw-yZjEoNnl.js} +2 -2
  160. package/dist/assets/{SubTabSwitcher-Au3snima-DElPxhu-.js → SubTabSwitcher-BfYlJKJ6-0yeg6J8n.js} +1 -1
  161. package/dist/assets/{SummaryCard-B-IXQpJ7-Dg8CCNrn.js → SummaryCard-BsPejHZG-DSp7yYcI.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BPNEy-p0-BIbh7B8y.js → TaskManagementPage-CkdITpbn-BnN3mtBv.js} +31 -31
  163. package/dist/assets/{TimeRangeSwitcher-DpDC0FGn-CoKhjSY7.js → TimeRangeSwitcher-DVB0vP5W-Bka-ygDj.js} +5 -5
  164. package/dist/assets/{TimeframeSwitcher-D1cuigpc-D9PCDoa0.js → TimeframeSwitcher-BmhH741X-Bq2UrAGM.js} +2 -2
  165. package/dist/assets/{TimeframeSwitcherWithToggle-_2U17Wg0-Cc6NrQTz.js → TimeframeSwitcherWithToggle-B1bMIGal-PXrqXkjU.js} +1 -1
  166. package/dist/assets/{TopExCard-BWOozDK3-GMojpRJp.js → TopExCard-DBuo1QUF-Bqy_yS0O.js} +6 -6
  167. package/dist/assets/{TopExDetailPage-DpYLakrO-vsCGpsy3.js → TopExDetailPage-CGPgaWRb-BefBmW9C.js} +20 -20
  168. package/dist/assets/TransactionDetailPage-BUP-dxVE-Bluz2ZEA.js +912 -0
  169. package/dist/assets/TransactionList-DP9cEVya-Dnf5dIML.js +147 -0
  170. package/dist/assets/{TransactionListBig-CefZbd83-D9G3vxbN.js → TransactionListBig-B_s15U1P-DxO9dvuT.js} +15 -15
  171. package/dist/assets/{TransactionListPage-CM319tsV-DkNHohDS.js → TransactionListPage-DpYLFl8A-CtiLL9up.js} +6 -6
  172. package/dist/assets/{TransactionVendorDetailPage-Z7O-juRN-D3T9JsrE.js → TransactionVendorDetailPage-DqqSV533-DMSzEnyq.js} +4 -4
  173. package/dist/assets/{TransferDrawerPage-0vQtF6ID-fpHDlHlf.js → TransferDrawerPage-CxdQzo0m-DrhEn9ys.js} +79 -79
  174. package/dist/assets/{TreasuryOverviewPage-DaCuL9FX-BtE7UAml.js → TreasuryOverviewPage-D7vqj60i-DA26_cse.js} +22 -22
  175. package/dist/assets/{TreasuryPromoPage-BQ6Cuqoa-DpBYobqK.js → TreasuryPromoPage-BuxEHMpT-BDwacXK1.js} +12 -12
  176. package/dist/assets/{TreasurySetupPage-BJRBNCvY-DTKYqc-u.js → TreasurySetupPage-BIfbbeL3-V_YXLN-n.js} +4 -4
  177. package/dist/assets/{TreasuryStatementsPage-z6cg-MO_-B6xE_NLh.js → TreasuryStatementsPage-BeUdQZBc-XNPULVYt.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-DP-c4Sqo-DJ913yYo.js → TreasuryTaxLetterPage-uFRMjqLn-CGfm28c4.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BGfIlPXx-DSEBAJOM.js → TreasuryTransferOrReviewPage-BWybwqhc-Cp5gifXq.js} +27 -27
  180. package/dist/assets/{TrendChart-BAMRDfp7-BazRtItt.js → TrendChart-7kPgcETh-CZhHOMVt.js} +4 -4
  181. package/dist/assets/{TrendWithTransactions-CgbouMHP-BeJkYy2u.js → TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js} +8 -8
  182. package/dist/assets/{UncategorizedAccountsMappingPage-DUVjNpg2--ZQ9jdii.js → UncategorizedAccountsMappingPage-DEkSWWRY-BWS3cZYH.js} +11 -11
  183. package/dist/assets/{UnitIntegrationPage-DSWbn8gm-BF5pvmYs.js → UnitIntegrationPage-B5yzIJDg-DXMgkfWr.js} +3 -3
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-BFn9gixM-TNCvf1wH.js → UploadAdditionalDocumentOverlay-Deu0hM2I-3QkNgcQ9.js} +8 -8
  185. package/dist/assets/{Vendor2FAPopup-CA-cVVNX-Br4ikl9I.js → Vendor2FAPopup-DUyiI_-r-CLW3sS1X.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-Hdw6gHNB-D1EJLe9f.js → VendorACHDetailsPage-DycUU3MN-Bh437Vzf.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CceVHonS-DTF5QB-w.js → VendorDetailPage-B9pWIvXP-p9O1B1Vq.js} +21 -21
  188. package/dist/assets/{VendorDomesticWireDetailsPage-ChF-hj1o-CRNdIBeH.js → VendorDomesticWireDetailsPage-Cs35uQOp-DDOAIhlv.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BnMmu8g4-D-QjmAYA.js → VendorFiling1099EditablePage-BeuSWFCY-Ca6Gux7v.js} +11 -11
  190. package/dist/assets/{VendorFirstReviewPage-C9LNBxKs-iubpjCjr.js → VendorFirstReviewPage-ANhBsl69-D02KU5IA.js} +63 -63
  191. package/dist/assets/{VendorInternationalWireDetailsPage-B8F_1TYL-CehAU7df.js → VendorInternationalWireDetailsPage-BShiEKaz-BZSIpE6n.js} +31 -31
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-HuCjhvn4-DolPnQw8.js → VendorInternationalWireSwiftDetailsPage-B_NlK1ak-UtHTf4LD.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-Cj3NFdKN-B9ouaYU2.js → VendorsAccountsSection-BclWgEaB-DOMr50bF.js} +4 -4
  194. package/dist/assets/VerifyDevice-CRrOo66b-ZlA7gEbg.js +97 -0
  195. package/dist/assets/{VideoPopup-0LSxcyRX-CeJLs_Z5.js → VideoPopup-qS-ig_U0-VKyag34q.js} +3 -3
  196. package/dist/assets/{WarningsDrawerPage-DR9oeIuj-B1HHe12t.js → WarningsDrawerPage-DgRtxLoa-C9d8WcDP.js} +2 -2
  197. package/dist/assets/{ZeniAccountDetailPage-DHl0vyQ0-D4m750Dj.js → ZeniAccountDetailPage-B66nIr0V-6bf8tksW.js} +21 -21
  198. package/dist/assets/{ZeniAccountListViewPage-BC1yUQbd-DA-thvu8.js → ZeniAccountListViewPage-CWhZKmoP-42K6r0wR.js} +10 -10
  199. package/dist/assets/{ZeniAccountNavBarPieces-CpKh4Vxw-CQBSadEV.js → ZeniAccountNavBarPieces-C6MQhfnU-CnbDnx7e.js} +2 -2
  200. package/dist/assets/{ZeniAccountPromoPage-BaRzPlIW-DDgMDs51.js → ZeniAccountPromoPage-C-oF3-HO-DisOzRKq.js} +16 -16
  201. package/dist/assets/{ZeniAccountSetupPage-CveI2__B-BL7QVBOR.js → ZeniAccountSetupPage-DY-nCuiT-B3gBHMad.js} +4 -4
  202. package/dist/assets/{ZeniCopyright-D6e3OekQ-3nIDquq3.js → ZeniCopyright-rY1T9xhh-Dfov-yky.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-BqyHxYBn-DOVMp_BS.js → ZeniTransferAmountSlider-Bh5zkWst-Bed32C-4.js} +1 -1
  204. package/dist/assets/analytics-B3n5JGPc.js +7 -0
  205. package/dist/assets/{analyticsHelper-q5gZKv1q.js → analyticsHelper-B0L0ncmN.js} +1 -1
  206. package/dist/assets/{analyticsHelper-CYiy63P3-BIFQ1l_N.js → analyticsHelper-BcJgRhqY-D6z677ff.js} +1 -1
  207. package/dist/assets/chartTypes-BoblEsVF-BVffEXCf.js +1 -0
  208. package/dist/assets/{commonDimensions-DbTYS1hy-sQ0jQuuT.js → commonDimensions-CFd7y7qU-C7Jvc2Ks.js} +1 -1
  209. package/dist/assets/{detailCommon-BeqWtSZF-C3x-L6T7.js → detailCommon-MYixZ3RD-BFmVTLGA.js} +6 -6
  210. package/dist/assets/{downloadPdf-CLTp2aZt-DDw4mfQ_.js → downloadPdf-CgupyHRa-D9AEGU0d.js} +1 -1
  211. package/dist/assets/{index-P_4M6V8j.js → index-B8OsEhOZ.js} +753 -749
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-Dl_IFb2l-Dr2U1vob.js → mapLoadingInProgressToTreeNode-B8Y_euQR-DOx1e8cj.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BAhSN9Et-BvR2g837.js → mapSectionWithAcOnlyToTreeNode-jBSc45Na-BDZbXmNV.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-3b46l63c-C8ssHh5s.js → mapSpacerToTreeNode-COy8gZAM-BaCmq5hE.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-3pTXOISe-CgCBO3AW.js → mapTimeframeBalancesToTreeNode-BodkMcFj-QmE2hfm4.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DJqcH4tL-s-wMhKIa.js → mapTimeframeBalancesToTreeNode-DXla81BF-zj0mJKeb.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-yhbtLbK2-Buokl7Z0.js → mapTimeframeHeaderLoadingInProgressToTreeNode-XVJ2Hm74-BHeVK-te.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-D49XFhoj-DjL9meL6.js → toCOABalancesWithID-CndsNNsv-CWYFJv_O.js} +1 -1
  219. package/dist/assets/{toChartData-C9pHl0xA-CKVc0-Yj.js → toChartData-B9eYLI57-CKqynvrs.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-CkjbPhqI-PraXB90r.js → treasuryColorHelper-D4iDeX95-DVOhzALi.js} +1 -1
  221. package/dist/assets/{uploadAttachment-BniS82zn-BreMBxbN.js → uploadAttachment-C2I6mBBB-CPoUzWwI.js} +14 -14
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-wO4Dla2j.js → uploadReceipts-dxsKhm9I-YtN4h-4H.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +4 -4
  225. package/dist/assets/ChargeCardSetupPage-BzqdaEET-j6EBeAK_.js +0 -36
  226. package/dist/assets/CustomerOnboardingContainerPage-B9rA9JXM-C9nb1PSk.js +0 -1
  227. package/dist/assets/CustomerOnboardingNoStepsPage-B8cf9wWc-DoeA9g-j.js +0 -66
  228. package/dist/assets/CustomerOnboardingProductSuitePage-Dfv86gVc-xcmudBbw.js +0 -202
  229. package/dist/assets/DashboardSidebarBackgroundAnimation-DTkdczBR-Dm25xp1J.js +0 -12
  230. package/dist/assets/DepositAccTransactionListPage-C6lB4Qyv-67Okcjlq.js +0 -66
  231. package/dist/assets/ExpenseAutomationOverviewPage-Bz-2JPdW-DaIoHdOM.js +0 -222
  232. package/dist/assets/HelpButton-DEwtg0Ez-BLNCXJFp.js +0 -28
  233. package/dist/assets/InviteFormPage-CRRvruND-BlSp_6On.js +0 -312
  234. package/dist/assets/LabeledAddressValueField-CC4nYBb8-CmuRvhjZ.js +0 -45
  235. package/dist/assets/NotificationsListConfig-C14JCaD1-cAHM1Kht.js +0 -1
  236. package/dist/assets/PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js +0 -207
  237. package/dist/assets/ReviewDetailsPage-DG7ms5Hy-bXyI7cqb.js +0 -290
  238. package/dist/assets/SetUpAccountSection-CKdSkMBO-Dgf4iucH.js +0 -378
  239. package/dist/assets/SignIn-BMjCrrGx-DVM_TdnN.js +0 -407
  240. package/dist/assets/TransactionDetailPage-Bxzam_ho-gn2TcHkj.js +0 -878
  241. package/dist/assets/TransactionList-CEfjoVPA-DR1uAuMl.js +0 -147
  242. package/dist/assets/VerifyDevice-dg83_W2W-DmiPoszu.js +0 -96
  243. package/dist/assets/analytics-CBL_L82S.js +0 -7
  244. package/dist/assets/chartTypes-sx4859ds-GbS6VOEl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v as ie,_ as E,m as Fe,o as i,i as k,g as w,b5 as We,C as u,cU as _,X as R,l as W,q as h,gX as le,as as de,av as ce,au as he,at as pe,b8 as Ve,bf as Le,a5 as Me,Y as Ee,fq as Ue,gr as Je,J as Ge,n as A,ae as Xe,iA as _e,jb as qe,az as Ze,eJ as Qe,d7 as et,f6 as tt,ai as it,bZ as ot,i9 as rt,ia as at,ka as nt,bm as st,B as U,c2 as xe,ic as lt,c5 as dt,id as ct,ie as ht}from"./index-P_4M6V8j.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-DbTYS1hy-sQ0jQuuT.js";import{g as me}from"./BoxItem-Bf9DDBGl-B4tzyane.js";import{l as ne,d as gt}from"./treasuryColorHelper-CkjbPhqI-PraXB90r.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],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(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(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(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{e as C,u as M,x as Ne,bJ as Ye,j as t,M as L,a0 as W,bB as ae,aX as Ke,v as ie,$ as E,n as Fe,o as i,i as k,g as w,b6 as Ve,C as u,cV as _,X as R,m as V,s as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as We,bg as Le,a6 as Me,Y as Ee,fq as Ue,gr as Je,J as Xe,p as A,af as Ge,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,B as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-B8OsEhOZ.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import{g as me}from"./BoxItem-CIOib-WX-Cvut8WLk.js";import{l as ne,d as gt}from"./treasuryColorHelper-D4iDeX95-DVOhzALi.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],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(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(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(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -95,7 +95,7 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
95
95
  cursor: pointer;
96
96
  gap: 5px;
97
97
  color: ${e=>e.theme.colors.primary};
98
- `,J={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 At({data:e,boxType:r}){const{description:n,amount:c,status:l,date:a}=e,y=V("0,0.00",c),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),j=x[0].width,f=x[1].width,p=x[2].width,s=gt(l);if(d==="small"){const b=t.jsx(Ft,{children:t.jsxs(Wt,{children:[t.jsxs(Vt,{children:[t.jsxs(Ut,{children:[t.jsx(fe,{}),t.jsx(Jt,{children:t.jsx(Gt,{children:t.jsxs(Xt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(_t,{}),t.jsx(qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Zt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Bt,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Nt,{windowSize:d,children:[t.jsx(Kt,{}),t.jsx(Yt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Bt=o.div`
98
+ `,J={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 At({data:e,boxType:r}){const{description:n,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,s=gt(l);if(d==="small"){const b=t.jsx(Ft,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Ut,{children:[t.jsx(fe,{}),t.jsx(Jt,{children:t.jsx(Xt,{children:t.jsxs(Gt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(_t,{}),t.jsx(qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Qt,{children:t.jsx(Zt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:y})})})]})});return t.jsx(me,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Bt,{windowSize:d,children:[t.jsxs(Ot,{windowSize:d,width:j,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Nt,{windowSize:d,children:[t.jsx(Kt,{}),t.jsx(Yt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Rt,{windowSize:d,width:f,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:p,children:t.jsx($e,{children:y})})]});return t.jsx(me,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Bt=o.div`
99
99
  width: 100%;
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
@@ -186,12 +186,12 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
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
- `,Wt=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
+ `,Wt=o.div`
195
195
  display: flex;
196
196
  flex-direction: column;
197
197
  flex: 1;
@@ -213,9 +213,9 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
213
213
  margin-left: ${i.sp3};
214
214
  flex: 1;
215
215
  min-width: 0;
216
- `,Gt=o.div`
216
+ `,Xt=o.div`
217
217
  width: 100%;
218
- `,Xt=o(A)`
218
+ `,Gt=o(A)`
219
219
  display: block;
220
220
  color: ${e=>e.theme.colors.hero};
221
221
  line-height: 1.4;
@@ -235,12 +235,12 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
235
235
  display: inline;
236
236
  color: ${e=>e.color};
237
237
  white-space: nowrap;
238
- `,Zt=o.div`
238
+ `,Qt=o.div`
239
239
  display: flex;
240
240
  align-items: center;
241
241
  margin-top: ${i.sp1};
242
242
  margin-left: ${i.sp6};
243
- `,Qt=o(U)`
243
+ `,Zt=o(U)`
244
244
  color: ${e=>e.theme.colors.grey1};
245
245
  text-align: left;
246
246
  `,ei=o.div`
@@ -296,7 +296,7 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
296
296
  position: relative;
297
297
  width: auto;
298
298
  height: 100%;
299
- `,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>W.stringToUnionStrict(e??"",ui),G=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:G.editPortfolio},{value:"taxLetter",label:G.taxLetter},{value:"statements",label:G.statements},{value:"settings",label:G.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ee(),c=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ue(n),y=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Je,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?y:je}),!a&&(c==="small"?t.jsx($i,{onClick:r}):t.jsx(Ge,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
299
+ `,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>V.stringToUnionStrict(e??"",ui),X=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:X.editPortfolio},{value:"taxLetter",label:X.taxLetter},{value:"statements",label:X.statements},{value:"settings",label:X.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ee(),c=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ue(n),y=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(Je,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?y:je}),!a&&(c==="small"?t.jsx($i,{onClick:r}):t.jsx(Xe,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
300
300
  display: flex;
301
301
  flex-direction: row;
302
302
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
@@ -314,7 +314,7 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
314
314
  justify-content: center;
315
315
  align-items: center;
316
316
  background-color: ${e=>e.theme.colors.grey4};
317
- `,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new 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:bi}=L.getLocalizedStrings(),Oe=$.memo(({accountHistory:e})=>{const r=C(),n=M(),[c,l]=$.useState(),a=$.useMemo(()=>{const s=W.zeniDate(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const B=D/6;let O;return B<.5?O=0:B<.6?O=.9*((B-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),y=$.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=$.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=W.zeniDate(m[0].payload?.date??"").format(q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),j=$.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let B=!1;e.accountHistoryWithBalance.length>360&&(B=!0);const O=B?W.zeniDate(D).format(q.visual.MMMformat):W.zeniDate(D).format(q.visual.MMMDFormat);return t.jsx(Ri,{translateX:b,translateY:z,children:t.jsx(Ki,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==s||c?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Fi,{children:d?t.jsxs(eo,{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:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(ce,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>j(s),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:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{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:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>j(s),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(Ve,{position:c,content:({payload:s})=>x(s),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)"})]})})})});Oe.displayName="AccountBalanceGraph";const Fo=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=M(),x=Ne().analytics;Ye({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const 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(Zi,{children:[t.jsx(qi,{children:v.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",f?.totalBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",f?.processingBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("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(yo,{}):t.jsx(He,{})})})},[f,d]),s=t.jsx(fi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Ti,{children:[t.jsx(Ke,{title:v.title,onBackClick:c,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Oe,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Re,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":E("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ni,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})})]})},Re=$.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});Re.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Ai,{children:[t.jsxs(X,{children:[t.jsx(Wi,{children:t.jsxs(F,{children:[K(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(_i,{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),n("insuredFunds")]}),t.jsx(Z,{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(Bi,{children:[t.jsxs(Ce,{children:[t.jsx(F,{children:K(be.common.totalYieldEarned)}),t.jsx(Z,{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)," ",n("sevenDayYield")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Vi,{windowSize:a,children:[zi(c??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=ne(j,d);return t.jsxs(oo,{expanded:f,windowSize:y,children:[t.jsx(go,{bgColor:p.headerBackground}),t.jsx(ki,{fund:x,fundIndex:j,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Gi,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const c=M(),l=ne(r,c),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(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(xo,{children:[v.sevenDayYield,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(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:c})=>{const l=M(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(N,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.fundSize]}),t.jsx(N,{color:g.fundNameColor,children:_e(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.maturity]}),t.jsxs(N,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.expenseRatio]}),t.jsxs(N,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.riskRating]}),t.jsx(N,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.composition]}),t.jsx(N,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,j)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:c,children:[d.hide,t.jsx(Xi,{})]})]})]})};function zi(e,r){let n=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(n+=c.yield*l)}return Number((n/100).toFixed(2))}const K=e=>t.jsx(Ji,{children:e}),Pi=o.div`
317
+ `,P={tickLabelText:new R("extraSmallRegular","smallRegular"),balanceIntegerStyles:new R("h5Regular","h3Regular"),integerStyles:new R("largeRegular","h6Regular"),decimalStyles:new R("standardRegular","standardRegular"),fundSummaryStyles:new R("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new R("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new 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:bi}=L.getLocalizedStrings(),Oe=$.memo(({accountHistory:e})=>{const r=C(),n=M(),[c,l]=$.useState(),a=$.useMemo(()=>{const s=V.zeniDate(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const B=D/6;let O;return B<.5?O=0:B<.6?O=.9*((B-.5)/.09999999999999998):O=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:O}})},[]),y=$.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=$.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=$.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=W("0,0[.]00",D),b=V.zeniDate(m[0].payload?.date??"").format(q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),j=$.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let B=!1;e.accountHistoryWithBalance.length>360&&(B=!0);const O=B?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(Ki,{windowSize:r,dy:20,dx:-25,children:O})})},[e.accountHistoryWithBalance.length,r]),f=$.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(c?.x!==s||c?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:h[1]})),[c]),p=$.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Fi,{children:d?t.jsxs(eo,{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:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(ce,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>j(s),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:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Zi,{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:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>j(s),padding:{right:h[4]},interval:p}),t.jsx(he,{tick:!1,axisLine:!1}),t.jsx(We,{position:c,content:({payload:s})=>x(s),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)"})]})})})});Oe.displayName="AccountBalanceGraph";const Fo=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:y})=>{const d=C(),g=M(),x=Ne().analytics;Ye({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const 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(qi,{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(yo,{}):t.jsx(He,{})})})},[f,d]),s=t.jsx(fi,{onOptionSelection:j,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),y()}});return t.jsxs(Ti,{children:[t.jsx(Ke,{title:v.title,onBackClick:c,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:p,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Oi,{windowSize:d,children:t.jsx(Oe,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(Re,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":E("account-detail-reload"),children:t.jsx(Yi,{})}),t.jsx(Ni,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})})]})},Re=$.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});Re.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:c,fundsData:l})=>{const a=C(),[y,d]=$.useState(!1);return $.useEffect(()=>{y===!0&&setTimeout(()=>{d(!1)},800)},[y]),t.jsxs(Ai,{children:[t.jsxs(G,{children:[t.jsx(Vi,{children:t.jsxs(F,{children:[K(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(_i,{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(G,{children:[t.jsxs(F,{children:[K(v.insuredFunds),n("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(Bi,{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)," ",n("sevenDayYield")]}),t.jsx(Q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(c??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:c})=>{const[l,a]=$.useState(!1),y=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:y,allTilesExpanded:l,children:r.map((x,j)=>{const f=l,p=ne(j,d);return t.jsxs(oo,{expanded:f,windowSize:y,children:[t.jsx(go,{bgColor:p.headerBackground}),t.jsx(ki,{fund:x,fundIndex:j,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:c}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(Xi,{})]})}),f&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:j,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const c=M(),l=ne(r,c),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(G,{children:e.fundCompanyName}),t.jsx(G,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(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(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:c})=>{const l=M(),{common:a,spendManagement:y}=L.getLocalizedStrings(),d=y.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," Liquidity"]}),t.jsx(N,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.fundSize]}),t.jsx(N,{color:g.fundNameColor,children:_e(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.maturity]}),t.jsxs(N,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.expenseRatio]}),t.jsxs(N,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.riskRating]}),t.jsx(N,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(Y,{})," ",d.composition]}),t.jsx(N,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,j)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},j))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:c,children:[d.hide,t.jsx(Gi,{})]})]})]})};function zi(e,r){let n=0;for(const c of r){const l=e[c.fundCode]??0;l>0&&c.yield!=null&&(n+=c.yield*l)}return Number((n/100).toFixed(2))}const K=e=>t.jsx(Ji,{children:e}),Pi=o.div`
318
318
  display: flex;
319
319
  flex-direction: column;
320
320
  align-items: center;
@@ -347,7 +347,7 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
347
347
  gap: ${i.sp4};
348
348
  flex-direction: column;
349
349
  justify-content: space-between;
350
- `,X=o.div``,Bi=o.div`
350
+ `,G=o.div``,Bi=o.div`
351
351
  display: flex;
352
352
  flex-direction: row;
353
353
  gap: ${i.sp6};
@@ -410,7 +410,7 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
410
410
  }
411
411
  }
412
412
  }
413
- `,Z=o.div`
413
+ `,Q=o.div`
414
414
  display: flex;
415
415
  flex-direction: row;
416
416
  align-items: baseline;
@@ -419,10 +419,10 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
419
419
  flex: 1;
420
420
  min-width: 140px;
421
421
  flex-direction: column;
422
- `,Wi=o(k)`
422
+ `,Vi=o(k)`
423
423
  display: flex;
424
424
  color: ${e=>e.theme.colors.hero};
425
- `,Vi=o.div`
425
+ `,Wi=o.div`
426
426
  color: ${e=>e.theme.colors.success};
427
427
  ${e=>P.integerStyles.style(e.windowSize)};
428
428
  `,Ei=o.div`
@@ -447,13 +447,13 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
447
447
  gap: ${i.sp1};
448
448
  `,Ji=o(k)`
449
449
  color: ${e=>e.theme.colors.hero};
450
- `,Gi=o(Xe)`
450
+ `,Xi=o(Ge)`
451
451
  height: 12px;
452
452
  width: 12px;
453
453
  margin-left: ${i.sp1};
454
454
  margin-right: ${i.sp1};
455
455
  color: ${e=>e.theme.colors.hero};
456
- `,Xi=o(tt)`
456
+ `,Gi=o(tt)`
457
457
  height: 12px;
458
458
  width: 12px;
459
459
  margin-left: ${i.sp1};
@@ -476,12 +476,12 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
476
476
  margin-bottom: ${i.sp2};
477
477
  display: flex;
478
478
  text-align: left;
479
- `,Zi=o(k)`
479
+ `,Qi=o(k)`
480
480
  padding: ${i.sp2} ${i.sp2};
481
481
  color: ${e=>e.theme.colors.hero};
482
482
  background: ${e=>e.theme.colors.black};
483
483
  border-radius: ${i.sp1};
484
- `,Q=o(k)`
484
+ `,Z=o(k)`
485
485
  color: ${e=>e.theme.colors.brandColorPearl};
486
486
  display: flex;
487
487
  justify-content: space-between;
@@ -489,7 +489,7 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
489
489
  color: ${e=>e.theme.colors.hero};
490
490
  `,te=o.div`
491
491
  color: ${w.primaryDark};
492
- `,He=o(We)`
492
+ `,He=o(Ve)`
493
493
  width: ${i.sp3};
494
494
  height: ${i.sp3};
495
495
  color: ${e=>e.theme.colors.hero};
@@ -500,7 +500,7 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
500
500
  padding: ${i.sp2};
501
501
  background: ${e=>e.theme.colors.black};
502
502
  border-radius: ${i.sp1};
503
- `,Qi=o(A)`
503
+ `,Zi=o(A)`
504
504
  color: ${e=>e.theme.colors.hero};
505
505
  white-space: pre-line;
506
506
  text-align: center;
@@ -575,13 +575,13 @@ import{e as C,u as M,d5 as Ne,bI as Ye,j as t,M as L,$ as V,bA as ae,aW as Ke,v
575
575
  flex-direction: row;
576
576
  align-items: center;
577
577
  gap: ${i.sp1};
578
- `,co=o(Ze)`
578
+ `,co=o(Qe)`
579
579
  display: flex;
580
580
  gap: ${i.sp2};
581
581
  `,Te=o.div`
582
582
  color: ${e=>e.theme.colors.primary};
583
583
  ${e=>P.fundSummaryStyles.style(e.windowSize)};
584
- `,ho=o(Qe)`
584
+ `,ho=o(Ze)`
585
585
  color: ${e=>e.color??w.brandColorGoldDark};
586
586
  display: flex;
587
587
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{u as ae,e as O,Y as xe,d5 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o as i,iA as je,bA as be,i as S,J,_ as K,X as f,s as q,C as v,g as t,n as G,d7 as Se,bp as ke,L as ze,B as ve,cO as Ce,q as m,dM as Le,ax as Pe,c6 as Te,a2 as De,v as Q,cA as Ie}from"./index-P_4M6V8j.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";import{l as Re}from"./treasuryColorHelper-CkjbPhqI-PraXB90r.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as _e}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const Ge=({isOpen:e,onClose:x})=>{const d=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(Ve,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},He=o.div`
1
+ import{u as ae,e as O,Y as xe,x as we,a2 as $e,m as fe,M as F,j as r,aX as ye,o as i,iA as je,bB as be,i as S,J,$ as K,X as f,t as q,C as v,g as t,p as H,d7 as Se,bq as ke,L as ze,B as ve,cP as Ce,s as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-B8OsEhOZ.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-Bn5picNg-BZadZTcq.js";import{l as Re}from"./treasuryColorHelper-D4iDeX95-DVOhzALi.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(Ve,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Xe,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -51,9 +51,9 @@ import{u as ae,e as O,Y as xe,d5 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o
51
51
  display: inline;
52
52
  `,re=o.li`
53
53
  color: ${e=>e.theme.colors.hero};
54
- `,Ue=o.span`
54
+ `,Xe=o.span`
55
55
  display: inline;
56
- `,z=0,D=5e6,Xe=1e4,g=F.getLocalizedStrings().spendManagement.treasury.promoPage,E=[g.sliderLabel0,g.sliderLabel1,g.sliderLabel2,g.sliderLabel3,g.sliderLabel4];function We(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Je=({analytics:e,yieldPercentage:x})=>{const[d,u]=Me.useState(15e5),c=d*x,w=()=>`${(d-z)/(D-z)*100}%`,h=ae(),$=O();return r.jsxs(Ke,{windowSize:$,children:[$==="small"?r.jsx(nr,{children:g.sliderTitle}):r.jsx(sr,{children:g.sliderTitle}),r.jsxs(Qe,{children:[$==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(oe,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(se,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ze,{style:{color:h.colors.primary},children:g.sliderPerYear})]}),r.jsxs(Ze,{children:[r.jsx(er,{type:"range",min:z,max:D,step:Xe,value:d,onChange:l=>{const b=Number(l.target.value);u(b),e.trackTreasuryCalculatorClick("Treasury Promo Page",b)},style:{background:`linear-gradient(to right, ${t.success} 0%, ${t.success} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} 100%)`}}),r.jsxs(or,{style:{left:w()},children:[g.sliderTooltipPrefix," ",We(d)]}),r.jsx(rr,{children:E.map((l,b)=>{const H=b/(E.length-1)*D<=d;return r.jsx(ir,{style:{left:`${b/(E.length-1)*100}%`},children:r.jsx(S,{style:{color:H?h.colors.primary:t.neutralGrey1Light},children:l})},b)})})]})]})},Ke=o.div`
56
+ `,z=0,D=5e6,Ue=1e4,g=F.getLocalizedStrings().spendManagement.treasury.promoPage,E=[g.sliderLabel0,g.sliderLabel1,g.sliderLabel2,g.sliderLabel3,g.sliderLabel4];function We(e){return e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(2)}K`:`$${e.toLocaleString()}`}function ie(e){return`$${e.toLocaleString(void 0,{maximumFractionDigits:0})}`}const Je=({analytics:e,yieldPercentage:x})=>{const[d,u]=Me.useState(15e5),c=d*x,w=()=>`${(d-z)/(D-z)*100}%`,h=ae(),$=O();return r.jsxs(Ke,{windowSize:$,children:[$==="small"?r.jsx(nr,{children:g.sliderTitle}):r.jsx(sr,{children:g.sliderTitle}),r.jsxs(Qe,{children:[$==="small"?r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(oe,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{style:{color:h.colors.primary},children:g.sliderEarnLabel}),r.jsxs(se,{style:{color:t.success},children:[ie(c),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ze,{style:{color:h.colors.primary},children:g.sliderPerYear})]}),r.jsxs(Ze,{children:[r.jsx(er,{type:"range",min:z,max:D,step:Ue,value:d,onChange:l=>{const b=Number(l.target.value);u(b),e.trackTreasuryCalculatorClick("Treasury Promo Page",b)},style:{background:`linear-gradient(to right, ${t.success} 0%, ${t.success} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} ${(d-z)/(D-z)*100}%, ${t.neutralGrey3Light} 100%)`}}),r.jsxs(or,{style:{left:w()},children:[g.sliderTooltipPrefix," ",We(d)]}),r.jsx(rr,{children:E.map((l,b)=>{const _=b/(E.length-1)*D<=d;return r.jsx(ir,{style:{left:`${b/(E.length-1)*100}%`},children:r.jsx(S,{style:{color:_?h.colors.primary:t.neutralGrey1Light},children:l})},b)})})]})]})},Ke=o.div`
57
57
  width: 100%;
58
58
  max-width: ${e=>e.windowSize==="small"?"345px":"726px"};
59
59
  margin: 0 auto;
@@ -148,7 +148,7 @@ import{u as ae,e as O,Y as xe,d5 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o
148
148
  `,nr=o(Pe)`
149
149
  color: ${e=>e.theme.colors.primary};
150
150
  letter-spacing: -0.01em;
151
- `,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=F.getLocalizedStrings(),s=ar.treasury.promoPage,j={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},p={uspLogoSize:new v(m[4],m[5]),cardsGap:new v(m[4],m[6]),fundHeaderGap:new v(m[0],m[2]),fundHeaderPadding:new v(m[3],m[4]),fundHighlightsPadding:new v(m[2],m[3]),highlightItemGap:new v(m[0],m[1])},oi=({treasurySetupView:e,isSetupComplete:x,meetingUrl:d,onBackClick:u,onClickMenuIcon:c,onSetupButtonClick:w,onTreasurySetupSuccess:h})=>{const $=ae(),l=O(),b=xe(),[H,V]=P.useState(!1),[de,Y]=P.useState(!1),T=we().analytics,ce=()=>{T.trackTreasurySetupActionClick("schedule_demo"),V(!0)},{treasuryTermsDetails:pe,fundsData:U}=e,N=pe?.fetchStatus.fetchState,X=$e(N),W=U.reduce((n,a)=>{const k=a.yield?.toString()||"0%",_=parseFloat(k.replace("%",""))/100;return Math.max(n,_)},0),he=fe.hasTreasuryAdminLevelAccess(b.loggedInUserRoleMap);P.useEffect(()=>{X==="In-Progress"&&N==="Completed"&&h(x)},[X,h,N,x]);const me=[{title:`${s.usps.upTo} ${(W*100).toFixed(2)}%`,description:s.yieldLabel.trim()},{title:s.usps.insuredFundsAmount,description:s.usps.sipcInsured},{title:s.usps.highLiquidity,description:s.usps.sameDayTransfer},{title:s.usps.autoTransfers,description:s.usps.automateCashManagement}],ge=(n,a)=>n===0?r.jsx(Mr,{theme:a,windowSize:l}):n===1?r.jsx(Br,{theme:a,windowSize:l}):n===2?r.jsx(Rr,{theme:a,windowSize:l}):n===3?r.jsx(Nr,{theme:a,windowSize:l}):null;return r.jsxs(dr,{children:[r.jsx(ye,{title:s.title,backgroundColor:$.colors.grey4,onBackClick:u,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:c,source:"treasury"}),H===!0?r.jsx(Be,{onCancelClick:()=>{V(!1)},meetingUrl:d}):null,r.jsxs(Cr,{windowSize:l,children:[r.jsx(Lr,{windowSize:l,children:s.heading}),r.jsx(Pr,{windowSize:l,children:s.subHeading})]}),r.jsx(cr,{windowSize:l,children:U.map((n,a)=>{const k=Re(a,$);return r.jsxs(pr,{children:[r.jsxs(hr,{windowSize:l,bgColor:k.headerBackground,index:a,children:[r.jsx(mr,{windowSize:l,children:n.fundCode}),r.jsxs("div",{children:[r.jsx(gr,{windowSize:l,color:k.fundNameColor,children:n.fundCompanyName??n.fundName}),r.jsx(ur,{windowSize:l,color:k.fundSubNameColor,children:n.fundName})]})]}),r.jsxs(xr,{windowSize:l,bgColor:k.highlightsBackground,children:[r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[r.jsxs($r,{children:[n.yield,"%"]}),s.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(te,{windowSize:l,children:s.higherReturns})]}),r.jsx(wr,{}),r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[n.liquidityTimeline,s.liquidity,n.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(te,{windowSize:l,children:s.quickPayments})]})]}),r.jsx(fr,{windowSize:l,children:n.description}),r.jsxs(yr,{children:[r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.fundSize]}),r.jsx(B,{color:k.fundNameColor,children:je(n.fundSize,n.currencyCode)})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.maturity]}),r.jsxs(B,{children:[n.maturity,""," ",tr.timeStrings.days]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.expenseRatio]}),r.jsxs(B,{children:[n.expenseRatio,s.expenseRatioSuffix]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.riskRating]}),r.jsx(B,{children:n.riskRating})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.composition]}),r.jsx(B,{children:r.jsxs(br,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,r.jsx(be,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(Sr,{children:[r.jsx(S,{children:s.compositionHeading}),n.compositions.map((_,ue)=>r.jsxs(kr,{children:[r.jsx(zr,{}),r.jsx(S,{children:_.investedIn}),r.jsx(S,{style:{marginLeft:"auto",textAlign:"right"},children:_.percentage})]},ue))]}),children:r.jsxs(vr,{children:["+",n.compositions.length-1]})})]})})]})]}),r.jsxs(jr,{onClick:()=>T.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Promo Page"),windowSize:l,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[s.asOf," ",n.asOfDate.format("MMM D, YYYY"),r.jsx(_r,{})]})]},n.fundCode)})}),r.jsx(Tr,{windowSize:l,children:r.jsx(Dr,{children:me.map((n,a)=>r.jsxs(Ir,{children:[ge(a,$),r.jsx(Gr,{windowSize:l,children:n.title}),r.jsxs(Hr,{windowSize:l,children:[n.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:a===0?"I":a===1?"III":a===2?"II":null})]})]},a))})}),r.jsx(Je,{analytics:T,yieldPercentage:W}),r.jsxs(Or,{windowSize:l,children:[r.jsxs(Fr,{children:[r.jsx(C,{children:s.disclaimer1}),r.jsx(C,{children:s.disclaimer2}),r.jsxs(C,{children:[s.disclaimer3,r.jsx(y,{href:s.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:s.disclaimer3Url})]}),r.jsx(C,{children:s.disclaimer4})]}),r.jsxs(C,{children:[s.agreementP1,r.jsx(y,{href:s.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:s.formCrsText}),r.jsx(L,{}),r.jsx(y,{href:s.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:s.formAdvText}),r.jsx(L,{}),r.jsx(y,{href:s.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.privacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:s.generalDisclosuresText}),r.jsx(L,{}),r.jsx(y,{href:s.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:s.sipcInfoText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniPrivacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniTermsOfServiceText})]}),r.jsx(C,{children:r.jsx(y,{href:"#",onClick:n=>{T.trackTreasuryAgreementView(),n.preventDefault(),Y(!0)},children:s.viewAgreement})})]}),he?r.jsxs(Ar,{windowSize:l,children:[r.jsx(J,{variant:"secondary",label:s.scheduleDemoButton,onClick:ce,"data-testid":K("treasury-schedule-demo-button")}),r.jsx(Er,{windowSize:l,children:"OR"}),r.jsx(J,{variant:"primary",label:x?s.enableButton:s.setupButton,loading:N==="In-Progress",onClick:()=>{T.trackTreasurySetupActionClick(x?"enable_now":"setup"),w()},"data-testid":K("treasury-get-started-button")})]}):null,r.jsx(Ge,{isOpen:de,onClose:()=>Y(!1)})]})},dr=o.div`
151
+ `,lr=e=>P.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},P.createElement("path",{d:"M1.5 16.8597L9.6679 9.59848C9.84009 9.44555 10.0608 9.35843 10.291 9.35254C10.5213 9.34665 10.7461 9.42235 10.9259 9.56627L14.5048 12.4288C14.6879 12.5752 14.9175 12.6508 15.1517 12.6419C15.3859 12.6329 15.6091 12.5399 15.7804 12.38L22.4834 6.12402",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),P.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{common:tr,spendManagement:ar}=F.getLocalizedStrings(),s=ar.treasury.promoPage,j={mainHeading:new f("h6Medium","h4Regular"),subHeading:new f("standardRegular","h6Regular"),fundSymbol:new f("extraSmallSemiBold","smallSemiBold"),fundName:new f("extraLargeSemiBold","h5SemiBold"),fundSubName:new f("standardMedium","h6SemiBold"),highlightValue:new f("smallRegular","largeMedium"),highlightLabel:new f("extraSmallRegular","smallRegular"),uspItemTitle:new f("extraLargeMedium","h6Medium"),uspItemDescription:new f("extraSmallRegular","standardRegular")},p={uspLogoSize:new v(m[4],m[5]),cardsGap:new v(m[4],m[6]),fundHeaderGap:new v(m[0],m[2]),fundHeaderPadding:new v(m[3],m[4]),fundHighlightsPadding:new v(m[2],m[3]),highlightItemGap:new v(m[0],m[1])},oi=({treasurySetupView:e,isSetupComplete:x,meetingUrl:d,onBackClick:u,onClickMenuIcon:c,onSetupButtonClick:w,onTreasurySetupSuccess:h})=>{const $=ae(),l=O(),b=xe(),[_,V]=P.useState(!1),[de,Y]=P.useState(!1),T=we().analytics,ce=()=>{T.trackTreasurySetupActionClick("schedule_demo"),V(!0)},{treasuryTermsDetails:pe,fundsData:X}=e,G=pe?.fetchStatus.fetchState,U=$e(G),W=X.reduce((n,a)=>{const k=a.yield?.toString()||"0%",N=parseFloat(k.replace("%",""))/100;return Math.max(n,N)},0),he=fe.hasTreasuryAdminLevelAccess(b.loggedInUserRoleMap);P.useEffect(()=>{U==="In-Progress"&&G==="Completed"&&h(x)},[U,h,G,x]);const me=[{title:`${s.usps.upTo} ${(W*100).toFixed(2)}%`,description:s.yieldLabel.trim()},{title:s.usps.insuredFundsAmount,description:s.usps.sipcInsured},{title:s.usps.highLiquidity,description:s.usps.sameDayTransfer},{title:s.usps.autoTransfers,description:s.usps.automateCashManagement}],ge=(n,a)=>n===0?r.jsx(Mr,{theme:a,windowSize:l}):n===1?r.jsx(Br,{theme:a,windowSize:l}):n===2?r.jsx(Rr,{theme:a,windowSize:l}):n===3?r.jsx(Gr,{theme:a,windowSize:l}):null;return r.jsxs(dr,{children:[r.jsx(ye,{title:s.title,backgroundColor:$.colors.grey4,onBackClick:u,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:c,source:"treasury"}),_===!0?r.jsx(Be,{onCancelClick:()=>{V(!1)},meetingUrl:d}):null,r.jsxs(Cr,{windowSize:l,children:[r.jsx(Lr,{windowSize:l,children:s.heading}),r.jsx(Pr,{windowSize:l,children:s.subHeading})]}),r.jsx(cr,{windowSize:l,children:X.map((n,a)=>{const k=Re(a,$);return r.jsxs(pr,{children:[r.jsxs(hr,{windowSize:l,bgColor:k.headerBackground,index:a,children:[r.jsx(mr,{windowSize:l,children:n.fundCode}),r.jsxs("div",{children:[r.jsx(gr,{windowSize:l,color:k.fundNameColor,children:n.fundCompanyName??n.fundName}),r.jsx(ur,{windowSize:l,color:k.fundSubNameColor,children:n.fundName})]})]}),r.jsxs(xr,{windowSize:l,bgColor:k.highlightsBackground,children:[r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[r.jsxs($r,{children:[n.yield,"%"]}),s.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(te,{windowSize:l,children:s.higherReturns})]}),r.jsx(wr,{}),r.jsxs(ne,{windowSize:l,children:[r.jsxs(le,{windowSize:l,children:[n.liquidityTimeline,s.liquidity,n.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(te,{windowSize:l,children:s.quickPayments})]})]}),r.jsx(fr,{windowSize:l,children:n.description}),r.jsxs(yr,{children:[r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.fundSize]}),r.jsx(B,{color:k.fundNameColor,children:je(n.fundSize,n.currencyCode)})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.maturity]}),r.jsxs(B,{children:[n.maturity,""," ",tr.timeStrings.days]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.expenseRatio]}),r.jsxs(B,{children:[n.expenseRatio,s.expenseRatioSuffix]})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.riskRating]}),r.jsx(B,{children:n.riskRating})]}),r.jsxs(I,{children:[r.jsxs(M,{children:[r.jsx(R,{})," ",s.composition]}),r.jsx(B,{children:r.jsxs(br,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,r.jsx(be,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(Sr,{children:[r.jsx(S,{children:s.compositionHeading}),n.compositions.map((N,ue)=>r.jsxs(kr,{children:[r.jsx(zr,{}),r.jsx(S,{children:N.investedIn}),r.jsx(S,{style:{marginLeft:"auto",textAlign:"right"},children:N.percentage})]},ue))]}),children:r.jsxs(vr,{children:["+",n.compositions.length-1]})})]})})]})]}),r.jsxs(jr,{onClick:()=>T.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Promo Page"),windowSize:l,href:n.url,target:"_blank",rel:"noopener noreferrer",children:[s.asOf," ",n.asOfDate.format("MMM D, YYYY"),r.jsx(Nr,{})]})]},n.fundCode)})}),r.jsx(Tr,{windowSize:l,children:r.jsx(Dr,{children:me.map((n,a)=>r.jsxs(Ir,{children:[ge(a,$),r.jsx(Hr,{windowSize:l,children:n.title}),r.jsxs(_r,{windowSize:l,children:[n.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:a===0?"I":a===1?"III":a===2?"II":null})]})]},a))})}),r.jsx(Je,{analytics:T,yieldPercentage:W}),r.jsxs(Or,{windowSize:l,children:[r.jsxs(Fr,{children:[r.jsx(C,{children:s.disclaimer1}),r.jsx(C,{children:s.disclaimer2}),r.jsxs(C,{children:[s.disclaimer3,r.jsx(y,{href:s.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:s.disclaimer3Url})]}),r.jsx(C,{children:s.disclaimer4})]}),r.jsxs(C,{children:[s.agreementP1,r.jsx(y,{href:s.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:s.formCrsText}),r.jsx(L,{}),r.jsx(y,{href:s.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:s.formAdvText}),r.jsx(L,{}),r.jsx(y,{href:s.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.privacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:s.generalDisclosuresText}),r.jsx(L,{}),r.jsx(y,{href:s.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:s.sipcInfoText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniPrivacyPolicyText}),r.jsx(L,{}),r.jsx(y,{href:s.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:s.zeniTermsOfServiceText})]}),r.jsx(C,{children:r.jsx(y,{href:"#",onClick:n=>{T.trackTreasuryAgreementView(),n.preventDefault(),Y(!0)},children:s.viewAgreement})})]}),he?r.jsxs(Ar,{windowSize:l,children:[r.jsx(J,{variant:"secondary",label:s.scheduleDemoButton,onClick:ce,"data-testid":K("treasury-schedule-demo-button")}),r.jsx(Er,{windowSize:l,children:"OR"}),r.jsx(J,{variant:"primary",label:x?s.enableButton:s.setupButton,loading:G==="In-Progress",onClick:()=>{T.trackTreasurySetupActionClick(x?"enable_now":"setup"),w()},"data-testid":K("treasury-get-started-button")})]}):null,r.jsx(He,{isOpen:de,onClose:()=>Y(!1)})]})},dr=o.div`
152
152
  display: flex;
153
153
  flex: 1 1 auto;
154
154
  min-height: 100%;
@@ -234,7 +234,7 @@ import{u as ae,e as O,Y as xe,d5 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o
234
234
  ${e=>j.highlightLabel.style(e.windowSize)};
235
235
  `,$r=o.span`
236
236
  color: ${t.success};
237
- `,fr=o(G)`
237
+ `,fr=o(H)`
238
238
  padding: ${e=>e.windowSize==="small"?`${i.sp2} ${i.sp3} 0 ${i.sp3}`:`${i.sp3} ${i.sp5} 0 ${i.sp5}`};
239
239
  color: ${e=>e.theme.colors.hero};
240
240
  `,yr=o.div`
@@ -246,13 +246,13 @@ import{u as ae,e as O,Y as xe,d5 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o
246
246
  justify-content: space-between;
247
247
  align-items: flex-start;
248
248
  padding-bottom: ${i.sp1};
249
- `,M=o(G)`
249
+ `,M=o(H)`
250
250
  color: ${e=>e.theme.colors.hero};
251
251
  width: 140px;
252
252
  display: flex;
253
253
  align-items: center;
254
254
  padding-top: ${i.sp1};
255
- `,B=o(G)`
255
+ `,B=o(H)`
256
256
  color: ${e=>e.color??e.theme.colors.primary};
257
257
  flex: 1;
258
258
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
@@ -361,7 +361,7 @@ import{u as ae,e as O,Y as xe,d5 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o
361
361
  width: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
362
362
  height: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
363
363
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
364
- `,Br=o(_e)`
364
+ `,Br=o(Ne)`
365
365
  width: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
366
366
  height: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
367
367
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
@@ -369,18 +369,18 @@ import{u as ae,e as O,Y as xe,d5 as we,a1 as $e,l as fe,M as F,j as r,aW as ye,o
369
369
  width: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
370
370
  height: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
371
371
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
372
- `,Nr=o(Ne)`
372
+ `,Gr=o(Ge)`
373
373
  width: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
374
374
  height: ${e=>p.uspLogoSize.valuePx(e.windowSize)};
375
375
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
376
- `,_r=o(Se)`
376
+ `,Nr=o(Se)`
377
377
  width: 12px;
378
378
  height: 12px;
379
- `,Gr=o(ke)`
379
+ `,Hr=o(ke)`
380
380
  color: ${e=>e.theme.colors.primary};
381
381
  margin-top: ${i.sp2};
382
382
  ${e=>j.uspItemTitle.style(e.windowSize)};
383
- `,Hr=o(G)`
383
+ `,_r=o(H)`
384
384
  color: ${e=>e.theme.colors.champion};
385
385
  ${e=>j.uspItemDescription.style(e.windowSize)};
386
386
  `,Ar=o.div`
@@ -1,4 +1,4 @@
1
- import{d5 as Me,u as Ue,e as ae,a1 as se,a as re,c9 as le,M as ce,a7 as te,j as t,cO as He,g as Re,C as u,aW as _e,m as Ne,F as de,dO as Je,aR as Ge,q as n,J as Ye,bA as Xe,_ as qe,cf as Ze,a3 as Ke,o as i,n as ue,c6 as Qe,a2 as et,X as tt,h as it}from"./index-P_4M6V8j.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{F as ot}from"./HelpButton-DEwtg0Ez-BLNCXJFp.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{Y as ie}from"./SetUpDefaultSection-BM57n5BV-BGP1G39B.js";import{f as at}from"./SpendMgmtSetupAccountSection-BF7bb5O_-DSPc6rRK.js";import st from"./PortfolioAllocationFormPage-eonsRKDg-CW4TIBlU.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CgzTeE14-BMiIqHVm.js";import"./ChargeCardUtils-DQztOSYJ-DZxY6wV1.js";import"./CreditCardPaymentPlgSection-Cz-CSdKg-DO4yi827.js";import"./ChaseOverlay-BaGgoJZk-L4zZNkyz.js";import"./PortfolioDetails-BFqRNjFs-DdtIdWXw.js";import"./treasuryColorHelper-CkjbPhqI-PraXB90r.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,Y=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:w,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),W=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(Y)}}}),[f?.sourceOfFunds])}),D=m=>Y[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,x)=>{I(x[$])};return a.useEffect(()=>{const m=C.watch((x,{name:O})=>{O!=null&&x!=null&&le(()=>P(O,x))});return()=>{m.unsubscribe()}}),W==="In-Progress"&&c.fetchState==="Completed"||w===!0?t.jsxs(gt,{children:[t.jsxs(wt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ye,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":qe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(xt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ze,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:D,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(Y)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ke,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
1
+ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,M as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,n as Ne,F as de,dO as Je,aS as Xe,s as n,J as Ge,bB as qe,$ as Ye,cg as Ze,a4 as Ke,o as i,p as ue,c7 as Qe,a3 as et,X as tt,h as it}from"./index-B8OsEhOZ.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-hflpTkYP-BxxKYxfC.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-VPie4JZS-CUUkgLvy.js";import{f as at}from"./SpendMgmtSetupAccountSection-CjqaRCUW-DdnBx9W6.js";import st from"./PortfolioAllocationFormPage-Byu_8Js7-CWAHnet9.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-Bn5picNg-BZadZTcq.js";import"./ChargeCardUtils-D4KmVUMt-Bgc7_40s.js";import"./CreditCardPaymentPlgSection-Cg-oo7DU-CbeaX1ko.js";import"./ChaseOverlay-IbWtzNzT-CiTCJc7A.js";import"./PortfolioDetails-BH-sfG9j-CdKUfZw3.js";import"./treasuryColorHelper-D4iDeX95-DVOhzALi.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,G=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)}}}),[f?.sourceOfFunds])}),W=m=>G[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,w)=>{I(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ge,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(qe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ye("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ze,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ke,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${E.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${E.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -50,13 +50,13 @@ import{d5 as Me,u as Ue,e as ae,a1 as se,a as re,c9 as le,M as ce,a7 as te,j as
50
50
  justify-content: center;
51
51
  gap: ${i.sp5};
52
52
  margin: auto;
53
- `,wt=o.div`
53
+ `,xt=o.div`
54
54
  display: flex;
55
55
  flex-direction: column;
56
56
  align-items: center;
57
57
  justify-content: center;
58
58
  gap: ${i.sp3};
59
- `,xt=o.div`
59
+ `,wt=o.div`
60
60
  display: flex;
61
61
  flex-direction: column;
62
62
  gap: ${i.sp3};
@@ -108,7 +108,7 @@ import{d5 as Me,u as Ue,e as ae,a1 as se,a as re,c9 as le,M as ce,a7 as te,j as
108
108
  transform: translateX(0%);
109
109
  }
110
110
  }
111
- `,St=e=>a.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),a.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),l={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,n[5],n[5]),sectionRowGap:new u(n[5],n[9],n[9]),iconWidthHeight:new u(20,n[4]),subTitlePaddingTop:new u(12,n[3]),subTitlePaddingBottom:new u(n[3],n[3]),overlayWidth:new u(100,100,59)},$t="treasurySetUpPage",V="payAccount",{commonSetUp:jt,spendManagement:Pt}=ce.getLocalizedStrings(),{zeniAccounts:Ot,treasury:b}=Pt,{setUp:L}=jt,ti=({isDisabled:e,meetingUrl:f,treasurySetupView:c,currentTenant:w,businessVerificationDetails:d,connectedAccountProvider:I,accountsPromoConfig:B,isAccountsEnabled:j,showTreasurySetupOverlay:p,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:W,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:D,onUpdateTreasuryClick:M,onBusinessVerificationSectionClick:P,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:x,onEstablishConnectionClick:O,onEstablishConnectionSuccess:fe,onClickMenuIcon:me,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:we,onUpdateFundAllocation:xe,onConfirmFundAllocation:ye,onSignUpClick:be,onNavigateToDashboard:ke})=>{const v=Me().analytics,A=Ue(),s=ae(),[U,H]=a.useState("portfolio-allocation"),[X,Ce]=a.useState(!1),{fetchState:q,companyTreasuryInfo:F,isRefreshingViewInBackground:Z,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:K,currentAllocation:Pe,portfolioAllocationUpdateStatus:R,isAtomicAccountExists:Oe}=c,Q=se(R.fetchState),T=w.company?.companyBillPayInfo?.businessVerificationStatus,Ae=T?.code==="pending_review"||T?.code==="verified",{companyDetailsLocalData:Fe}=d,_=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>ne(c),[c]),values:ne(c)}),Te=_.handleSubmit(S=>{C()}),ze=async(S,z)=>{const r=z[V];if(S.includes(V)){if(S.includes("fundingAccount")){if(r.fundingAccount.selectedOption!=null&&y?.id!=r.fundingAccount.selectedOption){const g=K.find(G=>G.id===r.fundingAccount.selectedOption);g!=null&&D(r.fundingAccount.selectedOption,g.accType)}}else if(r.account.selectedOption!=null&&y?.id!=null&&y?.zeniAccountId!=r.account.selectedOption){const g=r.account.allOptions.find(G=>G.value===r.account.selectedOption);g!=null&&typeof g.label=="string"&&v.trackConnectBankLink(g.value,g.label,"zeni_treasury"),M(r.account.selectedOption,y.id,y.accType)}}};a.useEffect(()=>{const S=_.watch((z,{name:r})=>{r!=null&&z!=null&&le(()=>ze(r,z))});return()=>{S.unsubscribe()}}),a.useEffect(()=>{Q==="In-Progress"&&R.fetchState==="Completed"&&U==="portfolio-allocation"&&k(!1)},[Q,R.fetchState]);const ee=F?.businessVerificationStatus?.code==="verified",Le=F?.businessVerificationStatus?.code==="pending_review",Ve=ee||Le,Ee=q==="In-Progress"||q==="Not-Started",Ie=b.setup.setupSubTitle,N=A.mode==="light"?new te(A.colors.brandColorJadeLight):new te(A.colors.brandColorJadeDark),Be=()=>{Ce(!0),k(!0),H("portfolio-allocation")},We=()=>{ye(),X||(v.trackTreasuryVerificationNavigation("next",T?.code??""),Ae?H("additional-verification"):P(!0))},J=()=>{k(!1)},De=()=>{v.trackTreasuryVerificationNavigation("back",T?.code??""),H("portfolio-allocation")};return t.jsxs(Ft,{children:[t.jsxs(He,{anchor:"right",open:p,onClose:J,PaperProps:{style:{width:l.overlayWidth.valuePercentage(s),boxShadow:"none"}},style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:[U==="portfolio-allocation"&&t.jsx(st,{onBackClick:J,onNextClick:We,treasurySetupView:c,onUpdateFundAllocation:xe,isReadOnly:Oe&&Pe!=null,isEditMode:X,isOnSetup:!0}),U==="additional-verification"&&t.jsx(ct,{updateStatus:ve,companyOfficer:je,companyDetails:Fe,isDetailsSubmitted:Ve,onClose:De,onCloseOverlay:J,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:we})]}),t.jsx(_e,{title:b.setup.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:ke,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:me,source:"treasury"}),t.jsxs(At,{windowSize:s,children:[t.jsx(Tt,{windowSize:s,children:Ie}),Ee?t.jsx(zt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsx(de,{..._,children:t.jsx("form",{id:Vt($t),onSubmit:Te,children:t.jsxs(Lt,{windowSize:s,children:[t.jsx(ie,{onClick:Be,title:b.setup.title,subTitle:b.setup.subTitle,header:b.setup.header,icon:{element:t.jsx(St,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},isLoading:Z,isActiveWhileLoading:!0}),t.jsx(ie,{onClick:()=>P(!1),title:L.businessVerificationTitle,subTitle:L.businessVerificationSubTitle,header:L.businessVerificationHeader,icon:{element:t.jsx(Je,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},status:F?.businessVerificationStatus,isLoading:Z,isActiveWhileLoading:!0,additionalInfo:F?.businessVerificationStatus?.code==="pending_review"?L.businessVerificationAdditionalInfo:void 0}),t.jsx(at,{connectedAccountProvider:I,plaidConnectionDetails:Se,allBankAccounts:$e,sectionId:V,isDisabled:e,header:Ot.accountSectionHeader,onFetchLinkTokenClick:W,onEstablishConnectionClick:O,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:x,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(Ge,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},analytics:v,productType:"zeni_treasury",onSignUpClick:be,primaryFundingAccount:y,isAccountsEnabled:j,allFundingAccounts:K,pageName:b.setup.setupPageName,accountsPromoConfig:B})]})})})]}),t.jsx(ot,{isFooterRendered:ee,meetingUrl:f,analytics:v,productType:"zeni_treasury"})]})};function ne(e){const{allBankAccounts:f,allFundingAccounts:c,primaryFundingAccount:w}=e;return{[V]:{fundingAccount:{selectedOption:w?.id,allOptions:c.map(d=>({label:d.label,value:d.id,isRecommended:d.accType==="depositAccount"}))},account:{selectedOption:w?.zeniAccountId,allOptions:f.map(d=>({label:d.accountName,value:d.accountId}))}}}}const At=o.div`
111
+ `,St=e=>a.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.62069 7.42676H2.09973",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 7.42676H10.1617",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M13.8383 16.6963H2.09973",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M21.8994 16.6963H18.3793",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M5.62061 7.2989C5.62061 7.59707 5.67934 7.89233 5.79344 8.16781C5.90755 8.44329 6.0748 8.6936 6.28564 8.90444C6.49649 9.11528 6.74679 9.28253 7.02227 9.39664C7.29775 9.51075 7.59301 9.56948 7.89118 9.56948C8.18936 9.56948 8.48462 9.51075 8.7601 9.39664C9.03558 9.28253 9.28588 9.11528 9.49672 8.90444C9.70757 8.6936 9.87482 8.44329 9.98892 8.16781C10.103 7.89233 10.1618 7.59707 10.1618 7.2989C10.1618 6.6967 9.92254 6.11917 9.49672 5.69336C9.07091 5.26754 8.49338 5.02832 7.89118 5.02832C7.28899 5.02832 6.71146 5.26754 6.28564 5.69336C5.85983 6.11917 5.62061 6.6967 5.62061 7.2989Z",stroke:"currentColor",strokeWidth:1.5}),a.createElement("path",{d:"M13.8383 16.6983C13.8383 17.3005 14.0775 17.878 14.5033 18.3039C14.9291 18.7297 15.5066 18.9689 16.1088 18.9689C16.711 18.9689 17.2886 18.7297 17.7144 18.3039C18.1402 17.878 18.3794 17.3005 18.3794 16.6983C18.3794 16.0961 18.1402 15.5186 17.7144 15.0928C17.2886 14.667 16.711 14.4277 16.1088 14.4277C15.5066 14.4277 14.9291 14.667 14.5033 15.0928C14.0775 15.5186 13.8383 16.0961 13.8383 16.6983Z",stroke:"currentColor",strokeWidth:1.5})),l={titleWidth:new u(343,580,726,826),setupDetailsRowGap:new u(12,n[5],n[5]),sectionRowGap:new u(n[5],n[9],n[9]),iconWidthHeight:new u(20,n[4]),subTitlePaddingTop:new u(12,n[3]),subTitlePaddingBottom:new u(n[3],n[3]),overlayWidth:new u(100,100,59)},$t="treasurySetUpPage",V="payAccount",{commonSetUp:jt,spendManagement:Pt}=ce.getLocalizedStrings(),{zeniAccounts:Ot,treasury:b}=Pt,{setUp:L}=jt,ti=({isDisabled:e,meetingUrl:f,treasurySetupView:c,currentTenant:x,businessVerificationDetails:d,connectedAccountProvider:I,accountsPromoConfig:B,isAccountsEnabled:j,showTreasurySetupOverlay:p,setShowTreasurySetupOverlay:k,onFetchLinkTokenClick:D,onEnableTreasuryClick:C,onUpdatePrimaryFundingAccount:W,onUpdateTreasuryClick:M,onBusinessVerificationSectionClick:P,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionClick:O,onEstablishConnectionSuccess:fe,onClickMenuIcon:me,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe,onUpdateFundAllocation:we,onConfirmFundAllocation:ye,onSignUpClick:be,onNavigateToDashboard:ke})=>{const v=Me().analytics,A=Ue(),s=ae(),[U,H]=a.useState("portfolio-allocation"),[q,Ce]=a.useState(!1),{fetchState:Y,companyTreasuryInfo:F,isRefreshingViewInBackground:Z,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:K,currentAllocation:Pe,portfolioAllocationUpdateStatus:R,isAtomicAccountExists:Oe}=c,Q=se(R.fetchState),T=x.company?.companyBillPayInfo?.businessVerificationStatus,Ae=T?.code==="pending_review"||T?.code==="verified",{companyDetailsLocalData:Fe}=d,_=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>ne(c),[c]),values:ne(c)}),Te=_.handleSubmit(S=>{C()}),ze=async(S,z)=>{const r=z[V];if(S.includes(V)){if(S.includes("fundingAccount")){if(r.fundingAccount.selectedOption!=null&&y?.id!=r.fundingAccount.selectedOption){const g=K.find(X=>X.id===r.fundingAccount.selectedOption);g!=null&&W(r.fundingAccount.selectedOption,g.accType)}}else if(r.account.selectedOption!=null&&y?.id!=null&&y?.zeniAccountId!=r.account.selectedOption){const g=r.account.allOptions.find(X=>X.value===r.account.selectedOption);g!=null&&typeof g.label=="string"&&v.trackConnectBankLink(g.value,g.label,"zeni_treasury"),M(r.account.selectedOption,y.id,y.accType)}}};a.useEffect(()=>{const S=_.watch((z,{name:r})=>{r!=null&&z!=null&&le(()=>ze(r,z))});return()=>{S.unsubscribe()}}),a.useEffect(()=>{Q==="In-Progress"&&R.fetchState==="Completed"&&U==="portfolio-allocation"&&k(!1)},[Q,R.fetchState]);const ee=F?.businessVerificationStatus?.code==="verified",Le=F?.businessVerificationStatus?.code==="pending_review",Ve=ee||Le,Ee=Y==="In-Progress"||Y==="Not-Started",Ie=b.setup.setupSubTitle,N=A.mode==="light"?new te(A.colors.brandColorJadeLight):new te(A.colors.brandColorJadeDark),Be=()=>{Ce(!0),k(!0),H("portfolio-allocation")},De=()=>{ye(),q||(v.trackTreasuryVerificationNavigation("next",T?.code??""),Ae?H("additional-verification"):P(!0))},J=()=>{k(!1)},We=()=>{v.trackTreasuryVerificationNavigation("back",T?.code??""),H("portfolio-allocation")};return t.jsxs(Ft,{children:[t.jsxs(He,{anchor:"right",open:p,onClose:J,PaperProps:{style:{width:l.overlayWidth.valuePercentage(s),boxShadow:"none"}},style:{backgroundColor:Re.drawerBackground},transitionDuration:250,children:[U==="portfolio-allocation"&&t.jsx(st,{onBackClick:J,onNextClick:De,treasurySetupView:c,onUpdateFundAllocation:we,isReadOnly:Oe&&Pe!=null,isEditMode:q,isOnSetup:!0}),U==="additional-verification"&&t.jsx(ct,{updateStatus:ve,companyOfficer:je,companyDetails:Fe,isDetailsSubmitted:Ve,onClose:We,onCloseOverlay:J,onAdditionalVerificationFieldsChanged:ge,onSendForVerificationClick:xe})]}),t.jsx(_e,{title:b.setup.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:ke,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:me,source:"treasury"}),t.jsxs(At,{windowSize:s,children:[t.jsx(Tt,{windowSize:s,children:Ie}),Ee?t.jsx(zt,{children:t.jsx(Ne,{size:"ExtraLarge",start:!0})}):t.jsx(de,{..._,children:t.jsx("form",{id:Vt($t),onSubmit:Te,children:t.jsxs(Lt,{windowSize:s,children:[t.jsx(ie,{onClick:Be,title:b.setup.title,subTitle:b.setup.subTitle,header:b.setup.header,icon:{element:t.jsx(St,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},isLoading:Z,isActiveWhileLoading:!0}),t.jsx(ie,{onClick:()=>P(!1),title:L.businessVerificationTitle,subTitle:L.businessVerificationSubTitle,header:L.businessVerificationHeader,icon:{element:t.jsx(Je,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},status:F?.businessVerificationStatus,isLoading:Z,isActiveWhileLoading:!0,additionalInfo:F?.businessVerificationStatus?.code==="pending_review"?L.businessVerificationAdditionalInfo:void 0}),t.jsx(at,{connectedAccountProvider:I,plaidConnectionDetails:Se,allBankAccounts:$e,sectionId:V,isDisabled:e,header:Ot.accountSectionHeader,onFetchLinkTokenClick:D,onEstablishConnectionClick:O,onUpdatePaymentAccountStatus:m,onUpdatePaymentAccountLoginStatus:w,onEstablishConnectionSuccess:fe,icon:{element:t.jsx(Xe,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},analytics:v,productType:"zeni_treasury",onSignUpClick:be,primaryFundingAccount:y,isAccountsEnabled:j,allFundingAccounts:K,pageName:b.setup.setupPageName,accountsPromoConfig:B})]})})})]}),t.jsx(ot,{isFooterRendered:ee,meetingUrl:f,analytics:v,productType:"zeni_treasury"})]})};function ne(e){const{allBankAccounts:f,allFundingAccounts:c,primaryFundingAccount:x}=e;return{[V]:{fundingAccount:{selectedOption:x?.id,allOptions:c.map(d=>({label:d.label,value:d.id,isRecommended:d.accType==="depositAccount"}))},account:{selectedOption:x?.zeniAccountId,allOptions:f.map(d=>({label:d.accountName,value:d.accountId}))}}}}const At=o.div`
112
112
  display: flex;
113
113
  justify-content: flex-start;
114
114
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{u as j,e as v,j as t,aW as z,M as C,ai as M,o as r,g as c,bZ as P,C as I,q as d,n as R}from"./index-P_4M6V8j.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-Bf9DDBGl-B4tzyane.js";import{o as B}from"./commonDimensions-DbTYS1hy-sQ0jQuuT.js";import{M as E}from"./StatementItem-Ki_Mzpf9-D38JqRpj.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CLTp2aZt-DDw4mfQ_.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,e as v,j as t,aX as z,M as C,aj as M,o as r,g as c,b_ as P,C as I,s as d,p as R}from"./index-B8OsEhOZ.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-CIOib-WX-Cvut8WLk.js";import{o as B}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import{M as E}from"./StatementItem-1vBLASxl-Bg-WCzCW.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CgupyHRa-D9AEGU0d.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(M,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,e as v,j as t,aW as L,M as z,ai as C,o as r,g as c,bZ as M,C as P,q as d,n as T}from"./index-P_4M6V8j.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-Bf9DDBGl-B4tzyane.js";import{o as R}from"./commonDimensions-DbTYS1hy-sQ0jQuuT.js";import{M as B}from"./StatementItem-Ki_Mzpf9-D38JqRpj.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CLTp2aZt-DDw4mfQ_.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:m.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,p=o.div`
1
+ import{u as S,e as v,j as t,aX as L,M as z,aj as C,o as r,g as c,b_ as M,C as P,s as d,p as T}from"./index-B8OsEhOZ.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-CIOib-WX-Cvut8WLk.js";import{o as R}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import{M as B}from"./StatementItem-1vBLASxl-Bg-WCzCW.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-CgupyHRa-D9AEGU0d.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;