@zeniai/web-cockpit-ui 1.14.13-qa → 1.14.14-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/dist/assets/ACHDetailsPage-DzRJ2QAk-DvsByjsE.js +21 -0
  2. package/dist/assets/{AIPerformancePage-C-orwzaK-C6rbxEzb.js → AIPerformancePage-BFjLWbFj-Clm2qRBD.js} +44 -44
  3. package/dist/assets/{AccountInfoPage-DvhQOLM6-CX5o6Llb.js → AccountInfoPage-iz3OwpQ7-TJq-6cJ1.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-B1BJnQNd-C74MLyxZ.js → AccountInfoPageContent-DqO5Kcep-dFhLo0ar.js} +18 -18
  5. package/dist/assets/{AccountReconDetailsDrawerPage-C8EtTwZE-Cmjy7UY9.js → AccountReconDetailsDrawerPage-kNZ0VZns-coqlqQ2C.js} +13 -13
  6. package/dist/assets/{AccountRow-m3N4T8ro-C0WA_XfX.js → AccountRow-CAXWtAin-BB54Lqef.js} +27 -27
  7. package/dist/assets/{AccountsPromoCardStack-DGHAcZ7D-Ce3ZBF_s.js → AccountsPromoCardStack-Dqrhr23F-CroWlBVf.js} +28 -28
  8. package/dist/assets/{AddAddressForCardDrawer-B_1jj1h7-gqd8s2Xm.js → AddAddressForCardDrawer-D2IMZgZa-xE__lTqS.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DL1Bk4bd-DTEhx0Mb.js → AddToWalletPage-qgqXvx0C-CKm1Ldrx.js} +21 -21
  10. package/dist/assets/{AgingReportsPage-DQ4P7iSR-DRrTaXuT.js → AgingReportsPage-CNWj8sV2-jqLPsgQn.js} +8 -8
  11. package/dist/assets/{AllUserItems-BSWk_1pR-DI3PB0Ie.js → AllUserItems--netGz7H-Bnantk93.js} +13 -13
  12. package/dist/assets/{ApAgingDetailPage-0i8K1czh-BdP3zPvv.js → ApAgingDetailPage-CxLaoiqg-C-EmvhQs.js} +2 -2
  13. package/dist/assets/{AppBasePage-CV3kU-Ax-D761wqV3.js → AppBasePage-CbUMSiOb-C2Qhzc1Z.js} +7 -7
  14. package/dist/assets/{AppDrawerContent-DA8q-1_m-DY4TNtE3.js → AppDrawerContent-BNTS8MtE-Dc-K1QNS.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-CRlqbhea-CDRK6CVR.js → ApprovalRulesSettingsPage-lFVUzKhw-CpEDBPBV.js} +7 -7
  16. package/dist/assets/{ArAgingChart-CiJNNObG-B2XrTnTz.js → ArAgingChart-BBavISMZ-BRq-xI7y.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-2I9R_J97-CDktd7-L.js → ArAgingDetailPage-Bk49E_4I-BtplOHK3.js} +1 -1
  18. package/dist/assets/{AttachmentView-D0naVbDk-BwHrzCwR.js → AttachmentView-g756MrON-D9Kn72J1.js} +7 -7
  19. package/dist/assets/{BankAccountSection-CYYTnOEW-u_09M64L.js → BankAccountSection-C0U0fm6r-DlvauCZL.js} +6 -6
  20. package/dist/assets/BankAccountWarningSection-GcaV2hCI-D3Ca46bt.js +51 -0
  21. package/dist/assets/{BankConnectionsSettingsPage-BzwCu93j-BUFuHbUe.js → BankConnectionsSettingsPage-YwtSaNry-DRhjAjtE.js} +49 -49
  22. package/dist/assets/{BillDetailPage-OzI0RkQ_-BfKQOd2E.js → BillDetailPage-e0b0r_9U-yPEt29dp.js} +16 -16
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DIQW7KY9-DJWja9k_.js → BillPayApprovalRuleDetailPage-DZNOlmqa-CLwguHOJ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BMmJ4cuT-__2Bsq1U.js → BillPayApprovalRulesPage-HvIHZYLp-DVLOehTT.js} +9 -9
  25. package/dist/assets/{BillPayPromoPage-CN5LKQzn-0JHpDPWr.js → BillPayPromoPage-BKRIBuWK-DP5dbDj_.js} +8 -8
  26. package/dist/assets/{BillPaySetUpPage-DMKmupPw-BLQDwDwf.js → BillPaySetUpPage-DVFYVrcF-D5-3Y6xe.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-Bt_0mrqR-BFb05sIp.js → BillingSettingsPage-Boq7QJuJ-MMRw9LV_.js} +8 -8
  28. package/dist/assets/{BillsBulkReviewDrawerPage-GFME_IXw-BiBj7sS4.js → BillsBulkReviewDrawerPage-DB1RnMx6-BMOFxqLf.js} +1 -1
  29. package/dist/assets/{BoxItem-nvtPdCwS-B3L2WvTD.js → BoxItem-C5PEWObZ-C1r9NNOq.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-JFwqav9V-Bf6JWYI7.js +140 -0
  31. package/dist/assets/{CardNumberSubText-DBpF1pjJ-BY_Eifxb.js → CardNumberSubText-Qd4Nl4Ie-CMfs42of.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DrdbDPXK-CYepjX8S.js → CashbackDetailPage-pMaAPWGY-BU5YiPyR.js} +30 -30
  33. package/dist/assets/{ChargeCardDetailPage-DvY3CSB4-BOCLZ4ee.js → ChargeCardDetailPage-ZhB56XeA-yRngE5Q2.js} +54 -54
  34. package/dist/assets/{ChargeCardListPage-BE5yGbg8-rjnPyN2B.js → ChargeCardListPage-3k973dhm-CXGJrCSu.js} +14 -14
  35. package/dist/assets/{ChargeCardListTable-B-scLCAt-CkeriUJ9.js → ChargeCardListTable-aotBBLcN-DM0qvCiY.js} +37 -37
  36. package/dist/assets/ChargeCardPromoPage-D5h6LEV7-Ca2lkyXc.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-FNCK1n4W-CmPQlH3j.js → ChargeCardSetupPage-DLhS4IXu-BTWinhYJ.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-1fuIth_h-COFasWWf.js → ChargeCardStatementsPage-C9JupC6z-Cl_Np1aF.js} +9 -9
  39. package/dist/assets/{ChargeCardUtils-CErWBcYS-CDDnXQPt.js → ChargeCardUtils-DlCRcsWm-C2oiv8yk.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-9_ms5LgM-DXC_zSYp.js → ChaseOverlay-Cpt5a98f-D5R6S2Uh.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-Nz2eeTkw-C6G5mb5T.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-DX-FpwE7-BeBpL5MN.js → CollapsableReportTable-D_yuiPyJ-DhZJx5n7.js} +59 -59
  43. package/dist/assets/CompanyOfficerDetailsSection-C3yfgjGi-D1y_4iNp.js +232 -0
  44. package/dist/assets/{CompanyPassportCard-BZXE3iJL-DilKoEdI.js → CompanyPassportCard-yl1IgKFI-D5o4V1kY.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-BYZC3G4H-CVW8Rjjr.js → CompanyPassportPage-CVyMn0gX-B84l3k5M.js} +22 -22
  46. package/dist/assets/CompleteProfile-DzShtAr0-DgZZyN3N.js +36 -0
  47. package/dist/assets/{ConfettiBurst-BEoFHjQ0-DpE46940.js → ConfettiBurst-C47O0k3A-CgE-jS0G.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-6sohsdle-DA504h5F.js → CreateOrEditVendorPage-LadbvQ9C-BM9MXFCX.js} +11 -11
  49. package/dist/assets/{CreditCardPaymentDrawerPage-6oVDS3D8-C-M8T0xP.js → CreditCardPaymentDrawerPage-BQKmQNsf-D51SQtY9.js} +21 -21
  50. package/dist/assets/{CreditCardPaymentPlgSection-DX1BieKp-RRhQZkQz.js → CreditCardPaymentPlgSection-BKgF2tFu-B2qut9Kq.js} +12 -11
  51. package/dist/assets/{CurrencySelectField-F2P1iCLk-Bpmtm2da.js → CurrencySelectField-D_UXMdLl-3fWMP5Ut.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CNJkyjta-BVYDPEX6.js → CustomerOnboardingActivationPage-DYDUNktm-VdMelZBk.js} +8 -8
  53. package/dist/assets/CustomerOnboardingContainerPage-D34Fz5xA-DtQjzx0f.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B_MgUg-5-Bsph6TlL.js → CustomerOnboardingDetailPageSkeleton-IwCrs_Ni-BU7FJV1W.js} +12 -12
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-B49-4wZk-D2RstZet.js → CustomerOnboardingNoStepsPage-BinWH6wJ-F7EZH_15.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-4FPXG220-Lt3_K55_.js → CustomerOnboardingPage-mGYcMJc6-Cbh61qkc.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-cJPPvh-5-CUtKalOJ.js → CustomerOnboardingProductSuitePage-CMmP2rhp-C2ZiM9Vp.js} +9 -9
  58. package/dist/assets/{Dashboard-BBy_mQ8p-B5jdV4yq.js → Dashboard-B8ej675T-BQsqhmh7.js} +242 -260
  59. package/dist/assets/{DashboardReportPage-DYttySr4-CfmGOUcK.js → DashboardReportPage-D0g4Un-7-CpfFEkxQ.js} +6 -6
  60. package/dist/assets/{DepositAccTransactionItem-PNTL0e8v-BGmvjHCI.js → DepositAccTransactionItem-BiYFTagV-DKGpDZWk.js} +6 -6
  61. package/dist/assets/DepositAccTransactionListPage-B7seT4iQ-ETDHZpCZ.js +66 -0
  62. package/dist/assets/DocumentSecurityBanner-CQSsX1R1-CiqTL3oT.js +29 -0
  63. package/dist/assets/{DomesticWireDetailsPage-BhwTfZwI-DqDvFXEQ.js → DomesticWireDetailsPage-c2Omt2uV-BnfqYqal.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CUbv29mo-Bw1IdF0e.js → DownloadOverlay-Ca73StXh-C_Z4Bo0m.js} +21 -21
  65. package/dist/assets/{DrawerPage-2_QOgQ1m-8yRdv53N.js → DrawerPage-DbQ3fJ0a-CKvwqNoK.js} +11 -11
  66. package/dist/assets/EditPeoplePage-BSGpToFc-CVz7ykg1.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-C_jRh7w0-JV95TM0u.js → EditReimbursementDetailPage-CF4ITGWS-BCshPTAR.js} +61 -61
  68. package/dist/assets/{EntityDetailPage-BhQsnCgQ-D4_NJ9nD.js → EntityDetailPage-CjjeYmrY-CKF8NzDY.js} +3 -3
  69. package/dist/assets/{EntitySummarySection-CKkXzM76-CapIMSuQ.js → EntitySummarySection-CATUFkYD-DImzYyVi.js} +12 -12
  70. package/dist/assets/{ExpenseAutomationOverviewPage-ZuB3Aiv2-qZiVh6s4.js → ExpenseAutomationOverviewPage-DZJM8s1B-CWuuVSRx.js} +26 -26
  71. package/dist/assets/{ExpenseAutomationPage-BUic8zfk-BHBJ9Z-T.js → ExpenseAutomationPage-CJcg4JEX-CfHRDYOm.js} +41 -41
  72. package/dist/assets/{ExpressPayPage-DEkJ_H0W-CaxLveLq.js → ExpressPayPage-DtAXlY7R-DmEs2VSF.js} +12 -12
  73. package/dist/assets/FeaturePreviewPage-BsLKydgB-BmJgHlv8.js +11 -0
  74. package/dist/assets/{FollowStepsSection-CWw764ZM-CGrm9Uf6.js → FollowStepsSection-CkJm4bPf-DSv54_x1.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-CZctHM7r-D_9dJu1v.js → GlobalReviewListPage-DmxSD6UV-B6jMDpXK.js} +12 -12
  76. package/dist/assets/{HelpButton-Dpx0Yoel-CKsVdDSg.js → HelpButton-BFbQbBAV-B9TFt0c5.js} +4 -4
  77. package/dist/assets/{InformationCardStack-BGpHl4yb-lczsugqm.js → InformationCardStack-BMrkstMK-DbtAleoo.js} +5 -5
  78. package/dist/assets/InsightsCardStack-wYrlCPh0-C81zbfqn.js +79 -0
  79. package/dist/assets/InsightsSection-DncKJ7JM-Ch4ouwgi.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-CMjSCRm_-CgzYCQoS.js → IntegrationsSettingsPage-xySXq7aa-D_KPhG4o.js} +8 -8
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BTbTUt8U-CYMokwYp.js → InternationalWireSwiftDetailsPage-CSqm7kj7-CBN5IgLs.js} +15 -15
  82. package/dist/assets/{InternationalWireVerificationPage-DAW2eMTg-ChJ3uDB8.js → InternationalWireVerificationPage-DUHW34SM-CtEEcP6x.js} +22 -22
  83. package/dist/assets/{InviteFormPage-CCbyacPR-Ckjr5NgF.js → InviteFormPage-FjAlfXw_-BJAcufzm.js} +20 -20
  84. package/dist/assets/{InvitePageListView-mHkALr5o-C7ylPhjm.js → InvitePageListView-PObzTGOB-GwMLzitg.js} +62 -62
  85. package/dist/assets/InvitePeoplePage-BuqTZXW2-BpTuQP9a.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BsjeicP1-BP91ZU7m.js → InvoiceUploadSection-CZXO__Vx-Dmz2Yupy.js} +41 -41
  87. package/dist/assets/{IssueChargeCardPage-C3esnkQg-COG08kWF.js → IssueChargeCardPage-CjsftuWA-BDs_oaGQ.js} +33 -33
  88. package/dist/assets/{LabeledAddressValue-CeeoKoY4-CvQwJTu9.js → LabeledAddressValue-CfUYrlxS-CedyeSnW.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-B6eeRCSM-DWydrKZY.js → LabeledAddressValueField-B5z2zp_k-DSta9Thy.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-CK8YBqJ7-B9saqU60.js → LabeledControlledCheckBoxField-CHl3uhk9-BG28gZFR.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-BSKL8pA3-DuFUXQMp.js → LabeledCreatableSingleSelectField-CP-IuKrc-DU5OIEj-.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-DyMGgcCu-CO5ZlVGH.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DikXPnxD-DSUeE__c.js → LabeledDropDownFormattedTextField-Bism2Slt-DwU7ZVVo.js} +7 -7
  94. package/dist/assets/{LabeledText-qSjyNZO1-DFoRQ0wb.js → LabeledText-RBbOYz7n-VgixWYEH.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-x87S_Azj-CVhA2Xgg.js → LabeledUserSingleSelectWithSubtitlesField-B9Mu2WJq-C8qMOZtd.js} +16 -16
  96. package/dist/assets/{LabeledZeniRolesDropDownField-nm5bG2up-C92IDjFa.js → LabeledZeniRolesDropDownField-BCvUNHGc-D_n3gvsf.js} +17 -17
  97. package/dist/assets/{LinkJETransactionPage-p7wdZbtp-CNwjLj8D.js → LinkJETransactionPage-C4JGb7aV-BXKelJUa.js} +13 -13
  98. package/dist/assets/{LowBalancePopup-DHk6xd2B-_aHCSs2W.js → LowBalancePopup-BeDr-jas-DddI_xZq.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DRQ8oej8-aUTlVnco.js → MagicLinkACHDetailsPage-B8zPEOQv-ELR3l9ZF.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BxXU9Opg-CCiAW5vW.js → MagicLinkDomesticWireDetailsPage-CGdUqm2t-BERGcMoL.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DYN1baIc-BXA8gggA.js → MagicLinkInternationalWireDetailsPage-8hkLJ9A0-Bdoq1vuL.js} +1 -1
  102. package/dist/assets/MagicLinkSuccessPage-DWCZWHis-oQvPww9a.js +31 -0
  103. package/dist/assets/{MagicLinkTitleSection-K2cZQVzq-COa6ijtd.js → MagicLinkTitleSection-u5U6e-ve-MC7ZylHb.js} +4 -4
  104. package/dist/assets/MailingDetailsSection-nhPvZjVn-DTjLXXj3.js +21 -0
  105. package/dist/assets/{MeetingCalenderPopup-DbFlQ8Km-k4_LsMxX.js → MeetingCalenderPopup-CUA73Qvk-BpUub713.js} +1 -1
  106. package/dist/assets/{Menu-LLL9taEz-ipYxRwn_.js → Menu-D2zz2q9--BYfPpKNs.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BfDsHVZw-Bf1XYxr4.js → MyBankConnectionsSettingsPage-CGZMdkpt-CMgN8NUW.js} +15 -15
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-vag56A65-DF0R294m.js → MyPendingActivationChargeCardListPage-BKFgjKZX-B0scJUTA.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DCKqWh-p-DaltQdCu.js → MyProfileSettingsPage-BMRJLHbT-DWg_-s2B.js} +8 -8
  110. package/dist/assets/NavBarWithPicker-BXotE7Lk-TYT-S2OK.js +30 -0
  111. package/dist/assets/{NavigationArrow-CHmddDC--eiR6ZCk2.js → NavigationArrow-D-l9zblc-CDQWgJ4Z.js} +2 -2
  112. package/dist/assets/NavigationDots-BXUbx14l-CApJ3xJB.js +14 -0
  113. package/dist/assets/{NewGlobalMerchantPage-B0FywA12-B-V71_-n.js → NewGlobalMerchantPage-DtDgNdr1-CYep7SJT.js} +13 -13
  114. package/dist/assets/{NoDataChart-D43mhDJW-DTKvzPZF.js → NoDataChart-Bve5zpXV-BwZ8IP-2.js} +1 -1
  115. package/dist/assets/{NoDataTable-BOfUxs9D-QmqUpJBd.js → NoDataTable-3ROU0Vbp-DDB9N5jJ.js} +1 -1
  116. package/dist/assets/{NotFoundPage-DFioH5Rt-Bajjj6H-.js → NotFoundPage-DAo53P_6-C9hdXZ2m.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-y4g1rAal-C1PlzWDQ.js → NotificationSettingsPage-DcGcigHn-D6yNtF8n.js} +13 -13
  118. package/dist/assets/{NotificationsListConfig-sybPesiv-CumSV_sP.js → NotificationsListConfig-oE-ICX7d-5IgMyIt2.js} +1 -1
  119. package/dist/assets/{NotificationsPage-C88YOjuY-DhlTuVRF.js → NotificationsPage-TCXj6rCg-BAkiHad7.js} +31 -31
  120. package/dist/assets/{OpExByVendorPage-qBWbJhv9-D6-ISC2Q.js → OpExByVendorPage-xWhiJMru-CimTVsCN.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-Dres4Grh-croSXpa_.js → OverlayContainerPage-GWXnlbZH-Ba8WO7ii.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-uiaHrci6-BmjV4SA8.js → PandLWithForecastPage-BamjcoA8-Dqt_Y0_I.js} +8 -8
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BepDUdA0--CI8uZ0q.js → PaymentAccountSetupBillingAddressSection-Byvw69gz-DLG3TH2B.js} +11 -11
  124. package/dist/assets/{PeoplePage-oF6C1uyM-BWPCN8nm.js → PeoplePage-BYeGKWDm-_j7LiItB.js} +20 -20
  125. package/dist/assets/{PortfolioAllocationFormPage-C5O3GLqz-B19kKoCk.js → PortfolioAllocationFormPage-C-l23Cwp-CQhAFF5j.js} +4 -4
  126. package/dist/assets/{PortfolioDetails-BkGNpmoO-kzJ3Imwc.js → PortfolioDetails-BRhzzSFg-_V6-SKu3.js} +31 -31
  127. package/dist/assets/{ProductsCarousel-C_tmo4EA-D4yVhWod.js → ProductsCarousel-CP6ldspb-CSPciYcm.js} +6 -6
  128. package/dist/assets/{PromoBaseCards-Bq5-q2ew-owkf4D4N.js → PromoBaseCards-Jze9Y7gb-CsB7qigX.js} +5 -5
  129. package/dist/assets/{QBOConnectionDialog-BXNWjeYB-CRDesbLh.js → QBOConnectionDialog-9VnW9Bu9-CH9vDAEy.js} +9 -9
  130. package/dist/assets/QBOSetupSection-B1rw0-Q--hYcWWcnn.js +79 -0
  131. package/dist/assets/ReimbursementApprovalRuleDetailPage-DEK0sHby-DxHQ3-r9.js +26 -0
  132. package/dist/assets/{ReimbursementApprovalRulesPage-hjja5JFq-CTbhiO4F.js → ReimbursementApprovalRulesPage-D7dRwcKc-BN8fEREe.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-sXYC_aoR-BRo3-ALl.js → ReimbursementDetailPage-ZwlUAEc8-DNQqyf9h.js} +19 -19
  134. package/dist/assets/{ReimbursementPromoPage-C9zs7VRV-DnF6fzbN.js → ReimbursementPromoPage-CKuYFvqQ-DefJnvBU.js} +24 -24
  135. package/dist/assets/{ReimbursementSetUpPage-Ban56LOC-BrQiTbjv.js → ReimbursementSetUpPage-Rn1i_Dc1-By597Y9p.js} +11 -11
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CsRwI-rl-D4GTWYie.js → ReimbursementsBulkReviewDrawerPage-BwVFxo9s-CrM2jFkj.js} +1 -1
  137. package/dist/assets/{ReloadCard-EBXtqdt5-CAR8znPg.js → ReloadCard-7VJ3paTm-PIZ4RaVw.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-Ae5lGopA-CvE-ziP-.js → ReportTableViewSelector-BrPJNFJD-Bwujfsif.js} +10 -10
  139. package/dist/assets/{ReportsPage-Dh3DhbEK-CoCw1phe.js → ReportsPage-CCTvsUrL-BTO019Fz.js} +5 -5
  140. package/dist/assets/{RevenueChart-C5qfXMEg-BwhpmvbH.js → RevenueChart-CCWOE5TQ-DhmIgSkE.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-DjcJd2VM-DAK_gGD6.js → ReviewDetailsPage-Y6gEXgmb-DcY2sw3N.js} +17 -17
  142. package/dist/assets/{ReviewOverlay-Dmrea9EK-D-B16OuG.js → ReviewOverlay-CjSSDflN-KzsiV-Oa.js} +14 -14
  143. package/dist/assets/RoleWithToolTip-CFMnZiem-BIsCVqC3.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CQGRrdSx-c5adP63r.js → ScheduleDetailsFixedAssetsPage-DVyLY2NJ-LtnowkYW.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-D5OBZ80r-CqH9UyRO.js → ScheduleDetailsPage-Dl76cUvA-CFqi1TDf.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-fgV8zz4I-CXk4n0ng.js → ScheduleSequenceTable-CrxRnZch-BuFVSySr.js} +49 -49
  147. package/dist/assets/{ScreenRoutes-N_UpMNzU.js → ScreenRoutes-uG3kevMC.js} +62 -62
  148. package/dist/assets/{SetUpAccountSection-4-gtB3I4-k7g8HAWY.js → SetUpAccountSection-Cv2os5ln-zptuzOwF.js} +24 -24
  149. package/dist/assets/{SetUpDefaultSection-DSslQOgJ-TSnCtHg5.js → SetUpDefaultSection-BX28nGOx-CTgAzb1p.js} +12 -12
  150. package/dist/assets/{SignIn-CgXxIawW-CGP7Bd8R.js → SignIn-Bu5OrOXS-DkCR4kwg.js} +17 -17
  151. package/dist/assets/{SignInScreen-B7sTBkoH.js → SignInScreen-BtGVE0r_.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-SkhzkIYZ-x5ZKENRb.js → SpendManagementListViewPage-C5e1RRp_-HAlYRuO6.js} +11 -11
  153. package/dist/assets/{SpendManagementPerTabPage-CofY1YYQ-Cjq2YocJ.js → SpendManagementPerTabPage-DZVY7vQ1-BCl0_VO2.js} +55 -55
  154. package/dist/assets/{SpendManagementSection-DbC93chQ-B2MPdvcw.js → SpendManagementSection-BJMJInkt-BUFNWRJA.js} +13 -13
  155. package/dist/assets/{SpendMgmtSetupAccountSection-_8G7bMAw-CDKk9cnv.js → SpendMgmtSetupAccountSection-chezHlCW-DkOog65L.js} +22 -22
  156. package/dist/assets/{StatementItem-7ezfuDl--D0Tjhaxh.js → StatementItem-BFkpLh_o-CquALDsz.js} +5 -5
  157. package/dist/assets/{StatementsPage-C4ziRzkU-BZb9wt_c.js → StatementsPage-DWVI5t34-Cxqi7UEv.js} +6 -6
  158. package/dist/assets/{StatusSwitcher-0rVfFE-a-CrRHYuTc.js → StatusSwitcher-LVFF4Wxb-B0jggpKX.js} +7 -7
  159. package/dist/assets/{SubTabSwitcher-aoWbkCmT-Bl_FPFwI.js → SubTabSwitcher-BCJ6BY1u-f0PPyWdH.js} +1 -1
  160. package/dist/assets/{SummaryCard-6V1G-Yln-C_HcAreF.js → SummaryCard-BauMuQ8s-BNd_V8Lq.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-DjQma5Cr-8a9vcAkZ.js → TaskManagementPage-vrN0Gf0_--prS4OGY.js} +18 -18
  162. package/dist/assets/{TimeRangeSwitcher-DeIRg5zY-woa5YXhO.js → TimeRangeSwitcher-CNA64z6j-Cd26VPvr.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-Cop4G4gx-BkWg2DWR.js → TimeframeSwitcher-C1Yz0y7I-Cy-diIc-.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-C_Ah5N3M-C9t5AFtP.js +31 -0
  165. package/dist/assets/{TopExCard-BKirBv7q-CUq_6F55.js → TopExCard-Jo-Rn1MM-D6E3Hi5w.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-DcVunE8d-qEc0sA6B.js → TopExDetailPage-DDbJXH3w-CFeNp8T_.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-TJf3D0K6-BOXqbCEf.js → TransactionDetailPage-BuIbGizX-DpKJAZLT.js} +26 -26
  168. package/dist/assets/{TransactionList-fn6VXYIJ-DYk9Fe87.js → TransactionList-CLKRxE0g-BAsmWTvK.js} +4 -4
  169. package/dist/assets/{TransactionListBig-B_hNDFjS-CMjCzS-K.js → TransactionListBig-B5vQkCC2-B8EgQPCY.js} +25 -25
  170. package/dist/assets/{TransactionListPage-BbXZWbie-CDiciUHo.js → TransactionListPage-BqX_rZET-BgbyEEsX.js} +6 -6
  171. package/dist/assets/{TransactionVendorDetailPage-C6qJ5ncL-B1EVzM0Z.js → TransactionVendorDetailPage-DkTOdWyJ-BzkmZPzl.js} +6 -6
  172. package/dist/assets/TransferDrawerPage-BOGBvRan-Bpl8lBev.js +362 -0
  173. package/dist/assets/{TreasuryOverviewPage-DOV8Hanc-B1NNA_6U.js → TreasuryOverviewPage-DyhWQzuM-DsB8K2vJ.js} +53 -53
  174. package/dist/assets/{TreasuryPromoPage-C9O7G72q-DwRfBcK7.js → TreasuryPromoPage-DeahUeak-Bt4dIItF.js} +29 -30
  175. package/dist/assets/TreasurySetupPage-kCSON6p8-BAIMYuS4.js +152 -0
  176. package/dist/assets/{TreasuryStatementsPage-Ts6D6F-l-DoHTZ0q2.js → TreasuryStatementsPage-DjTS6UJU-CcrFtuZr.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-CM93_rS4-DP5U7gaM.js → TreasuryTaxLetterPage-B8-Rgr_d-BLPqqsbC.js} +5 -5
  178. package/dist/assets/TreasuryTransferOrReviewPage-CWMEjwJl-CrviYyrM.js +506 -0
  179. package/dist/assets/{TrendChart-BXjPAYgk-Cq_-iR7t.js → TrendChart-DZxa1hWw-B-nNq9QH.js} +5 -5
  180. package/dist/assets/{TrendWithTransactions-BlGX9aVa-CiPHs9MJ.js → TrendWithTransactions-DqF_gmA3-C3cM3seO.js} +8 -8
  181. package/dist/assets/{UncategorizedAccountsMappingPage--PnxDLIj-BIOyaxBg.js → UncategorizedAccountsMappingPage-BTMqGJ-S-Cf591JHO.js} +12 -12
  182. package/dist/assets/{UnitIntegrationPage-D5mzaVVL-BKJ8XltQ.js → UnitIntegrationPage-BypogBLd-BdjVHdC2.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BXS2l5kF-BsMl2eZs.js → UploadAdditionalDocumentOverlay-BtjgWIt2-CJxagUDB.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-jXN-6kcB-BvuovkFO.js → Vendor2FAPopup-Cvht-fPJ-BerAc1Se.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CHfX_7tk-BOp8BxY6.js → VendorACHDetailsPage-UxL2Rrtg-CYp_Tnh9.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CZuQaTCe-BpPmRILB.js → VendorDetailPage-D1W5LzEm-BAT5CVI4.js} +13 -13
  187. package/dist/assets/{VendorDomesticWireDetailsPage-dBmyAkGL-62nIhkQn.js → VendorDomesticWireDetailsPage-42tTXqjf-CD4sZQzl.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-C6KWbHaM-DDK7H0rO.js → VendorFiling1099EditablePage-C-s1YZ6j-PSND-gNL.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-DLaCXLH8-BnWjhIdr.js → VendorFirstReviewPage-DNWyzefV-BFUkskK4.js} +30 -30
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DgCH9Rad-CBW8_p_m.js → VendorInternationalWireDetailsPage-BLN_3qXP-DvvGYDz5.js} +10 -10
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CprymE3v-BNa75-ug.js → VendorInternationalWireSwiftDetailsPage-CK3lcupO-2PpWn4mj.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CpkfwFDJ-BBaBcIhq.js → VendorsAccountsSection-DN_7lQ28-DdMelKjb.js} +15 -15
  193. package/dist/assets/{WarningsDrawerPage-DeqbJ2Le-C-k360lW.js → WarningsDrawerPage-BO2PAioX-BD7wt9-J.js} +12 -12
  194. package/dist/assets/{ZeniAccountDetailPage-kwKoeRAb-DmgmMSld.js → ZeniAccountDetailPage-yp-KTRnk-B3mSE0M7.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-15LxhIiI-BTGCzvPZ.js → ZeniAccountListViewPage-D5aqQNtX-CPli23fR.js} +19 -19
  196. package/dist/assets/ZeniAccountNavBarPieces-VPw7D7l3-CCxmftfD.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-DvlAb5YA-C_whacZc.js → ZeniAccountPromoPage-wCKqqpXU-0L3bYfPA.js} +33 -33
  198. package/dist/assets/{ZeniAccountSetupPage-BjpvTfF5-D6d34LRw.js → ZeniAccountSetupPage-C9Huhxgd-BF9sZa0S.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-BYJFIZ_X-BFrN8evs.js → ZeniCopyright-DFiO9ffO-Bp-C_pps.js} +1 -1
  200. package/dist/assets/ZeniTransferAmountSlider-CrkvbV6i-BhBxjPo4.js +63 -0
  201. package/dist/assets/{analyticsHelper-BRyA7WLX-DLSkErMx.js → analyticsHelper-CcOQPReQ-DZ5fxxuk.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BwnF2PgM.js → analyticsHelper-zoqip0-C.js} +1 -1
  203. package/dist/assets/{chartTypes-CWEoqL4g-Cw3nMebw.js → chartTypes-COEFDZb5-DucaenQB.js} +1 -1
  204. package/dist/assets/{commonDimensions-UvndzJjv-Blvxf4Xv.js → commonDimensions-CP6T7HqS-BX01Lz5f.js} +1 -1
  205. package/dist/assets/{detailCommon-C3ymS8dg-BGRrtDwy.js → detailCommon-Ce5EinV2-BuHvMRYd.js} +2 -2
  206. package/dist/assets/{downloadPdf-CHwWcCR1-B6-X6iEo.js → downloadPdf-D5vJmVtA--yzU0Cnz.js} +1 -1
  207. package/dist/assets/{index-Dv7T7Q4q.js → index-CapQvjm9.js} +3984 -4129
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-BV9ky97n-DY-sQ7TV.js → mapLoadingInProgressToTreeNode-rI4nf6KS-CNoPmFuv.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-WivyN4Y7-BjYz9kWK.js → mapSectionWithAcOnlyToTreeNode-CQQ7dl1d-DPU0sPT_.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-AXNRptLX-By1nS5M2.js → mapSpacerToTreeNode-Br4381dY-Ct29eL9a.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-JTl35sFx-C5GE5hSl.js → mapTimeframeBalancesToTreeNode-B-Zn7TpW-SMvrvpz_.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-DUac2vK4-BY8WFMHX.js → mapTimeframeBalancesToTreeNode-CFc2Dxqu-D1jIXUn_.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DtkeOXnf-CJT3cdBk.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DaXzy5qa-BOsBu2E5.js} +1 -1
  214. package/dist/assets/{play-icon-HSIOzxQm-CqRvnI3L.js → play-icon-nZkbdoFU-C5Wh5Bql.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-CkjYSysY-CvnUvEoC.js → toCOABalancesWithID-COQYDD-b-BQqZQYQf.js} +1 -1
  216. package/dist/assets/{toChartData-BhKlnyso-lj3HQabg.js → toChartData-Djv4ERSl-DLhR9JKK.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-yIAXBrrM-3MHYMecV.js → treasuryColorHelper-D8HHUK60-Cfq8TI-i.js} +1 -1
  218. package/dist/assets/{uploadAttachment-CWaYLqwb-CVRH_3bI.js → uploadAttachment-BLy0prl2-B3IgXH7c.js} +32 -32
  219. package/dist/assets/{uploadReceipts-C6Ld_WLK-Dy2wrDVr.js → uploadReceipts-D80JLNY4-DWphWqez.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/ACHDetailsPage-DVi_fb5U-CGuPkBRY.js +0 -21
  223. package/dist/assets/BankAccountWarningSection--b6oxmO3-DKlzx_zh.js +0 -51
  224. package/dist/assets/BusinessVerificationPage-_E3jrLwS-B3aLGpDJ.js +0 -140
  225. package/dist/assets/ChargeCardPromoPage-2OheDHbA-BqDNYADI.js +0 -222
  226. package/dist/assets/CheckDepositDrawerPage-DEFEMwuI-CRMRTiml.js +0 -206
  227. package/dist/assets/CompanyOfficerDetailsSection-BEgNqg-b-CVHLWRNF.js +0 -260
  228. package/dist/assets/CompleteProfile-mCKLQjGe-CilcRs-S.js +0 -52
  229. package/dist/assets/CustomerOnboardingContainerPage-D6yeERaX-DZtJ8AkY.js +0 -1
  230. package/dist/assets/DepositAccTransactionListPage-DUwVnkwy-BEJAgywZ.js +0 -66
  231. package/dist/assets/EditPeoplePage-CtTYiqg3-BeUkYPWG.js +0 -55
  232. package/dist/assets/FeaturePreviewPage-CtK7L5vk-BUfvduBQ.js +0 -11
  233. package/dist/assets/InsightsCardStack-BbMJEahw-6ShmM6UA.js +0 -79
  234. package/dist/assets/InsightsSection-CYkuQHcj-Bf_S7jeP.js +0 -27
  235. package/dist/assets/InvitePeoplePage-r6PLBiEv-C_hZgPnI.js +0 -12
  236. package/dist/assets/LabeledDocumentField-BEyArLK3-yHmAGez6.js +0 -41
  237. package/dist/assets/MagicLinkSuccessPage-CX3bJ5_B-DBbTzFPV.js +0 -31
  238. package/dist/assets/MailingDetailsSection--zHyCquq-Crj-CQ_B.js +0 -21
  239. package/dist/assets/NavBarWithPicker-Cvi89wZV-qZCgoS6m.js +0 -30
  240. package/dist/assets/NavigationDots-1wpj484Z-CYA5PZFB.js +0 -15
  241. package/dist/assets/QBOSetupSection-D3sIWrh1-C8JJ9OyV.js +0 -79
  242. package/dist/assets/ReimbursementApprovalRuleDetailPage-ClgCUbVP-CI7DHlNJ.js +0 -26
  243. package/dist/assets/RoleWithToolTip-CqeM8Bh0-CP3lspGL.js +0 -22
  244. package/dist/assets/TimeframeSwitcherWithToggle-BhoniKOB-Cn9FIwDc.js +0 -31
  245. package/dist/assets/TransferDrawerPage-BtYoqKi--BpRIa0QV.js +0 -362
  246. package/dist/assets/TreasurySetupPage-CNzkkEjw-BgY_thiG.js +0 -146
  247. package/dist/assets/TreasuryTransferOrReviewPage-C8-tbCUQ-Ckqtt7Wk.js +0 -506
  248. package/dist/assets/VerifyDevice-CSIkEBig-Ddd729RU.js +0 -67
  249. package/dist/assets/ZeniAccountNavBarPieces-C0pq95hS-PD9j7rFy.js +0 -14
  250. package/dist/assets/ZeniTransferAmountSlider-Did4Chpj-DUNIonGt.js +0 -63
@@ -1,4 +1,4 @@
1
- import{X as V,u as Y,j as o,$ as w,B as Z,dv as u,o as i,C as a,e$ as D,f0 as j,d as C,f1 as ee,J as ie,bd as oe,s as l,r as te,a6 as B,b5 as se,w as E,af as re,M as ne,b1 as le,f5 as ae}from"./index-Dv7T7Q4q.js";import{b as de,n as t}from"./vendor-CnQcJ2Lu.js";const n={sectionWidth:new a(343,580,726),descriptionMarginBottom:new a(12,l[3]),iconContainerMaxWidthHeight:new a(l[6],l[7]),iconContainerMarginRight:new a(12,l[3]),iconPadding:new a(10,12),rowGap:new a(l[2],l[3]),containerPadding:new a(l[3],l[4]),navIconLeftMargin:new a(12,l[4]),tagIconContainerDivMarginTop:new a(l[2],l[0])},I={title:new ie("standardSemiBold","largeSemiBold")},{commonSetUp:{setUp:S}}=Z.getLocalizedStrings(),ce=t(le)`
1
+ import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,g as C,e_ as ee,Q as ie,bc as oe,q as l,p as te,a6 as B,b4 as se,v as E,af as re,m as ne,b0 as le,f2 as ae}from"./index-CapQvjm9.js";import{b as de,n as t}from"./vendor-CnQcJ2Lu.js";const n={sectionWidth:new a(343,580,726),descriptionMarginBottom:new a(12,l[3]),iconContainerMaxWidthHeight:new a(l[6],l[7]),iconContainerMarginRight:new a(12,l[3]),iconPadding:new a(10,12),rowGap:new a(l[2],l[3]),containerPadding:new a(l[3],l[4]),navIconLeftMargin:new a(12,l[4]),tagIconContainerDivMarginTop:new a(l[2],l[0])},_={title:new ie("standardSemiBold","largeSemiBold")},{commonSetUp:{setUp:S}}=J.getLocalizedStrings(),ce=t(le)`
2
2
  margin-left: 6px;
3
3
  width: 12px;
4
4
  height: 12px;
@@ -39,7 +39,7 @@ import{X as V,u as Y,j as o,$ as w,B as Z,dv as u,o as i,C as a,e$ as D,f0 as j,
39
39
  border-bottom-right-radius: ${i.sp0};
40
40
  border-bottom-left-radius: ${i.sp0};
41
41
  `}
42
- `,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Ke({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:N=!1,shouldHover:W=!0,showRightArrow:_=!0,onClick:H,showAddPaymentMethodDropDown:J=!1,updateCardPaymentModalState:R,openPlaidDialog:G,isCardPaymentMethod:O,analytics:F,productType:k,referrer:K,setEventSourceType:U,additionalInfo:L}){const s=V(),X=Y(),[q,Q]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:N,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(Ie,{children:v?o.jsx(Ne,{}):o.jsx(We,{})}):null,o.jsxs(Le,{windowSize:s,children:[P,d===!1?o.jsx(Be,{children:S.comingSoon}):null]})]}),o.jsxs(ze,{windowSize:s,width:e?.width,shouldHover:W,isClickable:h,children:[o.jsxs(xe,{isFootNoteAvailable:p!=null,children:[o.jsxs(ke,{windowSize:s,width:e?.width,isfootNoteAvailable:p!=null,onClick:d&&!y?H:void 0,"data-testid":w("setup-approval-section-elements",k),children:[o.jsxs(fe,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp7,height:i.sp7,borderRadius:"50%",marginRight:i.sp3},children:o.jsx(Me,{iconColor:x.color,windowSize:s,isDarkMode:X.mode==="dark",children:x.element})}),o.jsxs(De,{children:[o.jsxs(Te,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:"200px",height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`,marginTop:i.sp2},children:o.jsx(we,{windowSize:s,title:$,isError:b,showAddPaymentMethodDropDown:J,setAddPaymentMethodDropdownOpen:Q,addPaymentMethodDropdownOpen:q,updateCardPaymentModalState:R,isCardPaymentMethod:O??!1,openPlaidDialog:G,analytics:F,productType:k,referrer:K,setEventSourceType:U})}),f.length>0?o.jsx(be,{children:o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(je,{children:[f,g!=null?o.jsx(Se,{children:g.element}):null]})})}):null]}),r!=null&&s==="small"?o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(T,{windowSize:s,children:[m??m,o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})]})}):null,c===!1&&L!=null?o.jsxs(He,{children:[o.jsx(Je,{statusColor:r!=null?j(r.code).color:void 0}),o.jsx(Re,{statusColor:r!=null?j(r.code).color:void 0,children:L})]}):null]})]}),o.jsxs(ye,{children:[r!=null&&s!=="small"?o.jsxs(T,{windowSize:s,children:[o.jsx(_e,{children:m??m}),o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})})]}):null,_===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Ge,{children:S.bankAccountLinkingError}):null]}),o.jsx(u,{isLoading:c??!1,customStyle:{marginTop:n.rowGap.valuePx(s),width:"48%",height:i.sp3,marginBottom:i.sp2,marginLeft:i.sp3},children:typeof p=="string"?o.jsx(Ee,{children:p}):p})]})]})}const $e=t.div`
42
+ `,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Qe({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:W=!1,shouldHover:I=!0,showRightArrow:N=!0,onClick:H,showAddPaymentMethodDropDown:G=!1,updateCardPaymentModalState:K,openPlaidDialog:O,isCardPaymentMethod:R,analytics:F,productType:k,referrer:Q,setEventSourceType:U,additionalInfo:L}){const s=V(),X=Y(),[Z,q]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:W,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(_e,{children:v?o.jsx(We,{}):o.jsx(Ie,{})}):null,o.jsxs(Le,{windowSize:s,children:[P,d===!1?o.jsx(Be,{children:S.comingSoon}):null]})]}),o.jsxs(ze,{windowSize:s,width:e?.width,shouldHover:I,isClickable:h,children:[o.jsxs(xe,{isFootNoteAvailable:p!=null,children:[o.jsxs(ke,{windowSize:s,width:e?.width,isfootNoteAvailable:p!=null,onClick:d&&!y?H:void 0,"data-testid":w("setup-approval-section-elements",k),children:[o.jsxs(fe,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp7,height:i.sp7,borderRadius:"50%",marginRight:i.sp3},children:o.jsx(Me,{iconColor:x.color,windowSize:s,isDarkMode:X.mode==="dark",children:x.element})}),o.jsxs(De,{children:[o.jsxs(Te,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:"200px",height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`,marginTop:i.sp2},children:o.jsx(we,{windowSize:s,title:$,isError:b,showAddPaymentMethodDropDown:G,setAddPaymentMethodDropdownOpen:q,addPaymentMethodDropdownOpen:Z,updateCardPaymentModalState:K,isCardPaymentMethod:R??!1,openPlaidDialog:O,analytics:F,productType:k,referrer:Q,setEventSourceType:U})}),f.length>0?o.jsx(be,{children:o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(je,{children:[f,g!=null?o.jsx(Se,{children:g.element}):null]})})}):null]}),r!=null&&s==="small"?o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(T,{windowSize:s,children:[m??m,o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})]})}):null,c===!1&&L!=null?o.jsxs(He,{children:[o.jsx(Ge,{statusColor:r!=null?j(r.code).color:void 0}),o.jsx(Ke,{statusColor:r!=null?j(r.code).color:void 0,children:L})]}):null]})]}),o.jsxs(ye,{children:[r!=null&&s!=="small"?o.jsxs(T,{windowSize:s,children:[o.jsx(Ne,{children:m??m}),o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})})]}):null,N===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Oe,{children:S.bankAccountLinkingError}):null]}),o.jsx(u,{isLoading:c??!1,customStyle:{marginTop:n.rowGap.valuePx(s),width:"48%",height:i.sp3,marginBottom:i.sp2,marginLeft:i.sp3},children:typeof p=="string"?o.jsx(Ee,{children:p}):p})]})]})}const $e=t.div`
43
43
  display: flex;
44
44
  flex-direction: column;
45
45
  pointer-events: ${e=>(e.isLoading===!0||e.isActive===!1)&&e.isActiveWhileLoading===!1?"none":"initial"};
@@ -58,7 +58,7 @@ import{X as V,u as Y,j as o,$ as w,B as Z,dv as u,o as i,C as a,e$ as D,f0 as j,
58
58
  margin-top: ${e=>n.tagIconContainerDivMarginTop.valuePx(e.windowSize)};
59
59
  gap: ${i.sp2};
60
60
  `,ve=t.div`
61
- ${e=>`${I.title.style(e.windowSize)}`};
61
+ ${e=>`${_.title.style(e.windowSize)}`};
62
62
  color: ${e=>e.isError===!0?C.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
63
63
  `,be=t.div`
64
64
  display: flex;
@@ -124,7 +124,7 @@ import{X as V,u as Y,j as o,$ as w,B as Z,dv as u,o as i,C as a,e$ as D,f0 as j,
124
124
  display: flex;
125
125
  align-items: center;
126
126
  color: ${e=>e.theme.colors.primary};
127
- ${e=>`${I.title.style(e.windowSize)}`};
127
+ ${e=>`${_.title.style(e.windowSize)}`};
128
128
  `,De=t.div`
129
129
  display: flex;
130
130
  flex-direction: column;
@@ -139,18 +139,18 @@ import{X as V,u as Y,j as o,$ as w,B as Z,dv as u,o as i,C as a,e$ as D,f0 as j,
139
139
  box-sizing: border-box;
140
140
  text-align: center;
141
141
  color: ${e=>e.theme.colors.grey1};
142
- `,Ie=t.div`
142
+ `,_e=t.div`
143
143
  margin-right: ${i.sp2};
144
- `,Ne=t(ee)`
144
+ `,We=t(ee)`
145
145
  width: ${i.sp3};
146
146
  height: ${i.sp3};
147
147
  color: ${C.success};
148
- `,We=t.div`
148
+ `,Ie=t.div`
149
149
  height: 14px;
150
150
  width: 14px;
151
151
  border: 1px solid ${e=>e.theme.colors.primary};
152
152
  border-radius: 50%;
153
- `,_e=t.div`
153
+ `,Ne=t.div`
154
154
  width: ${i.sp3};
155
155
  height: ${i.sp3};
156
156
  margin: auto;
@@ -159,16 +159,16 @@ import{X as V,u as Y,j as o,$ as w,B as Z,dv as u,o as i,C as a,e$ as D,f0 as j,
159
159
  align-items: center;
160
160
  gap: ${i.sp1};
161
161
  margin-top: ${i.sp1};
162
- `,Je=t(se)`
162
+ `,Ge=t(se)`
163
163
  width: ${i.sp3};
164
164
  height: ${i.sp3};
165
165
  color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
166
- `,Re=t(E)`
166
+ `,Ke=t(E)`
167
167
  color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
168
- `,Ge=t(E)`
168
+ `,Oe=t(E)`
169
169
  display: flex;
170
170
  color: ${C.important};
171
171
  margin-left: 88px;
172
172
  margin-bottom: ${i.sp3};
173
173
  border-radius: ${i.sp1};
174
- `;export{we as $,Ke as J,Ee as L};
174
+ `;export{we as $,Qe as K,Ee as T};
@@ -1,4 +1,4 @@
1
- import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b as le,C,c as qe,J as ae,g as ke,d as c,k as Xe,Q as Qe,w as Se,p as be,e as Ye,l as de,h as Ke,f as ei,i as je,m as ye,v as M,n as ii,q as oi,M as ve,r as ni,s as L,Z as ri,t as ti,x as si,y as li}from"./index-Dv7T7Q4q.js";import{b as r,n,f as ai,k as ze,j as di}from"./vendor-CnQcJ2Lu.js";import{i as ci}from"./ZeniCopyright-BYJFIZ_X-BFrN8evs.js";import{S as gi}from"./ProductsCarousel-C_tmo4EA-D4yVhWod.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const pi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),r.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),r.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),r.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),r.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),hi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),r.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),r.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),r.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),mi=n.div`
1
+ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i as le,C,$ as qe,Q as ae,h as ke,g as c,k as Xe,O as Qe,v as Se,r as be,b as Ye,l as de,c as Ke,d as ei,K as je,e as ye,f as M,Y as ii,n as oi,m as ve,p as ni,q as L,Z as ri,s as ti,x as si,t as li}from"./index-CapQvjm9.js";import{b as r,n,f as ai,k as ze,j as di}from"./vendor-CnQcJ2Lu.js";import{i as ci}from"./ZeniCopyright-DFiO9ffO-Bp-C_pps.js";import{S as gi}from"./ProductsCarousel-CP6ldspb-CSPciYcm.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const pi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),r.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),r.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),r.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),r.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),hi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),r.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),r.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),r.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),mi=n.div`
2
2
  margin-left: ${o.sp3};
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  font-family: ${li.Roboto};
@@ -36,7 +36,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
36
36
  `,fi=n(hi)`
37
37
  height: ${o.sp3};
38
38
  width: ${o.sp3};
39
- `;function Ie({type:e,titleText:g,disabled:a,loadingIndication:m,onClick:h}){const d=q(),x=i.jsxs(wi,{children:[e==="Google"?i.jsx(xi,{}):i.jsx(fi,{}),i.jsx(mi,{windowSize:d,children:g})]});return i.jsx(ui,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:h,children:m===!0?i.jsx(Ke,{size:"Standard",start:m===!0}):x})}const $i=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:m,getSignedInUser:h,onError:d})=>{const x=Ye({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(h()!=null){m();return}x()};return i.jsx(Ie,{onClick:w,disabled:g,type:"Google",titleText:k.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},Ci=e=>{const{clientId:g,scopes:a,getSignedInUser:m,onSignedInCallback:h,render:d,onSuccess:x,onFailure:w,disabled:F}=e;let{responseType:$,responseMode:S,prompt:v,redirectUri:z}=e,P,s;const I="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",V=["openid","profile"];$=$??"code",S=S??"fragment",v=v??"consent",ai.useEffect(()=>{const u=de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(u.code!=null||u.access_token!=null||u.error!=null)&&Z()},[]);const T=()=>{const u=encodeURIComponent((a??V).join(" "));return z=z??window.location.origin+window.location.pathname,`${I}?client_id=${g}&response_type=${$}&redirect_uri=${encodeURIComponent(z)}&scope=${u}&prompt=${v}&response_mode=${S}`},Z=()=>{window.opener?.authScope.authCompletedCB(de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(m()!=null){h();return}P=!1;const u=(p,B)=>{const _=window.screen.width/2-287.5,O=window.screen.height/2-600/2,H=window.open(p,B,`toolbar=0,status=0, width=575, height=600, top=${O}, left=${_}`);s=setInterval(()=>{H.closed&&!P&&(w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{P=!0,clearInterval(s),$==="code"&&p.code?x({code:p.code}):$==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:k.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:p})}},u(T(),"Microsoft Sign In")},disabled:F})},ki=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M14.4966 8.6752L11.3135 9.72133C11.0597 9.80325 10.7843 9.78641 10.5423 9.67418C10.3004 9.56195 10.1096 9.36259 10.0082 9.1159C9.90679 8.86922 9.90213 8.59335 9.99519 8.34338C10.0882 8.09341 10.2721 7.88773 10.5102 7.76741L13.5941 6.22588C13.8572 6.09531 14.1441 6.01959 14.4373 6.00333C14.7305 5.98706 15.024 6.03059 15.2999 6.13126L19.8522 7.78259V14.0308L14.4912 15.0493",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M4.67786 14.0308H6.90938L10.1138 17.6227C10.2769 17.812 10.4939 17.9469 10.7359 18.0093C10.9778 18.0716 11.2331 18.0584 11.4673 17.9714C11.7015 17.8845 11.9035 17.7279 12.0461 17.5227C12.1887 17.3175 12.2651 17.0736 12.265 16.8238V16.2623L12.4248 16.3266C12.6541 16.4182 12.9023 16.4522 13.1477 16.4257C13.3932 16.3991 13.6284 16.3129 13.8328 16.1744C14.0372 16.036 14.2046 15.8496 14.3203 15.6315C14.436 15.4134 14.4965 15.1703 14.4965 14.9234H14.9428C15.1915 14.9234 15.4352 14.8542 15.6468 14.7234C15.8583 14.5927 16.0292 14.4057 16.1404 14.1833C16.2516 13.9609 16.2987 13.7119 16.2763 13.4643C16.254 13.2166 16.1632 12.9801 16.014 12.7812L13.1576 9.12146",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M10.9725 7.53178L10.6458 7.264C10.3838 7.06988 10.0765 6.94592 9.75318 6.9039C9.42981 6.86187 9.10106 6.90318 8.79813 7.02389L4.67786 8.67521",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M2 6.89001H3.78522C4.02195 6.89001 4.24899 6.98406 4.41638 7.15145C4.58378 7.31885 4.67782 7.54589 4.67782 7.78262V14.0309C4.67782 14.2676 4.58378 14.4946 4.41638 14.662C4.24899 14.8294 4.02195 14.9235 3.78522 14.9235H2",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M22.53 14.9235H20.7448C20.508 14.9235 20.281 14.8294 20.1136 14.662C19.9462 14.4946 19.8522 14.2676 19.8522 14.0309V7.78262C19.8522 7.54589 19.9462 7.31885 20.1136 7.15145C20.281 6.98406 20.508 6.89001 20.7448 6.89001H22.53",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),D={width:new C(343,572,572),containerTop:new C(17,25,25)},{signIn:{emailNotFoundPopup:A},common:{gotIt:Si}}=k.getLocalizedStrings();function bi({signInError:e,onClose:g}){const a=q(),[m,h]=r.useState(!1),d=e?.email;return i.jsx(ji,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:i.jsx(ni,{onClickAway:()=>{h(!0),g()},children:i.jsxs(zi,{windowSize:a,className:m?"containerClass fade":"containerClass",fade:m,children:[i.jsxs(Ii,{children:[A.title,i.jsx(Pi,{children:d})]}),i.jsxs(Ti,{children:[i.jsxs(N,{children:[i.jsx(W,{children:i.jsx(Ei,{})}),i.jsx(G,{windowSize:a,children:A.confirmEmail})]}),i.jsxs(N,{children:[i.jsx(W,{children:i.jsx(Mi,{})}),i.jsx(G,{windowSize:a,children:A.checkAccess})]}),i.jsxs(N,{children:[i.jsx(W,{children:i.jsx(Li,{})}),i.jsx(G,{windowSize:a,children:A.contactZeni})]})]}),i.jsx(je,{label:Si,variant:"primary",onClick:()=>{h(!0),g()}})]})})})}const ji=n.div`
39
+ `;function Ie({type:e,titleText:g,disabled:a,loadingIndication:m,onClick:h}){const d=q(),x=i.jsxs(wi,{children:[e==="Google"?i.jsx(xi,{}):i.jsx(fi,{}),i.jsx(mi,{windowSize:d,children:g})]});return i.jsx(ui,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:h,children:m===!0?i.jsx(Ke,{size:"Standard",start:m===!0}):x})}const $i=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:m,getSignedInUser:h,onError:d})=>{const x=Ye({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(h()!=null){m();return}x()};return i.jsx(Ie,{onClick:w,disabled:g,type:"Google",titleText:k.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},Ci=e=>{const{clientId:g,scopes:a,getSignedInUser:m,onSignedInCallback:h,render:d,onSuccess:x,onFailure:w,disabled:_}=e;let{responseType:$,responseMode:S,prompt:v,redirectUri:z}=e,P,s;const I="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",F=["openid","profile"];$=$??"code",S=S??"fragment",v=v??"consent",ai.useEffect(()=>{const u=de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(u.code!=null||u.access_token!=null||u.error!=null)&&Z()},[]);const T=()=>{const u=encodeURIComponent((a??F).join(" "));return z=z??window.location.origin+window.location.pathname,`${I}?client_id=${g}&response_type=${$}&redirect_uri=${encodeURIComponent(z)}&scope=${u}&prompt=${v}&response_mode=${S}`},Z=()=>{window.opener?.authScope.authCompletedCB(de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(m()!=null){h();return}P=!1;const u=(p,O)=>{const V=window.screen.width/2-287.5,B=window.screen.height/2-600/2,H=window.open(p,O,`toolbar=0,status=0, width=575, height=600, top=${B}, left=${V}`);s=setInterval(()=>{H.closed&&!P&&(w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{P=!0,clearInterval(s),$==="code"&&p.code?x({code:p.code}):$==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:k.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:p})}},u(T(),"Microsoft Sign In")},disabled:_})},ki=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M14.4966 8.6752L11.3135 9.72133C11.0597 9.80325 10.7843 9.78641 10.5423 9.67418C10.3004 9.56195 10.1096 9.36259 10.0082 9.1159C9.90679 8.86922 9.90213 8.59335 9.99519 8.34338C10.0882 8.09341 10.2721 7.88773 10.5102 7.76741L13.5941 6.22588C13.8572 6.09531 14.1441 6.01959 14.4373 6.00333C14.7305 5.98706 15.024 6.03059 15.2999 6.13126L19.8522 7.78259V14.0308L14.4912 15.0493",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M4.67786 14.0308H6.90938L10.1138 17.6227C10.2769 17.812 10.4939 17.9469 10.7359 18.0093C10.9778 18.0716 11.2331 18.0584 11.4673 17.9714C11.7015 17.8845 11.9035 17.7279 12.0461 17.5227C12.1887 17.3175 12.2651 17.0736 12.265 16.8238V16.2623L12.4248 16.3266C12.6541 16.4182 12.9023 16.4522 13.1477 16.4257C13.3932 16.3991 13.6284 16.3129 13.8328 16.1744C14.0372 16.036 14.2046 15.8496 14.3203 15.6315C14.436 15.4134 14.4965 15.1703 14.4965 14.9234H14.9428C15.1915 14.9234 15.4352 14.8542 15.6468 14.7234C15.8583 14.5927 16.0292 14.4057 16.1404 14.1833C16.2516 13.9609 16.2987 13.7119 16.2763 13.4643C16.254 13.2166 16.1632 12.9801 16.014 12.7812L13.1576 9.12146",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M10.9725 7.53178L10.6458 7.264C10.3838 7.06988 10.0765 6.94592 9.75318 6.9039C9.42981 6.86187 9.10106 6.90318 8.79813 7.02389L4.67786 8.67521",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M2 6.89001H3.78522C4.02195 6.89001 4.24899 6.98406 4.41638 7.15145C4.58378 7.31885 4.67782 7.54589 4.67782 7.78262V14.0309C4.67782 14.2676 4.58378 14.4946 4.41638 14.662C4.24899 14.8294 4.02195 14.9235 3.78522 14.9235H2",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M22.53 14.9235H20.7448C20.508 14.9235 20.281 14.8294 20.1136 14.662C19.9462 14.4946 19.8522 14.2676 19.8522 14.0309V7.78262C19.8522 7.54589 19.9462 7.31885 20.1136 7.15145C20.281 6.98406 20.508 6.89001 20.7448 6.89001H22.53",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),A={width:new C(343,572,572),containerTop:new C(17,25,25)},{signIn:{emailNotFoundPopup:D},common:{gotIt:Si}}=k.getLocalizedStrings();function bi({signInError:e,onClose:g}){const a=q(),[m,h]=r.useState(!1),d=e?.email;return i.jsx(ji,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:i.jsx(ni,{onClickAway:()=>{h(!0),g()},children:i.jsxs(zi,{windowSize:a,className:m?"containerClass fade":"containerClass",fade:m,children:[i.jsxs(Ii,{children:[D.title,i.jsx(Pi,{children:d})]}),i.jsxs(Ti,{children:[i.jsxs(N,{children:[i.jsx(J,{children:i.jsx(Ei,{})}),i.jsx(G,{windowSize:a,children:D.confirmEmail})]}),i.jsxs(N,{children:[i.jsx(J,{children:i.jsx(Mi,{})}),i.jsx(G,{windowSize:a,children:D.checkAccess})]}),i.jsxs(N,{children:[i.jsx(J,{children:i.jsx(Li,{})}),i.jsx(G,{windowSize:a,children:D.contactZeni})]})]}),i.jsx(je,{label:Si,variant:"primary",onClick:()=>{h(!0),g()}})]})})})}const ji=n.div`
40
40
  position: fixed;
41
41
  top: 0;
42
42
  left: 0;
@@ -55,11 +55,11 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
55
55
  top: 100%;
56
56
  }
57
57
  100% {
58
- top: ${D.containerTop.valuePercentage(e)};
58
+ top: ${A.containerTop.valuePercentage(e)};
59
59
  }
60
60
  `,vi=({windowSize:e})=>ze`
61
61
  0% {
62
- top: ${D.containerTop.valuePercentage(e)};
62
+ top: ${A.containerTop.valuePercentage(e)};
63
63
  }
64
64
  100% {
65
65
  top: 100%;
@@ -73,9 +73,9 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
73
73
  background: ${e=>e.theme.colors.grey5};
74
74
  border-radius: ${o.sp2};
75
75
  position: relative;
76
- top: ${e=>e.fade?"100%":D.containerTop.valuePercentage(e.windowSize)};
76
+ top: ${e=>e.fade?"100%":A.containerTop.valuePercentage(e.windowSize)};
77
77
  padding: ${o.sp5} ${o.sp0};
78
- width: ${e=>D.width.valuePx(e.windowSize)};
78
+ width: ${e=>A.width.valuePx(e.windowSize)};
79
79
  animation: ${e=>yi(e)} 0.25s linear;
80
80
  box-shadow: ${c.Elevation2Dark};
81
81
  overflow: hidden;
@@ -99,7 +99,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
99
99
  margin-bottom: ${o.sp6};
100
100
  color: ${c.important};
101
101
  padding: ${o.sp0} ${o.sp6};
102
- `,W=n.div`
102
+ `,J=n.div`
103
103
  margin-right: 12px;
104
104
  height: ${o.sp7};
105
105
  width: ${o.sp7};
@@ -130,7 +130,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
130
130
  word-break: break-all;
131
131
  `,Ti=n.div`
132
132
  padding: ${o.sp0} ${o.sp6};
133
- `,l=k.getLocalizedStrings(),Ee={signInHeading:new ae("h5Regular","h2Regular"),signInMessage:new ae("standardRegular","h6Regular")},y={ZeniLogoContainerLeftMargin:new C(L[0],L[5]),ZeniLogoContainerTopMargin:new C(12,L[3]),headingContainerTopMargin:new C(36,10),signInContainerPaddingTop:new C(L[12],L[4]),emailInputFontSize:new C(M.standardRegular.fontSizeValue,M.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new C(L[3],12)},_i=n.div`
133
+ `,l=k.getLocalizedStrings(),Ee={signInHeading:new ae("h5Regular","h2Regular"),signInMessage:new ae("standardRegular","h6Regular")},y={ZeniLogoContainerLeftMargin:new C(L[0],L[5]),ZeniLogoContainerTopMargin:new C(12,L[3]),headingContainerTopMargin:new C(36,10),signInContainerPaddingTop:new C(L[12],L[4]),emailInputFontSize:new C(M.standardRegular.fontSizeValue,M.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new C(L[3],12)},Vi=n.div`
134
134
  background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="light"?"l":"d"}.svg)`};
135
135
 
136
136
  background-color: ${e=>e.theme.colors.background};
@@ -143,7 +143,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
143
143
  background-position: 50px ${o.sp0};
144
144
  background-repeat: no-repeat;
145
145
  overflow-x: hidden;
146
- `,Fi=n.div`
146
+ `,_i=n.div`
147
147
  display: flex;
148
148
  flex: 1 1 auto;
149
149
  padding: ${o.sp0} ${o.sp4} ${o.sp0} ${o.sp4};
@@ -169,7 +169,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
169
169
  margin: ${o.sp1} ${o.sp0} ${o.sp1} ${o.sp0};
170
170
  color: ${e=>e.theme.colors.hero};
171
171
  text-decoration: none;
172
- `,Vi=n(oi)`
172
+ `,Fi=n(oi)`
173
173
  color: ${c.important};
174
174
  text-align: center;
175
175
  white-space: pre;
@@ -179,7 +179,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
179
179
  flex-shrink: 0;
180
180
  position: relative;
181
181
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
182
- `,Bi=n.div`
182
+ `,Oi=n.div`
183
183
  display: flex;
184
184
  flex-direction: row;
185
185
  align-items: center;
@@ -200,7 +200,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
200
200
  border: 1px solid
201
201
  ${e=>e.hasError?c.important:e.theme.colors.primary};
202
202
  }
203
- `,Oi=n(ei,{shouldForwardProp:e=>e!=="isValid"&&e!=="windowSize"})`
203
+ `,Bi=n(ei,{shouldForwardProp:e=>e!=="isValid"&&e!=="windowSize"})`
204
204
  flex: 1;
205
205
 
206
206
  & .MuiOutlinedInput-root {
@@ -250,12 +250,12 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
250
250
  border-radius: 50px;
251
251
  padding: 12px ${o.sp4};
252
252
  box-sizing: border-box;
253
- `,Ai=n(be)`
253
+ `,Di=n(be)`
254
254
  width: ${o.sp3};
255
255
  height: ${o.sp3};
256
256
  color: ${e=>e.theme.colors.brandColorSapphire};
257
257
  flex-shrink: 0;
258
- `,Di=n.div`
258
+ `,Ai=n.div`
259
259
  width: ${o.sp4};
260
260
  height: ${o.sp4};
261
261
  background-color: ${c.neutralGrey5Light};
@@ -286,7 +286,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
286
286
  align-items: center;
287
287
  gap: ${e=>e.showEmailError&&e.showEmailForm?o.sp1:o.sp3};
288
288
  max-width: 100%;
289
- `,Ji=n.div`
289
+ `,Wi=n.div`
290
290
  display: flex;
291
291
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
292
292
  justify-content: center;
@@ -294,7 +294,7 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
294
294
  gap: ${o.sp4};
295
295
  flex-wrap: ${e=>e.windowSize==="small"?"wrap":"nowrap"};
296
296
  width: 100%;
297
- `,Wi=n.div`
297
+ `,Ji=n.div`
298
298
  width: 100%;
299
299
  `,$e=n.div`
300
300
  margin-top: ${e=>y.headingContainerTopMargin.valuePx(e.windowSize)};
@@ -405,4 +405,4 @@ import{X as q,A as Ue,a as Je,B as k,j as i,T as E,G as We,F as Ge,P as Ne,o,b a
405
405
  flex-direction: column;
406
406
  align-items: center;
407
407
  gap: 1px;
408
- `;function wo({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:m={},showEmailLogin:h=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:F,onSignedInCallback:$,clearSignInError:S,onOAuthSuccess:v,onOAuthError:z,sendMagicLink:P}){const s=q(),{dark:I}=Ue(),V=a==="In-Progress",T=a==="Error",[Z,u]=r.useState(void 0),[p,B]=r.useState(""),[_,O]=r.useState(!1),[H,R]=r.useState(!1),[f,Q]=r.useState(!1),Le=a==="In-Progress"&&p==="google",Me=a==="In-Progress"&&p==="microsoft",Y=Je({mode:"onSubmit",defaultValues:{email:""}}),{register:Pe,handleSubmit:Te,formState:{errors:K},setValue:ee,watch:_e,clearErrors:Fe}=Y,ie=_e("email"),oe=!!K.email||H,ne=!!K.email;r.useEffect(()=>{h&&x===!0&&w!=null&&w.trim()!==""&&(ee("email",w),R(!0),Q(!0))},[h,x,w,ee]);const Ve=t=>{R(!1),t.email.trim()&&P(t.email)},Ze=()=>{R(!1),Fe("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",re=T&&m.type==="email_not_found";r.useEffect(()=>{(re||U)&&O(!0)},[U,re]);const Be=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"google"),B("google")},Oe=t=>{const j="Error = "+t?.error+" Error Description = "+t?.error_description;u(j),z?.(JSON.stringify(t),"google")},He=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"microsoft"),B("microsoft")},Ae=t=>{console.log(JSON.stringify(t)),u(t.error??"Microsoft authorization failed."),z?.(JSON.stringify(t),"microsoft")},De=()=>{let t="";return(T||Z!=null)&&_===!1&&(t=Z??l.signIn.signInAuthError),t},te=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,se=l.signIn.message,b=d.fetchState==="Completed",Re=U&&d.error?.error?d.error.error:m;return i.jsxs(_i,{windowSize:s,children:[i.jsxs(Fi,{children:[i.jsxs(qi,{children:[i.jsx(Gi,{windowSize:s,children:i.jsx(Ni,{className:"zeni-logo"})}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsx(ue,{isDarkTheme:I,children:i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,J)=>i.jsxs("span",{children:[t,j<J.length-1&&i.jsx(xe,{children:ie})]},j))})}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsxs(ue,{isDarkTheme:I,children:[i.jsx(Di,{children:i.jsx(Ai,{})}),i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,J)=>i.jsxs("span",{children:[t,j<J.length-1&&i.jsx(xe,{children:ie})]},j))})]}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsx(E,{controller:!b,children:i.jsxs(Ri,{windowSize:s,children:[i.jsxs(Ui,{showEmailError:oe,showEmailForm:f,children:[!f&&i.jsxs(Ji,{windowSize:s,children:[i.jsx(We,{clientId:e,children:i.jsx($i,{disabled:V,inProgress:Le,getSignedInUser:F,onSuccess:Be,onSignedInCallback:$,onError:Oe})}),i.jsx(Ci,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:F,prompt:"select_account",responseType:"code",responseMode:"query",render:t=>i.jsx(Ie,{onClick:t.onClick,disabled:V||t.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:Me}),onSignedInCallback:$,onSuccess:He,onFailure:Ae})]}),h&&f&&i.jsx(Ge,{...Y,children:i.jsxs(Zi,{windowSize:s,children:[i.jsx("form",{onSubmit:Te(Ve),children:i.jsxs(Bi,{windowSize:s,hasError:ne,children:[i.jsx(Oi,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ne,autoComplete:"off",...Pe("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ne,message:l.signIn.invalidEmailMessage},onChange:Ze})}),i.jsx(Qi,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),oe&&i.jsx(Hi,{children:H?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})}),h&&i.jsxs(eo,{children:[i.jsxs(Yi,{showEmailForm:f,windowSize:s,children:[i.jsx(Ce,{showEmailForm:f,windowSize:s}),i.jsx(Ki,{children:l.common.texts.or.toUpperCase()}),i.jsx(Ce,{showEmailForm:f,windowSize:s})]}),i.jsxs(no,{children:[i.jsx(io,{onClick:()=>Q(!f),children:f?l.signIn.googleOrMicrosoftLink:l.signIn.workEmailLink}),i.jsx(oo,{isVisible:!f,children:l.signIn.workEmailSubText})]})]})]}),_===!1&&T&&i.jsx(Wi,{children:i.jsx(Vi,{children:De()})})]})})]}),i.jsx(E,{controller:s!=="small",children:i.jsx(Xi,{children:i.jsx(gi,{scale:.88,useFixedArrowPosition:!0})})}),i.jsx(pe,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?o.sp5:o.sp1},children:i.jsxs(pe,{children:[i.jsxs(he,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,i.jsx(le,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",i.jsx(le,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),i.jsx(he,{children:i.jsx(ci,{})})]})})]}),_&&i.jsx(bi,{signInError:Re,onClose:()=>{S(),O(!1)}})]})}export{wo as default};
408
+ `;function wo({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:m={},showEmailLogin:h=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:_,onSignedInCallback:$,clearSignInError:S,onOAuthSuccess:v,onOAuthError:z,sendMagicLink:P}){const s=q(),{dark:I}=Ue(),F=a==="In-Progress",T=a==="Error",[Z,u]=r.useState(void 0),[p,O]=r.useState(""),[V,B]=r.useState(!1),[H,R]=r.useState(!1),[f,Q]=r.useState(!1),Le=a==="In-Progress"&&p==="google",Me=a==="In-Progress"&&p==="microsoft",Y=We({mode:"onSubmit",defaultValues:{email:""}}),{register:Pe,handleSubmit:Te,formState:{errors:K},setValue:ee,watch:Ve,clearErrors:_e}=Y,ie=Ve("email"),oe=!!K.email||H,ne=!!K.email;r.useEffect(()=>{h&&x===!0&&w!=null&&w.trim()!==""&&(ee("email",w),R(!0),Q(!0))},[h,x,w,ee]);const Fe=t=>{R(!1),t.email.trim()&&P(t.email)},Ze=()=>{R(!1),_e("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",re=T&&m.type==="email_not_found";r.useEffect(()=>{(re||U)&&B(!0)},[U,re]);const Oe=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"google"),O("google")},Be=t=>{const j="Error = "+t?.error+" Error Description = "+t?.error_description;u(j),z?.(JSON.stringify(t),"google")},He=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"microsoft"),O("microsoft")},De=t=>{console.log(JSON.stringify(t)),u(t.error??"Microsoft authorization failed."),z?.(JSON.stringify(t),"microsoft")},Ae=()=>{let t="";return(T||Z!=null)&&V===!1&&(t=Z??l.signIn.signInAuthError),t},te=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,se=l.signIn.message,b=d.fetchState==="Completed",Re=U&&d.error?.error?d.error.error:m;return i.jsxs(Vi,{windowSize:s,children:[i.jsxs(_i,{children:[i.jsxs(qi,{children:[i.jsx(Gi,{windowSize:s,children:i.jsx(Ni,{className:"zeni-logo"})}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsx(ue,{isDarkTheme:I,children:i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,W)=>i.jsxs("span",{children:[t,j<W.length-1&&i.jsx(xe,{children:ie})]},j))})}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsxs(ue,{isDarkTheme:I,children:[i.jsx(Ai,{children:i.jsx(Di,{})}),i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,W)=>i.jsxs("span",{children:[t,j<W.length-1&&i.jsx(xe,{children:ie})]},j))})]}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsx(E,{controller:!b,children:i.jsxs(Ri,{windowSize:s,children:[i.jsxs(Ui,{showEmailError:oe,showEmailForm:f,children:[!f&&i.jsxs(Wi,{windowSize:s,children:[i.jsx(Je,{clientId:e,children:i.jsx($i,{disabled:F,inProgress:Le,getSignedInUser:_,onSuccess:Oe,onSignedInCallback:$,onError:Be})}),i.jsx(Ci,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:_,prompt:"select_account",responseType:"code",responseMode:"query",render:t=>i.jsx(Ie,{onClick:t.onClick,disabled:F||t.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:Me}),onSignedInCallback:$,onSuccess:He,onFailure:De})]}),h&&f&&i.jsx(Ge,{...Y,children:i.jsxs(Zi,{windowSize:s,children:[i.jsx("form",{onSubmit:Te(Fe),children:i.jsxs(Oi,{windowSize:s,hasError:ne,children:[i.jsx(Bi,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ne,autoComplete:"off",...Pe("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ne,message:l.signIn.invalidEmailMessage},onChange:Ze})}),i.jsx(Qi,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),oe&&i.jsx(Hi,{children:H?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})}),h&&i.jsxs(eo,{children:[i.jsxs(Yi,{showEmailForm:f,windowSize:s,children:[i.jsx(Ce,{showEmailForm:f,windowSize:s}),i.jsx(Ki,{children:l.common.texts.or.toUpperCase()}),i.jsx(Ce,{showEmailForm:f,windowSize:s})]}),i.jsxs(no,{children:[i.jsx(io,{onClick:()=>Q(!f),children:f?l.signIn.googleOrMicrosoftLink:l.signIn.workEmailLink}),i.jsx(oo,{isVisible:!f,children:l.signIn.workEmailSubText})]})]})]}),V===!1&&T&&i.jsx(Ji,{children:i.jsx(Fi,{children:Ae()})})]})})]}),i.jsx(E,{controller:s!=="small",children:i.jsx(Xi,{children:i.jsx(gi,{scale:.88,useFixedArrowPosition:!0})})}),i.jsx(pe,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?o.sp5:o.sp1},children:i.jsxs(pe,{children:[i.jsxs(he,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,i.jsx(le,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",i.jsx(le,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),i.jsx(he,{children:i.jsx(ci,{})})]})})]}),V&&i.jsx(bi,{signInError:Re,onClose:()=>{S(),B(!1)}})]})}export{wo as default};
@@ -1 +1 @@
1
- import{j as d}from"./mui-C5LQ0bMa.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-ByjIRbhZ.js";import{kh as u,u as h,l as r,B as w,kg as C,I as E,kO as v,kk as p}from"./index-Dv7T7Q4q.js";import{f as U}from"./analyticsHelper-BwnF2PgM.js";import{a as k,u as x,N as y}from"./routing-Cpaypegg.js";import{c as L}from"./sentry-HDxG13yk.js";import"./analytics-CBL_L82S.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function P(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{L({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const z=I(T,P)(v),A=m.memo(z);function F(){const o=f(),a=k(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=h().mode,c=x();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),w.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(y,{to:n,state:{...c.state,origin:""}})}else return d.jsx(A,{navigate:a,location:c})}export{F as default};
1
+ import{j as d}from"./mui-C5LQ0bMa.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-ByjIRbhZ.js";import{ke as u,u as h,l as r,M as w,kd as C,D as E,kL as v,kh as p}from"./index-CapQvjm9.js";import{f as U}from"./analyticsHelper-zoqip0-C.js";import{a as x,u as y,N as L}from"./routing-Cpaypegg.js";import{c as k}from"./sentry-HDxG13yk.js";import"./analytics-CBL_L82S.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function P(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{k({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const z=I(T,P)(v),A=m.memo(z);function B(){const o=f(),a=x(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=h().mode,c=y();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),w.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(L,{to:n,state:{...c.state,origin:""}})}else return d.jsx(A,{navigate:a,location:c})}export{B as default};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-CofY1YYQ-Cjq2YocJ.js","assets/index-Dv7T7Q4q.js","assets/mui-C5LQ0bMa.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-CBL_L82S.js","assets/routing-Cpaypegg.js","assets/sentry-HDxG13yk.js","assets/redux-ByjIRbhZ.js","assets/liveblocks-sSQ9JElv.js","assets/crypto-BURQLTgV.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-gxLtL5O4.js","assets/StatusSwitcher-0rVfFE-a-CrRHYuTc.js"])))=>i.map(i=>d[i]);
2
- import{u as Ue,Y as He,X as z,l as y,B as U,fL as Ge,fN as We,j as o,g5 as Ke,aW as Ye,v as Je,o as t,dz as Ve,gl as M,aC as Xe,fW as qe,C,gm as Qe,ff as Ze,fg as et,d as S,r as tt,s as x,gn as ot,a3 as at,bq as it,m as nt,bL as st,fh as lt,az as rt,M as ct}from"./index-Dv7T7Q4q.js";import{b as u,n as r,k as H}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-sSQ9JElv.js";import{Y as mt}from"./SpendManagementSection-DbC93chQ-B2MPdvcw.js";import{K as ut}from"./StatusSwitcher-0rVfFE-a-CrRHYuTc.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";const F=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),w={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-DZVY7vQ1-BCl0_VO2.js","assets/index-CapQvjm9.js","assets/mui-C5LQ0bMa.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-CBL_L82S.js","assets/routing-Cpaypegg.js","assets/sentry-HDxG13yk.js","assets/redux-ByjIRbhZ.js","assets/liveblocks-sSQ9JElv.js","assets/crypto-BURQLTgV.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-gxLtL5O4.js","assets/StatusSwitcher-LVFF4Wxb-B0jggpKX.js"])))=>i.map(i=>d[i]);
2
+ import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV as We,f as qe,o as t,dv as Ke,gh as M,aB as Ye,fT as Qe,C,gi as Xe,fc as Ze,fd as et,g as S,p as tt,q as x,gj as ot,a3 as at,eW as it,e as nt,bH as st,fe as lt,ay as rt,m as ct}from"./index-CapQvjm9.js";import{b as u,n as r,k as H}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-sSQ9JElv.js";import{Y as mt}from"./SpendManagementSection-BJMJInkt-BUFNWRJA.js";import{K as ut}from"./StatusSwitcher-LVFF4Wxb-B0jggpKX.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";const F=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
3
3
  position: fixed;
4
4
  top: 0;
5
5
  left: 0;
@@ -18,11 +18,11 @@ import{u as Ue,Y as He,X as z,l as y,B as U,fL as Ge,fN as We,j as o,g5 as Ke,aW
18
18
  top: 100%;
19
19
  }
20
20
  100% {
21
- top: ${w.containerTop.valuePercentage(e)};
21
+ top: ${f.containerTop.valuePercentage(e)};
22
22
  }
23
23
  `,bt=({windowSize:e})=>H`
24
24
  0% {
25
- top: ${w.containerTop.valuePercentage(e)};
25
+ top: ${f.containerTop.valuePercentage(e)};
26
26
  }
27
27
  100% {
28
28
  top: 100%;
@@ -36,16 +36,16 @@ import{u as Ue,Y as He,X as z,l as y,B as U,fL as Ge,fN as We,j as o,g5 as Ke,aW
36
36
  background: ${e=>e.theme.colors.grey5};
37
37
  border-radius: ${t.sp2};
38
38
  position: relative;
39
- top: ${e=>e.fade?"100%":w.containerTop.valuePercentage(e.windowSize)};
40
- padding: ${e=>`${t.sp7} ${w.containerPaddingLeftRight.valuePx(e.windowSize)}`};
41
- width: ${e=>w.width.valuePx(e.windowSize)};
39
+ top: ${e=>e.fade?"100%":f.containerTop.valuePercentage(e.windowSize)};
40
+ padding: ${e=>`${t.sp7} ${f.containerPaddingLeftRight.valuePx(e.windowSize)}`};
41
+ width: ${e=>f.width.valuePx(e.windowSize)};
42
42
  animation: ${e=>ht(e)} 0.25s linear;
43
43
  box-shadow: ${S.Elevation2Dark};
44
44
  `,gt=r(it)`
45
45
  margin-bottom: ${t.sp5};
46
46
  color: ${e=>e.theme.colors.primary};
47
47
  word-break: break-word;
48
- `,ft=r.div`
48
+ `,wt=r.div`
49
49
  margin-right: ${t.sp3};
50
50
  height: ${t.sp7};
51
51
  width: ${t.sp7};
@@ -54,7 +54,7 @@ import{u as Ue,Y as He,X as z,l as y,B as U,fL as Ge,fN as We,j as o,g5 as Ke,aW
54
54
  display: flex;
55
55
  align-items: center;
56
56
  justify-content: center;
57
- `,wt=r(nt)`
57
+ `,ft=r(nt)`
58
58
  width: calc(100% - ${t.sp7});
59
59
  color: ${e=>e.theme.colors.primary};
60
60
  text-align: start;
@@ -106,7 +106,7 @@ import{u as Ue,Y as He,X as z,l as y,B as U,fL as Ge,fN as We,j as o,g5 as Ke,aW
106
106
  color: ${e=>e.theme.colors.primary};
107
107
  position: absolute;
108
108
  bottom: 22px;
109
- `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Ze(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const f=e.botEmail;h(f),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((f,l)=>o.jsxs(Ct,{children:[o.jsx(ft,{children:f.icon}),o.jsx(wt,{windowSize:p,children:f.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const G=U.getLocalizedStrings(),m=G.spendManagement,{common:{texts:{comments:Lt}},collaboration:{threads:{placeholder:{addANewComment:At,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=G,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Qe(()=>ot(()=>import("./SpendManagementPerTabPage-CofY1YYQ-Cjq2YocJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Qt=e=>{const p=Ue(),h=He(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:f,entity:l,uiState:W,searchText:B,filters:K,vendorSearchAutoCompleteData:Y,vendorSearchAutoCompleteActions:J,createdByUserList:V,createdByUserListFetchState:E,downloadParams:X,downloadState:q,isDownloadEnabled:Q,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:A,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:fe,onProceedForBulkActionClick:we}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:f,entity:l,uiState:W,searchText:B,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:A,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:fe,onProceedForBulkActionClick:we}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Q===!1,downloadParams:X,downloadState:q,filters:K,vendorSearchAutoCompleteData:Y,vendorSearchAutoCompleteActions:J,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:f,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,V??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Le=o.jsx(mt,{spendManagementSectionProps:Ee}),[Ae,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(Ge),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=We({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Ae?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Me=(b,$)=>{const{companyId:Fe,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Fe,entityType:ze}),R(Ne,g)};return o.jsx(Ke,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Mt,{children:[o.jsx(Ye,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...Je.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Le,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Ft,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ve,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(Xe,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&L||l==="reimbursement"&&A?o.jsx(dt,{id:Oe,children:o.jsx(qe,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:Lt,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:At,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Me(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Mt=r.div`
109
+ `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Ze(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const G=U.getLocalizedStrings(),m=G.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=G,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Xe(()=>ot(()=>import("./SpendManagementPerTabPage-DZVY7vQ1-BCl0_VO2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Xt=e=>{const p=Ue(),h=He(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:J,searchText:B,filters:V,vendorSearchAutoCompleteData:W,vendorSearchAutoCompleteActions:q,createdByUserList:K,createdByUserListFetchState:E,downloadParams:Y,downloadState:Q,isDownloadEnabled:X,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:J,searchText:B,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:X===!1,downloadParams:Y,downloadState:Q,filters:V,vendorSearchAutoCompleteData:W,vendorSearchAutoCompleteActions:q,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,K??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(Ge),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=Je({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Me=(b,$)=>{const{companyId:Fe,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Fe,entityType:ze}),R(Ne,g)};return o.jsx(Ve,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Mt,{children:[o.jsx(We,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...qe.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Ft,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ke,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(Ye,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Qe,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Me(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Mt=r.div`
110
110
  display: flex;
111
111
  min-height: 100%;
112
112
  flex-direction: column;
@@ -120,4 +120,4 @@ import{u as Ue,Y as He,X as z,l as y,B as U,fL as Ge,fN as We,j as o,g5 as Ke,aW
120
120
  display: flex;
121
121
  margin-top: ${t.sp3};
122
122
  justify-content: center;
123
- `;export{Qt as default,Dt as getDashboardFilterCategoryValues};
123
+ `;export{Xt as default,Dt as getDashboardFilterCategoryValues};