@zeniai/web-cockpit-ui 1.14.95-prod → 1.14.96-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 (275) hide show
  1. package/dist/assets/{ACHDetailsPage-OhfwzmDP-CUPlHlS1.js → ACHDetailsPage-BRWOdhMx-lCkplz0-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-9OxanlvK-Bk_qTUs7.js → AIPerformancePage-4v4Fkm9f-BqYLGo1s.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Ca_vKG58-pmVk2hiY.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Bu-ZFVKf-BazFs_cA.js → AccountInfoPageContent-Dv1IPcdF-ChZIyLOA.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BqLkGmTA-Bi36nE_K.js → AccountLockedInfoModal-CEk5d9hq-BU7zCzNG.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CyQ13mJl-CAv47_Mb.js → AccountReconDetailsDrawerPage-DYKjrPwN-BReGAKzb.js} +4 -4
  7. package/dist/assets/{AccountRow-pJ59k4-J-BFmtHL3N.js → AccountRow-BM3xLbeh-DwBWMEiu.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Ukdm1VDj-Dh0SxjJq.js → AccountsPromoCardStack-CTkwARBJ-Dqd8qLkS.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CZ9kZK-_-7zBs11LO.js → AddAddressForCardDrawer-DfOyebHX-BnGN6mbi.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bc0GY8mw-CwBrjgnk.js → AddToWalletPage-OJBvAKUj-CKSRCSe6.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Cam_Ox67-DaZT71t6.js → AgingReportsPage-n-UKn3Ei-CfeYGvlE.js} +1 -1
  12. package/dist/assets/{AllUserItems-CEBWfFac-DPOuER5U.js → AllUserItems-BsvKEVcx-Ckn7N6Nq.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-uy2AK45a-JhYM22T9.js → ApAgingDetailPage-Duu2uAEr-CuSndO2U.js} +2 -2
  14. package/dist/assets/{AppBasePage-BBolfeYB-CAoueBdK.js → AppBasePage-DoCF494Z-BPFvSn_P.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Df0b3OK2-CKxXRIrV.js → AppDrawerContent-DM1t0oLS-DX8gDdRy.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-ChI1Wnf--DELVy5mB.js → ApprovalRulesSettingsPage-GZCo6_i2-ClrA48La.js} +1 -1
  17. package/dist/assets/{ArAgingChart-PIQ_BFy4-YcKcd549.js → ArAgingChart-CsFDVdeO-C-RKv3GM.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DpdUPb6--BJoxfTPP.js → ArAgingDetailPage-CaOr6vAU-Dju9MqE9.js} +1 -1
  19. package/dist/assets/{AttachmentView-mC246Bpw-CT1OWA3c.js → AttachmentView-B0d42oAf-CFenLcCO.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DehqZ04x-BJbbHUH9.js → BankAccountSection-Bgdk93V0-DEu58Lvd.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-WkczfI75-p--soGkR.js → BankAccountWarningSection-DMRmF2yM-Bdqe05tT.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CCEKqkfW-CxNmb7UL.js → BankConnectionsSettingsPage-BpwKq93l-yFMdYswL.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DA1djKtd-CT6NN5ei.js → BillDetailPage-BG7FhHEq-CI73yv-V.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CLkMLaIk-DBi0iP3G.js → BillPayApprovalRuleDetailPage-BAK1Gfko-DXu3RSd8.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CZnYZ8cn-D3dv90TB.js → BillPayApprovalRulesPage-DiCNUU-G-CN0GV9DL.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-M3bRYehy-Bpwpx-W-.js → BillPayPromoPage-aGKOv8Ur-59DxEGOU.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CJyPhrld-BW-k6Cq5.js → BillPaySetUpPage-DRCjyEfB-CkG4ce3e.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CQngU3lq-DrWAQyUl.js → BillingSettingsPage-CdYb74V7-D26O7kQD.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DlAOz-SY-hKyZsi63.js → BillsBulkReviewDrawerPage-D8EGfY5P-BpW4NDmq.js} +1 -1
  30. package/dist/assets/{BoxItem-Cb4_ZBkK-xDHkx3mk.js → BoxItem-WOrvBzns-DD4R649W.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-D7btikKT-BPUDQBNI.js → BusinessVerificationPage-CbqJIVpz-BiQu25FO.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DQ6T2OKm-CtS54mYI.js → CardNumberSubText-DBOH0_yP-Be1TwMNo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-ToN5ueBt-BpzeYowT.js → CashbackDetailPage-D-kXy6LW-DDN4yxLo.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BYNjlLQX-smovJQ3p.js → ChargeCardDetailPage-BQnJsfn5-D6Qm3_DY.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-CTG6bNbA-DN4yg5h2.js → ChargeCardListPage-130ILwkr-xWvWRUI-.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BRAAvmWW-BCMrKmLw.js → ChargeCardListTable-EGkwcy7i-Gk77wXoS.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-xhEvT_sU-D7VUd9Kw.js → ChargeCardPromoPage-BwqrXrY--B5or9kQv.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-Be89R3A7-BvY-IfNf.js → ChargeCardSetupPage-DRzB7Rt4-SAR76aeK.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-CFNCOiLr-DDhNhCxi.js → ChargeCardStatementsPage-C3NxKjmB-Bqdh-I41.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-Cy0NVgKc-D8fpunhe.js → CheckDepositDrawerPage-ClxKj2js-BOLtAKO1.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-CrR91Kpi-DnJZSUDi.js → CollapsableReportTable-xkNXkjfh-CuBOzrbM.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-4FjXy6T9-CStOu48U.js → CompanyOfficerDetailsSection-BtUBatbQ-CS2katNY.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-Bv6Aws7i-dO40WjmK.js → CompanyPassportCard-BOxM716U-DxvRrHgL.js} +2 -2
  44. package/dist/assets/{CompanyPassportPage-DRhnOgdd-BOnCftvv.js → CompanyPassportPage-DzE7sm8S-ZZY5euQN.js} +13 -13
  45. package/dist/assets/{CompleteProfile-CdVQdaB0-CLoHBDqw.js → CompleteProfile-BjGSPASa-Bfp0I59Q.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Cygb8bhF-CpMHcY5K.js → ConfettiBurst-1rYKpbAj-DHWZb_DF.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-_jZBL7C2-BT5eOx4Y.js → CreateOrEditVendorPage-WQeDCj-E-ZLNX3FBX.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-CWF47Q9G-lJ5s9KFG.js → CreditCardPaymentDrawerPage-Q12y6HMX-CRUPlZFr.js} +101 -101
  49. package/dist/assets/{CurrencySelectField-ppkSKTpN-BC31P_0q.js → CurrencySelectField-AjAWhg6e-h8iODRHM.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DbaC9Uy1-BzvBGrNi.js → CustomerOnboardingActivationPage-BJhw-PvI-DfxjHeaa.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-C9radmIS-D7esgWyy.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-5PeyznvM-B8Mhh2k2.js → CustomerOnboardingDetailPageSkeleton-B0WzN1Sx-A_sh3_b9.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-CWvaI2vY-BkjuYe-o.js → CustomerOnboardingNoStepsPage-CNni6chX-DEHNST6I.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-DWmMR5Ke-C-0daaby.js → CustomerOnboardingPage-CvN9Jrdy-BbxW7een.js} +4 -4
  55. package/dist/assets/CustomerOnboardingProductSuitePage-CZkX9ur7-CVf3ueoc.js +202 -0
  56. package/dist/assets/{Dashboard-CJSMYKO7-S41CzF6L.js → Dashboard-_o0Ftdv8-B4FMEqu7.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-CcY-7-W_-DdmW4wbH.js → DashboardReportPage-Cu5wqWkj-BjOABFkU.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-D3qI_q0a-iCovmnlW.js → DashboardSidebarBackgroundAnimation-Bl8Ss6Gf-1uwRQXQg.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-BpbS0SRE-NmcXTIJb.js → DepositAccTransactionItem-BOPK7-7P-CmYSzV4w.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-C1EuUbFg-CI8oEH7-.js → DepositAccTransactionListPage-oj9tntbI-CMORNmGB.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-DTrY_uHQ-CknHfbIJ.js → DomesticWireDetailsPage-FGdEilUB-BIDfGIPL.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-gRH0FIa6-e2777Hoq.js → DownloadOverlay-c57lEf_V-BH-A5hnp.js} +1 -1
  63. package/dist/assets/{DrawerPage-gsfboWa--D8_bnW1E.js → DrawerPage-inbhWwND-BaLC0Hdr.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-D3GenIke-s4IX6oMr.js → EditPeoplePage-DJthuIP4-Ccr8TbIs.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-CC4JbXua-Dip_aVtM.js → EditReimbursementDetailPage-Bt7XKq5h-BcSPiJVn.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-dZ-H_-kO-B3yxSec8.js → EntityDetailPage-DbTiF9Hs-DOWN_WQU.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BaSzuw3T-DJX_ZTYK.js → EntitySummarySection-CHgrPo86-C_DZGpt7.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CtBVIXza-8HVAkTgZ.js → ExpenseAutomationOverviewPage-QZT_UFXf-Q6Yezq8W.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-BByZfMUo-Bp9htN-p.js → ExpenseAutomationPage-Y7V_Z8rd-Nz-tHH0P.js} +36 -36
  70. package/dist/assets/{ExpressPayPage-Dx4Cc9w2-5nFukiXm.js → ExpressPayPage-CIp_R6ZQ-SvQXytoV.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-Us5W5Wo9-CTfS268U.js → FeaturePreviewPage-qsUO3mUu-CQPzEAZz.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-DDXRZdXi-BkUwTVWQ.js → FollowStepsSection-ebmR-eLP-CCCIBkct.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-Ou4B6O28-Cj-vrRvJ.js → GlobalReviewListPage-9V-xoqvs-O56nx8QU.js} +1 -1
  74. package/dist/assets/{InformationCardStack-DEj81xCg-BlO4gF2p.js → InformationCardStack-DnB7TmOk-BJQfDBIj.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BSigEuRs-DrhT2GS8.js → InsightsCardStack-BBczCYEz-CM9k6Dqk.js} +5 -5
  76. package/dist/assets/{InsightsSection-BrjpMz4X-DExiKNju.js → InsightsSection-BTXj5WUe-BehAISJe.js} +5 -5
  77. package/dist/assets/{IntegrationsSettingsPage-BEBtsJ8z-BJ7jcJB8.js → IntegrationsSettingsPage-CByj2tO4-zF-3f5Vb.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DqTA5UPe-CmHr1otA.js → InternationalWireSwiftDetailsPage-4-pl1ozv-BL59ObmT.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-CGLyTJOX-CNAH8NOm.js → InternationalWireVerificationPage-kIajgPZt-Cim3HMUE.js} +1 -1
  80. package/dist/assets/{InviteFormPage-CHZVhrof-Ctwgv0tR.js → InviteFormPage-XsnZcAvb-F0roB33R.js} +1 -1
  81. package/dist/assets/{InvitePageListView-B0aN2fz0-C_ebzQNV.js → InvitePageListView-HfsehyxK-ADhebkRn.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-DLPupvdi-DD0j_YWt.js → InvitePeoplePage-DrBtwpMH-D70ug1bL.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-COIpUGEB-wLZvdMHG.js → InvoiceUploadSection-DPd4VmqZ-BLpPijn4.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-6LWMwuaq-BfBIAKq3.js → IssueChargeCardPage-xbfFhV0O-D87TKikm.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-BOPQCQtK-glMgUt5i.js → LabeledAddressValue-CB_KH7v5-DhXcxbM6.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DxybAWPO-DIu3ggxx.js → LabeledAddressValueField-Bt41wdNQ-CdN5suyF.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-BSciMX7_-DpOi6Pih.js → LabeledControlledCheckBoxField-Btw_zwzy-I7spg7Dx.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-q23ARfG8-CRQFWLML.js → LabeledCreatableSingleSelectField-fycRE7PX-BLM_4t-_.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-Icg5_obX-DhGSKEqK.js → LabeledDocumentField-C73vQNgq-xVgwP02Y.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-BiJOzT5B-urCKQV5c.js → LabeledDropDownFormattedTextField-DGb_bDyp-DbOxXrX_.js} +1 -1
  91. package/dist/assets/{LabeledText-Tn7u-Ek3-DOKeDUtN.js → LabeledText-yhm8qxrA-B5O06POj.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B_MWazM_-Deht3VPb.js → LabeledUserSingleSelectWithSubtitlesField-CgA4UPJh-BYzGVtZI.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-DyCxNVQD-CDJPm5Uy.js → LabeledZeniRolesDropDownField-DGkU72cd-iMLOxXqS.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-NXVaaeQn-Dc1IDF_5.js → LinkJETransactionPage-C0onrP5t-DohOtG77.js} +1 -1
  95. package/dist/assets/{LockCardPage-DFFQF_XE-ZW7dAknw.js → LockCardPage-DaVzuRMw-C59qINIA.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-T5Ms2v-E-DO0_djob.js → LowBalancePopup-Dd9HLWlh-qIEjt8fN.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-Cpde2XoD-JoGWlKNi.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-DQYH52_8-Clx_7zaI.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwBUSxwe-x_28I9nn.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-BU8oXuny-C8cR1VFE.js → MagicLinkSuccessPage-DbhdGmhh-DNYzgAJU.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-kbY8yTTa-9EHeM1LM.js → MagicLinkTitleSection-Bx92291D-D9nsnbMt.js} +1 -1
  102. package/dist/assets/MailingDetailsSection-D-tnK244-BXHufBP2.js +21 -0
  103. package/dist/assets/{Menu-DTdVYIrC-BIdLGG6J.js → Menu-0YHUdU0n-12P5RljB.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-B67G0-7Z-n6eVqpf_.js → MyBankConnectionsSettingsPage-Dn9AT8p1-BbviCBBU.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Cbap6Vpr-CSFLEHXK.js → MyPendingActivationChargeCardListPage-DrQu6s7j-DI8j4Roq.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-TqtGXk0G-LTkAmfNQ.js → MyProfileSettingsPage-CBvjEd7r-B3f0C00b.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-C4_SW0nA-DEnXFLuU.js → NavBarWithPicker-aXn2QYh1-CB_AN-HG.js} +1 -1
  108. package/dist/assets/{NavigationArrow-6jp6I9fp-c3H2_Bem.js → NavigationArrow-JLUXaIrz-BZffLUxV.js} +1 -1
  109. package/dist/assets/{NavigationDots-BSjG6OlY-Buo2a5d0.js → NavigationDots-B0_dDbgu-D1euhRa0.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-BXM36kwh-Cd4H2AF3.js → NewGlobalMerchantPage-B_019EtP-Cnin4QvT.js} +1 -1
  111. package/dist/assets/{NoDataChart-CRhOisS1-BTCCqtJ6.js → NoDataChart-DLKHNXD4-CdqcDLeH.js} +1 -1
  112. package/dist/assets/{NoDataTable-bIZY56VS-ccYortqh.js → NoDataTable-BMD2qygC-4Ck98ufk.js} +1 -1
  113. package/dist/assets/{NotFoundPage-Y4UqiUrL-Dl07MVyQ.js → NotFoundPage-BEya4LS2-BrCuBa4j.js} +3 -3
  114. package/dist/assets/{NotificationSettingsPage-Ct1wYM98-cHt-xjmV.js → NotificationSettingsPage-C9SjRKCu-Du1Cf4y_.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-tD8IFVDs-CZIDK_9u.js → NotificationsListConfig-OCeJNw1G-DxjI9EUe.js} +1 -1
  116. package/dist/assets/{NotificationsPage-C8PlG40Q-CVuSfSFc.js → NotificationsPage-FJHx_WBG-TAfeF35H.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-B5dz3g_I-CwduKJys.js → OpExByVendorPage-Dxk68R6U-TSpF0BZT.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DCcii6jR.js → OverlayContainerPage-Daz3A7cI-BG61qzjJ.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-BzeV5E9J-BCbR55BC.js → PandLWithForecastPage-Bu49FbWD-DV8somvz.js} +4 -4
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C7ucXP-C-vD6tp49H.js → PaymentAccountSetupBillingAddressSection-s9EEHxoG-Ccng4Jbq.js} +1 -1
  121. package/dist/assets/{PeoplePage-Di9LbUPG-Da8rtaKy.js → PeoplePage-DN5VtG7Q-CKG_6p7l.js} +1 -1
  122. package/dist/assets/{Preview-tV-yCjmx.js → Preview-8iqIdVv4.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-IX34mwaP-9RoB5Xfe.js → ProductsCarousel-6gthLCkf-RpcyX94H.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-DKl5hmY7-DihqgpsA.js → PromoBaseCards-CzPzj69A-DGTVwpLe.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-CFgV4ltt-DFaL9t9h.js → QBOConnectionDialog-BFy0lMZd-D5AhMSo8.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-3Igwysxj-wURB4Ues.js → QBOSetupSection-DcLYyQ5m-DYCAROkc.js} +7 -7
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-0o5lDuM2-Cr0TZK-s.js +26 -0
  128. package/dist/assets/{ReimbursementApprovalRulesPage-CUQt2z6s-CacQtgTe.js → ReimbursementApprovalRulesPage-D5ZMrrmO-CIYzhtUg.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-CgwRpLnh-BB4SRwDm.js → ReimbursementDetailPage-DatcF8rt-B5PSoIBr.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-BxBAhFM1-BF6hJaxb.js → ReimbursementPromoPage-MweW-4DO-BO5Os0EF.js} +4 -4
  131. package/dist/assets/{ReimbursementSetUpPage-CP8WtKvQ-CigASL8Y.js → ReimbursementSetUpPage-BD2LWlbW-YI084Mlh.js} +1 -1
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Ir7LV3Qg-Dnq7FHvk.js → ReimbursementsBulkReviewDrawerPage-DV_PLm_g-CdjeW3Za.js} +1 -1
  133. package/dist/assets/{ReloadCard-DLKVg3Sx-raifO-B_.js → ReloadCard-9KpQCrce-Y78Zw9cJ.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-BlpUjTMl-C-RA5eDL.js → ReportTableViewSelector-BPliEsuo-CZegsDsW.js} +1 -1
  135. package/dist/assets/{ReportsPage-D-4SKTVF-DBO0HPPe.js → ReportsPage-h2DAaQfK-Dj7aDDw4.js} +5 -5
  136. package/dist/assets/{RevenueChart-C3cckydL-DuMhXuaA.js → RevenueChart-DY2s_upY-DFXm-6Am.js} +1 -1
  137. package/dist/assets/{ReviewDetailsPage-Df882foz-DSNm6Tvp.js → ReviewDetailsPage-BiYxRnvA-cVXSS1nN.js} +1 -1
  138. package/dist/assets/{ReviewOverlay-n3lZIztC-Jt6HA3yk.js → ReviewOverlay-BvPN7IKD-BVyGsnOK.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-jGxjGCFo-Cfrtl2v2.js → RoleWithToolTip-aW95rpRe-D_rCTb4X.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-cVGyXDC1-BNedCqMx.js → ScheduleDetailsFixedAssetsPage-DlXqz1QQ-CI8b87nD.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsPage-Dcl5GREY-Ct_YcYBo.js → ScheduleDetailsPage-DebosLND-CytjKLyD.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-CkqvmnzR-ChIiKEV4.js → ScheduleSequenceTable-Dd4Ep_c0-CndtHY8m.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-B-IHS-7V.js → ScreenRoutes-CrZHoFIY.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-bKk_0Pau-Bgf6Zs6Q.js → SetUpAccountSection-Dhb8A0Oe-CHZzV0W4.js} +1 -1
  145. package/dist/assets/{SignIn-BZXzRb1K-B_z9rDGz.js → SignIn-DQBJB5ad-yHNBe1dm.js} +1 -1
  146. package/dist/assets/{SignInScreen-aZSIS5dr.js → SignInScreen-B08t21nJ.js} +1 -1
  147. package/dist/assets/{SpendManagementListViewPage-jdvSYQ4J-C-TI7b_0.js → SpendManagementListViewPage-Ac-9u-X2-ConJ7IhF.js} +3 -3
  148. package/dist/assets/{SpendManagementPerTabPage-BlyFIn6o-CDHF62oQ.js → SpendManagementPerTabPage-DgrMAQ8l-CwC7irjo.js} +1 -1
  149. package/dist/assets/{SpendManagementSection-Dzlokoym-DFpoafz0.js → SpendManagementSection-Ci2yOCJ9-DUAKhgdu.js} +1 -1
  150. package/dist/assets/StatementItem-hcBoe79o-BTjI_1ZK.js +31 -0
  151. package/dist/assets/{StatementsPage-Cw6GRd81-ChCacJhz.js → StatementsPage-DVR5LhTi-ldyTOd7O.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-CcLiXtx4-f9qUB_aI.js → StatusSwitcher-Cy5ITFgi-DNMieZwF.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-zpnLoSBy-DHPyjZjM.js → SubTabSwitcher-DhsES2OW-DrYqVYfO.js} +1 -1
  154. package/dist/assets/{SummaryCard-C2KHXXwg-D6dUyKsz.js → SummaryCard-Byv4Hw8Q-CEnhPnYc.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-C3M_HCXR-DTuYPwo5.js → TaskManagementPage-CVXMOPf2-q63kh_yR.js} +1 -1
  156. package/dist/assets/{TimeRangeSwitcher-COHAPH9b-d1DuuIDi.js → TimeRangeSwitcher-jct2_5PE-DPu4jgs4.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-5ql0bSzz-Bs-WyJqF.js → TimeframeSwitcher-BK-qliOX-BjbSBToW.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-BXSkHN5Y-DtM__aUW.js → TimeframeSwitcherWithToggle-Cl6ISBIz-3_smJQH4.js} +2 -2
  159. package/dist/assets/{TopExCard-BrodwfJq-BuNuom9E.js → TopExCard-o4Q3ze1b-CQFtRtLu.js} +1 -1
  160. package/dist/assets/{TopExDetailPage-B8-Zzr1B-CRfyljYM.js → TopExDetailPage-BsCwwwDi-CdmjqJ_1.js} +5 -5
  161. package/dist/assets/{TransactionDetailPage-D8v3KPrb-BrPGsz8W.js → TransactionDetailPage-rpCG65yC-CLh205i5.js} +1 -1
  162. package/dist/assets/{TransactionList-DMb2xYOV-CraifWnm.js → TransactionList-YI4oZaim-xbjxS_zo.js} +1 -1
  163. package/dist/assets/{TransactionListBig-dUBjAacV-DC5_6EqD.js → TransactionListBig-D_Jw9Ip2-Bz8jw08Q.js} +5 -5
  164. package/dist/assets/{TransactionListPage-x0r04hx4-ByjUdu-s.js → TransactionListPage-B2yWm7eA-DCySOEer.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-BqjeDf6Q-Dzq8RIOd.js → TransactionVendorDetailPage-Dr5C4-7q-BPGPWJM6.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-LppLtT6A-9tQ3RVxi.js → TransferDrawerPage-BnEVH7Mc-C6QWMjAo.js} +1 -1
  167. package/dist/assets/{TreasuryOverviewPage-DNoQLXPn-DtJgqzkX.js → TreasuryOverviewPage-C927Rdkg-PWkTzy8N.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage--MgysW-J-BnZiQCLe.js → TreasuryPromoPage-C6D3bF2f-xmypxDfH.js} +1 -1
  169. package/dist/assets/{TreasuryStatementsPage-DRPB8HzF-D1pupcJw.js → TreasuryStatementsPage-BE54gWl6-BusQnftI.js} +1 -1
  170. package/dist/assets/{TreasuryTaxLetterPage-BeeNFRtm-BSH1fBvD.js → TreasuryTaxLetterPage-BaHut8Wc-DaO1lvfz.js} +2 -2
  171. package/dist/assets/{TrendChart-C7DgNHh6-CJUZv0E3.js → TrendChart-BI4Tz813-BMzjSOb0.js} +1 -1
  172. package/dist/assets/{TrendWithTransactions-CpQPkCN4-C20sTqz7.js → TrendWithTransactions-BicIDSlC-GPxD5Pyy.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-f9xrtur3-C6VmI6RW.js → UncategorizedAccountsMappingPage-sbn4Sdr2-CCtQxv0E.js} +5 -5
  174. package/dist/assets/{UnitIntegrationPage-SiS8CA0g-CWR3OzFU.js → UnitIntegrationPage-CZUyjeh5-DYAwrSQY.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-Djnl6dYH-B9X_EH8P.js → UploadAdditionalDocumentOverlay-4AWDV_HK-CxD_HluI.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-CYwD3yQ8-C90N1LpP.js → Vendor2FAPopup-C_PmEAQ7-BaU4ZlJ1.js} +1 -1
  177. package/dist/assets/{VendorACHDetailsPage-ChZp1Db0-Cse3K9q8.js → VendorACHDetailsPage-DMMoCytX-D-f3jOPl.js} +1 -1
  178. package/dist/assets/{VendorDetailPage-CG0SxxIa-DRDl0JtE.js → VendorDetailPage-CLFKkF8I-DlccPRJ1.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-WxmpwlTS-CXFWxa5o.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DQs8RP_2-BUbnv_T9.js → VendorFiling1099EditablePage-CrWrhHZl-MLHVoFXe.js} +1 -1
  181. package/dist/assets/{VendorFirstReviewPage-XaE6ddOQ-rVweCi-_.js → VendorFirstReviewPage-C6MnbIan-CvuNZRdM.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CT75sZ0O-CdoJJkNf.js → VendorInternationalWireDetailsPage-CzPRK4E2-DP27a23P.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BBYmlLxN-CGwvkONg.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection-C9NkRN0p-B0pCAjM_.js → VendorsAccountsSection-CVh1n81R-CZE2h2vy.js} +1 -1
  185. package/dist/assets/{VerifyDevice-c6uTgDIl-CbEOfzzD.js → VerifyDevice-BHocExfO-CXvB8GAp.js} +1 -1
  186. package/dist/assets/{VideoPlayer-BgTXP1p7-Cluk8mf7.js → VideoPlayer-9rYRtSLf-C_MG4aUQ.js} +2 -2
  187. package/dist/assets/VideoPopup-D1o92dj6-Dti5suvC.js +31 -0
  188. package/dist/assets/{WarningsDrawerPage-BS-TFvBs-DNJve9qV.js → WarningsDrawerPage-CzufXgaN-BVjYF7DU.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-CSVQF6vO-BffDIt1S.js → ZeniAccountDetailPage-ZZ3Ra-Jf-_49Q_UUx.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage-BVGsjSB2-BZPNsiNG.js → ZeniAccountListViewPage-Cxid0mfh-Bo45T4Gx.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-B1l8Hjdg-CBpgN60Q.js → ZeniAccountNavBarPieces-DDc-xph4-CzcxivOl.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-s-QGT-pZ-4BJMfYD4.js → ZeniAccountPromoPage-YIYFkPIB-YhnencbA.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-CqXokSq4-D67zlWge.js → ZeniAccountSetupPage-BJ9UJ0dP-yNigxq0M.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-_f5jw1U0-Cm_sE86z.js → ZeniCopyright-CztmWsFm-x7y7hEtI.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-yvd98l69-CXQir1uN.js → ZeniTransferAmountSlider-g9qU5Lsq-BdpWeRuR.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-DcIDYSUN.js → add-to-wallet-DgdBD8_G-CnbN5S25.js} +1 -1
  197. package/dist/assets/{analytics-A_-qSDYO.js → analytics-C6bOaJY9.js} +1 -1
  198. package/dist/assets/{analyticsHelper-BvohFLdK-Dzhl4b0m.js → analyticsHelper-D4lKCWjQ-7uZfvraO.js} +1 -1
  199. package/dist/assets/{analyticsHelper-z7zDW-m3.js → analyticsHelper-Dyr99-JR.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-Bjs-Qn41.js → arrow-south-east-round-PEovUgvH-D0tcq0ac.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-DwSG-0Tc.js → auto-transfer-rule-mbafm5D3-C5MrpFJF.js} +1 -1
  202. package/dist/assets/{chartTypes-h1GkAvwh-FT7wGKaw.js → chartTypes-BPPSjkhb-H7A_cnp3.js} +1 -1
  203. package/dist/assets/{commonDimensions-7B20r1RL-_hVmC3-Q.js → commonDimensions-Ds75pRzR-DJ4H9OI5.js} +1 -1
  204. package/dist/assets/{constants-BJHEKrOg.js → constants-DNQWEIo3.js} +1 -1
  205. package/dist/assets/{core-CIAE9Iou.js → core-BiYEzgTE.js} +1 -1
  206. package/dist/assets/{dash.all.min-OQiut6fg.js → dash.all.min-CNiNGlQC.js} +1 -1
  207. package/dist/assets/{detailCommon-C28aeDGm-BwKr3Jwq.js → detailCommon-DdZdfmYT-DWQ_1h8d.js} +5 -5
  208. package/dist/assets/{downloadPdf-D1MhyCE3-BRAULud8.js → downloadPdf-B8UMaJCC-BA2fFFfC.js} +1 -1
  209. package/dist/assets/{empty-qC9xuHfK.js → empty-B0QxjPHg.js} +1 -1
  210. package/dist/assets/{empty-Cz51lwOs.js → empty-D0VQVmJ6.js} +1 -1
  211. package/dist/assets/{epic-DhKV_nq7.js → epic-BPfIZ-JM.js} +1 -1
  212. package/dist/assets/{gift-box-Cmt9OgIZ-C3WoTp93.js → gift-box-Cmt9OgIZ-DZtTQChg.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BJxMLkUg.js → graphic-no-data-l-DU4J8fDt-D9COe3MR.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D-qWdRKa.js → graphic-no-data-net-burn-l-CzmycA0m-CnFblD9c.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-WPUTSbks.js → handshake-BPg58FML-Dk4MbD0e.js} +1 -1
  216. package/dist/assets/{index-4PNYlcwA.js → index-BBJ8MbHB.js} +9 -9
  217. package/dist/assets/{index-DhrgV_ix.js → index-BLOT0kav.js} +1 -1
  218. package/dist/assets/{index-DRnHG-3E.js → index-BWdq4kfG.js} +1 -1
  219. package/dist/assets/{index-CGQmgJEE.js → index-Bl0eTNht.js} +1 -1
  220. package/dist/assets/{index-MXpgXI6y.js → index-CmMi38cf.js} +1 -1
  221. package/dist/assets/{index-Bu7tM8jp.js → index-D66eZF3S.js} +1 -1
  222. package/dist/assets/{index-Dvl7ZPqE.js → index-QkeEXb1H.js} +1 -1
  223. package/dist/assets/{lexical-D0mgjaqy.js → lexical-Cbl76XZt.js} +1 -1
  224. package/dist/assets/{liveblocks-B2g7ROdB.js → liveblocks-BstIT-4Z.js} +1 -1
  225. package/dist/assets/{lottie-DvUF1pax.js → lottie-Dcr3TlBE.js} +1 -1
  226. package/dist/assets/mapLoadingInProgressToTreeNode-DGRrn6kh-B7ARKarP.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtwKYRnC-Caj3kiPo.js → mapSectionWithAcOnlyToTreeNode-rrJBbsC8-DldkvgD3.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-CWvamMX2-8qhsm047.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-DfQk4Tsr-CLPrV0Gx.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-_jEVk1uh-Dt-fMHUy.js +1 -0
  231. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dscp66eK-lBQd2IWW.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DCb9paz3-BVNM6n_o.js} +1 -1
  232. package/dist/assets/{mui-o4KTDVYm.js → mui-CqcpY1UR.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-CPwel8vo.js → page-detail-CWX5S47F-KNgKNFoz.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-CywL4kIK.js → radio-default-CiSgisfh-yEV1b0CM.js} +1 -1
  235. package/dist/assets/{react-BCcPfS1c.js → react-4Ya91sN5.js} +1 -1
  236. package/dist/assets/{react-Z5v0eeyD.js → react-B4eK6Gcb.js} +1 -1
  237. package/dist/assets/{react-NUTeTPEN.js → react-BPBfJ6wZ.js} +1 -1
  238. package/dist/assets/{react-CXz3KePA.js → react-BR4cTFeR.js} +1 -1
  239. package/dist/assets/{react-BYU6BCD1.js → react-CAF4_aM2.js} +1 -1
  240. package/dist/assets/{react-CCHDJHXq.js → react-CG2AEOc2.js} +1 -1
  241. package/dist/assets/{react-BSMWc32-.js → react-CHCFBd-l.js} +2 -2
  242. package/dist/assets/{react-lMeFMTFb.js → react-COBWBcIx.js} +1 -1
  243. package/dist/assets/{recharts-BJmPBfq4.js → recharts-bDaLwU4I.js} +1 -1
  244. package/dist/assets/{sentry-CjZuZb_k.js → sentry-CTfRDee5.js} +1 -1
  245. package/dist/assets/{shield-DOlUxcFf-DKVN6gSI.js → shield-DOlUxcFf-CaZu4NEg.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-CkjRB0sJ-DDXgenlP.js +1 -0
  247. package/dist/assets/{toChartData-BYQCR1Q4-DFPuCktO.js → toChartData-CMi2WgAy-Bk_h1ue0.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-BQ2O_9lU.js → transaction-placeholder-CpOwZAMG-DpKoIbbu.js} +1 -1
  249. package/dist/assets/{uploadAttachment-Cs2BAs2F-D_wyMmah.js → uploadAttachment-B4ddYCCL-B4kq7cBL.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-CVPftMJd.js → uploadReceipts-CPw64UYa-DdOlSolA.js} +1 -1
  251. package/dist/assets/{url-caPnqlhh.js → url-BPLyW2rO.js} +1 -1
  252. package/dist/assets/{url-BjWWFI3O.js → url-DI6ZTkbp.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-D6HBn4oj.js → useLongPress-GCK2COYQ-DwbMzQIX.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-C1bodntP.js → usp-line-BBd1wKwW-CG6D_gsM.js} +1 -1
  255. package/dist/assets/{utils-BdW9S11I.js → utils-BI6ira9J.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-DJnPqdxc.js → zeni-epic-state-n7oqKrUc.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +2 -2
  259. package/dist/assets/AccountInfoPage-CDn5K_o2-641sWKgU.js +0 -18
  260. package/dist/assets/CustomerOnboardingContainerPage-qmrLtjkH-BEltfCv2.js +0 -1
  261. package/dist/assets/CustomerOnboardingProductSuitePage-CEOJEMdY-ntP-LOfn.js +0 -202
  262. package/dist/assets/MagicLinkACHDetailsPage-DtxKOlmX-C3DvZH5g.js +0 -1
  263. package/dist/assets/MagicLinkDomesticWireDetailsPage-C7DsI3GD-DonhhvUC.js +0 -1
  264. package/dist/assets/MagicLinkInternationalWireDetailsPage-BQtq93Cv-Cdv7ebZp.js +0 -1
  265. package/dist/assets/MailingDetailsSection-CMekdUCQ-xJE41G8i.js +0 -21
  266. package/dist/assets/ReimbursementApprovalRuleDetailPage-gUzCi41q-KVZqQggT.js +0 -24
  267. package/dist/assets/StatementItem-BMV39A0D-BrJFdPY2.js +0 -31
  268. package/dist/assets/VendorDomesticWireDetailsPage-Dfawpwuo-BLDa-BWv.js +0 -1
  269. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CBKqnkvK-Bir8wvug.js +0 -1
  270. package/dist/assets/VideoPopup-BD0vmbkL-D5UO4z6F.js +0 -31
  271. package/dist/assets/mapLoadingInProgressToTreeNode-B5fs_QGb-BbA7RFsu.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-BufNagSk-TTaGXpmE.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-BHbBvkxK-C7-N1YyL.js +0 -1
  274. package/dist/assets/mapTimeframeBalancesToTreeNode-BOahnk__-RnE09Z0i.js +0 -1
  275. package/dist/assets/toCOABalancesWithID-DScSc4rG-Bzsy78A1.js +0 -1
@@ -1,5 +1,5 @@
1
- import{d as j,q as L,V as t,bz as S,b1 as z,o as r,F as I,p,cq as P,y as T,c as h,ak as C}from"./index-4PNYlcwA.js";import{a as m}from"./sentry-CjZuZb_k.js";import{n as o}from"./mui-o4KTDVYm.js";import{$ as D}from"./BoxItem-Cb4_ZBkK-xDHkx3mk.js";import{o as E}from"./commonDimensions-7B20r1RL-_hVmC3-Q.js";import{O as B}from"./StatementItem-BMV39A0D-BrJFdPY2.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./downloadPdf-D1MhyCE3-BRAULud8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="82cc4827-bef4-4349-b79d-d67e9fda06d3",e._sentryDebugIdIdentifier="sentry-dbid-82cc4827-bef4-4349-b79d-d67e9fda06d3")}catch{}})();const b=I.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=L(),g=m.createRef(),y=m.useRef(),$=n.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:D(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(S,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(q,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,x=o.div`
2
- margin: ${e=>`${r.sp0} ${f.listItemMargin.valuePx(e.windowSize)}`};
1
+ import{d as j,q as L,V as t,bz as S,b1 as z,o as r,F as I,p,cq as P,y as T,c as h,ak as C}from"./index-BBJ8MbHB.js";import{a as b}from"./sentry-CTfRDee5.js";import{n as o}from"./mui-CqcpY1UR.js";import{$ as D}from"./BoxItem-WOrvBzns-DD4R649W.js";import{o as E}from"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";import{O as B}from"./StatementItem-hcBoe79o-BTjI_1ZK.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./downloadPdf-B8UMaJCC-BA2fFFfC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="4920d3bb-1e72-4eb5-8447-49736b6077b0",e._sentryDebugIdIdentifier="sentry-dbid-4920d3bb-1e72-4eb5-8447-49736b6077b0")}catch{}})();const m=I.getLocalizedStrings().spendManagement.treasury.taxLetter,u={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:w})=>{const g=j(),i=L(),f=b.createRef(),y=b.useRef(),$=n.taxLetters.length===0,k=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return $===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:D(s,n.taxLetters.length)},d.id)}):t.jsx(M,{style:{...l},children:t.jsx(R,{children:t.jsx(x,{windowSize:i,children:t.jsx(N,{children:m.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(S,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(q,{ref:f,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},M=o.div``,x=o.div`
2
+ margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
5
5
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{F as k,V as n,d as _,b1 as I,b as j,aV as P,aM as Y,o as L,p as R,ak as z}from"./index-4PNYlcwA.js";import{a as v,w as A}from"./sentry-CjZuZb_k.js";import{F1 as m}from"./zeni-epic-state-DJnPqdxc.js";import{d as B,g as M,p as D,u as O}from"./chartTypes-h1GkAvwh-FT7wGKaw.js";import{n as $}from"./mui-o4KTDVYm.js";import{o as V}from"./toCOABalancesWithID-DScSc4rG-Bzsy78A1.js";import{V as q}from"./toChartData-BYQCR1Q4-DFPuCktO.js";import{H as K,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-BJmPBfq4.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="aa566ff4-4bf0-4879-a268-b473180ff3fa",e._sentryDebugIdIdentifier="sentry-dbid-aa566ff4-4bf0-4879-a268-b473180ff3fa")}catch{}})();const Q=$.div`
1
+ import{F as k,V as n,d as _,b1 as I,b as j,aV as P,aM as Y,o as L,p as R,ak as z}from"./index-BBJ8MbHB.js";import{a as v,w as A}from"./sentry-CTfRDee5.js";import{F1 as m}from"./zeni-epic-state-n7oqKrUc.js";import{d as B,g as M,p as D,u as O}from"./chartTypes-BPPSjkhb-H7A_cnp3.js";import{n as $}from"./mui-CqcpY1UR.js";import{o as V}from"./toCOABalancesWithID-CkjRB0sJ-DDXgenlP.js";import{V as q}from"./toChartData-CMi2WgAy-Bk_h1ue0.js";import{H as K,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-bDaLwU4I.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="9e582072-278e-44db-a72b-8a25dd725314",e._sentryDebugIdIdentifier="sentry-dbid-9e582072-278e-44db-a72b-8a25dd725314")}catch{}})();const Q=$.div`
2
2
  display: flex;
3
3
  `,Z=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as H,V as i,m as z,o as r,F as D,b1 as q,aM as y,y as c,b5 as I,D as E,c as a,ak as V,L as A}from"./index-4PNYlcwA.js";import{a as k}from"./sentry-CjZuZb_k.js";import{n}from"./mui-o4KTDVYm.js";import K from"./TrendChart-C7DgNHh6-CJUZv0E3.js";import{C as W}from"./NoDataChart-CRhOisS1-BTCCqtJ6.js";import{q as X}from"./InsightsSection-BrjpMz4X-DExiKNju.js";import{f as Z}from"./TransactionList-DMb2xYOV-CraifWnm.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]="c303ecba-760e-4bae-be0d-5290a3b6135c",e._sentryDebugIdIdentifier="sentry-dbid-c303ecba-760e-4bae-be0d-5290a3b6135c")}catch{}})();const G=n.div`
1
+ import{q as H,V as i,m as z,o as r,F as D,b1 as q,aM as y,y as c,b5 as I,D as E,c as a,ak as V,L as A}from"./index-BBJ8MbHB.js";import{a as k}from"./sentry-CTfRDee5.js";import{n}from"./mui-CqcpY1UR.js";import K from"./TrendChart-BI4Tz813-BMzjSOb0.js";import{C as W}from"./NoDataChart-DLKHNXD4-CdqcDLeH.js";import{q as X}from"./InsightsSection-BTXj5WUe-BehAISJe.js";import{f as Z}from"./TransactionList-YI4oZaim-xbjxS_zo.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]="7cc621b4-06a1-471a-8f1b-643b67701dfe",e._sentryDebugIdIdentifier="sentry-dbid-7cc621b4-06a1-471a-8f1b-643b67701dfe")}catch{}})();const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hM as rn,m as un,aO as pn,fs as mn,F as H,hN as _e,y as u,ak as gn,o as a,cO as fe,aS as W,gG as te,hO as oe,hP as Z,hQ as xn,c as r,a as ye,p as Ae,g0 as Ve,ag as $e,bg as hn}from"./index-4PNYlcwA.js";import{a as Y}from"./sentry-CjZuZb_k.js";import{n as s}from"./mui-o4KTDVYm.js";import{FN as Te,Fs as bn,Ft as wn,FO as fn}from"./zeni-epic-state-DJnPqdxc.js";import{h as yn}from"./VendorsAccountsSection-C9NkRN0p-B0pCAjM_.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="59ef6682-e2de-4961-82ec-2729fbc11d99",e._sentryDebugIdIdentifier="sentry-dbid-59ef6682-e2de-4961-82ec-2729fbc11d99")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
1
+ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as je,cB as on,V as t,bz as cn,cm as sn,cn as an,co as ln,ab as dn,hM as rn,m as un,aO as pn,fs as mn,F as H,hN as _e,y as u,ak as gn,o as a,cO as we,aS as W,gG as te,hO as oe,hP as Z,hQ as xn,c as r,a as ye,p as Ae,g0 as Ve,ag as $e,bg as hn}from"./index-BBJ8MbHB.js";import{a as Y}from"./sentry-CTfRDee5.js";import{n as s}from"./mui-CqcpY1UR.js";import{FN as Te,Fs as bn,Ft as fn,FO as wn}from"./zeni-epic-state-n7oqKrUc.js";import{h as yn}from"./VendorsAccountsSection-CVh1n81R-CZE2h2vy.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a3ee32bf-e80d-4733-9e80-f02fc55bb5e4",e._sentryDebugIdIdentifier="sentry-dbid-a3ee32bf-e80d-4733-9e80-f02fc55bb5e4")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},qe={title:new ye("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -65,7 +65,7 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${a.sp2};
68
- `,X=(e,n)=>`${e}.${n}`;function On({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),O=o.billPayRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=fe(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(An,{windowSize:l,children:[t.jsx(In,{windowSize:l,children:c.billsSection.heading}),t.jsxs($n,{windowSize:l,children:[t.jsxs(Sn,{windowSize:l,children:[t.jsx(vn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Ln,{})}),t.jsxs(Rn,{children:[t.jsx(Cn,{windowSize:l,children:c.billsSection.title}),t.jsx(Pn,{children:c.billsSection.subTitle})]})]}),t.jsx(Mn,{children:t.jsx(zn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.billPayRecommendation!=null,name:X(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.billPayAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.billPayRecommendation!=null?{tooltipProps:{text:k},label:{label:o.billPayRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:X(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(X(e,"isRecommendedBillPayAccountChecked"))}}:void 0},X(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},kn=s.div`
68
+ `,X=(e,n)=>`${e}.${n}`;function On({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=C.labelWidth.value(l),z=o.billPayRecommendation!=null?[o.billPayRecommendation]:[],R=I(o.billPayAccountHierarchy,z,"Accounts"),O=o.billPayRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.billsSection.billPayExpenseAccount),$=o.billPayAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedBillPayAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=we(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(An,{windowSize:l,children:[t.jsx(In,{windowSize:l,children:c.billsSection.heading}),t.jsxs($n,{windowSize:l,children:[t.jsxs(Sn,{windowSize:l,children:[t.jsx(vn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Ln,{})}),t.jsxs(Rn,{children:[t.jsx(Cn,{windowSize:l,children:c.billsSection.title}),t.jsx(Pn,{children:c.billsSection.subTitle})]})]}),t.jsx(Mn,{children:t.jsx(zn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.billsSection.bankChargesAndFeesLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.billPayRecommendation!=null,name:X(e,"billPayAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.billPayAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.billPayRecommendation!=null?{tooltipProps:{text:k},label:{label:o.billPayRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:X(e,"isRecommendedBillPayAccountChecked"),defaultChecked:d(X(e,"isRecommendedBillPayAccountChecked"))}}:void 0},X(e,"billPayAccount"))})})]})]})}const P={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},kn=s.div`
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  row-gap: ${e=>P.rowGap.valuePx(e.windowSize)};
@@ -132,7 +132,7 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
132
132
  background-color: ${e=>e.theme.colors.grey5};
133
133
  border: 1px solid ${e=>e.theme.colors.grey3};
134
134
  border-radius: ${a.sp2};
135
- `,K=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),O=o.reimbursementsRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=fe(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(kn,{windowSize:l,children:[t.jsx(Tn,{windowSize:l,children:c.reimbursementsSection.heading}),t.jsxs(En,{windowSize:l,children:[t.jsxs(jn,{windowSize:l,children:[t.jsx(Fn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Vn,{})}),t.jsxs(Dn,{children:[t.jsx(Bn,{windowSize:l,children:c.reimbursementsSection.title}),t.jsx(_n,{children:c.reimbursementsSection.subTitle})]})]}),t.jsx(qn,{children:t.jsx(Hn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.reimbursementsSection.mileageLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.reimbursementsRecommendation!=null,name:K(e,"reimbursementsAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.reimbursementsAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.reimbursementsRecommendation!=null?{tooltipProps:{text:k},label:{label:o.reimbursementsRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:K(e,"isRecommendedReimbursementsAccountChecked"),defaultChecked:d(K(e,"isRecommendedReimbursementsAccountChecked"))}}:void 0},K(e,"reimbursementsAccount"))})})]})]})}const L={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new ye("standardMedium","largeMedium")},Nn=s.div`
135
+ `,K=(e,n)=>`${e}.${n}`;function Wn({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=P.labelWidth.value(l),z=o.reimbursementsRecommendation!=null?[o.reimbursementsRecommendation]:[],R=I(o.reimbursementsAccountHierarchy,z,"Accounts"),O=o.reimbursementsRecommendation?.account?.reason??"",k=c.tooltip.replace("__based__",O).replace("__account__",c.reimbursementsSection.reimbursementsExpenseAccount),$=o.reimbursementsAccountList.find(h=>h.accountId===o.accountMappingLocalData?.selectedReimbursementsAccountId),S={valueContainer:h=>({...h,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:d}=we(),v=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(kn,{windowSize:l,children:[t.jsx(Tn,{windowSize:l,children:c.reimbursementsSection.heading}),t.jsxs(En,{windowSize:l,children:[t.jsxs(jn,{windowSize:l,children:[t.jsx(Fn,{windowSize:l,iconColor:v,isDarkMode:p.mode==="dark",children:t.jsx(Vn,{})}),t.jsxs(Dn,{children:[t.jsx(Bn,{windowSize:l,children:c.reimbursementsSection.title}),t.jsx(_n,{children:c.reimbursementsSection.subTitle})]})]}),t.jsx(qn,{children:t.jsx(Hn,{windowSize:l,children:t.jsx(te,{isZeniRecommendsLabel:!0,isLoading:!1,label:{label:c.reimbursementsSection.mileageLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.reimbursementsRecommendation!=null,name:K(e,"reimbursementsAccount"),placeholder:c.placeholder.accountPlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:h=>oe(h,o.reimbursementsAccountList),defaultValue:{selectedOption:$?.qboId,allOptions:R},style:{border:`1px solid ${p.colors.grey3}`},customStyleConfig:S,registerOptions:{required:!1},menuPortal:n},style:{border:`1px solid ${p.colors.grey3}`,borderRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.reimbursementsRecommendation!=null?{tooltipProps:{text:k},label:{label:o.reimbursementsRecommendation?.account?.accountName??H.getLocalizedStrings().common.strings.empty},checkBoxField:{name:K(e,"isRecommendedReimbursementsAccountChecked"),defaultChecked:d(K(e,"isRecommendedReimbursementsAccountChecked"))}}:void 0},K(e,"reimbursementsAccount"))})})]})]})}const L={labelWidth:new u(120,145,160),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},We={title:new ye("standardMedium","largeMedium")},Nn=s.div`
136
136
  display: flex;
137
137
  flex-direction: column;
138
138
  row-gap: ${e=>L.rowGap.valuePx(e.windowSize)};
@@ -199,7 +199,7 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
199
199
  background-color: ${e=>e.theme.colors.grey5};
200
200
  border: 1px solid ${e=>e.theme.colors.grey3};
201
201
  border-radius: ${a.sp2};
202
- `,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),O=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],k=I(o.expenseAccountHierarchy,O),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=fe(),V=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(Nn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Gn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Kn,{})}),t.jsxs(Qn,{children:[t.jsx(Yn,{windowSize:l,children:c.uncategorizedSection.title}),t.jsx(Xn,{children:c.uncategorizedSection.subTitle})]})]}),t.jsx(et,{children:t.jsxs(nt,{windowSize:l,children:[t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:o.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:B(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:k},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:o.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:B(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const J={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:_}=H.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",q="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ne="vendorsAccountSection",ot=s.div`
202
+ `,D=(e,n)=>`${e}.${n}`;function tt({sectionId:e,containerRef:n,accountMappingView:o}){const l=ce(),p=ie(),c=H.getLocalizedStrings().uncategorizedAccountsMapping,M=L.labelWidth.value(l),z=o.incomeRecommendation!=null?[o.incomeRecommendation]:[],R=I(o.incomeAccountHierachy,z),O=o.expenseRecommendation!=null?[o.expenseRecommendation]:[],k=I(o.expenseAccountHierarchy,O),$=o.incomeRecommendation?.account?.reason??"",S=c.tooltip.replace("__based__",$).replace("__account__",c.uncategorizedSection.incomeAccount),d=o.expenseRecommendation?.account?.reason??"",v=c.tooltip.replace("__based__",d).replace("__account__",c.uncategorizedSection.expenseAccount),h=o.incomeAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedIncomeAccountId),E=o.expenseAccountList.find(y=>y.accountId===o.accountMappingLocalData?.selectedExpenseAccountId),F={valueContainer:y=>({...y,padding:`2px ${a.sp3}`,overflow:"unset"}),singleValue:()=>({margin:0})},{getValues:B}=we(),V=p.mode==="light"?new W(p.colors.brandColorJadeLight):new W(p.colors.brandColorJadeDark);return t.jsxs(Nn,{windowSize:l,children:[t.jsx(Jn,{windowSize:l,children:c.uncategorizedSection.heading}),t.jsxs(Gn,{windowSize:l,children:[t.jsxs(Un,{windowSize:l,children:[t.jsx(Zn,{windowSize:l,iconColor:V,isDarkMode:p.mode==="dark",children:t.jsx(Kn,{})}),t.jsxs(Qn,{children:[t.jsx(Yn,{windowSize:l,children:c.uncategorizedSection.title}),t.jsx(Xn,{children:c.uncategorizedSection.subTitle})]})]}),t.jsx(et,{children:t.jsxs(nt,{windowSize:l,children:[t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.incomeLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.incomeRecommendation!=null,name:D(e,"incomeAccount"),placeholder:c.placeholder.incomePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.incomeAccountList),defaultValue:{selectedOption:h?.qboId,allOptions:R},style:{width:"100%"},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.incomeRecommendation!=null?{tooltipProps:{text:S},label:{label:o.incomeRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedIncomeAccountChecked"),defaultChecked:B(D(e,"isRecommendedIncomeAccountChecked"))}}:void 0},D(e,"incomeAccount")),t.jsx(te,{isLoading:!1,label:{label:c.uncategorizedSection.expenseLabel,width:M},groupedSingleSelectField:{shouldShowChevronIcon:o.expenseRecommendation!=null,name:D(e,"expenseAccount"),placeholder:c.placeholder.expensePlaceholder,noOptionsMessage:{line1:c.noOptions.noAccountsFound,line2:c.noOptions.establishQBO},valueToId:y=>oe(y,o.expenseAccountList),defaultValue:{selectedOption:E?.qboId,allOptions:k},style:{borderBottom:`1px solid ${p.colors.grey3}`},customStyleConfig:F,registerOptions:{required:!1},menuPortal:n},disableCurrentOption:()=>!1,style:{borderBottom:`1px solid ${p.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},fullWidthSelect:!0,recommendationCheckboxField:o.expenseRecommendation!=null?{tooltipProps:{text:v},label:{label:o.expenseRecommendation.account?.accountName??""},checkBoxField:{name:D(e,"isRecommendedExpenseAccountChecked"),defaultChecked:B(D(e,"isRecommendedExpenseAccountChecked"))}}:void 0},D(e,"expenseAccount"))]})})]})]})}const J={titleWidth:new u(343,580,826,1048),setupDetailsRowGap:new u(12,r[5],r[5]),sectionsRowGap:new u(12,r[7],r[7]),subTitlePaddingTop:new u(12,r[3]),subTitlePaddingBottom:new u(r[3],r[3])},{common:m,uncategorizedAccountsMapping:_}=H.getLocalizedStrings(),De="uncategorizedAccountsMappingPage",q="uncategorizedAccountSection",x="filing1099Section",ee="billsAccountSection",ne="reimbursementsAccountSection",Ne="vendorsAccountSection",ot=s.div`
203
203
  display: flex;
204
204
  height: 100vh;
205
205
  width: 100%;
@@ -241,4 +241,4 @@ import{d as ie,q as ce,av as Ke,aN as en,gB as I,hJ as U,a8 as nn,hK as tn,hL as
241
241
  padding-top: ${e=>J.subTitlePaddingTop.valuePx(e.windowSize)};
242
242
  padding-bottom: ${e=>J.subTitlePaddingBottom.valuePx(e.windowSize)};
243
243
  text-align: ${e=>e.windowSize==="small"?"initial":"center"};
244
- `;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:O}){const k=ie(),$=ce(),S=Ke(),[d,v]=Y.useState(!1),h=en(n.saveState.fetchState),E=Y.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),N=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ge=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),we={int:Ge,misc:Ue,nec:Je},w=nn({mode:"all",defaultValues:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we),resetOptions:{keepDirtyValues:!0},values:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,we)}),Qe=w.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,f=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,G=[];j.forEach((Q,T)=>{if(!f){const ze=Q.accountId?.selectedOption,Oe=Q.expenseType?.selectedOption,ke=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(w.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),G.push(`${T}.accountId`)),(Oe==null||Oe==="")&&(w.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),G.push(`${T}.expenseType`)),(ke==null||ke==="")&&(w.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),G.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(w.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),G.push(`${T}.boxType`))}}),G.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||f)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[q].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;w.setValue(`${q}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[q].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;w.setValue(`${q}.expenseAccount`,{selectedOption:g,allOptions:N},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;w.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;w.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(f=>!isNaN(Number(f)));if(g!==void 0){const f=parseInt(g,10),j=A[x].expenseCategory1099[f];j.accountId?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.accountId`),j.expenseType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.expenseType`),j.type1099?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.type1099`),j.boxType?.selectedOption!=null&&w.clearErrors(`${x}.expenseCategory1099.${f}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(f=>!isNaN(Number(f)));if(g!=null){const f=parseInt(g,10),j=A[x].expenseCategory1099[f].type1099?.selectedOption;w.setValue(`${x}.expenseCategory1099.${f}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,we)},{shouldValidate:!0})}}M(A)};Y.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),Y.useEffect(()=>{const b=w.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ye=n.fetchState!=="Completed",Xe={onOkClick:()=>{v(!1),R?.(),w.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:k.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:O,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Xe,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ye===!1?t.jsx(dn,{...w,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:q,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(On,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,wn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ne,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&fn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,O,k,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(N=>N.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:O},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:k},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[q]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ne]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
244
+ `;function yt({currentTenant:e,accountMappingView:n,isFiling1099FeatureEnabled:o,isAccruedExpensesFeatureEnabled:l,meetingUrl:p,isSettings:c=!1,onAccountMappingChange:M,onSaveClick:z,onBackClick:R,onClickMenuIcon:O}){const k=ie(),$=ce(),S=Ke(),[d,v]=Y.useState(!1),h=en(n.saveState.fetchState),E=Y.useRef(null),{incomeRecommendation:F,expenseRecommendation:B,billPayRecommendation:V,reimbursementsRecommendation:y,prepaidExpensesRecommendation:se,fixedAssetsRecommendation:ae,accruedExpensesRecommendation:le}=n,de=F!=null?[F]:[],re=B!=null?[B]:[],ue=V!=null?[V]:[],pe=y!=null?[y]:[],me=se,ge=ae,xe=le,i=I(n.incomeAccountHierachy,de,"Accounts"),N=I(n.expenseAccountHierarchy,re,"Accounts"),he=I(n.billPayAccountHierarchy,ue,"Accounts"),be=I(n.reimbursementsAccountHierarchy,pe,"Accounts"),Se=I(n.prepaidExpensesAccountHierarchy,me,"Accounts"),Ie=I(n.fixedAssetsAccountHierarchy,ge,"Accounts"),Re=I(n.accruedExpensesAccountHierarchy,xe,"Accounts"),ve=I(n.bankAccounts1099FilingAccountHierarchy,[],"Accounts"),Ce=I(n.expenseAccounts1099FilingAccountHierarchy,[],"Categories"),Pe=U(n.expenseTypeList,_.filing1099Section.allExpenseTypes),Le=U(n.expense1099TypeList,_.filing1099Section.all1099Types),Ge=U(n.boxTypesList.int,_.filing1099Section.allBoxes),Ue=U(n.boxTypesList.misc,_.filing1099Section.allBoxes),Je=U(n.boxTypesList.nec,_.filing1099Section.allBoxes),fe={int:Ge,misc:Ue,nec:Je},f=nn({mode:"all",defaultValues:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe),resetOptions:{keepDirtyValues:!0},values:Be(n,i,N,he,be,Se,Ie,Re,ve,Ce,Pe,Le,fe)}),Qe=f.handleSubmit(b=>{const A=b[x].bankAccount.selectedOptions.length,g=b[x].expenseCategory1099.length,w=A===0&&g===1&&tn(b[x].expenseCategory1099[0]),j=b[x].expenseCategory1099,G=[];j.forEach((Q,T)=>{if(!w){const ze=Q.accountId?.selectedOption,Oe=Q.expenseType?.selectedOption,ke=Q.type1099?.selectedOption,Ee=Q.boxType?.selectedOption;(ze==null||ze==="")&&(f.setError(`${x}.expenseCategory1099.${T}.accountId`,{type:"manual",message:"Account ID is required."}),G.push(`${T}.accountId`)),(Oe==null||Oe==="")&&(f.setError(`${x}.expenseCategory1099.${T}.expenseType`,{type:"manual",message:"Expense Type is required."}),G.push(`${T}.expenseType`)),(ke==null||ke==="")&&(f.setError(`${x}.expenseCategory1099.${T}.type1099`,{type:"manual",message:"Type 1099 is required."}),G.push(`${T}.type1099`)),(Ee==null||Ee==="")&&(f.setError(`${x}.expenseCategory1099.${T}.boxType`,{type:"manual",message:"Box Type is required."}),G.push(`${T}.boxType`))}}),G.length===0&&(A>0&&g>1&&je(b[x].expenseCategory1099[0])||A>0&&g===1&&je(b[x].expenseCategory1099[0])||w)&&z(b)}),Ze=async(b,A)=>{if(b.includes("isRecommendedIncomeAccountChecked")){const g=A[q].isRecommendedIncomeAccountChecked===!0?n.incomeRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousIncomeAccount?.qboId;f.setValue(`${q}.incomeAccount`,{selectedOption:g,allOptions:i},{shouldValidate:!0})}if(b.includes("isRecommendedExpenseAccountChecked")){const g=A[q].isRecommendedExpenseAccountChecked===!0?n.expenseRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousExpenseAccount?.qboId;f.setValue(`${q}.expenseAccount`,{selectedOption:g,allOptions:N},{shouldValidate:!0})}if(b.includes("isRecommendedBillPayAccountChecked")){const g=A[ee].isRecommendedBillPayAccountChecked===!0?n.billPayRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousBillPayAccount?.qboId;f.setValue(`${ee}.billPayAccount`,{selectedOption:g,allOptions:he},{shouldValidate:!0})}if(b.includes("isRecommendedReimbursementsAccountChecked")){const g=A[ne].isRecommendedReimbursementsAccountChecked===!0?n.reimbursementsRecommendation?.account?.qboId??m.strings.empty:n.accountMappingLocalData?.previousReimbursementsAccount?.qboId;f.setValue(`${ne}.reimbursementsAccount`,{selectedOption:g,allOptions:be},{shouldValidate:!0})}if(b.includes("filing1099Section.expenseCategory1099")){const g=b.split(".").find(w=>!isNaN(Number(w)));if(g!==void 0){const w=parseInt(g,10),j=A[x].expenseCategory1099[w];j.accountId?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.accountId`),j.expenseType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.expenseType`),j.type1099?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.type1099`),j.boxType?.selectedOption!=null&&f.clearErrors(`${x}.expenseCategory1099.${w}.boxType`)}}if(b.includes("type1099")){const g=b?.split(".")?.find(w=>!isNaN(Number(w)));if(g!=null){const w=parseInt(g,10),j=A[x].expenseCategory1099[w].type1099?.selectedOption;f.setValue(`${x}.expenseCategory1099.${w}.boxType`,{selectedOption:m.strings.empty,allOptions:_e(j??m.strings.empty,fe)},{shouldValidate:!0})}}M(A)};Y.useEffect(()=>{h==="In-Progress"&&n.saveState.fetchState==="Completed"&&R?.()},[h,n.saveState.fetchState,R]),Y.useEffect(()=>{const b=f.watch((A,{name:g})=>{g!=null&&A!=null&&on(()=>Ze(g,A))});return()=>{b.unsubscribe()}});const Me=()=>n.fetchState==="Completed"&&(n.accountMappingLocalData?.selectedExpenseAccountId!==n.accountMappingLocalData?.previousExpenseAccount?.accountId||n.accountMappingLocalData?.selectedIncomeAccountId!==n.accountMappingLocalData?.previousIncomeAccount?.accountId||n.accountMappingLocalData?.selectedBillPayAccountId!==n.accountMappingLocalData?.previousBillPayAccount?.accountId||n.accountMappingLocalData?.selectedReimbursementsAccountId!==n.accountMappingLocalData?.previousReimbursementsAccount?.accountId||Z(n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds,n.accountMappingLocalData?.previousPrepaidExpensesAccount)||Z(n.accountMappingLocalData?.selectedFixedAssetsAccountIds,n.accountMappingLocalData?.previousFixedAssetsAccount)||Z(n.accountMappingLocalData?.selectedAccruedExpensesAccountIds,n.accountMappingLocalData?.previousAccruedExpensesAccount)||Z(n.accountMappingLocalData?.selectedBankAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousBankAccounts1099FilingAccount)||xn(n.accountMappingLocalData?.selectedExpenseAccounts1099FilingAccountIds,n.accountMappingLocalData?.previousExpenseAccounts1099FilingAccount)),Ye=n.fetchState!=="Completed",Xe={onOkClick:()=>{v(!1),R?.(),f.reset()},onCancelClick:()=>{v(!1)}};return t.jsxs(ot,{ref:E,children:[t.jsx(cn,{title:c?m.settings.title.accounting:_.title,onBackClick:R,backgroundColor:k.colors.grey4,showBackButton:!c,showMenuIcon:c?$==="medium-compact"||$==="small":!1,onClickMenuIcon:O,source:"UncategorizedAccountsMappingPage"}),d===!0?t.jsx(sn,{titleComponent:t.jsx(ln,{children:m.confirmationPopup.discardTitle}),descriptionComponent:t.jsx(an,{children:m.confirmationPopup.discardDescription}),primaryButtonText:m.confirmationPopup.discard,secondaryButtonText:m.confirmationPopup.cancel,action:Xe,proceedButtonVariant:"danger"}):null,t.jsxs(it,{windowSize:$,children:[t.jsx(at,{windowSize:$,children:_.subTitle}),Ye===!1?t.jsx(dn,{...f,children:t.jsx("form",{id:Fe(De),onSubmit:Qe,children:t.jsxs(ct,{windowSize:$,children:[Te(S.loggedInUserRole??[])?t.jsx(tt,{sectionId:q,containerRef:E.current,accountMappingView:n}):null,bn(e,S.loggedInUserRoleMap)?t.jsx(On,{sectionId:ee,containerRef:E.current,accountMappingView:n}):null,fn(e,S.loggedInUserRoleMap)?t.jsx(Wn,{sectionId:ne,containerRef:E.current,accountMappingView:n}):null,Te(S.loggedInUserRole??[])?t.jsx(yn,{sectionId:Ne,vendorAccountMappingSection:{accruedExpensesAccountHierarchy:n.accruedExpensesAccountHierarchy,accruedExpensesAccountList:n.accruedExpensesAccountList,accruedExpensesRecommendations:n.accruedExpensesRecommendation,fixedAssetsAccountHierarchy:n.fixedAssetsAccountHierarchy,fixedAssetsAccountList:n.fixedAssetsAccountList,fixedAssetsRecommendations:n.fixedAssetsRecommendation,prepaidExpensesAccountHierarchy:n.prepaidExpensesAccountHierarchy,prepaidExpensesAccountList:n.prepaidExpensesAccountList,prepaidExpensesRecommendations:n.prepaidExpensesRecommendation,selectedAccruedExpensesAccountIds:n.accountMappingLocalData?.selectedAccruedExpensesAccountIds??[],selectedFixedAssetsAccountIds:n.accountMappingLocalData?.selectedFixedAssetsAccountIds??[],selectedPrepaidExpensesAccountIds:n.accountMappingLocalData?.selectedPrepaidExpensesAccountIds??[]},isAccruedExpensesFeatureEnabled:l}):null,o&&wn(S.loggedInUserRoleMap)?t.jsx(rn,{sectionId:x,accountMappingView:n,containerRef:E.current,isSettingsPage:!0}):null]})})}):t.jsx(st,{children:t.jsx(un,{size:"ExtraLarge",start:!0})})]}),Me()===!0?t.jsx(pn,{formId:Fe(De),primaryBtn:{label:m.footer.save,style:{width:"82px"},isLoading:n.saveState.fetchState==="In-Progress",isDisabled:n.saveState.fetchState==="In-Progress"},cancelBtn:{label:m.footer.cancel,style:{width:"82px"},shouldResetOnCancel:!0,onClick:()=>{v(!0)}}}):null,c?null:t.jsx(mn,{isFooterRendered:Me(),meetingUrl:p})]})}const Fe=e=>`${e}_form`,Be=(e,n,o,l,p,c,M,z,R,O,k,$,S)=>{const{accountMappingLocalData:d,incomeRecommendation:v,expenseRecommendation:h,billPayRecommendation:E,reimbursementsRecommendation:F}=e,B=d?.selectedIncomeAccountId===v?.account?.accountId,V=d?.selectedExpenseAccountId===h?.account?.accountId,y=d?.selectedBillPayAccountId===E?.account?.accountId,se=d?.selectedReimbursementsAccountId===F?.account?.accountId,ae=d?.selectedIncomeAccountId!=null?e.incomeAccountList.find(i=>i.accountId===d.selectedIncomeAccountId):void 0,le=d?.selectedExpenseAccountId!=null?e.expenseAccountList.find(i=>i.accountId===d.selectedExpenseAccountId):void 0,de=d?.selectedBillPayAccountId!=null?e.billPayAccountList.find(i=>i.accountId===d.selectedBillPayAccountId):void 0,re=d?.selectedReimbursementsAccountId!=null?e.reimbursementsAccountList.find(i=>i.accountId===d.selectedReimbursementsAccountId):void 0,ue=d?.selectedPrepaidExpensesAccountIds!=null?e.prepaidExpensesAccountList.filter(i=>d.selectedPrepaidExpensesAccountIds.includes(i.accountId)):[],pe=d?.selectedFixedAssetsAccountIds!=null?e.fixedAssetsAccountList.filter(i=>d.selectedFixedAssetsAccountIds.includes(i.accountId)):[],me=d?.selectedAccruedExpensesAccountIds!=null?e.accruedExpensesAccountList.filter(i=>d.selectedAccruedExpensesAccountIds.includes(i.accountId)):[],ge=d?.selectedBankAccounts1099FilingAccountIds!=null?e.bankAccounts1099FilingAccountList.filter(i=>d.selectedBankAccounts1099FilingAccountIds.includes(i.accountId)):[],xe=d?.selectedExpenseAccounts1099FilingAccountIds!=null?d.selectedExpenseAccounts1099FilingAccountIds.map(i=>({accountId:i.accountId??m.strings.empty,tax1099Config:{expenseType1099:i.expenseType??m.strings.empty,type1099:i.type1099??m.strings.empty,boxType:i.boxType??m.strings.empty}})):[];return{[x]:{bankAccount:{selectedOptions:ge.map(i=>i.qboId).filter(i=>i!=null),allOptions:R},expenseCategory1099:xe.map(i=>({accountId:{selectedOption:e.expenseAccounts1099FilingAccountList.find(N=>N.accountId===i.accountId)?.qboId??m.strings.empty,allOptions:O},expenseType:{selectedOption:i?.tax1099Config?.expenseType1099??m.strings.empty,allOptions:k},type1099:{selectedOption:i?.tax1099Config?.type1099??m.strings.empty,allOptions:$},boxType:{selectedOption:i?.tax1099Config?.boxType??m.strings.empty,allOptions:_e(i?.tax1099Config?.type1099??m.strings.empty,S)}}))},[q]:{incomeAccount:{selectedOption:ae?.qboId,allOptions:n},isRecommendedIncomeAccountChecked:B,expenseAccount:{selectedOption:le?.qboId,allOptions:o},isRecommendedExpenseAccountChecked:V},[ee]:{billPayAccount:{selectedOption:de?.qboId,allOptions:l},isRecommendedBillPayAccountChecked:y},[ne]:{reimbursementsAccount:{selectedOption:re?.qboId,allOptions:p},isRecommendedReimbursementsAccountChecked:se},[Ne]:{prepaidExpensesAccount:{selectedOptions:ue.map(i=>i.qboId).filter(i=>i!=null),allOptions:c},fixedAssetsAccount:{selectedOptions:pe.map(i=>i.qboId).filter(i=>i!=null),allOptions:M},accruedExpensesAccount:{selectedOptions:me.map(i=>i.qboId).filter(i=>i!=null),allOptions:z}}}};export{yt as default};
@@ -1,4 +1,4 @@
1
- import{aN as S,V as t,hS as _,hT as W,q as T,F as D,cm as L,ad as C,cn as N,co as U,a8 as R,ab as G,cK as H,cG as F,y as g,cH as M,p as z,an as J,m as K,n as Q,o as i,ak as X,c as O,ap as Y,b8 as Z}from"./index-4PNYlcwA.js";import{a as l}from"./sentry-CjZuZb_k.js";import{n as f}from"./mui-o4KTDVYm.js";import{bL as ee,bh as te}from"./zeni-epic-state-DJnPqdxc.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="5dd118b6-d94d-46c7-bb2a-db9fc6bb95de",e._sentryDebugIdIdentifier="sentry-dbid-5dd118b6-d94d-46c7-bb2a-db9fc6bb95de")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(O[3],O[2]),width:new g(300,420,420)},ie=f.div`
1
+ import{aN as S,V as t,hS as _,hT as W,q as T,F as D,cm as L,ad as C,cn as N,co as U,a8 as R,ab as G,cK as H,cG as F,y as g,cH as M,p as z,an as J,m as K,n as Q,o as i,ak as X,c as O,ap as Y,b8 as Z}from"./index-BBJ8MbHB.js";import{a as l}from"./sentry-CTfRDee5.js";import{n as f}from"./mui-CqcpY1UR.js";import{bL as ee,bh as te}from"./zeni-epic-state-n7oqKrUc.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="5dd118b6-d94d-46c7-bb2a-db9fc6bb95de",e._sentryDebugIdIdentifier="sentry-dbid-5dd118b6-d94d-46c7-bb2a-db9fc6bb95de")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(O[3],O[2]),width:new g(300,420,420)},ie=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a8 as k,ft as b,aN as R,q as U,F as q,cB as A,V as i,ab as W,aM as H,fu as X,o as a,p as G,cL as J,aO as K,y as x,L as Q,D as Y,b8 as Z,b7 as ee,c}from"./index-4PNYlcwA.js";import{a as f}from"./sentry-CjZuZb_k.js";import{n as o}from"./mui-o4KTDVYm.js";import{EH as te}from"./zeni-epic-state-DJnPqdxc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="5750da30-8680-44d0-b734-2a5c2825d912",e._sentryDebugIdIdentifier="sentry-dbid-5750da30-8680-44d0-b734-2a5c2825d912")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:N,onCompanyOfficerUpdated:P}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,T]=f.useState(!1),D=R(p.fetchState),I=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(I??{}).filter(l=>l!=null),B=te(O);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=U(),y=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&N?.(t?.officerType??"Officer_1")}),M=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&A(()=>M(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":H("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:I,updateFileStatusById:L,filesEndPoint:m,authParams:$,hasError:C,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>T(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a8 as k,ft as b,aN as R,q as U,F as q,cB as A,V as i,ab as W,aM as H,fu as X,o as a,p as G,cL as J,aO as K,y as x,L as Q,D as Y,b8 as Z,b7 as ee,c}from"./index-BBJ8MbHB.js";import{a as f}from"./sentry-CTfRDee5.js";import{n as o}from"./mui-CqcpY1UR.js";import{EH as te}from"./zeni-epic-state-n7oqKrUc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="5750da30-8680-44d0-b734-2a5c2825d912",e._sentryDebugIdIdentifier="sentry-dbid-5750da30-8680-44d0-b734-2a5c2825d912")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:N,onCompanyOfficerUpdated:P}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[C,T]=f.useState(!1),D=R(p.fetchState),I=t?.deleteFileStatusById??{},L=t?.updateFileStatusById??{},O=Object.values(I??{}).filter(l=>l!=null),B=te(O);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,p,n,t?.additionalFiles]);const r=U(),y=q.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,_=n.handleSubmit(()=>{B.fetchState!=="In-Progress"&&N?.(t?.officerType??"Officer_1")}),M=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(P?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&A(()=>M(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:_,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":H("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:J,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:I,updateFileStatusById:L,filesEndPoint:m,authParams:$,hasError:C,onEditFileName:j,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>T(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aN as i,F as I,V as r,hS as w,hT as E}from"./index-4PNYlcwA.js";import{a as s}from"./sentry-CjZuZb_k.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./mui-o4KTDVYm.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="2bbbe9c0-b86a-4e4e-8e63-0aa929800fda",t._sentryDebugIdIdentifier="sentry-dbid-2bbbe9c0-b86a-4e4e-8e63-0aa929800fda")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(w,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:x=>S?.(x)}}):null})};export{H as default};
1
+ import{aN as i,F as I,V as r,hS as w,hT as E}from"./index-BBJ8MbHB.js";import{a as s}from"./sentry-CTfRDee5.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./mui-CqcpY1UR.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="2bbbe9c0-b86a-4e4e-8e63-0aa929800fda",t._sentryDebugIdIdentifier="sentry-dbid-2bbbe9c0-b86a-4e4e-8e63-0aa929800fda")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:b,newVendorState:m}=t,f=Object.assign({},b??m),[V,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:V===!0?r.jsx(w,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(E,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:x=>S?.(x)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-4PNYlcwA.js";import{a as m}from"./sentry-CjZuZb_k.js";import{f as u}from"./ACHDetailsPage-OhfwzmDP-CUPlHlS1.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./mui-o4KTDVYm.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./BankAccountWarningSection-WkczfI75-p--soGkR.js";import"./MagicLinkTitleSection-kbY8yTTa-9EHeM1LM.js";import"./BankAccountSection-DehqZ04x-BJbbHUH9.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]="37fafec3-734c-4758-984b-7e2e1e2f58b9",e._sentryDebugIdIdentifier="sentry-dbid-37fafec3-734c-4758-984b-7e2e1e2f58b9")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
1
+ import{V as p}from"./index-BBJ8MbHB.js";import{a as m}from"./sentry-CTfRDee5.js";import{f as u}from"./ACHDetailsPage-BRWOdhMx-lCkplz0-.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./mui-CqcpY1UR.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./BankAccountWarningSection-DMRmF2yM-Bdqe05tT.js";import"./MagicLinkTitleSection-Bx92291D-D9nsnbMt.js";import"./BankAccountSection-Bgdk93V0-DEu58Lvd.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]="6399f144-460f-4a65-a429-7feb93ce7b2e",e._sentryDebugIdIdentifier="sentry-dbid-6399f144-460f-4a65-a429-7feb93ce7b2e")}catch{}})();const I=({vendorViewDetails:e,bankAccountContext:t,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=e;return m.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e.editVendorState?.saveStatus.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e.editVendorState?.saveStatus.fetchState,t,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{d as Be,q as oe,y as g,aA as be,cD as yt,a8 as bt,h2 as xe,h3 as xt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h4 as St,h5 as ge,c as l,cC as Dt,aO as jt,F,h6 as Re,h7 as Ae,h8 as Ee,o as a,bM as S,cO as Tt,gG as fe,h9 as Lt,cE as Vt,cF as kt,cG as It,ha as Ot,g8 as Pt,cM as Mt,hb as _t,hc as zt,p as z,dp as Ft,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as qe,dq as Ht,aZ as Bt,hd as Rt,he as At,ak as Et,hf as Ut,cf as Ye,hg as qt,a as we,B as Ze}from"./index-4PNYlcwA.js";import{a as $}from"./sentry-CjZuZb_k.js";import{n as o,c as Yt}from"./mui-o4KTDVYm.js";import{bi as Ce,FJ as Zt,FK as Gt}from"./zeni-epic-state-DJnPqdxc.js";import{k as Jt}from"./SubTabSwitcher-zpnLoSBy-DHPyjZjM.js";import{f as Kt}from"./TransactionList-DMb2xYOV-CraifWnm.js";import{R as Qt}from"./TrendWithTransactions-CpQPkCN4-C20sTqz7.js";import{o as Xt,t as es}from"./arrow-south-east-round-PEovUgvH-Bjs-Qn41.js";import{W as ts}from"./LabeledAddressValueField-DxybAWPO-DIu3ggxx.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-BiJOzT5B-urCKQV5c.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./BoxItem-Cb4_ZBkK-xDHkx3mk.js";import"./commonDimensions-7B20r1RL-_hVmC3-Q.js";import"./TrendChart-C7DgNHh6-CJUZv0E3.js";import"./chartTypes-h1GkAvwh-FT7wGKaw.js";import"./toCOABalancesWithID-DScSc4rG-Bzsy78A1.js";import"./toChartData-BYQCR1Q4-DFPuCktO.js";import"./NoDataChart-CRhOisS1-BTCCqtJ6.js";import"./InsightsSection-BrjpMz4X-DExiKNju.js";import"./NavigationDots-BSjG6OlY-Buo2a5d0.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]="72835632-ec12-4668-af61-f68aa300001b",e._sentryDebugIdIdentifier="sentry-dbid-72835632-ec12-4668-af61-f68aa300001b")}catch{}})();const as=o.div`
1
+ import{d as Be,q as oe,y as g,aA as be,cD as yt,a8 as bt,h2 as xe,h3 as xt,aS as ft,cB as wt,V as t,bz as Ct,ab as $t,h4 as St,h5 as ge,c as l,cC as Dt,aO as jt,F,h6 as Re,h7 as Ae,h8 as Ee,o as a,bM as S,cO as Tt,gG as fe,h9 as Lt,cE as Vt,cF as kt,cG as It,ha as Ot,g8 as Pt,cM as Mt,hb as _t,hc as zt,p as z,dp as Ft,dn as Nt,c_ as Wt,aV as re,b5 as Ue,ag as qe,dq as Ht,aZ as Bt,hd as Rt,he as At,ak as Et,hf as Ut,cf as Ye,hg as qt,a as we,B as Ze}from"./index-BBJ8MbHB.js";import{a as $}from"./sentry-CTfRDee5.js";import{n as o,c as Yt}from"./mui-CqcpY1UR.js";import{bi as Ce,FJ as Zt,FK as Gt}from"./zeni-epic-state-n7oqKrUc.js";import{k as Jt}from"./SubTabSwitcher-DhsES2OW-DrYqVYfO.js";import{f as Kt}from"./TransactionList-YI4oZaim-xbjxS_zo.js";import{R as Qt}from"./TrendWithTransactions-BicIDSlC-GPxD5Pyy.js";import{o as Xt,t as es}from"./arrow-south-east-round-PEovUgvH-D0tcq0ac.js";import{W as ts}from"./LabeledAddressValueField-Bt41wdNQ-CdN5suyF.js";import{Y as ss}from"./LabeledDropDownFormattedTextField-DGb_bDyp-DbOxXrX_.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./BoxItem-WOrvBzns-DD4R649W.js";import"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";import"./TrendChart-BI4Tz813-BMzjSOb0.js";import"./chartTypes-BPPSjkhb-H7A_cnp3.js";import"./toCOABalancesWithID-CkjRB0sJ-DDXgenlP.js";import"./toChartData-CMi2WgAy-Bk_h1ue0.js";import"./NoDataChart-DLKHNXD4-CdqcDLeH.js";import"./InsightsSection-BTXj5WUe-BehAISJe.js";import"./NavigationDots-B0_dDbgu-D1euhRa0.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]="ae291f96-20a3-484a-b579-9e9cb2818356",e._sentryDebugIdIdentifier="sentry-dbid-ae291f96-20a3-484a-b579-9e9cb2818356")}catch{}})();const as=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-BBJ8MbHB.js";import{a as k}from"./sentry-CTfRDee5.js";import{w as y}from"./DomesticWireDetailsPage-FGdEilUB-BIDfGIPL.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./mui-CqcpY1UR.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./BankAccountSection-Bgdk93V0-DEu58Lvd.js";import"./MagicLinkTitleSection-Bx92291D-D9nsnbMt.js";import"./BankAccountWarningSection-DMRmF2yM-Bdqe05tT.js";import"./MailingDetailsSection-D-tnK244-BXHufBP2.js";import"./LabeledAddressValueField-Bt41wdNQ-CdN5suyF.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]="ea7d8a6f-b429-4c58-ae30-a1dfe6939ccd",e._sentryDebugIdIdentifier="sentry-dbid-ea7d8a6f-b429-4c58-ae30-a1dfe6939ccd")}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:f,bankAccountToCreate:u,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:u,bankAccountCreationState:n,bankNameByRouting:f,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,4 +1,4 @@
1
- import{q as oe,d as Ne,a8 as ke,cB as Ae,y as w,V as t,bz as Be,aM as Ee,ab as We,cE as C,o as s,cI as qe,ha as Oe,g8 as Me,cM as Re,hb as He,hc as Ue,cU as Ze,aO as _e,F as ne,eU as Z,hh as de,cW as Ke,eV as Ge,c,L as Ye,bM as I,cz as Je,hi as Qe,p as F,h as Xe,cf as et,ak as ce,eD as tt,hj as st,hk as lt,hl as R,eW as it}from"./index-4PNYlcwA.js";import{a as x}from"./sentry-CjZuZb_k.js";import{n as a}from"./mui-o4KTDVYm.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BiJOzT5B-urCKQV5c.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./zeni-epic-state-DJnPqdxc.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="cc20a9c4-b520-44a2-8680-b8d87158fc72",e._sentryDebugIdIdentifier="sentry-dbid-cc20a9c4-b520-44a2-8680-b8d87158fc72")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:q}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:R(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:R(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:R(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{q as oe,d as Ne,a8 as ke,cB as Ae,y as w,V as t,bz as Be,aM as Ee,ab as We,cE as C,o as s,cI as qe,ha as Oe,g8 as Me,cM as Re,hb as He,hc as Ue,cU as Ze,aO as _e,F as ne,eU as Z,hh as de,cW as Ke,eV as Ge,c,L as Ye,bM as I,cz as Je,hi as Qe,p as F,h as Xe,cf as et,ak as ce,eD as tt,hj as st,hk as lt,hl as R,eW as it}from"./index-BBJ8MbHB.js";import{a as x}from"./sentry-CTfRDee5.js";import{n as a}from"./mui-CqcpY1UR.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DGb_bDyp-DbOxXrX_.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="f9ff86cd-5d6c-4f4e-a0f8-bebde6364a94",e._sentryDebugIdIdentifier="sentry-dbid-f9ff86cd-5d6c-4f4e-a0f8-bebde6364a94")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:q}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:q,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:R(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:R(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:R(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:Z(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{q as ae,av as Nn,d as mn,a8 as et,i1 as Te,cB as nt,ax as On,i2 as ie,i3 as ve,i4 as fe,i5 as be,i6 as me,V as n,hZ as tt,ab as ot,bz as rt,a9 as it,cm as st,cn as at,co as lt,bS as dt,bL as ct,aM as X,cj as mt,b1 as pt,dj as ut,cq as ht,m as gt,F as je,y as w,C as Ne,o as t,aR as In,ak as De,aQ as wt,c,ag as Re,cv as xt,dp as Pn,bM as Pe,bf as Tn,cy as vt,bY as ft,dC as bt,b8 as Xe,br as pn,p as B,u as zn,gU as $t,df as wn,c_ as rn,i7 as sn,an as St,bQ as Be,dM as yt,es as xn,bH as jt,dr as Rt,n as vn,i8 as Vt,i9 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,ia as It,bF as se,ib as fn,gI as Pt,at as Tt,as as zt,dq as Dt,b as _n,a as _t,s as Lt,aT as dn}from"./index-4PNYlcwA.js";import{a as f}from"./sentry-CjZuZb_k.js";import{n as o,c as cn}from"./mui-o4KTDVYm.js";import{gu as At,FR as Ft}from"./zeni-epic-state-DJnPqdxc.js";import{r as Bt}from"./core-CIAE9Iou.js";import{P as Et}from"./Menu-DTdVYIrC-BIdLGG6J.js";import"./liveblocks-B2g7ROdB.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.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]="5bb6be03-ce7a-4033-82cd-5c2600ecc464",e._sentryDebugIdIdentifier="sentry-dbid-5bb6be03-ce7a-4033-82cd-5c2600ecc464")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{q as ae,av as Nn,d as mn,a8 as et,i1 as Te,cB as nt,ax as On,i2 as ie,i3 as ve,i4 as fe,i5 as be,i6 as me,V as n,hZ as tt,ab as ot,bz as rt,a9 as it,cm as st,cn as at,co as lt,bS as dt,bL as ct,aM as X,cj as mt,b1 as pt,dj as ut,cq as ht,m as gt,F as je,y as w,C as Ne,o as t,aR as In,ak as De,aQ as wt,c,ag as Re,cv as xt,dp as Pn,bM as Pe,bf as Tn,cy as vt,bY as ft,dC as bt,b8 as Xe,br as pn,p as B,u as zn,gU as $t,df as wn,c_ as rn,i7 as sn,an as St,bQ as Be,dM as yt,es as xn,bH as jt,dr as Rt,n as vn,i8 as Vt,i9 as Ct,cO as kt,cW as Mt,cX as Nt,ex as Ot,al as Dn,ia as It,bF as se,ib as fn,gI as Pt,at as Tt,as as zt,dq as Dt,b as _n,a as _t,s as Lt,aT as dn}from"./index-BBJ8MbHB.js";import{a as f}from"./sentry-CTfRDee5.js";import{n as o,c as cn}from"./mui-CqcpY1UR.js";import{gu as At,FR as Ft}from"./zeni-epic-state-n7oqKrUc.js";import{r as Bt}from"./core-BiYEzgTE.js";import{P as Et}from"./Menu-0YHUdU0n-12P5RljB.js";import"./liveblocks-BstIT-4Z.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.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]="dc034b04-b9a1-4ae0-931e-6ff995d18f51",e._sentryDebugIdIdentifier="sentry-dbid-dc034b04-b9a1-4ae0-931e-6ff995d18f51")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,q as Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,d as ne,eW as De,eX as X,cU as G,a$ as H,cE as je,ek as Te,c as a,cW as ke,aM as Se,p as V,a as Oe,m as Ae,bQ as Fe,ag as Le,bH as Ie}from"./index-4PNYlcwA.js";import{a as R}from"./sentry-CjZuZb_k.js";import{n as g}from"./mui-o4KTDVYm.js";import{bi as Y}from"./zeni-epic-state-DJnPqdxc.js";import{W as We,A as ze}from"./BankAccountWarningSection-WkczfI75-p--soGkR.js";import{T as Re}from"./MailingDetailsSection-CMekdUCQ-xJE41G8i.js";import{S as Pe}from"./CurrencySelectField-ppkSKTpN-BC31P_0q.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./LabeledAddressValueField-DxybAWPO-DIu3ggxx.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]="07b48bd5-9387-4fdc-8c70-daa3fafca2ba",e._sentryDebugIdIdentifier="sentry-dbid-07b48bd5-9387-4fdc-8c70-daa3fafca2ba")}catch{}})();const A={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Ae,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,q as Q,a8 as he,F as N,cB as ye,aA as ge,cm as be,cn as fe,co as xe,ab as ve,aO as we,y as p,eU as le,eV as Ce,o as y,b7 as $e,cO as oe,d as ne,eW as De,eX as X,cU as G,a$ as H,cE as je,ek as Te,c as a,cW as ke,aM as Se,p as V,a as Oe,m as Ae,bQ as Fe,ag as Le,bH as Ie}from"./index-BBJ8MbHB.js";import{a as R}from"./sentry-CTfRDee5.js";import{n as g}from"./mui-CqcpY1UR.js";import{bi as Y}from"./zeni-epic-state-n7oqKrUc.js";import{W as We,A as ze}from"./BankAccountWarningSection-DMRmF2yM-Bdqe05tT.js";import{T as Re}from"./MailingDetailsSection-D-tnK244-BXHufBP2.js";import{S as Pe}from"./CurrencySelectField-AjAWhg6e-h8iODRHM.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./LabeledAddressValueField-Bt41wdNQ-CdN5suyF.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]="f2d2efab-2738-4856-ab92-e711014ab927",e._sentryDebugIdIdentifier="sentry-dbid-f2d2efab-2738-4856-ab92-e711014ab927")}catch{}})();const A={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Ae,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(Ne,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -0,0 +1 @@
1
+ import{V as u}from"./index-BBJ8MbHB.js";import{a as S}from"./sentry-CTfRDee5.js";import{f as k}from"./InternationalWireSwiftDetailsPage-4-pl1ozv-BL59ObmT.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./zeni-epic-state-n7oqKrUc.js";import"./mui-CqcpY1UR.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./BankAccountWarningSection-DMRmF2yM-Bdqe05tT.js";import"./MailingDetailsSection-D-tnK244-BXHufBP2.js";import"./LabeledAddressValueField-Bt41wdNQ-CdN5suyF.js";import"./MagicLinkTitleSection-Bx92291D-D9nsnbMt.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]="10cec685-61d3-4060-b3ab-04ca2bee482b",e._sentryDebugIdIdentifier="sentry-dbid-10cec685-61d3-4060-b3ab-04ca2bee482b")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:b}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),u.jsx(k,{bankAccountToCreate:f,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:b,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:c,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{q as ie,d as oe,F as te,y as c,gB as w,aS as P,V as i,hR as g,o as r,hO as m,a as ne,p as re,dw as de,ag as se,c as a}from"./index-4PNYlcwA.js";import{n as s}from"./mui-o4KTDVYm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="98875c4d-be29-47c9-b545-3a31c4b73ac0",e._sentryDebugIdIdentifier="sentry-dbid-98875c4d-be29-47c9-b545-3a31c4b73ac0")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{q as ie,d as oe,F as te,y as c,gB as w,aS as P,V as i,hR as g,o as r,hO as m,a as ne,p as re,dw as de,ag as se,c as a}from"./index-BBJ8MbHB.js";import{n as s}from"./mui-CqcpY1UR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="98875c4d-be29-47c9-b545-3a31c4b73ac0",e._sentryDebugIdIdentifier="sentry-dbid-98875c4d-be29-47c9-b545-3a31c4b73ac0")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aN as z,a8 as U,V as r,bP as Z,a9 as p,ab as B,bQ as G,ag as m,bR as Q,o as n,F as N,n as E,bS as W,ak as O,bT as X,bU as I,bH as q,p as j,b8 as v,bV as J}from"./index-4PNYlcwA.js";import{a as c}from"./sentry-CjZuZb_k.js";import{n as t}from"./mui-o4KTDVYm.js";import{bh as K}from"./zeni-epic-state-DJnPqdxc.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-BqLkGmTA-Bi36nE_K.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./handshake-BPg58FML-WPUTSbks.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]="781f0cd2-e7c1-4c99-8b84-3077fcfc11da",e._sentryDebugIdIdentifier="sentry-dbid-781f0cd2-e7c1-4c99-8b84-3077fcfc11da")}catch{}})();const ee=e=>{if(!e)return"";try{const i=X(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},V=120,C=30,T=2,re="456px",te="256px",_=6,o=N.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,L]=c.useState(0),[b,w]=c.useState(V),[h,D]=c.useState(C),S=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(x,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{D(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),A=s%60;return`${d}:${A.toString().padStart(2,"0")}`};return r.jsx(Z,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(B,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(G,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(De,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(m,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(x,""),w(V),D(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[N.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aN as z,a8 as U,V as r,bP as Z,a9 as p,ab as B,bQ as G,ag as m,bR as Q,o as n,F as N,n as E,bS as W,ak as O,bT as X,bU as I,bH as q,p as j,b8 as v,bV as J}from"./index-BBJ8MbHB.js";import{a as c}from"./sentry-CTfRDee5.js";import{n as t}from"./mui-CqcpY1UR.js";import{bh as K}from"./zeni-epic-state-n7oqKrUc.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-CEk5d9hq-BU7zCzNG.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./handshake-BPg58FML-Dk4MbD0e.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]="9f09ad01-e449-4c1a-80c7-4774848c003f",e._sentryDebugIdIdentifier="sentry-dbid-9f09ad01-e449-4c1a-80c7-4774848c003f")}catch{}})();const ee=e=>{if(!e)return"";try{const i=X(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},V=120,C=30,T=2,re="456px",te="256px",_=6,o=N.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",He=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,L]=c.useState(0),[b,w]=c.useState(V),[h,D]=c.useState(C),S=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),$=u.watch(x),P=()=>{e.onCancelVerifyDevice()},H=()=>{$.trim().length===_&&e.onVerifyOtp($)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),L(s=>s+1),u.setValue(x,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{D(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),A=s%60;return`${d}:${A.toString().padStart(2,"0")}`};return r.jsx(Z,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>T,children:r.jsx(Y,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=T,children:r.jsx(B,{...u,children:r.jsxs(ge,{children:[r.jsxs(me,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(G,{placement:"top",title:r.jsxs(m,{children:[o.changePhoneNumberHelperText,r.jsx(De,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Q,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(x,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(m,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(x,""),w(V),D(C))},children:o.resend}),h>0&&r.jsxs(he,{children:[N.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:i,disabled:$.trim().length!==_||l===!0})]}),r.jsx(xe,{children:M})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-NUTeTPEN.js","assets/sentry-CjZuZb_k.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-BSMWc32-.js","assets/zeni-epic-state-DJnPqdxc.js","assets/core-CIAE9Iou.js","assets/index-DhrgV_ix.js","assets/react-Z5v0eeyD.js","assets/react-BYU6BCD1.js","assets/react-CCHDJHXq.js","assets/react-CXz3KePA.js","assets/react-lMeFMTFb.js","assets/react-BCcPfS1c.js","assets/Preview-tV-yCjmx.js"])))=>i.map(i=>d[i]);
2
- import{q as W,V as f,an as X,p as Y}from"./index-4PNYlcwA.js";import{w as _,a as t}from"./sentry-CjZuZb_k.js";import{n as k,k as q}from"./mui-o4KTDVYm.js";import{r as K}from"./core-CIAE9Iou.js";import{ba as y}from"./zeni-epic-state-DJnPqdxc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="897ae585-37a3-4f09-9800-4378937ea819",e._sentryDebugIdIdentifier="sentry-dbid-897ae585-37a3-4f09-9800-4378937ea819")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-NUTeTPEN.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BSMWc32-.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DhrgV_ix.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-Z5v0eeyD.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-BYU6BCD1.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CCHDJHXq.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CXz3KePA.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-lMeFMTFb.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BCcPfS1c.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-tV-yCjmx.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=q`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-BPBfJ6wZ.js","assets/sentry-CTfRDee5.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-CHCFBd-l.js","assets/zeni-epic-state-n7oqKrUc.js","assets/core-BiYEzgTE.js","assets/index-BLOT0kav.js","assets/react-B4eK6Gcb.js","assets/react-CAF4_aM2.js","assets/react-CG2AEOc2.js","assets/react-BR4cTFeR.js","assets/react-COBWBcIx.js","assets/react-4Ya91sN5.js","assets/Preview-8iqIdVv4.js"])))=>i.map(i=>d[i]);
2
+ import{q as W,V as f,an as X,p as Y}from"./index-BBJ8MbHB.js";import{w as _,a as t}from"./sentry-CTfRDee5.js";import{n as k,k as q}from"./mui-CqcpY1UR.js";import{r as K}from"./core-BiYEzgTE.js";import{ba as y}from"./zeni-epic-state-n7oqKrUc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="897ae585-37a3-4f09-9800-4378937ea819",e._sentryDebugIdIdentifier="sentry-dbid-897ae585-37a3-4f09-9800-4378937ea819")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BPBfJ6wZ.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CHCFBd-l.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-BLOT0kav.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-B4eK6Gcb.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-CAF4_aM2.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CG2AEOc2.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BR4cTFeR.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-COBWBcIx.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-4Ya91sN5.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-8iqIdVv4.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=q`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -0,0 +1,31 @@
1
+ import{q as s,V as t,an as l,aM as a,p as c,o,y as d}from"./index-BBJ8MbHB.js";import{n}from"./mui-CqcpY1UR.js";import{N as h}from"./VideoPlayer-9rYRtSLf-C_MG4aUQ.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]="b9ed3abc-3394-4c8d-8770-ba8167e63ec1",e._sentryDebugIdIdentifier="sentry-dbid-b9ed3abc-3394-4c8d-8770-ba8167e63ec1")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},w=n.div`
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ z-index: 10;
7
+ height: 100%;
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ background: ${c.blackColor}CC;
12
+ `,p=n.div`
13
+ display: flex;
14
+ flex-direction: column;
15
+ justify-content: space-between;
16
+ flex-wrap: wrap;
17
+ align-items: center;
18
+ text-align: center;
19
+ background: ${e=>e.theme.colors.grey5};
20
+ border-radius: ${o.sp2};
21
+ position: relative;
22
+ top: 5%;
23
+ width: ${e=>r.width.valuePx(e.windowSize)};
24
+ height: ${e=>r.height.valuePx(e.windowSize)};
25
+ padding: ${o.sp3};
26
+ background: ${e=>e.theme.colors.grey3};
27
+ `,f=n.div`
28
+ position: relative;
29
+ width: 100%;
30
+ height: 100%;
31
+ `;function y(e){const i=s();return t.jsx(w,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(p,{windowSize:i,"data-testid":a("video-popup"),children:t.jsx(f,{children:t.jsx(h,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as f};
@@ -1,4 +1,4 @@
1
- import{q as B,V as s,M as D,h as C,n as j,b as M,o as n,F as S,y as $,a as L,B as E,L as P,D as z,p as h,u as N,s as T,c as u,l as A}from"./index-4PNYlcwA.js";import{n as a}from"./mui-o4KTDVYm.js";import{cG as _}from"./zeni-epic-state-DJnPqdxc.js";import"./sentry-CjZuZb_k.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./recharts-BJmPBfq4.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012",r._sentryDebugIdIdentifier="sentry-dbid-b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012")}catch{}})();const e=S.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new L("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?_(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=R(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=q(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
1
+ import{q as B,V as s,M as D,h as C,n as j,b as M,o as n,F as S,y as $,a as L,B as E,L as P,D as z,p as h,u as N,s as T,c as u,l as A}from"./index-BBJ8MbHB.js";import{n as a}from"./mui-CqcpY1UR.js";import{cG as _}from"./zeni-epic-state-n7oqKrUc.js";import"./sentry-CTfRDee5.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./recharts-bDaLwU4I.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012",r._sentryDebugIdIdentifier="sentry-dbid-b7cacbf5-2fbe-4f6a-ac4a-a4e89dbf2012")}catch{}})();const e=S.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new L("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?_(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=R(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=q(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(O,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
2
  ${D(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(C,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(j,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...M.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},R=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},q=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},O=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as Le,b as D,cm as R,cn as O,co as F,ab as Ne,ek as Me,p as y,cW as He,aM as C,m as ue,ag as j,F as K,bH as Ee,bL as Ie,aQ as Ue,y as b,gR as We,fc as ae,c as u,ak as X,hr as Re,b5 as Oe,aZ as Fe,hs as Ge,l as Ve,ht as Ye,u as Je,gU as _e,d2 as Ze,al as Ke,a as Xe,cf as qe}from"./index-4PNYlcwA.js";import{a as r}from"./sentry-CjZuZb_k.js";import{n as a}from"./mui-o4KTDVYm.js";import{FL as Qe,bL as G}from"./zeni-epic-state-DJnPqdxc.js";import{$ as et}from"./BoxItem-Cb4_ZBkK-xDHkx3mk.js";import{w as tt}from"./downloadPdf-D1MhyCE3-BRAULud8.js";import{H as ot}from"./DepositAccTransactionItem-BpbS0SRE-NmcXTIJb.js";import{U as at}from"./ZeniAccountNavBarPieces-B1l8Hjdg-CBpgN60Q.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-BJmPBfq4.js";import"./liveblocks-B2g7ROdB.js";import"./core-CIAE9Iou.js";import"./lottie-DvUF1pax.js";import"./analytics-A_-qSDYO.js";import"./lexical-D0mgjaqy.js";import"./utils-BdW9S11I.js";import"./commonDimensions-7B20r1RL-_hVmC3-Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="8274b755-3fb4-42e1-9e09-f952f74f8b70",e._sentryDebugIdIdentifier="sentry-dbid-8274b755-3fb4-42e1-9e09-f952f74f8b70")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
1
+ import{a8 as Te,q as M,av as Pe,d as pe,aN as Be,V as t,aK as P,bQ as B,o,bz as Le,b as D,cm as R,cn as O,co as F,ab as Ne,ek as Me,p as y,cW as He,aM as C,m as ue,ag as j,F as K,bH as Ee,bL as Ie,aQ as Ue,y as b,gR as We,fc as ae,c as u,ak as X,hr as Re,b5 as Oe,aZ as Fe,hs as Ge,l as Ve,ht as Ye,u as Je,gU as _e,d2 as Ze,al as Ke,a as Xe,cf as qe}from"./index-BBJ8MbHB.js";import{a as r}from"./sentry-CTfRDee5.js";import{n as a}from"./mui-CqcpY1UR.js";import{FL as Qe,bL as G}from"./zeni-epic-state-n7oqKrUc.js";import{$ as et}from"./BoxItem-WOrvBzns-DD4R649W.js";import{w as tt}from"./downloadPdf-B8UMaJCC-BA2fFFfC.js";import{H as ot}from"./DepositAccTransactionItem-BOPK7-7P-CmYSzV4w.js";import{U as at}from"./ZeniAccountNavBarPieces-DDc-xph4-CzcxivOl.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-bDaLwU4I.js";import"./liveblocks-BstIT-4Z.js";import"./core-BiYEzgTE.js";import"./lottie-Dcr3TlBE.js";import"./analytics-C6bOaJY9.js";import"./lexical-Cbl76XZt.js";import"./utils-BI6ira9J.js";import"./commonDimensions-Ds75pRzR-DJ4H9OI5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="a314cb17-af57-46ab-8c26-1ea4f25dcf79",e._sentryDebugIdIdentifier="sentry-dbid-a314cb17-af57-46ab-8c26-1ea4f25dcf79")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;