@zeniai/web-app-ui 4.14.33-prod → 4.14.34-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 (368) hide show
  1. package/dist/assets/{ACHDetailsPage-DKTSwNyl-TXl1b9xz.js → ACHDetailsPage-iiVBlQka-kJJwShx9.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-BS_hlzNx.js → AIPerformancePage-MBAB5kgB-CllvurBN.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cz9yoVl8-yEC5AHJo.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-KbE96BJf.js → AccountInfoPageContent-j85psx_A-B10pnZIl.js} +2 -2
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-D-IFTFOu.js → AccountLockedInfoModal-B1JxHllU-zA2mS4xW.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-DiiqLtA-.js → AccountReconDetailsDrawerPage-DF-X46_u-DqFdxkfQ.js} +3 -3
  7. package/dist/assets/{AccountRow-C-Iunc36-YQldrlVW.js → AccountRow-DEtntSrL-CJ0B8bgS.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-WA3fSxPL.js → AccountsPromoCardStack-Cvixqb_6-D97qRbqR.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-CrWgXG6W.js → AddAddressForCardDrawer-B1Qfn44J-CPpzlUkA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DkLHI9hz.js → AddToWalletPage-BLxUsh1Y-BlYpwefQ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CL0Pq_Ys.js → AddressRoutes-D9ypa9JP.js} +1 -1
  12. package/dist/assets/{AddressScreen-S2Le0Iyl.js → AddressScreen-7cFlirZg.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-D17kQP-y.js → AgingReportsPage-XIzuLRE4-Ci3KQGlf.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-Cg_pdlQK.js → AiCfoScreen-DoYaPaX9.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-CIjlkzgM.js → AllUserItems-BGMZCYUO-D3nrnj9J.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-BD1Qrsku.js → ApAgingDetailPage-B-1gVAu6-Bzjn8P1m.js} +8 -8
  17. package/dist/assets/{AppBasePage-yAU5vW5D-CQC_mBlM.js → AppBasePage-CYjdUgY4-B_GezOYf.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-CD40ny3-.js → AppDrawerContent-CbF8TOjd-CJdJC4Gi.js} +5 -5
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-Cmxno3qR.js → ApprovalRulesSettingsPage-RCtygkuw-D7FKTOUR.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-gFVrqmo_.js → ArAgingChart-ZwWwEBJ3-CYvKQAY1.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-DJfFgL4N.js → ArAgingDetailPage-DtqyngrA-dzglT1I2.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-xCZ214JL.js → AttachmentView-UxkSFZmq-Dr8yZ85U.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-DQ_IxlP9.js → BalancesInsightWithToolTip-Co6ZUc5x-DLuw_h8-.js} +8 -8
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-Clz7a1S8.js → BankAccountSection-DnBVOkJC-Bn2rFs67.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--Yk0j00ZU.js → BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-3DxfIBNE.js → BankConnectionsSettingsPage-BDLTuNLu-BCTZxVaa.js} +13 -13
  27. package/dist/assets/{BillDetailPage-DRpctLxu-DXfbZDoG.js → BillDetailPage-V8us93cj-B0TwX2a_.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-BgvqlrUy.js → BillPayApprovalRoutes-DSmRUBge.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-CztPHOm6.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BUVTGWgu.js → BillPayApprovalRulesPage-C6G_eDX9-C8wM1oCi.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-B5FuLPhY.js → BillPayPromoPage-CTQSknOB-CxSqRwoG.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-YLpt2aCD.js → BillPayRoutes-DUDFuwtX.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-BcgtlVH-.js → BillPaySetUpPage-BmgMLaf--BkQms9Qs.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM-CkmyE4GR.js → BillingSettingsPage-IHY3ak0N-CL3RSkEP.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-BfhLnWA9.js → BillsBulkReviewDrawerPage-ZoFahXYa-BH-n-En_.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-C09MUjaB.js → BoxItem-XoWq-tnh-BmrAcTRu.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DG-QnMwN.js → BusinessVerificationPage-D9HtnNOu-FQn5FW8q.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-CXN2pQXQ.js → BusinessVerificationPageScreen-DB2AuUe-.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-BT75hsR0.js → BusyIndication-BLGcHlgu-d1oE1KKV.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-D2xaj4U6.js → CardNumberSubText-Cn0EZrNE-tK-yujMO.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-ZVP6lSdv.js → CashbackDetailPage-Bk5ssPnj-C8QC0Hig.js} +9 -9
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-CMq79ons.js → ChargeCardDetailPage-Ge9Aw7PA-DZlpK6dI.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-Cf4tW6na.js → ChargeCardListPage-BNLOoSv3-DV7-d8CD.js} +9 -9
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-DmEZHkoe.js → ChargeCardListTable-BoufojYF-Cnvek6YP.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-De2tWjhC.js → ChargeCardPaymentHistoryPage-5lUxK8pF-eVmFgfvo.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DnYu005E.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-Q_AcVfPK.js → ChargeCardRoutes-B4WS6JPM.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-CZCQ5HNb.js → ChargeCardSetupPage-Dqoel2Do-DOmmeiiu.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-5KsVWQ3X.js → ChargeCardStatementsPage-Dalrj66w-B8hsBg7k.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-KV4EdXpf.js → CheckDepositDrawerPage-mYjv1H0f-Cz8ArAIi.js} +7 -7
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-B5XVOChU.js → CollapsableReportTable-CIaa7SIH-BTOs1ROa.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-BUFWf_Jt.js → CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js} +7 -7
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-D3yBGMbD.js → CompanyPassportCard-B-mBb9Q5-DTZPiAcJ.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-DEw2KSMR.js → CompanyPassportPage-Blyl_Z-c-DaWkc5U5.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-7B6uf7gM.js → CompanyPassportScreen-DzV8epiZ.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-UkElY7yx.js → CompleteProfile-ySk9I1Ut-Co_b7X5p.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-zHdUBtAM.js → ConfettiBurst-CeAc4Ily-fAc6vAhM.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-LV19LrUf.js → ConnectionAuthScreen-XNPx_XcE.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CIRoVGoS.js → ConstrainedInnerElement-CgdnMeoA-CQrlu1iR.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-B7BE5vbO.js → CreateOrEditVendorPage-BRkqkhfw-6tasCpNK.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-CdWmI3zd.js → CreditCardPaymentDrawerPage-oUIakAtz-DpasI8GY.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-CLSx3dj2.js → CurrencySelectField-CSPhUjwG-QMsL0N8I.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-CqBRQYAW.js → CustomerOnboardingActivationPage-CoOyWe6_-Dn0m9Q2e.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-CPpHJyPJ.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-iH-ugk6E.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-DDxDa7To.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-DfrADWrN.js → CustomerOnboardingNoStepsPage-DWx46Z6R-Ba9gs9mp.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-89JMVlty.js → CustomerOnboardingPage-D86Sj2KP-BtfnNu-9.js} +3 -3
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-aePXzh9B.js → CustomerOnboardingProductSuitePage-Bo0LFveG-BnqGrm-5.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-CIx1-GM_.js → CustomerOnboardingRoutes-Cii6REat.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-BVeBVlwV.js → Dashboard-DQLJzr16-BXSSEaEy.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-DWbFRbgX.js → DashboardReportPage-CwfTMXY5-CyyBZOOf.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-0ryBDIPF.js → DashboardRoutes-DPYTQsIc.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Cyc1B4hB.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-Cr2AFDv0.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-CfqvxZPL.js → DefaultTenantHome-DShfBjyT.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL-CezsIYfK.js → DepositAccTransactionItem-Ci-LxLsk-Ba_0JQSS.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-Zcue0IvK.js → DepositAccTransactionListPage-RG7P8vQS-DbfwdIAf.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-Dt7o6kAb.js → DomesticWireDetailScreen-DdRhRffk.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CwtZcgDr.js → DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-BOGlUpUv.js → DownloadOverlay-BjTf50Dz-DEzcOvm5.js} +14 -14
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-CuJ6OWfo.js → DrawerPage-0OFinUxM-CdrQ9TzW.js} +1 -1
  82. package/dist/assets/{DrawerScreen-BoLS3cEF.js → DrawerScreen-BgWdy-zB.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-CS3sxfIN.js → EditPeoplePage-BKcOmYVv-D9y240Gc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-HAw3keDO.js → EditReimbursementDetailPage-BFIHhQbx-CqZ1c7qf.js} +1 -1
  85. package/dist/assets/EntityDetailPage-D8FzsqNk-DxrfKvnb.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-BToXXZKQ.js → EntityDetailRoutes-jLGbxUaz.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-BvfGPJV_.js → EntitySummarySection-ORJ2pE_k-BgNQmv_X.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DKKO1Jrc.js → ExpenseAutomationOverviewPage-Dzf7j2zV-gCWUW27x.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-C48GQ06z.js → ExpenseAutomationPage-BRsKGeoM-BXGFdyb-.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-GuaeYvX3.js → ExpenseAutomationRoutes-D9vGLTe3.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-DYMWp0fl.js → ExpressPayPage-DlBFtMaR-C8b9Izur.js} +6 -6
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-DesOgA9M.js → FeaturePreviewPage-C31F3Gmz-DHInFJNz.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-DKVtqlmL.js → FeaturePreviewScreen-BUEayEBU.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-CEWgMRa8.js → FollowStepsSection-BVT2K7mu-DYEgY8Jh.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-CR5AVKkp.js → GlobalReviewListPage-0cZe1hh0-BPLQx8Xp.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-CJPEq7Jn.js → InformationCardStack-t8eELRLU-Fl6DqL5O.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--Bl8IGBl8.js → InsightsCardStack-CJBPZbzD-DGmN2b_X.js} +6 -6
  98. package/dist/assets/InsightsSection-tUBzsCix-DIQLSRNu.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-BbqUP31g.js → IntegrationsSettingsPage-Ce0yKUWI-Dbrmpo2j.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-CVUjdU_d.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-OdDFheAC.js → InternationalWireVerificationPage-7tCXdJ3Y-BOpLh7TD.js} +10 -10
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-BQX11ciA.js → InviteFormPage-DePVC0CH-TfpQcbbS.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-CSYqsy-x.js → InvitePageListView-ChbvDKgQ-CxYzSS3J.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-CwQaZHmv.js → InvitePeoplePage-DJiEzIeY-YtuIrr11.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-JnVeVq04.js → InvoiceUploadSection-BjNMjhQR-B0WmHo8s.js} +12 -12
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-Cl_MHNbe.js → IssueChargeCardPage-4xbGf5Ut-CG64H4WO.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-DU9mrQ8B.js → LabeledAddressValue-Czt7QvSJ-ezeCCYD9.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-Coj2vGIo.js → LabeledAddressValueField-Dl3atH92-CBuLNDhF.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-CSRUO8Mc.js → LabeledControlledCheckBoxField-DT_nxhPN-DrCJem7I.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-0fn76-gA.js → LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-C4cpdoPU.js → LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-CQ4OV_q7.js → LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-OSl5UgSA.js → LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-DsHOn9-h.js → LabeledEmailInputField-C53P9fJl-BS-n0yyf.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-C2knR9hx.js → LabeledNameField-BdVztq_8-Cc3_vzCa.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-Be-7ukpv.js → LabeledSingleSelectField-sjDjhxfQ-DngJSR1z.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-a8-4xrHX.js → LabeledText-CFJSoGtK-hLpZiX2C.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-jZMMsugI.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-C9jHsUlw.js → LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-CD9ycgeo.js → LinkJETransactionPage-ANY7Ns42-CApOUFWk.js} +12 -12
  121. package/dist/assets/{LockCardPage-D2dUPnNL-CjHU-BzP.js → LockCardPage-0piclOz3-FnbsGUI5.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-aNudwoSx.js → LowBalancePopup-CplxkRHP-B1Znghgy.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-Ee7s37LW.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-ByrEtbtY.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-BpTLsET9.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B_At_wkT.js → MagicLinkRoutes-B8zheK-B.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-CB2sh4Tk.js → MagicLinkSignInScreen-qtJuxxon.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-B1_3zL4I.js → MagicLinkSuccessPage-BA1LfhVb-By8HxESz.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-DzfsAoNb.js → MagicLinkTitleSection-DLdaV8WG-BuvestSo.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-BNVPaGFt-De-HK05Q.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-D9B1riEd.js → MobileAppDrawer-CKcdPSDd.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-DxfOtpkn.js → MoreMenuButton-DrAQ635T-BL2i_PBG.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-vyWVBa3l.js → MyBankConnectionsSettingsPage-BiDvyO_G-BqsVQnsn.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-BfNnXoNe.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-DszbbtUq.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-BTNTNmEK.js → MyProfileSettingsPage-nY_eDqfm-aRf1sJOL.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-dfmiqqqq.js → NavBarWithPicker-Dr5XHgP5-CjhNLCso.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-BQwiFtSS.js → NavigationArrow-DT82hMh--BnPRXoeX.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DBa52_8H.js → NavigationDots-CwCZ9EAa-ovWuwmnJ.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-Bjv2RB8-.js → NewGlobalMerchantPage-D1lxnByE-D4tZVWQn.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-BwyLAmy8.js → NoDataChart-DCTRXLc7-C1K6noeS.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--CRikf6dL.js → NoDataTable-D8Xw5pAY-C0LyDZgH.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-C4zGt610.js → NotFoundPage-B_zPUigU-CFd5sZ-j.js} +8 -8
  143. package/dist/assets/{NotFoundScreen-DGF4ewvh.js → NotFoundScreen-CJqSMVfb.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BOCajdcJ.js → NotificationRoutes-j0M-AVSa.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-Exk6EXhh.js → NotificationSettingsPage-aKLRiMp--Vy4Thl7S.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-YO8sPuy3.js → NotificationsListConfig-CVEetkBc-BGp3geYy.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-BlxqoNKc.js → NotificationsPage-DEw6V83J-SkJPHzO4.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-DV1gdTtR.js → OpExByVendorPage-DJMov6Ux-CzqjhunS.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-Bb0zlii5.js → OverlayContainerPage-BG9y5C0t-CuyJ8LZt.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-BXsQyBSk.js → PandLWithForecastPage-RBTh1bFk-BwnpORkG.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-DUjvSQn1.js → PandLWithForecastRoutes-J6LmjJ1B.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-CQR83EXw.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-CyfJaF0_.js → PeoplePage-BEc-Oss7-DoZuQeL3.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-DWTFCJOs.js → PeopleRoutes-C0vyagIg.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-DAqkD2US.js → PerformanceRoutes-zXK3SrhB.js} +1 -1
  156. package/dist/assets/{Preview-BOuv1ApV.js → Preview-COp40RlO.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-CXROneWv.js → ProductsCarousel-BRo0P4GW-Bu_QsU8W.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-CdxIVd7h.js → PromoBaseCards-BrXJEufN-C4zOhiIC.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-Bns4Q1dD.js → QBOConnectionDialog-BIg9Iais-CzdJGXEh.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-BzZBkC05.js → QBOConnectionScreen-DROpihDX.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-CCZ1VagE.js → QBOSetupSection-DDoUJ7L6-qtD1b_uv.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-CRs7Pk4b.js → ReferralListScreen-Bkepb1RS.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-XjY3gDt6.js → ReimbursementApprovalRoutes-B_Qw-_-n.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-CWKcEqcV.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-B40CL0Ys.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CxSdKHi9.js → ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-CChCQ3Ja.js → ReimbursementApprovalRulesPage-BpVWq3rk-pDKAG_dA.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-BWOIR-bJ.js → ReimbursementDetailPage-pCg86_Ty-BwD3VA7C.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-DwHvaE_-.js → ReimbursementPromoPage-BW6icjG5-CwTaRQC0.js} +6 -6
  169. package/dist/assets/{ReimbursementRoutes-CvpKnwwj.js → ReimbursementRoutes-kGf8y_Pc.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-CscUt_mO.js → ReimbursementSetUpPage-B6OhWEWH-CGJsBL7Z.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-B1Lp4xHp.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DV9AjOeD.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-f2yTtdPG.js → ReloadCard-DIFXZM9U-DuI83eQl.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-DSV7knFo.js → ReportTableViewSelector-BsIDwouQ-DLCe8EfR.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-DTQ_WR-z.js → ReportsPage-BFTuYQt2-BHmgPSl5.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-CuJzeSSZ.js → ReportsRoutes-DaW9sMcm.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-BaW-ee-H.js → RevenueChart-BoFq3ebd-B1Jmsn3P.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-DpkHrzHu.js → ReviewDetailsPage-6kCQzaHm-Cn6HDwAl.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-BJLc1VC5.js → ReviewOverlay-Dhb-kL6G-BfSpCmKQ.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-DR53o9JA.js → RewardsRoutes-ZPHX_bEI.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-BFoZQpPA.js → RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-DDQ83sDS.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-BRbRv99B.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-DsuykU2q.js → ScheduleDetailsPage-D4LK83qQ-C27rzfV2.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-CnUEqaUu.js → ScheduleSequenceTable-BZR2cL6z-BUCxLw4U.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-Cj2iuXVM.js → ScreenRoutes-DUg5kVGG.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-l5hcQr16.js → SetUpAccountSection-CxjYbrXu-D_xZkN4u.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BxSbNmrP.js → SettingsRoutes-BrYKFKqU.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-zQ3NX2lR.js → SetupPagesScreen-BDAmd8Nv.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-HA_1dqj8.js → SignIn-CVmtPGKL-BjZd_WFj.js} +6 -6
  189. package/dist/assets/{SignInScreen-CELs0Aza.js → SignInScreen-BwyzU0FU.js} +1 -1
  190. package/dist/assets/{SignOutScreen-Drnn4I9w.js → SignOutScreen-DIMehMGL.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-B4S5gwAW.js → SpendManagementListViewPage-BLjP9T8h-zDO_JYhV.js} +4 -4
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-Doh8LRUx.js → SpendManagementPerTabPage-Ck4brjun-DcKQnpZe.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-Cx9bexj6.js → SpendManagementSection-DAqR2c98-Cn1QTtEj.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-DBo43N4H.js → StatementItem-B_iG99XI-BTCPeQVA.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cp77wyFS-DaxbhsSQ.js → StatementsPage-DcKziEfZ-Ckb4n5eQ.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-Cu3f5bfq.js → StatusSwitcher-BI-dgnrK-D9HsJYc3.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-CAQ9zzl5.js → SubTabSwitcher-BpNI5Wke-J6S5GWya.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CEynHwH0.js → SuccessAnimation-AojDorqX-DelQrrOf.js} +1 -1
  199. package/dist/assets/SummaryCard-HW-1WXN9-DmGROxw-.js +1 -0
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-Bv_CIrcO.js → TaskDetailPage-Cwe193JO-B3mrz9Ub.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DF7HvN9h.js → TaskListScreen-BkKSoC_l.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-CcdtHiNd.js → TaskManagementPage-Bz1uP5hK-CqiPZXfA.js} +28 -28
  203. package/dist/assets/{TaskRoutes-DxF_jRUO.js → TaskRoutes-BGbHdjST.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-Cje_LjEs.js → TimeRangeSwitcher-oORYeFzN-Bcz5e_ib.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-9PZp4BSK.js → TimeframeSwitcher-JcJSbn0--fOirrXtT.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-D0eIiKbV.js → TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js} +2 -2
  207. package/dist/assets/{TopExCard-PayAZZY--Bj-aVuk-.js → TopExCard-CF6z0JWk-aJxcszKV.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-C_nzfxYJ.js → TopExDetailPage-DrcKlFuy-oABFUcUd.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-DdEnXJ8f.js → TransactionActivityLogPage-BB4q0jan-DmLyvTEw.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-JVQYT9QH.js → TransactionDetailPage-DRG_qosz-BtS_tJXW.js} +22 -22
  211. package/dist/assets/{TransactionDetailRoutes-Dsu-ghiL.js → TransactionDetailRoutes-BqT5fc1q.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-8GuKlcKa.js → TransactionDetailScreen-CAd4Ee0D.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-qlUBYIHt.js → TransactionList-iw4pyMYF-DcV99PuO.js} +9 -9
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-7hp5f6-i.js → TransactionListBig-BljAUwAB-CgBr6OF2.js} +6 -6
  215. package/dist/assets/TransactionListPage-ReGTmF43-DlTPQjmK.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-DVQtuZtB.js → TransactionListRoutes-BhvTNW6M.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-DR6QT97k.js → TransactionVendorDetailPage-DXuYIj-p-BYLZbSnP.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-Cu4oX3M3.js → TransferDrawerPage-C3q8h8Zy-C9Bu2kIu.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-C8QrAhwL.js → TreasuryOverviewPage-DqjFEV9B-CYFYYxZY.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-exH2M4Kq.js → TreasuryPromoPage-ByeK0W_5-CfOqREZ0.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-NYBhe4Sz.js → TreasuryRoutes-CP_kclcP.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-CyFCCkuV.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-DmWWAi8g.js → TreasuryTaxLetterPage-DwLyqS86-DUS4dLDe.js} +4 -4
  224. package/dist/assets/{TrendChart-BvXDrgUJ-DaPNeQha.js → TrendChart-Dgh_21FN-DldNMNLW.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-xFzViS9J.js → TrendWithTransactions-BgIPapHk-yF3cpnF6.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-CWDJigyo.js → UncategorizedAccountsMappingPage-DIIJcGrj-DpxmnOrf.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-BqTrIaLn.js → UnitIntegrationPage-DIOZhQOZ-D5vOldwB.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-CvQ8tJ-8.js → UploadAdditionalDocumentOverlay-qrcEQmkz-DEAH1rR2.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-CGjK9uo8.js → Vendor2FAPopup-C58w6vC7-B6Whv7tb.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-BMYPvmSB.js +1 -0
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-Bs6JWCG0.js → VendorDetailPage-CEQFcNHr-CX9v8TJZ.js} +11 -11
  232. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-CcLCcIv4.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-Dbk4Mp2s.js → VendorFiling1099EditablePage-Dl7jZYBV-DZmwa4DL.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-_y9eg1t7.js → VendorFirstReviewPage-yVbtg_tG-vnisIb8R.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-DhB1w2yC.js → VendorInternationalWireDetailsPage-DNDv_s8G-f9eGCIqU.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-CeTlsL7U.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-DqIvcWpM.js → VendorsAccountsSection-Cscbgqrx-Zty_2Das.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-KueNgBM0.js → VendorsRoutes-0dl7Omuv.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-M7g6H0jm.js → VerifyDevice-D1vsUSdJ-hlyDWjEh.js} +5 -5
  240. package/dist/assets/{VideoPlayer-53OvOC7l-RvSvHksJ.js → VideoPlayer-TlEy-oD0-DnsdEgv4.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-7jf9bldH.js → VideoPopup-3DD646kG-BEeSChGm.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-ZA8zS_nU.js → WiseConfirmationScreen-BW6hT1Lt.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-typbF83j.js → ZeniAccountDetailPage-BbsXzuHD-DIIfMLh3.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-DjfKcyrL.js → ZeniAccountListViewPage-lmuVUpKS-DSNsPUPM.js} +21 -21
  245. package/dist/assets/ZeniAccountNavBarPieces-CQhwBKXD-CSe8C_Ya.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-DJyZmW1d.js → ZeniAccountPromoPage-CXEb9tRE-DBFLOPLE.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-_rESdYK7.js → ZeniAccountRoutes-CAjxqnTS.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-DbUwbU98.js → ZeniAccountSetupPage-DPhYQu6u-B9IBOs3Q.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-CXTN4TcP.js → ZeniAccountStatementScreen-I7iDP5eY.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-Dr9Hk39M.js → ZeniAvatar-CCOD249Z-DHdRsr5H.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-DYheSP80.js → ZeniCopyright-pvaggW6x-DhIa5hzn.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-CtKXessM.js → ZeniDatePicker-EhzRlpFY-Bagds5F3.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-BwOaWtqI.js → ZeniTransferAmountSlider-Dlyom9dD-CMHS5vTr.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BLU8hIq_.js → accountMappingHelper-DeA_Vzuk.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-Cv2WBwY-.js → add-to-wallet-DgdBD8_G-DSVHJQZ8.js} +1 -1
  256. package/dist/assets/{analytics-DuMT4wpV.js → analytics-hnA26KoH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qtejXlXH-d-w7uTbl.js → analyticsHelper-AeOsAjMK-B2elKvEV.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CtwnuYac.js → analyticsHelper-C6d1RQIz.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-DWItiKv4.js → arrow-south-east-round-PEovUgvH-C7VEDzJz.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-DVkawdL2.js → auto-transfer-rule-mbafm5D3-CvacsS1B.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-VXKNqIyu.js → avatar-Dz7aEm3d-BBjMxgr_.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-v-zvGYkf.js → bank-letter-BOcVjN6J-BDC6rOv1.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-DkEz7M5T.js → calculateSize-D-LzlJzs-DNCT8MgL.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-DnPOTdta.js → chartTypes-BLsP7rGF-Cjsgj_un.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-DTBXHHGh.js → clock-CJkylEKt-CTyWvBpx.js} +1 -1
  266. package/dist/assets/common-CAmBErdt-BVIeK7KA.js +1 -0
  267. package/dist/assets/{commonDimensions-CzWWgDTA-CkwNwI_N.js → commonDimensions-DIm7kTtR-DqNzhcTL.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-CFnrHGdI.js → commonTypes-B3mnx2x_-C4g4js89.js} +1 -1
  269. package/dist/assets/{core-Dbakk1VU.js → core-DuCBl3U1.js} +1 -1
  270. package/dist/assets/{dash.all.min-C8PYPQo3.js → dash.all.min-DJBtyB-p.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-EYVZFaGG.js → decodeURIComponentSafe-B5ZlGWkv.js} +1 -1
  272. package/dist/assets/{dnd-CoZK9h43.js → dnd-BPJHdlPA.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-PE8nVeMR.js → dollar-round-D18u7nlm-C91Luiym.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-2RXX_qzA.js → downloadPdf-B5WrL0K1-C6-xl2en.js} +1 -1
  275. package/dist/assets/{empty-C3KqHyA9.js → empty-BcYVHaFA.js} +1 -1
  276. package/dist/assets/{empty-CjUOQS3C.js → empty-UwS7bCyx.js} +1 -1
  277. package/dist/assets/{epic-BGBLm-VW.js → epic-DAzl9zmQ.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-KJVxW4YT.js → filter-cZIFUNvj-CU1t2o_9.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-BAO89gke.js → getLocaleForTenant-B4PeqeqG.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-Bfn5R-O9.js → gift-box-Cmt9OgIZ-CTJlvd1T.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BFYI8sfE.js → graphic-no-data-l-DU4J8fDt-Gma2xMWq.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DgQOtljq.js → graphic-no-data-net-burn-l-CzmycA0m-D0m0NfVz.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DOXeNqAW.js → handshake-BPg58FML-DVgbSASX.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-DjqGilVF.js → helper-BVESv00--BfyFxQUD.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-BPv_vjnI.js → hyperlink-DQyCeXx2-i9FNT3rr.js} +1 -1
  286. package/dist/assets/{index-BG4JRo3L.js → index-5deWfiyy.js} +1 -1
  287. package/dist/assets/{index-dCAlFLzb.js → index-BO-jmwXl.js} +1 -1
  288. package/dist/assets/{index-DD0lDka6.js → index-C0E4etuS.js} +1 -1
  289. package/dist/assets/{index-BdbGtEP2.js → index-CqCwZ9Bo.js} +1 -1
  290. package/dist/assets/{index-CH6Xem9w.js → index-TFe4MZqS.js} +1 -1
  291. package/dist/assets/{index-iSEGT9xi.js → index-bPu7mlA1.js} +7 -7
  292. package/dist/assets/{lexical-Dk5TD4lX.js → lexical-Ct26b5l4.js} +1 -1
  293. package/dist/assets/{liveblocks-DdnYk2Co.js → liveblocks-UDiQs1XL.js} +1 -1
  294. package/dist/assets/{lottie-DBYzZfO9.js → lottie-DyJgmWhI.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CvJBQQvj.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-D5MLuJek.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-ByugsxAl.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-DAlg0uz7.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-acr__MkP.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BJN9BucH.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-DcnMdcWy.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-CbmdzU04.js} +1 -1
  301. package/dist/assets/{media-player-C20hpg6W.js → media-player-Bc2nje5G.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DnxgWofF.js → money-2cg1MuG4-BqWS5D8h.js} +1 -1
  303. package/dist/assets/{mui-Bg5IRLA2.js → mui-CvPZa6D0.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-XQ_ZOvdt.js → page-detail-CWX5S47F-OEFqGWSt.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-DKN2ai-q.js → page-summary-D7_VQHwN-CzEvyMZF.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-C6CCGzAz.js → panelSelectedMixin-Cddsb26L-CcaPMjiP.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BLk7pE4i.js → pathToGoBack-BdyVSZWc.js} +1 -1
  308. package/dist/assets/{pdf-2PUMrtF-.js → pdf-LR9rRMEe.js} +3 -3
  309. package/dist/assets/{pdf-lib-DlaDOnMS.js → pdf-lib-B2ywHAlU.js} +1 -1
  310. package/dist/assets/{plaid-DCRMdnUX.js → plaid-C4PyP873.js} +1 -1
  311. package/dist/assets/{pusher-DjPz7AVp.js → pusher-Cr29ksza.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-B6m2tow9.js → radio-default-CiSgisfh-CvJrfQYK.js} +1 -1
  313. package/dist/assets/{react-DPKlRGpY.js → react-B7DTlDjT.js} +1 -1
  314. package/dist/assets/{react-BRYNjAhe.js → react-BKUY-Nle.js} +1 -1
  315. package/dist/assets/{react-BpovbSPi.js → react-BpPHxptQ.js} +1 -1
  316. package/dist/assets/{react-BtvC2hyM.js → react-CC2kbVB0.js} +1 -1
  317. package/dist/assets/{react-C1B10AWi.js → react-D8ws7sMn.js} +1 -1
  318. package/dist/assets/{react-BtDFM6dw.js → react-DgBIg1r8.js} +1 -1
  319. package/dist/assets/{react-mssibIlX.js → react-S5J_OrT1.js} +3 -3
  320. package/dist/assets/{react-Cu5T4aA9.js → react-p9LV8Gbe.js} +1 -1
  321. package/dist/assets/{recharts-Bztd37V0.js → recharts-7AyWv7E-.js} +1 -1
  322. package/dist/assets/{routePaths-BxZ6qL2m.js → routePaths-rBllTjJq.js} +1 -1
  323. package/dist/assets/{sentry-DwNPvXBL.js → sentry-uXR4_KRo.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-BW1Lfeco.js → shield-DOlUxcFf-Bahpx3SF.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BsKlbYVQ.js → spend-limit-D6SyboD4-lpJ_hpRn.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-BWMF0py6-CojDIytn.js +1 -0
  327. package/dist/assets/{toChartData-CWgd8E5c-vscPIv0G.js → toChartData-BkubFDq8-CyY5jx0a.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-BWj2A57R.js → transaction-placeholder-CpOwZAMG-Bn-8TRqx.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-CGq1U42f.js → undo-b_3XZ5CX-Bwi1P-k2.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-C6sn8W4Z.js → unlock-BPWn2I5L-BihjIVk1.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-DPTiDKCC.js → upload-reimbursement-receipt-O2N8vcO7-BrS_KRA7.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-DXUbgDE0.js → uploadAttachment-CzgakLtr-D9IiqYxz.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-b3VtRXVk.js → uploadReceipts-CIgkuVpu-7sbogiaq.js} +1 -1
  334. package/dist/assets/{url-Cxz1BfkB.js → url-DK_QsAj3.js} +1 -1
  335. package/dist/assets/{url-DIYU8sPo.js → url-DnJ-MRbo.js} +1 -1
  336. package/dist/assets/{useDeviceId-TTbuzrLv.js → useDeviceId-D6CPIX5r.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BftSmmiq.js → useInitialThreadRequest-D7H0jhrF.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-Cv3WvBA2.js → useLongPress-GCK2COYQ-BV6rxzXX.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DX-ha8_c.js → usp-line-BBd1wKwW-DYAH7Au1.js} +1 -1
  340. package/dist/assets/{utils-D8l6svaX.js → utils-DXqO5lkM.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-B9lAl4_T.js → withTransactionSidePanel-BzT1kjjx.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-DQF5EBoo.js → zeni-epic-state-BDdTNPzg.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-CG_yKzSn.js → zeni-icon-only-Cldmtd10.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-CrEEthms-CShh3lti.js +0 -18
  347. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-CtgAcmuQ.js +0 -27
  348. package/dist/assets/ChargeCardPromoPage-6JwKgWli-3qEX8CR5.js +0 -222
  349. package/dist/assets/CustomerOnboardingAuthScreen-7W5EArl5.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-UuDDkSt5.js +0 -1
  351. package/dist/assets/EntityDetailPage-CvLzsrUE-Dr8rmeD7.js +0 -18
  352. package/dist/assets/InsightsSection-D9PJ55E6-Br2S_mzj.js +0 -27
  353. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BH-mUM2m.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-BJlbALp7.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-B5CdjKd2.js +0 -1
  356. package/dist/assets/MailingDetailsSection-DiZwQ9QV-DS2ZtXrV.js +0 -21
  357. package/dist/assets/SummaryCard-DgIPSt4y-9lOT4ZI5.js +0 -1
  358. package/dist/assets/TransactionListPage-D_dgwnFp-ChsX6wWw.js +0 -35
  359. package/dist/assets/TreasuryStatementsPage-DOzJzfTG-D2BPEanX.js +0 -58
  360. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-Vnc2qc0g.js +0 -1
  361. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-BA4CpK_P.js +0 -1
  362. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-r4FuxoOX.js +0 -1
  363. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-DzYraOow.js +0 -33
  364. package/dist/assets/common-BxjzMhDO-DjrSaNg9.js +0 -1
  365. package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh-C62pjQWQ.js +0 -1
  366. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-1RH2DZQ7.js +0 -1
  367. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-C2Dl8nFW.js +0 -1
  368. package/dist/assets/toCOABalancesWithID-B70YK7cw-Cqus0iZx.js +0 -1
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-bPu7mlA1.js";import{f as l}from"./ACHDetailsPage-iiVBlQka-kJJwShx9.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import"./MagicLinkTitleSection-DLdaV8WG-BuvestSo.js";import"./BankAccountSection-DnBVOkJC-Bn2rFs67.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="59df29fd-b6cf-4f12-a09a-75e5b7d73eac",t._sentryDebugIdIdentifier="sentry-dbid-59df29fd-b6cf-4f12-a09a-75e5b7d73eac")}catch{}})();const L=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:m,error:c,bankNameByRouting:d,bankAccountToCreate:s,fetchBankNameByRoutingStatus:f}=e,{currencySymbol:p,amount:u}=t;return b.jsx(l,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:d,fetchBankNameByRoutingStatus:f,onSaveHandler:a,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:p,amount:u})};export{L as default};
@@ -0,0 +1 @@
1
+ import{V as f}from"./index-bPu7mlA1.js";import{y as k}from"./DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./BankAccountSection-DnBVOkJC-Bn2rFs67.js";import"./MagicLinkTitleSection-DLdaV8WG-BuvestSo.js";import"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import"./MailingDetailsSection-BNVPaGFt-De-HK05Q.js";import"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="27b61384-8afb-4e93-8bb1-bd6d85043335",e._sentryDebugIdIdentifier="sentry-dbid-27b61384-8afb-4e93-8bb1-bd6d85043335")}catch{}})();const H=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:o,isDisabled:a,companyName:n,onSaveHandler:i,onWireDetailsUpdated:r,onFetchBankName:d,onAddressClick:s})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:b,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:l,amount:y}=e;return f.jsx(k,{bankAccountToCreate:b,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:o,addressType:"vendor_address",fetchBankNameByRoutingStatus:u,isDisabled:a,onSaveHandler:i,onWireDetailsUpdated:r,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:y})};export{H as default};
@@ -0,0 +1 @@
1
+ import{V as y}from"./index-bPu7mlA1.js";import{f as k}from"./InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./mui-CvPZa6D0.js";import"./recharts-7AyWv7E-.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js";import"./MailingDetailsSection-BNVPaGFt-De-HK05Q.js";import"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";import"./MagicLinkTitleSection-DLdaV8WG-BuvestSo.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="541cfcc0-ac04-49ef-a3f5-4efb2118f16c",t._sentryDebugIdIdentifier="sentry-dbid-541cfcc0-ac04-49ef-a3f5-4efb2118f16c")}catch{}})();const F=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:d,internationalBankAccountToCreate:m,fetchBankNameBySwiftStatus:f,bankNameBySwift:p}=e,{currencySymbol:l,amount:u}=t;return y.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:d,bankNameBySwift:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:c,onFetchBankNameBySwift:s,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./pdf-2PUMrtF-.js";import{l as w,k as x,j as $,h as S,i as Z,o as ee,u as A,N as te,R as ae,m as p}from"./core-Dbakk1VU.js";import{Hq as y,Hr as j,Hs as L,vF as I,vq as N,Ht as C,Hu as ne,Hv as oe,vu as ie,cu as v,vC as se,vy as le}from"./zeni-epic-state-DQF5EBoo.js";import{e as g,o as r,jK as re,jz as k,jD as E,jL as de,jM as ce,jN as me,jO as F,aE as pe,aG as ue,jP as he,N as xe,y as ge,jQ as be,bk as fe,L as we,jR as Se,x as ye,jS as je}from"./index-iSEGT9xi.js";import{n as c}from"./mui-Bg5IRLA2.js";import b from"./NotFoundScreen-DGF4ewvh.js";import{a as P}from"./sentry-DwNPvXBL.js";import{S as ke}from"./zeni-icon-only-CG_yKzSn.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5eb4f8ce-b089-4b39-b184-11e33d623227",e._sentryDebugIdIdentifier="sentry-dbid-5eb4f8ce-b089-4b39-b184-11e33d623227")}catch{}})();const ve=c.div`
1
+ import{j as t}from"./pdf-LR9rRMEe.js";import{l as w,k as x,j as $,h as S,i as Z,o as ee,u as A,N as te,R as ae,m as p}from"./core-DuCBl3U1.js";import{Hq as y,Hr as j,Hs as L,vF as I,vq as N,Ht as C,Hu as ne,Hv as oe,vu as ie,cu as v,vC as se,vy as le}from"./zeni-epic-state-BDdTNPzg.js";import{e as g,o as r,jK as re,jz as k,jD as E,jL as de,jM as ce,jN as me,jO as F,aE as pe,aG as ue,jP as he,N as xe,y as ge,jQ as be,bk as fe,L as we,jR as Se,x as ye,jS as je}from"./index-bPu7mlA1.js";import{n as c}from"./mui-CvPZa6D0.js";import b from"./NotFoundScreen-CJqSMVfb.js";import{a as P}from"./sentry-uXR4_KRo.js";import{S as ke}from"./zeni-icon-only-Cldmtd10.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="5eb4f8ce-b089-4b39-b184-11e33d623227",e._sentryDebugIdIdentifier="sentry-dbid-5eb4f8ce-b089-4b39-b184-11e33d623227")}catch{}})();const ve=c.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as u}from"./pdf-2PUMrtF-.js";import{a as f}from"./sentry-DwNPvXBL.js";import{i as U,h as H,j as _,o as w,u as l,N as j}from"./core-Dbakk1VU.js";import{js as r,y as M,O as P,jE as V,jz as A,J as N,jI as G,L as $,jG as J}from"./index-iSEGT9xi.js";import{ct as R,H9 as W,Hn as q,Ha as B,cu as K,c$ as Q,Hj as X,dn as Y,Gk as Z,Ho as ee,Hp as te}from"./zeni-epic-state-DQF5EBoo.js";import{n as ne}from"./mui-Bg5IRLA2.js";import{u as se}from"./useDeviceId-TTbuzrLv.js";import{f as ae}from"./analyticsHelper-CtwnuYac.js";import{t as ie}from"./getLocaleForTenant-BAO89gke.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a8bf9fd5-ca68-44ec-bffc-31cd72107857",t._sentryDebugIdIdentifier="sentry-dbid-a8bf9fd5-ca68-44ec-bffc-31cd72107857")}catch{}})();const T=(t,a)=>t!=null&&t.length>0&&a==="magic_links";function Le(){const t=U(),a=H(),m=_(),[y]=w(),n=y.get("token"),p=y.get("stytch_token_type"),g=r.getMagicLinkCodeVerifier(),i=se(),{otpChallenge:d,twoFAPhoneNumber:x,magicLinkEmail:c,verifyDeviceFetchState:z,resendVerifyDeviceOTPFetchState:C}=l(e=>e.tenantState),S=l(e=>e.tenantState.fetchState),b=l(e=>e.tenantState.activeTenantFetchState.fetchState),I=l(e=>e.tenantState.signInState),h=l(e=>e.tenantState.magicLinkSignInFetchState.fetchState),s=l(e=>e.tenantState.loggedInUser),o=l(e=>R(e)),k=l(e=>W(e)),D=r.getSignedInUser(),v=M().mode;f.useEffect(()=>{s?.zeniSessionId==null&&n!=null&&T(n,p)&&i!=null&&g!=null&&(r.saveMagicLinkTriggered(n),t(q(n,i,g)))},[n,p,t,i,g,s?.zeniSessionId]),f.useEffect(()=>{I!=="In-Progress"||S!=="Completed"&&b!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(B(k.tenantsInOrder),s.zeniSessionId),K(s.userId,s.zeniSessionId,o.tenantId),t(Q(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(X("Completed")),P.updateAppLocaleID(ie(o)),ae(s,o,v,void 0,k.tenantsInOrder),Y().then(()=>{const e=J();e!=null&&V(e)}),setTimeout(()=>{A.trackLogin(N.Event.loginSuccess,"email",Z(o.productSettings))},2e3))},[I,S,b,s,o,k,v,a.state,t]);const E=f.useCallback(()=>{m("/signin/auth")},[m]),F=f.useCallback(()=>{i!=null&&d!=null&&c!=null&&t(ee(i,c,d))},[i,d,t,c]),O=f.useCallback(e=>{i!=null&&n!=null&&c!=null&&d!=null&&t(te(e,i,c,d))},[i,n,t,c,d]);if(h==="Completed"&&d!=null)return u.jsx(G,{phoneNumber:x,verifyOtpFetchState:z.fetchState,resendVerifyDeviceOTPFetchState:C,onResendOtp:F,onVerifyOtp:O,onCancelVerifyDevice:E});if(I==="In-Progress"&&S==="Completed"&&s?.zeniSessionId!=null&&o!=null||D!=null){const e=a.state?.origin??"/";return u.jsx(j,{to:e,state:{...a.state,origin:""}})}if(!T(n,p)||g==null||h==="Error"){const e=a.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(j,{to:e,state:{...a.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx($,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
1
+ import{j as u}from"./pdf-LR9rRMEe.js";import{a as f}from"./sentry-uXR4_KRo.js";import{i as U,h as H,j as _,o as w,u as l,N as j}from"./core-DuCBl3U1.js";import{js as r,y as M,O as P,jE as V,jz as A,J as N,jI as G,L as $,jG as J}from"./index-bPu7mlA1.js";import{ct as R,H9 as W,Hn as q,Ha as B,cu as K,c$ as Q,Hj as X,dn as Y,Gk as Z,Ho as ee,Hp as te}from"./zeni-epic-state-BDdTNPzg.js";import{n as ne}from"./mui-CvPZa6D0.js";import{u as se}from"./useDeviceId-D6CPIX5r.js";import{f as ae}from"./analyticsHelper-C6d1RQIz.js";import{t as ie}from"./getLocaleForTenant-B4PeqeqG.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a8bf9fd5-ca68-44ec-bffc-31cd72107857",t._sentryDebugIdIdentifier="sentry-dbid-a8bf9fd5-ca68-44ec-bffc-31cd72107857")}catch{}})();const T=(t,a)=>t!=null&&t.length>0&&a==="magic_links";function Le(){const t=U(),a=H(),m=_(),[y]=w(),n=y.get("token"),p=y.get("stytch_token_type"),g=r.getMagicLinkCodeVerifier(),i=se(),{otpChallenge:d,twoFAPhoneNumber:x,magicLinkEmail:c,verifyDeviceFetchState:z,resendVerifyDeviceOTPFetchState:C}=l(e=>e.tenantState),S=l(e=>e.tenantState.fetchState),b=l(e=>e.tenantState.activeTenantFetchState.fetchState),I=l(e=>e.tenantState.signInState),h=l(e=>e.tenantState.magicLinkSignInFetchState.fetchState),s=l(e=>e.tenantState.loggedInUser),o=l(e=>R(e)),k=l(e=>W(e)),D=r.getSignedInUser(),v=M().mode;f.useEffect(()=>{s?.zeniSessionId==null&&n!=null&&T(n,p)&&i!=null&&g!=null&&(r.saveMagicLinkTriggered(n),t(q(n,i,g)))},[n,p,t,i,g,s?.zeniSessionId]),f.useEffect(()=>{I!=="In-Progress"||S!=="Completed"&&b!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(B(k.tenantsInOrder),s.zeniSessionId),K(s.userId,s.zeniSessionId,o.tenantId),t(Q(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(X("Completed")),P.updateAppLocaleID(ie(o)),ae(s,o,v,void 0,k.tenantsInOrder),Y().then(()=>{const e=J();e!=null&&V(e)}),setTimeout(()=>{A.trackLogin(N.Event.loginSuccess,"email",Z(o.productSettings))},2e3))},[I,S,b,s,o,k,v,a.state,t]);const E=f.useCallback(()=>{m("/signin/auth")},[m]),F=f.useCallback(()=>{i!=null&&d!=null&&c!=null&&t(ee(i,c,d))},[i,d,t,c]),O=f.useCallback(e=>{i!=null&&n!=null&&c!=null&&d!=null&&t(te(e,i,c,d))},[i,n,t,c,d]);if(h==="Completed"&&d!=null)return u.jsx(G,{phoneNumber:x,verifyOtpFetchState:z.fetchState,resendVerifyDeviceOTPFetchState:C,onResendOtp:F,onVerifyOtp:O,onCancelVerifyDevice:E});if(I==="In-Progress"&&S==="Completed"&&s?.zeniSessionId!=null&&o!=null||D!=null){const e=a.state?.origin??"/";return u.jsx(j,{to:e,state:{...a.state,origin:""}})}if(!T(n,p)||g==null||h==="Error"){const e=a.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(j,{to:e,state:{...a.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx($,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{z as n,O as s,V as t,ap as l,o as r,r as a,c2 as c,n as d}from"./index-iSEGT9xi.js";import{n as i}from"./mui-Bg5IRLA2.js";import"./sentry-DwNPvXBL.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b7315529-2a46-4e77-8296-2c19e4b60106",e._sentryDebugIdIdentifier="sentry-dbid-b7315529-2a46-4e77-8296-2c19e4b60106")}catch{}})();const S=()=>{const[e]=n("Confetti"),o=s.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(f,{children:t.jsx(b,{})}),t.jsxs(m,{children:[t.jsx(g,{children:o.successTitle}),t.jsx(u,{children:o.successNote})]})]}):null},p=i.div`
1
+ import{z as n,O as s,V as t,ap as l,o as r,r as a,c2 as c,n as d}from"./index-bPu7mlA1.js";import{n as i}from"./mui-CvPZa6D0.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b7315529-2a46-4e77-8296-2c19e4b60106",e._sentryDebugIdIdentifier="sentry-dbid-b7315529-2a46-4e77-8296-2c19e4b60106")}catch{}})();const S=()=>{const[e]=n("Confetti"),o=s.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(f,{children:t.jsx(b,{})}),t.jsxs(m,{children:[t.jsx(g,{children:o.successTitle}),t.jsx(u,{children:o.successNote})]})]}):null},p=i.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{O as d,ag as p,V as n,c2 as f,o as a,l as C,f as g,bH as m}from"./index-iSEGT9xi.js";import{n as t}from"./mui-Bg5IRLA2.js";import{a as c}from"./sentry-DwNPvXBL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="70af0634-eaf9-4268-a0cc-8cbafdfc4454",e._sentryDebugIdIdentifier="sentry-dbid-70af0634-eaf9-4268-a0cc-8cbafdfc4454")}catch{}})();const $=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,s)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(u,{children:o}),n.jsxs(h,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(y,{children:[n.jsx(b,{}),i.encrypted]})]})]})},y=t(m)`
1
+ import{O as d,ag as p,V as n,c2 as f,o as a,l as C,f as g,bH as m}from"./index-bPu7mlA1.js";import{n as t}from"./mui-CvPZa6D0.js";import{a as c}from"./sentry-uXR4_KRo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="70af0634-eaf9-4268-a0cc-8cbafdfc4454",e._sentryDebugIdIdentifier="sentry-dbid-70af0634-eaf9-4268-a0cc-8cbafdfc4454")}catch{}})();const $=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,s)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(u,{children:o}),n.jsxs(h,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(y,{children:[n.jsx(b,{}),i.encrypted]})]})]})},y=t(m)`
2
2
  display: flex;
3
3
  gap: ${a.sp1};
4
4
  color: ${g.successDark};
@@ -0,0 +1,21 @@
1
+ import{e as b,O as h,x as r,V as d,o as a,cf as u,at as $,m as i}from"./index-bPu7mlA1.js";import{n as g}from"./mui-CvPZa6D0.js";import{C as y}from"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="cc8479e9-ac7f-4115-a54a-4f09527493a3",e._sentryDebugIdIdentifier="sentry-dbid-cc8479e9-ac7f-4115-a54a-4f09527493a3")}catch{}})();const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},D=({sectionId:e,addressToEdit:s,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=b(),t=h.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=o.largeLabelWidth.value(l);return d.jsxs(d.Fragment,{children:[d.jsx(v,{size:l,children:t.addressDetailTitle}),d.jsx(x,{size:l,children:d.jsx(y,{isDisabled:m,label:{label:t.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:u(t.address),defaultValue:s,registerOptions:{validate:f=>f!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,s)=>`${e}.${s}`,x=g.div`
2
+ width: auto;
3
+ display: flex;
4
+ flex-direction: column;
5
+ background-color: ${e=>e.theme.colors.grey5};
6
+ border: 1px solid ${e=>e.theme.colors.grey3};
7
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
8
+ border-radius: ${a.sp2};
9
+ margin-left: ${e=>o.marginLeft.valuePx(e.size)};
10
+ margin-right: ${e=>o.marginRight.valuePx(e.size)};
11
+ margin-top: ${e=>o.paddingTopBottom.valuePx(e.size)};
12
+ margin-bottom: ${e=>o.paddingTopBottom.valuePx(e.size)};
13
+ &:hover {
14
+ border: 1px solid ${e=>e.theme.colors.primary};
15
+ }
16
+ `,v=g($)`
17
+ color: ${e=>e.theme.colors.primary};
18
+ margin-bottom: ${a.sp3};
19
+ margin-top: ${a.sp5};
20
+ margin-left: ${e=>o.marginLeftTitle.valuePx(e.size)};
21
+ `;export{D as T};
@@ -1 +1 @@
1
- import{j as N}from"./pdf-2PUMrtF-.js";import{a as l}from"./sentry-DwNPvXBL.js";import{i as pe,u as a,l as Ke,h as Qe,j as We,g as R}from"./core-Dbakk1VU.js";import{ct as he,cB as Xe,cC as ke,cv as qe,bm as Je,cM as ea,cD as aa,cE as ta,cG as na,cK as sa,cV as oa,cL as S,cO as ia,cP as ue,cS as ra,cQ as da,cR as ca,cT as la,cU as ua,cX as ma,bO as ba,bt as fa,d1 as pa,c$ as ha,d0 as ka,c_ as Sa}from"./zeni-epic-state-DQF5EBoo.js";import{k9 as ga,ka as Ea,N as Ca,aE as ya,js as E,kb as Ia,jr as Ta,aG as r,kc as _a,kd as wa,_ as Aa,jx as Fa,ke as Da,k5 as va,kf as $a,kg as Ba,kh as me,ki as be,jt as xa,kj as Pa,kk as fe,jz as M,jO as w,kl as j,km as Ra}from"./index-iSEGT9xi.js";import{D as Ma}from"./mui-Bg5IRLA2.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new m.Error().stack;d&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[d]="52479871-2e5e-4be3-866e-f85b12f07466",m._sentryDebugIdIdentifier="sentry-dbid-52479871-2e5e-4be3-866e-f85b12f07466")}catch{}})();const ja=ga(({isAppContentDrawerOpen:m,handleDrawerToggle:d})=>{const{tenantEmailDomain:t}=Ke(),n=Qe(),C=Ca(),o=We(),U=qe(),b=pe(),{useFeatureGate:i}=ya(),V=E.getSignedInUser(),A=Je(V),s=a(e=>he(e)),G=a(e=>ea(e)),O=G.uiState.currentChatSessionId,y=Ia(),{setLoading:Se}=Ta(),[F,L]=l.useState(void 0),D=R("/:tenantEmailDomain/dashboard")!==null,z=R("/:tenantEmailDomain/reports")!==null,I=R("/:tenantEmailDomain/onboarding/*")!==null,{isFeatureEnabled:Y}=i(r.isDepositAccountsFeatureEnabled),{isFeatureEnabled:ge}=i(r.isChargeCardFeatureEnabled),{isFeatureEnabled:H}=i(r.isDebitCardFeatureEnabled),Ee=_a(s,ge,H),{isFeatureEnabled:Ce}=i(r.isSettingsFeatureEnabled),Z=a(e=>aa(e)),{isFeatureEnabled:T}=i(r.isReferralFeatureEnabled),v=a(e=>ta(e));l.useEffect(()=>{y&&T&&!I&&v.fetchState==="Not-Started"&&b(na(!0))},[y,T,v.fetchState,I]);const h=E.getSignedInUser(),$=a(e=>e.tenantState),ye=a(e=>$.fetchState==="Completed"?sa(e):[]),g=a(e=>e.expenseAutomationViewState.selectedPeriodByTenantId),{isFeatureEnabled:Ie}=i(r.isApAgingFeatureEnabled),{isFeatureEnabled:Te}=i(r.isArAgingFeatureEnabled),{isFeatureEnabled:K}=i(r.isExpenseAutomationEnabled),{isFeatureEnabled:Q}=i(r.isExpenseAutomationEnabledV2),W=Q||K&&A,{isFeatureEnabled:_e}=i(r.isDashboardSidebarHalloweenAnimationEnabled),{isFeatureEnabled:we}=i(r.isDashboardSidebarThanksGivingAnimationEnabled),{isFeatureEnabled:Ae}=i(r.isDashboardSidebarChristmasAnimationEnabled),{isFeatureEnabled:Fe}=i(r.isDashboardSidebarNewYearAnimationEnabled),{isFeatureEnabled:De}=i(r.isTreasuryEnabled),{isFeatureEnabled:ve}=i(r.isTaskManagerCustomerUserAccessEnabled),$e=A||!A&&ve,Be=s.company!=null&&oa(s.company),_=De&&Be,xe=a(e=>S(e).totalUnreadCount),Pe=a(e=>S(e).reducedFetchCountState),X=a(e=>S(e).notificationDetailsByTab.tasks.uiState.unreadCount),q=a(e=>S(e).notificationDetailsByTab.comments.uiState.unreadCount),Re=a(e=>S(e).notificationDetailsByTab.tasks.fetchCountState),B=a(e=>S(e).notificationDetailsByTab.comments.fetchCountState),{inboxNotifications:J,isLoading:ee,isFetchingMore:ae,hasFetchedAll:te,fetchMore:Me}=wa();l.useEffect(()=>{const e=setTimeout(()=>Me?.(),0);return()=>clearTimeout(e)}),l.useEffect(()=>{if(ee===!1&&ae===!1&&te===!0)if(s?.companyId!=null&&J!=null){const e=`dashboard_${s.companyId}`;L(J.filter(u=>u.roomId===e&&u.readAt==null).length)}else L(0)},[ee,ae,te]),l.useEffect(()=>{y&&!I&&Re.fetchState==="Not-Started"&&U.tenantId!=null&&b(ia("task_manager","dashboard"))},[y,U.tenantId]),l.useEffect(()=>{I||B.fetchState!=="Not-Started"||b(ue({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),l.useEffect(()=>{F!=null&&B.fetchState==="In-Progress"&&(b(ue({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),b(ke({unreadCount:F},"comments")))},[F,B.fetchState]);const je={fetchStatus:Pe,count:xe},ne=t!=null?E.getSignedInUserTenant(t):null,se=a(e=>ne?.tenantId!=null?ra(e,ne.tenantId):void 0),k=[];Ie===!1&&k.push("accounts_payable_aging"),Te===!1&&k.push("accounts_receivable_aging"),Y===!1&&k.push("zeni_accounts_promo_card"),T===!1&&k.push("rewards_card"),W===!1&&k.push("expense_automation_card");const Ne=Aa(),oe=a(e=>da(e,k,h,Q,K,_).fetchState),ie=a(e=>ca(e).fetchState),Ue=D&&(oe==="Completed"||oe==="Error")||z&&(ie==="Completed"||ie==="Error")||!D&&!z?void 0:"disabled",Ve=l.useMemo(()=>la(s.userRole),[s.userRole]),Ge=ua(Ve),Oe=s?.rewardsLastViewedTime==null,Le=h?.userEmail!=null&&Z.fetchState==="Completed"&&ma(Z.notificationSettings,h.userEmail,H,s),re=Fa(),ze=re&&Da(n),de=ba(Ne?.loggedInUserRoleMap),ce=s.companyTreasuryInfo?.info?.isTreasuryTOSAccepted,x=l.useCallback(()=>_&&de&&!E.getTreasuryPopupSeen(t??"")&&ce===!1&&va(n.pathname)!=="treasury",[_,de,ce,n.pathname,t]),[Ye,le]=l.useState(x);l.useEffect(()=>{le(x())},[x]);const He=a(e=>e.treasurySetupViewState.treasuryFundsDetails).fundsDetails,Ze=$a(He);return N.jsx(Ma,{container:window.document.body,variant:"temporary",open:m,onClose:()=>d(!1),PaperProps:{sx:{width:240,zIndex:8,borderRight:"none",backgroundImage:"none"}},ModalProps:{keepMounted:!0},children:N.jsx(Ba,{signedInUser:V,currentTenantId:$.currentTenantId??"",tenants:$.fetchState==="Completed"?ye:se!=null?[se]:[],currentTenant:s,isTenantDropdownDisabled:Ue,isSettings:be(n),isSettingsFeatureEnabled:Ce,isVendorsTabVisible:Ge,isZeniAccountEnabled:Y,isChargeCardEnabled:Ee,isTreasuryEnabled:_,treasuryYieldPercentage:Ze,isTreasuryPopupVisible:Ye,isNotificationsTabVisible:Le,notificationCountDetails:je,isExpenseAutomationEnabledForUser:W&&fa(s.userRole)===!1,selectedMenu:me(n),rewardsConfiguration:{isRewardsTabVisible:T,isRewardsAnimated:Oe,rewardsPlan:v.rewardsPlan},isAiCfoAccessEnabled:re,onNotificationIconClick:()=>{d(!1);let e=X===0&&q>0?"notifications/comments":"notifications/tasks";be(n)&&(e=X===0&&q>0?"../../notifications/comments":"../../notifications/tasks");const u=w(n.state?.pathnameStackToGoBack,n.pathname);o(e,{state:{pathnameStackToGoBack:u}})},handleCockpitClick:()=>{window.open("/cockpit")},handleLogOutClick:()=>{d(!1);const e=w(n.state?.pathnameStackToGoBack,n.pathname);o("/signout",{replace:!0,state:{pathnameStackToGoBack:e,message:"logout"}})},handleMenuChange:e=>{if(d(!1),e.type==="ai_cfo"){const p=w(n.state?.pathnameStackToGoBack,n.pathname);return M.trackAICFOChatScreenStateChanged("viewed","left_menu",O??null,null),void o(`/${t}/ai-cfo/explore`,{state:{pathnameStackToGoBack:p,referrer:"Sidebar"}})}const u=w(n.state?.pathnameStackToGoBack,n.pathname),c=e.type,f=j(c)&&c!=="command_center";if(j(e.type)&&g[s.tenantId]!=null&&M.trackMonthEndCloseClicked(g[s.tenantId].month,g[s.tenantId].year,"Sidebar"),f&&g[s.tenantId]!=null){const p=g[s.tenantId];return void o(`/${t}/month_end_close_checks/review/${e.type}/${p.month}-${p.year}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})}const P=Ra(e.type);fe(e.type)?(O!=null&&b(Sa()),o(`/${t}/ai-cfo/${e.type}`,{state:{pathnameStackToGoBack:u.slice(0,-1),referrer:"Sidebar"}})):o(`/${t}/${P}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})},handleMyProfileClick:()=>{d(!1),o(`/${t}/settings/my_profile`)},handleReferralsClick:()=>{d(!1),o(`/${t}/rewards`)},handleBackClick:()=>{o(`/${t}/dashboard`)},handleTenantSelect:e=>{Se(xa.TENANT_SWITCHING),d(!1);const u=e.tenantEmailDomain,c=me(n);let f=`/${encodeURIComponent(u)}/`;const P=j(c);c==="home"?f+="dashboard":c==="users_and_roles"?f+="people":Pa(c)?f+="settings/my_profile":fe(c)?f+=`ai-cfo/${c}`:f+=c==="task_checklist"?"tasks":P?"month_end_close_checks/review":encodeURIComponent(c),o(f,{replace:!0}),h!=null&&(b(ha(e.tenantId)),b(ka(h.userId,e.tenantId,h.zeniSessionId)));const p=e;M.trackCompanySwitch(p.companyId,p.companyName,p.userRole)},handlePopupClose:()=>{E.saveTreasuryPopupSeen(t??"",!0),le(!1)},onZeniLogoClick:()=>{C.toggle()},isAiCfo:ze,aiCfoView:G,isOnDashboard:D,updateCurrentChatSessionId:e=>{b(pa({sessionId:e,agentId:"controller"})),o(`/${t}/ai-cfo/${e}`)},halloweenAnimationEnabled:_e,isTaskManagerAccessEnabled:$e,thanksGivingAnimationEnabled:we,christmasAnimationEnabled:Ae,newYearAnimationEnabled:Fe})})}),za=m=>{const d=pe(),t=a(C=>he(C)),n={events:t.userRoleId!=null?[`private-${t.userRoleId}.dashboard-user-notification`]:[],eventCallback:(C,o)=>{Ea(o)&&Xe(o.mode)==="dashboard"&&d(ke({unreadCount:o.data.unread},"tasks"))}};return N.jsx(ja,{...m,...n})};export{za as M};
1
+ import{j as N}from"./pdf-LR9rRMEe.js";import{a as l}from"./sentry-uXR4_KRo.js";import{i as pe,u as a,l as Ke,h as Qe,j as We,g as R}from"./core-DuCBl3U1.js";import{ct as he,cB as Xe,cC as ke,cv as qe,bm as Je,cM as ea,cD as aa,cE as ta,cG as na,cK as sa,cV as oa,cL as S,cO as ia,cP as ue,cS as ra,cQ as da,cR as ca,cT as la,cU as ua,cX as ma,bO as ba,bt as fa,d1 as pa,c$ as ha,d0 as ka,c_ as Sa}from"./zeni-epic-state-BDdTNPzg.js";import{k9 as ga,ka as Ea,N as Ca,aE as ya,js as E,kb as Ia,jr as Ta,aG as r,kc as _a,kd as wa,_ as Aa,jx as Fa,ke as Da,k5 as va,kf as $a,kg as Ba,kh as me,ki as be,jt as xa,kj as Pa,kk as fe,jz as M,jO as w,kl as j,km as Ra}from"./index-bPu7mlA1.js";import{D as Ma}from"./mui-CvPZa6D0.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new m.Error().stack;d&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[d]="52479871-2e5e-4be3-866e-f85b12f07466",m._sentryDebugIdIdentifier="sentry-dbid-52479871-2e5e-4be3-866e-f85b12f07466")}catch{}})();const ja=ga(({isAppContentDrawerOpen:m,handleDrawerToggle:d})=>{const{tenantEmailDomain:t}=Ke(),n=Qe(),C=Ca(),o=We(),U=qe(),b=pe(),{useFeatureGate:i}=ya(),V=E.getSignedInUser(),A=Je(V),s=a(e=>he(e)),G=a(e=>ea(e)),O=G.uiState.currentChatSessionId,y=Ia(),{setLoading:Se}=Ta(),[F,L]=l.useState(void 0),D=R("/:tenantEmailDomain/dashboard")!==null,z=R("/:tenantEmailDomain/reports")!==null,I=R("/:tenantEmailDomain/onboarding/*")!==null,{isFeatureEnabled:Y}=i(r.isDepositAccountsFeatureEnabled),{isFeatureEnabled:ge}=i(r.isChargeCardFeatureEnabled),{isFeatureEnabled:H}=i(r.isDebitCardFeatureEnabled),Ee=_a(s,ge,H),{isFeatureEnabled:Ce}=i(r.isSettingsFeatureEnabled),Z=a(e=>aa(e)),{isFeatureEnabled:T}=i(r.isReferralFeatureEnabled),v=a(e=>ta(e));l.useEffect(()=>{y&&T&&!I&&v.fetchState==="Not-Started"&&b(na(!0))},[y,T,v.fetchState,I]);const h=E.getSignedInUser(),$=a(e=>e.tenantState),ye=a(e=>$.fetchState==="Completed"?sa(e):[]),g=a(e=>e.expenseAutomationViewState.selectedPeriodByTenantId),{isFeatureEnabled:Ie}=i(r.isApAgingFeatureEnabled),{isFeatureEnabled:Te}=i(r.isArAgingFeatureEnabled),{isFeatureEnabled:K}=i(r.isExpenseAutomationEnabled),{isFeatureEnabled:Q}=i(r.isExpenseAutomationEnabledV2),W=Q||K&&A,{isFeatureEnabled:_e}=i(r.isDashboardSidebarHalloweenAnimationEnabled),{isFeatureEnabled:we}=i(r.isDashboardSidebarThanksGivingAnimationEnabled),{isFeatureEnabled:Ae}=i(r.isDashboardSidebarChristmasAnimationEnabled),{isFeatureEnabled:Fe}=i(r.isDashboardSidebarNewYearAnimationEnabled),{isFeatureEnabled:De}=i(r.isTreasuryEnabled),{isFeatureEnabled:ve}=i(r.isTaskManagerCustomerUserAccessEnabled),$e=A||!A&&ve,Be=s.company!=null&&oa(s.company),_=De&&Be,xe=a(e=>S(e).totalUnreadCount),Pe=a(e=>S(e).reducedFetchCountState),X=a(e=>S(e).notificationDetailsByTab.tasks.uiState.unreadCount),q=a(e=>S(e).notificationDetailsByTab.comments.uiState.unreadCount),Re=a(e=>S(e).notificationDetailsByTab.tasks.fetchCountState),B=a(e=>S(e).notificationDetailsByTab.comments.fetchCountState),{inboxNotifications:J,isLoading:ee,isFetchingMore:ae,hasFetchedAll:te,fetchMore:Me}=wa();l.useEffect(()=>{const e=setTimeout(()=>Me?.(),0);return()=>clearTimeout(e)}),l.useEffect(()=>{if(ee===!1&&ae===!1&&te===!0)if(s?.companyId!=null&&J!=null){const e=`dashboard_${s.companyId}`;L(J.filter(u=>u.roomId===e&&u.readAt==null).length)}else L(0)},[ee,ae,te]),l.useEffect(()=>{y&&!I&&Re.fetchState==="Not-Started"&&U.tenantId!=null&&b(ia("task_manager","dashboard"))},[y,U.tenantId]),l.useEffect(()=>{I||B.fetchState!=="Not-Started"||b(ue({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),l.useEffect(()=>{F!=null&&B.fetchState==="In-Progress"&&(b(ue({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),b(ke({unreadCount:F},"comments")))},[F,B.fetchState]);const je={fetchStatus:Pe,count:xe},ne=t!=null?E.getSignedInUserTenant(t):null,se=a(e=>ne?.tenantId!=null?ra(e,ne.tenantId):void 0),k=[];Ie===!1&&k.push("accounts_payable_aging"),Te===!1&&k.push("accounts_receivable_aging"),Y===!1&&k.push("zeni_accounts_promo_card"),T===!1&&k.push("rewards_card"),W===!1&&k.push("expense_automation_card");const Ne=Aa(),oe=a(e=>da(e,k,h,Q,K,_).fetchState),ie=a(e=>ca(e).fetchState),Ue=D&&(oe==="Completed"||oe==="Error")||z&&(ie==="Completed"||ie==="Error")||!D&&!z?void 0:"disabled",Ve=l.useMemo(()=>la(s.userRole),[s.userRole]),Ge=ua(Ve),Oe=s?.rewardsLastViewedTime==null,Le=h?.userEmail!=null&&Z.fetchState==="Completed"&&ma(Z.notificationSettings,h.userEmail,H,s),re=Fa(),ze=re&&Da(n),de=ba(Ne?.loggedInUserRoleMap),ce=s.companyTreasuryInfo?.info?.isTreasuryTOSAccepted,x=l.useCallback(()=>_&&de&&!E.getTreasuryPopupSeen(t??"")&&ce===!1&&va(n.pathname)!=="treasury",[_,de,ce,n.pathname,t]),[Ye,le]=l.useState(x);l.useEffect(()=>{le(x())},[x]);const He=a(e=>e.treasurySetupViewState.treasuryFundsDetails).fundsDetails,Ze=$a(He);return N.jsx(Ma,{container:window.document.body,variant:"temporary",open:m,onClose:()=>d(!1),PaperProps:{sx:{width:240,zIndex:8,borderRight:"none",backgroundImage:"none"}},ModalProps:{keepMounted:!0},children:N.jsx(Ba,{signedInUser:V,currentTenantId:$.currentTenantId??"",tenants:$.fetchState==="Completed"?ye:se!=null?[se]:[],currentTenant:s,isTenantDropdownDisabled:Ue,isSettings:be(n),isSettingsFeatureEnabled:Ce,isVendorsTabVisible:Ge,isZeniAccountEnabled:Y,isChargeCardEnabled:Ee,isTreasuryEnabled:_,treasuryYieldPercentage:Ze,isTreasuryPopupVisible:Ye,isNotificationsTabVisible:Le,notificationCountDetails:je,isExpenseAutomationEnabledForUser:W&&fa(s.userRole)===!1,selectedMenu:me(n),rewardsConfiguration:{isRewardsTabVisible:T,isRewardsAnimated:Oe,rewardsPlan:v.rewardsPlan},isAiCfoAccessEnabled:re,onNotificationIconClick:()=>{d(!1);let e=X===0&&q>0?"notifications/comments":"notifications/tasks";be(n)&&(e=X===0&&q>0?"../../notifications/comments":"../../notifications/tasks");const u=w(n.state?.pathnameStackToGoBack,n.pathname);o(e,{state:{pathnameStackToGoBack:u}})},handleCockpitClick:()=>{window.open("/cockpit")},handleLogOutClick:()=>{d(!1);const e=w(n.state?.pathnameStackToGoBack,n.pathname);o("/signout",{replace:!0,state:{pathnameStackToGoBack:e,message:"logout"}})},handleMenuChange:e=>{if(d(!1),e.type==="ai_cfo"){const p=w(n.state?.pathnameStackToGoBack,n.pathname);return M.trackAICFOChatScreenStateChanged("viewed","left_menu",O??null,null),void o(`/${t}/ai-cfo/explore`,{state:{pathnameStackToGoBack:p,referrer:"Sidebar"}})}const u=w(n.state?.pathnameStackToGoBack,n.pathname),c=e.type,f=j(c)&&c!=="command_center";if(j(e.type)&&g[s.tenantId]!=null&&M.trackMonthEndCloseClicked(g[s.tenantId].month,g[s.tenantId].year,"Sidebar"),f&&g[s.tenantId]!=null){const p=g[s.tenantId];return void o(`/${t}/month_end_close_checks/review/${e.type}/${p.month}-${p.year}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})}const P=Ra(e.type);fe(e.type)?(O!=null&&b(Sa()),o(`/${t}/ai-cfo/${e.type}`,{state:{pathnameStackToGoBack:u.slice(0,-1),referrer:"Sidebar"}})):o(`/${t}/${P}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})},handleMyProfileClick:()=>{d(!1),o(`/${t}/settings/my_profile`)},handleReferralsClick:()=>{d(!1),o(`/${t}/rewards`)},handleBackClick:()=>{o(`/${t}/dashboard`)},handleTenantSelect:e=>{Se(xa.TENANT_SWITCHING),d(!1);const u=e.tenantEmailDomain,c=me(n);let f=`/${encodeURIComponent(u)}/`;const P=j(c);c==="home"?f+="dashboard":c==="users_and_roles"?f+="people":Pa(c)?f+="settings/my_profile":fe(c)?f+=`ai-cfo/${c}`:f+=c==="task_checklist"?"tasks":P?"month_end_close_checks/review":encodeURIComponent(c),o(f,{replace:!0}),h!=null&&(b(ha(e.tenantId)),b(ka(h.userId,e.tenantId,h.zeniSessionId)));const p=e;M.trackCompanySwitch(p.companyId,p.companyName,p.userRole)},handlePopupClose:()=>{E.saveTreasuryPopupSeen(t??"",!0),le(!1)},onZeniLogoClick:()=>{C.toggle()},isAiCfo:ze,aiCfoView:G,isOnDashboard:D,updateCurrentChatSessionId:e=>{b(pa({sessionId:e,agentId:"controller"})),o(`/${t}/ai-cfo/${e}`)},halloweenAnimationEnabled:_e,isTaskManagerAccessEnabled:$e,thanksGivingAnimationEnabled:we,christmasAnimationEnabled:Ae,newYearAnimationEnabled:Fe})})}),za=m=>{const d=pe(),t=a(C=>he(C)),n={events:t.userRoleId!=null?[`private-${t.userRoleId}.dashboard-user-notification`]:[],eventCallback:(C,o)=>{Ea(o)&&Xe(o.mode)==="dashboard"&&d(ke({unreadCount:o.data.unread},"tasks"))}};return N.jsx(ja,{...m,...n})};export{za as M};
@@ -1,4 +1,4 @@
1
- import{y as f,V as r,b3 as S,o,f as m,w as H,m as W,b as D,b4 as y,e as V,bo as P,O as L,a as $,bu as O,L as _,ab as B,gw as N,fW as R,bJ as T,bK as z,bL as F,by as Z,bt as A,aR as x,aA as J,gq as q,u as K,cp as U,gu as G,a8 as Q,aD as X}from"./index-iSEGT9xi.js";import{b as w,a as t}from"./sentry-DwNPvXBL.js";import{n}from"./mui-Bg5IRLA2.js";import{t as Y}from"./bank-letter-BOcVjN6J-v-zvGYkf.js";import{t as ee,r as oe}from"./spend-limit-D6SyboD4-BsKlbYVQ.js";import{o as re}from"./dollar-round-D18u7nlm-PE8nVeMR.js";import{t as te,o as ne}from"./money-2cg1MuG4-DnxgWofF.js";import{t as b}from"./page-summary-D7_VQHwN-DKN2ai-q.js";import{o as se}from"./transaction-placeholder-CpOwZAMG-BWj2A57R.js";import{o as ie,r as ae}from"./unlock-BPWn2I5L-C6sn8W4Z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ed0f4803-a96f-4125-8f02-e06c277f1451",e._sentryDebugIdIdentifier="sentry-dbid-ed0f4803-a96f-4125-8f02-e06c277f1451")}catch{}})();function le(e){const a=function(s){const{entity:d,filter:c,fileType:p,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:C}=s;return{localeId:L.getAppLocaleID(),fileType:p,filter:c,entity:d,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:C}}(e);return async function(s,d,c){const p=`${s}?query=${encodeURIComponent(JSON.stringify(function(i){return{locale_id:i.localeId,entity:i.entity,company_name:i.companyName,filter:i.filter,time_period:i.timePeriod,file_type:i.fileType,is_show_deleted_bills_enabled:i.isShowDeletedBillsEnabled,is_show_deleted_reimbursement_enabled:i.isShowDeletedReimbursementEnabled}}(c)))}`,u=L.getLocalizedStrings().spendManagement.downloads.defaultDownloadFileName;try{const i=await T({urlEndPoint:p,authParams:d,fileType:c.fileType});if(i.ok){const g=z(i.headers,u),C=await i.arrayBuffer();F(C,g)}else console.error(`Download SpendManagment Failed with ${i.statusText}`)}catch(i){console.error(`Download SpendManagment Failed with ${JSON.stringify(i)}`)}}(e.spendManagementEndPoint,e.authParams,a)}function de(e){const a=f(),[s,d]=t.useState(!1),c=L.getLocalizedStrings().spendManagement.downloads;return t.useEffect(()=>{s&&e.downloadState!=="In-Progress"&&(d(!1),e.updateDownloadStateHandler?.("In-Progress"),async function(){await le({fileType:"excel",entity:e.entity,filter:e.filter,...e.downloadParams}),e.updateDownloadStateHandler?.("Completed")}())},[s,e.downloadState,e]),r.jsx(r.Fragment,{children:r.jsx($,{label:e.downloadState==="In-Progress"?c.downloading:c.download,size:"small",disabled:e.isDisabled,prefixIcon:e.downloadState==="In-Progress"?r.jsx(he,{children:r.jsx(_,{start:!0,size:"Small",style:{display:"flex",alignItems:"center"}})}):r.jsx(ce,{disabled:e.isDisabled}),onClick:p=>{p.stopPropagation(),s?console.log("Download is already in progress!"):d(!0)},style:{border:"none",padding:0,background:"inherit"},textStyle:{fontWeight:O.regular,color:e.downloadState==="In-Progress"?a.colors.primary:"inherit"},reverseSpinnerColor:!1})})}const ce=n(Z)`
1
+ import{y as f,V as r,b3 as S,o,f as m,w as H,m as W,b as D,b4 as y,e as V,bo as P,O as L,a as $,bu as O,L as _,ab as B,gw as N,fW as R,bJ as T,bK as z,bL as F,by as Z,bt as A,aR as x,aA as J,gq as q,u as K,cp as U,gu as G,a8 as Q,aD as X}from"./index-bPu7mlA1.js";import{b as w,a as t}from"./sentry-uXR4_KRo.js";import{n}from"./mui-CvPZa6D0.js";import{t as Y}from"./bank-letter-BOcVjN6J-BDC6rOv1.js";import{t as ee,r as oe}from"./spend-limit-D6SyboD4-lpJ_hpRn.js";import{o as re}from"./dollar-round-D18u7nlm-C91Luiym.js";import{t as te,o as ne}from"./money-2cg1MuG4-BqWS5D8h.js";import{t as b}from"./page-summary-D7_VQHwN-CzEvyMZF.js";import{o as se}from"./transaction-placeholder-CpOwZAMG-Bn-8TRqx.js";import{o as ie,r as ae}from"./unlock-BPWn2I5L-BihjIVk1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="ed0f4803-a96f-4125-8f02-e06c277f1451",e._sentryDebugIdIdentifier="sentry-dbid-ed0f4803-a96f-4125-8f02-e06c277f1451")}catch{}})();function le(e){const a=function(s){const{entity:d,filter:c,fileType:p,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:C}=s;return{localeId:L.getAppLocaleID(),fileType:p,filter:c,entity:d,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:C}}(e);return async function(s,d,c){const p=`${s}?query=${encodeURIComponent(JSON.stringify(function(i){return{locale_id:i.localeId,entity:i.entity,company_name:i.companyName,filter:i.filter,time_period:i.timePeriod,file_type:i.fileType,is_show_deleted_bills_enabled:i.isShowDeletedBillsEnabled,is_show_deleted_reimbursement_enabled:i.isShowDeletedReimbursementEnabled}}(c)))}`,u=L.getLocalizedStrings().spendManagement.downloads.defaultDownloadFileName;try{const i=await T({urlEndPoint:p,authParams:d,fileType:c.fileType});if(i.ok){const g=z(i.headers,u),C=await i.arrayBuffer();F(C,g)}else console.error(`Download SpendManagment Failed with ${i.statusText}`)}catch(i){console.error(`Download SpendManagment Failed with ${JSON.stringify(i)}`)}}(e.spendManagementEndPoint,e.authParams,a)}function de(e){const a=f(),[s,d]=t.useState(!1),c=L.getLocalizedStrings().spendManagement.downloads;return t.useEffect(()=>{s&&e.downloadState!=="In-Progress"&&(d(!1),e.updateDownloadStateHandler?.("In-Progress"),async function(){await le({fileType:"excel",entity:e.entity,filter:e.filter,...e.downloadParams}),e.updateDownloadStateHandler?.("Completed")}())},[s,e.downloadState,e]),r.jsx(r.Fragment,{children:r.jsx($,{label:e.downloadState==="In-Progress"?c.downloading:c.download,size:"small",disabled:e.isDisabled,prefixIcon:e.downloadState==="In-Progress"?r.jsx(he,{children:r.jsx(_,{start:!0,size:"Small",style:{display:"flex",alignItems:"center"}})}):r.jsx(ce,{disabled:e.isDisabled}),onClick:p=>{p.stopPropagation(),s?console.log("Download is already in progress!"):d(!0)},style:{border:"none",padding:0,background:"inherit"},textStyle:{fontWeight:O.regular,color:e.downloadState==="In-Progress"?a.colors.primary:"inherit"},reverseSpinnerColor:!1})})}const ce=n(Z)`
2
2
  width: ${o.sp4};
3
3
  height: ${o.sp4};
4
4
  color: ${e=>e.disabled?e.theme.colors.grey2:e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{y as z,e as M,O as S,ad as x,V as i,a_ as I,E as v,eZ as _,o,aU as P,x as d,H,l as L,w as B,d as W,f8 as j,f9 as C,m as u,fi as R,f as A,C as E}from"./index-iSEGT9xi.js";import{a as y}from"./sentry-DwNPvXBL.js";import{n as t}from"./mui-Bg5IRLA2.js";import{u as N}from"./plaid-DCRMdnUX.js";import{bG as J}from"./zeni-epic-state-DQF5EBoo.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./utils-D8l6svaX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="94d9364c-248b-4a25-bd2a-20732ab13f85",e._sentryDebugIdIdentifier="sentry-dbid-94d9364c-248b-4a25-bd2a-20732ab13f85")}catch{}})();const s={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},V={title:new W("standardMedium","largeMedium")},F=t.img`
1
+ import{y as z,e as M,O as S,ad as x,V as i,a_ as I,E as v,eZ as _,o,aU as P,x as d,H,l as L,w as B,d as W,f8 as j,f9 as C,m as u,fi as R,f as A,C as E}from"./index-bPu7mlA1.js";import{a as y}from"./sentry-uXR4_KRo.js";import{n as t}from"./mui-CvPZa6D0.js";import{u as N}from"./plaid-C4PyP873.js";import{bG as J}from"./zeni-epic-state-BDdTNPzg.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="94d9364c-248b-4a25-bd2a-20732ab13f85",e._sentryDebugIdIdentifier="sentry-dbid-94d9364c-248b-4a25-bd2a-20732ab13f85")}catch{}})();const s={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},V={title:new W("standardMedium","largeMedium")},F=t.img`
2
2
  width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${o.sp11};
@@ -1,4 +1,4 @@
1
- import{y as R,_ as D,i5 as a,V as n,a_ as N,O as B,o as x}from"./index-iSEGT9xi.js";import{n as M}from"./mui-Bg5IRLA2.js";import{F4 as O}from"./zeni-epic-state-DQF5EBoo.js";import{m as P}from"./BusyIndication-YMYY0Pff-BT75hsR0.js";import{r as _,i as j}from"./ChargeCardListTable-BiKjkqVs-DmEZHkoe.js";import"./sentry-DwNPvXBL.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./common-BxjzMhDO-DjrSaNg9.js";import"./calculateSize-CzpGCfNE-DkEz7M5T.js";import"./ZeniAvatar-Ct7MPW2X-Dr9Hk39M.js";import"./avatar-Dz7aEm3d-VXKNqIyu.js";import"./RoleWithToolTip-BYO1YG6N-BFoZQpPA.js";import"./CardNumberSubText-CN1RN7Tf-D2xaj4U6.js";import"./spend-limit-D6SyboD4-BsKlbYVQ.js";import"./unlock-BPWn2I5L-C6sn8W4Z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="162e0be3-446b-4063-9473-f794d60d61f8",e._sentryDebugIdIdentifier="sentry-dbid-162e0be3-446b-4063-9473-f794d60d61f8")}catch{}})();const{spendManagement:{chargeCard:u}}=B.getLocalizedStrings(),lt=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:i,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:d,controllerEmails:b,signedInUser:p,onChargeCardRowClick:f,onBackClick:S,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=R(),y=D(),m=O(y.loggedInUserRoleMap),I=e.cards.some(t=>t.type.code.includes("credit")),h=e.cards.some(t=>t.type.code.includes("debit")),F=I&&h?u.cardList.title.cards:h?u.cardList.title.debit:u.cardList.title.credit,v=m===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,E=o&&l&&m===!0?{creditAccountId:i.id,creditAccountLimit:a(i.limit.amount),creditAccountAvailableAmount:a(i.available.amount),creditAccountSpentAmount:a(i.balance.amount+i.hold.amount),creditAccountStatus:i.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,w=c&&s?{debitAccountId:d.depositAccounts.map(t=>t.id),debitAccountName:d.depositAccounts.map(t=>t.accountName),debitAccountBalance:d.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:d.depositAccounts.map(t=>t.accountStatus)}:void 0,L={isCreditCardOffered:o,isDebitCardOffered:c,isDebitCardEnabled:s,isCreditCardEnabled:l};return n.jsxs(U,{children:[n.jsx(N,{title:F,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:S,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(P,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx(_,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:j,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:o,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:i,creditAccountRepayment:C,productInformation:L,cashbackInformation:v,creditAccountInformation:E,debitAccountInformation:w,depositAccountListWithDebitCardIssued:d,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:{revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}},onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,V)=>{f(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},U=M.div`
1
+ import{y as R,_ as D,i5 as a,V as n,a_ as N,O as B,o as x}from"./index-bPu7mlA1.js";import{n as M}from"./mui-CvPZa6D0.js";import{F4 as O}from"./zeni-epic-state-BDdTNPzg.js";import{m as P}from"./BusyIndication-BLGcHlgu-d1oE1KKV.js";import{r as _,i as j}from"./ChargeCardListTable-BoufojYF-Cnvek6YP.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./common-CAmBErdt-BVIeK7KA.js";import"./calculateSize-D-LzlJzs-DNCT8MgL.js";import"./ZeniAvatar-CCOD249Z-DHdRsr5H.js";import"./avatar-Dz7aEm3d-BBjMxgr_.js";import"./RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js";import"./CardNumberSubText-Cn0EZrNE-tK-yujMO.js";import"./spend-limit-D6SyboD4-lpJ_hpRn.js";import"./unlock-BPWn2I5L-BihjIVk1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="5890fb0a-9dab-4110-9b84-806f572adcef",e._sentryDebugIdIdentifier="sentry-dbid-5890fb0a-9dab-4110-9b84-806f572adcef")}catch{}})();const{spendManagement:{chargeCard:u}}=B.getLocalizedStrings(),lt=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:c,isDebitCardFeatureEnabled:d,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:i,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:o,controllerEmails:b,signedInUser:p,onChargeCardRowClick:f,onBackClick:S,onReloadCards:k,onColumnSortConfigChanged:g})=>{const A=R(),y=D(),m=O(y.loggedInUserRoleMap),I=e.cards.some(t=>t.type.code.includes("credit")),h=e.cards.some(t=>t.type.code.includes("debit")),F=I&&h?u.cardList.title.cards:h?u.cardList.title.debit:u.cardList.title.credit,v=m===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,E=c&&l&&m===!0?{creditAccountId:i.id,creditAccountLimit:a(i.limit.amount),creditAccountAvailableAmount:a(i.available.amount),creditAccountSpentAmount:a(i.balance.amount+i.hold.amount),creditAccountStatus:i.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,w=d&&s?{debitAccountId:o.depositAccounts.map(t=>t.id),debitAccountName:o.depositAccounts.map(t=>t.accountName),debitAccountBalance:o.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:o.depositAccounts.map(t=>t.accountStatus)}:void 0,L={isCreditCardOffered:c,isDebitCardOffered:d,isDebitCardEnabled:s,isCreditCardEnabled:l};return n.jsxs(U,{children:[n.jsx(N,{title:F,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:S,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(P,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx(_,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:j,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:c,isDebitCardFeatureEnabled:d,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:i,creditAccountRepayment:C,productInformation:L,cashbackInformation:v,creditAccountInformation:E,debitAccountInformation:w,depositAccountListWithDebitCardIssued:o,cardList:e.cards,showViewForCardUser:!0,signedInUser:p,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:{revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}},onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:k,onChargeCardRowClick:(t,V)=>{f(t)},uiState:e.uiState,onColumnSortConfigChanged:g,onChargeCardResendInviteClick:()=>{}})]})},U=M.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${x.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as oe,fl as ie,y as ye,_ as we,fm as xe,T as Pe,S as De,c9 as ve,c8 as $e,O as te,V as l,fn as Se,a_ as Oe,A as Re,a9 as Ce,o as s,c0 as re,fo as ne,fp as de,fq as ce,x as T,H as ue,w as je,d as Te,a1 as X,cd as Le,fr as Z,ci as Ie,ch as Ve,aj as ke,m as _}from"./index-iSEGT9xi.js";import{a as D}from"./sentry-DwNPvXBL.js";import{n as m}from"./mui-Bg5IRLA2.js";import{bQ as ee,bt as me,bG as Be,bs as Ne}from"./zeni-epic-state-DQF5EBoo.js";import{C as ze}from"./LabeledAddressValueField-CAr-IiTa-Coj2vGIo.js";import{Z as Fe}from"./LabeledNameField-CYN5kdQi-C2knR9hx.js";import{C as Ae,j as Me,x as _e}from"./LabeledZeniRolesDropDownField-DJfE1qQb-C9jHsUlw.js";import{Y as We}from"./LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-jZMMsugI.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";import"./RoleWithToolTip-BYO1YG6N-BFoZQpPA.js";import"./avatar-Dz7aEm3d-VXKNqIyu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a0a6b0d1-751e-499d-8372-7fba1fcb8438",e._sentryDebugIdIdentifier="sentry-dbid-a0a6b0d1-751e-499d-8372-7fba1fcb8438")}catch{}})();const g=(e,o)=>`${e}.${o}`,N={largeLabelWidth:new T(120,120,160),textFieldPaddingHorizontal:new T(_[2],_[3]),toolTipWidth:new T(215,237),notePadding:new T(_[3],_[4]),noteGap:new T(_[0],6)},{peoplePage:a,common:{settings:le,labels:q,placeholder:B,errorMessage:Ue},dateFormat:Ze}=te.getLocalizedStrings(),qe=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:v,isLiteRoleDisabled:L,isTreasuryDisabled:h,onAddressClick:w})=>{const n=oe(),{person:r,managersList:z,classList:F,manager:E,department:b,controllersList:A,myProfileLocalData:M,addressData:G}=e,H=e.person.user?.birthday!=null?"readonly":void 0,$=N.largeLabelWidth.value(n),I=N.largeLabelWidth.value(n),Q=D.useMemo(()=>ie(y,p,i,f,v,L,h),[y,p,i,f,v,L,h]),{firstController:x,restControllerEmailsStr:S}=D.useMemo(()=>{const c=X(A),O=c.splice(0,1),R=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[A]),Y=D.useMemo(()=>X(re.roles),[]),d=me(r.userRole!=null?r.userRole.userRoles:[]),W=D.useMemo(()=>F.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[F]);return l.jsxs(Ge,{windowSize:n,children:[l.jsx(Fe,{isDisabled:u,label:{label:q.name,width:I},nameField:{name:g(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ue.nameError.replace("_product_type_",le.common.productTypeString)}),l.jsx(j,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:g(t,"email"),placeholder:Z(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${N.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(j,{}),l.jsx(Ie,{label:{label:q.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:g(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:Ze.visual.defaultInput,autoComplete:"off",maxDate:Ne().subtract(18,"year")}}),l.jsx(j,{}),l.jsx(ze,{label:{label:q.mailingAddress,width:I},addressValueField:{name:g(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:G?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(j,{}),l.jsx(Ve,{label:{label:q.phone,width:I},text:{name:g(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(j,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:g(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Y},registerOptions:{required:!0},placeholderLabel:Z(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:g(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,v)},productsByUserRole:ne(r.userRole?.userRoles??[],Q)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(j,{}),l.jsx(We,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:N.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ee,{}),userSingleSelectWithSubTitlesField:{name:g(t,"manager"),value:{allUsers:d?[]:z,selectedUser:d?void 0:E?.userId},valueToSubtitle:c=>{const O=z.findIndex(R=>R.userId===c);if(O!==-1){const R=z[O],V=F.find(C=>C.classId===R.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}return[]},placeholderLabel:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:le.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(j,{}),l.jsx(_e,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:g(t,"department"),defaultValue:{allOptions:d?[]:W,selectedOption:d?void 0:W.find(c=>c.value===b?.classId)},placeholder:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(He,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(Qe,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ye,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(ke,{className:"arrowIcon"})]}):null]})]})]})},Ee=()=>a.invitePage.managerTooltipText,Ge=m.div`
1
+ import{e as oe,fl as ie,y as ye,_ as we,fm as xe,T as Pe,S as De,c9 as ve,c8 as $e,O as te,V as l,fn as Se,a_ as Oe,A as Re,a9 as Ce,o as s,c0 as re,fo as ne,fp as de,fq as ce,x as T,H as ue,w as je,d as Te,a1 as X,cd as Le,fr as Z,ci as Ie,ch as Ve,aj as ke,m as _}from"./index-bPu7mlA1.js";import{a as D}from"./sentry-uXR4_KRo.js";import{n as m}from"./mui-CvPZa6D0.js";import{bQ as ee,bt as me,bG as Be,bs as Ne}from"./zeni-epic-state-BDdTNPzg.js";import{C as ze}from"./LabeledAddressValueField-Dl3atH92-CBuLNDhF.js";import{Z as Fe}from"./LabeledNameField-BdVztq_8-Cc3_vzCa.js";import{C as Ae,j as Me,x as _e}from"./LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js";import{Y as We}from"./LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js";import"./avatar-Dz7aEm3d-BBjMxgr_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="272d8f1e-2728-41e4-b309-79e27bb8292e",e._sentryDebugIdIdentifier="sentry-dbid-272d8f1e-2728-41e4-b309-79e27bb8292e")}catch{}})();const g=(e,o)=>`${e}.${o}`,N={largeLabelWidth:new T(120,120,160),textFieldPaddingHorizontal:new T(_[2],_[3]),toolTipWidth:new T(215,237),notePadding:new T(_[3],_[4]),noteGap:new T(_[0],6)},{peoplePage:a,common:{settings:le,labels:q,placeholder:B,errorMessage:Ue},dateFormat:Ze}=te.getLocalizedStrings(),qe=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:v,isLiteRoleDisabled:L,isTreasuryDisabled:h,onAddressClick:w})=>{const n=oe(),{person:r,managersList:z,classList:F,manager:E,department:b,controllersList:A,myProfileLocalData:M,addressData:G}=e,H=e.person.user?.birthday!=null?"readonly":void 0,$=N.largeLabelWidth.value(n),I=N.largeLabelWidth.value(n),Q=D.useMemo(()=>ie(y,p,i,f,v,L,h),[y,p,i,f,v,L,h]),{firstController:x,restControllerEmailsStr:S}=D.useMemo(()=>{const c=X(A),O=c.splice(0,1),R=c.reduce((V,k)=>V.concat(`${k.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[A]),Y=D.useMemo(()=>X(re.roles),[]),d=me(r.userRole!=null?r.userRole.userRoles:[]),W=D.useMemo(()=>F.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[F]);return l.jsxs(Ge,{windowSize:n,children:[l.jsx(Fe,{isDisabled:u,label:{label:q.name,width:I},nameField:{name:g(t,"name"),placeHolder:{firstName:B.firstNamePlaceholder,lastName:B.lastNamePlaceholder,name:B.namePlaceholder},showFullNameError:!0},errorInfoLabel:Ue.nameError.replace("_product_type_",le.common.productTypeString)}),l.jsx(j,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:g(t,"email"),placeholder:Z(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${N.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(j,{}),l.jsx(Ie,{label:{label:q.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:g(t,"dateOfBirth"),placeholder:B.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:Ze.visual.defaultInput,autoComplete:"off",maxDate:Ne().subtract(18,"year")}}),l.jsx(j,{}),l.jsx(ze,{label:{label:q.mailingAddress,width:I},addressValueField:{name:g(t,"mailingAddress"),placeholder:B.addressPlaceholder,defaultValue:G?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(j,{}),l.jsx(Ve,{label:{label:q.phone,width:I},text:{name:g(t,"phone"),placeholder:B.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(j,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:g(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Y},registerOptions:{required:!0},placeholderLabel:Z(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:g(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,v)},productsByUserRole:ne(r.userRole?.userRoles??[],Q)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(j,{}),l.jsx(We,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:N.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ee,{}),userSingleSelectWithSubTitlesField:{name:g(t,"manager"),value:{allUsers:d?[]:z,selectedUser:d?void 0:E?.userId},valueToSubtitle:c=>{const O=z.findIndex(R=>R.userId===c);if(O!==-1){const R=z[O],V=F.find(C=>C.classId===R.userRole.accountingClassIDs[0]),k=[];return V!=null&&k.push(V.className),k}return[]},placeholderLabel:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:le.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(j,{}),l.jsx(_e,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:g(t,"department"),defaultValue:{allOptions:d?[]:W,selectedOption:d?void 0:W.find(c=>c.value===b?.classId)},placeholder:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(He,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(Qe,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ye,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(ke,{className:"arrowIcon"})]}):null]})]})]})},Ee=()=>a.invitePage.managerTooltipText,Ge=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{y as h,e as g,V as o,b,bo as p,o as i,b1 as f,ei as m,O as y,bx as x,bm as k,w}from"./index-iSEGT9xi.js";import{n as l}from"./mui-Bg5IRLA2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="370d333a-0bfc-42d8-81aa-393393c0f20f",e._sentryDebugIdIdentifier="sentry-dbid-370d333a-0bfc-42d8-81aa-393393c0f20f")}catch{}})();const C=l.div`
1
+ import{y as h,e as g,V as o,b,bo as p,o as i,b1 as f,ei as m,O as y,bx as x,bm as k,w}from"./index-bPu7mlA1.js";import{n as l}from"./mui-CvPZa6D0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="370d333a-0bfc-42d8-81aa-393393c0f20f",e._sentryDebugIdIdentifier="sentry-dbid-370d333a-0bfc-42d8-81aa-393393c0f20f")}catch{}})();const C=l.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{V as t,o,aj as h,bx as c}from"./index-iSEGT9xi.js";import{c as l,n}from"./mui-Bg5IRLA2.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="933758ca-8310-4ebf-a510-e3c24d18cdec",r._sentryDebugIdIdentifier="sentry-dbid-933758ca-8310-4ebf-a510-e3c24d18cdec")}catch{}})();const f=l`
1
+ import{V as t,o,aj as h,bx as c}from"./index-bPu7mlA1.js";import{c as l,n}from"./mui-CvPZa6D0.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="933758ca-8310-4ebf-a510-e3c24d18cdec",r._sentryDebugIdIdentifier="sentry-dbid-933758ca-8310-4ebf-a510-e3c24d18cdec")}catch{}})();const f=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${o.sp3};
4
4
  border-top-right-radius: ${o.sp2};
@@ -1,4 +1,4 @@
1
- import{V as n,b as i,o as a}from"./index-iSEGT9xi.js";import{n as l}from"./mui-Bg5IRLA2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="87d6e028-fd93-436f-8eef-d19405648f66",o._sentryDebugIdIdentifier="sentry-dbid-87d6e028-fd93-436f-8eef-d19405648f66")}catch{}})();const v=l.div`
1
+ import{V as n,b as i,o as a}from"./index-bPu7mlA1.js";import{n as l}from"./mui-CvPZa6D0.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="87d6e028-fd93-436f-8eef-d19405648f66",o._sentryDebugIdIdentifier="sentry-dbid-87d6e028-fd93-436f-8eef-d19405648f66")}catch{}})();const v=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,y=l.div`
@@ -1,4 +1,4 @@
1
- import{e as T,T as J,c8 as K,a7 as X,V as l,A as Q,a9 as Y,o as a,x as i,a8 as Z,d as q,M as ee,O as z,gj as le,l as ae,cc as O,cf as F,cd as te,m as n,hD as ne,at as oe,dX as re,c6 as ie,dS as de,L as se,d$ as ce,cM as me,aC as he,f as D}from"./index-iSEGT9xi.js";import{a as G}from"./sentry-DwNPvXBL.js";import{n as o,c as be}from"./mui-Bg5IRLA2.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="677b84fe-611a-453c-839f-4c65baac54a5",e._sentryDebugIdIdentifier="sentry-dbid-677b84fe-611a-453c-839f-4c65baac54a5")}catch{}})();const u={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ge={infoLabel:new q("smallRegular","standardRegular")},ue=z.getLocalizedStrings();function pe({label:e,textField:t,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=T(),{formState:{errors:d}}=O(),p=re(d,t.name);return l.jsxs(we,{windowSize:s,style:S,isDisabled:t.isDisabled!=null,isError:p,children:[l.jsx(ie,{isDisabled:t.isDisabled,label:e.label,style:{marginLeft:u.labelMarginLeft.value(s),marginRight:u.labelMarginRight.value(s),marginTop:u.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),l.jsxs(fe,{labelWidth:e.width,children:[l.jsx(de,{...t,style:{...t.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:u.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?l.jsx(Me,{children:l.jsx(se,{size:"Standard",start:!0})}):l.jsxs($e,{children:[l.jsxs(xe,{windowSize:s,isRecommendationVisible:h.length>0,isError:p,children:[m.icon,m.label]}),h.length>0?h.map((r,c)=>l.jsxs(l.Fragment,{children:[l.jsx(ce,{isHighlighted:!0,label:{label:r.label},checkBoxField:r.field,defaultChecked:r.field.defaultChecked,isDisabled:r.field.isDisabled!=null},me()),c<h.length-1?l.jsx(ye,{children:ue.common.texts.or}):null]})):null]})]})]})}const we=o.div`
1
+ import{e as T,T as J,c8 as K,a7 as X,V as l,A as Q,a9 as Y,o as a,x as i,a8 as Z,d as q,M as ee,O as z,gj as le,l as ae,cc as O,cf as F,cd as te,m as n,hD as ne,at as oe,dX as re,c6 as ie,dS as de,L as se,d$ as ce,cM as me,aC as he,f as D}from"./index-bPu7mlA1.js";import{a as G}from"./sentry-uXR4_KRo.js";import{n as o,c as be}from"./mui-CvPZa6D0.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="677b84fe-611a-453c-839f-4c65baac54a5",e._sentryDebugIdIdentifier="sentry-dbid-677b84fe-611a-453c-839f-4c65baac54a5")}catch{}})();const u={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ge={infoLabel:new q("smallRegular","standardRegular")},ue=z.getLocalizedStrings();function pe({label:e,textField:t,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=T(),{formState:{errors:d}}=O(),p=re(d,t.name);return l.jsxs(we,{windowSize:s,style:S,isDisabled:t.isDisabled!=null,isError:p,children:[l.jsx(ie,{isDisabled:t.isDisabled,label:e.label,style:{marginLeft:u.labelMarginLeft.value(s),marginRight:u.labelMarginRight.value(s),marginTop:u.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),l.jsxs(fe,{labelWidth:e.width,children:[l.jsx(de,{...t,style:{...t.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:u.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?l.jsx(Me,{children:l.jsx(se,{size:"Standard",start:!0})}):l.jsxs($e,{children:[l.jsxs(xe,{windowSize:s,isRecommendationVisible:h.length>0,isError:p,children:[m.icon,m.label]}),h.length>0?h.map((r,c)=>l.jsxs(l.Fragment,{children:[l.jsx(ce,{isHighlighted:!0,label:{label:r.label},checkBoxField:r.field,defaultChecked:r.field.defaultChecked,isDisabled:r.field.isDisabled!=null},me()),c<h.length-1?l.jsx(ye,{children:ue.common.texts.or}):null]})):null]})]})]})}const we=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{e as l,V as t,f as s,o as i,l as r,x as o,y as d}from"./index-iSEGT9xi.js";import{n as h}from"./mui-Bg5IRLA2.js";import{a}from"./sentry-DwNPvXBL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f983b9ae-fc48-4e2d-a03b-84d206fe2735",e._sentryDebugIdIdentifier="sentry-dbid-f983b9ae-fc48-4e2d-a03b-84d206fe2735")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),f=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},c=h.div`
1
+ import{e as l,V as t,f as s,o as i,l as r,x as o,y as d}from"./index-bPu7mlA1.js";import{n as h}from"./mui-CvPZa6D0.js";import{a}from"./sentry-uXR4_KRo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f983b9ae-fc48-4e2d-a03b-84d206fe2735",e._sentryDebugIdIdentifier="sentry-dbid-f983b9ae-fc48-4e2d-a03b-84d206fe2735")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),f=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},c=h.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as t,o as d,y as i}from"./index-iSEGT9xi.js";import{n as s}from"./mui-Bg5IRLA2.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-BFYI8sfE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1bad06a0-dd39-4633-9d07-8c0e83dd9a88",e._sentryDebugIdIdentifier="sentry-dbid-1bad06a0-dd39-4633-9d07-8c0e83dd9a88")}catch{}})();const a=s.div`
1
+ import{V as t,o as d,y as i}from"./index-bPu7mlA1.js";import{n as s}from"./mui-CvPZa6D0.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-Gma2xMWq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1bad06a0-dd39-4633-9d07-8c0e83dd9a88",e._sentryDebugIdIdentifier="sentry-dbid-1bad06a0-dd39-4633-9d07-8c0e83dd9a88")}catch{}})();const a=s.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${d.sp8} ${d.sp0} ${d.sp8} ${d.sp0};
@@ -1,18 +1,18 @@
1
- import{V as o,O as i,bu as s,c2 as d,l,f as a,H as c}from"./index-iSEGT9xi.js";import{n as t}from"./mui-Bg5IRLA2.js";import{a as g}from"./ZeniCopyright-CmCqmJmV-DYheSP80.js";import"./sentry-DwNPvXBL.js";import"./pdf-2PUMrtF-.js";import"./zeni-epic-state-DQF5EBoo.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="39d6578d-c659-4caa-a311-7d05c986e0a7",e._sentryDebugIdIdentifier="sentry-dbid-39d6578d-c659-4caa-a311-7d05c986e0a7")}catch{}})();const h=t.div`
1
+ import{V as o,O as i,bu as s,c2 as d,l,f as c,H as a}from"./index-bPu7mlA1.js";import{n as t}from"./mui-CvPZa6D0.js";import{a as g}from"./ZeniCopyright-pvaggW6x-DhIa5hzn.js";import"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="16245c90-40b3-4d5f-aee5-3d6dce853e95",e._sentryDebugIdIdentifier="sentry-dbid-16245c90-40b3-4d5f-aee5-3d6dce853e95")}catch{}})();const f=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
5
5
  background-color: ${e=>e.theme.colors.background};
6
- `,p=t.div`
6
+ `,h=t.div`
7
7
  height: 54px;
8
- `,f=t.div`
8
+ `,p=t.div`
9
9
  flex: 1 1;
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
13
13
  justify-content: center;
14
14
  text-align: center;
15
- `,m=t(c)`
15
+ `,m=t(a)`
16
16
  height: 74px;
17
17
  color: ${e=>e.theme.colors.grey1};
18
18
  `,u=t.div`
@@ -27,9 +27,9 @@ import{V as o,O as i,bu as s,c2 as d,l,f as a,H as c}from"./index-iSEGT9xi.js";i
27
27
  align-items: center;
28
28
  `,x=t(d)`
29
29
  color: ${e=>e.theme.colors.primary};
30
- `,y=t(l)`
30
+ `,b=t(l)`
31
31
  color: ${e=>e.theme.colors.hero};
32
- `,b=t.div`
32
+ `,y=t.div`
33
33
  position: absolute;
34
34
  transform: translate(-50%, -50%);
35
35
  top: 50%;
@@ -38,9 +38,9 @@ import{V as o,O as i,bu as s,c2 as d,l,f as a,H as c}from"./index-iSEGT9xi.js";i
38
38
  font-size: 400px;
39
39
  font-weight: ${s.bold};
40
40
  `,r=t.span`
41
- color: ${a.info};
41
+ color: ${c.info};
42
42
  &:hover {
43
43
  text-decoration: underline;
44
44
  cursor: pointer;
45
45
  }
46
- `;function C({onGoBack:e,onGoHome:n}){return o.jsxs(h,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(p,{}),o.jsxs(f,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(g,{})})]})]})}export{C as default};
46
+ `;function C({onGoBack:e,onGoHome:n}){return o.jsxs(f,{children:[o.jsx(y,{children:"404"}),o.jsxs(u,{children:[o.jsx(h,{}),o.jsxs(p,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(b,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(g,{})})]})]})}export{C as default};
@@ -1 +1 @@
1
- import{j as e}from"./pdf-2PUMrtF-.js";import{j as n,k as r}from"./core-Dbakk1VU.js";import{jJ as i}from"./index-iSEGT9xi.js";import"./mui-Bg5IRLA2.js";import"./sentry-DwNPvXBL.js";import"./zeni-epic-state-DQF5EBoo.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="c11d482f-0e51-4684-a80d-1fb31e74d1cf",t._sentryDebugIdIdentifier="sentry-dbid-c11d482f-0e51-4684-a80d-1fb31e74d1cf")}catch{}})();const d=r(null,function(t,o){return{onGoBack:()=>{o.navigate(-1)},onGoHome:()=>{o.navigate("/")}}})(i);function v(){const t=n();return e.jsx(d,{navigate:t})}export{v as default};
1
+ import{j as e}from"./pdf-LR9rRMEe.js";import{j as n,k as r}from"./core-DuCBl3U1.js";import{jJ as i}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import"./sentry-uXR4_KRo.js";import"./zeni-epic-state-BDdTNPzg.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="c11d482f-0e51-4684-a80d-1fb31e74d1cf",t._sentryDebugIdIdentifier="sentry-dbid-c11d482f-0e51-4684-a80d-1fb31e74d1cf")}catch{}})();const d=r(null,function(t,o){return{onGoBack:()=>{o.navigate(-1)},onGoHome:()=>{o.navigate("/")}}})(i);function v(){const t=n();return e.jsx(d,{navigate:t})}export{v as default};
@@ -1 +1 @@
1
- import{j as E}from"./pdf-2PUMrtF-.js";import it from"./NotFoundScreen-DGF4ewvh.js";import{a as k}from"./sentry-DwNPvXBL.js";import{k as rt,a as ct,l as mt}from"./liveblocks-DdnYk2Co.js";import{j as dt,h as lt,l as ft,i as ut,u as S,k as ht,R as pt,m as W}from"./core-Dbakk1VU.js";import{GI as kt,cD as H,ct as X,cT as gt,cL as I,Nt as J,cP as d,cC as y,nx as $,sH as St,Nu as bt,cB as It,cX as Tt,nC as Ct,Nv as j,bs as M,eg as A,nG as z,Nw as yt,bL as Nt,bK as _t}from"./zeni-epic-state-DQF5EBoo.js";import{k2 as Et,js as Bt,aE as wt,aG as xt,m9 as At,jO as B,k9 as Gt,ma as vt,ka as Dt,jM as Pt}from"./index-iSEGT9xi.js";import"./mui-Bg5IRLA2.js";import"./lottie-DBYzZfO9.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new t.Error().stack;l&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[l]="707a4ffd-3aee-44b0-86f0-18349fbce54c",t._sentryDebugIdIdentifier="sentry-dbid-707a4ffd-3aee-44b0-86f0-18349fbce54c")}catch{}})();const Rt=(t,l)=>new Promise((n,u)=>{const g=t.map(i=>new Promise(s=>{l(i),s()}));Promise.all(g).then(()=>{setTimeout(()=>{n()},2e3)}).catch(i=>{u(i)})}),Ut=ht(function(t,l){const n=H(t),{signedInUser:u,isDebitCardFeatureEnabled:g}=l,i=I(t),s=X(t),{currentTab:h}=i;return{notificationView:i,isNotificationSettingsVisible:u.userEmail!=null&&Tt(n.notificationSettings,u.userEmail,g,s),isDisabled:i.notificationDetailsByTab[h].fetchState==="In-Progress"?"disabled":void 0}},function(t,l){const{location:n,tenantEmailDomain:u,loggedInUserRoleMap:g,externalNotificationsUnreadCount:i,allUnreadCommentsNotificationIds:s,navigate:h,markInboxNotificationAsRead:w,fetchMoreCommentsNotifications:G}=l;return{onNotificationClick:(a,o,m,c)=>{if(c==="task_deleted"){const r=`/${u}/tasks`,b=B(n.state?.pathnameStackToGoBack,n.pathname);h(r,{state:{pathnameStackToGoBack:b,message:"triggerBackClick"}})}else{const r=`/${u}/tasks/${o}`,b=B(n.state?.pathnameStackToGoBack,n.pathname);h(r,{state:{pathnameStackToGoBack:b,message:"triggerBackClick"}})}m==="unread"&&t(z("task_manager","read",[a],!1))},onCommentNotificationClick:(a,o,m)=>{const c=o.toString().split(`/${u}/`);if(c[1]!=null){m==="unread"&&(w(a),t(j([a],M())));let r=`/${u}/${c[1]}`;const b=B(n.state?.pathnameStackToGoBack,n.pathname);c[1].startsWith("reimbursement")&&!Nt(g)&&(r="not-found"),c[1].startsWith("bill")&&!_t(g)&&(r="not-found"),h(r,{state:{pathnameStackToGoBack:b,message:"triggerBackClick"}})}},onUpdateNotificationViewUIState:(a,o)=>{t(y(a,o))},onUpdateNotificationTabState:(a,o)=>{t(d(a,o))},onUpdateNotificationViewCurrentTabAndSubTab:(a,o)=>{t(J(a,o));const m=`../${a}`,c=B(n.state?.pathnameStackToGoBack,n.pathname);h(m,{state:{pathnameStackToGoBack:c}})},onUpdateNotificationViewSubTab:a=>{t(yt(a))},onFetchMoreNotifications:(a,o)=>{if(a==="tasks"){const m=[];o==="all"?m.push("read","unread"):o!=="mentions"&&m.push(o),t($("task_manager","dashboard",m))}else G?.()},onUpdateNotificationStatus:(a,o,m,c)=>{a==="tasks"?t(z("task_manager",m,c)):(t(d({markAsReadState:{fetchState:"In-Progress",error:void 0}},"comments")),Promise.all(c.map(r=>{m==="read"&&(w(r),t(j([r],M())))})).then(()=>{t(d({markAsReadState:{fetchState:"Completed",error:void 0},selectedNotificationIds:[]},"comments")),t(y({unreadCount:i-c.length>0?i-c.length:0},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))},r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}).catch(r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}))},onMarkAllNotificationsAsRead:a=>{a==="tasks"?t(Ct("task_manager","read")):(t(d({markAsAllReadState:{fetchState:"In-Progress",error:void 0}},"comments")),Rt(s,w).then(()=>{t(j(s,M())),t(d({markAsAllReadState:{fetchState:"Completed",error:void 0}},"comments")),t(y({unreadCount:0},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))}).catch(o=>{t(d({markAsAllReadState:{fetchState:"Error",error:o}},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}))},onBackClick:()=>{const a=Pt(n.state?.pathnameStackToGoBack),o=a.poppedPathname??"../../dashboard";h(o,{state:{pathnameStackToGoBack:a.newStack}})},onSettingsClick:()=>{const a=B(n.state?.pathnameStackToGoBack,n.pathname);h("../../settings/notifications",{state:{pathnameStackToGoBack:a}})}}})(Gt(vt)),jt=()=>{const t=dt(),l=lt(),{tenantEmailDomain:n,selectedTab:u}=ft(),{areTenantIdsInSync:g}=Et(),i=kt(u??""),s=ut(),h=Bt.getSignedInUser(),[w,G]=k.useState(!1),a=S(e=>H(e)),o=S(e=>X(e)),{useFeatureGate:m}=wt(),{isFeatureEnabled:c}=m(xt.isDebitCardFeatureEnabled),r=gt(o.userRole);if(o==null||n==null||o.companyId==null)throw Error("Can't access notifications page without current tenant...");if(h==null)throw Error("Can't access notifications page without signed in...");const b=S(e=>I(e).notificationDetailsByTab.tasks.fetchState),F=S(e=>I(e).currentTab),v=S(e=>I(e).currentSubTab),Q=S(e=>I(e).notificationDetailsByTab.comments.fetchCountState),D=S(e=>I(e).notificationDetailsByTab.comments.fetchState),Y=S(e=>I(e).notificationDetailsByTab.comments.uiState.unreadCount),Z=S(e=>I(e).allExternalNotifications).filter(e=>e.inboxNotification.readAt==null).map(e=>e.inboxNotification.id),tt=At().allUsers,{inboxNotifications:x,isLoading:N,hasFetchedAll:T,isFetchingMore:P,fetchMore:et}=rt(),{threads:V,isLoading:L,fetchMore:q,isFetchingMore:K,hasFetchedAll:O}=ct({query:{metadata:{companyId:o.companyId,application:"dashboard"}}});k.useEffect(()=>{if(F!==i&&i!=null&&s(J(i)),i==null){const e=`../${F}`,p=B(l.state?.pathnameStackToGoBack,l.pathname);t(e,{state:{pathnameStackToGoBack:p}})}},[i]),k.useEffect(()=>{Q.fetchState==="Not-Started"&&s(d({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),k.useEffect(()=>{if(N===!1&&T===!0&&o?.companyId!=null&&x!=null){const e=`dashboard_${o.companyId}`,p=x.filter(C=>C.roomId===e&&C.readAt==null).length;s(d({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),s(y({unreadCount:p},"comments"))}},[N,T]),k.useEffect(()=>{b!=="In-Progress"&&g&&s($("task_manager","dashboard",["read","unread"]))},[g]),k.useEffect(()=>{const e=setTimeout(()=>et?.(),0);return()=>clearTimeout(e)});const R=N||P===!0||T!==!0||N||P===!0||T!==!0;k.useEffect(()=>{R&&D!=="In-Progress"?s(d({fetchState:"In-Progress",error:void 0},"comments")):R||D!=="In-Progress"||s(d({fetchState:"Completed",error:void 0},"comments"))},[R,D]),k.useEffect(()=>{s(y({hasMore:T!==!0},"comments"))},[T]),k.useEffect(()=>{a.fetchState!=="In-Progress"&&a.fetchState!=="Completed"&&w===!1&&(G(!0),s(St()))},[a.fetchState]),k.useEffect(()=>{if(N===!1&&L===!1&&x!=null&&V!=null){const e=`dashboard_${o.companyId}`,p=x.filter(f=>f.roomId===e).filter(f=>f.kind==="thread"),C=p.filter(f=>f.readAt==null),_=p.map(f=>f.id),st=p.map(f=>{const U=V.find(nt=>nt.id===f.threadId);return U!=null?{inboxNotification:{...f,threadId:U.id},thread:U}:(K||O===!0||q==null||q(),null)}).filter(f=>f!=null);s(d({allNotificationsIds:_},"comments")),s(y({totalCount:_.length,unreadCount:C.length},"comments")),s(bt(st))}},[N,P,K,T,O,L,x?.length]);const at={events:o.userRoleId!=null?[`private-${o.userRoleId}.dashboard-user-notification`]:[],eventCallback:(e,p)=>{if(Dt(p)){const C=It(p.mode);if(C==="dashboard"&&s(y({unreadCount:p.data.unread},"tasks")),b!=="In-Progress"){const _=[];v==="all"?_.push("read","unread"):v!=="mentions"&&_.push(v),s($("task_manager",C,_,!0))}}}},ot=mt();return E.jsx(Ut,{tenantEmailDomain:n,loggedInUserRoleMap:r,signedInUser:h,externalNotificationsUnreadCount:Y,location:l,navigate:t,isDebitCardFeatureEnabled:c,users:tt,markInboxNotificationAsRead:ot,allUnreadCommentsNotificationIds:Z,...at})};function Yt(){return E.jsxs(pt,{children:[E.jsx(W,{path:"/:selectedTab",element:E.jsx(jt,{})}),E.jsx(W,{path:"*",element:E.jsx(it,{})})]})}export{Yt as default};
1
+ import{j as E}from"./pdf-LR9rRMEe.js";import it from"./NotFoundScreen-CJqSMVfb.js";import{a as k}from"./sentry-uXR4_KRo.js";import{k as rt,a as ct,l as mt}from"./liveblocks-UDiQs1XL.js";import{j as dt,h as lt,l as ft,i as ut,u as S,k as ht,R as pt,m as W}from"./core-DuCBl3U1.js";import{GI as kt,cD as H,ct as X,cT as gt,cL as I,Nt as J,cP as d,cC as y,nx as $,sH as St,Nu as bt,cB as It,cX as Tt,nC as Ct,Nv as j,bs as M,eg as A,nG as z,Nw as yt,bL as Nt,bK as _t}from"./zeni-epic-state-BDdTNPzg.js";import{k2 as Et,js as Bt,aE as wt,aG as xt,m9 as At,jO as B,k9 as Gt,ma as vt,ka as Dt,jM as Pt}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import"./lottie-DyJgmWhI.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new t.Error().stack;l&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[l]="707a4ffd-3aee-44b0-86f0-18349fbce54c",t._sentryDebugIdIdentifier="sentry-dbid-707a4ffd-3aee-44b0-86f0-18349fbce54c")}catch{}})();const Rt=(t,l)=>new Promise((n,u)=>{const g=t.map(i=>new Promise(s=>{l(i),s()}));Promise.all(g).then(()=>{setTimeout(()=>{n()},2e3)}).catch(i=>{u(i)})}),Ut=ht(function(t,l){const n=H(t),{signedInUser:u,isDebitCardFeatureEnabled:g}=l,i=I(t),s=X(t),{currentTab:h}=i;return{notificationView:i,isNotificationSettingsVisible:u.userEmail!=null&&Tt(n.notificationSettings,u.userEmail,g,s),isDisabled:i.notificationDetailsByTab[h].fetchState==="In-Progress"?"disabled":void 0}},function(t,l){const{location:n,tenantEmailDomain:u,loggedInUserRoleMap:g,externalNotificationsUnreadCount:i,allUnreadCommentsNotificationIds:s,navigate:h,markInboxNotificationAsRead:w,fetchMoreCommentsNotifications:G}=l;return{onNotificationClick:(a,o,m,c)=>{if(c==="task_deleted"){const r=`/${u}/tasks`,b=B(n.state?.pathnameStackToGoBack,n.pathname);h(r,{state:{pathnameStackToGoBack:b,message:"triggerBackClick"}})}else{const r=`/${u}/tasks/${o}`,b=B(n.state?.pathnameStackToGoBack,n.pathname);h(r,{state:{pathnameStackToGoBack:b,message:"triggerBackClick"}})}m==="unread"&&t(z("task_manager","read",[a],!1))},onCommentNotificationClick:(a,o,m)=>{const c=o.toString().split(`/${u}/`);if(c[1]!=null){m==="unread"&&(w(a),t(j([a],M())));let r=`/${u}/${c[1]}`;const b=B(n.state?.pathnameStackToGoBack,n.pathname);c[1].startsWith("reimbursement")&&!Nt(g)&&(r="not-found"),c[1].startsWith("bill")&&!_t(g)&&(r="not-found"),h(r,{state:{pathnameStackToGoBack:b,message:"triggerBackClick"}})}},onUpdateNotificationViewUIState:(a,o)=>{t(y(a,o))},onUpdateNotificationTabState:(a,o)=>{t(d(a,o))},onUpdateNotificationViewCurrentTabAndSubTab:(a,o)=>{t(J(a,o));const m=`../${a}`,c=B(n.state?.pathnameStackToGoBack,n.pathname);h(m,{state:{pathnameStackToGoBack:c}})},onUpdateNotificationViewSubTab:a=>{t(yt(a))},onFetchMoreNotifications:(a,o)=>{if(a==="tasks"){const m=[];o==="all"?m.push("read","unread"):o!=="mentions"&&m.push(o),t($("task_manager","dashboard",m))}else G?.()},onUpdateNotificationStatus:(a,o,m,c)=>{a==="tasks"?t(z("task_manager",m,c)):(t(d({markAsReadState:{fetchState:"In-Progress",error:void 0}},"comments")),Promise.all(c.map(r=>{m==="read"&&(w(r),t(j([r],M())))})).then(()=>{t(d({markAsReadState:{fetchState:"Completed",error:void 0},selectedNotificationIds:[]},"comments")),t(y({unreadCount:i-c.length>0?i-c.length:0},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))},r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}).catch(r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}))},onMarkAllNotificationsAsRead:a=>{a==="tasks"?t(Ct("task_manager","read")):(t(d({markAsAllReadState:{fetchState:"In-Progress",error:void 0}},"comments")),Rt(s,w).then(()=>{t(j(s,M())),t(d({markAsAllReadState:{fetchState:"Completed",error:void 0}},"comments")),t(y({unreadCount:0},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))}).catch(o=>{t(d({markAsAllReadState:{fetchState:"Error",error:o}},"comments")),t(A({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}))},onBackClick:()=>{const a=Pt(n.state?.pathnameStackToGoBack),o=a.poppedPathname??"../../dashboard";h(o,{state:{pathnameStackToGoBack:a.newStack}})},onSettingsClick:()=>{const a=B(n.state?.pathnameStackToGoBack,n.pathname);h("../../settings/notifications",{state:{pathnameStackToGoBack:a}})}}})(Gt(vt)),jt=()=>{const t=dt(),l=lt(),{tenantEmailDomain:n,selectedTab:u}=ft(),{areTenantIdsInSync:g}=Et(),i=kt(u??""),s=ut(),h=Bt.getSignedInUser(),[w,G]=k.useState(!1),a=S(e=>H(e)),o=S(e=>X(e)),{useFeatureGate:m}=wt(),{isFeatureEnabled:c}=m(xt.isDebitCardFeatureEnabled),r=gt(o.userRole);if(o==null||n==null||o.companyId==null)throw Error("Can't access notifications page without current tenant...");if(h==null)throw Error("Can't access notifications page without signed in...");const b=S(e=>I(e).notificationDetailsByTab.tasks.fetchState),F=S(e=>I(e).currentTab),v=S(e=>I(e).currentSubTab),Q=S(e=>I(e).notificationDetailsByTab.comments.fetchCountState),D=S(e=>I(e).notificationDetailsByTab.comments.fetchState),Y=S(e=>I(e).notificationDetailsByTab.comments.uiState.unreadCount),Z=S(e=>I(e).allExternalNotifications).filter(e=>e.inboxNotification.readAt==null).map(e=>e.inboxNotification.id),tt=At().allUsers,{inboxNotifications:x,isLoading:N,hasFetchedAll:T,isFetchingMore:P,fetchMore:et}=rt(),{threads:V,isLoading:L,fetchMore:q,isFetchingMore:K,hasFetchedAll:O}=ct({query:{metadata:{companyId:o.companyId,application:"dashboard"}}});k.useEffect(()=>{if(F!==i&&i!=null&&s(J(i)),i==null){const e=`../${F}`,p=B(l.state?.pathnameStackToGoBack,l.pathname);t(e,{state:{pathnameStackToGoBack:p}})}},[i]),k.useEffect(()=>{Q.fetchState==="Not-Started"&&s(d({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),k.useEffect(()=>{if(N===!1&&T===!0&&o?.companyId!=null&&x!=null){const e=`dashboard_${o.companyId}`,p=x.filter(C=>C.roomId===e&&C.readAt==null).length;s(d({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),s(y({unreadCount:p},"comments"))}},[N,T]),k.useEffect(()=>{b!=="In-Progress"&&g&&s($("task_manager","dashboard",["read","unread"]))},[g]),k.useEffect(()=>{const e=setTimeout(()=>et?.(),0);return()=>clearTimeout(e)});const R=N||P===!0||T!==!0||N||P===!0||T!==!0;k.useEffect(()=>{R&&D!=="In-Progress"?s(d({fetchState:"In-Progress",error:void 0},"comments")):R||D!=="In-Progress"||s(d({fetchState:"Completed",error:void 0},"comments"))},[R,D]),k.useEffect(()=>{s(y({hasMore:T!==!0},"comments"))},[T]),k.useEffect(()=>{a.fetchState!=="In-Progress"&&a.fetchState!=="Completed"&&w===!1&&(G(!0),s(St()))},[a.fetchState]),k.useEffect(()=>{if(N===!1&&L===!1&&x!=null&&V!=null){const e=`dashboard_${o.companyId}`,p=x.filter(f=>f.roomId===e).filter(f=>f.kind==="thread"),C=p.filter(f=>f.readAt==null),_=p.map(f=>f.id),st=p.map(f=>{const U=V.find(nt=>nt.id===f.threadId);return U!=null?{inboxNotification:{...f,threadId:U.id},thread:U}:(K||O===!0||q==null||q(),null)}).filter(f=>f!=null);s(d({allNotificationsIds:_},"comments")),s(y({totalCount:_.length,unreadCount:C.length},"comments")),s(bt(st))}},[N,P,K,T,O,L,x?.length]);const at={events:o.userRoleId!=null?[`private-${o.userRoleId}.dashboard-user-notification`]:[],eventCallback:(e,p)=>{if(Dt(p)){const C=It(p.mode);if(C==="dashboard"&&s(y({unreadCount:p.data.unread},"tasks")),b!=="In-Progress"){const _=[];v==="all"?_.push("read","unread"):v!=="mentions"&&_.push(v),s($("task_manager",C,_,!0))}}}},ot=mt();return E.jsx(Ut,{tenantEmailDomain:n,loggedInUserRoleMap:r,signedInUser:h,externalNotificationsUnreadCount:Y,location:l,navigate:t,isDebitCardFeatureEnabled:c,users:tt,markInboxNotificationAsRead:ot,allUnreadCommentsNotificationIds:Z,...at})};function Yt(){return E.jsxs(pt,{children:[E.jsx(W,{path:"/:selectedTab",element:E.jsx(jt,{})}),E.jsx(W,{path:"*",element:E.jsx(it,{})})]})}export{Yt as default};
@@ -1,4 +1,4 @@
1
- import{V as t,o as i,bd as oe,ab as ne,O as N,y as K,e as Q,T as se,c8 as re,a_ as le,A as ae,E as S,a9 as ce,x as D,f5 as de,fy as pe,ed as me,fz as ue,fA as he,aj as ge,m as I,at as W,C as X,l as Y,H as fe}from"./index-iSEGT9xi.js";import{a as k}from"./sentry-DwNPvXBL.js";import{n as o}from"./mui-Bg5IRLA2.js";import{G1 as xe,G2 as $e,G3 as ye,G4 as be}from"./zeni-epic-state-DQF5EBoo.js";import{m as je}from"./BusyIndication-YMYY0Pff-BT75hsR0.js";import"./pdf-2PUMrtF-.js";import"./core-Dbakk1VU.js";import"./lottie-DBYzZfO9.js";import"./liveblocks-DdnYk2Co.js";import"./recharts-Bztd37V0.js";import"./dnd-CoZK9h43.js";import"./analytics-DuMT4wpV.js";import"./plaid-DCRMdnUX.js";import"./utils-D8l6svaX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e6be405c-759a-4616-94e7-ee3a33312b2f",e._sentryDebugIdIdentifier="sentry-dbid-e6be405c-759a-4616-94e7-ee3a33312b2f")}catch{}})();const{common:we}=N.getLocalizedStrings(),M={notePadding:new D(I[3],I[4]),noteGap:new D(I[0],6)},U=(e,n)=>`${e}.${n}`,ve=o.div`
1
+ import{V as t,o as i,bd as oe,ab as ne,O as N,y as K,e as Q,T as se,c8 as re,a_ as le,A as ae,E as S,a9 as ce,x as D,f5 as de,fy as pe,ed as me,fz as ue,fA as he,aj as fe,m as I,at as W,C as X,l as Y,H as ge}from"./index-bPu7mlA1.js";import{a as k}from"./sentry-uXR4_KRo.js";import{n as o}from"./mui-CvPZa6D0.js";import{G1 as xe,G2 as $e,G3 as ye,G4 as be}from"./zeni-epic-state-BDdTNPzg.js";import{m as je}from"./BusyIndication-BLGcHlgu-d1oE1KKV.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="da02bd06-8be9-4ff1-a461-39a88c3300e5",e._sentryDebugIdIdentifier="sentry-dbid-da02bd06-8be9-4ff1-a461-39a88c3300e5")}catch{}})();const{common:we}=N.getLocalizedStrings(),M={notePadding:new D(I[3],I[4]),noteGap:new D(I[0],6)},U=(e,n)=>`${e}.${n}`,ve=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -64,7 +64,7 @@ import{V as t,o as i,bd as oe,ab as ne,O as N,y as K,e as Q,T as se,c8 as re,a_
64
64
  flex: 1;
65
65
  width: 120px;
66
66
  text-align: center;
67
- `,Pe=o(fe)`
67
+ `,Pe=o(ge)`
68
68
  padding: ${e=>`${i.sp1} ${M.notePadding.valuePx(e.windowSize)}`};
69
69
  background: ${e=>e.theme.colors.grey4};
70
70
  border-radius: ${i.sp0} ${i.sp0} ${i.sp2} ${i.sp2};
@@ -74,7 +74,7 @@ import{V as t,o as i,bd as oe,ab as ne,O as N,y as K,e as Q,T as se,c8 as re,a_
74
74
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
75
75
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
76
76
  gap: ${e=>M.noteGap.valuePx(e.windowSize)};
77
- `,ze=o.div``,Oe=o.span``;function Re({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:f,classList:m,controllersList:$}){const u=K(),c=Q(),{sectionTitle:y,monthEndInsights:l,mode:b}=we.settings.notifications,h=$[0],P=$.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(ve,{children:[t.jsxs(Se,{children:[t.jsx(Ie,{children:y.monthEndInsights}),t.jsx(ze,{children:t.jsx(Le,{children:b.email})})]}),t.jsxs(Ne,{children:[t.jsxs(Ee,{disabled:s.enabled==null,children:[t.jsx(A,{children:l.labels.notifyMe}),t.jsx(me,{defaultChecked:n.notify,checkBoxValue:U(e,"notify"),name:U(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(S,{controller:s.enabled!=null,children:t.jsxs(ke,{children:[t.jsx(T,{children:t.jsx(A,{children:l.labels.notifyOthers})}),t.jsx(T,{children:t.jsx(ue,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:f,selectedUsers:f.filter(d=>n.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),j=[];if(r!==-1){const p=a[r],w=he(p.userRole.userRoles);w.length>0&&j.push(w);const E=m.find(z=>z.classId===p.userRole.accountingClassIDs[0]);return E!=null&&j.push(E.className),j}return[]},name:U(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(S,{controller:s.enabled==null,children:t.jsxs(Pe,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ce,{href:`mailto:${h.email}?cc=${P}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Oe,{children:`${h.firstName} ${h.lastName}`}),t.jsx(ge,{className:"arrowIcon"})]}):null]})})]})]})}const q=(e,n,s)=>`${e}.${n}.${s}`,Ue=o.div`
77
+ `,ze=o.div``,Oe=o.span``;function Re({sectionId:e,monthEndInsightsNotificationLocalData:n,monthEndInsightsNotificationSettings:s,managersList:a,allUsers:g,classList:m,controllersList:$}){const u=K(),c=Q(),{sectionTitle:y,monthEndInsights:l,mode:b}=we.settings.notifications,h=$[0],P=$.slice(1).reduce((d,r)=>d.concat(`${r.email},`),"");return t.jsxs(ve,{children:[t.jsxs(Se,{children:[t.jsx(Ie,{children:y.monthEndInsights}),t.jsx(ze,{children:t.jsx(Le,{children:b.email})})]}),t.jsxs(Ne,{children:[t.jsxs(Ee,{disabled:s.enabled==null,children:[t.jsx(A,{children:l.labels.notifyMe}),t.jsx(me,{defaultChecked:n.notify,checkBoxValue:U(e,"notify"),name:U(e,"notify"),checkedIconColor:s.enabled==null?u.colors.grey2:void 0})]}),t.jsx(S,{controller:s.enabled!=null,children:t.jsxs(ke,{children:[t.jsx(T,{children:t.jsx(A,{children:l.labels.notifyOthers})}),t.jsx(T,{children:t.jsx(ue,{hideEmailTooltip:!1,showBackgroundColorIfHasAnySelectedOption:!1,shouldHaveBackgroundColor:!1,value:{allUsers:g,selectedUsers:g.filter(d=>n.recipientEmailIds.includes(d.email)),allNonUsers:[],selectedNonUsers:[]},hideMultiValueOnBlur:!1,valueToSubtitle:d=>{const r=a.findIndex(p=>p.userId===d),j=[];if(r!==-1){const p=a[r],w=he(p.userRole.userRoles);w.length>0&&j.push(w);const E=m.find(z=>z.classId===p.userRole.accountingClassIDs[0]);return E!=null&&j.push(E.className),j}return[]},name:U(e,"recipientEmailIds"),placeholderLabel:l.userFieldPlaceholder,customStyleConfig:{valueContainer:(d,{selectProps:r})=>({justifyContent:r.menuIsOpen===!1?"flex-end":"flex-start"}),input:(d,{selectProps:r})=>({display:r.menuIsOpen===!1?"none":"inline-grid"}),control:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),container:(d,{selectProps:r})=>({backgroundColor:r.menuIsOpen===!0?u.colors.background:"unset"}),multiValue:(d,{selectProps:r})=>({outline:r.menuIsOpen===!1?"unset":`1px solid ${u.colors.primary}`})}})})]})}),t.jsx(S,{controller:s.enabled==null,children:t.jsxs(Pe,{windowSize:c,children:[l.stopReceivingEmailsText,h?t.jsxs(Ce,{href:`mailto:${h.email}?cc=${P}&subject=${encodeURIComponent(l.stopReceivingMonthEndInsightsSubject)}`,children:[t.jsx(Oe,{children:`${h.firstName} ${h.lastName}`}),t.jsx(fe,{className:"arrowIcon"})]}):null]})})]})]})}const q=(e,n,s)=>`${e}.${n}.${s}`,Ue=o.div`
78
78
  display: flex;
79
79
  flex-direction: column;
80
80
  row-gap: ${i.sp3};
@@ -118,7 +118,7 @@ import{V as t,o as i,bd as oe,ab as ne,O as N,y as K,e as Q,T as se,c8 as re,a_
118
118
  border-bottom-left-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
119
119
  border-bottom-right-radius: ${e=>e.lastElement===!0?i.sp2:i.sp0};
120
120
  }
121
- `;function _e({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:f}=N.getLocalizedStrings().common,{notifications:m}=f,$=be.slice(0,1),u=ye.filter(c=>s[c]!=null);return t.jsxs(Ue,{children:[t.jsxs(Be,{children:[t.jsx(De,{children:m.sectionTitle.reminders}),t.jsxs(V,{children:[t.jsx(_,{children:a.frequency}),t.jsx(_,{children:m.mode.email})]})]}),t.jsx(qe,{children:u.map((c,y)=>t.jsxs(Ve,{firstElement:y===0,lastElement:y===u.length-1,children:[t.jsx(Ae,{children:m.reminders[c]}),t.jsxs(V,{children:[t.jsx(Te,{children:t.jsx(de,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:q(e,c,"frequency")})}),t.jsx(Me,{children:t.jsx(pe,{mode:"always_on",checkBoxes:$.map(l=>({label:"",value:l,defaultChecked:n[c].preferredMode.includes(l),groupLabel:!1})),name:q(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const B={contentPadding:new D(I[3],I[8])},x="reminders",v="monthEndInsights",F="notificationSettingsPage",G=e=>`${e}_form`,{settings:Z,reloadPage:Fe}=N.getLocalizedStrings().common,Ge=e=>{const n=K(),s=Q(),{notificationSettingsView:a,signedInUser:f,onFormDataChange:m,resetUpdateStatus:$,onSave:u,onCancel:c,onClickMenuIcon:y}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:P,managersList:d,updateStatus:r,controllersList:j}=a,p=se({defaultValues:J(l,b)}),w=k.useCallback(O=>{m(function(g){return{[x]:{missingReceiptNotification:L(g[x].missingReceiptNotification),uncategorizedTransactionNotification:L(g[x].uncategorizedTransactionNotification),pendingBillApprovalNotification:L(g[x].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:L(g[x].pendingReimbursementApprovalNotification)},[v]:{...g[v],recipientEmailIds:g[v].recipientEmailIds.selectedUsers.map(R=>R.email)}}}(O))},[m]),E=p.handleSubmit(()=>{u()}),z=k.useCallback(()=>{p.reset(),c()},[c]);k.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(J(l,b)),$())},[l,a.updateStatus.fetchState,b]),k.useEffect(()=>{const O=p.watch((g,{name:R})=>{R!=null&&g!=null&&re(()=>w(g))});return()=>{O.unsubscribe()}},[p,w]);const ee=Object.keys(p.formState.dirtyFields).length>0,te=f.userEmail!=null&&xe(h.monthEndInsightsNotificationSettings,f.userEmail),ie=$e(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(He,{children:[t.jsx(le,{source:"NotificationSettingsPage",title:Z.title.notifications,backgroundColor:n.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:y}),t.jsx(Je,{windowSize:s,children:t.jsx(ae,{...p,children:t.jsx("form",{id:G(F),onSubmit:E,children:t.jsxs(Ke,{children:[t.jsx(S,{controller:ie,children:t.jsx(_e,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:x})}),t.jsx(S,{controller:te,children:t.jsx(Re,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:b,classList:P,managersList:d,controllersList:j})})]})})})})]}),t.jsx(S,{controller:ee,children:t.jsx(ce,{style:{width:"100%"},formId:G(F),primaryBtn:{label:N.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:N.getLocalizedStrings().common.footer.cancel,onClick:z,style:{width:"82px"}}})})]})};function pt(e){const{notificationSettingsView:n,onRefresh:s}=e,{fetchState:a}=n;return a==="Not-Started"||a==="In-Progress"?t.jsx(H,{children:t.jsx(je,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(H,{children:[t.jsx(Qe,{onClick:s,children:t.jsx(oe,{})}),t.jsx(We,{children:Fe.label})]}):t.jsx(Ge,{...e})}const He=o.div`
121
+ `;function _e({sectionId:e,remindersLocalData:n,reminderNotificationSettings:s}){const{texts:a,settings:g}=N.getLocalizedStrings().common,{notifications:m}=g,$=be.slice(0,1),u=ye.filter(c=>s[c]!=null);return t.jsxs(Ue,{children:[t.jsxs(Be,{children:[t.jsx(De,{children:m.sectionTitle.reminders}),t.jsxs(V,{children:[t.jsx(_,{children:a.frequency}),t.jsx(_,{children:m.mode.email})]})]}),t.jsx(qe,{children:u.map((c,y)=>t.jsxs(Ve,{firstElement:y===0,lastElement:y===u.length-1,children:[t.jsx(Ae,{children:m.reminders[c]}),t.jsxs(V,{children:[t.jsx(Te,{children:t.jsx(de,{defaultValue:{allOptions:m.reminderFrequencyOptions,selectedOption:n[c].frequency},name:q(e,c,"frequency")})}),t.jsx(Me,{children:t.jsx(pe,{mode:"always_on",checkBoxes:$.map(l=>({label:"",value:l,defaultChecked:n[c].preferredMode.includes(l),groupLabel:!1})),name:q(e,c,"preferredMode"),style:{flexDirection:"row"},checkBoxContainerStyle:{justifyContent:"center"}})})]})]},c))})]})}const B={contentPadding:new D(I[3],I[8])},x="reminders",v="monthEndInsights",F="notificationSettingsPage",G=e=>`${e}_form`,{settings:Z,reloadPage:Fe}=N.getLocalizedStrings().common,Ge=e=>{const n=K(),s=Q(),{notificationSettingsView:a,signedInUser:g,onFormDataChange:m,resetUpdateStatus:$,onSave:u,onCancel:c,onClickMenuIcon:y}=e,{notificationSettingsLocalData:l,allUsers:b,notificationSettings:h,classList:P,managersList:d,updateStatus:r,controllersList:j}=a,p=se({defaultValues:J(l,b)}),w=k.useCallback(O=>{m(function(f){return{[x]:{missingReceiptNotification:L(f[x].missingReceiptNotification),uncategorizedTransactionNotification:L(f[x].uncategorizedTransactionNotification),pendingBillApprovalNotification:L(f[x].pendingBillApprovalNotification),pendingReimbursementApprovalNotification:L(f[x].pendingReimbursementApprovalNotification)},[v]:{...f[v],recipientEmailIds:f[v].recipientEmailIds.selectedUsers.map(R=>R.email)}}}(O))},[m]),E=p.handleSubmit(()=>{u()}),z=k.useCallback(()=>{p.reset(),c()},[c]);k.useEffect(()=>{a.updateStatus.fetchState==="Completed"&&(p.reset(J(l,b)),$())},[l,a.updateStatus.fetchState,b]),k.useEffect(()=>{const O=p.watch((f,{name:R})=>{R!=null&&f!=null&&re(()=>w(f))});return()=>{O.unsubscribe()}},[p,w]);const ee=Object.keys(p.formState.dirtyFields).length>0,te=g.userEmail!=null&&xe(h.monthEndInsightsNotificationSettings,g.userEmail),ie=$e(h.reminderNotificationSettings);return t.jsxs(t.Fragment,{children:[t.jsxs(He,{children:[t.jsx(le,{source:"NotificationSettingsPage",title:Z.title.notifications,backgroundColor:n.colors.grey4,showBackButton:!1,showMenuIcon:s==="medium-compact"||s==="small",onClickMenuIcon:y}),t.jsx(Je,{windowSize:s,children:t.jsx(ae,{...p,children:t.jsx("form",{id:G(F),onSubmit:E,children:t.jsxs(Ke,{children:[t.jsx(S,{controller:ie,children:t.jsx(_e,{reminderNotificationSettings:h.reminderNotificationSettings,remindersLocalData:l.reminders,sectionId:x})}),t.jsx(S,{controller:te,children:t.jsx(Re,{monthEndInsightsNotificationLocalData:l.monthEndInsights,monthEndInsightsNotificationSettings:h.monthEndInsightsNotificationSettings,sectionId:v,allUsers:b,classList:P,managersList:d,controllersList:j})})]})})})})]}),t.jsx(S,{controller:ee,children:t.jsx(ce,{style:{width:"100%"},formId:G(F),primaryBtn:{label:N.getLocalizedStrings().common.footer.save,isLoading:r.fetchState==="In-Progress",style:{width:"82px"}},cancelBtn:{label:N.getLocalizedStrings().common.footer.cancel,onClick:z,style:{width:"82px"}}})})]})};function pt(e){const{notificationSettingsView:n,onRefresh:s}=e,{fetchState:a}=n;return a==="Not-Started"||a==="In-Progress"?t.jsx(H,{children:t.jsx(je,{fetchState:a,styles:{margin:i.sp0}})}):a==="Error"?t.jsxs(H,{children:[t.jsx(Qe,{onClick:s,children:t.jsx(oe,{})}),t.jsx(We,{children:Fe.label})]}):t.jsx(Ge,{...e})}const He=o.div`
122
122
  display: flex;
123
123
  width: 100%;
124
124
  min-height: 100vh;
@@ -1 +1 @@
1
- import{w as d,m as s}from"./index-iSEGT9xi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="057b6f09-8ae8-4f17-a69d-7acb131d35ce",e._sentryDebugIdIdentifier="sentry-dbid-057b6f09-8ae8-4f17-a69d-7acb131d35ce")}catch{}})();const f=s[5],o=59,r=s[5],i=d.standardRegular.lineHeightValue,b=1,l=1e3;export{i as A,r as E,b as I,l as L,o as a,f as t};
1
+ import{w as d,m as s}from"./index-bPu7mlA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="057b6f09-8ae8-4f17-a69d-7acb131d35ce",e._sentryDebugIdIdentifier="sentry-dbid-057b6f09-8ae8-4f17-a69d-7acb131d35ce")}catch{}})();const f=s[5],o=59,r=s[5],i=d.standardRegular.lineHeightValue,b=1,l=1e3;export{i as A,r as E,b as I,l as L,o as a,f as t};