@zeniai/web-cockpit-ui 1.14.9-qa → 1.14.10-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 (249) hide show
  1. package/dist/assets/ACHDetailsPage-fN9d1vam-D9VxrmPm.js +21 -0
  2. package/dist/assets/{AIPerformancePage-pQP8EI_S-_s3zsI3R.js → AIPerformancePage-FvDkFQx9-CQyeQIni.js} +49 -49
  3. package/dist/assets/{AccountInfoPage-DxAa9GD7-DQEyQtK2.js → AccountInfoPage-RM6DvvVS-DCfKlDtS.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-tNTpX5pA-G_drZK6E.js → AccountInfoPageContent-DEG1tMaK-DT5QC51v.js} +17 -17
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CbZaDfU0-UsFY-UZk.js → AccountReconDetailsDrawerPage-CiegEtwy-CoXexcHE.js} +13 -13
  6. package/dist/assets/{AccountRow-BpBK8mVs-CH_oVWO9.js → AccountRow-DDUdlArT-BoTNNfQY.js} +33 -33
  7. package/dist/assets/{AccountsPromoCardStack-DBCYok4Z-CQcxXnBQ.js → AccountsPromoCardStack-Q7ppOy47-Dg9H-xyI.js} +35 -35
  8. package/dist/assets/{AddAddressForCardDrawer-BP8sDedz-s44WShyg.js → AddAddressForCardDrawer-C2us9OcV-BBVsfjfG.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-Dsw1GIbh-dkDhEWMM.js → AddToWalletPage-B75ejfsy-Dz6uPeGO.js} +26 -26
  10. package/dist/assets/{AgingReportsPage-COC3iACh-CQTcd55z.js → AgingReportsPage-mEhdjkho-CIVInWQJ.js} +8 -8
  11. package/dist/assets/{AllUserItems-DKoDASKq-D9OsZYXc.js → AllUserItems-o4xGLdQM-o69fCFf4.js} +10 -10
  12. package/dist/assets/{ApAgingDetailPage-BKAJMyRm-8rJSfYqr.js → ApAgingDetailPage-C0Y88nfk-C5r_ppvI.js} +2 -2
  13. package/dist/assets/{AppBasePage-6fgXwSBv-BU75fZMe.js → AppBasePage-DKAxmkIN-2kh6tXJn.js} +6 -6
  14. package/dist/assets/{AppDrawerContent-DnYw60Xv-BYIZi-GQ.js → AppDrawerContent-DLn3w253-kKIdFnR8.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-X4EYoBfl-CpEnMum9.js → ApprovalRulesSettingsPage-vBjp3xy--COVrz9he.js} +5 -5
  16. package/dist/assets/{ArAgingChart-CNghm3pm-BWPEjjZL.js → ArAgingChart-C3yYcTfo-CLHMQYqc.js} +6 -6
  17. package/dist/assets/ArAgingDetailPage-DlmXkANV-D8C6NFL-.js +46 -0
  18. package/dist/assets/{AttachmentView-Bp678glv-DplJLpKV.js → AttachmentView-B4hoO1b8-sqsUZh4A.js} +7 -7
  19. package/dist/assets/{BankAccountSection-DCHOrv1O-tbPEQ2KM.js → BankAccountSection-CdIpgwVZ-BnTYSS8m.js} +5 -5
  20. package/dist/assets/{BankAccountWarningSection-Bof6a4Ai-CT6FFJx9.js → BankAccountWarningSection-COSdSiAy-BStyOpBA.js} +11 -11
  21. package/dist/assets/{BankConnectionsSettingsPage-KWPfd_oN-Co8la074.js → BankConnectionsSettingsPage-hNpSoqlw-B7Eg16k_.js} +11 -11
  22. package/dist/assets/{BillDetailPage-D5FyJKQZ-DQLoKFcH.js → BillDetailPage-CJX3QbcW-DVarBugB.js} +8 -8
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C17DUKc8-BWE5dOze.js → BillPayApprovalRuleDetailPage-CUxCgQSj-B-5dPRub.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-C6b0Dx9D-7TFrCAGZ.js → BillPayApprovalRulesPage-BAfgqIvl-BhkCJ5l9.js} +10 -10
  25. package/dist/assets/{BillPayPromoPage-BhbcKNjD-D-OruUi3.js → BillPayPromoPage-D25teFTJ-C_i37lSM.js} +8 -8
  26. package/dist/assets/{BillPaySetUpPage-DFkYsW2C-DJNYl3eq.js → BillPaySetUpPage-D9ovPwFv-C1hr9AdN.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-DQ-GDRoK-BcczfrvH.js → BillingSettingsPage-DBEk-yIg-dgxRKdDq.js} +8 -8
  28. package/dist/assets/{BillsBulkReviewDrawerPage-DzTwDeIy-BZKU74HU.js → BillsBulkReviewDrawerPage-CZUNCQ7j-DcLIZ8Sa.js} +1 -1
  29. package/dist/assets/{BoxItem-a04JWA45-CthCfWYv.js → BoxItem-BtIxBKUQ-CamgFDpr.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BCr_ObVJ-CCJ-3Uzg.js → BusinessVerificationPage-CXeA666i-DDQ4xPVn.js} +12 -12
  31. package/dist/assets/{CardNumberSubText-B5ejHnml-lgXbHN3q.js → CardNumberSubText-Bakmjdzp-DZ-cA7Dx.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DX_XsNhS-BdIyjObs.js → CashbackDetailPage-yC6NiWvx-BPO3MKaP.js} +25 -25
  33. package/dist/assets/{ChargeCardDetailPage-Ckbi7U9j-DDQWLOEC.js → ChargeCardDetailPage-DD0_CjGJ-Bk6iyPjP.js} +57 -57
  34. package/dist/assets/{ChargeCardListPage-CglfbPqr-CA5oo4lh.js → ChargeCardListPage-C_Wxtym7-C8RYPQLB.js} +20 -20
  35. package/dist/assets/{ChargeCardListTable-BxAeA97m-Bubn4K-P.js → ChargeCardListTable-tXjQM1HV-DZXGqDZ-.js} +41 -41
  36. package/dist/assets/{ChargeCardPromoPage-BfsQUUYb-tEUMLrxo.js → ChargeCardPromoPage-BAovEsQH-BcTKnJLX.js} +31 -31
  37. package/dist/assets/{ChargeCardSetupPage-Bq953HsV-DVD_WfYM.js → ChargeCardSetupPage-BFjo3XpM-Ciiz1tVr.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-B_5uvkaq-CLyD2f4E.js → ChargeCardStatementsPage-CvC1casY-DgRmilNR.js} +10 -10
  39. package/dist/assets/ChargeCardUtils-EeXYTubM-BzIGoEJ7.js +1 -0
  40. package/dist/assets/{ChaseOverlay-LcVAgdoT-CxUFiFZn.js → ChaseOverlay-DONL-nDR-1303yNRD.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-Da9ApPLD-Cr45_f1h.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-CKmPwC_x-Br5zi5sk.js → CollapsableReportTable-C2cQTlA6-CwmB1eX2.js} +57 -57
  43. package/dist/assets/{CompanyOfficerDetailsSection-BlLsNJaD-CweBe6Rv.js → CompanyOfficerDetailsSection-ChVkSOtw-Bkqbsw1H.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-ElwK6uOD-BIcN0JjM.js → CompanyPassportCard-CLWfLYZT-dc2pMqRv.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-B6mGjsJZ-BpEhxrAK.js → CompanyPassportPage-B6_oWdN9-BkWGrSDb.js} +7 -7
  46. package/dist/assets/CompleteProfile-D_6UvHbF-Buy6AAC6.js +36 -0
  47. package/dist/assets/{ConfettiBurst-CjhkW_Be-C3dNmHxK.js → ConfettiBurst-CfEQKUn_-xwBqwegz.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-DHvmRSee-C_685l3E.js → CreateOrEditVendorPage-7mYLNzcH-FyLSW-Ll.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-BIaTYAUf-Jfi2pMUE.js → CreditCardPaymentDrawerPage-DM0awVZu-CMqADZ5j.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentPlgSection-mUqReF9z-DqrJBSz6.js → CreditCardPaymentPlgSection-C3pH8AzC-DAPxFM0W.js} +12 -12
  51. package/dist/assets/CurrencySelectField-DuZRNdJ7-Cv8XSbJt.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-CIOyRd8r-SDmojwaB.js → CustomerOnboardingActivationPage-DfQCMxvl-DRp6yq3v.js} +5 -5
  53. package/dist/assets/CustomerOnboardingContainerPage-BuVNUdQ_-Prx4gAY_.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-A_l9Qen8-DmIvY8oj.js → CustomerOnboardingDetailPageSkeleton-m2chMg_F-DuDfcFEG.js} +13 -13
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D5BcbVEK-oA8YWJC6.js → CustomerOnboardingNoStepsPage-C4_D_p4k-Dc8uofQ5.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-N-8Zd7M_-D8NjvNws.js → CustomerOnboardingPage-XbpuMewL-BPKj5uUR.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DZwacur5-DO2ZOw-9.js → CustomerOnboardingProductSuitePage-DD3ipEqZ-yQHQ-Cas.js} +8 -8
  58. package/dist/assets/{Dashboard-CQoNm84Z-DgYDLI9w.js → Dashboard-zs5L4G5s-1ug-HoiT.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-D4BoWobJ-CFBTUY9d.js → DashboardReportPage-BRkeSLqR-DB1CNvyz.js} +13 -13
  60. package/dist/assets/{DepositAccTransactionItem-C6_OrohL-BGie0JpH.js → DepositAccTransactionItem-DdxEaiop-XRO0k2Pe.js} +6 -6
  61. package/dist/assets/DepositAccTransactionListPage-C-4zU6U_-BMel7elx.js +66 -0
  62. package/dist/assets/{DocumentSecurityBanner-Bo9Hgo-I-Cs0ufG6M.js → DocumentSecurityBanner-BmCXnsqt-DgqTK1nO.js} +2 -2
  63. package/dist/assets/DomesticWireDetailsPage-D3nSUYmr-C8Q-qXAx.js +21 -0
  64. package/dist/assets/{DownloadOverlay-BoIyiJ9R-DmB8Yj8f.js → DownloadOverlay-D18IYrMS-Ch_NWNsV.js} +25 -25
  65. package/dist/assets/{DrawerPage-C_kxrXIc-EO54vroQ.js → DrawerPage-EcuR8TES-h-hhHnVA.js} +5 -5
  66. package/dist/assets/EditPeoplePage-66twBgmc-CNjYkPup.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-C-Lj-_YG-DFdYGBde.js → EditReimbursementDetailPage-z7CJ9Vy4-BOvbsxDO.js} +68 -68
  68. package/dist/assets/{EntityDetailPage-Cqkhzu9O-BvgbxI1O.js → EntityDetailPage-OvuxHiOz-DVhrmWOx.js} +3 -3
  69. package/dist/assets/{EntitySummarySection-Dqgxknt6-BmPNntbK.js → EntitySummarySection-D5L6gsZR-DNZQ4J50.js} +3 -3
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CEsyeJ9u-wGjO8BAG.js → ExpenseAutomationOverviewPage-CM7a5B8w-D-61w10l.js} +22 -22
  71. package/dist/assets/{ExpenseAutomationPage-DxpK2JR5-DQoBcXAL.js → ExpenseAutomationPage-C0HfVK2q-BsQDQgZX.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-DBWJERD9-30Fdrn3c.js → ExpressPayPage-CeHVuoHN-CZGa7NcH.js} +12 -12
  73. package/dist/assets/FeaturePreviewPage-FQsE4Qv8-C1JsnzwT.js +11 -0
  74. package/dist/assets/{FollowStepsSection-BrJecw-e-DzE6Hs1H.js → FollowStepsSection-BazOZlaE-C8JsCCQq.js} +13 -13
  75. package/dist/assets/{GlobalReviewListPage-Duoi9mD_-phlaJb_v.js → GlobalReviewListPage-B7OzhHDj-DwKKMm7I.js} +8 -8
  76. package/dist/assets/{HelpButton-C1djo0zO-DvpvoGEo.js → HelpButton-DY1MpMsB-NSbUCSI-.js} +5 -5
  77. package/dist/assets/{InformationCardStack-BE5eaq-x-DF6n3xvq.js → InformationCardStack-DTZ5U5HN-D5gVpmcs.js} +5 -5
  78. package/dist/assets/InsightsCardStack-D0wOSPaM-B1061MVO.js +79 -0
  79. package/dist/assets/{InsightsSection-nzKuS0T9-DDuE3v_a.js → InsightsSection-CLnISnUP-Dxdaecz_.js} +5 -5
  80. package/dist/assets/{IntegrationsSettingsPage-45ETlpC6-DIcKRGOh.js → IntegrationsSettingsPage-_Z5zEjw7-C9k0uLNg.js} +7 -7
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-B21X5YFS-Cwrsqmx4.js → InternationalWireSwiftDetailsPage-Dz-fxrmb-BhMUVBgN.js} +15 -15
  82. package/dist/assets/{InternationalWireVerificationPage-BzagdPaG-B221Ct1T.js → InternationalWireVerificationPage-ncEPxfAh-BrDSeTws.js} +17 -17
  83. package/dist/assets/{InviteFormPage-BNdBP-Mm-CjHF0nLI.js → InviteFormPage-DWlnBCXL-BJ0d3_Rt.js} +25 -25
  84. package/dist/assets/{InvitePageListView-ChzmK7Rt-DRpj3HnO.js → InvitePageListView-Cmi49FoL-Dmiagjbx.js} +51 -51
  85. package/dist/assets/InvitePeoplePage-CL18FIeI-BCzQDGtZ.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-B8o-l15n-BS-TIgsz.js → InvoiceUploadSection-BYgUZr3e-ppSv-eTX.js} +41 -41
  87. package/dist/assets/{IssueChargeCardPage-BW0cXQqh-B35Dxtek.js → IssueChargeCardPage-Bmoi1yP8-DoxXOVnL.js} +27 -27
  88. package/dist/assets/{LabeledAddressValue-BioQUVCV-C1_whpY6.js → LabeledAddressValue-OqCEk1VW-BBNkXZso.js} +1 -1
  89. package/dist/assets/LabeledAddressValueField-fBxHfsjV-8EnRLxw9.js +45 -0
  90. package/dist/assets/{LabeledControlledCheckBoxField-CGT7KsYZ-DTlw8lP1.js → LabeledControlledCheckBoxField-BZrJseng-75nT77St.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-nys9pbO0-D8LCX05l.js → LabeledCreatableSingleSelectField-BjjLKIq--BW2m9V-K.js} +3 -3
  92. package/dist/assets/LabeledDocumentField-54KXTRM_-BUNcwMS4.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DWP9oUzM-D-OhDhjz.js → LabeledDropDownFormattedTextField-1sZGnKTM-CseYE0ZU.js} +7 -7
  94. package/dist/assets/{LabeledText-QrjXGWwJ-BNY-0VFx.js → LabeledText-DZTriBfN-ldMke-_p.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BK9XCXKo-bFvTEIeu.js → LabeledUserSingleSelectWithSubtitlesField-BNPUM7x0-CXhgYAtn.js} +17 -17
  96. package/dist/assets/{LabeledZeniRolesDropDownField-C2PAZOPW-DhZj6Fmr.js → LabeledZeniRolesDropDownField-Ce4KKZiS-CqBBOe72.js} +11 -11
  97. package/dist/assets/{LinkJETransactionPage-BF6-BdWE-CCXto4UD.js → LinkJETransactionPage-DoaNWTmr-ZNMHH0Md.js} +8 -8
  98. package/dist/assets/{LowBalancePopup-ZZ8Ap8Ls-BX_yLOEX.js → LowBalancePopup-BOTHNsR0-CltUTAj3.js} +5 -5
  99. package/dist/assets/{MagicLinkACHDetailsPage-BDXiOwx_-BN328Iq7.js → MagicLinkACHDetailsPage-CD76NDYI-C-uF2GNj.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B1-CK91r-agu708vC.js → MagicLinkDomesticWireDetailsPage-BsikAXMr-Cs00xKGu.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D2rnWzME-Cxv5IRlY.js → MagicLinkInternationalWireDetailsPage-zu3TnX0Y-RjlupNMa.js} +1 -1
  102. package/dist/assets/MagicLinkSuccessPage-BICciyLs-DDU2uulJ.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-CmTUPCA1-SE5XIg5Z.js → MagicLinkTitleSection-CD_v3J8N-rcdTFeK_.js} +4 -4
  104. package/dist/assets/MailingDetailsSection-Cce0Hg2V-BFRjUzGv.js +21 -0
  105. package/dist/assets/{MeetingCalenderPopup-COpKcBhx-C3Igd-V1.js → MeetingCalenderPopup-gItmg01b-KkgdFDbQ.js} +1 -1
  106. package/dist/assets/{Menu-frAXxk4e-BVrtNaKP.js → Menu-vFgR8B3A-BT6OAOpY.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BtC6C9fL-Cbppw-h4.js → MyBankConnectionsSettingsPage-NhLBy2nV-DGdV60Dz.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-tXIpyxdq-DkXTKFhY.js → MyPendingActivationChargeCardListPage-CNb4v74Q-DPjefQOJ.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BmMskLyK-CL91XtiU.js → MyProfileSettingsPage-CXcH5h3K-lboFLZ0B.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-ByLynfu6-DpuPwMmt.js → NavBarWithPicker-B1g4GR8h-BTQ7xdwc.js} +6 -6
  111. package/dist/assets/{NavigationArrow-D5-YpdfE-CYFnaZ_n.js → NavigationArrow-CKb8oJym-C00B8os7.js} +5 -5
  112. package/dist/assets/{NavigationDots-MA8SVlUT-DjvrP-SY.js → NavigationDots-Bgh-o0zo-CBPdxtJi.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DtTW2Du8-DjaSItuV.js → NewGlobalMerchantPage-CTavGrPU-uVUTkxSd.js} +21 -21
  114. package/dist/assets/{NoDataChart-BdzVnx59-Dcb8iagX.js → NoDataChart-CtPlddxs-CnfQyDtm.js} +1 -1
  115. package/dist/assets/{NoDataTable-B4J5Ou18-Bir_Iwar.js → NoDataTable-Dibdh8Pj-CuACZUfn.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BeAXQOme-DgzCQySk.js → NotFoundPage-yGvtm3rH-CMpdi5kB.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CRZRet42-BRxa42Rm.js → NotificationSettingsPage-DOmx9OZh-bY0ARSm6.js} +13 -13
  118. package/dist/assets/{NotificationsListConfig-CkSDaMij-BGruklEe.js → NotificationsListConfig-Bz1-bZtB-DFsX0Euc.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Dqe96fU8-Md1lm49g.js → NotificationsPage-CQ_3esFr-B-IG9JXC.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-CXtkN87m-jdrxiMx1.js → OpExByVendorPage-BjqGlQrk-B7srvp-L.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-Cy_Jxf8N-2KGo5iDU.js → OverlayContainerPage-GWXnlbZH-XeZYd_0X.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DTOqkynU-B4brEIVC.js → PandLWithForecastPage-juNL-o7I-BSR50hku.js} +8 -8
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C6WFeB3A-BRSh44ZN.js → PaymentAccountSetupBillingAddressSection-BxQrIZmE-B9AcRUzZ.js} +11 -11
  124. package/dist/assets/{PeoplePage-D-j114xg-CpebkT_B.js → PeoplePage-BfwpGELm-BdY1PML2.js} +1 -1
  125. package/dist/assets/PortfolioAllocationFormPage-CmUaCrrW-CsnNWvEp.js +207 -0
  126. package/dist/assets/{PortfolioDetails-Bbfo0XDo-DZIGyI3q.js → PortfolioDetails-BaLVprV9-DhjQAugK.js} +29 -29
  127. package/dist/assets/{ProductsCarousel-COUx0Xdj-CY1Sd1BH.js → ProductsCarousel-DSwEQiRo-BrOnjV8c.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-DG1CAZvU-xf-pcVB-.js → PromoBaseCards-CDbwBfld-bqaRHMGs.js} +3 -3
  129. package/dist/assets/{QBOConnectionDialog-DLVcifji-KDuq_-AV.js → QBOConnectionDialog-BKEVg_Tw-Lgjz3-p9.js} +10 -10
  130. package/dist/assets/QBOSetupSection-CAtx-T_9-CoNYf7oJ.js +79 -0
  131. package/dist/assets/ReimbursementApprovalRuleDetailPage-D0YkHEiY-DPuD12sR.js +26 -0
  132. package/dist/assets/{ReimbursementApprovalRulesPage-CTk2aZMz-YuPFBZZ_.js → ReimbursementApprovalRulesPage-BaI1dJWO-DsmqNYvE.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-BofsP0W--BITd3_Z0.js → ReimbursementDetailPage-CDoMkRc0-De12HsoG.js} +17 -17
  134. package/dist/assets/ReimbursementPromoPage-DpBahcUT-C8tn75CT.js +112 -0
  135. package/dist/assets/{ReimbursementSetUpPage-Em6S1wkj-xpQYGvkM.js → ReimbursementSetUpPage-C6ZSl21b-B8WJwXSb.js} +8 -8
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DpWChhvB-BY7o-nrI.js → ReimbursementsBulkReviewDrawerPage-DRm_RSSq-DeQfZa5e.js} +1 -1
  137. package/dist/assets/{ReloadCard-CZ1Ix5em-CIGCvyb9.js → ReloadCard-B1X0QtRR-DKi-eMjg.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-BRA3CT_O-W8MrucQl.js → ReportTableViewSelector-2gwwu23O-Dffc4dfy.js} +28 -28
  139. package/dist/assets/{ReportsPage-CauV3wnZ-DhsHNP71.js → ReportsPage-C4ry6Xjl-DZBMXAeC.js} +5 -5
  140. package/dist/assets/{RevenueChart-BeM_1hYw-D2KvIvPV.js → RevenueChart--mJZgy8C-DNQW4B8O.js} +12 -12
  141. package/dist/assets/{ReviewDetailsPage-C5xC8Cf1-Dr3gT8lu.js → ReviewDetailsPage-Dg_NdNMf-CW4kKG-B.js} +16 -16
  142. package/dist/assets/{ReviewOverlay-DdWa7GLG-BrnOlsr1.js → ReviewOverlay-C-9oLsRU-DbGH6sMH.js} +15 -15
  143. package/dist/assets/RoleWithToolTip-BPrl2KpS-R9NA17Ei.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BlhhW9A6-27m3v8tn.js → ScheduleDetailsFixedAssetsPage-DICnGQP9-C5eFpk12.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-BKWKZuAL-Cko_Bdh0.js → ScheduleDetailsPage-BvkYaxXa-mYyDbOuo.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-BzWPTqDM-Cct6COyG.js → ScheduleSequenceTable-Cv62faKa-MDeuMroB.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-CvUDPDyW.js → ScreenRoutes-DAKdy7NU.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-Trj1x2HL-mb3yImZ6.js → SetUpAccountSection-DwkklztZ-BQ9QQ3eR.js} +23 -23
  149. package/dist/assets/{SetUpDefaultSection-BQzNGjO7-Fxtz2ozg.js → SetUpDefaultSection-Chh_3U0h-B9vxnPiJ.js} +8 -8
  150. package/dist/assets/{SignIn-Duk9PNwU-DFUIhBT3.js → SignIn-CoM3gLF4-C_1egKDj.js} +12 -12
  151. package/dist/assets/{SignInScreen-BaYfF0EF.js → SignInScreen-Dg1avkN7.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-CREdM633-BPnGO6Pg.js → SpendManagementListViewPage-rf8IhIOU-BYmCKDvl.js} +6 -6
  153. package/dist/assets/{SpendManagementPerTabPage-BZ6ISWXe-NSUQmYVp.js → SpendManagementPerTabPage-KLrMZOg6-DIDyAEyj.js} +28 -28
  154. package/dist/assets/{SpendManagementSection-bMsztUap-Bl_PJtV6.js → SpendManagementSection-CbbqZI-h-qBmB9JQ-.js} +13 -13
  155. package/dist/assets/{SpendMgmtSetupAccountSection-Btdtp-ry-CqmCQQeu.js → SpendMgmtSetupAccountSection-BfwEbse9-BEabiv-B.js} +18 -18
  156. package/dist/assets/{StatementItem-XLqlrHIu-yWvOcemX.js → StatementItem-DEvMOqc4-BaviqNa0.js} +5 -5
  157. package/dist/assets/{StatementsPage-DWiXiOFU-BSaqqYn6.js → StatementsPage-DNsm7q52-DqcqAutx.js} +4 -4
  158. package/dist/assets/{StatusSwitcher-D1XZ-pbx-Co1gh17k.js → StatusSwitcher-BdfUDJ2e-C1tw21zv.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-Bt3F7ANv-CXuMiM6j.js → SubTabSwitcher-o0RxZAky-Ldu_qmLh.js} +7 -7
  160. package/dist/assets/{SummaryCard-edbbHOmb-For-9jwt.js → SummaryCard-DQ4ZyfBH-BzHYmkIn.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BhtJBdco-K4tnOsNB.js → TaskManagementPage-BVNWrtPC-CQba95zF.js} +26 -26
  162. package/dist/assets/{TimeRangeSwitcher-D9KzhRYO-UIfxNa_m.js → TimeRangeSwitcher-CD16lox0-CX3eDF4E.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-CbEHKZvd-tt-KvX0B.js → TimeframeSwitcher-C7i0JFHk-DTwRMIeq.js} +4 -4
  164. package/dist/assets/{TimeframeSwitcherWithToggle-Cb91RXpD-Dun8neFn.js → TimeframeSwitcherWithToggle-D35sc3g8-DFK7G4Fb.js} +2 -2
  165. package/dist/assets/{TopExCard-DD9Rf9T6-DnaHVccx.js → TopExCard-bgf-w40u-C_uNYW_E.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-DaDuwFrj-CH9pN0VD.js → TopExDetailPage-CUiZ2o0r-CyBMg4gJ.js} +16 -16
  167. package/dist/assets/{TransactionDetailPage-0fIW4o-6-Bz5BXA4d.js → TransactionDetailPage-C50JQjnc-CWzIU1Zc.js} +34 -34
  168. package/dist/assets/{TransactionList-CLjBadiP-BsFmQ32L.js → TransactionList-nnfPsJZc-BAJrCGK5.js} +8 -8
  169. package/dist/assets/{TransactionListBig-CwBxP1xB-GCeT7Fhg.js → TransactionListBig-BNanyUhE-aaPtnDIE.js} +24 -24
  170. package/dist/assets/{TransactionListPage-S1nTM7Yy-B7qsbrmY.js → TransactionListPage-kQOGZBz8-D3fDxnFY.js} +3 -3
  171. package/dist/assets/TransactionVendorDetailPage-D2OO73Ia-BHB9doPf.js +80 -0
  172. package/dist/assets/{TransferDrawerPage-BJDNWagE-BIlQVD_e.js → TransferDrawerPage-NOLm9zmx-SsZZDdD7.js} +26 -26
  173. package/dist/assets/{TreasuryOverviewPage-DB-ZH19K-BnhmZR6N.js → TreasuryOverviewPage-Doo6fmEl-EyBf70hX.js} +31 -31
  174. package/dist/assets/{TreasuryPromoPage-3MwRPpCt-DhrZr8z8.js → TreasuryPromoPage-CyowAl6A-D4htfcTS.js} +21 -21
  175. package/dist/assets/{TreasurySetupPage--G4JCzdh-BxyObKos.js → TreasurySetupPage-DZdd0DpR-CKcdkLNP.js} +10 -10
  176. package/dist/assets/TreasuryStatementsPage-Dfw94h0a-BmcNhHrJ.js +58 -0
  177. package/dist/assets/TreasuryTaxLetterPage-D83IlTZG-BaYwb9KX.js +58 -0
  178. package/dist/assets/{TreasuryTransferOrReviewPage-ByM1UIiU-BqK_l_K5.js → TreasuryTransferOrReviewPage-BuL0YxIE-BtNOqi4P.js} +44 -44
  179. package/dist/assets/{TrendChart-B0CS3MXT-CbB-GoT1.js → TrendChart-C5-sKlos-B0Ahph3o.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-D4OAA6yK-BElfkr13.js → TrendWithTransactions-CZx5tt-z-BQaGMOsk.js} +9 -9
  181. package/dist/assets/{UncategorizedAccountsMappingPage-C6jaWqrE-DoHvxigx.js → UncategorizedAccountsMappingPage-BVma5qcZ-CCA2MX8b.js} +5 -5
  182. package/dist/assets/{UnitIntegrationPage-5LOvIFvr-CqyusfTc.js → UnitIntegrationPage-ZRhbEzdQ-B7INC4Jq.js} +5 -5
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CLQLrn0v-BKUosbWd.js → UploadAdditionalDocumentOverlay-BpJ_tRy_-Ir3yYWfE.js} +2 -2
  184. package/dist/assets/{Vendor2FAPopup-BOl520xa-ppAif-Ti.js → Vendor2FAPopup-CQbY2KbX-DZR9-buS.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-B5jKUOjo-CQ6fw4At.js → VendorACHDetailsPage-DcDtOkiR-BY6IlGZW.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-B0GRXPKg-DpVGPOUS.js → VendorDetailPage-CHhJsnOa-Pomjlqys.js} +15 -15
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CeI3QihK-nN5_uUst.js → VendorDomesticWireDetailsPage-BIwYrLOl-C5tQSQbr.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-aNGSdZBf-DmPeRpgN.js → VendorFiling1099EditablePage-gnNbtQoj-C_iovGiO.js} +11 -11
  189. package/dist/assets/{VendorFirstReviewPage-CjwnZLcm-rZCll1Gn.js → VendorFirstReviewPage-Bj3eqx7P-DMs77Fme.js} +40 -40
  190. package/dist/assets/{VendorInternationalWireDetailsPage-w-46Xxg--DMdoShD0.js → VendorInternationalWireDetailsPage-B_jwfV7H-B6LDXGfj.js} +15 -15
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C5dogij9-AjTitKPs.js → VendorInternationalWireSwiftDetailsPage-CvIV-HFr-xCgovJeU.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-DBYoP6us-BNxmqurZ.js → VendorsAccountsSection-B2hWDuz0-Cu-WCSfr.js} +8 -8
  193. package/dist/assets/{WarningsDrawerPage-CZcR7kH4-CU5nIW1x.js → WarningsDrawerPage-BBC1azy1-5BwmdYFI.js} +22 -22
  194. package/dist/assets/{ZeniAccountDetailPage-C-NQEE2--Cb5OckXw.js → ZeniAccountDetailPage-mfrQO3zP-mQs6-xzM.js} +28 -28
  195. package/dist/assets/{ZeniAccountListViewPage-Cb8Ptf-w-DlLHoACL.js → ZeniAccountListViewPage-CCurA7tm-2kl9IV1R.js} +20 -20
  196. package/dist/assets/ZeniAccountNavBarPieces-CV5znR_M-xk3MObci.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-D5ihjbrM-CLAHDnt-.js → ZeniAccountPromoPage-DgGD7ggF-D6I3HQlw.js} +29 -29
  198. package/dist/assets/{ZeniAccountSetupPage-BRxz_tnh-BSP75bb0.js → ZeniAccountSetupPage-D4z2k7G7-B-TjplBp.js} +5 -5
  199. package/dist/assets/{ZeniCopyright-Bi82glrb-duqZWZnQ.js → ZeniCopyright-BdLzk7SF-YDGrRrzV.js} +1 -1
  200. package/dist/assets/ZeniTransferAmountSlider-BN1YPh8H-BhxzwI5G.js +63 -0
  201. package/dist/assets/{analyticsHelper-DfG7DVPh.js → analyticsHelper-C2NBKIU-.js} +1 -1
  202. package/dist/assets/{analyticsHelper-D3DK7bgU-BDE_Upvv.js → analyticsHelper-CzlOBCzS-CQTQg7l1.js} +1 -1
  203. package/dist/assets/{chartTypes-DJY-6KK0-4PHClK89.js → chartTypes-D-nEr9EI-B9VgqNSb.js} +1 -1
  204. package/dist/assets/{commonDimensions-DRK1vfDX-PluTp760.js → commonDimensions-DtXIXXfP-BDgsLUKt.js} +1 -1
  205. package/dist/assets/{detailCommon-6K-6m9pv-jkLJTbTr.js → detailCommon-DZhn8ANF-C-3uByQu.js} +9 -9
  206. package/dist/assets/{downloadPdf-DAA4T-qo-DsRNHgpN.js → downloadPdf-BaFOiUYP-DxRD0Sh_.js} +1 -1
  207. package/dist/assets/{index-BdyScxbq.js → index-DPgPe6wO.js} +4147 -4247
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-BAlOrI07-BRkRTCaW.js → mapLoadingInProgressToTreeNode-VAL73To4-DUfqJ5Z1.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bk-EXs-E-WwsJ-E2C.js → mapSectionWithAcOnlyToTreeNode-C-2C7Gbr-3LJ7o-YN.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-Cxd9BEJr-CTPQlHBA.js → mapSpacerToTreeNode-vdqGP9FL-DNsFGVkT.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cf8fsAZJ-CCBdKNH8.js → mapTimeframeBalancesToTreeNode-BFzyitoJ-BCTOadE1.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BzFUtqqU-DazSUAzQ.js → mapTimeframeBalancesToTreeNode-BwlF2Rvj-CEJu0PwI.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CZMzZg1q-DcE9f1oB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BhkQsZRW-CPa2W8T_.js} +1 -1
  214. package/dist/assets/{play-icon-DY_hSiAf-iPBPRToH.js → play-icon-Dzfx02ir-D9v788Sm.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-BaqBVqJ_-4clUovO3.js → toCOABalancesWithID-DN6cSuKb-Bquc6vq_.js} +1 -1
  216. package/dist/assets/{toChartData-7MYPev1U-BznULmJv.js → toChartData-Bc3LMl7f-JBzkXmJO.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-CDhLDRLr-BOEDM_eh.js → treasuryColorHelper-Cv4RwMTx-CPKgsqqw.js} +1 -1
  218. package/dist/assets/{uploadAttachment-DqCoxBNU-DL0Vk7r9.js → uploadAttachment-CxtYyGQy-Ct8Hb5gj.js} +24 -24
  219. package/dist/assets/{uploadReceipts-CU1mDxNv-JwkgKcZE.js → uploadReceipts-D80JLNY4-BE7GOht6.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ACHDetailsPage-D6-Uk4xr-B2LzYHp3.js +0 -21
  223. package/dist/assets/ArAgingDetailPage-DD4M5tUJ-D6JB-pq2.js +0 -46
  224. package/dist/assets/ChargeCardUtils-Bivw83fy-C-WoJbl2.js +0 -1
  225. package/dist/assets/CheckDepositDrawerPage-SpI62oU7-BfpgYkY2.js +0 -206
  226. package/dist/assets/CompleteProfile-C1PIn6EM-Cc-adujF.js +0 -52
  227. package/dist/assets/CurrencySelectField-DS-pGcuE-BpFKHUHN.js +0 -139
  228. package/dist/assets/CustomerOnboardingContainerPage-Lh0xH_Pl-BUxNxoDZ.js +0 -1
  229. package/dist/assets/DepositAccTransactionListPage-Cxvs7tMg-C-FTLdcU.js +0 -66
  230. package/dist/assets/DomesticWireDetailsPage-DzKlJFvy-TYDqEdkx.js +0 -21
  231. package/dist/assets/EditPeoplePage-auUWC3gB-DSruR2eT.js +0 -55
  232. package/dist/assets/FeaturePreviewPage-CwGJVCMk-C9tam9PL.js +0 -11
  233. package/dist/assets/InsightsCardStack-EzAsNm_U-BDHHmNG2.js +0 -79
  234. package/dist/assets/InvitePeoplePage-DgqE2Y-0-aE1qBB-8.js +0 -12
  235. package/dist/assets/LabeledAddressValueField-Cw-p18du-RDWTYVMt.js +0 -45
  236. package/dist/assets/LabeledDocumentField-Y6TKpyZ8--QVPp5Dk.js +0 -41
  237. package/dist/assets/MagicLinkSuccessPage-IHajRicG-C2W53sTh.js +0 -31
  238. package/dist/assets/MailingDetailsSection-AiehjqI1-D3JLmM_S.js +0 -21
  239. package/dist/assets/PortfolioAllocationFormPage-C4XzSjzr-wu3AnJ-K.js +0 -207
  240. package/dist/assets/QBOSetupSection-BeRZZ-Q_-DjjY5-V4.js +0 -79
  241. package/dist/assets/ReimbursementApprovalRuleDetailPage-CrbiufS3-DIBrpREw.js +0 -26
  242. package/dist/assets/ReimbursementPromoPage-CA2cUBsx-C4CK4GgH.js +0 -112
  243. package/dist/assets/RoleWithToolTip-BP8MTZdU-BujAhA8M.js +0 -22
  244. package/dist/assets/TransactionVendorDetailPage-CTTTAais-bA1BYkNw.js +0 -80
  245. package/dist/assets/TreasuryStatementsPage-DBykLGfz-cC2WQ6c9.js +0 -58
  246. package/dist/assets/TreasuryTaxLetterPage-DgbrzE9u-iJym96NM.js +0 -58
  247. package/dist/assets/VerifyDevice-C-ZVbaIJ-3g8l0R3C.js +0 -67
  248. package/dist/assets/ZeniAccountNavBarPieces-DX2iXF2E-CaiImja0.js +0 -14
  249. package/dist/assets/ZeniTransferAmountSlider-B4d4bp7D-CqfBNylr.js +0 -63
@@ -1,4 +1,4 @@
1
- import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o,F as Ge,o as n,cD as Re,cr as Ne,bT as ne,bU as ie,gQ as Ue,a0 as G,bw as fe,aV as Oe,v as z,Y as We,n as Ye,k as Ve,bE as qe,b4 as ye,$ as b,y as Ze,l as Qe,cR as F,_ as R,C as j,M as J,f9 as Ke,Q as Xe,g as He,q as Je,ct as et,bK as tt,fA as nt,s as u,dL as it,fi as ot,gR as rt,K as st,fb as at,be as ct,a6 as lt}from"./index-BdyScxbq.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-DX2iXF2E-CaiImja0.js";import{v as mt}from"./ZeniTransferAmountSlider-B4d4bp7D-CqfBNylr.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=H.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:C})=>{const s=X(),v=(c,T)=>Object.entries(T).reduce((M,[L,$])=>M.replace(new RegExp(`__${L}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx($t,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(wt,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
1
+ import{X as Q,a as Ie,a2 as _e,u as De,ab as Ee,M as X,a1 as Fe,j as t,bO as W,g as o,F as Ge,o as n,cA as Ue,co as Ne,bQ as ne,bR as ie,gN as Oe,a0 as G,bs as fe,aV as Re,f as z,Z as We,e as Ye,k as Ve,bB as Ze,b4 as ye,v as b,w as qe,l as Je,cO as F,_ as U,C as j,m as H,f7 as Ke,Q as Qe,h as Xe,n as He,cq as et,bH as tt,fy as nt,q as u,dI as it,fg as ot,gO as rt,K as st,f9 as at,be as ct,a6 as lt}from"./index-DPgPe6wO.js";import{b as g,n as i}from"./vendor-CnQcJ2Lu.js";import{r as dt}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as pt}from"./shield-DOlUxcFf-BCUrujod.js";import{T as ut}from"./ZeniAccountNavBarPieces-CV5znR_M-xk3MObci.js";import{v as mt}from"./ZeniTransferAmountSlider-BN1YPh8H-BhxzwI5G.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ht=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=X.getLocalizedStrings(),gt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:$,style:C})=>{const s=Q(),v=(c,T)=>Object.entries(T).reduce((M,[L,w])=>M.replace(new RegExp(`__${L}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),S=[{icon:t.jsx(At,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(zt,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(Ct,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(xt,{style:C,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx($t,{}),t.jsx(ft,{})]}),t.jsx(yt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(kt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(bt,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:S.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},xt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -7,7 +7,7 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
7
7
  border-radius: ${n.sp2};
8
8
  overflow: hidden;
9
9
  width: 100%;
10
- `,$t=i.div`
10
+ `,wt=i.div`
11
11
  position: absolute;
12
12
  top: ${n.sp0};
13
13
  left: ${n.sp0};
@@ -33,7 +33,7 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
33
33
  rgba(199, 116, 25, 0.1) ${n.sp3}
34
34
  );
35
35
  }
36
- `,wt=i.div`
36
+ `,$t=i.div`
37
37
  position: absolute;
38
38
  top: ${n.sp0};
39
39
  right: ${n.sp0};
@@ -143,11 +143,11 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
143
143
  position: relative;
144
144
  margin-top: ${e=>e.windowSize==="small"?n.sp2:"0"};
145
145
  padding: ${e=>e.windowSize==="small"?`0 ${n.sp2}`:"0"};
146
- `,xe=i(J)`
146
+ `,xe=i(H)`
147
147
  color: ${o.heroLight};
148
148
  white-space: pre-line;
149
149
  text-align: ${e=>e.windowSize==="small"?"center":"left"};
150
- `,$e=i.a`
150
+ `,we=i.a`
151
151
  color: ${o.heroLight};
152
152
  text-decoration: underline;
153
153
  text-decoration-color: ${o.neutralGrey2Light};
@@ -177,7 +177,7 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
177
177
  width: ${n.sp3};
178
178
  height: ${n.sp3};
179
179
  color: ${o.brandColorGoldDark};
180
- `,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new Xe("standardRegular","largeMedium")},d=H.getLocalizedStrings(),Y=e=>t.jsx(Ut,{children:e}),Pt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(an,{children:[t.jsx(cn,{onClick:a,"data-testid":R("zeni-account-list-reload"),children:t.jsx(ln,{})}),t.jsx(dn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Bt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:w,analytics:C,onZeniAccountRowClick:s,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:S,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:L,summary:$}=e,p=X(),I=Ze(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||Qe.hasAnyFinOpRole(I.loggedInUserRoleMap),_=r=>{C.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},A=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(q,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",w)});break;case"totalInterest":k=t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(q,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(gn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:G("0,0[.]00",$?.totalBalance.current)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:G("0,0[.]00",$?.totalBalance.hold)})]}),t.jsxs(Z,{children:[t.jsx(Q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:G("0,0[.]00",$?.totalBalance.available)})]})]});break}return t.jsx(un,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(hn,{}):t.jsx(mn,{})})})},N=r=>t.jsx(Rt,{color:Ke(r)});return t.jsx(Tt,{children:L==="Completed"?t.jsxs(pn,{windowSize:p,children:[t.jsxs(Dt,{windowSize:p,children:[t.jsxs(Nt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),A("totalBalance")]}),t.jsx(F,{amount:$?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),A("insuredBalance")]}),t.jsx(F,{amount:$?.insuredBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsx(Yt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",w)})]}),t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),A("totalInterest")]}),t.jsx(F,{amount:$?.totalInterest.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsxs(Ot,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Wt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(xn,{windowSize:p,children:t.jsx(gt,{yieldPercentage:S,insuredAmount:c,onGetStartedClick:()=>{C.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Gt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Qt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":R("deposit-account-clicked",r.id),children:[t.jsxs(Vt,{children:[N(k),t.jsxs(Kt,{children:[t.jsx(Xt,{windowSize:p,children:r.accountName}),t.jsxs(Ht,{windowSize:p,children:[t.jsx(Et,{children:t.jsx(Jt,{children:r.maskedAccountNumber})}),t.jsxs(Ft,{children:[p==="small"?null:t.jsx(en,{}),t.jsx(tn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(nn,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),y?null:t.jsx(It,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":R("add-fund",r.id),children:t.jsx(_t,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(on,{onClick:P,"data-testid":R("add-new-internal-zeni-account"),children:[t.jsx(rn,{}),t.jsx(sn,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Pt,{fetchState:L,onReloadTransactions:v})})},Tt=i.div`
180
+ `,St=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Lt={bankAccountName:new Qe("standardRegular","largeMedium")},d=X.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Pt=({fetchState:e,onReloadTransactions:a})=>e==="Error"?t.jsxs(an,{children:[t.jsx(cn,{onClick:a,"data-testid":U("zeni-account-list-reload"),children:t.jsx(ln,{})}),t.jsx(dn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Bt=({zeniAccountListView:e,zeniAccountsConfigDetail:a,maxInsuredAmountString:$,analytics:C,onZeniAccountRowClick:s,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:S,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:M,fetchState:L,summary:w}=e,p=Q(),I=qe(),y=I.loggedInUserRoleMap.deposit_accounts_user===!0||Je.hasAnyFinOpRole(I.loggedInUserRoleMap),_=r=>{C.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},A=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(gn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(q,{children:[t.jsx(J,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:G("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(un,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(hn,{}):t.jsx(mn,{})})})},N=r=>t.jsx(Ut,{color:Ke(r)});return t.jsx(Tt,{children:L==="Completed"?t.jsxs(pn,{windowSize:p,children:[t.jsxs(Dt,{windowSize:p,children:[t.jsxs(Nt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),A("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(Zt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),A("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsx(Yt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),A("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),t.jsxs(Rt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Wt,{children:a.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(xn,{windowSize:p,children:t.jsx(gt,{yieldPercentage:S,insuredAmount:c,onGetStartedClick:()=>{C.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Gt,{windowSize:p,children:[M.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>s?.(r.id,r.accountName),"data-testid":U("deposit-account-clicked",r.id),children:[t.jsxs(Vt,{children:[N(k),t.jsxs(Kt,{children:[t.jsx(Qt,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Et,{children:t.jsx(Ht,{children:r.maskedAccountNumber})}),t.jsxs(Ft,{children:[p==="small"?null:t.jsx(en,{}),t.jsx(tn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(nn,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:z.largeMedium.cssObject,decimalStyles:z.smallMedium.cssObject}),y?null:t.jsx(It,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":U("add-fund",r.id),children:t.jsx(_t,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(on,{onClick:P,"data-testid":U("add-new-internal-zeni-account"),children:[t.jsx(rn,{}),t.jsx(sn,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Pt,{fetchState:L,onReloadTransactions:v})})},Tt=i.div`
181
181
  display: block;
182
182
  height: 100%;
183
183
  `,Mt=i.div`
@@ -194,7 +194,7 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
194
194
  :hover {
195
195
  border: 1px solid ${e=>e.theme.colors.hero};
196
196
  }
197
- `,_t=i(Je)`
197
+ `,_t=i(He)`
198
198
  color: ${e=>e.theme.colors.hero};
199
199
  `,Dt=i.div`
200
200
  margin: ${e=>x.containerTopMargin.valuePx(e.windowSize)}
@@ -214,7 +214,7 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
214
214
  ${x.bankAccListBottomMargin.valuePx(e.windowSize)} ${n.sp0}`};
215
215
  width: 100%;
216
216
  padding: ${e=>`${n.sp0} ${x.containerSidePadding.valuePx(e.windowSize)}`};
217
- `,Rt=i(at)`
217
+ `,Ut=i(at)`
218
218
  min-width: ${n.sp7};
219
219
  width: ${n.sp7};
220
220
  height: ${n.sp7};
@@ -225,20 +225,20 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
225
225
  `:null}
226
226
  `,V=i.div`
227
227
  display: flex;
228
- `,Ut=i(b)`
228
+ `,Ot=i(b)`
229
229
  color: ${e=>e.theme.colors.hero};
230
230
  margin-right: ${n.sp1};
231
- `,Ot=i(J)`
231
+ `,Rt=i(H)`
232
232
  color: ${e=>e.theme.colors.hero};
233
233
  `,Wt=i.span`
234
234
  margin-left: 2px;
235
- `,Yt=i(J)`
235
+ `,Yt=i(H)`
236
236
  color: ${e=>e.theme.colors.hero};
237
237
  `,Vt=i.div`
238
238
  display: flex;
239
239
  align-items: center;
240
240
  width: calc(100% - 96px);
241
- `,qt=i.div``,Zt=i.div``,Qt=i.div`
241
+ `,Zt=i.div``,qt=i.div``,Jt=i.div`
242
242
  padding-left: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
243
243
  padding-right: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
244
244
  padding-top: ${e=>x.accountRowTopBottomPadding.valuePx(e.windowSize)};
@@ -261,18 +261,18 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
261
261
  width: calc(100% - 40px);
262
262
  white-space: nowrap;
263
263
  overflow: hidden;
264
- `,Xt=i(He)`
264
+ `,Qt=i(Xe)`
265
265
  ${e=>`${Lt.bankAccountName.style(e.windowSize)}`};
266
266
  color: ${e=>e.theme.colors.primary};
267
267
  max-width: ${`calc(100% - ${n.sp3})`};
268
268
  text-transform: capitalize;
269
269
  overflow: hidden;
270
- `,Ht=i.div`
270
+ `,Xt=i.div`
271
271
  display: flex;
272
272
  color: ${e=>e.theme.colors.hero};
273
273
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
274
274
  align-items: ${e=>e.windowSize==="small"?"start":"center"};
275
- `,Jt=i(b)`
275
+ `,Ht=i(b)`
276
276
  margin-left: ${n.sp1};
277
277
  `,en=i.div`
278
278
  width: ${n.sp1};
@@ -369,11 +369,11 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
369
369
  `,hn=i(St)`
370
370
  width: ${n.sp3};
371
371
  height: ${n.sp3};
372
- `,q=i(b)`
372
+ `,Z=i(b)`
373
373
  padding: ${n.sp2} ${n.sp3};
374
374
  color: ${e=>e.theme.colors.hero};
375
375
  border-radius: ${n.sp1};
376
- `,Z=i(b)`
376
+ `,q=i(b)`
377
377
  color: ${e=>e.theme.colors.brandColorPearl};
378
378
  margin-top: ${n.sp2};
379
379
  display: flex;
@@ -381,13 +381,13 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
381
381
  `,gn=i(b)`
382
382
  margin-bottom: ${n.sp2};
383
383
  display: flex;
384
- `,Q=i.div`
384
+ `,J=i.div`
385
385
  color: ${e=>e.theme.colors.hero};
386
386
  `,K=i.div`
387
387
  color: ${o.primaryDark};
388
388
  `,xn=i.div`
389
389
  margin-top: ${n.sp4};
390
- `,{common:$n,spendManagement:{zeniAccounts:l}}=H.getLocalizedStrings(),we="checkingAccountCreation-form",Nn=({zeniAccountListView:e,analytics:a,maxInsuredAmount:w,isBillPayEnabled:C,isExpressPayEnabled:s,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:S,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:L,treasuryYieldPercentage:$,treasuryInsuredAmount:p})=>{const I=X(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const A=De(),[N,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,U]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,O)=>{P(h,O)},ve={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(a.trackAccountsListPageClicked("Pay Someone"),U(!0)):(h==="sendMoney"?a.trackSendMoneyClick():h==="checkDeposit"?a.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&a.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},Se={onOkClick:()=>{},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(O=>O.id===e.newCheckingAccount.accountId);a.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{a.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),U(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Not Now on Bills pop up"),U(!1)}},Be=y.handleSubmit(h=>{a.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe(w),w,$n.currency.currencySymbol).toUpperCase(),Me=t.jsx(ut,{onSettingsClick:B,isBillPayEnabled:C,isExpressPayEnabled:s,zeniBankProps:ve,analytics:a});return t.jsxs(wn,{children:[N?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:we,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:Se,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:we,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Re,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ne(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:A.colors.grey5,border:`1px solid ${A.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(yn,{children:[t.jsx(Ue,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(kn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(mt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(bn,{children:[t.jsxs(zn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(An,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:A.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(fn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Bt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:S,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:$,treasuryInsuredAmount:p,showTreasuryPromo:L})})]})},wn=i.div`
390
+ `,{common:wn,spendManagement:{zeniAccounts:l}}=X.getLocalizedStrings(),$e="checkingAccountCreation-form",Nn=({zeniAccountListView:e,analytics:a,maxInsuredAmount:$,isBillPayEnabled:C,isExpressPayEnabled:s,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:S,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:M,showTreasuryPromo:L,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const I=Q(),y=Ie({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const A=De(),[N,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,O]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,R)=>{P(h,R)},ve={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(a.trackAccountsListPageClicked("Pay Someone"),O(!0)):(h==="sendMoney"?a.trackSendMoneyClick():h==="checkDeposit"?a.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&a.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},Se={onOkClick:()=>{},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(R=>R.id===e.newCheckingAccount.accountId);a.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{a.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),O(!1)},onCancelClick:()=>{a.trackAccountsListPageClicked("Not Now on Bills pop up"),O(!1)}},Be=y.handleSubmit(h=>{a.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,wn.currency.currencySymbol).toUpperCase(),Me=t.jsx(ut,{onSettingsClick:B,isBillPayEnabled:C,isExpressPayEnabled:s,zeniBankProps:ve,analytics:a});return t.jsxs($n,{children:[N?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:Se,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ue,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ne(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:A.colors.grey5,border:`1px solid ${A.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(yn,{children:[t.jsx(Oe,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(kn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(mt,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(bn,{children:[t.jsxs(zn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(An,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Re,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:I==="medium-compact"||I==="small",backgroundColor:A.colors.grey4,style:{zIndex:3,...z.largeSemiBold.cssObject},rightSideComponent:Me,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(fn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Bt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{a.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:a,onReloadTransactions:S,maxInsuredAmountString:te,onTreasuryGetStartedClick:M,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:L})})]})},$n=i.div`
391
391
  display: flex;
392
392
  min-height: 100%;
393
393
  flex-direction: column;
@@ -422,7 +422,7 @@ import{X,a as Ie,a2 as _e,u as De,ab as Ee,B as H,a1 as Fe,j as t,bR as W,d as o
422
422
  flex-direction: column;
423
423
  align-items: center;
424
424
  `,An=i.span`
425
- font-weight: ${qe.medium};
425
+ font-weight: ${Ze.medium};
426
426
  margin-left: ${n.sp1};
427
427
  `,zn=i(Ve)`
428
428
  color: ${o.success};
@@ -0,0 +1,14 @@
1
+ import{w as N,fk as $,l as O,M as j,j as a,_ as w,gk as p,gP as u,o as s,gm as z}from"./index-DPgPe6wO.js";import{n as d}from"./vendor-CnQcJ2Lu.js";const o=j.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},M={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},v={value:"checkDeposit",label:o.moveMoney.checkDeposit},B=[y,g,M,v],A=[M,g,y,v],D=({zeniBankProps:e,isBillPayEnabled:f,isExpressPayEnabled:x,analytics:h,onSettingsClick:k})=>{const i=N(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),b=O.hasBillPayAccess(i.loggedInUserRoleMap),P=m.filter(t=>t.value==="accountStatement"),c=f===!0?B:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),S=b?r:r.filter(t=>t.value!=="payBill");return a.jsxs(_,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(E,{onClick:k,"data-testid":w("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?P:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:S,title:o.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},E=d(z)`
2
+ cursor: pointer;
3
+ min-width: ${s.sp4};
4
+ width: ${s.sp4};
5
+ height: ${s.sp4};
6
+ color: ${e=>e.theme.colors.hero};
7
+ &:hover {
8
+ color: ${e=>e.theme.colors.primary};
9
+ }
10
+ `,_=d.div`
11
+ display: flex;
12
+ flex-direction: row;
13
+ align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
14
+ `;export{D as T};
@@ -1,4 +1,4 @@
1
- import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o,c4 as he,Y as Q,K as Y,_ as L,b as j,c3 as ge,ab as z,a1 as k,a6 as V,p as we,C as x,d as A,c5 as je,a7 as $e,ap as ye,s as W,Q as $,g as C,M as T,c as Se}from"./index-BdyScxbq.js";import{b as D,n}from"./vendor-CnQcJ2Lu.js";import{x as fe}from"./MeetingCalenderPopup-COpKcBhx-C3Igd-V1.js";import{M as B}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{u as ce,X as v,a2 as ae,w as xe,fk as me,j as i,aV as pe,M as P,k as he,o,c1 as ue,Z as V,K as L,_ as W,i as j,c0 as ge,ab as z,a1 as k,a6 as J,Y as we,C as x,g as A,c2 as je,a7 as $e,ap as ye,q as Y,Q as $,h as C,m as T,$ as Se}from"./index-DPgPe6wO.js";import{b as D,n}from"./vendor-CnQcJ2Lu.js";import{x as fe}from"./MeetingCalenderPopup-gItmg01b-KkgdFDbQ.js";import{M as B}from"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(Y[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,Y[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -19,12 +19,12 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
19
19
  margin: auto;
20
20
  padding: ${o.sp5} ${o.sp0};
21
21
  color: ${e=>e.theme.colors.primary};
22
- `,Z=n.div`
22
+ `,N=n.div`
23
23
  display: flex;
24
24
  flex-direction: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"||e.windowSize==="medium-regular"?"column":"row"};
25
25
  align-items: center;
26
26
  justify-content: center;
27
- gap: ${e=>h.midContainerGap.valuePx(e.windowSize)};
27
+ gap: ${e=>u.midContainerGap.valuePx(e.windowSize)};
28
28
  margin-bottom: ${o.sp5};
29
29
  `,Ae=n.div`
30
30
  display: flex;
@@ -34,7 +34,7 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
34
34
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
35
35
  align-items: center;
36
36
  justify-content: center;
37
- `,N=n.div`
37
+ `,O=n.div`
38
38
  width: ${e=>e.windowSize==="small"?"auto":"330px"};
39
39
  display: flex;
40
40
  flex-direction: column;
@@ -61,13 +61,13 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
61
61
  color: ${e=>e.theme.colors.champion};
62
62
  `,S=n($e)`
63
63
  color: ${e=>e.theme.colors.champion};
64
- `,f=n(V)`
64
+ `,f=n(J)`
65
65
  color: ${e=>e.theme.colors.champion};
66
66
  `,b=n(je)`
67
67
  color: ${e=>e.theme.colors.champion};
68
- `,p=n.div``,u=n.div`
68
+ `,p=n.div``,h=n.div`
69
69
  padding-left: ${o.sp3};
70
- `,O=n(B)`
70
+ `,Q=n(B)`
71
71
  color: ${A.graphColor16Dark};
72
72
  `,X=n(B)`
73
73
  color: ${A.graphColor19Dark};
@@ -75,7 +75,7 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
75
75
  color: ${A.graphColor11};
76
76
  `,ee=n(B)`
77
77
  color: ${A.success};
78
- `,Be=n(V)`
78
+ `,Be=n(J)`
79
79
  margin: ${e=>e.windowSize==="small"?o.sp1:`auto ${o.sp5}`};
80
80
  color: ${e=>e.theme.colors.grey1};
81
81
  `,Re=n.div`
@@ -84,18 +84,18 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
84
84
  width: 100%;
85
85
  justify-content: center;
86
86
  align-items: center;
87
- `,Pe=n.div`
87
+ `,Ie=n.div`
88
88
  display: inline-block;
89
- `,G=n(we)`
89
+ `,F=n(we)`
90
90
  display: inline;
91
91
  margin: ${o.sp3} auto ${o.sp0} auto;
92
92
  max-width: 731px;
93
93
  color: ${e=>e.theme.colors.hero};
94
- `,Ie=n.div`
94
+ `,Pe=n.div`
95
95
  display: flex;
96
96
  flex-direction: column;
97
97
  width: 100%;
98
- max-width: ${e=>h.iconInnerRowMaxWidth.valuePx(e.windowSize)};
98
+ max-width: ${e=>u.iconInnerRowMaxWidth.valuePx(e.windowSize)};
99
99
  `,_e=n.div`
100
100
  display: flex;
101
101
  justify-content: flex-end;
@@ -103,10 +103,10 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
103
103
  display: flex;
104
104
  width: 100%;
105
105
  justify-content: flex-end;
106
- gap: ${e=>h.iconInnerColumnGap.valuePx(e.windowSize)};
106
+ gap: ${e=>u.iconInnerColumnGap.valuePx(e.windowSize)};
107
107
  align-items: flex-end;
108
- `,F=n.div``,He=n.div`
109
- height: ${e=>h.amountColumnHeight.valuePx(e.windowSize)};
108
+ `,G=n.div``,He=n.div`
109
+ height: ${e=>u.amountColumnHeight.valuePx(e.windowSize)};
110
110
  border-left: 1px solid ${e=>e.theme.colors.grey2};
111
111
  margin-left: 12px;
112
112
  margin-top: 43px;
@@ -115,10 +115,10 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
115
115
  justify-content: space-between;
116
116
  align-items: flex-start;
117
117
  padding-left: ${o.sp2};
118
- `,E=n.div`
118
+ `,Z=n.div`
119
119
  width: 100%;
120
- min-width: ${e=>h.bankRectBoxMinWidth.valuePx(e.windowSize)};
121
- height: ${e=>h.bankRectBoxHeight.valuePx(e.windowSize)};
120
+ min-width: ${e=>u.bankRectBoxMinWidth.valuePx(e.windowSize)};
121
+ height: ${e=>u.bankRectBoxHeight.valuePx(e.windowSize)};
122
122
  background: ${e=>e.isBankRect?e.theme.colors.grey5:e.theme.colors.brandColorJade};
123
123
  border: 1px
124
124
  ${e=>e.isBankRect?`dashed ${e.theme.colors.hero}`:`solid ${e.theme.colors.brandColorJade}`};
@@ -130,13 +130,13 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
130
130
  margin-top: ${o.sp2};
131
131
  border-top: 1px solid ${e=>e.theme.colors.grey2};
132
132
  color: ${e=>e.theme.colors.primary};
133
- `,J=n.div`
133
+ `,E=n.div`
134
134
  width: 100%;
135
135
  height: 298px;
136
136
  display: flex;
137
137
  flex-direction: column;
138
138
  align-items: flex-end;
139
- `,Ye=n.div`
139
+ `,Le=n.div`
140
140
  width: 100%;
141
141
  height: 42px;
142
142
  background: ${e=>e.theme.colors.brandColorRuby};
@@ -147,11 +147,11 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
147
147
  justify-content: center;
148
148
  flex-direction: column;
149
149
  align-items: flex-end;
150
- `,Le=n(C)`
150
+ `,We=n(C)`
151
151
  color: ${e=>e.theme.colors.grey5};
152
152
  padding-right: 12px;
153
153
  ${e=>`${R.insuredAmountStr.style(e.windowSize)}`};
154
- `,We=n(T)`
154
+ `,Ye=n(T)`
155
155
  color: ${e=>e.theme.colors.grey5};
156
156
  padding-right: 12px;
157
157
  `,De=n(C)`
@@ -159,17 +159,17 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
159
159
  padding-right: 12px;
160
160
  padding-top: 20px;
161
161
  ${e=>`${R.uninsuredAmountStr.style(e.windowSize)}`};
162
- `,Ge=n(T)`
162
+ `,Fe=n(T)`
163
163
  color: ${e=>e.theme.colors.brandColorRuby};
164
164
  padding-right: 12px;
165
- `,Fe=n(Q)`
165
+ `,Ge=n(V)`
166
166
  color: ${e=>e.theme.colors.grey5};
167
167
  padding-right: 12px;
168
168
  padding-top: 20px;
169
- `,Ee=n(T)`
169
+ `,Ze=n(T)`
170
170
  color: ${e=>e.theme.colors.grey5};
171
171
  padding-right: 12px;
172
- `,Je=n(C)`
172
+ `,Ee=n(C)`
173
173
  ${e=>`${R.yAxisAmount.style(e.windowSize)}`};
174
174
  color: ${e=>e.theme.colors.primary};
175
175
  `,K=n(C)`
@@ -177,8 +177,8 @@ import{u as ce,X as v,a2 as ae,y as xe,fm as me,j as i,aV as pe,B as I,k as ue,o
177
177
  margin-bottom: ${o.sp3};
178
178
  ${e=>`${R.title.style(e.windowSize)}`};
179
179
  `,Ke=n(Se)`
180
- width: ${e=>h.styledLogoWidth.valuePx(e.windowSize)};
181
- height: ${e=>h.styledLogoHeight.valuePx(e.windowSize)};
180
+ width: ${e=>u.styledLogoWidth.valuePx(e.windowSize)};
181
+ height: ${e=>u.styledLogoHeight.valuePx(e.windowSize)};
182
182
  color: ${e=>e.theme.colors.primary};
183
183
  cursor: pointer;
184
- `,r=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=I.getLocalizedStrings().common,d=I.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(Ie,{windowSize:s,children:[i.jsx(_e,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(F,{children:[i.jsx(K,{windowSize:s,children:r.iconTexts.title}),i.jsxs(E,{windowSize:s,isBankRect:!0,children:[i.jsxs(J,{children:[i.jsx(De,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Ge,{children:r.iconTexts.unInsured})]}),i.jsxs(Ye,{children:[i.jsx(Le,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(We,{children:r.iconTexts.insured})]})]})]}),i.jsxs(F,{children:[i.jsx(K,{windowSize:s,children:i.jsx(Ke,{windowSize:s})}),i.jsx(E,{windowSize:s,isBankRect:!1,children:i.jsxs(J,{children:[i.jsx(Fe,{children:e}),i.jsx(Ee,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(Me,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Je,{windowSize:s,children:l},t))})]})},Qe=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let a=g;return s>l&&(a=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(Z,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:a}),i.jsxs(N,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(q,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(f,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(O,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(f,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.noHiddenFee.bold}),i.jsx(f,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(f,{children:r.expertSupport.regular})]})]})]})]})},Ve=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let a=g;return s>l&&(a=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(Z,{windowSize:t,children:[i.jsxs(N,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(q,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(y,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(O,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(y,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.noHiddenFee.bold}),i.jsx(y,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.expertSupport.bold}),i.jsx(y,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:a})]})},ti=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:a,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:_})=>{const se=ce(),c=v(),{zeniAccountTermsDetails:P}=g,U=ae(P?.fetchStatus.fetchState),[te,H]=D.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};D.useEffect(()=>{U==="In-Progress"&&P?.fetchStatus.fetchState==="Completed"&&_?.()},[U,_,P?.fetchStatus]);const M=xe(),de=M.loggedInUserRoleMap.deposit_accounts_user===!0||me(M);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:c==="small"||c==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(fe,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:c,children:[c==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(ue,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(he,{children:[r.promoText1,w.strings.colon]}),i.jsx(Q,{style:{marginTop:o.sp2},children:r.promoText2})]}),c==="small"||c==="medium-compact"||c==="medium-regular"?i.jsx(Qe,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:a}):i.jsx(Ve,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:a}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:c,children:[i.jsx(Y,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":L("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:c,children:r.orText}),i.jsx(Y,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":L("accounts-promo-setup-accounts-button")})]}),i.jsx(Re,{children:i.jsxs(G,{children:[r.terms.terms1,i.jsx(j,{href:d.consentUrl,linkText:d.consent}),d.term2,i.jsx(j,{href:d.depositUrl,linkText:d.depositTerms}),d.term3,i.jsx(j,{href:d.privacyPolicyUrl,linkText:d.privacy}),d.term4,i.jsx(j,{href:d.tosUrl,linkText:d.tos}),d.term5,r.terms.terms3]})}),i.jsx(Pe,{children:i.jsx(G,{children:r.disclaimer})})]})]})]})};export{ti as default};
184
+ `,r=P.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=P.getLocalizedStrings().common,d=P.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(Pe,{windowSize:s,children:[i.jsx(_e,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(G,{children:[i.jsx(K,{windowSize:s,children:r.iconTexts.title}),i.jsxs(Z,{windowSize:s,isBankRect:!0,children:[i.jsxs(E,{children:[i.jsx(De,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Fe,{children:r.iconTexts.unInsured})]}),i.jsxs(Le,{children:[i.jsx(We,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Ye,{children:r.iconTexts.insured})]})]})]}),i.jsxs(G,{children:[i.jsx(K,{windowSize:s,children:i.jsx(Ke,{windowSize:s})}),i.jsx(Z,{windowSize:s,isBankRect:!1,children:i.jsxs(E,{children:[i.jsx(Ge,{children:e}),i.jsx(Ze,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(Me,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Ee,{windowSize:s,children:l},t))})]})},Ve=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let a=g;return s>l&&(a=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(N,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:a}),i.jsxs(O,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(q,{})}),i.jsxs(h,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(f,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(h,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(f,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(h,{children:[i.jsx(b,{children:r.noHiddenFee.bold}),i.jsx(f,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(h,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(f,{children:r.expertSupport.regular})]})]})]})]})},Je=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let a=g;return s>l&&(a=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(N,{windowSize:t,children:[i.jsxs(O,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(q,{})}),i.jsxs(h,{children:[i.jsx(S,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(y,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(h,{children:[i.jsx(S,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(y,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(h,{children:[i.jsx(S,{children:r.noHiddenFee.bold}),i.jsx(y,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(h,{children:[i.jsx(S,{children:r.expertSupport.bold}),i.jsx(y,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:a})]})},ti=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:a,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:_})=>{const se=ce(),c=v(),{zeniAccountTermsDetails:I}=g,U=ae(I?.fetchStatus.fetchState),[te,H]=D.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};D.useEffect(()=>{U==="In-Progress"&&I?.fetchStatus.fetchState==="Completed"&&_?.()},[U,_,I?.fetchStatus]);const M=xe(),de=M.loggedInUserRoleMap.deposit_accounts_user===!0||me(M);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:c==="small"||c==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(fe,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:c,children:[c==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(he,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(ue,{children:[r.promoText1,w.strings.colon]}),i.jsx(V,{style:{marginTop:o.sp2},children:r.promoText2})]}),c==="small"||c==="medium-compact"||c==="medium-regular"?i.jsx(Ve,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:a}):i.jsx(Je,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:a}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:c,children:[i.jsx(L,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":W("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:c,children:r.orText}),i.jsx(L,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":W("accounts-promo-setup-accounts-button")})]}),i.jsx(Re,{children:i.jsxs(F,{children:[r.terms.terms1,i.jsx(j,{href:d.consentUrl,linkText:d.consent}),d.term2,i.jsx(j,{href:d.depositUrl,linkText:d.depositTerms}),d.term3,i.jsx(j,{href:d.privacyPolicyUrl,linkText:d.privacy}),d.term4,i.jsx(j,{href:d.tosUrl,linkText:d.tos}),d.term5,r.terms.terms3]})}),i.jsx(Ie,{children:i.jsx(F,{children:r.disclaimer})})]})]})]})};export{ti as default};
@@ -1,4 +1,4 @@
1
- import{u as we,X as Se,a2 as U,a as be,c6 as Ae,B as xe,a8 as $,j as t,cL as Ce,d as Pe,C as d,aV as ke,i as Fe,F as ve,d1 as je,aR as Te,a4 as Ve,o as ze,s as a,n as Ee}from"./index-BdyScxbq.js";import{b as f,n as w}from"./vendor-CnQcJ2Lu.js";import{I as Ie}from"./HelpButton-C1djo0zO-DvpvoGEo.js";import{K as De}from"./SetUpDefaultSection-BQzNGjO7-Fxtz2ozg.js";import{f as Oe}from"./SpendMgmtSetupAccountSection-Btdtp-ry-CqmCQQeu.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-CLQLrn0v-BKUosbWd.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-COpKcBhx-C3Igd-V1.js";import"./ChargeCardUtils-Bivw83fy-C-WoJbl2.js";import"./CreditCardPaymentPlgSection-mUqReF9z-DqrJBSz6.js";import"./ChaseOverlay-LcVAgdoT-CxUFiFZn.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:W,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:_}=Be,{zeniAccountSetUp:V}=_,{setUp:z}=W,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:N,onFetchLinkTokenClick:Z,onBackClick:M,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=we(),i=Se(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:E,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:I}=p,D=U(g),x=U(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,P)=>{const n=P[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=I.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&D==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,D]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&S()},[S,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=E?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&S()},[S,x,r.fetchState]);const ge=j?W.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs(Re,{children:[t.jsx(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:q,filesEndPoint:H,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:V.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:M,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:ge}),he?t.jsx(_e,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(He,{windowSize:i,children:[t.jsx(De,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:E?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Oe,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:_.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:I,pageName:"Zeni Account Setup",accountsPromoConfig:N})]})})})]}),j&&!C?t.jsx(Ve,{formId:R(B),primaryBtn:{label:V.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(Ie,{isFooterRendered:j&&!C,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
1
+ import{u as Se,X as we,a2 as U,a as be,c3 as Ae,M as xe,a8 as $,j as t,cI as Ce,g as Pe,C as d,aV as ke,c as Fe,F as ve,c_ as je,aR as Te,a4 as Ve,o as ze,q as a,e as Ee}from"./index-DPgPe6wO.js";import{b as f,n as S}from"./vendor-CnQcJ2Lu.js";import{D as De}from"./HelpButton-DY1MpMsB-NSbUCSI-.js";import{K as Ie}from"./SetUpDefaultSection-Chh_3U0h-B9vxnPiJ.js";import{f as Oe}from"./SpendMgmtSetupAccountSection-BfwEbse9-BEabiv-B.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-BpJ_tRy_-Ir3yYWfE.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-gItmg01b-KkgdFDbQ.js";import"./ChargeCardUtils-EeXYTubM-BzIGoEJ7.js";import"./CreditCardPaymentPlgSection-C3pH8AzC-DAPxFM0W.js";import"./ChaseOverlay-DONL-nDR-1303yNRD.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:V}=W,{setUp:z}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig:M,onFetchLinkTokenClick:Z,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:E,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,I=U(g),x=U(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,P)=>{const n=P[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&I==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,I]),f.useEffect(()=>{const y=v.watch((P,{name:n})=>{n!=null&&P!=null&&Ae(()=>fe(n,P))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const C=pe?.isZeniAccountEnabled===!0,j=E?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?_.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs(Re,{children:[t.jsx(Ce,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:V.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx(Ie,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:E?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Oe,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!C?t.jsx(Ve,{formId:R(B),primaryBtn:{label:V.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!C,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -6,14 +6,14 @@ import{u as we,X as Se,a2 as U,a as be,c6 as Ae,B as xe,a8 as $,j as t,cL as Ce,
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,Re=w.div`
9
+ `,Re=S.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  height: 100%;
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
- `,We=w(Ee)`
16
+ `,_e=S(Ee)`
17
17
  color: ${e=>e.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;
@@ -21,7 +21,7 @@ import{u as we,X as Se,a2 as U,a as be,c6 as Ae,B as xe,a8 as $,j as t,cL as Ce,
21
21
  padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
22
22
  padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
23
23
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
24
- `,_e=w.div`
24
+ `,We=S.div`
25
25
  display: flex;
26
26
  width: 100%;
27
27
  height: calc(100vh - 110px);
@@ -29,7 +29,7 @@ import{u as we,X as Se,a2 as U,a as be,c6 as Ae,B as xe,a8 as $,j as t,cL as Ce,
29
29
  justify-content: center;
30
30
  align-items: center;
31
31
  background-color: ${e=>e.theme.colors.grey4};
32
- `,He=w.div`
32
+ `,qe=S.div`
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
@@ -1 +1 @@
1
- import{B as r,j as e}from"./index-BdyScxbq.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
1
+ import{M as r,j as e}from"./index-DPgPe6wO.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
@@ -0,0 +1,63 @@
1
+ import{j as g,M as E,_ as L,o as i,g as j,v as M}from"./index-DPgPe6wO.js";import{b as $,n as m}from"./vendor-CnQcJ2Lu.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=C(t);A(t),b(r),k(u)},D=e=>`${v(e)}${S.transferDrawer.calculator.sliderTooltipText}`,v=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],C=e=>{const t=v(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=C(e);A(e),k(r),b(t)},P=$.useCallback((e,t,r,u)=>{let a=0,s=0,Y=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,Y=e-r[d],y=Y/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),P(e,c,n,p)},[x,w,k,c,p,b,n,P]),g.jsxs(B,{sliderValue:l,children:[g.jsx(V,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(K,{children:n.map((e,t)=>g.jsx(N,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:F(t)},children:g.jsx(X,{isSelected:l>=t,children:I(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},F=o=>{switch(o){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},I=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),V=m.input`
2
+ width: 100%;
3
+ &[type="range"]::-webkit-slider-runnable-track {
4
+ height: 2px;
5
+ cursor: pointer;
6
+ background-color: ${o=>o.theme.colors.grey3};
7
+ }
8
+
9
+ &[type="range"] {
10
+ -webkit-appearance: none;
11
+ appearance: none;
12
+ }
13
+
14
+ &[type="range"]::-webkit-slider-thumb {
15
+ -webkit-appearance: none;
16
+ height: ${i.sp5};
17
+ width: ${i.sp5};
18
+ border-radius: 100%;
19
+ margin-top: -${i.sp3}; // Centers thumb on the track
20
+ box-shadow: ${i.sp0} ${i.sp0} 2px ${j.blackColor};
21
+ background-image: ${o=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/slider-icon-${o.theme.mode==="dark"?"light":"dark"}.svg)`};
22
+ background-repeat: no-repeat;
23
+ cursor: pointer;
24
+ }
25
+ `,B=m.div`
26
+ position: relative;
27
+ width: 70%;
28
+ margin-left: 30px;
29
+ margin-right: 30px;
30
+ margin-bottom: 20px;
31
+ margin-top: ${i.sp5};
32
+ min-height: ${i.sp8};
33
+ `,H=m.div`
34
+ position: absolute;
35
+ height: 2px;
36
+ margin-top: -${i.sp2};
37
+ background-color: ${o=>o.theme.colors.hero};
38
+ `,K=m.div`
39
+ position: absolute;
40
+ bottom: 0;
41
+ top: ${i.sp5};
42
+ width: 100%;
43
+ display: flex;
44
+ justify-content: center;
45
+ `,N=m.span`
46
+ position: absolute;
47
+ cursor: pointer;
48
+ transform: translateX(-50%);
49
+ `,X=m(M)`
50
+ color: ${o=>o.isSelected?o.theme.colors.primary:o.theme.colors.grey1};
51
+ white-space: nowrap;
52
+ `,G=m(M)`
53
+ position: absolute;
54
+ top: -${i.sp5};
55
+ white-space: nowrap;
56
+ color: ${j.primaryDark};
57
+ background-color: ${j.success};
58
+ display: flex;
59
+ border-radius: ${i.sp1};
60
+ justify-content: center;
61
+ align-items: center;
62
+ padding: 2px ${i.sp2};
63
+ `;export{Q as v};
@@ -1 +1 @@
1
- import{kf as o}from"./index-BdyScxbq.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
1
+ import{kd as o}from"./index-DPgPe6wO.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
@@ -1 +1 @@
1
- import{B as o,l as s}from"./index-BdyScxbq.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
1
+ import{M as o,l as s}from"./index-DPgPe6wO.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
@@ -1 +1 @@
1
- import{a0 as i}from"./index-BdyScxbq.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
1
+ import{a0 as i}from"./index-DPgPe6wO.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
@@ -1 +1 @@
1
- import{C as t}from"./index-BdyScxbq.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
1
+ import{C as t}from"./index-DPgPe6wO.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};