@zeniai/web-cockpit-ui 1.15.37-dev → 1.15.38-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 (332) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-gmz3eqze.js +21 -0
  2. package/dist/assets/{AIPerformancePage-ByRPO3mW-V2z53xbR.js → AIPerformancePage-DlTdGosv-DyKbURC2.js} +104 -104
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-pQMRLxBS.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BAzd-LkX-zhLe5kT9.js → AccountInfoPageContent-BS2TBUSE-DjSw5axw.js} +15 -15
  5. package/dist/assets/AccountLockedInfoModal-aukulrV7-DW4aghq-.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Cu_UrL9J-DtVM4SNp.js → AccountReconDetailsDrawerPage-kQJld6_N-B65yMW07.js} +18 -18
  7. package/dist/assets/AccountRow-BiEYR4Y1-ClTxn5CJ.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Z8O9Tv5P-Ml8cuMMq.js → AccountsPromoCardStack-DBQnDPXQ-Bven8hQt.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-BtB56seB.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CKOnAq6_-DV5MHNnO.js → AddToWalletPage-C4EwdLZJ-BEbcOqOR.js} +22 -22
  11. package/dist/assets/{AgingReportsPage-CUcu_cHV-BfWkV3LB.js → AgingReportsPage-vAvkUfOS-BtReYcdm.js} +5 -5
  12. package/dist/assets/{AllUserItems-BbhDuv3Y-Sz0e_jiW.js → AllUserItems-qrYg6Gdx-BwUq_luf.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-BRYQMwo2-DVhdxG-Q.js +46 -0
  14. package/dist/assets/{AppBasePage-Cc3o50Ar-BHOC3Xzc.js → AppBasePage-DrE-W6d7-Kq-aTwFf.js} +12 -12
  15. package/dist/assets/{AppDrawerContent-moxx3tLo-Dz47vdEl.js → AppDrawerContent-ATbZG_cu-CRi0IC7G.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BzSO-EGU.js +47 -0
  17. package/dist/assets/{ArAgingChart-DuwEWasX-BuV7tx_p.js → ArAgingChart-CuzG9AZY-CNSUQdmd.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-DGETibBB-CjzKi7D5.js → ArAgingDetailPage-DwRkcLEu-I81vxQpd.js} +6 -6
  19. package/dist/assets/{AttachmentView-Q7kiwPOS-CHDjMQDr.js → AttachmentView-BrQRChzc-mWFumGJq.js} +5 -5
  20. package/dist/assets/{BankAccountSection-Ct31GOKt-CVtHTMeV.js → BankAccountSection-hcKEMs80-ujPW3TnU.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-ko9DqAKK-CrxKdVDa.js → BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-Ds9FSEMV-DEp297UG.js → BankConnectionsSettingsPage-Bdw1K00m-Cl2UYywT.js} +14 -14
  23. package/dist/assets/{BillDetailPage-DKDNgnqK-BxQnQp30.js → BillDetailPage-D0NLFZXA-DHU3hbq9.js} +13 -13
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DUprxSDP-LgEeAw_T.js → BillPayApprovalRuleDetailPage-DkpCvYvo-ufuiC-2k.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DuRefUEE-DMdnYitl.js → BillPayApprovalRulesPage-BEqZD0GU-CWNv7fB2.js} +12 -12
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-BBffVCRN.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-UfS3JsLW-DLX3_Qs9.js → BillPaySetUpPage-WdEdbf16-DIfXsyw3.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-CK-50NW2.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DKGmWv9w-B_26Dnen.js → BillsBulkReviewDrawerPage-DAUoo9pq-BoZGtLPD.js} +1 -1
  30. package/dist/assets/{BoxItem-Qhw9iPt9-um8RiO3S.js → BoxItem-CACRFWG2-DTCzjEaX.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CVZrCy-t-CUWza1Ml.js → BusinessVerificationPage-9gZbBDL6-D4OeNnpg.js} +9 -9
  32. package/dist/assets/{CardNumberSubText-r5Tf-P5n-BTfLP1fo.js → CardNumberSubText-C-oVdziK-BTlLGD-l.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-Bo_ZMMG7-BHS7DfRM.js → CashbackDetailPage-BhFKSl4p-D1VJ-I5U.js} +20 -20
  34. package/dist/assets/{ChargeCardDetailPage-BlQdk9jC-A10jT6r0.js → ChargeCardDetailPage-D8J6HINu-Djp8X5xt.js} +39 -39
  35. package/dist/assets/{ChargeCardListPage-CsFYpoaM-DVSse2DT.js → ChargeCardListPage-tdUKyHdz-DA_gAum9.js} +30 -30
  36. package/dist/assets/{ChargeCardListTable-D8exMgXq-DvkQ54IM.js → ChargeCardListTable-CByk3iqX-Ws-6RJ3y.js} +39 -39
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DBc981J5-C_1A5JDO.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BZol_uHa.js} +39 -39
  38. package/dist/assets/ChargeCardPromoPage-C4cgx2gm-BjrgUKMy.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Bco5-BZh-D5TeWpHv.js → ChargeCardSetupPage-DtwiTNKA-4J0P5zst.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-uEDAQkC5-DiOWBHn2.js → ChargeCardStatementsPage-B0KPw52e-dCK6B2Ac.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-CNRKyz3v-Bkmn7rye.js → CheckDepositDrawerPage-DKNAXI77-C5AvAeBp.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-CoDaSHJN-BTz-2evo.js → CollapsableReportTable-Cq8bhaYC-LGo3rBU5.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzleqDta-Be_JBAVv.js → CompanyOfficerDetailsSection-Rk0B5cB5-BHN1U_wu.js} +28 -28
  44. package/dist/assets/{CompanyPassportCard-CG5saSQ3-CP-F7zg-.js → CompanyPassportCard-CHaKk74P-Din-6OwH.js} +5 -5
  45. package/dist/assets/{CompanyPassportPage-ZCNGHjZ9-C54hhopH.js → CompanyPassportPage-DXWXFFKM-DEGq9YOd.js} +21 -21
  46. package/dist/assets/{CompleteProfile-BqPvCgUX-p24q1pVb.js → CompleteProfile-ChaWsK6t-Dm1N-E47.js} +1 -1
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-BFN6S_bw.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-ChP9tLGZ.js → ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CfFzrga_-Dh7VSqmF.js → CreateOrEditVendorPage-C_8Jqubo-BUW_NZ_u.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Cjnbhvmv-BaSvidwl.js → CreditCardPaymentDrawerPage-lOjOtk28-j0qKs3eR.js} +11 -11
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-_c0EjyDh.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-hnf-eIo--zPg7mnSU.js → CustomerOnboardingActivationPage-DO6NCakm-BohLreim.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DYDehdNi.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-Dayyky5R.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BugxAqPd.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CA0h5UTQ-D70jA_5U.js → CustomerOnboardingNoStepsPage-CbG5WshV-N0QAWt53.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-rvO0Stsl-DR9ugrMH.js → CustomerOnboardingPage-DyVyf8oK-lwDo-U4P.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BIgNTp2U-QUMH346P.js → CustomerOnboardingProductSuitePage-1F3JfCRp-Bb5bbAyM.js} +10 -10
  58. package/dist/assets/{Dashboard-BFesVYJk-DIJsr9ee.js → Dashboard-Csggwob0-B_kkr9l_.js} +33 -33
  59. package/dist/assets/{DashboardReportPage-CdNJfWUo-CWT_hUZC.js → DashboardReportPage-DFIdi_I0-CIudpdoQ.js} +23 -23
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CkHR7e1V.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DJ_V8Mx7-BuWiOxQp.js → DepositAccTransactionItem-CZ7v1T4S-CDGkzdT3.js} +5 -5
  62. package/dist/assets/{DepositAccTransactionListPage-DBsJOm1m-Cdo9zknM.js → DepositAccTransactionListPage-FldPGX6K-D4yjo7wN.js} +5 -5
  63. package/dist/assets/{DomesticWireDetailsPage-B1_C38p0-CuSqBTG5.js → DomesticWireDetailsPage-C--eZ-UG-aeN-j2-T.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-DYUlDQr8-CcBbvC4p.js → DownloadOverlay-4f9deyJS-BqMoJX-8.js} +26 -26
  65. package/dist/assets/{DrawerPage-jU38Lq6Q-g2fItPLT.js → DrawerPage-roO3xvRT-PSFK2zzW.js} +13 -13
  66. package/dist/assets/EditPeoplePage-pi5RclAj-x9yNFzVP.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-PRaUQsZj-BkCY6rdX.js → EditReimbursementDetailPage-CIUcImns-D0KrDI_a.js} +82 -82
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-13C_FBL6.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BzzwWXw2-DmNh-Dpm.js → EntitySummarySection-fBL4TZpT-A_Fknt-h.js} +14 -14
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CMzFQB6V-BJseINtW.js → ExpenseAutomationOverviewPage-CnhNINCc-KgO80FB-.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-Do8AQ5Tr.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-B8_m64s9-9dOOupGM.js → ExpressPayPage-c8oTCnBR-29U2DeVu.js} +17 -17
  73. package/dist/assets/{FeaturePreviewPage-BLWGNRVo-BJ3fn4Te.js → FeaturePreviewPage-DkiAajs2-a11xhmqD.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-CBVDfZ38-DEg-b5um.js → FollowStepsSection-GaWu1kt9-D7a6AHjG.js} +57 -57
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-DjCNVwYb.js +291 -0
  76. package/dist/assets/{InformationCardStack-D8hkkUkN-BiZC_QHa.js → InformationCardStack-dMFbHUWM-1K2JUYs5.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-T3ZL19C0-BZI7t3ec.js → InsightsCardStack-BlXkyuyz-DZ79gvs7.js} +9 -9
  78. package/dist/assets/InsightsSection-D-oCmrir-CPKrgvm8.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-DKqNc7bF-G0FG4Jef.js → IntegrationsSettingsPage-D-hfghuq-CuSnTyw1.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-qzmJ8_r9-B66iPRnG.js → InternationalWireSwiftDetailsPage-DxdKE300-ChF2f0EA.js} +19 -19
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-NJeApJr8.js +65 -0
  82. package/dist/assets/{InviteFormPage-Dw-l-O7n-yNG431eF.js → InviteFormPage-BCdalqtP-Dy69iGu4.js} +16 -16
  83. package/dist/assets/{InvitePageListView-CGjk-eOP-DmnIRpgD.js → InvitePageListView-B88FW48q-BKGuzbRb.js} +48 -48
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-0pdGCXQT.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-DFE-YOJW.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BASDviuN-Dl52KtxK.js → IssueChargeCardPage-B6wmvbEr-DO2TfaZv.js} +34 -34
  87. package/dist/assets/{LabeledAddressValue-IPGwjeYh-BmDI6MSM.js → LabeledAddressValue-CQrDCgNs-C6-5ig2u.js} +2 -2
  88. package/dist/assets/{LabeledAddressValueField-DYjUauc7-BRnlsecO.js → LabeledAddressValueField-BoHS44YO-2snjxiG6.js} +4 -4
  89. package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-idZ4OPKP.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-CekqwoGI-DN5ndG6t.js → LabeledCountryMultiSelectField-D1fVDYR_-DUR0-azH.js} +3 -3
  91. package/dist/assets/{LabeledCreatableSingleSelectField-By3V1BNi-Bq1EDd21.js → LabeledCreatableSingleSelectField-Bhka-Faj-lL2zJ3aA.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CMl01eck.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CQkl7AeY-CvUsVVaa.js → LabeledDropDownFormattedTextField-ChgtJqPr-JYEhPcSE.js} +4 -4
  94. package/dist/assets/{LabeledText-D1RmgOs9-CHA_6kjw.js → LabeledText-2EDpuXZ4-BEv7vXSO.js} +5 -5
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-D0I8R8U3.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-VFejN6_t.js} +15 -15
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BiVOlFVe-DHYF2n7I.js → LabeledZeniRolesDropDownField-CpH0eDWO-BxhCmxLu.js} +26 -26
  97. package/dist/assets/LinkJETransactionPage-BhV2MnCY-X20SxNQt.js +98 -0
  98. package/dist/assets/{LockCardPage-BVpW2BeO-CYdsQ7YW.js → LockCardPage-CHv1xi2J-DwYrblSV.js} +42 -42
  99. package/dist/assets/{LowBalancePopup-DTUaytjD-qB659IJo.js → LowBalancePopup-Cb55PGLc-8xdVWK14.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-DHCMKKMo.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-DTcLhMoN.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-DPORyIsv.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-DDk2ZACW.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-BeTuROc4-DFHTf3Jg.js → MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js} +4 -4
  105. package/dist/assets/{MailingDetailsSection-q49nDsf9-6vdFNevB.js → MailingDetailsSection-EwtoQ2TZ-uOWaBvAh.js} +6 -6
  106. package/dist/assets/{MyBankConnectionsSettingsPage-B9kH0sVB-aDPh-D-4.js → MyBankConnectionsSettingsPage-Aer6AWxY-C0T9wiMg.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-C1TCKtBk.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-Cf_llb4W.js +85 -0
  109. package/dist/assets/NavBarWithPicker-D8WNahg--CB3fxQni.js +30 -0
  110. package/dist/assets/{NavigationArrow-BvkBQmTR-NQPFGr6S.js → NavigationArrow-kQWS5Pzb-DFRrRIxZ.js} +7 -7
  111. package/dist/assets/{NavigationDots-DyeJVxnu-C7s9J0lV.js → NavigationDots-BQb_Fodq-C9mSjIjx.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-D15HmpS7-Dpc6_q1o.js → NewGlobalMerchantPage-z86XZorn-CZCyVb5z.js} +34 -34
  113. package/dist/assets/NoDataChart-CyYJ6icu-C4lbaNyZ.js +26 -0
  114. package/dist/assets/{NoDataTable-BnwGiTCu-B-XpYLns.js → NoDataTable-DVe7sQhD-Ce3Fn9a-.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Ds5RxwiG-bIj8_Xni.js → NotFoundPage-B1XCmhSe-BLt3Z8lV.js} +8 -8
  116. package/dist/assets/{NotificationSettingsPage-CeWmIGY8-BBeB8KaU.js → NotificationSettingsPage-BaN20EGV-DLtV9Q9B.js} +30 -30
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-DKP0fKrC.js +1 -0
  118. package/dist/assets/{NotificationsPage-DYE-ZefG-CAMNzvC5.js → NotificationsPage-C9efAgjo-ObRUiIF4.js} +40 -40
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-86liMDWJ.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BUXmbpLw.js → OverlayContainerPage-D4QU0p4o-UEM2WfCE.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-vAvSbwIq-FxaNAztL.js → PandLWithForecastPage-CXtJhnA_-Cu7UVLJ1.js} +13 -13
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-2cz94sYW-B7-omVIb.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js} +14 -14
  123. package/dist/assets/PeoplePage-DXC2CtOt-DKKaYJrR.js +675 -0
  124. package/dist/assets/{Preview-BdB139Zx.js → Preview-AD2ECgEB.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-JcjsFk4w-aedK5xPL.js → ProductsCarousel-ufZlh7Rx-BjpRaVjF.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-D8xPcjkz-CuETeCxs.js → PromoBaseCards-D2UbhBhT-Cp6L2J8-.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-KDwylUf5-C4EhHf0D.js → QBOConnectionDialog-BrQ71F06-DkV9wT_l.js} +6 -6
  128. package/dist/assets/QBOSetupSection-EOFscEW--QOktkObJ.js +79 -0
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-DcQM8wGi.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BcmW2ws5-C_3dLbLj.js → ReimbursementApprovalRulesPage-CMpYn5y_-B8BlhUrJ.js} +11 -11
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-B601rTQ4.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage-DXTAY8c7-DzozUo-R.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-B6l3L19G-DXyjcVT3.js → ReimbursementSetUpPage-KrGPXTCb-HUiNlfwH.js} +13 -13
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-Dtgz495A.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DakNrMoa.js} +1 -1
  135. package/dist/assets/{ReloadCard-pCquFw6w-BnM_2Fi3.js → ReloadCard-vAhL7B8U-B_goAZi9.js} +8 -8
  136. package/dist/assets/{ReportTableViewSelector-BOA9cxem-CwdIorRF.js → ReportTableViewSelector-Y97ney3W-oj1UWLmj.js} +28 -28
  137. package/dist/assets/{ReportsPage-BOsLdYhx-BxrDOkjq.js → ReportsPage-DKM0gVzR-DYU9qTPf.js} +4 -4
  138. package/dist/assets/{RevenueChart-DPse5Wdo-D2kesAkc.js → RevenueChart-BEjDS1u4-DVyCgAK9.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-DTCm09MF-DQqh7n9q.js → ReviewDetailsPage-BlQLrN9z-9-UhGpZC.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-B2XV0Wf1-Bf28GIPa.js → ReviewOverlay-Bn3TFqfi-B5pVl7FJ.js} +25 -25
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-D5V_Zl_5.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DLpikyWD-DWhx00_e.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-Dr379Z6t.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-DIvnRAi6-BNdcsPPK.js → ScheduleDetailsPage-BP0wdtoP-DQyiKHXe.js} +8 -8
  144. package/dist/assets/{ScheduleSequenceTable-O93ZenyD-C7msaAQw.js → ScheduleSequenceTable-D-rZ4ftr-fPoJgv62.js} +44 -44
  145. package/dist/assets/{ScreenRoutes-ceMdhqPA.js → ScreenRoutes-outCs0gE.js} +33 -33
  146. package/dist/assets/{SetUpAccountSection-Dl68db5l-CQstYRob.js → SetUpAccountSection-CoVrSSYL-CVLKd7cm.js} +5 -5
  147. package/dist/assets/SignIn-BoAejo7r-BK0KNquT.js +491 -0
  148. package/dist/assets/SignInScreen-CU3TTapZ.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-DsTTqmEx-BIrI6gfu.js → SpendManagementListViewPage-D3eISFuA-DO4OqdVE.js} +21 -21
  150. package/dist/assets/{SpendManagementPerTabPage-Dt9HEmXn-QE9XhQeM.js → SpendManagementPerTabPage-BWDjZyLp-DoJN7cmk.js} +13 -13
  151. package/dist/assets/{SpendManagementSection-DbsdVrJv-DjQ_KcId.js → SpendManagementSection-D8rBpC-y-DyxgHeCH.js} +23 -23
  152. package/dist/assets/StatementItem-Cu6dlAsl-DonsY76E.js +31 -0
  153. package/dist/assets/StatementsPage-DiY2BOcu-DylRreEj.js +58 -0
  154. package/dist/assets/{StatusSwitcher-B4EYXc0F-sKbkMf6Z.js → StatusSwitcher-B9MARTyR-Cy7gefoh.js} +5 -5
  155. package/dist/assets/{SubTabSwitcher-CM9v4rRl-CV0RCxw7.js → SubTabSwitcher-C3rtSwro-3EHI5jeE.js} +3 -3
  156. package/dist/assets/{SummaryCard-CF9Nbk_i-Dp6twn4S.js → SummaryCard-CShVbqhj-DB5MFQk3.js} +1 -1
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-tU9aogRh.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-37ytEy0X-DICNYyQp.js → TimeRangeSwitcher-DFnX6_WT-Bz52dN9I.js} +2 -2
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-DVEU43aK.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-CMIQ0MlZ.js +31 -0
  161. package/dist/assets/{TopExCard-DHDNaLww-D2oLfFZT.js → TopExCard-dI_WEGWb-DmX93RkK.js} +11 -11
  162. package/dist/assets/{TopExDetailPage-DFzrCiVG-D4NG8JTY.js → TopExDetailPage-BWy5E8Lp-C7PGN6Pe.js} +14 -14
  163. package/dist/assets/{TransactionActivityLogPage-DcbQgckT-nV4bmi0D.js → TransactionActivityLogPage-DjhEIUYm-BqAAyHkb.js} +23 -23
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-BRhGr870.js +903 -0
  165. package/dist/assets/{TransactionList-DVFUdewa-FBYrpiHH.js → TransactionList-80KjM8Kg-nmpf3GsN.js} +20 -20
  166. package/dist/assets/{TransactionListBig-Daypmugt-Bw41XJ1U.js → TransactionListBig-DWQXH4ID-gJO5FBwi.js} +20 -20
  167. package/dist/assets/TransactionListPage-DC08rCC9-DuuK7AK1.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-BsKafcmj-agHNsAP_.js → TransactionVendorDetailPage-CzfJ5b_3-DQ5FHW98.js} +16 -16
  169. package/dist/assets/{TransferDrawerPage-DyFcSYZt-BgZ4hMcv.js → TransferDrawerPage-6z-MoZZP-Cmyh1SPm.js} +35 -35
  170. package/dist/assets/{TreasuryOverviewPage-BPkFbqCZ-B2yzLJOT.js → TreasuryOverviewPage-CF_ter0o-BH_5I6Jt.js} +28 -28
  171. package/dist/assets/{TreasuryPromoPage-pEVzLiB4-BgXmxaHX.js → TreasuryPromoPage-Do-PTcjI-xAPlLXRG.js} +19 -19
  172. package/dist/assets/{TreasuryStatementsPage-izaxVrJg-hXLoMVEG.js → TreasuryStatementsPage-l_HC4zsb-K7pXAcjZ.js} +1 -1
  173. package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-QmzTN19X.js +58 -0
  174. package/dist/assets/{TrendChart--F9P_tcq-CNN4cy-H.js → TrendChart-C6B61CAm-B_B-BplL.js} +3 -3
  175. package/dist/assets/{TrendWithTransactions-B0R1TMMK-qnWq6pp9.js → TrendWithTransactions-Bp3vhaPa-JockHNv7.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CToVvQYm-BY7gFiXt.js → UncategorizedAccountsMappingPage-cbFqKAv4-MTw76BLV.js} +10 -10
  177. package/dist/assets/{UnitIntegrationPage-DGmrRY2v-BUMmB0k9.js → UnitIntegrationPage-DZ0ZpE5p-CTZgGLL6.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-DmtqFwFy.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DezpDfp8-DyrWw3U0.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C5wvgZIc.js +1 -0
  181. package/dist/assets/{VendorDetailPage-DTQ-KiJz-CtIjOB5J.js → VendorDetailPage-C4g_Gfsl-BuQd-4-F.js} +90 -90
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-Bt4Tg6JP.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-z9q_fohc-WDGxh1y0.js → VendorFiling1099EditablePage-Ckt2MiVN-Cg5nnhxx.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-DDgaRz12.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DR-BKbDb-DXyAnL2W.js → VendorInternationalWireDetailsPage-Dz8mMD8d-CqGgy0Nm.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Ca8TaPSl.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CWyBBs2G-BxXjMLte.js → VendorsAccountsSection-BT-RADSV-CA631Ry_.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CG1Qj4Lm-BechSO2t.js → VerifyDevice-Cxc9CVMi-Db3MgQyP.js} +4 -4
  189. package/dist/assets/{VideoPlayer-BdIPlzSd-s2lXjjny.js → VideoPlayer-9UkKMhGy-Cg6ItP2B.js} +2 -2
  190. package/dist/assets/{VideoPopup-W2U47mhU-DJCIE9gC.js → VideoPopup-rfiYmtio-6YXU8HYY.js} +4 -4
  191. package/dist/assets/{WarningsDrawerPage-D0aOjGDf-BCHT8jbw.js → WarningsDrawerPage-DrUA4asI-K-jCsmCl.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-DJyYOR4V-CCoqxbqL.js → ZeniAccountDetailPage-K016HgQt-OnaSURAZ.js} +13 -13
  193. package/dist/assets/{ZeniAccountListViewPage-BTOIvLCF-BOpHXOTR.js → ZeniAccountListViewPage-1oZZynB1-D25y94LI.js} +21 -21
  194. package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-CbYM8UHA.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-DYxM2WNa-D-BoqGK5.js → ZeniAccountPromoPage-BCgys-YM-C1p6fJYe.js} +23 -23
  196. package/dist/assets/{ZeniAccountSetupPage-DUq-PiMf-JBX7mxH5.js → ZeniAccountSetupPage-BubBgkoa-DQgkTkoE.js} +3 -3
  197. package/dist/assets/{ZeniCopyright-Chrw_zb6-DLZXN0I-.js → ZeniCopyright-BxIwmms--B5a_nRJg.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-CuZPJv1--BR7xYIli.js → ZeniTransferAmountSlider-DVJ0puXA-Cwv6Kq-B.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DIo2CZIu.js → add-to-wallet-DgdBD8_G-DvTxkUd9.js} +1 -1
  200. package/dist/assets/{analytics-Cu6vrn8M.js → analytics-BLsUySon.js} +1 -1
  201. package/dist/assets/analyticsHelper-B6usOI4v.js +1 -0
  202. package/dist/assets/{analyticsHelper-BqOb8jb5-CPV99l38.js → analyticsHelper-CT5zOInj-D74VaN9I.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-kBdbhD1P.js → arrow-south-east-round-PEovUgvH-B8oQ40Hs.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DJEKOyyo.js → auto-transfer-rule-mbafm5D3-DHj1aaNg.js} +1 -1
  205. package/dist/assets/{chartTypes-kba3vib6-B2MR4DOq.js → chartTypes-Ddw_3-6f-DkCZUllf.js} +1 -1
  206. package/dist/assets/commonDimensions-ClmbdehE-DR4Uvnd8.js +1 -0
  207. package/dist/assets/{commonTypes-0d0JMX8y-C627GAKQ.js → commonTypes-B-foaEwJ-DVRX5AIJ.js} +1 -1
  208. package/dist/assets/{constants-CCigks3S.js → constants-HHaH0YWb.js} +1 -1
  209. package/dist/assets/{core-CBRgKovr.js → core-CTDonMeQ.js} +1 -1
  210. package/dist/assets/{dash.all.min-DhZ6hnTE.js → dash.all.min-Dj2yo7jC.js} +1 -1
  211. package/dist/assets/{detailCommon-ttGeF18U-D4qpemR4.js → detailCommon-Cpgf9GLg-CtGm6jLV.js} +4 -4
  212. package/dist/assets/downloadPdf-DfRYmfsd-DxcMbdS5.js +1 -0
  213. package/dist/assets/{empty-B2uWh3xi.js → empty-B8XqxOuZ.js} +1 -1
  214. package/dist/assets/{empty-CMQsz2kl.js → empty-DaBFZ939.js} +1 -1
  215. package/dist/assets/epic-CEzcY_0B.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-64yvQ1Zt.js → gift-box-Cmt9OgIZ-cqnWvVTs.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-ryfKOvP1.js → graphic-no-data-l-DU4J8fDt-D_lg6RW0.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-mzCnkzDU.js → graphic-no-data-net-burn-l-CzmycA0m-HJBTpevF.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BpuKh2M-.js → handshake-BPg58FML-BshKAJQk.js} +1 -1
  220. package/dist/assets/{helper-YFgDgQKT-ChTt6pIM.js → helper-DP3YY99s-BmrnBGWk.js} +2 -2
  221. package/dist/assets/{index-HtwnqlX_.js → index-BUad5I9U.js} +1 -1
  222. package/dist/assets/{index-cvOajwIa.js → index-BV5JdmRQ.js} +1 -1
  223. package/dist/assets/{index-41pcAh0S.js → index-B_LiHFQR.js} +1 -1
  224. package/dist/assets/{index-C96wZ1NP.js → index-CTpNMFsf.js} +1 -1
  225. package/dist/assets/{index-mpD8Wgjn.js → index-D3GS4S-j.js} +1 -1
  226. package/dist/assets/{index-k277eteh.js → index-KKEkjzf-.js} +1 -1
  227. package/dist/assets/{index-DkG4Gq_1.js → index-RSYdG57D.js} +4012 -4036
  228. package/dist/assets/{lexical-BgntzHWG.js → lexical-CMaEqdkY.js} +1 -1
  229. package/dist/assets/{liveblocks-CZpRcduP.js → liveblocks-BR4rmGyf.js} +1 -1
  230. package/dist/assets/{lottie-CvYZqvKo.js → lottie-CZNmnTyG.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-BG5FbkDp.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co-aYc3j-CWY-DvOX.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DvN2rhw-.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-BhCEqPJc.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-T7zKYS9n.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-CATud2li-C6pZT3Hb.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-AhkmN2Ki.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-BngulPhC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-shbs2rsi.js} +1 -1
  237. package/dist/assets/{mui-jyIGzSd8.js → mui-Bi6zxcZy.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-Buq8V_y9.js → page-detail-CWX5S47F-CV7GOcsp.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-DMPiIlAL.js → radio-default-CiSgisfh-eXI1n3TG.js} +1 -1
  241. package/dist/assets/{react-yv96-8fg.js → react-C52_Sjtt.js} +1 -1
  242. package/dist/assets/{react-lYk0NLUI.js → react-CgvFPXt7.js} +2 -2
  243. package/dist/assets/{react-ClOFhYh9.js → react-DUZwtObs.js} +1 -1
  244. package/dist/assets/{react-Gtsr3pXI.js → react-DhjESN1j.js} +3 -3
  245. package/dist/assets/{react-L5U6pseJ.js → react-DkrXHh1b.js} +1 -1
  246. package/dist/assets/{react-Cjxj0Nbo.js → react-DlxtP0O5.js} +1 -1
  247. package/dist/assets/{react-D3Tqpbl7.js → react-ShmrZj8p.js} +1 -1
  248. package/dist/assets/{react-ClorTrZ0.js → react-j7hSnnLx.js} +1 -1
  249. package/dist/assets/{recharts-CCz6EACy.js → recharts-B4xbIQqu.js} +1 -1
  250. package/dist/assets/{sentry-CkqzujGZ.js → sentry-D087_5zX.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-fm6EeKA_.js → shield-DOlUxcFf-CCEGxUtr.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js +1 -0
  253. package/dist/assets/{toChartData-CLrjl2HT-BXMfDgC_.js → toChartData-BEjMhb7--B1GasRGV.js} +1 -1
  254. package/dist/assets/{uploadAttachment-_EPHKVvJ-CmJE2Ng0.js → uploadAttachment-DUpHzqMe-Cc_EdWBC.js} +22 -22
  255. package/dist/assets/uploadReceipts-Dge0cNF1-B1feT8D_.js +1 -0
  256. package/dist/assets/{url-8k_1OLIS.js → url-Cf5olbUo.js} +1 -1
  257. package/dist/assets/{url-DFL85B9k.js → url-Ctqy5RJD.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BWF3kStl.js → useLongPress-GCK2COYQ-Dhr7C1Fb.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BK3NR8-I.js → usp-line-BBd1wKwW-D37A1NrK.js} +1 -1
  260. package/dist/assets/{utils-CvgqAgFT.js → utils-bkVcg2I6.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-B9mN2lN3.js → zeni-epic-state-DnYFo_hK.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-DpLTXUS2-C9BOm7cP.js +0 -21
  265. package/dist/assets/AccountInfoPage-BfVVOaTL-DckjL0IP.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CFZAGVC8.js +0 -59
  267. package/dist/assets/AccountRow-nSloLUTN-CE3sEYfw.js +0 -298
  268. package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-C_ZtwjVR.js +0 -6
  269. package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DDl3IQdp.js +0 -46
  270. package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-C2o5sXxc.js +0 -47
  271. package/dist/assets/BillPayPromoPage-CszEgRZk-D0P3J_0s.js +0 -84
  272. package/dist/assets/BillingSettingsPage-9uV4vEJB-DguVozAn.js +0 -44
  273. package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-miuUHSZp.js +0 -222
  274. package/dist/assets/ConfettiBurst-B2xVyUMV-DEL89JAQ.js +0 -1
  275. package/dist/assets/CurrencySelectField-DDmu3bja-BNO-O3TN.js +0 -139
  276. package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-otS31I_n.js +0 -1
  277. package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--BHCIYbNK.js +0 -12
  278. package/dist/assets/EditPeoplePage-Dw9mMyyp-f1-9G5xl.js +0 -55
  279. package/dist/assets/EntityDetailPage-C2Ix5fwl-B8StnXXW.js +0 -18
  280. package/dist/assets/ExpenseAutomationPage-BOOA30kB-N_-Pxify.js +0 -3001
  281. package/dist/assets/GlobalReviewListPage-DlBZ4OnM-C2fu2hFz.js +0 -291
  282. package/dist/assets/InsightsSection-CVioRrr2-CQNydDuX.js +0 -27
  283. package/dist/assets/InternationalWireVerificationPage-8XEibbVK-6A8_MLCQ.js +0 -65
  284. package/dist/assets/InvitePeoplePage-DSg5Quam-Dq5nqgzJ.js +0 -12
  285. package/dist/assets/InvoiceUploadSection-D_uWzQW4-CbvqsKX2.js +0 -140
  286. package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CZ4IjMNU.js +0 -16
  287. package/dist/assets/LabeledDocumentField-CN-BH7Gq-BZP0wEAT.js +0 -41
  288. package/dist/assets/LinkJETransactionPage-DbA8sdwa-DBvkIuZ4.js +0 -98
  289. package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-D_CHEFPJ.js +0 -1
  290. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-Hemtbz0E.js +0 -1
  291. package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-C7vyw7mL.js +0 -1
  292. package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-U9QUUYso.js +0 -31
  293. package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-V5Slt0oR.js +0 -6
  294. package/dist/assets/MyProfileSettingsPage-D40mm3Me-AyTrlPtn.js +0 -85
  295. package/dist/assets/NavBarWithPicker-DuTo0ZPb-DapJT9Ay.js +0 -30
  296. package/dist/assets/NoDataChart-j3LPkJML-CpC66_KG.js +0 -26
  297. package/dist/assets/NotificationsListConfig-_L5Loigk-K1ardY_V.js +0 -1
  298. package/dist/assets/OpExByVendorPage-Br2UmBAk-BjXqMFds.js +0 -100
  299. package/dist/assets/PeoplePage-DSSY4CbY-CcD5g39L.js +0 -727
  300. package/dist/assets/QBOSetupSection-Dts3QjOd-DUY-_5aO.js +0 -79
  301. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8-DvJd2LPe.js +0 -32
  302. package/dist/assets/ReimbursementDetailPage-BdJYqqCn-NfEyGt7Z.js +0 -314
  303. package/dist/assets/ReimbursementPromoPage-B7nNFf49-DnICk_J7.js +0 -84
  304. package/dist/assets/RoleWithToolTip-DpaXFRka-CPtxy--W.js +0 -22
  305. package/dist/assets/SignIn-D6twztsA-JGZcDlNc.js +0 -491
  306. package/dist/assets/SignInScreen-B8u1w4-H.js +0 -1
  307. package/dist/assets/StatementItem-D1vvnzNl-CkkTq-kC.js +0 -31
  308. package/dist/assets/StatementsPage-XAVpAiKL-CscMPaCJ.js +0 -58
  309. package/dist/assets/TaskManagementPage-ChTC8Nzf-Br8fyRY0.js +0 -508
  310. package/dist/assets/TimeframeSwitcher-Ca28fZEt-CWlm5tlu.js +0 -31
  311. package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-V6kfYTtF.js +0 -31
  312. package/dist/assets/TransactionDetailPage-BCTtqHfm-CEK6Tla_.js +0 -903
  313. package/dist/assets/TransactionListPage-CzwkHzb_-C-bQA5UH.js +0 -35
  314. package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-Dr9Za3Kr.js +0 -58
  315. package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-CY7cdGgp.js +0 -38
  316. package/dist/assets/Vendor2FAPopup-BRMPwclY-S8zya2uW.js +0 -1
  317. package/dist/assets/VendorACHDetailsPage-FgtLHn1A-5cfHGlFY.js +0 -1
  318. package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-BMTlrQlH.js +0 -1
  319. package/dist/assets/VendorFirstReviewPage-DTOwONia-BcMjDFZM.js +0 -730
  320. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-Fv-KXlDn.js +0 -1
  321. package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BV1hbgIJ.js +0 -14
  322. package/dist/assets/analyticsHelper-BLDhkF0s.js +0 -1
  323. package/dist/assets/commonDimensions-D0kIxeo5-kKnpvScR.js +0 -1
  324. package/dist/assets/downloadPdf-DX8GL4Ja-IWkEYZD_.js +0 -1
  325. package/dist/assets/epic-C1wbMD8F.js +0 -2
  326. package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-DInaQUjS.js +0 -1
  327. package/dist/assets/mapSpacerToTreeNode-COaFWgJv-C2xmgSDc.js +0 -1
  328. package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-Czke_85f.js +0 -1
  329. package/dist/assets/panelSelectedMixin-Cddsb26L-KwYH41Xf.js +0 -3
  330. package/dist/assets/toCOABalancesWithID-iCDy3BRW-njMoT7aW.js +0 -1
  331. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DeMVLI5_.js +0 -1
  332. package/dist/assets/uploadReceipts-Dge0cNF1-Df05JrMP.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e,o as a,F as R,x as c,a as Ne,d as dt,ba as ut,ar as ft,b as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as U,ad as He,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as qe,c1 as Dt,f4 as yt,bL as Tt,an as Je,fV as Ct,dv as St,c3 as Ue,g$ as vt,h0 as kt}from"./index-DkG4Gq_1.js";import{a as u}from"./sentry-CkqzujGZ.js";import{n}from"./mui-jyIGzSd8.js";import{bL as At}from"./zeni-epic-state-B9mN2lN3.js";import{v as Pt}from"./ZeniTransferAmountSlider-CuZPJv1--BR7xYIli.js";import{r as Lt}from"./AccountInfoPageContent-BAzd-LkX-zhLe5kT9.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./recharts-CCz6EACy.js";import"./lottie-CvYZqvKo.js";import"./analytics-Cu6vrn8M.js";import"./lexical-BgntzHWG.js";import"./utils-CvgqAgFT.js";import"./downloadPdf-DX8GL4Ja-IWkEYZD_.js";import"./commonDimensions-D0kIxeo5-kKnpvScR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="87de2a6b-abf8-4454-bd18-7c5ff0cc748d",e._sentryDebugIdIdentifier="sentry-dbid-87de2a6b-abf8-4454-bd18-7c5ff0cc748d")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ge="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:G,onReviewClick:K}){const i=ue(),E=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:H,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?H():z(!0)},[H,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&H()},[Y,H,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&G?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>H()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,H]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Yt,{children:q("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(He,{...P,children:t.jsxs(Mt,{id:Ke(Ge),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:E},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(qt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Ht,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-RSYdG57D.js";import{a as u}from"./sentry-D087_5zX.js";import{n}from"./mui-Bi6zxcZy.js";import{bL as At}from"./zeni-epic-state-DnYFo_hK.js";import{v as Pt}from"./ZeniTransferAmountSlider-DVJ0puXA-Cwv6Kq-B.js";import{r as Lt}from"./AccountInfoPageContent-BS2TBUSE-DjSw5axw.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./downloadPdf-DfRYmfsd-DxcMbdS5.js";import"./commonDimensions-ClmbdehE-DR4Uvnd8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1b1893f6-62ae-449b-9552-690832905e23",e._sentryDebugIdIdentifier="sentry-dbid-1b1893f6-62ae-449b-9552-690832905e23")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -17,30 +17,30 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
17
17
  width: 100%;
18
18
  justify-content: space-between;
19
19
  padding: ${a.sp3} ${a.sp4};
20
- background-color: ${U.importantLight};
20
+ background-color: ${J.importantLight};
21
21
  border-radius: ${a.sp2};
22
- `,Et=n.div`
22
+ `,Rt=n.div`
23
23
  display: flex;
24
24
  align-items: flex-start;
25
- `,Rt=n.div``,Ot=n(bt)`
25
+ `,Et=n.div``,Ot=n(bt)`
26
26
  width: ${a.sp4};
27
27
  height: ${a.sp4};
28
- color: ${U.important};
28
+ color: ${J.important};
29
29
  `,_t=n.div`
30
30
  display: flex;
31
31
  flex-direction: column;
32
32
  margin-left: ${a.sp2};
33
- `,Vt=n(qe)`
34
- color: ${U.important};
33
+ `,Vt=n(Ue)`
34
+ color: ${J.important};
35
35
  `,Wt=n(fe)`
36
- color: ${U.important};
37
- `,Yt=n(Dt)`
36
+ color: ${J.important};
37
+ `,Nt=n(Dt)`
38
38
  color: ${e=>e.theme.colors.primary};
39
39
  margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
40
40
  `,je=n(yt)`
41
41
  border-radius: ${a.sp2};
42
42
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
43
- `,Nt=n.div`
43
+ `,Yt=n.div`
44
44
  background-color: ${e=>e.theme.colors.background};
45
45
  border: 1px solid ${e=>e.theme.colors.grey3};
46
46
  border-top: none;
@@ -55,20 +55,20 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
55
55
  margin-bottom: ${a.sp3};
56
56
  margin-top: ${a.sp3};
57
57
  white-space: pre-line;
58
- `,ze=n(qe)`
59
- color: ${U.success};
58
+ `,ze=n(Ue)`
59
+ color: ${J.success};
60
60
  white-space: nowrap;
61
- `,Ht=n(Tt)`
61
+ `,qt=n(Tt)`
62
62
  width: ${a.sp3};
63
63
  color: ${e=>e.theme.colors.hero};
64
64
  height: ${a.sp3};
65
65
  &:hover {
66
66
  color: ${e=>e.theme.colors.primary};
67
67
  }
68
- `,qt=n.div`
68
+ `,Ut=n.div`
69
69
  margin-bottom: ${a.sp6};
70
70
  width: 90%;
71
- `,Jt=n.div`
71
+ `,Gt=n.div`
72
72
  display: flex;
73
73
  align-items: center;
74
74
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
@@ -77,7 +77,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
77
77
  background-color: ${e=>e.theme.colors.grey3};
78
78
  border-bottom-right-radius: ${a.sp1};
79
79
  border-bottom-left-radius: ${a.sp1};
80
- `,Ut=n.div`
80
+ `,Jt=n.div`
81
81
  display: flex;
82
82
  flex-direction: row;
83
83
  align-items: center;
@@ -106,12 +106,12 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
106
106
  margin: 0 ${a.sp2};
107
107
  background-color: ${e=>e.theme.colors.grey1};
108
108
  border-radius: 50%;
109
- `,Gt=n.div`
109
+ `,Ht=n.div`
110
110
  display: flex;
111
111
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
112
112
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
113
113
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
114
- `,Kt=n(Je)`
114
+ `,Kt=n(Ge)`
115
115
  color: ${e=>e.theme.colors.hero};
116
116
  `,Qt=n(Ct)`
117
117
  cursor: pointer;
@@ -170,7 +170,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
170
170
  display: flex;
171
171
  flex-grow: ${e=>p.controllerWrapperFlex.value(e.size)};
172
172
  align-items: flex-start;
173
- `,na=n(Ne)`
173
+ `,na=n(Ye)`
174
174
  cursor: pointer;
175
175
  color: ${e=>e.theme.colors.hero};
176
176
  width: ${a.sp4};
@@ -179,7 +179,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
179
179
  &:hover {
180
180
  color: ${e=>e.theme.colors.primary};
181
181
  }
182
- `,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:Z,onFetchLinkTokenClick:I,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:G,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:E,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=ue(),z=e.reviewTransferDetail,Y=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",N=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Re,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:Y?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Ee,{children:q("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[b.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Ee,{children:q("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:b.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),V(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:K,setShowReviewContent:G,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Re,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:b.transferDrawer.title}):t.jsx(fa,{children:b.transferDrawer.title}),x==="small"?t.jsx(ia,{children:b.transferDrawer.subTitle}):t.jsx(oa,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:Z,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:I,onReviewClick:E,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),N()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(Ge),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:R.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
182
+ `,re={navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(16,40,56),containerPaddingRight:new c(16,40,56),successContentMargin:new c(o[3],o[12]),buttonTrayGap:new c(o[4],o[5])},b=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:Z,onFetchLinkTokenClick:I,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:H,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:R,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W})=>{const x=ue(),z=e.reviewTransferDetail,N=e.transferDetailLocalData.transferFrom?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount",Y=()=>e.transferDetailLocalData.transferFrom?.id!=null||e.transferDetailLocalData.transferTo?.id!=null||e.transferDetailLocalData.amount.amount>0;return t.jsx(sa,{windowSize:x,children:e.fetchState==="Completed"?t.jsxs(Ee,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:N?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Re,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[b.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Re,{children:U("0,0.[00]",e.transferDetailLocalData.amount)}),b.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,b.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:b.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:b.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),V(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:K,setShowReviewContent:H,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ee,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:b.transferDrawer.title}):t.jsx(fa,{children:b.transferDrawer.title}),x==="small"?t.jsx(ia,{children:b.transferDrawer.subTitle}):t.jsx(oa,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:Z,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:I,onReviewClick:R,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:W,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),Y()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(He),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:E.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
183
183
  color: ${e=>e.theme.colors.hero};
184
184
  `,ia=n(De)`
185
185
  color: ${e=>e.theme.colors.hero};
@@ -193,9 +193,9 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
193
193
  `,la=n(dt)`
194
194
  color: ${e=>e.theme.colors.primary};
195
195
  text-align: center;
196
- `,Ee=n(ut)`
196
+ `,Re=n(ut)`
197
197
  display: inline;
198
- `,Re=n.div`
198
+ `,Ee=n.div`
199
199
  height: ${e=>e.isTransferCompleted?"100%":"auto"};
200
200
  padding-left: ${e=>`${re.containerPaddingLeft.valuePx(e.windowSize)}`};
201
201
  padding-right: ${e=>`${re.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -223,7 +223,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
223
223
  padding: ${e=>`${re.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
224
224
  z-index: 2;
225
225
  background-color: ${e=>e.theme.colors.grey4};
226
- `,_e=n(Ne)`
226
+ `,_e=n(Ye)`
227
227
  cursor: pointer;
228
228
  color: ${e=>e.theme.colors.hero};
229
229
  width: ${a.sp4};
@@ -241,10 +241,10 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
241
241
  color: ${e=>e.theme.colors.primary};
242
242
  margin-top: ${a.sp3};
243
243
  margin-bottom: ${a.sp2};
244
- `,J={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},Ve="wireTransferDetailPage",We=e=>`${e}_form`,pa=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=R.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:vt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(xt,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(ye,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Ta,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(He,{...d,children:t.jsx("form",{id:We(Ve),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ya,{windowSize:f,children:e.depositAccounts.map((l,T)=>t.jsx(Da,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx($t,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(T),t.jsxs(xa,{children:[t.jsx(ba,{windowSize:f,children:l.accountName}),t.jsx($a,{children:q("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:We(Ve),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
244
+ `,G={accountRowLeftRightPadding:new c(o[3],o[3]),zeniAccountListPaddingBottom:new c(o[3],o[6]),navBarContainerPaddingXaxis:new c(10,19),containerPaddingLeft:new c(o[3],o[6],o[8]),containerPaddingRight:new c(o[3],o[6],o[8])},Ve="wireTransferDetailPage",We=e=>`${e}_form`,pa=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=E.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:vt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(xt,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(ye,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Ta,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(qe,{...d,children:t.jsx("form",{id:We(Ve),onSubmit:d.handleSubmit(()=>{w("Next","Select Account for Split Transfer"),$(!0)}),children:t.jsx(ya,{windowSize:f,children:e.depositAccounts.map((l,T)=>t.jsx(Da,{isClickEnabled:!0,windowSize:f,"data-testid":A("deposit-account-click",l.id),onClick:()=>d.setValue("selectedAccountId",l.id),children:t.jsxs(wa,{children:[t.jsx($t,{name:"selectedAccountId",id:l.id,value:l.id,radioSize:"small",style:{marginRight:8}}),ma(T),t.jsxs(xa,{children:[t.jsx(ba,{windowSize:f,children:l.accountName}),t.jsx($a,{children:U("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:We(Ve),cancelBtn:{label:we.cancel,onClick:()=>{w("Cancel","Select Account for Split Transfer"),r("achTransfer")},style:{width:93}},primaryBtn:{label:we.next,style:{width:93}}}):null]})},ga=n.div`
245
245
  height: auto;
246
- padding-left: ${e=>`${J.containerPaddingLeft.valuePx(e.windowSize)}`};
247
- padding-right: ${e=>`${J.containerPaddingRight.valuePx(e.windowSize)}`};
246
+ padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
247
+ padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
248
248
  margin-bottom: auto;
249
249
  `,wa=n.div`
250
250
  display: flex;
@@ -257,7 +257,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
257
257
  overflow: hidden;
258
258
  position: relative;
259
259
  top: 2px;
260
- `,$a=n(Je)`
260
+ `,$a=n(Ge)`
261
261
  color: ${e=>e.theme.colors.grey1};
262
262
  position: relative;
263
263
  top: -${a.sp1};
@@ -267,8 +267,8 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
267
267
  text-transform: capitalize;
268
268
  overflow: hidden;
269
269
  `,Da=n.div`
270
- padding-left: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
271
- padding-right: ${e=>J.accountRowLeftRightPadding.valuePx(e.windowSize)};
270
+ padding-left: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
271
+ padding-right: ${e=>G.accountRowLeftRightPadding.valuePx(e.windowSize)};
272
272
  background: ${e=>e.theme.colors.grey5};
273
273
  border: 1px solid ${e=>e.theme.colors.grey3};
274
274
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal} `};
@@ -285,8 +285,8 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
285
285
  color: ${e=>e.isClickEnabled?e.theme.colors.champion:e.theme.colors.hero};
286
286
  }
287
287
  `,ya=n.div`
288
- padding-bottom: ${e=>J.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
289
- `,Ta=n(Ue)`
288
+ padding-bottom: ${e=>G.zeniAccountListPaddingBottom.valuePx(e.windowSize)};
289
+ `,Ta=n(Je)`
290
290
  cursor: pointer;
291
291
  color: ${e=>e.theme.colors.hero};
292
292
  width: ${a.sp4};
@@ -302,7 +302,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
302
302
  align-items: center;
303
303
  width: 100%;
304
304
  top: ${a.sp0};
305
- padding: ${e=>`${J.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
305
+ padding: ${e=>`${G.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${a.sp0}`};
306
306
  z-index: 2;
307
307
  background-color: ${e=>e.theme.colors.grey4};
308
308
  `,Sa=n(be)`
@@ -315,7 +315,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
315
315
  margin-right: ${a.sp2};
316
316
  padding: 12px ${a.sp0};
317
317
  box-sizing: content-box;
318
- `,{common:{navBar:{back:ka}}}=R.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=R.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
318
+ `,{common:{navBar:{back:ka}}}=E.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
319
319
  margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
320
320
  margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
321
321
  margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
@@ -323,7 +323,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
323
323
  height: auto;
324
324
  padding: ${e=>`${a.sp0} ${L.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
325
325
  margin-bottom: auto;
326
- `,ja=n(Ue)`
326
+ `,ja=n(Je)`
327
327
  cursor: pointer;
328
328
  color: ${e=>e.theme.colors.hero};
329
329
  width: ${a.sp4};
@@ -352,7 +352,7 @@ import{V as t,J as ue,ab as A,hy as lt,aP as q,r as ve,hH as ct,T as Ye,aS as $e
352
352
  color: ${e=>e.theme.colors.primary};
353
353
  padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
354
354
  margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
355
- `,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:Z,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:E})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[W,x]=u.useState(0),[z,Y]=u.useState(0),[N,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>T.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:V,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:N,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,onFetchLinkTokenClick:i,plaidConnectionDetails:E,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:Z,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:Y,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ia,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:I})};return t.jsx(Ea,{children:oe()})},Ea=n.div`
355
+ `,Ia=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:Z,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:R})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[W,x]=u.useState(0),[z,N]=u.useState(0),[Y,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>T.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:V,showAnnualYieldEarned:m,transferAmount:W,yieldEarned:z,totalBalance:Y,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:I,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,onFetchLinkTokenClick:i,plaidConnectionDetails:R,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:Z,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:N,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ia,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:I})};return t.jsx(Ra,{children:oe()})},Ra=n.div`
356
356
  display: flex;
357
357
  flex-direction: column;
358
358
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,ab as W,T as We,o as i,aj as k,F as L,p as w,bL as Ee,x as y,fl as X,z as B,u as p,b5 as ne,bP as Le,aU as Me,ax as Ge,fY as Ue,h5 as _e,r as Je,am as A,b0 as Xe,jt as qe,k5 as Ze,bh as Qe,eR as et,da as tt,fV as it,l3 as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,l4 as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-DkG4Gq_1.js";import{a as f,P as pt}from"./sentry-CkqzujGZ.js";import{n as o,c as de}from"./mui-jyIGzSd8.js";import{bL as G,c4 as xt}from"./zeni-epic-state-B9mN2lN3.js";import{s as gt}from"./commonDimensions-D0kIxeo5-kKnpvScR.js";import{g as ce}from"./BoxItem-Qhw9iPt9-um8RiO3S.js";import{o as mt}from"./shield-DOlUxcFf-fm6EeKA_.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-CCz6EACy.js";import"./liveblocks-CZpRcduP.js";import"./core-CBRgKovr.js";import"./lottie-CvYZqvKo.js";import"./analytics-Cu6vrn8M.js";import"./lexical-BgntzHWG.js";import"./utils-CvgqAgFT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5097d687-5407-4734-aa5f-b943c46ebe9d",e._sentryDebugIdIdentifier="sentry-dbid-5097d687-5407-4734-aa5f-b943c46ebe9d")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,aQ as W,T as We,o as i,ai as k,F as L,p as w,bL as Ee,y,fk as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,aw as Ue,fX as Ge,h4 as _e,i as Je,al as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eQ as et,d9 as tt,fU as it,k_ as ot,j2 as Ae,j3 as Oe,cu as rt,iV as at,iW as nt,k$ as st,kg as lt,am as E,bS as dt,cA as le,j1 as ct,cD as ht}from"./index-RSYdG57D.js";import{a as f,P as pt}from"./sentry-D087_5zX.js";import{n as o,c as de}from"./mui-Bi6zxcZy.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DnYFo_hK.js";import{s as gt}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import{g as ce}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{o as mt}from"./shield-DOlUxcFf-CCEGxUtr.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-B4xbIQqu.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c1ad9bae-ead2-446b-93de-635f7179cb58",e._sentryDebugIdIdentifier="sentry-dbid-c1ad9bae-ead2-446b-93de-635f7179cb58")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -95,14 +95,14 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
95
95
  cursor: pointer;
96
96
  gap: 5px;
97
97
  color: ${e=>e.theme.colors.primary};
98
- `,U={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function At({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Gt,{children:[t.jsx(fe,{}),t.jsx(Ut,{children:t.jsx(_t,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(Zt,{children:t.jsx(Qt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Ot,{windowSize:d,children:[t.jsxs(Rt,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(Bt,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(It,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
98
+ `,G={containerPaddingLeft:new y(p[3],p[4]),containerPaddingRight:new y(p[2],p[3]),containerPaddingTop:new y(p[2],p[3]),containerPaddingBottom:new y(p[2],p[3])};function At({data:e,boxType:r}){const{description:n,amount:h,status:l,date:a}=e,u=V("0,0.00",h),d=C(),{dateFormat:g}=L.getLocalizedStrings(),x=oe(),$=x[0].width,j=x[1].width,c=x[2].width,s=st(l);if(d==="small"){const b=t.jsx(Kt,{children:t.jsxs(Vt,{children:[t.jsxs(Wt,{children:[t.jsxs(Ut,{children:[t.jsx(fe,{}),t.jsx(Gt,{children:t.jsx(_t,{children:t.jsxs(Jt,{children:[n,l!=null&&l.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(Xt,{}),t.jsx(Qt,{color:s?.color,children:s?.value})]}):null]})})})]}),t.jsx(qt,{children:t.jsx(Zt,{children:a!=null?`${oe()[1].value}: `+a.format(g.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(Et,{children:t.jsx(ei,{children:t.jsx($e,{children:u})})})]})});return t.jsx(ce,{content:b,boxType:r,isDisabled:!0,isNotClickable:!0})}const m=t.jsxs(Ot,{windowSize:d,children:[t.jsxs(Rt,{windowSize:d,width:$,children:[t.jsx(fe,{}),t.jsxs(Ht,{windowSize:d,children:[t.jsx(we,{children:n}),l!=null&&l.code!=="completed"?t.jsxs(Yt,{windowSize:d,children:[t.jsx(Ft,{}),t.jsx(Nt,{color:s?.color,children:s?.value})]}):null]})]}),t.jsx(It,{windowSize:d,width:j,children:t.jsx(we,{children:a!=null?a.format(g.visual.MMMDCommaYYYYformat):null})}),t.jsx(Bt,{windowSize:d,width:c,children:t.jsx($e,{children:u})})]});return t.jsx(ce,{content:m,boxType:r,isDisabled:!0,isNotClickable:!0})}const Ot=o.div`
99
99
  width: 100%;
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
- padding-left: ${e=>U.containerPaddingLeft.valuePx(e.windowSize)};
103
- padding-right: ${e=>U.containerPaddingRight.valuePx(e.windowSize)};
104
- padding-top: ${e=>U.containerPaddingTop.valuePx(e.windowSize)};
105
- padding-bottom: ${e=>U.containerPaddingBottom.valuePx(e.windowSize)};
102
+ padding-left: ${e=>G.containerPaddingLeft.valuePx(e.windowSize)};
103
+ padding-right: ${e=>G.containerPaddingRight.valuePx(e.windowSize)};
104
+ padding-top: ${e=>G.containerPaddingTop.valuePx(e.windowSize)};
105
+ padding-bottom: ${e=>G.containerPaddingBottom.valuePx(e.windowSize)};
106
106
  box-shadow: ${e=>e.theme.mode==="dark"?`${w.dropShadowNormalDark} ${i.sp0} 2px ${i.sp1}`:`${i.sp0} 2px ${i.sp1} ${w.dropShadowNormalLight}`};
107
107
  border-radius: ${i.sp2};
108
108
  justify-content: space-between;
@@ -115,14 +115,14 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
115
115
  min-width: ${e=>e.width.valuePx(e.windowSize)};
116
116
  padding-left: ${i.sp0};
117
117
  box-sizing: border-box;
118
- `,Bt=o.div`
118
+ `,It=o.div`
119
119
  display: flex;
120
120
  align-items: center;
121
121
  width: ${e=>e.width.valuePx(e.windowSize)};
122
122
  max-width: ${e=>e.width.valuePx(e.windowSize)};
123
123
  min-width: ${e=>e.width.valuePx(e.windowSize)};
124
124
  box-sizing: border-box;
125
- `,It=o.div`
125
+ `,Bt=o.div`
126
126
  display: flex;
127
127
  align-items: center;
128
128
  justify-content: flex-end;
@@ -202,11 +202,11 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
202
202
  flex-direction: column;
203
203
  align-items: flex-end;
204
204
  margin-left: ${i.sp4};
205
- `,Gt=o.div`
205
+ `,Ut=o.div`
206
206
  display: flex;
207
207
  align-items: flex-start;
208
208
  margin-bottom: ${i.sp1};
209
- `,Ut=o.div`
209
+ `,Gt=o.div`
210
210
  display: flex;
211
211
  flex-direction: column;
212
212
  align-items: flex-start;
@@ -231,22 +231,22 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
231
231
  margin-left: ${i.sp2};
232
232
  margin-right: ${i.sp2};
233
233
  vertical-align: middle;
234
- `,qt=o(E)`
234
+ `,Qt=o(E)`
235
235
  display: inline;
236
236
  color: ${e=>e.color};
237
237
  white-space: nowrap;
238
- `,Zt=o.div`
238
+ `,qt=o.div`
239
239
  display: flex;
240
240
  align-items: center;
241
241
  margin-top: ${i.sp1};
242
242
  margin-left: ${i.sp6};
243
- `,Qt=o(E)`
243
+ `,Zt=o(E)`
244
244
  color: ${e=>e.theme.colors.grey1};
245
245
  text-align: left;
246
246
  `,ei=o.div`
247
247
  display: flex;
248
248
  align-items: flex-start;
249
- `,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Ae:Oe,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Be,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Re,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Re=f.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Be,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Re.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(At,{data:e,boxType:"roundedBox"},e.id),li=o.div`
249
+ `,re={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(p[3],p[8])},{spendManagement:{chargeCard:ti},common:ii}=L.getLocalizedStrings(),oi=({transactionList:e,uiState:r,fetchState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>{const a=C(),u=f.useRef(null),d=f.useMemo(()=>a!=="small"?ot:gt+40,[a]),g=()=>d,x=a==="small"?Ae:Oe,$=f.useMemo(()=>e.length*d+x,[e.length,d,x]);f.useEffect(()=>{u.current?.resetAfterIndex(0)},[a]);const j=()=>n==="Error"?t.jsxs(di,{children:[t.jsx(ci,{onClick:h,"data-testid":W("treasury-list-reload"),children:t.jsx(hi,{})}),t.jsx(pi,{children:ii.reloadPage.label})]}):n==="Completed"&&e.length===0?null:t.jsx(Ie,{children:t.jsx(xi,{windowSize:a,children:t.jsx(rt,{ref:u,height:$,itemCount:e.length,innerElementType:c=>ri(c,l,r,n),itemSize:g,estimatedItemSize:nt,itemKey:c=>e[c].id,width:"100%",overscanCount:at,initialScrollOffset:0,style:{overflow:"hidden"},children:c=>t.jsx(ni,{...c,transactionList:e})})})});return t.jsx(li,{fetchState:n,children:j()})},ri=(e,r,n,h)=>t.jsx(Re,{...e,onColumnSortConfigChanged:r,uiState:{sortKey:n.sortKey,sortOrder:n.sortOrder},fetchState:h}),Re=f.forwardRef((e,r)=>{const{children:n,style:h,uiState:l,onColumnSortConfigChanged:a,...u}=e;return t.jsxs(Ie,{ref:r,style:{...h,width:"auto"},...u,children:[t.jsx(jt,{companyNameSticky:!1,onColumnSortConfigChanged:a,sortConfig:{sortKey:l.sortKey,sortOrder:l.sortOrder}}),t.jsx(mi,{children:n})]})});Re.displayName=ti.cardList.headerElementDisplayName;const ai=({transactionList:e,fetchState:r,uiState:n,onReloadCards:h,onColumnSortConfigChanged:l})=>t.jsx(oi,{transactionList:e,fetchState:r,onReloadCards:h,uiState:n,onColumnSortConfigChanged:l}),ni=({index:e,style:r,transactionList:n})=>{const h=C();return t.jsx(gi,{style:{...r,width:"100%",paddingLeft:re.rowWrapperMarginLeftRight.valuePx(h),paddingRight:re.rowWrapperMarginLeftRight.valuePx(h)},className:"spend-management-list-item",children:t.jsx(si,{transaction:n[e]})},"listItem"+n[e].id)},si=({transaction:e})=>t.jsx(At,{data:e,boxType:"roundedBox"},e.id),li=o.div`
250
250
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
251
251
  display: block;
252
252
  height: 100%;
@@ -293,12 +293,12 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
293
293
  position: relative;
294
294
  width: auto;
295
295
  height: 100%;
296
- `,Be=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>xt(e??"",ui),_=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:_.editPortfolio},{value:"taxLetter",label:_.taxLetter},{value:"statements",label:_.statements},{value:"settings",label:_.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ge(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ue(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(_e,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
296
+ `,Ie=o.div``,ui=["editPortfolio","taxLetter","statements","settings"],yi=e=>xt(e??"",ui),_=L.getLocalizedStrings().spendManagement.treasury.overviewPage,je=[{value:"editPortfolio",label:_.editPortfolio},{value:"taxLetter",label:_.taxLetter},{value:"statements",label:_.statements},{value:"settings",label:_.settings}],fi=({onOptionSelection:e,onTransferClick:r})=>{const n=Ue(),h=C(),l=L.getLocalizedStrings().spendManagement.treasury.overviewPage,a=n.loggedInUserRoleMap.treasury_user===!0||Ge(n),u=je.filter(g=>g.value==="statements"||g.value==="taxLetter"),d=M();return t.jsxs(wi,{isTopAlign:!1,children:[t.jsx(_e,{entity:"zeni_treasury",onOptionSelection:g=>{const x=yi(g);x!=null&&e(x)},isMoreOption:!0,backgroundColor:d.colors.grey5,options:a?u:je}),!a&&(h==="small"?t.jsx($i,{onClick:r}):t.jsx(Je,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:r,label:l.transferFunds}))]})},wi=o.div`
297
297
  display: flex;
298
298
  flex-direction: row;
299
299
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
300
300
  gap: ${i.sp3};
301
- `,$i=o(Ze)`
301
+ `,$i=o(qe)`
302
302
  min-width: ${i.sp4};
303
303
  width: ${i.sp4};
304
304
  height: ${i.sp4};
@@ -311,7 +311,7 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
311
311
  justify-content: center;
312
312
  align-items: center;
313
313
  background-color: ${e=>e.theme.colors.grey4};
314
- `,P={tickLabelText:new B("extraSmallRegular","smallRegular"),balanceIntegerStyles:new B("h5Regular","h3Regular"),integerStyles:new B("largeRegular","h6Regular"),decimalStyles:new B("standardRegular","standardRegular"),fundSummaryStyles:new B("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new B("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:q,common:bi}=L.getLocalizedStrings(),Ie=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=G(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=G(m[0].payload?.date??"").format(q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?G(D).format(q.visual.MMMformat):G(D).format(q.visual.MMMDFormat);return t.jsx(Bi,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Gi,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Qi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Ie.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(Zi,{children:[t.jsx(qi,{children:v.balanceTooltip.base}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Q,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Ie,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Ii,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ai,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(Z,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:qe(r.fundSize,r.currencyCode)})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(I,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Ui,{children:e}),Pi=o.div`
314
+ `,P={tickLabelText:new I("extraSmallRegular","smallRegular"),balanceIntegerStyles:new I("h5Regular","h3Regular"),integerStyles:new I("largeRegular","h6Regular"),decimalStyles:new I("standardRegular","standardRegular"),fundSummaryStyles:new I("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new I("standardMedium","largeMedium")},T={accountDetailHeaderPaddingRight:new y(p[3],p[8]),accountDetailHeaderPaddingBottom:new y(p[3],p[6]),accountDetailHeaderPaddingLeft:new y(p[3],p[8]),accountDetailHeaderPaddingTop:new y(p[3],p[6]),accountDetailContentMarginTop:new y(p[4],p[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:be,treasury:{overviewPage:v}},dateFormat:Q,common:bi}=L.getLocalizedStrings(),Be=f.memo(({accountHistory:e})=>{const r=C(),n=M(),[h,l]=f.useState(),a=f.useMemo(()=>{const s=U(new Date().toISOString()),m=s.clone().subtract(84,"day"),b=84/6;return Array.from({length:7}).map((z,D)=>{const O=D/6;let R;return O<.5?R=0:O<.6?R=.9*((O-.5)/.09999999999999998):R=.9,{date:(D===6?s:m.clone().add(Math.round(D*b),"day")).toISOString(),value:R}})},[]),u=f.useMemo(()=>(a.length<=0,0),[a.length]),d=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(s=>s.balance?.available.amount===0)),g=f.useMemo(()=>e.accountHistoryWithBalance.map(s=>({...s,date:s.date.toISOString()})),[e.accountHistoryWithBalance]),x=f.useCallback(s=>{const m=Array.isArray(s)?s:[];let b="",z="";if(Array.isArray(m)&&m.length>0){const D=m[0].payload?.balance?.available;z=V("0,0[.]00",D),b=U(m[0].payload?.date??"").format(Q.visual.DMMMYYYYFormat)}return t.jsxs(Ei,{children:[t.jsx(ze,{children:b}),t.jsx(ze,{isSublabel:!0,children:z})]})},[]),$=f.useCallback(s=>{const m=s,{x:b,y:z}=m,{value:D}=m.payload;let O=!1;e.accountHistoryWithBalance.length>360&&(O=!0);const R=O?U(D).format(Q.visual.MMMformat):U(D).format(Q.visual.MMMDFormat);return t.jsx(Ii,{translateX:b,translateY:z,children:t.jsx(Fi,{windowSize:r,dy:20,dx:-25,children:R})})},[e.accountHistoryWithBalance.length,r]),j=f.useCallback(({cx:s,cy:m,dataKey:b})=>(b==="balance.available.amount"&&(h?.x!==s||h?.y!==m)&&l({x:s,y:m}),t.jsx(Ui,{cx:s,cy:m,strokeWidth:1,r:p[1]})),[h]),c=f.useMemo(()=>{const s=e.accountHistoryWithBalance.length;return s<=0?0:s>360?Math.floor(s/12):Math.floor(s/7)},[e.accountHistoryWithBalance.length]);return t.jsx(Ki,{children:d?t.jsxs(eo,{children:[t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:a,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:n.colors.grey2,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:n.colors.grey2,stopOpacity:.02})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,tick:s=>$(s),interval:u,padding:{right:p[4]}}),t.jsx(ge,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(me,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:n.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(to,{children:t.jsx(Zi,{children:v.noData})})]}):t.jsx(he,{height:T.areaChartHeight.value(r),width:"99%",children:t.jsxs(pe,{data:g,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(ve,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Se,{offset:"0%",stopColor:w.brandColorJade,stopOpacity:1}),t.jsx(ke,{offset:"100%",stopColor:w.brandColorJade,stopOpacity:.03})]})}),t.jsx(xe,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:s=>$(s),padding:{right:p[4]},interval:c}),t.jsx(ge,{tick:!1,axisLine:!1}),t.jsx(ut,{position:h,content:({payload:s})=>x(s),cursor:{strokeDasharray:"3",stroke:w.brandColorJade}}),t.jsx(me,{activeDot:j,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:w.brandColorJade,fill:"url(#colorUv)"})]})})})});Be.displayName="AccountBalanceGraph";const Ko=({treasuryDetail:e,treasurySetupView:r,onColumnSortConfigChanged:n,onBackClick:h,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:a,onTransferClick:u})=>{const d=C(),g=M(),x=Fe().analytics;Ke({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const $=m=>{x.trackTreasuryDashboardInteraction((()=>{switch(m){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),a(m)},j=e.accountSummary,c=f.useCallback(m=>{let b=null,z;switch(m){case"insuredFunds":b=t.jsx(Pe,{children:v.insuredFundsTooltip}),z="280px";break;case"totalBalance":b=t.jsxs(qi,{children:[t.jsx(Qi,{children:v.balanceTooltip.base}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.balance}),t.jsx(te,{children:V("0,0[.]00",j?.totalBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.processing}),t.jsx(te,{children:V("0,0[.]00",j?.processingBalance)})]}),t.jsxs(Z,{children:[t.jsx(ee,{children:v.balanceTooltip.available}),t.jsx(te,{children:V("0,0[.]00",j?.availableBalance)})]})]}),z="312px";break;case"sevenDayYield":b=t.jsx(Pe,{children:v.fundTile.sevenDayYieldTooltip}),z="464px";break;default:b=t.jsx(t.Fragment,{});break}return t.jsx(Ye,{children:t.jsx(ae,{display:"flex",placement:d==="small"?"bottom":"top",title:b,style:{textAlign:"left"},maxWidth:z,children:m==="insuredFunds"?t.jsx(yo,{}):t.jsx(Ne,{})})})},[j,d]),s=t.jsx(fi,{onOptionSelection:$,onTransferClick:()=>{x.trackTreasuryDashboardInteraction("Transfer Funds"),u()}});return t.jsxs(Ti,{children:[t.jsx(Ve,{title:v.title,onBackClick:h,showMenuIcon:!1,backgroundColor:g.colors.grey5,style:{zIndex:3,...ie.largeSemiBold.cssObject},rightSideComponent:s,source:"treasury"}),t.jsxs(Li,{windowSize:d,children:[t.jsxs(Mi,{windowSize:d,children:[t.jsx(vi,{fundAllocation:r.currentAllocation,fundsData:r.fundsData,getToolTipContent:c,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(Ri,{windowSize:d,children:t.jsx(Be,{accountHistory:e.accountHistory})})]}),t.jsx(Si,{analytics:x,fundsData:r.fundsData,fundAllocation:r.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(He,{treasuryDetail:e,onColumnSortConfigChanged:n}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(Bi,{children:[t.jsx(Hi,{onClick:l,"data-testid":W("account-detail-reload"),children:t.jsx(Ni,{})}),t.jsx(Yi,{children:bi.reloadPage.label})]}):t.jsx(ji,{children:t.jsx(We,{size:"ExtraLarge",start:!0})})]})},He=f.memo(({treasuryDetail:e,onColumnSortConfigChanged:r})=>{const n=C();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(Di,{windowSize:n,children:t.jsx(ai,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,onReloadCards:()=>{},onColumnSortConfigChanged:r})}):t.jsx(Pi,{})})});He.displayName="TransactionListScreen";const vi=({treasuryDetail:e,hasAccountActivity:r,getToolTipContent:n,fundAllocation:h,fundsData:l})=>{const a=C(),[u,d]=f.useState(!1);return f.useEffect(()=>{u===!0&&setTimeout(()=>{d(!1)},800)},[u]),t.jsxs(Ai,{children:[t.jsxs(J,{children:[t.jsx(Vi,{children:t.jsxs(K,{children:[F(be.zeniAccountList.totalAvailableBalance),n("totalBalance")]})}),t.jsx(Xi,{windowSize:a,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(X,{amount:e.accountSummary?.availableBalance,integerStyles:P.balanceIntegerStyles.styleObject(a),decimalStyles:P.balanceIntegerStyles.styleObject(a)})}):null})]}),t.jsxs(J,{children:[t.jsxs(K,{children:[F(v.insuredFunds),n("insuredFunds")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})}),t.jsx(K,{children:F(v.insuredFundsAmount)})]}),r&&t.jsxs(Oi,{children:[t.jsxs(Ce,{children:[t.jsx(K,{children:F(be.common.totalYieldEarned)}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(X,{amount:e.accountSummary?.totalYield,integerStyles:P.integerStyles.styleObject(a),decimalStyles:P.decimalStyles.styleObject(a)})})]}),t.jsxs(Ce,{children:[t.jsxs(K,{children:[F(v.sevenDayYield)," ",n("sevenDayYield")]}),t.jsx(q,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(Wi,{windowSize:a,children:[zi(h??{},l),"%"]})})]})]})]})},Si=({analytics:e,fundsData:r,fundAllocation:n,hasAccountActivity:h})=>{const[l,a]=f.useState(!1),u=C(),d=M(),g=()=>{a(x=>!x)};return t.jsx(io,{windowSize:u,allTilesExpanded:l,children:r.map((x,$)=>{const j=l,c=ne($,d);return t.jsxs(oo,{expanded:j,windowSize:u,children:[t.jsx(go,{bgColor:c.headerBackground}),t.jsx(ki,{fund:x,fundIndex:$,fundAllocation:n!=null?n[x.fundCode]:0,hasAccountActivity:h}),!l&&t.jsx(ro,{children:t.jsxs(no,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),g()},children:[v.fundTile.viewDetails,t.jsx(_i,{})]})}),j&&t.jsxs(t.Fragment,{children:[t.jsx(zo,{}),t.jsx(Ci,{analytics:e,fund:x,fundIndex:$,onHide:g})]})]},x.fundCode)})})},ki=({fund:e,fundIndex:r,fundAllocation:n})=>{const h=M(),l=ne(r,h),a=C();return t.jsxs(ao,{windowSize:a,children:[t.jsxs(De,{style:{width:a==="small"?"100%":"50%"},children:[t.jsx(lo,{children:t.jsxs(co,{children:[t.jsx(Te,{windowSize:a,children:e.fundCode}),t.jsxs(Te,{windowSize:a,children:[n,"%"]})]})}),t.jsxs(ho,{color:l.fundNameColor,children:[t.jsx(J,{children:e.fundCompanyName}),t.jsx(J,{children:e.fundName})]})]}),t.jsx(so,{windowSize:a,children:t.jsxs(De,{style:{alignItems:a==="small"?"flex-start":"flex-end"},children:[t.jsxs(xo,{children:[v.sevenDayYield,t.jsx(Ye,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(ae,{placement:a==="small"?"bottom":"bottom-end",data:v.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Ne,{})})})]}),t.jsxs(po,{windowSize:a,children:[e.yield,"%"]})]})})]})},Ci=({analytics:e,fund:r,fundIndex:n,onHide:h})=>{const l=M(),{common:a,spendManagement:u}=L.getLocalizedStrings(),d=u.treasury.promoPage,g=ne(n,l);return t.jsxs(t.Fragment,{children:[t.jsx(fo,{children:r.description}),t.jsxs(wo,{children:[t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," Liquidity"]}),t.jsx(Y,{children:r.liquidityTimeline})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.fundSize]}),t.jsx(Y,{color:g.fundNameColor,children:Qe(r.fundSize,r.currencyCode)})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.maturity]}),t.jsxs(Y,{children:[r.maturity," ",a.timeStrings.days]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.expenseRatio]}),t.jsxs(Y,{children:[r.expenseRatio,d.expenseRatioSuffix]})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.riskRating]}),t.jsx(Y,{children:r.riskRating})]}),t.jsxs(B,{children:[t.jsxs(H,{children:[t.jsx(N,{})," ",d.composition]}),t.jsx(Y,{children:t.jsxs($o,{children:[r.compositions[0].investedIn," ",r.compositions[0].percentage,Array.isArray(r.compositions)&&r.compositions.length>0&&t.jsx(ae,{style:{textAlign:"left",display:"inline"},title:t.jsx(jo,{children:r.compositions.map((x,$)=>t.jsxs(bo,{children:[t.jsx(vo,{}),t.jsx(k,{children:x.investedIn}),t.jsx(k,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},$))}),children:t.jsxs(So,{children:["+",r.compositions.length]})})]})})]})]}),t.jsxs(mo,{children:[t.jsxs(ko,{onClick:()=>e.trackTreasuryProspectusClick(r.fundCompanyName+" "+r.fundName,r.fundCode,"Treasury Overview Page"),href:r.url,target:"_blank",rel:"noopener noreferrer",children:[d.asOf," ",r.asOfDate.format("MMM D, YYYY"),t.jsx(Co,{})]}),t.jsxs(uo,{onClick:h,children:[d.hide,t.jsx(Ji,{})]})]})]})};function zi(e,r){let n=0;for(const h of r){const l=e[h.fundCode]??0;l>0&&h.yield!=null&&(n+=h.yield*l)}return Number((n/100).toFixed(2))}const F=e=>t.jsx(Gi,{children:e}),Pi=o.div`
315
315
  display: flex;
316
316
  flex-direction: column;
317
317
  align-items: center;
@@ -355,9 +355,9 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
355
355
  flex-direction: column;
356
356
  justify-content: flex-end;
357
357
  padding: ${e=>e.windowSize==="small"?i.sp3:i.sp0};
358
- `,Bi=o.g`
358
+ `,Ii=o.g`
359
359
  transform: ${e=>`translate(${e.translateX}px, ${e.translateY}px)`};
360
- `,Ii=o.div`
360
+ `,Bi=o.div`
361
361
  display: flex;
362
362
  width: 100%;
363
363
  height: calc(100% - 60px);
@@ -407,7 +407,7 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
407
407
  }
408
408
  }
409
409
  }
410
- `,Z=o.div`
410
+ `,q=o.div`
411
411
  display: flex;
412
412
  flex-direction: row;
413
413
  align-items: baseline;
@@ -434,7 +434,7 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
434
434
  border-radius: ${i.sp1};
435
435
  padding: ${i.sp0} ${i.sp2};
436
436
  background-color: ${w.blackColor};
437
- `,Gi=o.circle`
437
+ `,Ui=o.circle`
438
438
  stroke: ${e=>e.theme.colors.brandColorJade};
439
439
  fill: ${e=>e.theme.colors.grey5};
440
440
  `,ze=o(k)`
@@ -442,7 +442,7 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
442
442
  `,K=o.div`
443
443
  display: flex;
444
444
  gap: ${i.sp1};
445
- `,Ui=o(k)`
445
+ `,Gi=o(k)`
446
446
  color: ${e=>e.theme.colors.hero};
447
447
  `,_i=o(Xe)`
448
448
  height: 12px;
@@ -469,16 +469,16 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
469
469
  color: ${e=>e.theme.colors.primary};
470
470
  }
471
471
  }
472
- `,qi=o(k)`
472
+ `,Qi=o(k)`
473
473
  margin-bottom: ${i.sp2};
474
474
  display: flex;
475
475
  text-align: left;
476
- `,Zi=o(k)`
476
+ `,qi=o(k)`
477
477
  padding: ${i.sp2} ${i.sp2};
478
478
  color: ${e=>e.theme.colors.hero};
479
479
  background: ${e=>e.theme.colors.black};
480
480
  border-radius: ${i.sp1};
481
- `,Q=o(k)`
481
+ `,Z=o(k)`
482
482
  color: ${e=>e.theme.colors.brandColorPearl};
483
483
  display: flex;
484
484
  justify-content: space-between;
@@ -497,7 +497,7 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
497
497
  padding: ${i.sp2};
498
498
  background: ${e=>e.theme.colors.black};
499
499
  border-radius: ${i.sp1};
500
- `,Qi=o(A)`
500
+ `,Zi=o(A)`
501
501
  color: ${e=>e.theme.colors.hero};
502
502
  white-space: pre-line;
503
503
  text-align: center;
@@ -572,7 +572,7 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
572
572
  flex-direction: row;
573
573
  align-items: center;
574
574
  gap: ${i.sp1};
575
- `,co=o(Qe)`
575
+ `,co=o(Ze)`
576
576
  display: flex;
577
577
  gap: ${i.sp2};
578
578
  `,Te=o.div`
@@ -629,7 +629,7 @@ import{J as C,y as M,a8 as Fe,ce as Ke,V as t,aP as V,bU as ae,bD as Ve,w as ie,
629
629
  display: flex;
630
630
  flex-direction: column;
631
631
  padding: ${i.sp2} ${i.sp5};
632
- `,I=o.div`
632
+ `,B=o.div`
633
633
  display: flex;
634
634
  justify-content: space-between;
635
635
  align-items: flex-start;