@zeniai/web-cockpit-ui 1.14.35-qa → 1.14.36-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-MP6kdpXK-BAG6ONUf.js → ACHDetailsPage-3oKbHC1_-Qn9d1Xyv.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BhOaFmfv-DJPCQGme.js → AIPerformancePage-Cn2skpeY-BNc-HLpr.js} +26 -26
  3. package/dist/assets/{AccountInfoPage-D9Ft_CT9-Co34pWp7.js → AccountInfoPage-Dxnr3s2C-ByHNSUfv.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DvWx52e0-JoBHhmtJ.js → AccountInfoPageContent-CMT1vJ_n-DgA1oKva.js} +30 -30
  5. package/dist/assets/{AccountLockedInfoModal-B1_3C1ER-CsXXKJaZ.js → AccountLockedInfoModal-2GuYlOQJ-Cb5egJeS.js} +4 -4
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D9e7qhm0-DJD0R9bB.js → AccountReconDetailsDrawerPage-Cu_lsw9T-Ct4NG0ON.js} +13 -13
  7. package/dist/assets/{AccountRow-CiIWoLq3-BYr2bUH2.js → AccountRow-BcSPuOPF-R9MJWqpQ.js} +14 -14
  8. package/dist/assets/{AccountsPromoCardStack-CC72plKm-Matqa_MR.js → AccountsPromoCardStack-Ch88Cvn8-B36ZrxM-.js} +30 -30
  9. package/dist/assets/{AddAddressForCardDrawer-CIj76DoU-B9TffAvk.js → AddAddressForCardDrawer-Df4OROTJ-Ccg4Z6Tb.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B3vdkyWl-VZV_7F8R.js → AddToWalletPage-DgVLkIkz-CQF3I5rp.js} +19 -19
  11. package/dist/assets/{AgingReportsPage-CbkMxxO_-BABl_foK.js → AgingReportsPage-M1xr5QPt-DB06_ukJ.js} +15 -15
  12. package/dist/assets/{AllUserItems-DJo9kLSI-CnxvFofk.js → AllUserItems-CzMARJS5-DMwRKAgK.js} +11 -11
  13. package/dist/assets/{ApAgingDetailPage-DcAh6DLg-COmx3rdg.js → ApAgingDetailPage-C3YN724_-CRhegmmd.js} +3 -3
  14. package/dist/assets/{AppBasePage-DztnPkfs-C6ROiaUG.js → AppBasePage-CP4BX_QO-B6mlxKAR.js} +16 -16
  15. package/dist/assets/{AppDrawerContent-DDmKn21i-B0r6j2g7.js → AppDrawerContent-Dc3UorVz-DdpZ1z1h.js} +8 -8
  16. package/dist/assets/{ApprovalRulesSettingsPage-Di8tAJ8K-sRJdWOYr.js → ApprovalRulesSettingsPage-DHw_cGEb-DsqpcHH3.js} +1 -1
  17. package/dist/assets/ArAgingChart-D6396NAQ-B7eZ8sbL.js +24 -0
  18. package/dist/assets/{ArAgingDetailPage-B3JQ08nH-yWZ4Q_gU.js → ArAgingDetailPage-BU6gubOU-BkAN4ZrM.js} +1 -1
  19. package/dist/assets/{AttachmentView-p8mBqYjm-DXZMkL5k.js → AttachmentView-Cjq9bT2R-B9cOvAgG.js} +6 -6
  20. package/dist/assets/{BankAccountSection-AuQLRvdb-C_Pp6K1g.js → BankAccountSection-DcBAe_nk-Cj8Y52AW.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-HvUMABu0-7weYEdUg.js → BankAccountWarningSection-CgdNj2lq-DoFj2r_M.js} +19 -19
  22. package/dist/assets/{BankConnectionsSettingsPage-D61w90F9-DfyisqdH.js → BankConnectionsSettingsPage-DN-l_MKN-CZ9NiTex.js} +10 -10
  23. package/dist/assets/{BillDetailPage-nqHoph6T-DVUv4kUT.js → BillDetailPage-DSNj9dZa-GtcAJ7zm.js} +11 -11
  24. package/dist/assets/BillPayApprovalRuleDetailPage-Bn_93mxC-PbuiMjZ5.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-Bd87v4ca-Bux_Krxh.js → BillPayApprovalRulesPage-3E7Zb7Tv-8xvci8F-.js} +7 -7
  26. package/dist/assets/{BillPayPromoPage-CNiTD_mM-BuGb7q9e.js → BillPayPromoPage-iqi-3PsJ-BJG1XRwv.js} +32 -32
  27. package/dist/assets/{BillPaySetUpPage-BUSwkzqv-DIcHGcbo.js → BillPaySetUpPage-DkBnCNVT-DuhN0B9J.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-aPRvtlqA-CvfD2Y8F.js → BillingSettingsPage-Bxl_rTxp-CiR8VS-8.js} +4 -4
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BU3VuxEm-VUKCHen3.js → BillsBulkReviewDrawerPage-BAQfge2H-BRM7aN30.js} +1 -1
  30. package/dist/assets/{BoxItem-CZKWkdxd-B5o_Xoj8.js → BoxItem-BiXktaUJ-Cfy2EaaH.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CeDGi-RH-xh2K8rbM.js → BusinessVerificationPage-BvtQdbIO-BG9aG986.js} +7 -7
  32. package/dist/assets/CardNumberSubText-usoiubBx-JT9ehyHX.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-V-W_U5k1-DPPyNC8_.js → CashbackDetailPage-CKSxtvZL-C5tKHPnX.js} +17 -17
  34. package/dist/assets/{ChargeCardDetailPage-BP-zAMYI-C3fXrPWG.js → ChargeCardDetailPage-Dwb3MwPx-DGZ2FMyW.js} +40 -40
  35. package/dist/assets/{ChargeCardListPage-DORW9YE4-V1Xd3RQj.js → ChargeCardListPage-CQ3lUqTC-ClOjN4Tj.js} +27 -27
  36. package/dist/assets/{ChargeCardListTable-C32mZrwY-BKVvlwyx.js → ChargeCardListTable-B2MUmgfU-D_6CnuuE.js} +14 -14
  37. package/dist/assets/{ChargeCardPromoPage-CE4kH4Js-DA3SyzWk.js → ChargeCardPromoPage-DNZ_qrk1-Ckodpm9A.js} +14 -14
  38. package/dist/assets/{ChargeCardSetupPage-CumpB2GQ-CLFpKwEI.js → ChargeCardSetupPage-DX4VlcBt-9AzPA1m8.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DPIAjww0-B4pg53DT.js → ChargeCardStatementsPage-DlVfCfY8-Ciq-TW-L.js} +6 -6
  40. package/dist/assets/ChargeCardUtils-i4In9Us5-BeJKYV4x.js +1 -0
  41. package/dist/assets/{ChaseOverlay-BGZfbx0H-CY_E45BY.js → ChaseOverlay-DYQYE0RM-Cl7PDEtm.js} +8 -8
  42. package/dist/assets/{CheckDepositDrawerPage-Bl52b4SW-CZzuzj_7.js → CheckDepositDrawerPage-C653BICE-BliVsvVN.js} +11 -11
  43. package/dist/assets/{CollapsableReportTable-B0wI9SM1-DyxRAEGL.js → CollapsableReportTable-KGZROyWO-BB5JbMLM.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-DyOVRvtQ-qzbkNJ8X.js → CompanyOfficerDetailsSection-WlKm-fM0-DT0aWaVM.js} +30 -30
  45. package/dist/assets/{CompanyPassportCard-C_YUK3R3-BmAXdeyi.js → CompanyPassportCard-BXQt77bL-CgrFJoow.js} +5 -5
  46. package/dist/assets/{CompanyPassportPage-QFJ0G7X7-usFLRy-E.js → CompanyPassportPage-CdM9x1g7-DHJ-ptII.js} +29 -29
  47. package/dist/assets/{CompleteProfile-DVE16v3y-CMtnbQZR.js → CompleteProfile-g0ErQlZA-BaxE51VT.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BA8BvtO--w2UtNkAF.js → ConfettiBurst-Cu0ce9ZQ-B47uGNY_.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-ncBGwfXK-BUe0tXGP.js → CreateOrEditVendorPage-Zn--1Mu0-xtwEugAO.js} +8 -8
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DqEVQgMx-DFK6MZ6X.js → CreditCardPaymentDrawerPage-BSS4YcVE-BNPDfaX6.js} +19 -19
  51. package/dist/assets/{CreditCardPaymentPlgSection-vmErttTD-CytN37qx.js → CreditCardPaymentPlgSection-QKLSnyR5-DUyvaz3Z.js} +8 -8
  52. package/dist/assets/{CurrencySelectField-BEb19UaA-BoldRT0Z.js → CurrencySelectField-DxrwSaJK-Cu5VbUzb.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-L4l1ybmh-B2kuCczW.js → CustomerOnboardingActivationPage-BbfI4g9k-bQf7ee-N.js} +2 -2
  54. package/dist/assets/CustomerOnboardingContainerPage-DkXWw44M-DCp1xd8r.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D3Zm658F-BuH9tDfF.js → CustomerOnboardingDetailPageSkeleton-DyIeAi4x-Ciojhx6k.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BXsJFpEX-DgMgRgZi.js → CustomerOnboardingNoStepsPage-BbHZQvuH-pcu4RngU.js} +2 -2
  57. package/dist/assets/{CustomerOnboardingPage-D3zpI1df-COxdjvpq.js → CustomerOnboardingPage-BGKjRruK-C_-kvbjL.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-DjVZfC2C-9VLKFifa.js → CustomerOnboardingProductSuitePage-Cmwfbh1x-D3ospPa7.js} +1 -1
  59. package/dist/assets/{Dashboard-wY0FneRs-CscNuWPH.js → Dashboard-DCbGYUNO-CggBXce9.js} +114 -114
  60. package/dist/assets/{DashboardReportPage-CMgr0CSc-DFK7qDD5.js → DashboardReportPage-7sacscjb-CCrnEMLn.js} +19 -19
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-B73UBY5T-CojDVgPF.js → DashboardSidebarBackgroundAnimation-CcQR2lMq-Cf2eLsVD.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DrqBG940-BL30cPZ9.js → DepositAccTransactionItem-u7kiVxu3-Cq_mC_h_.js} +3 -3
  63. package/dist/assets/DepositAccTransactionListPage-BTMDl7KO-CkFA5sso.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-vRHD5DmW-CB41e-Go.js → DomesticWireDetailsPage-CjliTPRp-Cxo45rzx.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-D_UoB4Xy-CXZqPF3W.js → DownloadOverlay-LzyYQ7X7-Cqsz6Go0.js} +1 -1
  66. package/dist/assets/{DrawerPage-ijHe0bCp-DiEqZBob.js → DrawerPage-DVu3OGym-ELFavZIA.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-BehcmP1s-B0OWtRsu.js → EditPeoplePage-COZuksUu-BAJ712Zd.js} +5 -5
  68. package/dist/assets/{EditReimbursementDetailPage-Cz82Vz26-BRJ7TMrj.js → EditReimbursementDetailPage-P7gybbTe-DhmHzkez.js} +59 -59
  69. package/dist/assets/{EntityDetailPage-CN-ewzjy-BWpB3zGM.js → EntityDetailPage-CMAFiXng-EHp1vVUv.js} +2 -2
  70. package/dist/assets/{EntitySummarySection-B4ozhtlU-Bh59rhzI.js → EntitySummarySection-BezHSTT7-CA4YQ14w.js} +5 -5
  71. package/dist/assets/{ExpenseAutomationOverviewPage-BmNuSoUs-u9wwMA7C.js → ExpenseAutomationOverviewPage-CX5wpbbp-BxzSM0jW.js} +17 -17
  72. package/dist/assets/ExpenseAutomationPage-CaeVli6J-DwDyMFlL.js +1650 -0
  73. package/dist/assets/{ExpressPayPage-CgrGtZ4F-DhVG-NpX.js → ExpressPayPage-KpzY-AC4-B3x4TcSO.js} +9 -9
  74. package/dist/assets/{FeaturePreviewPage-Dk_c37Rm-DmGR9BMT.js → FeaturePreviewPage-T7VgNi57-XquGM-uR.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-BVi7m38_-DCvEuFsi.js → FollowStepsSection-BffVXexb-Wb7yroWy.js} +23 -23
  76. package/dist/assets/{GlobalReviewListPage-DiZGC9B1-DVmZQU9C.js → GlobalReviewListPage-DPJug-7p-FbhUXbzf.js} +14 -14
  77. package/dist/assets/{HelpButton-DiIoYeXn-B1h-JEp9.js → HelpButton-BkxT0f9t-DltO0YWd.js} +4 -4
  78. package/dist/assets/{InformationCardStack-C8-4dhWR-CkAP-hMp.js → InformationCardStack-CiO7p4bX-Ca7THwnz.js} +4 -4
  79. package/dist/assets/{InsightsCardStack-BKm0dSeJ-BPY6fmB5.js → InsightsCardStack-CCx4eRv0-BoXCNjZt.js} +9 -9
  80. package/dist/assets/{InsightsSection-C9MHOCQd-CxH8mnp9.js → InsightsSection-CQRpIy9c-BVaWF-TR.js} +4 -4
  81. package/dist/assets/{IntegrationsSettingsPage-4qlL5Dsx-pk08ZRqz.js → IntegrationsSettingsPage-CDHIF3ky-BZdWjiMh.js} +3 -3
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DqCtPykV-RePKT-cw.js → InternationalWireSwiftDetailsPage-BTB0YTLP-Fw5hYyJd.js} +13 -13
  83. package/dist/assets/{InternationalWireVerificationPage-Cl-p0inO-N3ibBM1E.js → InternationalWireVerificationPage-DZAa5CXK-CShVs05a.js} +10 -10
  84. package/dist/assets/{InviteFormPage-L6j0rOBW-BljG3gyG.js → InviteFormPage-CVIA_4cc-xvdMmRWy.js} +20 -20
  85. package/dist/assets/{InvitePageListView-KYjMIc4q-BvLSTtNP.js → InvitePageListView-BapkK9dR-CMoNigd7.js} +40 -40
  86. package/dist/assets/InvitePeoplePage-ChM26gAd-3PSfXhTf.js +12 -0
  87. package/dist/assets/{InvoiceUploadSection-DZC4oscG-qxWcqOIO.js → InvoiceUploadSection-CfoxMKse-CDgcPY9V.js} +6 -6
  88. package/dist/assets/{IssueChargeCardPage-DMdZCfqA-CZcxwjMQ.js → IssueChargeCardPage-DoNxoxCV-BuHBJdzr.js} +22 -22
  89. package/dist/assets/{LabeledAddressValue-CBOrzSsG-nee1vU4U.js → LabeledAddressValue-DzKLuwO0-Dbmo8xwC.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-C-fJPbDr-BL1p3tu1.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-BoXsUqpR-oiIFvQRa.js → LabeledControlledCheckBoxField-BsXmJGaz-B9D7gdxU.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CQPkrdRe-DDLZPwbC.js → LabeledCreatableSingleSelectField-CNcoKtBi-DbNXS5w-.js} +2 -2
  93. package/dist/assets/{LabeledDocumentField-DEeeTuVw-uCiSHKoS.js → LabeledDocumentField-DB-XX9hy-ARW_yKHV.js} +3 -3
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DYRkxlY--Bk-7Qy7i.js → LabeledDropDownFormattedTextField-ChF-tfZl-CoOdklmM.js} +3 -3
  95. package/dist/assets/{LabeledText-DQiR_FIX-Cq-hk8XI.js → LabeledText-DQjY46zj-CJXj8rFi.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-BgLjIn8p.js → LabeledUserSingleSelectWithSubtitlesField-Dg_jyvIT-BII3s1HZ.js} +7 -7
  97. package/dist/assets/{LabeledZeniRolesDropDownField-azPB8idg-Dod-yMmJ.js → LabeledZeniRolesDropDownField-qeHXm7K1-iR_szjxt.js} +6 -6
  98. package/dist/assets/{LinkJETransactionPage-Ct0HcxvN-CoVcew-v.js → LinkJETransactionPage-DWq96C-C-BScn3NVF.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-Zvy2iURT-CKL7oXqu.js → LowBalancePopup-DIu4EJtv-FHHWLFWk.js} +4 -4
  100. package/dist/assets/{MagicLinkACHDetailsPage-BY6pEieF-CMSi32Px.js → MagicLinkACHDetailsPage-0uTQmYPp-CFGb5gZH.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BK5RZSiS-BptWrimx.js → MagicLinkDomesticWireDetailsPage-CtkSDg_U-DqPdzilp.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-hK5cNiNB-WwKIYKSe.js → MagicLinkInternationalWireDetailsPage-qNEvVVcm-C2m2KEe0.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-Drn_p982-Dd9Y_AlA.js → MagicLinkSuccessPage-D4C3XF4W-EgVx2lLe.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DRMHVOzF-BonTYr-V.js → MagicLinkTitleSection-DXZCLfIM-2GWQnCnZ.js} +9 -9
  105. package/dist/assets/{MailingDetailsSection-DgdAYgpS-CFXayn-8.js → MailingDetailsSection-7_w5PfFQ-C9R3FLGa.js} +6 -6
  106. package/dist/assets/{MeetingCalenderPopup-CAh7iae0-CIOK3_iA.js → MeetingCalenderPopup-2P6uhLqh-CkyOJaM-.js} +1 -1
  107. package/dist/assets/{Menu-bleLgSLu-DaNN7jzz.js → Menu-Ya9EH9T1-XEx08cqQ.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-DRxmQCbq-Bx9nexN4.js → MyBankConnectionsSettingsPage-Bz9BP12B-B0raEGfA.js} +11 -11
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-BYLhb47G-pes3OjvP.js → MyPendingActivationChargeCardListPage-BxFFCBYU-CmVzmveh.js} +2 -2
  110. package/dist/assets/{MyProfileSettingsPage-eVfCRTfx-C1C2MWMx.js → MyProfileSettingsPage-BRTEYBf1-BuzCCWQu.js} +11 -11
  111. package/dist/assets/{NavBarWithPicker-BE2MW7hB-C2Q1UUPB.js → NavBarWithPicker-Cx1ldzdT-ByHGGAzI.js} +4 -4
  112. package/dist/assets/{NavigationArrow-eEaMttBX-dVTivT8M.js → NavigationArrow-Cic_S7sL-CafjbEnx.js} +1 -1
  113. package/dist/assets/{NavigationDots-CNwL0a7I-eyaik967.js → NavigationDots-BnqdhDar-BHuykGzD.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-CSWqCqAC-3LX-Lnzn.js → NewGlobalMerchantPage-BMLnV68V-Df2U2-Pi.js} +11 -11
  115. package/dist/assets/{NoDataChart-DNmdY5gQ-CMwiaxGm.js → NoDataChart-CyIzcvzb-CVVPhPRo.js} +3 -3
  116. package/dist/assets/{NoDataTable-DW2wAX3o-7ZoMqIrJ.js → NoDataTable-Cf9Qv-ms-BIxVQmVT.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BMJTG-tj-BCL9lImd.js → NotFoundPage-BP2jA51O-DvlpUk9Z.js} +4 -4
  118. package/dist/assets/{NotificationSettingsPage-Vd3UvdLu-S0VOV4Ql.js → NotificationSettingsPage-Bhj72XzL-DgHNUBYw.js} +17 -17
  119. package/dist/assets/NotificationsListConfig-BcRqz3T--CwofCBLm.js +1 -0
  120. package/dist/assets/{NotificationsPage-BaekDEw7-Cs7zF3k-.js → NotificationsPage-DEQ0muyV-AFyu-A1B.js} +29 -29
  121. package/dist/assets/{OpExByVendorPage-DNyTA9nx-D6E7lJvv.js → OpExByVendorPage-BPvIdjMh-GjqInlE8.js} +6 -6
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-DQ82QsuS.js → OverlayContainerPage-Bmu909Fo-B4CijHVT.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-DbP4ybN4-DeKOl1Oc.js → PandLWithForecastPage-CgMYDel--CrwH5GHU.js} +6 -6
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Dd4Aen8j-Ctc3Ha-y.js → PaymentAccountSetupBillingAddressSection-CfUpfrt6-DiMg5_6V.js} +12 -12
  125. package/dist/assets/{PeoplePage-B3n7ek2h-uuc0_T22.js → PeoplePage-BrL4O-03-BHA1i9-R.js} +18 -18
  126. package/dist/assets/{PortfolioAllocationFormPage-CzA_c7hR-D4H-GZTH.js → PortfolioAllocationFormPage-C24sa7Lv-D7dV2koR.js} +7 -7
  127. package/dist/assets/{PortfolioDetails-Drgv4Osg-Wtx195rT.js → PortfolioDetails-wAtPiO4w-C8Xq6LTb.js} +23 -23
  128. package/dist/assets/{ProductsCarousel-BnnfJR0o-1ucX8gqh.js → ProductsCarousel-B8KxzJsX-BAeIItJs.js} +5 -5
  129. package/dist/assets/{PromoBaseCards-BGHJivI8-QTKlmjbr.js → PromoBaseCards-DKu8lmMb-CbitZiAU.js} +3 -3
  130. package/dist/assets/{QBOConnectionDialog-uiW9eeZu-CJhmYtAn.js → QBOConnectionDialog-CSRVcpvB-DsmFVlUU.js} +9 -9
  131. package/dist/assets/{QBOSetupSection-DPb0VAii-CLt6Rb6_.js → QBOSetupSection-CwO2OwTA-DfOK3FQy.js} +10 -10
  132. package/dist/assets/ReimbursementApprovalRuleDetailPage-DWAgRWah-DAeIJHt1.js +26 -0
  133. package/dist/assets/{ReimbursementApprovalRulesPage-C1AFF_DM-vNX_0PWy.js → ReimbursementApprovalRulesPage-CWZIqbqf-2nP7no61.js} +32 -32
  134. package/dist/assets/{ReimbursementDetailPage-Du6R1zje-DfmTmZh3.js → ReimbursementDetailPage-DaiOed8i-t4bX9i7-.js} +8 -8
  135. package/dist/assets/{ReimbursementPromoPage-CW9eyjp9-hg5pl-np.js → ReimbursementPromoPage-CTpCa9C7-WAySoU1n.js} +6 -6
  136. package/dist/assets/{ReimbursementSetUpPage-CbPwgIqt-DlHsYtWb.js → ReimbursementSetUpPage-Cd0w6zdZ-CapxuQlm.js} +3 -3
  137. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D_IG6Yzl-B2GWCVK0.js +1 -0
  138. package/dist/assets/{ReloadCard-Dvn17Oxl-DzvJVrId.js → ReloadCard-D8XT-nw--BGnVgOtj.js} +5 -5
  139. package/dist/assets/{ReportTableViewSelector-C5_qr5qe-ClZSH2bH.js → ReportTableViewSelector-kf12PTIw-_koMJS6q.js} +10 -10
  140. package/dist/assets/{ReportsPage-BNcymVwf-C0BED4Ok.js → ReportsPage-D0dEACVc-CgqzQVRZ.js} +9 -9
  141. package/dist/assets/{RevenueChart-DILkui6c-DnsmI5K2.js → RevenueChart-D67Egnoj-B0BJYpf4.js} +14 -14
  142. package/dist/assets/{ReviewDetailsPage-ZYzvK95X-KVKmpgCn.js → ReviewDetailsPage-DX3JdY2D-BVW8q6gp.js} +5 -5
  143. package/dist/assets/{ReviewOverlay-DhUFI1ES-r1eu-OFz.js → ReviewOverlay-BUmIoEZp-D3xvXshe.js} +4 -4
  144. package/dist/assets/{RoleWithToolTip-_W95JBwt-C0fe2sAV.js → RoleWithToolTip-QUDWRgyn-DzrP2xLD.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-iQXV-V_H-BhZNXgbs.js → ScheduleDetailsFixedAssetsPage-ffFbqWqR-mWiNohG4.js} +4 -4
  146. package/dist/assets/{ScheduleDetailsPage-KgHwQGrw-B2V1iuf9.js → ScheduleDetailsPage-Btyinpxx-TW4CABi6.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-Bixq8Q7W-N1kxr5zg.js → ScheduleSequenceTable-nubG9ZPF-CmzJbQeN.js} +17 -17
  148. package/dist/assets/{ScreenRoutes-65j87oC2.js → ScreenRoutes-BC18Q4eZ.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-C9PPpmcc-puvAr14h.js +378 -0
  150. package/dist/assets/{SetUpDefaultSection-CI0mxu3H-JpA1rufD.js → SetUpDefaultSection-D54P9sLQ-DIoImqvg.js} +9 -9
  151. package/dist/assets/{SignIn-DslenepV-m8WTqnO1.js → SignIn-DQERofSd-BPkKMSDj.js} +11 -11
  152. package/dist/assets/{SignInScreen-Bs1sd9WX.js → SignInScreen-BbeWg9hl.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-D7SzmCmM-DsyAjyVx.js → SpendManagementListViewPage-B9iJVZhK-Dd5zS51l.js} +10 -10
  154. package/dist/assets/{SpendManagementPerTabPage-DKaDr4mu-CQG-8bWa.js → SpendManagementPerTabPage-DiduNPFx-BvN2qFiJ.js} +12 -12
  155. package/dist/assets/{SpendManagementSection-Ddfq2u6H-DjhY5rM_.js → SpendManagementSection-BPJDk9AQ-DNTgKL_h.js} +5 -5
  156. package/dist/assets/{SpendMgmtSetupAccountSection-CPnNzjr--CVGBUj7h.js → SpendMgmtSetupAccountSection-BVOwbOVv-BbEelpUf.js} +6 -6
  157. package/dist/assets/StatementItem-DPiBruWm-BTp46EGg.js +31 -0
  158. package/dist/assets/{StatementsPage-o7MvNKvd-D45F8BwH.js → StatementsPage-BzG0fWr9-B7zKsVpb.js} +6 -6
  159. package/dist/assets/{StatusSwitcher-kWLQCCwS-B1OCqMuJ.js → StatusSwitcher-aZiGS6I4-CW57CAir.js} +4 -4
  160. package/dist/assets/{SubTabSwitcher-BKm9FxhL-x8uzq0sl.js → SubTabSwitcher-BPzCR9_G-CKWRfEmM.js} +1 -1
  161. package/dist/assets/{SummaryCard-DBMfNfN2-CzWqfaGl.js → SummaryCard-DE3DiW4z-DCcTNI78.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-D_wjK-S2-5FRXGPBR.js → TaskManagementPage-bmYzZzlx-BQOYF4T3.js} +14 -14
  163. package/dist/assets/{TimeRangeSwitcher-2vDR_AEV-BCS0yx4E.js → TimeRangeSwitcher-D10b_iT0-B6MHaMu9.js} +3 -3
  164. package/dist/assets/{TimeframeSwitcher-BB3_i5V0-_2lvvQWN.js → TimeframeSwitcher-w4308CL0-B-m8rZcD.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-CdP0ViK8-Blh3jpmT.js → TimeframeSwitcherWithToggle-DP7dCTZ--Dr3OM9sZ.js} +1 -1
  166. package/dist/assets/{TopExCard-BGgGFzmK-CseYSNZP.js → TopExCard-C9Dwe5gi-HuLCC_VB.js} +6 -6
  167. package/dist/assets/{TopExDetailPage-CbzYG54M-Cn_cL4Fl.js → TopExDetailPage-Ch4gEAFc-CW6a2lM7.js} +14 -14
  168. package/dist/assets/TransactionDetailPage-y3Jwxln6-CGGNkWbu.js +912 -0
  169. package/dist/assets/{TransactionList-C0xK6_zI-DXurFqrv.js → TransactionList-Dy4LSOLF-DLQzM8h7.js} +5 -5
  170. package/dist/assets/{TransactionListBig-CIX6CdX--k6cdfuui.js → TransactionListBig-BOmqcsRt-CoBJs1L1.js} +13 -13
  171. package/dist/assets/{TransactionListPage-B7ppBJig-Cw4vRsI1.js → TransactionListPage-D1XobIP_-CQ1XF-sO.js} +4 -4
  172. package/dist/assets/TransactionVendorDetailPage-DNbFFCAy-DiSmfMU1.js +80 -0
  173. package/dist/assets/{TransferDrawerPage-DerGmul8-CuVOWq-U.js → TransferDrawerPage-DEK-tLwC-CMAkImaq.js} +19 -19
  174. package/dist/assets/{TreasuryOverviewPage-DW2gZwip-BnPT0qco.js → TreasuryOverviewPage-Bv8YOcOu-DgYbKZRI.js} +45 -45
  175. package/dist/assets/TreasuryPromoPage-BpJ4G2tW-wrKqn45d.js +477 -0
  176. package/dist/assets/{TreasurySetupPage-Bo0HQeeU-CiRulceo.js → TreasurySetupPage-DmXhUnJ2-CTKxmbjB.js} +2 -2
  177. package/dist/assets/{TreasuryStatementsPage-DS_VK4WN-Cnn4qXHn.js → TreasuryStatementsPage-iOhX7bQX-C-86zNAp.js} +3 -3
  178. package/dist/assets/{TreasuryTaxLetterPage-DgwqyL6v-BEtv0yga.js → TreasuryTaxLetterPage-SKYFef4J-CxXJUgOP.js} +3 -3
  179. package/dist/assets/{TreasuryTransferOrReviewPage-ZrSACgLJ-B-C18Uw6.js → TreasuryTransferOrReviewPage-BAQy6UbF-5smN8wwG.js} +42 -42
  180. package/dist/assets/{TrendChart-D07k3uRr-DX_P6NGJ.js → TrendChart-DrNmAOxp-D32D_fQx.js} +4 -4
  181. package/dist/assets/{TrendWithTransactions-ibwuOssC-wAxC5G58.js → TrendWithTransactions-CFapbjqF-Tluomzgb.js} +5 -5
  182. package/dist/assets/{UncategorizedAccountsMappingPage-D1m2Ok2e-Bc7XjWkf.js → UncategorizedAccountsMappingPage-BjyEIyD--q-mXglLO.js} +15 -15
  183. package/dist/assets/{UnitIntegrationPage-BJxRjjfK-CSfDNJiC.js → UnitIntegrationPage-CMRuNXKH-W-172t0m.js} +2 -2
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DI_GZA8A-D7qH6H92.js → UploadAdditionalDocumentOverlay-BJNFsBN7-CW3s6tmn.js} +2 -2
  185. package/dist/assets/{Vendor2FAPopup-80vvc7gE-DfCBbxkB.js → Vendor2FAPopup-Dk_XUHkP-BfvRXa0R.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-CQcuiNPr-CceAJ-hu.js → VendorACHDetailsPage-DS1-IldK-BBUTN6DM.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-Dx_yfZDH-CdV4fZHt.js → VendorDetailPage-CzECD1Tt-BxCeFQBa.js} +8 -8
  188. package/dist/assets/{VendorDomesticWireDetailsPage-DN5x3F_Z-Bq-suC9S.js → VendorDomesticWireDetailsPage-Bd-dOP2Q-B1c_niFG.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-8Jz187lD-DiuMGs7f.js → VendorFiling1099EditablePage-C7D_fWCV-ar_0EIM_.js} +14 -14
  190. package/dist/assets/{VendorFirstReviewPage-CokvYaRq-C8O10dnC.js → VendorFirstReviewPage-B4YffYJO-BW-F4-km.js} +10 -10
  191. package/dist/assets/{VendorInternationalWireDetailsPage-lo9l2Q88-BNP_VZvO.js → VendorInternationalWireDetailsPage-D1i4RwUe-BBAccWWe.js} +7 -7
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPj3zrDk-Gct01KpS.js → VendorInternationalWireSwiftDetailsPage-QqA8DADQ-CetqwMx2.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-BqoW4DlP-BublwzKM.js → VendorsAccountsSection-C8qo0vKx-DOST9l3F.js} +2 -2
  194. package/dist/assets/{VerifyDevice-D8iPRJ3k-CjjdiKnG.js → VerifyDevice-Cku9_tdW-BTj-mHAb.js} +1 -1
  195. package/dist/assets/VideoPlayer-DqxblGWn-BXG0P4e3.js +38 -0
  196. package/dist/assets/VideoPopup-8253nBrT-DoJHFZMN.js +31 -0
  197. package/dist/assets/{WarningsDrawerPage-qYWFsE3s-zj7-7ffo.js → WarningsDrawerPage-B08Au4yQ-B9IzdYhz.js} +7 -7
  198. package/dist/assets/{ZeniAccountDetailPage-BL2a5Dmz-B_6wvsrQ.js → ZeniAccountDetailPage-Dx-w2w6D-4cfDv73S.js} +16 -16
  199. package/dist/assets/{ZeniAccountListViewPage-CWqzDWcO-DwWqzBYy.js → ZeniAccountListViewPage-DH4BnQ7k-CHjigIuG.js} +13 -13
  200. package/dist/assets/ZeniAccountNavBarPieces-ce5jAGIl-DVfSolpZ.js +14 -0
  201. package/dist/assets/{ZeniAccountPromoPage-CBm3w0kN-DJjJeczH.js → ZeniAccountPromoPage-D4J2Yoil-BDHpq4Eb.js} +9 -9
  202. package/dist/assets/{ZeniAccountSetupPage-C5VzT9lH-Cdnhgc2k.js → ZeniAccountSetupPage-DTkO1ASr-1XYqtTaw.js} +3 -3
  203. package/dist/assets/{ZeniCopyright-BUctH39C-C_feHk3O.js → ZeniCopyright-BiSq0yhI-CQbT1WRc.js} +1 -1
  204. package/dist/assets/ZeniTransferAmountSlider-B-iWjIM--_5mAEjc_.js +63 -0
  205. package/dist/assets/{analyticsHelper-B3uAu0es-CqogBTHJ.js → analyticsHelper-Dc3DtVTm-Y5fPzPLq.js} +1 -1
  206. package/dist/assets/{analyticsHelper-B34YX2ij.js → analyticsHelper-lnjVamrT.js} +1 -1
  207. package/dist/assets/{chartTypes-CJmQ6FtI-TiHHrGYV.js → chartTypes-C7uaeRCc-CtqAquQd.js} +1 -1
  208. package/dist/assets/{commonDimensions-WRL2ZVK_-CxdZfQVs.js → commonDimensions-MaxjMSVa-n5Ul9FT7.js} +1 -1
  209. package/dist/assets/{detailCommon-Dfxas1Kf-D_ZxAMOH.js → detailCommon-OK9JA2hc-EAouVA2X.js} +6 -6
  210. package/dist/assets/{downloadPdf-B1f0mDl2-BZJtGTOh.js → downloadPdf-QtapKpnq-D53WP2BZ.js} +1 -1
  211. package/dist/assets/{index-LQh-jIrB.js → index-4y_mNX1u.js} +3415 -3415
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-BG784RuM-B-LxqW1w.js → mapLoadingInProgressToTreeNode-pvoDlh5w-BH0I_ZXQ.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DPeWjfgv.js → mapSectionWithAcOnlyToTreeNode-CVUpGQKE-B2Y7wF15.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-CcgVbOH5-TVZJ590D.js → mapSpacerToTreeNode-P_HzYMUQ-T8bNyKbZ.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-CU583ICK-CZ9bt-pf.js → mapTimeframeBalancesToTreeNode-B8xJouuF-0J2xTAj5.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DTlwFauL-CZ3n-orV.js → mapTimeframeBalancesToTreeNode-CB6RE8w9-CAzsziRN.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-Bh46qWxB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BAAatv-Y-C-hpmEKv.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-DTfegixr-3BrKm7V-.js → toCOABalancesWithID-JkvOa9nR-BuY_FDkW.js} +1 -1
  219. package/dist/assets/{toChartData-CH5DcWUY-CCr3PEX8.js → toChartData-CEfu5Lvp-ztIWW0aM.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-BdPkQoh7-2QT0NfKg.js → treasuryColorHelper-Bvcahv9r-CJj1lXeK.js} +1 -1
  221. package/dist/assets/{uploadAttachment-COwu5Mqo-D1mpbLnD.js → uploadAttachment-DNrYcaTL-7XpOhOp_.js} +14 -14
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-BSggA-oy.js → uploadReceipts-dxsKhm9I-Dv2hG-YC.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +4 -4
  225. package/dist/assets/ArAgingChart-tm5ZiNuY-4-nNFTyo.js +0 -24
  226. package/dist/assets/BillPayApprovalRuleDetailPage-fZnmOmyN-R8AfUVmE.js +0 -27
  227. package/dist/assets/CardNumberSubText-1BRQQyfd-JE07s-Fs.js +0 -21
  228. package/dist/assets/ChargeCardUtils-Wp4Ko18L-GTVU2RZO.js +0 -1
  229. package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-C0-g-aXs.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-2xDjOUwm-DDOM6-AH.js +0 -66
  231. package/dist/assets/ExpenseAutomationPage-Cz3JsW-E-BrcVbkfQ.js +0 -1650
  232. package/dist/assets/InvitePeoplePage-CbZqVsTp-ByvmG5mg.js +0 -12
  233. package/dist/assets/LabeledAddressValueField-YuLcra47-Cc5nlJue.js +0 -45
  234. package/dist/assets/NotificationsListConfig-DbHYPEWZ-DjqGq2mH.js +0 -1
  235. package/dist/assets/ReimbursementApprovalRuleDetailPage-Cvok7KBA-C0WmzojS.js +0 -26
  236. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DmRIywf6-C6sXIYK8.js +0 -1
  237. package/dist/assets/SetUpAccountSection-D8FMVhkL--eJk_Euq.js +0 -378
  238. package/dist/assets/StatementItem-B2uPIFUk-jLxVfDq5.js +0 -31
  239. package/dist/assets/TransactionDetailPage-C-CfEtCO-B6iRDC7J.js +0 -912
  240. package/dist/assets/TransactionVendorDetailPage---HGdQiZ-B2-rEsH7.js +0 -80
  241. package/dist/assets/TreasuryPromoPage-DzqdEmPJ-Cgk-JJnE.js +0 -439
  242. package/dist/assets/VideoPopup-SdlRHLkM-agneM1Zx.js +0 -31
  243. package/dist/assets/ZeniAccountNavBarPieces-C0MyICK2-Bjp8UANv.js +0 -14
  244. package/dist/assets/ZeniTransferAmountSlider-q37z6XvR-omF-65ky.js +0 -63
@@ -0,0 +1,477 @@
1
+ import{u as ae,e as A,Y as Ce,x as we,a2 as $e,l as fe,M as O,j as r,aX as ye,o as i,iB as ke,bp as je,w as j,K as J,_ as K,J as $,s as F,f as a,C as z,y as R,d7 as be,br as Se,T as ze,B as ve,cP as Le,r as h,dM as Me,ay as Be,c7 as Pe,a3 as Ee,v as Q,cB as Te}from"./index-4y_mNX1u.js";import{b as s,n as t,f as Ie}from"./vendor-rkTZJa59.js";import{x as De}from"./MeetingCalenderPopup-2P6uhLqh-CkyOJaM-.js";import{z as We}from"./VideoPlayer-DqxblGWn-BXG0P4e3.js";import{l as _e}from"./treasuryColorHelper-Bvcahv9r-CJj1lXeK.js";import{r as Re}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ge}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:C})=>{const c=A(),u=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Le,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ne,{windowSize:c,children:[r.jsx(Ae,{children:r.jsx(Ye,{onClick:C})}),r.jsxs(Oe,{children:[r.jsx(Fe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(H,{children:u.agreementDrawer.introBullets.map((p,w)=>r.jsx(re,{children:p},w))}),r.jsx(H,{children:u.agreementDrawer.documents.map((p,w)=>r.jsx(Ue,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ve,{children:p.links.map((g,k)=>r.jsx(Xe,{children:g.link!==""?r.jsx(ee,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(H,{children:u.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(re,{children:p},w))})]})]})})},Ne=t.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ height: ${e=>e.windowSize==="small"?"auto":"100%"};
6
+ background-color: ${e=>e.theme.colors.grey5};
7
+ `,Ae=t.div`
8
+ display: flex;
9
+ justify-content: end;
10
+ padding: ${i.sp4} ${i.sp6};
11
+ `,Oe=t.div`
12
+ display: flex;
13
+ flex-direction: column;
14
+ padding: 0 ${i.sp6} 0 ${i.sp6};
15
+ `,Fe=t(Te)`
16
+ color: ${e=>e.theme.colors.primary};
17
+ padding-bottom: ${i.sp3};
18
+ ${e=>e.windowSize==="small"?Q.h6Medium.css:Q.h5Medium.css};
19
+ `,Z=t(j)`
20
+ color: ${e=>e.theme.colors.hero};
21
+ max-width: 100%;
22
+ align-self: stretch;
23
+ `,Ye=t(Ee)`
24
+ cursor: pointer;
25
+ width: ${i.sp4};
26
+ height: ${i.sp4};
27
+ color: ${e=>e.theme.colors.hero};
28
+ &:hover {
29
+ color: ${e=>e.theme.colors.primary};
30
+ }
31
+ `,qe=j.withComponent("ul"),H=t(qe)`
32
+ margin: 0;
33
+ padding-left: ${i.sp4};
34
+ color: ${e=>e.theme.colors.hero};
35
+
36
+ li::marker {
37
+ font-size: 10px;
38
+ }
39
+ `,Ue=t.li`
40
+ color: ${e=>e.theme.colors.hero};
41
+ `,ee=t.a`
42
+ color: ${e=>e.theme.colors.hero};
43
+ text-decoration: underline;
44
+ text-decoration-color: ${e=>e.theme.colors.grey2};
45
+ cursor: pointer;
46
+ &:hover {
47
+ color: ${e=>e.theme.colors.primary};
48
+ text-decoration-color: ${e=>e.theme.colors.primary};
49
+ }
50
+ `,Ve=t.div`
51
+ display: inline;
52
+ `,re=t.li`
53
+ color: ${e=>e.theme.colors.hero};
54
+ `,Xe=t.span`
55
+ display: inline;
56
+ `,v=0,P=5e6,Je=1e4,x=O.getLocalizedStrings().spendManagement.treasury.promoPage,N=[x.sliderLabel0,x.sliderLabel1,x.sliderLabel2,x.sliderLabel3,x.sliderLabel4];function Ke(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 Qe=({analytics:e,yieldPercentage:C})=>{const[c,u]=Ie.useState(15e5),p=c*C,w=()=>`${(c-v)/(P-v)*100}%`,g=ae(),k=A();return r.jsxs(Ze,{windowSize:k,children:[k==="small"?r.jsx(l1,{children:x.sliderTitle}):r.jsx(n1,{children:x.sliderTitle}),r.jsxs(e1,{children:[k==="small"?r.jsxs(r.Fragment,{children:[r.jsx(te,{style:{color:g.colors.primary},children:x.sliderEarnLabel}),r.jsxs(te,{style:{color:a.success},children:[ie(p),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}):r.jsxs(r.Fragment,{children:[r.jsx(oe,{style:{color:g.colors.primary},children:x.sliderEarnLabel}),r.jsxs(oe,{style:{color:a.success},children:[ie(p),r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1,position:"relative",top:`-${i.sp1}`},children:"IV"})]})]}),r.jsx(ze,{style:{color:g.colors.primary},children:x.sliderPerYear})]}),r.jsxs(r1,{children:[r.jsx(i1,{type:"range",min:v,max:P,step:Je,value:c,onChange:b=>{const n=Number(b.target.value);u(n),e.trackTreasuryCalculatorClick("Treasury Promo Page",n)},style:{background:`linear-gradient(to right, ${a.success} 0%, ${a.success} ${(c-v)/(P-v)*100}%, ${a.neutralGrey3Light} ${(c-v)/(P-v)*100}%, ${a.neutralGrey3Light} 100%)`}}),r.jsxs(s1,{style:{left:w()},children:[x.sliderTooltipPrefix," ",Ke(c)]}),r.jsx(t1,{children:N.map((b,n)=>{const G=n/(N.length-1)*P<=c;return r.jsx(o1,{style:{left:`${n/(N.length-1)*100}%`},children:r.jsx(j,{style:{color:G?g.colors.primary:a.neutralGrey1Light},children:b})},n)})})]})]})},Ze=t.div`
57
+ width: 100%;
58
+ max-width: ${e=>e.windowSize==="small"?"345px":"726px"};
59
+ margin: 0 auto;
60
+ padding: ${i.sp6} 0;
61
+ display: flex;
62
+ flex-direction: column;
63
+ align-items: center;
64
+ `,e1=t.div`
65
+ display: flex;
66
+ align-items: center;
67
+ gap: ${i.sp2};
68
+ margin-bottom: ${i.sp4};
69
+ margin-top: ${i.sp2};
70
+ `,te=t(F)``,oe=t(Pe)``,r1=t.div`
71
+ width: 100%;
72
+ position: relative;
73
+ margin-top: ${i.sp4};
74
+ `,i1=t.input`
75
+ width: 100%;
76
+ appearance: none;
77
+ height: 2px;
78
+ border-radius: 1px;
79
+ outline: none;
80
+ &::-webkit-slider-thumb {
81
+ appearance: none;
82
+ width: ${i.sp3};
83
+ height: ${i.sp3};
84
+ border-radius: 100%;
85
+ background: ${e=>e.theme.colors.grey5};
86
+ cursor: pointer;
87
+ border: 2px solid ${a.success};
88
+ margin-top: -7px;
89
+ }
90
+ &::-moz-range-thumb {
91
+ width: ${i.sp3};
92
+ height: ${i.sp3};
93
+ border-radius: 50%;
94
+ background: ${e=>e.theme.colors.grey5};
95
+ cursor: pointer;
96
+ border: 2px solid ${a.success};
97
+ }
98
+ &::-ms-thumb {
99
+ width: ${i.sp3};
100
+ height: ${i.sp3};
101
+ border-radius: 50%;
102
+ background: ${e=>e.theme.colors.grey5};
103
+ cursor: pointer;
104
+ border: 2px solid ${a.success};
105
+ }
106
+ &::-webkit-slider-runnable-track {
107
+ height: 2px;
108
+ background: transparent;
109
+ }
110
+ &::-ms-fill-lower {
111
+ background: transparent;
112
+ }
113
+ &::-ms-fill-upper {
114
+ background: transparent;
115
+ }
116
+ &::-moz-range-track {
117
+ height: 2px;
118
+ background: transparent;
119
+ }
120
+ `,t1=t.div`
121
+ position: absolute;
122
+ top: ${i.sp5};
123
+ left: 0;
124
+ width: 100%;
125
+ display: flex;
126
+ justify-content: space-between;
127
+ `,o1=t.div`
128
+ position: absolute;
129
+ transform: translateX(-50%);
130
+ `,s1=t.div`
131
+ position: absolute;
132
+ top: -${i.sp5};
133
+ white-space: nowrap;
134
+ color: ${a.primaryDark};
135
+ background-color: ${a.success};
136
+ display: flex;
137
+ border-radius: ${i.sp1};
138
+ justify-content: center;
139
+ align-items: center;
140
+ padding: 2px ${i.sp2};
141
+ font-size: 16px;
142
+ font-weight: 500;
143
+ pointer-events: none;
144
+ transform: translateX(-50%);
145
+ `,n1=t(F)`
146
+ color: ${e=>e.theme.colors.primary};
147
+ letter-spacing: -0.01em;
148
+ `,l1=t(Be)`
149
+ color: ${e=>e.theme.colors.primary};
150
+ letter-spacing: -0.01em;
151
+ `,a1=e=>s.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.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"}),s.createElement("path",{d:"M18.5957 5.92554H22.4996V9.82942",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),d1=e=>s.createElement("svg",{width:255,height:189,viewBox:"0 0 255 189",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("g",{clipPath:"url(#clip0_251_38259)"},s.createElement("path",{d:"M0 9.02466C73.8923 -8.35395 80.6314 49.7252 156.567 49.7252C232.502 49.7252 228.443 7.99003 304.378 7.99003C380.313 7.99003 376.254 49.7252 452.189 49.7252C528.124 49.7252 524.065 7.99003 600 7.99003C675.935 7.99003 671.876 49.7252 747.811 49.7252C823.746 49.7252 819.687 7.99003 895.622 7.99003C971.557 7.99003 967.498 49.7252 1043.43 49.7252C1119.37 49.7252 1126.11 -8.38048 1200 9.02466",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 18.9788C73.8923 1.60015 80.6314 59.6793 156.567 59.6793C232.502 59.6793 228.443 17.9441 304.378 17.9441C380.313 17.9441 376.254 59.6793 452.189 59.6793C528.124 59.6793 524.065 17.9441 600 17.9441C675.935 17.9441 671.876 59.6793 747.811 59.6793C823.746 59.6793 819.687 17.9441 895.622 17.9441C971.557 17.9441 967.498 59.6793 1043.43 59.6793C1119.37 59.6793 1126.11 1.57362 1200 18.9788",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 28.9329C73.8923 11.5543 80.6314 69.6334 156.567 69.6334C232.502 69.6334 228.443 27.8982 304.378 27.8982C380.313 27.8982 376.254 69.6334 452.189 69.6334C528.124 69.6334 524.065 27.8982 600 27.8982C675.935 27.8982 671.876 69.6334 747.811 69.6334C823.746 69.6334 819.687 27.8982 895.622 27.8982C971.557 27.8982 967.498 69.6334 1043.43 69.6334C1119.37 69.6334 1126.11 11.5277 1200 28.9329",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 38.887C73.8923 21.5084 80.6314 79.5875 156.567 79.5875C232.502 79.5875 228.443 37.8523 304.378 37.8523C380.313 37.8523 376.254 79.5875 452.189 79.5875C528.124 79.5875 524.065 37.8523 600 37.8523C675.935 37.8523 671.876 79.5875 747.811 79.5875C823.746 79.5875 819.687 37.8523 895.622 37.8523C971.557 37.8523 967.498 79.5875 1043.43 79.5875C1119.37 79.5875 1126.11 21.4818 1200 38.887",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 48.8411C73.8923 31.4625 80.6314 89.5416 156.567 89.5416C232.502 89.5416 228.443 47.8064 304.378 47.8064C380.313 47.8064 376.254 89.5416 452.189 89.5416C528.124 89.5416 524.065 47.8064 600 47.8064C675.935 47.8064 671.876 89.5416 747.811 89.5416C823.746 89.5416 819.687 47.8064 895.622 47.8064C971.557 47.8064 967.498 89.5416 1043.43 89.5416C1119.37 89.5416 1126.11 31.4359 1200 48.8411",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 58.7952C73.8923 41.4166 80.6314 99.4957 156.567 99.4957C232.502 99.4957 228.443 57.7605 304.378 57.7605C380.313 57.7605 376.254 99.4957 452.189 99.4957C528.124 99.4957 524.065 57.7605 600 57.7605C675.935 57.7605 671.876 99.4957 747.811 99.4957C823.746 99.4957 819.687 57.7605 895.622 57.7605C971.557 57.7605 967.498 99.4957 1043.43 99.4957C1119.37 99.4957 1126.11 41.39 1200 58.7952",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 68.7493C73.8923 51.3707 80.6314 109.45 156.567 109.45C232.502 109.45 228.443 67.7146 304.378 67.7146C380.313 67.7146 376.254 109.45 452.189 109.45C528.124 109.45 524.065 67.7146 600 67.7146C675.935 67.7146 671.876 109.45 747.811 109.45C823.746 109.45 819.687 67.7146 895.622 67.7146C971.557 67.7146 967.498 109.45 1043.43 109.45C1119.37 109.45 1126.11 51.3441 1200 68.7493",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 78.7034C73.8923 61.3248 80.6314 119.404 156.567 119.404C232.502 119.404 228.443 77.6687 304.378 77.6687C380.313 77.6687 376.254 119.404 452.189 119.404C528.124 119.404 524.065 77.6687 600 77.6687C675.935 77.6687 671.876 119.404 747.811 119.404C823.746 119.404 819.687 77.6687 895.622 77.6687C971.557 77.6687 967.498 119.404 1043.43 119.404C1119.37 119.404 1126.11 61.2982 1200 78.7034",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 88.6575C73.8923 71.2789 80.6314 129.358 156.567 129.358C232.502 129.358 228.443 87.6228 304.378 87.6228C380.313 87.6228 376.254 129.358 452.189 129.358C528.124 129.358 524.065 87.6228 600 87.6228C675.935 87.6228 671.876 129.358 747.811 129.358C823.746 129.358 819.687 87.6228 895.622 87.6228C971.557 87.6228 967.498 129.358 1043.43 129.358C1119.37 129.358 1126.11 71.2523 1200 88.6575",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 98.6116C73.8923 81.233 80.6314 139.312 156.567 139.312C232.502 139.312 228.443 97.5769 304.378 97.5769C380.313 97.5769 376.254 139.312 452.189 139.312C528.124 139.312 524.065 97.5769 600 97.5769C675.935 97.5769 671.876 139.312 747.811 139.312C823.746 139.312 819.687 97.5769 895.622 97.5769C971.557 97.5769 967.498 139.312 1043.43 139.312C1119.37 139.312 1126.11 81.2064 1200 98.6116",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 108.566C73.8923 91.1871 80.6314 149.266 156.567 149.266C232.502 149.266 228.443 107.531 304.378 107.531C380.313 107.531 376.254 149.266 452.189 149.266C528.124 149.266 524.065 107.531 600 107.531C675.935 107.531 671.876 149.266 747.811 149.266C823.746 149.266 819.687 107.531 895.622 107.531C971.557 107.531 967.498 149.266 1043.43 149.266C1119.37 149.266 1126.11 91.1605 1200 108.566",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 118.52C73.8923 101.141 80.6314 159.22 156.567 159.22C232.502 159.22 228.443 117.485 304.378 117.485C380.313 117.485 376.254 159.22 452.189 159.22C528.124 159.22 524.065 117.485 600 117.485C675.935 117.485 671.876 159.22 747.811 159.22C823.746 159.22 819.687 117.485 895.622 117.485C971.557 117.485 967.498 159.22 1043.43 159.22C1119.37 159.22 1126.11 101.115 1200 118.52",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M0 128.474C73.8923 111.095 80.6314 169.174 156.567 169.174C232.502 169.174 228.443 127.439 304.378 127.439C380.313 127.439 376.254 169.174 452.189 169.174C528.124 169.174 524.065 127.439 600 127.439C675.935 127.439 671.876 169.174 747.811 169.174C823.746 169.174 819.687 127.439 895.622 127.439C971.557 127.439 967.498 169.174 1043.43 169.174C1119.37 169.174 1126.11 111.069 1200 128.474",stroke:"#97C3B9",strokeWidth:1.5})),s.createElement("defs",null,s.createElement("clipPath",{id:"clip0_251_38259"},s.createElement("rect",{width:255,height:189,fill:"white"})))),c1=e=>s.createElement("svg",{width:255,height:189,viewBox:"0 0 255 189",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("g",{clipPath:"url(#clip0_251_38273)"},s.createElement("path",{d:"M255 9.02466C181.108 -8.35395 174.369 49.7252 98.4333 49.7252C22.498 49.7252 26.5575 7.99003 -49.3778 7.99003C-125.313 7.99003 -121.254 49.7252 -197.189 49.7252C-273.124 49.7252 -269.065 7.99003 -345 7.99003C-420.935 7.99003 -416.876 49.7252 -492.811 49.7252C-568.746 49.7252 -564.687 7.99003 -640.622 7.99003C-716.557 7.99003 -712.498 49.7252 -788.433 49.7252C-864.369 49.7252 -871.108 -8.38048 -945 9.02466",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 18.9788C181.108 1.60015 174.369 59.6793 98.4333 59.6793C22.498 59.6793 26.5575 17.9441 -49.3778 17.9441C-125.313 17.9441 -121.254 59.6793 -197.189 59.6793C-273.124 59.6793 -269.065 17.9441 -345 17.9441C-420.935 17.9441 -416.876 59.6793 -492.811 59.6793C-568.746 59.6793 -564.687 17.9441 -640.622 17.9441C-716.557 17.9441 -712.498 59.6793 -788.433 59.6793C-864.369 59.6793 -871.108 1.57362 -945 18.9788",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 28.9329C181.108 11.5543 174.369 69.6334 98.4333 69.6334C22.498 69.6334 26.5575 27.8982 -49.3778 27.8982C-125.313 27.8982 -121.254 69.6334 -197.189 69.6334C-273.124 69.6334 -269.065 27.8982 -345 27.8982C-420.935 27.8982 -416.876 69.6334 -492.811 69.6334C-568.746 69.6334 -564.687 27.8982 -640.622 27.8982C-716.557 27.8982 -712.498 69.6334 -788.433 69.6334C-864.369 69.6334 -871.108 11.5277 -945 28.9329",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 38.887C181.108 21.5084 174.369 79.5875 98.4333 79.5875C22.498 79.5875 26.5575 37.8523 -49.3778 37.8523C-125.313 37.8523 -121.254 79.5875 -197.189 79.5875C-273.124 79.5875 -269.065 37.8523 -345 37.8523C-420.935 37.8523 -416.876 79.5875 -492.811 79.5875C-568.746 79.5875 -564.687 37.8523 -640.622 37.8523C-716.557 37.8523 -712.498 79.5875 -788.433 79.5875C-864.369 79.5875 -871.108 21.4818 -945 38.887",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 48.8411C181.108 31.4625 174.369 89.5416 98.4333 89.5416C22.498 89.5416 26.5575 47.8064 -49.3778 47.8064C-125.313 47.8064 -121.254 89.5416 -197.189 89.5416C-273.124 89.5416 -269.065 47.8064 -345 47.8064C-420.935 47.8064 -416.876 89.5416 -492.811 89.5416C-568.746 89.5416 -564.687 47.8064 -640.622 47.8064C-716.557 47.8064 -712.498 89.5416 -788.433 89.5416C-864.369 89.5416 -871.108 31.4359 -945 48.8411",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 58.7952C181.108 41.4166 174.369 99.4957 98.4333 99.4957C22.498 99.4957 26.5575 57.7605 -49.3778 57.7605C-125.313 57.7605 -121.254 99.4957 -197.189 99.4957C-273.124 99.4957 -269.065 57.7605 -345 57.7605C-420.935 57.7605 -416.876 99.4957 -492.811 99.4957C-568.746 99.4957 -564.687 57.7605 -640.622 57.7605C-716.557 57.7605 -712.498 99.4957 -788.433 99.4957C-864.369 99.4957 -871.108 41.39 -945 58.7952",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 68.7493C181.108 51.3707 174.369 109.45 98.4333 109.45C22.498 109.45 26.5575 67.7146 -49.3778 67.7146C-125.313 67.7146 -121.254 109.45 -197.189 109.45C-273.124 109.45 -269.065 67.7146 -345 67.7146C-420.935 67.7146 -416.876 109.45 -492.811 109.45C-568.746 109.45 -564.687 67.7146 -640.622 67.7146C-716.557 67.7146 -712.498 109.45 -788.433 109.45C-864.369 109.45 -871.108 51.3441 -945 68.7493",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 78.7034C181.108 61.3248 174.369 119.404 98.4333 119.404C22.498 119.404 26.5575 77.6687 -49.3778 77.6687C-125.313 77.6687 -121.254 119.404 -197.189 119.404C-273.124 119.404 -269.065 77.6687 -345 77.6687C-420.935 77.6687 -416.876 119.404 -492.811 119.404C-568.746 119.404 -564.687 77.6687 -640.622 77.6687C-716.557 77.6687 -712.498 119.404 -788.433 119.404C-864.369 119.404 -871.108 61.2982 -945 78.7034",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 88.6575C181.108 71.2789 174.369 129.358 98.4333 129.358C22.498 129.358 26.5575 87.6228 -49.3778 87.6228C-125.313 87.6228 -121.254 129.358 -197.189 129.358C-273.124 129.358 -269.065 87.6228 -345 87.6228C-420.935 87.6228 -416.876 129.358 -492.811 129.358C-568.746 129.358 -564.687 87.6228 -640.622 87.6228C-716.557 87.6228 -712.498 129.358 -788.433 129.358C-864.369 129.358 -871.108 71.2523 -945 88.6575",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 98.6116C181.108 81.233 174.369 139.312 98.4333 139.312C22.498 139.312 26.5575 97.5769 -49.3778 97.5769C-125.313 97.5769 -121.254 139.312 -197.189 139.312C-273.124 139.312 -269.065 97.5769 -345 97.5769C-420.935 97.5769 -416.876 139.312 -492.811 139.312C-568.746 139.312 -564.687 97.5769 -640.622 97.5769C-716.557 97.5769 -712.498 139.312 -788.433 139.312C-864.369 139.312 -871.108 81.2064 -945 98.6116",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 108.566C181.108 91.1871 174.369 149.266 98.4333 149.266C22.498 149.266 26.5575 107.531 -49.3778 107.531C-125.313 107.531 -121.254 149.266 -197.189 149.266C-273.124 149.266 -269.065 107.531 -345 107.531C-420.935 107.531 -416.876 149.266 -492.811 149.266C-568.746 149.266 -564.687 107.531 -640.622 107.531C-716.557 107.531 -712.498 149.266 -788.433 149.266C-864.369 149.266 -871.108 91.1605 -945 108.566",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 118.52C181.108 101.141 174.369 159.22 98.4333 159.22C22.498 159.22 26.5575 117.485 -49.3778 117.485C-125.313 117.485 -121.254 159.22 -197.189 159.22C-273.124 159.22 -269.065 117.485 -345 117.485C-420.935 117.485 -416.876 159.22 -492.811 159.22C-568.746 159.22 -564.687 117.485 -640.622 117.485C-716.557 117.485 -712.498 159.22 -788.433 159.22C-864.369 159.22 -871.108 101.115 -945 118.52",stroke:"#97C3B9",strokeWidth:1.5}),s.createElement("path",{d:"M255 128.474C181.108 111.095 174.369 169.174 98.4333 169.174C22.498 169.174 26.5575 127.439 -49.3778 127.439C-125.313 127.439 -121.254 169.174 -197.189 169.174C-273.124 169.174 -269.065 127.439 -345 127.439C-420.935 127.439 -416.876 169.174 -492.811 169.174C-568.746 169.174 -564.687 127.439 -640.622 127.439C-716.557 127.439 -712.498 169.174 -788.433 169.174C-864.369 169.174 -871.108 111.069 -945 128.474",stroke:"#97C3B9",strokeWidth:1.5})),s.createElement("defs",null,s.createElement("clipPath",{id:"clip0_251_38273"},s.createElement("rect",{width:255,height:189,fill:"white",transform:"matrix(-1 0 0 1 255 0)"})))),{common:p1,spendManagement:h1}=O.getLocalizedStrings(),o=h1.treasury.promoPage,y={mainHeading:new $("h6Medium","h4Regular"),subHeading:new $("standardRegular","h6Regular"),fundSymbol:new $("extraSmallSemiBold","smallSemiBold"),fundName:new $("extraLargeSemiBold","h5SemiBold"),fundSubName:new $("standardMedium","h6SemiBold"),highlightValue:new $("smallRegular","largeMedium"),highlightLabel:new $("extraSmallRegular","smallRegular"),uspItemTitle:new $("extraLargeMedium","h6Medium"),uspItemDescription:new $("extraSmallRegular","standardRegular")},m={uspLogoSize:new z(h[4],h[5]),cardsGap:new z(h[4],h[6]),fundHeaderGap:new z(h[0],h[2]),fundHeaderPadding:new z(h[3],h[4]),fundHeaderPaddingTop:new z(h[4],h[7]),fundHighlightsPadding:new z(h[2],h[3]),highlightItemGap:new z(h[0],h[1])},hr=({treasurySetupView:e,isSetupComplete:C,meetingUrl:c,videoUrl:u,onBackClick:p,onClickMenuIcon:w,onSetupButtonClick:g,onTreasurySetupSuccess:k})=>{const b=ae(),n=A(),G=Ce(),[de,Y]=s.useState(!1),[ce,q]=s.useState(!1),B=we().analytics,pe=()=>{B.trackTreasurySetupActionClick("schedule_demo"),Y(!0)},{treasuryTermsDetails:he,fundsData:U}=e,W=he?.fetchStatus.fetchState,V=$e(W),X=U.reduce((l,d)=>{const S=d.yield?.toString()||"0%",_=parseFloat(S.replace("%",""))/100;return Math.max(l,_)},0),me=fe.hasTreasuryAdminLevelAccess(G.loggedInUserRoleMap);s.useEffect(()=>{V==="In-Progress"&&W==="Completed"&&k(C)},[V,k,W,C]);const ge=[{title:`${o.usps.upTo} ${(X*100).toFixed(2)}%`,description:o.yieldLabel.trim()},{title:o.usps.insuredFundsAmount,description:o.usps.sipcInsured},{title:o.usps.highLiquidity,description:o.usps.sameDayTransfer},{title:o.usps.autoTransfers,description:o.usps.automateCashManagement}],xe=(l,d)=>l===0?r.jsx(_1,{theme:d,windowSize:n}):l===1?r.jsx(R1,{theme:d,windowSize:n}):l===2?r.jsx(G1,{theme:d,windowSize:n}):l===3?r.jsx(H1,{theme:d,windowSize:n}):null;return r.jsxs(m1,{children:[r.jsx(ye,{title:o.title,backgroundColor:b.colors.grey4,onBackClick:p,showBackButton:!0,showMenuIcon:!1,onClickMenuIcon:w,style:{zIndex:2},source:"treasury"}),de===!0?r.jsx(De,{onCancelClick:()=>{Y(!1)},meetingUrl:c}):null,r.jsxs(P1,{windowSize:n,children:[r.jsx(E1,{windowSize:n,children:o.heading}),r.jsx(T1,{windowSize:n,children:o.subHeading})]}),r.jsxs(V1,{windowSize:n,children:[r.jsx(J1,{windowSize:n}),r.jsx(K1,{windowSize:n}),r.jsx(X1,{windowSize:n,children:r.jsx(We,{src:u,showPlayButton:!0,controls:!0,style:{position:"absolute",top:0,left:0},config:{youtube:{cc_load_policy:0,fs:0,modestbranding:1,rel:0}},thumbnail:"https://storage.googleapis.com/zeni-apis.appspot.com/images/treasury-thumbnail.jpg"})})]}),r.jsx(g1,{windowSize:n,children:U.map((l,d)=>{const S=_e(d,b);return r.jsxs(x1,{children:[r.jsxs(u1,{windowSize:n,bgColor:S.headerBackground,index:d,children:[r.jsx(C1,{windowSize:n,children:l.fundCode}),r.jsxs("div",{children:[r.jsx(w1,{windowSize:n,color:S.fundNameColor,children:l.fundCompanyName??l.fundName}),r.jsx($1,{windowSize:n,color:S.fundSubNameColor,children:l.fundName})]})]}),r.jsxs(f1,{windowSize:n,bgColor:S.highlightsBackground,children:[r.jsxs(se,{windowSize:n,children:[r.jsxs(ne,{windowSize:n,children:[r.jsxs(k1,{children:[l.yield,"%"]}),o.yieldLabel,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"I"})]}),r.jsx(le,{windowSize:n,children:o.higherReturns})]}),r.jsx(y1,{}),r.jsxs(se,{windowSize:n,children:[r.jsxs(ne,{windowSize:n,children:[l.liquidityTimeline,o.liquidity,l.liquidityTimeline.includes("Same-Day")?r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:"II"}):null]}),r.jsx(le,{windowSize:n,children:o.quickPayments})]})]}),r.jsx(j1,{windowSize:n,children:l.description}),r.jsxs(b1,{children:[r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.fundSize]}),r.jsx(I,{color:S.fundNameColor,children:ke(l.fundSize,l.currencyCode)})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.maturity]}),r.jsxs(I,{children:[l.maturity,""," ",p1.timeStrings.days]})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.expenseRatio]}),r.jsxs(I,{children:[l.expenseRatio,o.expenseRatioSuffix]})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.riskRating]}),r.jsx(I,{children:l.riskRating})]}),r.jsxs(E,{children:[r.jsxs(T,{children:[r.jsx(D,{})," ",o.composition]}),r.jsx(I,{children:r.jsxs(z1,{children:[l.compositions[0].investedIn," ",l.compositions[0].percentage,r.jsx(je,{style:{textAlign:"left",display:"inline"},maxWidth:"312px",title:r.jsxs(v1,{children:[r.jsx(j,{children:o.compositionHeading}),l.compositions.map((_,ue)=>r.jsxs(L1,{children:[r.jsx(M1,{}),r.jsx(j,{children:_.investedIn}),r.jsx(j,{style:{marginLeft:"auto",textAlign:"right"},children:_.percentage})]},ue))]}),children:r.jsxs(B1,{children:["+",l.compositions.length-1]})})]})})]})]}),r.jsxs(S1,{onClick:()=>B.trackTreasuryProspectusClick(l.fundCompanyName+" "+l.fundName,l.fundCode,"Treasury Promo Page"),windowSize:n,href:l.url,target:"_blank",rel:"noopener noreferrer",children:[o.asOf," ",l.asOfDate.format("MMM D, YYYY"),r.jsx(N1,{})]})]},l.fundCode)})}),r.jsx(I1,{windowSize:n,children:r.jsx(D1,{children:ge.map((l,d)=>r.jsxs(W1,{children:[xe(d,b),r.jsx(A1,{windowSize:n,children:l.title}),r.jsxs(O1,{windowSize:n,children:[l.description,r.jsx("sup",{style:{fontSize:i.sp2,marginLeft:i.sp1},children:d===0?"I":d===1?"III":d===2?"II":null})]})]},d))})}),r.jsx(Qe,{analytics:B,yieldPercentage:X}),r.jsxs(q1,{windowSize:n,children:[r.jsxs(U1,{children:[r.jsx(L,{children:o.disclaimer1}),r.jsx(L,{children:o.disclaimer2}),r.jsxs(L,{children:[o.disclaimer3,r.jsx(f,{href:o.disclaimer3Link,target:"_blank",rel:"noopener noreferrer",children:o.disclaimer3Url})]}),r.jsx(L,{children:o.disclaimer4})]}),r.jsxs(L,{children:[o.agreementP1,r.jsx(f,{href:o.formCrsLink,target:"_blank",rel:"noopener noreferrer",children:o.formCrsText}),r.jsx(M,{}),r.jsx(f,{href:o.formAdvLink,target:"_blank",rel:"noopener noreferrer",children:o.formAdvText}),r.jsx(M,{}),r.jsx(f,{href:o.privacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:o.privacyPolicyText}),r.jsx(M,{}),r.jsx(f,{href:o.generalDisclosuresLink,target:"_blank",rel:"noopener noreferrer",children:o.generalDisclosuresText}),r.jsx(M,{}),r.jsx(f,{href:o.sipcInfoLink,target:"_blank",rel:"noopener noreferrer",children:o.sipcInfoText}),r.jsx(M,{}),r.jsx(f,{href:o.zeniPrivacyPolicyLink,target:"_blank",rel:"noopener noreferrer",children:o.zeniPrivacyPolicyText}),r.jsx(M,{}),r.jsx(f,{href:o.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:o.zeniTermsOfServiceText})]}),r.jsx(L,{children:r.jsx(f,{href:"#",onClick:l=>{B.trackTreasuryAgreementView(),l.preventDefault(),q(!0)},children:o.viewAgreement})})]}),me?r.jsxs(F1,{windowSize:n,children:[r.jsx(J,{variant:"secondary",label:o.scheduleDemoButton,onClick:pe,"data-testid":K("treasury-schedule-demo-button")}),r.jsx(Y1,{windowSize:n,children:"OR"}),r.jsx(J,{variant:"primary",label:C?o.enableButton:o.setupButton,loading:W==="In-Progress",onClick:()=>{B.trackTreasurySetupActionClick(C?"enable_now":"setup"),g()},"data-testid":K("treasury-get-started-button")})]}):null,r.jsx(He,{isOpen:ce,onClose:()=>q(!1)})]})},m1=t.div`
152
+ display: flex;
153
+ flex: 1 1 auto;
154
+ min-height: 100%;
155
+ flex-direction: column;
156
+ background-color: ${e=>e.theme.colors.grey4};
157
+ `,g1=t.div`
158
+ padding: ${e=>e.windowSize==="small"?`0 ${i.sp3}`:`0 ${i.sp8}`};
159
+ display: flex;
160
+ flex-direction: row;
161
+ gap: ${e=>m.cardsGap.valuePx(e.windowSize)};
162
+ flex-wrap: wrap;
163
+ width: 100%;
164
+ box-sizing: border-box;
165
+ margin-top: -28px;
166
+ `,x1=t.div`
167
+ display: flex;
168
+ flex-direction: column;
169
+ background: ${e=>e.theme.colors.grey5};
170
+ border: 1px solid ${e=>e.theme.colors.grey2};
171
+ border-radius: ${i.sp2};
172
+ overflow: hidden;
173
+ flex: 1;
174
+ min-width: 320px;
175
+ box-shadow: ${e=>e.theme.colors.elevation1};
176
+ `,u1=t.div`
177
+ display: flex;
178
+ flex-direction: column;
179
+ gap: ${e=>m.fundHeaderGap.valuePx(e.windowSize)};
180
+ padding: ${e=>m.fundHeaderPadding.valuePx(e.windowSize)};
181
+ padding-top: ${e=>m.fundHeaderPaddingTop.valuePx(e.windowSize)};
182
+ background-color: ${e=>e.bgColor};
183
+ position: relative;
184
+
185
+ &::before {
186
+ content: "";
187
+ position: absolute;
188
+ top: 0;
189
+ right: 0;
190
+ width: ${e=>e.windowSize==="small"?"40%":"50%"};
191
+ height: 100%;
192
+ background-image: ${e=>e.index===0?"url(https://storage.googleapis.com/zeni-apis.appspot.com/images/treasury-fund-1.svg)":"url(https://storage.googleapis.com/zeni-apis.appspot.com/images/treasury-fund-2.svg)"};
193
+ background-repeat: no-repeat;
194
+ background-position: top right;
195
+ background-size: 100% 100%;
196
+ opacity: 0.5;
197
+ pointer-events: none;
198
+ }
199
+ `,C1=t.div`
200
+ color: ${a.brandColorOnyx};
201
+ ${e=>y.fundSymbol.style(e.windowSize)};
202
+ `,w1=t.div`
203
+ color: ${e=>e.color??a.brandColorGoldDark};
204
+ ${e=>y.fundName.style(e.windowSize)};
205
+ `,$1=t.div`
206
+ color: ${e=>e.color??a.brandColorGoldDark};
207
+ ${e=>y.fundSubName.style(e.windowSize)};
208
+ `,f1=t.div`
209
+ display: flex;
210
+ justify-content: space-between;
211
+ align-items: stretch;
212
+ padding: ${e=>m.fundHighlightsPadding.valuePx(e.windowSize)}
213
+ 0;
214
+ background-color: ${e=>e.bgColor??`${a.graphColor34Light}14`};
215
+ border-bottom: 1px solid ${e=>e.theme.colors.grey2};
216
+ position: relative;
217
+ `,y1=t.div`
218
+ position: absolute;
219
+ top: 0;
220
+ bottom: 0;
221
+ left: 50%;
222
+ transform: translateX(-50%);
223
+ width: 1px;
224
+ background-color: ${e=>e.theme.colors.grey2};
225
+ pointer-events: none;
226
+ `,se=t.div`
227
+ display: flex;
228
+ flex-direction: column;
229
+ align-items: center;
230
+ gap: ${e=>m.highlightItemGap.valuePx(e.windowSize)};
231
+ flex: 1;
232
+ `,ne=t.div`
233
+ color: ${e=>e.theme.colors.primary};
234
+ ${e=>y.highlightValue.style(e.windowSize)};
235
+ `,le=t.div`
236
+ color: ${e=>e.theme.colors.hero};
237
+ ${e=>y.highlightLabel.style(e.windowSize)};
238
+ `,k1=t.span`
239
+ color: ${a.success};
240
+ `,j1=t(R)`
241
+ padding: ${e=>e.windowSize==="small"?`${i.sp2} ${i.sp3} 0 ${i.sp3}`:`${i.sp3} ${i.sp5} 0 ${i.sp5}`};
242
+ color: ${e=>e.theme.colors.hero};
243
+ `,b1=t.div`
244
+ display: flex;
245
+ flex-direction: column;
246
+ padding: ${i.sp2} ${i.sp5};
247
+ `,E=t.div`
248
+ display: flex;
249
+ justify-content: space-between;
250
+ align-items: flex-start;
251
+ padding-bottom: ${i.sp1};
252
+ `,T=t(R)`
253
+ color: ${e=>e.theme.colors.hero};
254
+ width: 140px;
255
+ display: flex;
256
+ align-items: center;
257
+ padding-top: ${i.sp1};
258
+ `,I=t(R)`
259
+ color: ${e=>e.color??e.theme.colors.primary};
260
+ flex: 1;
261
+ border-bottom: 1px solid ${e=>e.theme.colors.grey3};
262
+ padding: ${i.sp1};
263
+ `,S1=t.a`
264
+ color: ${e=>e.theme.colors.grey1};
265
+ display: flex;
266
+ align-items: center;
267
+ gap: ${i.sp2};
268
+ padding: ${e=>e.windowSize==="small"?`0 ${i.sp5} ${i.sp2} ${i.sp3}`:`0 ${i.sp5} ${i.sp4} ${i.sp5}`};
269
+ font-size: 14px;
270
+ line-height: 21px;
271
+ font-weight: 400;
272
+ width: fit-content;
273
+ text-decoration: none;
274
+ &:hover {
275
+ cursor: pointer;
276
+ color: ${e=>e.theme.colors.primary};
277
+ svg {
278
+ color: ${e=>e.theme.colors.primary};
279
+ }
280
+ }
281
+ `,z1=t.div`
282
+ display: flex;
283
+ align-items: center;
284
+ gap: ${i.sp1};
285
+ `,v1=t.div`
286
+ display: flex;
287
+ flex-direction: column;
288
+ gap: ${i.sp1};
289
+ padding: ${i.sp2};
290
+ `,L1=t.div`
291
+ display: flex;
292
+ align-items: center;
293
+ gap: ${i.sp2};
294
+ `,M1=t.div`
295
+ width: 4px;
296
+ height: 4px;
297
+ border-radius: 50%;
298
+ background-color: ${e=>e.theme.colors.grey1};
299
+ `,B1=t(j)`
300
+ color: ${e=>e.theme.colors.hero};
301
+ border: 1px solid ${e=>e.theme.colors.grey2};
302
+ border-radius: ${i.sp1};
303
+ padding: 0 ${i.sp1};
304
+ height: 20px;
305
+ display: inline-flex;
306
+ align-items: center;
307
+ `,D=t.div`
308
+ width: 4px;
309
+ height: 4px;
310
+ border-radius: 50%;
311
+ background-color: ${e=>e.theme.colors.hero};
312
+ display: inline-block;
313
+ margin-right: ${i.sp2};
314
+ vertical-align: middle;
315
+ `,P1=t.div`
316
+ display: flex;
317
+ flex-direction: column;
318
+ align-items: center;
319
+ gap: ${i.sp2};
320
+ padding: ${e=>e.windowSize==="small"?`${i.sp3} ${i.sp8} ${i.sp5} ${i.sp8}`:`${i.sp3} ${i.sp3} ${i.sp6} ${i.sp3}`};
321
+ text-align: center;
322
+ `,E1=t.div`
323
+ color: ${e=>e.theme.colors.primary};
324
+ letter-spacing: -0.01em;
325
+ max-width: 896px;
326
+ ${e=>y.mainHeading.style(e.windowSize)};
327
+ `,T1=t(F)`
328
+ color: ${e=>e.theme.colors.primary};
329
+ letter-spacing: -0.01em;
330
+ ${e=>y.subHeading.style(e.windowSize)};
331
+ `,I1=t.div`
332
+ display: flex;
333
+ flex-direction: column;
334
+ align-items: center;
335
+ gap: ${i.sp6};
336
+ padding: ${e=>e.windowSize==="small"?`${i.sp4} ${i.sp3} ${i.sp0} ${i.sp3}`:`${i.sp6} ${i.sp8} ${i.sp0} ${i.sp8}`};
337
+ `,D1=t.div`
338
+ display: grid;
339
+ grid-auto-flow: column;
340
+ grid-auto-columns: minmax(200px, 1fr);
341
+ gap: ${i.sp6};
342
+ width: 100%;
343
+ justify-items: center;
344
+
345
+ @media (max-width: 768px) {
346
+ gap: ${i.sp3};
347
+ grid-auto-flow: row;
348
+ grid-template-columns: repeat(2, 1fr);
349
+ }
350
+ `,W1=t.div`
351
+ display: flex;
352
+ flex-direction: column;
353
+ align-items: center;
354
+ padding: ${i.sp4} ${i.sp2};
355
+ background-color: ${e=>e.theme.colors.grey5};
356
+ border: 1px solid ${e=>e.theme.colors.grey2};
357
+ border-radius: ${i.sp2};
358
+ box-shadow: 0px 1px 2px 0px ${e=>e.theme.colors.dropShadowNormal};
359
+ width: 100%;
360
+ max-width: 242px;
361
+ box-sizing: border-box;
362
+ text-align: center;
363
+ `,_1=t(a1)`
364
+ width: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
365
+ height: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
366
+ color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
367
+ `,R1=t(Ge)`
368
+ width: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
369
+ height: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
370
+ color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
371
+ `,G1=t(Me)`
372
+ width: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
373
+ height: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
374
+ color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
375
+ `,H1=t(Re)`
376
+ width: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
377
+ height: ${e=>m.uspLogoSize.valuePx(e.windowSize)};
378
+ color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorGoldDark:e.theme.colors.hero};
379
+ `,N1=t(be)`
380
+ width: 12px;
381
+ height: 12px;
382
+ `,A1=t(Se)`
383
+ color: ${e=>e.theme.colors.primary};
384
+ margin-top: ${i.sp2};
385
+ ${e=>y.uspItemTitle.style(e.windowSize)};
386
+ `,O1=t(R)`
387
+ color: ${e=>e.theme.colors.champion};
388
+ ${e=>y.uspItemDescription.style(e.windowSize)};
389
+ `,F1=t.div`
390
+ border-top: 1px solid ${e=>e.theme.colors.grey3};
391
+ padding: ${i.sp2} ${i.sp3};
392
+ position: sticky;
393
+ bottom: 0;
394
+ left: 0;
395
+ right: 0;
396
+ z-index: 2;
397
+ display: flex;
398
+ justify-content: center;
399
+ align-items: center;
400
+ flex-direction: row;
401
+ row-gap: ${i.sp2};
402
+ background-color: ${e=>e.theme.colors.grey5};
403
+ gap: ${i.sp5};
404
+ `,Y1=t(j)`
405
+ color: ${e=>e.theme.colors.hero};
406
+ margin: ${e=>e.windowSize==="small"?`${i.sp3} 0`:`0 ${i.sp3}`};
407
+ `,q1=t.div`
408
+ display: flex;
409
+ flex-direction: column;
410
+ align-items: flex-start;
411
+ padding: ${i.sp10} ${i.sp8} ${i.sp8} ${i.sp8};
412
+ text-align: ${e=>e.windowSize==="small"?"center":"left"};
413
+
414
+ @media (max-width: 768px) {
415
+ padding: ${e=>e.windowSize==="small"?`${i.sp3} ${i.sp3} ${i.sp5} ${i.sp3}`:`${i.sp3} ${i.sp3}`};
416
+ }
417
+ `,U1=t.div`
418
+ display: flex;
419
+ flex-direction: column;
420
+ margin-bottom: ${i.sp2};
421
+ `,L=t(ve)`
422
+ color: ${e=>e.theme.colors.hero};
423
+ max-width: 100%;
424
+ align-self: stretch;
425
+ `,f=t.a`
426
+ color: ${e=>e.theme.colors.hero};
427
+ text-decoration: underline;
428
+ text-decoration-color: ${e=>e.theme.colors.grey2};
429
+ &:hover {
430
+ color: ${e=>e.theme.colors.primary};
431
+ cursor: pointer;
432
+ text-decoration-color: ${e=>e.theme.colors.primary};
433
+ }
434
+ `,M=t.span`
435
+ display: inline-block;
436
+ width: 2px;
437
+ height: 2px;
438
+ border-radius: 4px;
439
+ background-color: ${e=>e.theme.colors.grey1};
440
+ margin: 0 ${i.sp1};
441
+ vertical-align: middle;
442
+ `,V1=t.div`
443
+ display: flex;
444
+ justify-content: center;
445
+ align-items: center;
446
+ padding: ${e=>e.windowSize==="small"?`0 ${i.sp5} ${i.sp4} ${i.sp5}`:`0 15% ${i.sp6} 15%`};
447
+ position: relative;
448
+ z-index: 1;
449
+ margin-bottom: ${e=>e.windowSize==="small"?`-${i.sp3}`:`-${i.sp6}`};
450
+ `,X1=t.div`
451
+ position: relative;
452
+ width: 100%;
453
+ aspect-ratio: 16 / 9;
454
+ border-radius: ${i.sp2};
455
+ overflow: hidden;
456
+ border: 2px solid ${a.primaryDark};
457
+ box-shadow: ${e=>e.theme.colors.elevation2};
458
+ box-sizing: content-box;
459
+ background-color: ${e=>e.theme.colors.grey5};
460
+ z-index: 1;
461
+ `,J1=t(d1)`
462
+ position: absolute;
463
+ left: ${e=>e.windowSize==="small"?"0":i.sp7};
464
+ bottom: 20%;
465
+ z-index: 0;
466
+ pointer-events: none;
467
+ width: ${e=>e.windowSize==="small"?"25%":"22%"};
468
+ height: auto;
469
+ `,K1=t(c1)`
470
+ position: absolute;
471
+ right: ${e=>e.windowSize==="small"?"0":i.sp7};
472
+ top: 5%;
473
+ z-index: 0;
474
+ pointer-events: none;
475
+ width: ${e=>e.windowSize==="small"?"25%":"22%"};
476
+ height: auto;
477
+ `;export{hr as default};
@@ -1,4 +1,4 @@
1
- import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as qe,q as n,K as Ge,bp as Ke,$ as Xe,cg as Ye,a4 as Ze,o as i,t as ue,c7 as Qe,a3 as et,J as tt,y as it}from"./index-LQh-jIrB.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-DiIoYeXn-B1h-JEp9.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-CI0mxu3H-JpA1rufD.js";import{f as at}from"./SpendMgmtSetupAccountSection-CPnNzjr--CVGBUj7h.js";import st from"./PortfolioAllocationFormPage-CzA_c7hR-D4H-GZTH.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-CAh7iae0-CIOK3_iA.js";import"./ChargeCardUtils-Wp4Ko18L-GTVU2RZO.js";import"./CreditCardPaymentPlgSection-vmErttTD-CytN37qx.js";import"./ChaseOverlay-BGZfbx0H-CY_E45BY.js";import"./PortfolioDetails-Drgv4Osg-Wtx195rT.js";import"./treasuryColorHelper-BdPkQoh7-2QT0NfKg.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(Ke,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Xe("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(Ye,{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(Ze,{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,f as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as Ge,r as n,K as qe,bp as Ke,_ as Xe,cg as Ye,a4 as Ze,o as i,y as ue,c7 as Qe,a3 as et,J as tt,g as it}from"./index-4y_mNX1u.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-BkxT0f9t-DltO0YWd.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-D54P9sLQ-DIoImqvg.js";import{f as at}from"./SpendMgmtSetupAccountSection-BVOwbOVv-BbEelpUf.js";import st from"./PortfolioAllocationFormPage-C24sa7Lv-D7dV2koR.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-2P6uhLqh-CkyOJaM-.js";import"./ChargeCardUtils-i4In9Us5-BeJKYV4x.js";import"./CreditCardPaymentPlgSection-QKLSnyR5-DUyvaz3Z.js";import"./ChaseOverlay-DYQYE0RM-Cl7PDEtm.js";import"./PortfolioDetails-wAtPiO4w-C8Xq6LTb.js";import"./treasuryColorHelper-Bvcahv9r-CJj1lXeK.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,q=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(q)}}}),[f?.sourceOfFunds])}),W=m=>q[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(qe,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Ke,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Xe("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(Ye,{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(q)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{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)}`};
@@ -108,7 +108,7 @@ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t
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: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"),[K,Ce]=a.useState(!1),{fetchState:X,companyTreasuryInfo:F,isRefreshingViewInBackground:Y,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:Z,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=Z.find(q=>q.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(q=>q.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=X==="In-Progress"||X==="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(),K||(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:K,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:Y,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:Y,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(qe,{width:l.iconWidthHeight.valuePx(s),height:l.iconWidthHeight.valuePx(s)}),color:N},analytics:v,productType:"zeni_treasury",onSignUpClick:be,primaryFundingAccount:y,isAccountsEnabled:j,allFundingAccounts:Z,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`
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"),[K,Ce]=a.useState(!1),{fetchState:X,companyTreasuryInfo:F,isRefreshingViewInBackground:Y,updateStatus:ve,plaidConnectionDetails:Se,allBankAccounts:$e,selectedCompanyOfficer:je,primaryFundingAccount:y,allFundingAccounts:Z,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=Z.find(G=>G.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(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=X==="In-Progress"||X==="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(),K||(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:K,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:Y,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:Y,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(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:Z,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,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,q as d,t as M}from"./index-LQh-jIrB.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as R}from"./BoxItem-CZKWkdxd-B5o_Xoj8.js";import{o as T}from"./commonDimensions-WRL2ZVK_-CxdZfQVs.js";import{M as E}from"./StatementItem-B2uPIFUk-jLxVfDq5.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-B1f0mDl2-BZJtGTOh.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=()=>T.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:R(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(P,{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 P,o as r,f as c,b_ as I,C as M,r as d,y as R}from"./index-4y_mNX1u.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-BiXktaUJ-Cfy2EaaH.js";import{o as B}from"./commonDimensions-MaxjMSVa-n5Ul9FT7.js";import{O as E}from"./StatementItem-DPiBruWm-BTp46EGg.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-QtapKpnq-D53WP2BZ.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new M(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(P,{children:({height:s,width:n})=>t.jsx(O,{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;
@@ -17,7 +17,7 @@ import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,
17
17
  flex-direction: column;
18
18
  width: 100%;
19
19
  padding-bottom: ${r.sp7};
20
- `,H=o(M)`
20
+ `,H=o(R)`
21
21
  display: flex;
22
22
  color: ${e=>e.theme.colors.grey2};
23
23
  `,K=o.div`
@@ -26,7 +26,7 @@ import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,
26
26
  width: 100%;
27
27
  height: 100%;
28
28
  margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
29
- `,V=o(B)`
29
+ `,O=o(I)`
30
30
  scrollbar-width: thin;
31
31
  scrollbar-color: transparent transparent;
32
32
  &::-webkit-scrollbar {
@@ -1,4 +1,4 @@
1
- import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,q as d,t as B}from"./index-LQh-jIrB.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-CZKWkdxd-B5o_Xoj8.js";import{o as M}from"./commonDimensions-WRL2ZVK_-CxdZfQVs.js";import{M as R}from"./StatementItem-B2uPIFUk-jLxVfDq5.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-B1f0mDl2-BZJtGTOh.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(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=()=>M.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(R,{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`
1
+ import{u as S,e as v,j as t,aX as L,M as z,aj as C,o as r,f as c,b_ as P,C as T,r as d,y as I}from"./index-4y_mNX1u.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as M}from"./BoxItem-BiXktaUJ-Cfy2EaaH.js";import{o as R}from"./commonDimensions-MaxjMSVa-n5Ul9FT7.js";import{O as B}from"./StatementItem-DPiBruWm-BTp46EGg.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-QtapKpnq-D53WP2BZ.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(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:M(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(O,{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;
@@ -17,7 +17,7 @@ import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,
17
17
  flex-direction: column;
18
18
  width: 100%;
19
19
  padding-bottom: ${r.sp7};
20
- `,H=o(B)`
20
+ `,H=o(I)`
21
21
  display: flex;
22
22
  color: ${e=>e.theme.colors.grey2};
23
23
  `,K=o.div`
@@ -26,7 +26,7 @@ import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,
26
26
  width: 100%;
27
27
  height: 100%;
28
28
  margin-top: ${e=>e.windowSize==="small"?r.sp3:r.sp6};
29
- `,V=o(P)`
29
+ `,O=o(P)`
30
30
  scrollbar-width: thin;
31
31
  scrollbar-color: transparent transparent;
32
32
  &::-webkit-scrollbar {