@zeniai/web-cockpit-ui 1.14.1-pune → 1.14.2-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 (254) hide show
  1. package/dist/assets/{ACHDetailsPage-CRqyoYEz-DIIEbfXH.js → ACHDetailsPage-CfXmiXOX-Bw6PIXTR.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-DAkvkXSA-DCPKp1TL.js → AIPerformancePage-BTkeAbzQ-BrardM2A.js} +48 -38
  3. package/dist/assets/{AccountInfoPage-6EVpo7mW-_VH4qo0L.js → AccountInfoPage-Cw14e1jO-BsUim3eq.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BWZbyIYz-DsBeIJ7e.js → AccountInfoPageContent-cvYWnpel-CJmb2W-r.js} +15 -15
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DLd_igXD-BDzMROTl.js → AccountReconDetailsDrawerPage-DOKqIknC-DSx-KpKz.js} +12 -12
  6. package/dist/assets/{AccountRow-D4iz2vCr-CUjY-as_.js → AccountRow-Ca-OS9TF-boQKAn9P.js} +20 -20
  7. package/dist/assets/{AccountsPromoCardStack-DIly1lFF-CoHITgz2.js → AccountsPromoCardStack-CwEVkbGD-GfsHQDZG.js} +19 -19
  8. package/dist/assets/{AddAddressForCardDrawer-C90j4Cwr-BuafF6k2.js → AddAddressForCardDrawer-B1zyrJMb-gDNlBeVv.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-Bo2KesYz-CXFPlcd_.js → AddToWalletPage-s7c161JX-Bbl7vvY4.js} +37 -37
  10. package/dist/assets/{AgingReportsPage-DuoKsSkU-BM--piTX.js → AgingReportsPage-Be-2Z_KS-Cp8WnRhH.js} +4 -4
  11. package/dist/assets/{AllUserItems-C0U1Brjm-1EugRjNx.js → AllUserItems-B4Iah9-Z-B79SOI6_.js} +6 -6
  12. package/dist/assets/{ApAgingDetailPage-dNwAZULr-CSLYB9s5.js → ApAgingDetailPage-D_KV9urv-CMDNQ6iG.js} +4 -4
  13. package/dist/assets/{AppBasePage-CfkaWEbJ-DSSQmZ3n.js → AppBasePage-GbE58C1g-BcYXZw8U.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-DlHQEgOZ-Bu6aM3IO.js → AppDrawerContent-YTvkEPk_-6eMbUyIc.js} +57 -31
  15. package/dist/assets/{ApprovalRulesSettingsPage-Pl7HoLmk-0ndkNfLh.js → ApprovalRulesSettingsPage-Cct7Nzfb-BnkTkJjh.js} +6 -6
  16. package/dist/assets/{ArAgingChart-xI9TRvfS-BJS1mtHm.js → ArAgingChart-BeVadylU-XR25EAL6.js} +4 -4
  17. package/dist/assets/{ArAgingDetailPage-BMGCnP5d-CqfkCp13.js → ArAgingDetailPage-CWUA4S2q-Ww5hXmPO.js} +2 -2
  18. package/dist/assets/{AttachmentView-C8AgUAnY-CDH1Mcyw.js → AttachmentView-DGsub__A-BBxOr8Ij.js} +5 -5
  19. package/dist/assets/{BankAccountSection-DB4PEf_X-DiW8OD4p.js → BankAccountSection-CtTkNBok-D2ekA6eB.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-BNO8Gl59-DLhau1xe.js → BankAccountWarningSection-dVdrPYm5-CnmYzGhr.js} +8 -8
  21. package/dist/assets/BankConnectionsSettingsPage-_e4jMGI2-DH8UTyN3.js +425 -0
  22. package/dist/assets/{BillDetailPage-Bv86SywV-6njFGhnW.js → BillDetailPage-Dz4_gdDb-ycU3JEwF.js} +7 -7
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CDXxmD-3-GLg1j3lZ.js → BillPayApprovalRuleDetailPage-DcNLlDh2-B0LeGU7-.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-Ci5Ok7Zj-BsfoZbfz.js → BillPayApprovalRulesPage-C_NDjp6G-D74xT3Vs.js} +8 -8
  25. package/dist/assets/{BillPayPromoPage-Co2j2krO-D4iqOCut.js → BillPayPromoPage-TkLMkxeC-CRgciQY3.js} +5 -5
  26. package/dist/assets/BillPaySetUpPage-DTGSGVO0-BjFYWMnM.js +42 -0
  27. package/dist/assets/{BillingSettingsPage-CAs7DZQz-De2Ozj6L.js → BillingSettingsPage-0RLFEj6x-1Rx-lW-z.js} +5 -5
  28. package/dist/assets/BillsBulkReviewDrawerPage-rkkXgsz4-DCe7oECG.js +1 -0
  29. package/dist/assets/{BoxItem-BqLhtWoJ-DTGdC4UO.js → BoxItem-CIBzy4ZV-BGT6YXil.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-T63_ft8O-BLj5IAMR.js +140 -0
  31. package/dist/assets/{CardNumberSubText-23sLjCVt-q9DlwjXk.js → CardNumberSubText-FOFiHz-M-BomqpZHj.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DY0n94jz-DZrOsGII.js → CashbackDetailPage-C1rbQ71n-BwGr1RFv.js} +19 -19
  33. package/dist/assets/ChargeCardDetailPage-OgsnesGD-BZdk7_5L.js +1447 -0
  34. package/dist/assets/ChargeCardListPage-CLHFYydY-CXTzCBUe.js +355 -0
  35. package/dist/assets/{ChargeCardListTable-B7uRDVzb-nPrrXfLF.js → ChargeCardListTable-ePSGyBtc-B6G4rFZ9.js} +17 -17
  36. package/dist/assets/ChargeCardPromoPage-Bi9cAv-f-5sPJiGwd.js +219 -0
  37. package/dist/assets/ChargeCardSetupPage-DvlKbA_C-AlRyM6Q7.js +36 -0
  38. package/dist/assets/{ChargeCardStatementsPage-JEslDm3r-Dz93LMxW.js → ChargeCardStatementsPage-CXhcA95f-C45_cho2.js} +3 -3
  39. package/dist/assets/{ChargeCardUtils-B3JEziD7-BDgvm4V8.js → ChargeCardUtils--ltNyvP2-TY5I7nE-.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-KLet3F9X-CdWRAKXV.js → ChaseOverlay-CxEiwxZq-CYOJ8ZhP.js} +6 -6
  41. package/dist/assets/{CheckDepositDrawerPage-JYHyo9Hw-CPcUjCHP.js → CheckDepositDrawerPage-CmZbDsc3-C6Gzx2Ad.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-CyQ4sWuS-DlLXYbkM.js +2932 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-DWqEolPc-hNs6b-3g.js → CompanyOfficerDetailsSection-DPufRe0m-C6FmxOML.js} +27 -27
  44. package/dist/assets/{CompanyPassportCard-fyolEQTs-BM4j1zkv.js → CompanyPassportCard-JgslGZ14-CZLKyeTG.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-CrgsRRVr-_nJlM00G.js → CompanyPassportPage-B89YFcPT-CNi42FVb.js} +144 -144
  46. package/dist/assets/CompleteProfile-D0RvVu97-BvDLvwiX.js +36 -0
  47. package/dist/assets/{ConfettiBurst-CZuMHGP8-b0M1vB-_.js → ConfettiBurst-D3BYCsW2-CicOQOeb.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-Ct4Kfowi-Dl-XZ9XF.js → CreateOrEditVendorPage-C6Ddagzy-CrkxkCuT.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-Cpu-7pGN-Cu9Xh0nq.js → CreditCardPaymentDrawerPage-C3mZhiZb-D2CoSxGr.js} +6 -6
  50. package/dist/assets/{CreditCardPaymentPlgSection-DoMaCnIZ-CNIK2scQ.js → CreditCardPaymentPlgSection-D9oAn9qk-hoy3ieFS.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-CCOtXLC7-QnPV5zn9.js → CurrencySelectField-BBgpim44-D9iz41su.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-Cgzif1ji-DNCyl5ny.js → CustomerOnboardingActivationPage-iG0RHsLk-C1JrpXcK.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-Dh5KIySS-CJFQyXj_.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BOMwRZEO-D2W7lEqa.js → CustomerOnboardingDetailPageSkeleton-tTcayyvt-DVLGbpG0.js} +8 -8
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DDloVGvk-BQPG4WD2.js → CustomerOnboardingNoStepsPage-CIranNRI-DmxCUvPO.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-DHji4ZmF-D4jjwuH5.js → CustomerOnboardingPage-aq8E7XsP-D1AWzLDa.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BA3GAX42-CxgqSMiN.js → CustomerOnboardingProductSuitePage-DRnOKNVC-BW6Dqkww.js} +3 -3
  58. package/dist/assets/{Dashboard-Cr5ugENA-CPUy4XRU.js → Dashboard-DyvhSbme-CqiNyEeS.js} +241 -238
  59. package/dist/assets/DashboardReportPage-Cy_f84RN-BBIf3h8d.js +370 -0
  60. package/dist/assets/{DepositAccTransactionItem-BXRfgUfE-D4R7G7HE.js → DepositAccTransactionItem-DK15lI5V-XJtPziNz.js} +4 -4
  61. package/dist/assets/{DepositAccTransactionListPage--7TRlqKj-BQ7qJsKp.js → DepositAccTransactionListPage-CRBhV8W1-B1ipg9Mm.js} +5 -5
  62. package/dist/assets/{DocumentSecurityBanner-B0Qt1FLC-B14Aeb97.js → DocumentSecurityBanner-C0bght0k-vffkcqMR.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-RoRpMC50-CSWDfu4W.js → DomesticWireDetailsPage-BX8glsOH-C_hYfUMN.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Cl_EXjiu-Bty6MX5F.js → DownloadOverlay-C5kTy4dA-91imq83n.js} +18 -18
  65. package/dist/assets/{DrawerPage-wXwAaYEB-CO0tKzRK.js → DrawerPage-Bwgpjwed-Dbn0o-MI.js} +6 -6
  66. package/dist/assets/{EditPeoplePage-xDL6VA_r-CcyNCb0B.js → EditPeoplePage-W-SFOxhC-DmK3cjsW.js} +10 -10
  67. package/dist/assets/{EditReimbursementDetailPage-BUpJPJNu-DrlJ3-JK.js → EditReimbursementDetailPage-D1Iduokd-BJNaLsWB.js} +78 -78
  68. package/dist/assets/{EntityDetailPage-BNXqSwVL-BmsjQ-yP.js → EntityDetailPage-BkRcX4SZ-D3jHuVtH.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-MZ57i-bY-CkJQLOms.js → EntitySummarySection-BlJR-qOB-BGQRVSO6.js} +13 -13
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Y3IHs4dG-C3j4Kf98.js → ExpenseAutomationOverviewPage-qT0g5t_P-9L0vQmNh.js} +20 -20
  71. package/dist/assets/{ExpenseAutomationPage-C0hvPLo7-6SC0Lnzr.js → ExpenseAutomationPage-CMKwWy2d-BxRd7q46.js} +3 -3
  72. package/dist/assets/{ExpressPayPage-Bncb54-Q-DvnTKzCq.js → ExpressPayPage-DXfqMxkG-esMjhJU_.js} +9 -9
  73. package/dist/assets/{FeaturePreviewPage-BnGBEF9H-qbgUmwmT.js → FeaturePreviewPage-CjZuOo_K-BURLQGI3.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-laCvnETV-Bd5BOauY.js → FollowStepsSection-CO5MsYe6-DJwkRNbY.js} +6 -6
  75. package/dist/assets/{GlobalReviewListPage-CskEuHc5-Dmr2MpXl.js → GlobalReviewListPage-BIMdWu5P-DVJexznn.js} +11 -11
  76. package/dist/assets/{HelpButton-D5ZYyQMh-CbYd0zN7.js → HelpButton-BGHsn-1b-Cb4db_8O.js} +2 -2
  77. package/dist/assets/{InformationCardStack-BFJqdH9n-bSWTqBDS.js → InformationCardStack-B8rD8LSH-yY61wi0E.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-CcoMWMiA-DoomT7wI.js → InsightsCardStack-AwXZ6ysD-CAyDZRBh.js} +7 -7
  79. package/dist/assets/{InsightsSection-D9PiJagu-BAVC-lZw.js → InsightsSection-BZS-MEy4-D-RgHCTj.js} +5 -5
  80. package/dist/assets/{IntegrationsSettingsPage-CVmDobJ8-DUTif9-q.js → IntegrationsSettingsPage-D2tfKsbR-3hbSPzUb.js} +11 -11
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DqW88v9N-Ckhip8a0.js → InternationalWireSwiftDetailsPage-5NmSFI7x-CMxHmzOl.js} +12 -12
  82. package/dist/assets/{InternationalWireVerificationPage-X90z_30k-BipvB1gK.js → InternationalWireVerificationPage-C8WA6jI_-CkLLJOPd.js} +7 -7
  83. package/dist/assets/{InviteFormPage-BK-PRmeH-BScQiDBC.js → InviteFormPage-DC2ewDUN-BAnhpAwr.js} +23 -23
  84. package/dist/assets/{InvitePageListView-6-iCc4BK-BqA8heOE.js → InvitePageListView-DaShj4IM-BOaRvdOZ.js} +35 -35
  85. package/dist/assets/InvitePeoplePage-BbY4ZpGl-DYibhSDJ.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-D5aF4auL-BeD6SrG2.js → InvoiceUploadSection-DZJTULDZ-CCiLRTJv.js} +4 -4
  87. package/dist/assets/{IssueChargeCardPage-C_xt7hKZ-DIZL4bBR.js → IssueChargeCardPage-C1zB2vrB-BGIJGo3C.js} +25 -25
  88. package/dist/assets/{LabeledAddressValue-DpSK0MqC-Cj7E_lje.js → LabeledAddressValue-BDA7y5Fq-D9zYp9L5.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-_LY7c-ZC-Dc-9_BK1.js → LabeledAddressValueField-fj8E8gFz-pB5NcQXj.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-FB40Z8J7-BP3P2Wmj.js → LabeledControlledCheckBoxField-aLuztBgv-CQQDZTL8.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-paSeI8_R-DbZOk4k7.js → LabeledCreatableSingleSelectField-zhHbiOVO-Du1erYiL.js} +7 -7
  92. package/dist/assets/{LabeledDocumentField-DiMgPKtR-CSKmqw6B.js → LabeledDocumentField-BTgmGAGq-ye6jxVF6.js} +6 -6
  93. package/dist/assets/{LabeledDropDownFormattedTextField-DsjpTL6X-j5IQGEbH.js → LabeledDropDownFormattedTextField-BdAKZt7q-DJYe0D29.js} +5 -5
  94. package/dist/assets/{LabeledText-CyXj8QWV-Bl6WT0AA.js → LabeledText-CMrFKM7D-U8mavECd.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-QHUo9PdC.js → LabeledUserSingleSelectWithSubtitlesField-C8A0HrPt-Dt-qPiqg.js} +15 -15
  96. package/dist/assets/{LabeledZeniRolesDropDownField-D0cQlbhO-Dakmm_pD.js → LabeledZeniRolesDropDownField-BaiPRGJf-ThyMB5yW.js} +18 -18
  97. package/dist/assets/{LinkJETransactionPage-DaXjiQRp-CeG2b6Yz.js → LinkJETransactionPage-CWc1e0RL-uXbP7Kvy.js} +4 -4
  98. package/dist/assets/{LowBalancePopup-CdftTvLb-DHrY0Q9F.js → LowBalancePopup-COu8cuzS-D_SGW7IW.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-C25i1T4c-D1WMteCs.js → MagicLinkACHDetailsPage-h0Srx7SO-dPgjPO_-.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B0r3WStl-Be739DkS.js → MagicLinkDomesticWireDetailsPage-BIZqOfHW-tQ-JKEYq.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DjZv-CZx.js → MagicLinkInternationalWireDetailsPage-MSHTQMXn-BVkJt1cv.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-7JG3V4Qt-aQjB1Hdx.js → MagicLinkSuccessPage-BjWw4cqt-AmPRrK11.js} +3 -3
  103. package/dist/assets/{MagicLinkTitleSection-DEe0hhml-OAdcgqT_.js → MagicLinkTitleSection-Cll6JJDZ-CoLcdtN3.js} +4 -4
  104. package/dist/assets/{MailingDetailsSection-Qc65E0w3-DAFQ-tkz.js → MailingDetailsSection-DWSj0MOB-BPZUzJp9.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-Dh8meV6d-Bpx3vewx.js → MeetingCalenderPopup-CTuOhFQC-C5al8-0n.js} +3 -3
  106. package/dist/assets/{Menu-DyfXBl_1-ub7G94mj.js → Menu-DlBP5CCV-y1Vf24E1.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CCFcVgyX-BtQSGmwE.js → MyBankConnectionsSettingsPage-BYqoUq4q-Da0QKGU9.js} +15 -15
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DS966wTB-DpfpopfQ.js → MyPendingActivationChargeCardListPage-BABBa4je-B1cN2Q5f.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BRRzMoQL-D5eo9Sqc.js → MyProfileSettingsPage-Dk_jK8-R-BnmR2m7z.js} +5 -5
  110. package/dist/assets/{NavBarWithPicker-BvWih0k0-Dufdt2Ka.js → NavBarWithPicker-BC2xbV2b-BcYENhJM.js} +3 -3
  111. package/dist/assets/{NavigationArrow-DYSL2aDL-WkPryo2E.js → NavigationArrow-BovrdeuJ-BGk3-i0K.js} +5 -5
  112. package/dist/assets/{NavigationDots-DyyCcIih-Dej6_J6K.js → NavigationDots-yYTGREt4-DTRiZdAJ.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DjEvzM4M-BHj9e2zb.js → NewGlobalMerchantPage-BKlPnipd-BUgMD2pk.js} +32 -32
  114. package/dist/assets/NoDataChart-Dhg-k7iX-B526qZJD.js +26 -0
  115. package/dist/assets/{NoDataTable-CXNsBBVP-DB2tU5FS.js → NoDataTable-jpCLeiDv-DPfhsNYe.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CuuO2Mia-DK_un8VO.js → NotFoundPage-DrKqVOry-CJmDZfXH.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-C7ilxUAV-DNcmVmd9.js → NotificationSettingsPage-lojoBPQ8-BBTvd9G7.js} +5 -5
  118. package/dist/assets/NotificationsListConfig-jbIMYvrE-DMMvGaQE.js +1 -0
  119. package/dist/assets/{NotificationsPage-BjaKD99B-ChKA1ZUW.js → NotificationsPage-DJNUS9wc-8qosqB88.js} +22 -22
  120. package/dist/assets/{OpExByVendorPage-IuDiHnIW-D8WE3sE0.js → OpExByVendorPage-xMyUkO51-DLNCDIdB.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-D4ozS3gq.js → OverlayContainerPage-GWXnlbZH-DExKUjLx.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-DLvgYpF8-DAoSI7if.js → PandLWithForecastPage-BHtPelIT-DOZ7XwiG.js} +9 -9
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DK5OgBuH.js → PaymentAccountSetupBillingAddressSection-B2ZBSiCT-BcCn0Sg1.js} +8 -8
  124. package/dist/assets/{PeoplePage-DyqY-rIV-BP1By1O6.js → PeoplePage-CzQXmGVU-3wd2TE5z.js} +31 -31
  125. package/dist/assets/{PortfolioAllocationFormPage-DTuKtkwr-9rUcLC7b.js → PortfolioAllocationFormPage-B1Xa0wKV-C9f5vgAD.js} +4 -4
  126. package/dist/assets/PortfolioDetails-BY-IK4yO-BaoJWjzR.js +218 -0
  127. package/dist/assets/{ProductsCarousel-CS4_yc80-PtugE9vt.js → ProductsCarousel-B7h_gH-R-XoeszqUs.js} +8 -8
  128. package/dist/assets/{PromoBaseCards-BZ2m6LfO-Cud5t_Fi.js → PromoBaseCards-CuJXuijt-Cwtg1Msq.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-2vJQuslh-BI_9YQGE.js → QBOConnectionDialog-DsNkkj_j-C8IchF8A.js} +4 -4
  130. package/dist/assets/{QBOSetupSection-Yv3Xw-yn-CG5PgwyR.js → QBOSetupSection-DkoopYHr-B4YL_CMi.js} +7 -7
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-tvJ2APRB-D4mUNHAO.js → ReimbursementApprovalRuleDetailPage-BAapaJEJ-DsiatGsD.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-_nXCDa2A-sj6jFbs4.js → ReimbursementApprovalRulesPage-BkiZVc7S-CGfJ2oyo.js} +19 -19
  133. package/dist/assets/ReimbursementDetailPage-S9j_KDZJ-B4Ft6bVK.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-BaEX5Ej4-EKPuTP60.js → ReimbursementPromoPage-BJJruudV-4Q4ZYCZV.js} +7 -7
  135. package/dist/assets/ReimbursementSetUpPage-CQdxq5lk-MGbpCaqc.js +140 -0
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-HQg1y1K--BJEZ2gJz.js → ReimbursementsBulkReviewDrawerPage-5LGKVY6X-ClMjr5Ld.js} +1 -1
  137. package/dist/assets/{ReloadCard-stfG9ekP-CAtXGPKA.js → ReloadCard-DBRY9FdH-DLbqkxuz.js} +6 -6
  138. package/dist/assets/ReportTableViewSelector-DOxnK0VV-Civ7jc9s.js +150 -0
  139. package/dist/assets/ReportsPage-r_MRjkkb-B5PSr911.js +121 -0
  140. package/dist/assets/{RevenueChart-DeDVVUge-DswYpzgj.js → RevenueChart-DhCkb0c6-CpmVmIv5.js} +25 -25
  141. package/dist/assets/{ReviewDetailsPage-DZqPpiln-BD-TTPjy.js → ReviewDetailsPage-DWtgiOYE-C2elGQRI.js} +12 -12
  142. package/dist/assets/{ReviewOverlay-DcBe94Sd-BykmGHu4.js → ReviewOverlay-CjWEPPvw-B5TX8ZjT.js} +13 -13
  143. package/dist/assets/RoleWithToolTip-4WCTaiOg-BCe2sjxQ.js +22 -0
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cl8iBII0-DMtW2KW5.js → ScheduleDetailsFixedAssetsPage-CSxG7vXq-DCXxKyPi.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-D6ZxZ2uU-C3_NmU11.js → ScheduleDetailsPage-BqaZqCZJ-pwjFyU_u.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-eRImHbZn-D8TBysPL.js → ScheduleSequenceTable-H_kZuoon-C9WFZ9rS.js} +15 -15
  147. package/dist/assets/{ScreenRoutes-miCOug2f.js → ScreenRoutes-Ck2JOiJO.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-BBZNI1Xl-DXELzEMu.js → SetUpAccountSection-B9L-2aHz-CS276oDL.js} +41 -41
  149. package/dist/assets/{SetUpDefaultSection--9Qh-utY-c-mUbFLs.js → SetUpDefaultSection-DO9aLike-BNjhrnJW.js} +11 -11
  150. package/dist/assets/{SignIn-CI0Ik2va-B1YM8rEU.js → SignIn-DOSDfnki-ZWJtrmyd.js} +18 -18
  151. package/dist/assets/{SignInScreen-DVUMKIBQ.js → SignInScreen-B66laInZ.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-NWkSnIdD-DEongjR9.js → SpendManagementListViewPage-D6ysU0TE-fs0LZdDD.js} +14 -14
  153. package/dist/assets/{SpendManagementPerTabPage-CdWwn_b8-DnGEGhos.js → SpendManagementPerTabPage-CHvroeCa-SUCxwVKR.js} +38 -38
  154. package/dist/assets/{SpendManagementSection-DGhD95sz-VmruoRWg.js → SpendManagementSection-BaEgJPY4-DbFNSMHd.js} +11 -11
  155. package/dist/assets/SpendMgmtSetupAccountSection-CVaXDNNK-CaCI906W.js +206 -0
  156. package/dist/assets/{StatementItem-BlfBohft-U3FqyIo0.js → StatementItem-CYPCJ0XS-Bebbfivn.js} +5 -5
  157. package/dist/assets/StatementsPage-Cyqg2jd1-CS8CbIkz.js +58 -0
  158. package/dist/assets/{StatusSwitcher-C6703BAG-eDDkVLmz.js → StatusSwitcher-C5UGqQw8-L5IIUMyD.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-lf9S7Ubj-CmXqrtys.js → SubTabSwitcher-B3rFIZQy-fhfcG8ZL.js} +1 -1
  160. package/dist/assets/{SummaryCard-yghz4PLR-CvQEKxF5.js → SummaryCard-CNADDyPG-AHW1-mz3.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-Cf523C5f-BE6A19pl.js → TaskManagementPage-CtUQXjo2-CpaAFAcY.js} +29 -29
  162. package/dist/assets/{TimeRangeSwitcher-BoPrOhKX-CRKXdJOA.js → TimeRangeSwitcher-BXXqX3m6-DBFCX_F3.js} +3 -3
  163. package/dist/assets/{TimeframeSwitcher-DufweySH-jTXdFynw.js → TimeframeSwitcher-Bk9rjDg4-BqMFgpEZ.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-RH8QHQFd-tstiafTX.js +31 -0
  165. package/dist/assets/{TopExCard-DrOjlLiv-D1xK4ZLl.js → TopExCard-xJbS_mNo-B0v7lag7.js} +4 -4
  166. package/dist/assets/{TopExDetailPage-Ds4zlxKD-B50iPc07.js → TopExDetailPage-BDUuqAEK-Bo-vZtIP.js} +10 -10
  167. package/dist/assets/{TransactionDetailPage-Csl-Qjxp-DV-6_vXT.js → TransactionDetailPage-CtzLtYa8-J7xBsyNJ.js} +30 -30
  168. package/dist/assets/TransactionList-DS-_gBrf-B6pRX61G.js +147 -0
  169. package/dist/assets/{TransactionListBig-p6iVof9y-DpVKiek7.js → TransactionListBig-D9ebH5C0-D4IFnh5K.js} +10 -10
  170. package/dist/assets/TransactionListPage-CPjayOv5-C1z1kCC6.js +35 -0
  171. package/dist/assets/{TransactionVendorDetailPage-DzkUYyCr-DI4vuyOD.js → TransactionVendorDetailPage-DMYoBJ23-BkgKiHHa.js} +5 -5
  172. package/dist/assets/{TransferDrawerPage-B9MGSdS9-AoRYBOP9.js → TransferDrawerPage-BAghLjPn-DV8a9ZRS.js} +30 -30
  173. package/dist/assets/{TreasuryOverviewPage-BEzBuOWn-C_ij1-dD.js → TreasuryOverviewPage-B7EFea4a-zZd4C5QF.js} +46 -46
  174. package/dist/assets/{TreasuryPromoPage-C8X4X7iN-C2DHRZVT.js → TreasuryPromoPage-D7Y8yGpx-5DMBtH8J.js} +27 -27
  175. package/dist/assets/{TreasurySetupPage-Cb_GW75l-DHI8fRrl.js → TreasurySetupPage-B1SZd_a5-DTKitX5z.js} +6 -6
  176. package/dist/assets/{TreasuryStatementsPage-sOiD2QYm-BjV9xUSX.js → TreasuryStatementsPage-uakhQGBW-DM3cx3mz.js} +7 -7
  177. package/dist/assets/{TreasuryTaxLetterPage-DYzqfHym-C8i4pNnG.js → TreasuryTaxLetterPage-BHvr72P1-ZqD52w0m.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-CesaUuNp-BlrFvGYE.js → TreasuryTransferOrReviewPage-BBPDHav1-FgeqnaCs.js} +78 -78
  179. package/dist/assets/TrendChart-ChiKhGtw-BlRFpdWI.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-CUlTYGIm-DvdNaPh-.js → TrendWithTransactions-DEMNHbbz-DBOPdxuf.js} +7 -7
  181. package/dist/assets/{UncategorizedAccountsMappingPage-D76VPNEd-D4SPdVXr.js → UncategorizedAccountsMappingPage-BDNznj4Y-DBTlThuY.js} +17 -17
  182. package/dist/assets/{UnitIntegrationPage-BsZCe-lq-DrfCSWxr.js → UnitIntegrationPage-Bgu5xfcn-CtKgXROf.js} +3 -3
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-B3tUNhKj-DN4WILBU.js → UploadAdditionalDocumentOverlay-DW6WCx4i-CGbCT0bE.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Bk-WKgMh-DrsH2xrD.js → Vendor2FAPopup-D34glhep-Bcy6uzR5.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-u8a3XF33-CrKMxXqd.js → VendorACHDetailsPage-CSqpbr2r-BGpdO99p.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-B-RdB79n-CDKqGTzV.js → VendorDetailPage-CJw1v9tJ-BWewlDVL.js} +18 -18
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Bhb1Dmge-BeNq1bzX.js → VendorDomesticWireDetailsPage-BY8F5AWO-DX4fuW2L.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-DHRivhBg-ERVyS3P2.js → VendorFiling1099EditablePage-COYZCnYS-BBPw3drw.js} +15 -15
  189. package/dist/assets/VendorFirstReviewPage-BqnXdq6Q-CL1x86cX.js +730 -0
  190. package/dist/assets/{VendorInternationalWireDetailsPage-Cjx1hvUL-CEdr_PZS.js → VendorInternationalWireDetailsPage-K9botaZv-yQ73nWrj.js} +11 -11
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BszRCCDh-B4pRgjkw.js → VendorInternationalWireSwiftDetailsPage-DQ_akVN_-s-XTKsWI.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-D6VSJUo1-Glx5yRhz.js → VendorsAccountsSection-D5d42xeO-CJcEHkCK.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-DReVGPEj-CIQlt88e.js → WarningsDrawerPage-DiA5MRFe-Bc00wID9.js} +7 -7
  194. package/dist/assets/{ZeniAccountDetailPage-CFTB_WYX-CRRVNfVo.js → ZeniAccountDetailPage-DSCbx6BB-DGWgYb7a.js} +23 -23
  195. package/dist/assets/{ZeniAccountListViewPage-BmYgbIuC-DNXzp5P9.js → ZeniAccountListViewPage-7zssUaoL-DvaV5FVV.js} +21 -21
  196. package/dist/assets/{ZeniAccountNavBarPieces-gzy5T7nu-ZPpRmm1I.js → ZeniAccountNavBarPieces-By4S70vz-DdkCg5aL.js} +2 -2
  197. package/dist/assets/{ZeniAccountPromoPage-AfRVTc8V-r71cWD_l.js → ZeniAccountPromoPage-Bvr4t7zq-DL50qAxB.js} +21 -21
  198. package/dist/assets/{ZeniAccountSetupPage-YXJmpz_d-3FWCeT2b.js → ZeniAccountSetupPage-DtDN9JWk-D8j-79L6.js} +4 -4
  199. package/dist/assets/{ZeniCopyright-CqpcrgAZ-CH2r91yw.js → ZeniCopyright-CxC3wvp1-gbMTqRLu.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DGkzRyMW-M3i8bnVC.js → ZeniTransferAmountSlider-CcbG1sHp-Dm5uqXid.js} +1 -1
  201. package/dist/assets/analytics-CBL_L82S.js +7 -0
  202. package/dist/assets/{analyticsHelper-sgo3pabT-BeTMdSYn.js → analyticsHelper-3y6VD3VH-4b12iNu9.js} +1 -1
  203. package/dist/assets/{analyticsHelper-BKEOwNtm.js → analyticsHelper-D4WZaKOr.js} +1 -1
  204. package/dist/assets/{chartTypes-Dj-_K0Gi-EQP1Ce02.js → chartTypes-mKuCmPTG-BM7hqR_d.js} +1 -1
  205. package/dist/assets/{commonDimensions-CKgBEMhT-JcVoNYFG.js → commonDimensions-BHBDbLXD-D2tFRShv.js} +1 -1
  206. package/dist/assets/{detailCommon-vtB2ffbe-CVFboB64.js → detailCommon-1QwSQL9C-CMTdKXNR.js} +10 -10
  207. package/dist/assets/{downloadPdf-CiC0AXNH-CeD8Q-Pl.js → downloadPdf-DjM3Z_88-B-Yuc7DP.js} +1 -1
  208. package/dist/assets/{index-D3N9MvRr.js → index-CWmqNC4C.js} +3532 -3549
  209. package/dist/assets/mapLoadingInProgressToTreeNode-CKZd1bh4-H6b75J9k.js +1 -0
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CWaIGa37-l4B2WAau.js → mapSectionWithAcOnlyToTreeNode-CO6ix8Ks-D7LvCMfp.js} +1 -1
  211. package/dist/assets/mapSpacerToTreeNode-CzcEW1Rc-DpU4PyGc.js +1 -0
  212. package/dist/assets/mapTimeframeBalancesToTreeNode-CEDhLCxY-D-EnNeIG.js +1 -0
  213. package/dist/assets/mapTimeframeBalancesToTreeNode-y3lzh3vX-QR9PSTFA.js +1 -0
  214. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Bf3d9TrW-Cgl9vOT0.js +1 -0
  215. package/dist/assets/{play-icon-CF-Mkuir-D0VaB-h5.js → play-icon-DfMYCOJa-CBLpaBHA.js} +3 -3
  216. package/dist/assets/{toCOABalancesWithID-D1BwrImS-CU7gHn7p.js → toCOABalancesWithID-CEvuOTjK-TT4jMA7r.js} +1 -1
  217. package/dist/assets/{toChartData-DVTo0PPD-Xv5HtUSQ.js → toChartData-D2kGY49E-CsLrqkFw.js} +1 -1
  218. package/dist/assets/{treasuryColorHelper-QzSX5YTe-DRvV2CE6.js → treasuryColorHelper-k2phUKLw-Bv7jwBAj.js} +1 -1
  219. package/dist/assets/{uploadAttachment-BxwOR3I5-D86nKqy9.js → uploadAttachment-kyOdZMbL-CJNFoqRM.js} +7 -7
  220. package/dist/assets/{uploadReceipts-Buvz7DfG-CwTcUaXM.js → uploadReceipts-D80JLNY4-Cic2YR7g.js} +1 -1
  221. package/dist/index.html +1 -1
  222. package/package.json +4 -4
  223. package/dist/assets/BankConnectionsSettingsPage-BOreBo5b-D37lKtbY.js +0 -379
  224. package/dist/assets/BillPaySetUpPage-DjpCUZaT-Ddup2DO2.js +0 -42
  225. package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-B6U5Is6f.js +0 -1
  226. package/dist/assets/BusinessVerificationPage-CZGOzc9Z-D6-Ww27c.js +0 -140
  227. package/dist/assets/ChargeCardDetailPage-NWTPnGtM-DFqwW_o-.js +0 -1447
  228. package/dist/assets/ChargeCardListPage-D42dfnET-BwGRx6DO.js +0 -355
  229. package/dist/assets/ChargeCardPromoPage-CXiXee-8-rWS9j7At.js +0 -190
  230. package/dist/assets/ChargeCardSetupPage-Ccc8PoCm-DOz93R9J.js +0 -36
  231. package/dist/assets/CollapsableReportTable-DshWn4Fc-CB5euwH7.js +0 -2860
  232. package/dist/assets/CompleteProfile-D_zq0Bxi-4-J8J591.js +0 -36
  233. package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-4mOzqlwZ.js +0 -1
  234. package/dist/assets/DashboardReportPage-paPVk_v2-Dvs7jyc3.js +0 -349
  235. package/dist/assets/InvitePeoplePage-C9AwNqIx-ByE99RmM.js +0 -12
  236. package/dist/assets/NoDataChart-DE6NV823-DgTs2vbZ.js +0 -26
  237. package/dist/assets/NotificationsListConfig-TBQMobJ5-DLtoRFYq.js +0 -1
  238. package/dist/assets/PortfolioDetails-DJFeMG4U-DswuDgPe.js +0 -218
  239. package/dist/assets/ReimbursementDetailPage-CtEAsq7u-CdLZ67Bg.js +0 -314
  240. package/dist/assets/ReimbursementSetUpPage-DXOqEJL4-DeydDpr0.js +0 -140
  241. package/dist/assets/ReportTableViewSelector-_RTCd2td-J4MgIxi7.js +0 -133
  242. package/dist/assets/ReportsPage-BIzz5Dt_-BPRCOVMf.js +0 -120
  243. package/dist/assets/RoleWithToolTip-DZO2tooH-6nbnfSfh.js +0 -22
  244. package/dist/assets/SpendMgmtSetupAccountSection-DG4ozkeT-CetbNb1Y.js +0 -207
  245. package/dist/assets/StatementsPage-CUpjL5u7-BWH36hJA.js +0 -58
  246. package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-CC0-bOos.js +0 -31
  247. package/dist/assets/TransactionList-2HeLZVn9-D_XSB9a8.js +0 -147
  248. package/dist/assets/TransactionListPage-tnL66tOu-DKTJncjo.js +0 -35
  249. package/dist/assets/TrendChart-kwGU0d90-D9vTA2Kh.js +0 -16
  250. package/dist/assets/VendorFirstReviewPage-Cn2GBsyl-cg4le0C7.js +0 -730
  251. package/dist/assets/analytics-DThoELaW.js +0 -7
  252. package/dist/assets/mapLoadingInProgressToTreeNode-0MIZwF_y-BJQcaPEZ.js +0 -1
  253. package/dist/assets/mapSpacerToTreeNode-1Bdqp9WS-Bf4vh4uO.js +0 -1
  254. package/dist/assets/mapTimeframeBalancesToTreeNode-MPZhFWqo-DqH1QGXc.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as Z,u as J,j as o,Y as w,M as V,dq 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,p as l,m as te,a5 as B,b4 as se,w as E,ae as re,f as ne,b0 as le,f2 as ae}from"./index-D3N9MvRr.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}}=V.getLocalizedStrings(),ce=t(le)`
1
+ import{X as V,u as q,j as o,Y 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,m as l,f as te,a5 as B,b4 as se,v as E,ae as re,e as ne,b0 as le,f2 as ae}from"./index-CWmqNC4C.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])},W={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 Z,u as J,j as o,Y as w,M as V,dq as u,o as i,C as a,eY as D,eZ 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 Fe({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:I=!1,shouldHover:N=!0,showRightArrow:W=!0,onClick:H,showAddPaymentMethodDropDown:G=!1,updateCardPaymentModalState:O,openPlaidDialog:R,isCardPaymentMethod:K,analytics:Q,productType:k,referrer:F,setEventSourceType:U,additionalInfo:L}){const s=Z(),X=J(),[Y,q]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:I,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(_e,{children:v?o.jsx(Ie,{}):o.jsx(Ne,{})}):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:N,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:Y,updateCardPaymentModalState:O,isCardPaymentMethod:K??!1,openPlaidDialog:R,analytics:Q,productType:k,referrer:F,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(Oe,{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(We,{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,W===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Re,{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:_=!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=q(),[Y,Z]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:_,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(We,{children:v?o.jsx(_e,{}):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:Z,addPaymentMethodDropdownOpen:Y,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 Z,u as J,j as o,Y as w,M as V,dq as u,o as i,C as a,eY as D,eZ as j,
58
58
  margin-top: ${e=>n.tagIconContainerDivMarginTop.valuePx(e.windowSize)};
59
59
  gap: ${i.sp2};
60
60
  `,ve=t.div`
61
- ${e=>`${_.title.style(e.windowSize)}`};
61
+ ${e=>`${W.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 Z,u as J,j as o,Y as w,M as V,dq as u,o as i,C as a,eY as D,eZ as j,
124
124
  display: flex;
125
125
  align-items: center;
126
126
  color: ${e=>e.theme.colors.primary};
127
- ${e=>`${_.title.style(e.windowSize)}`};
127
+ ${e=>`${W.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 Z,u as J,j as o,Y as w,M as V,dq as u,o as i,C as a,eY as D,eZ as j,
139
139
  box-sizing: border-box;
140
140
  text-align: center;
141
141
  color: ${e=>e.theme.colors.grey1};
142
- `,_e=t.div`
142
+ `,We=t.div`
143
143
  margin-right: ${i.sp2};
144
- `,Ie=t(ee)`
144
+ `,_e=t(ee)`
145
145
  width: ${i.sp3};
146
146
  height: ${i.sp3};
147
147
  color: ${C.success};
148
- `,Ne=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
- `,We=t.div`
153
+ `,Ne=t.div`
154
154
  width: ${i.sp3};
155
155
  height: ${i.sp3};
156
156
  margin: auto;
@@ -163,12 +163,12 @@ import{X as Z,u as J,j as o,Y as w,M as V,dq as u,o as i,C as a,eY as D,eZ as j,
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
- `,Oe=t(E)`
166
+ `,Ke=t(E)`
167
167
  color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
168
- `,Re=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 $,Fe as K,Ee as T};
174
+ `;export{we as $,Qe as K,Ee as T};
@@ -1,8 +1,8 @@
1
- import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as i,i as re,C as $,$ as Ae,Q as te,h as xe,g as c,k as Je,B as Ge,w as fe,b as $e,c as Ne,l as se,d as qe,e as Xe,K as Ce,r as Qe,f as ke,m as Ke,p as L,v as O,Z as Ye,n as eo,q as oo,x as io,s as no}from"./index-D3N9MvRr.js";import{b as t,n,f as ro,k as Se,j as to}from"./vendor-CnQcJ2Lu.js";import{i as so}from"./ZeniCopyright-CqpcrgAZ-CH2r91yw.js";import{f as lo}from"./ProductsCarousel-CS4_yc80-PtugE9vt.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const ao=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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"}),t.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"}),t.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"}),t.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"}),t.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"})),co=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),t.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),t.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),t.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),go=n.div`
1
+ import{X as G,V as He,a as De,M as C,j as o,T as z,G as Re,F as Ae,E as Ue,o as i,i as re,C as $,$ as We,Q as te,h as xe,g as c,k as Je,O as Ne,v as fe,r as $e,b as Ge,l as se,c as qe,d as Xe,K as Ce,n as Qe,e as ke,f as Ke,m as L,p as H,Z as Ye,q as eo,s as oo,x as io,t as no}from"./index-CWmqNC4C.js";import{b as t,n,f as ro,k as Se,j as to}from"./vendor-CnQcJ2Lu.js";import{i as so}from"./ZeniCopyright-CxC3wvp1-gbMTqRLu.js";import{f as lo}from"./ProductsCarousel-B7h_gH-R-XoeszqUs.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 ao=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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"}),t.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"}),t.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"}),t.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"}),t.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"})),co=e=>t.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),t.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),t.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),t.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),go=n.div`
2
2
  margin-left: ${i.sp3};
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  font-family: ${no.Roboto};
5
- ${e=>{const g=e.windowSize==="small"?O.standardMedium:O.largeMedium;return`
5
+ ${e=>{const g=e.windowSize==="small"?H.standardMedium:H.largeMedium;return`
6
6
  font-size: ${g.fontSize};
7
7
  font-weight: ${g.fontWeight};
8
8
  line-height: ${g.lineHeight};
@@ -36,7 +36,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
36
36
  `,uo=n(co)`
37
37
  height: ${i.sp3};
38
38
  width: ${i.sp3};
39
- `;function be({type:e,titleText:g,disabled:a,loadingIndication:h,onClick:u}){const d=N(),x=o.jsxs(ho,{children:[e==="Google"?o.jsx(mo,{}):o.jsx(uo,{}),o.jsx(go,{windowSize:d,children:g})]});return o.jsx(po,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:u,children:h===!0?o.jsx(qe,{size:"Standard",start:h===!0}):x})}const wo=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:h,getSignedInUser:u,onError:d})=>{const x=Ne({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(u()!=null){h();return}x()};return o.jsx(be,{onClick:w,disabled:g,type:"Google",titleText:C.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},xo=e=>{const{clientId:g,scopes:a,getSignedInUser:h,onSignedInCallback:u,render:d,onSuccess:x,onFailure:w,disabled:T}=e;let{responseType:f,responseMode:k,prompt:y,redirectUri:I}=e,E,s;const v="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",_=["openid","profile"];f=f??"code",k=k??"fragment",y=y??"consent",ro.useEffect(()=>{const m=se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(m.code!=null||m.access_token!=null||m.error!=null)&&V()},[]);const M=()=>{const m=encodeURIComponent((a??_).join(" "));return I=I??window.location.origin+window.location.pathname,`${v}?client_id=${g}&response_type=${f}&redirect_uri=${encodeURIComponent(I)}&scope=${m}&prompt=${y}&response_mode=${k}`},V=()=>{window.opener?.authScope.authCompletedCB(se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(h()!=null){u();return}E=!1;const m=(p,Z)=>{const P=window.screen.width/2-287.5,B=window.screen.height/2-600/2,F=window.open(p,Z,`toolbar=0,status=0, width=575, height=600, top=${B}, left=${P}`);s=setInterval(()=>{F.closed&&!E&&(w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{E=!0,clearInterval(s),f==="code"&&p.code?x({code:p.code}):f==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:C.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:p})}},m(M(),"Microsoft Sign In")},disabled:T})},fo=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),D={width:new $(343,572,572),containerTop:new $(17,25,25)},{signIn:{emailNotFoundPopup:H},common:{gotIt:$o}}=C.getLocalizedStrings();function Co({signInError:e,onClose:g}){const a=N(),[h,u]=t.useState(!1),d=e?.email;return o.jsx(ko,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:o.jsx(Ke,{onClickAway:()=>{u(!0),g()},children:o.jsxs(jo,{windowSize:a,className:h?"containerClass fade":"containerClass",fade:h,children:[o.jsxs(yo,{children:[H.title,o.jsx(Lo,{children:d})]}),o.jsxs(Eo,{children:[o.jsxs(G,{children:[o.jsx(A,{children:o.jsx(Io,{})}),o.jsx(J,{windowSize:a,children:H.confirmEmail})]}),o.jsxs(G,{children:[o.jsx(A,{children:o.jsx(zo,{})}),o.jsx(J,{windowSize:a,children:H.checkAccess})]}),o.jsxs(G,{children:[o.jsx(A,{children:o.jsx(vo,{})}),o.jsx(J,{windowSize:a,children:H.contactZeni})]})]}),o.jsx(Ce,{label:$o,variant:"primary",onClick:()=>{u(!0),g()}})]})})})}const ko=n.div`
39
+ `;function be({type:e,titleText:g,disabled:a,loadingIndication:h,onClick:u}){const d=G(),x=o.jsxs(ho,{children:[e==="Google"?o.jsx(mo,{}):o.jsx(uo,{}),o.jsx(go,{windowSize:d,children:g})]});return o.jsx(po,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:u,children:h===!0?o.jsx(qe,{size:"Standard",start:h===!0}):x})}const wo=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:h,getSignedInUser:u,onError:d})=>{const x=Ge({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(u()!=null){h();return}x()};return o.jsx(be,{onClick:w,disabled:g,type:"Google",titleText:C.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},xo=e=>{const{clientId:g,scopes:a,getSignedInUser:h,onSignedInCallback:u,render:d,onSuccess:x,onFailure:w,disabled:T}=e;let{responseType:f,responseMode:k,prompt:y,redirectUri:v}=e,E,s;const I="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",_=["openid","profile"];f=f??"code",k=k??"fragment",y=y??"consent",ro.useEffect(()=>{const m=se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(m.code!=null||m.access_token!=null||m.error!=null)&&V()},[]);const M=()=>{const m=encodeURIComponent((a??_).join(" "));return v=v??window.location.origin+window.location.pathname,`${I}?client_id=${g}&response_type=${f}&redirect_uri=${encodeURIComponent(v)}&scope=${m}&prompt=${y}&response_mode=${k}`},V=()=>{window.opener?.authScope.authCompletedCB(se.toZeniUrl(window.location[k==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(h()!=null){u();return}E=!1;const m=(p,Z)=>{const P=window.screen.width/2-287.5,F=window.screen.height/2-600/2,O=window.open(p,Z,`toolbar=0,status=0, width=575, height=600, top=${F}, left=${P}`);s=setInterval(()=>{O.closed&&!E&&(w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{E=!0,clearInterval(s),f==="code"&&p.code?x({code:p.code}):f==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:C.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:C.getLocalizedStrings().signIn.signInError,errorDetail:p})}},m(M(),"Microsoft Sign In")},disabled:T})},fo=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.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"}),t.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"}),t.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"}),t.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"}),t.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"}),t.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),D={width:new $(343,572,572),containerTop:new $(17,25,25)},{signIn:{emailNotFoundPopup:B},common:{gotIt:$o}}=C.getLocalizedStrings();function Co({signInError:e,onClose:g}){const a=G(),[h,u]=t.useState(!1),d=e?.email;return o.jsx(ko,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:o.jsx(Ke,{onClickAway:()=>{u(!0),g()},children:o.jsxs(jo,{windowSize:a,className:h?"containerClass fade":"containerClass",fade:h,children:[o.jsxs(yo,{children:[B.title,o.jsx(Lo,{children:d})]}),o.jsxs(Eo,{children:[o.jsxs(N,{children:[o.jsx(W,{children:o.jsx(vo,{})}),o.jsx(J,{windowSize:a,children:B.confirmEmail})]}),o.jsxs(N,{children:[o.jsx(W,{children:o.jsx(zo,{})}),o.jsx(J,{windowSize:a,children:B.checkAccess})]}),o.jsxs(N,{children:[o.jsx(W,{children:o.jsx(Io,{})}),o.jsx(J,{windowSize:a,children:B.contactZeni})]})]}),o.jsx(Ce,{label:$o,variant:"primary",onClick:()=>{u(!0),g()}})]})})})}const ko=n.div`
40
40
  position: fixed;
41
41
  top: 0;
42
42
  left: 0;
@@ -99,7 +99,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
99
99
  margin-bottom: ${i.sp6};
100
100
  color: ${c.important};
101
101
  padding: ${i.sp0} ${i.sp6};
102
- `,A=n.div`
102
+ `,W=n.div`
103
103
  margin-right: 12px;
104
104
  height: ${i.sp7};
105
105
  width: ${i.sp7};
@@ -112,7 +112,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
112
112
  width: calc(100% - 120px);
113
113
  color: ${e=>e.theme.colors.primary};
114
114
  text-align: start;
115
- `,G=n.div`
115
+ `,N=n.div`
116
116
  display: flex;
117
117
  align-items: center;
118
118
  margin-bottom: ${i.sp5};
@@ -120,9 +120,9 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
120
120
  width: ${i.sp4};
121
121
  height: ${i.sp4};
122
122
  color: ${e.theme.colors.primary};
123
- `,Io=n($e)`
123
+ `,vo=n($e)`
124
124
  ${q};
125
- `,vo=n(fo)`
125
+ `,Io=n(fo)`
126
126
  ${q};
127
127
  `,zo=n(io)`
128
128
  ${q};
@@ -130,7 +130,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
130
130
  word-break: break-all;
131
131
  `,Eo=n.div`
132
132
  padding: ${i.sp0} ${i.sp6};
133
- `,l=C.getLocalizedStrings(),je={signInHeading:new te("h5Regular","h2Regular"),signInMessage:new te("standardRegular","h6Regular")},j={ZeniLogoContainerLeftMargin:new $(L[0],L[5]),ZeniLogoContainerTopMargin:new $(12,L[3]),headingContainerTopMargin:new $(36,10),signInContainerPaddingTop:new $(L[12],L[4]),emailInputFontSize:new $(O.standardRegular.fontSizeValue,O.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new $(L[3],12)},Mo=n.div`
133
+ `,l=C.getLocalizedStrings(),je={signInHeading:new te("h5Regular","h2Regular"),signInMessage:new te("standardRegular","h6Regular")},j={ZeniLogoContainerLeftMargin:new $(L[0],L[5]),ZeniLogoContainerTopMargin:new $(12,L[3]),headingContainerTopMargin:new $(36,10),signInContainerPaddingTop:new $(L[12],L[4]),emailInputFontSize:new $(H.standardRegular.fontSizeValue,H.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new $(L[3],12)},Mo=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};
@@ -231,7 +231,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
231
231
  opacity: 1;
232
232
  }
233
233
  }
234
- `,Bo=n(fe)`
234
+ `,Fo=n(fe)`
235
235
  position: absolute;
236
236
  top: 100%;
237
237
  left: 0;
@@ -252,12 +252,12 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
252
252
  border-radius: 50px;
253
253
  padding: 12px ${i.sp4};
254
254
  box-sizing: border-box;
255
- `,Fo=n($e)`
255
+ `,Oo=n($e)`
256
256
  width: ${i.sp3};
257
257
  height: ${i.sp3};
258
258
  color: ${e=>e.theme.colors.brandColorSapphire};
259
259
  flex-shrink: 0;
260
- `,Ho=n.div`
260
+ `,Bo=n.div`
261
261
  width: ${i.sp4};
262
262
  height: ${i.sp4};
263
263
  background-color: ${c.neutralGrey5Light};
@@ -270,12 +270,12 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
270
270
  `,he=n(Je)`
271
271
  color: ${e=>e.isDarkTheme?c.brandColorJadeLight:e.theme.colors.brandColorSapphire};
272
272
  flex: 1;
273
- `,me=n(Ge)`
273
+ `,me=n(Ne)`
274
274
  color: ${e=>e.theme.colors.primary};
275
275
  `,ue=n(fe)`
276
276
  color: ${e=>e.theme.colors.hero};
277
277
  text-align: center;
278
- `,Oo=n.div`
278
+ `,Ho=n.div`
279
279
  display: flex;
280
280
  flex-direction: column;
281
281
  align-items: center;
@@ -296,7 +296,7 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
296
296
  margin-top: ${e=>j.headingContainerTopMargin.valuePx(e.windowSize)};
297
297
  row-gap: ${e=>e.isMagicLinkSent?e.windowSize==="small"?"150px":i.sp4:i.sp2};
298
298
  flex-direction: column;
299
- `,Uo=n.div`
299
+ `,Ao=n.div`
300
300
  display: flex;
301
301
  flex-direction: column;
302
302
  display: flex;
@@ -308,10 +308,10 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
308
308
  .zeni-logo {
309
309
  align-self: ${e=>e.windowSize==="small"?"center":"self-start"};
310
310
  }
311
- `,Wo=n(Ae)`
311
+ `,Uo=n(We)`
312
312
  color: ${e=>e.theme.colors.primary};
313
313
  height: ${i.sp4};
314
- `,Ao=n.div`
314
+ `,Wo=n.div`
315
315
  width: 100%;
316
316
  `,Jo=n.div`
317
317
  width: 1328px;
@@ -320,6 +320,6 @@ import{X as N,W as Oe,a as De,M as C,j as o,T as z,G as Re,F as Ue,E as We,o as
320
320
  align-items: center;
321
321
  justify-content: center;
322
322
  overflow: visible;
323
- `,Go=n(Ce)`
323
+ `,No=n(Ce)`
324
324
  padding: ${i.sp2} ${i.sp3};
325
- `;function ti({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:h={},showEmailLogin:u=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:T,onSignedInCallback:f,clearSignInError:k,onOAuthSuccess:y,onOAuthError:I,sendMagicLink:E}){const s=N(),{dark:v}=Oe(),_=a==="In-Progress",M=a==="Error",[V,m]=t.useState(void 0),[p,Z]=t.useState(""),[P,B]=t.useState(!1),[F,R]=t.useState(!1),ye=a==="In-Progress"&&p==="google",Ie=a==="In-Progress"&&p==="microsoft",X=De({mode:"onSubmit",defaultValues:{email:""}}),{register:ve,handleSubmit:ze,formState:{errors:Q},setValue:K,watch:Le,clearErrors:Ee}=X,Y=Le("email"),Me=!!Q.email||F,ee=!!Q.email;t.useEffect(()=>{x===!0&&w!=null&&w.trim()!==""&&(K("email",w),R(!0))},[x,w,K]);const Pe=r=>{R(!1),r.email.trim()&&E(r.email)},Te=()=>{R(!1),Ee("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",oe=M&&h.type==="email_not_found";t.useEffect(()=>{(oe||U)&&B(!0)},[U,oe]);const _e=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"google"),Z("google")},Ve=r=>{const b="Error = "+r?.error+" Error Description = "+r?.error_description;m(b),I?.(JSON.stringify(r),"google")},Ze=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"microsoft"),Z("microsoft")},Be=r=>{console.log(JSON.stringify(r)),m(r.error??"Microsoft authorization failed."),I?.(JSON.stringify(r),"microsoft")},Fe=()=>{let r="";return(M||V!=null)&&P===!1&&(r=V??l.signIn.signInAuthError),r},ie=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,ne=l.signIn.message,S=d.fetchState==="Completed",He=U&&d.error?.error?d.error.error:h;return o.jsxs(Mo,{windowSize:s,children:[o.jsxs(Po,{children:[o.jsxs(Ao,{children:[o.jsx(Uo,{windowSize:s,children:o.jsx(Wo,{className:"zeni-logo"})}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsx(pe,{isDarkTheme:v,children:o.jsx(he,{isDarkTheme:v,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,W)=>o.jsxs("span",{children:[r,b<W.length-1&&o.jsx(me,{children:Y})]},b))})}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsxs(pe,{isDarkTheme:v,children:[o.jsx(Ho,{children:o.jsx(Fo,{})}),o.jsx(he,{isDarkTheme:v,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,W)=>o.jsxs("span",{children:[r,b<W.length-1&&o.jsx(me,{children:Y})]},b))})]}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsx(z,{controller:!S,children:o.jsxs(Oo,{windowSize:s,children:[o.jsxs(Do,{windowSize:s,children:[o.jsx(Re,{clientId:e,children:o.jsx(wo,{disabled:_,inProgress:ye,getSignedInUser:T,onSuccess:_e,onSignedInCallback:f,onError:Ve})}),o.jsx(xo,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:T,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>o.jsx(be,{onClick:r.onClick,disabled:_||r.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:Ie}),onSignedInCallback:f,onSuccess:Ze,onFailure:Be}),u&&o.jsx(Ue,{...X,children:o.jsxs(_o,{windowSize:s,children:[o.jsx("form",{onSubmit:ze(Pe),children:o.jsxs(Vo,{windowSize:s,hasError:ee,children:[o.jsx(Zo,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ee,autoComplete:"off",...ve("email",{required:l.signIn.invalidEmailMessage,pattern:{value:We,message:l.signIn.invalidEmailMessage},onChange:Te})}),o.jsx(Go,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),Me&&o.jsx(Bo,{children:F?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})})]}),P===!1&&M&&o.jsx(Ro,{children:o.jsx(To,{children:Fe()})})]})})]}),o.jsx(z,{controller:s!=="small",children:o.jsx(Jo,{children:o.jsx(lo,{})})}),o.jsx(de,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?i.sp5:i.sp1},children:o.jsxs(de,{children:[o.jsxs(ce,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,o.jsx(re,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",o.jsx(re,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),o.jsx(ce,{children:o.jsx(so,{})})]})})]}),P&&o.jsx(Co,{signInError:He,onClose:()=>{k(),B(!1)}})]})}export{ti as default};
325
+ `;function ti({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:h={},showEmailLogin:u=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:T,onSignedInCallback:f,clearSignInError:k,onOAuthSuccess:y,onOAuthError:v,sendMagicLink:E}){const s=G(),{dark:I}=He(),_=a==="In-Progress",M=a==="Error",[V,m]=t.useState(void 0),[p,Z]=t.useState(""),[P,F]=t.useState(!1),[O,R]=t.useState(!1),ye=a==="In-Progress"&&p==="google",ve=a==="In-Progress"&&p==="microsoft",X=De({mode:"onSubmit",defaultValues:{email:""}}),{register:Ie,handleSubmit:ze,formState:{errors:Q},setValue:K,watch:Le,clearErrors:Ee}=X,Y=Le("email"),Me=!!Q.email||O,ee=!!Q.email;t.useEffect(()=>{x===!0&&w!=null&&w.trim()!==""&&(K("email",w),R(!0))},[x,w,K]);const Pe=r=>{R(!1),r.email.trim()&&E(r.email)},Te=()=>{R(!1),Ee("email")},A=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",oe=M&&h.type==="email_not_found";t.useEffect(()=>{(oe||A)&&F(!0)},[A,oe]);const _e=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"google"),Z("google")},Ve=r=>{const b="Error = "+r?.error+" Error Description = "+r?.error_description;m(b),v?.(JSON.stringify(r),"google")},Ze=r=>{console.log(JSON.stringify(r)),m(void 0),y(r.code,"microsoft"),Z("microsoft")},Fe=r=>{console.log(JSON.stringify(r)),m(r.error??"Microsoft authorization failed."),v?.(JSON.stringify(r),"microsoft")},Oe=()=>{let r="";return(M||V!=null)&&P===!1&&(r=V??l.signIn.signInAuthError),r},ie=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,ne=l.signIn.message,S=d.fetchState==="Completed",Be=A&&d.error?.error?d.error.error:h;return o.jsxs(Mo,{windowSize:s,children:[o.jsxs(Po,{children:[o.jsxs(Wo,{children:[o.jsx(Ao,{windowSize:s,children:o.jsx(Uo,{className:"zeni-logo"})}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsx(pe,{isDarkTheme:I,children:o.jsx(he,{isDarkTheme:I,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,U)=>o.jsxs("span",{children:[r,b<U.length-1&&o.jsx(me,{children:Y})]},b))})}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsxs(we,{isMagicLinkSent:S,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[o.jsx(le,{windowSize:s,children:ie}),o.jsx(z,{controller:!S,children:o.jsx(ae,{windowSize:s,children:ne})}),o.jsx(z,{controller:S,children:o.jsxs(ge,{children:[o.jsxs(pe,{isDarkTheme:I,children:[o.jsx(Bo,{children:o.jsx(Oo,{})}),o.jsx(he,{isDarkTheme:I,children:C.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((r,b,U)=>o.jsxs("span",{children:[r,b<U.length-1&&o.jsx(me,{children:Y})]},b))})]}),o.jsx(ue,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),o.jsx(z,{controller:!S,children:o.jsxs(Ho,{windowSize:s,children:[o.jsxs(Do,{windowSize:s,children:[o.jsx(Re,{clientId:e,children:o.jsx(wo,{disabled:_,inProgress:ye,getSignedInUser:T,onSuccess:_e,onSignedInCallback:f,onError:Ve})}),o.jsx(xo,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:T,prompt:"select_account",responseType:"code",responseMode:"query",render:r=>o.jsx(be,{onClick:r.onClick,disabled:_||r.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:ve}),onSignedInCallback:f,onSuccess:Ze,onFailure:Fe}),u&&o.jsx(Ae,{...X,children:o.jsxs(_o,{windowSize:s,children:[o.jsx("form",{onSubmit:ze(Pe),children:o.jsxs(Vo,{windowSize:s,hasError:ee,children:[o.jsx(Zo,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ee,autoComplete:"off",...Ie("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ue,message:l.signIn.invalidEmailMessage},onChange:Te})}),o.jsx(No,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),Me&&o.jsx(Fo,{children:O?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})})]}),P===!1&&M&&o.jsx(Ro,{children:o.jsx(To,{children:Oe()})})]})})]}),o.jsx(z,{controller:s!=="small",children:o.jsx(Jo,{children:o.jsx(lo,{})})}),o.jsx(de,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?i.sp5:i.sp1},children:o.jsxs(de,{children:[o.jsxs(ce,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,o.jsx(re,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",o.jsx(re,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),o.jsx(ce,{children:o.jsx(so,{})})]})})]}),P&&o.jsx(Co,{signInError:Be,onClose:()=>{k(),F(!1)}})]})}export{ti 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{kd as u,u as w,l as r,M as h,kc as C,D as E,kK as v,kg as p}from"./index-D3N9MvRr.js";import{f as U}from"./analyticsHelper-BKEOwNtm.js";import{a as x,u as y,N as k}from"./routing-Cpaypegg.js";import{c as L}from"./sentry-HDxG13yk.js";import"./analytics-DThoELaW.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 K(){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=w().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")),h.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(k,{to:n,state:{...c.state,origin:""}})}else return d.jsx(A,{navigate:a,location:c})}export{K 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-CWmqNC4C.js";import{f as U}from"./analyticsHelper-D4WZaKOr.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-CdWwn_b8-DnGEGhos.js","assets/index-D3N9MvRr.js","assets/mui-C5LQ0bMa.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-DThoELaW.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-C6703BAG-eDDkVLmz.js"])))=>i.map(i=>d[i]);
2
- import{u as Ue,t as Ge,X as z,l as y,M as U,fI as He,fK as We,j as o,g2 as qe,aW as Ke,v as Ye,o as t,du as Je,gh as M,aA as Ve,fT as Xe,C,gi as Ze,fc as Qe,fd as et,g as S,m as tt,p as x,gj as ot,a2 as at,eW as it,q as nt,bF as st,fe as lt,ax as rt,f as ct}from"./index-D3N9MvRr.js";import{b as u,n as r,k as G}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-sSQ9JElv.js";import{Y as mt}from"./SpendManagementSection-DGhD95sz-VmruoRWg.js";import{K as ut}from"./StatusSwitcher-C6703BAG-eDDkVLmz.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.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-CHvroeCa-SUCxwVKR.js","assets/index-CWmqNC4C.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-C5UGqQw8-L5IIUMyD.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,p as Ke,o as t,dv as Ye,gh as M,aA as qe,fT as Ze,C,gi as Xe,fc as Qe,fd as et,g as S,f as tt,m as x,gj as ot,a2 as at,eW as it,s as nt,bH as st,fe as lt,ax as rt,e as ct}from"./index-CWmqNC4C.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-BaEgJPY4-DbFNSMHd.js";import{K as ut}from"./StatusSwitcher-C5UGqQw8-L5IIUMyD.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;
@@ -13,16 +13,16 @@ import{u as Ue,t as Ge,X as z,l as y,M as U,fI as He,fK as We,j as o,g2 as qe,aW
13
13
  .fade {
14
14
  animation: ${e=>bt(e)} 0.25s linear;
15
15
  }
16
- `,ht=({windowSize:e})=>G`
16
+ `,ht=({windowSize:e})=>H`
17
17
  0% {
18
18
  top: 100%;
19
19
  }
20
20
  100% {
21
- top: ${w.containerTop.valuePercentage(e)};
21
+ top: ${f.containerTop.valuePercentage(e)};
22
22
  }
23
- `,bt=({windowSize:e})=>G`
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,25 +36,25 @@ import{u as Ue,t as Ge,X as z,l as y,M as U,fI as He,fK as We,j as o,g2 as qe,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};
52
- background-color: ${e=>e.theme.colors.brandColorJadeLight};
52
+ background-color: ${e=>e.theme.mode==="dark"?e.theme.colors.brandColorJadeDark:e.theme.colors.brandColorJadeLight};
53
53
  border-radius: ${t.sp4};
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,t as Ge,X as z,l as y,M as U,fI as He,fK as We,j as o,g2 as qe,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]=Qe(),[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 H=U.getLocalizedStrings(),m=H.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=H,_t={drawerSectionPaddingLeftRight:new C(x[4],x[5])},Ot=Ze(()=>ot(()=>import("./SpendManagementPerTabPage-CdWwn_b8-DnGEGhos.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Zt=e=>{const p=Ue(),h=Ge(),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:q,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:Y,createdByUserList:J,createdByUserListFetchState:E,downloadParams:V,downloadState:X,isDownloadEnabled:Z,isShowDeletedBillsEnabled:Q,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:fe,onProceedForBulkActionClick:we}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(Ot,{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:Q,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,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),[_,ke]=u.useState(!1),[Ie,O]=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:_,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Z===!1,downloadParams:V,downloadState:X,filters:q,vendorSearchAutoCompleteData:K,vendorSearchAutoCompleteActions:Y,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:f,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>O(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,J??[],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(He),_e=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:Oe}=We({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(qe,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Mt,{children:[o.jsx(Ke,{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,...Ye.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:_}),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:()=>O(!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(Je,{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(Ve,{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:_e,children:o.jsx(Xe,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:Oe,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} ${_t.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]=Qe(),[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-CHvroeCa-SUCxwVKR.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:K,createdByUserList:Y,createdByUserListFetchState:E,downloadParams:q,downloadState:Z,isDownloadEnabled:X,isShowDeletedBillsEnabled:Q,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:Q,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:q,downloadState:Z,filters:V,vendorSearchAutoCompleteData:W,vendorSearchAutoCompleteActions:K,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,Y??[],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,...Ke.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(Ye,{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(qe,{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(Ze,{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,t as Ge,X as z,l as y,M as U,fI as He,fK as We,j as o,g2 as qe,aW
120
120
  display: flex;
121
121
  margin-top: ${t.sp3};
122
122
  justify-content: center;
123
- `;export{Zt as default,Dt as getDashboardFilterCategoryValues};
123
+ `;export{Xt as default,Dt as getDashboardFilterCategoryValues};