@zeniai/web-cockpit-ui 1.15.21-qa → 1.15.22-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 (279) hide show
  1. package/dist/assets/{ACHDetailsPage-D-0onfNp-E7lR7f-M.js → ACHDetailsPage-CZfTXGMr-CI17UjpU.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BtDm0Ze4-DI8MiByN.js → AIPerformancePage-CpfWdGaC-ATsa9xZL.js} +12 -12
  3. package/dist/assets/AccountInfoPage-BUVWxmzs-DGCzo4Ay.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DO-wTXIZ-DQS9MELG.js → AccountInfoPageContent-CYZIBmtA-BtadN1-Z.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BQyFAsoa-pQ3h0lXW.js → AccountLockedInfoModal-BFBjEOzC-D3uFLbPe.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DQ9qT2fa-C1bnZFHI.js → AccountReconDetailsDrawerPage-DSFCBgAM-DDHgP1in.js} +1 -1
  7. package/dist/assets/{AccountRow-CGDnBStW-B42Txz2t.js → AccountRow-Gn7g3D_F-BNs1BGkk.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D8FXXEQ--rM_RHfIq.js → AccountsPromoCardStack-DOMli4-L-Bxo_NE7N.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CaymaAix-u96N6Qzo.js → AddAddressForCardDrawer-DlGL-3yf-IaM3cMnx.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CcHrKp-a-CBnjHYA6.js → AddToWalletPage-D-Z-ZVZn-CiDbNS_k.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Dxl6B22u-C2TlOeT0.js → AgingReportsPage-CdqPmA60-Cyut0UFq.js} +3 -3
  12. package/dist/assets/{AllUserItems-CCPAoEp2-BwqbSPl8.js → AllUserItems-DWLkEF2p-CkywmjZG.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CdSbgXOq-D-U_GVCX.js → ApAgingDetailPage-CdtqprUm-6vrQOn-k.js} +2 -2
  14. package/dist/assets/{AppBasePage-B9nTsGKZ-CrNS-zmq.js → AppBasePage-CPdKfb57-DawJWk5R.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BgfMutin-DfAGwR7f.js → AppDrawerContent-DCMK2lRO-Df7Fnkyq.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BDXTo6IN-CRoruZi4.js → ApprovalRulesSettingsPage-C8P04Y3s-D25-twBi.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Rzj2ENYe-CLA_ht_2.js → ArAgingChart-DOYvVptv-BswXO8kR.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-qk_f2Lby-BpK_Gv9z.js → ArAgingDetailPage-BCaRO749-DbTi7cK7.js} +1 -1
  19. package/dist/assets/{AttachmentView-NA4ajEO5-DR9_uEKC.js → AttachmentView-CnfHYBMC-DIj7ahn3.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BBDMIckQ-VD7MNHHN.js → BankAccountSection-P9w-MOrg-BTlhn7ds.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-BkcjTRzD-DIfRT-Zr.js → BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-SAXICBPz-CTcrBBh3.js → BankConnectionsSettingsPage-dE7WxsGo-D0HTjyVI.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DwmlUFiU-DTaT5FvO.js → BillDetailPage-CAbohg1r-CBI7qhIO.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CQwCAZ6I-B-iJVX52.js → BillPayApprovalRuleDetailPage-CKr-k2kC-DyOtlRI5.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-D-LIGLjH-ColnAiYN.js → BillPayApprovalRulesPage-wy4fIDHo-MumDIXCw.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DI-WqAOW-BHwkD-r9.js → BillPayPromoPage-CbXq0YNV-rXFaEpJE.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Boyxam-q-Bmy-MqMk.js → BillPaySetUpPage-CwP6Aw2I-D-V51AjE.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-toTRmFUP-C1oUXIlM.js → BillingSettingsPage-Bqj_AXGq-1_mFR23j.js} +2 -2
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BD-XMVaP-BF31YK-4.js → BillsBulkReviewDrawerPage-QsGKIhW0-BUE3drgk.js} +1 -1
  30. package/dist/assets/{BoxItem-DptPNfuL-Bp-R8iE1.js → BoxItem-CgrlwejJ-DRtcS1-S.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bw7LFK-C-CatwF8k7.js → BusinessVerificationPage-G8uzN4Ws-BKiOttKK.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DBFaTSBz-DdN0VEfE.js → CardNumberSubText-DPlqciQh-CtVSDBTQ.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-jyi25yaY-wBe9KKSY.js → CashbackDetailPage-DvxlixOz-BI7zB5eW.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-Be6-Tdta-DbmxNVaK.js → ChargeCardDetailPage-BwsPpOzj-DPbKM4bn.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DKA4Mryr-Tv6Oh9JD.js → ChargeCardListPage-BKu9-MWp-COSqzM0c.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BmnTn4MG-Dav0vid1.js → ChargeCardListTable-BkAggUNy-BT3mst3U.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DVRPShso-B2hTKQlQ.js → ChargeCardPaymentHistoryPage-BddAvqUm-DbucxoY-.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-ZCAv99Ei-SzC7HmHH.js → ChargeCardPromoPage-B4yj7KP9-DKwL8yRO.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-BwXrEbVo-D0-PM_4r.js → ChargeCardSetupPage-B3vasCMt-Dv7zO5cm.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-BK-hozIV-Di1HiZJS.js → ChargeCardStatementsPage-BOscGNXN-Mh_DnEuP.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-CYkFe1ox-BBkmTZH1.js → CheckDepositDrawerPage-BEEyhU4L-JcTBCzRd.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DlC0m5Gq-CeTT9Oev.js → CollapsableReportTable-BpZbn8JV-DFNPaWFK.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzPudfa8-DqN4Vwn3.js → CompanyOfficerDetailsSection-1BDesjjs-BJgYaGxB.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B5jodI1Z-D2ZoNhMd.js → CompanyPassportCard-DnpS3cSu-DXhbgL7c.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-DJOJ3jDw-DK6xYjDB.js → CompanyPassportPage-DPNROicI-D1huJKnB.js} +15 -15
  46. package/dist/assets/{CompleteProfile-CfNuOYX6-Cnkx2a1E.js → CompleteProfile-E7yJ6AqT-DXZcKzk-.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-BYI1XUQL-y1mB27QR.js → ConfettiBurst-BUf7AIFk-Da6kYSI2.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CkDCKkyG.js → ConstrainedInnerElement-BeIpAPjB-CyBR7YJz.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DuoU2sV0-BYrMQo-X.js → CreateOrEditVendorPage-CqGWKAVs-g2Tpgbp0.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Bea09r9U-BXHxog5h.js → CreditCardPaymentDrawerPage-CO7njZlm-DopqGCxN.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-DSayEoor-D5Zrqkfd.js → CurrencySelectField-DxdAWtY0-B1TsXU1Q.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DkXMThN5-BWHIsEbH.js → CustomerOnboardingActivationPage-CEaKVaVS-D9RnWmBa.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-ihPd9hEn-ClNt0TP3.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C6CxRdPR-JZSfJi0e.js → CustomerOnboardingDetailPageSkeleton-Bk-UD_xZ-B_1TcJUF.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CXdw95hv-B9QWcDaR.js → CustomerOnboardingNoStepsPage-zMwJiFSO-_zZf3e5X.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-BfktNnfn-CICJ7qAu.js → CustomerOnboardingPage-D2g6ose5-qapuEieN.js} +1 -1
  57. package/dist/assets/CustomerOnboardingProductSuitePage-BowJfyTX-CRJdoG-k.js +202 -0
  58. package/dist/assets/{Dashboard-DsmygPse-4AvmKTAA.js → Dashboard-46VwWQSI-DH2n0aDR.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CO50XhSN-RbrjTqPn.js → DashboardReportPage-BA6k3bPl-B1EwtUKw.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CgZd_J4a-18QmqdyA.js → DashboardSidebarBackgroundAnimation-Dh7RFAmH-0PN4dTJQ.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CURckRWv-5cwb8lsm.js → DepositAccTransactionItem-Dql1IjYZ-DFOMn-wO.js} +1 -1
  62. package/dist/assets/DepositAccTransactionListPage-BjKtMY47-eMYJ1LE-.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-BOb4FGaY-DZtWI0el.js → DomesticWireDetailsPage-DeXdHoem-CGnMYsda.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DyTWX48F-D68jKMMy.js → DownloadOverlay-C9lm7jRS-Bq6Od7GL.js} +1 -1
  65. package/dist/assets/{DrawerPage-AI0YTdml-NepA-uxH.js → DrawerPage-DwjcM3hz-B-KESp3F.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Cid-kBGF-CpKiwXqn.js → EditPeoplePage-D-vaUQbG-DQbsI6rR.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-U-qCHgNL-D5fAJB1O.js → EditReimbursementDetailPage-BerHadSD-DaUKmLjy.js} +1 -1
  68. package/dist/assets/EntityDetailPage-B2Tmq0cV-uO9x-oKB.js +18 -0
  69. package/dist/assets/{EntitySummarySection-JKTCWCM--Fo1QOnQl.js → EntitySummarySection-BvXgw7DC-Bef0TZtp.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CtzbDY1R-CvZoQj_h.js → ExpenseAutomationOverviewPage-ySXotmyY-CeFn1UnP.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Dbl9svfW-BZfPW3Kh.js → ExpenseAutomationPage-CieCVy8t-BHePblcM.js} +146 -146
  72. package/dist/assets/{ExpressPayPage-SuuEp7gX-yOs90MaD.js → ExpressPayPage-BnUc-3ye-BHMM4ytE.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BiTQ7ApT-C35Vrbsi.js → FeaturePreviewPage-rGKH26mO-Ak70PMDX.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-DMG7Wn5E-CixCy-vJ.js → FollowStepsSection-Cul0Cxvm-BEhGMlUy.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DgUd_tpR-DMgKrm59.js → GlobalReviewListPage-CC2ACTah-CxJ-n6WW.js} +1 -1
  76. package/dist/assets/{InformationCardStack-BBDImI5u-B_L0_IXg.js → InformationCardStack-geyzh82K-BsfqU0FK.js} +3 -3
  77. package/dist/assets/{InsightsCardStack-BXSLSXMd-CPaCCiOq.js → InsightsCardStack-DmEWXOXG-D8zQOXPe.js} +6 -6
  78. package/dist/assets/{InsightsSection-DtP4W8UU-ChHNdzk5.js → InsightsSection-Ldcdpf_t-BR1EacmB.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage-BY1xz3JF-DAHsRrIc.js → IntegrationsSettingsPage-D8DA20vr-Dzz_dqHF.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DyVP5Ofl-BzAe45Ug.js → InternationalWireSwiftDetailsPage-C0p3_QQy-C5e9qnYF.js} +4 -4
  81. package/dist/assets/{InternationalWireVerificationPage-Qlo7yzVk-B7n-K8yE.js → InternationalWireVerificationPage-mHew9ruS-BrqHukVH.js} +1 -1
  82. package/dist/assets/{InviteFormPage-C84N6Lc2-Crkyt_be.js → InviteFormPage-CH4FYGl4-C1vX7pcw.js} +1 -1
  83. package/dist/assets/{InvitePageListView-CMhXy-j--BSnEbl6q.js → InvitePageListView-C-RG9OiM-w5eanIdw.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-qpkCHm6B-BVfeEtTB.js → InvitePeoplePage-y0gl_wqg-CSxYUXEb.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DkOhI_Bg-BK1kHmCF.js → InvoiceUploadSection-YQHXVR_6-Bb0-RXQg.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BqzqCwAC-AtpStA7o.js → IssueChargeCardPage-CKhRoUiP-CTYHfQCp.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-DgMH266J-BOyhiAJ7.js → LabeledAddressValue-D_-0VDjZ-4h12iTBN.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BNDFFbl6-Bnl_fTov.js → LabeledAddressValueField-BNPvRvHU-EK3HrcNO.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-DqGuuG0x-C7gcXrVo.js → LabeledControlledCheckBoxField-CkG-jIW7-C2Hnry7S.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-Dd0jXJEG-DqCUD3tM.js → LabeledCreatableSingleSelectField-C1dHZ9ym-iC8YKpuW.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-soYO3Vkb-D4rfj9r9.js → LabeledDocumentField-ffpHZV4a-BUHqIKgG.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BXhlcMj3-DMyG_l10.js → LabeledDropDownFormattedTextField-QdvkGLEh-BRZgDq4Q.js} +1 -1
  93. package/dist/assets/{LabeledText-sPkKF2Ke-C6ruJ-3L.js → LabeledText-CQiPSE0v-By2EfM5F.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-oGpbhfZl-DLZXxYbx.js → LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-pvqY6PVS.js} +1 -1
  95. package/dist/assets/{LabeledZeniRolesDropDownField-WBaP6NAK-DzjNxVxd.js → LabeledZeniRolesDropDownField-k0YihYN--DD97S2fG.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-DWe4hvFk-D8Dzt1mD.js → LinkJETransactionPage-DUaT91O5-Gq8lPCYr.js} +1 -1
  97. package/dist/assets/{LockCardPage-BFpvk55j-yA-a8X9D.js → LockCardPage-DYD2_HzF-Dog57kHB.js} +6 -6
  98. package/dist/assets/{LowBalancePopup-BhSsmmin-CBPk1LsR.js → LowBalancePopup-DiycrXpa-BGxqOGSj.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-DIpNQrGA-BmzNcyxo.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-B9wywDCI-B71xVz_F.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-eZNTvlJK-BWmKcmTA.js +1 -0
  102. package/dist/assets/{MagicLinkSuccessPage-BYNIGXoS-OKsyLGOy.js → MagicLinkSuccessPage-RQtS7ohy-CE9hMVm-.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-DAywgMEo-BtiZq0cx.js → MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DRQnwOna-B3_bDX5k.js → MailingDetailsSection-Db8X4a09-CGdNacsa.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-CcGxX2ZR-B5mJauBe.js → MyBankConnectionsSettingsPage-C9rAs8AC-CELzps57.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-MbUzd562-C6S6_bfY.js → MyPendingActivationChargeCardListPage-Dhz5e_Uu-CGb9qdbR.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-C5yCIdIL-B0YtQKYL.js → MyProfileSettingsPage-CxZER675-2UOccUna.js} +2 -2
  108. package/dist/assets/{NavBarWithPicker-C_IBxMUA-B0EPHxlT.js → NavBarWithPicker-BSVBMx7T-0Dqo2fgB.js} +1 -1
  109. package/dist/assets/{NavigationArrow-I1l5PEMd-BZkmNvxb.js → NavigationArrow-Ca-B5zfh-DRNdaY_I.js} +1 -1
  110. package/dist/assets/{NavigationDots-DbtOiTYP-BWzsBzui.js → NavigationDots-CjxNj1Qo-DN4lM7to.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-DuU_ab63-DiZGG9pS.js → NewGlobalMerchantPage-LykCdab5-DEBbT1GR.js} +1 -1
  112. package/dist/assets/{NoDataChart-CLVyYBfd-CsBoNKkR.js → NoDataChart-Dm8c31gV-Dj8UiPhG.js} +1 -1
  113. package/dist/assets/{NoDataTable-CP5vFrN--C8hPBHtr.js → NoDataTable-BLcYAK9T-3nfxy3Nd.js} +1 -1
  114. package/dist/assets/{NotFoundPage-N4-ds_TK-BKsaq5wx.js → NotFoundPage-C4BU4sH8-sZxfS_K4.js} +8 -8
  115. package/dist/assets/{NotificationSettingsPage-DxL5oOKA-BCxjFu4y.js → NotificationSettingsPage-BcZEeTzA-Gt8bGOQC.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-BUEMj_nN-_3oErotq.js → NotificationsListConfig-CYqB9pO5-Q7jWyd5C.js} +1 -1
  117. package/dist/assets/{NotificationsPage-CPwLrdcO-D7eMWwRS.js → NotificationsPage-BpE7xDxK-DEeyLrys.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CEexczJv-J21B8XPv.js → OpExByVendorPage-CzAB4zqP-D8KXk_hr.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BLZDtu1k.js → OverlayContainerPage-D4QU0p4o-BjtR95tx.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-Dp6MnTZ_-BK2fiEz9.js → PandLWithForecastPage-CDkHjqzy-EOvrd7Tw.js} +1 -1
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DbnK54BN-Du2iRLpi.js → PaymentAccountSetupBillingAddressSection-ChGcOYcG-D0OWrwVX.js} +1 -1
  122. package/dist/assets/{PeoplePage-rlyomO8Q-D10TbBHE.js → PeoplePage-C_FZL-mx-B0oFZuXo.js} +1 -1
  123. package/dist/assets/{Preview-CmsmcMye.js → Preview-Dit3IBZc.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CxhAwG_I-BIa-LA8F.js → ProductsCarousel-lJBWrgjU-BK8yascI.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-_Ujfaxp0-B5F6NP5z.js → PromoBaseCards-BHeLFDFF-CUDBGebi.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-CYWm2ryd-AwpZpI98.js → QBOConnectionDialog-BfBk1GDG-CNBPmIt1.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-C7X1UDAC-Dt9Gk2yj.js → QBOSetupSection-BO8FYRd_-BNdNnkk3.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CRa-PKxm-AG6-Qyhk.js → ReimbursementApprovalRuleDetailPage-BScdJYcI-BcwDGLiX.js} +3 -3
  129. package/dist/assets/{ReimbursementApprovalRulesPage-DPT__VQD-Fopcb6zr.js → ReimbursementApprovalRulesPage-2-dvUngC-9CdneR5P.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-DMKlEFLs-Be0yezXb.js → ReimbursementDetailPage-CCBrKxup-3_3O6q1i.js} +3 -3
  131. package/dist/assets/{ReimbursementPromoPage-C9YXyEBI-B4mzU33h.js → ReimbursementPromoPage-C1DzNWh1-B5DdwXjx.js} +8 -8
  132. package/dist/assets/{ReimbursementSetUpPage-CBBl7gS1-CNTRcHmw.js → ReimbursementSetUpPage-Bs1pChM5-DTukW1Jt.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-e-uHzgDg-CYMUoN9n.js → ReimbursementsBulkReviewDrawerPage-BY1ivHX0-CAH_UqYX.js} +1 -1
  134. package/dist/assets/{ReloadCard-C9idTWk--B_s6zG8-.js → ReloadCard-Ci1JfueA-BSqwcsh4.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-BROhyU1t-Clp4JfcG.js → ReportTableViewSelector-FSUjS0tA-BBV47JJP.js} +1 -1
  136. package/dist/assets/{ReportsPage-CA3EmmZB-6ufisFrM.js → ReportsPage-2XGgGATP-cuHT_XJ3.js} +5 -5
  137. package/dist/assets/{RevenueChart-AnQ7FJT4-CPOuzQU-.js → RevenueChart-DhiHl3J4-DLO9Tjun.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-BG4fsNht-jt9xahjR.js → ReviewDetailsPage-JfBmJL7T-C_j08e24.js} +7 -7
  139. package/dist/assets/{ReviewOverlay-BpwCrUbt-TDEW6qB3.js → ReviewOverlay-B8Quli7Z-C6JgrDgC.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-DlIcPRiy-DyibMc5_.js → RoleWithToolTip-DL78JlR8-C9xZrPOP.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Mp6f4ulg-Bk5UVNC6.js → ScheduleDetailsFixedAssetsPage-B-mkt12S-Dy27kfKS.js} +3 -3
  142. package/dist/assets/{ScheduleDetailsPage-Cb4aPlCE-CV9nppRa.js → ScheduleDetailsPage-BUZcySac-HBwTYcGC.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-B5UzjfQJ-03N0ITmH.js → ScheduleSequenceTable-CdKMmZqy-KLYGBtjp.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-DZqozhB9.js → ScreenRoutes-xr8emYTZ.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-C2S4lXbj-CAP0LfIN.js → SetUpAccountSection-D1MXUm9M-aQqZDAJc.js} +1 -1
  146. package/dist/assets/{SignIn-oNZZn9gU-jOSvaxYl.js → SignIn-CPWFfFe2--e4scVLJ.js} +3 -3
  147. package/dist/assets/{SignInScreen-Bp6ZXaVa.js → SignInScreen-6Xirnvhp.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DFBE2GEM-DW-9EzEA.js → SpendManagementListViewPage--cVcOp1f-CoMTuOeL.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-CIu5TvHQ-D4k40EFM.js → SpendManagementPerTabPage-DPxjzKS8-DIiRlr2F.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-CSAz_hUa-4308_UQx.js → SpendManagementSection-CA8SwNCI-C0bFCdBj.js} +1 -1
  151. package/dist/assets/StatementItem-UzV0xHzG-B2brulIy.js +31 -0
  152. package/dist/assets/{StatementsPage-DFebgwXz-BVi_L_en.js → StatementsPage-CksjCH5w-C3ioIgFA.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-gbjjpKf_-blwYKndx.js → StatusSwitcher-BDDVmn-K-CKBwQQDa.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-BD8D4sY1-fpqHhuwu.js → SubTabSwitcher-CMsdXoCD-3-Y_8O6e.js} +1 -1
  155. package/dist/assets/{SummaryCard-Bq19bNV9-DKYjSomU.js → SummaryCard-B4km1rL_-DaunAw95.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-ClNSi-hI-BjdLwuiV.js → TaskManagementPage-CDi3YMVo-CDvB9Max.js} +13 -13
  157. package/dist/assets/{TimeRangeSwitcher-XsW1b5lq-BUwlOylv.js → TimeRangeSwitcher-D1boW3u5-IM63QogJ.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-DlG05Fns-DW5oy61t.js → TimeframeSwitcher-NWdUWC8r-DZUeY14S.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-Cw2jBfJA-C5LicgQR.js → TimeframeSwitcherWithToggle-BCRqmVAB-m9vI8Gjx.js} +1 -1
  160. package/dist/assets/{TopExCard-Cotaxo42-C6OYhY2j.js → TopExCard-B7nDaKGC-VBOxt-wD.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-Ck80cdUY-BNScQ0tX.js → TopExDetailPage-CFC5Kzob-Dt6PLbBa.js} +8 -8
  162. package/dist/assets/{TransactionActivityLogPage-Bon4QVXv-CPYHpodJ.js → TransactionActivityLogPage-dLfey-Pj-BNo7Uj_A.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-BKA0c1Hd-5r82PbUD.js → TransactionDetailPage-DUFj8B1S-CqpGWjre.js} +1 -1
  164. package/dist/assets/{TransactionList-C9w_immd-BFAqJMaG.js → TransactionList-BDaoHCk7-CZl9zU4i.js} +1 -1
  165. package/dist/assets/{TransactionListBig-mbfs4KoW-DqJSotdD.js → TransactionListBig-DxOGEDcA-M4zryrQh.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CDVN8trz-D3p-SyTW.js → TransactionListPage-4nFAQM97-jwJBji-c.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-D-bYPAE2-DiXU5QmX.js → TransactionVendorDetailPage-CliQXg5L-DI9_qo0u.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-Cb8Cno-i-BV59_FYU.js → TransferDrawerPage-kbzn1dkx-Bopm8vbU.js} +12 -12
  169. package/dist/assets/{TreasuryOverviewPage-r5eF6ebA-B8UmS0v_.js → TreasuryOverviewPage-j8Dtk2Q8-C0BtbFG5.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage--nM87_OU-DJkqTPsx.js → TreasuryPromoPage-BlgxNE0U-Cc6ztZJc.js} +1 -1
  171. package/dist/assets/TreasuryStatementsPage-Bd70Y2Yv-CYfFBpB9.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-Crb8ZsUA-CESDg07X.js → TreasuryTaxLetterPage-DL4GDdXJ-xlICR3P4.js} +1 -1
  173. package/dist/assets/{TrendChart-DBg9hdMq-BJpEmGdE.js → TrendChart-BS6VOoj_-CKe3PY8I.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CDquHlvk-CpyVD4zc.js → TrendWithTransactions-DMAMnr7F-DxwunSwM.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-Cc2EZVpr-DEwnfnNT.js → UncategorizedAccountsMappingPage-stLOvAUg-CCLPL_ED.js} +2 -2
  176. package/dist/assets/{UnitIntegrationPage-GCYR9P3Y-DHB4YTTk.js → UnitIntegrationPage-D39cXlRw-oxayfQbY.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CIJFtDiF-DsNArDE8.js → UploadAdditionalDocumentOverlay-BmiNa89K-BeqcSbMb.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BZ6s889G-DRTQiJJz.js → Vendor2FAPopup-Cn7Bst-t-DCAkAnX8.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-yJs4pSeb-B9thwaoC.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DvxkejeN-W7dvlk80.js → VendorDetailPage-Ck26EgtS-BHR4p4Il.js} +6 -6
  181. package/dist/assets/{VendorDomesticWireDetailsPage-C4SquKOu-fjlVrlLV.js → VendorDomesticWireDetailsPage-BZatg69M-B9cR7gr6.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-BJAlB2r3-GMTfNd1_.js → VendorFiling1099EditablePage-PYVQaWMk-G5giJg88.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-DHT9QMul-v-700rhU.js → VendorFirstReviewPage-hKEEnsZq-9lysxVz-.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Cum0w1AM-CVUa5t1j.js → VendorInternationalWireDetailsPage-qv2qL6Xn-Bc91C8bc.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co_Kax4L-bZKJbQeC.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-D135oEuw-BqGQrMXE.js → VendorsAccountsSection-BeiK6LWK-WA9vgeiE.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BCCgiusC-CzG5KeEc.js → VerifyDevice-BVtSQLC2-otqudy2C.js} +1 -1
  188. package/dist/assets/{VideoPlayer-DVwDdeFR-t68lwaBp.js → VideoPlayer-DcPwSvda-DzC2R71-.js} +2 -2
  189. package/dist/assets/{VideoPopup-CrXLFmDO-BE_rpYv5.js → VideoPopup-CSSLhfoi-CGw_VFjN.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-V2zIdzFs-Dmn7maPE.js → WarningsDrawerPage-y9CUfPu5-MeHZsL1e.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-D5YNNS56-DAEAhMh6.js → ZeniAccountDetailPage-CeL_e1NL-CQdk1jRa.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-RiEBDKgR-BmwI4Z_B.js → ZeniAccountListViewPage-C-rGqw9i-D_x6eTsv.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-CoQENU6J-BeLx8CHm.js → ZeniAccountNavBarPieces-CSy5vlQ--2YMNZ3_9.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-CTXqeuyX-BBu-V92K.js → ZeniAccountPromoPage-ByNyhhoa-DV36qC0Z.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-thNujG4V-CERx-ItC.js → ZeniAccountSetupPage-YbvbQFzj-Byax4mz5.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-ClH_jKKR-Cnv_kEw_.js → ZeniCopyright-D5ywJMrC-ViPTJSJz.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-D3vJ1eI8-Bb2OuJt7.js → ZeniTransferAmountSlider-CKFCKGRC-BbttVAel.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-BLYF7nQu.js → add-to-wallet-DgdBD8_G-tmzUrH5h.js} +1 -1
  199. package/dist/assets/{analytics-BYwa85mC.js → analytics-BHfEcMs7.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BZR67Etu.js → analyticsHelper-DMvP-IUc.js} +1 -1
  201. package/dist/assets/{analyticsHelper-V4TPBdDw-Bb6O6ByH.js → analyticsHelper-nJyKiOwQ-BPlvzeT_.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-BmBVkHzO.js → arrow-south-east-round-PEovUgvH-DopNMSVs.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-Bracjtzh.js → auto-transfer-rule-mbafm5D3-5qZZD7bQ.js} +1 -1
  204. package/dist/assets/{chartTypes-iDEZ4YBi-DN0XMgOK.js → chartTypes-BKexR59e-C3ztmi9f.js} +1 -1
  205. package/dist/assets/{commonDimensions-Bu6zjJKF-Cmgw7sLn.js → commonDimensions-Upfg-PB1-DEuX-eDL.js} +1 -1
  206. package/dist/assets/{constants-8rWTGONW.js → constants-CHbK5IhN.js} +1 -1
  207. package/dist/assets/{core-CfLdY-k_.js → core-BZCxWmUX.js} +1 -1
  208. package/dist/assets/{dash.all.min-ys86X-gR.js → dash.all.min-DcxeahhE.js} +1 -1
  209. package/dist/assets/{detailCommon-BWEpXOUF-Ba4eHIVL.js → detailCommon-_wEL82NI-n1evVXdx.js} +5 -5
  210. package/dist/assets/{downloadPdf-DJF-2ZO0-DSsBKjnk.js → downloadPdf-CMFOff-_-mnN6dDox.js} +1 -1
  211. package/dist/assets/{empty-CciSeb90.js → empty-D_f2XL7V.js} +1 -1
  212. package/dist/assets/{empty-fpeXeVte.js → empty-DcJQLvC7.js} +1 -1
  213. package/dist/assets/{epic-CW7So-k4.js → epic-NTdWJzAE.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-CwAkBnJ5.js → gift-box-Cmt9OgIZ-wauDJyqU.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dz4YrOvs.js → graphic-no-data-l-DU4J8fDt-Co-mMaRI.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C-C13G7Y.js → graphic-no-data-net-burn-l-CzmycA0m-_WUrjzng.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-Cv-IXUBG.js → handshake-BPg58FML-Bh6G4KIp.js} +1 -1
  218. package/dist/assets/{index-GTrrlN3l.js → index-B7HaXBI4.js} +1 -1
  219. package/dist/assets/{index-iEQQZg-l.js → index-BCLGLn5P.js} +1 -1
  220. package/dist/assets/{index-COvv8Pxo.js → index-BTb8ckWv.js} +1 -1
  221. package/dist/assets/{index-DbTr8RS2.js → index-C9eCTMJr.js} +1 -1
  222. package/dist/assets/{index-G4udIFQJ.js → index-CRjLU1CH.js} +7 -7
  223. package/dist/assets/{index-BOJ4i6pP.js → index-DC2hxKgC.js} +1 -1
  224. package/dist/assets/{index-Dx0tKDNt.js → index-Dkkbximi.js} +1 -1
  225. package/dist/assets/{lexical-C2hQPjBk.js → lexical-D8AhEV3-.js} +1 -1
  226. package/dist/assets/{liveblocks-CV4wYZBt.js → liveblocks-B2F837W5.js} +1 -1
  227. package/dist/assets/{lottie-Dw1I6Lqb.js → lottie-CgAPdzgC.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-ll9NZ-I4-DPPDlmzF.js +1 -0
  229. package/dist/assets/mapSectionWithAcOnlyToTreeNode-DcevOSiz-8lx_NTel.js +1 -0
  230. package/dist/assets/mapSpacerToTreeNode-6Qxn340N-B6QTlyVL.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-BlKa4mAP-BPPLb2wN.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-tYVPqkGh-BzVS1eS7.js +1 -0
  233. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-C92aroSy-BbZlxdu4.js +1 -0
  234. package/dist/assets/{mui-BDpZEDd-.js → mui-G_qoHHKo.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-CTwIKCV4.js → page-detail-CWX5S47F-x7w6wNJZ.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Q8m7K4oN.js → panelSelectedMixin-CzfD5-Zs-BuQ6-IQv.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-qVtSp8qo.js → radio-default-CiSgisfh-Bpmj0_HZ.js} +1 -1
  238. package/dist/assets/{react-DK7JNpa7.js → react-BVN7d4k7.js} +1 -1
  239. package/dist/assets/{react-BNl8kpdF.js → react-Bz8KihG8.js} +2 -2
  240. package/dist/assets/{react-CkHlLfE6.js → react-C-Nzpwqb.js} +1 -1
  241. package/dist/assets/{react-yJFMdFvX.js → react-CQCeOVHy.js} +1 -1
  242. package/dist/assets/{react-DJZvoDtL.js → react-CgU7dLsF.js} +1 -1
  243. package/dist/assets/{react-MOWQVBSu.js → react-D3qPI2I1.js} +1 -1
  244. package/dist/assets/{react-E_zI_4NR.js → react-DY87wnXm.js} +1 -1
  245. package/dist/assets/{react-De2kZE9C.js → react-Hh8LA1NH.js} +1 -1
  246. package/dist/assets/{recharts-B3SHU5RU.js → recharts-CCryt90F.js} +1 -1
  247. package/dist/assets/{sentry-CTrMrBL8.js → sentry-DZdy1Eny.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-Clyc-usU.js → shield-DOlUxcFf-DEYalkml.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DtqUradx-lEoCPU_e.js +1 -0
  250. package/dist/assets/{toChartData-DyjTCJsY-BV_CW89N.js → toChartData-BpfWXnJ--DBwlURkd.js} +1 -1
  251. package/dist/assets/{uploadAttachment-BJcS1oZv-BlzuzU5y.js → uploadAttachment-ukKU1LbX-DZ3cul8l.js} +1 -1
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-DwGGi1Mb.js → uploadReceipts-Dge0cNF1-9xq6mF3E.js} +1 -1
  253. package/dist/assets/{url-BvOH_ymq.js → url-D90t3YD5.js} +1 -1
  254. package/dist/assets/{url-DzlbkY_h.js → url-T01FJj_Y.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-ClJp7PXk.js → useLongPress-GCK2COYQ-gOO9DxKL.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-Cmb4LI5b.js → usp-line-BBd1wKwW-gP2BLOgz.js} +1 -1
  257. package/dist/assets/{utils-yHZwLkmM.js → utils-D8ZC_tPv.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-B_64dD7k.js → zeni-epic-state-BlmgKn3B.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/AccountInfoPage-CoX9n6HX-p3uYXGev.js +0 -18
  262. package/dist/assets/CustomerOnboardingContainerPage-CbrKONhr-DigJVWOp.js +0 -1
  263. package/dist/assets/CustomerOnboardingProductSuitePage-Cp5U5QLX-CDEs2CEb.js +0 -202
  264. package/dist/assets/DepositAccTransactionListPage-K0UYTv8s-C0ae1fDB.js +0 -66
  265. package/dist/assets/EntityDetailPage-DJ-NoWZp-DgLIseeW.js +0 -18
  266. package/dist/assets/MagicLinkACHDetailsPage-JBFVxuf2-41i2YISt.js +0 -1
  267. package/dist/assets/MagicLinkDomesticWireDetailsPage-C5tXo9Yb-CbIfw0V1.js +0 -1
  268. package/dist/assets/MagicLinkInternationalWireDetailsPage-C_NjCMJZ-CLmGKxgW.js +0 -1
  269. package/dist/assets/StatementItem-DYoVBRQy-u4Af9dX-.js +0 -31
  270. package/dist/assets/TreasuryStatementsPage-Bw9Kj_ei-RQA3kjvP.js +0 -58
  271. package/dist/assets/VendorACHDetailsPage-Cc6vosJI-BD02tozk.js +0 -1
  272. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DvbkBLLf-HNLqOeTe.js +0 -1
  273. package/dist/assets/mapLoadingInProgressToTreeNode-DvNHg91V-BJg2RI-I.js +0 -1
  274. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CWsheP6j-CsU13hiG.js +0 -1
  275. package/dist/assets/mapSpacerToTreeNode-BZH4EyFQ-whX8MxcC.js +0 -1
  276. package/dist/assets/mapTimeframeBalancesToTreeNode-BFTqwysj-BjpsD5BT.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-CHzQagq--CVUzW0Vh.js +0 -1
  278. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BEUrDFPW-hJlLof7c.js +0 -1
  279. package/dist/assets/toCOABalancesWithID-BaWPQdax-C8KA3Ete.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as qe,Q as oe,y as g,aD as we,cH as bt,a9 as wt,ha as Ce,hb as Ct,aV as $t,cF as St,V as t,bB as Dt,ac as jt,hc as Tt,hd as ye,u as l,cG as Lt,aR as Vt,bC as kt,F as W,he as Ue,hf as Ee,hg as Ye,o as a,bP as S,cS as It,gM as $e,hh as Ot,cI as Pt,cJ as Mt,cK as Ft,hi as zt,gd as _t,cQ as Nt,hj as Wt,hk as Rt,p as N,b7 as Ge,ai as Ke,dv as Ht,a$ as Bt,hl as At,hm as qt,al as Ut,du as Et,dt as Yt,d2 as Gt,aY as pe,hn as Kt,ci as Qe,ho as Qt,R as Se,a as Je}from"./index-G4udIFQJ.js";import{a as $}from"./sentry-CTrMrBL8.js";import{n as o,c as Jt}from"./mui-BDpZEDd-.js";import{bi as De,FU as Xt,FV as Zt}from"./zeni-epic-state-B_64dD7k.js";import{k as es}from"./SubTabSwitcher-BD8D4sY1-fpqHhuwu.js";import{T as ts}from"./TransactionList-C9w_immd-BFAqJMaG.js";import{R as ss}from"./TrendWithTransactions-CDquHlvk-CpyVD4zc.js";import{o as as,t as os}from"./arrow-south-east-round-PEovUgvH-BmBVkHzO.js";import{C as ns}from"./LabeledAddressValueField-BNDFFbl6-Bnl_fTov.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-BXhlcMj3-DMyG_l10.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";import"./ConstrainedInnerElement-BeIpAPjB-CkDCKkyG.js";import"./BoxItem-DptPNfuL-Bp-R8iE1.js";import"./commonDimensions-Bu6zjJKF-Cmgw7sLn.js";import"./panelSelectedMixin-CzfD5-Zs-Q8m7K4oN.js";import"./TrendChart-DBg9hdMq-BJpEmGdE.js";import"./chartTypes-iDEZ4YBi-DN0XMgOK.js";import"./toCOABalancesWithID-BaWPQdax-C8KA3Ete.js";import"./toChartData-DyjTCJsY-BV_CW89N.js";import"./NoDataChart-CLVyYBfd-CsBoNKkR.js";import"./InsightsSection-DtP4W8UU-ChHNdzk5.js";import"./NavigationDots-DbtOiTYP-BWzsBzui.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="10df2588-c65f-4818-8fa5-7bbdd7aeef15",e._sentryDebugIdIdentifier="sentry-dbid-10df2588-c65f-4818-8fa5-7bbdd7aeef15")}catch{}})();const is=o.div`
1
+ import{e as qe,Q as oe,y as g,aD as we,cH as ft,a9 as wt,ha as Ce,hb as Ct,aV as $t,cF as St,V as t,bB as Dt,ac as jt,hc as Tt,hd as ye,u as l,cG as Lt,aR as Vt,bC as kt,F as W,he as Ue,hf as Ee,hg as Ye,o as a,bP as S,cS as It,gM as $e,hh as Ot,cI as Pt,cJ as Mt,cK as Ft,hi as zt,gd as _t,cQ as Nt,hj as Wt,hk as Rt,p as N,b7 as Ge,ai as Ke,dv as Ht,a$ as Bt,hl as At,hm as qt,al as Ut,du as Et,dt as Yt,d2 as Gt,aY as pe,hn as Kt,ci as Qe,ho as Qt,R as Se,a as Je}from"./index-CRjLU1CH.js";import{a as $}from"./sentry-DZdy1Eny.js";import{n as o,c as Jt}from"./mui-G_qoHHKo.js";import{bi as De,FU as Xt,FV as Zt}from"./zeni-epic-state-BlmgKn3B.js";import{k as es}from"./SubTabSwitcher-CMsdXoCD-3-Y_8O6e.js";import{T as ts}from"./TransactionList-BDaoHCk7-CZl9zU4i.js";import{R as ss}from"./TrendWithTransactions-DMAMnr7F-DxwunSwM.js";import{o as as,t as os}from"./arrow-south-east-round-PEovUgvH-DopNMSVs.js";import{C as ns}from"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-QdvkGLEh-BRZgDq4Q.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./ConstrainedInnerElement-BeIpAPjB-CyBR7YJz.js";import"./BoxItem-CgrlwejJ-DRtcS1-S.js";import"./commonDimensions-Upfg-PB1-DEuX-eDL.js";import"./panelSelectedMixin-CzfD5-Zs-BuQ6-IQv.js";import"./TrendChart-BS6VOoj_-CKe3PY8I.js";import"./chartTypes-BKexR59e-C3ztmi9f.js";import"./toCOABalancesWithID-DtqUradx-lEoCPU_e.js";import"./toChartData-BpfWXnJ--DBwlURkd.js";import"./NoDataChart-Dm8c31gV-Dj8UiPhG.js";import"./InsightsSection-Ldcdpf_t-BR1EacmB.js";import"./NavigationDots-CjxNj1Qo-DN4lM7to.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1e400844-a7b3-41cd-923f-d7a8551f752e",e._sentryDebugIdIdentifier="sentry-dbid-1e400844-a7b3-41cd-923f-d7a8551f752e")}catch{}})();const is=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -105,14 +105,14 @@ import{e as qe,Q as oe,y as g,aD as we,cH as bt,a9 as wt,ha as Ce,hb as Ct,aV as
105
105
  display: flex;
106
106
  align-items: center;
107
107
  column-gap: ${a.sp3};
108
- `,fs=o.div`
108
+ `,bs=o.div`
109
109
  display: flex;
110
110
  flex-direction: column;
111
111
  row-gap: ${a.sp1};
112
- `,bs=o.div`
112
+ `,fs=o.div`
113
113
  display: flex;
114
114
  justify-content: ${e=>e.isMobile?"flex-start":"flex-end"};
115
- `,ue=o.div``,ws=({spend:e,vendorName:s,vendorLogo:r,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:c})=>{const p=oe(),f=W.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=p==="small"||p==="medium-compact",b=(D,u)=>u==null?null:D==="increased"?t.jsxs(vs,{onClick:c,children:[t.jsx(as,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):D==="decreased"?t.jsxs(ys,{onClick:c,children:[t.jsx(os,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):t.jsx(xs,{onClick:c,children:t.jsxs(ge,{children:[u,"%"]})}),B=()=>i===!0?t.jsxs(Te,{isMobile:h,children:[t.jsx(Et,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(Te,{isMobile:h,children:[r!=null?t.jsxs(ke,{children:[t.jsx(Yt,{photoUrl:r.toString(),styles:{width:M.logoWidth.valuePx(p),height:M.logoHeight.valuePx(p)}}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}):t.jsxs(ke,{children:[t.jsx(Gt,{name:s,size:a.sp6}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}),b(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx(je,{size:p,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(fs,{children:[t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p),height:l[4]}),t.jsx(bs,{isMobile:h,children:t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p)/2,height:l[4]})})]},u))}):t.jsxs(je,{size:p,isMobile:h,children:[t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:f.last30Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:f.last90Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:f.ytdSpend}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(us,{isMobile:h,size:p,children:[B(),A()]})},F={labelWidth:new g(120,145,270),largeLabelWidth:new g(130,200,332),largeTinLabelWidth:new g(130,200,276),controlWidth:new g(110,145,160),labelMarginLeft:new g(l[3],l[4]),labelMarginTop:new g(l[2],l[3]),labelMarginBottom:new g(l[2],l[3])},E=(e,s)=>`${e}.${s}`,Cs=W.getLocalizedStrings().spendManagement,se=W.getLocalizedStrings().companyPassport,Y=Cs.billPay.vendorCreation,k=W.getLocalizedStrings().common,$s=({vendorTypeList:e=[],isDisabled:s,sectionId:r,selectedVendorDetails:i,onAddressClick:n})=>{const c=oe(),p=F.labelWidth.value(c),f=F.largeLabelWidth.value(c),h=F.largeTinLabelWidth.value(c),b=F.controlWidth.value(c);return t.jsxs(Ss,{children:[t.jsx(Ds,{children:Y.vendorDetails.titleFor1099Section}),t.jsxs(js,{children:[t.jsx(Pt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:p},text:{type:"text",style:{width:b},name:E(r,"legalName"),placeholder:Ft(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:Mt}},style:{width:"100%"}}),t.jsx(ve,{}),t.jsxs(Ie,{children:[t.jsx(Ls,{width:f,windowSize:c,children:Y.vendorDetails.vendorType}),t.jsx(Ts,{size:c,children:t.jsx(zt,{name:E(r,"vendorType"),value:{allTypes:e,selectedType:i.vendorDetailLocalData?.vendorType},placeholderLabel:Y.placeholders.type})})]}),t.jsx(ve,{}),t.jsx(Ie,{children:t.jsx(ls,{name:E(r,"tinType"),menuPlacement:"auto",style:{height:a.sp6,width:"100%",marginLeft:a.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:i.vendorDetailLocalData?.tin?.type??k.strings.empty,dropDownList:[{code:k.texts.ein,label:k.texts.ein.toUpperCase()},{code:k.texts.ssn,label:k.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:Y.placeholders.tinType,formattedText:{type:"text",name:E(r,"tinValue"),placeholder:Y.placeholders.tinValue,format:i.vendorDetailLocalData?.tin?.type===k.texts.ssn?Wt:Rt,registerOptions:{required:!!i.vendorDetailLocalData?.tin?.type,pattern:i.vendorDetailLocalData?.tin?.type===k.texts.ssn?_t:Nt},style:{width:"100%",height:a.sp6},defaultValue:i.vendorDetailLocalData?.tin?.value??k.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:i.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(ve,{}),t.jsx(ns,{isDisabled:s,label:{label:se.companyInfo.address,width:p},addressValueField:{name:E(r,"address"),placeholder:se.address.titleAdd,defaultValue:i.vendorNewAddressStatus?.addressToCreate,onClick:()=>n("vendor_address",i.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},Ss=o.div`
115
+ `,ue=o.div``,ws=({spend:e,vendorName:s,vendorLogo:r,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:c})=>{const p=oe(),b=W.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=p==="small"||p==="medium-compact",f=(D,u)=>u==null?null:D==="increased"?t.jsxs(vs,{onClick:c,children:[t.jsx(as,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):D==="decreased"?t.jsxs(ys,{onClick:c,children:[t.jsx(os,{width:a.sp3,height:a.sp3}),t.jsx(ge,{children:u})]}):t.jsx(xs,{onClick:c,children:t.jsxs(ge,{children:[u,"%"]})}),B=()=>i===!0?t.jsxs(Te,{isMobile:h,children:[t.jsx(Et,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(Te,{isMobile:h,children:[r!=null?t.jsxs(ke,{children:[t.jsx(Yt,{photoUrl:r.toString(),styles:{width:M.logoWidth.valuePx(p),height:M.logoHeight.valuePx(p)}}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}):t.jsxs(ke,{children:[t.jsx(Gt,{name:s,size:a.sp6}),h?t.jsx(Ve,{children:s}):t.jsx(Le,{children:s})]}),f(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx(je,{size:p,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(bs,{children:[t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p),height:l[4]}),t.jsx(fs,{isMobile:h,children:t.jsx(S,{width:M.spendTrendHeadingSkeletonWidth.value(p)/2,height:l[4]})})]},u))}):t.jsxs(je,{size:p,isMobile:h,children:[t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.last30Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.last90Days}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(ue,{children:[t.jsx(me,{windowSize:p,isMobile:h,children:b.ytdSpend}),t.jsx(he,{windowSize:p,isMobile:h,children:pe("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(us,{isMobile:h,size:p,children:[B(),A()]})},F={labelWidth:new g(120,145,270),largeLabelWidth:new g(130,200,332),largeTinLabelWidth:new g(130,200,276),controlWidth:new g(110,145,160),labelMarginLeft:new g(l[3],l[4]),labelMarginTop:new g(l[2],l[3]),labelMarginBottom:new g(l[2],l[3])},E=(e,s)=>`${e}.${s}`,Cs=W.getLocalizedStrings().spendManagement,se=W.getLocalizedStrings().companyPassport,Y=Cs.billPay.vendorCreation,k=W.getLocalizedStrings().common,$s=({vendorTypeList:e=[],isDisabled:s,sectionId:r,selectedVendorDetails:i,onAddressClick:n})=>{const c=oe(),p=F.labelWidth.value(c),b=F.largeLabelWidth.value(c),h=F.largeTinLabelWidth.value(c),f=F.controlWidth.value(c);return t.jsxs(Ss,{children:[t.jsx(Ds,{children:Y.vendorDetails.titleFor1099Section}),t.jsxs(js,{children:[t.jsx(Pt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:p},text:{type:"text",style:{width:f},name:E(r,"legalName"),placeholder:Ft(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:Mt}},style:{width:"100%"}}),t.jsx(ve,{}),t.jsxs(Ie,{children:[t.jsx(Ls,{width:b,windowSize:c,children:Y.vendorDetails.vendorType}),t.jsx(Ts,{size:c,children:t.jsx(zt,{name:E(r,"vendorType"),value:{allTypes:e,selectedType:i.vendorDetailLocalData?.vendorType},placeholderLabel:Y.placeholders.type})})]}),t.jsx(ve,{}),t.jsx(Ie,{children:t.jsx(ls,{name:E(r,"tinType"),menuPlacement:"auto",style:{height:a.sp6,width:"100%",marginLeft:a.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:i.vendorDetailLocalData?.tin?.type??k.strings.empty,dropDownList:[{code:k.texts.ein,label:k.texts.ein.toUpperCase()},{code:k.texts.ssn,label:k.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:Y.placeholders.tinType,formattedText:{type:"text",name:E(r,"tinValue"),placeholder:Y.placeholders.tinValue,format:i.vendorDetailLocalData?.tin?.type===k.texts.ssn?Wt:Rt,registerOptions:{required:!!i.vendorDetailLocalData?.tin?.type,pattern:i.vendorDetailLocalData?.tin?.type===k.texts.ssn?_t:Nt},style:{width:"100%",height:a.sp6},defaultValue:i.vendorDetailLocalData?.tin?.value??k.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:i.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(ve,{}),t.jsx(ns,{isDisabled:s,label:{label:se.companyInfo.address,width:p},addressValueField:{name:E(r,"address"),placeholder:se.address.titleAdd,defaultValue:i.vendorNewAddressStatus?.addressToCreate,onClick:()=>n("vendor_address",i.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},Ss=o.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${a.sp5};
@@ -168,7 +168,7 @@ import{e as qe,Q as oe,y as g,aD as we,cH as bt,a9 as wt,ha as Ce,hb as Ct,aV as
168
168
  width: ${e=>e.width}px;
169
169
  color: ${e=>e.theme.colors.hero};
170
170
  margin: ${e=>`${F.labelMarginTop.valuePx(e.windowSize)} ${F.labelMarginLeft.valuePx(e.windowSize)} ${F.labelMarginBottom.valuePx(e.windowSize)} ${F.labelMarginLeft.valuePx(e.windowSize)}`};
171
- `,Oe=W.getLocalizedStrings().vendors.common.transactionTabTitles,Vs=()=>ks,ks=[{id:"spend_transactions",label:Oe.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Oe.allTransactions,leftMargin:!0,style:{width:122,left:60}}],Pe={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},_=(e,s)=>`${e}.${s}`,Ze=W.getLocalizedStrings(),{common:ae,cockpit:Me}=Ze,I=Ze.spendManagement.billPay.vendorCreation,Is=({accountsHierarchyList:e,allAccounts:s,allClasses:r,allOwners:i,classHierarchyList:n,enableRecommendationUpdateCheckbox:c,readOnlyMode:p,isDisabled:f,recommendations:h,sectionId:b,selectedAccountId:B,selectedClassId:A,selectedOwnerId:D,selectedVendorDetails:u,uiState:q,isFiling1099FeatureEnabled:G,onClickShowMoreOrLess:ne})=>{const K=oe(),Q=qe(),{getValues:J}=It(),R=Pe.labelWidth.value(K),le=Pe.controlWidth.value(K),ie=C=>s.filter(T=>T.accountId===C)[0]?.coaId??"",re=C=>r.filter(T=>T.classId===C)[0]?.accountingClassNumber??"",H=C=>{const T=s.find(Z=>Z.accountId===C)?.accountName;return[At,qt].includes(T??"")},j=I.vendorDetails.recommendation.tooltip,U=j.category.replace("__based__",u?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),X=j.class.replace("__based__",u?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),de=u?.vendorDetailLocalData?.recommendedCategory!=null&&!!c,ce=u?.vendorDetailLocalData?.recommendedClass!=null&&!!c;return t.jsxs(Os,{children:[t.jsxs(Ps,{children:[t.jsx(Ms,{children:I.vendorDetails.title}),G?t.jsxs(zs,{onClick:()=>ne(),children:[q?.collapsableStatus==="expand"?`${ae.show}${ae.strings.space}${Me.subscription.lessBtnText}`:`${ae.show}${ae.strings.space}${Me.subscription.moreBtnText}`,q?.collapsableStatus==="expand"?t.jsx(_s,{}):t.jsx(Ns,{})]}):null]}),t.jsxs(Fs,{children:[t.jsx($e,{isLoading:!1,label:{label:I.vendorDetails.category,width:R},groupedSingleSelectField:{name:_(b,"vendorCategory"),placeholder:I.placeholders.category,valueToInfo:C=>ie(C),defaultValue:{selectedOption:B,allOptions:Ee(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:de},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${Q.colors.grey3}`},isDisabled:p?"readonly":f,disableCurrentOption:H,fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedCategory!=null&&c?{tooltipProps:{text:U},label:{label:u?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:_(b,"isRecommendedCategorySelected"),defaultChecked:J(_(b,"isRecommendedCategorySelected"))}}:void 0}),t.jsx($e,{isLoading:!1,label:{label:I.vendorDetails.class,width:R},zIndexOnFocus:!0,groupedSingleSelectField:{name:_(b,"vendorClass"),placeholder:I.placeholders.class,valueToInfo:C=>re(C),defaultValue:{selectedOption:A,allOptions:Ue(n,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:ce},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${Q.colors.grey3}`},isDisabled:p===!0?"readonly":f,fullWidthSelect:!1,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedClass!=null&&c?{tooltipProps:{text:X},label:{label:u?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:_(b,"isRecommendedClassSelected"),defaultChecked:J(_(b,"isRecommendedClassSelected"))}}:void 0}),t.jsx(Ot,{label:{label:I.vendorDetails.vendorOwner,width:R},userSingleSelectField:{name:_(b,"vendorOwner"),placeholder:I.placeholders.owner,defaultValue:{allOptions:Ye(i),selectedOption:D},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:p===!0?"readonly":f,style:{justifyContent:"space-between"},controlWidth:le,fullWidthSelect:!1})]})]})},Os=o.div`
171
+ `,Oe=W.getLocalizedStrings().vendors.common.transactionTabTitles,Vs=()=>ks,ks=[{id:"spend_transactions",label:Oe.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Oe.allTransactions,leftMargin:!0,style:{width:122,left:60}}],Pe={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},_=(e,s)=>`${e}.${s}`,Ze=W.getLocalizedStrings(),{common:ae,cockpit:Me}=Ze,I=Ze.spendManagement.billPay.vendorCreation,Is=({accountsHierarchyList:e,allAccounts:s,allClasses:r,allOwners:i,classHierarchyList:n,enableRecommendationUpdateCheckbox:c,readOnlyMode:p,isDisabled:b,recommendations:h,sectionId:f,selectedAccountId:B,selectedClassId:A,selectedOwnerId:D,selectedVendorDetails:u,uiState:q,isFiling1099FeatureEnabled:G,onClickShowMoreOrLess:ne})=>{const K=oe(),Q=qe(),{getValues:J}=It(),R=Pe.labelWidth.value(K),le=Pe.controlWidth.value(K),ie=C=>s.filter(T=>T.accountId===C)[0]?.coaId??"",re=C=>r.filter(T=>T.classId===C)[0]?.accountingClassNumber??"",H=C=>{const T=s.find(Z=>Z.accountId===C)?.accountName;return[At,qt].includes(T??"")},j=I.vendorDetails.recommendation.tooltip,U=j.category.replace("__based__",u?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),X=j.class.replace("__based__",u?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),de=u?.vendorDetailLocalData?.recommendedCategory!=null&&!!c,ce=u?.vendorDetailLocalData?.recommendedClass!=null&&!!c;return t.jsxs(Os,{children:[t.jsxs(Ps,{children:[t.jsx(Ms,{children:I.vendorDetails.title}),G?t.jsxs(zs,{onClick:()=>ne(),children:[q?.collapsableStatus==="expand"?`${ae.show}${ae.strings.space}${Me.subscription.lessBtnText}`:`${ae.show}${ae.strings.space}${Me.subscription.moreBtnText}`,q?.collapsableStatus==="expand"?t.jsx(_s,{}):t.jsx(Ns,{})]}):null]}),t.jsxs(Fs,{children:[t.jsx($e,{isLoading:!1,label:{label:I.vendorDetails.category,width:R},groupedSingleSelectField:{name:_(f,"vendorCategory"),placeholder:I.placeholders.category,valueToInfo:C=>ie(C),defaultValue:{selectedOption:B,allOptions:Ee(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:de},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${Q.colors.grey3}`},isDisabled:p?"readonly":b,disableCurrentOption:H,fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedCategory!=null&&c?{tooltipProps:{text:U},label:{label:u?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:_(f,"isRecommendedCategorySelected"),defaultChecked:J(_(f,"isRecommendedCategorySelected"))}}:void 0}),t.jsx($e,{isLoading:!1,label:{label:I.vendorDetails.class,width:R},zIndexOnFocus:!0,groupedSingleSelectField:{name:_(f,"vendorClass"),placeholder:I.placeholders.class,valueToInfo:C=>re(C),defaultValue:{selectedOption:A,allOptions:Ue(n,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:ce},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${Q.colors.grey3}`},isDisabled:p===!0?"readonly":b,fullWidthSelect:!1,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedClass!=null&&c?{tooltipProps:{text:X},label:{label:u?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:_(f,"isRecommendedClassSelected"),defaultChecked:J(_(f,"isRecommendedClassSelected"))}}:void 0}),t.jsx(Ot,{label:{label:I.vendorDetails.vendorOwner,width:R},userSingleSelectField:{name:_(f,"vendorOwner"),placeholder:I.placeholders.owner,defaultValue:{allOptions:Ye(i),selectedOption:D},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:p===!0?"readonly":b,style:{justifyContent:"space-between"},controlWidth:le,fullWidthSelect:!1})]})]})},Os=o.div`
172
172
  display: flex;
173
173
  flex-direction: column;
174
174
  padding-top: ${a.sp3};
@@ -254,4 +254,4 @@ import{e as qe,Q as oe,y as g,aD as we,cH as bt,a9 as wt,ha as Ce,hb as Ct,aV as
254
254
  display: flex;
255
255
  flex-direction: column;
256
256
  transition: ${e=>e.collapsableStatus==="collapse"?"height 400ms ease-out":"height 200ms ease-in"};
257
- `,Ys=[{label:O.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:O.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:O.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:O.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:O.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:O.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:O.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:O.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],$a=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:r,vendorLogo:i,readOnlyMode:n,isDisabled:c,scrollToTrend:p,allTransactionsTabData:f,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:b,onSaveSuccess:B,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:q,onSpendTrendPercentChangeClick:G,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:K,onAddressClick:Q,saveContactsInVendorTabDetailLocalData:J,onVendorDetailUIChange:R,sidePanelIsFullView:le,sidePanelIsOpen:ie,panelContent:re})=>{const H=qe(),j=oe(),U=$.useRef(null),[X,de]=$.useState(!1),[ce,C]=$.useState(P.transactionListHeight.value()),T=s?.selectedTabType,Z=Vs(),m=Object.assign({},s?.vendorViewDetails?.vendorView),L=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,ee=s?.uiState,et=!we(m!=null&&m.vendorAddress!=null?De(m.vendorAddress):m.vendorAddress,m.vendorNewAddressStatus?.addressToCreate!=null?De(m.vendorNewAddressStatus?.addressToCreate):m.vendorNewAddressStatus?.addressToCreate),tt=(m?.vendorDetailLocalData?.contacts??[]).filter(d=>d.email!==y.common.strings.empty||d.fullName!==y.common.strings.empty||d.phone!==y.common.strings.empty).map(d=>bt(d,"contactInfoType")),fe=$.useMemo(()=>m.vendorBasic?.contacts??[],[m.vendorBasic?.contacts]),st=!we(tt,fe),te=wt({mode:"all",defaultValues:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[at,ot]=$.useState(-1),nt=m.vendorDetailLocalData?.contacts!=null&&m.vendorDetailLocalData?.contacts.length>0?m.vendorDetailLocalData?.contacts:Ce,[lt,it]=$.useState(Ct(nt)),rt=d=>{it(d),J?.(L?.vendorId??y.common.strings.empty,d)};$.useEffect(()=>{p===!0&&X===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),de(!0))},[p,X,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const dt=new $t(H.colors.graphColor12),V=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",ct=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",pt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",mt=(d,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&B?.()},[m]);const ht=$.useCallback(()=>{window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),G?.()},[G]),gt=async(d,v)=>{const w=v;if(d.includes("isRecommendedCategorySelected")){const z=v[x].isRecommendedCategorySelected===!0?m?.vendorDetailLocalData?.recommendedCategory?.accountId:m?.vendorBasic?.account?.accountId;w[x].vendorCategory={selectedOption:z,allOptions:v[x].vendorCategory.allOptions}}if(d.includes("isRecommendedClassSelected")){const z=v[x].isRecommendedClassSelected===!0?m.vendorDetailLocalData?.recommendedClass?.classId:m?.vendorBasic?.class?.classId;w[x].vendorClass={selectedOption:z,allOptions:v[x].vendorClass.allOptions}}if(d.includes("vendorCategory")){const z=w[x].vendorCategory.selectedOption===w[x].recommendedCategory?.accountId;w[x].isRecommendedCategorySelected=z}if(d.includes("vendorClass")){const z=w[x].vendorClass.selectedOption===w[x].recommendedClass?.classId;w[x].isRecommendedClassSelected=z}ut(w)};$.useEffect(()=>{const d=te.watch((v,{name:w})=>{w!=null&&v!=null&&St(()=>gt(w,v))});return()=>{d.unsubscribe()}});const ut=d=>{const v=Gs(d,m.vendorBasic?.id,L);A?.(v)},vt=d=>{h(Xt(d.id))},yt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(d,v)=>{b(d,(f?.numberOfQuartersFetched??0)+1)}},xt=()=>{switch(T){case"all_transactions":return t.jsx(Bs,{height:ce,children:V===!1&&f?.timePeriod!=null?t.jsx(ts,{firstMonthOfFY:r,timeframe:"quarter",timePeriod:f.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:V,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:q,onListInnerElementHeightChanged:d=>{C(d)},showLoadPrevious:yt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(es,{allTabs:Ys,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:d=>{const v=Zt(d.id);v!=null&&K(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(qs,{ref:U,children:t.jsx(ss,{firstMonthOfFY:r,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:dt,initialTransactionListHeight:P.transactionListHeight.value(j),page:"vendorDetailPage",onTimePeriodChange:mt,onTransactionItemClick:q})})]}):null}},ft=()=>{ee?.collapsableStatus==="expand"?R?.("collapse"):R?.("expand")},be=Z.find(d=>T===d.id);return t.jsx(Dt,{isOpen:ie??!1,isFullView:le??!1,panelContent:re,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(kt,{onBackClick:D,title:m.vendorBasic?.name??y.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:H.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(ws,{isPageLoading:V,vendorName:m.vendorBasic?.name??y.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:pt,onPercentChangeClick:ht}):null]}),listContent:t.jsxs(Hs,{children:[V===!0&&t.jsx(Be,{isPageLoading:V,children:t.jsx(He,{size:j,children:t.jsx(Rs,{})})}),V===!1&&m.vendorDetailLocalData!=null&&t.jsxs(Be,{isPageLoading:V,children:[t.jsx(He,{size:j,children:t.jsx(jt,{...te,children:t.jsxs("form",{id:We(Re),onSubmit:te.handleSubmit(ne),children:[t.jsx(Is,{sectionId:x,selectedVendorId:L?.vendorId,selectedVendorDetails:m,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:c,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ee,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:ft}),e&&ee?.collapsableStatus==="expand"?t.jsxs(Es,{collapsableStatus:ee?.collapsableStatus??"expand",children:[t.jsx($s,{selectedVendorDetails:m,isDisabled:c,onAddressClick:Q,sectionId:xe,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(Tt,{emailRequired:!1,vendorContactInfos:Ce,sectionId:ye,vendorContactInfoWithType:lt,setVendorContactInfoWithType:rt,deleteContactConfirmationIndex:at,updateContactDeleteConfirmationIndex:ot,initialContactList:fe})]}):null]})})}),be!=null?t.jsxs(As,{children:[t.jsx(Us,{children:t.jsx(gs,{allTabs:Z,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${H.colors.grey3}`,backgroundColor:H.colors.grey4,justifyContent:"left"},selectedTab:be,onOptionSelectionChanged:vt})}),xt()]}):null]}),!V&&n!==!0&&(Lt(te.formState.dirtyFields)||et||st)?t.jsx(Vt,{formId:We(Re),primaryBtn:{label:Ne.save,isLoading:ct,style:{width:P.buttonWidth.value(j)},isDisabled:!1},cancelBtn:{label:Ne.cancel,style:{width:P.buttonWidth.value(j)},onClick:D}}):null]})})},Ae=(e,s,r,i,n,c)=>({[x]:{vendorName:n?.vendorName??y.common.strings.empty,vendorOwner:{allOptions:Ye(c),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:Ee(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ue(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[xe]:{legalName:n?.legalName??y.common.strings.empty,email:n?.vendorEmail??y.common.strings.empty,phone:n?.vendorPhone??y.common.strings.empty,vendorType:{allTypes:r,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ye]:n!=null&&n?.contacts!=null&&n?.contacts.length!==0?n.contacts:[{fullName:y.common.strings.empty,email:y.common.strings.empty,phone:y.common.strings.empty,id:y.common.strings.empty}]}),Gs=(e,s,r)=>{const i=e?.[x],n=e?.[xe];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:r?.recommendations,vendorName:i.vendorName,legalName:n.legalName,vendorOwner:i.vendorOwner?.selectedOption,recommendedCategory:i.recommendedCategory,recommendedClass:i.recommendedClass,isCategoryUpdateSelected:i.isRecommendedCategorySelected??!1,isClassUpdateSelected:i.isRecommendedClassSelected??!1,vendorEmail:n.email,vendorPhone:n.phone,vendorType:n.vendorType.selectedType,tin:{type:n.tinType??null,value:n.tinValue!=null?n.tinValue.replace(Kt,y.common.strings.empty):null},address:n.address,contacts:e?.[ye]}};export{$a as default,We as formUniqueName,xe as vendor1099DetailsSectionId,x as vendorDetailsSectionId,Ys as vendorSpendTrendFilterTabs};
257
+ `,Ys=[{label:O.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:O.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:O.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:O.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:O.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:O.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:O.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:O.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],$a=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:r,vendorLogo:i,readOnlyMode:n,isDisabled:c,scrollToTrend:p,allTransactionsTabData:b,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:f,onSaveSuccess:B,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:q,onSpendTrendPercentChangeClick:G,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:K,onAddressClick:Q,saveContactsInVendorTabDetailLocalData:J,onVendorDetailUIChange:R,sidePanelIsFullView:le,sidePanelIsOpen:ie,panelContent:re})=>{const H=qe(),j=oe(),U=$.useRef(null),[X,de]=$.useState(!1),[ce,C]=$.useState(P.transactionListHeight.value()),T=s?.selectedTabType,Z=Vs(),m=Object.assign({},s?.vendorViewDetails?.vendorView),L=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,ee=s?.uiState,et=!we(m!=null&&m.vendorAddress!=null?De(m.vendorAddress):m.vendorAddress,m.vendorNewAddressStatus?.addressToCreate!=null?De(m.vendorNewAddressStatus?.addressToCreate):m.vendorNewAddressStatus?.addressToCreate),tt=(m?.vendorDetailLocalData?.contacts??[]).filter(d=>d.email!==y.common.strings.empty||d.fullName!==y.common.strings.empty||d.phone!==y.common.strings.empty).map(d=>ft(d,"contactInfoType")),be=$.useMemo(()=>m.vendorBasic?.contacts??[],[m.vendorBasic?.contacts]),st=!we(tt,be),te=wt({mode:"all",defaultValues:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:Ae(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[at,ot]=$.useState(-1),nt=m.vendorDetailLocalData?.contacts!=null&&m.vendorDetailLocalData?.contacts.length>0?m.vendorDetailLocalData?.contacts:Ce,[lt,it]=$.useState(Ct(nt)),rt=d=>{it(d),J?.(L?.vendorId??y.common.strings.empty,d)};$.useEffect(()=>{p===!0&&X===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),de(!0))},[p,X,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const dt=new $t(H.colors.graphColor12),V=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",ct=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",pt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",mt=(d,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&B?.()},[m]);const ht=$.useCallback(()=>{window.scrollTo({top:(U.current?.offsetTop??0)+P.navbarHeight,behavior:"smooth"}),G?.()},[G]),gt=async(d,v)=>{const w=v;if(d.includes("isRecommendedCategorySelected")){const z=v[x].isRecommendedCategorySelected===!0?m?.vendorDetailLocalData?.recommendedCategory?.accountId:m?.vendorBasic?.account?.accountId;w[x].vendorCategory={selectedOption:z,allOptions:v[x].vendorCategory.allOptions}}if(d.includes("isRecommendedClassSelected")){const z=v[x].isRecommendedClassSelected===!0?m.vendorDetailLocalData?.recommendedClass?.classId:m?.vendorBasic?.class?.classId;w[x].vendorClass={selectedOption:z,allOptions:v[x].vendorClass.allOptions}}if(d.includes("vendorCategory")){const z=w[x].vendorCategory.selectedOption===w[x].recommendedCategory?.accountId;w[x].isRecommendedCategorySelected=z}if(d.includes("vendorClass")){const z=w[x].vendorClass.selectedOption===w[x].recommendedClass?.classId;w[x].isRecommendedClassSelected=z}ut(w)};$.useEffect(()=>{const d=te.watch((v,{name:w})=>{w!=null&&v!=null&&St(()=>gt(w,v))});return()=>{d.unsubscribe()}});const ut=d=>{const v=Gs(d,m.vendorBasic?.id,L);A?.(v)},vt=d=>{h(Xt(d.id))},yt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(d,v)=>{f(d,(b?.numberOfQuartersFetched??0)+1)}},xt=()=>{switch(T){case"all_transactions":return t.jsx(Bs,{height:ce,children:V===!1&&b?.timePeriod!=null?t.jsx(ts,{firstMonthOfFY:r,timeframe:"quarter",timePeriod:b.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:V,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:q,onListInnerElementHeightChanged:d=>{C(d)},showLoadPrevious:yt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(es,{allTabs:Ys,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:d=>{const v=Zt(d.id);v!=null&&K(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(qs,{ref:U,children:t.jsx(ss,{firstMonthOfFY:r,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:dt,initialTransactionListHeight:P.transactionListHeight.value(j),page:"vendorDetailPage",onTimePeriodChange:mt,onTransactionItemClick:q})})]}):null}},bt=()=>{ee?.collapsableStatus==="expand"?R?.("collapse"):R?.("expand")},fe=Z.find(d=>T===d.id);return t.jsx(Dt,{isOpen:ie??!1,isFullView:le??!1,panelContent:re,headerContent:t.jsxs(t.Fragment,{children:[t.jsx(kt,{onBackClick:D,title:m.vendorBasic?.name??y.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:H.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(ws,{isPageLoading:V,vendorName:m.vendorBasic?.name??y.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:pt,onPercentChangeClick:ht}):null]}),listContent:t.jsxs(Hs,{children:[V===!0&&t.jsx(Be,{isPageLoading:V,children:t.jsx(He,{size:j,children:t.jsx(Rs,{})})}),V===!1&&m.vendorDetailLocalData!=null&&t.jsxs(Be,{isPageLoading:V,children:[t.jsx(He,{size:j,children:t.jsx(jt,{...te,children:t.jsxs("form",{id:We(Re),onSubmit:te.handleSubmit(ne),children:[t.jsx(Is,{sectionId:x,selectedVendorId:L?.vendorId,selectedVendorDetails:m,selectedAccountId:L?.vendorCategory,selectedClassId:L?.vendorClass,selectedOwnerId:L?.vendorOwner,recommendations:L?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:L?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:c,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:ee,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:bt}),e&&ee?.collapsableStatus==="expand"?t.jsxs(Es,{collapsableStatus:ee?.collapsableStatus??"expand",children:[t.jsx($s,{selectedVendorDetails:m,isDisabled:c,onAddressClick:Q,sectionId:xe,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(Tt,{emailRequired:!1,vendorContactInfos:Ce,sectionId:ye,vendorContactInfoWithType:lt,setVendorContactInfoWithType:rt,deleteContactConfirmationIndex:at,updateContactDeleteConfirmationIndex:ot,initialContactList:be})]}):null]})})}),fe!=null?t.jsxs(As,{children:[t.jsx(Us,{children:t.jsx(gs,{allTabs:Z,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${H.colors.grey3}`,backgroundColor:H.colors.grey4,justifyContent:"left"},selectedTab:fe,onOptionSelectionChanged:vt})}),xt()]}):null]}),!V&&n!==!0&&(Lt(te.formState.dirtyFields)||et||st)?t.jsx(Vt,{formId:We(Re),primaryBtn:{label:Ne.save,isLoading:ct,style:{width:P.buttonWidth.value(j)},isDisabled:!1},cancelBtn:{label:Ne.cancel,style:{width:P.buttonWidth.value(j)},onClick:D}}):null]})})},Ae=(e,s,r,i,n,c)=>({[x]:{vendorName:n?.vendorName??y.common.strings.empty,vendorOwner:{allOptions:Ye(c),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:Ee(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ue(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[xe]:{legalName:n?.legalName??y.common.strings.empty,email:n?.vendorEmail??y.common.strings.empty,phone:n?.vendorPhone??y.common.strings.empty,vendorType:{allTypes:r,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ye]:n!=null&&n?.contacts!=null&&n?.contacts.length!==0?n.contacts:[{fullName:y.common.strings.empty,email:y.common.strings.empty,phone:y.common.strings.empty,id:y.common.strings.empty}]}),Gs=(e,s,r)=>{const i=e?.[x],n=e?.[xe];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:r?.recommendations,vendorName:i.vendorName,legalName:n.legalName,vendorOwner:i.vendorOwner?.selectedOption,recommendedCategory:i.recommendedCategory,recommendedClass:i.recommendedClass,isCategoryUpdateSelected:i.isRecommendedCategorySelected??!1,isClassUpdateSelected:i.isRecommendedClassSelected??!1,vendorEmail:n.email,vendorPhone:n.phone,vendorType:n.vendorType.selectedType,tin:{type:n.tinType??null,value:n.tinValue!=null?n.tinValue.replace(Kt,y.common.strings.empty):null},address:n.address,contacts:e?.[ye]}};export{$a as default,We as formUniqueName,xe as vendor1099DetailsSectionId,x as vendorDetailsSectionId,Ys as vendorSpendTrendFilterTabs};
@@ -1 +1 @@
1
- import{V as b}from"./index-G4udIFQJ.js";import{a as k}from"./sentry-CTrMrBL8.js";import{D as y}from"./DomesticWireDetailsPage-BOb4FGaY-DZtWI0el.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./zeni-epic-state-B_64dD7k.js";import"./mui-BDpZEDd-.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";import"./BankAccountSection-BBDMIckQ-VD7MNHHN.js";import"./MagicLinkTitleSection-DAywgMEo-BtiZq0cx.js";import"./BankAccountWarningSection-BkcjTRzD-DIfRT-Zr.js";import"./MailingDetailsSection-DRQnwOna-B3_bDX5k.js";import"./LabeledAddressValueField-BNDFFbl6-Bnl_fTov.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]="04b8435d-9e6c-4601-951c-353c5e543dc6",e._sentryDebugIdIdentifier="sentry-dbid-04b8435d-9e6c-4601-951c-353c5e543dc6")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as b}from"./index-CRjLU1CH.js";import{a as k}from"./sentry-DZdy1Eny.js";import{D as y}from"./DomesticWireDetailsPage-DeXdHoem-CGnMYsda.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./mui-G_qoHHKo.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./BankAccountSection-P9w-MOrg-BTlhn7ds.js";import"./MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.js";import"./BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js";import"./MailingDetailsSection-Db8X4a09-CGdNacsa.js";import"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.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]="d5791b14-d615-427e-a321-94ec8c6c952c",e._sentryDebugIdIdentifier="sentry-dbid-d5791b14-d615-427e-a321-94ec8c6c952c")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:l,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),b.jsx(y,{bankAccountToCreate:l,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,4 +1,4 @@
1
- import{Q as oe,e as Ne,a9 as Ae,cF as ke,y as w,V as t,bC as Be,aP as qe,ac as Ee,cI as C,o as s,cM as Oe,hi as Re,gd as We,cQ as Me,hj as He,hk as _e,cY as Ue,aR as Ke,F as ne,eZ as U,hp as de,c_ as Ye,e_ as Ge,u as c,C as Ze,bP as L,cD as Je,hq as Qe,p as P,Y as Xe,ci as et,al as ce,eK as tt,hr as st,hs as lt,ht as M,e$ as it}from"./index-G4udIFQJ.js";import{a as x}from"./sentry-CTrMrBL8.js";import{n as a}from"./mui-BDpZEDd-.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BXhlcMj3-DMyG_l10.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./zeni-epic-state-B_64dD7k.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.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]="bc08a3f1-0d46-4cf1-a666-316453d45ab7",e._sentryDebugIdIdentifier="sentry-dbid-bc08a3f1-0d46-4cf1-a666-316453d45ab7")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:O}){const q=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(q);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(q),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{Q as oe,e as Ne,a9 as Ae,cF as ke,y as w,V as t,bC as Be,aP as qe,ac as Ee,cI as C,o as s,cM as Oe,hi as Re,gd as We,cQ as Me,hj as He,hk as _e,cY as Ue,aR as Ke,F as ne,eZ as U,hp as de,c_ as Ye,e_ as Ge,u as c,C as Ze,bP as L,cD as Je,hq as Qe,p as P,Y as Xe,ci as et,al as ce,eK as tt,hr as st,hs as lt,ht as M,e$ as it}from"./index-CRjLU1CH.js";import{a as x}from"./sentry-DZdy1Eny.js";import{n as a}from"./mui-G_qoHHKo.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-QdvkGLEh-BRZgDq4Q.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="d99939f6-49e5-4e4e-b5a0-49707b2564a1",e._sentryDebugIdIdentifier="sentry-dbid-d99939f6-49e5-4e4e-b5a0-49707b2564a1")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:O}){const q=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(q);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(q),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{Q as ae,aw as Nn,e as mn,a9 as et,i8 as Te,cF as nt,ay as On,i9 as re,ia as xe,ib as fe,ic as be,id as me,V as n,i3 as tt,ac as ot,bC as it,aa as rt,cp as st,cq as at,cr as lt,bV as dt,bO as ct,aP as X,cm as mt,b3 as pt,dp as ut,ct as ht,T as gt,F as je,y as w,A as Ne,o as t,aU as In,al as De,aT as wt,u as c,ai as Re,cz as vt,du as Pn,bP as Pe,bh as Tn,cC as xt,b$ as ft,dH as bt,ba as Xe,bt as pn,p as B,h as zn,h0 as $t,dk as wn,d2 as rn,ie as sn,ao as St,bT as Be,dR as yt,ez as vn,bK as jt,dw as Rt,r as xn,cw as Vt,ig as Ct,ih as kt,cS as Mt,c_ as Nt,c$ as Ot,eE as It,am as Dn,ii as Pt,bI as se,ij as fn,gO as Tt,at as zt,as as Dt,dv as _t,b as _n,R as Lt,l as Ft,aW as dn}from"./index-G4udIFQJ.js";import{a as f}from"./sentry-CTrMrBL8.js";import{n as o,c as cn}from"./mui-BDpZEDd-.js";import{gu as At,G0 as Bt}from"./zeni-epic-state-B_64dD7k.js";import{r as Et}from"./core-CfLdY-k_.js";import"./liveblocks-CV4wYZBt.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0c829ff5-8c11-4c96-ad6b-d25fdcd4d9e4",e._sentryDebugIdIdentifier="sentry-dbid-0c829ff5-8c11-4c96-ad6b-d25fdcd4d9e4")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Kt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{Q as ae,aw as Nn,e as mn,a9 as et,i8 as Te,cF as nt,ay as On,i9 as re,ia as xe,ib as fe,ic as be,id as me,V as n,i3 as tt,ac as ot,bC as it,aa as rt,cp as st,cq as at,cr as lt,bV as dt,bO as ct,aP as X,cm as mt,b3 as pt,dp as ut,ct as ht,T as gt,F as je,y as w,A as Ne,o as t,aU as In,al as De,aT as wt,u as c,ai as Re,cz as vt,du as Pn,bP as Pe,bh as Tn,cC as xt,b$ as ft,dH as bt,ba as Xe,bt as pn,p as B,h as zn,h0 as $t,dk as wn,d2 as rn,ie as sn,ao as St,bT as Be,dR as yt,ez as vn,bK as jt,dw as Rt,r as xn,cw as Vt,ig as Ct,ih as kt,cS as Mt,c_ as Nt,c$ as Ot,eE as It,am as Dn,ii as Pt,bI as se,ij as fn,gO as Tt,at as zt,as as Dt,dv as _t,b as _n,R as Lt,l as Ft,aW as dn}from"./index-CRjLU1CH.js";import{a as f}from"./sentry-DZdy1Eny.js";import{n as o,c as cn}from"./mui-G_qoHHKo.js";import{gu as At,G0 as Bt}from"./zeni-epic-state-BlmgKn3B.js";import{r as Et}from"./core-BZCxWmUX.js";import"./liveblocks-B2F837W5.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="0c829ff5-8c11-4c96-ad6b-d25fdcd4d9e4",e._sentryDebugIdIdentifier="sentry-dbid-0c829ff5-8c11-4c96-ad6b-d25fdcd4d9e4")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Gt,{children:d!==e.length-1?d+1:n.jsx(Kt,{})}),n.jsx(Ht,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,Q as 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 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-G4udIFQJ.js";import{a as R}from"./sentry-CTrMrBL8.js";import{n as g}from"./mui-BDpZEDd-.js";import{bi as Q}from"./zeni-epic-state-B_64dD7k.js";import{W as We,A as ze}from"./BankAccountWarningSection-BkcjTRzD-DIfRT-Zr.js";import{T as Re}from"./MailingDetailsSection-DRQnwOna-B3_bDX5k.js";import{S as Pe}from"./CurrencySelectField-DSayEoor-D5Zrqkfd.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";import"./LabeledAddressValueField-BNDFFbl6-Bnl_fTov.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]="f0ce96cd-a5d1-4958-bd07-3290b1f44e5b",e._sentryDebugIdIdentifier="sentry-dbid-f0ce96cd-a5d1-4958-bd07-3290b1f44e5b")}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`
1
+ import{V as t,Q 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 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-CRjLU1CH.js";import{a as R}from"./sentry-DZdy1Eny.js";import{n as g}from"./mui-G_qoHHKo.js";import{bi as Q}from"./zeni-epic-state-BlmgKn3B.js";import{W as We,A as ze}from"./BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js";import{T as Re}from"./MailingDetailsSection-Db8X4a09-CGdNacsa.js";import{S as Pe}from"./CurrencySelectField-DxdAWtY0-B1TsXU1Q.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.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]="a8d23fe6-83ba-4240-9eff-52721216e611",e._sentryDebugIdIdentifier="sentry-dbid-a8d23fe6-83ba-4240-9eff-52721216e611")}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;
@@ -0,0 +1 @@
1
+ import{V as u}from"./index-CRjLU1CH.js";import{a as S}from"./sentry-DZdy1Eny.js";import{f as k}from"./InternationalWireSwiftDetailsPage-C0p3_QQy-C5e9qnYF.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./mui-G_qoHHKo.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js";import"./MailingDetailsSection-Db8X4a09-CGdNacsa.js";import"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.js";import"./MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.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]="0b471ce0-0a13-4f98-b2c2-ababaaaf309b",e._sentryDebugIdIdentifier="sentry-dbid-0b471ce0-0a13-4f98-b2c2-ababaaaf309b")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:b}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),u.jsx(k,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:b,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{Q 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-G4udIFQJ.js";import{n as s}from"./mui-BDpZEDd-.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]="47e0aad8-e589-4318-ae8c-0cedb28b47ab",e._sentryDebugIdIdentifier="sentry-dbid-47e0aad8-e589-4318-ae8c-0cedb28b47ab")}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{Q 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-CRjLU1CH.js";import{n as s}from"./mui-G_qoHHKo.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]="47e0aad8-e589-4318-ae8c-0cedb28b47ab",e._sentryDebugIdIdentifier="sentry-dbid-47e0aad8-e589-4318-ae8c-0cedb28b47ab")}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 z,a9 as U,V as r,bS as W,aa as p,ac as X,bT as B,ai as x,bU as G,o as n,F as N,r as E,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-G4udIFQJ.js";import{a as c}from"./sentry-CTrMrBL8.js";import{n as t}from"./mui-BDpZEDd-.js";import{bh as q}from"./zeni-epic-state-B_64dD7k.js";import{A as J,Z as k}from"./AccountLockedInfoModal-BQyFAsoa-pQ3h0lXW.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";import"./handshake-BPg58FML-Cv-IXUBG.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]="cb47e3fd-c037-45f6-94d7-19bfadffae8e",e._sentryDebugIdIdentifier="sentry-dbid-cb47e3fd-c037-45f6-94d7-19bfadffae8e")}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,m="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),D=z(e.verifyOtpFetchState),u=U({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(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(m,""))},[D,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(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:${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(m,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(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(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(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aQ as z,a9 as U,V as r,bS as W,aa as p,ac as X,bT as B,ai as x,bU as G,o as n,F as N,r as E,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-CRjLU1CH.js";import{a as c}from"./sentry-DZdy1Eny.js";import{n as t}from"./mui-G_qoHHKo.js";import{bh as q}from"./zeni-epic-state-BlmgKn3B.js";import{A as J,Z as k}from"./AccountLockedInfoModal-BFBjEOzC-D3uFLbPe.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./handshake-BPg58FML-Bh6G4KIp.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]="45df40df-59c1-4c66-aa2c-ab1a4e9a70f6",e._sentryDebugIdIdentifier="sentry-dbid-45df40df-59c1-4c66-aa2c-ab1a4e9a70f6")}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,m="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),D=z(e.verifyOtpFetchState),u=U({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(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(m,""))},[D,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(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:${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(m,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(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(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(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-De2kZE9C.js","assets/sentry-CTrMrBL8.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-BNl8kpdF.js","assets/zeni-epic-state-B_64dD7k.js","assets/core-CfLdY-k_.js","assets/index-BOJ4i6pP.js","assets/react-CkHlLfE6.js","assets/react-MOWQVBSu.js","assets/react-DK7JNpa7.js","assets/react-yJFMdFvX.js","assets/react-E_zI_4NR.js","assets/react-DJZvoDtL.js","assets/Preview-CmsmcMye.js"])))=>i.map(i=>d[i]);
2
- import{Q as W,V as f,ao as X,p as Y}from"./index-G4udIFQJ.js";import{P as _,a as t}from"./sentry-CTrMrBL8.js";import{n as k,k as K}from"./mui-BDpZEDd-.js";import{r as Z}from"./core-CfLdY-k_.js";import{ba as y}from"./zeni-epic-state-B_64dD7k.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]="ab118387-615f-40a2-8a2a-7b8d98ef8c5b",e._sentryDebugIdIdentifier="sentry-dbid-ab118387-615f-40a2-8a2a-7b8d98ef8c5b")}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,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?: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=>Q.test(e),youtube:e=>J.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-De2kZE9C.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BNl8kpdF.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-BOJ4i6pP.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-CkHlLfE6.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-MOWQVBSu.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DK7JNpa7.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-yJFMdFvX.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-E_zI_4NR.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DJZvoDtL.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-CmsmcMye.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-Hh8LA1NH.js","assets/sentry-DZdy1Eny.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-Bz8KihG8.js","assets/zeni-epic-state-BlmgKn3B.js","assets/core-BZCxWmUX.js","assets/index-DC2hxKgC.js","assets/react-C-Nzpwqb.js","assets/react-D3qPI2I1.js","assets/react-BVN7d4k7.js","assets/react-CQCeOVHy.js","assets/react-DY87wnXm.js","assets/react-CgU7dLsF.js","assets/Preview-Dit3IBZc.js"])))=>i.map(i=>d[i]);
2
+ import{Q as W,V as f,ao as X,p as Y}from"./index-CRjLU1CH.js";import{P as _,a as t}from"./sentry-DZdy1Eny.js";import{n as k,k as K}from"./mui-G_qoHHKo.js";import{r as Z}from"./core-BZCxWmUX.js";import{ba as y}from"./zeni-epic-state-BlmgKn3B.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]="ab118387-615f-40a2-8a2a-7b8d98ef8c5b",e._sentryDebugIdIdentifier="sentry-dbid-ab118387-615f-40a2-8a2a-7b8d98ef8c5b")}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,Q=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,J=/(?: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=>Q.test(e),youtube:e=>J.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-Hh8LA1NH.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Bz8KihG8.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DC2hxKgC.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-C-Nzpwqb.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-D3qPI2I1.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BVN7d4k7.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CQCeOVHy.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DY87wnXm.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CgU7dLsF.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-Dit3IBZc.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{Q as s,V as t,ao as l,aP as a,p as c,o,y as d}from"./index-G4udIFQJ.js";import{n}from"./mui-BDpZEDd-.js";import{N as f}from"./VideoPlayer-DVwDdeFR-t68lwaBp.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]="4c158ea2-c01f-46f2-8def-ac4eb7be40de",e._sentryDebugIdIdentifier="sentry-dbid-4c158ea2-c01f-46f2-8def-ac4eb7be40de")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
1
+ import{Q as a,V as t,ao as s,aP as l,p as c,o,y as d}from"./index-CRjLU1CH.js";import{n}from"./mui-G_qoHHKo.js";import{N as f}from"./VideoPlayer-DcPwSvda-DzC2R71-.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]="5967b059-a73d-42b7-aa29-a8df8b65e9cf",e._sentryDebugIdIdentifier="sentry-dbid-5967b059-a73d-42b7-aa29-a8df8b65e9cf")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -28,4 +28,4 @@ import{Q as s,V as t,ao as l,aP as a,p as c,o,y as d}from"./index-G4udIFQJ.js";i
28
28
  position: relative;
29
29
  width: 100%;
30
30
  height: 100%;
31
- `;function y(e){const i=s();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(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{y as C};
31
+ `;function y(e){const i=a();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(s,{onClickAway:()=>e.onCancelClick(),children:t.jsx(w,{windowSize:i,"data-testid":l("video-popup"),children:t.jsx(p,{children:t.jsx(f,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as C};
@@ -1,4 +1,4 @@
1
- import{Q as B,V as s,B as C,Y 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-G4udIFQJ.js";import{n as a}from"./mui-BDpZEDd-.js";import{cG as A}from"./zeni-epic-state-B_64dD7k.js";import"./sentry-CTrMrBL8.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.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]="4f4700a4-527f-433a-8f8c-8563d8eb1d58",r._sentryDebugIdIdentifier="sentry-dbid-4f4700a4-527f-433a-8f8c-8563d8eb1d58")}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}=Q(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}=V(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(Y,{children:[s.jsx(U,{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}
1
+ import{Q as B,V as s,B as C,Y 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-CRjLU1CH.js";import{n as a}from"./mui-G_qoHHKo.js";import{cG as A}from"./zeni-epic-state-BlmgKn3B.js";import"./sentry-DZdy1Eny.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="4f4700a4-527f-433a-8f8c-8563d8eb1d58",r._sentryDebugIdIdentifier="sentry-dbid-4f4700a4-527f-433a-8f8c-8563d8eb1d58")}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}=Q(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}=V(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(Y,{children:[s.jsx(U,{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
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(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}},Q=(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}},V=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a9 as Te,Q 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 S,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 Ie,bO as Ee,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,d 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-G4udIFQJ.js";import{a as r}from"./sentry-CTrMrBL8.js";import{n as a}from"./mui-BDpZEDd-.js";import{FW as Qe,bL as G}from"./zeni-epic-state-B_64dD7k.js";import{$ as et}from"./BoxItem-DptPNfuL-Bp-R8iE1.js";import{w as tt}from"./downloadPdf-DJF-2ZO0-DSsBKjnk.js";import{H as ot}from"./DepositAccTransactionItem-CURckRWv-5cwb8lsm.js";import{U as at}from"./ZeniAccountNavBarPieces-CoQENU6J-BeLx8CHm.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-B3SHU5RU.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";import"./commonDimensions-Bu6zjJKF-Cmgw7sLn.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]="0b05816d-55af-4472-93fe-33bc21a387f5",e._sentryDebugIdIdentifier="sentry-dbid-0b05816d-55af-4472-93fe-33bc21a387f5")}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,Q 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 S,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 Ie,bO as Ee,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,d 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-CRjLU1CH.js";import{a as r}from"./sentry-DZdy1Eny.js";import{n as a}from"./mui-G_qoHHKo.js";import{FW as Qe,bL as G}from"./zeni-epic-state-BlmgKn3B.js";import{$ as et}from"./BoxItem-CgrlwejJ-DRtcS1-S.js";import{w as tt}from"./downloadPdf-CMFOff-_-mnN6dDox.js";import{H as ot}from"./DepositAccTransactionItem-Dql1IjYZ-DFOMn-wO.js";import{U as at}from"./ZeniAccountNavBarPieces-CSy5vlQ--2YMNZ3_9.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-CCryt90F.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./commonDimensions-Upfg-PB1-DEuX-eDL.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]="659bf79c-c019-46d3-af2b-740c502d3720",e._sentryDebugIdIdentifier="sentry-dbid-659bf79c-c019-46d3-af2b-740c502d3720")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{Q as H,a9 as Me,aQ as _e,e as De,aY as Ee,aO as Fe,V as t,cp as W,p as o,ac as Ge,o as n,er as Ne,c_ as Ue,cq as ne,cr as ie,hu as Re,aN as G,bT as fe,bC as Oe,b as C,F as J,aq as We,al as Ye,d as Ve,b$ as Ze,bK as ye,ai as j,aw as qe,cd as Qe,fh as F,aP as N,y as b,am as X,gX as Ke,R as He,a as Je,an as Xe,d0 as et,ci as tt,g6 as nt,u,dP as it,fK as ot,hv as rt,r as st,gY as at,bO as ct,aT as lt}from"./index-G4udIFQJ.js";import{a as g}from"./sentry-CTrMrBL8.js";import{n as i}from"./mui-BDpZEDd-.js";import{FW as dt}from"./zeni-epic-state-B_64dD7k.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-Bracjtzh.js";import{o as ut}from"./shield-DOlUxcFf-Clyc-usU.js";import{U as mt}from"./ZeniAccountNavBarPieces-CoQENU6J-BeLx8CHm.js";import{v as ht}from"./ZeniTransferAmountSlider-D3vJ1eI8-Bb2OuJt7.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="4fbcb034-f464-475b-81c7-95b7fcc29bae",e._sentryDebugIdIdentifier="sentry-dbid-4fbcb034-f464-475b-81c7-95b7fcc29bae")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=H(),v=(c,T)=>Object.entries(T).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
1
+ import{Q as H,a9 as Me,aQ as _e,e as De,aY as Ee,aO as Fe,V as t,cp as W,p as o,ac as Ge,o as n,er as Ne,c_ as Ue,cq as ne,cr as ie,hu as Re,aN as G,bT as fe,bC as Oe,b as C,F as J,aq as We,al as Ye,d as Ve,b$ as Ze,bK as ye,ai as j,aw as qe,cd as Qe,fh as F,aP as N,y as b,am as X,gX as Ke,R as He,a as Je,an as Xe,d0 as et,ci as tt,g6 as nt,u,dP as it,fK as ot,hv as rt,r as st,gY as at,bO as ct,aT as lt}from"./index-CRjLU1CH.js";import{a as g}from"./sentry-DZdy1Eny.js";import{n as i}from"./mui-G_qoHHKo.js";import{FW as dt}from"./zeni-epic-state-BlmgKn3B.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-5qZZD7bQ.js";import{o as ut}from"./shield-DOlUxcFf-DEYalkml.js";import{U as mt}from"./ZeniAccountNavBarPieces-CSy5vlQ--2YMNZ3_9.js";import{v as ht}from"./ZeniTransferAmountSlider-CKFCKGRC-BbttVAel.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="fa6f76bc-94d1-4d4e-81c1-3ebb5978bb31",e._sentryDebugIdIdentifier="sentry-dbid-fa6f76bc-94d1-4d4e-81c1-3ebb5978bb31")}catch{}})();const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:s=5e5,onGetStartedClick:$,style:S})=>{const a=H(),v=(c,T)=>Object.entries(T).reduce((I,[A,w])=>I.replace(new RegExp(`__${A}__`,"g"),w),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(s),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs(wt,{style:S,children:[t.jsx($t,{}),a!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:a,children:a==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(bt,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(jt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:a,children:t.jsx(se,{windowSize:a})}),t.jsxs(At,{windowSize:a,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:a,children:L.map(c=>t.jsxs(le,{windowSize:a,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:a,children:t.jsxs(xe,{windowSize:a,children:[m.disclaimer.split("__termsLink__")[0],t.jsx(we,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:$,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},wt=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aw as N,fU as P,V as i,aP as _,h1 as p,hw as y,F as D,o as r,h3 as $}from"./index-G4udIFQJ.js";import{n as g}from"./mui-BDpZEDd-.js";import{bS as I}from"./zeni-epic-state-B_64dD7k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="31ba2a8c-e153-494f-bed8-ea3ae74f93b4",e._sentryDebugIdIdentifier="sentry-dbid-31ba2a8c-e153-494f-bed8-ea3ae74f93b4")}catch{}})();const n=D.getLocalizedStrings().spendManagement.zeniAccounts,f=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},b={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[m,b,v,M],z=[v,b,m,M],T=({zeniBankProps:e,isBillPayEnabled:a,isExpressPayEnabled:c,analytics:h,onSettingsClick:w})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=I(l.loggedInUserRoleMap),S=f.filter(t=>t.value==="accountStatement"),d=a===!0?O:z,u=c===!0?d:d.filter(t=>t.value!=="sendMoney"),x=k?u:u.filter(t=>t.value!=="payBill");return i.jsxs(j,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?i.jsx(B,{onClick:w,"data-testid":_("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?S:f,title:n.moveMoney.title}),s?null:i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:x,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},B=g($)`
1
+ import{aw as N,fU as P,V as i,aP as _,h1 as p,hw as y,F as D,o as r,h3 as $}from"./index-CRjLU1CH.js";import{n as g}from"./mui-G_qoHHKo.js";import{bS as I}from"./zeni-epic-state-BlmgKn3B.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="31ba2a8c-e153-494f-bed8-ea3ae74f93b4",e._sentryDebugIdIdentifier="sentry-dbid-31ba2a8c-e153-494f-bed8-ea3ae74f93b4")}catch{}})();const n=D.getLocalizedStrings().spendManagement.zeniAccounts,f=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],m={value:"payBill",label:n.moveMoney.payBills},b={value:"transfer",label:n.moveMoney.transfer},v={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:n.moveMoney.checkDeposit},O=[m,b,v,M],z=[v,b,m,M],T=({zeniBankProps:e,isBillPayEnabled:a,isExpressPayEnabled:c,analytics:h,onSettingsClick:w})=>{const l=N(),s=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=I(l.loggedInUserRoleMap),S=f.filter(t=>t.value==="accountStatement"),d=a===!0?O:z,u=c===!0?d:d.filter(t=>t.value!=="sendMoney"),x=k?u:u.filter(t=>t.value!=="payBill");return i.jsxs(j,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!s?i.jsx(B,{onClick:w,"data-testid":_("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!0,options:s?S:f,title:n.moveMoney.title}),s?null:i.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const o=y(t);o!=null&&e.onOptionSelection(o)},isMoreOption:!1,options:x,title:n.moveMoney.title,onMenuOpen:()=>h?.trackAccountsListPageClicked("Move Money")})]})},B=g($)`
2
2
  cursor: pointer;
3
3
  min-width: ${r.sp4};
4
4
  width: ${r.sp4};
@@ -1,4 +1,4 @@
1
- import{e as ae,Q as v,aQ as ce,aw as xe,fU as me,V as i,bC as pe,ft as ue,d as he,o,cD as ge,aq as Z,r as M,aP as F,ae as j,F as _,c as we,aY as z,aO as k,aT as J,by as je,y as x,p as C,cE as ye,aU as $e,ba as fe,u as L,R as y,a as A,am as T,af as Se}from"./index-G4udIFQJ.js";import{a as W}from"./sentry-CTrMrBL8.js";import{n}from"./mui-BDpZEDd-.js";import{M as B}from"./usp-line-BBd1wKwW-Cmb4LI5b.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./zeni-epic-state-B_64dD7k.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="afa2867e-3a98-4a11-acf1-14a1c362cfa7",e._sentryDebugIdIdentifier="sentry-dbid-afa2867e-3a98-4a11-acf1-14a1c362cfa7")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(L[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,L[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},I={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{e as ae,Q as v,aQ as ce,aw as xe,fU as me,V as i,bC as pe,ft as ue,d as he,o,cD as ge,aq as Z,r as M,aP as F,ae as j,F as _,c as we,aY as z,aO as k,aT as J,by as je,y as x,p as C,cE as ye,aU as $e,ba as fe,u as L,R as y,a as A,am as T,af as Se}from"./index-CRjLU1CH.js";import{a as W}from"./sentry-DZdy1Eny.js";import{n}from"./mui-G_qoHHKo.js";import{M as B}from"./usp-line-BBd1wKwW-gP2BLOgz.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="afa2867e-3a98-4a11-acf1-14a1c362cfa7",e._sentryDebugIdIdentifier="sentry-dbid-afa2867e-3a98-4a11-acf1-14a1c362cfa7")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(L[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,L[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},I={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as be,Q as we,aQ as O,a9 as Se,cF as Ae,aV as B,V as t,fb as xe,p as Ce,y as f,bC as Pe,T as ke,ac as ve,fu as Fe,dR as Te,fv as Ve,bw as Ie,aR as ze,o as De,fx as Ee,F as je,u as a,al as Ue}from"./index-G4udIFQJ.js";import{a as g}from"./sentry-CTrMrBL8.js";import{n as w}from"./mui-BDpZEDd-.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-CIJFtDiF-DsNArDE8.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./zeni-epic-state-B_64dD7k.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="ce411e4e-e2d4-44fa-bf51-abf23c11f966",e._sentryDebugIdIdentifier="sentry-dbid-ce411e4e-e2d4-44fa-bf51-abf23c11f966")}catch{}})();const c={titleWidth:new f(343,580,726,826),setupDetailsRowGap:new f(12,a[5],a[5]),sectionRowGap:new f(a[5],a[9],a[9]),iconWidthHeight:new f(20,a[4]),subTitlePaddingTop:new f(12,a[3]),subTitlePaddingBottom:new f(a[3],a[3]),overlayWidth:new f(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:$,spendManagement:_e}=je.getLocalizedStrings(),{zeniAccounts:W}=_e,{zeniAccountSetUp:I}=W,{setUp:z}=$,nt=({isDisabled:e,meetingUrl:p,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=be(),i=we(),[x,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:fe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(y),C=O(u.fetchState),F=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>L(l),[l]),values:L(l)}),pe=F.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[v];if(b.includes(v)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&j==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,j]),g.useEffect(()=>{const b=F.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const P=fe?.isZeniAccountEnabled===!0,T=D?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const he=T?$.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),ye=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs(Re,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Pe,{title:I.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx($e,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...F,children:t.jsx("form",{id:R(_),onSubmit:pe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),T&&!P?t.jsx(ze,{formId:R(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:T&&!P,meetingUrl:p,analytics:d,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:p,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:p.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
1
+ import{e as be,Q as we,aQ as O,a9 as Se,cF as Ae,aV as B,V as t,fb as xe,p as Ce,y as p,bC as Pe,T as ke,ac as ve,fu as Fe,dR as Te,fv as Ve,bw as Ie,aR as ze,o as De,fx as Ee,F as je,u as a,al as Ue}from"./index-CRjLU1CH.js";import{a as g}from"./sentry-DZdy1Eny.js";import{n as w}from"./mui-G_qoHHKo.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-BmiNa89K-BeqcSbMb.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="c846836d-27fe-4a1a-8f40-9534e8a253be",e._sentryDebugIdIdentifier="sentry-dbid-c846836d-27fe-4a1a-8f40-9534e8a253be")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},_="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:$,spendManagement:_e}=je.getLocalizedStrings(),{zeniAccounts:W}=_e,{zeniAccountSetUp:I}=W,{setUp:z}=$,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:H,authParams:Z,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=be(),i=we(),[x,h]=g.useState(!1),{fetchState:y,companyBillPayInfo:D,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:E}=l,j=O(y),C=O(u.fetchState),F=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>L(l),[l]),values:L(l)}),fe=F.handleSubmit(b=>{d.trackEnableZeniAccounts(),G()}),me=async(b,k)=>{const n=k[v];if(b.includes(v)){if(b.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=E.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&j==="In-Progress"&&y==="Completed"&&h(!1)},[o,y,j]),g.useEffect(()=>{const b=F.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{b.unsubscribe()}}),g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const P=pe?.isZeniAccountEnabled===!0,T=D?.isBusinessVerified===!0,ge=y==="In-Progress"||y==="Not-Started";g.useEffect(()=>{C==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,C,u.fetchState]);const he=T?$.setUp.setupVerifiedSubTitle:I.setupSubTitle,U=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),ye=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs(Re,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:Z,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Pe,{title:I.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx($e,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...F,children:t.jsx("form",{id:R(_),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Fe,{onClick:ye,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},status:D?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:U},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:E,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),T&&!P?t.jsx(ze,{formId:R(_),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${De.sp3}`}}):null,t.jsx(Ee,{isFooterRendered:T&&!P,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{F as r,V as t}from"./index-G4udIFQJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};
1
+ import{F as r,V as t}from"./index-CRjLU1CH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ec308fc6-b81e-41ef-9546-108e5fba84b6",e._sentryDebugIdIdentifier="sentry-dbid-ec308fc6-b81e-41ef-9546-108e5fba84b6")}catch{}})();function d(){const e=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{d as a};
@@ -1,4 +1,4 @@
1
- import{V as m,aP as S,o as i,p as D,ai as Y,F as V}from"./index-G4udIFQJ.js";import{a as y}from"./sentry-CTrMrBL8.js";import{n as f}from"./mui-BDpZEDd-.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="855ef299-b81d-470c-8360-1ef9bbbefb4e",t._sentryDebugIdIdentifier="sentry-dbid-855ef299-b81d-470c-8360-1ef9bbbefb4e")}catch{}})();const I=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:w,setYieldEarned:$,setTotalBalance:x}){const[c,k]=y.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,p=y.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=y.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),T=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:u}=P(r);k(r),$(o),x(u)},M=e=>`${j(e)}${I.transferDrawer.calculator.sliderTooltipText}`,j=e=>e===0?p[0]:e>0&&e<1?p[1]:e>=1&&e<2?p[2]:e>=2&&e<3?p[3]:p[4],P=e=>{const r=j(e),[o,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},z=e=>{const{returnedYield:r,totalAmount:o}=P(e);k(e),x(o),$(r)},v=y.useCallback((e,r,o,u)=>{let a=0,s=0,C=0,A=0;if(e<o[0])a=r[0];else{for(let d=0;d<o.length-1;d++)if(e>=o[d]&&e<o[d+1]){a=r[d+1],s=(o[d+1]-o[d])*u,C=e-o[d],A=C/s*u+d;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return y.useEffect(()=>{const e=g+w;x(e),v(e,p,n,l)},[g,w,x,p,l,$,n,v]),m.jsxs(_,{sliderValue:c,children:[m.jsx(L,{sliderValue:c,type:"range",min:0,max:p.length-1,step:l,value:c,onChange:T}),m.jsx(B,{style:{width:`calc(${c/(p.length-1)*100}% - ${c*7.5}px)`}}),m.jsx(G,{sliderValue:c,style:{left:`calc(${c/(p.length-1)*100}% - ${c*10+20}px)`},children:M(c)}),m.jsx(H,{children:n.map((e,r)=>m.jsx(N,{onClick:()=>z(r),"data-testid":S("slider-label",e.toString()),style:{left:E(r)},children:m.jsx(X,{isSelected:c>=r,children:F(e)})},r))})]})}const b=(t,g)=>{const l=g/100,w=t*Math.pow(1+l/12,12);return Math.floor(w-t)},E=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=f.input`
1
+ import{V as m,aP as S,o as i,p as D,ai as Y,F as V}from"./index-CRjLU1CH.js";import{a as y}from"./sentry-DZdy1Eny.js";import{n as f}from"./mui-G_qoHHKo.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="855ef299-b81d-470c-8360-1ef9bbbefb4e",t._sentryDebugIdIdentifier="sentry-dbid-855ef299-b81d-470c-8360-1ef9bbbefb4e")}catch{}})();const I=V.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:w,setYieldEarned:$,setTotalBalance:x}){const[c,k]=y.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,p=y.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=y.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),T=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:u}=P(r);k(r),$(o),x(u)},M=e=>`${j(e)}${I.transferDrawer.calculator.sliderTooltipText}`,j=e=>e===0?p[0]:e>0&&e<1?p[1]:e>=1&&e<2?p[2]:e>=2&&e<3?p[3]:p[4],P=e=>{const r=j(e),[o,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(u??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},z=e=>{const{returnedYield:r,totalAmount:o}=P(e);k(e),x(o),$(r)},v=y.useCallback((e,r,o,u)=>{let a=0,s=0,C=0,A=0;if(e<o[0])a=r[0];else{for(let d=0;d<o.length-1;d++)if(e>=o[d]&&e<o[d+1]){a=r[d+1],s=(o[d+1]-o[d])*u,C=e-o[d],A=C/s*u+d;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return y.useEffect(()=>{const e=g+w;x(e),v(e,p,n,l)},[g,w,x,p,l,$,n,v]),m.jsxs(_,{sliderValue:c,children:[m.jsx(L,{sliderValue:c,type:"range",min:0,max:p.length-1,step:l,value:c,onChange:T}),m.jsx(B,{style:{width:`calc(${c/(p.length-1)*100}% - ${c*7.5}px)`}}),m.jsx(G,{sliderValue:c,style:{left:`calc(${c/(p.length-1)*100}% - ${c*10+20}px)`},children:M(c)}),m.jsx(H,{children:n.map((e,r)=>m.jsx(N,{onClick:()=>z(r),"data-testid":S("slider-label",e.toString()),style:{left:E(r)},children:m.jsx(X,{isSelected:c>=r,children:F(e)})},r))})]})}const b=(t,g)=>{const l=g/100,w=t*Math.pow(1+l/12,12);return Math.floor(w-t)},E=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},F=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),L=f.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;