@zeniai/web-cockpit-ui 1.15.17-dev → 1.15.18-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 (296) hide show
  1. package/dist/assets/{ACHDetailsPage-cAgIhKJs-bGTsqigs.js → ACHDetailsPage-BrjUad4D-BobK3aVB.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BPwI4kZG-BTP4khzH.js → AIPerformancePage-Dx1ituql-CUuKvJ8n.js} +16 -16
  3. package/dist/assets/AccountInfoPage-BGcQ2kEJ-awOqo-nC.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js → AccountInfoPageContent-BQxwZcii-DAnRLliM.js} +14 -14
  5. package/dist/assets/{AccountLockedInfoModal-b0SYt4cr-DyDb_wyO.js → AccountLockedInfoModal-Q_WY8V5e-CDYJtJV8.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CEjWEa01-aoYQi4ku.js → AccountReconDetailsDrawerPage-DuI7qAkr-CohDb_Vn.js} +25 -25
  7. package/dist/assets/{AccountRow-C9lnDVNf-86hTjbuw.js → AccountRow-D3aEGfjh-CGXQQRag.js} +11 -11
  8. package/dist/assets/{AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js → AccountsPromoCardStack-BrTIGRUz-SlTiOsFA.js} +23 -23
  9. package/dist/assets/AddAddressForCardDrawer-D12dN-9m-CqdZIDlk.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CgCHdO6c-CiVYqd0C.js → AddToWalletPage-DWMdtsY0-CgmcM53j.js} +24 -24
  11. package/dist/assets/{AgingReportsPage-B0NKfFq5-Bk4x7HpE.js → AgingReportsPage-CeFWs8X1-rGaFbgkD.js} +1 -1
  12. package/dist/assets/{AllUserItems-D6uMCcjF-CS_wO3mh.js → AllUserItems-PN_oWzOC-Cfg4W7I4.js} +8 -8
  13. package/dist/assets/{ApAgingDetailPage-CxS9o2Dj-B1fPZ2rF.js → ApAgingDetailPage-CQtY9j4b-xFY56tWP.js} +5 -5
  14. package/dist/assets/{AppBasePage-BnfCjFJA-CQeMBbMI.js → AppBasePage-D0S7OYzO-CJcI9UYp.js} +13 -13
  15. package/dist/assets/{AppDrawerContent-CwBFjBnr-CKjzuecx.js → AppDrawerContent-TIRPcJoE-BOUb6qnD.js} +6 -6
  16. package/dist/assets/ApprovalRulesSettingsPage-CosIHJ5R-BB8nW0VM.js +47 -0
  17. package/dist/assets/{ArAgingChart-6qcRcKoz-MYhKnyKG.js → ArAgingChart-CiNirxU7-C_J23wNp.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-DmUWtQsX-KXzejd7L.js → ArAgingDetailPage-CKBOlCcF-B9yZn5Tp.js} +5 -5
  19. package/dist/assets/{AttachmentView-B0oZITps-CNLEqH0L.js → AttachmentView-MqDuu6PB-C1zlk39q.js} +6 -6
  20. package/dist/assets/{BankAccountSection-C8G2PrLh-OgTv2VaB.js → BankAccountSection-DXFRyqzV-Bg8zqqhX.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection--DkXEMWU-jfcY3ZKV.js → BankAccountWarningSection-DJhHTBuh-D20FRc-x.js} +3 -3
  22. package/dist/assets/{BankConnectionsSettingsPage-DmzolLyN-BNSTT_VR.js → BankConnectionsSettingsPage-CQe2upIp-Cv47vnoF.js} +26 -26
  23. package/dist/assets/{BillDetailPage-BuCOe4eB-DBZDvMBw.js → BillDetailPage-B0ajOYxz-CTy3XK0i.js} +10 -10
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-y3qBdiwE-CP9uLqPK.js → BillPayApprovalRuleDetailPage-BcWQYqjU-CZdskYSr.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-DpN3O_Q1-ILVegrck.js → BillPayApprovalRulesPage-mS00kg1n-C05g3Cpf.js} +14 -14
  26. package/dist/assets/{BillPayPromoPage-Dcly8epm-DNaDxuq-.js → BillPayPromoPage-tUxWWqMY-t6w7JDnT.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-zxd0WLUm-CL6S_QEz.js → BillPaySetUpPage-w47HuYkp-CbWSaNcn.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-Bsm7ZzIW-BChNCOOo.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-gK7xRoiE-B9WwX7Kq.js → BillsBulkReviewDrawerPage-DdI0OCuE-DjrQvH-7.js} +1 -1
  30. package/dist/assets/BoxItem-BGrgQ_sW-cYQcyKu_.js +53 -0
  31. package/dist/assets/BusinessVerificationPage-p1cUyL8l-DeaLZxZn.js +138 -0
  32. package/dist/assets/{CardNumberSubText-CHr49_cJ-9Ya6XjXp.js → CardNumberSubText-yVfOUJpr-DRIDUYcf.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-BNHzTYwa-BdAtNCNi.js → CashbackDetailPage-DAX8aTFq-CX_nfeg0.js} +9 -9
  34. package/dist/assets/{ChargeCardDetailPage-DWyRrPSy-BvyyNVxe.js → ChargeCardDetailPage-CTdVu2LX-CXvKoTcM.js} +35 -35
  35. package/dist/assets/{ChargeCardListPage-D3nBV6Fu-DfN7aWAo.js → ChargeCardListPage-BTf2sf_r-BIeWCtwJ.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DBYEXr_N-7b006WJ7.js → ChargeCardListTable-DEYusOGZ-BR9KGK-S.js} +40 -40
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BEvuS2te-BxwCFTIZ.js → ChargeCardPaymentHistoryPage-BhIiSigy-CmcVMykk.js} +40 -40
  38. package/dist/assets/ChargeCardPromoPage-SMg6Bkmx-BIBCjTA5.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-BgBF1U8E-DnPnCE_j.js → ChargeCardSetupPage-8jA-EjWA-SUTAHgR8.js} +6 -6
  40. package/dist/assets/{ChargeCardStatementsPage-UttZjyIb-CinG3Yr4.js → ChargeCardStatementsPage-CrsqrTNw-cq-ohGFk.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-sXY6MJoX-BBStJHqh.js → CheckDepositDrawerPage-BnMEa1gU-D4KA1YbO.js} +21 -21
  42. package/dist/assets/{CollapsableReportTable-3luMEAJg-BroWF-FL.js → CollapsableReportTable-BQsDuqwg-D4PksJ7s.js} +60 -60
  43. package/dist/assets/CompanyOfficerDetailsSection-CxeWrQJH-XfC5iWX1.js +260 -0
  44. package/dist/assets/{CompanyPassportCard-FgYHweiL-B5gr1lJ_.js → CompanyPassportCard-DUX32IvW-wDP-ayWY.js} +3 -3
  45. package/dist/assets/CompanyPassportPage-Cp0oulai-BQFU8qYi.js +574 -0
  46. package/dist/assets/{CompleteProfile-6pDQ6JjU-C7odNMQ5.js → CompleteProfile-BdeEu2dc-DABogw0l.js} +3 -3
  47. package/dist/assets/ConfettiBurst-C1IgWBaA-CL1o9dY6.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js → ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DMWtQ3qU-Bg7OoiTt.js → CreateOrEditVendorPage-iFE1nb0J-tpGth2AK.js} +12 -12
  50. package/dist/assets/{CreditCardPaymentDrawerPage-OzD38_F8-B8JNfyMQ.js → CreditCardPaymentDrawerPage-CaTanv1T-DKlglNsr.js} +15 -15
  51. package/dist/assets/{CurrencySelectField-DL4q5vKR-DqpW0Wz5.js → CurrencySelectField-BNcLy0zv-DUL30Rmr.js} +3 -3
  52. package/dist/assets/{CustomerOnboardingActivationPage-C8mciX-r-B9Cshw5r.js → CustomerOnboardingActivationPage-D_0kSaYs-DmoaOtfG.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-YZ4WpsDD-CT9Ps13n.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Nl6SOtES-B3qnBN4d.js → CustomerOnboardingDetailPageSkeleton-B1jJ1XJX-Ec31gEaK.js} +13 -13
  55. package/dist/assets/CustomerOnboardingNoStepsPage-CyxHQxxQ-B3uyPHi-.js +66 -0
  56. package/dist/assets/CustomerOnboardingPage-Cj_k0rfN-dr4fZ7As.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BYC_Sp__-B35TL-cQ.js → CustomerOnboardingProductSuitePage-BPRN6xyM-BLvLQxxG.js} +10 -10
  58. package/dist/assets/{Dashboard-DAP7UzjW-DBsJoK5k.js → Dashboard-DYpE_H2b-WMqZzzuP.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-iAA_QiN2-BfmuWrMe.js → DashboardReportPage-BB6dW8kR-BVA8DQgX.js} +10 -10
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CIKwGufL-B4WWY8cX.js → DashboardSidebarBackgroundAnimation-DDLCSC57-BJ_WASPh.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-D3x1jhKt-DssCTMB7.js → DepositAccTransactionItem-CxXM_Pse-aMnsSeAe.js} +6 -6
  62. package/dist/assets/DepositAccTransactionListPage-flz5jtjj-Tj1qKkuc.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-DHUzdqCs-CeJMtDxo.js → DomesticWireDetailsPage-CswDexXc-CwmUyTco.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-C8byijvE-DCI_09Q4.js → DownloadOverlay-Ck84lTok-DoSlSguE.js} +1 -1
  65. package/dist/assets/{DrawerPage-DMQ5MoIw-BlXGV-xV.js → DrawerPage-Ctqr9Qke-DbWbSJy7.js} +9 -9
  66. package/dist/assets/EditPeoplePage-BiGeDyr0-BP5iQ9eS.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-STVvYnku-Dyx2Oikb.js → EditReimbursementDetailPage-DHIg51AQ-Du0u5yPi.js} +37 -37
  68. package/dist/assets/{EntityDetailPage-20BKV_TK-B5sqJOYK.js → EntityDetailPage-BsCWH1Al-WFaE0WQF.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-6JSSyIPA-K01fPehF.js → EntitySummarySection-ntuao-VM-fobvDD6S.js} +23 -23
  70. package/dist/assets/{ExpenseAutomationOverviewPage-DpoYnwJh-DSAhakn4.js → ExpenseAutomationOverviewPage-lptxncga-rbFk8U51.js} +14 -14
  71. package/dist/assets/{ExpenseAutomationPage--kONBcsX-DlY4RThk.js → ExpenseAutomationPage-S1iaOuA5-DRC_L2v_.js} +53 -53
  72. package/dist/assets/{ExpressPayPage-a31-5Bgz-B-4aw0li.js → ExpressPayPage-3UaLqRo7-BW2LLrbf.js} +14 -14
  73. package/dist/assets/{FeaturePreviewPage-z8BJQeL--ChibcOOA.js → FeaturePreviewPage-CLHp1LHp-eKI7eeEH.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-Bl933px0-DXKlKasr.js → FollowStepsSection-BY0dw_SN-iqWfg0Bg.js} +23 -23
  75. package/dist/assets/{GlobalReviewListPage-BLPF3T4t-0m0mv8R4.js → GlobalReviewListPage-CltHFSzG-CQET8EIq.js} +11 -11
  76. package/dist/assets/{InformationCardStack-BTWe4X6t-DdN7cWvp.js → InformationCardStack-CVoS_Bni-DRMXWlfL.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-CoSz_FKI-xRb_a3yi.js → InsightsCardStack-YcKupOZZ-BYS9QdSX.js} +10 -10
  78. package/dist/assets/{InsightsSection-DEnkGYD8-BV7sZQsr.js → InsightsSection-BuCEgcAh-DX4KP6Gi.js} +8 -8
  79. package/dist/assets/{IntegrationsSettingsPage-CEaBjt99-Do0dnq5V.js → IntegrationsSettingsPage-r_VwvwxS-D2fIzpgb.js} +6 -6
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-C1i-ujyZ-DIPsBga8.js → InternationalWireSwiftDetailsPage-B2x6g-rb-BG86r2Q_.js} +14 -14
  81. package/dist/assets/InternationalWireVerificationPage-B-sxkGbq-BzbYdtzf.js +292 -0
  82. package/dist/assets/{InviteFormPage-B2Rl23Qb-D49rnAc4.js → InviteFormPage-CrFWGpJE-DomTNTMP.js} +23 -23
  83. package/dist/assets/{InvitePageListView-E_2j_tF7-BsS6FATD.js → InvitePageListView-BsGwCg5B-DlrJVwFE.js} +39 -39
  84. package/dist/assets/InvitePeoplePage-D0-MjKb2-B1ShEIts.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-drGgAU5w-CP2A3IhR.js → InvoiceUploadSection-BUF7Ko_U-1xPxHQJp.js} +8 -8
  86. package/dist/assets/{IssueChargeCardPage-Cj6pmQbt-DDVdjZ4v.js → IssueChargeCardPage-D5sn5jt4-BWcpzIYT.js} +19 -19
  87. package/dist/assets/{LabeledAddressValue-BjCojNni-CsHQb5xA.js → LabeledAddressValue-Ds1BeyG_-FoXd8L7U.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DyHTdGlm-CErilABA.js → LabeledAddressValueField-D_Ztmm7--tsnB0bq1.js} +4 -4
  89. package/dist/assets/{LabeledControlledCheckBoxField-B5Csu2og-C5h8CQSb.js → LabeledControlledCheckBoxField-DGV1Bz6o-CCbHpDl4.js} +2 -2
  90. package/dist/assets/{LabeledCreatableSingleSelectField-C-dLOvWU-28KwULO3.js → LabeledCreatableSingleSelectField-CTmUlcyk-Dx11AHn5.js} +4 -8
  91. package/dist/assets/LabeledDocumentField-BwHjf12U-ti56UUdB.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-DHx90GON-Rl0wOSQX.js → LabeledDropDownFormattedTextField-BaAHosJI-CDWZK3Xu.js} +1 -1
  93. package/dist/assets/{LabeledText-CRJr2zA8-DRZ423PA.js → LabeledText-CVYTNBOt-LIAQJcbl.js} +5 -5
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CM0HeG1R-pTmkakCa.js → LabeledUserSingleSelectWithSubtitlesField-CnK0wLL0-CdsEapB3.js} +16 -16
  95. package/dist/assets/{LabeledZeniRolesDropDownField-CR8M-X5s-DPGEl74a.js → LabeledZeniRolesDropDownField-B2eu9WQ_-CXTTkytl.js} +20 -20
  96. package/dist/assets/{LinkJETransactionPage-DfY5sKBg-BKNhXIRx.js → LinkJETransactionPage-DTU4Piv4-CzTizu8e.js} +14 -14
  97. package/dist/assets/{LockCardPage-CgCv-EKl-CipF6lcu.js → LockCardPage-9rnmj-hG-Dgtzvq-m.js} +49 -49
  98. package/dist/assets/{LowBalancePopup-OUWtUPdo-DRkjFCjE.js → LowBalancePopup-CCl7fzh9-CRJeCFG3.js} +3 -3
  99. package/dist/assets/MagicLinkACHDetailsPage-B5oowluv-pi_Q89s3.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-BohAWQ_F-BBgkEcbM.js +1 -0
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-B9u7g87s-YokU7IH5.js → MagicLinkInternationalWireDetailsPage-CRx-EIj--rUZQXW3V.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-BwN3dPJM-CQeiTIkx.js → MagicLinkSuccessPage-q5XLFFKd-IcgduK3D.js} +3 -3
  103. package/dist/assets/{MagicLinkTitleSection-C_Xng7ad-D4iutPsA.js → MagicLinkTitleSection-ClWFjqQr-B7_1AUkD.js} +4 -4
  104. package/dist/assets/{MailingDetailsSection-Dmq45H_s-CjyySHTi.js → MailingDetailsSection-Dle_aLif-C9MEuFNg.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-CNUaVzw3-CZkaA3pm.js → MyBankConnectionsSettingsPage-BC47a22v-9PSEA4Wu.js} +12 -12
  106. package/dist/assets/MyPendingActivationChargeCardListPage-BJ_kQQGd-lBfLcXgn.js +6 -0
  107. package/dist/assets/{MyProfileSettingsPage-DdlCBRiN-BYlOj9no.js → MyProfileSettingsPage-C70z69ea-CMxdjCdW.js} +9 -9
  108. package/dist/assets/{NavBarWithPicker-Cx9v8jpk-DJ52ZXJM.js → NavBarWithPicker-CRQ9DzK7-Cs0J7mYU.js} +4 -4
  109. package/dist/assets/{NavigationArrow-CNO4O4XS-DUm9WGAp.js → NavigationArrow-CWRgkV1y-5nUqXc-t.js} +1 -1
  110. package/dist/assets/{NavigationDots-BX9DbCj7-RHGokei7.js → NavigationDots-BDKBgUe6-CeOovYs1.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-Bo_ZeDQH-CgpotWIt.js → NewGlobalMerchantPage-B_mViG5F-TkGICDRh.js} +13 -13
  112. package/dist/assets/{NoDataChart-JfED3unL-jJumSwoX.js → NoDataChart-CJyaj_wD-Ceo15OJ6.js} +1 -1
  113. package/dist/assets/{NoDataTable-BFpO3ZtS-ubjUd8M_.js → NoDataTable-BroHHbsa-C2KBPOR3.js} +1 -1
  114. package/dist/assets/{NotFoundPage-D_HhIdYv-DyNtigHQ.js → NotFoundPage-B-CdwYLM-04zajBZ5.js} +10 -10
  115. package/dist/assets/{NotificationSettingsPage-B2d-vPIZ-WS4EaJDB.js → NotificationSettingsPage-DrMp-0h0-CNJC7C_o.js} +33 -33
  116. package/dist/assets/{NotificationsListConfig-C4LF_8h1-ojY4Mfu-.js → NotificationsListConfig-Cl713fZg-qRofkxh7.js} +1 -1
  117. package/dist/assets/{NotificationsPage-7HqRmokr-0AvCCTrK.js → NotificationsPage-Dh4xulau-_5iAw31w.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CwD1U9q_-idpf-eH0.js → OpExByVendorPage-BslfnDh3-53j8zSVl.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-D2c2jURk.js → OverlayContainerPage-D4QU0p4o-CW30kf30.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-CRkDr0QK-D1powlVT.js → PandLWithForecastPage-BYnaGvO3-Bs93z5El.js} +1 -1
  121. package/dist/assets/PaymentAccountSetupBillingAddressSection-CR6xX1bB-BwbAQyjl.js +107 -0
  122. package/dist/assets/{PeoplePage-D5eQETB2-DZx25X-Y.js → PeoplePage-BRC7-Yol-C9rira3P.js} +18 -18
  123. package/dist/assets/{Preview-Bfns_dDG.js → Preview-BY6UeCTa.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BXPXaIWg-Av-oVPlG.js → ProductsCarousel-BgltUKwq-Dj-tP9zJ.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-C-S0ckZq-DcP7gArA.js → PromoBaseCards-DMleWayu-BFTkh-l1.js} +2 -2
  126. package/dist/assets/{QBOConnectionDialog-qqbamtpL-BeJJQ440.js → QBOConnectionDialog-BSKkJDPD-CJILPjk5.js} +6 -6
  127. package/dist/assets/{QBOSetupSection-CZu_mtMP-CZBINdYC.js → QBOSetupSection-YQ4TKOTA-B5TQNN0G.js} +13 -13
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BE-QC1b0-CvaYArLZ.js → ReimbursementApprovalRuleDetailPage-BFxCrrVt-CFZDA3-E.js} +3 -3
  129. package/dist/assets/{ReimbursementApprovalRulesPage-CXbYB3Y5-Cbew60RV.js → ReimbursementApprovalRulesPage-DQDbyY1K-B5lF3vkz.js} +6 -6
  130. package/dist/assets/{ReimbursementDetailPage-DXMDyCop-DlZGIADX.js → ReimbursementDetailPage-gAg8C98b-DuQNQ-y5.js} +8 -8
  131. package/dist/assets/{ReimbursementPromoPage-DGXHkiBN-DLifue2f.js → ReimbursementPromoPage-DtKtr2rP-C8cL3Mv7.js} +11 -11
  132. package/dist/assets/{ReimbursementSetUpPage-Dd1iGv5X-C_E7fz-A.js → ReimbursementSetUpPage-BdUoR2HM-CIGHv-6r.js} +15 -15
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-D46qP31Q-DT9YskKf.js → ReimbursementsBulkReviewDrawerPage-BL6oI4fi-DUFvxQjQ.js} +1 -1
  134. package/dist/assets/{ReloadCard-BJke_yPt-D_L8D7X-.js → ReloadCard-B3OtOvVI-DVK4TeBa.js} +6 -6
  135. package/dist/assets/{ReportTableViewSelector-DiYnlME4-BJ1-sTjo.js → ReportTableViewSelector-Cmv2xs7h-CJ6mu-Rp.js} +28 -28
  136. package/dist/assets/{ReportsPage-bmKftmYF-NgXuxPpu.js → ReportsPage-SWC6uIs--DupC08g-.js} +1 -1
  137. package/dist/assets/{RevenueChart-DjTdsbym-CUUEbo6t.js → RevenueChart-CZlAswBG-DPlV94YS.js} +14 -14
  138. package/dist/assets/{ReviewDetailsPage-NFOdusAU-CVH2L4to.js → ReviewDetailsPage-BW3pZ3ws-BH9zDrcw.js} +20 -20
  139. package/dist/assets/{ReviewOverlay-Q8tlLMbm-BLu76gBy.js → ReviewOverlay-BhFwGG6t-C0m5jD2s.js} +14 -14
  140. package/dist/assets/RoleWithToolTip-D74SWfZd-B2mOCrt1.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CpjdnINH-Dzwzq8FX.js → ScheduleDetailsFixedAssetsPage-CdmehDsJ-Dd48HqBm.js} +13 -13
  142. package/dist/assets/{ScheduleDetailsPage-DVnetdnH-DhMiGzx8.js → ScheduleDetailsPage-DA1eGkzI-a0yDswoo.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-rJ0jC94w-DDWgbE_4.js → ScheduleSequenceTable-BvGIwZmi-Br-m9rdL.js} +25 -25
  144. package/dist/assets/{ScreenRoutes-0NyWgCAY.js → ScreenRoutes-D3PxnqOE.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-BCoHzvyG-CzNKWW7X.js → SetUpAccountSection-DM4CvIFN-CPQ8K94t.js} +7 -7
  146. package/dist/assets/{SignIn-k3DDmpFU-BAnREigf.js → SignIn-DU3HuwJr-CXMwOpi4.js} +26 -26
  147. package/dist/assets/SignInScreen-PoBHP4-4.js +1 -0
  148. package/dist/assets/{SpendManagementListViewPage-DCfMKXfi-BWeN8ijV.js → SpendManagementListViewPage-VR4dPKBw-DHyDM03E.js} +11 -11
  149. package/dist/assets/{SpendManagementPerTabPage-Hv3QMqv0-CTD5vH6J.js → SpendManagementPerTabPage-CdYRrtcC-DFgavPhh.js} +27 -27
  150. package/dist/assets/{SpendManagementSection-BRp2eDfv-DVKGvM7g.js → SpendManagementSection-C2Uw6UXF-BRw2L3H1.js} +7 -7
  151. package/dist/assets/StatementItem-CS0N92J0-BsnAviIB.js +31 -0
  152. package/dist/assets/StatementsPage-DL8W4WLu-BH9E8ATR.js +58 -0
  153. package/dist/assets/{StatusSwitcher-B5nSXHv6-DTMRsMtw.js → StatusSwitcher-RY35Qzlp-DPptYPVp.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-BPSCR7GS-CQQ30d6t.js → SubTabSwitcher-CIhSt1_V-BGyVDCoP.js} +3 -3
  155. package/dist/assets/{SummaryCard-DdYMAiws-C4w7QxN_.js → SummaryCard-iIQISRZL-Cx0NyzVM.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-9OEooDk9-BnhlYqUu.js → TaskManagementPage-CCC1QlZS-BHBkMyad.js} +30 -30
  157. package/dist/assets/{TimeRangeSwitcher-BG9h3Mws-BXPl7KzE.js → TimeRangeSwitcher-BIA3BW1g-Bty5Ch9x.js} +11 -11
  158. package/dist/assets/{TimeframeSwitcher-BlkN2ln5-CbPVM8iC.js → TimeframeSwitcher-BhV0yrj0-CbCl4A9y.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-r8YzbhCn-DALUFB9M.js → TimeframeSwitcherWithToggle-CIAZXHb2-orP1uTMH.js} +2 -2
  160. package/dist/assets/{TopExCard-CDAkgH2B-DQW-zWxw.js → TopExCard-CPsxq74q-662cwF8z.js} +4 -4
  161. package/dist/assets/{TopExDetailPage-BN9IdTkO-DE8PmHT3.js → TopExDetailPage-BGoq66Fs-0PJ8BVQb.js} +9 -9
  162. package/dist/assets/{TransactionActivityLogPage-CTl6Lo3h-Dr0PqgiK.js → TransactionActivityLogPage-BW-qVpWu-D-8WEz2X.js} +12 -12
  163. package/dist/assets/{TransactionDetailPage-DSR3itvE-B47s770o.js → TransactionDetailPage-D0tW8GIH-C00b9e62.js} +35 -35
  164. package/dist/assets/{TransactionList-wLBz-A1j-R5pqCBUj.js → TransactionList-T8gAOJc0-Dw9G55NV.js} +5 -5
  165. package/dist/assets/{TransactionListBig-BA00B8Vn-B52eXfHk.js → TransactionListBig-CMjxUKt2-BhSVq9fm.js} +7 -7
  166. package/dist/assets/{TransactionListPage-Dyi4SMpD-Bm97EAJv.js → TransactionListPage-Bx6qszUl-B-5CDbC_.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-6HbXn17w-COo-5ffY.js → TransactionVendorDetailPage-Ca7bgryb-CmVBYko3.js} +16 -16
  168. package/dist/assets/{TransferDrawerPage-GnqDJJ7x-u45NHhBy.js → TransferDrawerPage-DG6q94Ch-Cqord4XL.js} +28 -28
  169. package/dist/assets/{TreasuryOverviewPage-7s3XhxYc-CoT8RYIQ.js → TreasuryOverviewPage-YNlUL3px-B_35sSeA.js} +32 -32
  170. package/dist/assets/{TreasuryPromoPage-DFnHMTJ--CP3RuQCD.js → TreasuryPromoPage-CBSYXvme-DpMWnl6i.js} +8 -8
  171. package/dist/assets/{TreasuryStatementsPage-BdUYirAC-Duwk2wsH.js → TreasuryStatementsPage-D0YaCwv3-PNzj_mHV.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-fX08Nflm-B-GslDLQ.js → TreasuryTaxLetterPage-Bln01PPe-DpJfleJK.js} +1 -1
  173. package/dist/assets/{TrendChart-mamZxFEf-DPlJCKYL.js → TrendChart-DjKmnpsm-CS6VXx1C.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-fGuXIDf7-HyuIbA66.js → TrendWithTransactions-D2CSrQJG-DdbpQrSL.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-FPf4YpN2-Cp3ASbXZ.js → UncategorizedAccountsMappingPage-BhgJFJvY-Cs1YOJIy.js} +15 -15
  176. package/dist/assets/{UnitIntegrationPage-BcIYQ6E_-B6tBJIS1.js → UnitIntegrationPage-CtNIGtOS-DZq9w7mC.js} +7 -7
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CFiPe--u-DrxhGkyT.js → UploadAdditionalDocumentOverlay-D44jXTDW-DwZWfezE.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BreN6fS3-FjXbhU9D.js → Vendor2FAPopup-BogFaSYy-BlnTHqfY.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-Di9QJ0hA-BNrZk8u_.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DXKn3qSR-Di8ThCGh.js → VendorDetailPage-DRr5ci0V-Du2p3ojh.js} +86 -86
  181. package/dist/assets/{VendorDomesticWireDetailsPage-7m-21BIT-BVTn5C6b.js → VendorDomesticWireDetailsPage-DCdG-eGI-IQvY9pai.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-D5jPoLoj-DhLrefqh.js → VendorFiling1099EditablePage-C6mptSEx-B_hdSwqB.js} +14 -14
  183. package/dist/assets/{VendorFirstReviewPage-Bxj_Far6-DOA9lu2j.js → VendorFirstReviewPage-CLBTSreq-DCVG1u2-.js} +33 -33
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DCdiiuBR-D9OAEuuJ.js → VendorInternationalWireDetailsPage-oMdWj41X-CmZF5xAN.js} +10 -10
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CM2bFEbE-B7IN2oYH.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-BYkKSsB8-BmGLfX_G.js → VendorsAccountsSection-Cr_m8Jyi-CiH59Azu.js} +2 -2
  187. package/dist/assets/{VerifyDevice-DxoL8hYf-Cowpahhc.js → VerifyDevice-DrXK_7gG-CEX4QcR9.js} +7 -7
  188. package/dist/assets/{VideoPlayer-ByXKIag5-BZsoWnFe.js → VideoPlayer-BZe4PqnR-CX1XPKSp.js} +2 -2
  189. package/dist/assets/{VideoPopup-DybLGmZL-CNsVI5bc.js → VideoPopup-BaEQAfak-DFKT4R55.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-Ddp3wpvG-CdbbY6NF.js → WarningsDrawerPage-COJ1hjAD-BEWCjyIu.js} +7 -7
  191. package/dist/assets/{ZeniAccountDetailPage-C-B9h3wI-CKYwhajY.js → ZeniAccountDetailPage-Chx3JWsc-DUW0nJwl.js} +24 -24
  192. package/dist/assets/{ZeniAccountListViewPage-CWvKejM--BPGukJA_.js → ZeniAccountListViewPage-6RhsoQzy-B1q4otvI.js} +11 -11
  193. package/dist/assets/{ZeniAccountNavBarPieces-xyI5r3gJ-CbIslzwK.js → ZeniAccountNavBarPieces-10K_Qgxx-DnALebZP.js} +3 -3
  194. package/dist/assets/{ZeniAccountPromoPage-ClU5aJ3_-4ixwSQil.js → ZeniAccountPromoPage-ClXA4h8f-BJADOlI6.js} +16 -16
  195. package/dist/assets/{ZeniAccountSetupPage-BF6_J9le-DCR58vNJ.js → ZeniAccountSetupPage-7YlBF0nq-BMd9Jfil.js} +4 -4
  196. package/dist/assets/{ZeniCopyright-CyBZnbZa-D5SmAZYL.js → ZeniCopyright-k2F7p5Nn-CWJt4f_H.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js → ZeniTransferAmountSlider-CJY_ei3T-BQBKQlY-.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-l6e6C-pa.js → add-to-wallet-DgdBD8_G-CNvnwL2z.js} +1 -1
  199. package/dist/assets/{analytics-DGcxWyl6.js → analytics-rms9goNI.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BcBQi1qY.js → analyticsHelper-DTNFmelW.js} +1 -1
  201. package/dist/assets/{analyticsHelper-HEUQhbuJ-Cq2Mtjgc.js → analyticsHelper-e2zBYls0-DsW-gRIg.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-C0A9x354.js → arrow-south-east-round-PEovUgvH-DpZb0ICZ.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CC0rbz99.js → auto-transfer-rule-mbafm5D3-CBISKKCi.js} +1 -1
  204. package/dist/assets/{chartTypes-CnipzTeX-DGSU_TZ0.js → chartTypes-D0t0a86R-VgxTrMCK.js} +1 -1
  205. package/dist/assets/{commonDimensions-DmFc7WqO-CxyyXmLy.js → commonDimensions-BwCds81U-kEodPKRG.js} +1 -1
  206. package/dist/assets/{constants-jbgzJYdx.js → constants-C3kp1fkP.js} +1 -1
  207. package/dist/assets/{core-BMaLzXUJ.js → core-B_30foAD.js} +1 -1
  208. package/dist/assets/{dash.all.min-DmpFQIVa.js → dash.all.min-3-z_MPR8.js} +1 -1
  209. package/dist/assets/{detailCommon-x-UFksNz-DKaz3zHe.js → detailCommon-CFEglqRw-DcI3Dm8c.js} +6 -6
  210. package/dist/assets/{downloadPdf-D1grj9oX-Bei5Wpqc.js → downloadPdf-BfjQscZh-CeCugFTI.js} +1 -1
  211. package/dist/assets/{empty-CxyNypVD.js → empty-BB-5X2tp.js} +1 -1
  212. package/dist/assets/{empty-DJguQx7A.js → empty-DyZfcN1I.js} +1 -1
  213. package/dist/assets/epic-CXeU0a14.js +2 -0
  214. package/dist/assets/{gift-box-Cmt9OgIZ-ZuOwWA2g.js → gift-box-Cmt9OgIZ-tVleHIYS.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CR5EZc8Z.js → graphic-no-data-l-DU4J8fDt-CYR0rF_u.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BhBXhGOx.js → graphic-no-data-net-burn-l-CzmycA0m-DI-E_991.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-DiPOUMao.js → handshake-BPg58FML-DRFlkqA2.js} +1 -1
  218. package/dist/assets/{index-CQmr12-Z.js → index-4xstgUx1.js} +1 -1
  219. package/dist/assets/{index-C3zM8gb6.js → index-BCh0qUkM.js} +1 -1
  220. package/dist/assets/{index-rJQoaAfw.js → index-BR9aIv1A.js} +2758 -2774
  221. package/dist/assets/{index-tuFs6sMC.js → index-BhfvNbOl.js} +1 -1
  222. package/dist/assets/{index-DKka6liW.js → index-BoyomC_-.js} +1 -1
  223. package/dist/assets/{index-Dw_2FdYw.js → index-DVfmIUIY.js} +1 -1
  224. package/dist/assets/{index-DPwk4vO3.js → index-DgHTMbc3.js} +1 -1
  225. package/dist/assets/{lexical-CyZM9SwL.js → lexical-CcL2Fd1i.js} +1 -1
  226. package/dist/assets/{liveblocks-CohL7dW6.js → liveblocks-B8f0lmpe.js} +1 -1
  227. package/dist/assets/{lottie-XKgYVRq1.js → lottie-CbICbNKh.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-D-j3xrlE-C3TmZv3p.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-SPabSQrM-Cf3ilJGA.js → mapSectionWithAcOnlyToTreeNode-D84rlDgo-CA3ifSFr.js} +1 -1
  230. package/dist/assets/mapSpacerToTreeNode--_h7d27O-sxGNKTOK.js +1 -0
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-BwS2KbWd-CAuCdcVv.js → mapTimeframeBalancesToTreeNode-BqoG_HF--CRhmAO8j.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-DPb6o33r-DFBVfNq3.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CCAWuSrJ-B5KhCzdx.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DAB0kK09-CTBKyUYq.js} +1 -1
  234. package/dist/assets/{mui-KNfEk2A1.js → mui-C7Q1opAD.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-BLbwsJjf.js → page-detail-CWX5S47F-DfEuZBUZ.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js → panelSelectedMixin-CzfD5-Zs-Udxivyx_.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-_DAtDxCX.js → radio-default-CiSgisfh-VWYNvRzB.js} +1 -1
  238. package/dist/assets/{react-DOhUJ6O2.js → react-B1skuV78.js} +1 -1
  239. package/dist/assets/{react-KKmCM6TX.js → react-C5VDu1Xe.js} +2 -2
  240. package/dist/assets/{react-CPz-xjGo.js → react-CEhgfqKO.js} +2 -2
  241. package/dist/assets/{react-H0CMmi2N.js → react-D-QPbFx5.js} +1 -1
  242. package/dist/assets/{react-Cbh1mkS2.js → react-DODYMrDc.js} +1 -1
  243. package/dist/assets/{react-wx6Np1L0.js → react-OE6vDDlS.js} +1 -1
  244. package/dist/assets/{react-CX71OnYA.js → react-gaSEjZmU.js} +1 -1
  245. package/dist/assets/{react-CfuDRhRn.js → react-zf2AM5gr.js} +1 -1
  246. package/dist/assets/{recharts-D8Mh9GJw.js → recharts-v_b66Qfi.js} +1 -1
  247. package/dist/assets/{sentry-CGE1ab0x.js → sentry-BwoJfpTa.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BeHXxYmi.js → shield-DOlUxcFf-DlZ9ml05.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-mNZ5ym9S-BQfS02g5.js +1 -0
  250. package/dist/assets/{toChartData-VTidOIL7-CTZNeqK0.js → toChartData-BVSCRQYT-CU2W4nbR.js} +1 -1
  251. package/dist/assets/{uploadAttachment-CwSRD9la-Dwn2_OC8.js → uploadAttachment-D3ybtHtR-D84dG_-j.js} +30 -30
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-COPT6pnG.js → uploadReceipts-Dge0cNF1-C6WyXewN.js} +1 -1
  253. package/dist/assets/{url-D3fzoRiq.js → url-BcaeVwpg.js} +1 -1
  254. package/dist/assets/{url-CxS4k21H.js → url-o9j2r9Zq.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-YmFx62lI.js → useLongPress-GCK2COYQ-CM12epgA.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-lvUUHuIi.js → usp-line-BBd1wKwW-Cyu4xp0r.js} +1 -1
  257. package/dist/assets/{utils-Co3Y654K.js → utils-C75CTJHa.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-CiJSQQSe.js → zeni-epic-state-Deo9yJpd.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +3 -3
  261. package/dist/assets/AccountInfoPage-jlXCF7Gn-p294yilG.js +0 -18
  262. package/dist/assets/AddAddressForCardDrawer-BIjROWAw-BSYp9XYN.js +0 -6
  263. package/dist/assets/ApprovalRulesSettingsPage-91Tg_EpH-BzKB_HwN.js +0 -47
  264. package/dist/assets/BillingSettingsPage-Djx3EUQO-2EyCLMZp.js +0 -44
  265. package/dist/assets/BoxItem-ClRdlCWM-B_aqSV-L.js +0 -53
  266. package/dist/assets/BusinessVerificationPage-Dzp7gFwH-iwUmX4wV.js +0 -138
  267. package/dist/assets/ChargeCardPromoPage-DxNPvbeh-CTzLEbbH.js +0 -222
  268. package/dist/assets/CompanyOfficerDetailsSection-wa4YnlL--Bvat7gA-.js +0 -331
  269. package/dist/assets/CompanyPassportPage-B8LoE1o9-B6zE-V-E.js +0 -417
  270. package/dist/assets/ConfettiBurst-BAIozwVU-BMA4g7cW.js +0 -1
  271. package/dist/assets/CustomerOnboardingContainerPage-Btl2A6Cw-CdJnPywR.js +0 -1
  272. package/dist/assets/CustomerOnboardingNoStepsPage-CQN8EEU--ChBu6uTX.js +0 -66
  273. package/dist/assets/CustomerOnboardingPage-B77cjZbE-Do4tQjfo.js +0 -107
  274. package/dist/assets/DepositAccTransactionListPage-W9xt6kxv-BUhaUskS.js +0 -66
  275. package/dist/assets/EditPeoplePage-D7TQFFBG-Djz1uJLh.js +0 -55
  276. package/dist/assets/InternationalWireVerificationPage-CWBpTNA9-9aWL0J3i.js +0 -65
  277. package/dist/assets/InvitePeoplePage-CljSsdaM-DHNLTMCH.js +0 -12
  278. package/dist/assets/LabeledCountryMultiSelectField-Ds0vvyNd-ypZKY9co.js +0 -237
  279. package/dist/assets/LabeledDocumentField-b5xujqjK-HTjOeiZT.js +0 -41
  280. package/dist/assets/LabeledMultiSelectField-CEoszkBN-B4_Me-4T.js +0 -223
  281. package/dist/assets/MagicLinkACHDetailsPage-DJEu5rMd-BJeKMJK9.js +0 -1
  282. package/dist/assets/MagicLinkDomesticWireDetailsPage--0yYTzva-BnphHyQr.js +0 -1
  283. package/dist/assets/MyPendingActivationChargeCardListPage-Dz1U6l9--DwLxZlPN.js +0 -6
  284. package/dist/assets/PaymentAccountSetupBillingAddressSection-B6nTWyOD-gY1zpkFD.js +0 -107
  285. package/dist/assets/RoleWithToolTip-BWdD1HmA-BCpJ5d2U.js +0 -22
  286. package/dist/assets/SignInScreen-BOrZAIYm.js +0 -1
  287. package/dist/assets/StatementItem-9DHoMBjx-DlzvIjc2.js +0 -31
  288. package/dist/assets/StatementsPage-CdOlg2R0-CFHx0zSi.js +0 -58
  289. package/dist/assets/VendorACHDetailsPage-CP2mHGE7-CG1YPLHx.js +0 -1
  290. package/dist/assets/VendorInternationalWireSwiftDetailsPage-JzRuqiHJ-DYQH4bJe.js +0 -1
  291. package/dist/assets/commonTypes-CU0qY6Px-ZdnVolMx.js +0 -1
  292. package/dist/assets/epic-DJmh-RNR.js +0 -2
  293. package/dist/assets/mapLoadingInProgressToTreeNode-gyu3qs1Z-SebMrCb0.js +0 -1
  294. package/dist/assets/mapSpacerToTreeNode-D_rRYkys-BvhCp_uR.js +0 -1
  295. package/dist/assets/mapTimeframeBalancesToTreeNode-8JwIYBnd-DXtmYfY7.js +0 -1
  296. package/dist/assets/toCOABalancesWithID-BcVCEfwr-D-kim1rY.js +0 -1
@@ -1,4 +1,4 @@
1
- import{cd as fe,J as R,V as t,b3 as ue,aP as h,df as xe,dg as he,da as pe,dh as ge,o as a,p as J,ct as be,F as y,y as Z,T as we,al as v,u as g,ai as $e,di as ye,dj as X,d1 as G,aN as ee,am as ve}from"./index-rJQoaAfw.js";import{a as u,P as je}from"./sentry-CGE1ab0x.js";import{n,c as ke}from"./mui-KNfEk2A1.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js";import{F8 as V,F9 as Q,Fa as q,Fb as L,bh as Le,Fn as te,bE as ie}from"./zeni-epic-state-CiJSQQSe.js";import{g as ae}from"./BoxItem-ClRdlCWM-B_aqSV-L.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-PdsDXPWw.js";import{o as B}from"./commonDimensions-DmFc7WqO-CxyyXmLy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="1e45d05f-0257-4e57-b9c1-e35e7e77204e",e._sentryDebugIdIdentifier="sentry-dbid-1e45d05f-0257-4e57-b9c1-e35e7e77204e")}catch{}})();const T=e=>e?24:125,Pe={containerPaddingBottom:new Z(g[9],g[8])},K=n.div`
1
+ import{cd as fe,J as R,V as t,b3 as ue,aP as h,dg as xe,dh as he,db as pe,di as ge,o as a,p as J,ct as be,F as y,y as Z,T as we,al as v,u as g,ai as $e,dj as ye,dk as X,d2 as G,aN as ee,am as ve}from"./index-BR9aIv1A.js";import{a as u,P as je}from"./sentry-BwoJfpTa.js";import{n,c as ke}from"./mui-C7Q1opAD.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js";import{F8 as V,F9 as Q,Fa as q,Fb as L,bh as Le,Fn as te,bE as ie}from"./zeni-epic-state-Deo9yJpd.js";import{g as ae}from"./BoxItem-BGrgQ_sW-cYQcyKu_.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-Udxivyx_.js";import{o as B}from"./commonDimensions-BwCds81U-kEodPKRG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="32ea4785-1670-4614-bd57-3efec4fcdfaa",e._sentryDebugIdIdentifier="sentry-dbid-32ea4785-1670-4614-bd57-3efec4fcdfaa")}catch{}})();const T=e=>e?24:125,Pe={containerPaddingBottom:new Z(g[9],g[8])},K=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -52,15 +52,15 @@ import{cd as fe,J as R,V as t,b3 as ue,aP as h,df as xe,dg as he,da as pe,dh as
52
52
  margin-left: ${a.sp3};
53
53
  text-align: right;
54
54
  width: ${e=>B.amountWidth.valuePx(e.windowSize)};
55
- `,Oe=n.div`
56
- display: flex;
57
55
  `,ze=n.div`
56
+ display: flex;
57
+ `,Ne=n.div`
58
58
  ${e=>e.isPanelSelected===!0&&ke`
59
59
  > div {
60
60
  ${Me(e.theme)}
61
61
  }
62
62
  `}
63
- `;function Ne({transaction:e,onItemClick:i,isCompressedMode:c}){const{description:o,typeName:r,amount:m,logo:f,vendorId:d}=e,s=ie(e)&&d==null;return t.jsxs(Te,{onClick:()=>i?.(e),"data-testid":h("transaction-item-medium",e.id),children:[t.jsx(X,{photoUrl:s===!1?f?.toString()??U:U,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:t.jsx(Oe,{children:t.jsx(G,{name:o,size:a.sp4})})}),t.jsxs(De,{children:[t.jsx(Ie,{children:o}),r!=null&&c!==!0?t.jsx(Se,{className:"tag",children:r}):null]}),t.jsx(Ce,{children:ee("0,0.00",m)})]})}function Ee({data:e,boxType:i,onItemClick:c}){const{isCompressedMode:o,selectedTransactionId:r}=ye(),m=r!=null&&r===e.id,f=te(e.type)==null,d=t.jsx(Ne,{transaction:e,onItemClick:f?void 0:c,isCompressedMode:o});return t.jsx(ze,{isPanelSelected:m,children:t.jsx(ae,{content:d,boxType:i,isDisabled:f})})}const{common:{strings:{empty:W}}}=y.getLocalizedStrings(),Re=n.div`
63
+ `;function Oe({transaction:e,onItemClick:i,isCompressedMode:c}){const{description:o,typeName:r,amount:m,logo:f,vendorId:d}=e,s=ie(e)&&d==null;return t.jsxs(Te,{onClick:()=>i?.(e),"data-testid":h("transaction-item-medium",e.id),children:[t.jsx(X,{photoUrl:s===!1?f?.toString()??U:U,styles:{width:a.sp4,height:a.sp4,borderRadius:a.sp0},placeholder:{width:g[4],height:g[4]},fallbackAvatar:t.jsx(ze,{children:t.jsx(G,{name:o,size:a.sp4})})}),t.jsxs(De,{children:[t.jsx(Ie,{children:o}),r!=null&&c!==!0?t.jsx(Se,{className:"tag",children:r}):null]}),t.jsx(Ce,{children:ee("0,0.00",m)})]})}function Ee({data:e,boxType:i,onItemClick:c}){const{isCompressedMode:o,selectedTransactionId:r}=ye(),m=r!=null&&r===e.id,f=te(e.type)==null,d=t.jsx(Oe,{transaction:e,onItemClick:f?void 0:c,isCompressedMode:o});return t.jsx(Ne,{isPanelSelected:m,children:t.jsx(ae,{content:d,boxType:i,isDisabled:f})})}const{common:{strings:{empty:W}}}=y.getLocalizedStrings(),Re=n.div`
64
64
  display: flex;
65
65
  padding: ${a.sp3} ${a.sp4};
66
66
  flex-direction: row;
@@ -150,4 +150,4 @@ import{cd as fe,J as R,V as t,b3 as ue,aP as h,df as xe,dg as he,da as pe,dh as
150
150
  border-radius: 2px;
151
151
  }
152
152
  }
153
- `,gt=u.forwardRef(function({firstMonthOfFY:e,timeframe:i,timePeriod:c,transactions:o,isFirstLotLoading:r,currentScrollYOffset:m,componentName:f,showLoadNext:d,showLoadPrevious:s,onTransactionItemClick:x,trackPerformance:M=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const P=u.useMemo(()=>tt(o),[o]),D=u.createRef(),[I,oe]=u.useState(!1);u.useEffect(()=>{D.current?.resetAfterIndex(0)},[o,D]);const re=k,Y=u.useRef(null),[se,ne]=u.useState(void 0);u.useEffect(()=>{!I&&r===!1&&oe(!0)},[r,I]),fe({componentName:f,enabled:M&&I});const de=()=>{if(Y!=null&&typeof Y=="object"&&Y.current){const l=Y.current;l!=null&&l.clientHeight>0&&l.clientHeight!=se&&(ne(l.clientHeight),j?.(l.clientHeight))}},H=u.useRef(x);H.current=x;const le=u.useCallback((...l)=>{H.current?.(...l)},[]),C=P.length===0,_=s!=null,O=d!=null,z=P.length+(d!=null?1:0)+(s!=null?1:0)+(C===!0?1:0),A=l=>O===!0?l-1:l,F=R(),ce=({index:l,style:w})=>{if(O===!0&&l===0)return t.jsx("div",{style:{...w},children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","list-item-load-more"),children:t.jsx(E,{firstMonthOfFY:e,isLoadNextItem:!0,isLoading:d?.isLoading==!0,timePeriod:c,timeframe:i,fixedTimePeriod:d?.fixedTimePeriod,doLoadMoreTransactions:(p,N)=>{d?.onLoadNextClick?.(p,N)}})})});if(_===!0&&l===z-1)return t.jsx("div",{style:{...w},children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","list-item-load-previous"),children:t.jsx(E,{firstMonthOfFY:e,isLoadNextItem:!1,isLoading:s?.isLoading==!0,timePeriod:c,fixedTimePeriod:s?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(p,N)=>{s?.onLoadPreviousClick?.(p,N)}})})});if(C===!1){const p=P[A(l)];return t.jsx("div",{style:{...w},children:t.jsxs(S,{windowSize:F,children:[t.jsx(Ge,{date:p.date,transactions:p.transactions,onItemClick:le}),s==null?t.jsx(ot,{}):null]})})}else return t.jsx("div",{style:{...w},children:t.jsx(rt,{children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","transactions-list-empty"),children:t.jsx(st,{children:dt(c,d?.isLoading==!0||s?.isLoading==!0)})})})})},me=l=>O===!0&&l===0?T(!0):_===!0&&l===z-1?T(!1):C===!1?Ze(P[A(l)].transactions.length):T(!1);return t.jsx(at,{children:t.jsx(ue,{children:({height:l,width:w})=>t.jsx(nt,{"data-testid":h("transaction-list"),ref:D,height:l,width:w,innerElementType:Ye,innerRef:Y,outerRef:re,onItemsRendered:de,itemCount:z,itemSize:me,onScroll:({scrollOffset:p})=>{b?.(p)},initialScrollOffset:m??0,children:ce})})})}),dt=(e,i)=>i===!0?$.transactionList.fetching:e.startDate.isSame(e.endDate,"month")?`${$.transactionList.noTransactionsFoundForPrefix} (${e.startDate.format($.dateFormat.visual.MMMYYFormat)})`:`${$.transactionList.noTransactionsFoundForPeriodPrefix} (${e.startDate.format($.dateFormat.visual.MMMYYFormat)} - ${e.endDate.format($.dateFormat.visual.MMMYYFormat)})`;export{gt as T};
153
+ `,gt=u.forwardRef(function({firstMonthOfFY:e,timeframe:i,timePeriod:c,transactions:o,isFirstLotLoading:r,currentScrollYOffset:m,componentName:f,showLoadNext:d,showLoadPrevious:s,onTransactionItemClick:x,trackPerformance:M=!0,onTransactionListScroll:b,onListInnerElementHeightChanged:j},k){const P=u.useMemo(()=>tt(o),[o]),D=u.createRef(),[I,oe]=u.useState(!1);u.useEffect(()=>{D.current?.resetAfterIndex(0)},[o,D]);const re=k,Y=u.useRef(null),[se,ne]=u.useState(void 0);u.useEffect(()=>{!I&&r===!1&&oe(!0)},[r,I]),fe({componentName:f,enabled:M&&I});const de=()=>{if(Y!=null&&typeof Y=="object"&&Y.current){const l=Y.current;l!=null&&l.clientHeight>0&&l.clientHeight!=se&&(ne(l.clientHeight),j?.(l.clientHeight))}},H=u.useRef(x);H.current=x;const le=u.useCallback((...l)=>{H.current?.(...l)},[]),C=P.length===0,_=s!=null,z=d!=null,N=P.length+(d!=null?1:0)+(s!=null?1:0)+(C===!0?1:0),A=l=>z===!0?l-1:l,F=R(),ce=({index:l,style:w})=>{if(z===!0&&l===0)return t.jsx("div",{style:{...w},children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","list-item-load-more"),children:t.jsx(E,{firstMonthOfFY:e,isLoadNextItem:!0,isLoading:d?.isLoading==!0,timePeriod:c,timeframe:i,fixedTimePeriod:d?.fixedTimePeriod,doLoadMoreTransactions:(p,O)=>{d?.onLoadNextClick?.(p,O)}})})});if(_===!0&&l===N-1)return t.jsx("div",{style:{...w},children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","list-item-load-previous"),children:t.jsx(E,{firstMonthOfFY:e,isLoadNextItem:!1,isLoading:s?.isLoading==!0,timePeriod:c,fixedTimePeriod:s?.fixedTimePeriod,timeframe:i,doLoadMoreTransactions:(p,O)=>{s?.onLoadPreviousClick?.(p,O)}})})});if(C===!1){const p=P[A(l)];return t.jsx("div",{style:{...w},children:t.jsxs(S,{windowSize:F,children:[t.jsx(Ge,{date:p.date,transactions:p.transactions,onItemClick:le}),s==null?t.jsx(ot,{}):null]})})}else return t.jsx("div",{style:{...w},children:t.jsx(rt,{children:t.jsx(S,{windowSize:F,"data-testid":h("transaction-list","transactions-list-empty"),children:t.jsx(st,{children:dt(c,d?.isLoading==!0||s?.isLoading==!0)})})})})},me=l=>z===!0&&l===0?T(!0):_===!0&&l===N-1?T(!1):C===!1?Ze(P[A(l)].transactions.length):T(!1);return t.jsx(at,{children:t.jsx(ue,{children:({height:l,width:w})=>t.jsx(nt,{"data-testid":h("transaction-list"),ref:D,height:l,width:w,innerElementType:Ye,innerRef:Y,outerRef:re,onItemsRendered:de,itemCount:N,itemSize:me,onScroll:({scrollOffset:p})=>{b?.(p)},initialScrollOffset:m??0,children:ce})})})}),dt=(e,i)=>i===!0?$.transactionList.fetching:e.startDate.isSame(e.endDate,"month")?`${$.transactionList.noTransactionsFoundForPrefix} (${e.startDate.format($.dateFormat.visual.MMMYYFormat)})`:`${$.transactionList.noTransactionsFoundForPeriodPrefix} (${e.startDate.format($.dateFormat.visual.MMMYYFormat)} - ${e.endDate.format($.dateFormat.visual.MMMYYFormat)})`;export{gt as T};
@@ -1,4 +1,4 @@
1
- import{y as a,J as R,aw as Y,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b as ae,p as A,o,a as j,c as ee,F as $,bq as se,br as le,ai as de,aq as ce,aN as me,bs as pe,ao as he,T as ue,D as q,bt as te,r as G,aT as oe}from"./index-rJQoaAfw.js";import{a as T,P as C}from"./sentry-CGE1ab0x.js";import{n as i,c as ge}from"./mui-KNfEk2A1.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-CiJSQQSe.js";import{G as $e,c as ye}from"./AccountsPromoCardStack-hzApdgeN-DUJB0-p0.js";import{a as be}from"./ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./SummaryCard-DdYMAiws-C4w7QxN_.js";import"./ReloadCard-BJke_yPt-D_L8D7X-.js";import"./NavigationArrow-CNO4O4XS-DUm9WGAp.js";import"./NavigationDots-BX9DbCj7-RHGokei7.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]="7205ee71-3d15-4380-a09f-3e89483055d9",e._sentryDebugIdIdentifier="sentry-dbid-7205ee71-3d15-4380-a09f-3e89483055d9")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,J as R,aw as Y,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b as ae,p as A,o,R as j,a as ee,F as $,bq as se,br as le,ai as de,aq as ce,aN as me,bs as pe,ao as he,T as ue,D as q,bt as te,r as G,aT as oe}from"./index-BR9aIv1A.js";import{a as T,P as C}from"./sentry-BwoJfpTa.js";import{n as i,c as ge}from"./mui-C7Q1opAD.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-Deo9yJpd.js";import{G as $e,c as ye}from"./AccountsPromoCardStack-BrTIGRUz-SlTiOsFA.js";import{a as be}from"./ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";import"./SummaryCard-iIQISRZL-Cx0NyzVM.js";import"./ReloadCard-B3OtOvVI-DVK4TeBa.js";import"./NavigationArrow-CWRgkV1y-5nUqXc-t.js";import"./NavigationDots-BDKBgUe6-CeOovYs1.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]="7351f8cc-03a0-45f1-af7b-c266e339c81d",e._sentryDebugIdIdentifier="sentry-dbid-7351f8cc-03a0-45f1-af7b-c266e339c81d")}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{y as a,J as R,aw as Y,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
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,[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),[L,H]=C.useState(!1),M=C.useRef(r),D=Y();C.useEffect(()=>{M.current!==r&&H(!1)},[r]);const _=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(q.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(q.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},v=()=>t.jsxs(Q,{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(K,{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(K,{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(Q,{onClick:()=>U(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Te,{children:[t.jsx(G,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(G,{size:"small",variant:"primary",label:"Save",onClick:h,disabled:x==null&&b!==u,"data-testid":w("statement-close-day-button-primary")})]})]}),V=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:_,"data-testid":w("statement-close-day-modal"),children:[L?t.jsx(ue,{size:"Small",start:!0}):z?t.jsxs(ve,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(J,{className:"statementCloseDayText",windowSize:V,children:z})]}):O(D.loggedInUserRole??[])&&c===!0?t.jsxs(Se,{"data-testid":w("add-statement-close-day"),children:[t.jsx(Ce,{}),t.jsx(J,{className:"statementCloseDayText",windowSize:V,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),[_,H]=C.useState(!1),L=C.useRef(r),D=Y();C.useEffect(()=>{L.current!==r&&H(!1)},[r]);const M=s=>{O(D.loggedInUserRole??[])&&(s.stopPropagation(),s.preventDefault(),f(!0),g.trackCardStatementCloseDate(q.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(q.Event.cardStatementCloseDateSaved,e.accountId,e.accountName,"Card Balance",x!==void 0?`${x}`:"End")},v=()=>t.jsxs(Q,{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(K,{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(K,{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(Q,{onClick:()=>U(),children:$.getLocalizedStrings().statementCloseDay.lastDate.text})]}),t.jsxs(Te,{children:[t.jsx(G,{size:"small",variant:"secondary",label:"Cancel",onClick:()=>{f(!1)},style:{marginRight:o.sp3},"data-testid":w("statement-close-day-button-secondary")}),t.jsx(G,{size:"small",variant:"primary",label:"Save",onClick:h,disabled:x==null&&b!==u,"data-testid":w("statement-close-day-button-primary")})]})]}),V=R();return t.jsx(he,{onClickAway:()=>f(!1),children:t.jsxs("div",{onClick:M,"data-testid":w("statement-close-day-modal"),children:[_?t.jsx(ue,{size:"Small",start:!0}):z?t.jsxs(ve,{"data-testid":w("edit-statement-close-day"),children:[t.jsx(ze,{}),t.jsx(J,{className:"statementCloseDayText",windowSize:V,children:z})]}):O(D.loggedInUserRole??[])&&c===!0?t.jsxs(Se,{"data-testid":w("add-statement-close-day"),children:[t.jsx(Ce,{}),t.jsx(J,{className:"statementCloseDayText",windowSize:V,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
  `,Ee=i.div`
@@ -125,11 +125,11 @@ import{y as a,J as R,aw as Y,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
125
125
  }
126
126
  `:""}
127
127
  }
128
- `,Le=i.div`
128
+ `,_e=i.div`
129
129
  display: flex;
130
130
  padding: ${e=>S.contentContainerPadding.valuePx(e.windowSize)};
131
131
  width: 100%;
132
- `,Me=i.div`
132
+ `,Le=i.div`
133
133
  display: flex;
134
134
  align-items: center;
135
135
  width: calc(
@@ -139,7 +139,7 @@ import{y as a,J as R,aw as Y,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
139
139
  100% - ${e=>S.amountWrapperWidth.valuePx(e.windowSize)}
140
140
  );
141
141
  ${e=>`${Ie.textContainer.style(e.windowSize)}`};
142
- `,_e=i.img`
142
+ `,Me=i.img`
143
143
  width: ${e=>S.imageWidth.valuePx(e.windowSize)};
144
144
  height: ${e=>S.imageHeight.valuePx(e.windowSize)};
145
145
  object-fit: contain;
@@ -157,7 +157,7 @@ import{y as a,J as R,aw as Y,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
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:b}=e,y=Y(),x=y.loggedInUserRole!=null&&!we(y.loggedInUserRole),p=R();return t.jsx(Re,{windowSize:p,children:t.jsx(Ee,{"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(Le,{windowSize:p,children:[t.jsxs(Me,{windowSize:p,children:[t.jsx(_e,{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])},E={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ye=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=Y(),x=y.loggedInUserRole!=null&&!we(y.loggedInUserRole),p=R();return t.jsx(Re,{windowSize:p,children:t.jsx(Ee,{"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(_e,{windowSize:p,children:[t.jsxs(Le,{windowSize:p,children:[t.jsx(Me,{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])},E={textContainer:new j("largeMedium","h6Medium"),promoText:new j("extraSmallRegular","standardRegular"),promoHighlightText:new j("extraLargeRegular","h5Regular"),promoButtonText:new j("extraSmallMedium","smallRegular")},X=8,Ye=i.div`
161
161
  display: flex;
162
162
  flex: 1 1 auto;
163
163
  flex-direction: column;
@@ -281,4 +281,4 @@ import{y as a,J as R,aw as Y,aE as ie,aY as ne,V as t,b3 as re,aP as w,u as n,b
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(Ve,{windowSize:c,children:t.jsxs(qe,{windowSize:c,children:[t.jsx(Ge,{children:e}),t.jsx(Je,{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=Y(),L=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",M=ne("0,0",L,H),D=T.useRef(u);D.current=u;const _=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Ke,{children:t.jsx(Qe,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:_,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(Ye,{windowSize:r,listHeight:y,"data-testid":w("transaction-list-big"),children:[t.jsx(st,{sectionTitle:e,totalFormatted:M}),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};
284
+ `,st=({sectionTitle:e,totalFormatted:g})=>{const c=R();return t.jsx(Ve,{windowSize:c,children:t.jsxs(qe,{windowSize:c,children:[t.jsx(Ge,{children:e}),t.jsx(Je,{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=Y(),_=ie(c,function(h,v){return h+(v.amount?.amount??0)},0),H=c.length>0?c[0].amount?.currencySymbol:"",L=ne("0,0",_,H),D=T.useRef(u);D.current=u;const M=T.useCallback((...h)=>{D.current?.(...h)},[]),F=({index:h,style:v})=>t.jsx("div",{style:{...v},children:t.jsx(Ke,{children:t.jsx(Qe,{windowSize:r,children:t.jsx(Oe,{data:c[h],showStatementSection:e===$.getLocalizedStrings().balanceCard.cardBalanceSectionTitle,isZeniUser:k,analytics:g,onItemClick:M,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(Ye,{windowSize:r,listHeight:y,"data-testid":w("transaction-list-big"),children:[t.jsx(st,{sectionTitle:e,totalFormatted:L}),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{e as M,bz as R,bA as q,V as t,bB as K,T as Q,aP as h,bC as U,o as n,al as G}from"./index-rJQoaAfw.js";import{a as r,n as H}from"./sentry-CGE1ab0x.js";import{n as l}from"./mui-KNfEk2A1.js";import{T as J}from"./TransactionList-wLBz-A1j-R5pqCBUj.js";import{t as W}from"./page-detail-CWX5S47F-BLbwsJjf.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./ConstrainedInnerElement-BeIpAPjB-CbQ77GJr.js";import"./BoxItem-ClRdlCWM-B_aqSV-L.js";import"./commonDimensions-DmFc7WqO-CxyyXmLy.js";import"./panelSelectedMixin-CzfD5-Zs-PdsDXPWw.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]="03a0ff4f-028f-41b6-9c02-232271a8007c",e._sentryDebugIdIdentifier="sentry-dbid-03a0ff4f-028f-41b6-9c02-232271a8007c")}catch{}})();const X=l.div`
1
+ import{e as M,bz as R,bA as q,V as t,bB as K,T as Q,aP as h,bC as U,o as n,al as G}from"./index-BR9aIv1A.js";import{a as r,n as H}from"./sentry-BwoJfpTa.js";import{n as l}from"./mui-C7Q1opAD.js";import{T as J}from"./TransactionList-T8gAOJc0-Dw9G55NV.js";import{t as W}from"./page-detail-CWX5S47F-DfEuZBUZ.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./zeni-epic-state-Deo9yJpd.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";import"./ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js";import"./BoxItem-BGrgQ_sW-cYQcyKu_.js";import"./commonDimensions-BwCds81U-kEodPKRG.js";import"./panelSelectedMixin-CzfD5-Zs-Udxivyx_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9e822b9d-0c7d-4a16-93ab-d4b7d426732a",e._sentryDebugIdIdentifier="sentry-dbid-9e822b9d-0c7d-4a16-93ab-d4b7d426732a")}catch{}})();const X=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -32,4 +32,4 @@ import{e as M,bz as R,bA as q,V as t,bB as K,T as Q,aP as h,bC as U,o as n,al as
32
32
  &:hover {
33
33
  color: ${e=>e.theme.colors.primary};
34
34
  }
35
- `;function Pe({title:e,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:y,report:o,currentScrollYOffset:T,showStatementPageIcon:I=!1,onTimePeriodChange:b,onTransactionItemClick:k,onTransactionListScroll:v,onBackClick:L,onStatementPageIconClick:j,panelContent:D,referrerType:F,sidePanelIsFullView:N,sidePanelIsOpen:O}){const[f,P]=r.useState(!0),[m,S]=r.useState(!1),[u,$]=r.useState(!1),B=M();r.useEffect(()=>{o.transactions.length>0?P(!1):P(m===!1&&u===!1?o.fetchState==="In-Progress"||o.fetchState==="Not-Started":!1)},[o,f,m,u]);const E=R(),w=q(F),A=`${w===""?E:w}.transactions.list`,V=a.startDate.isAfter(y.startDate,d)?{isLoading:m&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,s)=>{$(!1),S(!0),b?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(y.endDate,d)?{isLoading:u&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,s)=>{S(!1),$(!0),b?.(i,a,s)}}:void 0;let C=null;I&&(C=t.jsx(oe,{onClick:j}));const p=r.useRef(null);function _(i,s,z){H({category:`${A}.transaction-list.react.profiler`,message:`${i} (${s}) took ${z}ms`,level:"info"})}return t.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:t.jsx(K,{isOpen:O??!1,isFullView:N??!1,panelContent:D,headerContent:t.jsx(U,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:e,onBackClick:L,backgroundColor:B.colors.grey4,rightSideComponent:C,scrollableContent:p.current!=null?p:void 0}),listContent:t.jsx(X,{"data-testid":h("transaction-list-page",e),children:t.jsxs(Z,{"data-testid":h("transaction-list",e),children:[t.jsx(te,{children:c}),f===!1?t.jsx(J,{ref:p,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:o.transactions,isFirstLotLoading:f,currentScrollYOffset:T,onTransactionItemClick:k,onTransactionListScroll:v,showLoadPrevious:V,showLoadNext:Y,componentName:"report.transactions.list"}):t.jsx(ee,{children:t.jsx(Q,{size:"ExtraLarge",start:!0})})]})})})})}export{Pe as default};
35
+ `;function Pe({title:e,subTitle:d,firstMonthOfFY:g,timeframe:c,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:b,report:o,currentScrollYOffset:T,showStatementPageIcon:k=!1,onTimePeriodChange:y,onTransactionItemClick:v,onTransactionListScroll:I,onBackClick:L,onStatementPageIconClick:j,panelContent:D,referrerType:F,sidePanelIsFullView:N,sidePanelIsOpen:O}){const[f,P]=r.useState(!0),[m,S]=r.useState(!1),[u,$]=r.useState(!1),B=M();r.useEffect(()=>{o.transactions.length>0?P(!1):P(m===!1&&u===!1?o.fetchState==="In-Progress"||o.fetchState==="Not-Started":!1)},[o,f,m,u]);const E=R(),w=q(F),A=`${w===""?E:w}.transactions.list`,V=a.startDate.isAfter(b.startDate,c)?{isLoading:m&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,s)=>{$(!1),S(!0),y?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(b.endDate,c)?{isLoading:u&&(o.fetchState==="In-Progress"||o.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,s)=>{S(!1),$(!0),y?.(i,a,s)}}:void 0;let C=null;k&&(C=t.jsx(oe,{onClick:j}));const p=r.useRef(null);function _(i,s,z){H({category:`${A}.transaction-list.react.profiler`,message:`${i} (${s}) took ${z}ms`,level:"info"})}return t.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:t.jsx(K,{isOpen:O??!1,isFullView:N??!1,panelContent:D,headerContent:t.jsx(U,{source:"TransactionListPage","data-testid":h("transaction-list-page-nav-bar"),title:e,onBackClick:L,backgroundColor:B.colors.grey4,rightSideComponent:C,scrollableContent:p.current!=null?p:void 0}),listContent:t.jsx(X,{"data-testid":h("transaction-list-page",e),children:t.jsxs(Z,{"data-testid":h("transaction-list",e),children:[t.jsx(te,{children:d}),f===!1?t.jsx(J,{ref:p,firstMonthOfFY:g,timeframe:c,timePeriod:a,transactions:o.transactions,isFirstLotLoading:f,currentScrollYOffset:T,onTransactionItemClick:v,onTransactionListScroll:I,showLoadPrevious:V,showLoadNext:Y,componentName:"report.transactions.list"}):t.jsx(ee,{children:t.jsx(Q,{size:"ExtraLarge",start:!0})})]})})})})}export{Pe as default};
@@ -1,4 +1,4 @@
1
- import{J as A,F,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d3 as K,a9 as U,cF as X,ac as G,u as r,hh as k,hi as M,hj as B,e as Q,cK as Y,gP as z,hk as Z,b7 as ee,ho as oe,hp as te}from"./index-rJQoaAfw.js";import{a as I}from"./sentry-CGE1ab0x.js";import{n as c}from"./mui-KNfEk2A1.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./zeni-epic-state-CiJSQQSe.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.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]="29155076-5e3e-4665-a7e6-fdd062428ae7",e._sentryDebugIdIdentifier="sentry-dbid-29155076-5e3e-4665-a7e6-fdd062428ae7")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.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=A(),y=Q(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),P=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(R=>R.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(Y,{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(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>P(s),defaultValue:{selectedOption:e,allOptions:M(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(z,{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:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(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{J as A,F,V as o,T as q,aP as L,aR as W,o as a,y as g,C as _,R as J,d4 as K,a9 as U,cF as X,ac as G,u as r,he as R,hf as k,hg as M,e as Q,cI as Y,gM as z,hh as Z,b7 as ee,hl as oe,hm as te}from"./index-BR9aIv1A.js";import{a as I}from"./sentry-BwoJfpTa.js";import{n as c}from"./mui-C7Q1opAD.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./zeni-epic-state-Deo9yJpd.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.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]="8496be34-5902-4345-9edc-98de0b569ffa",e._sentryDebugIdIdentifier="sentry-dbid-8496be34-5902-4345-9edc-98de0b569ffa")}catch{}})();const O=(e,n)=>`${e}.${n}`,T={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:h,selectedOwnerId:t,selectedVendorName:f,allAccounts:p,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),y=Q(),$=T.labelWidth.value(i),j=T.controlWidth.value(i),V=s=>p.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",b=s=>{const D=p.find(B=>B.accountId===s)?.accountName;return[oe,te].includes(D??"")};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(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(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(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:k(w)},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(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:h,allOptions:R(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(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};
@@ -20,7 +20,7 @@ import{J as A,F,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d3 as
20
20
  background-color: ${e=>e.theme.colors.grey3};
21
21
  min-height: 1px;
22
22
  max-height: 1px;
23
- `,V="vendorDetails",de=({id:e,allAccounts:n,allClasses:p,allOwners:t,selectedVendor:f,formLocalData:h,isDisabled:C,onSaveVendor:S,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:m})=>{const x=U({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,m,t,h)}),[i,y]=I.useState(!1),$=l=>{l.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&i===!1&&S?.()},j=(l,b)=>{const s=ue(l,void 0);v?.(s)},P=async(l,b)=>{(l.includes("vendorName")||l.includes("vendorOwner")||l.includes("vendorClass")||l.includes("vendorCategory"))&&(j(b),i===!0&&l.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const l=x.watch((b,{name:s})=>{s!=null&&b!=null&&X(()=>P(s,b))});return()=>{l.unsubscribe()}}),I.useEffect(()=>{f.saveStatus.fetchState==="Error"&&f.saveStatus.error?.code===409&&y(!0)},[f.saveStatus]),o.jsx(G,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:V,selectedVendorDetails:f,isSaveError:i,selectedAccountId:h?.vendorCategory,selectedClassId:h?.vendorClass,selectedOwnerId:h?.vendorOwner,allAccounts:n??[],allClasses:p??[],selectedVendorName:h?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:m})})})},ce=(e,n,p,t)=>({[V]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:B(p),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:M(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:k(n),selectedOption:t?.vendorClass}}});function ue(e,n,p){const t=e?.[V];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:n,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const w={containerPaddingLeft:new g(r[3],r[3],r[6]),containerPaddingRight:new g(r[3],r[3],r[8]),containerMarginTop:new g(r[2],r[2],r[4]),navbarContainerPaddingTop:new g(r[3],r[3]),navbarContainerPaddingBottom:new g(r[3],r[3]),SectionTitleMarginTop:new g(0,r[3])},T={sectionTitle:new J("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},pe=c.div`
23
+ `,P="vendorDetails",de=({id:e,allAccounts:n,allClasses:h,allOwners:t,selectedVendor:f,formLocalData:p,isDisabled:C,onSaveVendor:S,saveVendorDetailLocalData:v,accountsHierarchyList:u,classHierarchyList:w})=>{const x=U({mode:"all",reValidateMode:"onChange",defaultValues:ce(u,w,t,p)}),[i,y]=I.useState(!1),$=l=>{l.preventDefault(),x.getValues().vendorDetails.vendorName!==""&&i===!1&&S?.()},j=(l,b)=>{const s=ue(l,void 0);v?.(s)},V=async(l,b)=>{(l.includes("vendorName")||l.includes("vendorOwner")||l.includes("vendorClass")||l.includes("vendorCategory"))&&(j(b),i===!0&&l.includes("vendorName")&&y(!1))};return I.useEffect(()=>{const l=x.watch((b,{name:s})=>{s!=null&&b!=null&&X(()=>V(s,b))});return()=>{l.unsubscribe()}}),I.useEffect(()=>{f.saveStatus.fetchState==="Error"&&f.saveStatus.error?.code===409&&y(!0)},[f.saveStatus]),o.jsx(G,{...x,children:o.jsx("form",{id:e,onSubmit:$,children:o.jsx(ne,{sectionId:P,selectedVendorDetails:f,isSaveError:i,selectedAccountId:p?.vendorCategory,selectedClassId:p?.vendorClass,selectedOwnerId:p?.vendorOwner,allAccounts:n??[],allClasses:h??[],selectedVendorName:p?.vendorName,allOwners:t,isDisabled:C,accountsHierarchyList:u,classHierarchyList:w})})})},ce=(e,n,h,t)=>({[P]:{vendorName:t?.vendorName??"",vendorOwner:{allOptions:M(h),selectedOption:t?.vendorOwner},vendorCategory:{allOptions:k(e),selectedOption:t?.vendorCategory},vendorClass:{allOptions:R(n),selectedOption:t?.vendorClass}}});function ue(e,n,h){const t=e?.[P];return{vendorCategory:t.vendorCategory.selectedOption,vendorClass:t.vendorClass.selectedOption,vendorId:n,vendorName:t.vendorName,vendorOwner:t.vendorOwner?.selectedOption}}const m={containerPaddingLeft:new g(r[3],r[3],r[6]),containerPaddingRight:new g(r[3],r[3],r[8]),containerMarginTop:new g(r[2],r[2],r[4]),navbarContainerPaddingTop:new g(r[3],r[3]),navbarContainerPaddingBottom:new g(r[3],r[3]),SectionTitleMarginTop:new g(0,r[3])},N={sectionTitle:new J("h6Regular","h5Medium"),sectionTitleLineHeight:new g(30,40)},he=c.div`
24
24
  display: flex;
25
25
  flex: 1 1 auto;
26
26
  min-height: 100%;
@@ -28,10 +28,10 @@ import{J as A,F,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d3 as
28
28
  flex-direction: column;
29
29
  background-color: ${e=>e.theme.colors.grey5};
30
30
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
31
- `,he=c.div`
32
- margin-top: ${e=>w.containerMarginTop.valuePx(e.windowSize)};
33
- padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
34
- padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
31
+ `,pe=c.div`
32
+ margin-top: ${e=>m.containerMarginTop.valuePx(e.windowSize)};
33
+ padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
34
+ padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
35
35
  `,ve=c.div`
36
36
  display: flex;
37
37
  flex: 1 1 auto;
@@ -50,18 +50,18 @@ import{J as A,F,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d3 as
50
50
  align-items: center;
51
51
  top: ${a.sp0};
52
52
  z-index: 2;
53
- padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
54
- padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
55
- padding-top: ${e=>w.navbarContainerPaddingTop.valuePx(e.windowSize)};
56
- padding-bottom: ${e=>w.navbarContainerPaddingBottom.valuePx(e.windowSize)};
53
+ padding-left: ${e=>m.containerPaddingLeft.valuePx(e.windowSize)};
54
+ padding-right: ${e=>m.containerPaddingRight.valuePx(e.windowSize)};
55
+ padding-top: ${e=>m.navbarContainerPaddingTop.valuePx(e.windowSize)};
56
+ padding-bottom: ${e=>m.navbarContainerPaddingBottom.valuePx(e.windowSize)};
57
57
  background-color: ${e=>e.theme.colors.grey4};
58
- `,we=c.div`
58
+ `,me=c.div`
59
59
  display: flex;
60
60
  width: 100%;
61
61
  justify-content: flex-end;
62
62
  margin-top: 3px;
63
63
  margin-bottom: 3px;
64
- `,me=c(_)`
64
+ `,we=c(_)`
65
65
  cursor: pointer;
66
66
  color: ${e=>e.theme.colors.hero};
67
67
  width: ${a.sp4};
@@ -73,8 +73,8 @@ import{J as A,F,V as o,T as q,aP as L,aR as W,o as a,y as g,x as _,a as J,d3 as
73
73
  display: flex;
74
74
  width: 100%;
75
75
  color: ${e=>e.theme.colors.primary};
76
- margin-top: ${e=>w.SectionTitleMarginTop.valuePx(e.windowSize)};
77
- ${e=>`${T.sectionTitle.style(e.windowSize)}`};
76
+ margin-top: ${e=>m.SectionTitleMarginTop.valuePx(e.windowSize)};
77
+ ${e=>`${N.sectionTitle.style(e.windowSize)}`};
78
78
  margin-left: ${e=>e.windowSize==="small"?a.sp3:0};
79
- line-height: ${e=>T.sectionTitleLineHeight.valuePx(e.windowSize)};
80
- `,E="vendorDetailPage",H=e=>`${e}_form`,Ve=({vendorDetailView:e,onSaveSuccess:n,onCancelClick:p,onSaveVendor:t,saveVendorDetailLocalData:f})=>{const{editVendorState:h,newVendorState:C,accountsHierarchyList:S,classHierarchyList:v}=e,u=A(),{footer:m,newVendor:x}=F.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,i=Object.assign({},h??C);if(I.useEffect(()=>{i?.saveStatus?.fetchState==="Completed"&&n?.()},[i]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(ve,{children:o.jsx(q,{size:"ExtraLarge",start:!0})});const y=i.saveStatus?.fetchState==="In-Progress";return o.jsxs(pe,{windowSize:u,"data-testid":L("transaction-vendor-detail-page"),children:[o.jsxs(fe,{windowSize:u,children:[o.jsx(we,{children:o.jsx(me,{onClick:p,"data-testid":L("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(he,{windowSize:u,"data-testid":L("vendor-detail-page-form"),children:o.jsx(de,{id:H(E),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:i,formLocalData:i.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:f,accountsHierarchyList:S,classHierarchyList:v})})}),o.jsx(W,{formId:H(E),primaryBtn:{label:m.save,isLoading:y},cancelBtn:{label:m.cancel,shouldResetOnCancel:!0,onClick:p}})]})};export{Ve as default,H as formUniqueName};
79
+ line-height: ${e=>N.sectionTitleLineHeight.valuePx(e.windowSize)};
80
+ `,E="vendorDetailPage",H=e=>`${e}_form`,Pe=({vendorDetailView:e,onSaveSuccess:n,onCancelClick:h,onSaveVendor:t,saveVendorDetailLocalData:f})=>{const{editVendorState:p,newVendorState:C,accountsHierarchyList:S,classHierarchyList:v}=e,u=A(),{footer:w,newVendor:x}=F.getLocalizedStrings().transactionDetail.vendorDetails.createVendor,i=Object.assign({},p??C);if(I.useEffect(()=>{i?.saveStatus?.fetchState==="Completed"&&n?.()},[i]),e.fetchState==="Not-Started"||e.fetchState==="In-Progress")return o.jsx(ve,{children:o.jsx(q,{size:"ExtraLarge",start:!0})});const y=i.saveStatus?.fetchState==="In-Progress";return o.jsxs(he,{windowSize:u,"data-testid":L("transaction-vendor-detail-page"),children:[o.jsxs(fe,{windowSize:u,children:[o.jsx(me,{children:o.jsx(we,{onClick:h,"data-testid":L("close-icon")})}),o.jsx(xe,{windowSize:u,children:x})]}),o.jsx(ge,{children:o.jsx(pe,{windowSize:u,"data-testid":L("vendor-detail-page-form"),children:o.jsx(de,{id:H(E),allAccounts:e.accountList.accounts,allClasses:e.classList.classes,allOwners:e.ownerList,selectedVendor:i,formLocalData:i.vendorDetailLocalData,onSaveVendor:t,saveVendorDetailLocalData:f,accountsHierarchyList:S,classHierarchyList:v})})}),o.jsx(W,{formId:H(E),primaryBtn:{label:w.save,isLoading:y},cancelBtn:{label:w.cancel,shouldResetOnCancel:!0,onClick:h}})]})};export{Pe as default,H as formUniqueName};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e,o as a,F as E,y as c,x as Ne,d as dt,b9 as ut,aq as ft,R as be,ai as De,al as fe,aQ as ce,fC as pt,a9 as Xe,cF as mt,aY as ht,aO as gt,p as G,ac as qe,fG as ke,fH as Ae,ge as wt,bT as ye,g8 as xt,hH as $t,u as o,fq as bt,ci as Je,c0 as Dt,f2 as yt,bK as Tt,am as Ue,fT as Ct,du as St,c2 as Ge,g_ as vt,g$ as kt}from"./index-rJQoaAfw.js";import{a as u}from"./sentry-CGE1ab0x.js";import{n}from"./mui-KNfEk2A1.js";import{bL as At}from"./zeni-epic-state-CiJSQQSe.js";import{v as Pt}from"./ZeniTransferAmountSlider-QODQj6J3-nB7ivh3S.js";import{r as Lt}from"./AccountInfoPageContent-CIjrqt8Z-xcHih_xf.js";import"./liveblocks-CohL7dW6.js";import"./core-BMaLzXUJ.js";import"./recharts-D8Mh9GJw.js";import"./lottie-XKgYVRq1.js";import"./analytics-DGcxWyl6.js";import"./lexical-CyZM9SwL.js";import"./utils-Co3Y654K.js";import"./downloadPdf-D1grj9oX-Bei5Wpqc.js";import"./commonDimensions-DmFc7WqO-CxyyXmLy.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]="b047cfde-601a-4b09-9038-02c07a165c90",e._sentryDebugIdIdentifier="sentry-dbid-b047cfde-601a-4b09-9038-02c07a165c90")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),I=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(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)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Rt,{children:[t.jsxs(It,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Yt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Re,{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,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{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,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Jt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,J as ue,aP as A,hu as lt,aN as J,r as ve,hD as ct,T as Ye,aR as $e,o as a,F as I,y as c,C as Ne,d as dt,b9 as ut,aq as ft,c as De,ai as be,al as fe,aQ as ce,fA as pt,a9 as Xe,cF as mt,aY as ht,aO as gt,p as G,ac as qe,fE as ke,fF as Ae,gc as wt,bT as ye,g6 as xt,hE as $t,u as o,fo as Dt,ci as Je,c0 as bt,f0 as yt,bK as Tt,am as Ue,fR as Ct,dv as St,c2 as Ge,gX as vt,gY as kt}from"./index-BR9aIv1A.js";import{a as u}from"./sentry-BwoJfpTa.js";import{n}from"./mui-C7Q1opAD.js";import{bL as At}from"./zeni-epic-state-Deo9yJpd.js";import{v as Pt}from"./ZeniTransferAmountSlider-CJY_ei3T-BQBKQlY-.js";import{r as Lt}from"./AccountInfoPageContent-BQxwZcii-DAnRLliM.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";import"./downloadPdf-BfjQscZh-CeCugFTI.js";import"./commonDimensions-BwCds81U-kEodPKRG.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]="857f8f0a-c763-411d-8869-e92d56fa1e87",e._sentryDebugIdIdentifier="sentry-dbid-857f8f0a-c763-411d-8869-e92d56fa1e87")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),He="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Qe=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:B,setTotalBalance:M,onSaveChangesToLocalStore:H,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:Q}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),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),Ze=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:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&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)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const F={...h},le={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};H(le)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&mt(()=>at(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),Q())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Bt,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{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:G.heroLight}})})]})}):null,t.jsx(Yt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Qe(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.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:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,He),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.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(Jt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${J("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Ht,{windowSize:i}),t.jsx(Qt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${J("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Be,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Be,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Fe,{className:"calculatorFooterLeftText",children:b.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:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[He]: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:Ft(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Ft=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Bt=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -12,17 +12,17 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
12
12
  flex-direction: column;
13
13
  justify-content: center;
14
14
  align-items: center;
15
- `,Rt=n.div`
15
+ `,Et=n.div`
16
16
  display: flex;
17
17
  width: 100%;
18
18
  justify-content: space-between;
19
19
  padding: ${a.sp3} ${a.sp4};
20
20
  background-color: ${G.importantLight};
21
21
  border-radius: ${a.sp2};
22
- `,It=n.div`
22
+ `,Rt=n.div`
23
23
  display: flex;
24
24
  align-items: flex-start;
25
- `,Et=n.div``,Ot=n(bt)`
25
+ `,It=n.div``,Ot=n(Dt)`
26
26
  width: ${a.sp4};
27
27
  height: ${a.sp4};
28
28
  color: ${G.important};
@@ -30,11 +30,11 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
30
30
  display: flex;
31
31
  flex-direction: column;
32
32
  margin-left: ${a.sp2};
33
- `,Wt=n(Je)`
33
+ `,Vt=n(Je)`
34
34
  color: ${G.important};
35
- `,Vt=n(fe)`
35
+ `,Wt=n(fe)`
36
36
  color: ${G.important};
37
- `,Yt=n(Dt)`
37
+ `,Yt=n(bt)`
38
38
  color: ${e=>e.theme.colors.primary};
39
39
  margin: ${a.sp5} ${a.sp0} ${a.sp3} ${a.sp0};
40
40
  `,je=n(yt)`
@@ -81,10 +81,10 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
81
81
  display: flex;
82
82
  flex-direction: row;
83
83
  align-items: center;
84
- `,Be=n(De)`
84
+ `,Fe=n(be)`
85
85
  color: ${e=>e.theme.colors.hero};
86
86
  cursor: pointer;
87
- `,Fe=n.div`
87
+ `,Be=n.div`
88
88
  display: flex;
89
89
  flex-direction: row;
90
90
  align-items: center;
@@ -98,7 +98,7 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
98
98
  color: ${e=>e.theme.colors.primary};
99
99
  }
100
100
  }
101
- `,Zt=n.div`
101
+ `,Ht=n.div`
102
102
  display: ${e=>e.windowSize==="small"?"none":"block"};
103
103
  width: ${a.sp1};
104
104
  height: ${a.sp1};
@@ -106,14 +106,14 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
106
106
  margin: 0 ${a.sp2};
107
107
  background-color: ${e=>e.theme.colors.grey1};
108
108
  border-radius: 50%;
109
- `,Ht=n.div`
109
+ `,Kt=n.div`
110
110
  display: flex;
111
111
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
112
112
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
113
113
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
114
- `,Kt=n(Ue)`
114
+ `,Qt=n(Ue)`
115
115
  color: ${e=>e.theme.colors.hero};
116
- `,Qt=n(Ct)`
116
+ `,Zt=n(Ct)`
117
117
  cursor: pointer;
118
118
  width: 12px;
119
119
  height: 12px;
@@ -141,7 +141,7 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
141
141
  background-color: ${e=>e.theme.colors.grey3};
142
142
  min-height: 1px;
143
143
  max-height: 1px;
144
- `,Re=n.div`
144
+ `,Ee=n.div`
145
145
  display: flex;
146
146
  flex-direction: row;
147
147
  padding: ${a.sp2};
@@ -179,9 +179,9 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR 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=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,ra=({transferDetails:e,isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,maxInsuredAmount:d,zeniAccountsConfigDetail:f,fireTrackTransferBetweenAccountsFormClicked:l,onSaveChangesToLocalStore:T,onTransferClick:C,onDismissClick:S,onAnotherTransferClick:F,onEstablishConnectionClick:M,onBackClick:Z,onFetchLinkTokenClick:R,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:H,setCurrentDrawerContent:K,clearReviewTransferDetail:i,onReviewClick:I,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V})=>{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(Ee,{windowSize:x,isTransferCompleted:!0,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-transfer-success-close-button"),onClick:()=>{l("Cross","Transfer Success"),S?.()}})}),t.jsxs(da,{windowSize:x,children:[t.jsx(lt,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),t.jsx(la,{children:Y?t.jsxs(t.Fragment,{children:[b.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Ie,{children:J("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:J("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"),V(0),W(!1),v(0),j(!1),F()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:b.transferDrawer.backToChecking,"data-testid":A("back-to-checking-button"),onClick:()=>{l("Back to Checking","Transfer Success"),S?.()},style:{minWidth:200}})]})]})]}):_?t.jsx(ct,{transferDetails:e,setCurrentDrawerContent:K,setShowReviewContent:H,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ee,{windowSize:x,isTransferCompleted:!1,children:[t.jsx(Oe,{windowSize:x,children:t.jsx(_e,{"data-testid":A("cross-amount-details-close-button"),onClick:()=>{l("Cross","Amount Details"),S?.()}})}),x==="small"?t.jsx(ua,{windowSize:x,children:b.transferDrawer.title}):t.jsx(fa,{children:b.transferDrawer.title}),x==="small"?t.jsx(ia,{children:b.transferDrawer.subTitle}):t.jsx(oa,{children:b.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:Z,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:R,onReviewClick:I,setIsCalculatorOpen:W,setShowAnnualYieldEarned:j,setTransferAmount:m,setYieldEarned:v,setTotalBalance:V,fireTrackTransferBetweenAccountsFormClicked:l,maxInsuredAmount:d}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})]}),N()?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ke(He),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:E.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:b.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
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])},D=I.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:B,onEstablishConnectionClick:M,onBackClick:H,onFetchLinkTokenClick:E,plaidConnectionDetails:O,showReviewContent:_,setShowReviewContent:K,setCurrentDrawerContent:Q,clearReviewTransferDetail:i,onReviewClick:R,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(Ie,{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:[D.transferDrawer.internal.transferSuccessMsgPrefix,t.jsx(Re,{children:J("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.internal.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.internal.transferSuccessMsgMidfix2,`"${e.transferDetailLocalData.transferTo?.label}".`]}):t.jsxs(t.Fragment,{children:[D.transferDrawer.external.transferSuccessMsgPrefix,t.jsx(Re,{children:J("0,0.[00]",e.transferDetailLocalData.amount)}),D.transferDrawer.external.transferSuccessMsgMidfix,`"${e.transferDetailLocalData.transferFrom?.label}"`,D.transferDrawer.external.transferSuccessMsgMidfix1,`"${e.transferDetailLocalData.transferTo?.label}".`,z.reviewTransferMoney.isShowDailyAchLimitWarning?null:D.transferDrawer.external.transferSuccessMsgMidfix2]})}),t.jsxs(ca,{windowSize:x,children:[t.jsx(ve,{variant:"secondary",label:D.transferDrawer.anotherTransferBtn,"data-testid":A("another-transfer-button"),onClick:()=>{l("Another Transfer","Transfer Success"),W(0),V(!1),v(0),j(!1),B()},style:{minWidth:200}}),t.jsx(ve,{variant:"primary",label:D.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:Q,setShowReviewContent:K,onTransferClick:C,clearReviewTransferDetail:i,reviewTransferDetail:z,fireTrackTransferBetweenAccountsFormClicked:l}):t.jsxs(t.Fragment,{children:[t.jsxs(Ie,{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:D.transferDrawer.title}):t.jsx(fa,{children:D.transferDrawer.title}),x==="small"?t.jsx(ia,{children:D.transferDrawer.subTitle}):t.jsx(oa,{children:D.transferDrawer.subTitle}),e.transferMoneyPartiesFetchState==="Completed"?t.jsx(zt,{isCalculatorOpen:r,showAnnualYieldEarned:g,transferAmount:$,yieldEarned:y,totalBalance:w,onBackClick:H,onSaveChangesToLocalStore:T,plaidConnectionDetails:O,transferDetails:e,zeniAccountsConfigDetail:f,onEstablishConnectionClick:M,onFetchLinkTokenClick:E,onReviewClick:R,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:Qe(Ke),helperStyle:{paddingTop:a.sp0,paddingBottom:a.sp0},primaryBtn:{label:I.getLocalizedStrings().common.review,isLoading:z.fetchState==="In-Progress"},cancelBtn:{label:D.transferDrawer.cancelBtn,onClick:()=>{l("Cancel","Amount Details"),S?.()}}}):null]})})},oa=n(fe)`
183
183
  color: ${e=>e.theme.colors.hero};
184
- `,ia=n(De)`
184
+ `,ia=n(be)`
185
185
  color: ${e=>e.theme.colors.hero};
186
186
  `,sa=n.div`
187
187
  display: flex;
@@ -193,9 +193,9 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
193
193
  `,la=n(dt)`
194
194
  color: ${e=>e.theme.colors.primary};
195
195
  text-align: center;
196
- `,Ie=n(ut)`
196
+ `,Re=n(ut)`
197
197
  display: inline;
198
- `,Ee=n.div`
198
+ `,Ie=n.div`
199
199
  height: ${e=>e.isTransferCompleted?"100%":"auto"};
200
200
  padding-left: ${e=>`${re.containerPaddingLeft.valuePx(e.windowSize)}`};
201
201
  padding-right: ${e=>`${re.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -237,11 +237,11 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
237
237
  margin-top: ${a.sp3};
238
238
  margin-bottom: ${a.sp0};
239
239
  margin-right: ${a.sp3};
240
- `,fa=n(be)`
240
+ `,fa=n(De)`
241
241
  color: ${e=>e.theme.colors.primary};
242
242
  margin-top: ${a.sp3};
243
243
  margin-bottom: ${a.sp2};
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])},We="wireTransferDetailPage",Ve=e=>`${e}_form`,pa=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=E.getLocalizedStrings().common,ma=e=>t.jsx(va,{color:vt(e)}),ha=({depositAccountListView:e,setCurrentDrawerContent:r,selectedAccount:g,setShowWireAccountInfo:$,setSelectedAccount:y,fireTrackTransferBetweenAccountsFormClicked:w})=>{const d=Xe({mode:"all",reValidateMode:"onChange",defaultValues:{selectedAccountId:g?.id}}),f=ue();return u.useEffect(()=>{const l=d.watch(()=>{const T=e.depositAccounts.find(C=>C.id===d.getValues("selectedAccountId"));y(T)});return()=>{l.unsubscribe()}}),e.fetchState!="Completed"?t.jsx(xt,{fetchState:e.fetchState}):t.jsxs(t.Fragment,{children:[t.jsxs(ga,{windowSize:f,children:[t.jsx(Ca,{windowSize:f,children:t.jsx(ye,{style:{marginTop:a.sp1},title:we.navBar.back,enterDelay:600,placement:"bottom",children:t.jsx(Ta,{"data-testid":A("select-zeni-account-back-button"),onClick:()=>{w("Back","Select Account for Split Transfer"),r("achTransfer")}})})}),t.jsx(Sa,{windowSize:f,children:pa.selectYour}),t.jsx(qe,{...d,children:t.jsx("form",{id:Ve(We),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:J("0,0[.]00",l.accountBalance?.available)})]})]})},l.id))})})})]}),g!=null?t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},formId:Ve(We),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=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,we=I.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(ba,{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(Da,{windowSize:f,children:l.accountName}),t.jsx($a,{children:J("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
246
  padding-left: ${e=>`${U.containerPaddingLeft.valuePx(e.windowSize)}`};
247
247
  padding-right: ${e=>`${U.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -261,12 +261,12 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
261
261
  color: ${e=>e.theme.colors.grey1};
262
262
  position: relative;
263
263
  top: -${a.sp1};
264
- `,ba=n(De)`
264
+ `,Da=n(be)`
265
265
  color: ${e=>e.theme.colors.hero};
266
266
  max-width: ${`calc(100% - ${a.sp3})`};
267
267
  text-transform: capitalize;
268
268
  overflow: hidden;
269
- `,Da=n.div`
269
+ `,ba=n.div`
270
270
  padding-left: ${e=>U.accountRowLeftRightPadding.valuePx(e.windowSize)};
271
271
  padding-right: ${e=>U.accountRowLeftRightPadding.valuePx(e.windowSize)};
272
272
  background: ${e=>e.theme.colors.grey5};
@@ -305,7 +305,7 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
305
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
- `,Sa=n(be)`
308
+ `,Sa=n(De)`
309
309
  color: ${e=>e.theme.colors.primary};
310
310
  padding: ${a.sp3} ${a.sp0} ${a.sp5} ${a.sp0};
311
311
  `,va=n(kt)`
@@ -315,7 +315,7 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
315
315
  margin-right: ${a.sp2};
316
316
  padding: 12px ${a.sp0};
317
317
  box-sizing: content-box;
318
- `,{common:{navBar:{back:ka}}}=E.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Ba,{windowSize:l,children:t.jsx(Fa,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
318
+ `,{common:{navBar:{back:ka}}}=I.getLocalizedStrings(),L={pageTitleMarginXAxis:new c(o[0],o[8]),navBarContainerPaddingXaxis:new c(10,19),pageContentPaddingLeftRight:new c(o[3],o[0]),navBarContainerMarginLeftRight:new c(o[0],o[8]),descriptionMarginLeftRight:new c(o[0],o[8]),accountInfoPageWrapperMarginLeft:new c(o[0],o[8]),accountInfoPageWrapperMarginRight:new c(o[0],o[5]),accountInfoPageWrapperMarginBottom:new c(o[5],o[8])},xe=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList.transferDrawer,Aa=({authParams:e,downloadAccountDetailEndPoint:r,depositAccount:g,zeniAccountsConfigDetail:$,currentTenant:y,onDismissClick:w,fireTrackTransferBetweenAccountsFormClicked:d,setShowWireAccountInfo:f})=>{const l=ue();return t.jsxs(t.Fragment,{children:[t.jsxs(La,{windowSize:l,children:[t.jsx(za,{windowSize:l,children:t.jsx(ye,{title:ka,enterDelay:600,placement:"bottom",children:t.jsx(ja,{"data-testid":A("wire-transfer-account-info-back-button"),onClick:()=>{d("Back","Wire Transfer Details"),f(!1)}})})}),t.jsx(Ma,{windowSize:l,children:xe.wireInstruction.replace("__accountName__",g.accountName)}),t.jsx(Fa,{windowSize:l,children:t.jsx(Ba,{children:xe.wireTransferDescriptionLine1})}),t.jsx(Pa,{windowSize:l,children:t.jsx(Lt,{authParams:e,downloadAccountDetailEndPoint:r,currentTab:"wireDetails",zeniAccountsConfigDetail:$,currentTenant:y,depositAccount:g})})]}),t.jsx($e,{style:{zIndex:4,paddingTop:a.sp3,paddingBottom:a.sp3},cancelBtn:{label:""},primaryBtn:{label:xe.backToChecking,onClick:()=>{d("Back to Checking","Wire Transfer Details"),w()}},showCancel:!1,showPrimaryButton:!0})]})},Pa=n.div`
319
319
  margin-left: ${e=>`${L.accountInfoPageWrapperMarginLeft.valuePx(e.windowSize)}`};
320
320
  margin-right: ${e=>`${L.accountInfoPageWrapperMarginRight.valuePx(e.windowSize)}`};
321
321
  margin-bottom: ${e=>`${L.accountInfoPageWrapperMarginBottom.valuePx(e.windowSize)}`};
@@ -343,20 +343,20 @@ import{V as t,J as ue,aP as A,hx as lt,aN as J,r as ve,hG as ct,T as Ye,aR as $e
343
343
  z-index: 2;
344
344
  background-color: ${e=>e.theme.colors.grey4};
345
345
  margin: ${e=>`${a.sp0} ${L.navBarContainerMarginLeftRight.valuePx(e.windowSize)}`};
346
- `,Ba=n(fe)`
346
+ `,Fa=n(fe)`
347
347
  color: ${e=>e.theme.colors.hero};
348
348
  margin-left: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
349
349
  margin-right: ${e=>L.descriptionMarginLeftRight.valuePx(e.windowSize)};
350
350
  margin-bottom: ${a.sp7};
351
- `,Fa=n.div``,Ma=n(be)`
351
+ `,Ba=n.div``,Ma=n(De)`
352
352
  color: ${e=>e.theme.colors.primary};
353
353
  padding: ${a.sp3} ${a.sp0} ${a.sp2} ${a.sp0};
354
354
  margin: ${e=>`${a.sp0} ${L.pageTitleMarginXAxis.valuePx(e.windowSize)} `};
355
- `,Ra=({zeniAccountsConfigDetail:e,depositAccountListView:r,downloadAccountDetailEndPoint:g,authParams:$,selectedAccountId:y,currentTenant:w,setCurrentDrawerContent:d,fireTrackTransferBetweenAccountsFormClicked:f,onDismissClick:l})=>{const[T,C]=u.useState(!1),[S,F]=u.useState(r.depositAccounts.find(M=>M.id===y));return T&&S!=null?t.jsx(Aa,{downloadAccountDetailEndPoint:g,authParams:$,currentTenant:w,zeniAccountsConfigDetail:e,depositAccount:S,onDismissClick:l,setShowWireAccountInfo:C,fireTrackTransferBetweenAccountsFormClicked:f}):t.jsx(ha,{depositAccountListView:r,setCurrentDrawerContent:d,selectedAccount:S,setShowWireAccountInfo:C,setSelectedAccount:F,fireTrackTransferBetweenAccountsFormClicked:f})},Qa=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:F,onTransferClick:M,onReviewClick:Z,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,clearReviewTransferDetail:K,onFetchLinkTokenClick:i,plaidConnectionDetails:I})=>{const[W,j]=u.useState(!1),[m,v]=u.useState(!1),[V,x]=u.useState(0),[z,Y]=u.useState(0),[N,Q]=u.useState(0),oe=()=>{const X=(ee,ie)=>T.trackTransferBetweenAccountsFormClicked(ee,ie,e.transferDetailLocalData.transferFrom?.label,e.transferDetailLocalData.transferTo?.label,e.transferDetailLocalData.amount.amount,e.reviewTransferDetail.reviewTransferMoney.isShowDailyAchLimitWarning,e.reviewTransferDetail.reviewTransferMoney.transferSchedules.length,e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.zeniAccountsConfigDetail.depositProductConfig.depositProducts?.[0].range?.[1]!=null&&e.transferDetailLocalData.amount.amount>r.zeniAccountsConfigDetail.depositProductConfig.depositProducts[0].range[1]);return d==="achTransfer"?t.jsx(ra,{transferDetails:e,isCalculatorOpen:W,showAnnualYieldEarned:m,transferAmount:V,yieldEarned:z,totalBalance:N,zeniAccountsConfigDetail:r,fireTrackTransferBetweenAccountsFormClicked:X,onSaveChangesToLocalStore:F,onTransferClick:M,onDismissClick:R,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:H,onFetchLinkTokenClick:i,plaidConnectionDetails:I,setCurrentDrawerContent:C,clearReviewTransferDetail:K,onReviewClick:Z,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:Y,setTotalBalance:Q,maxInsuredAmount:$}):t.jsx(Ra,{zeniAccountsConfigDetail:r,depositAccountListView:g,selectedAccountId:e.transferDetailLocalData.transferTo?.id,currentTenant:y,downloadAccountDetailEndPoint:f,authParams:l,fireTrackTransferBetweenAccountsFormClicked:X,setCurrentDrawerContent:C,onDismissClick:R})};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,B]=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:B,fireTrackTransferBetweenAccountsFormClicked:f})},Za=({transferDetails:e,zeniAccountsConfigDetail:r,depositAccountListView:g,maxInsuredAmount:$,currentTenant:y,showReviewContent:w,currentDrawerContent:d,downloadAccountDetailEndPoint:f,authParams:l,analytics:T,setCurrentDrawerContent:C,setShowReviewContent:S,onSaveChangesToLocalStore:B,onTransferClick:M,onReviewClick:H,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:K,clearReviewTransferDetail:Q,onFetchLinkTokenClick:i,plaidConnectionDetails:R})=>{const[V,j]=u.useState(!1),[m,v]=u.useState(!1),[W,x]=u.useState(0),[z,Y]=u.useState(0),[N,Z]=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:B,onTransferClick:M,onDismissClick:E,onAnotherTransferClick:O,onEstablishConnectionClick:_,onBackClick:K,onFetchLinkTokenClick:i,plaidConnectionDetails:R,setCurrentDrawerContent:C,clearReviewTransferDetail:Q,onReviewClick:H,setShowReviewContent:S,showReviewContent:w,setIsCalculatorOpen:j,setShowAnnualYieldEarned:v,setTransferAmount:x,setYieldEarned:Y,setTotalBalance:Z,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(Ra,{children:oe()})},Ra=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{Qa as default};
362
+ `;export{Za as default};