@zeniai/web-cockpit-ui 1.15.18-dev → 1.15.19-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 (292) hide show
  1. package/dist/assets/{ACHDetailsPage-BrjUad4D-BobK3aVB.js → ACHDetailsPage-Bj4J02PO-C4Q2xy4-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Dx1ituql-CUuKvJ8n.js → AIPerformancePage-kqP-8GTq-BJF4ETfH.js} +12 -12
  3. package/dist/assets/AccountInfoPage-Bl-lXVdR-BrlwC_GK.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BQxwZcii-DAnRLliM.js → AccountInfoPageContent-BfoA1Gse-C7eC0yBE.js} +10 -10
  5. package/dist/assets/AccountLockedInfoModal-CapmN1xL-DmXdIqXb.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DuI7qAkr-CohDb_Vn.js → AccountReconDetailsDrawerPage-y7iV6_PQ-D_ojlIG6.js} +16 -16
  7. package/dist/assets/{AccountRow-D3aEGfjh-CGXQQRag.js → AccountRow-BNdGXZbT-B-w9AEY5.js} +11 -11
  8. package/dist/assets/{AccountsPromoCardStack-BrTIGRUz-SlTiOsFA.js → AccountsPromoCardStack-BxQc3Ksg-BEzuSdPZ.js} +35 -35
  9. package/dist/assets/AddAddressForCardDrawer-DAcT8-PD-oJwne3Gy.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DWMdtsY0-CgmcM53j.js → AddToWalletPage-CY-2tfXj-D4kgZ0ls.js} +18 -18
  11. package/dist/assets/{AgingReportsPage-CeFWs8X1-rGaFbgkD.js → AgingReportsPage-DG-IzhqU-D5iQytZw.js} +4 -4
  12. package/dist/assets/{AllUserItems-PN_oWzOC-Cfg4W7I4.js → AllUserItems-BLdx0SLb-D35470or.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-CQtY9j4b-xFY56tWP.js → ApAgingDetailPage-UhXmkAke-DuPdvgym.js} +5 -5
  14. package/dist/assets/{AppBasePage-D0S7OYzO-CJcI9UYp.js → AppBasePage-BdqHkxAE-ClgCYonW.js} +11 -11
  15. package/dist/assets/{AppDrawerContent-TIRPcJoE-BOUb6qnD.js → AppDrawerContent-DLLABFVO-Z7eIU8wQ.js} +7 -7
  16. package/dist/assets/{ApprovalRulesSettingsPage-CosIHJ5R-BB8nW0VM.js → ApprovalRulesSettingsPage-2Xy362hA-lw7cG823.js} +3 -3
  17. package/dist/assets/{ArAgingChart-CiNirxU7-C_J23wNp.js → ArAgingChart-DUyxm4oV-BDzCa7w_.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CKBOlCcF-B9yZn5Tp.js → ArAgingDetailPage-BtKh2Y7T-Befa7jSt.js} +4 -4
  19. package/dist/assets/{AttachmentView-MqDuu6PB-C1zlk39q.js → AttachmentView-gjYAbjdi-CLgD0hYn.js} +2 -2
  20. package/dist/assets/{BankAccountSection-DXFRyqzV-Bg8zqqhX.js → BankAccountSection-DQcfhQLN-Cf4CJKge.js} +3 -3
  21. package/dist/assets/{BankAccountWarningSection-DJhHTBuh-D20FRc-x.js → BankAccountWarningSection-XMpgCYBF-BD-ZRFYQ.js} +8 -8
  22. package/dist/assets/{BankConnectionsSettingsPage-CQe2upIp-Cv47vnoF.js → BankConnectionsSettingsPage-Bi5QjRHp-DZsjWuDY.js} +33 -33
  23. package/dist/assets/{BillDetailPage-B0ajOYxz-CTy3XK0i.js → BillDetailPage-CgEXd2T5-D3RRlJ_U.js} +9 -9
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BcWQYqjU-CZdskYSr.js → BillPayApprovalRuleDetailPage-CPKMjF0R-DkefuNtD.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-mS00kg1n-C05g3Cpf.js → BillPayApprovalRulesPage-CFJpmXE7-BS2SEmMd.js} +9 -9
  26. package/dist/assets/{BillPayPromoPage-tUxWWqMY-t6w7JDnT.js → BillPayPromoPage-nRHevclA-CJKWVsld.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-w47HuYkp-CbWSaNcn.js → BillPaySetUpPage-ynmgaK8Y-CjnJEFzj.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-Bsm7ZzIW-BChNCOOo.js → BillingSettingsPage-BNEvt1HK-BaSsXKiI.js} +6 -6
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DdI0OCuE-DjrQvH-7.js → BillsBulkReviewDrawerPage-D6tbE3BQ-DocKjVGy.js} +1 -1
  30. package/dist/assets/BoxItem-BdgRTwgI-DiOTWl08.js +53 -0
  31. package/dist/assets/{BusinessVerificationPage-p1cUyL8l-DeaLZxZn.js → BusinessVerificationPage-CU38xCol-B4S_9jHP.js} +10 -10
  32. package/dist/assets/{CardNumberSubText-yVfOUJpr-DRIDUYcf.js → CardNumberSubText-g2_GoH9f-aD70vkbB.js} +7 -7
  33. package/dist/assets/{CashbackDetailPage-DAX8aTFq-CX_nfeg0.js → CashbackDetailPage-SvujpPEs-C8gXhM7B.js} +17 -17
  34. package/dist/assets/{ChargeCardDetailPage-CTdVu2LX-CXvKoTcM.js → ChargeCardDetailPage-oaVwvFKq-qgCXX26B.js} +35 -35
  35. package/dist/assets/{ChargeCardListPage-BTf2sf_r-BIeWCtwJ.js → ChargeCardListPage-CGyxQ8Dx-B1x8tEOp.js} +19 -19
  36. package/dist/assets/{ChargeCardListTable-DEYusOGZ-BR9KGK-S.js → ChargeCardListTable-DKQnkAJ7-CbA18PS4.js} +30 -30
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-BhIiSigy-CmcVMykk.js → ChargeCardPaymentHistoryPage-JxdV2F32-B8QxqdNq.js} +17 -17
  38. package/dist/assets/{ChargeCardPromoPage-SMg6Bkmx-BIBCjTA5.js → ChargeCardPromoPage-BM7oOdWh-cLjTbA-r.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-8jA-EjWA-SUTAHgR8.js → ChargeCardSetupPage-DqjFBKb_-D2isSGQZ.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-CrsqrTNw-cq-ohGFk.js → ChargeCardStatementsPage-DKicQRml-DNQKyuH-.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-BnMEa1gU-D4KA1YbO.js → CheckDepositDrawerPage-BoMMC-PD-BbZFeQ0t.js} +12 -12
  42. package/dist/assets/{CollapsableReportTable-BQsDuqwg-D4PksJ7s.js → CollapsableReportTable-CvAF66CY-D2P5-EVV.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CxeWrQJH-XfC5iWX1.js → CompanyOfficerDetailsSection-ClnGjHwL-DjLuACPy.js} +7 -7
  44. package/dist/assets/{CompanyPassportCard-DUX32IvW-wDP-ayWY.js → CompanyPassportCard-De1ZqCMC-Co6Yn6Qv.js} +5 -5
  45. package/dist/assets/{CompanyPassportPage-Cp0oulai-BQFU8qYi.js → CompanyPassportPage-6281ivzv-B30kYLVx.js} +24 -24
  46. package/dist/assets/{CompleteProfile-BdeEu2dc-DABogw0l.js → CompleteProfile-C4YhvWhe-CIB56NG8.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CR98FGfH-3rXf1OLF.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cr0pUg_S.js → ConstrainedInnerElement-BeIpAPjB-JviWwDyz.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-iFE1nb0J-tpGth2AK.js → CreateOrEditVendorPage-Dfq0ydKc-fAmE7u3u.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CaTanv1T-DKlglNsr.js → CreditCardPaymentDrawerPage-D8Rs6j9F-CECIifL2.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-BNcLy0zv-DUL30Rmr.js → CurrencySelectField-dqih82Wa-Bf5oGIgX.js} +2 -2
  52. package/dist/assets/{CustomerOnboardingActivationPage-D_0kSaYs-DmoaOtfG.js → CustomerOnboardingActivationPage-CPhBnk1y-CsEDDRZo.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-Dn7vOa-2-acu82bx-.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B1jJ1XJX-Ec31gEaK.js → CustomerOnboardingDetailPageSkeleton-D92o0cYb-f4j90fLJ.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CyxHQxxQ-B3uyPHi-.js → CustomerOnboardingNoStepsPage-D-TyXZjQ-1BbkgoBb.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-Cj_k0rfN-dr4fZ7As.js → CustomerOnboardingPage-D8s20fEH-Drh1St8-.js} +10 -10
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BPRN6xyM-BLvLQxxG.js → CustomerOnboardingProductSuitePage-B7v5nYAw--BKM9prl.js} +4 -4
  58. package/dist/assets/{Dashboard-DYpE_H2b-WMqZzzuP.js → Dashboard-DLhx6D0s-A89AzrUL.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-BB6dW8kR-BVA8DQgX.js → DashboardReportPage-G-hbFFVd-duPSFRfE.js} +9 -9
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DDLCSC57-BJ_WASPh.js → DashboardSidebarBackgroundAnimation-Dhb4iV2T-BYJc1IM0.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CxXM_Pse-aMnsSeAe.js → DepositAccTransactionItem-6BPvYynA-D1Ju63qU.js} +2 -2
  62. package/dist/assets/DepositAccTransactionListPage-CYqVm1Rm-FhuWm2tm.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-CswDexXc-CwmUyTco.js → DomesticWireDetailsPage-BOza2O-8-CYD7ppA5.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Ck84lTok-DoSlSguE.js → DownloadOverlay-cbNihDeI-BS6u10ct.js} +1 -1
  65. package/dist/assets/{DrawerPage-Ctqr9Qke-DbWbSJy7.js → DrawerPage-DhT58SBb-DaHEF-EV.js} +3 -3
  66. package/dist/assets/EditPeoplePage-BLNgVf-0-U2va95MO.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-DHIg51AQ-Du0u5yPi.js → EditReimbursementDetailPage-DmApxq-q-CyDk02YT.js} +61 -61
  68. package/dist/assets/{EntityDetailPage-BsCWH1Al-WFaE0WQF.js → EntityDetailPage-CvgcTamk-C6e8nDgM.js} +4 -4
  69. package/dist/assets/{EntitySummarySection-ntuao-VM-fobvDD6S.js → EntitySummarySection-C82U-rtJ-DmZyL6x2.js} +6 -6
  70. package/dist/assets/{ExpenseAutomationOverviewPage-lptxncga-rbFk8U51.js → ExpenseAutomationOverviewPage-Bgibjb2E-BaSAz2Y9.js} +10 -10
  71. package/dist/assets/{ExpenseAutomationPage-S1iaOuA5-DRC_L2v_.js → ExpenseAutomationPage-Be5-Yt8w-Cjj2nOen.js} +36 -36
  72. package/dist/assets/{ExpressPayPage-3UaLqRo7-BW2LLrbf.js → ExpressPayPage--mCSxEVH-BFs72UEO.js} +10 -10
  73. package/dist/assets/{FeaturePreviewPage-CLHp1LHp-eKI7eeEH.js → FeaturePreviewPage-CFVDZyby-CGtGECgw.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BY0dw_SN-iqWfg0Bg.js → FollowStepsSection-CVWuuidV-DUG37jOA.js} +18 -18
  75. package/dist/assets/{GlobalReviewListPage-CltHFSzG-CQET8EIq.js → GlobalReviewListPage-vkNEl7d8-CiHg5TZf.js} +14 -14
  76. package/dist/assets/{InformationCardStack-CVoS_Bni-DRMXWlfL.js → InformationCardStack-LF_aKhhL-CKp0o9nn.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-YcKupOZZ-BYS9QdSX.js → InsightsCardStack-BIcK-jeU-C5tLvdIq.js} +13 -13
  78. package/dist/assets/{InsightsSection-BuCEgcAh-DX4KP6Gi.js → InsightsSection-CIpbIEbv-CFt4IQKX.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-r_VwvwxS-D2fIzpgb.js → IntegrationsSettingsPage-CjP_3pkI-CnkkLjlB.js} +3 -3
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-B2x6g-rb-BG86r2Q_.js → InternationalWireSwiftDetailsPage--xhtyYY7-D4zcriQW.js} +7 -7
  81. package/dist/assets/{InternationalWireVerificationPage-B-sxkGbq-BzbYdtzf.js → InternationalWireVerificationPage-BpvZr-WI-jxE-vB-G.js} +7 -7
  82. package/dist/assets/{InviteFormPage-CrFWGpJE-DomTNTMP.js → InviteFormPage-9NFX-MhQ-BgZ7muUE.js} +9 -9
  83. package/dist/assets/{InvitePageListView-BsGwCg5B-DlrJVwFE.js → InvitePageListView-B-cAYAEj-DdX2Vf2f.js} +40 -40
  84. package/dist/assets/{InvitePeoplePage-D0-MjKb2-B1ShEIts.js → InvitePeoplePage-_lENDcHE-Cs4JWgnf.js} +2 -2
  85. package/dist/assets/{InvoiceUploadSection-BUF7Ko_U-1xPxHQJp.js → InvoiceUploadSection-Md8EHqPI-B2FbeYFD.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-D5sn5jt4-BWcpzIYT.js → IssueChargeCardPage-DlBHg90l-CkIYZG8g.js} +14 -14
  87. package/dist/assets/{LabeledAddressValue-Ds1BeyG_-FoXd8L7U.js → LabeledAddressValue-BRVf6Gy8-DR_hCdER.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-D_Ztmm7--tsnB0bq1.js → LabeledAddressValueField-Dm962nbv-CJctT64I.js} +3 -3
  89. package/dist/assets/{LabeledControlledCheckBoxField-DGV1Bz6o-CCbHpDl4.js → LabeledControlledCheckBoxField-AuHfNy1--CYnnof78.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CTmUlcyk-Dx11AHn5.js → LabeledCreatableSingleSelectField-CZzPQt4P-q5eFoS7_.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-BwHjf12U-ti56UUdB.js → LabeledDocumentField-Cj3wNN-j-DRfRBZq3.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BaAHosJI-CDWZK3Xu.js → LabeledDropDownFormattedTextField-DKi8UjgP-vgVqFIrz.js} +2 -2
  93. package/dist/assets/{LabeledText-CVYTNBOt-LIAQJcbl.js → LabeledText-C-8itgDI-CUp_0u3s.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnK0wLL0-CdsEapB3.js → LabeledUserSingleSelectWithSubtitlesField-CyEiLq7_-CyR9dVw4.js} +5 -5
  95. package/dist/assets/{LabeledZeniRolesDropDownField-B2eu9WQ_-CXTTkytl.js → LabeledZeniRolesDropDownField-CoQcMW_--ClLOgm0I.js} +8 -8
  96. package/dist/assets/{LinkJETransactionPage-DTU4Piv4-CzTizu8e.js → LinkJETransactionPage-aTmlEn-Z-x31yl_Si.js} +10 -10
  97. package/dist/assets/{LockCardPage-9rnmj-hG-Dgtzvq-m.js → LockCardPage-nJeB0vKv-D0hlcn6G.js} +45 -45
  98. package/dist/assets/{LowBalancePopup-CCl7fzh9-CRJeCFG3.js → LowBalancePopup-aFCQSDc_-C6y1E7C0.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-CkEC7bfy-BTcHRx9h.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-DXqRDZvA-Cof2FQM6.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-CegOSNsV-D9w4qClx.js +1 -0
  102. package/dist/assets/MagicLinkSuccessPage-RxCflvAg-z_sXnPco.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-ClWFjqQr-B7_1AUkD.js → MagicLinkTitleSection-CYaOQsiQ-Bmr50Dux.js} +3 -3
  104. package/dist/assets/MailingDetailsSection-KUvjhmZC-BH5Oyyjr.js +21 -0
  105. package/dist/assets/{MyBankConnectionsSettingsPage-BC47a22v-9PSEA4Wu.js → MyBankConnectionsSettingsPage-SlfAD_ec-Cxn1_qTK.js} +7 -7
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-BJ_kQQGd-lBfLcXgn.js → MyPendingActivationChargeCardListPage-BShzFR0m-CvOtafM-.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-C70z69ea-CMxdjCdW.js → MyProfileSettingsPage-CzGU1Gx7-Dqk_FQO0.js} +11 -11
  108. package/dist/assets/{NavBarWithPicker-CRQ9DzK7-Cs0J7mYU.js → NavBarWithPicker-NJ3tm2MI-oOlPyLbT.js} +4 -4
  109. package/dist/assets/{NavigationArrow-CWRgkV1y-5nUqXc-t.js → NavigationArrow-B145tYV_-C_6ukSuK.js} +1 -1
  110. package/dist/assets/{NavigationDots-BDKBgUe6-CeOovYs1.js → NavigationDots-DaOFOsFA-BBWJs6hX.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-B_mViG5F-TkGICDRh.js → NewGlobalMerchantPage-YTsNL6iu-Bz6Acdaw.js} +33 -33
  112. package/dist/assets/{NoDataChart-CJyaj_wD-Ceo15OJ6.js → NoDataChart-C7YUwwui-iNU45UoG.js} +2 -2
  113. package/dist/assets/NoDataTable-DolCx6QR-C89fB2OT.js +8 -0
  114. package/dist/assets/{NotFoundPage-B-CdwYLM-04zajBZ5.js → NotFoundPage-BBnisozE-ZTo3UmTG.js} +7 -7
  115. package/dist/assets/{NotificationSettingsPage-DrMp-0h0-CNJC7C_o.js → NotificationSettingsPage-DPg3FvvD-Bucvci8R.js} +21 -21
  116. package/dist/assets/{NotificationsListConfig-Cl713fZg-qRofkxh7.js → NotificationsListConfig-BkOX8iIv-DgCgfDhw.js} +1 -1
  117. package/dist/assets/{NotificationsPage-Dh4xulau-_5iAw31w.js → NotificationsPage-BUhLO_r9-37VbqnuY.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-BslfnDh3-53j8zSVl.js → OpExByVendorPage-CHY5zg69-DBOqA9P_.js} +20 -20
  119. package/dist/assets/OverlayContainerPage-D4QU0p4o-Bn1glMo5.js +11 -0
  120. package/dist/assets/{PandLWithForecastPage-BYnaGvO3-Bs93z5El.js → PandLWithForecastPage-CeQr3WjJ-CzbnzXa-.js} +3 -3
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CR6xX1bB-BwbAQyjl.js → PaymentAccountSetupBillingAddressSection-B6xSczs6-BKvI8Xkx.js} +1 -1
  122. package/dist/assets/{PeoplePage-BRC7-Yol-C9rira3P.js → PeoplePage-fCF4vkUp-ufAU-1hs.js} +25 -25
  123. package/dist/assets/{Preview-BY6UeCTa.js → Preview-hLK8QRw8.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-BgltUKwq-Dj-tP9zJ.js → ProductsCarousel-rA-O8_7D-CY5GfBBq.js} +6 -6
  125. package/dist/assets/{PromoBaseCards-DMleWayu-BFTkh-l1.js → PromoBaseCards-C37GX90J-DqWlf7fN.js} +3 -3
  126. package/dist/assets/{QBOConnectionDialog-BSKkJDPD-CJILPjk5.js → QBOConnectionDialog-Dwog9AYZ-O8uWq45M.js} +4 -4
  127. package/dist/assets/{QBOSetupSection-YQ4TKOTA-B5TQNN0G.js → QBOSetupSection-uV3w7rHW-MEAdwA6a.js} +4 -4
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-CPZfTMx--hGh26AYS.js +32 -0
  129. package/dist/assets/{ReimbursementApprovalRulesPage-DQDbyY1K-B5lF3vkz.js → ReimbursementApprovalRulesPage-IGpmh9zA-Bx94q0Ic.js} +4 -4
  130. package/dist/assets/{ReimbursementDetailPage-gAg8C98b-DuQNQ-y5.js → ReimbursementDetailPage-CnzK17M4-DQC0uxdE.js} +3 -3
  131. package/dist/assets/{ReimbursementPromoPage-DtKtr2rP-C8cL3Mv7.js → ReimbursementPromoPage-DSfL54Md-1ZVBlDma.js} +4 -4
  132. package/dist/assets/{ReimbursementSetUpPage-BdUoR2HM-CIGHv-6r.js → ReimbursementSetUpPage-BoTn3JKw-CBdNL9HT.js} +8 -8
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BL6oI4fi-DUFvxQjQ.js → ReimbursementsBulkReviewDrawerPage-DBc7LS-n-Iqxb_53N.js} +1 -1
  134. package/dist/assets/{ReloadCard-B3OtOvVI-DVK4TeBa.js → ReloadCard-B5rmmfva-TUZ-Tkd2.js} +3 -3
  135. package/dist/assets/{ReportTableViewSelector-Cmv2xs7h-CJ6mu-Rp.js → ReportTableViewSelector-0OEScWmm-Hga5bKqy.js} +29 -29
  136. package/dist/assets/{ReportsPage-SWC6uIs--DupC08g-.js → ReportsPage-BTkakKPX-BSzPNOYj.js} +6 -6
  137. package/dist/assets/{RevenueChart-CZlAswBG-DPlV94YS.js → RevenueChart-Ba8ZLje8-Drb014Fl.js} +15 -15
  138. package/dist/assets/{ReviewDetailsPage-BW3pZ3ws-BH9zDrcw.js → ReviewDetailsPage-BQDrm2yR-Bz5FazaS.js} +17 -17
  139. package/dist/assets/{ReviewOverlay-BhFwGG6t-C0m5jD2s.js → ReviewOverlay-8tBBKn9R-BZESXqSp.js} +5 -5
  140. package/dist/assets/RoleWithToolTip-YZusZfiJ-BELittL3.js +22 -0
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CdmehDsJ-Dd48HqBm.js → ScheduleDetailsFixedAssetsPage-BN9hFnGC-I8BvJlgl.js} +13 -13
  142. package/dist/assets/{ScheduleDetailsPage-DA1eGkzI-a0yDswoo.js → ScheduleDetailsPage-DAr4tXe_-BZZ4Y69I.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-BvGIwZmi-Br-m9rdL.js → ScheduleSequenceTable-DUfu-c6e-DBFpgT6F.js} +12 -12
  144. package/dist/assets/{ScreenRoutes-D3PxnqOE.js → ScreenRoutes-RdWdKKFl.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-DM4CvIFN-CPQ8K94t.js → SetUpAccountSection-DqW4vmsx-CO06aLnp.js} +6 -6
  146. package/dist/assets/{SignIn-DU3HuwJr-CXMwOpi4.js → SignIn-CCqNj3tG-DRDC5Yhl.js} +17 -17
  147. package/dist/assets/{SignInScreen-PoBHP4-4.js → SignInScreen-BI4txts-.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-VR4dPKBw-DHyDM03E.js → SpendManagementListViewPage-s4dPd5hE-IanF8B1T.js} +11 -11
  149. package/dist/assets/{SpendManagementPerTabPage-CdYRrtcC-DFgavPhh.js → SpendManagementPerTabPage-NWc7uqw6-_rcGYzjd.js} +45 -45
  150. package/dist/assets/{SpendManagementSection-C2Uw6UXF-BRw2L3H1.js → SpendManagementSection-eYrLZK1E-KjAWYeIa.js} +17 -17
  151. package/dist/assets/StatementItem-CKK9vnC7-CB-e2CLd.js +31 -0
  152. package/dist/assets/StatementsPage-C0wI_tRw-BDtidNq4.js +58 -0
  153. package/dist/assets/{StatusSwitcher-RY35Qzlp-DPptYPVp.js → StatusSwitcher-DFluM61E-D9icc7U1.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-CIhSt1_V-BGyVDCoP.js → SubTabSwitcher-Cin8x7wg-Dcdm2qpz.js} +1 -1
  155. package/dist/assets/{SummaryCard-iIQISRZL-Cx0NyzVM.js → SummaryCard-Bcw6fQTD-Do950Kyf.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-CCC1QlZS-BHBkMyad.js → TaskManagementPage-B9qW2lvP-CVsVNeeW.js} +9 -9
  157. package/dist/assets/{TimeRangeSwitcher-BIA3BW1g-Bty5Ch9x.js → TimeRangeSwitcher-u57rzf78-Bgi2Q6bp.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-BhV0yrj0-CbCl4A9y.js → TimeframeSwitcher-ClE4GOKf-CCgDF2y1.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-CIAZXHb2-orP1uTMH.js → TimeframeSwitcherWithToggle-COre57iX-BQBghhwC.js} +2 -2
  160. package/dist/assets/{TopExCard-CPsxq74q-662cwF8z.js → TopExCard-DF3x7jLh-CRuE7H2y.js} +6 -6
  161. package/dist/assets/{TopExDetailPage-BGoq66Fs-0PJ8BVQb.js → TopExDetailPage-DmFsRNbY-CAPDLdK7.js} +5 -5
  162. package/dist/assets/{TransactionActivityLogPage-BW-qVpWu-D-8WEz2X.js → TransactionActivityLogPage-BJWKx4q0-BUpcnLzX.js} +3 -3
  163. package/dist/assets/{TransactionDetailPage-D0tW8GIH-C00b9e62.js → TransactionDetailPage-mtNlJQ2B-IRA0HZOa.js} +26 -26
  164. package/dist/assets/{TransactionList-T8gAOJc0-Dw9G55NV.js → TransactionList-CLb6vsAw-BNfVqp8k.js} +12 -12
  165. package/dist/assets/{TransactionListBig-CMjxUKt2-BhSVq9fm.js → TransactionListBig-BzBXZp6s-UPK6nK0b.js} +7 -7
  166. package/dist/assets/TransactionListPage-DoQrIKK0-cdAGgkOJ.js +35 -0
  167. package/dist/assets/{TransactionVendorDetailPage-Ca7bgryb-CmVBYko3.js → TransactionVendorDetailPage-D-wSEk3k-Bp7ZO9K6.js} +3 -3
  168. package/dist/assets/{TransferDrawerPage-DG6q94Ch-Cqord4XL.js → TransferDrawerPage-j8FDHpig-DvRwMkL8.js} +29 -29
  169. package/dist/assets/{TreasuryOverviewPage-YNlUL3px-B_35sSeA.js → TreasuryOverviewPage-2U807bhy-BY8VUFc9.js} +24 -24
  170. package/dist/assets/{TreasuryPromoPage-CBSYXvme-DpMWnl6i.js → TreasuryPromoPage-BYXuV9oH-vUIAQ6f4.js} +13 -13
  171. package/dist/assets/TreasuryStatementsPage-CeaExx3z-DsMw65vI.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-Bln01PPe-DpJfleJK.js → TreasuryTaxLetterPage-BrBEeHG1-u74MPbjQ.js} +2 -2
  173. package/dist/assets/{TrendChart-DjKmnpsm-CS6VXx1C.js → TrendChart-D0GWCIs5-BdQ26pcI.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-D2CSrQJG-DdbpQrSL.js → TrendWithTransactions-DcCilwfx-_37SmAif.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BhgJFJvY-Cs1YOJIy.js → UncategorizedAccountsMappingPage-D5oo8UHa-k_11pvpn.js} +13 -13
  176. package/dist/assets/{UnitIntegrationPage-CtNIGtOS-DZq9w7mC.js → UnitIntegrationPage-BQp7NQLB-CdKp5-34.js} +6 -6
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-D44jXTDW-DwZWfezE.js → UploadAdditionalDocumentOverlay-DvAwuTYB-DJVdyOgq.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-BVuTJ4jh-Dmi8LqgF.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-DkXoubZC-RuWRXgBi.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DRr5ci0V-Du2p3ojh.js → VendorDetailPage-BNr0Z5jN-B5vvqHLt.js} +23 -23
  181. package/dist/assets/VendorDomesticWireDetailsPage-CaaOskIa-DGRBzFDy.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-C6mptSEx-B_hdSwqB.js → VendorFiling1099EditablePage-D2_NM9OH-Cg7w3eGu.js} +38 -38
  183. package/dist/assets/{VendorFirstReviewPage-CLBTSreq-DCVG1u2-.js → VendorFirstReviewPage-DxhhgmEm-DydY5H1-.js} +17 -17
  184. package/dist/assets/{VendorInternationalWireDetailsPage-oMdWj41X-CmZF5xAN.js → VendorInternationalWireDetailsPage-CUIOT8vU-afAyjr3K.js} +9 -9
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dq9K171L-CWe5L2D4.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-Cr_m8Jyi-CiH59Azu.js → VendorsAccountsSection-eef70mQn-_RCZqtQz.js} +1 -1
  187. package/dist/assets/{VerifyDevice-DrXK_7gG-CEX4QcR9.js → VerifyDevice-CMvsjley-rC4gKQeJ.js} +12 -12
  188. package/dist/assets/{VideoPlayer-BZe4PqnR-CX1XPKSp.js → VideoPlayer-DKSZUXeK-H0wCm76T.js} +2 -2
  189. package/dist/assets/{VideoPopup-BaEQAfak-DFKT4R55.js → VideoPopup-BG0G1trN-J1tFoUPS.js} +3 -3
  190. package/dist/assets/{WarningsDrawerPage-COJ1hjAD-BEWCjyIu.js → WarningsDrawerPage-g_KTQdH7-Br6CzJQ0.js} +8 -8
  191. package/dist/assets/{ZeniAccountDetailPage-Chx3JWsc-DUW0nJwl.js → ZeniAccountDetailPage-LkheAcW_-BBvGkAZe.js} +18 -18
  192. package/dist/assets/{ZeniAccountListViewPage-6RhsoQzy-B1q4otvI.js → ZeniAccountListViewPage-DVQHT8ma-B9oJhIl0.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-10K_Qgxx-DnALebZP.js → ZeniAccountNavBarPieces-_Xr6q9sA-BmDV-yHS.js} +4 -4
  194. package/dist/assets/{ZeniAccountPromoPage-ClXA4h8f-BJADOlI6.js → ZeniAccountPromoPage-C3LR6klI-gvX4BiZe.js} +8 -8
  195. package/dist/assets/{ZeniAccountSetupPage-7YlBF0nq-BMd9Jfil.js → ZeniAccountSetupPage-BtWnNkH7-Bw5ifbpG.js} +2 -2
  196. package/dist/assets/{ZeniCopyright-k2F7p5Nn-CWJt4f_H.js → ZeniCopyright-D36dbFYs-DbL5X4NH.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-CJY_ei3T-BQBKQlY-.js → ZeniTransferAmountSlider-BYbDaVKJ-CzP9xAeJ.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-CNvnwL2z.js → add-to-wallet-DgdBD8_G-CjuRM598.js} +1 -1
  199. package/dist/assets/{analytics-rms9goNI.js → analytics-DH0nG_g5.js} +1 -1
  200. package/dist/assets/analyticsHelper-B_RV_zIh.js +1 -0
  201. package/dist/assets/{analyticsHelper-e2zBYls0-DsW-gRIg.js → analyticsHelper-C4PZ1Adh-DNHzQdSq.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DpZb0ICZ.js → arrow-south-east-round-PEovUgvH-ezr-NUEt.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-CBISKKCi.js → auto-transfer-rule-mbafm5D3-DCTaBPDp.js} +1 -1
  204. package/dist/assets/{chartTypes-D0t0a86R-VgxTrMCK.js → chartTypes-Bf1-edD8-CV1yysKw.js} +1 -1
  205. package/dist/assets/{commonDimensions-BwCds81U-kEodPKRG.js → commonDimensions-B60Qkfnz-DxGoTy6S.js} +1 -1
  206. package/dist/assets/{constants-C3kp1fkP.js → constants-HPf8XA_c.js} +1 -1
  207. package/dist/assets/{core-B_30foAD.js → core-yiE_iOc0.js} +1 -1
  208. package/dist/assets/{dash.all.min-3-z_MPR8.js → dash.all.min-ZaNNnJRa.js} +1 -1
  209. package/dist/assets/{detailCommon-CFEglqRw-DcI3Dm8c.js → detailCommon-B4aI_98A-CEMaqjeK.js} +6 -6
  210. package/dist/assets/{downloadPdf-BfjQscZh-CeCugFTI.js → downloadPdf-DVqVkV_p-CELECDCw.js} +1 -1
  211. package/dist/assets/{empty-DyZfcN1I.js → empty-BOna3nXl.js} +1 -1
  212. package/dist/assets/{empty-BB-5X2tp.js → empty-Be-7ZZNG.js} +1 -1
  213. package/dist/assets/{epic-CXeU0a14.js → epic-CGLWHopS.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-tVleHIYS.js → gift-box-Cmt9OgIZ-yO9QG4ws.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CYR0rF_u.js → graphic-no-data-l-DU4J8fDt-08AJBbmd.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DI-E_991.js → graphic-no-data-net-burn-l-CzmycA0m-BCEcNSIc.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-DRFlkqA2.js → handshake-BPg58FML-CS6zI2jd.js} +1 -1
  218. package/dist/assets/{index-BCh0qUkM.js → index-B05X8Jld.js} +1 -1
  219. package/dist/assets/{index-BoyomC_-.js → index-BQKUEYMa.js} +1 -1
  220. package/dist/assets/{index-DVfmIUIY.js → index-DADoWRMM.js} +1 -1
  221. package/dist/assets/{index-BhfvNbOl.js → index-DEPZWJ5u.js} +1 -1
  222. package/dist/assets/{index-4xstgUx1.js → index-JQjyoaIW.js} +1 -1
  223. package/dist/assets/{index-DgHTMbc3.js → index-V6G13z1s.js} +1 -1
  224. package/dist/assets/{index-BR9aIv1A.js → index-o0j-GZyM.js} +1919 -1951
  225. package/dist/assets/{lexical-CcL2Fd1i.js → lexical-DlAOaxF0.js} +1 -1
  226. package/dist/assets/{liveblocks-B8f0lmpe.js → liveblocks-BZyZbty1.js} +1 -1
  227. package/dist/assets/{lottie-CbICbNKh.js → lottie-HBX4-MpS.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-DuPcSiT5-DY73v-Wq.js +1 -0
  229. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D84rlDgo-CA3ifSFr.js → mapSectionWithAcOnlyToTreeNode-BZsGUDKa-4VCnAicV.js} +1 -1
  230. package/dist/assets/mapSpacerToTreeNode-br_rslOm-BB79AXDK.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-9dsEoKql-CTAmJm8r.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-BpOPNyk--FPICGthL.js +1 -0
  233. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BMNyeJt9-CIYXC4NE.js +1 -0
  234. package/dist/assets/{mui-C7Q1opAD.js → mui-CAW43Z2L.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-DfEuZBUZ.js → page-detail-CWX5S47F-Ga1rCJlu.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Udxivyx_.js → panelSelectedMixin-CzfD5-Zs-C9yV2YE9.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-VWYNvRzB.js → radio-default-CiSgisfh-W2nwrqQ5.js} +1 -1
  238. package/dist/assets/{react-C5VDu1Xe.js → react-BURuhNYe.js} +1 -1
  239. package/dist/assets/{react-D-QPbFx5.js → react-BeHv7oF0.js} +1 -1
  240. package/dist/assets/{react-OE6vDDlS.js → react-C5kAuTha.js} +1 -1
  241. package/dist/assets/{react-CEhgfqKO.js → react-CkHAqWHd.js} +2 -2
  242. package/dist/assets/{react-B1skuV78.js → react-Cy_jHEin.js} +1 -1
  243. package/dist/assets/{react-DODYMrDc.js → react-D70Dpky3.js} +1 -1
  244. package/dist/assets/{react-zf2AM5gr.js → react-DFbroRVg.js} +1 -1
  245. package/dist/assets/{react-gaSEjZmU.js → react-QfjvWill.js} +1 -1
  246. package/dist/assets/{recharts-v_b66Qfi.js → recharts-Duslqfio.js} +1 -1
  247. package/dist/assets/{sentry-BwoJfpTa.js → sentry-DmQUfSE7.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-DlZ9ml05.js → shield-DOlUxcFf-BSj8Drkk.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DOquK-Sn-1uwfHDc8.js +1 -0
  250. package/dist/assets/{toChartData-BVSCRQYT-CU2W4nbR.js → toChartData-CcG8i49E-invCvTu2.js} +1 -1
  251. package/dist/assets/{uploadAttachment-D3ybtHtR-D84dG_-j.js → uploadAttachment-B-y1--ww-BcIqRgDj.js} +19 -19
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-C6WyXewN.js → uploadReceipts-Dge0cNF1-Df2fHyc-.js} +1 -1
  253. package/dist/assets/{url-o9j2r9Zq.js → url-R21EGndt.js} +1 -1
  254. package/dist/assets/{url-BcaeVwpg.js → url-hGfZCfig.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-CM12epgA.js → useLongPress-GCK2COYQ-DR25cb_3.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-Cyu4xp0r.js → usp-line-BBd1wKwW-D5-lu6m5.js} +1 -1
  257. package/dist/assets/{utils-C75CTJHa.js → utils-C-XuhdQM.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Deo9yJpd.js → zeni-epic-state-C4Tt6Qhq.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/AccountInfoPage-BGcQ2kEJ-awOqo-nC.js +0 -18
  262. package/dist/assets/AccountLockedInfoModal-Q_WY8V5e-CDYJtJV8.js +0 -59
  263. package/dist/assets/AddAddressForCardDrawer-D12dN-9m-CqdZIDlk.js +0 -6
  264. package/dist/assets/BoxItem-BGrgQ_sW-cYQcyKu_.js +0 -53
  265. package/dist/assets/ConfettiBurst-C1IgWBaA-CL1o9dY6.js +0 -1
  266. package/dist/assets/CustomerOnboardingContainerPage-YZ4WpsDD-CT9Ps13n.js +0 -1
  267. package/dist/assets/DepositAccTransactionListPage-flz5jtjj-Tj1qKkuc.js +0 -66
  268. package/dist/assets/EditPeoplePage-BiGeDyr0-BP5iQ9eS.js +0 -55
  269. package/dist/assets/MagicLinkACHDetailsPage-B5oowluv-pi_Q89s3.js +0 -1
  270. package/dist/assets/MagicLinkDomesticWireDetailsPage-BohAWQ_F-BBgkEcbM.js +0 -1
  271. package/dist/assets/MagicLinkInternationalWireDetailsPage-CRx-EIj--rUZQXW3V.js +0 -1
  272. package/dist/assets/MagicLinkSuccessPage-q5XLFFKd-IcgduK3D.js +0 -31
  273. package/dist/assets/MailingDetailsSection-Dle_aLif-C9MEuFNg.js +0 -21
  274. package/dist/assets/NoDataTable-BroHHbsa-C2KBPOR3.js +0 -8
  275. package/dist/assets/OverlayContainerPage-D4QU0p4o-CW30kf30.js +0 -11
  276. package/dist/assets/ReimbursementApprovalRuleDetailPage-BFxCrrVt-CFZDA3-E.js +0 -32
  277. package/dist/assets/RoleWithToolTip-D74SWfZd-B2mOCrt1.js +0 -22
  278. package/dist/assets/StatementItem-CS0N92J0-BsnAviIB.js +0 -31
  279. package/dist/assets/StatementsPage-DL8W4WLu-BH9E8ATR.js +0 -58
  280. package/dist/assets/TransactionListPage-Bx6qszUl-B-5CDbC_.js +0 -35
  281. package/dist/assets/TreasuryStatementsPage-D0YaCwv3-PNzj_mHV.js +0 -58
  282. package/dist/assets/Vendor2FAPopup-BogFaSYy-BlnTHqfY.js +0 -1
  283. package/dist/assets/VendorACHDetailsPage-Di9QJ0hA-BNrZk8u_.js +0 -1
  284. package/dist/assets/VendorDomesticWireDetailsPage-DCdG-eGI-IQvY9pai.js +0 -1
  285. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CM2bFEbE-B7IN2oYH.js +0 -1
  286. package/dist/assets/analyticsHelper-DTNFmelW.js +0 -1
  287. package/dist/assets/mapLoadingInProgressToTreeNode-D-j3xrlE-C3TmZv3p.js +0 -1
  288. package/dist/assets/mapSpacerToTreeNode--_h7d27O-sxGNKTOK.js +0 -1
  289. package/dist/assets/mapTimeframeBalancesToTreeNode-BqoG_HF--CRhmAO8j.js +0 -1
  290. package/dist/assets/mapTimeframeBalancesToTreeNode-DPb6o33r-DFBVfNq3.js +0 -1
  291. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-DAB0kK09-CTBKyUYq.js +0 -1
  292. package/dist/assets/toCOABalancesWithID-mNZ5ym9S-BQfS02g5.js +0 -1
@@ -1,13 +1,13 @@
1
- import{V as t,J as K,a9 as he,F as U,cF as ye,aD as ge,cp as be,cq as fe,cr as xe,ac as ve,aR as we,y as p,eZ as le,e_ as Ce,o as y,b9 as $e,cS as oe,e as ne,e$ as De,f0 as Z,cY as G,b1 as H,cI as je,er as Te,u as a,c_ as ke,aP as Se,p as V,R as Oe,T as Fe,bT as Ae,ai as Le,bK as Ie}from"./index-BR9aIv1A.js";import{a as R}from"./sentry-BwoJfpTa.js";import{n as g}from"./mui-C7Q1opAD.js";import{bi as J}from"./zeni-epic-state-Deo9yJpd.js";import{W as We,A as ze}from"./BankAccountWarningSection-DJhHTBuh-D20FRc-x.js";import{T as Re}from"./MailingDetailsSection-Dle_aLif-C9MEuFNg.js";import{S as Pe}from"./CurrencySelectField-BNcLy0zv-DUL30Rmr.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";import"./LabeledAddressValueField-D_Ztmm7--tsnB0bq1.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]="da223401-3e16-46da-8d51-154a894340eb",e._sentryDebugIdIdentifier="sentry-dbid-da223401-3e16-46da-8d51-154a894340eb")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=K(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),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:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Be,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,J as K,a9 as he,F as U,cF as ye,aD as ge,cp as be,cq as fe,cr as xe,ac as ve,aR as we,y as p,eZ as le,e_ as Ce,o as y,b9 as $e,cS as oe,g as ne,e$ as De,f0 as Z,cY as G,b1 as H,cI as Te,er as je,u as a,c_ as ke,aP as Se,p as V,R as Fe,T as Oe,bT as Ae,ai as Le,bK as Ie}from"./index-o0j-GZyM.js";import{a as R}from"./sentry-DmQUfSE7.js";import{n as g}from"./mui-CAW43Z2L.js";import{bi as J}from"./zeni-epic-state-C4Tt6Qhq.js";import{W as We,A as ze}from"./BankAccountWarningSection-XMpgCYBF-BD-ZRFYQ.js";import{T as Re}from"./MailingDetailsSection-KUvjhmZC-BH5Oyyjr.js";import{S as Pe}from"./CurrencySelectField-dqih82Wa-Bf5oGIgX.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./LabeledAddressValueField-Dm962nbv-CJctT64I.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]="475ca9ad-d1fd-4a2d-9a95-7ad06366553f",e._sentryDebugIdIdentifier="sentry-dbid-475ca9ad-d1fd-4a2d-9a95-7ad06366553f")}catch{}})();const O={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 Fe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:T,showAdditionalInfoLabel:S=!0}){const C=K(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(S&&T||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,T]})}};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:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),D?t.jsx(Be,{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;
5
5
  background-color: ${e=>e.theme.colors.grey5};
6
- width: ${e=>F.width.valuePx(e.size)};
7
- min-height: ${e=>F.height.valuePx(e.size)};
8
- padding-right: ${e=>F.marginRight.valuePx(e.size)};
9
- padding-top: ${e=>F.paddingTopBottom.valuePx(e.size)};
10
- padding-bottom: ${e=>F.paddingTopBottom.valuePx(e.size)};
6
+ width: ${e=>O.width.valuePx(e.size)};
7
+ min-height: ${e=>O.height.valuePx(e.size)};
8
+ padding-right: ${e=>O.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>O.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>O.paddingTopBottom.valuePx(e.size)};
11
11
  :first-of-type {
12
12
  border-top-left-radius: inherit;
13
13
  border-top-right-radius: inherit;
@@ -86,7 +86,7 @@ import{V as t,J as K,a9 as he,F as U,cF as ye,aD as ge,cp as be,cq as fe,cr as x
86
86
  width: ${y.sp3};
87
87
  height: ${y.sp3};
88
88
  color: inherit;
89
- `,k={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:j,isDisabled:S,style:C})=>{const b=K(),{getValues:$}=oe(),D=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=k.largeLabelWidth.value(b),I=n?.accountType?.type,T=n?.countryCode==null,E=n?.currencyCode==null,O=["phone","email","other"];return t.jsx(Ke,{style:C,children:t.jsxs(Ze,{children:[t.jsx(De,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(z,{}),t.jsx(_e,{isDisabled:T===!0?"disabled":j===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(z,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(z,{})]}):null,n!=null&&I!=null&&n.dynamicForm[I]!=null&&i.length>0?Object.keys(n.dynamicForm[I]).map(s=>{const r=i.filter(_=>_.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const _=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(je,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:_,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:S,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(Y,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x}}),t.jsx(Q,{labelWidth:x,size:b,children:r.valuesAllowed?.map(B=>t.jsx(H,{label:{label:B.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:B.value,registerOptions:{required:!0}}},B.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});default:return null}}else return null}):null,t.jsxs(Je,{size:b,children:[t.jsxs(Y,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:k.toolTipWidth.valuePx(b)}),t.jsxs(Q,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(z,{})]})})},L=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Ke=g.div`
89
+ `,k={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:T,isDisabled:S,style:C})=>{const b=K(),{getValues:$}=oe(),D=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=k.largeLabelWidth.value(b),I=n?.accountType?.type,j=n?.countryCode==null,E=n?.currencyCode==null,F=["phone","email","other"];return t.jsx(Ke,{style:C,children:t.jsxs(Ze,{children:[t.jsx(De,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(z,{}),t.jsx(_e,{isDisabled:j===!0?"disabled":T===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(z,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(z,{})]}):null,n!=null&&I!=null&&n.dynamicForm[I]!=null&&i.length>0?Object.keys(n.dynamicForm[I]).map(s=>{const r=i.filter(_=>_.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const _=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(Te,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:_,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:S,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(Y,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x}}),t.jsx(Q,{labelWidth:x,size:b,children:r.valuesAllowed?.map(B=>t.jsx(H,{label:{label:B.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:B.value,registerOptions:{required:!0}}},B.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});default:return null}}else return null}):null,t.jsxs(Je,{size:b,children:[t.jsxs(Y,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:k.toolTipWidth.valuePx(b)}),t.jsxs(Q,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[0],value:F[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[1],value:F[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:F[2],value:F[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(je,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(z,{})]})})},L=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Ke=g.div`
90
90
  display: flex;
91
91
  flex-direction: column;
92
92
  `,Ze=g.div`
@@ -130,7 +130,7 @@ import{V as t,J as K,a9 as he,F as U,cF as ye,aD as ge,cp as be,cq as fe,cr as x
130
130
  flex-grow: 1;
131
131
  height: ${e=>k.controlHeight.valuePx(e.size)};
132
132
  align-items: center;
133
- `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},X="internationalDetailsPage",v="internationalWireSection",Ye="mailingAddressSection",ee=e=>`${e}_form`,Qe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=K(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[E,O]=R.useState(!1),[s,r]=R.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.getLocalizedStrings().common.footer,{international:B}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){O(!0);return}const M=d===`${v}.vendorCountry`,N=d===`${v}.vendorCurrency`;N&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,j,i);const pe={...A},me=ie(pe,e,M,N,f);S(me,j,i,N||M)};R.useEffect(()=>{const d=T.watch((A,{name:M})=>{M!=null&&A!=null&&ye(()=>se(M,A))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=T.getValues(),A=ie(d,e,!1,!1,f);S(A,j,i,!1),O(!1)},[T,e,f,S,j,i]),de=R.useCallback(()=>{E&&q(),D(n)},[E,q,D,n]),ce=T.handleSubmit(d=>{E&&q(),b()}),ue=!ge(w!=null?J(w):w,o!=null?J(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:B.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(X),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ye,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(X),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Xe=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Xe(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
133
+ `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},X="internationalDetailsPage",v="internationalWireSection",Ye="mailingAddressSection",ee=e=>`${e}_form`,Qe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=K(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,j=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[E,F]=R.useState(!1),[s,r]=R.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.getLocalizedStrings().common.footer,{international:B}=h.wireDetails,re={onOkClick:()=>{r(!1),j.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){F(!0);return}const M=d===`${v}.vendorCountry`,N=d===`${v}.vendorCurrency`;N&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,T,i);const pe={...A},me=ie(pe,e,M,N,f);S(me,T,i,N||M)};R.useEffect(()=>{const d=j.watch((A,{name:M})=>{M!=null&&A!=null&&ye(()=>se(M,A))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=j.getValues(),A=ie(d,e,!1,!1,f);S(A,T,i,!1),F(!1)},[j,e,f,S,T,i]),de=R.useCallback(()=>{E&&q(),D(n)},[E,q,D,n]),ce=j.handleSubmit(d=>{E&&q(),b()}),ue=!ge(w!=null?J(w):w,o!=null?J(o):o)||j.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:B.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...j,children:t.jsxs("form",{id:ee(X),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ye,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(X),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{j.formState.isDirty?r(!0):(j.reset(),$())}}})]})},Xe=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Xe(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
134
134
  padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
135
135
  padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
136
136
  padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
@@ -149,4 +149,4 @@ import{V as t,J as K,a9 as he,F as U,cF as ye,aD as ge,cp as be,cq as fe,cr as x
149
149
  color: ${e=>e.theme.colors.champion};
150
150
  margin-left: ${e=>P.marginLeft.valuePx(e.size)};
151
151
  margin-top: ${y.sp3};
152
- `,vt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Qe,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:j,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:S,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{vt as default};
152
+ `,vt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:T,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Qe,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:T,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:S,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{vt as default};
@@ -0,0 +1 @@
1
+ import{V as S}from"./index-o0j-GZyM.js";import{a as k}from"./sentry-DmQUfSE7.js";import{f as b}from"./InternationalWireSwiftDetailsPage--xhtyYY7-D4zcriQW.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./zeni-epic-state-C4Tt6Qhq.js";import"./mui-CAW43Z2L.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./BankAccountWarningSection-XMpgCYBF-BD-ZRFYQ.js";import"./MailingDetailsSection-KUvjhmZC-BH5Oyyjr.js";import"./LabeledAddressValueField-Dm962nbv-CJctT64I.js";import"./MagicLinkTitleSection-CYaOQsiQ-Bmr50Dux.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]="c366c119-d918-4e89-9b6e-cdd209ec54e0",e._sentryDebugIdIdentifier="sentry-dbid-c366c119-d918-4e89-9b6e-cdd209ec54e0")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return k.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(b,{bankAccountToCreate:f,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:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{J as ie,e as oe,F as te,y as c,gH as w,aV as T,V as i,hX as g,o as r,hU as m,R as ne,p as re,dB as de,ai as se,u as a}from"./index-BR9aIv1A.js";import{n as s}from"./mui-C7Q1opAD.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]="e2068337-bca4-4008-83a4-936d1a9ccb6f",e._sentryDebugIdIdentifier="sentry-dbid-e2068337-bca4-4008-83a4-936d1a9ccb6f")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{J as ie,g as oe,F as te,y as c,gH as w,aV as T,V as i,hX as g,o as r,hU as m,R as ne,p as re,dB as de,ai as se,u as a}from"./index-o0j-GZyM.js";import{n as s}from"./mui-CAW43Z2L.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]="6617eb30-a047-438a-b9c6-3789272b0bf3",e._sentryDebugIdIdentifier="sentry-dbid-6617eb30-a047-438a-b9c6-3789272b0bf3")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},k={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aQ as W,a9 as z,V as r,bS as U,aa as p,ac as X,bT as B,ai as x,bU as G,o as n,F as O,r as D,bV as K,al as L,bW as Q,bX as I,bK as Y,p as b,ba as v,bY as Z}from"./index-BR9aIv1A.js";import{a as c}from"./sentry-BwoJfpTa.js";import{n as t}from"./mui-C7Q1opAD.js";import{bh as q}from"./zeni-epic-state-Deo9yJpd.js";import{A as J,Z as C}from"./AccountLockedInfoModal-Q_WY8V5e-CDYJtJV8.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";import"./handshake-BPg58FML-DRFlkqA2.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]="b7cf2b13-d9a0-4eee-8684-af48dd913b42",e._sentryDebugIdIdentifier="sentry-dbid-b7cf2b13-d9a0-4eee-8684-af48dd913b42")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Q(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}},k=120,V=30,T=2,re="456px",te="256px",_=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[j,w]=c.useState(k),[h,S]=c.useState(V),E=W(e.verifyOtpFetchState),u=z({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[E,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(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const A=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(J,{unlockDate:q().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(B,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(G,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",A(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(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(k),S(V))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(D,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aQ as U,a9 as z,V as r,bS as W,aa as p,ac as X,bT as B,ai as m,bU as G,o as n,F as N,r as D,bV as K,al as O,bW as Q,bX as I,bK as Y,p as j,ba as v,bY as Z}from"./index-o0j-GZyM.js";import{a as c}from"./sentry-DmQUfSE7.js";import{n as t}from"./mui-CAW43Z2L.js";import{bh as q}from"./zeni-epic-state-C4Tt6Qhq.js";import{A as J,Z as k}from"./AccountLockedInfoModal-CapmN1xL-DmXdIqXb.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./handshake-BPg58FML-CS6zI2jd.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]="c44ea0fb-c096-40d4-87ef-2276f35deadb",e._sentryDebugIdIdentifier="sentry-dbid-c44ea0fb-c096-40d4-87ef-2276f35deadb")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Q(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}},C=120,V=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(C),[h,S]=c.useState(V),E=U(e.verifyOtpFetchState),u=z({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(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const A=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(J,{unlockDate:q().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(X,{...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(B,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(G,{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," ",A(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(C),S(V))},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(D,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -9,10 +9,10 @@ import{aQ as W,a9 as z,V as r,bS as U,aa as p,ac as X,bT as B,ai as x,bU as G,o
9
9
  `,oe=t(K)`
10
10
  color: ${e=>e.theme.colors.primary};
11
11
  text-align: center;
12
- `,ie=t(L)`
12
+ `,ie=t(O)`
13
13
  color: ${e=>e.theme.colors.hero};
14
14
  text-align: center;
15
- `,se=t(L)`
15
+ `,se=t(O)`
16
16
  color: ${e=>e.theme.colors.primary};
17
17
  text-align: center;
18
18
  `,le=t.div`
@@ -25,7 +25,7 @@ import{aQ as W,a9 as z,V as r,bS as U,aa as p,ac as X,bT as B,ai as x,bU as G,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;
@@ -51,10 +51,10 @@ import{aQ as W,a9 as z,V as r,bS as U,aa as p,ac as X,bT as B,ai as x,bU as G,o
51
51
  display: flex;
52
52
  justify-content: center;
53
53
  column-gap: ${n.sp3};
54
- `,me=t(x)`
54
+ `,xe=t(m)`
55
55
  color: ${e=>e.theme.colors.hero};
56
56
  text-align: center;
57
- `,xe=t.div`
57
+ `,me=t.div`
58
58
  display: flex;
59
59
  flex-direction: column;
60
60
  align-items: center;
@@ -78,18 +78,18 @@ import{aQ as W,a9 as z,V as r,bS as U,aa as p,ac as X,bT as B,ai as x,bU as G,o
78
78
  justify-content: center;
79
79
  align-items: center;
80
80
  background: ${e=>e.theme.colors.background};
81
- `,$e=t(x)`
81
+ `,$e=t(m)`
82
82
  color: ${e=>e.theme.colors.hero};
83
83
  text-align: center;
84
- `,be=t(x)`
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-C5VDu1Xe.js","assets/sentry-BwoJfpTa.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-CEhgfqKO.js","assets/zeni-epic-state-Deo9yJpd.js","assets/core-B_30foAD.js","assets/index-4xstgUx1.js","assets/react-zf2AM5gr.js","assets/react-D-QPbFx5.js","assets/react-gaSEjZmU.js","assets/react-DODYMrDc.js","assets/react-B1skuV78.js","assets/react-OE6vDDlS.js","assets/Preview-BY6UeCTa.js"])))=>i.map(i=>d[i]);
2
- import{J as W,V as f,ao as X,p as Y}from"./index-BR9aIv1A.js";import{P as _,a as t}from"./sentry-BwoJfpTa.js";import{n as k,k as K}from"./mui-C7Q1opAD.js";import{r as Z}from"./core-B_30foAD.js";import{ba as y}from"./zeni-epic-state-Deo9yJpd.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]="a3400734-aad4-4e71-a279-809a6b0a287b",e._sentryDebugIdIdentifier="sentry-dbid-a3400734-aad4-4e71-a279-809a6b0a287b")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-C5VDu1Xe.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CEhgfqKO.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-4xstgUx1.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-zf2AM5gr.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-D-QPbFx5.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-gaSEjZmU.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DODYMrDc.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B1skuV78.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-OE6vDDlS.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-BY6UeCTa.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-BURuhNYe.js","assets/sentry-DmQUfSE7.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-CkHAqWHd.js","assets/zeni-epic-state-C4Tt6Qhq.js","assets/core-yiE_iOc0.js","assets/index-JQjyoaIW.js","assets/react-DFbroRVg.js","assets/react-BeHv7oF0.js","assets/react-QfjvWill.js","assets/react-D70Dpky3.js","assets/react-Cy_jHEin.js","assets/react-C5kAuTha.js","assets/Preview-hLK8QRw8.js"])))=>i.map(i=>d[i]);
2
+ import{J as W,V as f,ao as X,p as Y}from"./index-o0j-GZyM.js";import{P as _,a as t}from"./sentry-DmQUfSE7.js";import{n as k,k as K}from"./mui-CAW43Z2L.js";import{r as Z}from"./core-yiE_iOc0.js";import{ba as y}from"./zeni-epic-state-C4Tt6Qhq.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]="a3400734-aad4-4e71-a279-809a6b0a287b",e._sentryDebugIdIdentifier="sentry-dbid-a3400734-aad4-4e71-a279-809a6b0a287b")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>q.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BURuhNYe.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CkHAqWHd.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-JQjyoaIW.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-DFbroRVg.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BeHv7oF0.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-QfjvWill.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-D70Dpky3.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Cy_jHEin.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-C5kAuTha.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-hLK8QRw8.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?Z.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=K`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{J as s,V as t,ao as l,aP as a,p as c,o,y as d}from"./index-BR9aIv1A.js";import{n}from"./mui-C7Q1opAD.js";import{N as h}from"./VideoPlayer-BZe4PqnR-CX1XPKSp.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]="5d900f6b-b9c1-4353-b129-0a3b202696ee",e._sentryDebugIdIdentifier="sentry-dbid-5d900f6b-b9c1-4353-b129-0a3b202696ee")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},w=n.div`
1
+ import{J as s,V as t,ao as l,aP as a,p as c,o,y as d}from"./index-o0j-GZyM.js";import{n}from"./mui-CAW43Z2L.js";import{N as f}from"./VideoPlayer-DKSZUXeK-H0wCm76T.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]="6983872a-e35d-40d2-9fd4-cff27f668406",e._sentryDebugIdIdentifier="sentry-dbid-6983872a-e35d-40d2-9fd4-cff27f668406")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -9,7 +9,7 @@ import{J as s,V as t,ao as l,aP as a,p as c,o,y as d}from"./index-BR9aIv1A.js";i
9
9
  flex-direction: column;
10
10
  align-items: center;
11
11
  background: ${c.blackColor}CC;
12
- `,f=n.div`
12
+ `,w=n.div`
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  justify-content: space-between;
@@ -28,4 +28,4 @@ import{J as s,V as t,ao as l,aP as a,p as c,o,y as d}from"./index-BR9aIv1A.js";i
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(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(f,{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 C};
31
+ `;function b(e){const i=s();return t.jsx(h,{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(f,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{b as C};
@@ -1,5 +1,5 @@
1
- import{J as B,V as s,B as C,Z as D,r as j,b as S,o as n,F as M,y as $,R as E,a as L,C as P,c as z,p as h,h as N,l as R,u,d as T}from"./index-BR9aIv1A.js";import{n as a}from"./mui-C7Q1opAD.js";import{cG as A}from"./zeni-epic-state-Deo9yJpd.js";import"./sentry-BwoJfpTa.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./recharts-v_b66Qfi.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";(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]="34793cb6-586d-47d1-946f-a87efa757b22",r._sentryDebugIdIdentifier="sentry-dbid-34793cb6-586d-47d1-946f-a87efa757b22")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?A(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=F(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=O(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(Q,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(U,{windowSize:l,children:[s.jsx(W,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(Z,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:C(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
- ${C(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(K,{isStepInError:i.status==="Error",children:s.jsxs(X,{children:[s.jsx(Y,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(D,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},F=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=(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}},Q=a.div`
1
+ import{J as C,V as s,B,a as D,r as j,b as S,o as n,F as M,y as $,R as E,c as L,C as P,d as z,p as h,h as N,l as R,u,e as T}from"./index-o0j-GZyM.js";import{n as a}from"./mui-CAW43Z2L.js";import{cG as A}from"./zeni-epic-state-C4Tt6Qhq.js";import"./sentry-DmQUfSE7.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="b488654a-3000-4133-829a-c91bfdccbf8e",r._sentryDebugIdIdentifier="sentry-dbid-b488654a-3000-4133-829a-c91bfdccbf8e")}catch{}})();const e=M.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?A(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=F(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=O(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(Q,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:B(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
+ ${B(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(D,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},F=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=(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}},Q=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  padding-top: ${n.sp3};
@@ -17,11 +17,11 @@ import{J as B,V as s,B as C,Z as D,r as j,b as S,o as n,F as M,y as $,R as E,a a
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
20
- `,Z=a(z)`
20
+ `,U=a(z)`
21
21
  color: ${r=>r.theme.colors.primary};
22
22
  margin-bottom: ${n.sp3};
23
23
  margin-right: ${n.sp6};
24
- `,U=a.div`
24
+ `,W=a.div`
25
25
  display: flex;
26
26
  flex-direction: row;
27
27
  align-items: center;
@@ -34,7 +34,7 @@ import{J as B,V as s,B as C,Z as D,r as j,b as S,o as n,F as M,y as $,R as E,a a
34
34
  padding-top: ${r=>w.navBarPaddingTop.valuePx(r.windowSize)};
35
35
  padding-bottom: ${r=>w.navBarPaddingBottom.valuePx(r.windowSize)};
36
36
  height: 100%;
37
- `,W=a(L)`
37
+ `,K=a(L)`
38
38
  ${r=>`${_.title.style(r.windowSize)}`};
39
39
  display: flex;
40
40
  flex: 1 1 auto;
@@ -42,7 +42,7 @@ import{J as B,V as s,B as C,Z as D,r as j,b as S,o as n,F as M,y as $,R as E,a a
42
42
  align-items: center;
43
43
  justify-content: center;
44
44
  overflow: hidden;
45
- `,K=a.div`
45
+ `,X=a.div`
46
46
  display: flex;
47
47
  background-color: ${r=>r.isStepInError?h.alertLight:r.theme.colors.grey5};
48
48
  border: ${r=>`1px solid ${r.theme.colors.grey3}`};
@@ -50,11 +50,11 @@ import{J as B,V as s,B as C,Z as D,r as j,b as S,o as n,F as M,y as $,R as E,a a
50
50
  margin-bottom: ${n.sp3};
51
51
  border-color: ${r=>r.isStepInError?h.brandColorGold:r.theme.colors.grey2};
52
52
  flex-direction: column;
53
- `,X=a.div`
53
+ `,Y=a.div`
54
54
  display: flex;
55
55
  margin: 12px ${n.sp3} 12px ${n.sp3};
56
56
  align-items: center;
57
- `,Y=a.div`
57
+ `,Z=a.div`
58
58
  display: flex;
59
59
  `,ee=a.div`
60
60
  display: flex;
@@ -1,4 +1,4 @@
1
- import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as Le,b as D,cp as O,cq as R,cr as F,ac as Ne,er as He,p as y,c_ as Me,aP as C,T as ue,ai as j,F as X,bK as Ee,bO as Ie,aT as Ue,y as b,gZ as We,fh as ae,u,al as Z,hx as Oe,b7 as Re,a$ as Fe,hy as Ge,d as Ye,hz as Ve,h as _e,h0 as Je,d6 as Ke,am as Xe,R as Ze,ci as qe}from"./index-BR9aIv1A.js";import{a as r}from"./sentry-BwoJfpTa.js";import{n as a}from"./mui-C7Q1opAD.js";import{FW as Qe,bL as G}from"./zeni-epic-state-Deo9yJpd.js";import{$ as et}from"./BoxItem-BGrgQ_sW-cYQcyKu_.js";import{w as tt}from"./downloadPdf-BfjQscZh-CeCugFTI.js";import{H as ot}from"./DepositAccTransactionItem-CxXM_Pse-aMnsSeAe.js";import{U as at}from"./ZeniAccountNavBarPieces-10K_Qgxx-DnALebZP.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-v_b66Qfi.js";import"./liveblocks-B8f0lmpe.js";import"./core-B_30foAD.js";import"./lottie-CbICbNKh.js";import"./analytics-rms9goNI.js";import"./lexical-CcL2Fd1i.js";import"./utils-C75CTJHa.js";import"./commonDimensions-BwCds81U-kEodPKRG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="7d202da2-fb38-461e-bbe7-3342feceab64",e._sentryDebugIdIdentifier="sentry-dbid-7d202da2-fb38-461e-bbe7-3342feceab64")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
1
+ import{a9 as Te,J as H,aw as Pe,g as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as Le,b as D,cp as W,cq as R,cr as F,ac as Ne,er as He,p as y,c_ as Me,aP as C,T as ue,ai as w,F as X,bK as Ee,bO as Ie,aT as Ue,y as b,gZ as Oe,fh as ae,u,al as Z,hx as We,b7 as Re,a$ as Fe,hy as Ge,e as Ve,hz as Ye,h as _e,h0 as Je,d6 as Ke,am as Xe,R as Ze,ci as qe}from"./index-o0j-GZyM.js";import{a as r}from"./sentry-DmQUfSE7.js";import{n as a}from"./mui-CAW43Z2L.js";import{FW as Qe,bL as G}from"./zeni-epic-state-C4Tt6Qhq.js";import{$ as et}from"./BoxItem-BdgRTwgI-DiOTWl08.js";import{w as tt}from"./downloadPdf-DVqVkV_p-CELECDCw.js";import{H as ot}from"./DepositAccTransactionItem-6BPvYynA-D1Ju63qU.js";import{U as at}from"./ZeniAccountNavBarPieces-_Xr6q9sA-BmDV-yHS.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-Duslqfio.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./commonDimensions-B60Qkfnz-DxGoTy6S.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]="c3916c87-f816-4778-bf06-28a3cce56cd6",e._sentryDebugIdIdentifier="sentry-dbid-c3916c87-f816-4778-bf06-28a3cce56cd6")}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;
@@ -8,7 +8,7 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
8
8
  background-color: ${e=>e.theme.colors.grey5};
9
9
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
10
10
  background-color: ${e=>e.theme.colors.grey4};
11
- `,ie="editNickName-form",Y="checkingAccountNickName",ht={tickLabelText:new Ze("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,V=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),w=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=G(l[0].payload?.date).format(V.visual.DMMMYYYYFormat)),t.jsxs(Vt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const S=A?G(v).format(V.visual.MMMformat):G(v).format(V.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(_t,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:w,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Et,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:w,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(It,{windowSize:f,children:[t.jsxs(Ft,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Gt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[w?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:f,children:[t.jsxs(jt,{children:[t.jsx(qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:w,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,S]=r.useState(!1),[M,E]=r.useState(!1),[q,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{q===!0&&setTimeout(()=>{xe(!1)},800)},[q]);const ge=n.transactionList.length>4,I=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?E(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},je={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},we={onOkClick:()=>{},onCancelClick:()=>{c.reset(),E(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(E(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{M&&v(Y)},[M,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(_,{children:[t.jsx(J,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(_,{children:[t.jsx(J,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(_,{children:[t.jsx(J,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(wt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:I.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:je}):null,$e?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,M?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:we,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:Y,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,Y)===!0?y.importantLight:I.colors.background,border:`1px solid ${I.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:w,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,w]=We(),[x,g]=r.useState(!1),k=()=>{w(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Yt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(Zt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
11
+ `,ie="editNickName-form",V="checkingAccountNickName",ht={tickLabelText:new Ze("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,Y=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(Jt,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),j=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=G(l[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const S=A?G(v).format(Y.visual.MMMformat):G(v).format(Y.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:S})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(_t,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Et,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(It,{windowSize:f,children:[t.jsxs(Ft,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Gt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[j?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:f,children:[t.jsxs(wt,{children:[t.jsx(qt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,S]=r.useState(!1),[M,E]=r.useState(!1),[q,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{q===!0&&setTimeout(()=>{xe(!1)},800)},[q]);const ge=n.transactionList.length>4,I=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),O=n.accountUpdateStatus.editName.fetchState,oe=Be(O),be=s=>{s==="closeAccount"?S(!0):s==="editNickName"?E(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),S(!1)},onCancelClick:()=>{S(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),E(!1)}};r.useEffect(()=>{oe==="In-Progress"&&O==="Completed"&&(E(!1),c.reset())},[oe,O,c]),r.useEffect(()=>{M&&v(V)},[M,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),Se={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},De=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(_,{children:[t.jsx(J,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(_,{children:[t.jsx(J,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(_,{children:[t.jsx(J,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:De(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:I.colors.grey4,style:{zIndex:3,...D.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(W,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(W,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:Se,secondaryButtonWidth:130,primaryButtonWidth:130}):null,M?t.jsx(W,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,V)===!0?y.importantLight:I.colors.background,border:`1px solid ${I.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:j,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,j]=Oe(),[x,g]=r.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(St,{children:[t.jsx(Vt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(Zt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:D.h2Regular.cssObject,decimalStyles:D.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(Dt,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Ot,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:D.largeRegular.cssObject,decimalStyles:D.smallRegular.cssObject}),t.jsx(Wt,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  align-items: center;
@@ -29,11 +29,11 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
29
29
  &:last-child {
30
30
  margin-bottom: ${o.sp8};
31
31
  }
32
- `,jt=a.div`
32
+ `,wt=a.div`
33
33
  display: flex;
34
34
  justify-content: space-between;
35
35
  margin-bottom: ${o.sp3};
36
- `,wt=a.div`
36
+ `,jt=a.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  width: 100%;
@@ -120,11 +120,11 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
120
120
  }
121
121
  }
122
122
  }
123
- `,Wt=a.div`
123
+ `,Ot=a.div`
124
124
  display: flex;
125
125
  flex-direction: row;
126
126
  align-items: baseline;
127
- `,Ot=a.div`
127
+ `,Wt=a.div`
128
128
  align-self: center;
129
129
  background-color: ${e=>e.theme.colors.grey1};
130
130
  border-radius: 50%;
@@ -165,10 +165,10 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
165
165
  }
166
166
  }
167
167
  margin-right: ${o.sp3};
168
- `,Yt=a(j)`
168
+ `,Vt=a(w)`
169
169
  display: flex;
170
170
  color: ${e=>e.theme.colors.hero};
171
- `,Vt=a.div`
171
+ `,Yt=a.div`
172
172
  display: flex;
173
173
  align-items: center;
174
174
  flex-direction: column;
@@ -183,14 +183,14 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
183
183
  `,_t=a.circle`
184
184
  stroke: ${e=>e.theme.colors.brandColorJade};
185
185
  fill: ${e=>e.theme.colors.grey5};
186
- `,le=a(j)`
186
+ `,le=a(w)`
187
187
  color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
188
188
  `,re=a.div`
189
189
  display: flex;
190
190
  gap: ${o.sp1};
191
- `,Jt=a(j)`
191
+ `,Jt=a(w)`
192
192
  color: ${e=>e.theme.colors.hero};
193
- `,ce=a(Ye)`
193
+ `,ce=a(Ve)`
194
194
  text-transform: capitalize;
195
195
  color: ${e=>`${e.windowSize==="small"?e.theme.colors.hero:e.theme.colors.champion}`};
196
196
  display: flex;
@@ -202,7 +202,7 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
202
202
  margin-right: ${o.sp2};
203
203
  cursor: pointer;
204
204
  color: ${e=>e.theme.colors.hero};
205
- `,Xt=a(Ve)`
205
+ `,Xt=a(Ye)`
206
206
  height: ${o.sp3};
207
207
  width: ${o.sp3};
208
208
  margin-left: ${o.sp2};
@@ -214,7 +214,7 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  `,se=a(Z)`
216
216
  margin-left: ${o.sp2};
217
- `,de=a(j)`
217
+ `,de=a(w)`
218
218
  margin-left: ${o.sp2};
219
219
  `,qt=a(Re)`
220
220
  color: ${e=>e.theme.colors.primary};
@@ -262,18 +262,18 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
262
262
  width: ${o.sp4};
263
263
  min-width: ${o.sp4};
264
264
  height: ${o.sp4};
265
- `,no=a(Oe)`
265
+ `,no=a(We)`
266
266
  width: ${o.sp4};
267
267
  min-width: ${o.sp4};
268
268
  height: ${o.sp4};
269
- `,lo=a(j)`
269
+ `,lo=a(w)`
270
270
  margin-bottom: ${o.sp2};
271
271
  display: flex;
272
- `,ro=a(j)`
272
+ `,ro=a(w)`
273
273
  padding: 12px ${o.sp3};
274
274
  color: ${e=>e.theme.colors.hero};
275
275
  border-radius: ${o.sp1};
276
- `,_=a(j)`
276
+ `,_=a(w)`
277
277
  color: ${e=>e.theme.colors.brandColorPearl};
278
278
  margin-top: ${o.sp2};
279
279
  display: flex;
@@ -289,7 +289,7 @@ import{a9 as Te,J as H,aw as Pe,e as pe,aQ as Be,V as t,aN as P,bT as B,o,bC as
289
289
  &:hover {
290
290
  color: ${e=>e.theme.colors.primary};
291
291
  }
292
- `,so=a(j)`
292
+ `,so=a(w)`
293
293
  padding: ${o.sp2};
294
294
  color: ${e=>e.theme.colors.hero};
295
295
  `,po=a.div`