@zeniai/web-cockpit-ui 1.15.59-dev → 1.15.60-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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-CFhoboVe-NhNiWQoq.js → ACHDetailsPage-BO7lxW8c-B0_WsBb4.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DB-fTWME-C20PCC17.js → AIPerformancePage-SF-quMkk-D_TcV5rN.js} +1 -1
  3. package/dist/assets/AccountInfoPage-v8-NT3FJ-gaoEoT5g.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-eYEsv7ac-CxPwO1am.js → AccountInfoPageContent-DIWh6VaI-CcPRrUNm.js} +1 -1
  5. package/dist/assets/AccountLockedInfoModal-DloPB9vd-BOkxR2Sg.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js → AccountReconDetailsDrawerPage-BAgQsFiF-hVicxd_W.js} +49 -49
  7. package/dist/assets/{AccountRow-CdgvnPG8-BbJV8Q8M.js → AccountRow-Dczx5rSu-C_XsKKay.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js → AccountsPromoCardStack-Ywhto4lV-C2VycrWJ.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js → AddAddressForCardDrawer-B8srmVT6-Co_HJf1Y.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BfXFbHjk-QRigQSHV.js → AddToWalletPage-k__RW699-DBnalmZR.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-C1hFq4KH-COTxuu-2.js → AgingReportsPage-BuIXjljE-BrreoP_-.js} +1 -1
  12. package/dist/assets/{AllUserItems-B6pnKByY-BUdz_J3g.js → AllUserItems-BdgTe4WF-DQfYtDL3.js} +5 -5
  13. package/dist/assets/{ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js → ApAgingDetailPage-6F47t31h-CB_PIykE.js} +3 -3
  14. package/dist/assets/{AppBasePage-DiVxF606-C03aQg1o.js → AppBasePage-DaTueT-x-BXKUSYxo.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-B_EWsf8O-16pnrlUd.js → AppDrawerContent-CtCI6jpp-CsPTIxrb.js} +22 -22
  16. package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js → ApprovalRulesSettingsPage-BVxu4soW-Cx9W9VZb.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js → ArAgingChart-BK-JyW2V-CRC7GMeI.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-prgcvsS4-CC5CLIGP.js → ArAgingDetailPage-CvqLu3q8-BQd3HFeD.js} +4 -4
  19. package/dist/assets/{AttachmentView-SsWJw4A8-BGK1ntZP.js → AttachmentView-DQdb3v_e-CrflCKQW.js} +2 -2
  20. package/dist/assets/BalancesInsightWithToolTip-D4q45w1q-CGBLlxve.js +38 -0
  21. package/dist/assets/{BankAccountSection-B4jmT0lb-DzAFSATj.js → BankAccountSection-DgbfU8F--CkRwjy7A.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js → BankAccountWarningSection-litL0o_Z-DgHPj2Xz.js} +8 -8
  23. package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js → BankConnectionsSettingsPage-bAj9uB9k-sPoCw_nL.js} +6 -6
  24. package/dist/assets/{BillDetailPage-Dkqmi4H1-BrWo4uGz.js → BillDetailPage-CiHal44n-B-pNvdK4.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js → BillPayApprovalRuleDetailPage-CRBli7lk-C6KU9krq.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js → BillPayApprovalRulesPage-BTOmSLcs-DsHPwIyx.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-Bx2AXpWe-Du89a98b.js → BillPayPromoPage-B5gkQjT2-CDaCRy4j.js} +6 -6
  28. package/dist/assets/{BillPaySetUpPage-CM7_DkHC-CclJKf3M.js → BillPaySetUpPage-DM3r09by-ylftA-6O.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-DM0OIfxa-BuoiB9BU.js → BillingSettingsPage-CiTKyJeG-D7-iHgY4.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js → BillsBulkReviewDrawerPage-B6ofRDkg-pxXiH1By.js} +1 -1
  31. package/dist/assets/{BoxItem-CvCo0wr6-DKAIvhWo.js → BoxItem-C39hQSVg-DygFSSe8.js} +3 -3
  32. package/dist/assets/{BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js → BusinessVerificationPage-BiWEnJET-BH1PMwYP.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-DHtSIcZZ-DL8DMs-k.js → CardNumberSubText-FNfrozX6-CY1gwPPP.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-CNS1FA6b-JWXE3hsL.js → CashbackDetailPage-DaLICa_v-BHVqJW_A.js} +6 -6
  35. package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js → ChargeCardDetailPage-B0Aq7zO5-Bj_iPNHv.js} +34 -34
  36. package/dist/assets/{ChargeCardListPage-DNYiWaEf-DJhH9poc.js → ChargeCardListPage-CfRto2rQ-DUZeib3g.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-DdnyzdFf-BmYCmkcc.js → ChargeCardListTable-DMdC4lxo-70bPzG6D.js} +28 -28
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js → ChargeCardPaymentHistoryPage-BYTmtF_y-QaBsAk7f.js} +22 -22
  39. package/dist/assets/ChargeCardPromoPage-AI5bladj-CDTghnkA.js +222 -0
  40. package/dist/assets/{ChargeCardSetupPage-BtikPFOq-_QFEhM40.js → ChargeCardSetupPage-BjhqdubL-Bxyq0dEG.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js → ChargeCardStatementsPage-DCM92s6v-BgJV4ytL.js} +4 -4
  42. package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js → CheckDepositDrawerPage-CkIxEqHU-Dod8HuuJ.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js → CollapsableReportTable-ClHwXtCj-D8daRiWx.js} +43 -43
  44. package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js → CompanyOfficerDetailsSection-BY8hFQnp-CtC3dw7s.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BbUWOs1U-BLVqocbL.js → CompanyPassportCard-B3rZE3pg-CHku2Rtz.js} +2 -2
  46. package/dist/assets/{CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js → CompanyPassportPage-4FXVf3EP-CYRMv_ux.js} +24 -24
  47. package/dist/assets/{CompleteProfile-TiRsm2Fm-CIjFxaAm.js → CompleteProfile-B1BoilWd-DIpcRO8q.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-D7J36hZf-BKlSjT6j.js → ConfettiBurst-CsbAGF65-DaE2G5iK.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js → ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js → CreateOrEditVendorPage-C50eYOFo-5jCRpD-i.js} +11 -11
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js → CreditCardPaymentDrawerPage-Dxz_SY7N-CdO_tBcx.js} +5 -5
  52. package/dist/assets/{CurrencySelectField-BTAmIqPa-BqQ2_ci5.js → CurrencySelectField-D2Ogwvbr-DFlDNWit.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js → CustomerOnboardingActivationPage-5Sh7hmI9-BLHLFJqx.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-B5kVGk_V-Bb9r_J_O.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js → CustomerOnboardingDetailPageSkeleton-CL-mOSUp-BYS-DtUM.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js → CustomerOnboardingNoStepsPage-CyL1AK78-Cy-eN1DF.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js → CustomerOnboardingPage-C8nxJPwo-CFmeBld-.js} +4 -4
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js → CustomerOnboardingProductSuitePage-C7FbnHpU-Dxkjm06Q.js} +1 -1
  59. package/dist/assets/{Dashboard-Qjedd4r--DHZmjgJN.js → Dashboard-Bpu-6Sm5-BISIyFSl.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-Deith_ON-ChcA84Vk.js → DashboardReportPage-B1aAikQG-BdFbggI-.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js → DashboardSidebarBackgroundAnimation-C6xm-p2j-CVm6YwBC.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-7kYotKov-BnPXoaAG.js → DepositAccTransactionItem-DEU0DgtI-EQTbBfv8.js} +3 -3
  63. package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js → DepositAccTransactionListPage-Bh0dIkE9-CW5ttbou.js} +2 -2
  64. package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js → DomesticWireDetailsPage-2WyD73c9-Ddu9-eO2.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-Cmd727bN-BHplNe_3.js → DownloadOverlay-B7M2VI7K-8UWWddqd.js} +18 -18
  66. package/dist/assets/{DrawerPage-DmGwfnGp-B5EgKZxZ.js → DrawerPage-DsQTxXa8-FNOF0T9x.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-YyluIC6R-CQIl30sj.js → EditPeoplePage-fY0HXvVS-CPTN1GRB.js} +3 -3
  68. package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js → EditReimbursementDetailPage-D7RUWSTZ-BNhqRuzG.js} +1 -1
  69. package/dist/assets/EntityDetailPage-BDyO7iLI-BQGDz9Ii.js +18 -0
  70. package/dist/assets/{EntitySummarySection-5NbutA8l-Z4HQfo2N.js → EntitySummarySection-0rRkC5V6-DX9oCnh6.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js → ExpenseAutomationOverviewPage-DOGAdZXV-Ott9us_6.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js → ExpenseAutomationPage-DOsIzX0P-DNfPXp6J.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-DhoNmyC2-Ixqn7FeR.js → ExpressPayPage-CIi6jM8Y-qFfOMk3w.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-GSwhPxgP-C20k6nV5.js → FeaturePreviewPage-BVn6ZUOB-BcJD18O7.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DaueHRo4-DdiQ4lOn.js → FollowStepsSection-CvWPHXDW-CayqdWAy.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js → GlobalReviewListPage-CS_11bx0-sbF8FOmX.js} +1 -1
  77. package/dist/assets/{InformationCardStack-zc-BxR7F-B2cR2Vrc.js → InformationCardStack-B9g7W7Xx-BWV4DOrJ.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-DxCA5sFh-CBXIO7T2.js → InsightsCardStack-mvzIc2uY-DntFQXQU.js} +3 -3
  79. package/dist/assets/{InsightsSection-BdFG3j3R-DpGjm8qb.js → InsightsSection-rGyA4lY9-B2pA29Jq.js} +4 -4
  80. package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js → IntegrationsSettingsPage-Dwz4ukHF-BDuIwaNQ.js} +2 -2
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js → InternationalWireSwiftDetailsPage-Cm0H9oyf-DfXMYL1d.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js → InternationalWireVerificationPage-woIoME3I-CEoHufSE.js} +1 -1
  83. package/dist/assets/{InviteFormPage-fjqv2l7h-CoWToBnJ.js → InviteFormPage-DaZ-sJYV-Bag9I8OB.js} +17 -17
  84. package/dist/assets/{InvitePageListView-CQecQhxr-BNu8hXMY.js → InvitePageListView-Do7EVQrj-BrU-UxSb.js} +13 -13
  85. package/dist/assets/{InvitePeoplePage-DAEBuOnk-jK8Ueocl.js → InvitePeoplePage-CpD7YoC2-DLME90b_.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-58l6ePuH-BuOyGSAC.js → InvoiceUploadSection-DOuTQPee-DKRpBgc2.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js → IssueChargeCardPage-ClMhr27d-Dvt3VEvl.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-CZfFV97h-DWDhZW5u.js → LabeledAddressValue-B6_PZDTO-BM9CuApr.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D66XOhMx-Di6mjf7B.js → LabeledAddressValueField-Cz6tRMoW-wArjCe_0.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js → LabeledControlledCheckBoxField-BEpAlnvo-BghNAEyy.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js → LabeledCountryMultiSelectField-1kTcZMQW-BkvqWj3Y.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js → LabeledCreatableSingleSelectField-PiLB1S77-D7JcIqjo.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js → LabeledDocumentField-Cicw8ABs-BakwqLCx.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js → LabeledDropDownFormattedTextField-BEVVgIGK-CLPycccH.js} +2 -2
  95. package/dist/assets/{LabeledText-A1h_ionS-YHsepFfP.js → LabeledText-C56xvYuX-BJO8VuVp.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js → LabeledUserSingleSelectWithSubtitlesField-CF4oVI17-1aX-FRHw.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js → LabeledZeniRolesDropDownField-B5rxYfam-B3apIRze.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js → LinkJETransactionPage-DbnaYlRA-4hyH1rgp.js} +9 -9
  99. package/dist/assets/{LockCardPage-BDlnh_zf-coxMaBNB.js → LockCardPage-XHbTmzq8-CfUgYvqO.js} +20 -20
  100. package/dist/assets/{LowBalancePopup-CBPl_udd-D2XBBf4O.js → LowBalancePopup-IF7NG9aL-CmWtcxy6.js} +2 -2
  101. package/dist/assets/MagicLinkACHDetailsPage-DbhqYo7W-DLN4BmVt.js +1 -0
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js → MagicLinkDomesticWireDetailsPage-D0JDLfbz-CKYFGEdB.js} +1 -1
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-DChqrJN7-j39Z7g0H.js +1 -0
  104. package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js → MagicLinkSuccessPage-Cyr3p_8a-DYu_aa7F.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js → MagicLinkTitleSection-A4zyF5bg-CuWJG08o.js} +1 -1
  106. package/dist/assets/MailingDetailsSection-DqSOlu2t-XHdrpb5B.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js → MyBankConnectionsSettingsPage-DtTjhna--DxAAS5ce.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js → MyPendingActivationChargeCardListPage-CKSWf7I4-CVnClwp0.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js → MyProfileSettingsPage-WF1pNlyU-C1ew1Kqs.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-D2v1fhLS-C3H8GgqL.js → NavBarWithPicker-DiCaJ8Qy-D9erSe1B.js} +3 -3
  111. package/dist/assets/{NavigationArrow-CWUL-6kN-BrqMd9Lj.js → NavigationArrow-f4Z3TuXg-DjAooGX3.js} +6 -6
  112. package/dist/assets/{NavigationDots-c-XSrFzE-Dxzsqafk.js → NavigationDots-WiVjbUsC-BSgmW_if.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js → NewGlobalMerchantPage-kvjjwV8d-C-gYRU5V.js} +1 -1
  114. package/dist/assets/{NoDataChart-DJhSgtLu-B7rWK9ww.js → NoDataChart-DlSLTzZl-qjL1S4Ow.js} +1 -1
  115. package/dist/assets/{NoDataTable-BZiwo2qK-1fFq9QL7.js → NoDataTable-9vLoRpsR-NJzyakwC.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BN5unYX8-RIPoUtcm.js → NotFoundPage-CFlNCHFs-CZtYv7Ed.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js → NotificationSettingsPage-KJzE9v4p-D_0qzf80.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-ThKLok_w-DiwvAaDh.js → NotificationsListConfig-6sXXtF_E-CjeFzlDg.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Uvu6XESA-C7IDz_PV.js → NotificationsPage-D4AmPdo9-Lse12GIJ.js} +11 -11
  120. package/dist/assets/{OpExByVendorPage-QyqRkD2_-BZtZlU0k.js → OpExByVendorPage-B5Wtu3ww-DoL2G9-j.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-BG9y5C0t-B5Ccc20I.js → OverlayContainerPage-BG9y5C0t-B-_gIiaG.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js → PandLWithForecastPage-CjkaxTx7-hcg5r7tq.js} +2 -2
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js → PaymentAccountSetupBillingAddressSection-eeLSg7xb-BPuUddlR.js} +6 -6
  124. package/dist/assets/{PeoplePage-C5ZdpVyR-D5gb3H9N.js → PeoplePage-CQREy6SW-B0AK4Oec.js} +1 -1
  125. package/dist/assets/{Preview-M7TzJD6j.js → Preview-CZH7Vvu6.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CXjLTOLy-qhgO5u3T.js → ProductsCarousel-COZZMTcH-CfEx379j.js} +3 -3
  127. package/dist/assets/{PromoBaseCards-CN9uZfG4-4ZG6rDcT.js → PromoBaseCards-Bmn6TN2k-B692-NLa.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js → QBOConnectionDialog-DYxoiSkA-COoNZDfT.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-BrtLMvEP-CWf9qAKV.js → QBOSetupSection-Cdz2PDxV-1MtshN_P.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js → ReimbursementApprovalRuleDetailPage-C-QEoqCw-DEqspRF0.js} +2 -2
  131. package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js → ReimbursementApprovalRulesPage-Ch2sxTFV-CKSEAZRx.js} +9 -9
  132. package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js → ReimbursementDetailPage-DSF6SfKn-BbgmDgbl.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js → ReimbursementPromoPage-F1ROFd63-Df7C1VVh.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js → ReimbursementSetUpPage-l2mhLFuo-DfcOr7HI.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js → ReimbursementsBulkReviewDrawerPage-DyPxPnlu-BUgOGjSI.js} +1 -1
  136. package/dist/assets/{ReloadCard-Bjp8ygC2-QCThgpLx.js → ReloadCard-CDcJMl9F-tXak7uFI.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js → ReportTableViewSelector-DvCk55Hn-CTarIpK9.js} +1 -1
  138. package/dist/assets/{ReportsPage-DrjOGopt-DJaJ6UxU.js → ReportsPage-DfqqKSt3-BxlHe2bX.js} +49 -38
  139. package/dist/assets/{RevenueChart-CqGvXDr4-ls1jVoKH.js → RevenueChart-BONT9upM-Cun2QP3i.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js → ReviewDetailsPage-857bVurA-D9gCRs9U.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-Cxkp85Kw-C7d3vwBi.js → ReviewOverlay-ClQg7d2j-j91vCn0m.js} +1 -1
  142. package/dist/assets/RoleWithToolTip-C0G1Hgp_-BKrTDu8H.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js → ScheduleDetailsFixedAssetsPage-CJ_JBtxS-BCPY7QpL.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js → ScheduleDetailsPage-B1aEwPL--vu1ZFkSU.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js → ScheduleSequenceTable-DhU7PI91-BAKwnm-f.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-DJ_rUo9A.js → ScreenRoutes-B4US_7hw.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js → SetUpAccountSection-C8dulq9s-DDXcc18s.js} +11 -11
  148. package/dist/assets/{SignIn-CDEsZw_T-0YUs2QmP.js → SignIn-wDe7lbGR-dg2gJssp.js} +1 -1
  149. package/dist/assets/{SignInScreen-CUXsEOc0.js → SignInScreen-CnOpPKTK.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-MOCWuROI-DKR38Veg.js → SpendManagementListViewPage-BdddUHrW-CnqRniMi.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js → SpendManagementPerTabPage-BBJm3884-DoJtdm-x.js} +18 -18
  152. package/dist/assets/{SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js → SpendManagementSection-6R5y0Hy4-D5jOLcFY.js} +1 -1
  153. package/dist/assets/{StatementItem-DjvU5wiI-DHTNeSpB.js → StatementItem-qsoXKx_p-DBQZldZM.js} +1 -1
  154. package/dist/assets/{StatementsPage-DYLp_e7W-C5hw_hkQ.js → StatementsPage-Cn7WG5-S-AcQ1iHip.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-jxaonB4S-Dw8Z5KsP.js → StatusSwitcher-D3qCg5J1-BZCFmoiB.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-CudjNlsi-Dk2m1EXt.js → SubTabSwitcher-BXajy75j-DZugBDGb.js} +1 -1
  157. package/dist/assets/{SummaryCard-DPOhBmkr-Cj1Lt-Mp.js → SummaryCard-B1d4_5lE-uu1gTNTh.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-CTMoHv0R-DzrReeZE.js → TaskManagementPage-h3Rb49Jj-Mtdf3ds1.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js → TimeRangeSwitcher-DpUOmqiR-DjFTIpwn.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js → TimeframeSwitcher-BKEtsv_r-DfkM31PQ.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js → TimeframeSwitcherWithToggle-DECnQIMT-Cmt_c04c.js} +10 -10
  162. package/dist/assets/{TopExCard-CG8YLsYe-CsdBprjg.js → TopExCard-leQR29Sq-B0Y6UXAe.js} +3 -3
  163. package/dist/assets/{TopExDetailPage-TvYCbzSP-C1DN6y7-.js → TopExDetailPage-Dgg7Do6D-DdiiFE6N.js} +8 -8
  164. package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js → TransactionActivityLogPage-CU2pUJQL-CUfFmWBA.js} +6 -6
  165. package/dist/assets/{TransactionDetailPage-DUouBL0o-BwsVWjsw.js → TransactionDetailPage-FT2IPLH7-BTpqS69f.js} +17 -17
  166. package/dist/assets/{TransactionList-B16NONME-MhxbTKXX.js → TransactionList-C2MGkQYM-DYhz6ZPl.js} +1 -1
  167. package/dist/assets/{TransactionListBig-CItPbTRV-CTDy7YXE.js → TransactionListBig-CZ3jIxzR-CRCbDlw1.js} +4 -4
  168. package/dist/assets/{TransactionListPage-DNecYY8M-DvyKlW5R.js → TransactionListPage-PCa4exLO-BxsKDJxF.js} +1 -1
  169. package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js → TransactionVendorDetailPage-BgcqndCu-JJLz26CY.js} +1 -1
  170. package/dist/assets/{TransferDrawerPage-Dsmbswu0-DuQeRo8o.js → TransferDrawerPage-SirvPH4z-I4L9iRhs.js} +28 -28
  171. package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js → TreasuryOverviewPage-B_WK1aOv-CprBsLp-.js} +12 -12
  172. package/dist/assets/{TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js → TreasuryPromoPage-B_D63Dr2-CnSqy837.js} +9 -9
  173. package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js → TreasuryStatementsPage-BGe0fhBe-DTEczdhN.js} +2 -2
  174. package/dist/assets/TreasuryTaxLetterPage-9gNdkQZp-C1BQoAja.js +58 -0
  175. package/dist/assets/{TrendChart-GMMat-NG-CAc9nAfG.js → TrendChart-COItOWPp-BY69H27v.js} +1 -1
  176. package/dist/assets/{TrendWithTransactions-CrA4opNV-BTtTpjeg.js → TrendWithTransactions-DgAw_8CI-31-F3YNz.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js → UncategorizedAccountsMappingPage-B9EziB6Q-B5XRflrD.js} +5 -5
  178. package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js → UnitIntegrationPage-DGWNyWV1-DDxjCVGo.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js → UploadAdditionalDocumentOverlay-DWmMz_8y-CvLWvP9X.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-BHDivuPB-Cn8-yps4.js → Vendor2FAPopup-dh2g8kqu-CdLofAYR.js} +1 -1
  181. package/dist/assets/VendorACHDetailsPage-C0vIRpRW-Bl9ig0z-.js +1 -0
  182. package/dist/assets/{VendorDetailPage-DEu-yS8w-DNet96B_.js → VendorDetailPage-CGqoIODq-VSGzsMrn.js} +10 -10
  183. package/dist/assets/VendorDomesticWireDetailsPage-BVXSOMiH-B_RQPHLo.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js → VendorFiling1099EditablePage-CsnlHrCl-AUunsfoG.js} +1 -1
  185. package/dist/assets/{VendorFirstReviewPage-klbCHS04-BFjy2m5_.js → VendorFirstReviewPage-DC1j2sO_-CtBZ5OYr.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js → VendorInternationalWireDetailsPage-Drr00a6C-CQ1ZShGA.js} +8 -8
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CZ5N8G2o-BqZ7DdzL.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js → VendorsAccountsSection-BtdwR8u4-DTioiVZE.js} +1 -1
  189. package/dist/assets/{VerifyDevice-Dhu5iywf-HX-kw30c.js → VerifyDevice-Bhr_yHpE-BbGiRxv5.js} +3 -3
  190. package/dist/assets/{VideoPlayer-ZGjx_Hp7-Nomi0VD9.js → VideoPlayer-wlJX6lEq-D6dTvqn0.js} +2 -2
  191. package/dist/assets/{VideoPopup-R3u0N_if-DgVn2CAl.js → VideoPopup-BPptwR51-COhEr58N.js} +1 -1
  192. package/dist/assets/{WarningsDrawerPage-TerLFC4m-C5ptwy3N.js → WarningsDrawerPage-CHDMmfGz-BXafaQFq.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js → ZeniAccountDetailPage-CSsu44ls-BwOj8KvI.js} +9 -9
  194. package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js → ZeniAccountListViewPage-BZwGCrzx-Dpx7_w7g.js} +22 -22
  195. package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js → ZeniAccountNavBarPieces-CrNjnkNS-DjQVooJA.js} +5 -5
  196. package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js → ZeniAccountPromoPage-CahV-Rmf-B4cDQ_nu.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js → ZeniAccountSetupPage-DSNDNKZr-CY5M0A2Q.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-CznSgVJF-iBl18n1m.js → ZeniCopyright-BNGdkMOa-Bn4hiDwJ.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js → ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-CM6IrCpv.js → add-to-wallet-DgdBD8_G-OZ5gpoAM.js} +1 -1
  201. package/dist/assets/{analytics-B_VWX-BQ.js → analytics-TwdLweES.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bh8o1v3y-C4Sojiq_.js → analyticsHelper-DjQYjslY-DBXj-dJs.js} +1 -1
  203. package/dist/assets/{analyticsHelper-B8fd42um.js → analyticsHelper-iTM7ZfDG.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-CQGzMyhs.js → arrow-south-east-round-PEovUgvH-q2OU5IkV.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ba30im8q.js → auto-transfer-rule-mbafm5D3-BEBK8d08.js} +1 -1
  206. package/dist/assets/{chartTypes-C14YY2Rq-DHigu710.js → chartTypes-BGl-YMiu-WdB5HF6p.js} +1 -1
  207. package/dist/assets/{commonDimensions-CVpc-NCw-D6CVEqC_.js → commonDimensions-CuKo3wam-CITxsF7B.js} +1 -1
  208. package/dist/assets/{commonTypes-Ec-PxfpT-Dj2109B_.js → commonTypes-CfAg6Jvv-D6_uVQ3i.js} +1 -1
  209. package/dist/assets/{constants-DgwGHN1r.js → constants-BRyQqmbK.js} +1 -1
  210. package/dist/assets/{core-Cjh03OPu.js → core-C_RwbDgZ.js} +1 -1
  211. package/dist/assets/{dash.all.min-CCSNDyIp.js → dash.all.min-BXIjGNzm.js} +1 -1
  212. package/dist/assets/{downloadPdf-BuPJ6cfr-Dyz4TLVR.js → downloadPdf-Dcd8BY_9-DevbEgfI.js} +1 -1
  213. package/dist/assets/{empty-iTJcp-B8.js → empty-CN54c-dU.js} +1 -1
  214. package/dist/assets/{empty-DlGh28fD.js → empty-D7p7xixl.js} +1 -1
  215. package/dist/assets/{epic-hN0N_N79.js → epic-CThn8LAI.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-TbiyaSAn.js → gift-box-Cmt9OgIZ-oia6LvJT.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CxIH_dl6.js → graphic-no-data-l-DU4J8fDt-DCjrEnAk.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js → graphic-no-data-net-burn-l-CzmycA0m-Db_-34x6.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Dbtylvfc.js → handshake-BPg58FML-Dcowt3IG.js} +1 -1
  220. package/dist/assets/{helper-AgH8nJln-Bk3G7LVh.js → helper-DkzA3y2L-C_9Y7_ic.js} +1 -1
  221. package/dist/assets/{index-C4Fispms.js → index-B-ek68tb.js} +1 -1
  222. package/dist/assets/{index-aCBnCBoN.js → index-B8J3c9-k.js} +7 -7
  223. package/dist/assets/{index-ChCGry2d.js → index-BC4cjDzB.js} +1 -1
  224. package/dist/assets/{index-DAwCqq2t.js → index-C7AzBAhT.js} +1 -1
  225. package/dist/assets/{index-DFowIMIZ.js → index-CJXgYa1j.js} +1 -1
  226. package/dist/assets/{index-B5cuJQnR.js → index-DvYI3iXJ.js} +1 -1
  227. package/dist/assets/{index-Bk7UJBjY.js → index-hPlkpvne.js} +1 -1
  228. package/dist/assets/{lexical-9REae7LV.js → lexical-DZ4skawM.js} +1 -1
  229. package/dist/assets/{liveblocks-CEY7tsth.js → liveblocks-CN5hALk7.js} +1 -1
  230. package/dist/assets/{lottie-BmLFYENY.js → lottie-B-zs781A.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-lABm-2N9-B58RPCeu.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-COcUb2pF-kcDRUVhM.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-BDjo5N-i-mJOJcAn8.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-CvVUjW74-DDD8EZiJ.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js → mapTimeframeBalancesToTreeNode-CwHF76sn-r5bNXF3q.js} +1 -1
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B7LYTZXQ-71mHcXTa.js +1 -0
  237. package/dist/assets/{mui-BosmckWV.js → mui-B_fu8zAT.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-C2A7RuXG.js → page-detail-CWX5S47F-CvAL0hAO.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-CWVsp72I.js → panelSelectedMixin-Cddsb26L-DRHuamSe.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-Dhw9u_Vt.js → radio-default-CiSgisfh-BgsJfXrp.js} +1 -1
  241. package/dist/assets/{react-CLFAbS9n.js → react-B3oFwy7V.js} +2 -2
  242. package/dist/assets/{react-DT8qkoNX.js → react-BG0GUKse.js} +1 -1
  243. package/dist/assets/{react-ddvEC0y3.js → react-Bcm_MkQe.js} +1 -1
  244. package/dist/assets/{react-DSh5n3Dg.js → react-CWuBuyxj.js} +1 -1
  245. package/dist/assets/{react-DAXSMqh2.js → react-DJ0zzqQv.js} +1 -1
  246. package/dist/assets/{react-D8DqvAAs.js → react-PE1K_DTb.js} +1 -1
  247. package/dist/assets/{react-DxfKP-TY.js → react-rwxEP-9P.js} +1 -1
  248. package/dist/assets/{react-DTZ405nF.js → react-uUMjmJkq.js} +1 -1
  249. package/dist/assets/{recharts-CimMNwCJ.js → recharts-BkmpOx_p.js} +1 -1
  250. package/dist/assets/{sentry-DzaNjvx0.js → sentry-xNvKSthz.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-Cva3YFBn.js → shield-DOlUxcFf-BV2AyAgf.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-CGYYTIjt-D5mv6_v1.js +1 -0
  253. package/dist/assets/{toChartData-G5y-N82I-BBptd2Gk.js → toChartData-B4ligi4c-D4j3IIGd.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js → upload-reimbursement-receipt-O2N8vcO7-Deu8S236.js} +1 -1
  255. package/dist/assets/{uploadAttachment-RbkIBMGO-TVHnian4.js → uploadAttachment-DgPDimcm-DyuT8s2S.js} +5 -5
  256. package/dist/assets/{uploadReceipts-CIgkuVpu-Dil-Qv4Z.js → uploadReceipts-CIgkuVpu-CmRP4shz.js} +1 -1
  257. package/dist/assets/{url-ymOv7sCf.js → url-CPrPdBBS.js} +1 -1
  258. package/dist/assets/{url-KRGewpHH.js → url-DN9fcrN3.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-BgaoTE4k.js → useLongPress-GCK2COYQ-DMOFKAWg.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-Bnk1sVWO.js → usp-line-BBd1wKwW-Bx4ltDgD.js} +1 -1
  261. package/dist/assets/{utils-THjX-QSp.js → utils-4bW-VyLb.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BNpJ2txa.js → zeni-epic-state-SAYXyeZn.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +2 -2
  265. package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +0 -18
  266. package/dist/assets/AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js +0 -59
  267. package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +0 -38
  268. package/dist/assets/ChargeCardPromoPage-D4canPX9-DuNs-QpK.js +0 -222
  269. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +0 -1
  270. package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +0 -18
  271. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js +0 -1
  273. package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +0 -21
  274. package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +0 -22
  275. package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +0 -58
  276. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +0 -1
  277. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +0 -1
  278. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +0 -1
  279. package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +0 -1
  280. package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +0 -1
  283. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +0 -1
@@ -1,4 +1,4 @@
1
- import{x as a,e as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w as ae,d as A,o,N as j,M as ee,O as $,bs as se,bt as le,ak as de,as as ce,aQ as me,bu as pe,aq as he,L as ue,K as G,bv as te,a as q,aV as oe}from"./index-aCBnCBoN.js";import{a as T,P as C}from"./sentry-DzaNjvx0.js";import{n as i,c as ge}from"./mui-BosmckWV.js";import{FC as xe,bg as we,bC as O}from"./zeni-epic-state-BNpJ2txa.js";import{G as $e,c as be}from"./AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js";import{a as ye}from"./ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./SummaryCard-DPOhBmkr-Cj1Lt-Mp.js";import"./ReloadCard-Bjp8ygC2-QCThgpLx.js";import"./NavigationArrow-CWUL-6kN-BrqMd9Lj.js";import"./NavigationDots-c-XSrFzE-Dxzsqafk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="4c85a0c1-ba8c-47db-a749-4b429d072d48",e._sentryDebugIdIdentifier="sentry-dbid-4c85a0c1-ba8c-47db-a749-4b429d072d48")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{x as a,e as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w as ae,d as A,o,N as j,M as ee,O as $,bs as se,bt as le,ak as de,as as ce,aQ as me,bu as pe,aq as he,L as ue,K as G,bv as te,a as q,aV as oe}from"./index-B8J3c9-k.js";import{a as T,P as C}from"./sentry-xNvKSthz.js";import{n as i,c as ge}from"./mui-B_fu8zAT.js";import{FC as xe,bg as we,bC as O}from"./zeni-epic-state-SAYXyeZn.js";import{G as $e,c as ye}from"./AccountsPromoCardStack-Ywhto4lV-C2VycrWJ.js";import{a as be}from"./ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./SummaryCard-B1d4_5lE-uu1gTNTh.js";import"./ReloadCard-CDcJMl9F-tXak7uFI.js";import"./NavigationArrow-f4Z3TuXg-DjAooGX3.js";import"./NavigationDots-WiVjbUsC-BSgmW_if.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="a851ee85-954e-4a45-9024-be4ed7119a41",e._sentryDebugIdIdentifier="sentry-dbid-a851ee85-954e-4a45-9024-be4ed7119a41")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -97,7 +97,7 @@ import{x as a,e as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w
97
97
  background: ${e=>e.theme.colors.background};
98
98
  text-align: center;
99
99
  border-radius: ${o.sp1};
100
- `;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:k}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,u=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=C.useState(!1),r=e.statementCloseDay,[y,b]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:u),[x,p]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[M,H]=C.useState(!1),_=C.useRef(r),D=V();C.useEffect(()=>{_.current!==r&&H(!1)},[r]);const E=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},F=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let z="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?z=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:z=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${F(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===u&&p(void 0),b(d)},N=(s,d)=>{s.stopPropagation(),p(d),b(m)},U=()=>{p(void 0),b(u)},h=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(H(!0),k?.(s,d)),f(!1),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},v=()=>t.jsxs(J,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),W=()=>t.jsxs(ke,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(Q,{checked:y===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:y===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),v(),t.jsx(je,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Pe,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>N(d,s),children:t.jsx(De,{children:s})},s))})]}),t.jsxs(Q,{checked:y===u,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:u,value:u,onChange:I,checked:y===u,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>U(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Te,{children:[t.jsx(q,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(q,{size:"small",variant:"primary",label:"Save",onClick:h,disabled:x==null&&y!==u,"data-testid":w("statement-close-day-button-primary")})]})]}),Y=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:E,"data-testid":w("statement-close-day-modal"),children:[M?t.jsx(ue,{size:"Small",start:!0}):z?t.jsxs(ve,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Y,children:z})]}):O(D.loggedInUserRole??[])&&c===!0?t.jsxs(Se,{"data-testid":w("add-statement-close-day"),children:[t.jsx(Ce,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Y,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?W():""]})})}const He=new a(n[9],98),S={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},Ie={textContainer:new j("standardMedium","largeMedium")},Re=i.div`
100
+ `;function Ae({accountDetails:e,analytics:g,isZeniUser:c,onSetAccountsStatementDate:k}){const m=$.getLocalizedStrings().statementCloseDay.dropdown.option1,u=$.getLocalizedStrings().statementCloseDay.dropdown.option2,[P,f]=C.useState(!1),r=e.statementCloseDay,[b,y]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?m:u),[x,p]=C.useState(r!=="LAST_DAY_OF_THE_MONTH"?r:void 0),[M,H]=C.useState(!1),_=C.useRef(r),D=V();C.useEffect(()=>{_.current!==r&&H(!1)},[r]);const E=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateClicked,e.accountId,e.accountName,"Card Balance",""))},F=s=>{const d=["th","st","nd","rd"],Z=s%100;return s+(d[(Z-20)%10]||d[Z]||d[0])};let z="";r!==void 0&&(r==="LAST_DAY_OF_THE_MONTH"?z=$.getLocalizedStrings().statementCloseDay.ordinalText.lastDate:z=`${$.getLocalizedStrings().statementCloseDay.ordinalText.prefix} ${F(r)} ${$.getLocalizedStrings().statementCloseDay.ordinalText.suffix}`);const I=s=>{const d=s.target.value;d===u&&p(void 0),y(d)},N=(s,d)=>{s.stopPropagation(),p(d),y(m)},U=()=>{p(void 0),y(u)},h=()=>{const s=e.accountId,d=x??"LAST_DAY_OF_THE_MONTH";r!==d&&(H(!0),k?.(s,d)),f(!1),g.trackCardStatementCloseDate(G.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},v=()=>t.jsxs(J,{children:[$.getLocalizedStrings().statementCloseDay.pickDate.prefix,t.jsx(Be,{children:x??" - "}),$.getLocalizedStrings().statementCloseDay.pickDate.suffix]}),W=()=>t.jsxs(ke,{role:"presentation","data-testid":w("statement-close-day-section"),onClick:s=>{s.stopPropagation()},children:[t.jsxs(Q,{checked:b===m,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:m,value:m,onChange:I,checked:b===m,style:{width:"100%"},"data-testid":w("statement-close-day-input")}),v(),t.jsx(je,{children:Array.from({length:28},(s,d)=>d+1).map(s=>t.jsx(Pe,{isSelectedDate:s===x,"data-testid":w("statement-close-day-text"),onClick:d=>N(d,s),children:t.jsx(De,{children:s})},s))})]}),t.jsxs(Q,{checked:b===u,children:[t.jsx("input",{type:"radio",name:"statementCloseDay",id:u,value:u,onChange:I,checked:b===u,style:{width:"100%"},"data-testid":w("statement-close-day-input-last-day")}),t.jsx(J,{onClick:()=>U(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Te,{children:[t.jsx(q,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(q,{size:"small",variant:"primary",label:"Save",onClick:h,disabled:x==null&&b!==u,"data-testid":w("statement-close-day-button-primary")})]})]}),Y=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:E,"data-testid":w("statement-close-day-modal"),children:[M?t.jsx(ue,{size:"Small",start:!0}):z?t.jsxs(ve,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Y,children:z})]}):O(D.loggedInUserRole??[])&&c===!0?t.jsxs(Se,{"data-testid":w("add-statement-close-day"),children:[t.jsx(Ce,{}),t.jsx(K,{className:"statementCloseDayText",windowSize:Y,children:$.getLocalizedStrings().statementCloseDay.statement})]}):"",P?W():""]})})}const He=new a(n[9],98),S={contentContainerPadding:new a(n[3],n[4]),minItemHeight:new a(n[9],96),imageHeight:new a(n[5],n[7]),imageWidth:new a(n[5],n[7]),amountWrapperWidth:new a(100,230),titleLeftMargin:new a(n[2],n[3])},Ie={textContainer:new j("standardMedium","largeMedium")},Re=i.div`
101
101
  display: flex;
102
102
  width: 100%;
103
103
  `,Le=i.div`
@@ -157,7 +157,7 @@ import{x as a,e as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w
157
157
  align-items: flex-end;
158
158
  flex-direction: column;
159
159
  justify-content: center;
160
- `,Ue=i(pe)``;function We({data:e,showStatementSection:g,analytics:c,isZeniUser:k,onItemClick:m,onSetAccountsStatementDate:u}){const{key:P,title:f,amount:r,logoUri:y}=e,b=V(),x=b.loggedInUserRole!=null&&!we(b.loggedInUserRole),p=R();return t.jsx(Re,{windowSize:p,children:t.jsx(Le,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:O(b.loggedInUserRole??[])&&k===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(_e,{windowSize:p,children:[t.jsx(Ee,{windowSize:p,src:y,loading:"lazy"}),t.jsx(Fe,{windowSize:p,children:f})]}),t.jsxs(Ne,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:k,onSetAccountsStatementDate:u,analytics:c})]})]})})})}const Oe=C.memo(We),B=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},L={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ve=i.div`
160
+ `,Ue=i(pe)``;function We({data:e,showStatementSection:g,analytics:c,isZeniUser:k,onItemClick:m,onSetAccountsStatementDate:u}){const{key:P,title:f,amount:r,logoUri:b}=e,y=V(),x=y.loggedInUserRole!=null&&!we(y.loggedInUserRole),p=R();return t.jsx(Re,{windowSize:p,children:t.jsx(Le,{"data-testid":w("transaction-list-item-big",e.title),windowSize:p,showEditStatementIcon:O(y.loggedInUserRole??[])&&k===!0,isClickEnabled:x,onClick:()=>x===!0?m?.(P,e.source):null,children:t.jsxs(Me,{windowSize:p,children:[t.jsxs(_e,{windowSize:p,children:[t.jsx(Ee,{windowSize:p,src:b,loading:"lazy"}),t.jsx(Fe,{windowSize:p,children:f})]}),t.jsxs(Ne,{windowSize:p,children:[t.jsx(Ue,{children:me("0,0",r)}),g&&p!=="small"&&t.jsx(Ae,{accountDetails:e.source,isZeniUser:k,onSetAccountsStatementDate:u,analytics:c})]})]})})})}const Oe=C.memo(We),B=$.getLocalizedStrings().zeniAccountsPromoCard,l={marginTop:new a(n[6],n[8]),marginBottom:new a(n[3],n[4]),itemPaddingBottom:new a(n[3],n[4]),maxWidth:new a(100,67),sectionTitleHeight:new a(83,110),promoBannerPadding:new a(n[3],n[4]),promoBannerMarginBottom:new a(n[3],n[4]),promoBannerGap:new a(n[1],n[3]),promoHighlightContainerMaxHeight:new a(30,ae.h5Regular.lineHeightValue),promoButtonBorderRadius:new a(n[1],n[2]),promoButtonPaddingVertical:new a(2,6),promoButtonPaddingHorizontal:new a(n[1],n[3]),promoFooterPositionBottom:new a(n[3],n[1]),promoFooterPositionRight:new a(n[3],n[4]),promoFooterMarginTop:new a(0,n[2])},L={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ve=i.div`
161
161
  display: flex;
162
162
  flex: 1 1 auto;
163
163
  flex-direction: column;
@@ -281,4 +281,4 @@ import{x as a,e as R,ay as V,aH as ie,a_ as ne,V as t,b5 as re,ac as w,u as n,w
281
281
  position: absolute;
282
282
  bottom: ${e=>l.promoFooterPositionBottom.valuePx(e.size)};
283
283
  right: ${e=>l.promoFooterPositionRight.valuePx(e.size)};
284
- `,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ye,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(qe,{children:e}),t.jsx(Ke,{children:g})]})})};function Ct({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:k,zeniAccountsPromoCardReport:m,onItemClick:u,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),y=T.createRef(),[b,x]=T.useState(0),p=V(),M=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",_=ne("0,0",M,H),D=T.useRef(u);D.current=u;const E=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Qe,{children:t.jsx(Je,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:E,onSetAccountsStatementDate:P})})})}),z=T.useRef(null),I=()=>{const h=z.current;h!=null&&h.clientHeight>0&&h.clientHeight!=b&&x(h.clientHeight)},N=()=>{f?.(m?.depositAccountId??"")},U=xe(p.loggedInUserRoleMap);return t.jsxs(Ve,{windowSize:r,listHeight:b,"data-testid":w("transaction-list-big"),children:[t.jsx(st,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{children:t.jsx(re,{children:({height:h,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(et,{width:v,size:r,children:[t.jsxs(tt,{size:r,children:[t.jsx(ot,{size:r,children:B.keepInterest.prefixCashBalance}),t.jsx(it,{size:r,children:$e("keepInterest",be(m.maxPossibleInterest??0))})]}),t.jsx(nt,{onClick:N,size:r,children:t.jsx(rt,{size:r,children:U?m.depositAccountId!=null?B.button:B.signUp:B.learnMore})}),t.jsx(at,{size:r,children:B.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Xe,{ref:y,height:h,width:v,style:{overflow:"unset"},innerElementType:ye,itemCount:c.length,itemSize:He.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:I,itemKey:W=>c[W].key,innerRef:z,children:F})]})})})]})}export{Ct as default,l as dimensions};
284
+ `,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ye,{windowSize:c,children:t.jsxs(Ge,{windowSize:c,children:[t.jsx(qe,{children:e}),t.jsx(Ke,{children:g})]})})};function Ct({sectionTitle:e,analytics:g,transactionArray:c,isZeniUser:k,zeniAccountsPromoCardReport:m,onItemClick:u,onSetAccountsStatementDate:P,onPromoCardBtnClick:f}){const r=R(),b=T.createRef(),[y,x]=T.useState(0),p=V(),M=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",_=ne("0,0",M,H),D=T.useRef(u);D.current=u;const E=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Qe,{children:t.jsx(Je,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:E,onSetAccountsStatementDate:P})})})}),z=T.useRef(null),I=()=>{const h=z.current;h!=null&&h.clientHeight>0&&h.clientHeight!=y&&x(h.clientHeight)},N=()=>{f?.(m?.depositAccountId??"")},U=xe(p.loggedInUserRoleMap);return t.jsxs(Ve,{windowSize:r,listHeight:y,"data-testid":w("transaction-list-big"),children:[t.jsx(st,{sectionTitle:e,totalFormatted:_}),t.jsx(Ze,{children:t.jsx(re,{children:({height:h,width:v})=>t.jsxs(t.Fragment,{children:[m?.isShowDepositAccountsPromo===!0?t.jsxs(et,{width:v,size:r,children:[t.jsxs(tt,{size:r,children:[t.jsx(ot,{size:r,children:B.keepInterest.prefixCashBalance}),t.jsx(it,{size:r,children:$e("keepInterest",ye(m.maxPossibleInterest??0))})]}),t.jsx(nt,{onClick:N,size:r,children:t.jsx(rt,{size:r,children:U?m.depositAccountId!=null?B.button:B.signUp:B.learnMore})}),t.jsx(at,{size:r,children:B.keepInterest.footer.replace(/<interest>/,m.maxAnnualPercentageYield.toString())})]}):null,t.jsx(Xe,{ref:b,height:h,width:v,style:{overflow:"unset"},innerElementType:be,itemCount:c.length,itemSize:He.value(r)+l.itemPaddingBottom.value(r),onItemsRendered:I,itemKey:W=>c[W].key,innerRef:z,children:F})]})})})]})}export{Ct as default,l as dimensions};
@@ -1,4 +1,4 @@
1
- import{g as M,bB as R,bC as q,V as t,bD as J,L as K,ac as h,bE as Q,o as s,an as U}from"./index-aCBnCBoN.js";import{a as r,n as G}from"./sentry-DzaNjvx0.js";import{n as l}from"./mui-BosmckWV.js";import{D as H}from"./TransactionList-B16NONME-MhxbTKXX.js";import{t as W}from"./page-detail-CWX5S47F-C2A7RuXG.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js";import"./BoxItem-CvCo0wr6-DKAIvhWo.js";import"./commonDimensions-CVpc-NCw-D6CVEqC_.js";import"./panelSelectedMixin-Cddsb26L-CWVsp72I.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="9b66d2b5-4223-4f0c-823f-a842e6144bec",e._sentryDebugIdIdentifier="sentry-dbid-9b66d2b5-4223-4f0c-823f-a842e6144bec")}catch{}})();const X=l.div`
1
+ import{g as M,bB as R,bC as q,V as t,bD as J,L as K,ac as h,bE as Q,o as s,an as U}from"./index-B8J3c9-k.js";import{a as r,n as G}from"./sentry-xNvKSthz.js";import{n as l}from"./mui-B_fu8zAT.js";import{D as H}from"./TransactionList-C2MGkQYM-DYhz6ZPl.js";import{t as W}from"./page-detail-CWX5S47F-CvAL0hAO.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./ConstrainedInnerElement-CgdnMeoA-D3ljsIVB.js";import"./BoxItem-C39hQSVg-DygFSSe8.js";import"./commonDimensions-CuKo3wam-CITxsF7B.js";import"./panelSelectedMixin-Cddsb26L-DRHuamSe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="6a39e112-67a8-4f1b-9fe4-f6957885533f",e._sentryDebugIdIdentifier="sentry-dbid-6a39e112-67a8-4f1b-9fe4-f6957885533f")}catch{}})();const X=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -1,4 +1,4 @@
1
- import{e as H,O as k,V as o,L as R,ac as L,aT as W,o as a,x as g,b as _,N as Q,de as U,aa as Z,cQ as G,ae as J,u as r,ht as B,hu as F,hv as M,g as K,cV as X,gZ as N,hw as Y,b9 as ee,hA as oe,hB as te}from"./index-aCBnCBoN.js";import{a as I}from"./sentry-DzaNjvx0.js";import{n as c}from"./mui-BosmckWV.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7a5896cd-566a-42ff-a4b3-720332174ac7",e._sentryDebugIdIdentifier="sentry-dbid-7a5896cd-566a-42ff-a4b3-720332174ac7")}catch{}})();const D=(e,n)=>`${e}.${n}`,z={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=H(),y=K(),$=z.labelWidth.value(i),j=z.controlWidth.value(i),V=s=>h.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(N,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(N,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Y,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{e as H,O as k,V as o,L as R,ac as L,aT as W,o as a,x as g,b as _,N as Q,de as U,aa as Z,cQ as G,ae as J,u as r,ht as B,hu as F,hv as M,g as K,cV as X,gZ as N,hw as Y,b9 as ee,hA as oe,hB as te}from"./index-B8J3c9-k.js";import{a as I}from"./sentry-xNvKSthz.js";import{n as c}from"./mui-B_fu8zAT.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./zeni-epic-state-SAYXyeZn.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7a5896cd-566a-42ff-a4b3-720332174ac7",e._sentryDebugIdIdentifier="sentry-dbid-7a5896cd-566a-42ff-a4b3-720332174ac7")}catch{}})();const D=(e,n)=>`${e}.${n}`,z={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=H(),y=K(),$=z.labelWidth.value(i),j=z.controlWidth.value(i),V=s=>h.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",b=s=>{const O=h.find(q=>q.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(N,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:F(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(N,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Y,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:M(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e,o as a,O as R,x as c,b as Ne,n as dt,bb as ut,as as ft,c as be,ak as De,an as fe,aS as ce,fO as pt,aa as Xe,cQ as mt,a_ as ht,aR as gt,d as Z,ae as qe,fS as ke,fT as Ae,gq as wt,c0 as ye,gk as xt,hW as $t,u as o,fC as bt,cq as Ue,c9 as Dt,fg as yt,bM as Tt,ao as Je,g3 as Ct,bY as St,cb as Ze,h9 as vt,ha as kt}from"./index-aCBnCBoN.js";import{a as u}from"./sentry-DzaNjvx0.js";import{n}from"./mui-BosmckWV.js";import{bL as At}from"./zeni-epic-state-BNpJ2txa.js";import{v as Lt}from"./ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js";import{r as Pt}from"./AccountInfoPageContent-eYEsv7ac-CxPwO1am.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./downloadPdf-BuPJ6cfr-Dyz4TLVR.js";import"./commonDimensions-CVpc-NCw-D6CVEqC_.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]="a318e788-1786-4423-830c-e19dd3a63565",e._sentryDebugIdIdentifier="sentry-dbid-a318e788-1786-4423-830c-e19dd3a63565")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Qe="amount",jt="transferTo",Le="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:Q,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:G,onReviewClick:K}){const i=ue(),I=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[W,N]=u.useState(!1),H=r.transferMoneyPartiesFetchState,oe=ce(H),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),He=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{W&&x&&q()},[W,q,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"&&H==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.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)};Q(le)}};u.useEffect(()=>{const s=L.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()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.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=L.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&&L.setValue(`${k}.${Le}`,{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(Et,{children:[t.jsxs(It,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Yt,{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:Z.heroLight}})})]})}):null,t.jsx(Wt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:Ke(Ge),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:I,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,Le),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(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:I,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:I},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Qe),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(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{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(Zt,{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(Qt,{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(Ht,{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(We,{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},Pe=(e,r)=>({transferDetails:{[Qe]: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,e as ue,ac as A,hJ as lt,aQ as Z,a as ve,hV as ct,L as Ye,aT as $e,o as a,O as R,x as c,b as Ne,n as dt,bb as ut,as as ft,c as be,ak as De,an as fe,aS as ce,fO as pt,aa as Xe,cQ as mt,a_ as ht,aR as gt,d as J,ae as qe,fS as ke,fT as Ae,gq as wt,c1 as ye,gk as xt,hW as $t,u as o,fC as bt,cq as Ze,ca as Dt,fg as yt,bM as Tt,ao as Ue,g3 as Ct,bZ as St,cc as Je,h9 as vt,ha as kt}from"./index-B8J3c9-k.js";import{a as u}from"./sentry-xNvKSthz.js";import{n}from"./mui-B_fu8zAT.js";import{bL as At}from"./zeni-epic-state-SAYXyeZn.js";import{v as Lt}from"./ZeniTransferAmountSlider-DuD1JtSv-FE9AJrcw.js";import{r as Pt}from"./AccountInfoPageContent-DIWh6VaI-CcPRrUNm.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./recharts-BkmpOx_p.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";import"./downloadPdf-Dcd8BY_9-DevbEgfI.js";import"./commonDimensions-CuKo3wam-CITxsF7B.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]="3a552254-a6af-4acc-bca9-4d7d95b46193",e._sentryDebugIdIdentifier="sentry-dbid-3a552254-a6af-4acc-bca9-4d7d95b46193")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=R.getLocalizedStrings(),Qe="amount",jt="transferTo",Le="transferFrom",k="transferDetails",Ge="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=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:Q,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:G,onReviewClick:H}){const i=ue(),I=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),K=r.transferMoneyPartiesFetchState,oe=ce(K),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),Ke=u.useCallback(s=>{O?.(s),E(),N(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ke,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),L=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Pe(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&&q()},[Y,q,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"&&K==="Completed"||ie!==X||Te!==ee||s)&&L.reset(Pe(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,K,ie,Te,ee,X,me,pe,L,r,q]);const{isValid:tt}=L.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)};Q(le)}};u.useEffect(()=>{const s=L.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()}},[L,r.transferMoneyParties]),u.useEffect(()=>{const s=L.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=L.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&L.setValue(`${k}.${Le}`,{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(Et,{children:[t.jsxs(It,{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:J.heroLight}})})]})}):null,t.jsx(Yt,{children:Z("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...L,children:t.jsxs(Mt,{id:He(Ge),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:I,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,Le),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(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:I,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:I},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Qe),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(Zt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Lt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("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(Qt,{windowSize:i}),t.jsx(Ht,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${Z("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(Kt,{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},Pe=(e,r)=>({transferDetails:{[Qe]: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,7 +17,7 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e
17
17
  width: 100%;
18
18
  justify-content: space-between;
19
19
  padding: ${a.sp3} ${a.sp4};
20
- background-color: ${Z.importantLight};
20
+ background-color: ${J.importantLight};
21
21
  border-radius: ${a.sp2};
22
22
  `,It=n.div`
23
23
  display: flex;
@@ -25,16 +25,16 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e
25
25
  `,Rt=n.div``,Ot=n(bt)`
26
26
  width: ${a.sp4};
27
27
  height: ${a.sp4};
28
- color: ${Z.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(Ue)`
34
- color: ${Z.important};
35
- `,Yt=n(fe)`
36
- color: ${Z.important};
37
- `,Wt=n(Dt)`
33
+ `,Vt=n(Ze)`
34
+ color: ${J.important};
35
+ `,Wt=n(fe)`
36
+ color: ${J.important};
37
+ `,Yt=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)`
@@ -55,8 +55,8 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e
55
55
  margin-bottom: ${a.sp3};
56
56
  margin-top: ${a.sp3};
57
57
  white-space: pre-line;
58
- `,ze=n(Ue)`
59
- color: ${Z.success};
58
+ `,ze=n(Ze)`
59
+ color: ${J.success};
60
60
  white-space: nowrap;
61
61
  `,qt=n(Tt)`
62
62
  width: ${a.sp3};
@@ -65,10 +65,10 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e
65
65
  &:hover {
66
66
  color: ${e=>e.theme.colors.primary};
67
67
  }
68
- `,Ut=n.div`
68
+ `,Zt=n.div`
69
69
  margin-bottom: ${a.sp6};
70
70
  width: 90%;
71
- `,Jt=n.div`
71
+ `,Ut=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,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT 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
- `,Zt=n.div`
80
+ `,Jt=n.div`
81
81
  display: flex;
82
82
  flex-direction: row;
83
83
  align-items: center;
@@ -111,9 +111,9 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e
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
+ `,Ht=n(Ue)`
115
115
  color: ${e=>e.theme.colors.hero};
116
- `,Ht=n(Ct)`
116
+ `,Kt=n(Ct)`
117
117
  cursor: pointer;
118
118
  width: 12px;
119
119
  height: 12px;
@@ -179,7 +179,7 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT 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:Q,onFetchLinkTokenClick:E,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:G,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:I,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:Y})=>{const x=ue(),z=e.reviewTransferDetail,W=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:W?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Ie,{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(Ie,{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"),Y(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:Q,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:E,onReviewClick:I,setIsCalculatorOpen:V,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:Y,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(We,{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=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:Q,onFetchLinkTokenClick:E,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:G,setCurrentDrawerContent:H,clearReviewTransferDetail:i,onReviewClick:I,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(Ie,{children:Z("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(Ie,{children:Z("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:H,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:Q,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:E,onReviewClick:I,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:He(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)`
183
183
  color: ${e=>e.theme.colors.hero};
184
184
  `,ia=n(De)`
185
185
  color: ${e=>e.theme.colors.hero};
@@ -241,10 +241,10 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT 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",Ye=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(qe,{...d,children:t.jsx("form",{id:Ye(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:Ye(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
+ `,U={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(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:Z("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=>`${U.containerPaddingLeft.valuePx(e.windowSize)}`};
247
+ padding-right: ${e=>`${U.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,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e
257
257
  overflow: hidden;
258
258
  position: relative;
259
259
  top: 2px;
260
- `,$a=n(Je)`
260
+ `,$a=n(Ue)`
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,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT 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=>U.accountRowLeftRightPadding.valuePx(e.windowSize)};
271
+ padding-right: ${e=>U.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,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT 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(Ze)`
288
+ padding-bottom: ${e=>U.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,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT 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=>`${U.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)`
@@ -323,7 +323,7 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT as $e
323
323
  height: auto;
324
324
  padding: ${e=>`${a.sp0} ${P.pageContentPaddingLeftRight.valuePx(e.windowSize)}`};
325
325
  margin-bottom: auto;
326
- `,ja=n(Ze)`
326
+ `,ja=n(Je)`
327
327
  cursor: pointer;
328
328
  color: ${e=>e.theme.colors.hero};
329
329
  width: ${a.sp4};
@@ -352,11 +352,11 @@ import{V as t,e as ue,ac as A,hJ as lt,aQ as U,a as ve,hV as ct,L as We,aT 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} ${P.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
355
- `,Ea=({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})},Ha=({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:Q,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:I})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[Y,x]=u.useState(0),[z,W]=u.useState(0),[N,H]=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:Y,yieldEarned:z,totalBalance:N,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,onFetchLinkTokenClick:i,plaidConnectionDetails:I,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:Q,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:W,setTotalBalance:H,maxInsuredAmount:$}):t.jsx(Ea,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:E})};return t.jsx(Ia,{children:oe()})},Ia=n.div`
355
+ `,Ea=({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})},Ka=({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:Q,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,clearReviewTransferDetail:H,onFetchLinkTokenClick:i,plaidConnectionDetails:I})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[W,x]=u.useState(0),[z,Y]=u.useState(0),[N,K]=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:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:G,onFetchLinkTokenClick:i,plaidConnectionDetails:I,setCurrentDrawerContent:C,clearReviewTransferDetail:H,onReviewClick:Q,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:Y,setTotalBalance:K,maxInsuredAmount:$}):t.jsx(Ea,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:E})};return t.jsx(Ia,{children:oe()})},Ia=n.div`
356
356
  display: flex;
357
357
  flex-direction: column;
358
358
  background-color: ${e=>e.theme.colors.grey4};
359
359
  overflow-x: hidden;
360
360
  height: 100%;
361
361
  width: 100%;
362
- `;export{Ha as default};
362
+ `;export{Ka as default};
@@ -1,4 +1,4 @@
1
- import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as it,aQ as _,c0 as xe,bE as ot,w as he,ac as V,L as nt,bU as at,o as i,x as y,ak as z,O as M,d as $,bM as rt,fx as ae,N,u as h,b6 as ge,bT as Ke,aV as Fe,g6 as st,bq as lt,hg as dt,a as ct,dE as ht,an as B,b1 as pt,jG as mt,bV as xt,ki as gt,bi as ut,f1 as yt,dj as ft,g3 as wt,le as $t,jf as Ve,jg as We,cC as bt,j6 as jt,j7 as vt,lf as St,dN as ye,kt as Ct,ao as U,b_ as kt,cI as fe,je as zt,cL as Tt}from"./index-aCBnCBoN.js";import{a as u,P as Pt}from"./sentry-DzaNjvx0.js";import{n as o,c as we}from"./mui-BosmckWV.js";import{bL as X,c4 as Lt}from"./zeni-epic-state-BNpJ2txa.js";import{s as Dt}from"./commonDimensions-CVpc-NCw-D6CVEqC_.js";import{g as $e}from"./BoxItem-CvCo0wr6-DKAIvhWo.js";import{o as It}from"./shield-DOlUxcFf-Cva3YFBn.js";import{U as be,F as je,X as ve,Y as Se,G as Ce,J as Mt}from"./recharts-CimMNwCJ.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b37b4667-110e-46a7-8693-b4308246b72a",e._sentryDebugIdIdentifier="sentry-dbid-b37b4667-110e-46a7-8693-b4308246b72a")}catch{}})();const ue=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,Ot={key:"description",value:ue.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},At={key:"date",value:ue.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},Rt={key:"amount",value:ue.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},pe=()=>[Ot,At,Rt],k={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(h[0],h[4]),headerLastColumnRightPadding:new y(h[3],h[11]),headerLastColumnBottomPadding:new y(h[0],h[4]),headerLastColumnLeftPadding:new y(h[3],h[11]),headerHeight:new y(Ve,We),sortIconSize:new y(h[2],h[2]),headerPaddingTop:new y(h[0],2)};function Et({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const d=E(),c=D(),[l,g]=u.useState(pe());u.useEffect(()=>{const s=[...l];for(const r of s)r.key===n.sortKey?r.sortOrder=n.sortOrder:r.sortOrder="ascending";g(s)},[n.sortKey,n.sortOrder]);const p=(s,r)=>{let w=r;n.sortKey===s&&(w=r==="ascending"?"descending":"ascending"),a(s,w)},m=l.find(s=>s.key===n.sortKey)??l[0],x=s=>l.find(r=>r.key===s)?.value??"",f=l.map(s=>s.key),b=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return c==="small"?t.jsxs(Yt,{windowSize:c,children:[t.jsxs(Vt,{children:[t.jsx(Gt,{children:t.jsx(Wt,{})}),t.jsx(kt,{title:b.sortBy,placeholder:b.sortBy,pickerValues:f,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:s=>{p(s,"ascending")},optionTextStyle:he.extraSmallRegular,titleTextStyle:he.extraSmallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.grey4})]}),t.jsxs(qt,{onClick:()=>p(m.key,m.sortOrder),"data-testid":V("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:m.value}),t.jsx(ke,{windowSize:c,sortDataValue:n.sortKey,headerdata:m,children:t.jsx(ze,{windowSize:c,isSelected:n.sortKey===m.key,children:t.jsx(fe,{})})})]})]}):t.jsx(Nt,{windowSize:c,children:t.jsx(Ht,{children:l.map(s=>s.width.value(c)!==0&&t.jsxs(Kt,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:c,children:[t.jsxs(Ut,{onClick:()=>p(s.key,s.sortOrder),"data-testid":V("cards-list-sort-clicked",n.sortKey),children:[t.jsx(U,{children:s.value}),t.jsx(ke,{windowSize:c,sortDataValue:n.sortKey,headerdata:s,children:t.jsx(ze,{windowSize:c,isSelected:n.sortKey===s.key,children:t.jsx(fe,{})})})]}),t.jsx(_t,{sortDataValue:n.sortKey,windowSize:c,isVisible:n.sortKey===s.key&&s.key!=="date",children:t.jsx(Ft,{onClick:()=>p("date","ascending"),"data-testid":V("cards-list-sort-cancel",n.sortKey)})})]},s.key))})})}const Bt=Pt.memo(Et),Nt=o.div`
1
+ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as it,aQ as U,c1 as xe,bE as ot,w as he,ac as V,L as nt,bU as at,o as i,x as y,ak as z,O as M,d as $,bM as rt,fx as ae,N,u as h,b6 as ge,bT as Ke,aV as Fe,g6 as st,bq as lt,hg as dt,a as ct,dE as ht,an as B,b1 as pt,jG as mt,bV as xt,ki as gt,bi as ut,f1 as yt,dj as ft,g3 as wt,le as $t,jf as Ve,jg as We,cC as bt,j6 as jt,j7 as vt,lf as St,dN as ye,kt as Ct,ao as _,b$ as kt,cI as fe,je as zt,cL as Tt}from"./index-B8J3c9-k.js";import{a as u,P as Pt}from"./sentry-xNvKSthz.js";import{n as o,c as we}from"./mui-B_fu8zAT.js";import{bL as X,c4 as Lt}from"./zeni-epic-state-SAYXyeZn.js";import{s as Dt}from"./commonDimensions-CuKo3wam-CITxsF7B.js";import{g as $e}from"./BoxItem-C39hQSVg-DygFSSe8.js";import{o as It}from"./shield-DOlUxcFf-BV2AyAgf.js";import{U as be,F as je,X as ve,Y as Se,G as Ce,J as Mt}from"./recharts-BkmpOx_p.js";import"./liveblocks-CN5hALk7.js";import"./core-C_RwbDgZ.js";import"./lottie-B-zs781A.js";import"./analytics-TwdLweES.js";import"./lexical-DZ4skawM.js";import"./utils-4bW-VyLb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="983ea09b-1336-4dac-a56c-4cd5e4b5a852",e._sentryDebugIdIdentifier="sentry-dbid-983ea09b-1336-4dac-a56c-4cd5e4b5a852")}catch{}})();const ue=M.getLocalizedStrings().spendManagement.treasury.overviewPage.header,Ot={key:"description",value:ue.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},At={key:"date",value:ue.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},Rt={key:"amount",value:ue.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},pe=()=>[Ot,At,Rt],k={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(h[0],h[4]),headerLastColumnRightPadding:new y(h[3],h[11]),headerLastColumnBottomPadding:new y(h[0],h[4]),headerLastColumnLeftPadding:new y(h[3],h[11]),headerHeight:new y(Ve,We),sortIconSize:new y(h[2],h[2]),headerPaddingTop:new y(h[0],2)};function Et({companyNameSticky:e,sortConfig:n,onColumnSortConfigChanged:a}){const d=E(),c=D(),[l,g]=u.useState(pe());u.useEffect(()=>{const s=[...l];for(const r of s)r.key===n.sortKey?r.sortOrder=n.sortOrder:r.sortOrder="ascending";g(s)},[n.sortKey,n.sortOrder]);const p=(s,r)=>{let w=r;n.sortKey===s&&(w=r==="ascending"?"descending":"ascending"),a(s,w)},m=l.find(s=>s.key===n.sortKey)??l[0],x=s=>l.find(r=>r.key===s)?.value??"",f=l.map(s=>s.key),b=M.getLocalizedStrings().spendManagement.chargeCard.cardList;return c==="small"?t.jsxs(Yt,{windowSize:c,children:[t.jsxs(Vt,{children:[t.jsx(Gt,{children:t.jsx(Wt,{})}),t.jsx(kt,{title:b.sortBy,placeholder:b.sortBy,pickerValues:f,valueToLabel:x,selectedValue:n.sortKey,onPickerSelectionChanged:s=>{p(s,"ascending")},optionTextStyle:he.extraSmallRegular,titleTextStyle:he.extraSmallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.grey4})]}),t.jsxs(qt,{onClick:()=>p(m.key,m.sortOrder),"data-testid":V("mobile-cards-list-sort-clicked",n.sortKey),children:[t.jsx(_,{children:m.value}),t.jsx(ke,{windowSize:c,sortDataValue:n.sortKey,headerdata:m,children:t.jsx(ze,{windowSize:c,isSelected:n.sortKey===m.key,children:t.jsx(fe,{})})})]})]}):t.jsx(Nt,{windowSize:c,children:t.jsx(Ht,{children:l.map(s=>s.width.value(c)!==0&&t.jsxs(Kt,{companyNameSticky:e,sortDataValue:n.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:c,children:[t.jsxs(_t,{onClick:()=>p(s.key,s.sortOrder),"data-testid":V("cards-list-sort-clicked",n.sortKey),children:[t.jsx(_,{children:s.value}),t.jsx(ke,{windowSize:c,sortDataValue:n.sortKey,headerdata:s,children:t.jsx(ze,{windowSize:c,isSelected:n.sortKey===s.key,children:t.jsx(fe,{})})})]}),t.jsx(Ut,{sortDataValue:n.sortKey,windowSize:c,isVisible:n.sortKey===s.key&&s.key!=="date",children:t.jsx(Ft,{onClick:()=>p("date","ascending"),"data-testid":V("cards-list-sort-cancel",n.sortKey)})})]},s.key))})})}const Bt=Pt.memo(Et),Nt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -79,11 +79,11 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
79
79
  margin-right: ${i.sp1};
80
80
  display: flex;
81
81
  align-items: center;
82
- `,_t=o.div`
82
+ `,Ut=o.div`
83
83
  display: ${e=>e.isVisible?"flex":"none"};
84
84
  align-items: center;
85
85
  padding-top: 2px;
86
- `,Ut=o.div`
86
+ `,_t=o.div`
87
87
  display: flex;
88
88
  cursor: pointer;
89
89
  gap: 5px;
@@ -95,7 +95,7 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
95
95
  cursor: pointer;
96
96
  gap: 5px;
97
97
  color: ${e=>e.theme.colors.primary};
98
- `,Q={containerPaddingLeft:new y(h[3],h[4]),containerPaddingRight:new y(h[2],h[3]),containerPaddingTop:new y(h[2],h[3]),containerPaddingBottom:new y(h[2],h[3])},{common:{strings:{empty:Z}}}=M.getLocalizedStrings();function Jt({data:e,boxType:n,index:a,isTreasuryCommentingEnabled:d=!1}){const{description:c,amount:l,status:g,date:p}=e,m=_("0,0.00",l),x=D(),{dateFormat:f}=M.getLocalizedStrings(),b=pe(),s=b[0].width,r=b[1].width,w=b[2].width,j=St(g),v=ie(),C=`dashboard_${v.currentTenant?.companyId}`,T=`list.${e.id}`,L={application:"dashboard",companyId:v.currentTenant?.companyId,tab:"treasury",entityType:`treasury.${T}`,entityId:e.id,isGlobalComment:!1};if(x==="small"){const ne=t.jsx(ai,{children:t.jsxs(ri,{children:[t.jsxs(si,{children:[t.jsxs(di,{children:[t.jsx(Te,{}),t.jsx(ci,{children:t.jsx(hi,{children:t.jsxs(pi,{children:[c,g!=null&&g.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(mi,{}),t.jsx(xi,{color:j?.color,children:j?.value})]}):null]})})})]}),t.jsx(gi,{children:t.jsx(ui,{children:p!=null?`${pe()[1].value}: `+p.format(f.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(li,{children:t.jsx(yi,{children:t.jsx(Le,{children:m})})})]})}),q=t.jsx($e,{content:ne,boxType:n,isDisabled:!0,isNotClickable:!0});return d?t.jsx(ye,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:T,roomId:C,companyId:v.currentTenant?.companyId??Z,companyName:v.currentTenant?.companyName??Z,dashboardOptionType:"treasury",preferredRenderDirection:a===0?"down":void 0,filterMetaData:L,children:q}):q}const oe=t.jsxs(Xt,{windowSize:x,children:[t.jsxs(Qt,{windowSize:x,width:s,children:[t.jsx(Te,{}),t.jsxs(ti,{windowSize:x,children:[t.jsx(Pe,{children:c}),g!=null&&g.code!=="completed"?t.jsxs(ii,{windowSize:x,children:[t.jsx(ni,{}),t.jsx(oi,{color:j?.color,children:j?.value})]}):null]})]}),t.jsx(Zt,{windowSize:x,width:r,children:t.jsx(Pe,{children:p!=null?p.format(f.visual.MMMDCommaYYYYformat):null})}),t.jsx(ei,{windowSize:x,width:w,children:t.jsx(Le,{children:m})})]}),R=t.jsx($e,{content:oe,boxType:n,isDisabled:!0,isNotClickable:!0});return d?t.jsx(ye,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:T,roomId:C,companyId:v.currentTenant?.companyId??Z,companyName:v.currentTenant?.companyName??Z,dashboardOptionType:"treasury",preferredRenderDirection:a===0?"down":void 0,filterMetaData:L,children:R}):R}const Xt=o.div`
98
+ `,Q={containerPaddingLeft:new y(h[3],h[4]),containerPaddingRight:new y(h[2],h[3]),containerPaddingTop:new y(h[2],h[3]),containerPaddingBottom:new y(h[2],h[3])},{common:{strings:{empty:Z}}}=M.getLocalizedStrings();function Jt({data:e,boxType:n,index:a,isTreasuryCommentingEnabled:d=!1}){const{description:c,amount:l,status:g,date:p}=e,m=U("0,0.00",l),x=D(),{dateFormat:f}=M.getLocalizedStrings(),b=pe(),s=b[0].width,r=b[1].width,w=b[2].width,j=St(g),v=ie(),C=`dashboard_${v.currentTenant?.companyId}`,T=`list.${e.id}`,L={application:"dashboard",companyId:v.currentTenant?.companyId,tab:"treasury",entityType:`treasury.${T}`,entityId:e.id,isGlobalComment:!1};if(x==="small"){const ne=t.jsx(ai,{children:t.jsxs(ri,{children:[t.jsxs(si,{children:[t.jsxs(di,{children:[t.jsx(Te,{}),t.jsx(ci,{children:t.jsx(hi,{children:t.jsxs(pi,{children:[c,g!=null&&g.code!=="completed"?t.jsxs(t.Fragment,{children:[t.jsx(mi,{}),t.jsx(xi,{color:j?.color,children:j?.value})]}):null]})})})]}),t.jsx(gi,{children:t.jsx(ui,{children:p!=null?`${pe()[1].value}: `+p.format(f.visual.MMMDCommaYYYYformat):null})})]}),t.jsx(li,{children:t.jsx(yi,{children:t.jsx(Le,{children:m})})})]})}),q=t.jsx($e,{content:ne,boxType:n,isDisabled:!0,isNotClickable:!0});return d?t.jsx(ye,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:T,roomId:C,companyId:v.currentTenant?.companyId??Z,companyName:v.currentTenant?.companyName??Z,dashboardOptionType:"treasury",preferredRenderDirection:a===0?"down":void 0,filterMetaData:L,children:q}):q}const oe=t.jsxs(Xt,{windowSize:x,children:[t.jsxs(Qt,{windowSize:x,width:s,children:[t.jsx(Te,{}),t.jsxs(ti,{windowSize:x,children:[t.jsx(Pe,{children:c}),g!=null&&g.code!=="completed"?t.jsxs(ii,{windowSize:x,children:[t.jsx(ni,{}),t.jsx(oi,{color:j?.color,children:j?.value})]}):null]})]}),t.jsx(Zt,{windowSize:x,width:r,children:t.jsx(Pe,{children:p!=null?p.format(f.visual.MMMDCommaYYYYformat):null})}),t.jsx(ei,{windowSize:x,width:w,children:t.jsx(Le,{children:m})})]}),R=t.jsx($e,{content:oe,boxType:n,isDisabled:!0,isNotClickable:!0});return d?t.jsx(ye,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:T,roomId:C,companyId:v.currentTenant?.companyId??Z,companyName:v.currentTenant?.companyName??Z,dashboardOptionType:"treasury",preferredRenderDirection:a===0?"down":void 0,filterMetaData:L,children:R}):R}const Xt=o.div`
99
99
  width: 100%;
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
@@ -158,7 +158,7 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
158
158
  display: flex;
159
159
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
160
160
  align-items: center;
161
- `,oi=o(U)`
161
+ `,oi=o(_)`
162
162
  color: ${e=>e.color};
163
163
  -webkit-box-orient: vertical;
164
164
  -webkit-line-clamp: 1;
@@ -231,7 +231,7 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
231
231
  margin-left: ${i.sp2};
232
232
  margin-right: ${i.sp2};
233
233
  vertical-align: middle;
234
- `,xi=o(U)`
234
+ `,xi=o(_)`
235
235
  display: inline;
236
236
  color: ${e=>e.color};
237
237
  white-space: nowrap;
@@ -240,13 +240,13 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
240
240
  align-items: center;
241
241
  margin-top: ${i.sp1};
242
242
  margin-left: ${i.sp6};
243
- `,ui=o(U)`
243
+ `,ui=o(_)`
244
244
  color: ${e=>e.theme.colors.grey1};
245
245
  text-align: left;
246
246
  `,yi=o.div`
247
247
  display: flex;
248
248
  align-items: flex-start;
249
- `,me={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(h[3],h[8])},{spendManagement:{chargeCard:fi},common:wi}=M.getLocalizedStrings(),$i=({transactionList:e,uiState:n,fetchState:a,isTreasuryCommentingEnabled:d=!1,onReloadCards:c,onColumnSortConfigChanged:l})=>{const g=D(),p=u.useRef(null),m=u.useMemo(()=>g!=="small"?$t:Dt+40,[g]),x=()=>m,f=g==="small"?Ve:We,b=u.useMemo(()=>e.length*m+f,[e.length,m,f]);u.useEffect(()=>{p.current?.resetAfterIndex(0)},[g]);const s=()=>a==="Error"?t.jsxs(ki,{children:[t.jsx(zi,{onClick:c,"data-testid":V("treasury-list-reload"),children:t.jsx(Ti,{})}),t.jsx(Pi,{children:wi.reloadPage.label})]}):a==="Completed"&&e.length===0?null:t.jsx(_e,{children:t.jsx(Li,{windowSize:g,children:t.jsx(bt,{ref:p,height:b,itemCount:e.length,innerElementType:r=>bi(r,l,n,a),itemSize:x,estimatedItemSize:vt,itemKey:r=>e[r].id,width:"100%",overscanCount:jt,initialScrollOffset:0,style:{overflow:"hidden"},children:r=>t.jsx(vi,{...r,transactionList:e,isTreasuryCommentingEnabled:d})})})});return t.jsx(Ci,{fetchState:a,children:s()})},bi=(e,n,a,d)=>t.jsx(Ge,{...e,onColumnSortConfigChanged:n,uiState:{sortKey:a.sortKey,sortOrder:a.sortOrder},fetchState:d}),Ge=u.forwardRef((e,n)=>{const{children:a,style:d,uiState:c,onColumnSortConfigChanged:l,...g}=e;return t.jsxs(_e,{ref:n,style:{...d,width:"auto"},...g,children:[t.jsx(Bt,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:c.sortKey,sortOrder:c.sortOrder}}),t.jsx(Ii,{children:a})]})});Ge.displayName=fi.cardList.headerElementDisplayName;const ji=({transactionList:e,fetchState:n,uiState:a,isTreasuryCommentingEnabled:d=!1,onReloadCards:c,onColumnSortConfigChanged:l})=>t.jsx($i,{transactionList:e,fetchState:n,onReloadCards:c,uiState:a,isTreasuryCommentingEnabled:d,onColumnSortConfigChanged:l}),vi=({index:e,style:n,transactionList:a,isTreasuryCommentingEnabled:d})=>{const c=D();return t.jsx(Di,{style:{...n,width:"100%",paddingLeft:me.rowWrapperMarginLeftRight.valuePx(c),paddingRight:me.rowWrapperMarginLeftRight.valuePx(c)},className:"spend-management-list-item",children:t.jsx(Si,{transaction:a[e],index:e,isTreasuryCommentingEnabled:d})},"listItem"+a[e].id)},Si=({transaction:e,index:n,isTreasuryCommentingEnabled:a})=>t.jsx(Jt,{data:e,boxType:"roundedBox",index:n,isTreasuryCommentingEnabled:a},e.id),Ci=o.div`
249
+ `,me={lastListItemHeight:new y(200,128),rowWrapperMarginLeftRight:new y(h[3],h[8])},{spendManagement:{chargeCard:fi},common:wi}=M.getLocalizedStrings(),$i=({transactionList:e,uiState:n,fetchState:a,isTreasuryCommentingEnabled:d=!1,onReloadCards:c,onColumnSortConfigChanged:l})=>{const g=D(),p=u.useRef(null),m=u.useMemo(()=>g!=="small"?$t:Dt+40,[g]),x=()=>m,f=g==="small"?Ve:We,b=u.useMemo(()=>e.length*m+f,[e.length,m,f]);u.useEffect(()=>{p.current?.resetAfterIndex(0)},[g]);const s=()=>a==="Error"?t.jsxs(ki,{children:[t.jsx(zi,{onClick:c,"data-testid":V("treasury-list-reload"),children:t.jsx(Ti,{})}),t.jsx(Pi,{children:wi.reloadPage.label})]}):a==="Completed"&&e.length===0?null:t.jsx(Ue,{children:t.jsx(Li,{windowSize:g,children:t.jsx(bt,{ref:p,height:b,itemCount:e.length,innerElementType:r=>bi(r,l,n,a),itemSize:x,estimatedItemSize:vt,itemKey:r=>e[r].id,width:"100%",overscanCount:jt,initialScrollOffset:0,style:{overflow:"hidden"},children:r=>t.jsx(vi,{...r,transactionList:e,isTreasuryCommentingEnabled:d})})})});return t.jsx(Ci,{fetchState:a,children:s()})},bi=(e,n,a,d)=>t.jsx(Ge,{...e,onColumnSortConfigChanged:n,uiState:{sortKey:a.sortKey,sortOrder:a.sortOrder},fetchState:d}),Ge=u.forwardRef((e,n)=>{const{children:a,style:d,uiState:c,onColumnSortConfigChanged:l,...g}=e;return t.jsxs(Ue,{ref:n,style:{...d,width:"auto"},...g,children:[t.jsx(Bt,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:c.sortKey,sortOrder:c.sortOrder}}),t.jsx(Ii,{children:a})]})});Ge.displayName=fi.cardList.headerElementDisplayName;const ji=({transactionList:e,fetchState:n,uiState:a,isTreasuryCommentingEnabled:d=!1,onReloadCards:c,onColumnSortConfigChanged:l})=>t.jsx($i,{transactionList:e,fetchState:n,onReloadCards:c,uiState:a,isTreasuryCommentingEnabled:d,onColumnSortConfigChanged:l}),vi=({index:e,style:n,transactionList:a,isTreasuryCommentingEnabled:d})=>{const c=D();return t.jsx(Di,{style:{...n,width:"100%",paddingLeft:me.rowWrapperMarginLeftRight.valuePx(c),paddingRight:me.rowWrapperMarginLeftRight.valuePx(c)},className:"spend-management-list-item",children:t.jsx(Si,{transaction:a[e],index:e,isTreasuryCommentingEnabled:d})},"listItem"+a[e].id)},Si=({transaction:e,index:n,isTreasuryCommentingEnabled:a})=>t.jsx(Jt,{data:e,boxType:"roundedBox",index:n,isTreasuryCommentingEnabled:a},e.id),Ci=o.div`
250
250
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
251
251
  display: block;
252
252
  height: 100%;
@@ -293,7 +293,7 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
293
293
  position: relative;
294
294
  width: auto;
295
295
  height: 100%;
296
- `,_e=o.div``,Mi=["editPortfolio","taxLetter","statements","settings"],Oi=e=>Lt(e??"",Mi),ee=M.getLocalizedStrings().spendManagement.treasury.overviewPage,De=[{value:"editPortfolio",label:ee.editPortfolio},{value:"taxLetter",label:ee.taxLetter},{value:"statements",label:ee.statements},{value:"settings",label:ee.settings}],Ai=({onOptionSelection:e,onTransferClick:n,isTreasuryCommentingEnabled:a=!1,isThreadsLoading:d=!1,threadsCount:c=0,onCommentIconClick:l})=>{const g=ie(),p=D(),m=M.getLocalizedStrings().spendManagement.treasury.overviewPage,x=g.loggedInUserRoleMap.treasury_user===!0||st(g),f=De.filter(s=>s.value==="statements"||s.value==="taxLetter"),b=E();return t.jsxs(Ri,{isTopAlign:!1,children:[a?t.jsxs(Bi,{isDisabled:d,"data-testid":V("treasury-comment-button"),onClick:d?()=>null:s=>{s.preventDefault(),s.stopPropagation(),l?.()},children:[t.jsx(lt,{count:d?void 0:c,isLoading:d,style:{left:"12px"}}),t.jsx(Ni,{})]}):null,t.jsx(dt,{entity:"zeni_treasury",onOptionSelection:s=>{const r=Oi(s);r!=null&&e(r)},isMoreOption:!0,backgroundColor:b.colors.grey5,options:x?f:De,customStyleConfig:{container:s=>({...s,marginLeft:0})}}),!x&&(p==="small"?t.jsx(Ei,{onClick:n}):t.jsx(ct,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:n,label:m.transferFunds}))]})},Ri=o.div`
296
+ `,Ue=o.div``,Mi=["editPortfolio","taxLetter","statements","settings"],Oi=e=>Lt(e??"",Mi),ee=M.getLocalizedStrings().spendManagement.treasury.overviewPage,De=[{value:"editPortfolio",label:ee.editPortfolio},{value:"taxLetter",label:ee.taxLetter},{value:"statements",label:ee.statements},{value:"settings",label:ee.settings}],Ai=({onOptionSelection:e,onTransferClick:n,isTreasuryCommentingEnabled:a=!1,isThreadsLoading:d=!1,threadsCount:c=0,onCommentIconClick:l})=>{const g=ie(),p=D(),m=M.getLocalizedStrings().spendManagement.treasury.overviewPage,x=g.loggedInUserRoleMap.treasury_user===!0||st(g),f=De.filter(s=>s.value==="statements"||s.value==="taxLetter"),b=E();return t.jsxs(Ri,{isTopAlign:!1,children:[a?t.jsxs(Bi,{isDisabled:d,"data-testid":V("treasury-comment-button"),onClick:d?()=>null:s=>{s.preventDefault(),s.stopPropagation(),l?.()},children:[t.jsx(lt,{count:d?void 0:c,isLoading:d,style:{left:"12px"}}),t.jsx(Ni,{})]}):null,t.jsx(dt,{entity:"zeni_treasury",onOptionSelection:s=>{const r=Oi(s);r!=null&&e(r)},isMoreOption:!0,backgroundColor:b.colors.grey5,options:x?f:De,customStyleConfig:{container:s=>({...s,marginLeft:0})}}),!x&&(p==="small"?t.jsx(Ei,{onClick:n}):t.jsx(ct,{variant:"primary",size:"small",style:{display:"flex",alignItems:"center"},onClick:n,label:m.transferFunds}))]})},Ri=o.div`
297
297
  display: flex;
298
298
  flex-direction: row;
299
299
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
@@ -328,7 +328,7 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
328
328
  justify-content: center;
329
329
  align-items: center;
330
330
  background-color: ${e=>e.theme.colors.grey4};
331
- `,I={tickLabelText:new N("extraSmallRegular","smallRegular"),balanceIntegerStyles:new N("h5Regular","h3Regular"),integerStyles:new N("largeRegular","h6Regular"),decimalStyles:new N("standardRegular","standardRegular"),fundSummaryStyles:new N("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new N("standardMedium","largeMedium")},A={accountDetailHeaderPaddingRight:new y(h[3],h[8]),accountDetailHeaderPaddingBottom:new y(h[3],h[6]),accountDetailHeaderPaddingLeft:new y(h[3],h[8]),accountDetailHeaderPaddingTop:new y(h[3],h[6]),accountDetailContentMarginTop:new y(h[4],h[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:Ie,treasury:{overviewPage:S}},dateFormat:re,common:Yi}=M.getLocalizedStrings(),Ue=u.memo(({accountHistory:e})=>{const n=D(),a=E(),[d,c]=u.useState(),l=u.useMemo(()=>{const r=X(new Date().toISOString()),w=r.clone().subtract(84,"day"),j=84/6;return Array.from({length:7}).map((v,C)=>{const T=C/6;let L;return T<.5?L=0:T<.6?L=.9*((T-.5)/.09999999999999998):L=.9,{date:(C===6?r:w.clone().add(Math.round(C*j),"day")).toISOString(),value:L}})},[]),g=u.useMemo(()=>(l.length<=0,0),[l.length]),p=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(r=>r.balance?.available.amount===0)),m=u.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=u.useCallback(r=>{const w=Array.isArray(r)?r:[];let j="",v="";if(Array.isArray(w)&&w.length>0){const C=w[0].payload?.balance?.available;v=_("0,0[.]00",C),j=X(w[0].payload?.date??"").format(re.visual.DMMMYYYYFormat)}return t.jsxs(wo,{children:[t.jsx(Be,{children:j}),t.jsx(Be,{isSublabel:!0,children:v})]})},[]),f=u.useCallback(r=>{const w=r,{x:j,y:v}=w,{value:C}=w.payload;let T=!1;e.accountHistoryWithBalance.length>360&&(T=!0);const L=T?X(C).format(re.visual.MMMformat):X(C).format(re.visual.MMMDFormat);return t.jsx(co,{translateX:j,translateY:v,children:t.jsx(go,{windowSize:n,dy:20,dx:-25,children:L})})},[e.accountHistoryWithBalance.length,n]),b=u.useCallback(({cx:r,cy:w,dataKey:j})=>(j==="balance.available.amount"&&(d?.x!==r||d?.y!==w)&&c({x:r,y:w}),t.jsx($o,{cx:r,cy:w,strokeWidth:1,r:h[1]})),[d]),s=u.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return t.jsx(uo,{children:p?t.jsxs(To,{children:[t.jsx(be,{height:A.areaChartHeight.value(n),width:"99%",children:t.jsxs(je,{data:l,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Oe,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ae,{offset:"0%",stopColor:a.colors.grey2,stopOpacity:1}),t.jsx(Re,{offset:"100%",stopColor:a.colors.grey2,stopOpacity:.02})]})}),t.jsx(ve,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,tick:r=>f(r),interval:g,padding:{right:h[4]}}),t.jsx(Se,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(Ce,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:a.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(Po,{children:t.jsx(zo,{children:S.noData})})]}):t.jsx(be,{height:A.areaChartHeight.value(n),width:"99%",children:t.jsxs(je,{data:m,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Oe,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ae,{offset:"0%",stopColor:$.brandColorJade,stopOpacity:1}),t.jsx(Re,{offset:"100%",stopColor:$.brandColorJade,stopOpacity:.03})]})}),t.jsx(ve,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,reversed:!0,tick:r=>f(r),padding:{right:h[4]},interval:s}),t.jsx(Se,{tick:!1,axisLine:!1}),t.jsx(Mt,{position:d,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:$.brandColorJade}}),t.jsx(Ce,{activeDot:b,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:$.brandColorJade,fill:"url(#colorUv)"})]})})})});Ue.displayName="AccountBalanceGraph";const Ki=M.getLocalizedStrings(),{common:{texts:{comments:Fi},strings:{empty:Vi}},collaboration:{threads:{placeholder:{addANewComment:Wi,replyAComment:Gi},tooltip:{resolveComment:_i,unResolveComment:Ui}}}}=Ki,qi={drawerSectionPaddingLeftRight:new y(h[4],h[5])},Me=({treasuryDetail:e,treasurySetupView:n,isTreasuryCommentingEnabled:a=!1,onColumnSortConfigChanged:d,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:g,onTransferClick:p})=>{const m=D(),x=E(),f=Ze().analytics,b=ie(),[s,r]=u.useState(!1),{setOpenThread:w}=u.useContext(et),{threads:j,isLoading:v}=tt(),C=u.useMemo(()=>j.filter(P=>P.resolved===!1),[j]).length,T=u.useCallback((P,O)=>{w(O),r(!1)},[w]),L=()=>{r(!0),f.trackCommentActivity("treasury","clicked",b.currentTenant?.companyName??Vi,b.controllersList.controllers.map(P=>ht(P)),void 0,void 0,"page icon")};it({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const oe=P=>{f.trackTreasuryDashboardInteraction((()=>{switch(P){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),g(P)},R=e.accountSummary,ne=u.useCallback(P=>{let O=null,J;switch(P){case"insuredFunds":O=t.jsx(Ne,{children:S.insuredFundsTooltip}),J="280px";break;case"totalBalance":O=t.jsxs(ko,{children:[t.jsx(Co,{children:S.balanceTooltip.base}),t.jsxs(le,{children:[t.jsx(de,{children:S.balanceTooltip.balance}),t.jsx(ce,{children:_("0,0[.]00",R?.totalBalance)})]}),t.jsxs(le,{children:[t.jsx(de,{children:S.balanceTooltip.processing}),t.jsx(ce,{children:_("0,0[.]00",R?.processingBalance)})]}),t.jsxs(le,{children:[t.jsx(de,{children:S.balanceTooltip.available}),t.jsx(ce,{children:_("0,0[.]00",R?.availableBalance)})]})]}),J="312px";break;case"sevenDayYield":O=t.jsx(Ne,{children:S.fundTile.sevenDayYieldTooltip}),J="464px";break;default:O=t.jsx(t.Fragment,{});break}return t.jsx(Je,{children:t.jsx(xe,{display:"flex",placement:m==="small"?"bottom":"top",title:O,style:{textAlign:"left"},maxWidth:J,children:P==="insuredFunds"?t.jsx(Vo,{}):t.jsx(Xe,{})})})},[R,m]),q=t.jsx(Ai,{onOptionSelection:oe,onTransferClick:()=>{f.trackTreasuryDashboardInteraction("Transfer Funds"),p()},isTreasuryCommentingEnabled:a,isThreadsLoading:v,threadsCount:C,onCommentIconClick:L});return t.jsxs(oo,{children:[t.jsx(ot,{title:S.title,onBackClick:c,showMenuIcon:!1,backgroundColor:x.colors.grey5,style:{zIndex:3,...he.largeSemiBold.cssObject},rightSideComponent:q,source:"treasury"}),t.jsxs(no,{windowSize:m,children:[t.jsxs(ao,{windowSize:m,children:[t.jsx(Ji,{fundAllocation:n.currentAllocation,fundsData:n.fundsData,getToolTipContent:ne,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(lo,{windowSize:m,children:t.jsx(Ue,{accountHistory:e.accountHistory})})]}),t.jsx(Xi,{analytics:f,fundsData:n.fundsData,fundAllocation:n.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(qe,{treasuryDetail:e,isTreasuryCommentingEnabled:a,onColumnSortConfigChanged:d}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(ho,{children:[t.jsx(po,{onClick:l,"data-testid":V("account-detail-reload"),children:t.jsx(xo,{})}),t.jsx(mo,{children:Yi.reloadPage.label})]}):t.jsx(Hi,{children:t.jsx(nt,{size:"ExtraLarge",start:!0})}),a?t.jsx(at,{isDrawerOpen:s,allowComposer:!1,drawerTitle:Fi,threads:j,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:b.currentTenant?.companyId,isGlobalComment:!1,tab:"treasury"},isLoading:v,textOverrides:{composerPlaceholder:Wi,replyComposerPlaceholder:Gi,threadResolve:_i,threadUnResolve:Ui},onThreadClick:(P,O)=>T(P,O),onCloseAllThreadsDrawer:()=>r(!1),drawerSectionStyle:{width:m==="small"?"100%":"400px",boxSizing:m==="small"?"border-box":"content-box",padding:`${i.sp0} ${qi.drawerSectionPaddingLeftRight.valuePx(m)}`,backgroundColor:x.colors.background},collapsibleThreadStyle:{width:m==="small"?"100%":"360px"}}):null]})},un=e=>{const n=ie().currentTenant?.companyId;if(e.isTreasuryCommentingEnabled!==!0||n==null)return t.jsx(Me,{...e});const a=`dashboard_${n}`;return t.jsx(Qe,{roomId:a,filter:{application:"dashboard",companyId:n,tab:"treasury",isGlobalComment:!1},children:t.jsx(Me,{...e})})},qe=u.memo(({treasuryDetail:e,isTreasuryCommentingEnabled:n=!1,onColumnSortConfigChanged:a})=>{const d=D();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(io,{windowSize:d,children:t.jsx(ji,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,isTreasuryCommentingEnabled:n,onReloadCards:()=>{},onColumnSortConfigChanged:a})}):t.jsx(to,{})})});qe.displayName="TransactionListScreen";const Ji=({treasuryDetail:e,hasAccountActivity:n,getToolTipContent:a,fundAllocation:d,fundsData:c})=>{const l=D(),[g,p]=u.useState(!1);return u.useEffect(()=>{g===!0&&setTimeout(()=>{p(!1)},800)},[g]),t.jsxs(ro,{children:[t.jsxs(te,{children:[t.jsx(yo,{children:t.jsxs(G,{children:[W(Ie.zeniAccountList.totalAvailableBalance),a("totalBalance")]})}),t.jsx(So,{windowSize:l,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountSummary?.availableBalance,integerStyles:I.balanceIntegerStyles.styleObject(l),decimalStyles:I.balanceIntegerStyles.styleObject(l)})}):null})]}),t.jsxs(te,{children:[t.jsxs(G,{children:[W(S.insuredFunds),a("insuredFunds")]}),t.jsx(se,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(ae,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:I.integerStyles.styleObject(l),decimalStyles:I.decimalStyles.styleObject(l)})}),t.jsx(G,{children:W(S.insuredFundsAmount)})]}),n&&t.jsxs(so,{children:[t.jsxs(Ee,{children:[t.jsx(G,{children:W(Ie.common.totalYieldEarned)}),t.jsx(se,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(ae,{amount:e.accountSummary?.totalYield,integerStyles:I.integerStyles.styleObject(l),decimalStyles:I.decimalStyles.styleObject(l)})})]}),t.jsxs(Ee,{children:[t.jsxs(G,{children:[W(S.sevenDayYield)," ",a("sevenDayYield")]}),t.jsx(se,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(fo,{windowSize:l,children:[eo(d??{},c),"%"]})})]})]})]})},Xi=({analytics:e,fundsData:n,fundAllocation:a,hasAccountActivity:d})=>{const[c,l]=u.useState(!1),g=D(),p=E(),m=()=>{l(x=>!x)};return t.jsx(Lo,{windowSize:g,allTilesExpanded:c,children:n.map((x,f)=>{const b=c,s=ge(f,p);return t.jsxs(Do,{expanded:b,windowSize:g,children:[t.jsx(Yo,{bgColor:s.headerBackground}),t.jsx(Qi,{fund:x,fundIndex:f,fundAllocation:a!=null?a[x.fundCode]:0,hasAccountActivity:d}),!c&&t.jsx(Io,{children:t.jsxs(Oo,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),m()},children:[S.fundTile.viewDetails,t.jsx(jo,{})]})}),b&&t.jsxs(t.Fragment,{children:[t.jsx(en,{}),t.jsx(Zi,{analytics:e,fund:x,fundIndex:f,onHide:m})]})]},x.fundCode)})})},Qi=({fund:e,fundIndex:n,fundAllocation:a})=>{const d=E(),c=ge(n,d),l=D();return t.jsxs(Mo,{windowSize:l,children:[t.jsxs(He,{style:{width:l==="small"?"100%":"50%"},children:[t.jsx(Ro,{children:t.jsxs(Eo,{children:[t.jsx(Ye,{windowSize:l,children:e.fundCode}),t.jsxs(Ye,{windowSize:l,children:[a,"%"]})]})}),t.jsxs(Bo,{color:c.fundNameColor,children:[t.jsx(te,{children:e.fundCompanyName}),t.jsx(te,{children:e.fundName})]})]}),t.jsx(Ao,{windowSize:l,children:t.jsxs(He,{style:{alignItems:l==="small"?"flex-start":"flex-end"},children:[t.jsxs(Ho,{children:[S.sevenDayYield,t.jsx(Je,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(xe,{placement:l==="small"?"bottom":"bottom-end",data:S.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Xe,{})})})]}),t.jsxs(No,{windowSize:l,children:[e.yield,"%"]})]})})]})},Zi=({analytics:e,fund:n,fundIndex:a,onHide:d})=>{const c=E(),{common:l,spendManagement:g}=M.getLocalizedStrings(),p=g.treasury.promoPage,m=ge(a,c);return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{children:n.description}),t.jsxs(Go,{children:[t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," Liquidity"]}),t.jsx(K,{children:n.liquidityTimeline})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.fundSize]}),t.jsx(K,{color:m.fundNameColor,children:mt(n.fundSize,n.currencyCode)})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.maturity]}),t.jsxs(K,{children:[n.maturity," ",l.timeStrings.days]})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.expenseRatio]}),t.jsxs(K,{children:[n.expenseRatio,p.expenseRatioSuffix]})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.riskRating]}),t.jsx(K,{children:n.riskRating})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.composition]}),t.jsx(K,{children:t.jsxs(_o,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,Array.isArray(n.compositions)&&n.compositions.length>0&&t.jsx(xe,{style:{textAlign:"left",display:"inline"},title:t.jsx(Uo,{children:n.compositions.map((x,f)=>t.jsxs(qo,{children:[t.jsx(Jo,{}),t.jsx(z,{children:x.investedIn}),t.jsx(z,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},f))}),children:t.jsxs(Xo,{children:["+",n.compositions.length]})})]})})]})]}),t.jsxs(Ko,{children:[t.jsxs(Qo,{onClick:()=>e.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Overview Page"),href:n.url,target:"_blank",rel:"noopener noreferrer",children:[p.asOf," ",n.asOfDate.format("MMM D, YYYY"),t.jsx(Zo,{})]}),t.jsxs(Fo,{onClick:d,children:[p.hide,t.jsx(vo,{})]})]})]})};function eo(e,n){let a=0;for(const d of n){const c=e[d.fundCode]??0;c>0&&d.yield!=null&&(a+=d.yield*c)}return Number((a/100).toFixed(2))}const W=e=>t.jsx(bo,{children:e}),to=o.div`
331
+ `,I={tickLabelText:new N("extraSmallRegular","smallRegular"),balanceIntegerStyles:new N("h5Regular","h3Regular"),integerStyles:new N("largeRegular","h6Regular"),decimalStyles:new N("standardRegular","standardRegular"),fundSummaryStyles:new N("extraSmallSemiBold","smallSemiBold"),yieldValueStyles:new N("standardMedium","largeMedium")},A={accountDetailHeaderPaddingRight:new y(h[3],h[8]),accountDetailHeaderPaddingBottom:new y(h[3],h[6]),accountDetailHeaderPaddingLeft:new y(h[3],h[8]),accountDetailHeaderPaddingTop:new y(h[3],h[6]),accountDetailContentMarginTop:new y(h[4],h[4]),areaChartHeight:new y(114,209),accountDetailHeaderGap:new y(18,100,184)},{spendManagement:{zeniAccounts:Ie,treasury:{overviewPage:S}},dateFormat:re,common:Yi}=M.getLocalizedStrings(),_e=u.memo(({accountHistory:e})=>{const n=D(),a=E(),[d,c]=u.useState(),l=u.useMemo(()=>{const r=X(new Date().toISOString()),w=r.clone().subtract(84,"day"),j=84/6;return Array.from({length:7}).map((v,C)=>{const T=C/6;let L;return T<.5?L=0:T<.6?L=.9*((T-.5)/.09999999999999998):L=.9,{date:(C===6?r:w.clone().add(Math.round(C*j),"day")).toISOString(),value:L}})},[]),g=u.useMemo(()=>(l.length<=0,0),[l.length]),p=e.fetchState==="Completed"&&(e.accountHistoryWithBalance.length===0||e.accountHistoryWithBalance.every(r=>r.balance?.available.amount===0)),m=u.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=u.useCallback(r=>{const w=Array.isArray(r)?r:[];let j="",v="";if(Array.isArray(w)&&w.length>0){const C=w[0].payload?.balance?.available;v=U("0,0[.]00",C),j=X(w[0].payload?.date??"").format(re.visual.DMMMYYYYFormat)}return t.jsxs(wo,{children:[t.jsx(Be,{children:j}),t.jsx(Be,{isSublabel:!0,children:v})]})},[]),f=u.useCallback(r=>{const w=r,{x:j,y:v}=w,{value:C}=w.payload;let T=!1;e.accountHistoryWithBalance.length>360&&(T=!0);const L=T?X(C).format(re.visual.MMMformat):X(C).format(re.visual.MMMDFormat);return t.jsx(co,{translateX:j,translateY:v,children:t.jsx(go,{windowSize:n,dy:20,dx:-25,children:L})})},[e.accountHistoryWithBalance.length,n]),b=u.useCallback(({cx:r,cy:w,dataKey:j})=>(j==="balance.available.amount"&&(d?.x!==r||d?.y!==w)&&c({x:r,y:w}),t.jsx($o,{cx:r,cy:w,strokeWidth:1,r:h[1]})),[d]),s=u.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return t.jsx(uo,{children:p?t.jsxs(To,{children:[t.jsx(be,{height:A.areaChartHeight.value(n),width:"99%",children:t.jsxs(je,{data:l,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Oe,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ae,{offset:"0%",stopColor:a.colors.grey2,stopOpacity:1}),t.jsx(Re,{offset:"100%",stopColor:a.colors.grey2,stopOpacity:.02})]})}),t.jsx(ve,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,tick:r=>f(r),interval:g,padding:{right:h[4]}}),t.jsx(Se,{tick:!1,axisLine:!1,domain:[0,1]}),t.jsx(Ce,{activeDot:void 0,fillOpacity:1,dot:!1,type:"monotone",dataKey:"value",stroke:a.colors.grey2,strokeDasharray:"4 4",fill:"url(#colorUv)"})]})}),t.jsx(Po,{children:t.jsx(zo,{children:S.noData})})]}):t.jsx(be,{height:A.areaChartHeight.value(n),width:"99%",children:t.jsxs(je,{data:m,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Oe,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Ae,{offset:"0%",stopColor:$.brandColorJade,stopOpacity:1}),t.jsx(Re,{offset:"100%",stopColor:$.brandColorJade,stopOpacity:.03})]})}),t.jsx(ve,{dataKey:"date",stroke:a.colors.grey3,tickSize:0,reversed:!0,tick:r=>f(r),padding:{right:h[4]},interval:s}),t.jsx(Se,{tick:!1,axisLine:!1}),t.jsx(Mt,{position:d,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:$.brandColorJade}}),t.jsx(Ce,{activeDot:b,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:$.brandColorJade,fill:"url(#colorUv)"})]})})})});_e.displayName="AccountBalanceGraph";const Ki=M.getLocalizedStrings(),{common:{texts:{comments:Fi},strings:{empty:Vi}},collaboration:{threads:{placeholder:{addANewComment:Wi,replyAComment:Gi},tooltip:{resolveComment:Ui,unResolveComment:_i}}}}=Ki,qi={drawerSectionPaddingLeftRight:new y(h[4],h[5])},Me=({treasuryDetail:e,treasurySetupView:n,isTreasuryCommentingEnabled:a=!1,onColumnSortConfigChanged:d,onBackClick:c,onReloadTreasuryTransactions:l,handleTreasuryOptionSelection:g,onTransferClick:p})=>{const m=D(),x=E(),f=Ze().analytics,b=ie(),[s,r]=u.useState(!1),{setOpenThread:w}=u.useContext(et),{threads:j,isLoading:v}=tt(),C=u.useMemo(()=>j.filter(P=>P.resolved===!1),[j]).length,T=u.useCallback((P,O)=>{w(O),r(!1)},[w]),L=()=>{r(!0),f.trackCommentActivity("treasury","clicked",b.currentTenant?.companyName??Vi,b.controllersList.controllers.map(P=>ht(P)),void 0,void 0,"page icon")};it({componentName:"treasury.overview",enabled:e.fetchState==="Completed"});const oe=P=>{f.trackTreasuryDashboardInteraction((()=>{switch(P){case"editPortfolio":return"Edit Portfolio";case"taxLetter":return"Tax Letter";case"statements":return"Statement";default:return"Settings"}})()),g(P)},R=e.accountSummary,ne=u.useCallback(P=>{let O=null,J;switch(P){case"insuredFunds":O=t.jsx(Ne,{children:S.insuredFundsTooltip}),J="280px";break;case"totalBalance":O=t.jsxs(ko,{children:[t.jsx(Co,{children:S.balanceTooltip.base}),t.jsxs(le,{children:[t.jsx(de,{children:S.balanceTooltip.balance}),t.jsx(ce,{children:U("0,0[.]00",R?.totalBalance)})]}),t.jsxs(le,{children:[t.jsx(de,{children:S.balanceTooltip.processing}),t.jsx(ce,{children:U("0,0[.]00",R?.processingBalance)})]}),t.jsxs(le,{children:[t.jsx(de,{children:S.balanceTooltip.available}),t.jsx(ce,{children:U("0,0[.]00",R?.availableBalance)})]})]}),J="312px";break;case"sevenDayYield":O=t.jsx(Ne,{children:S.fundTile.sevenDayYieldTooltip}),J="464px";break;default:O=t.jsx(t.Fragment,{});break}return t.jsx(Je,{children:t.jsx(xe,{display:"flex",placement:m==="small"?"bottom":"top",title:O,style:{textAlign:"left"},maxWidth:J,children:P==="insuredFunds"?t.jsx(Vo,{}):t.jsx(Xe,{})})})},[R,m]),q=t.jsx(Ai,{onOptionSelection:oe,onTransferClick:()=>{f.trackTreasuryDashboardInteraction("Transfer Funds"),p()},isTreasuryCommentingEnabled:a,isThreadsLoading:v,threadsCount:C,onCommentIconClick:L});return t.jsxs(oo,{children:[t.jsx(ot,{title:S.title,onBackClick:c,showMenuIcon:!1,backgroundColor:x.colors.grey5,style:{zIndex:3,...he.largeSemiBold.cssObject},rightSideComponent:q,source:"treasury"}),t.jsxs(no,{windowSize:m,children:[t.jsxs(ao,{windowSize:m,children:[t.jsx(Ji,{fundAllocation:n.currentAllocation,fundsData:n.fundsData,getToolTipContent:ne,treasuryDetail:e,hasAccountActivity:e.transactions.length>0}),t.jsx(lo,{windowSize:m,children:t.jsx(_e,{accountHistory:e.accountHistory})})]}),t.jsx(Xi,{analytics:f,fundsData:n.fundsData,fundAllocation:n.currentAllocation,hasAccountActivity:e.transactions.length>0})]}),e.transactionsFetchState.fetchState==="Completed"?t.jsx(qe,{treasuryDetail:e,isTreasuryCommentingEnabled:a,onColumnSortConfigChanged:d}):e.transactionsFetchState.fetchState==="Error"?t.jsxs(ho,{children:[t.jsx(po,{onClick:l,"data-testid":V("account-detail-reload"),children:t.jsx(xo,{})}),t.jsx(mo,{children:Yi.reloadPage.label})]}):t.jsx(Hi,{children:t.jsx(nt,{size:"ExtraLarge",start:!0})}),a?t.jsx(at,{isDrawerOpen:s,allowComposer:!1,drawerTitle:Fi,threads:j,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:b.currentTenant?.companyId,isGlobalComment:!1,tab:"treasury"},isLoading:v,textOverrides:{composerPlaceholder:Wi,replyComposerPlaceholder:Gi,threadResolve:Ui,threadUnResolve:_i},onThreadClick:(P,O)=>T(P,O),onCloseAllThreadsDrawer:()=>r(!1),drawerSectionStyle:{width:m==="small"?"100%":"400px",boxSizing:m==="small"?"border-box":"content-box",padding:`${i.sp0} ${qi.drawerSectionPaddingLeftRight.valuePx(m)}`,backgroundColor:x.colors.background},collapsibleThreadStyle:{width:m==="small"?"100%":"360px"}}):null]})},un=e=>{const n=ie().currentTenant?.companyId;if(e.isTreasuryCommentingEnabled!==!0||n==null)return t.jsx(Me,{...e});const a=`dashboard_${n}`;return t.jsx(Qe,{roomId:a,filter:{application:"dashboard",companyId:n,tab:"treasury",isGlobalComment:!1},children:t.jsx(Me,{...e})})},qe=u.memo(({treasuryDetail:e,isTreasuryCommentingEnabled:n=!1,onColumnSortConfigChanged:a})=>{const d=D();return t.jsx(t.Fragment,{children:e.transactions.length>0?t.jsx(io,{windowSize:d,children:t.jsx(ji,{transactionList:e.transactions,fetchState:e.fetchState,uiState:e.uiState,isTreasuryCommentingEnabled:n,onReloadCards:()=>{},onColumnSortConfigChanged:a})}):t.jsx(to,{})})});qe.displayName="TransactionListScreen";const Ji=({treasuryDetail:e,hasAccountActivity:n,getToolTipContent:a,fundAllocation:d,fundsData:c})=>{const l=D(),[g,p]=u.useState(!1);return u.useEffect(()=>{g===!0&&setTimeout(()=>{p(!1)},800)},[g]),t.jsxs(ro,{children:[t.jsxs(te,{children:[t.jsx(yo,{children:t.jsxs(G,{children:[W(Ie.zeniAccountList.totalAvailableBalance),a("totalBalance")]})}),t.jsx(So,{windowSize:l,children:e.accountSummary?.availableBalance?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountSummary?.availableBalance,integerStyles:I.balanceIntegerStyles.styleObject(l),decimalStyles:I.balanceIntegerStyles.styleObject(l)})}):null})]}),t.jsxs(te,{children:[t.jsxs(G,{children:[W(S.insuredFunds),a("insuredFunds")]}),t.jsx(se,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(ae,{amount:{amount:e.accountSummary?.insuredFunds.amount??0,currencyCode:"USD",currencySymbol:"$"},integerStyles:I.integerStyles.styleObject(l),decimalStyles:I.decimalStyles.styleObject(l)})}),t.jsx(G,{children:W(S.insuredFundsAmount)})]}),n&&t.jsxs(so,{children:[t.jsxs(Ee,{children:[t.jsx(G,{children:W(Ie.common.totalYieldEarned)}),t.jsx(se,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsx(ae,{amount:e.accountSummary?.totalYield,integerStyles:I.integerStyles.styleObject(l),decimalStyles:I.decimalStyles.styleObject(l)})})]}),t.jsxs(Ee,{children:[t.jsxs(G,{children:[W(S.sevenDayYield)," ",a("sevenDayYield")]}),t.jsx(se,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.jsxs(fo,{windowSize:l,children:[eo(d??{},c),"%"]})})]})]})]})},Xi=({analytics:e,fundsData:n,fundAllocation:a,hasAccountActivity:d})=>{const[c,l]=u.useState(!1),g=D(),p=E(),m=()=>{l(x=>!x)};return t.jsx(Lo,{windowSize:g,allTilesExpanded:c,children:n.map((x,f)=>{const b=c,s=ge(f,p);return t.jsxs(Do,{expanded:b,windowSize:g,children:[t.jsx(Yo,{bgColor:s.headerBackground}),t.jsx(Qi,{fund:x,fundIndex:f,fundAllocation:a!=null?a[x.fundCode]:0,hasAccountActivity:d}),!c&&t.jsx(Io,{children:t.jsxs(Oo,{onClick:()=>{e.trackTreasuryDashboardInteraction("View Details "+x.fundCompanyName+" "+x.fundName),m()},children:[S.fundTile.viewDetails,t.jsx(jo,{})]})}),b&&t.jsxs(t.Fragment,{children:[t.jsx(en,{}),t.jsx(Zi,{analytics:e,fund:x,fundIndex:f,onHide:m})]})]},x.fundCode)})})},Qi=({fund:e,fundIndex:n,fundAllocation:a})=>{const d=E(),c=ge(n,d),l=D();return t.jsxs(Mo,{windowSize:l,children:[t.jsxs(He,{style:{width:l==="small"?"100%":"50%"},children:[t.jsx(Ro,{children:t.jsxs(Eo,{children:[t.jsx(Ye,{windowSize:l,children:e.fundCode}),t.jsxs(Ye,{windowSize:l,children:[a,"%"]})]})}),t.jsxs(Bo,{color:c.fundNameColor,children:[t.jsx(te,{children:e.fundCompanyName}),t.jsx(te,{children:e.fundName})]})]}),t.jsx(Ao,{windowSize:l,children:t.jsxs(He,{style:{alignItems:l==="small"?"flex-start":"flex-end"},children:[t.jsxs(Ho,{children:[S.sevenDayYield,t.jsx(Je,{style:{marginRight:"-20px",marginTop:"2px"},children:t.jsx(xe,{placement:l==="small"?"bottom":"bottom-end",data:S.fundTile.sevenDayYieldTooltip,variant:"small-description",maxWidth:"464px",children:t.jsx(Xe,{})})})]}),t.jsxs(No,{windowSize:l,children:[e.yield,"%"]})]})})]})},Zi=({analytics:e,fund:n,fundIndex:a,onHide:d})=>{const c=E(),{common:l,spendManagement:g}=M.getLocalizedStrings(),p=g.treasury.promoPage,m=ge(a,c);return t.jsxs(t.Fragment,{children:[t.jsx(Wo,{children:n.description}),t.jsxs(Go,{children:[t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," Liquidity"]}),t.jsx(K,{children:n.liquidityTimeline})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.fundSize]}),t.jsx(K,{color:m.fundNameColor,children:mt(n.fundSize,n.currencyCode)})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.maturity]}),t.jsxs(K,{children:[n.maturity," ",l.timeStrings.days]})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.expenseRatio]}),t.jsxs(K,{children:[n.expenseRatio,p.expenseRatioSuffix]})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.riskRating]}),t.jsx(K,{children:n.riskRating})]}),t.jsxs(H,{children:[t.jsxs(Y,{children:[t.jsx(F,{})," ",p.composition]}),t.jsx(K,{children:t.jsxs(Uo,{children:[n.compositions[0].investedIn," ",n.compositions[0].percentage,Array.isArray(n.compositions)&&n.compositions.length>0&&t.jsx(xe,{style:{textAlign:"left",display:"inline"},title:t.jsx(_o,{children:n.compositions.map((x,f)=>t.jsxs(qo,{children:[t.jsx(Jo,{}),t.jsx(z,{children:x.investedIn}),t.jsx(z,{style:{marginLeft:"auto",textAlign:"right"},children:x.percentage})]},f))}),children:t.jsxs(Xo,{children:["+",n.compositions.length]})})]})})]})]}),t.jsxs(Ko,{children:[t.jsxs(Qo,{onClick:()=>e.trackTreasuryProspectusClick(n.fundCompanyName+" "+n.fundName,n.fundCode,"Treasury Overview Page"),href:n.url,target:"_blank",rel:"noopener noreferrer",children:[p.asOf," ",n.asOfDate.format("MMM D, YYYY"),t.jsx(Zo,{})]}),t.jsxs(Fo,{onClick:d,children:[p.hide,t.jsx(vo,{})]})]})]})};function eo(e,n){let a=0;for(const d of n){const c=e[d.fundCode]??0;c>0&&d.yield!=null&&(a+=d.yield*c)}return Number((a/100).toFixed(2))}const W=e=>t.jsx(bo,{children:e}),to=o.div`
332
332
  display: flex;
333
333
  flex-direction: column;
334
334
  align-items: center;
@@ -669,11 +669,11 @@ import{ay as ie,V as t,gv as Qe,e as D,g as E,a9 as Ze,bQ as et,gw as tt,cl as i
669
669
  display: inline-block;
670
670
  margin-right: ${i.sp2};
671
671
  vertical-align: middle;
672
- `,_o=o.div`
672
+ `,Uo=o.div`
673
673
  display: flex;
674
674
  align-items: center;
675
675
  gap: ${i.sp1};
676
- `,Uo=o.div`
676
+ `,_o=o.div`
677
677
  display: flex;
678
678
  flex-direction: column;
679
679
  gap: ${i.sp1};