@zeniai/web-cockpit-ui 1.15.4-qa → 1.15.5-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 (277) hide show
  1. package/dist/assets/{ACHDetailsPage-uGxVPurg-CSTBBuQO.js → ACHDetailsPage-BLKhKkZC-CoU9qIfj.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DqmxZNlX-CD4PTSl6.js → AIPerformancePage-J3dtNEgn-DnDSfWCN.js} +103 -103
  3. package/dist/assets/{AccountInfoPage-C2Dq8UPa-DbUqKkGr.js → AccountInfoPage-CI5UcHFj-BegJKMi4.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-HVhR3c9c-BTAStM9V.js → AccountInfoPageContent-D8oVcn1T-BXq3_V4W.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DM9AQ-14-CoO7wjK9.js → AccountLockedInfoModal-B9_FdrYm-5NyxuZ6Z.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-zcvYkXrD-Dbe0H637.js → AccountReconDetailsDrawerPage-DFjW0u9--BQEqjGYe.js} +39 -39
  7. package/dist/assets/{AccountRow-B3ULDo0k-C-jIzuWE.js → AccountRow-Bq6uJ1hA-Vc9-Z3M-.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CJZlWV2d-1dJ7ni4T.js → AccountsPromoCardStack-DQmHrc8b-Vd3CyDRc.js} +3 -3
  9. package/dist/assets/{AddAddressForCardDrawer-Rm7tH3HQ-DZTmUgpi.js → AddAddressForCardDrawer-O987RTn2-BVD6IV9k.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DfB-vvqh-DUAF88ZP.js → AddToWalletPage-C2Z6f8Y6-DKRITatO.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-__jUwahK-B6-kjXQe.js → AgingReportsPage-BlPqvXdx-BhMR9uMZ.js} +3 -3
  12. package/dist/assets/{AllUserItems-Coo6Qik6-CvwzldZi.js → AllUserItems-CL17FcAl-HA7Ybf9E.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-C1LyqY_A-CwTL7ATF.js → ApAgingDetailPage-CHVwRH_g-DOXwF09t.js} +1 -1
  14. package/dist/assets/{AppBasePage-Cz2ddFfo-BclY1Wkm.js → AppBasePage-CnlPnTBn-DzDs3_Wg.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CObWehh2-DDaZ77eU.js → AppDrawerContent-C2CNe5yn-CV61WWnW.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-ZqKHe7B_-CU8TBRQ0.js → ApprovalRulesSettingsPage-XsMzIe4e-WBRcfJJV.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CjRE8wyO-DuIHY7ik.js → ArAgingChart-Ck1uAv_a-BqG8XmZ6.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DXjs7XAS-DXCvwuMN.js → ArAgingDetailPage-KRWJzbCq-SXmC1xou.js} +5 -5
  19. package/dist/assets/{AttachmentView-C3WpRmXR-Bolhu6cG.js → AttachmentView-uaen0kuU-Bv_0F11t.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BigS_oOq-DdGfIYIY.js → BankAccountSection-CwOhGEgT-CV3SB5KM.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Czlvc-qX-rUlWK1Jd.js → BankAccountWarningSection-D7BVcqIu-RUBf41j-.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BgliKI11-3RjzZ2Bg.js → BankConnectionsSettingsPage-BOdlcBfa-aX1YHXK9.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DNPgeuje-C8neAjYh.js → BillDetailPage-Ct4Q960V-B1Ta0IG7.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-OrTzXAEP-QAGSeB_n.js → BillPayApprovalRuleDetailPage-DUU4rXuM-DI9nvx98.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-DXcPkwwf-CiS_5AAk.js → BillPayApprovalRulesPage-C0pcFzje-Rb9cSqGe.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-fBpp10um-DK5_Xpo1.js → BillPayPromoPage-BsEtxcjB-BRyrvd2x.js} +13 -13
  27. package/dist/assets/{BillPaySetUpPage-9iEVFLUa-SVF28UG7.js → BillPaySetUpPage-B-rBYCtR-CKuO1PYp.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-IL6J1DV0-Se1sNo_q.js → BillingSettingsPage-BadzsZdt-CdWNz3my.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DcRTKRMw-BopU9rI-.js → BillsBulkReviewDrawerPage-CbA-LUIt-BCAx-hEw.js} +1 -1
  30. package/dist/assets/{BoxItem-Cg9N_YPt-D0t-3bl5.js → BoxItem-BoanamYM-C9a7ISxI.js} +3 -3
  31. package/dist/assets/{BusinessVerificationPage-KZWTxmeh-ChQXq_Mg.js → BusinessVerificationPage-B9hjIdCd-fjXOOEEK.js} +2 -2
  32. package/dist/assets/{CardNumberSubText-DqtkAe0V-4_G8Lsb0.js → CardNumberSubText-DFO_EKrs-fq6YqMPG.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D-l7cqjW-DQ3Pl_mP.js → CashbackDetailPage-Bp85-5Ie-BrWWJ_z3.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-ChwrpnhL-C74i3xWs.js → ChargeCardDetailPage-D8dY9X8Q-CY9gkPfd.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-zDV88I5X-7k0VThqH.js → ChargeCardListPage-CxplfJ1W-Cs-f2f69.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-Cu1sCT_g-C0NdA71e.js → ChargeCardListTable-scY11ryy-Biigjr-j.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-Db6zW203-BuQibLL8.js → ChargeCardPaymentHistoryPage-Brh4ot5q-B0jRGM62.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DsrTt5B0-D5poeoI3.js → ChargeCardPromoPage-CPURUrkI-ElY1-FvK.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-DcYthQvc-DDpbhz_U.js → ChargeCardSetupPage-Bumq17f6-CZtiCi9E.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-DkUJKxIz-W8sJIYuD.js → ChargeCardStatementsPage-DbU7LEIP-BvT1248-.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-C7rL0Ts2-DvlJgu1r.js → CheckDepositDrawerPage-CFl7Vr_I-m-GUaKwL.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-B0N8Ybey-lucDiVV7.js → CollapsableReportTable-CRaZZnGr-DHalWth7.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-5DfSL2V8-DYZPeRCn.js → CompanyOfficerDetailsSection-C4rN7mXr-DfF7L_UZ.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BLw_MMZR-WOarnR-d.js → CompanyPassportCard-I21kA_Ir-BLJfyfQk.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-BamWWVQB-56Enokzr.js → CompanyPassportPage-BSDnF5-7-Cj98T4ob.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CPwV8diq-8P18d35b.js → CompleteProfile-uultMZ5R-wTNN90nG.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CJc1ZWFJ-3-Ap54Ud.js → ConfettiBurst-CpmYtgfk-D3B4eByY.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-CDqjntBH-bCKETiwb.js → CreateOrEditVendorPage-AfKsEb9G-Dm36bf3i.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-cBCHuatx-PXPlAMN0.js → CreditCardPaymentDrawerPage-D0Lh5Tw1-XpTz-POB.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-kA2N_h2r-TVoT6MZb.js → CurrencySelectField-BvNBUOqg-A4J8Uxia.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BU5SX7SV-dB7jbnPX.js → CustomerOnboardingActivationPage-OtCugBPI-qX05IlgL.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BZZCLRzR.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dh4J5UV1.js → CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DnAkQb7J.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Dx_Py2Fa-DzOp0_kE.js → CustomerOnboardingNoStepsPage-p062pNc5-C-l3wTbU.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-AHQX5bSN-DyVDcmlu.js → CustomerOnboardingPage-Byojt-WN-CQTmwoTL.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-C9W7h_tT-Brpfoewd.js +202 -0
  57. package/dist/assets/{Dashboard-BQGdcgDK-C1nmLdwJ.js → Dashboard-Dkwr9npN-BXZ9_-Zj.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-C9eB1Lz--CKXkiVgD.js → DashboardReportPage-Qk5_OFw7-BDc17Jc3.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-Cu7qPhOd-HDfgdRgZ.js → DashboardSidebarBackgroundAnimation-BiD26wyg-CHBm92QN.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-DOcqx_qa-l3Aculh3.js → DepositAccTransactionItem-13TnlK6P-m98DXUKx.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-gxOQSQ9a-DSufMjrN.js → DepositAccTransactionListPage-Dc3G81fB-A9cH7zUI.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-C_chbExL-CRI2B4vd.js → DomesticWireDetailsPage-CCIoGmZO-B4_Jo1Es.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-a0IFrzRd-D3xHdLjr.js → DownloadOverlay-Nc_Ra7Co-DN1ubFHO.js} +1 -1
  64. package/dist/assets/{DrawerPage-D3ezgD8z-BT84_uAX.js → DrawerPage-Bq1naYya-CQiLfSVq.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BnCysZo9-DOsQLMpG.js → EditPeoplePage-BnYTxq_9-DPMlpday.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BzKR9gus-DXDSnq7N.js → EditReimbursementDetailPage-D-uH9OV3-BSdAEEMn.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-B8vx2Mri-D3jt8mho.js → EntityDetailPage-DCcgGupN-C9TRJ7Es.js} +2 -2
  68. package/dist/assets/{EntitySummarySection-B5pV5wTI-BHU_C13G.js → EntitySummarySection-BI44dDjO-CYCNaLvg.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-D25gPCR4-Dfqi0A-P.js → ExpenseAutomationOverviewPage-XA0L4mZw-dYnFXq-m.js} +4 -4
  70. package/dist/assets/{ExpenseAutomationPage-BUAS2p9i-BpbTS8YU.js → ExpenseAutomationPage-CGkJWoKY-B55w2jvQ.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DfIwfewF-DNrp1uq8.js → ExpressPayPage-BX3rmT8V-AcNsZZN-.js} +8 -8
  72. package/dist/assets/{FeaturePreviewPage-AXorSpml-V2Mh62fT.js → FeaturePreviewPage-W5YS3_F--DlENOTKC.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-YR8SDxZC-TRiRAqO5.js → FollowStepsSection-C1Nmspra-Cdu3naRV.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-CxH9D6qC-LJp8AeZZ.js → GlobalReviewListPage-BfVSGVJe-Bw9xs6tt.js} +1 -1
  75. package/dist/assets/{InformationCardStack-GuTsARmk-CLzorLL7.js → InformationCardStack-BwgEyJER-uNbIwCBo.js} +3 -3
  76. package/dist/assets/{InsightsCardStack-CmTNccBr-q2L1pr7k.js → InsightsCardStack-BnEWSQ0m-VtqL0Nqc.js} +2 -2
  77. package/dist/assets/{InsightsSection-Bu-MplmN-CDkIWrcN.js → InsightsSection-hFNVHtei-D2NFl-zU.js} +5 -5
  78. package/dist/assets/{IntegrationsSettingsPage-JZMYvwgs-zsnKO8Tk.js → IntegrationsSettingsPage-De8DEt0a-Cw9Ydly2.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-CM50BUc0-BymHyzzP.js → InternationalWireSwiftDetailsPage-Dri_Nj57-i38KBpxN.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-Cg0oEA0I-D4laLv6p.js → InternationalWireVerificationPage-CPIRgDy5-DxjBH4Le.js} +3 -3
  81. package/dist/assets/{InviteFormPage-CDlB29vX-CQLcphyk.js → InviteFormPage-Ca_tdccZ-C7hXm59I.js} +1 -1
  82. package/dist/assets/{InvitePageListView-74Ymz8Xr-6S5FKTrd.js → InvitePageListView-BQbRhQ6V-DRrSpNW9.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-DxLF-5KU-9xQ616eR.js → InvitePeoplePage-BKffwOP--D-GaMZqa.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-De-7n3RO-ByskKeOl.js → InvoiceUploadSection-H-JhX_DQ-B3PXCVQk.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-CzKlIsrE-wJKAxEPa.js → IssueChargeCardPage-rinAPB-d-By9lpPwl.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-CZwyvCy5-mzRhvk5Q.js → LabeledAddressValue-kPYLLOgv-BlJjmDxn.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-k9TP-qlZ-C3UyFf5u.js → LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DBnXkX-G-BVvCdbZP.js → LabeledControlledCheckBoxField-DiD9FNgO-CEPdNCHK.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CiWNHg9A--H0753C7.js → LabeledCountryMultiSelectField-BCYMtV4j-BR8aIp2g.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DdVE_wVv-BxAFv7k5.js → LabeledCreatableSingleSelectField-Dm03LVdQ-DGBXlNr1.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DGnh1cGh-BaCn_klM.js → LabeledDocumentField-CWqz_jSU-BI4o2Iwv.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BnaconeO-DhKbuFEk.js → LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-Bt5PGbgf-DEYw3JnO.js → LabeledMultiSelectField-C9feGqHN-OE3NSO1-.js} +1 -1
  94. package/dist/assets/{LabeledText-D9rbUJbs-9wMKxYu7.js → LabeledText-C91Eu04E-DW9Q389z.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-Ds7lbv89.js → LabeledUserSingleSelectWithSubtitlesField-uruIe6mr--Ku_p9uL.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DhvE24vx-CMJcsG0B.js → LabeledZeniRolesDropDownField-BBpe1-wI-fb12_Q3E.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-CpttcuV1-DuV4F8Zk.js → LinkJETransactionPage-Cn7He0uo-CU1EJOb0.js} +2 -2
  98. package/dist/assets/{LockCardPage-FMI6xt1u-CaDqCq7u.js → LockCardPage-CaIor45t-fxRy_eBL.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-UNnJZwgC-CkWspEoQ.js → LowBalancePopup-DQJYforY-CaW9bnoT.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-BPw-bzqm.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-Cp1zfiCQ.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-BzDP-7_t.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-MURH2rp8-CLSHC5Hv.js → MagicLinkSuccessPage-RsvHwQTQ-DKdw4jPk.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Cyx2YimC-CumkPG7L.js → MagicLinkTitleSection-DaThYY60-DuPzkS6C.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-Ro9Lxvtp-DaRqYLgY.js → MailingDetailsSection-DKs9SGYB-DpYzwmUT.js} +2 -2
  106. package/dist/assets/{Menu-XT10vy6U-CU6mTufV.js → Menu-DWx47kcG-CqRpt11Z.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BwD3OyXL-CYJkaop_.js → MyBankConnectionsSettingsPage-DtnGJLK--62eLaU86.js} +5 -5
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-B4yQ0O4T-DshQIKqq.js → MyPendingActivationChargeCardListPage-B1A2Dxw3-KQAV9F2y.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Bb4QkILK-dnKU-rey.js → MyProfileSettingsPage-BHpnpTmJ-DUJX3teA.js} +5 -5
  110. package/dist/assets/{NavBarWithPicker-DhLovvzt-BucppuZh.js → NavBarWithPicker-Biz620wH-BwhpY8Dt.js} +1 -1
  111. package/dist/assets/{NavigationArrow-lK8LcatV-CeIdwn4T.js → NavigationArrow-CV_u5I1d-Dq_Cpl0i.js} +1 -1
  112. package/dist/assets/{NavigationDots-Dp0jKWtv-CRltAfKx.js → NavigationDots-DBshnTnS-eQudWkl3.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DFt03MpW-DlxPCqjn.js → NewGlobalMerchantPage-DV2k3q5N-BcTx-Ahj.js} +1 -1
  114. package/dist/assets/{NoDataChart-BVStkyEY-D2SnG7M_.js → NoDataChart-DmThvRWS-pxiREfeT.js} +1 -1
  115. package/dist/assets/{NoDataTable-CBglXVQp-Bo5PkCij.js → NoDataTable-8GCzndE4-Bqx95DdJ.js} +1 -1
  116. package/dist/assets/{NotFoundPage-8N4Q0cRS-BFLKl-lt.js → NotFoundPage-VR72eVPP-RofDTL3E.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage--cl75C4Y-f1m5g0NX.js → NotificationSettingsPage-Bwf-7o4F-Aj6P3Xzl.js} +3 -3
  118. package/dist/assets/{NotificationsListConfig-BvqUVi6A-B8H0H-lA.js → NotificationsListConfig-Dn_RFaAK-YhpveZOf.js} +1 -1
  119. package/dist/assets/{NotificationsPage-ClhmC4cD-DPPL3j0E.js → NotificationsPage-B8GufkTS-DUQT6vp2.js} +18 -18
  120. package/dist/assets/{OpExByVendorPage-B24tsc-s-kLP2AkBc.js → OpExByVendorPage-BlEqljuU-DVw46mxv.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DZPeSqh9.js → OverlayContainerPage-Daz3A7cI-jq9xEsKm.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-ChmIZfeB-ClSkfHo-.js → PandLWithForecastPage-GOxiUR2j-BGagWawc.js} +2 -2
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-rhNK3_SE-1vs8c8G7.js → PaymentAccountSetupBillingAddressSection-BIxsEOJG-BjXFADJ0.js} +1 -1
  124. package/dist/assets/{PeoplePage-PetKjS8P-BPodINWd.js → PeoplePage-DahKRMoB-F0cHCzgT.js} +13 -13
  125. package/dist/assets/{Preview-B0dy4K56.js → Preview-CrPzNPnm.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-DzhNUiJk-j7XkXPk6.js → ProductsCarousel-1P24z1p4-CeCLsS0U.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-ZTN2uS4W-5Q0VbcDD.js → PromoBaseCards-DiKj0_oo-CtEGMdvr.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CBtavUIz-B6M_dsQg.js → QBOConnectionDialog-A0ysjdIC-Eqpwl6_L.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-jcVYFWfP-C5e7X1Mu.js → QBOSetupSection-Me828i1a-N1PCk_UL.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BoarRMWS-BectwrxR.js → ReimbursementApprovalRuleDetailPage-dID4dZbu-DAIygneU.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-B5hHz-7T-Dv8WAEdQ.js → ReimbursementApprovalRulesPage-D8stgYq_-CqsPNPUT.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-YfiCLu3C-CwkxO_yG.js → ReimbursementDetailPage-DaYD1eTP-BBI-ZKs3.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-CC_zFd3U-CTzC3o_d.js → ReimbursementPromoPage-ClRa3wo6-GK77Fy92.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-ChjBTodZ-BOCtoEcr.js → ReimbursementSetUpPage-CaJCRajP-Bhbzq9G6.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DOSDVT4u-eNIlif5R.js → ReimbursementsBulkReviewDrawerPage-BuBVWui--heWobZZd.js} +1 -1
  136. package/dist/assets/{ReloadCard-qzpNu5-B-B1j5ZU_S.js → ReloadCard-DzxA-pGI-BwtgRkm9.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-kzIQLZ5u-BhME63dM.js → ReportTableViewSelector-D1k2eDtE-DWKTaUmF.js} +1 -1
  138. package/dist/assets/{ReportsPage-DVZ3Rcn1-Wq7Sa7FA.js → ReportsPage-DqXYfBQC-DTOBKK0U.js} +5 -5
  139. package/dist/assets/{RevenueChart-Bu8VCI9M-_G1P_vqG.js → RevenueChart-C0vx4zUX-Uw0PsYMZ.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-Cl2_0ldt-I0ORbaK-.js → ReviewDetailsPage-DmHHVA8I-Sy4HvXq_.js} +52 -52
  141. package/dist/assets/{ReviewOverlay-vmoQ2B3U-U5POiYSb.js → ReviewOverlay-tGj059Ib-BvRNdoTH.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-CEcusyL7-CTwR219H.js → RoleWithToolTip-BGafXnoE-Cs8CtpyO.js} +5 -5
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D9w3rUch-DJz9Yey_.js → ScheduleDetailsFixedAssetsPage-DuuvsMhX-gKNOvkFU.js} +3 -3
  144. package/dist/assets/{ScheduleDetailsPage-LbjrnfcH-B4mXvCnN.js → ScheduleDetailsPage-BCw7YaHZ-CsQRejR9.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-2IpjhbUO-yzYUZewQ.js → ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-Dj7TdnaB.js → ScreenRoutes-CcDq1jZA.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-p_viPmIN-BlBdymA0.js → SetUpAccountSection-D8PGmPML-_7698rPN.js} +1 -1
  148. package/dist/assets/SignIn-CwWQnPnB-BjWxjduT.js +491 -0
  149. package/dist/assets/{SignInScreen-Bn4nYRQE.js → SignInScreen-CMNwX-LP.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-C3i-Mkip-DzQMh6GP.js → SpendManagementListViewPage-B-EbBpvJ-ON20KKOZ.js} +5 -5
  151. package/dist/assets/{SpendManagementPerTabPage-dTz2pMKg-DYfwutDo.js → SpendManagementPerTabPage-DANa2aTd-C61KLHM_.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-DKMG4ReN-BvPjO4KM.js → SpendManagementSection-CXYhrJSF-CXDxQfGM.js} +7 -7
  153. package/dist/assets/StatementItem-DeYhvD3S-1QR10Whm.js +31 -0
  154. package/dist/assets/{StatementsPage-DwvWOETo-CXlDv2KT.js → StatementsPage-2OCuox8g-8nyeHbc9.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-Moxr70rd-DARIPkKt.js → StatusSwitcher-CfBOEbYV-jyQUqc0h.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-DnCoUKmO-3giMprMe.js → SubTabSwitcher-LzrZe6zz-Bq05ehgW.js} +4 -4
  157. package/dist/assets/SummaryCard-DTbKziXk-DQjaUfYU.js +1 -0
  158. package/dist/assets/{TaskManagementPage-kHOwTTeJ-CfCX6wr3.js → TaskManagementPage-J0L5w2Wc-ChHzcbst.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-8DihGZnj-Cf-1grC_.js → TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-Dy5hbFn4-nqznt7nk.js → TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js} +5 -5
  161. package/dist/assets/TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js +31 -0
  162. package/dist/assets/{TopExCard-D_okDk9T-Ba1Fp_3J.js → TopExCard-D1k8bh_F-C0WRKW8Q.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-pOK_Ly9f-YYkSMo_K.js → TopExDetailPage-BRJ9k9hY-DGh-mViS.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-T1xurXsz-CH4IU-6k.js → TransactionDetailPage-CJjGDJoM-4j_0Nnvx.js} +1 -1
  165. package/dist/assets/{TransactionList-DblCSg0s-uevCyEQB.js → TransactionList-CLJV-J8J-DPWKYbwQ.js} +6 -6
  166. package/dist/assets/{TransactionListBig-JLNkkeay-GwIa9a3j.js → TransactionListBig-CDMd8KmW-BMMhha0s.js} +1 -1
  167. package/dist/assets/{TransactionListPage-Cf2i0F_k-BRw5VvHr.js → TransactionListPage-Dm_JZDPM-CpkM0KX9.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-B4T07nWa-Hek7YOkl.js → TransactionVendorDetailPage-BDuBQged-CAcA5ymW.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BukQB5RF-BaFvth7f.js → TransferDrawerPage-lY_wB7eB-BHJQPQzp.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-C0bQkCDh-BSIFfKG0.js → TreasuryOverviewPage-D5OetJEP-DU_svhq3.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-BaXLj90f-DyGHzvkx.js → TreasuryPromoPage-8tXexPVv-CiI-0ZNb.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-CNK6wX8W-BBctfBrh.js → TreasuryStatementsPage-DEOyNQFW-CWB-xLSh.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-DEnUpGEu-PzAYgPYT.js → TreasuryTaxLetterPage-B2AurZ-A-Dvkl-xbT.js} +1 -1
  174. package/dist/assets/{TrendChart-BhcSso96-D1M97qk4.js → TrendChart-DhH1bAfv-Bh3qy9e2.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-B6xQ_DkB-BEFPt74D.js → TrendWithTransactions-BLYyM3MY-D_wSnssv.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DDqyVfnh-Crd__Sgm.js → UncategorizedAccountsMappingPage-CFir4dX5-DJbsYjHd.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-BpT6E05N-e92ZbAwu.js → UnitIntegrationPage-CHR1UsV3-CoAODj2A.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-Dgwmxm6G-BEL8mMiP.js → UploadAdditionalDocumentOverlay-CVb-0jqF-BDqTVyrb.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-CayW9AB7-x46gcb9G.js → Vendor2FAPopup-BJI6SeE0-CTu9U0EV.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-CjsWjEGI-Dx-cpWMi.js → VendorACHDetailsPage-DLY7vm1r-DGGLogkV.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-DQKnd_wl-DgCC2d7y.js → VendorDetailPage-Bl6Xaq0d-DsXiZRzL.js} +5 -5
  182. package/dist/assets/VendorDomesticWireDetailsPage-B83WB2Vz-DFPT0ZYm.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-monlt0GX-D11nhKRT.js → VendorFiling1099EditablePage-DHabnH22-CEFAMCGK.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-B_5VMGPE-BQGRha_7.js → VendorFirstReviewPage-JhwEqiFF-kofbScrA.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Czz9BmEm-j7TWYMZY.js → VendorInternationalWireDetailsPage-DKsYBIjo-D8VzNPtl.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-m_5Ao1BR.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BCxVL3Vy-CVp3oyuz.js → VendorsAccountsSection-Bvhib6Hd-BRinGYjw.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CzW6x8kw-DL7_PzvN.js → VerifyDevice-DGjS39sh-CtcNv75O.js} +1 -1
  189. package/dist/assets/{VideoPlayer-B6HamlwN-B0K1YC8V.js → VideoPlayer-DufuoQRs-CzFmZCl7.js} +2 -2
  190. package/dist/assets/{VideoPopup-D2mt1wC7-DX7NeQAc.js → VideoPopup-1aNRmLD6-E6I5SdxR.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-BbN2G_rG-hi1DPTM_.js → WarningsDrawerPage-Bikg48FF-BUXgPrL6.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-Bs_CVksP-BDdSvLD_.js → ZeniAccountDetailPage-DJiB-R44-8YHKJ_Rk.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-D5VNz-Hq-5LAtN_Rm.js → ZeniAccountListViewPage-BJF3-1hq-aqs0GGLS.js} +7 -7
  194. package/dist/assets/{ZeniAccountNavBarPieces-Dr8RdhtI-B5O0ky0e.js → ZeniAccountNavBarPieces-ZZoVi49V-B5zNoIEH.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-DvOrXg46-dzcFBDQn.js → ZeniAccountPromoPage-VfZj6e9J-CEBstujd.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-zxlxRsQl-B6ap5Abk.js → ZeniAccountSetupPage-CfUBgLaM-ZmrhqCPO.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-F1ki_Lss-DFx9p5Fp.js → ZeniCopyright-UUk3LylG-VfT1dTbC.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-CK6HDTK_-B4HkHgTv.js → ZeniTransferAmountSlider-DuyKUAsb-Di2nbbIa.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-BDLvoxng.js → add-to-wallet-DgdBD8_G-DHth-HM4.js} +1 -1
  200. package/dist/assets/{analytics-DWna4COD.js → analytics-CxT-6Gc4.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BTX5S1zu.js → analyticsHelper-BbgU3YZ3.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BgGQcED5-DKVZbHBv.js → analyticsHelper-C_CHYSrd-D1gtzETx.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-DOt54l-M.js → arrow-south-east-round-PEovUgvH-jJL-u3ku.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B8Z0z-Ku.js → auto-transfer-rule-mbafm5D3-Bxbaldq-.js} +1 -1
  205. package/dist/assets/{chartTypes-Cdx27b7W-BwAd9kGM.js → chartTypes-CfyGWP2E-zDFdatAv.js} +1 -1
  206. package/dist/assets/{commonDimensions-BIRY_wCD-Js86v9fG.js → commonDimensions-uDLC8oOH-DZ9sBzhX.js} +1 -1
  207. package/dist/assets/{commonTypes-DfehYs8A-CmS8iBUI.js → commonTypes-DBWmGaRi-Bvj_-gYH.js} +1 -1
  208. package/dist/assets/{constants-Cr4RUUPf.js → constants-Dpo-zUMa.js} +1 -1
  209. package/dist/assets/{core-d8TJZx_K.js → core-CYa2vsSD.js} +1 -1
  210. package/dist/assets/{dash.all.min-yh9LxFx1.js → dash.all.min-BwfoNW06.js} +1 -1
  211. package/dist/assets/{detailCommon-C4lCnx9f-CT9Wovwc.js → detailCommon-CUjnzfBn-Bjs9ry6w.js} +3 -3
  212. package/dist/assets/{downloadPdf-BuszScX2-CQQvmAzj.js → downloadPdf-DZnGQqi5-DWxICXE5.js} +1 -1
  213. package/dist/assets/{empty-CKmL-VR3.js → empty-BSEyVh8N.js} +1 -1
  214. package/dist/assets/{empty-D8Gd0v1U.js → empty-CFYi5Ru2.js} +1 -1
  215. package/dist/assets/{epic-BPaG5vPL.js → epic-BaGEtIuG.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DUMEeA-V.js → gift-box-Cmt9OgIZ-D2c9pOix.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BVFGUXFG.js → graphic-no-data-l-DU4J8fDt-Dm8Nhvl9.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DHRR03zj.js → graphic-no-data-net-burn-l-CzmycA0m-CTFvUdJH.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-C5j99nww.js → handshake-BPg58FML-cD35y_0x.js} +1 -1
  220. package/dist/assets/{index-BxCf7Wvz.js → index-CLqQIFvx.js} +9 -9
  221. package/dist/assets/{index-Z0vhp4UP.js → index-D1NG7F-c.js} +1 -1
  222. package/dist/assets/{index-DAQTbb-z.js → index-DEJ7sanz.js} +1 -1
  223. package/dist/assets/{index-CXhd2ski.js → index-DhBlfmDf.js} +1 -1
  224. package/dist/assets/{index-BHy2xz_i.js → index-WnHIYL2y.js} +1 -1
  225. package/dist/assets/{index-ypb5f_6G.js → index-o7l6M0TC.js} +1 -1
  226. package/dist/assets/{index-P2JRDBkg.js → index-oF3vysIj.js} +1 -1
  227. package/dist/assets/{lexical-C6LLNKxw.js → lexical-DzVC4tTe.js} +1 -1
  228. package/dist/assets/{liveblocks-CGDIIAIj.js → liveblocks-DZksneMc.js} +1 -1
  229. package/dist/assets/{lottie-LB826b2R.js → lottie-EtzJiaFi.js} +1 -1
  230. package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js +1 -0
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-KPnNJcR6-BNt8WVWD.js → mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js} +1 -1
  232. package/dist/assets/{mapSpacerToTreeNode-BgJYIgvo-CUvrjAxs.js → mapSpacerToTreeNode-D950gQIm-BVvu7Mmj.js} +1 -1
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-9FFTEIt6.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CJZiBXdi.js +1 -0
  235. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-2yg-AGqh.js +1 -0
  236. package/dist/assets/{mui-BH8m6kGU.js → mui-Co4rhSdf.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-DEwJ4YhF.js → page-detail-CWX5S47F-DzQ9yNth.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-9-L1Tl9m.js → radio-default-CiSgisfh-DdBmb3s2.js} +1 -1
  239. package/dist/assets/{react-1TS5Pz5D.js → react-B9BOYeX6.js} +2 -2
  240. package/dist/assets/{react-BZg321WR.js → react-BHvhexjt.js} +1 -1
  241. package/dist/assets/{react-DXqousR1.js → react-BcTgPaBt.js} +1 -1
  242. package/dist/assets/{react-DjFxauce.js → react-BfmS3tc2.js} +1 -1
  243. package/dist/assets/{react-BZPwYTgt.js → react-BrZdHxR5.js} +1 -1
  244. package/dist/assets/{react-DbC4BMti.js → react-DaPNcQnJ.js} +1 -1
  245. package/dist/assets/{react-ChgBiDic.js → react-USABo3kI.js} +1 -1
  246. package/dist/assets/{react-B98PZ5oz.js → react-hKmyc3EK.js} +1 -1
  247. package/dist/assets/{recharts-DuImoJah.js → recharts-C4PW-81v.js} +1 -1
  248. package/dist/assets/{sentry-RNV3Di4s.js → sentry-Cue4MgLi.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-Dq2KOj6m.js → shield-DOlUxcFf-UAy-EXjs.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js +1 -0
  251. package/dist/assets/{toChartData-B0HFgnVy-BWQxPZy2.js → toChartData-DD8ISjzM-DQ9NjKIx.js} +1 -1
  252. package/dist/assets/{uploadAttachment-DlvokhTk-BnXZd0ih.js → uploadAttachment-CEqqTe84-MicetzMb.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-CC4d6kSy.js → uploadReceipts-CPw64UYa-BwoznkPo.js} +1 -1
  254. package/dist/assets/{url-CMWGXMaV.js → url-CIbQHzW3.js} +1 -1
  255. package/dist/assets/{url-Q92EHF6-.js → url-CpxLPhmr.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-Ify9QpX5.js → useLongPress-GCK2COYQ-Da6NOL1P.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-C6G0Rq76.js → usp-line-BBd1wKwW-BZcVCehg.js} +1 -1
  258. package/dist/assets/{utils-BXiVsZbS.js → utils-CxOjlxtI.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-BSaicoAp.js → zeni-epic-state-DcWK4mxP.js} +3 -3
  260. package/dist/index.html +1 -1
  261. package/package.json +2 -2
  262. package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-Dlglmitj.js +0 -1
  263. package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-D_AGKikc.js +0 -202
  264. package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-DJfV3lU-.js +0 -1
  265. package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DJ6qKsHx.js +0 -1
  266. package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DL7ST80r.js +0 -1
  267. package/dist/assets/SignIn-DhRwLJFX-CJyBsyvF.js +0 -448
  268. package/dist/assets/StatementItem-Dk8gBfGY-DC0R9g1b.js +0 -31
  269. package/dist/assets/SummaryCard-DvdjDQ13-6ipWCmEa.js +0 -1
  270. package/dist/assets/TimeframeSwitcherWithToggle-V2cHhGoQ-CE78-HgD.js +0 -31
  271. package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-2HsQayCN.js +0 -1
  272. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Ca_AkD0f.js +0 -1
  273. package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-xGax8DFV.js +0 -1
  274. package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-DY_OPsK8.js +0 -1
  275. package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9-BJ1iRUxh.js +0 -1
  276. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-C-b_T2TM.js +0 -1
  277. package/dist/assets/toCOABalancesWithID-C__BVdeG-BfFHgnXd.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as Re,q as ae,y as g,aB as ye,cE as bt,a9 as yt,h7 as xe,h8 as xt,aT as ft,cC as wt,V as t,bA as Ct,ac as $t,h9 as St,ha as ge,c as l,cD as Dt,aP as Tt,F,hb as Ae,hc as Be,hd as Ee,o,bN as S,cP as jt,gJ as fe,he as Lt,cF as Vt,cG as kt,cH as It,hf as Ot,g9 as Pt,cN as Mt,hg as _t,hh as zt,p as z,dn as Ft,dm as Nt,cZ as Wt,aW as re,b6 as qe,ah as Ue,dp as Ht,a_ as Rt,hi as At,hj as Bt,al as Et,hk as qt,cg as Ye,hl as Ut,R as we,M as Ze}from"./index-BxCf7Wvz.js";import{a as $}from"./sentry-RNV3Di4s.js";import{n as a,c as Yt}from"./mui-BH8m6kGU.js";import{bi as Ce,FQ as Zt,FR as Gt}from"./zeni-epic-state-BSaicoAp.js";import{k as Jt}from"./SubTabSwitcher-DnCoUKmO-3giMprMe.js";import{f as Qt}from"./TransactionList-DblCSg0s-uevCyEQB.js";import{R as Xt}from"./TrendWithTransactions-B6xQ_DkB-BEFPt74D.js";import{o as Kt,t as es}from"./arrow-south-east-round-PEovUgvH-DOt54l-M.js";import{C as ts}from"./LabeledAddressValueField-k9TP-qlZ-C3UyFf5u.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-BnaconeO-DhKbuFEk.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";import"./BoxItem-Cg9N_YPt-D0t-3bl5.js";import"./commonDimensions-BIRY_wCD-Js86v9fG.js";import"./TrendChart-BhcSso96-D1M97qk4.js";import"./chartTypes-Cdx27b7W-BwAd9kGM.js";import"./toCOABalancesWithID-C__BVdeG-BfFHgnXd.js";import"./toChartData-B0HFgnVy-BWQxPZy2.js";import"./NoDataChart-BVStkyEY-D2SnG7M_.js";import"./InsightsSection-Bu-MplmN-CDkIWrcN.js";import"./NavigationDots-Dp0jKWtv-CRltAfKx.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]="fb05d640-b292-4800-b1e2-e2b3212b2a0b",e._sentryDebugIdIdentifier="sentry-dbid-fb05d640-b292-4800-b1e2-e2b3212b2a0b")}catch{}})();const os=a.div`
1
+ import{d as Re,q as ae,y as g,aB as xe,cE as yt,a9 as xt,h7 as be,h8 as bt,aT as ft,cC as wt,V as t,bA as Ct,ac as $t,h9 as St,ha as ge,c as l,cD as Dt,aP as Tt,F,hb as Ae,hc as Be,hd as Ee,o,bN as S,cP as jt,gJ as fe,he as Lt,cF as Vt,cG as kt,cH as It,hf as Ot,g9 as Pt,cN as Mt,hg as _t,hh as zt,p as z,dn as Ft,dm as Nt,cZ as Wt,aW as re,b6 as qe,ai as Ue,dp as Ht,a_ as Rt,hi as At,hj as Bt,al as Et,hk as qt,cg as Ye,hl as Ut,R as we,M as Ze}from"./index-CLqQIFvx.js";import{a as $}from"./sentry-Cue4MgLi.js";import{n as a,c as Yt}from"./mui-Co4rhSdf.js";import{bi as Ce,FQ as Zt,FR as Gt}from"./zeni-epic-state-DcWK4mxP.js";import{k as Jt}from"./SubTabSwitcher-LzrZe6zz-Bq05ehgW.js";import{f as Qt}from"./TransactionList-CLJV-J8J-DPWKYbwQ.js";import{R as Xt}from"./TrendWithTransactions-BLYyM3MY-D_wSnssv.js";import{o as Kt,t as es}from"./arrow-south-east-round-PEovUgvH-jJL-u3ku.js";import{C as ts}from"./LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./BoxItem-BoanamYM-C9a7ISxI.js";import"./commonDimensions-uDLC8oOH-DZ9sBzhX.js";import"./TrendChart-DhH1bAfv-Bh3qy9e2.js";import"./chartTypes-CfyGWP2E-zDFdatAv.js";import"./toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js";import"./toChartData-DD8ISjzM-DQ9NjKIx.js";import"./NoDataChart-DmThvRWS-pxiREfeT.js";import"./InsightsSection-hFNVHtei-D2NFl-zU.js";import"./NavigationDots-DBshnTnS-eQudWkl3.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]="e8d9e148-3352-4864-ba88-84ec3a1c0433",e._sentryDebugIdIdentifier="sentry-dbid-e8d9e148-3352-4864-ba88-84ec3a1c0433")}catch{}})();const os=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -112,7 +112,7 @@ import{d as Re,q as ae,y as g,aB as ye,cE as bt,a9 as yt,h7 as xe,h8 as xt,aT as
112
112
  `,vs=a.div`
113
113
  display: flex;
114
114
  justify-content: ${e=>e.isMobile?"flex-start":"flex-end"};
115
- `,me=a.div``,bs=({spend:e,vendorName:s,vendorLogo:d,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:p})=>{const m=ae(),f=F.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=m==="small"||m==="medium-compact",w=(D,u)=>u==null?null:D==="increased"?t.jsxs(ms,{onClick:p,children:[t.jsx(Kt,{width:o.sp3,height:o.sp3}),t.jsx(pe,{children:u})]}):D==="decreased"?t.jsxs(hs,{onClick:p,children:[t.jsx(es,{width:o.sp3,height:o.sp3}),t.jsx(pe,{children:u})]}):t.jsx(gs,{onClick:p,children:t.jsxs(pe,{children:[u,"%"]})}),R=()=>i===!0?t.jsxs(Se,{isMobile:h,children:[t.jsx(Ft,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(Se,{isMobile:h,children:[d!=null?t.jsxs(je,{children:[t.jsx(Nt,{photoUrl:d.toString(),styles:{width:I.logoWidth.valuePx(m),height:I.logoHeight.valuePx(m)}}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}):t.jsxs(je,{children:[t.jsx(Wt,{name:s,size:o.sp6}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}),w(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx($e,{size:m,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(us,{children:[t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m),height:l[4]}),t.jsx(vs,{isMobile:h,children:t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m)/2,height:l[4]})})]},u))}):t.jsxs($e,{size:m,isMobile:h,children:[t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last30Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last90Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.ytdSpend}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(ps,{isMobile:h,size:m,children:[R(),A()]})},O={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])},q=(e,s)=>`${e}.${s}`,ys=F.getLocalizedStrings().spendManagement,se=F.getLocalizedStrings().companyPassport,U=ys.billPay.vendorCreation,j=F.getLocalizedStrings().common,xs=({vendorTypeList:e=[],isDisabled:s,sectionId:d,selectedVendorDetails:i,onAddressClick:n})=>{const p=ae(),m=O.labelWidth.value(p),f=O.largeLabelWidth.value(p),h=O.largeTinLabelWidth.value(p),w=O.controlWidth.value(p);return t.jsxs(fs,{children:[t.jsx(ws,{children:U.vendorDetails.titleFor1099Section}),t.jsxs(Cs,{children:[t.jsx(Vt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:m},text:{type:"text",style:{width:w},name:q(d,"legalName"),placeholder:It(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:kt}},style:{width:"100%"}}),t.jsx(he,{}),t.jsxs(Le,{children:[t.jsx(Ss,{width:f,windowSize:p,children:U.vendorDetails.vendorType}),t.jsx($s,{size:p,children:t.jsx(Ot,{name:q(d,"vendorType"),value:{allTypes:e,selectedType:i.vendorDetailLocalData?.vendorType},placeholderLabel:U.placeholders.type})})]}),t.jsx(he,{}),t.jsx(Le,{children:t.jsx(ss,{name:q(d,"tinType"),menuPlacement:"auto",style:{height:o.sp6,width:"100%",marginLeft:o.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:i.vendorDetailLocalData?.tin?.type??j.strings.empty,dropDownList:[{code:j.texts.ein,label:j.texts.ein.toUpperCase()},{code:j.texts.ssn,label:j.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:U.placeholders.tinType,formattedText:{type:"text",name:q(d,"tinValue"),placeholder:U.placeholders.tinValue,format:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?_t:zt,registerOptions:{required:!!i.vendorDetailLocalData?.tin?.type,pattern:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?Pt:Mt},style:{width:"100%",height:o.sp6},defaultValue:i.vendorDetailLocalData?.tin?.value??j.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:i.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(he,{}),t.jsx(ts,{isDisabled:s,label:{label:se.companyInfo.address,width:m},addressValueField:{name:q(d,"address"),placeholder:se.address.titleAdd,defaultValue:i.vendorNewAddressStatus?.addressToCreate,onClick:()=>n("vendor_address",i.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},fs=a.div`
115
+ `,me=a.div``,ys=({spend:e,vendorName:s,vendorLogo:d,isPageLoading:i,isSpendTrendLoading:n,onPercentChangeClick:p})=>{const m=ae(),f=F.getLocalizedStrings().spendManagement.billPay.vendorCreation.vendorDetails.spends,h=m==="small"||m==="medium-compact",w=(D,u)=>u==null?null:D==="increased"?t.jsxs(ms,{onClick:p,children:[t.jsx(Kt,{width:o.sp3,height:o.sp3}),t.jsx(pe,{children:u})]}):D==="decreased"?t.jsxs(hs,{onClick:p,children:[t.jsx(es,{width:o.sp3,height:o.sp3}),t.jsx(pe,{children:u})]}):t.jsx(gs,{onClick:p,children:t.jsxs(pe,{children:[u,"%"]})}),R=()=>i===!0?t.jsxs(Se,{isMobile:h,children:[t.jsx(Ft,{width:l[6],height:l[6]}),t.jsx(S,{width:140,height:l[6]}),t.jsx(S,{width:70,height:l[5]})]}):t.jsxs(Se,{isMobile:h,children:[d!=null?t.jsxs(je,{children:[t.jsx(Nt,{photoUrl:d.toString(),styles:{width:I.logoWidth.valuePx(m),height:I.logoHeight.valuePx(m)}}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}):t.jsxs(je,{children:[t.jsx(Wt,{name:s,size:o.sp6}),h?t.jsx(Te,{children:s}):t.jsx(De,{children:s})]}),w(e.changeType,e.percentChange)]}),A=()=>n||i?t.jsx($e,{size:m,isMobile:h,children:[...Array(3)].map((D,u)=>t.jsxs(us,{children:[t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m),height:l[4]}),t.jsx(vs,{isMobile:h,children:t.jsx(S,{width:I.spendTrendHeadingSkeletonWidth.value(m)/2,height:l[4]})})]},u))}):t.jsxs($e,{size:m,isMobile:h,children:[t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last30Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last30DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.last90Days}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.last90DaysSpend,e.currencySymbol)})]}),t.jsxs(me,{children:[t.jsx(de,{windowSize:m,isMobile:h,children:f.ytdSpend}),t.jsx(ce,{windowSize:m,isMobile:h,children:re("0,0.[00]",e.yearToDateSpend,e.currencySymbol)})]})]});return t.jsxs(ps,{isMobile:h,size:m,children:[R(),A()]})},O={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])},q=(e,s)=>`${e}.${s}`,xs=F.getLocalizedStrings().spendManagement,se=F.getLocalizedStrings().companyPassport,U=xs.billPay.vendorCreation,j=F.getLocalizedStrings().common,bs=({vendorTypeList:e=[],isDisabled:s,sectionId:d,selectedVendorDetails:i,onAddressClick:n})=>{const p=ae(),m=O.labelWidth.value(p),f=O.largeLabelWidth.value(p),h=O.largeTinLabelWidth.value(p),w=O.controlWidth.value(p);return t.jsxs(fs,{children:[t.jsx(ws,{children:U.vendorDetails.titleFor1099Section}),t.jsxs(Cs,{children:[t.jsx(Vt,{isDisabled:s,label:{label:se.companyInfo.legalName,width:m},text:{type:"text",style:{width:w},name:q(d,"legalName"),placeholder:It(se.companyInfo.legalName),defaultValue:i.vendorBasic.legalName,autoComplete:"new-password",options:{required:!!i.vendorBasic.legalName,pattern:kt}},style:{width:"100%"}}),t.jsx(he,{}),t.jsxs(Le,{children:[t.jsx(Ss,{width:f,windowSize:p,children:U.vendorDetails.vendorType}),t.jsx($s,{size:p,children:t.jsx(Ot,{name:q(d,"vendorType"),value:{allTypes:e,selectedType:i.vendorDetailLocalData?.vendorType},placeholderLabel:U.placeholders.type})})]}),t.jsx(he,{}),t.jsx(Le,{children:t.jsx(ss,{name:q(d,"tinType"),menuPlacement:"auto",style:{height:o.sp6,width:"100%",marginLeft:o.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:i.vendorDetailLocalData?.tin?.type??j.strings.empty,dropDownList:[{code:j.texts.ein,label:j.texts.ein.toUpperCase()},{code:j.texts.ssn,label:j.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:h},placeholderLabel:U.placeholders.tinType,formattedText:{type:"text",name:q(d,"tinValue"),placeholder:U.placeholders.tinValue,format:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?_t:zt,registerOptions:{required:!!i.vendorDetailLocalData?.tin?.type,pattern:i.vendorDetailLocalData?.tin?.type===j.texts.ssn?Pt:Mt},style:{width:"100%",height:o.sp6},defaultValue:i.vendorDetailLocalData?.tin?.value??j.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:i.vendorDetailLocalData?.tin?.type===null?"disabled":void 0}})}),t.jsx(he,{}),t.jsx(ts,{isDisabled:s,label:{label:se.companyInfo.address,width:m},addressValueField:{name:q(d,"address"),placeholder:se.address.titleAdd,defaultValue:i.vendorNewAddressStatus?.addressToCreate,onClick:()=>n("vendor_address",i.vendorAddress?.addressId)},showAdditionalInfoLabel:!1,style:{width:"100%"}})]})]})},fs=a.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${o.sp5};
@@ -168,7 +168,7 @@ import{d as Re,q as ae,y as g,aB as ye,cE as bt,a9 as yt,h7 as xe,h8 as xt,aT as
168
168
  width: ${e=>e.width}px;
169
169
  color: ${e=>e.theme.colors.hero};
170
170
  margin: ${e=>`${O.labelMarginTop.valuePx(e.windowSize)} ${O.labelMarginLeft.valuePx(e.windowSize)} ${O.labelMarginBottom.valuePx(e.windowSize)} ${O.labelMarginLeft.valuePx(e.windowSize)}`};
171
- `,Ve=F.getLocalizedStrings().vendors.common.transactionTabTitles,Ds=()=>Ts,Ts=[{id:"spend_transactions",label:Ve.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Ve.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ke={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},_=(e,s)=>`${e}.${s}`,Je=F.getLocalizedStrings(),{common:oe,cockpit:Ie}=Je,L=Je.spendManagement.billPay.vendorCreation,js=({accountsHierarchyList:e,allAccounts:s,allClasses:d,allOwners:i,classHierarchyList:n,enableRecommendationUpdateCheckbox:p,readOnlyMode:m,isDisabled:f,recommendations:h,sectionId:w,selectedAccountId:R,selectedClassId:A,selectedOwnerId:D,selectedVendorDetails:u,uiState:B,isFiling1099FeatureEnabled:Y,onClickShowMoreOrLess:ne})=>{const Z=ae(),G=Re(),{getValues:J}=jt(),N=ke.labelWidth.value(Z),W=ke.controlWidth.value(Z),P=r=>s.filter(x=>x.accountId===r)[0]?.coaId??"",E=r=>d.filter(x=>x.classId===r)[0]?.accountingClassNumber??"",Q=r=>{const x=s.find(H=>H.accountId===r)?.accountName;return[At,Bt].includes(x??"")},X=L.vendorDetails.recommendation.tooltip,le=X.category.replace("__based__",u?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),ie=X.class.replace("__based__",u?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),K=u?.vendorDetailLocalData?.recommendedCategory!=null&&!!p,ee=u?.vendorDetailLocalData?.recommendedClass!=null&&!!p;return t.jsxs(Ls,{children:[t.jsxs(Vs,{children:[t.jsx(ks,{children:L.vendorDetails.title}),Y?t.jsxs(Os,{onClick:()=>ne(),children:[B?.collapsableStatus==="expand"?`${oe.show}${oe.strings.space}${Ie.subscription.lessBtnText}`:`${oe.show}${oe.strings.space}${Ie.subscription.moreBtnText}`,B?.collapsableStatus==="expand"?t.jsx(Ps,{}):t.jsx(Ms,{})]}):null]}),t.jsxs(Is,{children:[t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.category,width:N},groupedSingleSelectField:{name:_(w,"vendorCategory"),placeholder:L.placeholders.category,valueToInfo:r=>P(r),defaultValue:{selectedOption:R,allOptions:Be(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:K},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m?"readonly":f,disableCurrentOption:Q,fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedCategory!=null&&p?{tooltipProps:{text:le},label:{label:u?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:_(w,"isRecommendedCategorySelected"),defaultChecked:J(_(w,"isRecommendedCategorySelected"))}}:void 0}),t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.class,width:N},zIndexOnFocus:!0,groupedSingleSelectField:{name:_(w,"vendorClass"),placeholder:L.placeholders.class,valueToInfo:r=>E(r),defaultValue:{selectedOption:A,allOptions:Ae(n,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:ee},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m===!0?"readonly":f,fullWidthSelect:!1,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedClass!=null&&p?{tooltipProps:{text:ie},label:{label:u?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:_(w,"isRecommendedClassSelected"),defaultChecked:J(_(w,"isRecommendedClassSelected"))}}:void 0}),t.jsx(Lt,{label:{label:L.vendorDetails.vendorOwner,width:N},userSingleSelectField:{name:_(w,"vendorOwner"),placeholder:L.placeholders.owner,defaultValue:{allOptions:Ee(i),selectedOption:D},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:m===!0?"readonly":f,style:{justifyContent:"space-between"},controlWidth:W,fullWidthSelect:!1})]})]})},Ls=a.div`
171
+ `,Ve=F.getLocalizedStrings().vendors.common.transactionTabTitles,Ds=()=>Ts,Ts=[{id:"spend_transactions",label:Ve.spendTransactions,leftMargin:!1,style:{width:136,left:2}},{id:"all_transactions",label:Ve.allTransactions,leftMargin:!0,style:{width:122,left:60}}],ke={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},_=(e,s)=>`${e}.${s}`,Je=F.getLocalizedStrings(),{common:oe,cockpit:Ie}=Je,L=Je.spendManagement.billPay.vendorCreation,js=({accountsHierarchyList:e,allAccounts:s,allClasses:d,allOwners:i,classHierarchyList:n,enableRecommendationUpdateCheckbox:p,readOnlyMode:m,isDisabled:f,recommendations:h,sectionId:w,selectedAccountId:R,selectedClassId:A,selectedOwnerId:D,selectedVendorDetails:u,uiState:B,isFiling1099FeatureEnabled:Y,onClickShowMoreOrLess:ne})=>{const Z=ae(),G=Re(),{getValues:J}=jt(),N=ke.labelWidth.value(Z),W=ke.controlWidth.value(Z),P=r=>s.filter(b=>b.accountId===r)[0]?.coaId??"",E=r=>d.filter(b=>b.classId===r)[0]?.accountingClassNumber??"",Q=r=>{const b=s.find(H=>H.accountId===r)?.accountName;return[At,Bt].includes(b??"")},X=L.vendorDetails.recommendation.tooltip,le=X.category.replace("__based__",u?.vendorDetailLocalData?.recommendedCategory?.reason?.toLocaleLowerCase()??""),ie=X.class.replace("__based__",u?.vendorDetailLocalData?.recommendedClass?.reason?.toLocaleLowerCase()??""),K=u?.vendorDetailLocalData?.recommendedCategory!=null&&!!p,ee=u?.vendorDetailLocalData?.recommendedClass!=null&&!!p;return t.jsxs(Ls,{children:[t.jsxs(Vs,{children:[t.jsx(ks,{children:L.vendorDetails.title}),Y?t.jsxs(Os,{onClick:()=>ne(),children:[B?.collapsableStatus==="expand"?`${oe.show}${oe.strings.space}${Ie.subscription.lessBtnText}`:`${oe.show}${oe.strings.space}${Ie.subscription.moreBtnText}`,B?.collapsableStatus==="expand"?t.jsx(Ps,{}):t.jsx(Ms,{})]}):null]}),t.jsxs(Is,{children:[t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.category,width:N},groupedSingleSelectField:{name:_(w,"vendorCategory"),placeholder:L.placeholders.category,valueToInfo:r=>P(r),defaultValue:{selectedOption:R,allOptions:Be(e,h)},style:{width:"auto"},registerOptions:{required:!1},shouldShowChevronIcon:K},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m?"readonly":f,disableCurrentOption:Q,fullWidthSelect:!1,zIndexOnFocus:!0,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedCategory!=null&&p?{tooltipProps:{text:le},label:{label:u?.vendorDetailLocalData?.recommendedCategory?.accountName},checkBoxField:{name:_(w,"isRecommendedCategorySelected"),defaultChecked:J(_(w,"isRecommendedCategorySelected"))}}:void 0}),t.jsx(fe,{isLoading:!1,label:{label:L.vendorDetails.class,width:N},zIndexOnFocus:!0,groupedSingleSelectField:{name:_(w,"vendorClass"),placeholder:L.placeholders.class,valueToInfo:r=>E(r),defaultValue:{selectedOption:A,allOptions:Ae(n,h)},registerOptions:{required:!1},style:{width:"auto"},shouldShowChevronIcon:ee},additionalLabelInfo:void 0,style:{borderBottom:`1px solid ${G.colors.grey3}`},isDisabled:m===!0?"readonly":f,fullWidthSelect:!1,recommendationCheckboxField:u?.vendorDetailLocalData?.recommendedClass!=null&&p?{tooltipProps:{text:ie},label:{label:u?.vendorDetailLocalData?.recommendedClass?.className},checkBoxField:{name:_(w,"isRecommendedClassSelected"),defaultChecked:J(_(w,"isRecommendedClassSelected"))}}:void 0}),t.jsx(Lt,{label:{label:L.vendorDetails.vendorOwner,width:N},userSingleSelectField:{name:_(w,"vendorOwner"),placeholder:L.placeholders.owner,defaultValue:{allOptions:Ee(i),selectedOption:D},registerOptions:{required:!1},style:{width:"auto"}},isDisabled:m===!0?"readonly":f,style:{justifyContent:"space-between"},controlWidth:W,fullWidthSelect:!1})]})]})},Ls=a.div`
172
172
  display: flex;
173
173
  flex-direction: column;
174
174
  padding-top: ${o.sp3};
@@ -224,7 +224,7 @@ import{d as Re,q as ae,y as g,aB as ye,cE as bt,a9 as yt,h7 as xe,h8 as xt,aT as
224
224
  display: flex;
225
225
  justify-content: space-between;
226
226
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
227
- `,zs=()=>t.jsxs(_s,{children:[[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(3)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s)),[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(4)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s))]}),b=F.getLocalizedStrings(),{vendors:{vendorDetailPage:V},common:{footer:_e}}=b,k={transactionListHeight:new g(325,275,225),formContainerHorizontalPadding:new g(l[3],l[3],l[8]),buttonWidth:new g(85,85),navbarHeight:63},ze=e=>`${e}_form`,y="vendorDetails",ue="vendor1099Details",Fe="vendorDetailPage",Fs=a.div`
227
+ `,zs=()=>t.jsxs(_s,{children:[[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(3)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s)),[...Array(1)].map((e,s)=>t.jsxs(Oe,{children:[t.jsx(S,{width:120,height:l[4]}),t.jsx(Pe,{children:[...Array(4)].map((d,i)=>t.jsxs(Me,{children:[t.jsx(S,{width:70,height:l[4]}),t.jsx(S,{width:140,height:l[4]})]},i))})]},s))]}),y=F.getLocalizedStrings(),{vendors:{vendorDetailPage:V},common:{footer:_e}}=y,k={transactionListHeight:new g(325,275,225),formContainerHorizontalPadding:new g(l[3],l[3],l[8]),buttonWidth:new g(85,85),navbarHeight:63},ze=e=>`${e}_form`,x="vendorDetails",ue="vendor1099Details",Fe="vendorDetailPage",Fs=a.div`
228
228
  display: flex;
229
229
  flex: 1 1 auto;
230
230
  min-height: 100%;
@@ -254,4 +254,4 @@ import{d as Re,q as ae,y as g,aB as ye,cE as bt,a9 as yt,h7 as xe,h8 as xt,aT 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
- `,Bs=[{label:V.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:V.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:V.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:V.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:V.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:V.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:V.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:V.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],yo=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:d,vendorLogo:i,readOnlyMode:n,isDisabled:p,scrollToTrend:m,allTransactionsTabData:f,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:w,onSaveSuccess:R,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:B,onSpendTrendPercentChangeClick:Y,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:Z,onAddressClick:G,saveContactsInVendorTabDetailLocalData:J,onVendorDetailUIChange:N})=>{const W=Re(),P=ae(),E=$.useRef(null),[Q,X]=$.useState(!1),[le,ie]=$.useState(k.transactionListHeight.value()),K=s?.selectedTabType,ee=Ds(),r=Object.assign({},s?.vendorViewDetails?.vendorView),x=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,H=s?.uiState,Qe=!ye(r!=null&&r.vendorAddress!=null?Ce(r.vendorAddress):r.vendorAddress,r.vendorNewAddressStatus?.addressToCreate!=null?Ce(r.vendorNewAddressStatus?.addressToCreate):r.vendorNewAddressStatus?.addressToCreate),Xe=(r?.vendorDetailLocalData?.contacts??[]).filter(c=>c.email!==b.common.strings.empty||c.fullName!==b.common.strings.empty||c.phone!==b.common.strings.empty).map(c=>bt(c,"contactInfoType")),ve=$.useMemo(()=>r.vendorBasic?.contacts??[],[r.vendorBasic?.contacts]),Ke=!ye(Xe,ve),te=yt({mode:"all",defaultValues:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[et,tt]=$.useState(-1),st=r.vendorDetailLocalData?.contacts!=null&&r.vendorDetailLocalData?.contacts.length>0?r.vendorDetailLocalData?.contacts:xe,[ot,at]=$.useState(xt(st)),nt=c=>{at(c),J?.(x?.vendorId??b.common.strings.empty,c)};$.useEffect(()=>{m===!0&&Q===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),X(!0))},[m,Q,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const lt=new ft(W.colors.graphColor12),T=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",it=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",rt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",dt=(c,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&R?.()},[r]);const ct=$.useCallback(()=>{window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),Y?.()},[Y]),pt=async(c,v)=>{const C=v;if(c.includes("isRecommendedCategorySelected")){const M=v[y].isRecommendedCategorySelected===!0?r?.vendorDetailLocalData?.recommendedCategory?.accountId:r?.vendorBasic?.account?.accountId;C[y].vendorCategory={selectedOption:M,allOptions:v[y].vendorCategory.allOptions}}if(c.includes("isRecommendedClassSelected")){const M=v[y].isRecommendedClassSelected===!0?r.vendorDetailLocalData?.recommendedClass?.classId:r?.vendorBasic?.class?.classId;C[y].vendorClass={selectedOption:M,allOptions:v[y].vendorClass.allOptions}}if(c.includes("vendorCategory")){const M=C[y].vendorCategory.selectedOption===C[y].recommendedCategory?.accountId;C[y].isRecommendedCategorySelected=M}if(c.includes("vendorClass")){const M=C[y].vendorClass.selectedOption===C[y].recommendedClass?.classId;C[y].isRecommendedClassSelected=M}mt(C)};$.useEffect(()=>{const c=te.watch((v,{name:C})=>{C!=null&&v!=null&&wt(()=>pt(C,v))});return()=>{c.unsubscribe()}});const mt=c=>{const v=Es(c,r.vendorBasic?.id,x);A?.(v)},ht=c=>{h(Zt(c.id))},gt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(c,v)=>{w(c,(f?.numberOfQuartersFetched??0)+1)}},ut=()=>{switch(K){case"all_transactions":return t.jsx(Ns,{height:le,children:T===!1&&f?.timePeriod!=null?t.jsx(Qt,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:f.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:B,onListInnerElementHeightChanged:c=>{ie(c)},showLoadPrevious:gt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Jt,{allTabs:Bs,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:c=>{const v=Gt(c.id);v!=null&&Z(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(Hs,{ref:E,children:t.jsx(Xt,{firstMonthOfFY:d,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:lt,initialTransactionListHeight:k.transactionListHeight.value(P),page:"vendorDetailPage",onTimePeriodChange:dt,onTransactionItemClick:B})})]}):null}},vt=()=>{H?.collapsableStatus==="expand"?N?.("collapse"):N?.("expand")},be=ee.find(c=>K===c.id);return t.jsxs(Fs,{children:[t.jsx(Ct,{onBackClick:D,title:r.vendorBasic?.name??b.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:W.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(bs,{isPageLoading:T,vendorName:r.vendorBasic?.name??b.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:rt,onPercentChangeClick:ct}):null,T===!0&&t.jsx(We,{isPageLoading:T,children:t.jsx(Ne,{size:P,children:t.jsx(zs,{})})}),T===!1&&r.vendorDetailLocalData!=null&&t.jsxs(We,{isPageLoading:T,children:[t.jsx(Ne,{size:P,children:t.jsx($t,{...te,children:t.jsxs("form",{id:ze(Fe),onSubmit:te.handleSubmit(ne),children:[t.jsx(js,{sectionId:y,selectedVendorId:x?.vendorId,selectedVendorDetails:r,selectedAccountId:x?.vendorCategory,selectedClassId:x?.vendorClass,selectedOwnerId:x?.vendorOwner,recommendations:x?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:x?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:p,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:H,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:vt}),e&&H?.collapsableStatus==="expand"?t.jsxs(As,{collapsableStatus:H?.collapsableStatus??"expand",children:[t.jsx(xs,{selectedVendorDetails:r,isDisabled:p,onAddressClick:G,sectionId:ue,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(St,{emailRequired:!1,vendorContactInfos:xe,sectionId:ge,vendorContactInfoWithType:ot,setVendorContactInfoWithType:nt,deleteContactConfirmationIndex:et,updateContactDeleteConfirmationIndex:tt,initialContactList:ve})]}):null]})})}),be!=null?t.jsxs(Ws,{children:[t.jsx(Rs,{children:t.jsx(cs,{allTabs:ee,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${W.colors.grey3}`,backgroundColor:W.colors.grey4,justifyContent:"left"},selectedTab:be,onOptionSelectionChanged:ht})}),ut()]}):null]}),!T&&n!==!0&&(Dt(te.formState.dirtyFields)||Qe||Ke)?t.jsx(Tt,{formId:ze(Fe),primaryBtn:{label:_e.save,isLoading:it,style:{width:k.buttonWidth.value(P)},isDisabled:!1},cancelBtn:{label:_e.cancel,style:{width:k.buttonWidth.value(P)},onClick:D}}):null]})},He=(e,s,d,i,n,p)=>({[y]:{vendorName:n?.vendorName??b.common.strings.empty,vendorOwner:{allOptions:Ee(p),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:Be(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ae(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[ue]:{legalName:n?.legalName??b.common.strings.empty,email:n?.vendorEmail??b.common.strings.empty,phone:n?.vendorPhone??b.common.strings.empty,vendorType:{allTypes:d,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ge]:n!=null&&n?.contacts!=null&&n?.contacts.length!==0?n.contacts:[{fullName:b.common.strings.empty,email:b.common.strings.empty,phone:b.common.strings.empty,id:b.common.strings.empty}]}),Es=(e,s,d)=>{const i=e?.[y],n=e?.[ue];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:d?.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(qt,b.common.strings.empty):null},address:n.address,contacts:e?.[ge]}};export{yo as default,ze as formUniqueName,ue as vendor1099DetailsSectionId,y as vendorDetailsSectionId,Bs as vendorSpendTrendFilterTabs};
257
+ `,Bs=[{label:V.vendorSpendTrendFilterLabels.last_30_days,id:"last_30_days"},{label:V.vendorSpendTrendFilterLabels.last_90_days,id:"last_90_days"},{label:V.vendorSpendTrendFilterLabels.YTD_spend,id:"YTD_spend"},{label:V.vendorSpendTrendFilterLabels.last_month,id:"last_month"},{label:V.vendorSpendTrendFilterLabels.last_3_months,id:"last_3_months"},{label:V.vendorSpendTrendFilterLabels.last_6_months,id:"last_6_months"},{label:V.vendorSpendTrendFilterLabels.last_12_months,id:"last_12_months"},{label:V.vendorSpendTrendFilterLabels.last_year,id:"last_year"}],xo=({isFiling1099FeatureEnabled:e,vendorDetailView:s,firstMonthOfFY:d,vendorLogo:i,readOnlyMode:n,isDisabled:p,scrollToTrend:m,allTransactionsTabData:f,onVendorTabSelectionChanged:h,onLoadPreviousTransactionsClick:w,onSaveSuccess:R,saveVendorDetailLocalData:A,onCancelClick:D,onTrendSelectedPeriodChange:u,onTransactionItemClick:B,onSpendTrendPercentChangeClick:Y,onSaveVendor:ne,onVendorSpendTrendFilterTabClick:Z,onAddressClick:G,saveContactsInVendorTabDetailLocalData:J,onVendorDetailUIChange:N})=>{const W=Re(),P=ae(),E=$.useRef(null),[Q,X]=$.useState(!1),[le,ie]=$.useState(k.transactionListHeight.value()),K=s?.selectedTabType,ee=Ds(),r=Object.assign({},s?.vendorViewDetails?.vendorView),b=s?.vendorViewDetails.vendorView?.vendorDetailLocalData,H=s?.uiState,Qe=!xe(r!=null&&r.vendorAddress!=null?Ce(r.vendorAddress):r.vendorAddress,r.vendorNewAddressStatus?.addressToCreate!=null?Ce(r.vendorNewAddressStatus?.addressToCreate):r.vendorNewAddressStatus?.addressToCreate),Xe=(r?.vendorDetailLocalData?.contacts??[]).filter(c=>c.email!==y.common.strings.empty||c.fullName!==y.common.strings.empty||c.phone!==y.common.strings.empty).map(c=>yt(c,"contactInfoType")),ve=$.useMemo(()=>r.vendorBasic?.contacts??[],[r.vendorBasic?.contacts]),Ke=!xe(Xe,ve),te=xt({mode:"all",defaultValues:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),values:He(s?.vendorViewDetails.accountsHierarchyList??[],s?.vendorViewDetails.classHierarchyList??[],s?.vendorViewDetails.vendorTypeList??[],s?.vendorViewDetails.vendorView?.vendorNewAddressStatus?.addressToCreate,s?.vendorViewDetails.vendorView?.vendorDetailLocalData,s?.vendorViewDetails.ownerList),resetOptions:{keepDirtyValues:!0}}),[et,tt]=$.useState(-1),st=r.vendorDetailLocalData?.contacts!=null&&r.vendorDetailLocalData?.contacts.length>0?r.vendorDetailLocalData?.contacts:be,[ot,at]=$.useState(bt(st)),nt=c=>{at(c),J?.(b?.vendorId??y.common.strings.empty,c)};$.useEffect(()=>{m===!0&&Q===!1&&s?.trendWithTransactions.trendReport?.fetchState==="Completed"&&s?.trendWithTransactions.transactionView?.fetchState==="Completed"&&(window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),X(!0))},[m,Q,s?.trendWithTransactions.trendReport?.fetchState,s?.trendWithTransactions.transactionView?.fetchState]);const lt=new ft(W.colors.graphColor12),T=s?.fetchState==="Not-Started"||s?.fetchState==="In-Progress",it=s?.vendorViewDetails.vendorView?.saveStatus.fetchState==="In-Progress",rt=s?.trendWithTransactions.trendReport?.fetchState==="In-Progress",dt=(c,v)=>{u?.(v)};$.useEffect(()=>{s?.vendorViewDetails.vendorView?.saveStatus?.fetchState==="Completed"&&R?.()},[r]);const ct=$.useCallback(()=>{window.scrollTo({top:(E.current?.offsetTop??0)+k.navbarHeight,behavior:"smooth"}),Y?.()},[Y]),pt=async(c,v)=>{const C=v;if(c.includes("isRecommendedCategorySelected")){const M=v[x].isRecommendedCategorySelected===!0?r?.vendorDetailLocalData?.recommendedCategory?.accountId:r?.vendorBasic?.account?.accountId;C[x].vendorCategory={selectedOption:M,allOptions:v[x].vendorCategory.allOptions}}if(c.includes("isRecommendedClassSelected")){const M=v[x].isRecommendedClassSelected===!0?r.vendorDetailLocalData?.recommendedClass?.classId:r?.vendorBasic?.class?.classId;C[x].vendorClass={selectedOption:M,allOptions:v[x].vendorClass.allOptions}}if(c.includes("vendorCategory")){const M=C[x].vendorCategory.selectedOption===C[x].recommendedCategory?.accountId;C[x].isRecommendedCategorySelected=M}if(c.includes("vendorClass")){const M=C[x].vendorClass.selectedOption===C[x].recommendedClass?.classId;C[x].isRecommendedClassSelected=M}mt(C)};$.useEffect(()=>{const c=te.watch((v,{name:C})=>{C!=null&&v!=null&&wt(()=>pt(C,v))});return()=>{c.unsubscribe()}});const mt=c=>{const v=Es(c,r.vendorBasic?.id,b);A?.(v)},ht=c=>{h(Zt(c.id))},gt={isLoading:s?.allVendorTransactionsView?.fetchState==="In-Progress"||s?.allVendorTransactionsView?.fetchState==="Not-Started",onLoadPreviousClick:(c,v)=>{w(c,(f?.numberOfQuartersFetched??0)+1)}},ut=()=>{switch(K){case"all_transactions":return t.jsx(Ns,{height:le,children:T===!1&&f?.timePeriod!=null?t.jsx(Qt,{firstMonthOfFY:d,timeframe:"quarter",timePeriod:f.timePeriod,transactions:s?.allVendorTransactionsView?.transactions??[],isFirstLotLoading:T,componentName:"trend.transactions.list",trackPerformance:!1,onTransactionItemClick:B,onListInnerElementHeightChanged:c=>{ie(c)},showLoadPrevious:gt}):null});case"spend_transactions":default:return s?.trendWithTransactions!=null?t.jsxs(t.Fragment,{children:[t.jsx(Jt,{allTabs:Bs,selectedTab:s.vendorSpendTrendFilterTabValue,onTabChange:c=>{const v=Gt(c.id);v!=null&&Z(v)},containerStyle:{marginLeft:l[8],marginRight:l[8]}}),t.jsx(Hs,{ref:E,children:t.jsx(Xt,{firstMonthOfFY:d,trendWithTransactionsReport:s?.trendWithTransactions,isDetailPage:!1,graphColor:lt,initialTransactionListHeight:k.transactionListHeight.value(P),page:"vendorDetailPage",onTimePeriodChange:dt,onTransactionItemClick:B})})]}):null}},vt=()=>{H?.collapsableStatus==="expand"?N?.("collapse"):N?.("expand")},ye=ee.find(c=>K===c.id);return t.jsxs(Fs,{children:[t.jsx(Ct,{onBackClick:D,title:r.vendorBasic?.name??y.common.strings.empty,style:{zIndex:3},hideSearchBtn:!0,backgroundColor:W.colors.grey5,enableTitleOnScroll:!0,source:"VendorDetailPage"}),s?.vendorSpend!=null?t.jsx(ys,{isPageLoading:T,vendorName:r.vendorBasic?.name??y.common.strings.empty,spend:s?.vendorSpend,vendorLogo:i,isSpendTrendLoading:rt,onPercentChangeClick:ct}):null,T===!0&&t.jsx(We,{isPageLoading:T,children:t.jsx(Ne,{size:P,children:t.jsx(zs,{})})}),T===!1&&r.vendorDetailLocalData!=null&&t.jsxs(We,{isPageLoading:T,children:[t.jsx(Ne,{size:P,children:t.jsx($t,{...te,children:t.jsxs("form",{id:ze(Fe),onSubmit:te.handleSubmit(ne),children:[t.jsx(js,{sectionId:x,selectedVendorId:b?.vendorId,selectedVendorDetails:r,selectedAccountId:b?.vendorCategory,selectedClassId:b?.vendorClass,selectedOwnerId:b?.vendorOwner,recommendations:b?.recommendations??[],allAccounts:s?.vendorViewDetails.accountList.accounts??[],allClasses:s?.vendorViewDetails.classList.classes??[],screenType:"edit",selectedVendorName:b?.vendorName,allOwners:s?.vendorViewDetails.ownerList??[],readOnlyMode:n,isDisabled:p,accountsHierarchyList:s?.vendorViewDetails.accountsHierarchyList??[],classHierarchyList:s?.vendorViewDetails.classHierarchyList??[],enableRecommendationUpdateCheckbox:!0,uiState:H,isFiling1099FeatureEnabled:e,onClickShowMoreOrLess:vt}),e&&H?.collapsableStatus==="expand"?t.jsxs(As,{collapsableStatus:H?.collapsableStatus??"expand",children:[t.jsx(bs,{selectedVendorDetails:r,isDisabled:p,onAddressClick:G,sectionId:ue,vendorTypeList:s?.vendorViewDetails.vendorTypeList??[]}),t.jsx(St,{emailRequired:!1,vendorContactInfos:be,sectionId:ge,vendorContactInfoWithType:ot,setVendorContactInfoWithType:nt,deleteContactConfirmationIndex:et,updateContactDeleteConfirmationIndex:tt,initialContactList:ve})]}):null]})})}),ye!=null?t.jsxs(Ws,{children:[t.jsx(Rs,{children:t.jsx(cs,{allTabs:ee,containerStyle:{marginLeft:l[8],marginRight:l[8],borderBottom:`1px solid ${W.colors.grey3}`,backgroundColor:W.colors.grey4,justifyContent:"left"},selectedTab:ye,onOptionSelectionChanged:ht})}),ut()]}):null]}),!T&&n!==!0&&(Dt(te.formState.dirtyFields)||Qe||Ke)?t.jsx(Tt,{formId:ze(Fe),primaryBtn:{label:_e.save,isLoading:it,style:{width:k.buttonWidth.value(P)},isDisabled:!1},cancelBtn:{label:_e.cancel,style:{width:k.buttonWidth.value(P)},onClick:D}}):null]})},He=(e,s,d,i,n,p)=>({[x]:{vendorName:n?.vendorName??y.common.strings.empty,vendorOwner:{allOptions:Ee(p),selectedOption:n?.vendorOwner},vendorCategory:{allOptions:Be(e,n?.recommendations),selectedOption:n?.vendorCategory},vendorClass:{allOptions:Ae(s,n?.recommendations),selectedOption:n?.vendorClass},recommendedCategory:n?.recommendedCategory,recommendedClass:n?.recommendedClass,isRecommendedCategorySelected:n?.isCategoryUpdateSelected??!1,isRecommendedClassSelected:n?.isClassUpdateSelected??!1},[ue]:{legalName:n?.legalName??y.common.strings.empty,email:n?.vendorEmail??y.common.strings.empty,phone:n?.vendorPhone??y.common.strings.empty,vendorType:{allTypes:d,selectedType:n?.vendorType},tinType:n?.tin?.type??null,tinValue:n?.tin?.value??null,address:i},[ge]: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}]}),Es=(e,s,d)=>{const i=e?.[x],n=e?.[ue];return{vendorCategory:i.vendorCategory.selectedOption,vendorClass:i.vendorClass.selectedOption,vendorId:s,recommendations:d?.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(qt,y.common.strings.empty):null},address:n.address,contacts:e?.[ge]}};export{xo as default,ze as formUniqueName,ue as vendor1099DetailsSectionId,x as vendorDetailsSectionId,Bs as vendorSpendTrendFilterTabs};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CLqQIFvx.js";import{a as k}from"./sentry-Cue4MgLi.js";import{w as y}from"./DomesticWireDetailsPage-CCIoGmZO-B4_Jo1Es.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./mui-Co4rhSdf.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./BankAccountSection-CwOhGEgT-CV3SB5KM.js";import"./MagicLinkTitleSection-DaThYY60-DuPzkS6C.js";import"./BankAccountWarningSection-D7BVcqIu-RUBf41j-.js";import"./MailingDetailsSection-DKs9SGYB-DpYzwmUT.js";import"./LabeledAddressValueField-B_N4O3Mv-CAfERVwt.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]="eb5a5ad8-4775-45c8-a6e4-fc8635eb839e",e._sentryDebugIdIdentifier="sentry-dbid-eb5a5ad8-4775-45c8-a6e4-fc8635eb839e")}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:f,fetchBankNameByRoutingStatus:l}=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:f,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
@@ -1,58 +1,58 @@
1
- import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as qe,cF as C,o as s,cJ as Re,hf as We,g9 as Oe,cN as Me,hg as He,hh as Ue,cV as Ze,aP as _e,F as ne,eV as Z,hm as de,eo as Ke,eW as Ge,c,L as Xe,bN as I,cA as Je,hn as Ye,p as F,g as Qe,cg as et,al as ce,eE as tt,ho as st,hp as lt,hq as M,eX as it}from"./index-BxCf7Wvz.js";import{a as x}from"./sentry-RNV3Di4s.js";import{n as r}from"./mui-BH8m6kGU.js";import{Y as at}from"./LabeledDropDownFormattedTextField-BnaconeO-DhKbuFEk.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./zeni-epic-state-BSaicoAp.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.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]="8ab7e2b2-44e5-425d-a87a-9bea3757b93b",e._sentryDebugIdIdentifier="sentry-dbid-8ab7e2b2-44e5-425d-a87a-9bea3757b93b")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function rt(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:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,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:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=r.div`
1
+ import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as qe,cF as C,o as s,cJ as Re,hf as We,g9 as Oe,cN as Me,hg as He,hh as Ue,cV as Ze,aP as _e,F as ne,eV as Z,hm as de,eo as Ke,eW as Ge,c,L as Xe,bN as I,cA as Je,hn as Ye,p as F,g as Qe,cg as et,al as ce,eE as tt,ho as st,hp as lt,hq as M,eX as it}from"./index-CLqQIFvx.js";import{a as x}from"./sentry-Cue4MgLi.js";import{n as a}from"./mui-Co4rhSdf.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="49e52e25-a796-4319-b4d6-a6fc3388fc76",e._sentryDebugIdIdentifier="sentry-dbid-49e52e25-a796-4319-b4d6-a6fc3388fc76")}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:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,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:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
5
- `,dt=r.div`
5
+ `,dt=a.div`
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  background-color: ${e=>e.theme.colors.grey5};
9
9
  border-radius: ${s.sp2};
10
10
  padding-right: ${s.sp2};
11
- `,se=r.input`
11
+ `,se=a.input`
12
12
  display: none;
13
- `,ct=r.div`
13
+ `,ct=a.div`
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  row-gap: ${s.sp7};
17
17
  margin-bottom: ${s.sp4};
18
- `,ut=r.div`
18
+ `,ut=a.div`
19
19
  display: flex;
20
20
  flex-direction: column;
21
21
  row-gap: ${s.sp3};
22
- `,pt=r.div`
22
+ `,pt=a.div`
23
23
  border: 1px solid ${e=>e.theme.colors.grey3};
24
24
  filter: drop-shadow(
25
25
  ${s.sp0} 2px ${s.sp1} ${F.boxShadowElevation}
26
26
  );
27
27
  border-radius: ${s.sp2};
28
28
  background: ${e=>e.theme.colors.grey5};
29
- `,ht=r.div`
29
+ `,ht=a.div`
30
30
  margin-left: ${s.sp3};
31
- `,H=r.div`
31
+ `,H=a.div`
32
32
  padding: ${s.sp3};
33
33
  display: flex;
34
34
  justify-content: space-between;
35
35
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
36
- `,gt=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(ut,{children:[t.jsx(I,{style:{marginBottom:s.sp4},width:120,height:c[4]}),t.jsxs(pt,{children:[[...Array(5)].map((o,g)=>t.jsxs(H,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g)),t.jsx(H,{children:t.jsx(I,{width:120,height:c[4]})}),t.jsx(ht,{children:[...Array(7)].map((o,g)=>t.jsxs(H,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g))})]})]},i))}),$={largeLabelWidth:new w(130,200,300),labelMarginLeft:new w(c[3],c[4]),labelMarginTop:new w(c[2],c[3]),labelMarginBottom:new w(c[2],c[3]),containerPaddingLeft:new w(c[3],c[6],c[8]),containerPaddingRight:new w(c[3],c[6],c[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",ue="legalName",pe="email",he="phone",ge="taxClassification",me="tinType",ye="tinValue",yt="street",xt="suite",bt="city",ft="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",U=e=>`${e}_form`,P=(e,i)=>`${e}.${i}`,{spendManagement:St,common:a}=ne.getLocalizedStrings(),S=St.billPay.vendorCreation,z=a.labels,le=a.footer,ts=e=>{const i=oe(),o=new AbortController,g=Ae(),R=o.signal,{onVendorFiling1099UploadDetailsSave:E,vendorId:u,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:v,vendorFiling1099UploadDetails:V,fetchVendorFetchStatus:_,onAddressEditHandler:xe,goBackToListPage:K,onResetVendorFiling1099FormStatus:be,googleAPIKey:fe}=e,{vendor1099DetailsSaveStatus:T,vendor1099DetailsLocalData:d,w9FormUploadStatus:G}=p,[X,J]=x.useState(V.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),Y=x.useRef(null),{vendorTypeList:W}=V,N=x.useRef(null),A=x.useRef(null),Q=x.useRef(!1);x.useEffect(()=>{A.current===null&&d.legalName!=a.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(A.current=d.legalName)},[d.legalName]),x.useEffect(()=>{N.current===null&&d.legalName!==a.strings.empty&&(N.current=d.legalName)},[d.legalName]),x.useEffect(()=>{V?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&Q.current===!1&&(J(V.addressStatus.addressToCreate),Q.current=!0)},[V,p.vendor1099DetailsAutoFilledValues?.address]);const m=ze({mode:"onSubmit",defaultValues:re(d,W??[],X),values:re(d,W??[],X)}),{isValid:we}=m.formState,$e=m.handleSubmit(()=>{we&&(xe(m.getValues()),E(u,R))}),{vendor1099DetailsAutoFilledValues:b}=p,ve=()=>b?.tin.type===!0||b?.tin.value===!0||b?.legalName===!0||b?.taxClassification===!0,je=async(y,n)=>{if(y!=null){const h={...n},De=h[l].legalName,Le=h[l].email,Ie=h[l].phone,Pe=h[l].taxClassification,Fe=h[l].tinType,ee=h[l].tinValue,Te={legalName:De??a.strings.empty,vendorId:u,contact:{email:Le??a.strings.empty,phone:Ie??a.strings.empty,fullName:d.contact?.fullName??a.strings.empty,id:d.contact?.id??a.strings.empty},taxClassification:Pe.selectedType??a.strings.empty,tin:{type:Fe??null,value:ee??null},tinValue:ee??null};if(y.includes(`${l}.street`)&&n.vendor1099FilingSectionId.street!=null){const{addressValue:L}=n.vendor1099FilingSectionId.street,Ne=m.getValues(`${l}.country`),O=Z(L?.country);m.setValue(l,{...n[l],street:n.vendor1099FilingSectionId.street,city:L?.locality??"",state:L?.administrativeAreaLevel1??"",country:O,countryCode:L?.countryCode??"",postalCode:L?.postalCode??"",secondaryInfo:n.vendor1099FilingSectionId.secondaryInfo??"",suite:n.vendor1099FilingSectionId.suite??""}),Ke(m.formState.errors,`${l}.city`)&&L?.locality&&m.trigger(`${l}.city`),Ne.selectedOption!==O.selectedOption&&m.setValue(`${l}.country`,O)}else y==="vendor1099FilingSectionId.country"&&n[l].country.selectedOption!=null&&m.setValue(`${l}.countryCode`,Ge(n[l].country.selectedOption));v(Te)}};x.useEffect(()=>{const y=m.watch((n,{name:h})=>{h!=null&&n!=null&&((h.startsWith(`${l}.street`)||h.startsWith(`${l}.city`)||h.startsWith(`${l}.state`)||h.startsWith(`${l}.country`)||h.startsWith(`${l}.postalCode`))&&n[l]!=null&&J({street:[n[l].street?.addressString??a.strings.empty,n[l].suite??a.strings.empty,n[l].secondaryInfo??a.strings.empty],city:n[l].city??a.strings.empty,state:n[l].state??a.strings.empty,country:n[l].country?.selectedOption??a.strings.empty,countryCode:n[l].countryCode,postalCode:n[l].postalCode??a.strings.empty}),ke(()=>je(h,n)))});return()=>{y.unsubscribe()}});const D=$.largeLabelWidth.value(i),Se=T.error?.message??a.strings.empty,Ce=T.error?.title??a.strings.empty,Ve=()=>T?.fetchState==="In-Progress"||_?.fetchState==="In-Progress"||G?.fetchState==="In-Progress",f=_?.fetchState==="In-Progress"||G?.fetchState==="In-Progress";return x.useEffect(()=>()=>{o.abort(),be()},[]),t.jsx(Vt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Dt,{windowSize:i,ref:Y,children:[t.jsx(Be,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:N.current)??a.strings.empty,backgroundColor:g.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(It,{windowSize:i,onClick:K,"data-testid":Ee("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:Y,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),f===!0?t.jsx(ie,{windowSize:i,isLoading:f,children:t.jsx(gt,{})}):t.jsxs(ie,{windowSize:i,isLoading:f,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:N.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:N.current}),T.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(kt,{}),t.jsxs(Nt,{children:[t.jsx(At,{children:Ce}),t.jsx(zt,{children:Se})]})]}):null,ve()&&t.jsxs(qt,{children:[t.jsx(B,{}),t.jsx(Rt,{children:S.vendorDetails.banner})]}),t.jsx(qe,{...m,children:t.jsx("form",{id:U(l),onSubmit:$e,children:t.jsxs(Lt,{isLoading:f,children:[t.jsx(q,{children:b?.legalName===!0&&!f?t.jsx(B,{}):null}),t.jsx(C,{label:{label:z.legalName,width:D,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:P(l,ue),defaultValue:d.legalName,placeholder:S.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:y=>y!==a.strings.empty}}}),t.jsx(k,{}),t.jsxs(t.Fragment,{children:[t.jsx(C,{label:{label:z.email,width:D,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:P(l,pe),defaultValue:d.contact?.email,placeholder:S.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(k,{}),t.jsx(Re,{label:{label:z.phone,width:D,style:{marginLeft:s.sp4}},text:{name:P(l,he),placeholder:S.vendorDetails.phonePlaceHolder,defaultValue:d.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(k,{})]}),t.jsxs(Wt,{isLoading:f,children:[t.jsx(q,{children:b?.taxClassification===!0&&!f?t.jsx(B,{}):null}),t.jsxs(ae,{children:[t.jsx(Bt,{width:D,windowSize:i,children:z.taxClassification}),t.jsx(Et,{size:i,labelWidth:D,children:t.jsx(We,{name:P(l,ge),value:{allTypes:W?.map(y=>({code:y.code,name:y.name,label:y.name}))??[],selectedType:d.taxClassification},placeholderLabel:S.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(k,{}),t.jsx(q,{children:(b?.tin.type===!0||b?.tin.value===!0)&&!f?t.jsx(B,{}):null}),t.jsx(ae,{children:t.jsx(at,{name:P(l,me),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:d.tin?.type??a.strings.empty,dropDownList:[{code:a.texts.ein,label:a.texts.ein.toUpperCase()},{code:a.texts.ssn,label:a.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:D},placeholderLabel:S.placeholders.tinType,formattedText:{type:"text",name:P(l,ye),placeholder:S.placeholders.tinValue,format:d.tin?.type===a.texts.ssn?He:Ue,registerOptions:{required:!!d?.tin?.type,pattern:d.tin?.type===a.texts.ssn?Oe:Me},style:{width:"100%",height:s.sp6},defaultValue:d.tin?.value??a.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:d.tin?.type===null?"disabled":void 0}})}),t.jsx(k,{}),t.jsxs(Ot,{children:[t.jsx(q,{children:b?.address===!0&&!f?t.jsx(B,{}):null}),t.jsx(Ze,{label:z.address,style:{marginLeft:s.sp4,marginTop:$.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(rt,{googleAPIKey:fe,formId:U(l),addressToEdit:V?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(_e,{separatorStyle:{marginRight:s.sp4},formId:U(l),cancelBtn:{label:le.cancel,style:{width:"83px"},onClick:K},primaryBtn:{label:le.save,isLoading:T.fetchState==="In-Progress",style:{width:"83px"},isDisabled:Ve()},style:mt})]})})},Ct=r.div`
36
+ `,gt=()=>t.jsx(ct,{children:[...Array(1)].map((e,i)=>t.jsxs(ut,{children:[t.jsx(I,{style:{marginBottom:s.sp4},width:120,height:c[4]}),t.jsxs(pt,{children:[[...Array(5)].map((o,g)=>t.jsxs(H,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g)),t.jsx(H,{children:t.jsx(I,{width:120,height:c[4]})}),t.jsx(ht,{children:[...Array(7)].map((o,g)=>t.jsxs(H,{children:[t.jsx(I,{width:70,height:c[4]}),t.jsx(I,{width:140,height:c[4]})]},g))})]})]},i))}),$={largeLabelWidth:new w(130,200,300),labelMarginLeft:new w(c[3],c[4]),labelMarginTop:new w(c[2],c[3]),labelMarginBottom:new w(c[2],c[3]),containerPaddingLeft:new w(c[3],c[6],c[8]),containerPaddingRight:new w(c[3],c[6],c[8])},mt={zIndex:2,minHeight:62},l="vendor1099FilingSectionId",ue="legalName",pe="email",he="phone",ge="taxClassification",me="tinType",ye="tinValue",yt="street",xt="suite",ft="city",bt="state",wt="country",$t="countryCode",vt="postalCode",jt="secondaryInfo",U=e=>`${e}_form`,P=(e,i)=>`${e}.${i}`,{spendManagement:St,common:r}=ne.getLocalizedStrings(),S=St.billPay.vendorCreation,z=r.labels,le=r.footer,ts=e=>{const i=oe(),o=new AbortController,g=Ae(),R=o.signal,{onVendorFiling1099UploadDetailsSave:E,vendorId:u,vendorFiling1099UploadDetailsViewState:p,onSaveChangesToLocalStore:v,vendorFiling1099UploadDetails:V,fetchVendorFetchStatus:_,onAddressEditHandler:xe,goBackToListPage:K,onResetVendorFiling1099FormStatus:fe,googleAPIKey:be}=e,{vendor1099DetailsSaveStatus:T,vendor1099DetailsLocalData:d,w9FormUploadStatus:G}=p,[X,J]=x.useState(V.addressStatus?.addressToCreate??{street:[],city:"",state:"",country:"",countryCode:"",postalCode:""}),Y=x.useRef(null),{vendorTypeList:W}=V,N=x.useRef(null),A=x.useRef(null),Q=x.useRef(!1);x.useEffect(()=>{A.current===null&&d.legalName!=r.strings.empty&&p.vendor1099DetailsAutoFilledValues?.legalName===!0&&(A.current=d.legalName)},[d.legalName]),x.useEffect(()=>{N.current===null&&d.legalName!==r.strings.empty&&(N.current=d.legalName)},[d.legalName]),x.useEffect(()=>{V?.addressStatus?.addressToCreate&&p.vendor1099DetailsAutoFilledValues?.address===!0&&Q.current===!1&&(J(V.addressStatus.addressToCreate),Q.current=!0)},[V,p.vendor1099DetailsAutoFilledValues?.address]);const m=ze({mode:"onSubmit",defaultValues:ae(d,W??[],X),values:ae(d,W??[],X)}),{isValid:we}=m.formState,$e=m.handleSubmit(()=>{we&&(xe(m.getValues()),E(u,R))}),{vendor1099DetailsAutoFilledValues:f}=p,ve=()=>f?.tin.type===!0||f?.tin.value===!0||f?.legalName===!0||f?.taxClassification===!0,je=async(y,n)=>{if(y!=null){const h={...n},De=h[l].legalName,Le=h[l].email,Ie=h[l].phone,Pe=h[l].taxClassification,Fe=h[l].tinType,ee=h[l].tinValue,Te={legalName:De??r.strings.empty,vendorId:u,contact:{email:Le??r.strings.empty,phone:Ie??r.strings.empty,fullName:d.contact?.fullName??r.strings.empty,id:d.contact?.id??r.strings.empty},taxClassification:Pe.selectedType??r.strings.empty,tin:{type:Fe??null,value:ee??null},tinValue:ee??null};if(y.includes(`${l}.street`)&&n.vendor1099FilingSectionId.street!=null){const{addressValue:L}=n.vendor1099FilingSectionId.street,Ne=m.getValues(`${l}.country`),O=Z(L?.country);m.setValue(l,{...n[l],street:n.vendor1099FilingSectionId.street,city:L?.locality??"",state:L?.administrativeAreaLevel1??"",country:O,countryCode:L?.countryCode??"",postalCode:L?.postalCode??"",secondaryInfo:n.vendor1099FilingSectionId.secondaryInfo??"",suite:n.vendor1099FilingSectionId.suite??""}),Ke(m.formState.errors,`${l}.city`)&&L?.locality&&m.trigger(`${l}.city`),Ne.selectedOption!==O.selectedOption&&m.setValue(`${l}.country`,O)}else y==="vendor1099FilingSectionId.country"&&n[l].country.selectedOption!=null&&m.setValue(`${l}.countryCode`,Ge(n[l].country.selectedOption));v(Te)}};x.useEffect(()=>{const y=m.watch((n,{name:h})=>{h!=null&&n!=null&&((h.startsWith(`${l}.street`)||h.startsWith(`${l}.city`)||h.startsWith(`${l}.state`)||h.startsWith(`${l}.country`)||h.startsWith(`${l}.postalCode`))&&n[l]!=null&&J({street:[n[l].street?.addressString??r.strings.empty,n[l].suite??r.strings.empty,n[l].secondaryInfo??r.strings.empty],city:n[l].city??r.strings.empty,state:n[l].state??r.strings.empty,country:n[l].country?.selectedOption??r.strings.empty,countryCode:n[l].countryCode,postalCode:n[l].postalCode??r.strings.empty}),ke(()=>je(h,n)))});return()=>{y.unsubscribe()}});const D=$.largeLabelWidth.value(i),Se=T.error?.message??r.strings.empty,Ce=T.error?.title??r.strings.empty,Ve=()=>T?.fetchState==="In-Progress"||_?.fetchState==="In-Progress"||G?.fetchState==="In-Progress",b=_?.fetchState==="In-Progress"||G?.fetchState==="In-Progress";return x.useEffect(()=>()=>{o.abort(),fe()},[]),t.jsx(Vt,{windowSize:i,children:t.jsxs(Ct,{windowSize:i,children:[t.jsxs(Dt,{windowSize:i,ref:Y,children:[t.jsx(Be,{title:(p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:N.current)??r.strings.empty,backgroundColor:g.colors.grey4,leftSideComponent:t.jsx(t.Fragment,{}),rightSideComponent:t.jsx(It,{windowSize:i,onClick:K,"data-testid":Ee("vendor-filling-1099-details-editable-page-close-icon")}),scrollableContent:Y,enableTitleOnScroll:!0,scrollThreshold:50,source:"VendorFiling1099EditablePage"}),b===!0?t.jsx(ie,{windowSize:i,isLoading:b,children:t.jsx(gt,{})}):t.jsxs(ie,{windowSize:i,isLoading:b,children:[i==="small"?t.jsx(Pt,{windowSize:i,children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:N.current}):t.jsx(Ft,{children:p.vendor1099DetailsAutoFilledValues?.legalName===!0?A.current:N.current}),T.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(kt,{}),t.jsxs(Nt,{children:[t.jsx(At,{children:Ce}),t.jsx(zt,{children:Se})]})]}):null,ve()&&t.jsxs(qt,{children:[t.jsx(B,{}),t.jsx(Rt,{children:S.vendorDetails.banner})]}),t.jsx(qe,{...m,children:t.jsx("form",{id:U(l),onSubmit:$e,children:t.jsxs(Lt,{isLoading:b,children:[t.jsx(q,{children:f?.legalName===!0&&!b?t.jsx(B,{}):null}),t.jsx(C,{label:{label:z.legalName,width:D,style:{marginLeft:s.sp4}},style:{width:"auto",borderTopLeftRadius:s.sp2,borderTopRightRadius:s.sp2},text:{type:"text",name:P(l,ue),defaultValue:d.legalName,placeholder:S.vendorDetails.legalNamePlaceHolder,options:{required:!0,validate:y=>y!==r.strings.empty}}}),t.jsx(k,{}),t.jsxs(t.Fragment,{children:[t.jsx(C,{label:{label:z.email,width:D,style:{marginLeft:s.sp4}},style:{width:"auto"},text:{type:"email",name:P(l,pe),defaultValue:d.contact?.email,placeholder:S.vendorDetails.emailPlaceHolder,options:{required:!1}}}),t.jsx(k,{}),t.jsx(Re,{label:{label:z.phone,width:D,style:{marginLeft:s.sp4}},text:{name:P(l,he),placeholder:S.vendorDetails.phonePlaceHolder,defaultValue:d.contact?.phone,autoComplete:"off",options:{required:!1}},style:{width:"auto"}}),t.jsx(k,{})]}),t.jsxs(Wt,{isLoading:b,children:[t.jsx(q,{children:f?.taxClassification===!0&&!b?t.jsx(B,{}):null}),t.jsxs(re,{children:[t.jsx(Bt,{width:D,windowSize:i,children:z.taxClassification}),t.jsx(Et,{size:i,labelWidth:D,children:t.jsx(We,{name:P(l,ge),value:{allTypes:W?.map(y=>({code:y.code,name:y.name,label:y.name}))??[],selectedType:d.taxClassification},placeholderLabel:S.vendorDetails.taxClassificationPlaceHolder})})]})]}),t.jsx(k,{}),t.jsx(q,{children:(f?.tin.type===!0||f?.tin.value===!0)&&!b?t.jsx(B,{}):null}),t.jsx(re,{children:t.jsx(rt,{name:P(l,me),menuPlacement:"auto",style:{height:s.sp6,width:"100%",marginLeft:s.sp4},dropdownStyle:{width:"40%"},defaultValue:{dropDownValue:d.tin?.type??r.strings.empty,dropDownList:[{code:r.texts.ein,label:r.texts.ein.toUpperCase()},{code:r.texts.ssn,label:r.texts.ssn.toUpperCase()}]},registerOptions:{required:!1},label:{width:D},placeholderLabel:S.placeholders.tinType,formattedText:{type:"text",name:P(l,ye),placeholder:S.placeholders.tinValue,format:d.tin?.type===r.texts.ssn?He:Ue,registerOptions:{required:!!d?.tin?.type,pattern:d.tin?.type===r.texts.ssn?Oe:Me},style:{width:"100%",height:s.sp6},defaultValue:d.tin?.value??r.strings.empty,maxLength:9,allowLeadingZeros:!0,autoComplete:"new-password",isDisabled:d.tin?.type===null?"disabled":void 0}})}),t.jsx(k,{}),t.jsxs(Ot,{children:[t.jsx(q,{children:f?.address===!0&&!b?t.jsx(B,{}):null}),t.jsx(Ze,{label:z.address,style:{marginLeft:s.sp4,marginTop:$.labelMarginTop.value(i),marginBottom:s.sp2}}),t.jsx(at,{googleAPIKey:be,formId:U(l),addressToEdit:V?.addressStatus?.addressToCreate,sectionId:l})]})]})})})]})]}),t.jsx(_e,{separatorStyle:{marginRight:s.sp4},formId:U(l),cancelBtn:{label:le.cancel,style:{width:"83px"},onClick:K},primaryBtn:{label:le.save,isLoading:T.fetchState==="In-Progress",style:{width:"83px"},isDisabled:Ve()},style:mt})]})})},Ct=a.div`
37
37
  display: flex;
38
38
  flex-direction: column;
39
39
  height: 100%;
40
40
  justify-content: space-between;
41
- `,Vt=r.div`
41
+ `,Vt=a.div`
42
42
  height: 100%;
43
- `,ie=r.div`
43
+ `,ie=a.div`
44
44
  padding-left: ${e=>$.containerPaddingLeft.valuePx(e.windowSize)};
45
45
  padding-right: ${e=>$.containerPaddingRight.valuePx(e.windowSize)};
46
46
  height: ${e=>e.isLoading?void 0:"100%"};
47
47
  padding-bottom: 112px;
48
- `,Dt=r.div`
48
+ `,Dt=a.div`
49
49
  display: flex;
50
50
  flex-direction: column;
51
51
  background-color: ${e=>e.theme.colors.grey4};
52
52
  overflow-x: hidden;
53
53
  height: 100%;
54
54
  width: 100%;
55
- `,Lt=r.div`
55
+ `,Lt=a.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  background-color: ${e=>e.isLoading?void 0:e.theme.colors.grey5};
@@ -60,13 +60,13 @@ import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as q
60
60
  box-shadow: ${e=>e.isLoading?void 0:`${s.sp0} 2px ${s.sp1} ${e.theme.colors.dropShadowNormal}`};
61
61
  border-radius: ${s.sp2};
62
62
  position: relative;
63
- `,k=r.div`
63
+ `,k=a.div`
64
64
  display: flex;
65
65
  flex: 1;
66
66
  background-color: ${e=>e.theme.colors.grey3};
67
67
  min-height: 1px;
68
68
  max-height: 1px;
69
- `,It=r(Xe)`
69
+ `,It=a(Xe)`
70
70
  cursor: pointer;
71
71
  color: ${e=>e.theme.colors.hero};
72
72
  width: ${s.sp4};
@@ -75,14 +75,14 @@ import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as q
75
75
  &:hover {
76
76
  color: ${e=>e.theme.colors.primary};
77
77
  }
78
- `,Pt=r(Je)`
78
+ `,Pt=a(Je)`
79
79
  color: ${e=>e.theme.colors.primary};
80
80
  margin-bottom: ${s.sp0};
81
81
  margin-right: ${s.sp3};
82
- `,Ft=r(Ye)`
82
+ `,Ft=a(Ye)`
83
83
  color: ${e=>e.theme.colors.primary};
84
84
  margin-bottom: ${s.sp4};
85
- `,Tt=r.div`
85
+ `,Tt=a.div`
86
86
  background-color: ${F.alertLight};
87
87
  border: 1px solid ${F.brandColorGoldDark};
88
88
  border-radius: ${s.sp2};
@@ -90,20 +90,20 @@ import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as q
90
90
  gap: ${s.sp2};
91
91
  padding: ${s.sp3} ${s.sp4};
92
92
  margin-bottom: ${s.sp3};
93
- `,Nt=r.div`
93
+ `,Nt=a.div`
94
94
  display: flex;
95
95
  flex-direction: column;
96
- `,At=r(et)`
96
+ `,At=a(et)`
97
97
  color: ${F.brandColorGoldDark};
98
- `,zt=r(ce)`
98
+ `,zt=a(ce)`
99
99
  color: ${F.brandColorGoldDark};
100
- `,kt=r(Qe)`
100
+ `,kt=a(Qe)`
101
101
  width: ${s.sp4};
102
102
  min-height: ${s.sp4};
103
103
  width: ${s.sp4};
104
104
  height: ${s.sp4};
105
105
  color: ${F.brandColorGoldDark};
106
- `,ae=r.div`
106
+ `,re=a.div`
107
107
  display: flex;
108
108
  flex-direction: row;
109
109
  justify-content: space-between;
@@ -127,22 +127,22 @@ import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as q
127
127
  border-bottom-left-radius: inherit;
128
128
  border-bottom-right-radius: inherit;
129
129
  }
130
- `,Bt=r(ce)`
130
+ `,Bt=a(ce)`
131
131
  width: ${e=>e.width}px;
132
132
  color: ${e=>e.theme.colors.hero};
133
133
  margin: ${e=>`${$.labelMarginTop.valuePx(e.windowSize)} ${$.labelMarginLeft.valuePx(e.windowSize)} ${$.labelMarginBottom.valuePx(e.windowSize)} ${$.labelMarginLeft.valuePx(e.windowSize)}`};
134
134
  padding-right: ${s.sp5};
135
- `,Et=r.div`
135
+ `,Et=a.div`
136
136
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"100%"};
137
137
  display: flex;
138
138
  flex-grow: ${e=>e.size==="small"?1:0};
139
139
  align-items: center;
140
140
  margin-right: ${s.sp2};
141
- `,B=r(tt)`
141
+ `,B=a(tt)`
142
142
  color: ${e=>e.theme.colors.primary};
143
143
  width: ${s.sp3};
144
144
  height: ${s.sp3};
145
- `,qt=r.div`
145
+ `,qt=a.div`
146
146
  display: flex;
147
147
  gap: ${s.sp2};
148
148
  border: 1px solid ${e=>e.theme.colors.grey3};
@@ -152,15 +152,15 @@ import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as q
152
152
  margin: ${s.sp3};
153
153
  margin-left: ${s.sp0};
154
154
  margin-right: ${s.sp0};
155
- `,Rt=r.span`
155
+ `,Rt=a.span`
156
156
  color: ${e=>e.theme.colors.hero};
157
- `,Wt=r.div`
157
+ `,Wt=a.div`
158
158
  position: relative;
159
- `,q=r.div`
159
+ `,q=a.div`
160
160
  position: absolute;
161
161
  top: 20px;
162
162
  left: -${s.sp4};
163
- `,Ot=r.div`
163
+ `,Ot=a.div`
164
164
  display: flex;
165
165
  position: relative;
166
166
  width: 100%;
@@ -172,4 +172,4 @@ import{q as oe,d as Ae,a9 as ze,cC as ke,y as w,V as t,bA as Be,aN as Ee,ac as q
172
172
  border-bottom-left-radius: inherit;
173
173
  border-bottom-right-radius: inherit;
174
174
  }
175
- `,re=(e,i,o)=>({[l]:{[ue]:e.legalName??a.strings.empty,[pe]:e.contact?.email??a.strings.empty,[he]:e.contact?.phone??a.strings.empty,[ge]:{selectedType:e.taxClassification,allTypes:i},[me]:e.tin?.type??null,[ye]:e.tin?.value??null,[yt]:{addressString:o?.street[0]??"",addressValue:o!=null?de(o):void 0},[bt]:o?.city??"",[ft]:o?.state??"",[wt]:Z(o?.country),[$t]:o?.countryCode??"",[vt]:o?.postalCode??"",[jt]:o?.street[2]??"",[xt]:o?.street[1]??""}});export{ts as default,U as uniqueFormName};
175
+ `,ae=(e,i,o)=>({[l]:{[ue]:e.legalName??r.strings.empty,[pe]:e.contact?.email??r.strings.empty,[he]:e.contact?.phone??r.strings.empty,[ge]:{selectedType:e.taxClassification,allTypes:i},[me]:e.tin?.type??null,[ye]:e.tin?.value??null,[yt]:{addressString:o?.street[0]??"",addressValue:o!=null?de(o):void 0},[ft]:o?.city??"",[bt]:o?.state??"",[wt]:Z(o?.country),[$t]:o?.countryCode??"",[vt]:o?.postalCode??"",[jt]:o?.street[2]??"",[xt]:o?.street[1]??""}});export{ts as default,U as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{q as ae,aw as Nn,d as mn,a9 as et,i4 as Te,cC as nt,ay as On,i5 as re,i6 as ve,i7 as fe,i8 as be,i9 as me,V as n,i0 as tt,ac as ot,bA as it,aa as rt,cn as st,co as at,cp as lt,bT as dt,bM as ct,aN as Y,ck as mt,b2 as pt,di as ut,cr as ht,k as gt,F as je,y as w,H as Ne,o as t,aS as In,al as De,aR as wt,c,ah as Re,cw as xt,dn as Pn,bN as Pe,bg as Tn,cz as vt,bZ as ft,dB as bt,b9 as Ye,bs as pn,p as B,u as zn,gZ as $t,de as wn,cZ as rn,ia as sn,ao as St,bR as Be,dL as yt,es as xn,bI as jt,dq as Rt,n as vn,ib as Vt,ic as Ct,cP as kt,eo as Mt,ex as Nt,ey as Ot,am as Dn,id as It,bG as se,ie as fn,gL as Pt,au as Tt,at as zt,dp as Dt,b as Ln,R as Lt,s as _t,aU as dn}from"./index-BxCf7Wvz.js";import{a as f}from"./sentry-RNV3Di4s.js";import{n as o,c as cn}from"./mui-BH8m6kGU.js";import{gu as At,FY as Ft}from"./zeni-epic-state-BSaicoAp.js";import{r as Bt}from"./core-d8TJZx_K.js";import{P as Et}from"./Menu-XT10vy6U-CU6mTufV.js";import"./liveblocks-CGDIIAIj.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.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]="095483c7-b25b-4a6c-ba12-e6e1df3cb0fb",e._sentryDebugIdIdentifier="sentry-dbid-095483c7-b25b-4a6c-ba12-e6e1df3cb0fb")}catch{}})();const _n=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{q as ae,aw as Nn,d as mn,a9 as et,i4 as Te,cC as nt,ay as On,i5 as re,i6 as ve,i7 as fe,i8 as be,i9 as me,V as n,i0 as tt,ac as ot,bA as it,aa as rt,cn as st,co as at,cp as lt,bT as dt,bM as ct,aN as Y,ck as mt,b2 as pt,di as ut,cr as ht,k as gt,F as je,y as w,H as Ne,o as t,aS as In,al as De,aR as wt,c,ai as Re,cw as xt,dn as Pn,bN as Pe,bg as Tn,cz as vt,bZ as ft,dB as bt,b9 as Ye,bs as pn,p as B,u as zn,gZ as $t,de as wn,cZ as rn,ia as sn,ao as St,bR as Be,dL as yt,es as xn,bI as jt,dq as Rt,n as vn,ib as Vt,ic as Ct,cP as kt,eo as Mt,ex as Nt,ey as Ot,am as Dn,id as It,bG as se,ie as fn,gL as Pt,au as Tt,at as zt,dp as Dt,b as Ln,R as Lt,s as _t,aU as dn}from"./index-CLqQIFvx.js";import{a as f}from"./sentry-Cue4MgLi.js";import{n as o,c as cn}from"./mui-Co4rhSdf.js";import{gu as At,FY as Ft}from"./zeni-epic-state-DcWK4mxP.js";import{r as Bt}from"./core-CYa2vsSD.js";import{P as Et}from"./Menu-DWx47kcG-CqRpt11Z.js";import"./liveblocks-DZksneMc.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="3790e4d6-5b29-4be0-bcbb-7d40acc0201b",e._sentryDebugIdIdentifier="sentry-dbid-3790e4d6-5b29-4be0-bcbb-7d40acc0201b")}catch{}})();const _n=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,q as Y,a9 as he,F as U,cC as ye,aB as ge,cn as be,co as fe,cp as xe,ac as ve,aP as we,y as p,eV as le,eW as Ce,o as y,b8 as $e,cP as oe,d as ne,eX as De,eY as Q,cV as G,b0 as H,cF as je,ej as Te,c as a,eo as ke,aN as Se,p as M,R as Oe,k as Fe,bR as Ae,ah as Le,bI as Ie}from"./index-BxCf7Wvz.js";import{a as R}from"./sentry-RNV3Di4s.js";import{n as g}from"./mui-BH8m6kGU.js";import{bi as X}from"./zeni-epic-state-BSaicoAp.js";import{W as We,A as ze}from"./BankAccountWarningSection-Czlvc-qX-rUlWK1Jd.js";import{T as Re}from"./MailingDetailsSection-Ro9Lxvtp-DaRqYLgY.js";import{S as Pe}from"./CurrencySelectField-kA2N_h2r-TVoT6MZb.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";import"./LabeledAddressValueField-k9TP-qlZ-C3UyFf5u.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]="c26e029a-02e8-43c9-8d58-0a792dd38e57",e._sentryDebugIdIdentifier="sentry-dbid-c26e029a-02e8-43c9-8d58-0a792dd38e57")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Me,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Ve,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Ee,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Be=g.div`
1
+ import{V as t,q as Y,a9 as he,F as U,cC as ye,aB as ge,cn as be,co as fe,cp as xe,ac as ve,aP as we,y as p,eV as le,eW as Ce,o as y,b8 as $e,cP as oe,d as ne,eX as De,eY as Q,cV as G,b0 as H,cF as je,ej as Te,c as a,eo as ke,aN as Se,p as M,R as Oe,k as Fe,bR as Ae,ai as Le,bI as Ie}from"./index-CLqQIFvx.js";import{a as R}from"./sentry-Cue4MgLi.js";import{n as g}from"./mui-Co4rhSdf.js";import{bi as X}from"./zeni-epic-state-DcWK4mxP.js";import{W as We,A as ze}from"./BankAccountWarningSection-D7BVcqIu-RUBf41j-.js";import{T as Re}from"./MailingDetailsSection-DKs9SGYB-DpYzwmUT.js";import{S as Pe}from"./CurrencySelectField-BvNBUOqg-A4J8Uxia.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./LabeledAddressValueField-B_N4O3Mv-CAfERVwt.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]="35b63275-9049-4ad6-8229-122dce1861a9",e._sentryDebugIdIdentifier="sentry-dbid-35b63275-9049-4ad6-8229-122dce1861a9")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Me,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Be,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Ve,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Ee,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -0,0 +1 @@
1
+ import{V as S}from"./index-CLqQIFvx.js";import{a as b}from"./sentry-Cue4MgLi.js";import{f as k}from"./InternationalWireSwiftDetailsPage-Dri_Nj57-i38KBpxN.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./zeni-epic-state-DcWK4mxP.js";import"./mui-Co4rhSdf.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./BankAccountWarningSection-D7BVcqIu-RUBf41j-.js";import"./MailingDetailsSection-DKs9SGYB-DpYzwmUT.js";import"./LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js";import"./MagicLinkTitleSection-DaThYY60-DuPzkS6C.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]="2dc0ff72-450c-460e-86fb-5be521607a28",e._sentryDebugIdIdentifier="sentry-dbid-2dc0ff72-450c-460e-86fb-5be521607a28")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return b.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(k,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR as f,R as ne,p as re,dv as de,ah as se,c as a}from"./index-BxCf7Wvz.js";import{n as s}from"./mui-BH8m6kGU.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]="a49cfe81-7dd9-4b33-a921-7e049e75f546",e._sentryDebugIdIdentifier="sentry-dbid-a49cfe81-7dd9-4b33-a921-7e049e75f546")}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,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR as m,R as ne,p as re,dv as de,ai as se,c as a}from"./index-CLqQIFvx.js";import{n as s}from"./mui-Co4rhSdf.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]="053087ab-8181-4750-8c39-21bbe73baf71",e._sentryDebugIdIdentifier="sentry-dbid-053087ab-8181-4750-8c39-21bbe73baf71")}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)};
@@ -17,7 +17,7 @@ import{q as ie,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR a
17
17
  border: 1px solid ${e=>e.theme.colors.primary};
18
18
  fill: ${e=>e.theme.colors.primary};
19
19
  }
20
- `,m=s.div`
20
+ `,f=s.div`
21
21
  display: flex;
22
22
  align-items: flex-start;
23
23
  flex-direction: row;
@@ -65,4 +65,4 @@ import{q as ie,d as oe,F as te,y as c,gE as w,aT as P,V as i,hU as g,o as r,hR a
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${r.sp2};
68
- `,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:E,accruedExpensesRecommendations:R,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:D,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:T,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:W}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(D,T,"Accounts"),H=w(B,I,"Accounts"),G=w(O,R,"Accounts"),J=T[0]?.account?.reason??"",K=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=I[0]?.account?.reason??"",U=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),Z=R[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",Z).replace("__account__",t.vendorSection.accruedExpensesAccount),X=C.filter(o=>W.includes(o.accountId)??!1),Y=M.filter(o=>F.includes(o.accountId)??!1),ee=E.filter(o=>V.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=l.mode==="light"?new P(l.colors.brandColorJadeLight):new P(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:X.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:K,sticky:!1},valueToId:o=>f(o,C)}})})}),i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:U,sticky:!1},valueToId:o=>f(o,M)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:Q,sticky:!1},valueToId:o=>f(o,E)}})})})]}):null]})]})}export{he as h};
68
+ `,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:E,accruedExpensesRecommendations:R,fixedAssetsAccountHierarchy:B,fixedAssetsAccountList:M,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:D,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:T,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:W}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(D,T,"Accounts"),H=w(B,I,"Accounts"),G=w(O,R,"Accounts"),J=T[0]?.account?.reason??"",K=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),N=I[0]?.account?.reason??"",U=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.fixedAssetsAccount),Z=R[0]?.account?.reason??"",Q=t.tooltip.replace("__based__",Z).replace("__account__",t.vendorSection.accruedExpensesAccount),X=C.filter(o=>W.includes(o.accountId)??!1),Y=M.filter(o=>F.includes(o.accountId)??!1),ee=E.filter(o=>V.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=l.mode==="light"?new P(l.colors.brandColorJadeLight):new P(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:X.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:K,sticky:!1},valueToId:o=>m(o,C)}})})}),i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:U,sticky:!1},valueToId:o=>m(o,M)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(f,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:Q,sticky:!1},valueToId:o=>m(o,E)}})})})]}):null]})]})}export{he as h};
@@ -1,4 +1,4 @@
1
- import{aO as z,a9 as G,V as r,bQ as U,aa as p,ac as W,bR as B,ah as m,bS as Q,o as n,F as O,n as I,bT as X,al as L,bU as Y,bV as E,bI as Z,p as j,b9 as v,bW as q}from"./index-BxCf7Wvz.js";import{a as c}from"./sentry-RNV3Di4s.js";import{n as t}from"./mui-BH8m6kGU.js";import{bh as J}from"./zeni-epic-state-BSaicoAp.js";import{A as K,Z as V}from"./AccountLockedInfoModal-DM9AQ-14-CoO7wjK9.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";import"./handshake-BPg58FML-C5j99nww.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]="1f060624-3b42-48ca-9cc2-a39a1ab0e949",e._sentryDebugIdIdentifier="sentry-dbid-1f060624-3b42-48ca-9cc2-a39a1ab0e949")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return E(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return E(e)||e}},k=120,C=30,T=2,re="456px",te="256px",_=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(k),[h,S]=c.useState(C),D=z(e.verifyOtpFetchState),u=G({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},A=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(x,""))},[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 M=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(K,{unlockDate:J().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(B,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",M(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(m,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(x,""),w(k),S(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(I,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:A})]})]})})})]})})},ne=t.div`
1
+ import{aO as z,a9 as G,V as r,bQ as U,aa as p,ac as W,bR as B,ai as m,bS as Q,o as n,F as O,n as I,bT as X,al as L,bU as Y,bV as E,bI as Z,p as j,b9 as v,bW as q}from"./index-CLqQIFvx.js";import{a as c}from"./sentry-Cue4MgLi.js";import{n as t}from"./mui-Co4rhSdf.js";import{bh as J}from"./zeni-epic-state-DcWK4mxP.js";import{A as K,Z as V}from"./AccountLockedInfoModal-B9_FdrYm-5NyxuZ6Z.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./handshake-BPg58FML-cD35y_0x.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]="3bd11d4f-7081-4600-92e3-87c8c3827846",e._sentryDebugIdIdentifier="sentry-dbid-3bd11d4f-7081-4600-92e3-87c8c3827846")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return E(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return E(e)||e}},k=120,C=30,T=2,re="456px",te="256px",_=6,o=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(k),[h,S]=c.useState(C),D=z(e.verifyOtpFetchState),u=G({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},A=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(x,""))},[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 M=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(K,{unlockDate:J().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(B,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${V}`,children:V})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",M(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(m,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(x,""),w(k),S(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(I,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(I,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:A})]})]})})})]})})},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-DXqousR1.js","assets/sentry-RNV3Di4s.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-1TS5Pz5D.js","assets/zeni-epic-state-BSaicoAp.js","assets/core-d8TJZx_K.js","assets/index-Z0vhp4UP.js","assets/react-DjFxauce.js","assets/react-BZPwYTgt.js","assets/react-ChgBiDic.js","assets/react-DbC4BMti.js","assets/react-B98PZ5oz.js","assets/react-BZg321WR.js","assets/Preview-B0dy4K56.js"])))=>i.map(i=>d[i]);
2
- import{q as W,V as f,ao as X,p as Y}from"./index-BxCf7Wvz.js";import{S as _,a as t}from"./sentry-RNV3Di4s.js";import{n as k,k as q}from"./mui-BH8m6kGU.js";import{r as K}from"./core-d8TJZx_K.js";import{ba as y}from"./zeni-epic-state-BSaicoAp.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]="7072f036-2891-4722-a915-320b58b0de22",e._sentryDebugIdIdentifier="sentry-dbid-7072f036-2891-4722-a915-320b58b0de22")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,S=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&S(s,r)||S(s.src,r))return!0;return!1}return r(e)},m={html:e=>S(e,r=>N.test(r)||z.test(r)),hls:e=>S(e,r=>V.test(r)),dash:e=>S(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DXqousR1.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-1TS5Pz5D.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-Z0vhp4UP.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-DjFxauce.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BZPwYTgt.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-ChgBiDic.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DbC4BMti.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B98PZ5oz.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BZg321WR.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-B0dy4K56.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:R,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:R,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,R;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(R=C.player)!=null?R:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,T=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(T,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},T=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:T,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:T,onPlay:p,config:I})}const ye=q`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-BcTgPaBt.js","assets/sentry-Cue4MgLi.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-B9BOYeX6.js","assets/zeni-epic-state-DcWK4mxP.js","assets/core-CYa2vsSD.js","assets/index-D1NG7F-c.js","assets/react-BfmS3tc2.js","assets/react-BrZdHxR5.js","assets/react-USABo3kI.js","assets/react-DaPNcQnJ.js","assets/react-hKmyc3EK.js","assets/react-BHvhexjt.js","assets/Preview-CrPzNPnm.js"])))=>i.map(i=>d[i]);
2
+ import{q as W,V as f,ao as X,p as Y}from"./index-CLqQIFvx.js";import{S as _,a as t}from"./sentry-Cue4MgLi.js";import{n as k,k as q}from"./mui-Co4rhSdf.js";import{r as K}from"./core-CYa2vsSD.js";import{ba as y}from"./zeni-epic-state-DcWK4mxP.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]="7072f036-2891-4722-a915-320b58b0de22",e._sentryDebugIdIdentifier="sentry-dbid-7072f036-2891-4722-a915-320b58b0de22")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,S=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&S(s,r)||S(s.src,r))return!0;return!1}return r(e)},m={html:e=>S(e,r=>N.test(r)||z.test(r)),hls:e=>S(e,r=>V.test(r)),dash:e=>S(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BcTgPaBt.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-B9BOYeX6.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-D1NG7F-c.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BfmS3tc2.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BrZdHxR5.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-USABo3kI.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DaPNcQnJ.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-hKmyc3EK.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BHvhexjt.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-CrPzNPnm.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:R,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:R,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,R;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(R=C.player)!=null?R:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,T=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(T,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},T=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:T,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:T,onPlay:p,config:I})}const ye=q`
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,aN as a,p as c,o,y as d}from"./index-BxCf7Wvz.js";import{n}from"./mui-BH8m6kGU.js";import{N as f}from"./VideoPlayer-B6HamlwN-B0K1YC8V.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]="ff2539d9-984e-45b4-99e8-c3a37a52883c",e._sentryDebugIdIdentifier="sentry-dbid-ff2539d9-984e-45b4-99e8-c3a37a52883c")}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,aN as l,p as c,o,y as d}from"./index-CLqQIFvx.js";import{n}from"./mui-Co4rhSdf.js";import{N as f}from"./VideoPlayer-DufuoQRs-CzFmZCl7.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]="b25b1a5b-e1db-48f9-95ac-feadd65cfca3",e._sentryDebugIdIdentifier="sentry-dbid-b25b1a5b-e1db-48f9-95ac-feadd65cfca3")}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,aN as a,p as c,o,y as d}from"./index-BxCf7Wvz.js";i
28
28
  position: relative;
29
29
  width: 100%;
30
30
  height: 100%;
31
- `;function b(e){const i=s();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(w,{windowSize:i,"data-testid":a("video-popup"),children:t.jsx(p,{children:t.jsx(f,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{b as f};
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 f};