@zeniai/web-cockpit-ui 1.15.65-dev → 1.15.65-qa

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 (219) hide show
  1. package/dist/assets/{ACHDetailsPage-BShpKoIj-DBPKn0sX.js → ACHDetailsPage-BShpKoIj-DfqbKIrs.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CFErwUsE-BYOi4eif.js → AIPerformancePage-CFErwUsE-Cojw_Wfy.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B8upbXj9-DVCxjo1L.js → AccountInfoPage-B8upbXj9-BQtVDThI.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CKpeDot5-C4xEct6y.js → AccountInfoPageContent-CKpeDot5-BCCA2AcF.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-c30P9O_3-BXRFFhii.js → AccountLockedInfoModal-c30P9O_3-D4jjMEZV.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-Det_iJaE.js → AccountReconDetailsDrawerPage-CO9BYPWm-BvjoYv6x.js} +1 -1
  7. package/dist/assets/{AccountRow-BrW_eEjE-HoBl8v8H.js → AccountRow-BrW_eEjE-BkBbs4aB.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-C74RtM0g.js → AccountsPromoCardStack-De2yNNuZ-DyMiMR3x.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-riOPLnxb-hTaoKUhW.js → AddAddressForCardDrawer-riOPLnxb-DmtzGlYX.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CsOmzC7v-XA_Ukf0G.js → AddToWalletPage-CsOmzC7v-I22cNtfS.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-D9I9afnB-j70-fH52.js → AgingReportsPage-D9I9afnB-nPuC7737.js} +1 -1
  12. package/dist/assets/{AllUserItems-Dq7NcP-o-bQnq3Yy5.js → AllUserItems-Dq7NcP-o-Bb4D8Iq7.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Z5JgfH-e-DlNnTpGB.js → ApAgingDetailPage-Z5JgfH-e-JnIIwdm2.js} +1 -1
  14. package/dist/assets/{AppBasePage-B5sDynhi-B6PJcirc.js → AppBasePage-B5sDynhi-BCr-TzEC.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D9Q8ir0T-BlV3y7qg.js → AppDrawerContent-D9Q8ir0T-BixxjR_X.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DVGvJsQG-g3c3aBsx.js → ApprovalRulesSettingsPage-DVGvJsQG-DhxleZ0_.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Tcu0Lja_-DlvMwgJ3.js → ArAgingChart-Tcu0Lja_-Bn-GYO8G.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-B5vqkc3v-xHE7Qc0m.js → ArAgingDetailPage-B5vqkc3v-BduuFDYJ.js} +1 -1
  19. package/dist/assets/{AttachmentView-CiYfninr-BohG7XjP.js → AttachmentView-CiYfninr-CUmSw95Q.js} +1 -1
  20. package/dist/assets/{BalancesInsightWithToolTip-tiQUQUbX-C692_oh-.js → BalancesInsightWithToolTip-tiQUQUbX-frV275AV.js} +1 -1
  21. package/dist/assets/{BankAccountSection-EZtscP2z-aKL8vcpJ.js → BankAccountSection-EZtscP2z-BgicWcYt.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-DCfyIUlu-DyMLU3Tg.js → BankAccountWarningSection-DCfyIUlu-BMej2Zyu.js} +1 -1
  23. package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-B-n6frCU.js → BankConnectionsSettingsPage-CQWy9jvt-wGlY_7dS.js} +1 -1
  24. package/dist/assets/{BillDetailPage-pt1k5AQf-BM9-GtkV.js → BillDetailPage-pt1k5AQf-CyNhjuPS.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-CDpJ0g2R.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-kVFER1lm.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-pg1tP0xq.js → BillPayApprovalRulesPage-Cmyo59xB-DqCAQW7z.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-Dgpz2TLG-BFCcBeGF.js → BillPayPromoPage-Dgpz2TLG-Bmim6gnH.js} +1 -1
  28. package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js → BillPaySetUpPage-B6Pd_eBf-CEDluSe2.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-CYsvBrFV-BWO0QWBs.js → BillingSettingsPage-CYsvBrFV-DPsrg5X4.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-BQr-aBSF.js → BillsBulkReviewDrawerPage-DNnAmqWz-qrneENng.js} +1 -1
  31. package/dist/assets/{BoxItem-B06DK4G--CNFqY3pV.js → BoxItem-B06DK4G--gd85wEki.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-BdAKTgt0.js → BusinessVerificationPage-Dgk5gyMv-BJ9aIxVM.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-CcH9jUoZ-BGeGZCAA.js → CardNumberSubText-CcH9jUoZ-B2VFk3-3.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-5eysaHGf-qWx0m6gR.js → CashbackDetailPage-5eysaHGf--MmhOABJ.js} +1 -1
  35. package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-DmopcUlO.js → ChargeCardDetailPage-Diwf-gwZ-Cd_uwbQb.js} +1 -1
  36. package/dist/assets/{ChargeCardListPage-C-RTGkKK-Bb-QwUsn.js → ChargeCardListPage-C-RTGkKK-B0mW-6Hb.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-B-bNbtZQ-Bfw8s7pe.js → ChargeCardListTable-B-bNbtZQ-CVPyDOrN.js} +1 -1
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-C6SEcidH.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-D1H0yQXX.js} +1 -1
  39. package/dist/assets/{ChargeCardPromoPage-Cz3rNFwM-N71PCrPp.js → ChargeCardPromoPage-Cz3rNFwM-DeGEAS3w.js} +1 -1
  40. package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-DkE42DK5.js → ChargeCardSetupPage-BcTB9Yy5-CzgkZNHd.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-DFHNpOVz.js → ChargeCardStatementsPage-B_ERvgmB-DCZvRjGs.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-D7_usOVn-C_GuSSOC.js → CheckDepositDrawerPage-D7_usOVn-BLpGmRAA.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-h0vIfI8o-Bg2RfRDJ.js → CollapsableReportTable-h0vIfI8o-C_nIboyL.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-IHJvDX6-.js → CompanyOfficerDetailsSection-CWADX4kZ-DAJDbqKY.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DF9LFrFD-DjueOJ3s.js → CompanyPassportCard-DF9LFrFD-CfORxvik.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BtAopyLq-DbU6xdRd.js → CompanyPassportPage-BtAopyLq-BAcVVtkr.js} +1 -1
  47. package/dist/assets/{CompleteProfile-CsbsHQ0p-BLF2mnNn.js → CompleteProfile-CsbsHQ0p-B21zbfQo.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-duD341Gp-Bb3-s_zN.js → ConfettiBurst-duD341Gp-D_XM-ZLA.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-hv51KpGg-DTOZooRA.js → ConstrainedInnerElement-hv51KpGg-CmdPlE4F.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-DT9rwnbq.js → CreateOrEditVendorPage-C2xU6c51-Bbcgjb9-.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-D6hhhd3N.js → CreditCardPaymentDrawerPage-CeagMaCu-1y85DWq7.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-B8EoF2aF-uavVFTum.js → CurrencySelectField-B8EoF2aF-bqlkSsm1.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-B59q7JSL.js → CustomerOnboardingActivationPage-CIeR2XvU-HFKU3SJV.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-CfdbcJAi.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-zrrFUTGk.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-BummVZhW.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Br0jy7Pu-C04-tCb6.js → CustomerOnboardingNoStepsPage-Br0jy7Pu-Dl_Mv5Wl.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-Dm2Si769-DsN6K-ie.js → CustomerOnboardingPage-Dm2Si769-v8HiMA2t.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-eSuGAIqK.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-DcDufkYh.js} +1 -1
  59. package/dist/assets/{Dashboard-DReG_aaf-C4aSoq3o.js → Dashboard-DReG_aaf-D4X-o9_o.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-BXSlwsR7-4jSB_qXZ.js → DashboardReportPage-BXSlwsR7-Cz_0lopm.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-B3dtVAe2-BBvO3tiT.js → DashboardSidebarBackgroundAnimation-B3dtVAe2-CnL0efQL.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-YuSXjbLh-dhpmj79R.js → DepositAccTransactionItem-YuSXjbLh-Dx6q11sT.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-C-FAvZwD-5kKsnSxM.js → DepositAccTransactionListPage-C-FAvZwD-C5Fhkuso.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-BaiSpc0N-BaNvy8Dj.js → DomesticWireDetailsPage-BaiSpc0N-uZETNNhJ.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-BpRKCn-0-GQtzMlpD.js → DownloadOverlay-BpRKCn-0-D916sq-Q.js} +1 -1
  66. package/dist/assets/{DrawerPage-DQ3Xuekx-71bFG_xW.js → DrawerPage-DQ3Xuekx-CPQLwVxj.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-8DalSMWH-BO--FbCf.js → EditPeoplePage-8DalSMWH-CQGejIQU.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-CC2BjMkR-BrDBl4Nx.js → EditReimbursementDetailPage-CC2BjMkR-CTUwI237.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-fmWuxHTZ-BEOMoyTE.js → EntityDetailPage-fmWuxHTZ-BIJZhZst.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-vsEMiXYh-UA5Y35sl.js → EntitySummarySection-vsEMiXYh-CeoK4uKh.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-4ZtjmO8G.js → ExpenseAutomationOverviewPage-B3HPfIsK-Dke8ZZM7.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-4LJefgNh-YH8canW3.js → ExpenseAutomationPage-4LJefgNh-B3SC6b6Z.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-BH7oCW_F-HW0llOdu.js → ExpressPayPage-BH7oCW_F-BgagaIu0.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-DSv61BhF-rk5VNvfQ.js → FeaturePreviewPage-DSv61BhF-Bydcxxv7.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-Bgy9MpO4-DCiZAX41.js → FollowStepsSection-Bgy9MpO4-BD-x00_h.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-VRq_gimm-D4JxkgEf.js → GlobalReviewListPage-VRq_gimm-C4s7IsET.js} +1 -1
  77. package/dist/assets/{InformationCardStack-rx0fypl3-C50dsns2.js → InformationCardStack-rx0fypl3-lIkh6DIc.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-uJWMkIZL-k2gW7JtA.js → InsightsCardStack-uJWMkIZL-DtJ0hQoC.js} +1 -1
  79. package/dist/assets/{InsightsSection-ByFf2oGn-BaSZhycl.js → InsightsSection-ByFf2oGn-BpaFGZob.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-JLccDpyu.js → IntegrationsSettingsPage-Cj01Nub6-ukII9-Qt.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv-CXe5WYRW.js → InternationalWireSwiftDetailsPage-C2PM97sv-B1VGuN9H.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-Cr3sDrT--Bq6HNEU0.js → InternationalWireVerificationPage-Cr3sDrT--p70b3BcM.js} +1 -1
  83. package/dist/assets/{InviteFormPage-dsMpScvq-CF55W3d2.js → InviteFormPage-dsMpScvq-CFmeqnsL.js} +1 -1
  84. package/dist/assets/{InvitePageListView-e7vGSbFa-wcp0OLc4.js → InvitePageListView-e7vGSbFa-CJKyi1gx.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-BT_YVCP4-yRtlk6wv.js → InvitePeoplePage-BT_YVCP4-CH8t_pZ3.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-Dg1-uunA-DejmnF3G.js → InvoiceUploadSection-Dg1-uunA-DNwM3go9.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-CyF9wrb0-DIt_LpMY.js → IssueChargeCardPage-CyF9wrb0-ClM-IPZk.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-3l0Bv00--DmuSRVDq.js → LabeledAddressValue-3l0Bv00--D-HSHhPl.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js → LabeledAddressValueField-F9kvUR_r-DBGec-DX.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BgC8y0D6-Cxk0wWCO.js → LabeledControlledCheckBoxField-BgC8y0D6-GOZsgGrW.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.js → LabeledCountryMultiSelectField-3qI_4noU-BbsNYM5E.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js → LabeledCreatableSingleSelectField-BV3h9bh7-1HTMQlga.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-rriEcsdr-CkxtZhMI.js → LabeledDocumentField-rriEcsdr-BmxO7VvX.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DoVSg3nZ-Be0l5Q_z.js → LabeledDropDownFormattedTextField-DoVSg3nZ-CBz2J7Mt.js} +1 -1
  95. package/dist/assets/{LabeledText-DGZ7hxY4-IuE8fmYf.js → LabeledText-DGZ7hxY4-RKJj2tnG.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-DgE4V-VP.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-CEQc_jEa.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--Bw9Copum.js → LabeledZeniRolesDropDownField-jIrTovp--Bg5do-m5.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-Bvbqpltz-Bc-21K8g.js → LinkJETransactionPage-Bvbqpltz-CUqW1qfB.js} +1 -1
  99. package/dist/assets/{LockCardPage-DyEQBJYx-BLiE9GBP.js → LockCardPage-DyEQBJYx-DPKd8EJ2.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-C2vHKMNF-PKO6ElPE.js → LowBalancePopup-C2vHKMNF-CtUR2Fp6.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-lAAwAtH7-SJ0jUK4M.js → MagicLinkACHDetailsPage-lAAwAtH7-MCpTChZt.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-cv823ASo-DimLQOFo.js → MagicLinkDomesticWireDetailsPage-cv823ASo-Dc2-bFCa.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C_SjsgC9-Bvgil6AB.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-TLhL2PMx.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-B1LBYM2F-BYLLbXss.js → MagicLinkSuccessPage-B1LBYM2F-Cz9gaxKE.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-CxQuR-QP.js → MagicLinkTitleSection-ClAnBBt9-BMtrSFyH.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-9_XLl4bT-BB3mmWQ9.js → MailingDetailsSection-9_XLl4bT-Bv_CjAr1.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-DwZ11Kbp.js → MyBankConnectionsSettingsPage-CBNYcuP4-CiKLyA9R.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-n71n40uQ-DzAksyAj.js → MyPendingActivationChargeCardListPage-n71n40uQ-ClE2TpxA.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BUMIjZYc-CtFmjBIE.js → MyProfileSettingsPage-BUMIjZYc-s_FxKeTm.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CbjFNysh-BLH7wXCB.js → NavBarWithPicker-CbjFNysh-DBMFFH1I.js} +1 -1
  111. package/dist/assets/{NavigationArrow-Dpc7u6y4-94AYlIy-.js → NavigationArrow-Dpc7u6y4-Bivw7Wa_.js} +1 -1
  112. package/dist/assets/{NavigationDots-DCpslVnm-BIAw9fTc.js → NavigationDots-DCpslVnm-DJbgqxZk.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-Owh-T5As.js → NewGlobalMerchantPage-B10sY6Q_-CwJxcq0b.js} +1 -1
  114. package/dist/assets/{NoDataChart-9-bhq204-jF2VPuzU.js → NoDataChart-9-bhq204-BRTzKooZ.js} +1 -1
  115. package/dist/assets/{NoDataTable-C6Q2Anpz-DB9htpIj.js → NoDataTable-C6Q2Anpz-DCUTf7HA.js} +1 -1
  116. package/dist/assets/{NotFoundPage-4mPhXD5--Dq1iR5VQ.js → NotFoundPage-4mPhXD5--D-JRx0YU.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-BTxCoB_b-BHZscHCj.js → NotificationSettingsPage-BTxCoB_b-BOBOU_9f.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-CylnViXd-Dg2fm6St.js → NotificationsListConfig-CylnViXd-BKjC0LaR.js} +1 -1
  119. package/dist/assets/{NotificationsPage-D41h0mS6-Dzdq9z4a.js → NotificationsPage-D41h0mS6-RbJ-rwMb.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BV_uJSCh-BHuftqJi.js → OpExByVendorPage-BV_uJSCh-CgiHSILj.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-CkUYOhlh-ChB_ia4V.js → OverlayContainerPage-CkUYOhlh-D1er0FrR.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cj3UWjG4-Ufv6uGVt.js → PandLWithForecastPage-Cj3UWjG4-B5oBOgUH.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-DUUCCWV6.js → PaymentAccountSetupBillingAddressSection-BWFl695q-ndA3bqXt.js} +1 -1
  124. package/dist/assets/{PeoplePage-DcGqWtAP-CfVqJS-U.js → PeoplePage-DcGqWtAP-5e40vHb9.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-C9JoJQeH-7TCp-gr7.js → ProductsCarousel-C9JoJQeH-DlyT6T1y.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-mFk7SsOr-cB2eyHgD.js → PromoBaseCards-mFk7SsOr-BDNaSYdf.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-CJsIrEZq-Djdbh1G7.js → QBOConnectionDialog-CJsIrEZq-CKD26IpL.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-C_fqHza_-B8WpC_yY.js → QBOSetupSection-C_fqHza_-ZXq_dYb4.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-CX5NlTL7.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-BkQdiZ11.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-CGtrNpR7.js → ReimbursementApprovalRulesPage-C2zNa8dT-Csprjigd.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-B1o8ea57-BrBovHlf.js → ReimbursementDetailPage-B1o8ea57-BYCDKcOS.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-CzrrekBH.js → ReimbursementPromoPage-Df5QmXzC-5bmJ3l2r.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-D450RVsP-BNS45RtV.js → ReimbursementSetUpPage-D450RVsP-D-xWgVhY.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-BYy6jU6w.js → ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-HAGRhUjO.js} +1 -1
  135. package/dist/assets/{ReloadCard-D5cvzWxe-BSJWwb6T.js → ReloadCard-D5cvzWxe-DyLnfF3x.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-Ig41fOPb-DyEm5Q02.js → ReportTableViewSelector-Ig41fOPb-wIBJqt8s.js} +1 -1
  137. package/dist/assets/{ReportsPage-CRAVAUTO-D_QRWGM1.js → ReportsPage-CRAVAUTO-BI7A0p7Y.js} +1 -1
  138. package/dist/assets/{RevenueChart-DtQu0KAn-DJYGsojB.js → RevenueChart-DtQu0KAn-ne0YujYK.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-vui4TqeA-gjxKkEYH.js → ReviewDetailsPage-vui4TqeA-Bpr-d7mz.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-CUnL7H-a-BjFaE0id.js → ReviewOverlay-CUnL7H-a-D6aj2Dtd.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-x2rnvWn9-BzchKu5T.js → RoleWithToolTip-x2rnvWn9-C8vnNy04.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D_Cls2jC-CNWyfY4t.js → ScheduleDetailsFixedAssetsPage-D_Cls2jC-DCiHNqHB.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-DmSLuM8g-5vyMikmE.js → ScheduleDetailsPage-DmSLuM8g-DG6o7-eZ.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-js9_P_Lo-CeLb4ONW.js → ScheduleSequenceTable-js9_P_Lo-B9h5W4w0.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-ziq-yiHW.js → ScreenRoutes-B7ajeMjg.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-DYRWWXcL-D3Lz2J4N.js → SetUpAccountSection-DYRWWXcL-l59zkQO0.js} +1 -1
  147. package/dist/assets/{SignIn-CUJkZb3S-DEoVYbuM.js → SignIn-CUJkZb3S-PavEkJaR.js} +1 -1
  148. package/dist/assets/{SignInScreen-CMKiwyNN.js → SignInScreen-BveD6w8K.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-BieufnDb-DWfo1rZv.js → SpendManagementListViewPage-BieufnDb-CI_P4x1e.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-BmUp80QX-D3VMwaS-.js → SpendManagementPerTabPage-BmUp80QX-B5V0Wpxy.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-DKZNTYXT-mbKmW3pW.js → SpendManagementSection-DKZNTYXT-Czj4IlKu.js} +1 -1
  152. package/dist/assets/{StatementItem-Dyt5Q0eR-DHmcaJ-e.js → StatementItem-Dyt5Q0eR-BsHX8AwV.js} +1 -1
  153. package/dist/assets/{StatementsPage-CbtnJM5y-COycJvfL.js → StatementsPage-CbtnJM5y-DN08uQjb.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-BfQ9VbBH-DC0t3Flj.js → StatusSwitcher-BfQ9VbBH-CMZDlves.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-CzGiuhk3-DLbV8WBg.js → SubTabSwitcher-CzGiuhk3-B9O-KX6j.js} +1 -1
  156. package/dist/assets/{SummaryCard-D61xzK3a-DMSW9KNv.js → SummaryCard-D61xzK3a-BK5ue-_1.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-ucVAdv7x-AkXJlFwQ.js → TaskManagementPage-ucVAdv7x-BKEHBYJn.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-C3jXm39I-tjiVSjZN.js → TimeRangeSwitcher-C3jXm39I-Cb64l_sF.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-CcYg-YQJ-C2j1iPoK.js → TimeframeSwitcher-CcYg-YQJ-IhSu35ud.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-w4YJno-p-Bi4h2wB2.js → TimeframeSwitcherWithToggle-w4YJno-p-C6wpknbe.js} +1 -1
  161. package/dist/assets/{TopExCard-D2PRxvFc-DTkmCs_e.js → TopExCard-D2PRxvFc-CcqH1-v5.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-C0uHdU7N-CkEVyz2B.js → TopExDetailPage-C0uHdU7N-Bq7qKLlT.js} +1 -1
  163. package/dist/assets/{TransactionActivityLogPage-CqYb19tY-v__opMvt.js → TransactionActivityLogPage-CqYb19tY-2szllqb1.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-D-NR_yZG-DdONq5Tf.js → TransactionDetailPage-D-NR_yZG-B2Sautks.js} +1 -1
  165. package/dist/assets/{TransactionList-f6yB-byH-Oxgdaak4.js → TransactionList-f6yB-byH-ezH96LKS.js} +1 -1
  166. package/dist/assets/{TransactionListBig-BrDWayQS-C0zQ3f5X.js → TransactionListBig-BrDWayQS-CQl5zccf.js} +1 -1
  167. package/dist/assets/{TransactionListPage-C-Z62y2d-DnIWNXku.js → TransactionListPage-C-Z62y2d-rpfMnfYg.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-Dt6j0ppt.js → TransactionVendorDetailPage-CQQuAR6V-Ci8W67Bw.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-DfFm-1-3-Dp1b_ezH.js → TransferDrawerPage-DfFm-1-3-C4oicCQl.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CKSanlUG-BJ3RsJkb.js → TreasuryOverviewPage-CKSanlUG-C07uy0I1.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-Dyip3H10-ClQVvPZy.js → TreasuryPromoPage-Dyip3H10-rLajdXPg.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-mljf2Van-DInZXjo_.js → TreasuryStatementsPage-mljf2Van-B5lrauBX.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-D3cV3a-8-CcMHT6vj.js → TreasuryTaxLetterPage-D3cV3a-8-NbhufeE3.js} +1 -1
  174. package/dist/assets/{TrendChart-fFlHCvNx-DADa9lxz.js → TrendChart-fFlHCvNx-D1INkMf3.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-It4KDov3-BNez-K-6.js → TrendWithTransactions-It4KDov3-38S285oR.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-BSZYER7A.js → UncategorizedAccountsMappingPage-BxBz2Ce0-HjEejVuC.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-gVgsk2ji-Dz79ORBq.js → UnitIntegrationPage-gVgsk2ji-BzPkw_kp.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js → UploadAdditionalDocumentOverlay-C5m8jqup-DsAYb7GV.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DRwBzOwn-C-SwMKWw.js → Vendor2FAPopup-DRwBzOwn-BVMTGmHy.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-By2Ya2bv-CjVBmCig.js → VendorACHDetailsPage-By2Ya2bv-CAhsvkfV.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-jci1LqX3-QbESQx0s.js → VendorDetailPage-jci1LqX3-DmAkqT8U.js} +1 -1
  182. package/dist/assets/{VendorDomesticWireDetailsPage-uIDE-n5v-CEtT0uGT.js → VendorDomesticWireDetailsPage-uIDE-n5v-jtMrW6rK.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-D-wgniGH.js → VendorFiling1099EditablePage-8pYT3u-X-CCxpM1hv.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-CafakxA1-CDJXyRr2.js → VendorFirstReviewPage-CafakxA1-CvW3WynL.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-DlATitk5.js → VendorInternationalWireDetailsPage-DJeI-ZFW-CBf1rXyh.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Co-5nTam-Dq9Sjb3M.js → VendorInternationalWireSwiftDetailsPage-Co-5nTam-CW2DmQxH.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-YX2g8ETe-D60z7JWq.js → VendorsAccountsSection-YX2g8ETe-wCDHzNEi.js} +1 -1
  188. package/dist/assets/{VerifyDevice-DeHW4GAi-COYWduJ8.js → VerifyDevice-DeHW4GAi-yrEokCCl.js} +1 -1
  189. package/dist/assets/{VideoPlayer-DxIfGrPu-_quRL0IB.js → VideoPlayer-DxIfGrPu-B2YmNbuT.js} +1 -1
  190. package/dist/assets/{VideoPopup-CUP7ctgS-CvuTwYjE.js → VideoPopup-CUP7ctgS-BcfKwRlS.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage--s6b380L-kLxITMYx.js → WarningsDrawerPage--s6b380L-BSwXMmOc.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-7NdkdSg3-DUqxr3Vg.js → ZeniAccountDetailPage-7NdkdSg3-Cr6HQeS4.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-B-cs_xnc-yymuGC8c.js → ZeniAccountListViewPage-B-cs_xnc-D7pWlm_S.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js → ZeniAccountNavBarPieces-CjRip0v9-IbxcQtCH.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-CZNOzkma.js → ZeniAccountPromoPage-BikXtkeH-D_RRsNkQ.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-BRBsijVt-4J2hs6F_.js → ZeniAccountSetupPage-BRBsijVt-CRqhhR58.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-DDGvdmLF-BbItEQ1K.js → ZeniCopyright-DDGvdmLF-BKXO4QNt.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-C5Juk6O6.js → ZeniTransferAmountSlider-Cdg0TlHk-BBV5qPLq.js} +1 -1
  199. package/dist/assets/{analyticsHelper-Bnej6boJ.js → analyticsHelper-BBWNRi26.js} +1 -1
  200. package/dist/assets/{analyticsHelper-D9xdJK4b-C8beHKtm.js → analyticsHelper-D9xdJK4b-BJA83zZE.js} +1 -1
  201. package/dist/assets/{chartTypes-Dq3hUz_T-D0weDXco.js → chartTypes-Dq3hUz_T-CqrGtvb6.js} +1 -1
  202. package/dist/assets/{commonDimensions-CGHIQ2To-BXIDDuOd.js → commonDimensions-CGHIQ2To-BRyzQY__.js} +1 -1
  203. package/dist/assets/{commonTypes-BAJPaPYg-BqOkop1Y.js → commonTypes-BAJPaPYg-CDifTgTP.js} +1 -1
  204. package/dist/assets/{downloadPdf-BI2Y41h2-DmQ3wa5x.js → downloadPdf-BI2Y41h2-DfnhmK8V.js} +1 -1
  205. package/dist/assets/{helper-z5-P4a-y-DCqj7mqg.js → helper-z5-P4a-y-O76OASBi.js} +1 -1
  206. package/dist/assets/{index-nssLOVFu.js → index-DtIqdweZ.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-DrC2Zs2y-BuaBdgp1.js → mapLoadingInProgressToTreeNode-DrC2Zs2y-DWmiG5c4.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-D78gQ4Dn.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-BmzUOsCF.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-DMDEaLzQ-ibbyX8vz.js → mapSpacerToTreeNode-DMDEaLzQ-D3_MaPFV.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-CW_wzI5T-he6bfb8d.js → mapTimeframeBalancesToTreeNode-CW_wzI5T-DJSjPY4U.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DvfKBCs5-GyIWCN5D.js → mapTimeframeBalancesToTreeNode-DvfKBCs5-DK8IB_iY.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-DlA9TyjC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-ewu-2x9z.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-P7keEtAg-DZcYuHA-.js → toCOABalancesWithID-P7keEtAg-DSr-Ji44.js} +1 -1
  214. package/dist/assets/{toChartData-BUf5HHim-DGDFToOH.js → toChartData-BUf5HHim-CcuAup9f.js} +1 -1
  215. package/dist/assets/{uploadAttachment-DJA30WSD-CHN4VO1K.js → uploadAttachment-DJA30WSD-BjBmWUFe.js} +1 -1
  216. package/dist/assets/{uploadReceipts-CqDftTRt-Bj47leio.js → uploadReceipts-CqDftTRt-DjBPShf8.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-Betf7XiO.js +0 -1
@@ -1 +1 @@
1
- import{V as b}from"./index-nssLOVFu.js";import{a as S}from"./sentry-Fca4mdIl.js";import{f as k}from"./InternationalWireSwiftDetailsPage-C2PM97sv-CXe5WYRW.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./mui-BVCBQYdL.js";import"./recharts-DAsNs3BU.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./BankAccountWarningSection-DCfyIUlu-DyMLU3Tg.js";import"./MailingDetailsSection-9_XLl4bT-BB3mmWQ9.js";import"./LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js";import"./MagicLinkTitleSection-ClAnBBt9-CxQuR-QP.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]="72494846-12a8-45b9-9e7f-e8a14bbffcad",e._sentryDebugIdIdentifier="sentry-dbid-72494846-12a8-45b9-9e7f-e8a14bbffcad")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),b.jsx(k,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{F as default};
1
+ import{V as b}from"./index-DtIqdweZ.js";import{a as S}from"./sentry-Fca4mdIl.js";import{f as k}from"./InternationalWireSwiftDetailsPage-C2PM97sv-B1VGuN9H.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./mui-BVCBQYdL.js";import"./recharts-DAsNs3BU.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./BankAccountWarningSection-DCfyIUlu-BMej2Zyu.js";import"./MailingDetailsSection-9_XLl4bT-Bv_CjAr1.js";import"./LabeledAddressValueField-F9kvUR_r-DBGec-DX.js";import"./MagicLinkTitleSection-ClAnBBt9-BMtrSFyH.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]="72494846-12a8-45b9-9e7f-e8a14bbffcad",e._sentryDebugIdIdentifier="sentry-dbid-72494846-12a8-45b9-9e7f-e8a14bbffcad")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return S.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),b.jsx(k,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:r,onSaveHandler:d,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{X as ie,y as oe,O as te,x as c,gZ as w,aX as P,V as i,ig as g,o as r,ic as f,N as ne,p as re,dM as de,ak as se,u as a}from"./index-nssLOVFu.js";import{n as s}from"./mui-BVCBQYdL.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]="f5e48f82-2fef-40b0-8489-069c5ed4918e",e._sentryDebugIdIdentifier="sentry-dbid-f5e48f82-2fef-40b0-8489-069c5ed4918e")}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{X as ie,y as oe,O as te,x as c,gZ as w,aX as P,V as i,ig as g,o as r,ic as f,N as ne,p as re,dM as de,ak as se,u as a}from"./index-DtIqdweZ.js";import{n as s}from"./mui-BVCBQYdL.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]="f5e48f82-2fef-40b0-8489-069c5ed4918e",e._sentryDebugIdIdentifier="sentry-dbid-f5e48f82-2fef-40b0-8489-069c5ed4918e")}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{aS as A,aa as U,V as r,c0 as B,ab as p,ae as G,c1 as J,ak as x,c2 as W,o as n,O as F,b as E,c3 as X,an as L,c4 as Z,c5 as I,bM as q,p as j,bc as v,c6 as K}from"./index-nssLOVFu.js";import{a as c}from"./sentry-Fca4mdIl.js";import{n as t}from"./mui-BVCBQYdL.js";import{bh as Q}from"./zeni-epic-state-BZv12Eez.js";import{A as Y,Z as C}from"./AccountLockedInfoModal-c30P9O_3-BXRFFhii.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./handshake-BPg58FML-C8qC_oIS.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]="8ef5666f-9f1a-4ad9-9f53-96ea4910b796",e._sentryDebugIdIdentifier="sentry-dbid-8ef5666f-9f1a-4ad9-9f53-96ea4910b796")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Z(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},k=120,V=30,_=2,re="456px",te="256px",O=6,o=F.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(k),[h,S]=c.useState(V),D=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{$.trim().length===O&&e.onVerifyOtp($)},H=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),z=s%60;return`${d}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>_,children:r.jsx(Y,{unlockDate:Q().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=_,children:r.jsx(G,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(J,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(W,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(T,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(T,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(k),S(V))},children:o.resend}),h>0&&r.jsxs(he,{children:[F.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:M,style:{width:82},loading:i,disabled:$.trim().length!==O||l===!0})]}),r.jsx(me,{children:H})]})]})})})]})})},ne=t.div`
1
+ import{aS as A,aa as U,V as r,c0 as B,ab as p,ae as G,c1 as J,ak as x,c2 as W,o as n,O as F,b as E,c3 as X,an as L,c4 as Z,c5 as I,bM as q,p as j,bc as v,c6 as K}from"./index-DtIqdweZ.js";import{a as c}from"./sentry-Fca4mdIl.js";import{n as t}from"./mui-BVCBQYdL.js";import{bh as Q}from"./zeni-epic-state-BZv12Eez.js";import{A as Y,Z as C}from"./AccountLockedInfoModal-c30P9O_3-D4jjMEZV.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./handshake-BPg58FML-C8qC_oIS.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]="8ef5666f-9f1a-4ad9-9f53-96ea4910b796",e._sentryDebugIdIdentifier="sentry-dbid-8ef5666f-9f1a-4ad9-9f53-96ea4910b796")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Z(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},k=120,V=30,_=2,re="456px",te="256px",O=6,o=F.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(k),[h,S]=c.useState(V),D=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{$.trim().length===O&&e.onVerifyOtp($)},H=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[D,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const R=s=>{const d=Math.floor(s/60),z=s%60;return`${d}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>_,children:r.jsx(Y,{unlockDate:Q().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=_,children:r.jsx(G,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(J,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${C}`,children:C})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(W,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(T,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",R(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(T,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(k),S(V))},children:o.resend}),h>0&&r.jsxs(he,{children:[F.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:M,style:{width:82},loading:i,disabled:$.trim().length!==O||l===!0})]}),r.jsx(me,{children:H})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-BXvNRT2q.js","assets/sentry-Fca4mdIl.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-jkd7J1Kg.js","assets/zeni-epic-state-BZv12Eez.js","assets/core-DTlL91ob.js","assets/index-BTxAEBwp.js","assets/react-C_JPVQ2C.js","assets/react-QuNdLWH0.js","assets/react-BEal1Iuh.js","assets/react-CSBaF2r0.js","assets/react-CLksnFSH.js","assets/react-DRddHEvz.js","assets/Preview-DHku7oFH.js"])))=>i.map(i=>d[i]);
2
- import{X as W,V as f,aq as X,p as Y}from"./index-nssLOVFu.js";import{P as _,a as t}from"./sentry-Fca4mdIl.js";import{n as k,k as q}from"./mui-BVCBQYdL.js";import{r as K}from"./core-DTlL91ob.js";import{ba as y}from"./zeni-epic-state-BZv12Eez.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]="10f47e09-0c9c-4a1c-96e8-947cd5810e56",e._sentryDebugIdIdentifier="sentry-dbid-10f47e09-0c9c-4a1c-96e8-947cd5810e56")}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-BXvNRT2q.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-jkd7J1Kg.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-BTxAEBwp.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-C_JPVQ2C.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-QuNdLWH0.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BEal1Iuh.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CSBaF2r0.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CLksnFSH.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DRddHEvz.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-DHku7oFH.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`
2
+ import{X as W,V as f,aq as X,p as Y}from"./index-DtIqdweZ.js";import{P as _,a as t}from"./sentry-Fca4mdIl.js";import{n as k,k as q}from"./mui-BVCBQYdL.js";import{r as K}from"./core-DTlL91ob.js";import{ba as y}from"./zeni-epic-state-BZv12Eez.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]="10f47e09-0c9c-4a1c-96e8-947cd5810e56",e._sentryDebugIdIdentifier="sentry-dbid-10f47e09-0c9c-4a1c-96e8-947cd5810e56")}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-BXvNRT2q.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-jkd7J1Kg.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-BTxAEBwp.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-C_JPVQ2C.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-QuNdLWH0.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-BEal1Iuh.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CSBaF2r0.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CLksnFSH.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DRddHEvz.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-DHku7oFH.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=q`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -1,4 +1,4 @@
1
- import{X as s,V as t,aq as a,ac as l,p as c,o,x as d}from"./index-nssLOVFu.js";import{n}from"./mui-BVCBQYdL.js";import{N as h}from"./VideoPlayer-DxIfGrPu-_quRL0IB.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]="0772c852-9d42-45ee-967a-84aa1d2bbc73",e._sentryDebugIdIdentifier="sentry-dbid-0772c852-9d42-45ee-967a-84aa1d2bbc73")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},w=n.div`
1
+ import{X as s,V as t,aq as a,ac as l,p as c,o,x as d}from"./index-DtIqdweZ.js";import{n}from"./mui-BVCBQYdL.js";import{N as h}from"./VideoPlayer-DxIfGrPu-B2YmNbuT.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]="0772c852-9d42-45ee-967a-84aa1d2bbc73",e._sentryDebugIdIdentifier="sentry-dbid-0772c852-9d42-45ee-967a-84aa1d2bbc73")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},w=n.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{X as C,V as s,z as D,a as j,b as B,w as M,o as n,O as S,x as $,N as E,M as L,c as z,d as N,p as h,e as P,f as T,u,n as A}from"./index-nssLOVFu.js";import{n as a}from"./mui-BVCBQYdL.js";import{cH as O}from"./zeni-epic-state-BZv12Eez.js";import"./sentry-Fca4mdIl.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="9b61a247-8edc-446c-bce0-0bea2958e53c",r._sentryDebugIdIdentifier="sentry-dbid-9b61a247-8edc-446c-bce0-0bea2958e53c")}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)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?O(r):0,b=r?.onboardingInfo?.bankAccountLinked,x=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(x!=null){const i=t.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=V(x,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}=F(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(H,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(q,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(U,{children:I>0?s.jsxs(v,{children:[s.jsx(v,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(v,{children:`${e.common.no}
1
+ import{X as C,V as s,z as D,a as j,b as B,w as M,o as n,O as S,x as $,N as E,M as L,c as z,d as N,p as h,e as P,f as T,u,n as A}from"./index-DtIqdweZ.js";import{n as a}from"./mui-BVCBQYdL.js";import{cH as O}from"./zeni-epic-state-BZv12Eez.js";import"./sentry-Fca4mdIl.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="9b61a247-8edc-446c-bce0-0bea2958e53c",r._sentryDebugIdIdentifier="sentry-dbid-9b61a247-8edc-446c-bce0-0bea2958e53c")}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)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?O(r):0,b=r?.onboardingInfo?.bankAccountLinked,x=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(x!=null){const i=t.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=V(x,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}=F(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(H,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(q,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(X,{children:[s.jsx(U,{children:I>0?s.jsxs(v,{children:[s.jsx(v,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(v,{children:`${e.common.no}
2
2
  ${D(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(K,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(j,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(B,{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}},F=(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}},H=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{ay as fe,V as t,e5 as Re,aa as We,X as M,a9 as Ge,bQ as Ve,e8 as Ye,y as ye,aS as Fe,aQ as B,c1 as N,o,bE as Je,w as T,cy as J,cz as _,cA as X,ae as _e,eM as Xe,p as y,eT as Ke,ac as S,L as $e,bU as Ze,x as b,ak as C,O as H,bM as Qe,dH as qe,bT as et,aV as tt,u,hg as ot,fH as se,an as oe,hR as at,b9 as it,b1 as nt,hS as lt,n as rt,hT as st,e as ct,hk as dt,dg as pt,ao as ut,N as ht,cq as mt}from"./index-nssLOVFu.js";import{a as n}from"./sentry-Fca4mdIl.js";import{n as a}from"./mui-BVCBQYdL.js";import{GU as xt,bI as K}from"./zeni-epic-state-BZv12Eez.js";import{$ as gt}from"./BoxItem-B06DK4G--CNFqY3pV.js";import{w as ft}from"./downloadPdf-BI2Y41h2-DmQ3wa5x.js";import{Y as yt}from"./DepositAccTransactionItem-YuSXjbLh-dhpmj79R.js";import{J as $t}from"./ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js";import{O as bt,C as wt,F as jt,X as Ct,Y as kt,G as vt,D as St}from"./recharts-DAsNs3BU.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./commonDimensions-CGHIQ2To-BXIDDuOd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e12543d2-a9cd-4854-8fce-00ef73226def",e._sentryDebugIdIdentifier="sentry-dbid-e12543d2-a9cd-4854-8fce-00ef73226def")}catch{}})();const Dt=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.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"}),n.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.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"})),At=a.div`
1
+ import{ay as fe,V as t,e5 as Re,aa as We,X as M,a9 as Ge,bQ as Ve,e8 as Ye,y as ye,aS as Fe,aQ as B,c1 as N,o,bE as Je,w as T,cy as J,cz as _,cA as X,ae as _e,eM as Xe,p as y,eT as Ke,ac as S,L as $e,bU as Ze,x as b,ak as C,O as H,bM as Qe,dH as qe,bT as et,aV as tt,u,hg as ot,fH as se,an as oe,hR as at,b9 as it,b1 as nt,hS as lt,n as rt,hT as st,e as ct,hk as dt,dg as pt,ao as ut,N as ht,cq as mt}from"./index-DtIqdweZ.js";import{a as n}from"./sentry-Fca4mdIl.js";import{n as a}from"./mui-BVCBQYdL.js";import{GU as xt,bI as K}from"./zeni-epic-state-BZv12Eez.js";import{$ as gt}from"./BoxItem-B06DK4G--gd85wEki.js";import{w as ft}from"./downloadPdf-BI2Y41h2-DfnhmK8V.js";import{Y as yt}from"./DepositAccTransactionItem-YuSXjbLh-Dx6q11sT.js";import{J as $t}from"./ZeniAccountNavBarPieces-CjRip0v9-IbxcQtCH.js";import{O as bt,C as wt,F as jt,X as Ct,Y as kt,G as vt,D as St}from"./recharts-DAsNs3BU.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";import"./commonDimensions-CGHIQ2To-BRyzQY__.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e12543d2-a9cd-4854-8fce-00ef73226def",e._sentryDebugIdIdentifier="sentry-dbid-e12543d2-a9cd-4854-8fce-00ef73226def")}catch{}})();const Dt=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.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"}),n.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.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"})),At=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{X as V,ay as W,y as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as t,cy as X,p as s,ae as ot,o as n,eM as it,eT as rt,cz as ge,cA as xe,hO as st,aQ as R,c1 as Ie,bE as at,w as _,ee as ct,O as ce,as as lt,an as dt,n as pt,c9 as ut,bM as Be,ak as P,dx as mt,cl as ht,fH as O,ac as U,x as v,ao as le,eL as gt,a9 as xt,eN as wt,dH as $t,du as yt,he as ft,da as kt,cq as bt,gu as Ct,hi as jt,bU as At,u as g,e2 as zt,g6 as St,hP as vt,b as Lt,N as Tt,M as Pt,ap as It,hf as Bt,bT as Mt,aV as _t}from"./index-nssLOVFu.js";import{a as c}from"./sentry-Fca4mdIl.js";import{n as o}from"./mui-BVCBQYdL.js";import{a as Dt}from"./liveblocks-offUbtxr.js";import{GU as Et}from"./zeni-epic-state-BZv12Eez.js";import{r as Nt}from"./auto-transfer-rule-mbafm5D3-C0L9GopF.js";import{o as Ft}from"./shield-DOlUxcFf-CRgtaaqW.js";import{J as Gt}from"./ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js";import{v as Rt}from"./ZeniTransferAmountSlider-Cdg0TlHk-C5Juk6O6.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="491ed5b5-2ddf-446a-9b96-e734d59828bd",e._sentryDebugIdIdentifier="sentry-dbid-491ed5b5-2ddf-446a-9b96-e734d59828bd")}catch{}})();const Ot=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:w,promoPage:we}}}=ce.getLocalizedStrings(),Ut=({yieldPercentage:e=4.35,insuredAmount:i=5e5,onGetStartedClick:u,style:m})=>{const r=V(),k=(a,z)=>Object.entries(z).reduce((L,[I,j])=>L.replace(new RegExp(`__${I}__`,"g"),j),a),$=a=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(a)}`,C=`${e}%`,A=$(i),y=[{icon:t.jsx(Kt,{}),title:k(w.features.yield,{yieldPercentage:C}),id:"yield"},{icon:t.jsx(Xt,{}),title:k(w.features.insured,{insuredAmount:A}),id:"insured"},{icon:t.jsx(en,{}),title:w.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(tn,{}),title:w.features.automation,id:"automation"}];return t.jsxs(Vt,{style:m,children:[t.jsx(Wt,{}),r!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(Yt,{}),t.jsx(Zt,{})]}),t.jsx(Ht,{windowSize:r,children:r==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx($e,{windowSize:r,children:t.jsx(ye,{windowSize:r})}),t.jsx(fe,{children:w.title})]}),t.jsx(ke,{windowSize:r,children:y.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(Jt,{children:t.jsx(ze,{children:t.jsx(Se,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ve,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx($e,{windowSize:r,children:t.jsx(ye,{windowSize:r})}),t.jsxs(Qt,{windowSize:r,children:[t.jsx(fe,{children:w.title}),t.jsx(ke,{windowSize:r,children:y.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(ve,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(ze,{children:t.jsx(Se,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},Vt=o.div`
1
+ import{X as V,ay as W,y as Qe,bQ as Ke,aa as Xe,aS as et,a_ as tt,aR as nt,V as t,cy as X,p as s,ae as ot,o as n,eM as it,eT as rt,cz as ge,cA as xe,hO as st,aQ as R,c1 as Ie,bE as at,w as _,ee as ct,O as ce,as as lt,an as dt,n as pt,c9 as ut,bM as Be,ak as P,dx as mt,cl as ht,fH as O,ac as U,x as v,ao as le,eL as gt,a9 as xt,eN as wt,dH as $t,du as yt,he as ft,da as kt,cq as bt,gu as Ct,hi as jt,bU as At,u as g,e2 as zt,g6 as St,hP as vt,b as Lt,N as Tt,M as Pt,ap as It,hf as Bt,bT as Mt,aV as _t}from"./index-DtIqdweZ.js";import{a as c}from"./sentry-Fca4mdIl.js";import{n as o}from"./mui-BVCBQYdL.js";import{a as Dt}from"./liveblocks-offUbtxr.js";import{GU as Et}from"./zeni-epic-state-BZv12Eez.js";import{r as Nt}from"./auto-transfer-rule-mbafm5D3-C0L9GopF.js";import{o as Ft}from"./shield-DOlUxcFf-CRgtaaqW.js";import{J as Gt}from"./ZeniAccountNavBarPieces-CjRip0v9-IbxcQtCH.js";import{v as Rt}from"./ZeniTransferAmountSlider-Cdg0TlHk-BBV5qPLq.js";import"./core-DTlL91ob.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="491ed5b5-2ddf-446a-9b96-e734d59828bd",e._sentryDebugIdIdentifier="sentry-dbid-491ed5b5-2ddf-446a-9b96-e734d59828bd")}catch{}})();const Ot=e=>c.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:w,promoPage:we}}}=ce.getLocalizedStrings(),Ut=({yieldPercentage:e=4.35,insuredAmount:i=5e5,onGetStartedClick:u,style:m})=>{const r=V(),k=(a,z)=>Object.entries(z).reduce((L,[I,j])=>L.replace(new RegExp(`__${I}__`,"g"),j),a),$=a=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(a)}`,C=`${e}%`,A=$(i),y=[{icon:t.jsx(Kt,{}),title:k(w.features.yield,{yieldPercentage:C}),id:"yield"},{icon:t.jsx(Xt,{}),title:k(w.features.insured,{insuredAmount:A}),id:"insured"},{icon:t.jsx(en,{}),title:w.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(tn,{}),title:w.features.automation,id:"automation"}];return t.jsxs(Vt,{style:m,children:[t.jsx(Wt,{}),r!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(Yt,{}),t.jsx(Zt,{})]}),t.jsx(Ht,{windowSize:r,children:r==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx($e,{windowSize:r,children:t.jsx(ye,{windowSize:r})}),t.jsx(fe,{children:w.title})]}),t.jsx(ke,{windowSize:r,children:y.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(Jt,{children:t.jsx(ze,{children:t.jsx(Se,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ve,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx($e,{windowSize:r,children:t.jsx(ye,{windowSize:r})}),t.jsxs(Qt,{windowSize:r,children:[t.jsx(fe,{children:w.title}),t.jsx(ke,{windowSize:r,children:y.map(a=>t.jsxs(be,{windowSize:r,children:[t.jsx(Ce,{children:a.icon}),t.jsxs(je,{children:[a.title,a.showAsterisk===!0&&t.jsx(Ae,{children:"*"})]})]},a.id))}),t.jsx(ve,{windowSize:r,children:t.jsxs(Le,{windowSize:r,children:[w.disclaimer.split("__termsLink__")[0],t.jsx(Te,{href:we.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:w.termsLink}),w.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(ze,{children:t.jsx(Se,{variant:"primary",label:w.button,onClick:u,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},Vt=o.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{ay as j,gg as N,V as o,bq as _,ac as y,hl as m,hQ as f,O as E,o as i,bV as I,hn as z}from"./index-nssLOVFu.js";import{n as c}from"./mui-BVCBQYdL.js";import{bM as B}from"./zeni-epic-state-BZv12Eez.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]="3c9103ba-8c37-4499-a871-c7d968e1a88e",e._sentryDebugIdIdentifier="sentry-dbid-3c9103ba-8c37-4499-a871-c7d968e1a88e")}catch{}})();const n=E.getLocalizedStrings().spendManagement.zeniAccounts,h=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],b={value:"payBill",label:n.moveMoney.payBills},v={value:"transfer",label:n.moveMoney.transfer},M={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},x={value:"checkDeposit",label:n.moveMoney.checkDeposit},A=[b,v,M,x],L=[M,v,b,x],K=({zeniBankProps:e,isBillPayEnabled:s,isCheckingCommentingEnabled:p=!1,isExpressPayEnabled:$,isThreadsLoading:l=!1,analytics:k,onCommentIconClick:w,onSettingsClick:C,threadsCount:S=0})=>{const r=j(),d=r.loggedInUserRoleMap.deposit_accounts_user===!0||N(r),D=B(r.loggedInUserRoleMap),O=h.filter(t=>t.value==="accountStatement"),u=s===!0?A:L,g=$===!0?u:u.filter(t=>t.value!=="sendMoney"),P=D?g:g.filter(t=>t.value!=="payBill");return o.jsxs(V,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="detailPage"&&p===!0?o.jsxs(q,{isDisabled:l,"data-testid":y("zeni-checking-comment-button"),onClick:l?()=>null:t=>{t.preventDefault(),t.stopPropagation(),w?.()},children:[o.jsx(_,{count:l?void 0:S,isLoading:l,style:{left:"12px"}}),o.jsx(R,{})]}):null,e.pageName==="listPage"&&!d?o.jsx(T,{onClick:C,"data-testid":y("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!0,options:d?O:h,title:n.moveMoney.title,customStyleConfig:{container:t=>({...t,marginLeft:0})}}),d?null:o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!1,options:P,title:n.moveMoney.title,onMenuOpen:()=>k?.trackAccountsListPageClicked("Move Money")})]})},T=c(z)`
1
+ import{ay as j,gg as N,V as o,bq as _,ac as y,hl as m,hQ as f,O as E,o as i,bV as I,hn as z}from"./index-DtIqdweZ.js";import{n as c}from"./mui-BVCBQYdL.js";import{bM as B}from"./zeni-epic-state-BZv12Eez.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]="3c9103ba-8c37-4499-a871-c7d968e1a88e",e._sentryDebugIdIdentifier="sentry-dbid-3c9103ba-8c37-4499-a871-c7d968e1a88e")}catch{}})();const n=E.getLocalizedStrings().spendManagement.zeniAccounts,h=[{value:"editNickName",label:n.moveMoney.editNickName},{value:"accountStatement",label:n.moveMoney.accountStatement}],b={value:"payBill",label:n.moveMoney.payBills},v={value:"transfer",label:n.moveMoney.transfer},M={value:"sendMoney",label:n.moveMoney.sendMoney,isNew:!0},x={value:"checkDeposit",label:n.moveMoney.checkDeposit},A=[b,v,M,x],L=[M,v,b,x],K=({zeniBankProps:e,isBillPayEnabled:s,isCheckingCommentingEnabled:p=!1,isExpressPayEnabled:$,isThreadsLoading:l=!1,analytics:k,onCommentIconClick:w,onSettingsClick:C,threadsCount:S=0})=>{const r=j(),d=r.loggedInUserRoleMap.deposit_accounts_user===!0||N(r),D=B(r.loggedInUserRoleMap),O=h.filter(t=>t.value==="accountStatement"),u=s===!0?A:L,g=$===!0?u:u.filter(t=>t.value!=="sendMoney"),P=D?g:g.filter(t=>t.value!=="payBill");return o.jsxs(V,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="detailPage"&&p===!0?o.jsxs(q,{isDisabled:l,"data-testid":y("zeni-checking-comment-button"),onClick:l?()=>null:t=>{t.preventDefault(),t.stopPropagation(),w?.()},children:[o.jsx(_,{count:l?void 0:S,isLoading:l,style:{left:"12px"}}),o.jsx(R,{})]}):null,e.pageName==="listPage"&&!d?o.jsx(T,{onClick:C,"data-testid":y("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!0,options:d?O:h,title:n.moveMoney.title,customStyleConfig:{container:t=>({...t,marginLeft:0})}}),d?null:o.jsx(m,{entity:"zeni_accounts",onOptionSelection:t=>{const a=f(t);a!=null&&e.onOptionSelection(a)},isMoreOption:!1,options:P,title:n.moveMoney.title,onMenuOpen:()=>k?.trackAccountsListPageClicked("Move Money")})]})},T=c(z)`
2
2
  cursor: pointer;
3
3
  min-width: ${i.sp4};
4
4
  width: ${i.sp4};
@@ -1,4 +1,4 @@
1
- import{y as ae,X as v,aS as ce,ay as xe,gg as me,V as i,bE as pe,fR as ue,n as he,o,cM as ge,as as Z,b as D,ac as L,ag as j,O as _,d as we,a_ as z,aR as k,aV as J,bA as je,x,p as A,cN as ye,aW as $e,bc as fe,u as W,N as y,M as C,ao as T,ah as Se}from"./index-nssLOVFu.js";import{a as E}from"./sentry-Fca4mdIl.js";import{n}from"./mui-BVCBQYdL.js";import{M as B}from"./usp-line-BBd1wKwW-BQlBhf7H.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="e50efe82-1274-45bd-9e6d-ad80b01fef1f",e._sentryDebugIdIdentifier="sentry-dbid-e50efe82-1274-45bd-9e6d-ad80b01fef1f")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{y as ae,X as v,aS as ce,ay as xe,gg as me,V as i,bE as pe,fR as ue,n as he,o,cM as ge,as as Z,b as D,ac as L,ag as j,O as _,d as we,a_ as z,aR as k,aV as J,bA as je,x,p as A,cN as ye,aW as $e,bc as fe,u as W,N as y,M as C,ao as T,ah as Se}from"./index-DtIqdweZ.js";import{a as E}from"./sentry-Fca4mdIl.js";import{n}from"./mui-BVCBQYdL.js";import{M as B}from"./usp-line-BBd1wKwW-BQlBhf7H.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.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]="e50efe82-1274-45bd-9e6d-ad80b01fef1f",e._sentryDebugIdIdentifier="sentry-dbid-e50efe82-1274-45bd-9e6d-ad80b01fef1f")}catch{}})();const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(W[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,W[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new y("extraSmallRegular","smallRegular"),title:new y("smallRegular","largeRegular"),uninsuredAmountStr:new y("largeRegular","h6Regular"),yAxisAmount:new y("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{y as ye,X as we,aS as U,aa as Se,cQ as Ae,aX as B,V as t,fB as xe,p as Pe,x as p,bE as Ce,L as ke,ae as ve,fS as Te,e4 as Fe,fT as Ve,by as Ie,aT as Ee,o as ze,fV as De,O as je,u as a,an as Oe}from"./index-nssLOVFu.js";import{a as g}from"./sentry-Fca4mdIl.js";import{n as w}from"./mui-BVCBQYdL.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="893e3b04-79d5-44a1-aaa1-8570b33644b5",e._sentryDebugIdIdentifier="sentry-dbid-893e3b04-79d5-44a1-aaa1-8570b33644b5")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},L="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:R,spendManagement:Le}=je.getLocalizedStrings(),{zeniAccounts:W}=Le,{zeniAccountSetUp:I}=W,{setUp:E}=R,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:Z,authParams:H,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=ye(),i=we(),[x,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=l,j=U(b),P=U(u.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>_(l),[l]),values:_(l)}),fe=T.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[v];if(y.includes(v)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=D.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&j==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,j]),g.useEffect(()=>{const y=T.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,F=z?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const he=F?R.setUp.setupVerifiedSubTitle:I.setupSubTitle,O=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),be=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs($e,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:H,filesEndPoint:Z,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:$(L),onSubmit:fe,children:t.jsxs(Ze,{windowSize:i,children:[t.jsx(Te,{onClick:be,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:z?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(Ee,{formId:$(L),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(De,{isFooterRendered:F&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=w.div`
1
+ import{y as ye,X as we,aS as U,aa as Se,cQ as Ae,aX as B,V as t,fB as xe,p as Pe,x as p,bE as Ce,L as ke,ae as ve,fS as Te,e4 as Fe,fT as Ve,by as Ie,aT as Ee,o as ze,fV as De,O as je,u as a,an as Oe}from"./index-DtIqdweZ.js";import{a as g}from"./sentry-Fca4mdIl.js";import{n as w}from"./mui-BVCBQYdL.js";import{g as Ue}from"./UploadAdditionalDocumentOverlay-C5m8jqup-DsAYb7GV.js";import"./liveblocks-offUbtxr.js";import"./core-DTlL91ob.js";import"./zeni-epic-state-BZv12Eez.js";import"./lottie-Cqel28AC.js";import"./recharts-DAsNs3BU.js";import"./analytics-B3XlZNQ8.js";import"./lexical-CoKvBbaA.js";import"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new e.Error().stack;f&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[f]="893e3b04-79d5-44a1-aaa1-8570b33644b5",e._sentryDebugIdIdentifier="sentry-dbid-893e3b04-79d5-44a1-aaa1-8570b33644b5")}catch{}})();const c={titleWidth:new p(343,580,726,826),setupDetailsRowGap:new p(12,a[5],a[5]),sectionRowGap:new p(a[5],a[9],a[9]),iconWidthHeight:new p(20,a[4]),subTitlePaddingTop:new p(12,a[3]),subTitlePaddingBottom:new p(a[3],a[3]),overlayWidth:new p(100,100,59)},L="zeniAccountSetUpPage",v="payAccount",{common:Be,commonSetUp:R,spendManagement:Le}=je.getLocalizedStrings(),{zeniAccounts:W}=Le,{zeniAccountSetUp:I}=W,{setUp:E}=R,nt=({isDisabled:e,meetingUrl:f,zeniAccountSetUpView:l,analytics:d,connectedAccountProvider:s,filesEndPoint:Z,authParams:H,accountsPromoConfig:q,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:X,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:S,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const A=ye(),i=we(),[x,h]=g.useState(!1),{fetchState:b,companyBillPayInfo:z,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:de,plaidConnectionDetails:ue,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=l,j=U(b),P=U(u.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:g.useMemo(()=>_(l),[l]),values:_(l)}),fe=T.handleSubmit(y=>{d.trackEnableZeniAccounts(),G()}),me=async(y,k)=>{const n=k[v];if(y.includes(v)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const r=D.find(V=>V.id===n.fundingAccount.selectedOption);r!=null&&J(n.fundingAccount.selectedOption,r.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const r=n.account.allOptions.find(V=>V.value===n.account.selectedOption);r!=null&&typeof r.label=="string"&&d.trackConnectBankLink(r.value,r.label,"zeni_accounts"),Q(n.account.selectedOption,m.id,m.accType)}}};g.useEffect(()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),x&&j==="In-Progress"&&b==="Completed"&&h(!1)},[o,b,j]),g.useEffect(()=>{const y=T.watch((k,{name:n})=>{n!=null&&k!=null&&Ae(()=>me(n,k))});return()=>{y.unsubscribe()}}),g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const C=pe?.isZeniAccountEnabled===!0,F=z?.isBusinessVerified===!0,ge=b==="In-Progress"||b==="Not-Started";g.useEffect(()=>{P==="In-Progress"&&u.fetchState==="Completed"&&S()},[S,P,u.fetchState]);const he=F?R.setUp.setupVerifiedSubTitle:I.setupSubTitle,O=A.mode==="light"?new B(A.colors.brandColorJadeLight):new B(A.colors.brandColorJadeDark),be=()=>{!x&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):X?.()};return t.jsxs($e,{children:[t.jsx(xe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:x,onClose:()=>h(!1),style:{backgroundColor:Pe.drawerBackground},transitionDuration:250,children:t.jsx(Ue,{authParams:H,filesEndPoint:Z,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(Ce,{title:I.setupTitle,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!C&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:he}),ge?t.jsx(We,{children:t.jsx(ke,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...T,children:t.jsx("form",{id:$(L),onSubmit:fe,children:t.jsxs(Ze,{windowSize:i,children:[t.jsx(Te,{onClick:be,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(Fe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},status:z?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ve,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:re,sectionId:v,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:K,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ie,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:O},analytics:d,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:C,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:q})]})})})]}),F&&!C?t.jsx(Ee,{formId:$(L),primaryBtn:{label:I.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||de.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${ze.sp3}`}}):null,t.jsx(De,{isFooterRendered:F&&!C,meetingUrl:f,analytics:d,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:f,allFundingAccounts:l,primaryFundingAccount:d}=e;return{[v]:{fundingAccount:{selectedOption:d?.id,allOptions:l.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:d?.zeniAccountId,allOptions:f.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{O as f,V as t}from"./index-nssLOVFu.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]="95ede5fb-a27f-463c-8f5d-82f8175cf6cb",e._sentryDebugIdIdentifier="sentry-dbid-95ede5fb-a27f-463c-8f5d-82f8175cf6cb")}catch{}})();function o(){const e=new Date().getFullYear(),n=f.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{o as a};
1
+ import{O as f,V as t}from"./index-DtIqdweZ.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]="95ede5fb-a27f-463c-8f5d-82f8175cf6cb",e._sentryDebugIdIdentifier="sentry-dbid-95ede5fb-a27f-463c-8f5d-82f8175cf6cb")}catch{}})();function o(){const e=new Date().getFullYear(),n=f.getLocalizedStrings().common.zeniIncText.replace("__year__",e.toString());return t.jsx(t.Fragment,{children:n})}export{o as a};
@@ -1,4 +1,4 @@
1
- import{V as m,ac as z,o as i,p as j,ak as Y,O as E}from"./index-nssLOVFu.js";import{a as w}from"./sentry-Fca4mdIl.js";import{n as f}from"./mui-BVCBQYdL.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="32ba7e1a-ca87-4e44-a5f4-df89dad4d066",t._sentryDebugIdIdentifier="sentry-dbid-32ba7e1a-ca87-4e44-a5f4-df89dad4d066")}catch{}})();const I=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=D(r);k(r),$(o),x(p)},T=e=>`${C(e)}${I.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],D=e=>{const r=C(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=D(e);k(e),x(o),$(r)},v=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),v(e,d,n,l)},[g,y,x,d,l,$,n,v]),m.jsxs(F,{sliderValue:c,children:[m.jsx(_,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),m.jsx(O,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),m.jsx(X,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),m.jsx(B,{children:n.map((e,r)=>m.jsx(H,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:V(r)},children:m.jsx(N,{isSelected:c>=r,children:L(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},V=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},L=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),_=f.input`
1
+ import{V as m,ac as z,o as i,p as j,ak as Y,O as E}from"./index-DtIqdweZ.js";import{a as w}from"./sentry-Fca4mdIl.js";import{n as f}from"./mui-BVCBQYdL.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new t.Error().stack;g&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="32ba7e1a-ca87-4e44-a5f4-df89dad4d066",t._sentryDebugIdIdentifier="sentry-dbid-32ba7e1a-ca87-4e44-a5f4-df89dad4d066")}catch{}})();const I=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:t,transferAmount:g,minStep:l,currentAccountBalance:y,setYieldEarned:$,setTotalBalance:x}){const[c,k]=w.useState(0),{depositProductConfig:h}=t.zeniAccountsConfigDetail,d=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=w.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[r,o]=e.range;return o==null&&r!=null?r+25e5:o??0}):[],[h?.depositProducts]),S=e=>{const r=parseFloat(e.target.value),{returnedYield:o,totalAmount:p}=D(r);k(r),$(o),x(p)},T=e=>`${C(e)}${I.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?d[0]:e>0&&e<1?d[1]:e>=1&&e<2?d[2]:e>=2&&e<3?d[3]:d[4],D=e=>{const r=C(e),[o,p]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*l,s=n[o]+a*(p??0);return{returnedYield:b(s,r),totalAmount:s}}else return{returnedYield:b(5e6,r),totalAmount:5e6}},M=e=>{const{returnedYield:r,totalAmount:o}=D(e);k(e),x(o),$(r)},v=w.useCallback((e,r,o,p)=>{let a=0,s=0,P=0,A=0;if(e<o[0])a=r[0];else{for(let u=0;u<o.length-1;u++)if(e>=o[u]&&e<o[u+1]){a=r[u+1],s=(o[u+1]-o[u])*p,P=e-o[u],A=P/s*p+u;break}e>=o[o.length-1]&&(a=r[r.length-1],A=o.length-1)}k(A),$(b(e,a))},[$]);return w.useEffect(()=>{const e=g+y;x(e),v(e,d,n,l)},[g,y,x,d,l,$,n,v]),m.jsxs(F,{sliderValue:c,children:[m.jsx(_,{sliderValue:c,type:"range",min:0,max:d.length-1,step:l,value:c,onChange:S}),m.jsx(O,{style:{width:`calc(${c/(d.length-1)*100}% - ${c*7.5}px)`}}),m.jsx(X,{sliderValue:c,style:{left:`calc(${c/(d.length-1)*100}% - ${c*10+20}px)`},children:T(c)}),m.jsx(B,{children:n.map((e,r)=>m.jsx(H,{onClick:()=>M(r),"data-testid":z("slider-label",e.toString()),style:{left:V(r)},children:m.jsx(N,{isSelected:c>=r,children:L(e)})},r))})]})}const b=(t,g)=>{const l=g/100,y=t*Math.pow(1+l/12,12);return Math.floor(y-t)},V=t=>{switch(t){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},L=t=>t===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(t)}`:t===5e6?I.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(t),_=f.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{i as n}from"./index-nssLOVFu.js";import"./sentry-Fca4mdIl.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]="1fedb3ca-b1c4-4476-98e5-c77859d2ae10",e._sentryDebugIdIdentifier="sentry-dbid-1fedb3ca-b1c4-4476-98e5-c77859d2ae10")}catch{}})();const t=(e,i,a,d)=>{n.identify(e.userId,{tenant_id:a?.tenantId,tenant_email_domain:a?.tenantEmailDomain,company_id:a?.companyId,company_name:a?.companyName,user_role:a?.userRole,$email:e.userEmail,user_email_domain:e.userEmailDomain,$first_name:e.firstName,$last_name:e.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:i})};export{t as f};
1
+ import{i as n}from"./index-DtIqdweZ.js";import"./sentry-Fca4mdIl.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]="1fedb3ca-b1c4-4476-98e5-c77859d2ae10",e._sentryDebugIdIdentifier="sentry-dbid-1fedb3ca-b1c4-4476-98e5-c77859d2ae10")}catch{}})();const t=(e,i,a,d)=>{n.identify(e.userId,{tenant_id:a?.tenantId,tenant_email_domain:a?.tenantEmailDomain,company_id:a?.companyId,company_name:a?.companyName,user_role:a?.userRole,$email:e.userEmail,user_email_domain:e.userEmailDomain,$first_name:e.firstName,$last_name:e.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:i})};export{t as f};
@@ -1 +1 @@
1
- import{G5 as n}from"./zeni-epic-state-BZv12Eez.js";import{O as o}from"./index-nssLOVFu.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]="31d625e3-372c-41e0-86e5-13041100e128",e._sentryDebugIdIdentifier="sentry-dbid-31d625e3-372c-41e0-86e5-13041100e128")}catch{}})();const d=e=>{switch(e){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e}},_=(e,a,t)=>{const{dateFormat:{analytics:r},common:{strings:{atTheRate:s}}}=o.getLocalizedStrings();if(t==null)return"";switch(a){case"month":return s+n(t.startDate,r.MMMYYFormat,e);case"quarter":return s+"Q"+n(t.startDate,r.QYYYYFormat,e);case"year":return s+n(t.startDate,r.YYYYFormat,e);case"free_range":case"week":return s+n(t.startDate,r.MMMYYYYFormat,e)}};export{_ as l,d as m};
1
+ import{G5 as n}from"./zeni-epic-state-BZv12Eez.js";import{O as o}from"./index-DtIqdweZ.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]="31d625e3-372c-41e0-86e5-13041100e128",e._sentryDebugIdIdentifier="sentry-dbid-31d625e3-372c-41e0-86e5-13041100e128")}catch{}})();const d=e=>{switch(e){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e}},_=(e,a,t)=>{const{dateFormat:{analytics:r},common:{strings:{atTheRate:s}}}=o.getLocalizedStrings();if(t==null)return"";switch(a){case"month":return s+n(t.startDate,r.MMMYYFormat,e);case"quarter":return s+"Q"+n(t.startDate,r.QYYYYFormat,e);case"year":return s+n(t.startDate,r.YYYYFormat,e);case"free_range":case"week":return s+n(t.startDate,r.MMMYYYYFormat,e)}};export{_ as l,d as m};
@@ -1 +1 @@
1
- import{aQ as d}from"./index-nssLOVFu.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]="c44eec75-24e6-4907-adb9-9a858fb60554",e._sentryDebugIdIdentifier="sentry-dbid-c44eec75-24e6-4907-adb9-9a858fb60554")}catch{}})();const u=e=>d("0,0.[00]a",e),a=(e,n,r)=>{const t=n.findIndex(c=>c===e);let o=e,s=t<n.length?n[t]:void 0;return r>1&&(o=t-r+1>=0?n[t-r+1]:void 0,o===void 0?s=t===0?n[t+r-1]:n[t+r-2]:s=n[t]),[o,s]},_=e=>{const n=e.recordByTimeseries;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},b=e=>{const n=e.recordByDurations;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(e,n)=>`${e}_${n}`,f=e=>e.substring(0,e.lastIndexOf("_")),g=(e,n)=>`${e}_${n}`,p=e=>{const[n]=e.split("_");return n},h=e=>{const[n,...r]=e.split("_");return r.join("_")};export{b as _,f as b,_ as d,a as g,h,g as l,p as m,y as p,u,l as y};
1
+ import{aQ as d}from"./index-DtIqdweZ.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]="c44eec75-24e6-4907-adb9-9a858fb60554",e._sentryDebugIdIdentifier="sentry-dbid-c44eec75-24e6-4907-adb9-9a858fb60554")}catch{}})();const u=e=>d("0,0.[00]a",e),a=(e,n,r)=>{const t=n.findIndex(c=>c===e);let o=e,s=t<n.length?n[t]:void 0;return r>1&&(o=t-r+1>=0?n[t-r+1]:void 0,o===void 0?s=t===0?n[t+r-1]:n[t+r-2]:s=n[t]),[o,s]},_=e=>{const n=e.recordByTimeseries;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},b=e=>{const n=e.recordByDurations;if(n.length>0){const r=n[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(e,n)=>`${e}_${n}`,f=e=>e.substring(0,e.lastIndexOf("_")),g=(e,n)=>`${e}_${n}`,p=e=>{const[n]=e.split("_");return n},h=e=>{const[n,...r]=e.split("_");return r.join("_")};export{b as _,f as b,_ as d,a as g,h,g as l,p as m,y as p,u,l as y};
@@ -1 +1 @@
1
- import{x as t}from"./index-nssLOVFu.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]="55dc47ef-299d-4555-a22b-d851a25fb75b",e._sentryDebugIdIdentifier="sentry-dbid-55dc47ef-299d-4555-a22b-d851a25fb75b")}catch{}})();const d=58,o=76,f={transactionItemHeight:d,transactionItemHeightResponsive:new t(o,d),amountWidth:new t(105,200)};export{f as o,o as s};
1
+ import{x as t}from"./index-DtIqdweZ.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]="55dc47ef-299d-4555-a22b-d851a25fb75b",e._sentryDebugIdIdentifier="sentry-dbid-55dc47ef-299d-4555-a22b-d851a25fb75b")}catch{}})();const d=58,o=76,f={transactionItemHeight:d,transactionItemHeightResponsive:new t(o,d),amountWidth:new t(105,200)};export{f as o,o as s};
@@ -1 +1 @@
1
- import{O as e}from"./index-nssLOVFu.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new o.Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="c990517d-ff0b-4665-9ca3-a9e79b34b1bf",o._sentryDebugIdIdentifier="sentry-dbid-c990517d-ff0b-4665-9ca3-a9e79b34b1bf")}catch{}})();const t=["government_contracts_grants","donations_fundraising","import_export_revenue"],n=["1000001_2000000","over_2000000"],g=["cash_heavy_operations","professional_services_handling_funds","charitable_nonprofit","commercial_cash_operations","third_party_payment_processing"],{cardBrands:a}=e.getLocalizedStrings().cardPayment,r={visa:{name:a.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:a.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:a.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:a.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:a.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:a.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:a.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:a.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:a.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:a.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:a.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:a.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:a.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:a.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:a.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:a.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:a.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:a.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:a.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:a.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:a.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:a.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:a.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:a.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}};export{n as i,r as n,t as p,g as t};
1
+ import{O as e}from"./index-DtIqdweZ.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new o.Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="c990517d-ff0b-4665-9ca3-a9e79b34b1bf",o._sentryDebugIdIdentifier="sentry-dbid-c990517d-ff0b-4665-9ca3-a9e79b34b1bf")}catch{}})();const t=["government_contracts_grants","donations_fundraising","import_export_revenue"],n=["1000001_2000000","over_2000000"],g=["cash_heavy_operations","professional_services_handling_funds","charitable_nonprofit","commercial_cash_operations","third_party_payment_processing"],{cardBrands:a}=e.getLocalizedStrings().cardPayment,r={visa:{name:a.visa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/visa.svg"},mastercard:{name:a.mastercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/mastercard.svg"},american_express:{name:a.american_express,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/amex.svg"},discover:{name:a.discover,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/discover-global.svg"},jcb:{name:a.jcb,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/jcb-card.svg"},diners_club:{name:a.diners_club,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/dinersclub.svg"},unionpay:{name:a.unionpay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},rupay:{name:a.rupay,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rupay-card.svg"},bancontact:{name:a.bancontact,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cmr_falabella:{name:a.cmr_falabella,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},tarjeta_naranja:{name:a.tarjeta_naranja,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},nativa:{name:a.nativa,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cencosud:{name:a.cencosud,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},cabal:{name:a.cabal,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},argencard:{name:a.argencard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},elo:{name:a.elo,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/elo-card.svg"},hipercard:{name:a.hipercard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/hipercard.svg"},carnet:{name:a.carnet,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/carnet.svg"},maestro:{name:a.maestro,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/maestro.svg"},not_applicable:{name:a.not_applicable,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},eftpos_australia:{name:a.eftpos_australia,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},girocard:{name:a.girocard,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},other:{name:a.other,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"},unknown:{name:a.unknown,iconURL:"https://storage.googleapis.com/zeni-apis.appspot.com/images/other-brand.svg"}};export{n as i,r as n,t as p,g as t};
@@ -1 +1 @@
1
- import{cn as r,co as i,cp as l}from"./index-nssLOVFu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="1f0b467a-9d4f-490d-8529-e809085bec08",e._sentryDebugIdIdentifier="sentry-dbid-1f0b467a-9d4f-490d-8529-e809085bec08")}catch{}})();async function u(e,o,a,t,d=!1){t?.(!0);try{const n=await r({urlEndPoint:e,authParams:a,fileType:"pdf"});if(n.ok){const s=i(n.headers,o),f=await n.arrayBuffer();l(f,d?s:o),t?.(!1)}else console.error(`${o} download Failed with ${n.statusText}`),t?.(!1)}catch(n){console.error(`${o} download Failed with ${JSON.stringify(n)}`),t?.(!1)}}export{u as w};
1
+ import{cn as r,co as i,cp as l}from"./index-DtIqdweZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="1f0b467a-9d4f-490d-8529-e809085bec08",e._sentryDebugIdIdentifier="sentry-dbid-1f0b467a-9d4f-490d-8529-e809085bec08")}catch{}})();async function u(e,o,a,t,d=!1){t?.(!0);try{const n=await r({urlEndPoint:e,authParams:a,fileType:"pdf"});if(n.ok){const s=i(n.headers,o),f=await n.arrayBuffer();l(f,d?s:o),t?.(!1)}else console.error(`${o} download Failed with ${n.statusText}`),t?.(!1)}catch(n){console.error(`${o} download Failed with ${JSON.stringify(n)}`),t?.(!1)}}export{u as w};
@@ -1,4 +1,4 @@
1
- import{O as h,X as I,V as i,cZ as F,x as u,o as l,u as r,cU as M,y as R,eT as C,f0 as P,bJ as T,bK as p,c as N,an as E,w as m,bI as U,p as w}from"./index-nssLOVFu.js";import{n as a}from"./mui-BVCBQYdL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b1ec2835-8105-46c9-8b2b-c51f2cfb98fc",e._sentryDebugIdIdentifier="sentry-dbid-b1ec2835-8105-46c9-8b2b-c51f2cfb98fc")}catch{}})();const B=({name:e,registerOptions:o,defaultValue:t,isDisabled:n,getOptionLabel:c,style:g,placeholder:b})=>{const{control:S,formState:{errors:j}}=M(),$=R(),k=C(j,e??""),D={container:s=>({...s,width:"100%",...g}),menu:s=>({...s,backgroundColor:$.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:s=>({...s,borderRadius:0})},O={hasError:k},v=s=>s.map(f=>_(f)),_=s=>({value:s,label:c?.(s)??s});return i.jsx(P,{name:e,control:S,defaultValue:t,rules:o,render:({field:{onChange:s,onBlur:f,value:x,ref:V}})=>i.jsx(T,{...O,ref:V,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:v(x.selectedOptions),options:v(x.allOptions),onChange:z=>{s({selectedOptions:z.map(L=>L.value),allOptions:x.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:f,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:H,Option:Z,Input:W,MultiValue:X,MultiValueLabel:G,MultiValueRemove:J,ValueContainer:A,DropdownIndicator:se,IndicatorSeparator:ne,Placeholder:Q,ClearIndicator:K},hideSelectedOptions:!1,styles:D,isDisabled:n!=null})})},H=e=>{const{menuIsOpen:o,isFocused:t,isDisabled:n,selectProps:c}=e,{value:g,hasError:b}=c;return i.jsx(q,{menuIsOpen:o,isFocused:t,isDisabled:n,optionsLen:g.length,hasError:b,children:i.jsx(p.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{selectProps:o}=e,{value:t}=o;return i.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,i.jsx(Y,{className:"selected-options",children:t.map(n=>n.label??n.value).join(", ")})]})},W=e=>{const{selectProps:o}=e,{placeholder:t,value:n}=o;return i.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:n.length===0?t:void 0,children:e.children})},X=e=>i.jsx(p.MultiValue,{...e,children:e.children}),G=e=>{const{data:o}=e;return i.jsx(p.MultiValueLabel,{...e,children:o.label??o.value})},J=e=>i.jsx(p.MultiValueRemove,{...e,children:i.jsx(y,{style:{marginTop:"2px"}})}),K=e=>i.jsx(p.ClearIndicator,{...e,children:i.jsx(y,{})}),Q=()=>null,Z=e=>{const{isSelected:o,isDisabled:t,isFocused:n}=e;return i.jsx(ee,{isFocused:n,isSelected:o,isDisabled:t,children:i.jsx(p.Option,{...e,className:"select-option",children:i.jsxs(oe,{children:[i.jsx(le,{children:i.jsx(ie,{isSelected:o,isDisabled:t,children:e.label})}),o?i.jsxs(te,{children:[i.jsx(re,{className:"right-tick-icon"}),i.jsx(y,{className:"close-tick-icon"})]}):null]})})})},q=a.div`
1
+ import{O as h,X as I,V as i,cZ as F,x as u,o as l,u as r,cU as M,y as R,eT as C,f0 as P,bJ as T,bK as p,c as N,an as E,w as m,bI as U,p as w}from"./index-DtIqdweZ.js";import{n as a}from"./mui-BVCBQYdL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b1ec2835-8105-46c9-8b2b-c51f2cfb98fc",e._sentryDebugIdIdentifier="sentry-dbid-b1ec2835-8105-46c9-8b2b-c51f2cfb98fc")}catch{}})();const B=({name:e,registerOptions:o,defaultValue:t,isDisabled:n,getOptionLabel:c,style:g,placeholder:b})=>{const{control:S,formState:{errors:j}}=M(),$=R(),k=C(j,e??""),D={container:s=>({...s,width:"100%",...g}),menu:s=>({...s,backgroundColor:$.colors.grey5,borderRadius:l.sp1,boxShadow:`${l.sp0} 2px ${l.sp2} ${$.colors.dropShadowHover}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:0}),menuList:s=>({...s,borderRadius:0})},O={hasError:k},v=s=>s.map(f=>_(f)),_=s=>({value:s,label:c?.(s)??s});return i.jsx(P,{name:e,control:S,defaultValue:t,rules:o,render:({field:{onChange:s,onBlur:f,value:x,ref:V}})=>i.jsx(T,{...O,ref:V,isMulti:!0,isSearchable:!0,isClearable:!0,controlShouldRenderValue:!0,placeholder:b,value:v(x.selectedOptions),options:v(x.allOptions),onChange:z=>{s({selectedOptions:z.map(L=>L.value),allOptions:x.allOptions})},tabSelectsValue:!1,openMenuOnFocus:!0,classNamePrefix:"multi-select-field",onBlur:f,menuPlacement:"auto",maxMenuHeight:288,menuShouldScrollIntoView:!1,closeMenuOnSelect:!1,components:{Control:H,Option:Z,Input:W,MultiValue:X,MultiValueLabel:G,MultiValueRemove:J,ValueContainer:A,DropdownIndicator:se,IndicatorSeparator:ne,Placeholder:Q,ClearIndicator:K},hideSelectedOptions:!1,styles:D,isDisabled:n!=null})})},H=e=>{const{menuIsOpen:o,isFocused:t,isDisabled:n,selectProps:c}=e,{value:g,hasError:b}=c;return i.jsx(q,{menuIsOpen:o,isFocused:t,isDisabled:n,optionsLen:g.length,hasError:b,children:i.jsx(p.Control,{...e,className:"select-control",children:e.children})})},A=e=>{const{selectProps:o}=e,{value:t}=o;return i.jsxs(p.ValueContainer,{...e,className:"select-value-container",children:[e.children,i.jsx(Y,{className:"selected-options",children:t.map(n=>n.label??n.value).join(", ")})]})},W=e=>{const{selectProps:o}=e,{placeholder:t,value:n}=o;return i.jsx(p.Input,{...e,autoComplete:"new-password",placeholder:n.length===0?t:void 0,children:e.children})},X=e=>i.jsx(p.MultiValue,{...e,children:e.children}),G=e=>{const{data:o}=e;return i.jsx(p.MultiValueLabel,{...e,children:o.label??o.value})},J=e=>i.jsx(p.MultiValueRemove,{...e,children:i.jsx(y,{style:{marginTop:"2px"}})}),K=e=>i.jsx(p.ClearIndicator,{...e,children:i.jsx(y,{})}),Q=()=>null,Z=e=>{const{isSelected:o,isDisabled:t,isFocused:n}=e;return i.jsx(ee,{isFocused:n,isSelected:o,isDisabled:t,children:i.jsx(p.Option,{...e,className:"select-option",children:i.jsxs(oe,{children:[i.jsx(le,{children:i.jsx(ie,{isSelected:o,isDisabled:t,children:e.label})}),o?i.jsxs(te,{children:[i.jsx(re,{className:"right-tick-icon"}),i.jsx(y,{className:"close-tick-icon"})]}):null]})})})},q=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};