@zeniai/web-cockpit-ui 1.14.28-qa → 1.14.29-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 (226) hide show
  1. package/dist/assets/{ACHDetailsPage-BJ-dnfPw-0TSjj33a.js → ACHDetailsPage-BFxHvmJd-ByFu178F.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-IQljMycg-CoxCqAgh.js → AIPerformancePage-DlyO-4ri-BpcX0MTN.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-daLN7kJQ-Bwn8Rs2C.js → AccountInfoPage-Ce5hcVyA-DMTNHSLS.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BnEKIQY6-Bzl2rUvn.js → AccountInfoPageContent-gAieeMrA-p4EOrODV.js} +5 -5
  5. package/dist/assets/AccountLockedInfoModal-BSdv6XfU-D1Vnmrv0.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-6JW8I0XP-MgaNevwi.js → AccountReconDetailsDrawerPage-CfxXet8--UsONMXP5.js} +1 -1
  7. package/dist/assets/{AccountRow-vJ-Fr8DF-dx8T6Fsd.js → AccountRow-Bod2_1QW-D-hGmpHq.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-dFdTEnhq-CZKMHk5U.js → AccountsPromoCardStack-Dk3ZVanG-Dm2uyvqy.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-D4P_ajwQ-BvU4DlHw.js → AddAddressForCardDrawer-BWqEsKYC-BObrYWEa.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CHzrdDJP-D8p-yYUZ.js → AddToWalletPage-CehOd-PJ-on8FN-ge.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BHYWYs9A-BDE-qDx6.js → AgingReportsPage-DAP7-9bB-Drn1SIJV.js} +1 -1
  12. package/dist/assets/{AllUserItems-kaXy0cJ_-CNd3-nak.js → AllUserItems-I4cKfaLm-DFs5pKwa.js} +6 -6
  13. package/dist/assets/{ApAgingDetailPage-BmFABpno-CY5xNMKy.js → ApAgingDetailPage-DpCAK2uw-BXtogY7Q.js} +1 -1
  14. package/dist/assets/{AppBasePage-3b4e8alc-TAa34qha.js → AppBasePage-sLzDBcrA-CG7X17G1.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Of5QL5jD-ChhsJzGi.js → AppDrawerContent-Dsj42lRb-BT6OryeP.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Dk5sL0Dm-Dv9azzue.js → ApprovalRulesSettingsPage-BxU7GZ1o-DXY6tUvU.js} +1 -1
  17. package/dist/assets/{ArAgingChart-zBCV3C62-Dq36ljUM.js → ArAgingChart-CUaYV40r-jOfuIy_A.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-r9uxza_I-BsspkhCE.js → ArAgingDetailPage-DZqZLKy5-DCrGwgTr.js} +1 -1
  19. package/dist/assets/{AttachmentView-2JM2KpDo-Bh18VBou.js → AttachmentView-BZxXMELt-BaOrmhpI.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Bn88ZQyY-B_aLXesc.js → BankAccountSection-C-eMzyJG-CFsMOYmA.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CqP30qlx-ClabeBrc.js → BankAccountWarningSection-wjgkG3br-GmGPfYq_.js} +6 -6
  22. package/dist/assets/{BankConnectionsSettingsPage-Cdv6t_B3-qX5-5QoP.js → BankConnectionsSettingsPage-D8MrN0k6-DpjOGdMS.js} +6 -6
  23. package/dist/assets/{BillDetailPage-CpfktvDl-D4Uy-5rx.js → BillDetailPage-yK74O_Dt-XpG4jcGq.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-D9DE_Vce-A1WZO7R5.js → BillPayApprovalRuleDetailPage-D_kdV7c--BkpOd9oo.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DatR_9GC-osk8_qOo.js → BillPayApprovalRulesPage-Cddmo3mA-LLuXe52O.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CNWYf2nB-CBMD5RxD.js → BillPayPromoPage-uVNRC90s-acPGyNO3.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BGo1dXS6-D_5iCRen.js → BillPaySetUpPage-Dd_MhoF5-DiGGX2rT.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-TaomNdoa-CqAsyl-s.js → BillingSettingsPage-YdIAtpZS-BmAyqUje.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-MDJx8O6r-CNeAjQU6.js → BillsBulkReviewDrawerPage-B_JkHP1X-KfMHLTjl.js} +1 -1
  30. package/dist/assets/{BoxItem-CRLLf8CY-Bcvs4I-j.js → BoxItem-DIbpeSiB-B47dtyeF.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CR0VFw7e-CfYiiAsv.js → BusinessVerificationPage--qLJidPg-5WZlrvdU.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-rAv-gh4W-BSBRaT93.js → CardNumberSubText-CoLig9qO-Bb3ukxab.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DmmNt65i-DcFEsp6P.js → CashbackDetailPage-CL2ekC-d-C0Q1yZjK.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CJirTThm-B2OxOE9O.js → ChargeCardDetailPage-C5YK1RTl-FCcaAawm.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BdZZR19X-BbcCD4Cs.js → ChargeCardListPage-C34cXCwZ-DgtkJI2T.js} +8 -8
  36. package/dist/assets/{ChargeCardListTable-BXFjcRNB-Bt7NvMOu.js → ChargeCardListTable-D2MxebdW-QA28WwT6.js} +8 -8
  37. package/dist/assets/{ChargeCardPromoPage-DkBT3XNI-C3oAX2Mk.js → ChargeCardPromoPage-DiamgYrP-XJHQ1I04.js} +6 -6
  38. package/dist/assets/{ChargeCardSetupPage-BUI9rGke-F48qfEoc.js → ChargeCardSetupPage-DwuH7QkV-BwiFFbQs.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DvtO3kDU-rBVchx1D.js → ChargeCardStatementsPage-v2KcWk13-DJm6gUu7.js} +2 -2
  40. package/dist/assets/{ChargeCardUtils-s0f7WDmF-DROWW4W4.js → ChargeCardUtils-zpJF3Rda-Be5yTQoe.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-CpfVlOOJ-DUmatajH.js → ChaseOverlay-DjKikFfn-CLpspWOE.js} +8 -8
  42. package/dist/assets/{CheckDepositDrawerPage-B1gXv1Wl-DpbqqEtI.js → CheckDepositDrawerPage-DRdQ8ewr-jW8DbAWr.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-C8l4zS8O-B2sGnOg4.js → CollapsableReportTable-DeVXK9Wh-CgCz-Q7-.js} +46 -46
  44. package/dist/assets/{CompanyOfficerDetailsSection-2Kp3dlIG-CUj0BZ_V.js → CompanyOfficerDetailsSection--mYIj08P-DM7zsZa7.js} +18 -18
  45. package/dist/assets/{CompanyPassportCard-D9MV32Z4-DRyajerq.js → CompanyPassportCard-BetMObXy-DpYq364M.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-DJ8n927O-AsHU95o1.js → CompanyPassportPage-B61dTsv1-NeDYgziB.js} +1 -1
  47. package/dist/assets/{CompleteProfile-NosC7teS-CWLlcEyL.js → CompleteProfile-DA7CQ4Fe-CsHJVEhv.js} +8 -8
  48. package/dist/assets/{ConfettiBurst-edV2fAAY-F1yC_yIb.js → ConfettiBurst-BHOL5tI9-DwpmJ28Z.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Dca5mbtW-D1a_dFxF.js → CreateOrEditVendorPage-TAwTx0qY-CMUDbBYf.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CBfP6wVk-BAvIP3ds.js → CreditCardPaymentDrawerPage-CrHFOM8I-Ce0iYAOC.js} +11 -11
  51. package/dist/assets/{CreditCardPaymentPlgSection-NL4GrNze-DG9T4yGs.js → CreditCardPaymentPlgSection-BpNE78CU-stoFu9l7.js} +2 -2
  52. package/dist/assets/{CurrencySelectField-VuFtHEC_-MgujTxf_.js → CurrencySelectField-C-RWEZ3_-Dg_ke37X.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DfiWFVnF-Dqu7x6wI.js → CustomerOnboardingActivationPage-CvBia2jV-DhOcfWyg.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-yAYlDV-o-ehXByQiI.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BId2pCpr-DdJ4wVFX.js → CustomerOnboardingDetailPageSkeleton-tEZUFgN4-CtaDPa2W.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Ceu7WsPG-B4hl-bk6.js → CustomerOnboardingNoStepsPage-BArUCUM_-BXJqiQYG.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CqmjziMS-DRhzxTql.js → CustomerOnboardingPage-CbNJqARH-BG0Cktvq.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-B7EUlLRS-BVR61QTK.js → CustomerOnboardingProductSuitePage-B6gjDU3C-D5oHEKiW.js} +1 -1
  59. package/dist/assets/{Dashboard-CZcKIIRw-CE-5cTyX.js → Dashboard-gvIzffJ9-ctPlyJde.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-Tzs7dP4J-CJXrBNuc.js → DashboardReportPage-BJ64WZUp-CCkAXm22.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CJ-5jfvs-Bpd8qkRi.js → DashboardSidebarBackgroundAnimation-DwjZa9es-QdH6U1eL.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-7udg3PVs-bCUHbq1V.js → DepositAccTransactionItem-IAn1U4kN-CjpoAiVy.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-BnjVlIvU-CnjKfm6-.js → DepositAccTransactionListPage-B3SKKNMg-Bi5_9rfL.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-yO0rp42a-QE5oZq2D.js → DomesticWireDetailsPage-C1HRdCmN-DqEwFf10.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-D2klhqsr-BG6f4wfN.js → DownloadOverlay-BmQZLBj6-CeGmrDZU.js} +1 -1
  66. package/dist/assets/{DrawerPage-BTIs3jN0-BvpemFRM.js → DrawerPage-wRZ6m1ya-BwES9IKS.js} +5 -5
  67. package/dist/assets/{EditPeoplePage-DUwEkdAy-CLWYluCR.js → EditPeoplePage-DTu-2Jmo-DpCtBasp.js} +6 -6
  68. package/dist/assets/{EditReimbursementDetailPage-DQEEgz41-CEe4iJ9G.js → EditReimbursementDetailPage-BcMbpbMh-BEOVQHyQ.js} +57 -57
  69. package/dist/assets/{EntityDetailPage-BngjWvj5-B39ZnGmV.js → EntityDetailPage-uRWNa1Xx-CbauyZbo.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CvAlUDlh-BLVWuzIJ.js → EntitySummarySection-BJ-xgnjY-CfCV7KZH.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-HJtMnarE-D17rQNWU.js → ExpenseAutomationOverviewPage-D5Dazh1S-fmHFtSWv.js} +6 -6
  72. package/dist/assets/{ExpenseAutomationPage-C-F6N_gG-BIS-Tg0L.js → ExpenseAutomationPage-QPHgPO-n-D1TwqHJk.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-CvgiD1W2-nUhWOk4F.js → ExpressPayPage-CFjhv8e0-CLdLY2HE.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-BRFVZhfT-COHv5gxz.js → FeaturePreviewPage-WtsZyzLm-CJnmzi4C.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-B7WK_dWR-EqUsRipO.js → FollowStepsSection-n5G8JNUr-j-dHhoyW.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-1yw-Aq21-j7XQFj2A.js → GlobalReviewListPage-BT-_wlme-BfDIRTou.js} +1 -1
  77. package/dist/assets/{HelpButton-C6Iv61BM-BVtByn9F.js → HelpButton-Cejsxx_E-DbOhIKff.js} +1 -1
  78. package/dist/assets/{InformationCardStack-BOnXC_3i-DdV720rh.js → InformationCardStack-DDYokaYB-CswoRqZg.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-CpJLeS5a-UDtClLEP.js → InsightsCardStack-CiwHc2IJ-Cnkau5Ue.js} +1 -1
  80. package/dist/assets/{InsightsSection-CZh1SnGj-c0KP9Cfn.js → InsightsSection-BVuiIwCl-BRBuC4Eu.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-BmmKPNgQ-D94tAFqN.js → IntegrationsSettingsPage-mjEWuOQh-B04ioztv.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-Ea4cYrDb-wZ0o6CwL.js → InternationalWireSwiftDetailsPage-oxy_-0Bd-BSdZ96oS.js} +11 -11
  83. package/dist/assets/{InternationalWireVerificationPage-D_EGh2-b-Dg6_MikZ.js → InternationalWireVerificationPage-BEvs1Zzh-B11WyrNv.js} +1 -1
  84. package/dist/assets/{InviteFormPage-DezoHyI1-CCF-T77o.js → InviteFormPage-DNwxbnAY-B-1J9fvc.js} +7 -7
  85. package/dist/assets/{InvitePageListView-N9UnXZ8Z-D0nJHIMH.js → InvitePageListView-B67pRygu-9vQTKQ40.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-DwNLN50N-BrgcV6ty.js → InvitePeoplePage-dQc-xkG2-C3nKdZB6.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-CGZ4FmYr-NkBIRVVd.js → InvoiceUploadSection-gu3WFQvS-DK78m306.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-FfE3V2h5-BjTdoQvx.js → IssueChargeCardPage-ChXG7KhZ-B63rlcKb.js} +28 -28
  89. package/dist/assets/{LabeledAddressValue-DvJrVTYN-BU092m5O.js → LabeledAddressValue-CSsof-tz-D1c4WIxW.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-CTm0OvN8-DLFBRilq.js → LabeledAddressValueField-CSq0Hzf_-Cy8z_cOn.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BnJslVpV-BXpPHegG.js → LabeledControlledCheckBoxField-BDA4nfH4-D0iYyig-.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-Cy0TQ_sm-D3wFmzg1.js → LabeledCreatableSingleSelectField-CyDTS5Be-DLsqnUG_.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-BPen9EG9-DLgtlaxk.js → LabeledDocumentField-DIRpefMQ-LAyXkW2Q.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CgFW6UZE-qRkiRI6D.js → LabeledDropDownFormattedTextField-Dd5B-qHO-La1URpjF.js} +1 -1
  95. package/dist/assets/{LabeledText-D4krUfU4-Dw4AJ7QQ.js → LabeledText-B3z8VP-f-BpT69LKS.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CJ78VxhW-CsTkAvXv.js → LabeledUserSingleSelectWithSubtitlesField-sEaQ7bWc-CTVN56-f.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-o2RQGy6G-BOBCECNE.js → LabeledZeniRolesDropDownField-OjHDEHpY-ZD0JSIcE.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-C3wO777n-enVVZ-3B.js → LinkJETransactionPage-Bwu7V6Nn-CYJtirfN.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-QeOj8rch-i9N08Ch-.js → LowBalancePopup-BH1q738Q-CDbyaR5p.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-CyQqROSQ-CF8LdZMD.js → MagicLinkACHDetailsPage-D7FGZvpj-SLSCCI9C.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BqALNA2T-DdY6mXQK.js → MagicLinkDomesticWireDetailsPage-CeJ9_49p-BB3FpFYq.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DR6HRSOe-BqUhtyl1.js → MagicLinkInternationalWireDetailsPage-BPSLWK-v-0WEG9sQr.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-A7M1b8Bb-CCdQC7WS.js → MagicLinkSuccessPage-DBxwutBP-DCEDIulj.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DquEXuD8-Cbg6TSCG.js → MagicLinkTitleSection-CiKK8TTZ-nbr3M-Lg.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-CH-8q7WQ-DSEpjbnF.js → MailingDetailsSection-DZAuNq1S-BtPc-rx6.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js → MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js} +1 -1
  107. package/dist/assets/{Menu-d80Blu70-eyWyCGah.js → Menu-BymbDNVZ-DM3DjWyb.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-BNlGivQQ-CVpQEA1_.js → MyBankConnectionsSettingsPage-9VEiITSS-Bza-Mt8h.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-AAH1Kb40-DSUZ5bun.js → MyPendingActivationChargeCardListPage-Deo4IjpU-DjR3u08U.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-Lq70s8Rf-ZxxTV7CS.js → MyProfileSettingsPage-CDH9zQYt-DO-oYnlS.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-DlcPGBly-D8xKMH1O.js → NavBarWithPicker-BVIRoFkg-uLt3O1KT.js} +1 -1
  112. package/dist/assets/{NavigationArrow-B38APViS-BsBZ4H4_.js → NavigationArrow-nncSGFTK-Bbp-nQcC.js} +1 -1
  113. package/dist/assets/{NavigationDots-BeVhadXT-CV_pkfV2.js → NavigationDots-2l4DJyet-Cj8JLkJu.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-CcM0M2qt-Wj6hNRxG.js → NewGlobalMerchantPage-DJfaQVlP-CNjcIUFo.js} +1 -1
  115. package/dist/assets/{NoDataChart-BdJ9cIfU-h1pEqH_y.js → NoDataChart-BfK5ibkE-Dl5Q_ks_.js} +1 -1
  116. package/dist/assets/{NoDataTable-D5sl7D5L-DQi02bBy.js → NoDataTable-D-wXCbuN-q98oT9c8.js} +1 -1
  117. package/dist/assets/{NotFoundPage-DOrZNbji-D71pPMzw.js → NotFoundPage-8SevFrTd-84hd01on.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-8-tcxTQb-BUSkNtY6.js → NotificationSettingsPage-CnV8oslw-DrvTgihH.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-By-e8Frl-DKMoasJt.js → NotificationsListConfig-ai2MqByd-0wlhqgyM.js} +1 -1
  120. package/dist/assets/{NotificationsPage-DkthdPVD-xUxFkxlZ.js → NotificationsPage-ODo2BWlg-D-S70lpm.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-BSd0ZwXR-BQ1ujNBS.js → OpExByVendorPage-abOvLTT--dMvgq3O1.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-CuI9P5BS.js → OverlayContainerPage-Bmu909Fo-C9bvK7Lv.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-CdXzLIwl-BeWXYuvy.js → PandLWithForecastPage-D9cn6hnq-CC0OcFO_.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CvdwrTFj-DgwIGpc-.js → PaymentAccountSetupBillingAddressSection-BhGNRlcK-CiQSTMi7.js} +1 -1
  125. package/dist/assets/{PeoplePage-D9apqkWO-DLO2x726.js → PeoplePage-C2BcygGZ--G7c8fuu.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-BcQovSMI-_Utb9AcO.js → PortfolioAllocationFormPage-D6MaYDJG-zEJADMC3.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-RS8JuL0p-BaSXdmM6.js → PortfolioDetails-DOWP4IQE-CU70QuaO.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-47vJAdBR-CCJAEyFp.js → ProductsCarousel-EKirw7ua-D-T9J4k_.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-C41gmAao-BjkCmCkU.js → PromoBaseCards-CC4THVdC-6kRLHFkY.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-CRbY0usB-Cr6Q8Ws3.js → QBOConnectionDialog-dwZjMC7l-mqFn9Iuy.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-CAszn53C-C1WPxf80.js → QBOSetupSection-CQHr233V-BhlmfNKw.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BXVaxgJK-P-a1AfKp.js → ReimbursementApprovalRuleDetailPage-o5h1gtQ2-BYxZ453f.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-3kuOwKmm-0jkQnpk8.js → ReimbursementApprovalRulesPage-D3jjV4ml-BDSde1VQ.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-Bi5J9eXE-BK0YT8VH.js → ReimbursementDetailPage-DWfalS3j-BUmxj63M.js} +4 -4
  135. package/dist/assets/{ReimbursementPromoPage-DOOMtWlG-IVZI0rMK.js → ReimbursementPromoPage-6FsYdHUs-DDKWeUAJ.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-Baz_grxU-Cg2rYjs7.js → ReimbursementSetUpPage-DMdLQfnx-BWZ8MYK1.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Dt-HKY5F-CWAQYQiv.js → ReimbursementsBulkReviewDrawerPage-B8FqQ7Xy-CZNoa-Rk.js} +1 -1
  138. package/dist/assets/{ReloadCard-BifFraMi-albWACGt.js → ReloadCard-PlwzuU5x-Cjgf9pT_.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-KNeiMS0F-ClvzQTty.js → ReportTableViewSelector-CWL2S1We-DbUXuzEd.js} +1 -1
  140. package/dist/assets/{ReportsPage-CNkkwysL-Bg6UIsxg.js → ReportsPage-m3klpEFJ-DP2gp0_Z.js} +1 -1
  141. package/dist/assets/{RevenueChart-DzDV07A2-Cyi9DXoa.js → RevenueChart-DcmdF3_p-krx9UW8E.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-BbG4g3E8-DwlGbjf5.js → ReviewDetailsPage-4sQNUTvD-X-E72kD1.js} +11 -11
  143. package/dist/assets/{ReviewOverlay-yQoTr8lD-COjRaZl4.js → ReviewOverlay-DZzuvO3p-Dgv2aEV0.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-BoqVFkyJ-Be7E21z_.js → RoleWithToolTip-Dlkvv78V-CAYGZdA6.js} +2 -2
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CqHZm1Lr-BzN4JcW3.js → ScheduleDetailsFixedAssetsPage-KjW-k5Y7-CGQvcAs2.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-D95MDPLb-CDjB3mQQ.js → ScheduleDetailsPage-CqqblP-w-DvUch-Zi.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-QKBV8Rh6-DyPHPGU1.js → ScheduleSequenceTable-mSOKTTlS-D5ZmhYeE.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-cjhfkp1W.js → ScreenRoutes-BPU1QGQl.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-CivUASk0-C3ChKTix.js → SetUpAccountSection-Phy6Ec2u-fxxQCnq-.js} +10 -10
  150. package/dist/assets/{SetUpDefaultSection-Dpvt1AOg-Ckz4tu8U.js → SetUpDefaultSection-fQGcSH2--i6_Lmo2x.js} +1 -1
  151. package/dist/assets/{SignIn-ChcfkzWu-DEdZKKg-.js → SignIn-C-PFuO0m-D93t7UpP.js} +1 -1
  152. package/dist/assets/{SignInScreen-CZOZVH3L.js → SignInScreen-SukNyBA0.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-CLLEMwQs-BzXZuBc1.js → SpendManagementListViewPage-DChTbWSE-D3wZN3Zk.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-CRiAfSH5-C3stHOlA.js → SpendManagementPerTabPage-D14kKu2e-DCk13Tm7.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-Bt1iw0P4-C-kMkys3.js → SpendManagementSection-f75XRlnr-D0d4hqP2.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-Bunn0CsL-B9t_MQ32.js → SpendMgmtSetupAccountSection-D5iTQjyq-C5Z8ggWG.js} +17 -17
  157. package/dist/assets/{StatementItem-YJO1OB87-78KgPqTZ.js → StatementItem-Cv-OdXSM-OM0kuThg.js} +2 -2
  158. package/dist/assets/{StatementsPage-DSMHcloa-MMbkWMEg.js → StatementsPage-G2-vQ8DB-CvZWWCxB.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-CvfaUdek-B2CfrFbx.js → StatusSwitcher-DxYD5Ja7-AgvsUXg4.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-G4gv3gJ3-DvEpI02Y.js → SubTabSwitcher-BiYp7vuJ-DKSMFUWI.js} +1 -1
  161. package/dist/assets/{SummaryCard-CTVwtanJ-CianRnEj.js → SummaryCard-pyXMhrq3-CbgSatl0.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-5Ec927O3-COWtO35Q.js → TaskManagementPage-CVJYAMAi-CLhRJhsF.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-Duk_cxL3-DDiYjPFH.js → TimeRangeSwitcher-B3et4KjB-UcPLvuaH.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-D2M4wsdx-C9qdvcjh.js → TimeframeSwitcher-CR9lNmBv-CMg3OFl2.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-D40T2StV--3Q3KXsb.js → TimeframeSwitcherWithToggle-Cqg-FqH6-CryRd8o3.js} +1 -1
  166. package/dist/assets/{TopExCard-zr-Bpnxj-D4RYSL5g.js → TopExCard-CtdmvFZO-BZhaXXXe.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-DTUKUnOd-De4dlApE.js → TopExDetailPage-wug5a7Li-zKOp3_ki.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-ozHiGv6U-DHsVek4G.js → TransactionDetailPage-Da7WVq4_-BssMkSGK.js} +1 -1
  169. package/dist/assets/{TransactionList-CSn85b5u-14fiJYV1.js → TransactionList-LjRJxI3M--_Ik0-xu.js} +1 -1
  170. package/dist/assets/{TransactionListBig-C9p2VN54-B0q-S5p6.js → TransactionListBig-Id6PXgvs-ByI2LU9P.js} +1 -1
  171. package/dist/assets/{TransactionListPage-B7LdFKzx-DLoTU0ZB.js → TransactionListPage-kfu55-kS-F0jSh-lJ.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-BtRTh_Xl-9LjYSh20.js → TransactionVendorDetailPage-79YN8dxq-D3b0rV1q.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-DbDJgKfJ-lDnbBBYg.js → TransferDrawerPage-B04LTalY-DbUhLqid.js} +30 -30
  174. package/dist/assets/{TreasuryOverviewPage--G-ivcMv-CmTgh4XH.js → TreasuryOverviewPage-DFJEmdVI-BKtOj5Di.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-sWm8B1Pi-V2YbZDQc.js → TreasuryPromoPage-C1lduNcU-cm0But7g.js} +9 -9
  176. package/dist/assets/{TreasurySetupPage-CZUEtQf8-CZSsmy2z.js → TreasurySetupPage-B1MsJdNE-CF2VtpCQ.js} +5 -5
  177. package/dist/assets/{TreasuryStatementsPage-BGdjejum-AoL8qVHR.js → TreasuryStatementsPage-DpolhjX_-B4TFi13H.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-BwlUJBZF-CzVzcni1.js → TreasuryTaxLetterPage-CzoqotWr-CEZfJnVV.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-CZFWp3tB-HCJedu9Y.js → TreasuryTransferOrReviewPage-0NUKlqGL-DHhoaZ4o.js} +1 -1
  180. package/dist/assets/{TrendChart-UFPnMcoI-CxRVPPzC.js → TrendChart-XplufDEe-70PICXXA.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-lsLibePw-D-A4y3l3.js → TrendWithTransactions-CSog_rOD-B5Jat2Lt.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-rdw9cz7B-C9xl0K4-.js → UncategorizedAccountsMappingPage-C6YrQh4x-BAP01CiK.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-Bb16SBG4-DZCDEZ2u.js → UnitIntegrationPage-q_pa_XH0-CVy-0yVP.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-92iAk-bm-Bk_vB2q9.js → UploadAdditionalDocumentOverlay-BT2BHgsi-mJFaB3wn.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-BDZZ03vf-C7rF6e_v.js → Vendor2FAPopup-DCCV-GUD-CILQySAh.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-7sgvrYPB-DdP_fAfn.js → VendorACHDetailsPage-n8wVldxp-Cv8-r5at.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-BgciBntp-CeMQChGW.js → VendorDetailPage-BQmIH16w-CUAONaJI.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-D7vRzlEy-DO4tm68A.js → VendorDomesticWireDetailsPage-C9IgXF8U-C2gNIP4h.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BLFZOXLa-CcX89CEC.js → VendorFiling1099EditablePage-CX0-Fu3L-S2eSB8Ke.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-BrRiV59P-CKjXOxJs.js → VendorFirstReviewPage-gl_8f-Y--nRmpGB8p.js} +10 -10
  191. package/dist/assets/{VendorInternationalWireDetailsPage-Dg2n9VJ9-BFwCY1xY.js → VendorInternationalWireDetailsPage-CD2LtNey-OBaVpM2T.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-ZpNfAdQB-B3jdKjNK.js → VendorInternationalWireSwiftDetailsPage-CnYpnS9U-BtauKb3Y.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-CrQsOTwQ-CAQX4HLL.js → VendorsAccountsSection-Dowt7g0z-CTKkvdoI.js} +1 -1
  194. package/dist/assets/VerifyDevice-DUrMCdMv-VlaqW0Hs.js +112 -0
  195. package/dist/assets/{VideoPopup-nPxoddQZ-CdmDHHSl.js → VideoPopup-CxKztOGT-DEX7cj2j.js} +1 -1
  196. package/dist/assets/{WarningsDrawerPage-BYG7Y9oJ-B7lPiKXC.js → WarningsDrawerPage-xX0HZSlF-CJywejKM.js} +1 -1
  197. package/dist/assets/{ZeniAccountDetailPage-BGXyRBID-BZ418iHN.js → ZeniAccountDetailPage-CFNnfKrO-BzBMN-G8.js} +1 -1
  198. package/dist/assets/{ZeniAccountListViewPage-DHRgUy1T-BN-yihez.js → ZeniAccountListViewPage-D0l8WQXG-15O9otHi.js} +1 -1
  199. package/dist/assets/{ZeniAccountNavBarPieces-BsTbQ2IN-IEVGnebY.js → ZeniAccountNavBarPieces-DLdFG-gZ-Lg82eLgr.js} +1 -1
  200. package/dist/assets/{ZeniAccountPromoPage-CHyIFO9o-CJDlYl7i.js → ZeniAccountPromoPage-Cz8IxFdk-DxEDI7Ds.js} +1 -1
  201. package/dist/assets/{ZeniAccountSetupPage-CzoKcjEM-CmZcnLIN.js → ZeniAccountSetupPage-ZwqkoXuR-B2kT0Ihw.js} +1 -1
  202. package/dist/assets/{ZeniCopyright-BPbOiRaG-GBwqIx3c.js → ZeniCopyright-CyG9rGnL-Di0O3BP9.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-Bif463bN-CyxUIO5q.js → ZeniTransferAmountSlider-Clgz7h31-7wM3Fk8X.js} +1 -1
  204. package/dist/assets/{analyticsHelper-CCPSiVgE-BvF4dCEw.js → analyticsHelper-BrNbUtQZ-BSs3vRdj.js} +1 -1
  205. package/dist/assets/{analyticsHelper-BphR4l4A.js → analyticsHelper-W4e93670.js} +1 -1
  206. package/dist/assets/{chartTypes-CvYNhWx5-OTU-mvA5.js → chartTypes-D62DZasc-Cg_rpQL9.js} +1 -1
  207. package/dist/assets/{commonDimensions-DS-Ok384-eoq34XUo.js → commonDimensions-DsEmTJ8o-DqHucb_9.js} +1 -1
  208. package/dist/assets/{detailCommon-Jibz39eB-DIPuAks3.js → detailCommon-1Zms5FpC-CjmB02t2.js} +2 -2
  209. package/dist/assets/{downloadPdf-D0tiRCmN-nUHSVanl.js → downloadPdf-B2dA1tl0-DGv4XoQv.js} +1 -1
  210. package/dist/assets/{index-CLgXcFOQ.js → index-DIh8Zr8t.js} +5 -5
  211. package/dist/assets/{mapLoadingInProgressToTreeNode-ZdrDWAuW-DytUr9A8.js → mapLoadingInProgressToTreeNode-CmCO5BRd-C7twjlOe.js} +1 -1
  212. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-pOkMQUF0-dCXvrLxK.js → mapSectionWithAcOnlyToTreeNode-Cr5GnzzL-CsWQb2p6.js} +1 -1
  213. package/dist/assets/{mapSpacerToTreeNode-BaK_ANcF-CJ7Mjo5c.js → mapSpacerToTreeNode-DEwSvjsB--UxLcfaH.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-DHxWRud0-3HZMLbuz.js → mapTimeframeBalancesToTreeNode-7JGJqi3f-Cl4AB4gb.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-BgFH1AIj-DlcFvj8e.js → mapTimeframeBalancesToTreeNode-CjKZMUgV-BiM8A1Hb.js} +1 -1
  216. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CT7PwiPQ-DJUxQoJo.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DlhIK5YN-CEQNqemG.js} +1 -1
  217. package/dist/assets/{toCOABalancesWithID-Bffx9VR7-DAFbSyCZ.js → toCOABalancesWithID-DCjmMFnE-Dpv6R9pI.js} +1 -1
  218. package/dist/assets/{toChartData-BGk1OWTR-D_M9aUPQ.js → toChartData-tGsV_9D9-DDec79o5.js} +1 -1
  219. package/dist/assets/{treasuryColorHelper-B3ItUlG0-Bmsf3BND.js → treasuryColorHelper-jTB0RHjz-Bm7NDFdi.js} +1 -1
  220. package/dist/assets/{uploadAttachment-CVYInC6U-BD5EjufZ.js → uploadAttachment-Bkt_viXo-BERYP2_s.js} +8 -8
  221. package/dist/assets/{uploadReceipts-dxsKhm9I-CT1w2L5u.js → uploadReceipts-dxsKhm9I-Dga8nbrD.js} +1 -1
  222. package/dist/index.html +1 -1
  223. package/package.json +2 -2
  224. package/dist/assets/AccountLockedInfoModal-BS4zHJX3-uCQ1et1s.js +0 -59
  225. package/dist/assets/CustomerOnboardingContainerPage-CPVMgdRa-LrYDzA8w.js +0 -1
  226. package/dist/assets/VerifyDevice-BN-yDYSC-B6tatstC.js +0 -97
@@ -1,4 +1,4 @@
1
- import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,d as at,u as ze,bB as nt,cV as Ee,J as W,g as q,fW as Ce,v as ot,l as R,r as Be,c7 as it,a2 as xe,a as rt,f1 as lt,ca as ct,F as st,cG as dt,fa as mt,cf as pt,fJ as ut,q as r,bx as ht,bv as Me,d1 as gt,bO as yt,s as Oe,fd as ft,f5 as Ct,a7 as xt,fe as bt,cx as St,ff as wt,fo as Dt}from"./index-CLgXcFOQ.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-BnJslVpV-BXpPHegG.js";import{b as kt}from"./ChargeCardUtils-s0f7WDmF-DROWW4W4.js";import{Z as be}from"./CreditCardPaymentPlgSection-NL4GrNze-DG9T4yGs.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new W("h6Regular","h5Regular"),integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:vt,labels:Se,currency:we,navBar:{back:Lt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:v,creditAccountInformation:y,debitAccountInformation:x,setShowReviewContent:b,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[B,L]=p.useState(!1);p.useEffect(()=>{e.error!=null?L(!0):L(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Jt,{windowSize:m,children:a.jsx(nt,{title:Lt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Gt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,x),b(!1)}})})}),a.jsx(Kt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Rt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),B?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Bt,{children:e.error?.title}),a.jsx(Mt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Wt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{L(!1)},style:{width:t.sp3,height:t.sp3,color:q.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${R.zeniDate(R.getNextNthWorkingDay(R.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Re("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:vt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},v,y,x),b(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Xt,{src:Tt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Zt,{isOptionSelected:h,children:a.jsx(Qt,{})})}return null},Tt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Rt=o(Me)`
1
+ import{j as a,e as me,x as pe,$ as te,gU as Ze,B as Y,a0 as Re,K as He,m as et,a4 as Pe,o as t,C as d,a3 as je,T as tt,d as at,u as ze,bp as nt,cV as Ee,J as W,g as q,fW as Ce,v as ot,l as R,r as Me,c7 as it,a2 as xe,a as rt,f1 as lt,ca as ct,F as st,cG as dt,fa as mt,cf as pt,fJ as ut,q as r,by as ht,bw as Be,d1 as gt,bO as yt,s as Oe,fd as ft,f5 as Ct,a7 as xt,fe as bt,cx as St,ff as wt,fo as Dt}from"./index-DIh8Zr8t.js";import{n as o,b as p}from"./vendor-rkTZJa59.js";import{x as $t}from"./LabeledControlledCheckBoxField-BDA4nfH4-D0iYyig-.js";import{b as kt}from"./ChargeCardUtils-zpJF3Rda-Be5yTQoe.js";import{Y as be}from"./CreditCardPaymentPlgSection-BpNE78CU-stoFu9l7.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const ae={largeLabelWidth:new d(120,120,160),navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(r[3],r[6],r[8]),containerPaddingRight:new d(r[3],r[6],r[8]),reviewContentWrapperPaddingBottom:new d(r[5],r[8])},de={pageTitle:new W("h6Regular","h5Regular"),integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")},{dateFormat:{visual:{MMMDCommaYYYYformat:At}},common:{edit:Lt,labels:Se,currency:we,navBar:{back:vt}},spendManagement:{zeniAccounts:{zeniAccountList:{transferDrawer:It}},chargeCard:{payEarly:ee}}}=Y.getLocalizedStrings(),Ft=({paymentDetails:e,isCashbackInfoFetchStateCompleted:i,isCreditCardInfoFetchStateCompleted:h,isDebitCardInfoFetchStateCompleted:n,controllerEmails:g,productInformation:c,cashbackInformation:f,paymentSourceInformation:L,creditAccountInformation:y,debitAccountInformation:x,setShowReviewContent:b,onTransferClick:C,isCompleteOutstandingBalanceBeingPaid:D})=>{const m=me(),P=ze(),j=pe().analytics,[M,v]=p.useState(!1);p.useEffect(()=>{e.error!=null?v(!0):v(!1)},[e.error]);const k=ae.largeLabelWidth.value(m);return a.jsxs(a.Fragment,{children:[a.jsxs(_t,{windowSize:m,children:[a.jsx(Jt,{windowSize:m,children:a.jsx(nt,{title:vt,enterTouchDelay:600,placement:"bottom",children:a.jsx(Gt,{"data-testid":te("nav-bar-back-credit-card-payment-review"),onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Back",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,x),b(!1)}})})}),a.jsx(Kt,{windowSize:m,children:It.reviewAndConfirm}),a.jsx(Rt,{children:a.jsx(Ee,{amount:e.chargeCardRepaymentDetailLocalData.amount,integerStyles:de.integerAmountInput.styleObject(m),decimalStyles:de.decimalAmountInput.styleObject(m)})}),M?a.jsx(Ot,{children:a.jsxs(zt,{children:[a.jsxs(Nt,{children:[a.jsx(Vt,{}),a.jsxs(Et,{children:[a.jsx(Mt,{children:e.error?.title}),a.jsx(Bt,{children:e.error?.message})]})]}),a.jsx(Ut,{children:a.jsx(Wt,{"data-testid":te("close-error-credit-card-payment-review"),onClick:()=>{v(!1)},style:{width:t.sp3,height:t.sp3,color:q.heroLight}})})]})}):null,a.jsx(qt,{windowSize:m,children:a.jsxs(jt,{children:[a.jsx(Ce,{label:{label:Se.transferFrom,width:k},text:a.jsxs(De,{windowSize:m,children:[_e(e.transferFromAccounts,e.chargeCardRepaymentDetailLocalData.transferFrom?.id??"",!0),a.jsx(Pt,{windowSize:m,children:e.chargeCardRepaymentDetailLocalData.transferFrom?.label})]}),style:{width:"auto"}}),a.jsx(Yt,{}),a.jsx(Ce,{label:{label:Se.amount,width:k},showAdditionalInfoLabel:!0,additionalInfoLabel:`${D?ee.creditLimitReset:ee.creditLimitUpdate} ${R.zeniDate(R.getNextNthWorkingDay(R.dateNow().toDate(),[0,6],3).toDateString()).format(At)} ${ee.business23Days}`,additionalInfoLabelStyles:{color:P.colors.hero,...ot.smallRegular.cssObject},text:a.jsx(De,{windowSize:m,children:Re("0,0.[00]",{amount:e.chargeCardRepaymentDetailLocalData.amount.amount,currencyCode:we.currencyCode,currencySymbol:we.currencySymbol})}),style:{width:"auto"}})]})})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp0},helperText:ee.byClickingPayNowIAuthorizeZeniToInitiateThePayment,helperStyle:{padding:`${t.sp0} ${t.sp0} ${t.sp3} ${t.sp0}`},cancelBtn:{label:Lt,onClick:()=>{i&&h&&n&&j.trackCardsPayEarlyFormClick(g,c,f,"Edit",e.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:e.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:e.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:e.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:e.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},L,y,x),b(!1)},style:{minWidth:94}},primaryBtn:{label:ee.payNow,onClick:C,isLoading:e.updateStatus==="In-Progress",style:{minWidth:94}}})]})},_e=(e,i,h)=>{if(i==="")return a.jsx(ta,{});const n=e.find(c=>c.id===i),g=e.findIndex(c=>c.id===i);if(n!=null){if(n.accType==="depositAccount")return a.jsx(Ht,{isOptionSelected:h,children:a.jsx(ea,{color:ft(g)})});if(n.accType==="paymentAccount")return n.logo!==void 0&&(n.logo.base64||n.logo.url)?a.jsx(Xt,{src:Tt(n.logo),isOptionSelected:h,loading:"lazy"}):a.jsx(Qt,{isOptionSelected:h,children:a.jsx(Zt,{})})}return null},Tt=e=>e.base64!==void 0?`${Ct}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Rt=o(Be)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  padding-top: ${t.sp3};
4
4
  `,Pt=o.div`
@@ -26,9 +26,9 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
26
26
  display: flex;
27
27
  flex-direction: column;
28
28
  margin-left: ${t.sp2};
29
- `,Bt=o(yt)`
29
+ `,Mt=o(yt)`
30
30
  color: ${q.important};
31
- `,Mt=o(Oe)`
31
+ `,Bt=o(Oe)`
32
32
  color: ${q.important};
33
33
  `,Ot=o.div`
34
34
  margin-top: ${t.sp3};
@@ -90,7 +90,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
90
90
  padding: ${e=>`${ae.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${t.sp0}`};
91
91
  z-index: 2;
92
92
  background-color: ${e=>e.theme.colors.grey4};
93
- `,Kt=o(Be)`
93
+ `,Kt=o(Me)`
94
94
  ${e=>`${de.pageTitle.style(e.windowSize)}`};
95
95
  color: ${e=>e.theme.colors.primary};
96
96
  padding: ${t.sp3} ${t.sp0} ${t.sp3} ${t.sp0};
@@ -100,11 +100,11 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
100
100
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
101
101
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
102
102
  margin-right: ${t.sp2};
103
- `,Zt=o.div`
103
+ `,Qt=o.div`
104
104
  min-width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
105
105
  width: ${e=>e.isOptionSelected?t.sp4:t.sp5};
106
106
  height: ${e=>e.isOptionSelected?t.sp4:t.sp5};
107
- `,Qt=o(Dt)`
107
+ `,Zt=o(Dt)`
108
108
  min-width: inherit;
109
109
  width: inherit;
110
110
  height: inherit;
@@ -126,7 +126,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
126
126
  margin-right: 12px;
127
127
  margin-left: ${t.sp1};
128
128
  color: ${e=>e.theme.colors.hero};
129
- `,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=Y.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",M="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ve=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:v,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:x,onEstablishConnectionSuccess:b,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:B,isDebitCardInfoFetchStateCompleted:L,controllerEmails:k,productInformation:G,cashbackInformation:J,paymentSourceInformation:K,creditAccountInformation:X,debitAccountInformation:Z}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),Q=pe().analytics,H=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.linkToken??null),he=xe(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,F=c?.providerVerificationStatus?.code,ye=xe(oe.updateStatus.fetchState),We=p.useCallback((l,u)=>{const T=u.accounts.find(Ze=>Ze.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&T?.verification_status!=null&&!ge?y(T?.verification_status,c.paymentAccountId,"update_account"):x?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,x]),Ye=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:We,onExit:Ye});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(R.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),b()))},[A.updateStatus.fetchState,b,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(R.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||R.isVerifiedStatusCode(F))&&(R.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:qe}=N.formState,Ge=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const T=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(T)}},Je=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(T=>T.id===l);return u?.accountBalance?.available!=null&&R.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:T})=>{T!=null&&u!=null&&ct(()=>Ge(T,u))});return()=>{l.unsubscribe()}});const Ke=N.watch("paymentDetails.amount"),Xe=N.handleSubmit(()=>{if(qe){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);v(u),D(!0),j&&B&&L&&Q.trackCardsPayEarlyFormClick(k,G,J,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},K,X,Z)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Ke??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ve(Ue),onSubmit:Xe,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:q.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(M,"enableAutoPay"),checkBoxValue:re(M,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(M,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||R.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!0)}},valueToAdditionalLabel:Je}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(be,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(be,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:P}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(M,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(xt)`
129
+ `,{common:se,spendManagement:{zeniAccounts:{zeniAccountList:aa},billPay:{insufficientFunds:na},chargeCard:{payEarly:U}},commonSetUp:{setUp:{accountsPlg:ie}}}=Y.getLocalizedStrings(),Ne="amount",oa="withdrawFrom",B="paymentDetails",Ue="creditCardPaymentPage",re=(e,i)=>`${e}.${i}`,Ve=e=>`${e}_form`,S={largeLabelWidth:new d(120,120,160),labelMarginLeftPicker:new d(r[3],r[4]),labelMarginRightPicker:new d(r[3],r[4]),labelMarginTopPicker:new d(r[2],r[2]),labeledFieldPaddingLeft:new d(r[2],r[0]),labeledFieldPaddingRight:new d(r[2],r[2]),labeledFieldPaddingTop:new d(r[2],r[2]),labeledFieldPaddingBottom:new d(r[2],r[2]),infoLabelPaddingRight:new d(r[0],r[3]),infoLabelMarginTop:new d(r[1],r[0]),checkBoxTop:new d(r[1],r[0])},$e={integerAmountInput:new W("h5Regular","h2Regular"),decimalAmountInput:new W("largeSemiBold","h5Medium")};function ia({autoPayThreshold:e,plaidConnectionDetails:i,maxInsuredAmount:h,paymentDetails:n,lowBalanceAdditionalInfo:g,paymentAccount:c,isAccountsEnabled:f,onSaveChangesToLocalStore:L,onUpdatePaymentAccountStatus:y,onEstablishConnectionClick:x,onEstablishConnectionSuccess:b,onFetchLinkTokenClick:C,setShowReviewLoading:D,onSignUpAccountClick:m,onMoveMoneyClick:P,isCashbackInfoFetchStateCompleted:j,isCreditCardInfoFetchStateCompleted:M,isDebitCardInfoFetchStateCompleted:v,controllerEmails:k,productInformation:G,cashbackInformation:J,paymentSourceInformation:K,creditAccountInformation:X,debitAccountInformation:Q}){const s=me(),le=ze(),w=S.largeLabelWidth.value(s),Z=pe().analytics,H=p.useRef(null),[z,E]=p.useState(!1),[I,O]=p.useState(void 0),A=i.link_account,oe=i.update_account,$=I==="update_account"?oe:A,[_,ue]=p.useState($.linkToken??null),he=xe(A.updateStatus.fetchState),N=rt({mode:"all",reValidateMode:"onBlur",defaultValues:p.useMemo(()=>ke(n),[n]),values:p.useMemo(()=>ke(n),[n])}),ge=c?.isLoginRequired??!1,F=c?.providerVerificationStatus?.code,ye=xe(oe.updateStatus.fetchState),We=p.useCallback((l,u)=>{const T=u.accounts.find(Qe=>Qe.id===c?.providerAccountId)??u.accounts[0];c?.paymentAccountId!=null&&I==="update_account"&&T?.verification_status!=null&&!ge?y(T?.verification_status,c.paymentAccountId,"update_account"):x?.(l,I),O(void 0),E(!1)},[c?.paymentAccountId,c?.providerAccountId,I,ge,y,x]),Ye=p.useCallback((l,u)=>{l!=null&&(l.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&c?.paymentAccountId!=null&&y("verification_failed",c.paymentAccountId,"update_account"),console.log("Plaid Connection Error",l,u)),O(void 0),E(!1)},[c?.paymentAccountId,y]),{open:ce,ready:fe}=lt({token:_,onSuccess:We,onExit:Ye});p.useEffect(()=>{(he==="In-Progress"&&A.updateStatus.fetchState==="Completed"||ye==="In-Progress"&&oe.updateStatus.fetchState==="Completed")&&(R.isVerifiedPaymentAccountProviderStatusCode(F??"")||(C?.("link_account"),b()))},[A.updateStatus.fetchState,b,C,he,ye,oe.updateStatus.fetchState,F]),p.useEffect(()=>{(R.isVerifiedStatusCode(F??"")||F==="verification_failed")&&!z&&I!=null&&$.linkToken===_&&$.fetchStatus.fetchState==="Completed"&&fe&&E(!0)},[fe,_,$.fetchStatus.fetchState,$.linkToken,F,I,z]),p.useEffect(()=>{$.fetchStatus.fetchState==="Completed"&&$.linkToken!=null&&$.linkToken!==_&&ue($.linkToken)},[$.fetchStatus.fetchState,$.linkToken,_]),p.useEffect(()=>{z&&ce()},[z,ce]),p.useEffect(()=>{(F==null||F==="verification_failed"||F==="verification_expired"||R.isVerifiedStatusCode(F))&&(R.zeniDate(new Date().toISOString()).isAfter(A.expiration)||A.linkToken==null)&&C?.("link_account")},[]);const{isValid:qe}=N.formState,Ge=async(l,u)=>{if(l!=null){if(l.includes("amount"))return;const T=Ae(u,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(T)}},Je=l=>{if(g!=null)return g;const u=n.transferFromAccounts.find(T=>T.id===l);return u?.accountBalance?.available!=null&&R.checkIfLowBalance(n.chargeCardRepaymentDetailLocalData.amount,u?.accountBalance?.available)?na.addMoney:""};p.useEffect(()=>{const l=N.watch((u,{name:T})=>{T!=null&&u!=null&&ct(()=>Ge(T,u))});return()=>{l.unsubscribe()}});const Ke=N.watch("paymentDetails.amount"),Xe=N.handleSubmit(()=>{if(qe){const l=N.getValues(),u=Ae(l,n.transferFromAccounts,n.chargeCardRepaymentDetailLocalData.idempotencyKey);L(u),D(!0),j&&M&&v&&Z.trackCardsPayEarlyFormClick(k,G,J,"Review",n.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:n.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:n.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:n.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:n.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},K,X,Q)}});return a.jsxs(a.Fragment,{children:[a.jsx(da,{children:a.jsx(Ee,{amount:{amount:Ke??0,currencyCode:n.chargeCardRepaymentDetailLocalData.amount.currencyCode,currencySymbol:n.chargeCardRepaymentDetailLocalData.amount.currencySymbol},integerStyles:$e.integerAmountInput.styleObject(s),decimalStyles:$e.decimalAmountInput.styleObject(s)})}),a.jsx(st,{...N,children:a.jsx(sa,{id:Ve(Ue),onSubmit:Xe,children:a.jsxs(ma,{children:[a.jsx(dt,{selectRef:H,label:{label:se.labels.transferFrom,width:w,style:{marginLeft:S.labelMarginLeftPicker.valuePx(s),marginTop:S.labelMarginTopPicker.valuePx(s),marginRight:S.labelMarginRightPicker.valuePx(s),width:S.largeLabelWidth.value(s)}},style:{paddingTop:S.labeledFieldPaddingTop.valuePx(s),paddingBottom:S.labeledFieldPaddingBottom.valuePx(s),paddingLeft:S.labeledFieldPaddingLeft.valuePx(s),paddingRight:S.labeledFieldPaddingRight.valuePx(s),border:"none",width:"auto",display:"flex"},infoLabelStyle:{textAlign:"right",paddingRight:S.infoLabelPaddingRight.valuePx(s),marginTop:S.infoLabelMarginTop.valuePx(s),color:q.brandColorGoldDark},bottomComponent:a.jsx($t,{label:{label:U.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{textAlign:s==="small"?"end":"center",color:le.colors.primary}},style:{width:"unset",marginRight:t.sp3,alignItems:s==="small"?"flex-start":"center"},checkBoxField:{name:re(B,"enableAutoPay"),checkBoxValue:re(B,"enableAutoPay"),defaultChecked:n.chargeCardRepaymentDetailLocalData.isAutoRepayment,style:{top:S.checkBoxTop.valuePx(s)}}}),singleSelectPickerField:{name:re(B,oa),placeholder:pt(se.labels.transferFrom),style:{position:"relative"},capitalizeOptions:!0,isOptionRemovable:!1,showTickIcon:!1,valueToLogo:(l,u)=>_e(n.transferFromAccounts,l,u),valueToSubLabels:(l,u)=>mt(n.transferFromAccounts,l,u,!0),defaultValue:{selectedOption:n.chargeCardRepaymentDetailLocalData.transferFrom?.id,allOptions:n.transferFromAccounts.map(l=>({label:l.label,value:l.id,isRecommended:l.accType==="depositAccount"}))},textAlignment:"right",registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},showCreateOption:!0,onClickCreateOption:()=>{O("link_account"),A.linkToken==null||R.zeniDate(new Date().toISOString()).isAfter(A.expiration)?C?.("link_account"):_!==A.linkToken?ue(A.linkToken):z?ce():E(!0)}},valueToAdditionalLabel:Je}),n?.chargeCardRepaymentDetailLocalData.transferFrom==null||n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="paymentAccount"?a.jsx(be,{maxInsuredAmount:h,heading:a.jsxs(ra,{windowSize:s,children:[U.earn,a.jsx(la,{children:U.percentageCashback.replace("__percentage__",kt)}),U.whenYouPayViaZeniChecking]}),buttonText:f?ie.switchButtonText:ie.signUpButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onSignUpClick:m,onSwitchClick:()=>{H.current!=null&&H.current.focus()}}):n?.chargeCardRepaymentDetailLocalData.transferFrom?.accType==="depositAccount"&&n?.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available!=null&&n.chargeCardRepaymentDetailLocalData.transferFrom.accountBalance.available.amount<n.chargeCardRepaymentDetailLocalData.amount.amount?a.jsx(be,{maxInsuredAmount:h,heading:ie.moveMoneyHeading,buttonText:ie.moveMoneyButtonText,isAccountsEnabled:f,pageName:U.creditCardPayment,onMoveMoneyClick:P}):a.jsx(ca,{}),a.jsx(ut,{showAdditionalInfoLabel:!1,label:{label:se.labels.amount,width:w},formattedTextField:{type:"number",name:re(B,Ne),defaultValue:n.chargeCardRepaymentDetailLocalData.amount.amount===0?void 0:n.chargeCardRepaymentDetailLocalData.amount.amount,placeholder:aa.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:l=>!!l&&l>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto",paddingLeft:S.labeledFieldPaddingLeft.valuePx(s)}})]})})})]})}const ra=o(xt)`
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  width: ${e=>e.windowSize==="small"?"80%":"100%"};
132
132
  `,la=o(bt)`
@@ -143,7 +143,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
143
143
  justify-content: center;
144
144
  align-items: center;
145
145
  margin-bottom: ${t.sp6};
146
- `,da=o(Me)`
146
+ `,da=o(Be)`
147
147
  color: ${e=>e.theme.colors.primary};
148
148
  margin: ${t.sp5} ${t.sp0} ${t.sp3} ${t.sp0};
149
149
  `,ma=o.div`
@@ -154,7 +154,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
154
154
  border: 1px solid ${e=>e.theme.colors.grey3};
155
155
  box-shadow: ${e=>`${t.sp0} 2px ${t.sp1} ${e.theme.colors.dropShadowNormal}`};
156
156
  border-radius: ${t.sp2};
157
- `,Ae=(e,i,h)=>({amount:{amount:e[M].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[M].withdrawFrom.selectedOption),isAutoRepayment:e[M].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new W("h6Regular","h5Regular")},ve=Y.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,V=Y.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:Le}=Y.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:v,debitAccountInformation:y,cashbackInformation:x,paymentSourceInformation:b,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:B,goToCards:L,onDismissClick:k,onEstablishConnectionClick:G,onFetchLinkTokenClick:J,plaidConnectionDetails:K,onSignUpAccountClick:X,onMoveMoneyClick:Z,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),Q=pe().analytics,[H,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===v;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Te,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&D&&m&&Q.trackCardsPayEarlyFormClick(c,g,x,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},b,f,y),k?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Qe,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[V.youvePaid,a.jsx(ya,{children:Re("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),ve.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?V.theCreditLimitWillResetWithin23BusinessDays:V.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:V.goToCards,"data-testid":te("back-to-cards-button"),onClick:L})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:B,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:x,paymentSourceInformation:b,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Te,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&D&&m&&Q.trackCardsPayEarlyFormClick(c,g,x,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:P?.add(3,"day").format(Le.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(Le.visual.MMMDCommaYYYYformat)},b,f,y),k?.()}})}),w==="small"?a.jsx(xa,{windowSize:w,children:V.payCreditCardBalance}):a.jsx(ba,{children:V.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:j,plaidConnectionDetails:K,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:J,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:G,onSignUpAccountClick:X,onMoveMoneyClick:Z,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:x,paymentSourceInformation:b,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ve(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Y.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:ve.transferDrawer.cancelBtn,onClick:()=>{C&&D&&m&&Q.trackCardsPayEarlyFormClick(c,g,x,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},b,f,y),k?.()}}})]})})},ha=o.div`
157
+ `,Ae=(e,i,h)=>({amount:{amount:e[B].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:i.find(n=>n.id===e[B].withdrawFrom.selectedOption),isAutoRepayment:e[B].enableAutoPay,idempotencyKey:h}),ne={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),successContentMargin:new d(r[3],r[12]),buttonTrayGap:new d(r[4],r[5])},pa={sectionTitle:new W("h6Regular","h5Regular")},Le=Y.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList,V=Y.getLocalizedStrings().spendManagement.chargeCard.payEarly,{dateFormat:ve}=Y.getLocalizedStrings(),ua=({autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:h,isAccountsEnabled:n,productInformation:g,controllerEmails:c,creditAccountInformation:f,creditAccountSpentAmount:L,debitAccountInformation:y,cashbackInformation:x,paymentSourceInformation:b,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,paymentInitiatedDate:P,onSaveChangesToLocalStore:j,onTransferClick:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:G,onFetchLinkTokenClick:J,plaidConnectionDetails:K,onSignUpAccountClick:X,onMoveMoneyClick:Q,onUpdatePaymentAccountStatus:s,onEstablishConnectionSuccess:le})=>{const w=me(),Z=pe().analytics,[H,z]=p.useState(!1),[E,I]=p.useState(!1);p.useEffect(()=>{E&&setTimeout(()=>{I(!1),z(!0)},1e3)},[E]);const O=i.chargeCardRepaymentDetailLocalData.amount.amount===L;return a.jsx(ha,{windowSize:w,children:i.updateStatus==="Completed"?a.jsxs(Ie,{windowSize:w,isTransferCompleted:!0,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Te,{"data-testid":te("cross-credit-card-payment-success-close-button"),onClick:()=>{C&&D&&m&&Z.trackCardsPayEarlyFormClick(c,g,x,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},b,f,y),k?.()}})}),a.jsxs(Ca,{windowSize:w,children:[a.jsx(Ze,{width:150,height:150,shouldDisplay:!0,animationInLoop:1}),a.jsx(ga,{children:a.jsxs(a.Fragment,{children:[V.youvePaid,a.jsx(ya,{children:Re("0,0.[00]",i.chargeCardRepaymentDetailLocalData.amount)}),Le.transferDrawer.internal.transferSuccessMsgMidfix,`"${i.chargeCardRepaymentDetailLocalData.transferFrom?.label}".`,O?V.theCreditLimitWillResetWithin23BusinessDays:V.theCreditLimitWillUpdateWithin23BusinessDays]})}),a.jsx(fa,{windowSize:w,children:a.jsx(He,{variant:"primary",label:V.goToCards,"data-testid":te("back-to-cards-button"),onClick:v})})]})]}):H?a.jsx(Ft,{paymentDetails:i,setShowReviewContent:z,onTransferClick:M,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:x,paymentSourceInformation:b,creditAccountInformation:f,debitAccountInformation:y,isCompleteOutstandingBalanceBeingPaid:O}):a.jsxs(a.Fragment,{children:[a.jsxs(Ie,{windowSize:w,isTransferCompleted:!1,children:[a.jsx(Fe,{windowSize:w,children:a.jsx(Te,{"data-testid":te("cross-amount-details-close-button"),onClick:()=>{C&&D&&m&&Z.trackCardsPayEarlyFormClick(c,g,x,"Cross Icon",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:P?.add(3,"day").format(ve.visual.MMMDCommaYYYYformat),paymentInitiatedDate:P?.format(ve.visual.MMMDCommaYYYYformat)},b,f,y),k?.()}})}),w==="small"?a.jsx(xa,{windowSize:w,children:V.payCreditCardBalance}):a.jsx(ba,{children:V.payCreditCardBalance}),i.fetchState==="Completed"?a.jsx(ia,{autoPayThreshold:e,maxInsuredAmount:h,onSaveChangesToLocalStore:j,plaidConnectionDetails:K,paymentDetails:i,setShowReviewLoading:I,onEstablishConnectionSuccess:le,isAccountsEnabled:n,onFetchLinkTokenClick:J,onUpdatePaymentAccountStatus:s,onEstablishConnectionClick:G,onSignUpAccountClick:X,onMoveMoneyClick:Q,isCashbackInfoFetchStateCompleted:C,isCreditCardInfoFetchStateCompleted:D,isDebitCardInfoFetchStateCompleted:m,controllerEmails:c,productInformation:g,cashbackInformation:x,paymentSourceInformation:b,creditAccountInformation:f,debitAccountInformation:y}):a.jsx(et,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),a.jsx(Pe,{style:{zIndex:4,paddingTop:t.sp3,paddingBottom:t.sp3},formId:Ve(Ue),helperStyle:{paddingTop:t.sp0,paddingBottom:t.sp0},primaryBtn:{label:Y.getLocalizedStrings().common.review,isLoading:E},cancelBtn:{label:Le.transferDrawer.cancelBtn,onClick:()=>{C&&D&&m&&Z.trackCardsPayEarlyFormClick(c,g,x,"Cancel",i.chargeCardRepaymentDetailLocalData.isAutoRepayment,{paymentAmount:i.chargeCardRepaymentDetailLocalData.amount.amount,paymentAccountName:i.chargeCardRepaymentDetailLocalData.transferFrom?.label,paymentAccountType:i.chargeCardRepaymentDetailLocalData.transferFrom?.accType,paymentAccountLastFourDigits:i.chargeCardRepaymentDetailLocalData.transferFrom?.accountLast4,paymentCompleteEta:void 0,paymentInitiatedDate:void 0},b,f,y),k?.()}}})]})})},ha=o.div`
158
158
  display: flex;
159
159
  flex-direction: column;
160
160
  background-color: ${e=>e.theme.colors.grey4};
@@ -204,7 +204,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
204
204
  &:hover {
205
205
  color: ${e=>e.theme.colors.primary};
206
206
  }
207
- `,xa=o(Be)`
207
+ `,xa=o(Me)`
208
208
  ${e=>`${pa.sectionTitle.style(e.windowSize)}`};
209
209
  color: ${e=>e.theme.colors.primary};
210
210
  margin-top: ${t.sp3};
@@ -214,7 +214,7 @@ import{j as a,e as me,x as pe,$ as te,gU as Qe,B as Y,a0 as Re,K as He,m as et,a
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  margin-top: ${t.sp3};
216
216
  margin-bottom: ${t.sp2};
217
- `,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:v,controllerEmails:y,productInformation:x,creditAccountInformation:b,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:B,goToCards:L,onDismissClick:k,onEstablishConnectionClick:G,onEstablishConnectionSuccess:J,onFetchLinkTokenClick:K,plaidConnectionDetails:X,onSignUpAccountClick:Z,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:x,controllerEmails:y,creditAccountInformation:b,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:B,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:v,goToCards:L,onDismissClick:k,plaidConnectionDetails:X,isAccountsEnabled:h,onEstablishConnectionClick:G,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:J,onSignUpAccountClick:Z,onMoveMoneyClick:s})}),Sa=o.div`
217
+ `,ja=({autoPayThreshold:e,paymentDetails:i,isZeniAccountSetupEnabled:h,maxInsuredAmount:n,onUpdatePaymentAccountStatus:g,onSaveChangesToLocalStore:c,creditAccountSpentAmount:f,onTransferClick:L,controllerEmails:y,productInformation:x,creditAccountInformation:b,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,goToCards:v,onDismissClick:k,onEstablishConnectionClick:G,onEstablishConnectionSuccess:J,onFetchLinkTokenClick:K,plaidConnectionDetails:X,onSignUpAccountClick:Q,onMoveMoneyClick:s})=>a.jsx(Sa,{children:a.jsx(ua,{autoPayThreshold:e,paymentDetails:i,maxInsuredAmount:n,productInformation:x,controllerEmails:y,creditAccountInformation:b,debitAccountInformation:C,cashbackInformation:D,paymentSourceInformation:m,isCashbackInfoFetchStateCompleted:P,isCreditCardInfoFetchStateCompleted:j,isDebitCardInfoFetchStateCompleted:M,creditAccountSpentAmount:f,onSaveChangesToLocalStore:c,onTransferClick:L,goToCards:v,onDismissClick:k,plaidConnectionDetails:X,isAccountsEnabled:h,onEstablishConnectionClick:G,onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:g,onEstablishConnectionSuccess:J,onSignUpAccountClick:Q,onMoveMoneyClick:s})}),Sa=o.div`
218
218
  display: flex;
219
219
  flex-direction: column;
220
220
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{e as j,u as M,B as L,ab as T,a1 as H,j as i,$ as b,K as U,bu as W,o as l,g as n,C as a,aS as G,bO as R,az as B,w as _,q as o}from"./index-CLgXcFOQ.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Z({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:p,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const s=j(),f=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),d=C.setUp.accountsPlg,P=()=>{switch(c){case d.signUpButtonText:g?.trackPlgPromoClicked(p,"Sign Up for Free"),S?.();break;case d.switchButtonText:g?.trackPlgPromoClicked(p,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(p,"Move Money"),$?.()}},z=T(H(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:s,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:s,isDarkMode:f.mode==="dark",children:i.jsx(O,{windowSize:s,children:i.jsx(q,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(J,{windowSize:s,children:e}),i.jsxs(I,{windowSize:s,children:[i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.three})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:s,children:i.jsx(U,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:W.regular}})})]})}const D=t.div`
1
+ import{e as j,u as M,B as L,ab as T,a1 as H,j as i,$ as b,K as U,bv as W,o as l,g as n,C as a,aS as G,bO as R,az as B,w as _,q as o}from"./index-DIh8Zr8t.js";import{n as t}from"./vendor-rkTZJa59.js";const r={iconContainerMaxWidthHeight:new a(o[6],o[7]),iconContainerMarginRight:new a(o[3],o[3]),iconWidthHeight:new a(20,o[4]),iconPadding:new a(10,12),containerPaddingTopBottom:new a(o[4],o[4]),containerPaddingLeftRight:new a(o[3],o[4]),buttonLeftMargin:new a(o[8],o[0]),buttonTopMargin:new a(o[4],o[2]),bulletContainerGap:new a(12,o[3])};function Y({heading:e,buttonText:c,analytics:g,maxInsuredAmount:m,pageName:p,style:x,onSignUpClick:S,onSwitchClick:y,onMoveMoneyClick:$}){const s=j(),f=M(),{common:v,commonSetUp:C}=L.getLocalizedStrings(),d=C.setUp.accountsPlg,P=()=>{switch(c){case d.signUpButtonText:g?.trackPlgPromoClicked(p,"Sign Up for Free"),S?.();break;case d.switchButtonText:g?.trackPlgPromoClicked(p,"Switch Now"),y?.();break;default:g?.trackPlgPromoClicked(p,"Move Money"),$?.()}},z=T(H(m),m,v.currency.currencySymbol).toUpperCase();return i.jsxs(E,{windowSize:s,width:x?.width,style:x,"data-testid":b("credit-card-payment-plg-section"),children:[i.jsxs(D,{children:[i.jsx(A,{windowSize:s,isDarkMode:f.mode==="dark",children:i.jsx(O,{windowSize:s,children:i.jsx(q,{})})}),i.jsx(F,{children:i.jsxs(N,{children:[i.jsx(J,{windowSize:s,children:e}),i.jsxs(I,{windowSize:s,children:[i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.two.replace("__amount__",z)})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.three})]}),i.jsxs(h,{children:[i.jsx(w,{}),i.jsx(u,{children:d.bulletPoints.four})]})]})]})})]}),i.jsx(K,{windowSize:s,children:i.jsx(U,{label:c,"data-testid":b("accounts-plg-button",c),onClick:k=>{k.stopPropagation(),P()},buttonColors:{borderColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},backgroundColor:{default:n.brandColorSapphire,hover:n.brandColorSapphire,disabled:n.brandColorSapphire},textColor:{default:n.neutralGrey5Light,hover:n.neutralGrey5Light,disabled:n.neutralGrey5Light}},size:"small",style:{padding:`6px ${l.sp3}`,borderRadius:"6px"},textStyle:{fontWeight:W.regular}})})]})}const D=t.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  `,J=t(R)`
@@ -75,4 +75,4 @@ import{e as j,u as M,B as L,ab as T,a1 as H,j as i,$ as b,K as U,bu as W,o as l,
75
75
  `,u=t(_)`
76
76
  color: ${e=>e.theme.colors.primary};
77
77
  white-space: nowrap;
78
- `;export{Z};
78
+ `;export{Y};
@@ -1,4 +1,4 @@
1
- import{cn as M,u as N,cv as P,B as H,j as l,cw as L,$ as x,b3 as _,o,dj as z,b_ as B,b4 as g,s as Y,v as w,eY as Z,eZ as Q,e_ as T,w as U,b1 as X,a3 as q,g as m}from"./index-CLgXcFOQ.js";import{b as v,n}from"./vendor-rkTZJa59.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[O,C]=v.useState(!1),k=P(f,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const S=R;return v.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:O===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(S.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&S?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:A,Option:G,Input:W,SingleValue:ee,ValueContainer:K,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},A=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},G=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},J=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},K=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(j,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(j,{children:r.label})})},j=n(Y)`
1
+ import{cn as M,u as N,cv as P,B as H,j as l,cw as L,$ as x,b3 as _,o,dj as z,b_ as B,b4 as g,s as Y,v as w,eY as Z,eZ as Q,e_ as T,w as U,b1 as X,a3 as q,g as m}from"./index-DIh8Zr8t.js";import{b as v,n}from"./vendor-rkTZJa59.js";const fe=({name:e,registerOptions:r,defaultValue:t,isDisabled:a,style:c,placeholder:d,isOptionRemovable:i=!0,menuItemHeight:u=40,controlStyle:p})=>{const{control:y,formState:{errors:f}}=M(),b=N(),[O,C]=v.useState(!1),k=P(f,e??""),I=H.getLocalizedStrings().common.currency,D=s=>{if(!(s==null||!s))return{value:s,label:t.allOptions.find(h=>h.value===s)?.label??s,countryCode:t.allOptions.find(h=>h.value===s)?.countryCode??I.countryCode}},V={container:s=>({...s,width:"100%",...c}),menu:s=>({...s,backgroundColor:b.colors.grey5,borderRadius:o.sp1,boxShadow:`${o.sp0} 2px ${o.sp2} ${b.colors.dropShadowHover}`,border:`1px solid ${b.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${o.sp0} ${o.sp0} ${o.sp0}`,overflow:"hidden"}),menuList:s=>({...s,borderRadius:o.sp1}),input:()=>({color:b.colors.primary,margin:0}),singleValue:s=>({...s,margin:0,position:"absolute"})},F={hasError:k,menuItemHeight:u,controlStyle:p,isOptionRemovable:i};return l.jsx(L,{name:e,control:y,defaultValue:t,rules:r,"data-testid":x("currency-select-field",e),render:({field:{onChange:s,onBlur:h,value:R,ref:E}})=>{const S=R;return v.createElement(_,{...F,ref:E,isMulti:!1,isSearchable:!0,isClearable:i,autoFocus:O===!0,openMenuOnClick:!0,controlShouldRenderValue:!0,placeholder:d,value:D(S.selectedOption),options:t.allOptions,"data-testid":x("currency-select",e),onChange:$=>{i&&$?.value!=null&&S?.selectedOption===$.value?s({selectedOption:void 0,allOptions:t.allOptions}):s({selectedOption:$?.value,allOptions:t.allOptions})},onMenuClose:()=>C(!1),key:z(),tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"currency-select-field",onBlur:h,menuPlacement:"auto",maxMenuHeight:240,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:A,Option:G,Input:W,SingleValue:ee,ValueContainer:K,DropdownIndicator:he,IndicatorSeparator:me,Placeholder:oe,ClearIndicator:ge,MenuList:J},hideSelectedOptions:!1,styles:V,isDisabled:a!=null})}})},A=e=>{const{menuIsOpen:r,isFocused:t,isDisabled:a,selectProps:c}=e,{value:d,hasError:i,controlStyle:u}=c;return l.jsx(te,{controlStyle:u,menuIsOpen:r,isFocused:t,isDisabled:a,selectedValue:d,hasError:i,children:l.jsx(g.Control,{...e,className:"select-control",children:e.children})})},G=e=>{const{data:r,isSelected:t,isDisabled:a,isFocused:c,selectProps:d}=e,{isOptionRemovable:i}=d,u=r.countryCode,p=typeof r.label=="string"?r.label:r.value;return l.jsx(re,{isOptionRemovable:i,className:"select-option-wrapper",isFocused:c,isSelected:t,isDisabled:a,"data-testid":x("currency-select-field-option",p),children:l.jsx(g.Option,{...e,className:"select-option",children:l.jsxs(se,{children:[l.jsx(le,{countryCode:u}),l.jsx(ae,{isSelected:t,children:l.jsx(ne,{isSelected:t,isDisabled:a,children:r.label})}),t?l.jsxs(de,{children:[l.jsx(ue,{className:"right-tick-icon"}),l.jsx(pe,{className:"close-tick-icon"})]}):null]})})})},J=e=>{const{options:r,children:t,maxHeight:a,getValue:c,selectProps:d}=e,{menuItemHeight:i}=d,[u]=c(),p=r.indexOf(u)*i;return l.jsx(B,{height:t.length>7?a:t.length*i,width:"100%",itemCount:t.length,itemSize:()=>i,initialScrollOffset:p,children:({index:y,style:f})=>l.jsx(ce,{style:f,children:t[y]})})},K=e=>l.jsx(g.ValueContainer,{...e,className:"select-value-container",children:e.children}),W=e=>{const{selectProps:r}=e,{placeholder:t,value:a}=r;return l.jsx(j,{children:l.jsx(g.Input,{...e,autoComplete:"new-password",placeholder:a==null?t:void 0,children:e.children})})},ee=e=>{const{data:r}=e;return l.jsx(g.SingleValue,{...e,children:l.jsx(j,{children:r.label})})},j=n(Y)`
2
2
  color: ${e=>e.theme.colors.primary};
3
3
  `,oe=()=>null,le=({countryCode:e})=>{if(e!=null&&Z(e)===!1)return l.jsx(l.Fragment,{});{const r=Q[`${T(e??"")}`];return l.jsx(ie,{children:l.jsx(r,{width:o.sp4,height:o.sp3})})}},te=n.span`
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as t,e as b,B as d,a2 as l,$ as p,m as x,o as i,M as g,c7 as h,T as m}from"./index-CLgXcFOQ.js";import{b as u,n as o}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const f=o.div`
1
+ import{j as t,e as b,B as d,a2 as l,$ as p,m as x,o as i,M as g,c7 as h,T as m}from"./index-DIh8Zr8t.js";import{b as u,n as o}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const f=o.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -0,0 +1 @@
1
+ import{j as r}from"./index-DIh8Zr8t.js";import o from"./CustomerOnboardingNoStepsPage-BArUCUM_-BXJqiQYG.js";import i from"./CustomerOnboardingPage-CbNJqARH-BG0Cktvq.js";import"./mui-C42whWwM.js";import"./vendor-rkTZJa59.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./HelpButton-Cejsxx_E-DbOhIKff.js";import"./MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js";import"./PaymentAccountSetupBillingAddressSection-BhGNRlcK-CiQSTMi7.js";import"./SetUpAccountSection-Phy6Ec2u-fxxQCnq-.js";import"./SetUpDefaultSection-fQGcSH2--i6_Lmo2x.js";import"./ChaseOverlay-DjKikFfn-CLpspWOE.js";import"./CustomerOnboardingDetailPageSkeleton-tEZUFgN4-CtaDPa2W.js";import"./CompanyOfficerDetailsSection--mYIj08P-DM7zsZa7.js";import"./LabeledAddressValueField-CSq0Hzf_-Cy8z_cOn.js";import"./LabeledCreatableSingleSelectField-CyDTS5Be-DLsqnUG_.js";import"./LabeledDocumentField-DIRpefMQ-LAyXkW2Q.js";import"./QBOSetupSection-CQHr233V-BhlmfNKw.js";import"./QBOConnectionDialog-dwZjMC7l-mqFn9Iuy.js";const v=t=>t.currentTenant?.productSettings.isOtherProductsEnabled===!0?r.jsx(o,{...t}):r.jsx(i,{...t});export{v as default};
@@ -1,4 +1,4 @@
1
- import{j as s,$ as y,aJ as E,u as f,e as T,bh as x,o as t,q as R,C as $,M as I,B as N,g as u,eV as P,h9 as U,f4 as L,aD as W,k as O,ha as B}from"./index-CLgXcFOQ.js";import{n as r,f as S}from"./vendor-rkTZJa59.js";const J=r(B)`
1
+ import{j as s,$ as y,aJ as E,u as f,e as T,bh as x,o as t,q as R,C as $,M as I,B as N,g as u,eV as P,h9 as U,f4 as L,aD as W,k as O,ha as B}from"./index-DIh8Zr8t.js";import{n as r,f as S}from"./vendor-rkTZJa59.js";const J=r(B)`
2
2
  /* Size is controlled by styles.root prop */
3
3
  `,M=r.div`
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{x as ie,j as o,e as Ce,u as Pe,a as we,h7 as be,B as xe,a2 as ke,ca as Ie,aX as $e,o as s,$ as Ae,F as ve,a4 as Oe,aJ as je,cD as Ve,cE as oe,M as Te,C as J,s as Ee,q as $}from"./index-CLgXcFOQ.js";import{n as c,b as A}from"./vendor-rkTZJa59.js";import{D as Le}from"./HelpButton-C6Iv61BM-BVtByn9F.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-CvdwrTFj-DgwIGpc-.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-BId2pCpr-DdJ4wVFX.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js";import"./SetUpAccountSection-CivUASk0-C3ChKTix.js";import"./SetUpDefaultSection-Dpvt1AOg-Ckz4tu8U.js";import"./ChaseOverlay-CpfVlOOJ-DUmatajH.js";const q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:E,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=ie(),{analytics:h}=D,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:W,onAddressEditHandler:x}=_,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&Ie(()=>ge(i,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),i=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Ke,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(se),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:N})}),style:{width:u==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleCreateCardSetupIntent:E,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Me=c.div`
1
+ import{x as ie,j as o,e as Ce,u as Pe,a as we,h7 as be,B as xe,a2 as ke,ca as Ie,aX as $e,o as s,$ as Ae,F as ve,a4 as Oe,aJ as je,cD as Ve,cE as oe,M as Te,C as J,s as Ee,q as $}from"./index-DIh8Zr8t.js";import{n as c,b as A}from"./vendor-rkTZJa59.js";import{D as Le}from"./HelpButton-Cejsxx_E-DbOhIKff.js";import{s as Ue,o as ze}from"./PaymentAccountSetupBillingAddressSection-BhGNRlcK-CiQSTMi7.js";import{f as Be}from"./CustomerOnboardingDetailPageSkeleton-tEZUFgN4-CtaDPa2W.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js";import"./SetUpAccountSection-Phy6Ec2u-fxxQCnq-.js";import"./SetUpDefaultSection-fQGcSH2--i6_Lmo2x.js";import"./ChaseOverlay-DjKikFfn-CLpspWOE.js";const q="onboardingPaymentAccountSetupSection",se="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",Q={titleWidth:new J(343,580,726,826),subTitlePaddingTop:new J($[3],$[3]),subTitlePaddingBottom:new J($[3],$[3])},Fe=e=>`${e}_form`,_e=xe.getLocalizedStrings(),De=({onboardingCustomerView:e,connectedAccountProvider:C,cardPaymentView:y,stripeKey:O,googleAPIKey:j,signedInUser:P,currentTenant:V,onUpdateStep:T,handleCreateCardSetupIntent:E,handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleAddCardPaymentSource:U,resetCardPaymentViewState:z,handleResetCardPaymentErrorStatuses:B,redirectToProductSuitePage:b,onUpdateCustomerView:F,..._})=>{const u=Ce(),D=ie(),{analytics:h}=D,{onFetchLinkTokenClick:M,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:G,handleLogOutClick:N,onZeniLogoClick:W,onAddressEditHandler:x}=_,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:p,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:m}=e,{customerOnboardingPage:ce,common:g}=_e,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=ke(p.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const i=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,f=Ve(l?.country);d={street:a[n].street??g.strings.empty,city:l?.locality??g.strings.empty,state:l?.administrativeAreaLevel1??g.strings.empty,country:f,countryCode:l?.countryCode??g.strings.empty,postalCode:l?.postalCode??g.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},i.selectedOption!==f.selectedOption&&(d={...d,country:f})}else t===`${n}.country`&&i.selectedOption!=null?d={...d,countryCode:oe(i.selectedOption)}:i.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(i.selectedOption)});x(d)}};A.useEffect(()=>{const t=r.watch((a,{name:i})=>{i!=null&&a!=null&&Ie(()=>ge(i,a))});return()=>{t.unsubscribe()}}),A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,p.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??g.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,i=y.cardsList.length>0,d=y.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&i||!i&&!k&&d};function he(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=m?.street.join("").trim(),i=m?.city,d=m?.state,l=m?.country,f=m?.postalCode!=null&&m.postalCode||t.postalCode||g.strings.empty;return!!a&&!!i&&!!d&&!!l&&!!f}const Se=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),T("link_payment_account"),F(me,!1,!0))};A.useEffect(()=>{I==="In-Progress"&&p.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),b())},[r,e,I,p.fetchState,Y,b]);const[ae,fe]=A.useState(!1);return o.jsxs(Me,{children:[o.jsxs(Ke,{windowSize:u,children:[o.jsx($e,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:u!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:s.sp0,paddingBottom:s.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx(ve,{...r,children:o.jsx(Ge,{id:Fe(se),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:u,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:C,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:M,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:G,updateCardPaymentModalState:w,cardPaymentView:y,resetCardPaymentViewState:z,cardSetupInProgress:ae,googleAPIKey:j,subscriptionBillingAddress:m})]},"link_payment_account")})}),o.jsx(Oe,{formId:`${se}`,leftSideComponent:o.jsx(Ne,{windowSize:u,children:o.jsx(je,{signedInUser:P,currentTenant:V,onLogOutClick:N})}),style:{width:u==="small"?"auto":"100%",padding:s.sp0,rowGap:s.sp1},helperContainerStyle:{width:"100%",rowGap:s.sp1,marginTop:"12px",marginBottom:s.sp2},primaryBtn:{onClick:Se,label:H.submit,isLoading:p.fetchState==="In-Progress",isDisabled:p.fetchState==="In-Progress"||!(he()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:s.sp0,rowGap:s.sp0,textAlign:"center"}})]}),o.jsx(ze,{handleConfirmCardSetupIntent:L,updateCardPaymentModalState:w,handleCreateCardSetupIntent:E,handleAddCardPaymentSource:U,cardPaymentView:y,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:B,cardSetupInProgress:ae,setCardSetupInProgress:fe})]})},Me=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as r,e as Me,u as Zt,a as en,ca as me,B as We,a2 as Qe,N as mt,O as He,l as K,aX as tn,o as re,F as nn,q as M,a4 as an,h7 as on,fI as sn,fg as ft,cD as xt,cE as yt,C as fe,fL as ye,cn as rn,s as cn,h8 as gt,R as ht,cl as ln,fK as dn}from"./index-CLgXcFOQ.js";import{b as p,n as P,k as It}from"./vendor-rkTZJa59.js";import{D as pn}from"./HelpButton-C6Iv61BM-BVtByn9F.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-CvdwrTFj-DgwIGpc-.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-BId2pCpr-DdJ4wVFX.js";import{s as fn,x as yn}from"./CompanyOfficerDetailsSection-2Kp3dlIG-CUj0BZ_V.js";import{o as gn}from"./QBOSetupSection-CAszn53C-C1WPxf80.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js";import"./SetUpAccountSection-CivUASk0-C3ChKTix.js";import"./SetUpDefaultSection-Dpvt1AOg-Ckz4tu8U.js";import"./ChaseOverlay-CpfVlOOJ-DUmatajH.js";import"./LabeledAddressValueField-CTm0OvN8-DLFBRilq.js";import"./LabeledCreatableSingleSelectField-Cy0TQ_sm-D3wFmzg1.js";import"./LabeledDocumentField-BPen9EG9-DLgtlaxk.js";import"./QBOConnectionDialog-CRbY0usB-Cr6Q8Ws3.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:A,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Me(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:A,...I})})},Sn=P.div`
1
+ import{j as r,e as Me,u as Zt,a as en,ca as me,B as We,a2 as Qe,N as mt,O as He,l as K,aX as tn,o as re,F as nn,q as M,a4 as an,h7 as on,fI as sn,fg as ft,cD as xt,cE as yt,C as fe,fL as ye,cn as rn,s as cn,h8 as gt,R as ht,cl as ln,fK as dn}from"./index-DIh8Zr8t.js";import{b as p,n as P,k as It}from"./vendor-rkTZJa59.js";import{D as pn}from"./HelpButton-Cejsxx_E-DbOhIKff.js";import{s as St,o as un}from"./PaymentAccountSetupBillingAddressSection-BhGNRlcK-CiQSTMi7.js";import{b as Ct,f as mn,a as bt}from"./CustomerOnboardingDetailPageSkeleton-tEZUFgN4-CtaDPa2W.js";import{s as fn,x as yn}from"./CompanyOfficerDetailsSection--mYIj08P-DM7zsZa7.js";import{o as gn}from"./QBOSetupSection-CQHr233V-BhlmfNKw.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js";import"./SetUpAccountSection-Phy6Ec2u-fxxQCnq-.js";import"./SetUpDefaultSection-fQGcSH2--i6_Lmo2x.js";import"./ChaseOverlay-DjKikFfn-CLpspWOE.js";import"./LabeledAddressValueField-CSq0Hzf_-Cy8z_cOn.js";import"./LabeledCreatableSingleSelectField-CyDTS5Be-DLsqnUG_.js";import"./LabeledDocumentField-DIRpefMQ-LAyXkW2Q.js";import"./QBOConnectionDialog-dwZjMC7l-mqFn9Iuy.js";const hn=({companyView:t,companyOfficerLocalData:w,allNationalityCountries:c,isVerificationPopupOpen:f,setIsVerificationPopupOpen:A,verifiedPhoneNumber:x,onPhoneVerified:y,...I})=>{const m=Me(),V=t?.companyOfficers.slice(0,10).sort((b,ee)=>b.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(b=>b.user),{company_officer:l}=We.getLocalizedStrings().customerOnboardingPage.sections,{title:$}=l,N=t?.company.company.featuresActivationInfo.connectedAccountProvider;return r.jsx(Sn,{children:r.jsx(yn,{companyOfficerData:w,allOfficers:V??[],allNationalityCountries:c,sectionHeader:$,isPopupOpen:f,productType:"onboarding",connectedAccountProvider:N,showInfoTooltip:m!=="small",showCompletedIcon:m==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:x,onPhoneVerified:y,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:A,...I})})},Sn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{e as M,x as U,Y as D,u as W,B as _,j as e,aX as A,o as t,$ as y,aJ as H,l as I,s as R,M as V,g as l,v as k,f as J,T as N,c7 as Y,r as Z,af as q}from"./index-CLgXcFOQ.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import Q from"./ConfettiBurst-edV2fAAY-F1yC_yIb.js";import{D as X}from"./HelpButton-C6Iv61BM-BVtByn9F.js";import{_ as G}from"./ProductsCarousel-47vJAdBR-CCJAEyFp.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-DitR3JDv-B2ELvbD2.js";const K=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=_.getLocalizedStrings(),De=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=D(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(X,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:b})]})},te=i.div`
1
+ import{e as M,x as U,Y as D,u as W,B as _,j as e,aX as A,o as t,$ as y,aJ as H,l as I,s as R,M as V,g as l,v as k,f as J,T as N,c7 as Y,r as Z,af as q}from"./index-DIh8Zr8t.js";import{b as n,n as i}from"./vendor-rkTZJa59.js";import Q from"./ConfettiBurst-BHOL5tI9-DwpmJ28Z.js";import{D as X}from"./HelpButton-Cejsxx_E-DbOhIKff.js";import{_ as G}from"./ProductsCarousel-EKirw7ua-D-T9J4k_.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-BYqoYPoy-DWbEFvhX.js";const K=o=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=_.getLocalizedStrings(),De=({hasVerifiedBankAccount:o,meetingUrl:$,showUpdatePaymentDetailButton:u=!1,isVisitingFirstTime:b=!1,handleUpdatePaymentAddressDetailClick:v,...S})=>{const d=M(),x=U().analytics,f=D(),L=f.loggedInUser,a=f.currentTenant,[w,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=S,O=W(),{customerOnboardingPage:c}=ee,p=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:F}=s,{isPayrollEnabled:h,isCfoEnabled:g,isTaxEnabled:m}=F;return h&&g&&m?[r.withTaxAndPayroll,r.withCFO]:h&&g?[r.withPayroll,r.withCFO]:h&&m?[r.taxAndPayroll]:g&&m?[r.withTax,r.withCFO]:h?[r.onlyPayroll]:g?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},B=s=>{if(v(),!s)return;let r="";o?r="bank_account":r="credit_card",x.trackOnboardingClickUpdatePaymentDetails(r,I.getProductSettingsString(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(A,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:O.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":y("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:u?e.jsxs(Ce,{"data-testid":y("update-to-payment-address-details"),onClick:()=>B(a),children:[e.jsx(ke,{}),e.jsx(je,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx($e,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:p(a).length>1?t.sp2:t.sp1,padding:p(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:p(a)[0]})]}),e.jsx(C,{children:p(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(G,{scale:1,showUpdatePaymentDetailButton:u,stopCarousel:w})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(me,{className:"discover-class"})]})]}),e.jsx(ue,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(H,{signedInUser:L,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(X,{isFooterRendered:!1,meetingUrl:$,analytics:x,productType:"onboarding_interim",showPopup:w,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:b})]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Y as YA,l as uA,j as e,E as kt,H as Dt,I as yt,o as r,L as jt,N as mA,O as Mt,P as _A,Q as vt,S as bt,U as Rt,V as St,W as Lt,X as Ft,Z as J,B as l,e as q,_ as H,$ as f,a0 as U,a1 as Y,q as R,a as Jt,a2 as je,a3 as Pt,F as Ut,a4 as Ot,C as K,a5 as T,a6 as G,k as X,a7 as Me,a8 as S,a9 as F,aa as KA,u as AA,ab as Ht,ac as GA,ad as Tt,g as k,ae as Yt,af as Kt,w as P,ag as bA,r as NA,s as zA,ah as ve,ai as be,aj as Re,ak as WA,J as Gt,y as Nt,al as zt,am as Se,an as Wt,ao as qt,ap as RA,aq as Xt,ar as Vt,as as Zt,at as $t,au as _t,av as Ar,aw as er,ax as tr,m as Le,v as rr,ay as or,az as gr,aA as Fe,aB as Je,n as ar,aC as Cr,f as ir,aD as Pe}from"./index-CLgXcFOQ.js";import{b as a,n as C,f as D,k as L,j as pA}from"./vendor-rkTZJa59.js";import{j as nr}from"./DashboardSidebarBackgroundAnimation-CJ-5jfvs-Bpd8qkRi.js";import{L as Er,k as Br}from"./ArAgingChart-zBCV3C62-Dq36ljUM.js";import{E as sr,T as qA,I as Ue}from"./ReloadCard-BifFraMi-albWACGt.js";import{L as Qr,O as wA,c as eA}from"./TopExCard-zr-Bpnxj-D4RYSL5g.js";import{H as Ir,Y as dr,P as lr,G as cr,N as hr}from"./RevenueChart-DzDV07A2-Cyi9DXoa.js";import mr from"./InsightsCardStack-CpJLeS5a-UDtClLEP.js";import{a as pr}from"./AccountsPromoCardStack-dFdTEnhq-CZKMHk5U.js";import{c as N}from"./SummaryCard-CTVwtanJ-CianRnEj.js";import{t as ur,o as wr}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{x as iA}from"./NavigationArrow-B38APViS-BsBZ4H4_.js";import{k as XA}from"./NavigationDots-BeVhadXT-CV_pkfV2.js";import xr from"./CompanyPassportCard-D9MV32Z4-DRyajerq.js";import{C as fr}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import kr from"./InformationCardStack-BOnXC_3i-DdV720rh.js";import{p as Oe}from"./chartTypes-CvYNhWx5-OTU-mvA5.js";import{h as Dr}from"./toCOABalancesWithID-Bffx9VR7-DAFbSyCZ.js";import{V as yr}from"./toChartData-BGk1OWTR-D_M9aUPQ.js";import{r as jr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js";import{N as vr,J as br}from"./PromoBaseCards-C41gmAao-BjkCmCkU.js";import Rr from"./ConfettiBurst-edV2fAAY-F1yC_yIb.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Sr=C(G)`
1
+ import{Y as YA,l as uA,j as e,E as kt,H as Dt,I as yt,o as r,L as jt,N as mA,O as Mt,P as _A,Q as vt,S as bt,U as Rt,V as St,W as Lt,X as Ft,Z as J,B as l,e as q,_ as H,$ as f,a0 as U,a1 as Y,q as R,a as Jt,a2 as je,a3 as Pt,F as Ut,a4 as Ot,C as K,a5 as T,a6 as G,k as X,a7 as Me,a8 as S,a9 as F,aa as KA,u as AA,ab as Ht,ac as GA,ad as Tt,g as k,ae as Yt,af as Kt,w as P,ag as bA,r as NA,s as zA,ah as ve,ai as be,aj as Re,ak as WA,J as Gt,y as Nt,al as zt,am as Se,an as Wt,ao as qt,ap as RA,aq as Xt,ar as Vt,as as Zt,at as $t,au as _t,av as Ar,aw as er,ax as tr,m as Le,v as rr,ay as or,az as gr,aA as Fe,aB as Je,n as ar,aC as Cr,f as ir,aD as Pe}from"./index-DIh8Zr8t.js";import{b as a,n as C,f as D,k as L,j as pA}from"./vendor-rkTZJa59.js";import{j as nr}from"./DashboardSidebarBackgroundAnimation-DwjZa9es-QdH6U1eL.js";import{L as Er,k as Br}from"./ArAgingChart-CUaYV40r-jOfuIy_A.js";import{E as sr,T as qA,I as Ue}from"./ReloadCard-PlwzuU5x-Cjgf9pT_.js";import{L as Qr,O as wA,c as eA}from"./TopExCard-CtdmvFZO-BZhaXXXe.js";import{H as Ir,Y as dr,P as lr,G as cr,N as hr}from"./RevenueChart-DcmdF3_p-krx9UW8E.js";import mr from"./InsightsCardStack-CiwHc2IJ-Cnkau5Ue.js";import{a as pr}from"./AccountsPromoCardStack-Dk3ZVanG-Dm2uyvqy.js";import{c as N}from"./SummaryCard-pyXMhrq3-CbgSatl0.js";import{t as ur,o as wr}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{x as iA}from"./NavigationArrow-nncSGFTK-Bbp-nQcC.js";import{k as XA}from"./NavigationDots-2l4DJyet-Cj8JLkJu.js";import xr from"./CompanyPassportCard-BetMObXy-DpYq364M.js";import{C as fr}from"./gift-box-Cmt9OgIZ-BqWjP_Ex.js";import kr from"./InformationCardStack-DDYokaYB-CswoRqZg.js";import{p as Oe}from"./chartTypes-D62DZasc-Cg_rpQL9.js";import{h as Dr}from"./toCOABalancesWithID-DCjmMFnE-Dpv6R9pI.js";import{V as yr}from"./toChartData-tGsV_9D9-DDec79o5.js";import{r as jr,i as Mr}from"./graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js";import{N as vr,J as br}from"./PromoBaseCards-CC4THVdC-6kRLHFkY.js";import Rr from"./ConfettiBurst-BHOL5tI9-DwpmJ28Z.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Sr=C(G)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,Ae=C.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as B,u as q,B as _,Y as Oe,l as D,j as s,aX as Qe,m as Ke,N as Je,aZ as Xe,o as d,C as L,O as X,a_ as et,a$ as tt,w as ae,q as C,aj as st,a8 as ot,b0 as at,a3 as Be,K as Pe,g as T,r as Ne,a7 as nt,ap as it,n as rt,b1 as ct,b2 as lt,b3 as dt,b4 as ie,b5 as pt,aD as ut,k as gt,b6 as mt}from"./index-CLgXcFOQ.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-rkTZJa59.js";import{m as U,l as oe}from"./analyticsHelper-CCPSiVgE-BvF4dCEw.js";import{c as ht,h as ft}from"./ReportTableViewSelector-KNeiMS0F-ClvzQTty.js";import{B as bt}from"./InsightsSection-CZh1SnGj-c0KP9Cfn.js";import{N as _e,k as xt,q as _t,H as te,G as ue}from"./detailCommon-Jibz39eB-DIPuAks3.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-DzDV07A2-Cyi9DXoa.js";import{C as yt}from"./NoDataChart-BdJ9cIfU-h1pEqH_y.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-Duk_cxL3-DDiYjPFH.js";import{y as Ie}from"./TimeframeSwitcher-D2M4wsdx-C9qdvcjh.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-C8l4zS8O-B2sGnOg4.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-pOkMQUF0-dCXvrLxK.js";import{d as Pt}from"./NoDataTable-D5sl7D5L-DQi02bBy.js";import{d as me,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CT7PwiPQ-DJUxQoJo.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-ZdrDWAuW-DytUr9A8.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./NavigationDots-BeVhadXT-CV_pkfV2.js";import"./chartTypes-CvYNhWx5-OTU-mvA5.js";import"./toCOABalancesWithID-Bffx9VR7-DAFbSyCZ.js";import"./toChartData-BGk1OWTR-D_M9aUPQ.js";import"./AccountRow-vJ-Fr8DF-dx8T6Fsd.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
1
+ import{e as B,u as q,B as _,Y as Oe,l as D,j as s,aX as Qe,m as Ke,N as Je,aZ as Xe,o as d,C as L,O as X,a_ as et,a$ as tt,w as ae,q as C,aj as st,a8 as ot,b0 as at,a3 as Be,K as Pe,g as T,r as Ne,a7 as nt,ap as it,n as rt,b1 as ct,b2 as lt,b3 as dt,b4 as ie,b5 as pt,aD as ut,k as gt,b6 as mt}from"./index-DIh8Zr8t.js";import{b as y,f as ee,n as u,k as Le}from"./vendor-rkTZJa59.js";import{m as U,l as oe}from"./analyticsHelper-BrNbUtQZ-BSs3vRdj.js";import{c as ht,h as ft}from"./ReportTableViewSelector-CWL2S1We-DbUXuzEd.js";import{B as bt}from"./InsightsSection-BVuiIwCl-BRBuC4Eu.js";import{N as _e,k as xt,q as _t,H as te,G as ue}from"./detailCommon-1Zms5FpC-CjmB02t2.js";import{N as wt,G as St,H as we,Y as Se,P as ye}from"./RevenueChart-DcmdF3_p-krx9UW8E.js";import{C as yt}from"./NoDataChart-BfK5ibkE-Dl5Q_ks_.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-B3et4KjB-UcPLvuaH.js";import{y as Ie}from"./TimeframeSwitcher-CR9lNmBv-CMg3OFl2.js";import{R as $t,W as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-DeVXK9Wh-CgCz-Q7-.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-Cr5GnzzL-CsWQb2p6.js";import{d as Pt}from"./NoDataTable-D-wXCbuN-q98oT9c8.js";import{d as me,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DlhIK5YN-CEQNqemG.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-CmCO5BRd-C7twjlOe.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./NavigationDots-2l4DJyet-Cj8JLkJu.js";import"./chartTypes-D62DZasc-Cg_rpQL9.js";import"./toCOABalancesWithID-DCjmMFnE-Dpv6R9pI.js";import"./toChartData-tGsV_9D9-DDec79o5.js";import"./AccountRow-Bod2_1QW-D-hGmpHq.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const Nt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Lt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{ac as h,j as a,ak as m,o as p}from"./index-CLgXcFOQ.js";import{b as s,u,n as x}from"./vendor-rkTZJa59.js";const y=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const o=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=h(l),[n,d]=s.useState(null);i!=null&&n==null&&!r&&d(i);const c=e&&o.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:c,newYearAnimationEnabled:t,children:a.jsx(m,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
1
+ import{ac as h,j as a,ak as m,o as p}from"./index-DIh8Zr8t.js";import{b as s,u,n as x}from"./vendor-rkTZJa59.js";const y=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const o=u(),l=t?"DashboardNewYearShow":"DashboardChristmasSnow",[i,r]=h(l),[n,d]=s.useState(null);i!=null&&n==null&&!r&&d(i);const c=e&&o.mode==="light"?.7:.2;return(e||t)&&n!=null?a.jsx(b,{contextWiseOpacity:c,newYearAnimationEnabled:t,children:a.jsx(m,{style:{width:"inherit",height:"inherit",display:"block"},animationData:n,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),b=x.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a0 as $,g$ as u,e as y,j as l,o as i,s as d,k as c}from"./index-CLgXcFOQ.js";import{n as t}from"./vendor-rkTZJa59.js";import{g as k}from"./BoxItem-CRLLf8CY-Bcvs4I-j.js";import{o as v}from"./commonDimensions-DS-Ok384-eoq34XUo.js";function F({data:e,boxType:w}){const{counterParty:n,typeName:r,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=n.length>0?n:m,a=$("0,0.00",x),s=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(B,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(D,{windowSize:o,children:[l.jsx(C,{children:f}),s!=null?l.jsxs(E,{windowSize:o,children:[l.jsx(R,{windowSize:o}),l.jsx(P,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[r!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:r})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{a0 as $,g$ as u,e as y,j as l,o as i,s as d,k as c}from"./index-DIh8Zr8t.js";import{n as t}from"./vendor-rkTZJa59.js";import{g as k}from"./BoxItem-DIbpeSiB-B47dtyeF.js";import{o as v}from"./commonDimensions-DsEmTJ8o-DqHucb_9.js";function F({data:e,boxType:w}){const{counterParty:n,typeName:r,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=n.length>0?n:m,a=$("0,0.00",x),s=u(g),o=y(),h=l.jsxs(N,{children:[l.jsx(B,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(D,{windowSize:o,children:[l.jsx(C,{children:f}),s!=null?l.jsxs(E,{windowSize:o,children:[l.jsx(R,{windowSize:o}),l.jsx(P,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[r!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:r})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{u as S,e as z,h5 as C,j as e,aX as D,B as Y,aj as B,o as r,g,b_ as F,l as L,C as R,w as A,s as I,q as b,de as T,df as E,d9 as N,dg as P}from"./index-CLgXcFOQ.js";import{b as f,n as a}from"./vendor-rkTZJa59.js";import{$ as V}from"./BoxItem-CRLLf8CY-Bcvs4I-j.js";import{o as q}from"./commonDimensions-DS-Ok384-eoq34XUo.js";import{H}from"./DepositAccTransactionItem-7udg3PVs-bCUHbq1V.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const n=Y.getLocalizedStrings(),K={listItemMargin:new R(b[3],b[8])};function O(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:P(o,h=>h.transactionDate,"desc")}))}const X=C(O),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=X(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*q.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(Z,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:V(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(_,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(G,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
1
+ import{u as S,e as z,h5 as C,j as e,aX as D,B as Y,aj as B,o as r,g,b_ as F,l as L,C as R,w as A,s as I,q as b,de as T,df as E,d9 as N,dg as P}from"./index-DIh8Zr8t.js";import{b as f,n as a}from"./vendor-rkTZJa59.js";import{$ as V}from"./BoxItem-DIbpeSiB-B47dtyeF.js";import{o as q}from"./commonDimensions-DsEmTJ8o-DqHucb_9.js";import{H}from"./DepositAccTransactionItem-IAn1U4kN-CjpoAiVy.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const n=Y.getLocalizedStrings(),K={listItemMargin:new R(b[3],b[8])};function O(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:P(o,h=>h.transactionDate,"desc")}))}const X=C(O),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=X(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*q.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(Z,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:V(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(_,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(G,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
2
  margin: ${t=>`${r.sp0} ${K.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,_=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as U,a as V,B as $,ca as H,O as G,l as B,j as n,bV as X,bX as Y,bY as _,F as J,a4 as K,C as u,eU as Q,o as Z,ao as ee,q as a}from"./index-CLgXcFOQ.js";import{b as N,n as h}from"./vendor-rkTZJa59.js";import{e as ne}from"./BankAccountSection-Bn88ZQyY-B_aLXesc.js";import{M as te}from"./MagicLinkTitleSection-DquEXuD8-Cbg6TSCG.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CqP30qlx-ClabeBrc.js";import{T as ie}from"./MailingDetailsSection-CH-8q7WQ-DSEpjbnF.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},j="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:z,onSaveHandler:P,onWireDetailsUpdated:R,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[W,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,F=$.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;R(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Q.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),S=!G(y!=null?B.getFormattedAddress(y):y,r!=null?B.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(X,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Y,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:z??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:T(j),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:T(j),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:F.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
1
+ import{e as U,a as V,B as $,ca as H,O as G,l as B,j as n,bV as X,bX as Y,bY as _,F as J,a4 as K,C as u,eU as Q,o as Z,ao as ee,q as a}from"./index-DIh8Zr8t.js";import{b as N,n as h}from"./vendor-rkTZJa59.js";import{e as ne}from"./BankAccountSection-C-eMzyJG-CFsMOYmA.js";import{M as te}from"./MagicLinkTitleSection-CiKK8TTZ-nbr3M-Lg.js";import{W as ae,A as oe}from"./BankAccountWarningSection-wjgkG3br-GmGPfYq_.js";import{T as ie}from"./MailingDetailsSection-DZAuNq1S-BtPc-rx6.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},j="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",T=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:z,onSaveHandler:P,onWireDetailsUpdated:R,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[W,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,F=$.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;R(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&Q.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&H(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&P("wire")}),S=!G(y!=null?B.getFormattedAddress(y):y,r!=null?B.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[W===!0?n.jsx(X,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Y,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:z??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:T(j),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(K,{formId:T(j),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:F.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{j as t,by as Xe,o as a,e as le,bz as et,n as Re,l as d,g as de,C as H,a3 as tt,B as Y,bA as rt,bg as ze,q as z,ao as Be,s as T,bn as we,v as Z,k as ce,K as ee,u as Ne,bB as at,bC as me,bD as pe,m as Ee,bE as Qe,p as fe,bF as q,be as ot,ap as st,bG as it,bH as nt,b6 as lt,bo as dt,r as ct,bI as mt,bu as pt,b2 as ft}from"./index-CLgXcFOQ.js";import{b as u,n,k as Ve,f as he}from"./vendor-rkTZJa59.js";import{m as ht}from"./analyticsHelper-CCPSiVgE-BvF4dCEw.js";import{c as ut,h as bt}from"./ReportTableViewSelector-KNeiMS0F-ClvzQTty.js";import{t as gt}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./CollapsableReportTable-C8l4zS8O-B2sGnOg4.js";import"./AccountRow-vJ-Fr8DF-dx8T6Fsd.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function X(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return X(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,bz as Xe,o as a,e as le,bA as et,n as Re,l as d,g as de,C as H,a3 as tt,B as Y,bB as rt,bg as ze,q as z,ao as Be,s as T,bn as we,v as Z,k as ce,K as ee,u as Ne,bp as at,bC as me,bD as pe,m as Ee,bE as Qe,p as fe,bF as q,be as ot,ap as st,bG as it,bH as nt,b6 as lt,bo as dt,r as ct,bI as mt,bv as pt,b2 as ft}from"./index-DIh8Zr8t.js";import{b as u,n,k as Ve,f as he}from"./vendor-rkTZJa59.js";import{m as ht}from"./analyticsHelper-BrNbUtQZ-BSs3vRdj.js";import{c as ut,h as bt}from"./ReportTableViewSelector-CWL2S1We-DbUXuzEd.js";import{t as gt}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./CollapsableReportTable-DeVXK9Wh-CgCz-Q7-.js";import"./AccountRow-Bod2_1QW-D-hGmpHq.js";const xt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function X(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return X(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),P={pdf:12,excel:100,csv:100},N=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
2
2
  padding: ${a.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{e as a,j as i,bB as y,o,B as h,C as s,bx as P,J as c,y as x,a3 as b,q as t,a0 as L,j9 as k,ja as C,jb as R}from"./index-CLgXcFOQ.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},g=h.getLocalizedStrings().rewardsPage.drawerPage,B=({rewardsPlan:e})=>{const r=[D(),M(),_({rewardsPlan:e})],d=a();return i.jsx(H,{children:r.map((f,j)=>i.jsxs(E,{children:[i.jsx(J,{children:f}),j<r.length-1?i.jsx(I,{windowSize:d}):null]},`step_${j}`))})},D=()=>{const e=a(),r=g.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(W,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},M=()=>{const e=a(),r=g.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=({rewardsPlan:e})=>{const r=a(),d=g.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(A,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
1
+ import{e as a,j as i,bp as y,o,B as h,C as s,by as P,J as c,y as g,a3 as b,q as t,a0 as L,j9 as k,ja as C,jb as R}from"./index-DIh8Zr8t.js";import{n}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[B(),M(),_({rewardsPlan:e})],d=a();return i.jsx(H,{children:r.map((f,j)=>i.jsxs(E,{children:[i.jsx(J,{children:f}),j<r.length-1?i.jsx(I,{windowSize:d}):null]},`step_${j}`))})},B=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(W,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},M=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(A,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${o.sp2};
4
4
  box-shadow: ${e=>`${o.sp0} 1px 2px ${o.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -36,10 +36,10 @@ import{e as a,j as i,bB as y,o,B as h,C as s,bx as P,J as c,y as x,a3 as b,q as
36
36
  justify-content: center;
37
37
  align-items: center;
38
38
  margin-right: ${o.sp2};
39
- `,S=n(x)`
39
+ `,S=n(g)`
40
40
  color: ${e=>e.theme.colors.primary};
41
41
  ${e=>`${v.title.style(e.windowSize)}`};
42
- `,u=n(x)`
42
+ `,u=n(g)`
43
43
  color: ${e=>e.theme.colors.hero};
44
44
  ${e=>`${v.content.style(e.windowSize)}`};
45
45
  `,E=n.div`
@@ -60,7 +60,7 @@ import{e as a,j as i,bB as y,o,B as h,C as s,bx as P,J as c,y as x,a3 as b,q as
60
60
  z-index: -1;
61
61
  `,J=n.div`
62
62
  padding-bottom: ${o.sp4};
63
- `,{common:{navBar:{back:X}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},q={title:new c("standardRegular","largeRegular")},{referAndEarn:V}=h.getLocalizedStrings().rewardsPage;function se({rewardsPlan:e,onDismissClick:r}){const d=a();return i.jsxs(F,{windowSize:d,children:[i.jsx(Q,{windowSize:d,children:i.jsxs(G,{windowSize:d,children:[d==="small"&&i.jsx(U,{children:i.jsx(y,{enterDelay:600,title:X,placement:"bottom",style:{padding:`${o.sp1} ${o.sp2}`},children:i.jsx(Y,{onClick:r})})}),i.jsx(K,{windowSize:d,children:V}),d!=="small"&&i.jsx(T,{onClick:r})]})}),i.jsx(O,{windowSize:d,children:i.jsx(B,{rewardsPlan:e})})]})}const F=n.div`
63
+ `,{common:{navBar:{back:X}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},q={title:new c("standardRegular","largeRegular")},{referAndEarn:V}=h.getLocalizedStrings().rewardsPage;function se({rewardsPlan:e,onDismissClick:r}){const d=a();return i.jsxs(F,{windowSize:d,children:[i.jsx(Q,{windowSize:d,children:i.jsxs(G,{windowSize:d,children:[d==="small"&&i.jsx(U,{children:i.jsx(y,{enterDelay:600,title:X,placement:"bottom",style:{padding:`${o.sp1} ${o.sp2}`},children:i.jsx(Y,{onClick:r})})}),i.jsx(K,{windowSize:d,children:V}),d!=="small"&&i.jsx(T,{onClick:r})]})}),i.jsx(O,{windowSize:d,children:i.jsx(D,{rewardsPlan:e})})]})}const F=n.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  background-color: ${e=>e.theme.colors.grey4};
@@ -74,7 +74,7 @@ import{e as a,j as i,bB as y,o,B as h,C as s,bx as P,J as c,y as x,a3 as b,q as
74
74
  justify-content: space-between;
75
75
  height: 100%;
76
76
  width: ${e=>e.windowSize==="small"?"100%":"76%"};
77
- `,K=n(x)`
77
+ `,K=n(g)`
78
78
  color: ${e=>e.theme.colors.primary};
79
79
  width: 96%;
80
80
  text-align: center;