@zeniai/web-cockpit-ui 1.14.93-qa → 1.14.94-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/dist/assets/{ACHDetailsPage-Cmt4zlsa-CDZiD7uq.js → ACHDetailsPage--3bIj7tB-3F9dwMR-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Bll3cTy1-b27VXKt9.js → AIPerformancePage-DBCeKLy6-DoFLATw5.js} +1 -1
  3. package/dist/assets/AccountInfoPage-CITo61GF-CgwHepBH.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-9wbA8niq-BQPlrhif.js → AccountInfoPageContent-Zb49sPy6-B7XnQcW_.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CLvVkdLW-DCJDL5e-.js → AccountLockedInfoModal-BcokXO2D-CS3sAEh5.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BXa1TZA0-CAajw4V5.js → AccountReconDetailsDrawerPage-BWydimgX-dIMZ3KX3.js} +3 -3
  7. package/dist/assets/{AccountRow-Ba39SxP8-BDy0Ghaj.js → AccountRow-XnGMYfcj-CkjY0dM_.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-W5TW8HPU-BTkK4mI8.js → AccountsPromoCardStack-BQeRFxKs-CSqaKnps.js} +13 -13
  9. package/dist/assets/{AddAddressForCardDrawer-nEnaGKnm-CAOQViJ5.js → AddAddressForCardDrawer-DOXNDswm-JiOm9hW4.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CQYHG0Yj-0jpf7AZf.js → AddToWalletPage-D4yEGRLZ-9f9p7H0-.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BWCU11pF-BQ-PtZ_4.js → AgingReportsPage-Bos6Ptg1-u0-8eZRf.js} +3 -3
  12. package/dist/assets/{AllUserItems-DPxoQeZA-bZH6ly1p.js → AllUserItems-JjQPLLSr-CHIofzkk.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-cslGsO08-DaNljmbC.js → ApAgingDetailPage-Y4VWhY78-OPeQ-zhp.js} +2 -2
  14. package/dist/assets/{AppBasePage-BZINcjPW-BkU74Qad.js → AppBasePage-CaAadL3t-B5dacIto.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-V7jCH_90-BcsXCj8u.js → AppDrawerContent-BKsLlcGq-C-I5tgBW.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BC6CLesU-3XYsHbPE.js → ApprovalRulesSettingsPage-sHR8nTbf-CvweKKJv.js} +1 -1
  17. package/dist/assets/{ArAgingChart-C7VtW0AI-DEMe1eER.js → ArAgingChart-Cn2M7EaL-CioxnnU1.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-Bttq4jQR-CnsZwMCV.js → ArAgingDetailPage-vdpIT5_o-BuX_9MW_.js} +5 -5
  19. package/dist/assets/{AttachmentView-BijZrB02-D9PbSyO-.js → AttachmentView-QyMOK54a-_Wag7_iK.js} +1 -1
  20. package/dist/assets/{BankAccountSection-De0m3zrf-BQt18cNm.js → BankAccountSection-BexfgJ02-CJbDgNfM.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DoqOr9h0-DbOY-a-J.js → BankAccountWarningSection-MLEqvFgR-BxBAHmR8.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BaySatUW-FG6Z5V4J.js → BankConnectionsSettingsPage-DP9KRNaJ-CmsjOmvw.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Bg_3myu0-Ce1Egex3.js → BillDetailPage-jNE4rg05-BvKca9U-.js} +1 -1
  24. package/dist/assets/BillPayApprovalRuleDetailPage-C8hROA4_-CB0BAa6k.js +27 -0
  25. package/dist/assets/BillPayApprovalRulesPage-BQywFC8e-BuMp1BIY.js +235 -0
  26. package/dist/assets/{BillPayPromoPage-SUtLQemf-gCiMxmlk.js → BillPayPromoPage-D2OmNki0-COFGRb92.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BbIjaE2K-DSFxL_SK.js → BillPaySetUpPage-C81gx8-a-DAG36bWE.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-Bmd6ET1I-DQb7bbNw.js → BillingSettingsPage-CIUisdZK-mQpXJmxB.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CYSMvAbC-BflldkPi.js → BillsBulkReviewDrawerPage-DqjW9AqP-D7YAQNvr.js} +1 -1
  30. package/dist/assets/{BoxItem-B8HVRhgE-CWOe4vur.js → BoxItem-YBSbdQ7d-D8N3mTZg.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Cn1b1hk4-045nVDqZ.js → BusinessVerificationPage-DeJbdegJ-n2Ac3MMR.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BcJnpRxI-BBy68c92.js → CardNumberSubText-Bq9G3f38-BaBJQ2OX.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BkIotpWn-Dl5OkwTJ.js → CashbackDetailPage-C-0eaJVF-Bmh2Azca.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-kKKhppzB-DdFxPSZ5.js → ChargeCardDetailPage-CBB5up99-C7PliMpM.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-CP778-GK-CbLxjXoj.js → ChargeCardListPage-52TDMfjH-XC6zwUdm.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DBryLHST-WKtHlBqi.js → ChargeCardListTable-BdHKiQtr-BoKeTaBP.js} +11 -11
  37. package/dist/assets/ChargeCardPromoPage-D43dBHNx-Dmge2_bT.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-m8dUXi38-BoklBBdh.js → ChargeCardSetupPage-CgzI8qMq-8aOP9gWV.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-Dq5NpUXk-DFKaCFU_.js → ChargeCardStatementsPage-C1PYOcuH-DSHTFs6J.js} +6 -6
  40. package/dist/assets/{CheckDepositDrawerPage-BJQ2GSoP-B2ngCuBp.js → CheckDepositDrawerPage-CrYCkxKl-DX8fhtud.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-l16Ixpgb-DLPmakbL.js → CollapsableReportTable-CvXUxopt-CWXKqXg0.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-mKcrRkb5-CKYOdtvi.js → CompanyOfficerDetailsSection-DYAECWJz-C-5qszuR.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-DUwjb7jY-5By1D8Ys.js → CompanyPassportCard-CLoIl-hE-CX-RLpgg.js} +2 -2
  44. package/dist/assets/{CompanyPassportPage-mQ_Le1I1-DjufVjcH.js → CompanyPassportPage-B3opPlfY-CffcaeWU.js} +13 -13
  45. package/dist/assets/{CompleteProfile-CesiGAex-CGlxomCD.js → CompleteProfile-DKCP0ZOq-CCpcvdBI.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-CXF_94LB-BPT2fe0G.js → ConfettiBurst-Ccs36Y8q-BoEyotYe.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-BMVOhEEP-BYnaIOr4.js → CreateOrEditVendorPage-CC5jroI_-C5qdwHAS.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-Cl4vJBjO-jN6hG5nU.js → CreditCardPaymentDrawerPage-BNSfaY2k-4QGMMrZP.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-CvnrYpdi-2Zo75Egb.js → CurrencySelectField-CfFOlEnM-CfS03uxO.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-CmengYgm-BvZ0VfeS.js → CustomerOnboardingActivationPage-Cac_xdpd-DG_j3gPE.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-DOZu4r0V-CARfFPsC.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-hF2fjE7f-C4vs0VMm.js → CustomerOnboardingDetailPageSkeleton-Cktian-X-Ch6gtFyy.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-B-pbVz1_--ihgoaxq.js → CustomerOnboardingNoStepsPage-BVW1Hd-G-CEYYL4XK.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-CUj-SOSh-C8piDFOY.js → CustomerOnboardingPage-CSTODxiL-B0YN-L_5.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DLJg9lqc-BSOnv8FC.js → CustomerOnboardingProductSuitePage-dcjDfxm3-DmmzRM-K.js} +1 -1
  56. package/dist/assets/{Dashboard-DUBT_4AU-02rhMcb1.js → Dashboard-DHwjF8AD-euUt_v4D.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-cTPn6w4q-8aV02WCJ.js → DashboardReportPage-BbFqvGcc-Bm6bvb04.js} +10 -10
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation--y1-phUW-Bt_H2fey.js → DashboardSidebarBackgroundAnimation-Aepv0x8n-BRMC8BKu.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-BJ6rNbQF-VwiYfZOw.js → DepositAccTransactionItem-B6bYU73--Bk-F2M5u.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-BXu7yVC4-DHoc-nzx.js → DepositAccTransactionListPage-DdCwnDuw-DoIQ6X_F.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-D5wDMrfR-Dnw1Nv9m.js → DomesticWireDetailsPage-DXlw9Ok--f2WgPebu.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-BF8Uzj65-DU4IzGTl.js → DownloadOverlay-KKP34aVT-GDmhikON.js} +1 -1
  63. package/dist/assets/{DrawerPage-4QqiD5ag-CHJx5rEc.js → DrawerPage-DXGL0DM7-Bc-jzyXP.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-BFROUzlu-DbH6MX1W.js → EditPeoplePage-DWmJ1PpR-B171l_6f.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-Bz32u6U5-ByvxQ-VQ.js → EditReimbursementDetailPage-B_5V1IzS-CpmdAjAk.js} +1 -1
  66. package/dist/assets/EntityDetailPage-BUzV8V9O-CDFw7Jz4.js +18 -0
  67. package/dist/assets/{EntitySummarySection-0nKZeBKn-CxDzlgPW.js → EntitySummarySection-CdjupOWB-Bdi92weZ.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-Dvyn5ovf-Dh_1NuUv.js → ExpenseAutomationOverviewPage-Bx47Uuzu-r5x-Txwb.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-DPmIOATd-H9uO6DCm.js → ExpenseAutomationPage-aVCW740N-y9h0gDFl.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-DGTh3qGM-hx60EgHF.js → ExpressPayPage-xIDJP3---15Mg_KmG.js} +8 -8
  71. package/dist/assets/{FeaturePreviewPage-CHUVkqak--PnBOI8w.js → FeaturePreviewPage-BeGkbhpj-XrVvhthA.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-C_pWSlPc-CNxhobiG.js → FollowStepsSection-9Bp032CO-BrD2qQBR.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-BjPOnObQ-BoVAoUv0.js → GlobalReviewListPage-BKgbn5KU-DMdX8GV6.js} +1 -1
  74. package/dist/assets/{InformationCardStack-DvFu-gjh-BSt4ac6w.js → InformationCardStack-DR09Frl5-og6T9hD3.js} +6 -6
  75. package/dist/assets/{InsightsCardStack-CR3wSnhE-CeoxR_4s.js → InsightsCardStack-Bs9n7ddB-B2Kwtl5L.js} +5 -5
  76. package/dist/assets/{InsightsSection-DCFjudcA-ZH-CYvlE.js → InsightsSection-Bt4Z2mKl-xYOXRNGL.js} +2 -2
  77. package/dist/assets/{IntegrationsSettingsPage-DpPc99qg-DfOzY_vz.js → IntegrationsSettingsPage-Ce3RYvgj-Bxed6b4a.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-xXEk6Ubv-CcZYQF-w.js → InternationalWireSwiftDetailsPage-Dl6FL0Lc-BaPHN9iA.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-uh0GqYQA-DPUb5rUD.js → InternationalWireVerificationPage-MYSltOya-BZ90_Q4i.js} +5 -5
  80. package/dist/assets/{InviteFormPage-5xqk5ISe-LF5dwR2M.js → InviteFormPage-C0ezbQfC-ClPGWuNA.js} +1 -1
  81. package/dist/assets/{InvitePageListView-CpmTnQLj-t_m815b9.js → InvitePageListView-SMhlCNKA-B22x1b9R.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-BeCWfFpI-qVy_wkS4.js → InvitePeoplePage-Dna0gg0J-kTwq0Am9.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-BvaKEakI-By_ZVvOJ.js → InvoiceUploadSection-QGU5U32X-Bt28YEXu.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-Bomvo_PH-DPoESmHo.js → IssueChargeCardPage-jai5Nd4c-BHDpP46s.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-b4zlBP-g-DhADQjsR.js → LabeledAddressValue-cvWoRExB-DOimN9ER.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DpcuqwLy-Cmfk083A.js → LabeledAddressValueField-BewnvHGP-Cy17-5a4.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-BTjbeJMZ-Cg7yDZmx.js → LabeledControlledCheckBoxField-DFKeD5HK-jfbQYMID.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-D_oWjB4_-Bia0PLfa.js → LabeledCreatableSingleSelectField-nc8iZ1C1-CV4i9q1e.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-dtnakMLl-jYpuR46_.js → LabeledDocumentField-DmRNRSkb-CDplxK9C.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDtxGo1u-VTNlZkCL.js → LabeledDropDownFormattedTextField-BP1jmZf7-D3OI0FNX.js} +1 -1
  91. package/dist/assets/{LabeledText-CUs3VIof-Cvm8EKo3.js → LabeledText-CIupsEGL-vKnChPk0.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-q3jCk6Er.js → LabeledUserSingleSelectWithSubtitlesField-CeZEGuNW-DnFoIROQ.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-DYkmOsOP-BPuWz2hY.js → LabeledZeniRolesDropDownField-CDmiz3py-JlLIrijY.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-DbP6jfzn-fKg3yGaJ.js → LinkJETransactionPage-BtUXXguK-BX6h2lWE.js} +1 -1
  95. package/dist/assets/{LockCardPage-CWEZyzEM-BSGmLwo3.js → LockCardPage-TzEwLGD1-Cmclt9pm.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-BQ9JPBTS-CsnR6U3v.js → LowBalancePopup-BWD6Kz-D-JhqQW5Xo.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-CZQ8tUTD-Da6izWW_.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-DHZY9sKi-DpYSqAI_.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-BJtMjz1M-Dw8wDVtb.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DU1RM5NI-ChKPq-l1.js → MagicLinkSuccessPage-DQAUDzEV-D_oG7NAX.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-RWEjrx8m-C9NF9igZ.js → MagicLinkTitleSection-JcGSlbn4-wY3-HkBx.js} +1 -1
  102. package/dist/assets/MailingDetailsSection-Ch5XvR8o-DHMj4gz4.js +21 -0
  103. package/dist/assets/{Menu-BTZYMOTT-Dr0t7odP.js → Menu-B05IRjpP-oB6ZIzEi.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DufaL9n8-DDos_p1w.js → MyBankConnectionsSettingsPage-D2a7LgLg-CVhBWNpq.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-DwCUyRec-DFxL-ZIz.js → MyPendingActivationChargeCardListPage-pDexjhqy-DP1wPJrc.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-geduKqxy-s7eWbMFw.js → MyProfileSettingsPage-CRkrD2Bn-FBlqtq-o.js} +2 -2
  107. package/dist/assets/{NavBarWithPicker-edkm8kW--BSVNjduX.js → NavBarWithPicker-9HjZDzt5-FKds7wXE.js} +1 -1
  108. package/dist/assets/{NavigationArrow-DAOz2wst-tG8IGOKf.js → NavigationArrow-CgBj8o4H-BlFGUhy1.js} +1 -1
  109. package/dist/assets/{NavigationDots-Dm8SYcdL--7WpuL09.js → NavigationDots-BcSXYcwF-cwaSYMDv.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-enaZFSVb-DInVAo0j.js → NewGlobalMerchantPage-Dv9JrWDT-BA8nAIgM.js} +1 -1
  111. package/dist/assets/{NoDataChart-BIcLmdso-CfY1R0LV.js → NoDataChart-tkUQHi-b-C5CjlXPt.js} +1 -1
  112. package/dist/assets/{NoDataTable-C9ywvwy4--OJw2Ozq.js → NoDataTable-DHZ1gQeV-DFGtLWam.js} +1 -1
  113. package/dist/assets/{NotFoundPage-B0Pfc4vD-D1bPY-GY.js → NotFoundPage-D59UVi8i-5MNYbcKK.js} +7 -7
  114. package/dist/assets/{NotificationSettingsPage-Di4KhoPI-BvChH4Ms.js → NotificationSettingsPage-xVOogGxf-BuNP_ADs.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-CHb7phwi-D6AWL70s.js → NotificationsListConfig-CkDLXlK_-Dyu4QQzt.js} +1 -1
  116. package/dist/assets/{NotificationsPage-B4KMZZ0V-hcFdhwJL.js → NotificationsPage-C8zx5kJx-Dl-4CqVn.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-CAxLWg7x-CtZ9giOs.js → OpExByVendorPage-BaUEnLMo-DqlhH9_M.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-CimFomY0.js → OverlayContainerPage-Daz3A7cI-CjSleqHo.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-Dx56-ypM-DK1GJPJa.js → PandLWithForecastPage-BKWEOfwP-voM5FybB.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C8QwChEK-BLjfO0Lx.js → PaymentAccountSetupBillingAddressSection-Ddm0Q_3J-iDE-MOKu.js} +1 -1
  121. package/dist/assets/{PeoplePage-CjD6uKA--BHaPhKgZ.js → PeoplePage-ChBsx1YC-C_Fl1jcc.js} +1 -1
  122. package/dist/assets/Preview-DWEhp9iP.js +1 -0
  123. package/dist/assets/{ProductsCarousel-DzOaqLVq-DpOWg2CM.js → ProductsCarousel-CaOQupY4-Bxf4CH6R.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-B1h9AEH0-CHuvtaI2.js → PromoBaseCards-DeJ4J5Lp-BRCdntYT.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-Bv6unk3C-C4_jlkWG.js → QBOConnectionDialog--nz5v12t-BznyDbQp.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-BTjj7g98-Dapfrzs_.js → QBOSetupSection-DQTH1dAT--WL2Dx1Z.js} +1 -1
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-BottOscg-CAHU3Hml.js +24 -0
  128. package/dist/assets/ReimbursementApprovalRulesPage-B46nrYDg-DD0XiWBs.js +237 -0
  129. package/dist/assets/{ReimbursementDetailPage-DnXsG55s-Dtagyh2_.js → ReimbursementDetailPage-DvSn2LUG-B9MjjUuK.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-Di39wgvD-BxNUKJJW.js → ReimbursementPromoPage-DRItpn0n-DjtSA1Xj.js} +1 -1
  131. package/dist/assets/{ReimbursementSetUpPage-CT5bs4wM-ByTF7QY9.js → ReimbursementSetUpPage-CRnE1XYI-C2_UvSyd.js} +4 -4
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BcB8hTar-BMbnui6b.js → ReimbursementsBulkReviewDrawerPage-C6Cn3AOg-WyMbQmuf.js} +1 -1
  133. package/dist/assets/{ReloadCard-BGPtXAV7-XTkROFfl.js → ReloadCard-CRQf0INS-CM9HcBcK.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-gEKTiiSk-yAHt6AaJ.js → ReportTableViewSelector-Dj9qmDS0-C79_BFmS.js} +4 -4
  135. package/dist/assets/{ReportsPage-Ctvnzlk1-9xU8MY_m.js → ReportsPage-BJmkDtu3-BHlyDsBo.js} +5 -5
  136. package/dist/assets/{RevenueChart-D1PfVLk0-1BQEFyGm.js → RevenueChart-LvTct9qg-CqMmRuwP.js} +14 -14
  137. package/dist/assets/{ReviewDetailsPage-Ynw6pln--CN0sJcfC.js → ReviewDetailsPage-CDWKsdgl-_lQ4M5E9.js} +52 -52
  138. package/dist/assets/{ReviewOverlay-DQZwNpFY-BpRxW5CE.js → ReviewOverlay-Bh8LAnRM-CyjKd25e.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-DbQ4ezrP-CEMERHZy.js → RoleWithToolTip-BHHwWcYs-BR4B_g9G.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DlqQBt-s-BtvHlj3c.js → ScheduleDetailsFixedAssetsPage-C_nki9xG-C_v2_vCQ.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsPage-CrVetPy7-12CzluPZ.js → ScheduleDetailsPage-BXmAqbuh-Gg4bs2eh.js} +1 -1
  142. package/dist/assets/{ScheduleSequenceTable-B7pQ00z8-B7tyn4Md.js → ScheduleSequenceTable-BePVgFIB-BxJLrQ2I.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-d0ZspmbS.js → ScreenRoutes-xhTHWLYi.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-BAsI7p1f-BQKv5JAR.js → SetUpAccountSection-B1mXaFmw-BQBAmCi3.js} +1 -1
  145. package/dist/assets/{SignIn-CE6gxhI3-Cwe0hMEG.js → SignIn-B8qL3jmy-CehNtVNp.js} +1 -1
  146. package/dist/assets/SignInScreen-Cp3MQQbP.js +1 -0
  147. package/dist/assets/SpendManagementListViewPage-D-XwxN9o-C4dAHfpb.js +123 -0
  148. package/dist/assets/SpendManagementPerTabPage-CF7D2umh-zU9LbhKc.js +754 -0
  149. package/dist/assets/{SpendManagementSection-rHLuZG8_-wlUP3HQF.js → SpendManagementSection-CIqYxYxX-BVCp77Yh.js} +1 -1
  150. package/dist/assets/StatementItem-Cj9_LMwP-iOXv6bUO.js +31 -0
  151. package/dist/assets/{StatementsPage-5oimgNHp-Cik2GNOK.js → StatementsPage-CB8LocUZ-e2Dh9l46.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-CLCkXs_4-BLM4_oql.js → StatusSwitcher-DetjWSRH-Q0yUcFVR.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-DDR7LrDO-B46o4hWR.js → SubTabSwitcher-DNqrmpKa-CF4L1Kwg.js} +1 -1
  154. package/dist/assets/{SummaryCard-Cg5UVud3-D024tZI0.js → SummaryCard-CxlxmBvk-B-SyMhB-.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-6_zt2ePp-DjEWnpm8.js → TaskManagementPage-zHTW1LJ--Dqvt7j5c.js} +15 -15
  156. package/dist/assets/{TimeRangeSwitcher-BTx3d66N-wus2PWOy.js → TimeRangeSwitcher-8D64-X4u-DSKeQDPn.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-BkGiMDhd-OU0F34Ma.js → TimeframeSwitcher-YicRGCkf-D-mysr-q.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-M554ai9V-CRoAjStF.js → TimeframeSwitcherWithToggle-mP6ezXyM-B9RCQQMF.js} +3 -3
  159. package/dist/assets/{TopExCard-ym2uAvUy-DnigppX5.js → TopExCard-BDEoKFUO-Cqks_MY0.js} +10 -10
  160. package/dist/assets/{TopExDetailPage-DU1Qj5ea-LRwIFDCO.js → TopExDetailPage-CLUf9sHg-DjgQ-dJN.js} +8 -8
  161. package/dist/assets/{TransactionDetailPage-BHyBhrM7-BYi-GSuY.js → TransactionDetailPage-C-GKDIp2-oZAwumRI.js} +1 -1
  162. package/dist/assets/{TransactionList-CIbSavhJ-1mjim1La.js → TransactionList-BqQVYWs_-CYNYQaes.js} +1 -1
  163. package/dist/assets/{TransactionListBig-kC4b3DAu-BmaMPZxd.js → TransactionListBig-CDgdq8hU-BFzaq7Iz.js} +1 -1
  164. package/dist/assets/{TransactionListPage-Ci98GcF7-DNyraU_a.js → TransactionListPage-CyGTX1pW-Cj8J8ecy.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-DI4kq_vO-B82fS_UE.js → TransactionVendorDetailPage-NKocfHyN-C_fZiZg1.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-B342yNDJ-B7sPLTpd.js → TransferDrawerPage-qNh4Fww2-CNaDS1Go.js} +1 -1
  167. package/dist/assets/{TreasuryOverviewPage-cvOuWLTK-B1Ra99a3.js → TreasuryOverviewPage-D1RQYkoX-CQ3CkOfI.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage-DyseS2l1-w9bsCAsi.js → TreasuryPromoPage-najiDjYG-CYR1JzfB.js} +1 -1
  169. package/dist/assets/TreasuryStatementsPage-CRR-Df5x-DF9p1Ylz.js +58 -0
  170. package/dist/assets/{TreasuryTaxLetterPage-DjV36uFi-Bi_ZZ4SJ.js → TreasuryTaxLetterPage-vKXs7eCx-B9A61B43.js} +2 -2
  171. package/dist/assets/{TrendChart--yie2Xkp-Ctp4-mkm.js → TrendChart-DtubLSsW-C9uVL_nf.js} +2 -2
  172. package/dist/assets/{TrendWithTransactions-DVLdmgtU-S2aCQzJD.js → TrendWithTransactions-DB5hmoGk-BT0bTVEH.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-CRypWMwQ-CD5tyyJq.js → UncategorizedAccountsMappingPage-ldBfy4n9-BSd43gPp.js} +5 -5
  174. package/dist/assets/{UnitIntegrationPage-DU6Luklp-DXGJziz-.js → UnitIntegrationPage-DPHlAm3E-k8T3V2L9.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-jNiTn6qG-CyN0ip8w.js → UploadAdditionalDocumentOverlay-C2kqDNTp-CLCo9ZjN.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-BNA3GtkO-DBarOU6y.js → Vendor2FAPopup-_DrX-sZ2-C-ynpNGr.js} +1 -1
  177. package/dist/assets/VendorACHDetailsPage-ims8AKLH-Ckg60c1E.js +1 -0
  178. package/dist/assets/{VendorDetailPage-B6s7kOX--uMKcoPFP.js → VendorDetailPage-dh7UBGAL-gseaFndd.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-C_28sDKW-Ck0eXnl0.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DiVBfWTv-CUW53e28.js → VendorFiling1099EditablePage-CGEA0mkh-DtfOreYr.js} +1 -1
  181. package/dist/assets/{VendorFirstReviewPage-CuM6lK63-Dvp1nLKR.js → VendorFirstReviewPage-BGktoc9W-h6QMXY4Y.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CcTippeu-Cd-dat-9.js → VendorInternationalWireDetailsPage-DidLa6Yx-BHcPntRA.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-YqE835gy-EXKEVzqz.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection-zeM6PeT4-DbfJJIUQ.js → VendorsAccountsSection-BtjrsclQ-CCbXB7Vr.js} +1 -1
  185. package/dist/assets/{VerifyDevice-iKowLq-3-B1M5ehkG.js → VerifyDevice-DkibYc6v-B-zCOUZe.js} +7 -7
  186. package/dist/assets/{VideoPlayer-CN28Ho6V-C9X8iWgG.js → VideoPlayer-C8VeeJIx-Bo3SMitQ.js} +2 -2
  187. package/dist/assets/{VideoPopup-CfYmxIk4-CtU-zes6.js → VideoPopup-aA7dkXbZ-BQm8xqng.js} +4 -4
  188. package/dist/assets/{WarningsDrawerPage-C4jqovLJ-BX5GJuEL.js → WarningsDrawerPage-CA0EogPY-DmMnG6Y0.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-M045ginI-BmZ9yaIJ.js → ZeniAccountDetailPage-Z7ZXcJ98-BoMU7_sz.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage-C-eOjorO-BI7UOOes.js → ZeniAccountListViewPage-CllLl65J-C_iRgCJw.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-Dz9ssqU1-BUAdtMrT.js → ZeniAccountNavBarPieces-CHXbVcQE-vXZ3dsMQ.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-BxzNy8wF-B2j7-cEN.js → ZeniAccountPromoPage-DAtyHUfj-BSm4TiYG.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-zWKttj2U-Bxni_B2X.js → ZeniAccountSetupPage-Cy6_fMVK-C8cnPKU9.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-2oeOVh0P-CbjjvS5r.js → ZeniCopyright-D5JfDH77-jPfeHSFD.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-BADEO33A-CRBj7Za4.js → ZeniTransferAmountSlider-Bk2gg7DY-CUDntV_F.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-CE3qjZuH.js → add-to-wallet-DgdBD8_G-C5IoXTpL.js} +1 -1
  197. package/dist/assets/{analytics-B5pDs204.js → analytics-aL6KvWIc.js} +1 -1
  198. package/dist/assets/{analyticsHelper-C2XPB_2A-Cg5vkOR0.js → analyticsHelper-Cnk2OUU2-obG2D2We.js} +1 -1
  199. package/dist/assets/{analyticsHelper-C5DBFkb8.js → analyticsHelper-KEHx3dOo.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-DXn2IDql.js → arrow-south-east-round-PEovUgvH-TX5SKWFw.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-B7q3IbIp.js → auto-transfer-rule-mbafm5D3-Bk6z9OTx.js} +1 -1
  202. package/dist/assets/{chartTypes-PZyiFZrr-BuwhqnUh.js → chartTypes-CMIndIax-BEMOmico.js} +1 -1
  203. package/dist/assets/{commonDimensions-C_y3LIE8-DaT6d7Mw.js → commonDimensions-DSS8XDHZ-BEyzahKx.js} +1 -1
  204. package/dist/assets/{constants-sZKYfJG5.js → constants-BPxZQJPZ.js} +1 -1
  205. package/dist/assets/{core-DcqdNo0H.js → core-DesIUmVX.js} +1 -1
  206. package/dist/assets/{dash.all.min-DMmskpzZ.js → dash.all.min-C390RKsv.js} +1 -1
  207. package/dist/assets/{detailCommon-PTd6DPpO-DmTNZyzt.js → detailCommon-DWd4agOz-DxO_ewED.js} +3 -3
  208. package/dist/assets/{downloadPdf-BdoS2D6l-CiYpnZbY.js → downloadPdf-BCoq8NLc-6NV7wH9_.js} +1 -1
  209. package/dist/assets/{empty-BxmXnrZk.js → empty-SFYuBxta.js} +1 -1
  210. package/dist/assets/{empty-DnkbAo83.js → empty-VSZPEYlm.js} +1 -1
  211. package/dist/assets/{epic-Bx59pZdn.js → epic-BVf_osK2.js} +2 -2
  212. package/dist/assets/{gift-box-Cmt9OgIZ-B3o5Zg1h.js → gift-box-Cmt9OgIZ-TIfg-5OQ.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt--3ATT7Qt.js → graphic-no-data-l-DU4J8fDt-DuzN_8KG.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XpHCs2R-.js → graphic-no-data-net-burn-l-CzmycA0m-DXtlpj6J.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-jt5_DBPg.js → handshake-BPg58FML-CsRg4PlR.js} +1 -1
  216. package/dist/assets/{index-D6Zob7EU.js → index-9kMzLkcy.js} +1 -1
  217. package/dist/assets/{index-B5d0r7Yf.js → index-BoDHThmj.js} +561 -561
  218. package/dist/assets/{index-BVPSEWzG.js → index-C68_2S6E.js} +1 -1
  219. package/dist/assets/{index-DT-1tkPQ.js → index-CznijgRQ.js} +1 -1
  220. package/dist/assets/{index-BlQ_Oyyj.js → index-DUHbU2Cn.js} +1 -1
  221. package/dist/assets/{index-CwVOVIdt.js → index-Do2Bw3DR.js} +1 -1
  222. package/dist/assets/{index-C1nDAmoC.js → index-Ibs5bNMX.js} +1 -1
  223. package/dist/assets/{lexical-zpRxoSKS.js → lexical-WHFPYU-_.js} +1 -1
  224. package/dist/assets/{liveblocks-4VX4OJFQ.js → liveblocks-2fUZ-mzS.js} +1 -1
  225. package/dist/assets/{lottie-C2a9Y5yd.js → lottie-BC5QDLx3.js} +2 -2
  226. package/dist/assets/mapLoadingInProgressToTreeNode-Dgkep7PZ-BYp3zSrW.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-BoSMxCv6.js → mapSectionWithAcOnlyToTreeNode-DF-WWO6U-CTOVPeIK.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-CumKhTYV-Dl2RLlwx.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-BttFKWAb-HZT5Q3k5.js +1 -0
  230. package/dist/assets/{mapTimeframeBalancesToTreeNode-BooGIyls-RwkDj_oc.js → mapTimeframeBalancesToTreeNode-CBfPdKyR-CzUv0SrG.js} +1 -1
  231. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BREIWW8N-D82Zhv2q.js +1 -0
  232. package/dist/assets/{mui-CKwEUYbh.js → mui-DjUnBv6N.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-BxOlrbPR.js → page-detail-CWX5S47F-BzMdmGGr.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-D7ndbp4a.js → radio-default-CiSgisfh-BaxkJ2IH.js} +1 -1
  235. package/dist/assets/{react-BuYDTl9N.js → react-C_7-vb8x.js} +1 -1
  236. package/dist/assets/{react-DlvMMjCe.js → react-ClWHGkrF.js} +2 -2
  237. package/dist/assets/{react-DJnrjIDe.js → react-D27rdI1k.js} +1 -1
  238. package/dist/assets/{react-mJ1u5MvS.js → react-DJeKvZ9o.js} +3 -3
  239. package/dist/assets/{react-BHUEll3W.js → react-Duprtjy6.js} +2 -2
  240. package/dist/assets/{react-CJu1cymU.js → react-alWVovel.js} +2 -2
  241. package/dist/assets/{react-C5e0T-7Y.js → react-pGoAOdu_.js} +1 -1
  242. package/dist/assets/{react-CO6rLI-o.js → react-rAAguZrV.js} +2 -2
  243. package/dist/assets/{recharts-BlDkob1i.js → recharts-CFBD4y8X.js} +1 -1
  244. package/dist/assets/{sentry-DzQhN3No.js → sentry-CAa_RBiQ.js} +2 -2
  245. package/dist/assets/{shield-DOlUxcFf-DTDJsrO9.js → shield-DOlUxcFf-DL1rYkPV.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-v28KjzUb-BufPkuG3.js +1 -0
  247. package/dist/assets/{toChartData-BUhYY9IR-DiW5_axO.js → toChartData-DuH-6FTe-D-qs3n2e.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-C-BUqW8t.js → transaction-placeholder-CpOwZAMG-CmGAjmF0.js} +1 -1
  249. package/dist/assets/{uploadAttachment-D-Lomshq-C_Ew8v0M.js → uploadAttachment-BkoEZkOd-bK4cqD66.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-Bg2U2LcG.js → uploadReceipts-CPw64UYa-UaFIqgAV.js} +1 -1
  251. package/dist/assets/{url-Wb1ccSRL.js → url-qjSvksOH.js} +1 -1
  252. package/dist/assets/{url-B9MZZX7S.js → url-sgt9CiMb.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-BSW8jE0L.js → useLongPress-GCK2COYQ-BKjrZB1N.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-k25tt47-.js → usp-line-BBd1wKwW-DAbeFX6P.js} +1 -1
  255. package/dist/assets/{utils-CKnuWyyl.js → utils-MCudDogO.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-CYBJ9Ksh.js → zeni-epic-state-BO46e_7F.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +3 -3
  259. package/dist/assets/AccountInfoPage-D2IedGAy-Cz5TLln_.js +0 -18
  260. package/dist/assets/BillPayApprovalRuleDetailPage-B7z1PKq6-Cf5yYldh.js +0 -27
  261. package/dist/assets/BillPayApprovalRulesPage-Cj55NkSk-CraBsE0m.js +0 -241
  262. package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-DSdm9hEo.js +0 -222
  263. package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-B0bStTtk.js +0 -1
  264. package/dist/assets/EntityDetailPage-BnG_PBK5-Nxflpy3T.js +0 -18
  265. package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-9gzlzqz1.js +0 -1
  266. package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-lB6fkCG4.js +0 -1
  267. package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B5csZV5I.js +0 -1
  268. package/dist/assets/MailingDetailsSection-BT3SGHhD-B74c5iH6.js +0 -21
  269. package/dist/assets/Preview-Dvnsp7t1.js +0 -1
  270. package/dist/assets/ReimbursementApprovalRuleDetailPage-CHXo51lU-DKyJaU9a.js +0 -32
  271. package/dist/assets/ReimbursementApprovalRulesPage-D7utb8vM-CyER6oRv.js +0 -243
  272. package/dist/assets/SignInScreen-eVmQ-DfD.js +0 -1
  273. package/dist/assets/SpendManagementListViewPage-CURCimXb-CBLs-Eck.js +0 -123
  274. package/dist/assets/SpendManagementPerTabPage-RY3B-92H-0Q1oDPVt.js +0 -785
  275. package/dist/assets/StatementItem-DcPGZchp-CSlg6IgE.js +0 -31
  276. package/dist/assets/TreasuryStatementsPage-rXMNPd2f-DPIn1ORC.js +0 -58
  277. package/dist/assets/VendorACHDetailsPage-B9UpKcN3-C3lYJogA.js +0 -1
  278. package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DapV1CxI.js +0 -1
  279. package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-BBNitL_n.js +0 -1
  280. package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-9Yp9R5Je.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-DqR98mLo-DOVy7yts.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-CyM2WyTo.js +0 -1
  283. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-DIijgkB1.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-CPbzhUua-BBMB5d-t.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as k,ft as b,aN as R,q as U,F as q,cB as A,V as i,ab as W,aM as H,fu as X,o as a,p as G,cL as J,aO as K,y as x,L as Q,D as Y,b8 as Z,b7 as ee,c}from"./index-B5d0r7Yf.js";import{a as f}from"./sentry-DzQhN3No.js";import{n as o}from"./mui-CKwEUYbh.js";import{EH as te}from"./zeni-epic-state-CYBJ9Ksh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="5750da30-8680-44d0-b734-2a5c2825d912",e._sentryDebugIdIdentifier="sentry-dbid-5750da30-8680-44d0-b734-2a5c2825d912")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:N,onCompanyOfficerUpdated:P}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,T]=f.useState(!1),D=R(p.fetchState),I=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(I??{}).filter(l=>l!=null),B=te(O);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=U(),y=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&N?.(t?.officerType??"Officer_1")}),M=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&A(()=>M(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":H("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:I,updateFileStatusById:L,filesEndPoint:m,authParams:$,hasError:C,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>T(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a8 as k,ft as b,aN as R,q as U,F as q,cB as A,V as i,ab as W,aM as H,fu as X,o as a,p as G,cL as J,aO as K,y as x,L as Q,D as Y,b8 as Z,b7 as ee,c}from"./index-BoDHThmj.js";import{a as f}from"./sentry-CAa_RBiQ.js";import{n as o}from"./mui-DjUnBv6N.js";import{EH as te}from"./zeni-epic-state-BO46e_7F.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="5750da30-8680-44d0-b734-2a5c2825d912",e._sentryDebugIdIdentifier="sentry-dbid-5750da30-8680-44d0-b734-2a5c2825d912")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:N,onCompanyOfficerUpdated:P}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,T]=f.useState(!1),D=R(p.fetchState),I=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(I??{}).filter(l=>l!=null),B=te(O);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=U(),y=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&N?.(t?.officerType??"Officer_1")}),M=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&A(()=>M(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":H("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:I,updateFileStatusById:L,filesEndPoint:m,authParams:$,hasError:C,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>T(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aN as i,F as I,V as r,hS as w,hT as E}from"./index-B5d0r7Yf.js";import{a as s}from"./sentry-DzQhN3No.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./zeni-epic-state-CYBJ9Ksh.js";import"./mui-CKwEUYbh.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="2bbbe9c0-b86a-4e4e-8e63-0aa929800fda",t._sentryDebugIdIdentifier="sentry-dbid-2bbbe9c0-b86a-4e4e-8e63-0aa929800fda")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(w,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:x=>S?.(x)}}):null})};export{H as default};
1
+ import{aN as i,F as I,V as r,hS as w,hT as E}from"./index-BoDHThmj.js";import{a as s}from"./sentry-CAa_RBiQ.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./mui-DjUnBv6N.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="2bbbe9c0-b86a-4e4e-8e63-0aa929800fda",t._sentryDebugIdIdentifier="sentry-dbid-2bbbe9c0-b86a-4e4e-8e63-0aa929800fda")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(w,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:x=>S?.(x)}}):null})};export{H as default};
@@ -0,0 +1 @@
1
+ import{V as p}from"./index-BoDHThmj.js";import{a as m}from"./sentry-CAa_RBiQ.js";import{f as u}from"./ACHDetailsPage--3bIj7tB-3F9dwMR-.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./mui-DjUnBv6N.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./BankAccountWarningSection-MLEqvFgR-BxBAHmR8.js";import"./MagicLinkTitleSection-JcGSlbn4-wY3-HkBx.js";import"./BankAccountSection-BexfgJ02-CJbDgNfM.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]="5552edf2-e2e9-49f0-a393-a6686189ef18",e._sentryDebugIdIdentifier="sentry-dbid-5552edf2-e2e9-49f0-a393-a6686189ef18")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:f,fetchBankNameByRoutingStatus:c}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:c,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{d as Be,q as ae,y as g,aA as ye,cD as bt,a8 as yt,h2 as xe,h3 as xt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h4 as St,h5 as ge,c as l,cC as Dt,aO as jt,F,h6 as Re,h7 as Ae,h8 as Ee,o,bM as S,cO as Tt,gG as fe,h9 as Lt,cE as Vt,cF as kt,cG as It,ha as Ot,g8 as Pt,cM as Mt,hb as _t,hc as zt,p as z,dp as Ft,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as qe,dq as Ht,aZ as Bt,hd as Rt,he as At,ak as Et,hf as Ut,cf as Ye,hg as qt,a as we,B as Ze}from"./index-B5d0r7Yf.js";import{a as $}from"./sentry-DzQhN3No.js";import{n as a,c as Yt}from"./mui-CKwEUYbh.js";import{bi as Ce,FJ as Zt,FK as Gt}from"./zeni-epic-state-CYBJ9Ksh.js";import{k as Jt}from"./SubTabSwitcher-DDR7LrDO-B46o4hWR.js";import{f as Kt}from"./TransactionList-CIbSavhJ-1mjim1La.js";import{R as Qt}from"./TrendWithTransactions-DVLdmgtU-S2aCQzJD.js";import{o as Xt,t as es}from"./arrow-south-east-round-PEovUgvH-DXn2IDql.js";import{W as ts}from"./LabeledAddressValueField-DpcuqwLy-Cmfk083A.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-DDtxGo1u-VTNlZkCL.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.js";import"./BoxItem-B8HVRhgE-CWOe4vur.js";import"./commonDimensions-C_y3LIE8-DaT6d7Mw.js";import"./TrendChart--yie2Xkp-Ctp4-mkm.js";import"./chartTypes-PZyiFZrr-BuwhqnUh.js";import"./toCOABalancesWithID-CPbzhUua-BBMB5d-t.js";import"./toChartData-BUhYY9IR-DiW5_axO.js";import"./NoDataChart-BIcLmdso-CfY1R0LV.js";import"./InsightsSection-DCFjudcA-ZH-CYvlE.js";import"./NavigationDots-Dm8SYcdL--7WpuL09.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]="283b3e26-38f8-40a9-92fb-b04bfa64916f",e._sentryDebugIdIdentifier="sentry-dbid-283b3e26-38f8-40a9-92fb-b04bfa64916f")}catch{}})();const os=a.div`
1
+ import{d as Be,q as ae,y as g,aA as ye,cD as bt,a8 as yt,h2 as xe,h3 as xt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h4 as St,h5 as ge,c as l,cC as Dt,aO as jt,F,h6 as Re,h7 as Ae,h8 as Ee,o,bM as S,cO as Tt,gG as fe,h9 as Lt,cE as Vt,cF as kt,cG as It,ha as Ot,g8 as Pt,cM as Mt,hb as _t,hc as zt,p as z,dp as Ft,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as qe,dq as Ht,aZ as Bt,hd as Rt,he as At,ak as Et,hf as Ut,cf as Ye,hg as qt,a as we,B as Ze}from"./index-BoDHThmj.js";import{a as $}from"./sentry-CAa_RBiQ.js";import{n as a,c as Yt}from"./mui-DjUnBv6N.js";import{bi as Ce,FJ as Zt,FK as Gt}from"./zeni-epic-state-BO46e_7F.js";import{k as Jt}from"./SubTabSwitcher-DNqrmpKa-CF4L1Kwg.js";import{f as Kt}from"./TransactionList-BqQVYWs_-CYNYQaes.js";import{R as Qt}from"./TrendWithTransactions-DB5hmoGk-BT0bTVEH.js";import{o as Xt,t as es}from"./arrow-south-east-round-PEovUgvH-TX5SKWFw.js";import{W as ts}from"./LabeledAddressValueField-BewnvHGP-Cy17-5a4.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-BP1jmZf7-D3OI0FNX.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./BoxItem-YBSbdQ7d-D8N3mTZg.js";import"./commonDimensions-DSS8XDHZ-BEyzahKx.js";import"./TrendChart-DtubLSsW-C9uVL_nf.js";import"./chartTypes-CMIndIax-BEMOmico.js";import"./toCOABalancesWithID-v28KjzUb-BufPkuG3.js";import"./toChartData-DuH-6FTe-D-qs3n2e.js";import"./NoDataChart-tkUQHi-b-C5CjlXPt.js";import"./InsightsSection-Bt4Z2mKl-xYOXRNGL.js";import"./NavigationDots-BcSXYcwF-cwaSYMDv.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]="2aefce4d-4085-4850-b7fd-b08396bc792e",e._sentryDebugIdIdentifier="sentry-dbid-2aefce4d-4085-4850-b7fd-b08396bc792e")}catch{}})();const os=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -0,0 +1 @@
1
+ import{V as l}from"./index-BoDHThmj.js";import{a as k}from"./sentry-CAa_RBiQ.js";import{w as y}from"./DomesticWireDetailsPage-DXlw9Ok--f2WgPebu.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./mui-DjUnBv6N.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./BankAccountSection-BexfgJ02-CJbDgNfM.js";import"./MagicLinkTitleSection-JcGSlbn4-wY3-HkBx.js";import"./BankAccountWarningSection-MLEqvFgR-BxBAHmR8.js";import"./MailingDetailsSection-Ch5XvR8o-DHMj4gz4.js";import"./LabeledAddressValueField-BewnvHGP-Cy17-5a4.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]="b176d6eb-7442-4c99-b2f7-fb6f39ad9c37",e._sentryDebugIdIdentifier="sentry-dbid-b176d6eb-7442-4c99-b2f7-fb6f39ad9c37")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:f,bankNameByRouting:m,bankAccountToCreate:b,fetchBankNameByRoutingStatus:u}=e,a=Object.assign({},p??f);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:b,bankAccountCreationState:n,bankNameByRouting:m,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:u,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,4 +1,4 @@
1
- import{q as oe,d as Ne,a8 as ke,cB as Ae,y as w,V as t,bz as Be,aM as Ee,ab as We,cE as C,o as s,cI as qe,ha as Oe,g8 as Me,cM as Re,hb as He,hc as Ue,cU as Ze,aO as _e,F as ne,eU as Z,hh as de,cW as Ke,eV as Ge,c,L as Ye,bM as I,cz as Je,hi as Qe,p as F,h as Xe,cf as et,ak as ce,eD as tt,hj as st,hk as lt,hl as R,eW as it}from"./index-B5d0r7Yf.js";import{a as x}from"./sentry-DzQhN3No.js";import{n as a}from"./mui-CKwEUYbh.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DDtxGo1u-VTNlZkCL.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./zeni-epic-state-CYBJ9Ksh.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.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]="06436e4f-fd09-4105-82e4-62bd1e89e3f9",e._sentryDebugIdIdentifier="sentry-dbid-06436e4f-fd09-4105-82e4-62bd1e89e3f9")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:q}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:R(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:R(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:R(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,d as Ne,a8 as ke,cB as Ae,y as w,V as t,bz as Be,aM as Ee,ab as We,cE as C,o as s,cI as qe,ha as Oe,g8 as Me,cM as Re,hb as He,hc as Ue,cU as Ze,aO as _e,F as ne,eU as Z,hh as de,cW as Ke,eV as Ge,c,L as Ye,bM as I,cz as Je,hi as Qe,p as F,h as Xe,cf as et,ak as ce,eD as tt,hj as st,hk as lt,hl as R,eW as it}from"./index-BoDHThmj.js";import{a as x}from"./sentry-CAa_RBiQ.js";import{n as a}from"./mui-DjUnBv6N.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BP1jmZf7-D3OI0FNX.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.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]="30c69452-cd3f-417e-8782-9ed214d35e01",e._sentryDebugIdIdentifier="sentry-dbid-30c69452-cd3f-417e-8782-9ed214d35e01")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:q}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:R(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:R(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:R(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,av as Nn,d as mn,a8 as et,i1 as Te,cB as nt,ax as On,i2 as ie,i3 as ve,i4 as fe,i5 as be,i6 as me,V as n,hZ as tt,ab as ot,bz as rt,a9 as it,cm as st,cn as at,co as lt,bS as dt,bL as ct,aM as X,cj as mt,b1 as pt,dj as ut,cq as ht,m as gt,F as je,y as w,C as Ne,o as t,aR as In,ak as De,aQ as wt,c,ag as Re,cv as xt,dp as Pn,bM as Pe,bf as Tn,cy as vt,bY as ft,dC as bt,b8 as Xe,br as pn,p as B,u as zn,gU as $t,df as wn,c_ as rn,i7 as sn,an as St,bQ as Be,dM as yt,es as xn,bH as jt,dr as Rt,n as vn,i8 as Vt,i9 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,ia as It,bF as se,ib as fn,gI as Pt,at as Tt,as as zt,dq as Dt,b as _n,a as _t,s as Lt,aT as dn}from"./index-B5d0r7Yf.js";import{a as f}from"./sentry-DzQhN3No.js";import{n as o,c as cn}from"./mui-CKwEUYbh.js";import{gu as At,FR as Ft}from"./zeni-epic-state-CYBJ9Ksh.js";import{r as Bt}from"./core-DcqdNo0H.js";import{P as Et}from"./Menu-BTZYMOTT-Dr0t7odP.js";import"./liveblocks-4VX4OJFQ.js";import"./recharts-BlDkob1i.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.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]="e91b8d67-cdb3-4982-8d36-89af86b9c38e",e._sentryDebugIdIdentifier="sentry-dbid-e91b8d67-cdb3-4982-8d36-89af86b9c38e")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{q as ae,av as Nn,d as mn,a8 as et,i1 as Te,cB as nt,ax as On,i2 as ie,i3 as ve,i4 as fe,i5 as be,i6 as me,V as n,hZ as tt,ab as ot,bz as rt,a9 as it,cm as st,cn as at,co as lt,bS as dt,bL as ct,aM as X,cj as mt,b1 as pt,dj as ut,cq as ht,m as gt,F as je,y as w,C as Ne,o as t,aR as In,ak as De,aQ as wt,c,ag as Re,cv as xt,dp as Pn,bM as Pe,bf as Tn,cy as vt,bY as ft,dC as bt,b8 as Xe,br as pn,p as B,u as zn,gU as $t,df as wn,c_ as rn,i7 as sn,an as St,bQ as Be,dM as yt,es as xn,bH as jt,dr as Rt,n as vn,i8 as Vt,i9 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,ia as It,bF as se,ib as fn,gI as Pt,at as Tt,as as zt,dq as Dt,b as _n,a as _t,s as Lt,aT as dn}from"./index-BoDHThmj.js";import{a as f}from"./sentry-CAa_RBiQ.js";import{n as o,c as cn}from"./mui-DjUnBv6N.js";import{gu as At,FR as Ft}from"./zeni-epic-state-BO46e_7F.js";import{r as Bt}from"./core-DesIUmVX.js";import{P as Et}from"./Menu-B05IRjpP-oB6ZIzEi.js";import"./liveblocks-2fUZ-mzS.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.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]="c92bb4b4-2b0e-4b05-ac9d-439c5bdd0f50",e._sentryDebugIdIdentifier="sentry-dbid-c92bb4b4-2b0e-4b05-ac9d-439c5bdd0f50")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,q as Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,d as ne,eW as De,eX as X,cU as G,a$ as H,cE as je,ek as Te,c as a,cW as ke,aM as Se,p as V,a as Oe,m as Ae,bQ as Fe,ag as Le,bH as Ie}from"./index-B5d0r7Yf.js";import{a as R}from"./sentry-DzQhN3No.js";import{n as g}from"./mui-CKwEUYbh.js";import{bi as Y}from"./zeni-epic-state-CYBJ9Ksh.js";import{W as We,A as ze}from"./BankAccountWarningSection-DoqOr9h0-DbOY-a-J.js";import{T as Re}from"./MailingDetailsSection-BT3SGHhD-B74c5iH6.js";import{S as Pe}from"./CurrencySelectField-CvnrYpdi-2Zo75Egb.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.js";import"./LabeledAddressValueField-DpcuqwLy-Cmfk083A.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]="5f518eb8-e849-400c-926c-8f0b7d0bd477",e._sentryDebugIdIdentifier="sentry-dbid-5f518eb8-e849-400c-926c-8f0b7d0bd477")}catch{}})();const A={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=Q(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Ae,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{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:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.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:A.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,q as Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,d as ne,eW as De,eX as X,cU as G,a$ as H,cE as je,ek as Te,c as a,cW as ke,aM as Se,p as V,a as Oe,m as Ae,bQ as Fe,ag as Le,bH as Ie}from"./index-BoDHThmj.js";import{a as R}from"./sentry-CAa_RBiQ.js";import{n as g}from"./mui-DjUnBv6N.js";import{bi as Y}from"./zeni-epic-state-BO46e_7F.js";import{W as We,A as ze}from"./BankAccountWarningSection-MLEqvFgR-BxBAHmR8.js";import{T as Re}from"./MailingDetailsSection-Ch5XvR8o-DHMj4gz4.js";import{S as Pe}from"./CurrencySelectField-CfFOlEnM-CfS03uxO.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./LabeledAddressValueField-BewnvHGP-Cy17-5a4.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]="a4cb22e6-50e5-4f11-b3c0-ef609a04c8b2",e._sentryDebugIdIdentifier="sentry-dbid-a4cb22e6-50e5-4f11-b3c0-ef609a04c8b2")}catch{}})();const A={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=Q(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Ae,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{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:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.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:A.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;
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-BoDHThmj.js";import{a as S}from"./sentry-CAa_RBiQ.js";import{f as k}from"./InternationalWireSwiftDetailsPage-Dl6FL0Lc-BaPHN9iA.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./mui-DjUnBv6N.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./BankAccountWarningSection-MLEqvFgR-BxBAHmR8.js";import"./MailingDetailsSection-Ch5XvR8o-DHMj4gz4.js";import"./LabeledAddressValueField-BewnvHGP-Cy17-5a4.js";import"./MagicLinkTitleSection-JcGSlbn4-wY3-HkBx.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]="01aaff5b-9ea1-4f39-99ed-dd22b0d41bca",e._sentryDebugIdIdentifier="sentry-dbid-01aaff5b-9ea1-4f39-99ed-dd22b0d41bca")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),b.jsx(k,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,d as oe,F as te,y as c,gB as w,aS as P,V as i,hR as g,o as r,hO as m,a as ne,p as re,dw as de,ag as se,c as a}from"./index-B5d0r7Yf.js";import{n as s}from"./mui-CKwEUYbh.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]="98875c4d-be29-47c9-b545-3a31c4b73ac0",e._sentryDebugIdIdentifier="sentry-dbid-98875c4d-be29-47c9-b545-3a31c4b73ac0")}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},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{q as ie,d as oe,F as te,y as c,gB as w,aS as P,V as i,hR as g,o as r,hO as m,a as ne,p as re,dw as de,ag as se,c as a}from"./index-BoDHThmj.js";import{n as s}from"./mui-DjUnBv6N.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]="98875c4d-be29-47c9-b545-3a31c4b73ac0",e._sentryDebugIdIdentifier="sentry-dbid-98875c4d-be29-47c9-b545-3a31c4b73ac0")}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},T={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{aN as z,a8 as U,V as r,bP as Z,a9 as p,ab as B,bQ as G,ag as m,bR as Q,o as n,F as N,n as E,bS as W,ak as O,bT as X,bU as I,bH as q,p as b,b8 as v,bV as J}from"./index-B5d0r7Yf.js";import{a as c}from"./sentry-DzQhN3No.js";import{n as t}from"./mui-CKwEUYbh.js";import{bh as K}from"./zeni-epic-state-CYBJ9Ksh.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-CLvVkdLW-DCJDL5e-.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.js";import"./handshake-BPg58FML-jt5_DBPg.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]="a5a4f8db-798a-4e2f-b6e6-392f712ca9b8",e._sentryDebugIdIdentifier="sentry-dbid-a5a4f8db-798a-4e2f-b6e6-392f712ca9b8")}catch{}})();const ee=e=>{if(!e)return"";try{const i=X(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 I(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 I(e)||e}},V=120,C=30,T=2,re="456px",te="256px",_=6,o=N.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,L]=c.useState(0),[j,w]=c.useState(V),[h,D]=c.useState(C),S=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(x,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(j<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[j]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{D(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(Z,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(B,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{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(G,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(De,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(j)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(be,{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(je,{children:r.jsxs(m,{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(x,""),w(V),D(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[N.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aN as z,a8 as U,V as r,bP as Z,a9 as p,ab as B,bQ as G,ag as m,bR as Q,o as n,F as N,n as E,bS as W,ak as O,bT as X,bU as I,bH as q,p as j,b8 as v,bV as J}from"./index-BoDHThmj.js";import{a as c}from"./sentry-CAa_RBiQ.js";import{n as t}from"./mui-DjUnBv6N.js";import{bh as K}from"./zeni-epic-state-BO46e_7F.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-BcokXO2D-CS3sAEh5.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./handshake-BPg58FML-CsRg4PlR.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]="6dc8174e-21d4-48d2-bbd4-f1255e99e221",e._sentryDebugIdIdentifier="sentry-dbid-6dc8174e-21d4-48d2-bbd4-f1255e99e221")}catch{}})();const ee=e=>{if(!e)return"";try{const i=X(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 I(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 I(e)||e}},V=120,C=30,T=2,re="456px",te="256px",_=6,o=N.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,L]=c.useState(0),[b,w]=c.useState(V),[h,D]=c.useState(C),S=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(x,""))},[S,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(()=>{D(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(Z,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(B,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{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(G,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(De,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,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(m,{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(x,""),w(V),D(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[N.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -25,7 +25,7 @@ import{aN as z,a8 as U,V as r,bP as Z,a9 as p,ab as B,bQ as G,ag as m,bR as Q,o
25
25
  flex-direction: column;
26
26
  row-gap: ${n.sp1};
27
27
  `,ae=t(v)`
28
- color: ${b.important};
28
+ color: ${j.important};
29
29
  text-align: center;
30
30
  `,de=t.div`
31
31
  display: flex;
@@ -81,15 +81,15 @@ import{aN as z,a8 as U,V as r,bP as Z,a9 as p,ab as B,bQ as G,ag as m,bR as Q,o
81
81
  `,$e=t(m)`
82
82
  color: ${e=>e.theme.colors.hero};
83
83
  text-align: center;
84
- `,be=t(m)`
85
- color: ${b.important};
84
+ `,je=t(m)`
85
+ color: ${j.important};
86
86
  text-align: center;
87
- `,je=t.div`
87
+ `,be=t.div`
88
88
  display: flex;
89
89
  justify-content: center;
90
- background: ${b.importantLight};
90
+ background: ${j.importantLight};
91
91
  border-radius: ${n.sp1};
92
- color: ${b.important};
92
+ color: ${j.important};
93
93
  word-wrap: normal;
94
94
  padding: ${n.sp1} ${n.sp6};
95
95
  text-align: center;
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-C5e0T-7Y.js","assets/sentry-DzQhN3No.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-mJ1u5MvS.js","assets/zeni-epic-state-CYBJ9Ksh.js","assets/core-DcqdNo0H.js","assets/index-C1nDAmoC.js","assets/react-CO6rLI-o.js","assets/react-DJnrjIDe.js","assets/react-BuYDTl9N.js","assets/react-BHUEll3W.js","assets/react-DlvMMjCe.js","assets/react-CJu1cymU.js","assets/Preview-Dvnsp7t1.js"])))=>i.map(i=>d[i]);
2
- import{q as W,V as f,an as X,p as Y}from"./index-B5d0r7Yf.js";import{S as _,a as t}from"./sentry-DzQhN3No.js";import{n as k,k as q}from"./mui-CKwEUYbh.js";import{r as K}from"./core-DcqdNo0H.js";import{ba as y}from"./zeni-epic-state-CYBJ9Ksh.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]="b0be0b92-ab0d-4f42-a4ff-2fd406262f7a",e._sentryDebugIdIdentifier="sentry-dbid-b0be0b92-ab0d-4f42-a4ff-2fd406262f7a")}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,Z=/\.(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]+)/,S=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&S(s,r)||S(s.src,r))return!0;return!1}return r(e)},m={html:e=>S(e,r=>N.test(r)||z.test(r)),hls:e=>S(e,r=>V.test(r)),dash:e=>S(e,r=>Z.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-C5e0T-7Y.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-mJ1u5MvS.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-C1nDAmoC.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-CO6rLI-o.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-DJnrjIDe.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BuYDTl9N.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BHUEll3W.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DlvMMjCe.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CJu1cymU.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-Dvnsp7t1.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:R,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:R,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,R;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:(R=C.player)!=null?R: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,T=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(T,{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?.()},T=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?K.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:T,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:T,onPlay:p,config:I})}const ye=q`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-pGoAOdu_.js","assets/sentry-CAa_RBiQ.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-DJeKvZ9o.js","assets/zeni-epic-state-BO46e_7F.js","assets/core-DesIUmVX.js","assets/index-Ibs5bNMX.js","assets/react-rAAguZrV.js","assets/react-D27rdI1k.js","assets/react-C_7-vb8x.js","assets/react-Duprtjy6.js","assets/react-ClWHGkrF.js","assets/react-alWVovel.js","assets/Preview-DWEhp9iP.js"])))=>i.map(i=>d[i]);
2
+ import{q as W,V as f,an as X,p as Y}from"./index-BoDHThmj.js";import{w as _,a as t}from"./sentry-CAa_RBiQ.js";import{n as k,k as q}from"./mui-DjUnBv6N.js";import{r as K}from"./core-DesIUmVX.js";import{ba as y}from"./zeni-epic-state-BO46e_7F.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]="897ae585-37a3-4f09-9800-4378937ea819",e._sentryDebugIdIdentifier="sentry-dbid-897ae585-37a3-4f09-9800-4378937ea819")}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,Z=/\.(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=>Z.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-pGoAOdu_.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DJeKvZ9o.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-Ibs5bNMX.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-rAAguZrV.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-D27rdI1k.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-C_7-vb8x.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Duprtjy6.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-ClWHGkrF.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-alWVovel.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-DWEhp9iP.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?K.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=q`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{q as s,V as t,an as a,aM as l,p as c,o,y as d}from"./index-B5d0r7Yf.js";import{n}from"./mui-CKwEUYbh.js";import{N as h}from"./VideoPlayer-CN28Ho6V-C9X8iWgG.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]="ab65c900-ab1c-43dc-ad17-3867c991be2c",e._sentryDebugIdIdentifier="sentry-dbid-ab65c900-ab1c-43dc-ad17-3867c991be2c")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},w=n.div`
1
+ import{q as s,V as t,an as l,aM as a,p as c,o,y as d}from"./index-BoDHThmj.js";import{n}from"./mui-DjUnBv6N.js";import{N as h}from"./VideoPlayer-C8VeeJIx-Bo3SMitQ.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]="06503936-23b2-43dd-ad0b-c2fc0a0c56c3",e._sentryDebugIdIdentifier="sentry-dbid-06503936-23b2-43dd-ad0b-c2fc0a0c56c3")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},f=n.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -9,7 +9,7 @@ import{q as s,V as t,an as a,aM as l,p as c,o,y as d}from"./index-B5d0r7Yf.js";i
9
9
  flex-direction: column;
10
10
  align-items: center;
11
11
  background: ${c.blackColor}CC;
12
- `,p=n.div`
12
+ `,w=n.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  justify-content: space-between;
@@ -24,8 +24,8 @@ import{q as s,V as t,an as a,aM as l,p as c,o,y as d}from"./index-B5d0r7Yf.js";i
24
24
  height: ${e=>r.height.valuePx(e.windowSize)};
25
25
  padding: ${o.sp3};
26
26
  background: ${e=>e.theme.colors.grey3};
27
- `,f=n.div`
27
+ `,p=n.div`
28
28
  position: relative;
29
29
  width: 100%;
30
30
  height: 100%;
31
- `;function y(e){const i=s();return t.jsx(w,{windowSize:i,role:"presentation",children:t.jsx(a,{onClickAway:()=>e.onCancelClick(),children:t.jsx(p,{windowSize:i,"data-testid":l("video-popup"),children:t.jsx(f,{children:t.jsx(h,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as f};
31
+ `;function y(e){const i=s();return t.jsx(f,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(w,{windowSize:i,"data-testid":a("video-popup"),children:t.jsx(p,{children:t.jsx(h,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as f};
@@ -1,4 +1,4 @@
1
- import{q as B,V as s,M as D,h as C,n as j,b as M,o as n,F as S,y as $,a as L,B as E,L as P,D as z,p as h,u as N,s as T,c as u,l as A}from"./index-B5d0r7Yf.js";import{n as a}from"./mui-CKwEUYbh.js";import{cG as _}from"./zeni-epic-state-CYBJ9Ksh.js";import"./sentry-DzQhN3No.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.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]="b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012",r._sentryDebugIdIdentifier="sentry-dbid-b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012")}catch{}})();const e=S.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)},F={title:new L("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?_(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}=R(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}=q(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}=G(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(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(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{q as B,V as s,M as D,h as C,n as j,b as M,o as n,F as S,y as $,a as L,B as E,L as P,D as z,p as h,u as N,s as T,c as u,l as A}from"./index-BoDHThmj.js";import{n as a}from"./mui-DjUnBv6N.js";import{cG as _}from"./zeni-epic-state-BO46e_7F.js";import"./sentry-CAa_RBiQ.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.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]="b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012",r._sentryDebugIdIdentifier="sentry-dbid-b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012")}catch{}})();const e=S.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)},F={title:new L("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?_(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}=R(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}=q(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}=G(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(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(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
  ${D(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:{...M.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},R=(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}},q=(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}},G=(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{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as Le,b as D,cm as R,cn as O,co as F,ab as Ne,ek as Me,p as y,cW as He,aM as C,m as ue,ag as j,F as K,bH as Ee,bL as Ie,aQ as Ue,y as b,gR as We,fc as ae,c as u,ak as X,hr as Re,b5 as Oe,aZ as Fe,hs as Ge,l as Ve,ht as Ye,u as Je,gU as _e,d2 as Ze,al as Ke,a as Xe,cf as qe}from"./index-B5d0r7Yf.js";import{a as r}from"./sentry-DzQhN3No.js";import{n as a}from"./mui-CKwEUYbh.js";import{FL as Qe,bL as G}from"./zeni-epic-state-CYBJ9Ksh.js";import{$ as et}from"./BoxItem-B8HVRhgE-CWOe4vur.js";import{w as tt}from"./downloadPdf-BdoS2D6l-CiYpnZbY.js";import{H as ot}from"./DepositAccTransactionItem-BJ6rNbQF-VwiYfZOw.js";import{U as at}from"./ZeniAccountNavBarPieces-Dz9ssqU1-BUAdtMrT.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-BlDkob1i.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.js";import"./commonDimensions-C_y3LIE8-DaT6d7Mw.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]="4143575c-4d41-4f9c-a5b8-1e5cc2a924ed",e._sentryDebugIdIdentifier="sentry-dbid-4143575c-4d41-4f9c-a5b8-1e5cc2a924ed")}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{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as Le,b as D,cm as R,cn as O,co as F,ab as Ne,ek as Me,p as y,cW as He,aM as C,m as ue,ag as j,F as K,bH as Ee,bL as Ie,aQ as Ue,y as b,gR as We,fc as ae,c as u,ak as X,hr as Re,b5 as Oe,aZ as Fe,hs as Ge,l as Ve,ht as Ye,u as Je,gU as _e,d2 as Ze,al as Ke,a as Xe,cf as qe}from"./index-BoDHThmj.js";import{a as r}from"./sentry-CAa_RBiQ.js";import{n as a}from"./mui-DjUnBv6N.js";import{FL as Qe,bL as G}from"./zeni-epic-state-BO46e_7F.js";import{$ as et}from"./BoxItem-YBSbdQ7d-D8N3mTZg.js";import{w as tt}from"./downloadPdf-BCoq8NLc-6NV7wH9_.js";import{H as ot}from"./DepositAccTransactionItem-B6bYU73--Bk-F2M5u.js";import{U as at}from"./ZeniAccountNavBarPieces-CHXbVcQE-vXZ3dsMQ.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-CFBD4y8X.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.js";import"./commonDimensions-DSS8XDHZ-BEyzahKx.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]="8f24a80b-6036-499d-86f4-dc3bab996214",e._sentryDebugIdIdentifier="sentry-dbid-8f24a80b-6036-499d-86f4-dc3bab996214")}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{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,ab as Ge,o as n,ek as Ne,cW as Ue,cn as ne,co as ie,hm as Re,aK as G,bQ as fe,bz as Oe,b as C,F as K,ap as We,ak as Ye,l as Ve,bY as Ze,bH as ye,ag as j,av as qe,ca as Qe,fc as F,aM as N,y as b,al as X,hn as He,a as Je,B as Ke,am as Xe,cY as et,cf as tt,g1 as nt,c as u,dK as it,fF as ot,ho as rt,n as st,hp as at,bL as ct,aQ as lt}from"./index-B5d0r7Yf.js";import{a as g}from"./sentry-DzQhN3No.js";import{n as i}from"./mui-CKwEUYbh.js";import{FL as dt}from"./zeni-epic-state-CYBJ9Ksh.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-B7q3IbIp.js";import{o as ut}from"./shield-DOlUxcFf-DTDJsrO9.js";import{U as mt}from"./ZeniAccountNavBarPieces-Dz9ssqU1-BUAdtMrT.js";import{v as ht}from"./ZeniTransferAmountSlider-BADEO33A-CRBj7Za4.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.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]="e1a47173-7924-4a95-b576-5c27b7c5c46f",e._sentryDebugIdIdentifier="sentry-dbid-e1a47173-7924-4a95-b576-5c27b7c5c46f")}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=J(),v=(c,T)=>Object.entries(T).reduce((M,[A,w])=>M.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`
1
+ import{q as J,a8 as Ie,aN as _e,d as De,aV as Ee,aL as Fe,V as t,cm as W,p as o,ab as Ge,o as n,ek as Ne,cW as Ue,cn as ne,co as ie,hm as Re,aK as G,bQ as fe,bz as Oe,b as C,F as K,ap as We,ak as Ye,l as Ve,bY as Ze,bH as ye,ag as j,av as qe,ca as Qe,fc as F,aM as N,y as b,al as X,hn as He,a as Je,B as Ke,am as Xe,cY as et,cf as tt,g1 as nt,c as u,dK as it,fF as ot,ho as rt,n as st,hp as at,bL as ct,aQ as lt}from"./index-BoDHThmj.js";import{a as g}from"./sentry-CAa_RBiQ.js";import{n as i}from"./mui-DjUnBv6N.js";import{FL as dt}from"./zeni-epic-state-BO46e_7F.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-Bk6z9OTx.js";import{o as ut}from"./shield-DOlUxcFf-DL1rYkPV.js";import{U as mt}from"./ZeniAccountNavBarPieces-CHXbVcQE-vXZ3dsMQ.js";import{v as ht}from"./ZeniTransferAmountSlider-Bk2gg7DY-CUDntV_F.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.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]="39adfcbe-23e1-45af-aba6-7a608b9b92e0",e._sentryDebugIdIdentifier="sentry-dbid-39adfcbe-23e1-45af-aba6-7a608b9b92e0")}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=J(),v=(c,T)=>Object.entries(T).reduce((M,[A,w])=>M.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;
@@ -1,4 +1,4 @@
1
- import{av as N,fP as P,V as a,aM as _,gV as p,hq as f,F as O,o as r,gX as $}from"./index-B5d0r7Yf.js";import{n as g}from"./mui-CKwEUYbh.js";import{bS as D}from"./zeni-epic-state-CYBJ9Ksh.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]="613656cf-5e3f-4a4c-8f1d-04ef879f21fb",e._sentryDebugIdIdentifier="sentry-dbid-613656cf-5e3f-4a4c-8f1d-04ef879f21fb")}catch{}})();const n=O.getLocalizedStrings().spendManagement.zeniAccounts,y=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},v={value:"transfer",label:n.moveMoney.transfer},b={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},I=[m,v,b,M],z=[b,v,m,M],T=({zeniBankProps:e,isBillPayEnabled:i,isExpressPayEnabled:c,analytics:h,onSettingsClick:k})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),w=D(l.loggedInUserRoleMap),S=y.filter(t=>t.value==="accountStatement"),d=i===!0?I:z,u=c===!0?d:d.filter(t=>t.value!=="sendMoney"),x=w?u:u.filter(t=>t.value!=="payBill");return a.jsxs(A,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?a.jsx(B,{onClick:k,"data-testid":_("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?S: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:x,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},B=g($)`
1
+ import{av as N,fP as P,V as a,aM as _,gV as p,hq as f,F as O,o as r,gX as $}from"./index-BoDHThmj.js";import{n as g}from"./mui-DjUnBv6N.js";import{bS as D}from"./zeni-epic-state-BO46e_7F.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]="613656cf-5e3f-4a4c-8f1d-04ef879f21fb",e._sentryDebugIdIdentifier="sentry-dbid-613656cf-5e3f-4a4c-8f1d-04ef879f21fb")}catch{}})();const n=O.getLocalizedStrings().spendManagement.zeniAccounts,y=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},v={value:"transfer",label:n.moveMoney.transfer},b={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},I=[m,v,b,M],z=[b,v,m,M],T=({zeniBankProps:e,isBillPayEnabled:i,isExpressPayEnabled:c,analytics:h,onSettingsClick:k})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),w=D(l.loggedInUserRoleMap),S=y.filter(t=>t.value==="accountStatement"),d=i===!0?I:z,u=c===!0?d:d.filter(t=>t.value!=="sendMoney"),x=w?u:u.filter(t=>t.value!=="payBill");return a.jsxs(A,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?a.jsx(B,{onClick:k,"data-testid":_("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?S: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:x,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},B=g($)`
2
2
  cursor: pointer;
3
3
  min-width: ${r.sp4};
4
4
  width: ${r.sp4};
@@ -1,4 +1,4 @@
1
- import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as he,o,cz as ge,ap as Z,n as D,aM as L,ad as j,F as _,D as we,aV as z,aL as k,aQ as J,bw as je,y as x,p as A,cA as $e,aR as ye,b8 as fe,c as F,a as $,B as C,al as T,ae as Se}from"./index-B5d0r7Yf.js";import{a as W}from"./sentry-DzQhN3No.js";import{n}from"./mui-CKwEUYbh.js";import{M as B}from"./usp-line-BBd1wKwW-k25tt47-.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./zeni-epic-state-CYBJ9Ksh.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.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]="f155bcf8-0a3e-435d-bf07-368bac8ff4b4",e._sentryDebugIdIdentifier="sentry-dbid-f155bcf8-0a3e-435d-bf07-368bac8ff4b4")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(F[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,F[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{d as ae,q as v,aN as ce,av as xe,fP as me,V as i,bz as pe,fo as ue,l as he,o,cz as ge,ap as Z,n as D,aM as L,ad as j,F as _,D as we,aV as z,aL as k,aQ as J,bw as je,y as x,p as A,cA as $e,aR as ye,b8 as fe,c as F,a as $,B as C,al as T,ae as Se}from"./index-BoDHThmj.js";import{a as W}from"./sentry-CAa_RBiQ.js";import{n}from"./mui-DjUnBv6N.js";import{M as B}from"./usp-line-BBd1wKwW-DAbeFX6P.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.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]="f155bcf8-0a3e-435d-bf07-368bac8ff4b4",e._sentryDebugIdIdentifier="sentry-dbid-f155bcf8-0a3e-435d-bf07-368bac8ff4b4")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(F[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,F[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("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{d as ye,q as we,aN as U,a8 as Se,cB as Ae,aS as B,V as t,f6 as xe,p as Ce,y as f,bz as Pe,m as ke,ab as Fe,fp as ve,dM as Te,fq as Ie,bu as Ve,aO as ze,o as je,fs as De,F as Ee,c as a,ak as Oe}from"./index-B5d0r7Yf.js";import{a as g}from"./sentry-DzQhN3No.js";import{n as w}from"./mui-CKwEUYbh.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-jNiTn6qG-CyN0ip8w.js";import"./liveblocks-4VX4OJFQ.js";import"./core-DcqdNo0H.js";import"./recharts-BlDkob1i.js";import"./zeni-epic-state-CYBJ9Ksh.js";import"./lottie-C2a9Y5yd.js";import"./analytics-B5pDs204.js";import"./lexical-zpRxoSKS.js";import"./utils-CKnuWyyl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="c01893b8-a979-4c03-8e4f-b7b79f7160fc",e._sentryDebugIdIdentifier="sentry-dbid-c01893b8-a979-4c03-8e4f-b7b79f7160fc")}catch{}})();const c={titleWidth:new f(343,580,726,826),setupDetailsRowGap:new f(12,a[5],a[5]),sectionRowGap:new f(a[5],a[9],a[9]),iconWidthHeight:new f(20,a[4]),subTitlePaddingTop:new f(12,a[3]),subTitlePaddingBottom:new f(a[3],a[3]),overlayWidth:new f(100,100,59)},_="zeniAccountSetUpPage",F="payAccount",{common:Be,commonSetUp:$,spendManagement:_e}=Ee.getLocalizedStrings(),{zeniAccounts:q}=_e,{zeniAccountSetUp:V}=q,{setUp:z}=$,nt=({isDisabled:e,meetingUrl:p,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:R,authParams:H,accountsPromoConfig:N,onFetchLinkTokenClick:Z,onBackClick:M,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=ye(),i=we(),[x,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:j,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:fe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=l,E=U(b),C=U(u.fetchState),v=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>L(l),[l]),values:L(l)}),pe=v.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[F];if(y.includes(F)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=D.find(I=>I.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(I=>I.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(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&E==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,E]),g.useEffect(()=>{const y=v.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const P=fe?.isZeniAccountEnabled===!0,T=j?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const he=T?$.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),be=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs(We,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:H,filesEndPoint:R,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Pe,{title:V.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:M,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx($e,{windowSize:i,children:he}),ge?t.jsx(qe,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(Fe,{...v,children:t.jsx("form",{id:W(_),onSubmit:pe,children:t.jsxs(Re,{windowSize:i,children:[t.jsx(ve,{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:O},status:j?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:F,isDisabled:e,header:q.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ve,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:N})]})})})]}),T&&!P?t.jsx(ze,{formId:W(_),primaryBtn:{label:V.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 ${je.sp3}`}}):null,t.jsx(De,{isFooterRendered:T&&!P,meetingUrl:p,analytics:d,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:p,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[F]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
1
+ import{d as be,q as we,aN as U,a8 as Se,cB as Ae,aS as B,V as t,f6 as xe,p as Ce,y as p,bz as Pe,m as ke,ab as Fe,fp as ve,dM as Te,fq as Ie,bu as Ve,aO as ze,o as je,fs as De,F as Ee,c as a,ak as Oe}from"./index-BoDHThmj.js";import{a as g}from"./sentry-CAa_RBiQ.js";import{n as w}from"./mui-DjUnBv6N.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-C2kqDNTp-CLCo9ZjN.js";import"./liveblocks-2fUZ-mzS.js";import"./core-DesIUmVX.js";import"./recharts-CFBD4y8X.js";import"./zeni-epic-state-BO46e_7F.js";import"./lottie-BC5QDLx3.js";import"./analytics-aL6KvWIc.js";import"./lexical-WHFPYU-_.js";import"./utils-MCudDogO.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]="2e0de31b-41da-4235-9f33-85f2e517418e",e._sentryDebugIdIdentifier="sentry-dbid-2e0de31b-41da-4235-9f33-85f2e517418e")}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",F="payAccount",{common:Be,commonSetUp:$,spendManagement:_e}=Ee.getLocalizedStrings(),{zeniAccounts:q}=_e,{zeniAccountSetUp:V}=q,{setUp:z}=$,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:R,authParams:H,accountsPromoConfig:N,onFetchLinkTokenClick:Z,onBackClick:M,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=be(),i=we(),[x,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:j,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=l,E=U(y),C=U(u.fetchState),v=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>L(l),[l]),values:L(l)}),fe=v.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[F];if(b.includes(F)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=D.find(I=>I.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(I=>I.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(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&E==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,E]),g.useEffect(()=>{const b=v.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const P=pe?.isZeniAccountEnabled===!0,T=j?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const he=T?$.setUp.setupVerifiedSubTitle:V.setupSubTitle,O=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),ye=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs(We,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:H,filesEndPoint:R,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Pe,{title:V.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:M,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx($e,{windowSize:i,children:he}),ge?t.jsx(qe,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(Fe,{...v,children:t.jsx("form",{id:W(_),onSubmit:fe,children:t.jsxs(Re,{windowSize:i,children:[t.jsx(ve,{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:O},status:j?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:F,isDisabled:e,header:q.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ve,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:N})]})})})]}),T&&!P?t.jsx(ze,{formId:W(_),primaryBtn:{label:V.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 ${je.sp3}`}}):null,t.jsx(De,{isFooterRendered:T&&!P,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[F]:{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}))}}}},Le=w.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-B5d0r7Yf.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]="24b97aa3-d82c-4653-b3b3-b9f1bc2a39ac",e._sentryDebugIdIdentifier="sentry-dbid-24b97aa3-d82c-4653-b3b3-b9f1bc2a39ac")}catch{}})();function o(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{o as i};
1
+ import{F as r,V as t}from"./index-BoDHThmj.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]="24b97aa3-d82c-4653-b3b3-b9f1bc2a39ac",e._sentryDebugIdIdentifier="sentry-dbid-24b97aa3-d82c-4653-b3b3-b9f1bc2a39ac")}catch{}})();function o(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{o as i};
@@ -1,4 +1,4 @@
1
- import{V as m,aM as z,o as i,p as j,ag as P,F}from"./index-B5d0r7Yf.js";import{a as w}from"./sentry-DzQhN3No.js";import{n as f}from"./mui-CKwEUYbh.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]="c0aaa509-668f-4846-a42b-a7a4484cfea6",t._sentryDebugIdIdentifier="sentry-dbid-c0aaa509-668f-4846-a42b-a7a4484cfea6")}catch{}})();const Y=F.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,p=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]),I=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:u}=v(r);k(r),$(o),x(u)},S=e=>`${D(e)}${Y.transferDrawer.calculator.sliderTooltipText}`,D=e=>e===0?p[0]:e>0&&e<1?p[1]:e>=1&&e<2?p[2]:e>=2&&e<3?p[3]:p[4],v=e=>{const r=D(e),[o,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(u??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*(u??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*(u??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*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},T=e=>{const{returnedYield:r,totalAmount:o}=v(e);k(e),x(o),$(r)},C=w.useCallback((e,r,o,u)=>{let a=0,s=0,M=0,A=0;if(e<o[0])a=r[0];else{for(let d=0;d<o.length-1;d++)if(e>=o[d]&&e<o[d+1]){a=r[d+1],s=(o[d+1]-o[d])*u,M=e-o[d],A=M/s*u+d;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,p,n,l)},[g,y,x,p,l,$,n,C]),m.jsxs(_,{sliderValue:c,children:[m.jsx(L,{sliderValue:c,type:"range",min:0,max:p.length-1,step:l,value:c,onChange:I}),m.jsx(B,{style:{width:`calc(${c/(p.length-1)*100}% - ${c*7.5}px)`}}),m.jsx(G,{sliderValue:c,style:{left:`calc(${c/(p.length-1)*100}% - ${c*10+20}px)`},children:S(c)}),m.jsx(H,{children:n.map((e,r)=>m.jsx(N,{onClick:()=>T(r),"data-testid":z("slider-label",e.toString()),style:{left:V(r)},children:m.jsx(X,{isSelected:c>=r,children:E(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},V=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%"}},E=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?Y.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=f.input`
1
+ import{V as m,aM as z,o as i,p as j,ag as P,F}from"./index-BoDHThmj.js";import{a as w}from"./sentry-CAa_RBiQ.js";import{n as f}from"./mui-DjUnBv6N.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]="c0aaa509-668f-4846-a42b-a7a4484cfea6",t._sentryDebugIdIdentifier="sentry-dbid-c0aaa509-668f-4846-a42b-a7a4484cfea6")}catch{}})();const Y=F.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,p=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]),I=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:u}=v(r);k(r),$(o),x(u)},S=e=>`${D(e)}${Y.transferDrawer.calculator.sliderTooltipText}`,D=e=>e===0?p[0]:e>0&&e<1?p[1]:e>=1&&e<2?p[2]:e>=2&&e<3?p[3]:p[4],v=e=>{const r=D(e),[o,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(u??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*(u??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*(u??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*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},T=e=>{const{returnedYield:r,totalAmount:o}=v(e);k(e),x(o),$(r)},C=w.useCallback((e,r,o,u)=>{let a=0,s=0,M=0,A=0;if(e<o[0])a=r[0];else{for(let d=0;d<o.length-1;d++)if(e>=o[d]&&e<o[d+1]){a=r[d+1],s=(o[d+1]-o[d])*u,M=e-o[d],A=M/s*u+d;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,p,n,l)},[g,y,x,p,l,$,n,C]),m.jsxs(_,{sliderValue:c,children:[m.jsx(L,{sliderValue:c,type:"range",min:0,max:p.length-1,step:l,value:c,onChange:I}),m.jsx(B,{style:{width:`calc(${c/(p.length-1)*100}% - ${c*7.5}px)`}}),m.jsx(G,{sliderValue:c,style:{left:`calc(${c/(p.length-1)*100}% - ${c*10+20}px)`},children:S(c)}),m.jsx(H,{children:n.map((e,r)=>m.jsx(N,{onClick:()=>T(r),"data-testid":z("slider-label",e.toString()),style:{left:V(r)},children:m.jsx(X,{isSelected:c>=r,children:E(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},V=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%"}},E=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?Y.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=f.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;