@zeniai/web-cockpit-ui 1.15.34-dev → 1.15.35-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 (283) hide show
  1. package/dist/assets/{ACHDetailsPage-DSufuSEI-BugcK5ko.js → ACHDetailsPage-CdyuCPU8-0VceC4Oh.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Df0tJkyd-C5l4T96t.js → AIPerformancePage-GW2UlhRu-Bfc988ot.js} +1 -1
  3. package/dist/assets/AccountInfoPage-BQksD-qN-CQrQ5LJ4.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-C7Xs6ju3-CvFu_KWB.js → AccountInfoPageContent-Dn6yodzf-C1aQIT5z.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js → AccountLockedInfoModal-7MLTBsWb-kQqWsBqk.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BvnBJmol-BxGJXQpl.js → AccountReconDetailsDrawerPage-CUvBGVmt-CY2NmAYD.js} +1 -1
  7. package/dist/assets/{AccountRow-DtE1mQFq-sRlcgWT1.js → AccountRow-t-WESYF_-BZd9LxDz.js} +14 -14
  8. package/dist/assets/{AccountsPromoCardStack-D14FDzTY-CAlFlxNB.js → AccountsPromoCardStack-C0Ht_d_M-1zanAeyR.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-C9_gjvsQ-xMzrtCOD.js → AddAddressForCardDrawer-CpDfjROc-B4piq4St.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B_7pqvLH-CAYlL9WC.js → AddToWalletPage-CPYp6JZP-Cgen85QG.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CRFlM3H1-DhYuRisV.js → AgingReportsPage-BRChA3Xv-BV6vq-Aj.js} +3 -3
  12. package/dist/assets/{AllUserItems-LlhM8bBU-N-OwUUn2.js → AllUserItems-CUlWgl79-RT_0EGEc.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CTxNOPhD-DrGk4MjA.js → ApAgingDetailPage-D7u_ghQp-CmtSt3LQ.js} +6 -6
  14. package/dist/assets/{AppBasePage-DRQ76rXe-BbmVnMJF.js → AppBasePage-bvoaHTtg-Bi873Eqq.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CIXhnJBJ-DkcT-gQA.js → AppDrawerContent-DYDi-djG-Cr9HlceI.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DYrcZm5--Di4DgXFx.js → ApprovalRulesSettingsPage-CGO_GK8B-C3p-mE2c.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BwEspm7G-DNjHaENA.js → ArAgingChart-DBuqIeaR-C9LO_snS.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-Dy9woFr0-Dwalts78.js → ArAgingDetailPage-ALGyVMJV-BsdNBEqd.js} +4 -4
  19. package/dist/assets/{AttachmentView-CF6Tiq1u-ScD4RZ91.js → AttachmentView-BIeDapyc-BG8BqDh9.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DyPS4RZK-Bc2VKdEG.js → BankAccountSection-BQKaKFnm-DHGgFmbL.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js → BankAccountWarningSection-DeUkht1G--scnEmUk.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-h7ZnZhy5-EKV1mb1Z.js → BankConnectionsSettingsPage-qldLiM1M-CPdyIAUt.js} +1 -1
  23. package/dist/assets/{BillDetailPage-KSkeLjtu-DDizjGfx.js → BillDetailPage-BPqPHZcD-BcX87XdC.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-C3VQacD2-ndVmYW9Y.js → BillPayApprovalRuleDetailPage-FW3E7XSE-Bj7z3Fiz.js} +5 -5
  25. package/dist/assets/{BillPayApprovalRulesPage-DMmnARE3-BHk6XaxH.js → BillPayApprovalRulesPage-BGotlrLK-C4wvOhcK.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CZ34fQRr-h45OCD6V.js → BillPayPromoPage-DvoccD5_-9WUX2zRh.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-DF-cMiJC-Ccb6fwyP.js → BillPaySetUpPage-DhjIDy8h-D7gIdBq_.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DNmOo0mj-BgBv8nRa.js → BillingSettingsPage-CmO4DZ-a-TmRopedQ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CM1RYrRS-7XSi35in.js → BillsBulkReviewDrawerPage-4vzF3bG9-C3VxBwnG.js} +1 -1
  30. package/dist/assets/{BoxItem-Dy41mKN9-CZiGGLPk.js → BoxItem-B6i9yx2h-8tTsCvCc.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BSL5f5yW-Ccd_M7Ux.js → BusinessVerificationPage-DuEh8MkZ-CPUH1p9f.js} +1 -1
  32. package/dist/assets/{CardNumberSubText--wffxyL2-Dzc9wag1.js → CardNumberSubText-BEVRq2PI-CBvs6qd9.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BuywSIvA-Dj0FTjqV.js → CashbackDetailPage--SHtNWGE-D0op8BJu.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-Fx1upN8E-BfETR_eB.js → ChargeCardDetailPage-EFRUpv7y-BxiQ-wFB.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CkqWU4gN-CkHuHVFN.js → ChargeCardListPage-CFB5EHCZ-DwRWhMet.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-lwxY_gLZ-DZ2VoxeT.js → ChargeCardListTable-DM_h-dzr-CxMVtKFB.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CvTW120H-ByJ1xGtA.js → ChargeCardPaymentHistoryPage-CPZj9te2-acCaXNd-.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-BWwBfycu-CAS6um23.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-D_LWSQOa-BwUtTkP2.js → ChargeCardSetupPage-Epn4xe2x-CkUn76sD.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-B7qX0zl3-C66Fu0LS.js → ChargeCardStatementsPage-Bu7OdYhw-oLOXCaTu.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-oWf5X7rL-5KpdpyEY.js → CheckDepositDrawerPage-DQnqizMV-eQHX-470.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Cfh-EfEQ-CKv-H0OC.js → CollapsableReportTable-CSVzLWq_-CmmDaO6f.js} +271 -271
  43. package/dist/assets/{CompanyOfficerDetailsSection-CFg0p5uA-CJ156x7J.js → CompanyOfficerDetailsSection-Pwtunf36-D6txAI6l.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-C5j_KoZL-CPJCD4ZW.js → CompanyPassportCard-DfPPft95-Clb_fVZP.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-DtEQ7a68-BZL6spEi.js → CompanyPassportPage-aNL_m3a2-r2mVOoQ8.js} +1 -1
  46. package/dist/assets/{CompleteProfile-DLNtc5N7-B7HW7ybq.js → CompleteProfile-DmeE0Xjt-BcBZ6wma.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-B4gz9uC9-BhJEyb5s.js → ConfettiBurst-s04ELXDS-BW01uxDM.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-C3jCz_Fx.js → ConstrainedInnerElement-BeIpAPjB-CaoYd0_P.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Bd61yH0G-DpW83MJ2.js → CreateOrEditVendorPage-D3oCIz1P-DTzyUV9b.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-NtnEWUdG-DLELauiu.js → CreditCardPaymentDrawerPage-DPXaPj4B-1z2GwFLS.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CaQgbP8P-Cqqb_KBc.js → CurrencySelectField-CtKQBmBI-q57973By.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-BnBFEWaX-Dn3wQumA.js → CustomerOnboardingActivationPage-DCQvUK8d-CVTcQu6u.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BvOTc4ng.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Deaz4PM6-BDZvJWDz.js → CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BsJw-Ope.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-C8cmsaOC-BJyq1bJL.js → CustomerOnboardingNoStepsPage-DQcf1Pyg-DdjDIchQ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CSSgj26J-N4cabpr0.js → CustomerOnboardingPage-CLNt38t0-D5-M1y80.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DU7qzP1f-2w9ZQcUU.js → CustomerOnboardingProductSuitePage-SyWJAHJ5-DCcbBC8z.js} +1 -1
  58. package/dist/assets/{Dashboard-DPXzM2TM-6t8lQHvd.js → Dashboard-DW6P3oLC-D1tHml1O.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CWgH0Bn9-BvMXyb8g.js → DashboardReportPage-Cp04-QUV-B7AXOtvv.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DL2Awq0k-CURcbn_K.js → DashboardSidebarBackgroundAnimation-CKoyjUHm-DewB5pFB.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js → DepositAccTransactionItem-kZL4La9A-C6fVz6NV.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-BHs8-LpV-C7V5-8Rf.js → DepositAccTransactionListPage-C_GPoFDS-Bnscj1hg.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-CRfm0oqJ-C4r-lW_y.js → DomesticWireDetailsPage-CL-gGug5-Dmorx9NL.js} +1 -1
  64. package/dist/assets/{DownloadOverlay--ICWviQz-Q6tZiS37.js → DownloadOverlay-JdIA_Qvk-wAu7AAW1.js} +1 -1
  65. package/dist/assets/{DrawerPage-DoJkjp69-BGpDDN7R.js → DrawerPage-_F2zRGIo-CQDApgUJ.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-B-zEdQqt-BrFyNgmY.js → EditPeoplePage-Cqd73zkA-moU29OZ-.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-BdfJj8-u-BwPuRwof.js → EditReimbursementDetailPage--T5T_fJG-CaXN1fuc.js} +1 -1
  68. package/dist/assets/EntityDetailPage-CAu9l8_o-DQd9jfhM.js +18 -0
  69. package/dist/assets/{EntitySummarySection-BYP9LNlh-CHZV8J2r.js → EntitySummarySection-D1QM7cY6-BWMV3RUk.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-UKPGezFZ-ynbYpvOr.js → ExpenseAutomationOverviewPage-pciCiajG-DOlwLojR.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-5qqhqwjY-BNjM9KYY.js → ExpenseAutomationPage-CYKu1ufk-BgHRQ_o6.js} +21 -21
  72. package/dist/assets/{ExpressPayPage-BaLCnmxC-DyZ_NbAE.js → ExpressPayPage-BCMf-60G-DgcplXv5.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-DJvcim4v-B-0y2hox.js → FeaturePreviewPage-Dj5OXPVN-2xodjQZz.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-DiAM2oU9-DVhX1hhq.js → FollowStepsSection-ZwhfJWnC-WC244m2S.js} +1 -1
  75. package/dist/assets/GlobalReviewListPage-AZtnVYVQ-HrXervPX.js +291 -0
  76. package/dist/assets/{InformationCardStack-bDJV8MEl-DKR8Zvn9.js → InformationCardStack-D8cmcS4k-ucNvTFnG.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-Ba7C5_Ql-1E6nbw33.js → InsightsCardStack-CRbYGyti-BG-J4zTW.js} +2 -2
  78. package/dist/assets/{InsightsSection-BFviX80K-CRFJKeH_.js → InsightsSection-B7cEUOjq-CHOA81kF.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage--kXCS3f1-HcQyCW82.js → IntegrationsSettingsPage-Cu70a3gO-qesbn3EL.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js → InternationalWireSwiftDetailsPage-D_RuMP2E-CqXJrwow.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-DU6447M_-YLqWsFbY.js → InternationalWireVerificationPage-CqpE7nR5-BRwgb-BA.js} +1 -1
  82. package/dist/assets/{InviteFormPage-D3FNgm9B-BwvxtcvY.js → InviteFormPage-BU3bkjN3-DJZLZema.js} +1 -1
  83. package/dist/assets/{InvitePageListView-D4wRSwJW-DPbFsvfR.js → InvitePageListView-BfRPKPse-BUIcdEL2.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-DSFk8lEF-DpuHc0lh.js → InvitePeoplePage-DFfZPbsO-DIubZIn-.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DaS4D1em-CK_Ayuq4.js → InvoiceUploadSection-BwqSfbYC-EOja7gNg.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CrbIqdSx-Bp9X1BXe.js → IssueChargeCardPage-BB83Aeyd-D9TAck5s.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CUr2BnHq-DfiyDPyB.js → LabeledAddressValue-CK-YJ1cO-BIV6IRFP.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DL3wJoZC-CMggf1RU.js → LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-DQUXZSFS-CPn0l33X.js → LabeledControlledCheckBoxField-zpbzob1x-DTorn_1A.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-C6IWrKo4-CcQcxFW7.js → LabeledCountryMultiSelectField-DrZ69tWB--r4Tq0BJ.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-m_D3aJpG-DPOvsRA4.js → LabeledCreatableSingleSelectField-D-rSPg1Y-ak5nvuiq.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-B19zNNVZ-Du4OcR6Y.js → LabeledDocumentField-CBQeAeRc-D56y9oeO.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-D4cHrsba-DGjSp6HD.js → LabeledDropDownFormattedTextField-5t5k_pgq-CfuE84-6.js} +1 -1
  94. package/dist/assets/{LabeledText-H1pSTEtd-BHLnDTFr.js → LabeledText-tLPpd4Wp-Cw2ZTitB.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C0bJoy6U-CBE1zspu.js → LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-DVMrLokL.js} +3 -3
  96. package/dist/assets/{LabeledZeniRolesDropDownField-D0KIAWFW-CQ1uXRKO.js → LabeledZeniRolesDropDownField-DZ9boJMt-KCvascmZ.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-LfkM9DYO-CSpsV_Z3.js → LinkJETransactionPage-C99UMrwp-9iiMpHD1.js} +1 -1
  98. package/dist/assets/{LockCardPage-lTzQY_pw-BYsKWV6j.js → LockCardPage-DE5Zw1p--CmfozmOj.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-DXPPHYS1-CB0hADnS.js → LowBalancePopup-BD9saCcf-C9aiJowo.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-CbyceRk3.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-DAkBv8v1.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-pCJgKy6F.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BrQk5kYZ-Dws1_rIA.js → MagicLinkSuccessPage-BxXyF-Sp-BUdh8eIy.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js → MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-vydT4UOr-DSxQiRSi.js → MailingDetailsSection-F1i0rBkv-CZo5kIPL.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BtT9OQ_b-D1PjSf7q.js → MyBankConnectionsSettingsPage-BE1pUnaR-BPnyB1YE.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-5E28yAfQ-DZoHwB3h.js → MyPendingActivationChargeCardListPage-CviCM09N-BNRf9wnQ.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DQBSh-S5-C_KLZ_rh.js → MyProfileSettingsPage-iREvm7LK-BHFViMqO.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-1UPJ_fiE-iY8P9Wot.js → NavBarWithPicker-r-K_Pjsb-CmAh3bpT.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CeYvXgly-CXWFEDMQ.js → NavigationArrow-CKhWji3v-aZKiVTlV.js} +1 -1
  111. package/dist/assets/{NavigationDots-CXAszOHQ-HtQg6iz5.js → NavigationDots-OShASt5i-Bc5YcJG5.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-DXSlGPbc-DidlOClT.js → NewGlobalMerchantPage-2-kYqTDF-CV5JZ9Yl.js} +1 -1
  113. package/dist/assets/{NoDataChart-BQdJyfHh-BLmune73.js → NoDataChart-BN3zyJkX-DustlDSJ.js} +1 -1
  114. package/dist/assets/{NoDataTable-B__TVPte-CetA5lza.js → NoDataTable-D0cyK_1j-BWgbh49q.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Cs25xsWz-DnZv-DIM.js → NotFoundPage-yrt6kuPH-CdqbIt8C.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-Dm3zOscr-DKDyywX2.js → NotificationSettingsPage-CX3Hkg6o-D8A68okq.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-D0knaijJ-NyDzwfbC.js → NotificationsListConfig-Cyzhla-8-CBrC2O9h.js} +1 -1
  118. package/dist/assets/{NotificationsPage-czQmfW2r-DksNFGUv.js → NotificationsPage-O7M0pMnc-Bp7VY2al.js} +1 -1
  119. package/dist/assets/OpExByVendorPage-DpMGBmkQ-DaQIIDYq.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-li8hzYjf.js → OverlayContainerPage-D4QU0p4o-BcMNtftY.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-B7cwWwMK-BW6yjf-v.js → PandLWithForecastPage-Cbt0YlVL-B7KI2QNo.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CkYtTRY5-DMMQt9qf.js → PaymentAccountSetupBillingAddressSection-B2xEqKKc-DTCpk1kt.js} +1 -1
  123. package/dist/assets/{PeoplePage-DNTbzljs-Bfp0W5JF.js → PeoplePage-CUr5cz1w-B26v5CzR.js} +1 -1
  124. package/dist/assets/{Preview-BsIYoVSv.js → Preview-CEK51ZCO.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-CTiD9zA7-D7cEl2bl.js → ProductsCarousel-t8HIs4J6-6BwcwXGL.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BmtlcPBm-DdDmICph.js → PromoBaseCards-6Uh8eokP-Cj1KOyAw.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-B1y3hDGT-B8UGOz7A.js → QBOConnectionDialog-BbmqcpYW-rlXtEwUQ.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-DevcmmCv-C2NxYIUb.js → QBOSetupSection-u5dKqaH8-Cw9rFHWf.js} +1 -1
  129. package/dist/assets/ReimbursementApprovalRuleDetailPage-DxSrYBkv-sfO_zxiL.js +32 -0
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CvFHaDmE-Bk4uKO7k.js → ReimbursementApprovalRulesPage-BL2GpJIG-ByiCWQ8P.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-CMplGhml--7oTvGch.js → ReimbursementDetailPage-D3qTbpPg-6N8BmeyZ.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-0d-lo-ve-BFl3c8SE.js → ReimbursementPromoPage-DuwxKGGm-DVNFf58G.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-T3ErpIj4-BkNsUy2n.js → ReimbursementSetUpPage-Du4kRXbO-IZ-1Hd0h.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CnyiYR81-D8NoJfkg.js → ReimbursementsBulkReviewDrawerPage-BmlYoVy4-BYNrk6QR.js} +1 -1
  135. package/dist/assets/{ReloadCard-CI-iJa1w-CU7osnQb.js → ReloadCard-BSiXuJWg-S2NiaAjj.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-CM11mXKF-DKJl505X.js → ReportTableViewSelector-KgvX6wt6-CFIrG4n5.js} +1 -1
  137. package/dist/assets/{ReportsPage-DzuQNoMA-ORn4o7l_.js → ReportsPage-Bt24BITW-DoLBuKPr.js} +5 -5
  138. package/dist/assets/{RevenueChart-iDdrXSzX-BD1q5u9E.js → RevenueChart-iH_Xl63n-Bobzdvk9.js} +14 -14
  139. package/dist/assets/{ReviewDetailsPage-DdS8Ssmq-CpId9CQp.js → ReviewDetailsPage-CwPsM3uL-DU9meW3Q.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-D39FMx3p-DPQk54i4.js → ReviewOverlay-DOqgOSnM-DIJSsTrl.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-BMEgXHWf-CYv1exk7.js → RoleWithToolTip-D6q4Wd6X-D2UbaxXJ.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-YdBRhUc0-1nXwHDMr.js → ScheduleDetailsFixedAssetsPage-_bJob_HD-ZRo-OTit.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-OCqSWMz4-Dg0s24kG.js → ScheduleDetailsPage-BDZm6We--BmYpydGa.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-OEJBqdqG-CB3cYmnz.js → ScheduleSequenceTable-DgG11IBi-DBLZmDeR.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-Bkl-MWfY.js → ScreenRoutes-kiA8eL9x.js} +2 -2
  146. package/dist/assets/{SetUpAccountSection-o86ErvD_-Celwp-jA.js → SetUpAccountSection-n5OCUAL3-B-YthnQt.js} +1 -1
  147. package/dist/assets/{SignIn-BEJNYyp4-O46sF-k3.js → SignIn-uBHaDram-Pp2K_nnI.js} +6 -6
  148. package/dist/assets/{SignInScreen-Dm8Ez_qK.js → SignInScreen-DkxtF7d-.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BTQU2jwO-CQyGDfX4.js → SpendManagementListViewPage-ErBiPjGh-DVBcFgz6.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-BtUS4aqA-vNlgv2e5.js → SpendManagementPerTabPage-BIxGrbmz-CpTcg38p.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-DiQ2QBwA-CGsThSZ0.js → SpendManagementSection-B01H6LCd-7KGohVSJ.js} +1 -1
  152. package/dist/assets/{StatementItem-DGRjrvUi-C8hx1_Sf.js → StatementItem-BJJHaw9s-DKXMQrB-.js} +5 -5
  153. package/dist/assets/{StatementsPage-QqtqM0qv-BBLWtN99.js → StatementsPage-rFpr0w_W-p2OTDAub.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-CfZOeqZf-Bq7fUYSl.js → StatusSwitcher-DnuyzbQo-uFTkU_Rq.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Be1lLunR-CsxeYIuC.js → SubTabSwitcher-Bk10VIFM-DuWTd5Gf.js} +1 -1
  156. package/dist/assets/{SummaryCard-DgBWIctW-CRmTCkt0.js → SummaryCard-CHqc9QHC-DLmlONgW.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-CpjN2Ver-BJrGG5WR.js → TaskManagementPage-Cr_KAM2z-B-N5lqS1.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-B7KdhPH9-Djft8PYe.js → TimeRangeSwitcher-DkNMcmBm-BHsVOUJA.js} +11 -11
  159. package/dist/assets/TimeframeSwitcher-CULpyCRj-DpaezwVo.js +31 -0
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DEjdiR9x-CpK-qiop.js → TimeframeSwitcherWithToggle-BSx_ynUp-DCoChT3Y.js} +9 -9
  161. package/dist/assets/{TopExCard-Do6O7snc-DLvwuAod.js → TopExCard-B29o-5e0-BWjMLd0Z.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-DFil6Qwx-BWbjM88A.js → TopExDetailPage-TVxgKbn8-Dea8Ndm8.js} +6 -6
  163. package/dist/assets/{TransactionActivityLogPage-C49lAwDF-BGLm3dPj.js → TransactionActivityLogPage-0wmqwFMQ-CtP3S4Ck.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-CyTyj91G-B7vb07HE.js → TransactionDetailPage-B9pzvWO8-DN9EJI4L.js} +1 -1
  165. package/dist/assets/{TransactionList-BFDau1I7-BXGXYBFK.js → TransactionList-dUcT29oF-CA_JHn5F.js} +1 -1
  166. package/dist/assets/{TransactionListBig-CVBiekZl-DrGGpH9X.js → TransactionListBig-DMnQfRkS-D1Tzrdsg.js} +1 -1
  167. package/dist/assets/{TransactionListPage-LGgMtr7O-CsGWQiN-.js → TransactionListPage-BB452Nj4-Be3PUtFs.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-3p4MoiV3-DA73bE6t.js → TransactionVendorDetailPage-BCkXd3P2-Dn9bmHZD.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BCr2Qlvp-BIuuD9Kn.js → TransferDrawerPage-6Rt1ZlJA-J8WRDfD_.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CEnHQlwT-Cp9jfBpw.js → TreasuryOverviewPage-CuSfgvcS-Cr1ZHZCL.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-oQKxGxSx-CJpdFyVJ.js → TreasuryPromoPage-DUi2uBW8-DFXwMQFM.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DKCFzvzb-D5fkSJdQ.js → TreasuryStatementsPage-DNhwcfdJ-DHWXKCq1.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-D3pc6Eyc-DWhE-bsu.js → TreasuryTaxLetterPage-BLIGs8oG-B-EAsmsV.js} +1 -1
  174. package/dist/assets/{TrendChart-JHlBVwXJ-p0u3PrEr.js → TrendChart-KoCvlYmC-ji_PFFB-.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Bh619hxZ-B7JEOzSv.js → TrendWithTransactions-Vqr8x7E_-Ch_SpSv4.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BuM9GG4e-DMx8_LFD.js → UncategorizedAccountsMappingPage-BKdvN3Lh-CF1FrkBZ.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-D4BoW10T-IfJ4B9AI.js → UnitIntegrationPage-CQ7270p--BJrqtQBc.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js → UploadAdditionalDocumentOverlay-CcH5BomT-DAavyljg.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-ANEIs-J6-BItEW5IN.js → Vendor2FAPopup-DtT11B4h-DSs5WQFV.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-vPAILiGh.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BLZ1wOuB-t2P37a0b.js → VendorDetailPage-2rTQcqZl-BGHBoCgZ.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-CbgEb_pw.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-BtU7EZH1-Cdwalb8n.js → VendorFiling1099EditablePage-Cgkipd6r-BOi4aIsg.js} +32 -32
  184. package/dist/assets/VendorFirstReviewPage-Va76j7QY-Ce_x6xNG.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-BbCN0JV0-Wsg-mPRx.js → VendorInternationalWireDetailsPage-D0IeqYQZ-CBSHQbo0.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CDShInCp-CKPYmRJ2.js → VendorInternationalWireSwiftDetailsPage-DZusODVt-CB9jvgle.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-lmuNbtLw-BehIg0cT.js → VendorsAccountsSection-CTmdfJi_-2OXKGXSP.js} +1 -1
  188. package/dist/assets/{VerifyDevice-vhZNITmO-B_CyFx_O.js → VerifyDevice-DFCNFtDD-BiKT2y-c.js} +1 -1
  189. package/dist/assets/{VideoPlayer-DIXs3y0r-C0i3s9oa.js → VideoPlayer-CIr6pCWx-BWEj8qhe.js} +2 -2
  190. package/dist/assets/{VideoPopup-CYL6r3Cb-B0pmnpWo.js → VideoPopup-CoeVMP5D-CZp7ggfX.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-CJ9a931n-DAFMV5EF.js → WarningsDrawerPage-CNBphx6e-DgBF9BD1.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-P86nU628-RfL02yuR.js → ZeniAccountDetailPage-ysMCIpFe-BBrtmzdb.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-GYsnktmQ-DlegmFE9.js → ZeniAccountListViewPage-DUalD7AP-CyveDoV_.js} +15 -15
  194. package/dist/assets/{ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js → ZeniAccountNavBarPieces-B8jILUl8-De6cgOXp.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-iCmw1i20-lqXeJDxF.js → ZeniAccountPromoPage-CUJm-42a-CXuQd7VV.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-B42Dq1gO-oMRu-INk.js → ZeniAccountSetupPage-BTurLFPN-CK5iO6d7.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-Baiyxesc-CHFltgTl.js → ZeniCopyright-BTFZ48gh-CtnEsi71.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js → ZeniTransferAmountSlider-f0nRZPzG-dUb4Mhul.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DdT9Rn3y.js → add-to-wallet-DgdBD8_G-D1teIsf6.js} +1 -1
  200. package/dist/assets/{analytics-Dm6Rdmk5.js → analytics-DvsRx7_o.js} +1 -1
  201. package/dist/assets/{analyticsHelper-DPMmqDhf.js → analyticsHelper-Bk8gqeLI.js} +1 -1
  202. package/dist/assets/{analyticsHelper-B32z3Cdy-Dk9sCdyO.js → analyticsHelper-lunHUd8g-D5OYaAmT.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cy4oQH64.js → arrow-south-east-round-PEovUgvH-CIyEcJYf.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B6gY8maM.js → auto-transfer-rule-mbafm5D3-CtO92HdQ.js} +1 -1
  205. package/dist/assets/{chartTypes-DL1AC5R1-CSQ4LZOa.js → chartTypes-DESZubWD-Bq3-3C2k.js} +1 -1
  206. package/dist/assets/{commonDimensions-BNYeCJ44-DwWQhbOM.js → commonDimensions-Cpv8YIix-Dpl_2njg.js} +1 -1
  207. package/dist/assets/{commonTypes-DwuUdRAc-CVoF2D5n.js → commonTypes-B1gKMzJK-DEpai8h5.js} +1 -1
  208. package/dist/assets/{constants-MHF6sRcJ.js → constants-B-YZmhKw.js} +1 -1
  209. package/dist/assets/{core-XAP_yXKl.js → core-HDqpewC7.js} +1 -1
  210. package/dist/assets/{dash.all.min-DatMhMWc.js → dash.all.min-kOXiIFTN.js} +1 -1
  211. package/dist/assets/{detailCommon-CzjlHNNr-OLPVPNMD.js → detailCommon-DyrMcL2E-DbZbdMac.js} +2 -2
  212. package/dist/assets/{downloadPdf-CPfBtFli-C5o4QyFD.js → downloadPdf-D2sIdMDR-D6_l0NHH.js} +1 -1
  213. package/dist/assets/{empty-vcyFM9nz.js → empty-DfoIHPwJ.js} +1 -1
  214. package/dist/assets/{empty-Cs2gdmIo.js → empty-Dx0imdfu.js} +1 -1
  215. package/dist/assets/{epic-B8nKq-i6.js → epic-BE_WS1px.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-RzjSa1iy.js → gift-box-Cmt9OgIZ-xM5zrgW4.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CQ6Ol9_s.js → graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CI6u9HfU.js → graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-FDeEnKd2.js → handshake-BPg58FML-B6X0918N.js} +1 -1
  220. package/dist/assets/{helper-T710NLca-BU35xGXS.js → helper-i78O9ew8-BuDifB0X.js} +1 -1
  221. package/dist/assets/{index-LuFlN8FP.js → index-B7uDjLxh.js} +1 -1
  222. package/dist/assets/{index-CrlTOcjY.js → index-Bdy6x472.js} +1 -1
  223. package/dist/assets/{index-DSJ6HKL8.js → index-BmIGxAWd.js} +1 -1
  224. package/dist/assets/{index-t-uTuAYw.js → index-D0CQgP0w.js} +1 -1
  225. package/dist/assets/{index-D9vmx-FC.js → index-DAitESaL.js} +1 -1
  226. package/dist/assets/{index-DIT7C2zP.js → index-Depa7Syu.js} +1 -1
  227. package/dist/assets/{index-C9hDAJ7o.js → index-Dw_MX6AZ.js} +11 -11
  228. package/dist/assets/{lexical-CgNStNGD.js → lexical-CWcQ8pGO.js} +1 -1
  229. package/dist/assets/{liveblocks-NP7ye8lf.js → liveblocks-Dv7Vdu8a.js} +1 -1
  230. package/dist/assets/{lottie-DhXcx4Hv.js → lottie-V1lTNkDB.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-COG82OfJ-0ZJxCNAO.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Co9d6d-V-n_IPqL-W.js → mapSectionWithAcOnlyToTreeNode-CjVZw324-Cy37hN-j.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-B07ADlac.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-C6UHQCJ6.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-CXn5QSNs.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-C-ELqPB7.js +1 -0
  237. package/dist/assets/{mui-BQR0Ruo4.js → mui-DdxImnN0.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-BBbQvoIw.js → page-detail-CWX5S47F-5PyHJMJh.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-V1yMMv-q.js → panelSelectedMixin-Cddsb26L-gr9HWaHB.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-OYLDx768.js → radio-default-CiSgisfh-LTUMKU8Y.js} +1 -1
  241. package/dist/assets/{react-BL2s-aF_.js → react-BNr0aXGm.js} +1 -1
  242. package/dist/assets/{react-CvT9aEmE.js → react-CUY5EDxC.js} +1 -1
  243. package/dist/assets/{react-Cp-6oWln.js → react-Cjks14mZ.js} +1 -1
  244. package/dist/assets/{react-DcMbwERn.js → react-DYqwvMeX.js} +2 -2
  245. package/dist/assets/{react-Du36QLI3.js → react-DbLm8gms.js} +1 -1
  246. package/dist/assets/{react-CUdUBRF6.js → react-OxQ1eBeR.js} +1 -1
  247. package/dist/assets/{react-72w_Kluy.js → react-omDkrKl-.js} +1 -1
  248. package/dist/assets/{react-CX9OzKa9.js → react-pyJg34N2.js} +1 -1
  249. package/dist/assets/{recharts-DkFolWRg.js → recharts-Djp9a38d.js} +1 -1
  250. package/dist/assets/{sentry-Ckvw8Zf1.js → sentry-DBSEoG3b.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-rM_NpNHL.js → shield-DOlUxcFf-BOPfGBnx.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-DxETcMNK-ChqFn7jZ.js +1 -0
  253. package/dist/assets/{toChartData-8r0AvOIP-Dhy8B0ZL.js → toChartData-BQYX2C7n-DbxCO4-E.js} +1 -1
  254. package/dist/assets/{uploadAttachment-CTXeI85v-BVATkq8k.js → uploadAttachment-C3cElL9m-QbAR0kQd.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-nRZK_a0M.js → uploadReceipts-Dge0cNF1-BifC32F3.js} +1 -1
  256. package/dist/assets/{url-D8pFj_Ts.js → url-BmxmWAZl.js} +1 -1
  257. package/dist/assets/{url-DCwOBFCk.js → url-DITb-guK.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BkrNXw3e.js → useLongPress-GCK2COYQ-CaFh8omD.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-54Q8nh58.js → usp-line-BBd1wKwW-CpqqX4MO.js} +1 -1
  260. package/dist/assets/{utils-B4eJ0QQL.js → utils-rIQAYtge.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-BnsQ52n7.js → zeni-epic-state-1oOVJQJ4.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +2 -2
  264. package/dist/assets/AccountInfoPage-CwOgUpjY-CG0ESFTT.js +0 -18
  265. package/dist/assets/ChargeCardPromoPage-CSx0tLTh-BsQndE31.js +0 -222
  266. package/dist/assets/CustomerOnboardingContainerPage-BRmWV-NF-CTVp5vU-.js +0 -1
  267. package/dist/assets/EntityDetailPage-C6UdR7oJ-COx1heor.js +0 -18
  268. package/dist/assets/GlobalReviewListPage-DFhcVK4y-DV_nZHys.js +0 -291
  269. package/dist/assets/MagicLinkACHDetailsPage-DhFoinUr-BKHQrprB.js +0 -1
  270. package/dist/assets/MagicLinkDomesticWireDetailsPage-BUX5Ve2X-CKqNdN5U.js +0 -1
  271. package/dist/assets/MagicLinkInternationalWireDetailsPage-BmtqDOUO-CMDMqnYA.js +0 -1
  272. package/dist/assets/OpExByVendorPage-D1ehVVFD-Dc7GFqIq.js +0 -100
  273. package/dist/assets/ReimbursementApprovalRuleDetailPage-BRUlJa_D-yH6i72Z5.js +0 -32
  274. package/dist/assets/TimeframeSwitcher-C26tc1sm-Eg22Wb7g.js +0 -31
  275. package/dist/assets/VendorACHDetailsPage-BNcSYRzd-Kp1xh3I0.js +0 -1
  276. package/dist/assets/VendorDomesticWireDetailsPage-KZSt69vF-CigCqUX0.js +0 -1
  277. package/dist/assets/VendorFirstReviewPage-DJap4HA2-DP0KML1b.js +0 -730
  278. package/dist/assets/mapLoadingInProgressToTreeNode-DWJx3AOd-DyMnZ_nG.js +0 -1
  279. package/dist/assets/mapSpacerToTreeNode-CKbbOrFj-B8jOHJ4H.js +0 -1
  280. package/dist/assets/mapTimeframeBalancesToTreeNode-BpaMuUED-DrbIaTMF.js +0 -1
  281. package/dist/assets/mapTimeframeBalancesToTreeNode-jq979PpH-D251JRiH.js +0 -1
  282. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6A-QxQzl-WsH6ynl8.js +0 -1
  283. package/dist/assets/toCOABalancesWithID-CxmuqRLi-BeWRvmKl.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,x as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,y as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,k as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-C9hDAJ7o.js";import{a as R}from"./sentry-Ckvw8Zf1.js";import{n as g}from"./mui-BQR0Ruo4.js";import{bi as Q}from"./zeni-epic-state-BnsQ52n7.js";import{W as We,A as ze}from"./BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js";import{T as Re}from"./MailingDetailsSection-vydT4UOr-DSxQiRSi.js";import{S as Pe}from"./CurrencySelectField-CaQgbP8P-Cqqb_KBc.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./LabeledAddressValueField-DL3wJoZC-CMggf1RU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="cc62bb05-eaa5-4cec-a58e-615fb31af154",e._sentryDebugIdIdentifier="sentry-dbid-cc62bb05-eaa5-4cec-a58e-615fb31af154")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,x as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,y as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,k as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-Dw_MX6AZ.js";import{a as R}from"./sentry-DBSEoG3b.js";import{n as g}from"./mui-DdxImnN0.js";import{bi as Q}from"./zeni-epic-state-1oOVJQJ4.js";import{W as We,A as ze}from"./BankAccountWarningSection-DeUkht1G--scnEmUk.js";import{T as Re}from"./MailingDetailsSection-F1i0rBkv-CZo5kIPL.js";import{S as Pe}from"./CurrencySelectField-CtKQBmBI-q57973By.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="761497df-69ea-4109-939f-f87bc2f3dd71",e._sentryDebugIdIdentifier="sentry-dbid-761497df-69ea-4109-939f-f87bc2f3dd71")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{V as u}from"./index-C9hDAJ7o.js";import{a as S}from"./sentry-Ckvw8Zf1.js";import{f as k}from"./InternationalWireSwiftDetailsPage-DfKrYbaB-DwvyB1Uq.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./mui-BQR0Ruo4.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./BankAccountWarningSection-Dr8XVfsN-Bh1VpxWI.js";import"./MailingDetailsSection-vydT4UOr-DSxQiRSi.js";import"./LabeledAddressValueField-DL3wJoZC-CMggf1RU.js";import"./MagicLinkTitleSection-vHYX92L1-B1QKRjFr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c125780c-8cbc-4abb-a1c8-2ae0efd5b63c",e._sentryDebugIdIdentifier="sentry-dbid-c125780c-8cbc-4abb-a1c8-2ae0efd5b63c")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:b}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),u.jsx(k,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:b,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
1
+ import{V as u}from"./index-Dw_MX6AZ.js";import{a as S}from"./sentry-DBSEoG3b.js";import{f as k}from"./InternationalWireSwiftDetailsPage-D_RuMP2E-CqXJrwow.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./mui-DdxImnN0.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./BankAccountWarningSection-DeUkht1G--scnEmUk.js";import"./MailingDetailsSection-F1i0rBkv-CZo5kIPL.js";import"./LabeledAddressValueField-BppwMtJ1-Dgoqu5O4.js";import"./MagicLinkTitleSection-DajyP-ys-Be4ZqDQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2782bb16-b645-4902-9101-61b96bf3c377",e._sentryDebugIdIdentifier="sentry-dbid-2782bb16-b645-4902-9101-61b96bf3c377")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:b}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),u.jsx(k,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:b,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{J as ie,y as oe,F as te,x as c,gL as w,aW as T,V as i,h$ as g,o as r,hY as f,H as ne,p as re,dB as de,aj as se,u as a}from"./index-C9hDAJ7o.js";import{n as s}from"./mui-BQR0Ruo4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="ad5c75b1-aa55-48fc-8bfb-08f04824d73d",e._sentryDebugIdIdentifier="sentry-dbid-ad5c75b1-aa55-48fc-8bfb-08f04824d73d")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{J as ie,y as oe,F as te,x as c,gL as w,aW as T,V as i,h$ as g,o as r,hY as f,H as ne,p as re,dB as de,aj as se,u as a}from"./index-Dw_MX6AZ.js";import{n as s}from"./mui-DdxImnN0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="ad5c75b1-aa55-48fc-8bfb-08f04824d73d",e._sentryDebugIdIdentifier="sentry-dbid-ad5c75b1-aa55-48fc-8bfb-08f04824d73d")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aR as z,a9 as U,V as r,bT as W,aa as p,ad as X,bU as Z,aj as x,bV as B,o as n,F as L,i as D,bW as G,am as N,bX as J,bY as E,bL as Y,p as j,bb as v,bZ as q}from"./index-C9hDAJ7o.js";import{a as c}from"./sentry-Ckvw8Zf1.js";import{n as t}from"./mui-BQR0Ruo4.js";import{bh as K}from"./zeni-epic-state-BnsQ52n7.js";import{A as Q,Z as C}from"./AccountLockedInfoModal-D5rAyYPe-cRoXMFrB.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./handshake-BPg58FML-FDeEnKd2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3ef84a32-510c-4d33-9345-d01a46f2943a",e._sentryDebugIdIdentifier="sentry-dbid-3ef84a32-510c-4d33-9345-d01a46f2943a")}catch{}})();const ee=e=>{if(!e)return"";try{const i=J(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return E(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return E(e)||e}},V=120,k=30,_=2,re="456px",te="256px",T=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,O]=c.useState(0),[b,w]=c.useState(V),[h,S]=c.useState(k),I=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===T&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{I==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),O(s=>s+1),u.setValue(m,""))},[I,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),A=s%60;return`${d}:${A.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>_,children:r.jsx(Q,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=_,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Z,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(B,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(V),S(k))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(D,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==T||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aR as z,a9 as U,V as r,bT as W,aa as p,ad as X,bU as Z,aj as x,bV as B,o as n,F as L,i as D,bW as G,am as N,bX as J,bY as E,bL as Y,p as j,bb as v,bZ as q}from"./index-Dw_MX6AZ.js";import{a as c}from"./sentry-DBSEoG3b.js";import{n as t}from"./mui-DdxImnN0.js";import{bh as K}from"./zeni-epic-state-1oOVJQJ4.js";import{A as Q,Z as C}from"./AccountLockedInfoModal-7MLTBsWb-kQqWsBqk.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./handshake-BPg58FML-B6X0918N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="bd1b9492-ddc6-4fc8-af2c-73c4d5ec597f",e._sentryDebugIdIdentifier="sentry-dbid-bd1b9492-ddc6-4fc8-af2c-73c4d5ec597f")}catch{}})();const ee=e=>{if(!e)return"";try{const i=J(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return E(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return E(e)||e}},V=120,k=30,_=2,re="456px",te="256px",T=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,O]=c.useState(0),[b,w]=c.useState(V),[h,S]=c.useState(k),I=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===T&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{I==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),O(s=>s+1),u.setValue(m,""))},[I,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),A=s%60;return`${d}:${A.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>_,children:r.jsx(Q,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=_,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Z,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(B,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(V),S(k))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(D,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==T||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-72w_Kluy.js","assets/sentry-Ckvw8Zf1.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-DcMbwERn.js","assets/zeni-epic-state-BnsQ52n7.js","assets/core-XAP_yXKl.js","assets/index-CrlTOcjY.js","assets/react-CUdUBRF6.js","assets/react-CX9OzKa9.js","assets/react-Du36QLI3.js","assets/react-BL2s-aF_.js","assets/react-Cp-6oWln.js","assets/react-CvT9aEmE.js","assets/Preview-BsIYoVSv.js"])))=>i.map(i=>d[i]);
2
- import{J as W,V as f,ap as X,p as Y}from"./index-C9hDAJ7o.js";import{P as _,a as t}from"./sentry-Ckvw8Zf1.js";import{n as k,k as K}from"./mui-BQR0Ruo4.js";import{r as Z}from"./core-XAP_yXKl.js";import{ba as y}from"./zeni-epic-state-BnsQ52n7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f903db24-5273-4131-b864-8e9d741886c6",e._sentryDebugIdIdentifier="sentry-dbid-f903db24-5273-4131-b864-8e9d741886c6")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-72w_Kluy.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DcMbwERn.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-CrlTOcjY.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-CUdUBRF6.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-CX9OzKa9.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Du36QLI3.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BL2s-aF_.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cp-6oWln.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CvT9aEmE.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,c,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-BsIYoVSv.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-omDkrKl-.js","assets/sentry-DBSEoG3b.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-DYqwvMeX.js","assets/zeni-epic-state-1oOVJQJ4.js","assets/core-HDqpewC7.js","assets/index-Bdy6x472.js","assets/react-OxQ1eBeR.js","assets/react-pyJg34N2.js","assets/react-DbLm8gms.js","assets/react-BNr0aXGm.js","assets/react-Cjks14mZ.js","assets/react-CUY5EDxC.js","assets/Preview-CEK51ZCO.js"])))=>i.map(i=>d[i]);
2
+ import{J as W,V as f,ap as X,p as Y}from"./index-Dw_MX6AZ.js";import{P as _,a as t}from"./sentry-DBSEoG3b.js";import{n as k,k as K}from"./mui-DdxImnN0.js";import{r as Z}from"./core-HDqpewC7.js";import{ba as y}from"./zeni-epic-state-1oOVJQJ4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f903db24-5273-4131-b864-8e9d741886c6",e._sentryDebugIdIdentifier="sentry-dbid-f903db24-5273-4131-b864-8e9d741886c6")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-omDkrKl-.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DYqwvMeX.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-Bdy6x472.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-OxQ1eBeR.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-pyJg34N2.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DbLm8gms.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BNr0aXGm.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cjks14mZ.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CUY5EDxC.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,c,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-CEK51ZCO.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{J as s,V as t,ap as l,ab as a,p as c,o,x as d}from"./index-C9hDAJ7o.js";import{n}from"./mui-BQR0Ruo4.js";import{N as f}from"./VideoPlayer-DIXs3y0r-C0i3s9oa.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="2912c2c9-58b0-4f9a-ae38-448b5b5c3f43",e._sentryDebugIdIdentifier="sentry-dbid-2912c2c9-58b0-4f9a-ae38-448b5b5c3f43")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
1
+ import{J as a,V as t,ap as s,ab as l,p as c,o,x as d}from"./index-Dw_MX6AZ.js";import{n}from"./mui-DdxImnN0.js";import{N as f}from"./VideoPlayer-CIr6pCWx-BWEj8qhe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="bcdbc8a2-c7ae-4f7c-a263-8acf63ef48b5",e._sentryDebugIdIdentifier="sentry-dbid-bcdbc8a2-c7ae-4f7c-a263-8acf63ef48b5")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -28,4 +28,4 @@ import{J as s,V as t,ap as l,ab as a,p as c,o,x as d}from"./index-C9hDAJ7o.js";i
28
28
  position: relative;
29
29
  width: 100%;
30
30
  height: 100%;
31
- `;function y(e){const i=s();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(p,{windowSize:i,"data-testid":a("video-popup"),children:t.jsx(w,{children:t.jsx(f,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as C};
31
+ `;function y(e){const i=a();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(s,{onClickAway:()=>e.onCancelClick(),children:t.jsx(p,{windowSize:i,"data-testid":l("video-popup"),children:t.jsx(w,{children:t.jsx(f,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as C};
@@ -1,4 +1,4 @@
1
- import{J as D,V as s,B,N as C,i as j,w as S,o as n,F as M,x as $,H as E,a as L,b as N,R as P,p as h,h as z,l as T,u,c as A}from"./index-C9hDAJ7o.js";import{n as a}from"./mui-BQR0Ruo4.js";import{cG as R}from"./zeni-epic-state-BnsQ52n7.js";import"./sentry-Ckvw8Zf1.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="60b891a7-e230-4bad-8e38-354188a5daff",r._sentryDebugIdIdentifier="sentry-dbid-60b891a7-e230-4bad-8e38-354188a5daff")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=D(),I=r!=null?R(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=F(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=H(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(q,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
1
+ import{J as D,V as s,B,N as C,i as j,w as S,o as n,F as M,x as $,H as E,a as L,b as N,R as P,p as h,h as z,l as T,u,c as A}from"./index-Dw_MX6AZ.js";import{n as a}from"./mui-DdxImnN0.js";import{cG as R}from"./zeni-epic-state-1oOVJQJ4.js";import"./sentry-DBSEoG3b.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="60b891a7-e230-4bad-8e38-354188a5daff",r._sentryDebugIdIdentifier="sentry-dbid-60b891a7-e230-4bad-8e38-354188a5daff")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=D(),I=r!=null?R(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=F(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=H(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(q,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
2
  ${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(C,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},F=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},H=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a9 as Te,J as H,ax as Pe,y as pe,aR as Be,V as t,aP as P,bU as B,o,bD as Le,w as S,cr as O,cs as R,ct as F,ad as Ne,es as He,p as y,ex as Ie,ab as C,k as ue,aj as w,F as K,bL as Me,bP as Ee,aU as Ue,x as b,h1 as We,fl as ae,u,am as X,hB as Oe,b8 as Re,b0 as Fe,hC as Ge,c as Ve,hD as Ye,h as Je,h4 as _e,d7 as qe,an as Ke,H as Xe,cj as Ze}from"./index-C9hDAJ7o.js";import{a as r}from"./sentry-Ckvw8Zf1.js";import{n as a}from"./mui-BQR0Ruo4.js";import{G2 as Qe,bL as G}from"./zeni-epic-state-BnsQ52n7.js";import{$ as et}from"./BoxItem-Dy41mKN9-CZiGGLPk.js";import{w as tt}from"./downloadPdf-CPfBtFli-C5o4QyFD.js";import{q as ot}from"./DepositAccTransactionItem-CuWxNHSp-Da2H1v88.js";import{T as at}from"./ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-DkFolWRg.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";import"./commonDimensions-BNYeCJ44-DwWQhbOM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="612762dd-08a9-4333-9886-2e844aa39191",e._sentryDebugIdIdentifier="sentry-dbid-612762dd-08a9-4333-9886-2e844aa39191")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
1
+ import{a9 as Te,J as H,ax as Pe,y as pe,aR as Be,V as t,aP as P,bU as B,o,bD as Le,w as S,cr as O,cs as R,ct as F,ad as Ne,es as He,p as y,ex as Ie,ab as C,k as ue,aj as w,F as K,bL as Me,bP as Ee,aU as Ue,x as b,h1 as We,fl as ae,u,am as X,hB as Oe,b8 as Re,b0 as Fe,hC as Ge,c as Ve,hD as Ye,h as Je,h4 as _e,d7 as qe,an as Ke,H as Xe,cj as Ze}from"./index-Dw_MX6AZ.js";import{a as r}from"./sentry-DBSEoG3b.js";import{n as a}from"./mui-DdxImnN0.js";import{G2 as Qe,bL as G}from"./zeni-epic-state-1oOVJQJ4.js";import{$ as et}from"./BoxItem-B6i9yx2h-8tTsCvCc.js";import{w as tt}from"./downloadPdf-D2sIdMDR-D6_l0NHH.js";import{q as ot}from"./DepositAccTransactionItem-kZL4La9A-C6fVz6NV.js";import{T as at}from"./ZeniAccountNavBarPieces-B8jILUl8-De6cgOXp.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-Djp9a38d.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./commonDimensions-Cpv8YIix-Dpl_2njg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="d32816c0-4e57-4249-9751-6e04f72fc18e",e._sentryDebugIdIdentifier="sentry-dbid-d32816c0-4e57-4249-9751-6e04f72fc18e")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,ad as Ge,o as n,es as Ue,ex as Ne,cs as ne,ct as ie,hy as Re,aP as G,bU as fe,bD as Oe,w as C,F as K,ar as We,am as Ye,c as Ve,c0 as Ze,bL as ye,aj as b,ax as He,ce as qe,fl as F,ab as U,x as j,an as X,g$ as Je,H as Qe,a as Ke,ao as Xe,d1 as et,cj as tt,ga as nt,u,dP as it,fO as ot,hz as rt,i as st,h0 as at,bP as ct,aU as lt}from"./index-C9hDAJ7o.js";import{a as g}from"./sentry-Ckvw8Zf1.js";import{n as i}from"./mui-BQR0Ruo4.js";import{G2 as dt}from"./zeni-epic-state-BnsQ52n7.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-B6gY8maM.js";import{o as ut}from"./shield-DOlUxcFf-rM_NpNHL.js";import{T as mt}from"./ZeniAccountNavBarPieces-Cz7DjDo7-avwd16fX.js";import{v as ht}from"./ZeniTransferAmountSlider-9-2DcdrJ-q0SmjKL2.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="22c36e7c-1a58-4661-9088-a280493e13ee",e._sentryDebugIdIdentifier="sentry-dbid-22c36e7c-1a58-4661-9088-a280493e13ee")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=Q(),v=(c,T)=>Object.entries(T).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
1
+ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,ad as Ge,o as n,es as Ue,ex as Ne,cs as ne,ct as ie,hy as Re,aP as G,bU as fe,bD as Oe,w as C,F as K,ar as We,am as Ye,c as Ve,c0 as Ze,bL as ye,aj as j,ax as He,ce as qe,fl as F,ab as U,x as b,an as X,g$ as Je,H as Qe,a as Ke,ao as Xe,d1 as et,cj as tt,ga as nt,u,dP as it,fO as ot,hz as rt,i as st,h0 as at,bP as ct,aU as lt}from"./index-Dw_MX6AZ.js";import{a as g}from"./sentry-DBSEoG3b.js";import{n as i}from"./mui-DdxImnN0.js";import{G2 as dt}from"./zeni-epic-state-1oOVJQJ4.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-CtO92HdQ.js";import{o as ut}from"./shield-DOlUxcFf-BOPfGBnx.js";import{T as mt}from"./ZeniAccountNavBarPieces-B8jILUl8-De6cgOXp.js";import{v as ht}from"./ZeniTransferAmountSlider-f0nRZPzG-dUb4Mhul.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="396476ef-aaa4-4a9b-ba70-861ebda3f70f",e._sentryDebugIdIdentifier="sentry-dbid-396476ef-aaa4-4a9b-ba70-861ebda3f70f")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=Q(),v=(c,T)=>Object.entries(T).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -74,11 +74,11 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
74
74
  width: ${e=>e.windowSize==="small"?n.sp6:n.sp9};
75
75
  height: ${e=>e.windowSize==="small"?n.sp6:n.sp9};
76
76
  flex-shrink: 0;
77
- `,jt=i.div`
77
+ `,bt=i.div`
78
78
  display: flex;
79
79
  align-items: center;
80
80
  gap: ${n.sp2};
81
- `,bt=i.div`
81
+ `,jt=i.div`
82
82
  display: flex;
83
83
  justify-content: flex-start;
84
84
  align-items: center;
@@ -122,7 +122,7 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
122
122
  width: ${n.sp3};
123
123
  height: ${n.sp3};
124
124
  flex-shrink: 0;
125
- `,pe=i(b)`
125
+ `,pe=i(j)`
126
126
  color: ${o.primaryLight};
127
127
  `,ue=i.span`
128
128
  color: ${o.primaryLight};
@@ -177,7 +177,7 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
177
177
  width: ${n.sp3};
178
178
  height: ${n.sp3};
179
179
  color: ${o.brandColorGoldDark};
180
- `,Lt=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new j(u[7],u[6]),containerWidth:new j(96,67),containerTopMargin:new j(u[4],u[6]),BankAccListTopMargin:new j(u[4],u[8]),containerSidePadding:new j(u[3],u[0]),accountRowTopBottomPadding:new j(u[3],u[4]),accountRowBottomMargin:new j(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new j(u[3],u[0])},Pt={bankAccountName:new Qe("standardRegular","largeMedium")},d=K.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:s})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:s,"data-testid":U("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:s,maxInsuredAmountString:$,analytics:S,onZeniAccountRowClick:a,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:I,fetchState:A,summary:w}=e,p=Q(),M=He(),y=M.loggedInUserRoleMap.deposit_accounts_user===!0||dt(M.loggedInUserRoleMap),_=r=>{S.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},z=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(mn,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(gn,{}):t.jsx(hn,{})})})},N=r=>t.jsx(Nt,{color:Je(r)});return qe({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(It,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(Ht,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),z("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(Vt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Wt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Yt,{children:s.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(wn,{windowSize:p,children:t.jsx(xt,{yieldPercentage:L,insuredAmount:c,onGetStartedClick:()=>{S.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Ut,{windowSize:p,children:[I.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>a?.(r.id,r.accountName),"data-testid":U("deposit-account-clicked",r.id),children:[t.jsxs(Zt,{children:[N(k),t.jsxs(Qt,{children:[t.jsx(Kt,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Ft,{children:t.jsx(en,{children:r.maskedAccountNumber})}),t.jsxs(Gt,{children:[p==="small"?null:t.jsx(tn,{}),t.jsx(nn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(on,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),y?null:t.jsx(_t,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":U("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":U("add-new-internal-zeni-account"),children:[t.jsx(sn,{}),t.jsx(an,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Bt,{fetchState:A,onReloadTransactions:v})})},It=i.div`
180
+ `,Lt=e=>g.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M1.50005 3.41819V11.3868C1.49582 13.9724 2.27853 16.4989 3.74542 18.6344C5.2123 20.77 7.29478 22.4147 9.71941 23.3528L10.8398 23.7848C11.5863 24.0717 12.4137 24.0717 13.1602 23.7848L14.2806 23.3528C16.7052 22.4147 18.7877 20.77 20.2546 18.6344C21.7215 16.4989 22.5042 13.9724 22.4999 11.3868V3.41819C22.5025 3.11029 22.4157 2.80819 22.2499 2.54802C22.0842 2.28785 21.8466 2.08063 21.5655 1.95114C18.5518 0.635546 15.2915 -0.0291648 12 0.000981362C8.70855 -0.0291648 5.44817 0.635546 2.43455 1.95114C2.15343 2.08063 1.91579 2.28785 1.75007 2.54802C1.58435 2.80819 1.49755 3.11029 1.50005 3.41819Z",fill:"#36B37E"}),g.createElement("path",{d:"M16.5194 8.42881L11.3671 13.3387C11.3022 13.4007 11.2254 13.4489 11.1414 13.4802C11.0573 13.5116 10.9677 13.5256 10.8781 13.5212C10.7897 13.517 10.703 13.4951 10.6232 13.4568C10.5434 13.4185 10.4721 13.3646 10.4135 13.2982L8.06814 10.6339",stroke:"#FAFAFA",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),x={bankAccListBottomMargin:new b(u[7],u[6]),containerWidth:new b(96,67),containerTopMargin:new b(u[4],u[6]),BankAccListTopMargin:new b(u[4],u[8]),containerSidePadding:new b(u[3],u[0]),accountRowTopBottomPadding:new b(u[3],u[4]),accountRowBottomMargin:new b(u[3],u[5]),totalInsuredAndYieldContainerTopMargin:new b(u[3],u[0])},Pt={bankAccountName:new Qe("standardRegular","largeMedium")},d=K.getLocalizedStrings(),Y=e=>t.jsx(Ot,{children:e}),Bt=({fetchState:e,onReloadTransactions:s})=>e==="Error"?t.jsxs(cn,{children:[t.jsx(ln,{onClick:s,"data-testid":U("zeni-account-list-reload"),children:t.jsx(dn,{})}),t.jsx(pn,{children:d.peoplePage.reloadPage.label})]}):t.jsx(nt,{fetchState:e,styles:{margin:"auto"}}),Tt=({zeniAccountListView:e,zeniAccountsConfigDetail:s,maxInsuredAmountString:$,analytics:S,onZeniAccountRowClick:a,onReloadTransactions:v,handleAddInternalAccountClick:P,onAddFundClick:B,onTreasuryGetStartedClick:f,treasuryYieldPercentage:L,treasuryInsuredAmount:c,showTreasuryPromo:T})=>{const{depositAccountsSelectorView:I,fetchState:A,summary:w}=e,p=Q(),M=He(),y=M.loggedInUserRoleMap.deposit_accounts_user===!0||dt(M.loggedInUserRoleMap),_=r=>{S.trackAccountsListPageClicked("Add Funds",r.accountName,"active"),B("transfer",r)},E=r=>{switch(r){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"290px";default:return"320px"}},z=r=>{let k=t.jsx(t.Fragment,{});switch(r){case"insuredBalance":k=t.jsx(Z,{style:{width:"300px"},children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceTooltip.replace("__amount__",$)});break;case"totalInterest":k=t.jsx(Z,{children:d.spendManagement.zeniAccounts.zeniAccountList.yieldTooltip});break;case"totalBalance":k=t.jsxs(Z,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[t.jsx(xn,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.base}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.balance}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.current)})]}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.processing}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.hold)})]}),t.jsxs(H,{children:[t.jsx(q,{children:d.spendManagement.zeniAccounts.zeniAccountList.balanceTooltip.available}),t.jsx(J,{children:G("0,0[.]00",w?.totalBalance.available)})]})]});break}return t.jsx(mn,{children:t.jsx(fe,{style:{textAlign:"left",padding:n.sp1},maxWidth:E(r),display:"flex",placement:p==="small"?"bottom":"top",title:k,children:r==="insuredBalance"?t.jsx(gn,{}):t.jsx(hn,{})})})},N=r=>t.jsx(Nt,{color:Je(r)});return qe({componentName:"checking.list",enabled:A==="Completed"}),t.jsx(It,{children:A==="Completed"?t.jsxs(un,{windowSize:p,children:[t.jsxs(Et,{windowSize:p,children:[t.jsxs(Rt,{windowSize:p,children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.totalAvailableBalance),z("totalBalance")]}),t.jsx(F,{amount:w?.totalBalance.available})]}),t.jsxs(Mt,{windowSize:p,children:[t.jsxs(Ht,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.zeniAccountList.insuredFund),z("insuredBalance")]}),t.jsx(F,{amount:w?.insuredBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsx(Vt,{children:d.spendManagement.zeniAccounts.zeniAccountList.insuranceInfo.replace("__amount__",$)})]}),t.jsxs(qt,{children:[t.jsxs(V,{children:[Y(d.spendManagement.zeniAccounts.common.totalYieldEarned),z("totalInterest")]}),t.jsx(F,{amount:w?.totalInterest.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),t.jsxs(Wt,{children:[d.spendManagement.zeniAccounts.zeniAccountList.currentAverageYield,t.jsx(Yt,{children:s.zeniAccountsConfigDetail.annualPercentageYield})]})]})]})]}),T===!0&&t.jsx(wn,{windowSize:p,children:t.jsx(xt,{yieldPercentage:L,insuredAmount:c,onGetStartedClick:()=>{S.trackAccountsListPageClicked("Move Money"),f?.()}})}),t.jsxs(Ut,{windowSize:p,children:[I.depositAccounts.map((r,k)=>t.jsxs(Jt,{isClickEnabled:!0,windowSize:p,onClick:()=>a?.(r.id,r.accountName),"data-testid":U("deposit-account-clicked",r.id),children:[t.jsxs(Zt,{children:[N(k),t.jsxs(Qt,{children:[t.jsx(Kt,{windowSize:p,children:r.accountName}),t.jsxs(Xt,{windowSize:p,children:[t.jsx(Ft,{children:t.jsx(en,{children:r.maskedAccountNumber})}),t.jsxs(Gt,{children:[p==="small"?null:t.jsx(tn,{}),t.jsx(nn,{windowSize:p,children:d.spendManagement.zeniAccounts.zeniAccountList.active})]})]})]})]}),t.jsxs(on,{children:[t.jsx(F,{amount:r.accountBalance.available,integerStyles:C.largeMedium.cssObject,decimalStyles:C.smallMedium.cssObject}),y?null:t.jsx(_t,{onClick:D=>{D.stopPropagation(),_(r)},"data-testid":U("add-fund",r.id),children:t.jsx(Dt,{children:d.spendManagement.zeniAccounts.zeniAccountList.addFundBtnText})})]})]},r.id)),t.jsxs(rn,{onClick:P,"data-testid":U("add-new-internal-zeni-account"),children:[t.jsx(sn,{}),t.jsx(an,{children:d.spendManagement.zeniAccounts.zeniAccountList.addAccountText})]})]})]}):t.jsx(Bt,{fetchState:A,onReloadTransactions:v})})},It=i.div`
181
181
  display: block;
182
182
  height: 100%;
183
183
  `,Mt=i.div`
@@ -225,7 +225,7 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
225
225
  `:null}
226
226
  `,V=i.div`
227
227
  display: flex;
228
- `,Ot=i(b)`
228
+ `,Ot=i(j)`
229
229
  color: ${e=>e.theme.colors.hero};
230
230
  margin-right: ${n.sp1};
231
231
  `,Wt=i(X)`
@@ -272,7 +272,7 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
272
272
  color: ${e=>e.theme.colors.hero};
273
273
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
274
274
  align-items: ${e=>e.windowSize==="small"?"start":"center"};
275
- `,en=i(b)`
275
+ `,en=i(j)`
276
276
  margin-left: ${n.sp1};
277
277
  `,tn=i.div`
278
278
  width: ${n.sp1};
@@ -281,7 +281,7 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
281
281
  background-color: ${e=>e.theme.colors.grey1};
282
282
  margin-left: ${n.sp2};
283
283
  margin-right: ${n.sp2};
284
- `,nn=i(b)`
284
+ `,nn=i(j)`
285
285
  color: ${o.success};
286
286
  border-radius: 50px;
287
287
  `,on=i.div`
@@ -369,16 +369,16 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
369
369
  `,gn=i(Lt)`
370
370
  width: ${n.sp3};
371
371
  height: ${n.sp3};
372
- `,Z=i(b)`
372
+ `,Z=i(j)`
373
373
  padding: ${n.sp2} ${n.sp3};
374
374
  color: ${e=>e.theme.colors.hero};
375
375
  border-radius: ${n.sp1};
376
- `,H=i(b)`
376
+ `,H=i(j)`
377
377
  color: ${e=>e.theme.colors.brandColorPearl};
378
378
  margin-top: ${n.sp2};
379
379
  display: flex;
380
380
  justify-content: space-between;
381
- `,xn=i(b)`
381
+ `,xn=i(j)`
382
382
  margin-bottom: ${n.sp2};
383
383
  display: flex;
384
384
  `,q=i.div`
@@ -387,7 +387,7 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
387
387
  color: ${o.primaryDark};
388
388
  `,wn=i.div`
389
389
  margin-top: ${n.sp4};
390
- `,{common:$n,spendManagement:{zeniAccounts:l}}=K.getLocalizedStrings(),$e="checkingAccountCreation-form",Wn=({zeniAccountListView:e,analytics:s,maxInsuredAmount:$,isBillPayEnabled:S,isExpressPayEnabled:a,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:I,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const M=Q(),y=Me({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[N,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,R]=g.useState(!1),[je,be]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,O)=>{P(h,O)},Se={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(s.trackAccountsListPageClicked("Pay Someone"),R(!0)):(h==="sendMoney"?s.trackSendMoneyClick():h==="checkDeposit"?s.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&s.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},ve={onOkClick:()=>{},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(O=>O.id===e.newCheckingAccount.accountId);s.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{s.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),R(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Not Now on Bills pop up"),R(!1)}},Be=y.handleSubmit(h=>{s.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,$n.currency.currencySymbol).toUpperCase(),Ie=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:a,zeniBankProps:Se,analytics:s});return t.jsxs(fn,{children:[N?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:ve,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ue,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ne(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:z.colors.grey5,border:`1px solid ${z.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(kn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(bn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(ht,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:be}),t.jsxs(An,{children:[t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(zn,{children:G("0,0",{amount:je,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Sn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:M==="medium-compact"||M==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Ie,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(yn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Tt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{s.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:s,onReloadTransactions:L,maxInsuredAmountString:te,onTreasuryGetStartedClick:I,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
390
+ `,{common:$n,spendManagement:{zeniAccounts:l}}=K.getLocalizedStrings(),$e="checkingAccountCreation-form",Wn=({zeniAccountListView:e,analytics:s,maxInsuredAmount:$,isBillPayEnabled:S,isExpressPayEnabled:a,onBackClick:v,onZeniAccountClick:P,onSettingsClick:B,handleMoveMoneyOptionSelection:f,onReloadTransactions:L,onCreateCheckingClick:c,onClickMenuIcon:T,onTreasuryGetStartedClick:I,showTreasuryPromo:A,treasuryYieldPercentage:w,treasuryInsuredAmount:p})=>{const M=Q(),y=Me({mode:"all"}),_=e.newCheckingAccount.fetchState,E=_e(_);g.useEffect(()=>{E==="In-Progress"&&_==="Completed"&&(r(!1),D(!0),y.reset())},[E,_,y]);const z=De(),[N,r]=g.useState(!1),[k,D]=g.useState(!1),[ke,R]=g.useState(!1),[be,je]=g.useState(0),[Ae,ze]=g.useState(0),Ce=(h,O)=>{P(h,O)},Se={pageName:"listPage",onOptionSelection:h=>{h==="payBill"?(s.trackAccountsListPageClicked("Pay Someone"),R(!0)):(h==="sendMoney"?s.trackSendMoneyClick():h==="checkDeposit"?s.trackAccountsListPageClicked("Deposit a Check"):h==="transfer"&&s.trackAccountsListPageClicked("Transfer Between Accounts"),f(h))}},ve={onOkClick:()=>{},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Cancel"),y.reset(),r(!1)}},Le={onOkClick:()=>{const h=e.depositAccountsSelectorView.depositAccounts.find(O=>O.id===e.newCheckingAccount.accountId);s.trackAccountsListPageClicked("Add Business Account Add Funds"),f("transfer",h),D(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Add Business Account Not Now"),D(!1)}},Pe={onOkClick:()=>{s.trackAccountsListPageClicked("Proceed on Bills pop up"),f("payBill"),R(!1)},onCancelClick:()=>{s.trackAccountsListPageClicked("Not Now on Bills pop up"),R(!1)}},Be=y.handleSubmit(h=>{s.trackAccountsListPageClicked("Add Business Account Create"),c?.(h.checkingAccountNickName)}),ee=e.zeniAccountsConfig.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Te=ee[ee.length-1].annualPercentageYield.toString(),te=Ee(Fe($),$,$n.currency.currencySymbol).toUpperCase(),Ie=t.jsx(mt,{onSettingsClick:B,isBillPayEnabled:S,isExpressPayEnabled:a,zeniBankProps:Se,analytics:s});return t.jsxs(fn,{children:[N?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.createPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.createPopUpInfo.description}),primaryButtonText:l.zeniAccountList.createPopUpInfo.primaryButtonText,isLoading:e.newCheckingAccount.fetchState==="In-Progress",formId:$e,secondaryButtonText:l.zeniAccountList.createPopUpInfo.secondaryButtonText,style:{background:o.overlayLight},action:ve,children:t.jsx(Ge,{...y,children:t.jsx("form",{id:$e,onSubmit:Be,style:{height:n.sp8,width:"80%",marginBottom:n.sp5},children:t.jsx(Ue,{type:"text",name:"checkingAccountNickName",placeholder:l.zeniAccountList.createPopUpInfo.placeholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:n.sp7,textAlign:"left",width:"100%",background:Ne(y.formState.errors,"checkingAccountNickName")===!0?o.importantLight:z.colors.grey5,border:`1px solid ${z.colors.grey2}`},registerOptions:{required:!0,validate:h=>!!h}})})})}):null,k?t.jsx(W,{titleComponent:t.jsx(t.Fragment,{}),descriptionComponent:t.jsx(t.Fragment,{}),primaryButtonText:l.zeniAccountList.addFundsPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.addFundsPopUpInfo.secondaryButtonText,action:Le,primaryButtonWidth:130,secondaryButtonWidth:130,containerStyle:{minWidth:352,maxWidth:544,width:"90%"},children:t.jsxs(kn,{children:[t.jsx(Re,{width:150,height:150,shouldDisplay:!0,animationInLoop:1,styles:{marginBottom:-n.sp4}}),t.jsx(bn,{children:l.zeniAccountList.addFundsPopUpInfo.title}),t.jsx(jn,{children:l.zeniAccountList.addFundsPopUpInfo.description.replace("__rate__",Te).replace("__amount__",te)}),t.jsx(ht,{transferAmount:5e5,currentAccountBalance:0,zeniAccountsConfigDetail:e.zeniAccountsConfig,minStep:.1,setTotalBalance:ze,setYieldEarned:je}),t.jsxs(An,{children:[t.jsxs(Cn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarned,t.jsx(zn,{children:G("0,0",{amount:be,currencySymbol:"$"})}),t.jsx(fe,{variant:"small-description",maxWidth:"280px",data:l.zeniAccountList.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,display:"flex",placement:"left",children:t.jsx(vn,{})})]}),t.jsxs(Sn,{children:[l.zeniAccountList.transferDrawer.calculator.footerText.for,Intl.NumberFormat("en",{currency:"USD",notation:"compact",style:"currency",minimumFractionDigits:0}).format(Ae)]})]})]})}):null,ke?t.jsx(W,{titleComponent:t.jsx(ie,{children:l.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(ne,{children:l.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:l.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:l.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Pe,primaryButtonWidth:130,secondaryButtonWidth:130}):null,t.jsx(Oe,{title:l.zeniAccountList.tabsById.zeniAccounts,onBackClick:v,showMenuIcon:M==="medium-compact"||M==="small",backgroundColor:z.colors.grey4,style:{zIndex:3,...C.largeSemiBold.cssObject},rightSideComponent:Ie,onClickMenuIcon:T,hideSearchBtn:!0,source:"ZeniAccountListViewPage"}),t.jsx(yn,{isLoading:e.fetchState==="In-Progress",children:t.jsx(Tt,{zeniAccountsConfigDetail:e.zeniAccountsConfig,zeniAccountListView:e,onZeniAccountRowClick:Ce,onAddFundClick:f,handleAddInternalAccountClick:()=>{s.trackAccountsListPageClicked("Add Business Account"),r(!0)},analytics:s,onReloadTransactions:L,maxInsuredAmountString:te,onTreasuryGetStartedClick:I,treasuryYieldPercentage:w,treasuryInsuredAmount:p,showTreasuryPromo:A})})]})},fn=i.div`
391
391
  display: flex;
392
392
  min-height: 100%;
393
393
  flex-direction: column;
@@ -404,12 +404,12 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
404
404
  flex-direction: column;
405
405
  align-items: center;
406
406
  margin-top: ${n.sp4};
407
- `,jn=i(We)`
407
+ `,bn=i(We)`
408
408
  padding-left: ${n.sp8};
409
409
  padding-right: ${n.sp8};
410
410
  color: ${e=>e.theme.colors.primary};
411
411
  word-break: break-word;
412
- `,bn=i(Ye)`
412
+ `,jn=i(Ye)`
413
413
  color: ${e=>e.theme.colors.hero};
414
414
  padding-left: ${n.sp6};
415
415
  padding-right: ${n.sp6};
@@ -428,7 +428,7 @@ import{J as Q,a9 as Me,aR as _e,y as De,aZ as Ee,aQ as Fe,V as t,cr as W,p as o,
428
428
  color: ${o.success};
429
429
  display: flex;
430
430
  align-items: center;
431
- `,Sn=i(b)`
431
+ `,Sn=i(j)`
432
432
  color: ${e=>e.theme.colors.grey1};
433
433
  display: block;
434
434
  `,vn=i(ye)`
@@ -1,4 +1,4 @@
1
- import{ax as N,fY as D,V as a,ab as P,h5 as p,hA as f,F as _,o as c,h7 as $}from"./index-C9hDAJ7o.js";import{n as g}from"./mui-BQR0Ruo4.js";import{bS as I}from"./zeni-epic-state-BnsQ52n7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c9c30f67-69fe-4f4d-8db5-9f54cff27062",e._sentryDebugIdIdentifier="sentry-dbid-c9c30f67-69fe-4f4d-8db5-9f54cff27062")}catch{}})();const n=_.getLocalizedStrings().spendManagement.zeniAccounts,y=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},b={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[m,b,v,M],z=[v,b,m,M],E=({zeniBankProps:e,isBillPayEnabled:i,isExpressPayEnabled:r,analytics:h,onSettingsClick:k})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||D(l),w=I(l.loggedInUserRoleMap),x=y.filter(t=>t.value==="accountStatement"),d=i===!0?O:z,u=r===!0?d:d.filter(t=>t.value!=="sendMoney"),S=w?u:u.filter(t=>t.value!=="payBill");return a.jsxs(B,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?a.jsx(A,{onClick:k,"data-testid":P("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=f(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?x:y,title:n.moveMoney.title}),s?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=f(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:S,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},A=g($)`
1
+ import{ax as N,fY as D,V as a,ab as P,h5 as p,hA as f,F as _,o as c,h7 as $}from"./index-Dw_MX6AZ.js";import{n as g}from"./mui-DdxImnN0.js";import{bS as I}from"./zeni-epic-state-1oOVJQJ4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c9c30f67-69fe-4f4d-8db5-9f54cff27062",e._sentryDebugIdIdentifier="sentry-dbid-c9c30f67-69fe-4f4d-8db5-9f54cff27062")}catch{}})();const n=_.getLocalizedStrings().spendManagement.zeniAccounts,y=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},b={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[m,b,v,M],z=[v,b,m,M],E=({zeniBankProps:e,isBillPayEnabled:i,isExpressPayEnabled:r,analytics:h,onSettingsClick:k})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||D(l),w=I(l.loggedInUserRoleMap),x=y.filter(t=>t.value==="accountStatement"),d=i===!0?O:z,u=r===!0?d:d.filter(t=>t.value!=="sendMoney"),S=w?u:u.filter(t=>t.value!=="payBill");return a.jsxs(B,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?a.jsx(A,{onClick:k,"data-testid":P("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=f(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?x:y,title:n.moveMoney.title}),s?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=f(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:S,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},A=g($)`
2
2
  cursor: pointer;
3
3
  min-width: ${c.sp4};
4
4
  width: ${c.sp4};
@@ -1,4 +1,4 @@
1
- import{y as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as he,o,cF as ge,ar as Z,i as M,ab as F,af as j,F as _,R as we,aZ as z,aQ as k,aU as N,bz as je,x,p as A,cG as ye,aV as $e,bb as fe,u as L,H as y,a as C,an as T,ag as Se}from"./index-C9hDAJ7o.js";import{a as W}from"./sentry-Ckvw8Zf1.js";import{n}from"./mui-BQR0Ruo4.js";import{M as B}from"./usp-line-BBd1wKwW-54Q8nh58.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1955eabf-104a-4a98-8643-c0062ef80235",e._sentryDebugIdIdentifier="sentry-dbid-1955eabf-104a-4a98-8643-c0062ef80235")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(L[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,L[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{y as ae,J as v,aR as ce,ax as xe,fY as me,V as i,bD as pe,fx as ue,c as he,o,cF as ge,ar as Z,i as M,ab as F,af as j,F as _,R as we,aZ as z,aQ as k,aU as N,bz as je,x,p as A,cG as ye,aV as $e,bb as fe,u as L,H as y,a as C,an as T,ag as Se}from"./index-Dw_MX6AZ.js";import{a as W}from"./sentry-DBSEoG3b.js";import{n}from"./mui-DdxImnN0.js";import{M as B}from"./usp-line-BBd1wKwW-CpqqX4MO.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1955eabf-104a-4a98-8643-c0062ef80235",e._sentryDebugIdIdentifier="sentry-dbid-1955eabf-104a-4a98-8643-c0062ef80235")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(L[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,L[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as be,J as Se,aR as O,a9 as we,cH as xe,aW as B,V as t,ff as Ae,p as Pe,x as p,bD as Ce,k as ke,ad as ve,fy as Fe,dR as Te,fz as Ve,bx as Ie,aS as ze,o as De,fB as Ee,F as je,u as a,am as Ue}from"./index-C9hDAJ7o.js";import{a as g}from"./sentry-Ckvw8Zf1.js";import{n as S}from"./mui-BQR0Ruo4.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-CMqblFXF-CGuab5Cf.js";import"./liveblocks-NP7ye8lf.js";import"./core-XAP_yXKl.js";import"./recharts-DkFolWRg.js";import"./zeni-epic-state-BnsQ52n7.js";import"./lottie-DhXcx4Hv.js";import"./analytics-Dm6Rdmk5.js";import"./lexical-CgNStNGD.js";import"./utils-B4eJ0QQL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="cc2c6222-8328-4296-9883-2e51a92dd1e7",e._sentryDebugIdIdentifier="sentry-dbid-cc2c6222-8328-4296-9883-2e51a92dd1e7")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:W,spendManagement:_e}=je.getLocalizedStrings(),{zeniAccounts:$}=_e,{zeniAccountSetUp:I}=$,{setUp:z}=W,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:Y,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const x=be(),i=Se(),[A,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(y),P=O(u.fetchState),F=we({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>R(l),[l]),values:R(l)}),fe=F.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[v];if(b.includes(v)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&j==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,j]),g.useEffect(()=>{const b=F.watch((k,{name:n})=>{n!=null&&k!=null&&xe(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,T=D?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const he=T?W.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=x.mode==="light"?new B(x.colors.brandColorJadeLight):new B(x.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Y?.()};return t.jsxs(Le,{children:[t.jsx(Ae,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:x.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Re,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:he}),ge?t.jsx($e,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...F,children:t.jsx("form",{id:L(_),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:$.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),T&&!C?t.jsx(ze,{formId:L(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:T&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},R=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},Re=S.div`
1
+ import{y as ye,J as Se,aR as O,a9 as we,cH as xe,aW as B,V as t,ff as Ae,p as Pe,x as p,bD as Ce,k as ke,ad as ve,fy as Fe,dR as Te,fz as Ve,bx as Ie,aS as ze,o as De,fB as Ee,F as je,u as a,am as Ue}from"./index-Dw_MX6AZ.js";import{a as g}from"./sentry-DBSEoG3b.js";import{n as S}from"./mui-DdxImnN0.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-CcH5BomT-DAavyljg.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./zeni-epic-state-1oOVJQJ4.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="b51b53de-0326-4eba-a9fc-77e28214769a",e._sentryDebugIdIdentifier="sentry-dbid-b51b53de-0326-4eba-a9fc-77e28214769a")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:W,spendManagement:_e}=je.getLocalizedStrings(),{zeniAccounts:$}=_e,{zeniAccountSetUp:I}=$,{setUp:z}=W,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:Y,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const x=ye(),i=Se(),[A,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(b),P=O(u.fetchState),F=we({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>R(l),[l]),values:R(l)}),fe=F.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[v];if(y.includes(v)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&j==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,j]),g.useEffect(()=>{const y=F.watch((k,{name:n})=>{n!=null&&k!=null&&xe(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,T=D?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,P,u.fetchState]);const he=T?W.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=x.mode==="light"?new B(x.colors.brandColorJadeLight):new B(x.colors.brandColorJadeDark),be=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Y?.()};return t.jsxs(Le,{children:[t.jsx(Ae,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:x.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Re,{windowSize:i,children:[t.jsx(We,{windowSize:i,children:he}),ge?t.jsx($e,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...F,children:t.jsx("form",{id:L(_),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{onClick:be,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:$.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:X,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),T&&!C?t.jsx(ze,{formId:L(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:T&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},R=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},Re=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{F as r,V as t}from"./index-C9hDAJ7o.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};
1
+ import{F as r,V as t}from"./index-Dw_MX6AZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};
@@ -1,4 +1,4 @@
1
- import{V as f,ab as z,o as i,p as j,aj as Y,F as V}from"./index-C9hDAJ7o.js";import{a as w}from"./sentry-Ckvw8Zf1.js";import{n as m}from"./mui-BQR0Ruo4.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="94e17151-8cdc-403f-8dde-efb2ffeb805a",t._sentryDebugIdIdentifier="sentry-dbid-94e17151-8cdc-403f-8dde-efb2ffeb805a")}catch{}})();const I=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=v(r);k(r),$(o),x(p)},T=e=>`${D(e)}${I.transferDrawer.calculator.sliderTooltipText}`,D=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],v=e=>{const r=D(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=v(e);k(e),x(o),$(r)},C=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),C(e,d,n,l)},[g,y,x,d,l,$,n,C]),f.jsxs(_,{sliderValue:c,children:[f.jsx(L,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),f.jsx(B,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),f.jsx(G,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),f.jsx(H,{children:n.map((e,r)=>f.jsx(N,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:E(r)},children:f.jsx(X,{isSelected:c>=r,children:F(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},E=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=m.input`
1
+ import{V as f,ab as z,o as i,p as j,aj as Y,F as V}from"./index-Dw_MX6AZ.js";import{a as w}from"./sentry-DBSEoG3b.js";import{n as m}from"./mui-DdxImnN0.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="94e17151-8cdc-403f-8dde-efb2ffeb805a",t._sentryDebugIdIdentifier="sentry-dbid-94e17151-8cdc-403f-8dde-efb2ffeb805a")}catch{}})();const I=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=v(r);k(r),$(o),x(p)},T=e=>`${D(e)}${I.transferDrawer.calculator.sliderTooltipText}`,D=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],v=e=>{const r=D(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=v(e);k(e),x(o),$(r)},C=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),C(e,d,n,l)},[g,y,x,d,l,$,n,C]),f.jsxs(_,{sliderValue:c,children:[f.jsx(L,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),f.jsx(B,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),f.jsx(G,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),f.jsx(H,{children:n.map((e,r)=>f.jsx(N,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:E(r)},children:f.jsx(X,{isSelected:c>=r,children:F(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},E=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;