@zeniai/web-app-ui 4.14.36-dev → 4.14.36-prod

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 (345) hide show
  1. package/dist/assets/{ACHDetailsPage-fOu5grd7-Cs2K4DRV.js → ACHDetailsPage-fOu5grd7-DtKrvplH.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Da3gFo8A-CVIvereU.js → AIPerformancePage-Da3gFo8A-D7GNRsCR.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-o7hTXtgZ-Dc6Hg6aE.js → AccountInfoPage-o7hTXtgZ-B2dOh6zh.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DqErO8FH-XBjSorHo.js → AccountInfoPageContent-DqErO8FH-BzjZe2AM.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-Uk-DVT8_.js → AccountLockedInfoModal-BJjCuLHa-BzlPa0go.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-qMdLytVA.js → AccountReconDetailsDrawerPage-CVjH1p0d-C_Gd41A_.js} +1 -1
  7. package/dist/assets/{AccountRow-CpftykFx-DRMa7L7I.js → AccountRow-CpftykFx-BYdmHBcI.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-L4LUQiMM.js → AccountsPromoCardStack-D7xvgmOH-VKAOHHjH.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-vecchYEf-Dm_7GZaw.js → AddAddressForCardDrawer-vecchYEf-ebIJJIIw.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-zJy9QCjx-BhPNLvBn.js → AddToWalletPage-zJy9QCjx-CK9utT0P.js} +1 -1
  11. package/dist/assets/{AddressRoutes-CN9yzNia.js → AddressRoutes-DUSS9tuc.js} +1 -1
  12. package/dist/assets/{AddressScreen-DawlCEed.js → AddressScreen-BWfJAlfj.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-wAvQb1d8-BNi2RWcU.js → AgingReportsPage-wAvQb1d8-D6uRym4u.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-gLF8Y46q.js → AiCfoScreen-KzOydU1K.js} +1 -1
  15. package/dist/assets/{AllUserItems-DEv_CXOA-BczB69YE.js → AllUserItems-DEv_CXOA-D-bq2iN2.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-BOV1WFVF-DjxtNuTC.js → ApAgingDetailPage-BOV1WFVF-CHgoe9J2.js} +1 -1
  17. package/dist/assets/{AppBasePage-DMlomvFS-DAPyVzw3.js → AppBasePage-DMlomvFS-D2hGShit.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-Dc2sHnR3-DkcYif08.js → AppDrawerContent-Dc2sHnR3-LavVuLGE.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-BnbPSy4U-BkoyF3U2.js → ApprovalRulesSettingsPage-BnbPSy4U-CVVk0lGA.js} +1 -1
  20. package/dist/assets/{ArAgingChart-m-Xp3HAW-2E3yf3w6.js → ArAgingChart-m-Xp3HAW-DyehsuTU.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-b_NpDpWj-D8K0oGBL.js → ArAgingDetailPage-b_NpDpWj-bvIIfM8q.js} +1 -1
  22. package/dist/assets/{AttachmentView-DB_V1qT1-YRFnSBmh.js → AttachmentView-DB_V1qT1-pu05HN8u.js} +1 -1
  23. package/dist/assets/{BankAccountSection-BabhrBM7-BRSx6sCU.js → BankAccountSection-BabhrBM7-Dd_u70sl.js} +1 -1
  24. package/dist/assets/{BankAccountWarningSection-yT2UAd12-hc4ZMuSF.js → BankAccountWarningSection-yT2UAd12-OOunsZf0.js} +1 -1
  25. package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-BcHLkw6J.js → BankConnectionsSettingsPage-CbxXykMM-8U9Rn4at.js} +1 -1
  26. package/dist/assets/{BillDetailPage-7TMkWo3V-D6W3VN4G.js → BillDetailPage-7TMkWo3V-CFxRvOU4.js} +1 -1
  27. package/dist/assets/{BillPayApprovalRoutes-DPHRxesZ.js → BillPayApprovalRoutes-3120qDp_.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-CLsNCUw0.js → BillPayApprovalRuleDetailPage-COyDRpaF-Cab_XJ4M.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-DlJyrfvK.js → BillPayApprovalRulesPage-9pxkgFAT-DtRl9cAs.js} +1 -1
  30. package/dist/assets/{BillPayPromoPage-AGffhbY3-DpLl9nyC.js → BillPayPromoPage-AGffhbY3-Ds-4kTJZ.js} +1 -1
  31. package/dist/assets/{BillPayRoutes-JOylN2BD.js → BillPayRoutes-BIMlh4Mo.js} +1 -1
  32. package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-BP5ujh9A.js → BillPaySetUpPage-Cs5rkWBu-f5jRFn_I.js} +1 -1
  33. package/dist/assets/{BillingSettingsPage-CQ117tT9-TA2HK-aX.js → BillingSettingsPage-CQ117tT9-DFy0vzQN.js} +1 -1
  34. package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-DNA3NRzL.js → BillsBulkReviewDrawerPage-DRkGQQAe-Dns4H6Uq.js} +1 -1
  35. package/dist/assets/{BoxItem-DRwx0M5a-D-Rn9DzO.js → BoxItem-DRwx0M5a-Dw0b9ELb.js} +1 -1
  36. package/dist/assets/{BusinessVerificationPage-1h0z3N9u-XjZx6gHS.js → BusinessVerificationPage-1h0z3N9u-Cr_duL5n.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPageScreen-sFaQye-W.js → BusinessVerificationPageScreen-C7iPYOZn.js} +1 -1
  38. package/dist/assets/{BusyIndication-DizZe0Gu-Ui3yaqtY.js → BusyIndication-DizZe0Gu-CnZz6mNW.js} +1 -1
  39. package/dist/assets/{CardNumberSubText-DqtLT1w5-Bzgrrztr.js → CardNumberSubText-DqtLT1w5-C1PSe701.js} +1 -1
  40. package/dist/assets/{CashbackDetailPage-ChdQcvkC-m-ebT8pi.js → CashbackDetailPage-ChdQcvkC-SWWq0YlX.js} +1 -1
  41. package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-DQYHVV4_.js → ChargeCardDetailPage-DFOKlPNG-CJjKm9Bc.js} +1 -1
  42. package/dist/assets/{ChargeCardListPage-DhLUsUhd-CoIm3KwH.js → ChargeCardListPage-DhLUsUhd-tb3tejt8.js} +1 -1
  43. package/dist/assets/{ChargeCardListTable-DE72YU_i-DgEVI1AC.js → ChargeCardListTable-DE72YU_i-Cgx4aKdo.js} +1 -1
  44. package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--Df_3JGQc.js → ChargeCardPaymentHistoryPage-CbGR18s--Bfhj07GO.js} +1 -1
  45. package/dist/assets/{ChargeCardPromoPage-CPpNh89o-52aj5A04.js → ChargeCardPromoPage-CPpNh89o-B7oJlSNp.js} +1 -1
  46. package/dist/assets/{ChargeCardRoutes-V_6E2iyX.js → ChargeCardRoutes-HvRzXvjz.js} +1 -1
  47. package/dist/assets/{ChargeCardSetupPage-ITi25kUD-D__xDb9M.js → ChargeCardSetupPage-ITi25kUD-C8OGLAOo.js} +1 -1
  48. package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-CZlTL24v.js → ChargeCardStatementsPage-CTJc1BCc-Bqf8iiVh.js} +1 -1
  49. package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-mEHRp2-B.js → CheckDepositDrawerPage-BrzeSj-3-BiABNIOO.js} +1 -1
  50. package/dist/assets/{CollapsableReportTable-CDEe9s_E-B6-yHAq0.js → CollapsableReportTable-CDEe9s_E-C_oaF72K.js} +1 -1
  51. package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js → CompanyOfficerDetailsSection-BaPhFsLx-BbMqIHn4.js} +1 -1
  52. package/dist/assets/{CompanyPassportCard-B9ymV6Az-jkfRIvZo.js → CompanyPassportCard-B9ymV6Az-BunSwLXV.js} +1 -1
  53. package/dist/assets/{CompanyPassportPage-BQ68t7oK-IkltRNSS.js → CompanyPassportPage-BQ68t7oK--72XszNt.js} +1 -1
  54. package/dist/assets/{CompanyPassportScreen-dLVakYjm.js → CompanyPassportScreen-B9qTxVsv.js} +1 -1
  55. package/dist/assets/{CompleteProfile-C5n9b8gQ-CNOkIDDD.js → CompleteProfile-C5n9b8gQ-BGdWCltL.js} +1 -1
  56. package/dist/assets/{ConfettiBurst-BizTW0hz-BB_7e0py.js → ConfettiBurst-BizTW0hz-CTQBBE5b.js} +1 -1
  57. package/dist/assets/{ConnectionAuthScreen-BOPjadvo.js → ConnectionAuthScreen-CyqiWQ_E.js} +1 -1
  58. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-Cxh5xHax.js → ConstrainedInnerElement-BeIpAPjB-BsgBpeqj.js} +1 -1
  59. package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-AtyF4p8I.js → CreateOrEditVendorPage-BIfOA5Nr-9lRrsge2.js} +1 -1
  60. package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-B6o-4EgY.js → CreditCardPaymentDrawerPage-CCpS-31h-DToKME04.js} +1 -1
  61. package/dist/assets/{CurrencySelectField-KvKyemY6-rYSOJjSm.js → CurrencySelectField-KvKyemY6-BTAXQVpc.js} +1 -1
  62. package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-C5HWnW_e.js → CustomerOnboardingActivationPage-6VlMI4oY-BOdglKaR.js} +1 -1
  63. package/dist/assets/CustomerOnboardingAuthScreen-CIAq5RQZ.js +1 -0
  64. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-C6RxLb64.js +1 -0
  65. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-Bbf8x6S7.js} +1 -1
  66. package/dist/assets/{CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js → CustomerOnboardingNoStepsPage-CWF_00EM-BnqhwetY.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingPage-DkW66A-p-BsqCLn06.js → CustomerOnboardingPage-DkW66A-p-mjPzi4YN.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-DIrnT1SJ.js → CustomerOnboardingProductSuitePage-Ba0yotpP-CvaQ2DPj.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingRoutes-yXJnudqI.js → CustomerOnboardingRoutes-BMZ34WsY.js} +1 -1
  70. package/dist/assets/{Dashboard-bX3cWkmP-CJSja88C.js → Dashboard-bX3cWkmP-C6SjsI37.js} +1 -1
  71. package/dist/assets/{DashboardReportPage-DuZ4d4CE-CEa_ZsnB.js → DashboardReportPage-DuZ4d4CE-BrQWIXDX.js} +1 -1
  72. package/dist/assets/{DashboardRoutes-BcGPSKnY.js → DashboardRoutes-BbIXO7iZ.js} +1 -1
  73. package/dist/assets/{DashboardSidebarBackgroundAnimation-UV2CZToG-Dar8E4GV.js → DashboardSidebarBackgroundAnimation-UV2CZToG-CJzaFyVR.js} +1 -1
  74. package/dist/assets/{DefaultTenantHome-BeZ76hjE.js → DefaultTenantHome-x3GPonXU.js} +1 -1
  75. package/dist/assets/{DepositAccTransactionItem-BY_OvuKg-CegBl9NF.js → DepositAccTransactionItem-BY_OvuKg-BLaTgMIz.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionListPage-a__bpCOB-3CdtwLcn.js → DepositAccTransactionListPage-a__bpCOB-DEu6_Tp1.js} +1 -1
  77. package/dist/assets/{DomesticWireDetailScreen-D5m_2Yo0.js → DomesticWireDetailScreen-Cijy0Efi.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailsPage-BumMT4QM-BqgDBN3V.js → DomesticWireDetailsPage-BumMT4QM-CYj_JgcI.js} +1 -1
  79. package/dist/assets/{DownloadOverlay-DqiL3-FB-EoMZNE21.js → DownloadOverlay-DqiL3-FB-DFUDhoKK.js} +1 -1
  80. package/dist/assets/{DrawerPage-CaG-xx5d-Cp5tt9QJ.js → DrawerPage-CaG-xx5d-5p8e_YBN.js} +1 -1
  81. package/dist/assets/{DrawerScreen-CTG5ybiX.js → DrawerScreen-DVazDF-l.js} +1 -1
  82. package/dist/assets/{EditPeoplePage-BcsdEp_d-D-PC_KrM.js → EditPeoplePage-BcsdEp_d-DFKIh_fD.js} +1 -1
  83. package/dist/assets/{EditReimbursementDetailPage-DNUmwdsH-Bq2nc6vp.js → EditReimbursementDetailPage-DNUmwdsH-CG4gk9wM.js} +1 -1
  84. package/dist/assets/{EntityDetailPage-DtX5TjBc-BPO5XePN.js → EntityDetailPage-DtX5TjBc-BEQz1Hbt.js} +1 -1
  85. package/dist/assets/{EntityDetailRoutes-B5R1QZWM.js → EntityDetailRoutes-SleakL8l.js} +1 -1
  86. package/dist/assets/{EntitySummarySection-LEA5m6mN-DSNa9_6d.js → EntitySummarySection-LEA5m6mN-Dwg0kUjR.js} +1 -1
  87. package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-Bq4zhd1r.js → ExpenseAutomationOverviewPage-Dmhn7gfp-COPPJr9M.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationPage-B8C4BxoV-CRrIGE9L.js → ExpenseAutomationPage-B8C4BxoV-n_yUZYRj.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationRoutes-CQ8o1Ut2.js → ExpenseAutomationRoutes-B_snNt3h.js} +1 -1
  90. package/dist/assets/{ExpressPayPage-C-nqret2-DYj2m0J-.js → ExpressPayPage-C-nqret2-Cs-fZ8Mg.js} +1 -1
  91. package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-DFBfCFGy.js → FeaturePreviewPage-BHjUZ7s6-Cbu7pHbq.js} +1 -1
  92. package/dist/assets/{FeaturePreviewScreen-7DbZ3Lx9.js → FeaturePreviewScreen-CsodJgmF.js} +1 -1
  93. package/dist/assets/{FollowStepsSection-0eFMS0c5-CUs8ilzU.js → FollowStepsSection-0eFMS0c5-DZBefIWn.js} +1 -1
  94. package/dist/assets/{GlobalReviewListPage-4eiopkzw-CbQC9oAb.js → GlobalReviewListPage-4eiopkzw-Cw7Qt1Gu.js} +1 -1
  95. package/dist/assets/{InformationCardStack-C7XJCUlh-CelR5zDw.js → InformationCardStack-C7XJCUlh-Q3M0f8VA.js} +1 -1
  96. package/dist/assets/{InsightsCardStack-fBAbQwhK-DPzZunDi.js → InsightsCardStack-fBAbQwhK-B-D5ZqRY.js} +1 -1
  97. package/dist/assets/{InsightsSection-De9zu_me-DIydVhgU.js → InsightsSection-De9zu_me-CkgNcopq.js} +1 -1
  98. package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-hrz650GM.js → IntegrationsSettingsPage-BD5jqAv8-DELKKZ32.js} +1 -1
  99. package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-CtP2y88l.js → InternationalWireSwiftDetailsPage-BftrE612-B1FpsHHY.js} +1 -1
  100. package/dist/assets/{InternationalWireVerificationPage-CDf7equc-BXBU6F90.js → InternationalWireVerificationPage-CDf7equc-Bv_Mlbyz.js} +1 -1
  101. package/dist/assets/{InviteFormPage-E2igwKEh-wVoOBHVT.js → InviteFormPage-E2igwKEh-i9Ejfzju.js} +1 -1
  102. package/dist/assets/{InvitePageListView-Cuq9dlgu-CIGWi2Uo.js → InvitePageListView-Cuq9dlgu-OdcePVjj.js} +1 -1
  103. package/dist/assets/{InvitePeoplePage-Db4P4ZEq-DViNv_LG.js → InvitePeoplePage-Db4P4ZEq-D2qC3MWl.js} +1 -1
  104. package/dist/assets/{InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js → InvoiceUploadSection-DYCjz9CI-kkT5494W.js} +1 -1
  105. package/dist/assets/{IssueChargeCardPage-CK6fnO24-CgQfD7TJ.js → IssueChargeCardPage-CK6fnO24-P9WUVudZ.js} +1 -1
  106. package/dist/assets/{LabeledAddressValue-Ma1WURjK-BQ7yXCyt.js → LabeledAddressValue-Ma1WURjK-OaNz0PUE.js} +1 -1
  107. package/dist/assets/{LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js → LabeledAddressValueField-C6-hVsPb-BrwGoslB.js} +1 -1
  108. package/dist/assets/{LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js → LabeledControlledCheckBoxField-CgZg0uOW-CR4JIvno.js} +1 -1
  109. package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js → LabeledCountryMultiSelectField-sj8p7Rne-DX3ttOa8.js} +1 -1
  110. package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js → LabeledCreatableSingleSelectField-DUTQh416-CXgMt8c7.js} +1 -1
  111. package/dist/assets/{LabeledDocumentField-Bp9m-OrP-C4maUk83.js → LabeledDocumentField-Bp9m-OrP-DsdEjHL5.js} +1 -1
  112. package/dist/assets/{LabeledDropDownFormattedTextField-3-KekP79-2bA1-mcm.js → LabeledDropDownFormattedTextField-3-KekP79-Cwkv98QC.js} +1 -1
  113. package/dist/assets/{LabeledEmailInputField-BRJyFvVd-Bs2EgRoq.js → LabeledEmailInputField-BRJyFvVd-kiNKCxOc.js} +1 -1
  114. package/dist/assets/{LabeledNameField--saAep-_-GEbqq-XX.js → LabeledNameField--saAep-_-DBD-AVmo.js} +1 -1
  115. package/dist/assets/{LabeledSingleSelectField-Ul4tlTiO-C7eur4tW.js → LabeledSingleSelectField-Ul4tlTiO-Den1ewqF.js} +1 -1
  116. package/dist/assets/{LabeledText-DvzVOku6-BIWW9LkN.js → LabeledText-DvzVOku6-CefkvW9I.js} +1 -1
  117. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D-q2p9T4.js} +1 -1
  118. package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js → LabeledZeniRolesDropDownField-kWC0ShEy-CVsIgZCg.js} +1 -1
  119. package/dist/assets/{LinkJETransactionPage-WufhDGDQ-hOiRNbpI.js → LinkJETransactionPage-WufhDGDQ-BAvUkjof.js} +1 -1
  120. package/dist/assets/{LockCardPage-BBIVLYVD-CWfnMAuT.js → LockCardPage-BBIVLYVD-D-wCiOvp.js} +1 -1
  121. package/dist/assets/{LowBalancePopup-ScEqPY9J-BDVRhmW5.js → LowBalancePopup-ScEqPY9J-gzuIRHXd.js} +1 -1
  122. package/dist/assets/{MagicLinkACHDetailsPage-C494txw0-C9zbj8xn.js → MagicLinkACHDetailsPage-C494txw0-C1bmf-0v.js} +1 -1
  123. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CONBCbOQ-BTU1HWRn.js → MagicLinkDomesticWireDetailsPage-CONBCbOQ-Bln_80Rn.js} +1 -1
  124. package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-DTKuj6lk.js → MagicLinkInternationalWireDetailsPage-fSY3JGpz-DK5kviAV.js} +1 -1
  125. package/dist/assets/{MagicLinkRoutes-CBkc9ANU.js → MagicLinkRoutes-CmfDNM9F.js} +1 -1
  126. package/dist/assets/{MagicLinkSignInScreen-DVW3BRZl.js → MagicLinkSignInScreen-BFjmnsBM.js} +1 -1
  127. package/dist/assets/{MagicLinkSuccessPage-BDRXSAO4-BPK2tnCV.js → MagicLinkSuccessPage-BDRXSAO4-BidmJipa.js} +1 -1
  128. package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-C4BiwnoA.js → MagicLinkTitleSection-ZnbKPIvJ-TyHn4cte.js} +1 -1
  129. package/dist/assets/{MailingDetailsSection-DZT7JPlI-B_BKxUqb.js → MailingDetailsSection-DZT7JPlI-BJWdOrL7.js} +1 -1
  130. package/dist/assets/{MobileAppDrawer-SRxQ4nyi.js → MobileAppDrawer-CDJXGCc5.js} +1 -1
  131. package/dist/assets/{MoreMenuButton-CJue6xR9-DxdJkjEQ.js → MoreMenuButton-CJue6xR9-BbSipzeZ.js} +1 -1
  132. package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-CRobqj27.js → MyBankConnectionsSettingsPage-aQDVaEG1-CaNC5sNf.js} +1 -1
  133. package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-CKxLYlt8.js → MyPendingActivationChargeCardListPage-BJrk56oA-6BRLJ-N-.js} +1 -1
  134. package/dist/assets/{MyProfileSettingsPage-L9WuP6HZ-DBau4C6u.js → MyProfileSettingsPage-L9WuP6HZ-Db8rdNHA.js} +1 -1
  135. package/dist/assets/{NavBarWithPicker-zmvBmWS1-Dq59pkcT.js → NavBarWithPicker-zmvBmWS1-BJLXNi9F.js} +1 -1
  136. package/dist/assets/{NavigationArrow-D26UG3p--CJBJ0QVX.js → NavigationArrow-D26UG3p--4hBtDCeO.js} +1 -1
  137. package/dist/assets/{NavigationDots-Bv4tBDN3-C3q3rN5Z.js → NavigationDots-Bv4tBDN3-Bbc9Y5nB.js} +1 -1
  138. package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-Dn0MDdJM.js → NewGlobalMerchantPage-vOn2O6B9-CZ-KVTn5.js} +1 -1
  139. package/dist/assets/{NoDataChart-CgT19fV7-BHysrTfh.js → NoDataChart-CgT19fV7-YzA74zXg.js} +1 -1
  140. package/dist/assets/{NoDataTable-CPjJmo4s-Cw98-IiW.js → NoDataTable-CPjJmo4s-DC_mvjeS.js} +1 -1
  141. package/dist/assets/{NotFoundPage-CP2i3FTm-bZ8NYti5.js → NotFoundPage-CP2i3FTm-g8WrWuym.js} +1 -1
  142. package/dist/assets/{NotFoundScreen-LuCzwVbP.js → NotFoundScreen-C-f3wZff.js} +1 -1
  143. package/dist/assets/{NotificationRoutes-DAiqyeoY.js → NotificationRoutes-Dg3XIX9Z.js} +1 -1
  144. package/dist/assets/{NotificationSettingsPage-CT9Dnb03-avWp6uik.js → NotificationSettingsPage-CT9Dnb03-CCebCFV1.js} +1 -1
  145. package/dist/assets/{NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js → NotificationsListConfig-Bn1zmx6b-DJcpP8xc.js} +1 -1
  146. package/dist/assets/{NotificationsPage-DDwdR_Jq-CoOhM2dl.js → NotificationsPage-DDwdR_Jq-tej2yJGV.js} +1 -1
  147. package/dist/assets/{OpExByVendorPage-DukFYlqO-DRlZ9cev.js → OpExByVendorPage-DukFYlqO-CYuzPdO5.js} +1 -1
  148. package/dist/assets/{OverlayContainerPage-D4QU0p4o-tcmQyJCw.js → OverlayContainerPage-D4QU0p4o-DLRAVdMQ.js} +1 -1
  149. package/dist/assets/{PandLWithForecastPage-Bgflh9Om-CSmTsNHv.js → PandLWithForecastPage-Bgflh9Om-c5nThMSc.js} +1 -1
  150. package/dist/assets/{PandLWithForecastRoutes-C-17dXbC.js → PandLWithForecastRoutes-C5n-QYrM.js} +1 -1
  151. package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-CdhcYMbE.js} +1 -1
  152. package/dist/assets/{PeoplePage-CDvKreQl-BHMfiaC4.js → PeoplePage-CDvKreQl-CENmGC_v.js} +1 -1
  153. package/dist/assets/{PeopleRoutes-DkWBrchL.js → PeopleRoutes-B8sI0j_D.js} +1 -1
  154. package/dist/assets/{PerformanceRoutes-BfVGXw_c.js → PerformanceRoutes-WZ7erXWO.js} +1 -1
  155. package/dist/assets/{Preview-B59RrC-D.js → Preview-Qum01O_7.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-7R3cvGiS-DzOMZ0OK.js → ProductsCarousel-7R3cvGiS-CXIq3yeY.js} +1 -1
  157. package/dist/assets/{PromoBaseCards-DdCMZIc7-B4qYL3sb.js → PromoBaseCards-DdCMZIc7-DUsRLuwv.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js → QBOConnectionDialog-Ca36jKz2-VzJ-tNft.js} +1 -1
  159. package/dist/assets/{QBOConnectionScreen-CJqEVXmb.js → QBOConnectionScreen-BKn1bsKK.js} +1 -1
  160. package/dist/assets/{QBOSetupSection-CzBfIVqR-DDJCICP1.js → QBOSetupSection-CzBfIVqR-BsH0kNj1.js} +1 -1
  161. package/dist/assets/{ReferralListScreen--Li0yAbv.js → ReferralListScreen-CLDDODhh.js} +1 -1
  162. package/dist/assets/{ReimbursementApprovalRoutes-By0X6th0.js → ReimbursementApprovalRoutes-BzZGabOs.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BLIwxZQV.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BF8arjsj.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js → ReimbursementApprovalRuleDetailScreen-DgkaZC29.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-BostsSOa.js → ReimbursementApprovalRulesPage-B48x1gPM-Bhu7VNJX.js} +1 -1
  166. package/dist/assets/{ReimbursementDetailPage-oIC9QEyF-BywJ2Ma5.js → ReimbursementDetailPage-oIC9QEyF-BYQFBAjr.js} +1 -1
  167. package/dist/assets/{ReimbursementPromoPage-BKgsJieE-C8z1p7x-.js → ReimbursementPromoPage-BKgsJieE-BqeZtzWt.js} +1 -1
  168. package/dist/assets/{ReimbursementRoutes-CgHILlr6.js → ReimbursementRoutes-DxWYRF54.js} +1 -1
  169. package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-CEFcuF5y.js → ReimbursementSetUpPage-B_c-ZgFT-C3cbeaxi.js} +1 -1
  170. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DNjVjDW0.js → ReimbursementsBulkReviewDrawerPage-CeyGWbKR-Bg0aREFm.js} +1 -1
  171. package/dist/assets/{ReloadCard-DKGn1uxF-BoCqNia8.js → ReloadCard-DKGn1uxF-BBMNpGcO.js} +1 -1
  172. package/dist/assets/{ReportTableViewSelector-CXDvZEbR-C7-vFnMM.js → ReportTableViewSelector-CXDvZEbR-Cuxyf1PL.js} +1 -1
  173. package/dist/assets/{ReportsPage-BoUyXSBC-Bpcr9t0g.js → ReportsPage-BoUyXSBC-B1CIrnsP.js} +1 -1
  174. package/dist/assets/{ReportsRoutes-BiPwCg8q.js → ReportsRoutes-PkdA0G8P.js} +1 -1
  175. package/dist/assets/{RevenueChart-SvdhwBcE-Dxn52ow-.js → RevenueChart-SvdhwBcE-BdTQ1klG.js} +1 -1
  176. package/dist/assets/{ReviewDetailsPage-tT1l4R2r-RmP2wBK5.js → ReviewDetailsPage-tT1l4R2r-P7Hp1_9i.js} +1 -1
  177. package/dist/assets/{ReviewOverlay-BoM41t8W-CTSAEiQG.js → ReviewOverlay-BoM41t8W-CtjlqWcE.js} +1 -1
  178. package/dist/assets/{RewardsRoutes-E5CnWJ-f.js → RewardsRoutes-iOGCALA_.js} +1 -1
  179. package/dist/assets/{RoleWithToolTip-C8x5yXaK-Dmelwbqx.js → RoleWithToolTip-C8x5yXaK-CKUn0-uO.js} +1 -1
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DSmZf7Qv.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CM1N9pbH.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsPage-Dg9rYJbn-DllnnP3n.js → ScheduleDetailsPage-Dg9rYJbn-D2Q_4uuS.js} +1 -1
  182. package/dist/assets/{ScheduleSequenceTable-J6Eja8XA-Du9cL0M5.js → ScheduleSequenceTable-J6Eja8XA-CqmKdbDZ.js} +1 -1
  183. package/dist/assets/{ScreenRoutes-IRYzg1I8.js → ScreenRoutes-BjC7YyGq.js} +2 -2
  184. package/dist/assets/{SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js → SetUpAccountSection-sfIB1h4i-BlFfIjSJ.js} +1 -1
  185. package/dist/assets/{SettingsRoutes-DcfqDJnj.js → SettingsRoutes-BNSu8ey7.js} +1 -1
  186. package/dist/assets/{SetupPagesScreen-CKIcjKt5.js → SetupPagesScreen-dWvv8Vkm.js} +1 -1
  187. package/dist/assets/{SignIn-Cu2nzuEC-Bp_oT71c.js → SignIn-Cu2nzuEC-W7neZnzv.js} +1 -1
  188. package/dist/assets/{SignInScreen-Ct79gq1E.js → SignInScreen-B2DjBagP.js} +1 -1
  189. package/dist/assets/{SignOutScreen-CZ3i17sZ.js → SignOutScreen-DOoQWNkA.js} +1 -1
  190. package/dist/assets/{SpendManagementListViewPage-9V9u1jPF-impkLVzs.js → SpendManagementListViewPage-9V9u1jPF-CNmMfdC5.js} +3 -3
  191. package/dist/assets/{SpendManagementPerTabPage-COvEPq7V-9dexPOGi.js → SpendManagementPerTabPage-COvEPq7V-BfGw3h9d.js} +1 -1
  192. package/dist/assets/{SpendManagementSection-dT-N4bSQ-zSvxEGhY.js → SpendManagementSection-dT-N4bSQ-VqvaACUn.js} +1 -1
  193. package/dist/assets/{StatementItem-g5tfNBjV-TtkHAa_E.js → StatementItem-g5tfNBjV-DCaidCDa.js} +1 -1
  194. package/dist/assets/{StatementsPage-DaFrVUeK-BKmugpaZ.js → StatementsPage-DaFrVUeK-BW2Dp2V6.js} +1 -1
  195. package/dist/assets/{StatusSwitcher-CaoFw0cf-DekkCuBN.js → StatusSwitcher-CaoFw0cf-Ch4dQfH4.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-zrkVj1aP-DzJ74MSf.js → SubTabSwitcher-zrkVj1aP-D6VIyY-Z.js} +1 -1
  197. package/dist/assets/{SuccessAnimation-oz7yQ6H3-CuxEvbYZ.js → SuccessAnimation-oz7yQ6H3-DCH4pSDl.js} +1 -1
  198. package/dist/assets/{SummaryCard-B9wqNSwM-CfbafqaP.js → SummaryCard-B9wqNSwM-BQORweBl.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-044JwAvz-Dbz-j4Qe.js → TaskDetailPage-044JwAvz-BsxB5wXt.js} +1 -1
  200. package/dist/assets/{TaskListScreen-D2hgfbUK.js → TaskListScreen-COe20neh.js} +1 -1
  201. package/dist/assets/{TaskManagementPage-dAK9tl2b-VU_G-rkO.js → TaskManagementPage-dAK9tl2b-DpxnMG8s.js} +1 -1
  202. package/dist/assets/{TaskRoutes-JZtbl56L.js → TaskRoutes-CqUuXVTM.js} +1 -1
  203. package/dist/assets/{TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js → TimeRangeSwitcher-r1TNqVRb-DDWjaMZm.js} +1 -1
  204. package/dist/assets/{TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js → TimeframeSwitcher-DHfHCTa4-DIsvW45z.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js → TimeframeSwitcherWithToggle-DvBvguRl-DJysAVHF.js} +1 -1
  206. package/dist/assets/{TopExCard-BUjnGDUB-310z6unt.js → TopExCard-BUjnGDUB-ttJkE96A.js} +1 -1
  207. package/dist/assets/{TopExDetailPage-CNDkfc3u-BceOPcNG.js → TopExDetailPage-CNDkfc3u-eQOjfT63.js} +1 -1
  208. package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-D70Ebwxd.js → TransactionActivityLogPage-kSQqJVpX-B9afzw67.js} +1 -1
  209. package/dist/assets/{TransactionDetailPage-f7vWtXWL-DszE4Lqv.js → TransactionDetailPage-f7vWtXWL-BHkxNNoi.js} +1 -1
  210. package/dist/assets/{TransactionDetailRoutes-TOpy1uKa.js → TransactionDetailRoutes-CFxJlCDv.js} +1 -1
  211. package/dist/assets/{TransactionDetailScreen-Bl43zCpG.js → TransactionDetailScreen-RMm3yh3q.js} +1 -1
  212. package/dist/assets/{TransactionList-3-mUZOsw-BQQrTUgt.js → TransactionList-3-mUZOsw-BRm-0gwi.js} +1 -1
  213. package/dist/assets/{TransactionListBig-Bx_Rm9ho-KpaUS-0g.js → TransactionListBig-Bx_Rm9ho-BW3qg5px.js} +1 -1
  214. package/dist/assets/{TransactionListPage-q6x4_jni-BCTSngWR.js → TransactionListPage-q6x4_jni-Ck3BfjqI.js} +1 -1
  215. package/dist/assets/{TransactionListRoutes-CMLh_lHF.js → TransactionListRoutes-FdD6hwPS.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-C0iHLHKf.js → TransactionVendorDetailPage-MjSH5hfq-AIc-njlZ.js} +1 -1
  217. package/dist/assets/{TransferDrawerPage-BayVa6po-DlkdYqMW.js → TransferDrawerPage-BayVa6po-DzuT5ckv.js} +1 -1
  218. package/dist/assets/{TreasuryOverviewPage-CuqWmrO5-BZ_bPirD.js → TreasuryOverviewPage-CuqWmrO5-DQP2rVmX.js} +1 -1
  219. package/dist/assets/{TreasuryPromoPage-BCjz1EKX-DryQkob1.js → TreasuryPromoPage-BCjz1EKX-HfD9h1oo.js} +1 -1
  220. package/dist/assets/{TreasuryRoutes-Uv2Q4-px.js → TreasuryRoutes-SUWjRFNC.js} +1 -1
  221. package/dist/assets/{TreasuryStatementsPage-CGr00SXF-BI3wmSNl.js → TreasuryStatementsPage-CGr00SXF-CDKxxWlC.js} +1 -1
  222. package/dist/assets/{TreasuryTaxLetterPage-D9_qnlK4-BJVe4ICp.js → TreasuryTaxLetterPage-D9_qnlK4-B94LHF1S.js} +1 -1
  223. package/dist/assets/{TrendChart-JTOG0a7B-DWRNXuz6.js → TrendChart-JTOG0a7B-BP3jqykN.js} +1 -1
  224. package/dist/assets/{TrendWithTransactions-CTJhTpAM-BLYcqVCK.js → TrendWithTransactions-CTJhTpAM-B82CLfKh.js} +1 -1
  225. package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-CSRo9cGj.js → UncategorizedAccountsMappingPage-TGKYpC5A-CyjKlDmg.js} +1 -1
  226. package/dist/assets/{UnitIntegrationPage-mt2IjA5X-HULL3VCR.js → UnitIntegrationPage-mt2IjA5X-CV4KfkCa.js} +1 -1
  227. package/dist/assets/{UploadAdditionalDocumentOverlay-DZfpwE5J-Cm7mweqJ.js → UploadAdditionalDocumentOverlay-DZfpwE5J-BKhXo9Nh.js} +1 -1
  228. package/dist/assets/{Vendor2FAPopup-DAOf5cJD-foKceGQ2.js → Vendor2FAPopup-DAOf5cJD-CIUFbRo1.js} +1 -1
  229. package/dist/assets/{VendorACHDetailsPage-CCOupiSZ-aPYjuiNm.js → VendorACHDetailsPage-CCOupiSZ-DAoMIzt9.js} +1 -1
  230. package/dist/assets/{VendorDetailPage-DufNphGD-angvVXfL.js → VendorDetailPage-DufNphGD-BCVjx7rq.js} +1 -1
  231. package/dist/assets/{VendorDomesticWireDetailsPage-BayV34Rt-dHdeqKnp.js → VendorDomesticWireDetailsPage-BayV34Rt-DE4GVLFX.js} +1 -1
  232. package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-C0qN_xq7.js → VendorFiling1099EditablePage-CRnO7Ubw-D0wpTO-8.js} +1 -1
  233. package/dist/assets/{VendorFirstReviewPage-DA0EL4RJ-CiwNSvUn.js → VendorFirstReviewPage-DA0EL4RJ-H5XWEMm0.js} +1 -1
  234. package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-Ccax-820.js → VendorInternationalWireDetailsPage-HUtNyn9Z-DWZVbqks.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BDnM6T3H.js → VendorInternationalWireSwiftDetailsPage-DRVMUeXi-C6tRB2gd.js} +1 -1
  236. package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-OD2ANcpQ.js → VendorsAccountsSection-D6Qa1zf9-DANPCbwg.js} +1 -1
  237. package/dist/assets/{VendorsRoutes-BTXTUssE.js → VendorsRoutes-BVCRqCEG.js} +1 -1
  238. package/dist/assets/{VerifyDevice-B6B_nk3v-BfzLjpGJ.js → VerifyDevice-B6B_nk3v-DJK02mA1.js} +1 -1
  239. package/dist/assets/{VideoPlayer-BRAgZThr-Bcaasp-U.js → VideoPlayer-BRAgZThr-DohfH4SH.js} +1 -1
  240. package/dist/assets/{VideoPopup-C_SkBI9U-xDIm2hVu.js → VideoPopup-C_SkBI9U-BZBvhjwG.js} +1 -1
  241. package/dist/assets/{WiseConfirmationScreen-DSWFe61l.js → WiseConfirmationScreen-DPzL3Nm5.js} +1 -1
  242. package/dist/assets/{ZeniAccountDetailPage-Dp-eo-Vq-DUr2L7qz.js → ZeniAccountDetailPage-Dp-eo-Vq-COZCEmi9.js} +1 -1
  243. package/dist/assets/{ZeniAccountListViewPage-S-XmAYqD-CGRw402N.js → ZeniAccountListViewPage-S-XmAYqD-D7H8v3r1.js} +1 -1
  244. package/dist/assets/{ZeniAccountNavBarPieces-DhjBxfEr-obkuSya3.js → ZeniAccountNavBarPieces-DhjBxfEr-Cs-gaW1N.js} +1 -1
  245. package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-B5ynGf7u.js → ZeniAccountPromoPage-BgYCHYLO-oZ6IBRNP.js} +1 -1
  246. package/dist/assets/{ZeniAccountRoutes-ZzewLkL8.js → ZeniAccountRoutes-47ve1PwB.js} +1 -1
  247. package/dist/assets/{ZeniAccountSetupPage-CvnIMdcY-BIOUi-Do.js → ZeniAccountSetupPage-CvnIMdcY-dKy7tH_r.js} +1 -1
  248. package/dist/assets/{ZeniAccountStatementScreen-8454IT-f.js → ZeniAccountStatementScreen-BpjEIKgA.js} +1 -1
  249. package/dist/assets/{ZeniAvatar-CwHVUcMc-BJ8AyUay.js → ZeniAvatar-CwHVUcMc-C16MROkP.js} +1 -1
  250. package/dist/assets/{ZeniCopyright-BlLvlGZV-PtfyMNGF.js → ZeniCopyright-BlLvlGZV-DW5yyzHt.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-DCurorsW-jSixMxUp.js → ZeniDatePicker-DCurorsW-CYLvWUcS.js} +1 -1
  252. package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-BLgZWrKb.js → ZeniTransferAmountSlider-BNYgPwHs-DSQbkcUQ.js} +1 -1
  253. package/dist/assets/{accountMappingHelper-S5pr6xme.js → accountMappingHelper-C-aWzSgw.js} +1 -1
  254. package/dist/assets/{add-to-wallet-DgdBD8_G-BxcaFQ_E.js → add-to-wallet-DgdBD8_G-DXAWHlrW.js} +1 -1
  255. package/dist/assets/{analytics-BZz0SPy3.js → analytics-BmnY7Of2.js} +1 -1
  256. package/dist/assets/{analyticsHelper-CRAJfei1.js → analyticsHelper-Bh2orC3q.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CYr5V2MV-D47W16kx.js → analyticsHelper-CYr5V2MV-y-wB64MS.js} +1 -1
  258. package/dist/assets/{arrow-south-east-round-PEovUgvH-CyfpwaWH.js → arrow-south-east-round-PEovUgvH-D1I1BAuQ.js} +1 -1
  259. package/dist/assets/{auto-transfer-rule-mbafm5D3-Dm3PoOP-.js → auto-transfer-rule-mbafm5D3-r5N7lB7E.js} +1 -1
  260. package/dist/assets/{avatar-Dz7aEm3d-B59e782o.js → avatar-Dz7aEm3d-CWSJfcBr.js} +1 -1
  261. package/dist/assets/{calculateSize-Bn1NnCzV-CbPGQ475.js → calculateSize-Bn1NnCzV-TroXRAr5.js} +1 -1
  262. package/dist/assets/{chartTypes-40RenddT-C7uxWjgM.js → chartTypes-40RenddT-Bnggt3nP.js} +1 -1
  263. package/dist/assets/{clock-CJkylEKt-DGRbc2He.js → clock-CJkylEKt-CcT-fN9H.js} +1 -1
  264. package/dist/assets/{common-DEB71I4X-BRhAN_mv.js → common-DEB71I4X-BP6KIcNH.js} +1 -1
  265. package/dist/assets/{commonDimensions-BMnB1-xU-CcNkFk9x.js → commonDimensions-BMnB1-xU-1VIWnl3s.js} +1 -1
  266. package/dist/assets/{commonTypes-DsWS6Ccc-DgEYQkuk.js → commonTypes-DsWS6Ccc-BDxz0JyY.js} +1 -1
  267. package/dist/assets/{core-BSWMBnrJ.js → core-B3AUZ034.js} +1 -1
  268. package/dist/assets/{dash.all.min-ByV77lf8.js → dash.all.min-CqgOQ8Xc.js} +1 -1
  269. package/dist/assets/{decodeURIComponentSafe-B2RLRrdt.js → decodeURIComponentSafe-D4h--dTH.js} +1 -1
  270. package/dist/assets/{detailCommon-CrcyqWtZ-s9USgEEF.js → detailCommon-CrcyqWtZ-BELajPOa.js} +1 -1
  271. package/dist/assets/{dnd-DJrh3JTW.js → dnd-mmN84DSl.js} +1 -1
  272. package/dist/assets/{dollar-round-D18u7nlm-qWQy8tOr.js → dollar-round-D18u7nlm-BWc-oi1O.js} +1 -1
  273. package/dist/assets/{downloadPdf-CUUx8PWn-Z4ddkC82.js → downloadPdf-CUUx8PWn-DMS-X4cm.js} +1 -1
  274. package/dist/assets/{empty-Ink6PjPr.js → empty-ClYhFGkg.js} +1 -1
  275. package/dist/assets/{empty-BcmJSfoQ.js → empty-DVr7EnEn.js} +1 -1
  276. package/dist/assets/{epic-C8YaW2BC.js → epic-CbXz6OFl.js} +1 -1
  277. package/dist/assets/{filter-cZIFUNvj-CBGTjKNF.js → filter-cZIFUNvj-CBkV_xVZ.js} +1 -1
  278. package/dist/assets/{getLocaleForTenant-CeTv0_64.js → getLocaleForTenant-DD-EE4Du.js} +1 -1
  279. package/dist/assets/{gift-box-Cmt9OgIZ-Dw9Bntj7.js → gift-box-Cmt9OgIZ-Cp742cB5.js} +1 -1
  280. package/dist/assets/{graphic-no-data-l-DU4J8fDt-hCWvJzzH.js → graphic-no-data-l-DU4J8fDt-aEBiiMn8.js} +1 -1
  281. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DLhWQ7Y3.js → graphic-no-data-net-burn-l-CzmycA0m-DujNi495.js} +1 -1
  282. package/dist/assets/{handshake-BPg58FML-DcpKXQqd.js → handshake-BPg58FML-DXe8dYDO.js} +1 -1
  283. package/dist/assets/{helper-BMiMbXMj-BqD7TDgt.js → helper-BMiMbXMj-DaIOHAer.js} +1 -1
  284. package/dist/assets/{hyperlink-DQyCeXx2-DgnccV5_.js → hyperlink-DQyCeXx2-CXNsIl9J.js} +1 -1
  285. package/dist/assets/{index-T6cemxxv.js → index-BtPm9NIK.js} +6 -6
  286. package/dist/assets/{index-ByhS5XEB.js → index-CXU2FVzB.js} +1 -1
  287. package/dist/assets/{index-B9LViB8R.js → index-D0KjvO9E.js} +1 -1
  288. package/dist/assets/{index-B5VyyyEM.js → index-D6tI4qS0.js} +1 -1
  289. package/dist/assets/{index-4TmfhDJk.js → index-DHw8aJ44.js} +1 -1
  290. package/dist/assets/{index-De4FUH-D.js → index-thVhxS1z.js} +1 -1
  291. package/dist/assets/{lexical-CdVAcKo7.js → lexical-Bg0iM57w.js} +1 -1
  292. package/dist/assets/{liveblocks--WiFaeN0.js → liveblocks-DFhc43aC.js} +1 -1
  293. package/dist/assets/{lottie-DOxhyevU.js → lottie-BaQk2SMe.js} +1 -1
  294. package/dist/assets/{mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js → mapLoadingInProgressToTreeNode-DGnyXKBT-Wps1a9Kl.js} +1 -1
  295. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-B4027zU8.js} +1 -1
  296. package/dist/assets/{mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js → mapSpacerToTreeNode-CvGdU9Ma-Cc1qVXN0.js} +1 -1
  297. package/dist/assets/{mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js → mapTimeframeBalancesToTreeNode-BCOsOvxo-BX8RS135.js} +1 -1
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js → mapTimeframeBalancesToTreeNode-DIqYP3NK-DcYeE0sW.js} +1 -1
  299. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-u2sPQG8-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-CrJ8hg5j.js} +1 -1
  300. package/dist/assets/{media-player-2gWGctcr.js → media-player-DZNXgAVG.js} +2 -2
  301. package/dist/assets/{money-2cg1MuG4-ZZWEE1BS.js → money-2cg1MuG4-BI9DAoQY.js} +1 -1
  302. package/dist/assets/{mui-GaW5Gk_e.js → mui-BHPGtaMB.js} +1 -1
  303. package/dist/assets/{page-detail-CWX5S47F-KCA2hl3j.js → page-detail-CWX5S47F-iWLSE6no.js} +1 -1
  304. package/dist/assets/{page-summary-D7_VQHwN-C4mva4td.js → page-summary-D7_VQHwN-BgG0ZQev.js} +1 -1
  305. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-DWsrfnbc.js → panelSelectedMixin-CzfD5-Zs-Cgco5JZt.js} +1 -1
  306. package/dist/assets/{pathToGoBack-C0wXThmF.js → pathToGoBack-Z7p6r6H4.js} +1 -1
  307. package/dist/assets/{pdf-DWoGjGSw.js → pdf-BC9fZG9d.js} +3 -3
  308. package/dist/assets/{pdf-lib-CU3tv6Hj.js → pdf-lib-BMom1oAq.js} +1 -1
  309. package/dist/assets/{plaid-CNcdZ4gc.js → plaid-Koifne5k.js} +1 -1
  310. package/dist/assets/{pusher-_Mkhq734.js → pusher-BdSpE7Mf.js} +1 -1
  311. package/dist/assets/{radio-default-CiSgisfh-CkW2sMb1.js → radio-default-CiSgisfh-nXNoiiEG.js} +1 -1
  312. package/dist/assets/{react-DnPZ1Xhy.js → react-BFPsGEjR.js} +3 -3
  313. package/dist/assets/{react-BO8sqwy5.js → react-BpR3neXG.js} +1 -1
  314. package/dist/assets/{react-CKfk9tDS.js → react-C1IHISvT.js} +1 -1
  315. package/dist/assets/{react-COkkiwUG.js → react-CIV5YenX.js} +1 -1
  316. package/dist/assets/{react-CgpHxMDb.js → react-DTD1FjkF.js} +1 -1
  317. package/dist/assets/{react-CNYdj_E0.js → react-NRHLHLBh.js} +1 -1
  318. package/dist/assets/{react-XuqF4K_l.js → react-VDSbRVm5.js} +1 -1
  319. package/dist/assets/{react-C4isuCpp.js → react-yyp5ThFM.js} +1 -1
  320. package/dist/assets/{recharts-BQ8VH5gX.js → recharts-DCahVeG0.js} +1 -1
  321. package/dist/assets/{routePaths-BCoYK2N6.js → routePaths-Dqvnjt0t.js} +1 -1
  322. package/dist/assets/{sentry-BoIfGJBF.js → sentry-DU2EcgXN.js} +1 -1
  323. package/dist/assets/{shield-DOlUxcFf-C_2cYUuc.js → shield-DOlUxcFf-YrgbzvCT.js} +1 -1
  324. package/dist/assets/{spend-limit-D6SyboD4-D6KSyTVe.js → spend-limit-D6SyboD4-BIEmtKpL.js} +1 -1
  325. package/dist/assets/{toCOABalancesWithID-DkMGvlEt-R8kfnDme.js → toCOABalancesWithID-DkMGvlEt-Chva4nz-.js} +1 -1
  326. package/dist/assets/{toChartData-C6s-eBzE-hyCfo1sK.js → toChartData-C6s-eBzE-xR7CEkgo.js} +1 -1
  327. package/dist/assets/{transaction-placeholder-CpOwZAMG-DpSw-x8s.js → transaction-placeholder-CpOwZAMG-CNW_yHtL.js} +1 -1
  328. package/dist/assets/{undo-b_3XZ5CX-CsWxipxr.js → undo-b_3XZ5CX-BTtZXb5Z.js} +1 -1
  329. package/dist/assets/{unlock-BPWn2I5L-C7FVhrTq.js → unlock-BPWn2I5L-CYQ3BxxF.js} +1 -1
  330. package/dist/assets/{uploadAttachment-BlLqRIXe-CWI7Q5hT.js → uploadAttachment-BlLqRIXe-CGlO_7vi.js} +1 -1
  331. package/dist/assets/{uploadReceipts-Dge0cNF1-CQe0GGy5.js → uploadReceipts-Dge0cNF1-CtZmuvXk.js} +1 -1
  332. package/dist/assets/{url-uuiUYH_k.js → url-DX7gND89.js} +1 -1
  333. package/dist/assets/{url-BGCwBSI6.js → url-Dqzk0kdF.js} +1 -1
  334. package/dist/assets/{useDeviceId-0-eUuQR6.js → useDeviceId-BmcpsNHk.js} +1 -1
  335. package/dist/assets/{useInitialThreadRequest-c5K33_u9.js → useInitialThreadRequest-QVhB5q5V.js} +1 -1
  336. package/dist/assets/{useLongPress-GCK2COYQ-CkGyzLnK.js → useLongPress-GCK2COYQ-DY5WLHMQ.js} +1 -1
  337. package/dist/assets/{usp-line-BBd1wKwW-BDy8G8EG.js → usp-line-BBd1wKwW-DNpFJb5T.js} +1 -1
  338. package/dist/assets/{utils-BGRwbgi2.js → utils-CPca4UDN.js} +1 -1
  339. package/dist/assets/{withTransactionSidePanel-BYXSUWst.js → withTransactionSidePanel-Dgn2a95s.js} +1 -1
  340. package/dist/assets/{zeni-epic-state-BtVcBgvu.js → zeni-epic-state-Bnfd9FE6.js} +3 -3
  341. package/dist/assets/{zeni-icon-only-BOcJS42c.js → zeni-icon-only-Bl-Y4_od.js} +1 -1
  342. package/dist/index.html +1 -1
  343. package/package.json +1 -1
  344. package/dist/assets/CustomerOnboardingAuthScreen-xza8qbxh.js +0 -1
  345. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbqRfwbf.js +0 -1
@@ -1 +1 @@
1
- import{j as M}from"./pdf-DWoGjGSw.js";import{a as d}from"./sentry-BoIfGJBF.js";import{i as pe,u as a,l as Qe,h as Xe,j as qe,g as P}from"./core-BSWMBnrJ.js";import{cs as he,cA as ea,cB as Se,cu as aa,bm as ta,cL as na,cC as sa,cD as oa,cF as ia,cJ as ra,cU as da,cK as g,cN as ca,cO as ue,cR as la,cP as ua,cQ as ma,cS as fa,cT as ba,cW as pa,bO as ha,bt as Sa,d0 as ga,c_ as Ea,c$ as ka,cZ as Ca}from"./zeni-epic-state-BtVcBgvu.js";import{jX as ya,jY as Ia,w as Ta,aE as wa,je as k,jd as _a,aG as r,jZ as Aa,j_ as Fa,t as Da,jj as $a,j$ as va,jU as ja,k0 as Ba,k1 as Pa,k2 as me,k3 as fe,jf as Ra,k4 as xa,k5 as be,jl as R,jA as w,k6 as x,k7 as Ma}from"./index-T6cemxxv.js";import{D as Na}from"./mui-GaW5Gk_e.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new m.Error().stack;c&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[c]="5df5dcee-09f1-4ef7-a2d0-6b015fb8d177",m._sentryDebugIdIdentifier="sentry-dbid-5df5dcee-09f1-4ef7-a2d0-6b015fb8d177")}catch{}})();const Ua=ya(({isAppContentDrawerOpen:m,handleDrawerToggle:c})=>{const{tenantEmailDomain:t}=Qe(),n=Xe(),C=Ta(),o=qe(),N=aa(),f=pe(),{useFeatureGate:i}=wa(),U=k.getSignedInUser(),_=ta(U),s=a(e=>he(e)),V=a(e=>na(e)),G=V.uiState.currentChatSessionId,[ge,Ee]=d.useState(!1),{setLoading:ke}=_a(),[A,O]=d.useState(void 0),F=P("/:tenantEmailDomain/dashboard")!==null,L=P("/:tenantEmailDomain/reports")!==null,y=P("/:tenantEmailDomain/onboarding/*")!==null,{isFeatureEnabled:Y}=i(r.isDepositAccountsFeatureEnabled),{isFeatureEnabled:Ce}=i(r.isChargeCardFeatureEnabled),{isFeatureEnabled:Z}=i(r.isDebitCardFeatureEnabled),ye=Aa(s,Ce,Z),{isFeatureEnabled:Ie}=i(r.isSettingsFeatureEnabled),z=a(e=>sa(e)),{isFeatureEnabled:I}=i(r.isReferralFeatureEnabled),[H,Te]=d.useState(!1),D=a(e=>oa(e));d.useEffect(()=>{H===!1&&I&&!y&&D.fetchState==="Not-Started"&&(Te(!0),f(ia(!0)))},[I,H,D.fetchState,y]);const h=k.getSignedInUser(),$=a(e=>e.tenantState),we=a(e=>$.fetchState==="Completed"?ra(e):[]),E=a(e=>e.expenseAutomationViewState.selectedPeriodByTenantId),{isFeatureEnabled:_e}=i(r.isApAgingFeatureEnabled),{isFeatureEnabled:Ae}=i(r.isArAgingFeatureEnabled),{isFeatureEnabled:W}=i(r.isExpenseAutomationEnabled),{isFeatureEnabled:J}=i(r.isExpenseAutomationEnabledV2),K=J||W&&_,{isFeatureEnabled:Fe}=i(r.isDashboardSidebarHalloweenAnimationEnabled),{isFeatureEnabled:De}=i(r.isDashboardSidebarThanksGivingAnimationEnabled),{isFeatureEnabled:$e}=i(r.isDashboardSidebarChristmasAnimationEnabled),{isFeatureEnabled:ve}=i(r.isDashboardSidebarNewYearAnimationEnabled),{isFeatureEnabled:je}=i(r.isTreasuryEnabled),{isFeatureEnabled:Be}=i(r.isTaskManagerCustomerUserAccessEnabled),Pe=_||!_&&Be,Re=s.company!=null&&da(s.company),T=je&&Re,xe=a(e=>g(e).totalUnreadCount),Me=a(e=>g(e).reducedFetchCountState),Q=a(e=>g(e).notificationDetailsByTab.tasks.uiState.unreadCount),X=a(e=>g(e).notificationDetailsByTab.comments.uiState.unreadCount),Ne=a(e=>g(e).notificationDetailsByTab.tasks.fetchCountState),v=a(e=>g(e).notificationDetailsByTab.comments.fetchCountState),{inboxNotifications:q,isLoading:ee,isFetchingMore:ae,hasFetchedAll:te,fetchMore:Ue}=Fa();d.useEffect(()=>{const e=setTimeout(()=>Ue?.(),0);return()=>clearTimeout(e)}),d.useEffect(()=>{if(ee===!1&&ae===!1&&te===!0)if(s?.companyId!=null&&q!=null){const e=`dashboard_${s.companyId}`;O(q.filter(u=>u.roomId===e&&u.readAt==null).length)}else O(0)},[ee,ae,te]),d.useEffect(()=>{y||Ne.fetchState!=="Not-Started"||N.tenantId==null||ge||(Ee(!0),f(ca("task_manager","dashboard")))},[N.tenantId]),d.useEffect(()=>{y||v.fetchState!=="Not-Started"||f(ue({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),d.useEffect(()=>{A!=null&&v.fetchState==="In-Progress"&&(f(ue({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),f(Se({unreadCount:A},"comments")))},[A,v.fetchState]);const Ve={fetchStatus:Me,count:xe},ne=t!=null?k.getSignedInUserTenant(t):null,se=a(e=>ne?.tenantId!=null?la(e,ne.tenantId):void 0),S=[];_e===!1&&S.push("accounts_payable_aging"),Ae===!1&&S.push("accounts_receivable_aging"),Y===!1&&S.push("zeni_accounts_promo_card"),I===!1&&S.push("rewards_card"),K===!1&&S.push("expense_automation_card");const Ge=Da(),oe=a(e=>ua(e,S,h,J,W,T).fetchState),ie=a(e=>ma(e).fetchState),Oe=F&&(oe==="Completed"||oe==="Error")||L&&(ie==="Completed"||ie==="Error")||!F&&!L?void 0:"disabled",Le=d.useMemo(()=>fa(s.userRole),[s.userRole]),Ye=ba(Le),Ze=s?.rewardsLastViewedTime==null,ze=h?.userEmail!=null&&z.fetchState==="Completed"&&pa(z.notificationSettings,h.userEmail,Z,s),re=$a(),He=re&&va(n),de=ha(Ge?.loggedInUserRoleMap),ce=s.companyTreasuryInfo?.info?.isTreasuryTOSAccepted,j=d.useCallback(()=>T&&de&&!k.getTreasuryPopupSeen(t??"")&&ce===!1&&ja(n.pathname)!=="treasury",[T,de,ce,n.pathname,t]),[We,le]=d.useState(j);d.useEffect(()=>{le(j())},[j]);const Je=a(e=>e.treasurySetupViewState.treasuryFundsDetails).fundsDetails,Ke=Ba(Je);return M.jsx(Na,{container:window.document.body,variant:"temporary",open:m,onClose:()=>c(!1),PaperProps:{sx:{width:240,zIndex:8,borderRight:"none",backgroundImage:"none"}},ModalProps:{keepMounted:!0},children:M.jsx(Pa,{signedInUser:U,currentTenantId:$.currentTenantId??"",tenants:$.fetchState==="Completed"?we:se!=null?[se]:[],currentTenant:s,isTenantDropdownDisabled:Oe,isSettings:fe(n),isSettingsFeatureEnabled:Ie,isVendorsTabVisible:Ye,isZeniAccountEnabled:Y,isChargeCardEnabled:ye,isTreasuryEnabled:T,treasuryYieldPercentage:Ke,isTreasuryPopupVisible:We,isNotificationsTabVisible:ze,notificationCountDetails:Ve,isExpenseAutomationEnabledForUser:K&&Sa(s.userRole)===!1,selectedMenu:me(n),rewardsConfiguration:{isRewardsTabVisible:I,isRewardsAnimated:Ze,rewardsPlan:D.rewardsPlan},isAiCfoAccessEnabled:re,onNotificationIconClick:()=>{c(!1);let e=Q===0&&X>0?"notifications/comments":"notifications/tasks";fe(n)&&(e=Q===0&&X>0?"../../notifications/comments":"../../notifications/tasks");const u=w(n.state?.pathnameStackToGoBack,n.pathname);o(e,{state:{pathnameStackToGoBack:u}})},handleCockpitClick:()=>{window.open("/cockpit")},handleLogOutClick:()=>{c(!1);const e=w(n.state?.pathnameStackToGoBack,n.pathname);o("/signout",{replace:!0,state:{pathnameStackToGoBack:e,message:"logout"}})},handleMenuChange:e=>{if(c(!1),e.type==="ai_cfo"){const p=w(n.state?.pathnameStackToGoBack,n.pathname);return R.trackAICFOChatScreenStateChanged("viewed","left_menu",G??null,null),void o(`/${t}/ai-cfo/explore`,{state:{pathnameStackToGoBack:p,referrer:"Sidebar"}})}const u=w(n.state?.pathnameStackToGoBack,n.pathname),l=e.type,b=x(l)&&l!=="command_center";if(x(e.type)&&E[s.tenantId]!=null&&R.trackMonthEndCloseClicked(E[s.tenantId].month,E[s.tenantId].year,"Sidebar"),b&&E[s.tenantId]!=null){const p=E[s.tenantId];return void o(`/${t}/month_end_close_checks/review/${e.type}/${p.month}-${p.year}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})}const B=Ma(e.type);be(e.type)?(G!=null&&f(Ca()),o(`/${t}/ai-cfo/${e.type}`,{state:{pathnameStackToGoBack:u.slice(0,-1),referrer:"Sidebar"}})):o(`/${t}/${B}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})},handleMyProfileClick:()=>{c(!1),o(`/${t}/settings/my_profile`)},handleReferralsClick:()=>{c(!1),o(`/${t}/rewards`)},handleBackClick:()=>{o(`/${t}/dashboard`)},handleTenantSelect:e=>{ke(Ra.TENANT_SWITCHING),c(!1);const u=e.tenantEmailDomain,l=me(n);let b=`/${encodeURIComponent(u)}/`;const B=x(l);l==="home"?b+="dashboard":l==="users_and_roles"?b+="people":xa(l)?b+="settings/my_profile":be(l)?b+=`ai-cfo/${l}`:b+=l==="task_checklist"?"tasks":B?"month_end_close_checks/review":encodeURIComponent(l),o(b,{replace:!0}),h!=null&&(f(Ea(e.tenantId)),f(ka(h.userId,e.tenantId,h.zeniSessionId)));const p=e;R.trackCompanySwitch(p.companyId,p.companyName,p.userRole)},handlePopupClose:()=>{k.saveTreasuryPopupSeen(t??"",!0),le(!1)},onZeniLogoClick:()=>{C.toggle()},isAiCfo:He,aiCfoView:V,isOnDashboard:F,updateCurrentChatSessionId:e=>{f(ga({sessionId:e,agentId:"controller"})),o(`/${t}/ai-cfo/${e}`)},halloweenAnimationEnabled:Fe,isTaskManagerAccessEnabled:Pe,thanksGivingAnimationEnabled:De,christmasAnimationEnabled:$e,newYearAnimationEnabled:ve})})}),za=m=>{const c=pe(),t=a(C=>he(C)),n={events:t.userRoleId!=null?[`private-${t.userRoleId}.dashboard-user-notification`]:[],eventCallback:(C,o)=>{Ia(o)&&ea(o.mode)==="dashboard"&&c(Se({unreadCount:o.data.unread},"tasks"))}};return M.jsx(Ua,{...m,...n})};export{za as M};
1
+ import{j as M}from"./pdf-BC9fZG9d.js";import{a as d}from"./sentry-DU2EcgXN.js";import{i as pe,u as a,l as Qe,h as Xe,j as qe,g as P}from"./core-B3AUZ034.js";import{cs as he,cA as ea,cB as Se,cu as aa,bm as ta,cL as na,cC as sa,cD as oa,cF as ia,cJ as ra,cU as da,cK as g,cN as ca,cO as ue,cR as la,cP as ua,cQ as ma,cS as fa,cT as ba,cW as pa,bO as ha,bt as Sa,d0 as ga,c_ as Ea,c$ as ka,cZ as Ca}from"./zeni-epic-state-Bnfd9FE6.js";import{jX as ya,jY as Ia,w as Ta,aE as wa,je as k,jd as _a,aG as r,jZ as Aa,j_ as Fa,t as Da,jj as $a,j$ as va,jU as ja,k0 as Ba,k1 as Pa,k2 as me,k3 as fe,jf as Ra,k4 as xa,k5 as be,jl as R,jA as w,k6 as x,k7 as Ma}from"./index-BtPm9NIK.js";import{D as Na}from"./mui-BHPGtaMB.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new m.Error().stack;c&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[c]="5df5dcee-09f1-4ef7-a2d0-6b015fb8d177",m._sentryDebugIdIdentifier="sentry-dbid-5df5dcee-09f1-4ef7-a2d0-6b015fb8d177")}catch{}})();const Ua=ya(({isAppContentDrawerOpen:m,handleDrawerToggle:c})=>{const{tenantEmailDomain:t}=Qe(),n=Xe(),C=Ta(),o=qe(),N=aa(),f=pe(),{useFeatureGate:i}=wa(),U=k.getSignedInUser(),_=ta(U),s=a(e=>he(e)),V=a(e=>na(e)),G=V.uiState.currentChatSessionId,[ge,Ee]=d.useState(!1),{setLoading:ke}=_a(),[A,O]=d.useState(void 0),F=P("/:tenantEmailDomain/dashboard")!==null,L=P("/:tenantEmailDomain/reports")!==null,y=P("/:tenantEmailDomain/onboarding/*")!==null,{isFeatureEnabled:Y}=i(r.isDepositAccountsFeatureEnabled),{isFeatureEnabled:Ce}=i(r.isChargeCardFeatureEnabled),{isFeatureEnabled:Z}=i(r.isDebitCardFeatureEnabled),ye=Aa(s,Ce,Z),{isFeatureEnabled:Ie}=i(r.isSettingsFeatureEnabled),z=a(e=>sa(e)),{isFeatureEnabled:I}=i(r.isReferralFeatureEnabled),[H,Te]=d.useState(!1),D=a(e=>oa(e));d.useEffect(()=>{H===!1&&I&&!y&&D.fetchState==="Not-Started"&&(Te(!0),f(ia(!0)))},[I,H,D.fetchState,y]);const h=k.getSignedInUser(),$=a(e=>e.tenantState),we=a(e=>$.fetchState==="Completed"?ra(e):[]),E=a(e=>e.expenseAutomationViewState.selectedPeriodByTenantId),{isFeatureEnabled:_e}=i(r.isApAgingFeatureEnabled),{isFeatureEnabled:Ae}=i(r.isArAgingFeatureEnabled),{isFeatureEnabled:W}=i(r.isExpenseAutomationEnabled),{isFeatureEnabled:J}=i(r.isExpenseAutomationEnabledV2),K=J||W&&_,{isFeatureEnabled:Fe}=i(r.isDashboardSidebarHalloweenAnimationEnabled),{isFeatureEnabled:De}=i(r.isDashboardSidebarThanksGivingAnimationEnabled),{isFeatureEnabled:$e}=i(r.isDashboardSidebarChristmasAnimationEnabled),{isFeatureEnabled:ve}=i(r.isDashboardSidebarNewYearAnimationEnabled),{isFeatureEnabled:je}=i(r.isTreasuryEnabled),{isFeatureEnabled:Be}=i(r.isTaskManagerCustomerUserAccessEnabled),Pe=_||!_&&Be,Re=s.company!=null&&da(s.company),T=je&&Re,xe=a(e=>g(e).totalUnreadCount),Me=a(e=>g(e).reducedFetchCountState),Q=a(e=>g(e).notificationDetailsByTab.tasks.uiState.unreadCount),X=a(e=>g(e).notificationDetailsByTab.comments.uiState.unreadCount),Ne=a(e=>g(e).notificationDetailsByTab.tasks.fetchCountState),v=a(e=>g(e).notificationDetailsByTab.comments.fetchCountState),{inboxNotifications:q,isLoading:ee,isFetchingMore:ae,hasFetchedAll:te,fetchMore:Ue}=Fa();d.useEffect(()=>{const e=setTimeout(()=>Ue?.(),0);return()=>clearTimeout(e)}),d.useEffect(()=>{if(ee===!1&&ae===!1&&te===!0)if(s?.companyId!=null&&q!=null){const e=`dashboard_${s.companyId}`;O(q.filter(u=>u.roomId===e&&u.readAt==null).length)}else O(0)},[ee,ae,te]),d.useEffect(()=>{y||Ne.fetchState!=="Not-Started"||N.tenantId==null||ge||(Ee(!0),f(ca("task_manager","dashboard")))},[N.tenantId]),d.useEffect(()=>{y||v.fetchState!=="Not-Started"||f(ue({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),d.useEffect(()=>{A!=null&&v.fetchState==="In-Progress"&&(f(ue({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),f(Se({unreadCount:A},"comments")))},[A,v.fetchState]);const Ve={fetchStatus:Me,count:xe},ne=t!=null?k.getSignedInUserTenant(t):null,se=a(e=>ne?.tenantId!=null?la(e,ne.tenantId):void 0),S=[];_e===!1&&S.push("accounts_payable_aging"),Ae===!1&&S.push("accounts_receivable_aging"),Y===!1&&S.push("zeni_accounts_promo_card"),I===!1&&S.push("rewards_card"),K===!1&&S.push("expense_automation_card");const Ge=Da(),oe=a(e=>ua(e,S,h,J,W,T).fetchState),ie=a(e=>ma(e).fetchState),Oe=F&&(oe==="Completed"||oe==="Error")||L&&(ie==="Completed"||ie==="Error")||!F&&!L?void 0:"disabled",Le=d.useMemo(()=>fa(s.userRole),[s.userRole]),Ye=ba(Le),Ze=s?.rewardsLastViewedTime==null,ze=h?.userEmail!=null&&z.fetchState==="Completed"&&pa(z.notificationSettings,h.userEmail,Z,s),re=$a(),He=re&&va(n),de=ha(Ge?.loggedInUserRoleMap),ce=s.companyTreasuryInfo?.info?.isTreasuryTOSAccepted,j=d.useCallback(()=>T&&de&&!k.getTreasuryPopupSeen(t??"")&&ce===!1&&ja(n.pathname)!=="treasury",[T,de,ce,n.pathname,t]),[We,le]=d.useState(j);d.useEffect(()=>{le(j())},[j]);const Je=a(e=>e.treasurySetupViewState.treasuryFundsDetails).fundsDetails,Ke=Ba(Je);return M.jsx(Na,{container:window.document.body,variant:"temporary",open:m,onClose:()=>c(!1),PaperProps:{sx:{width:240,zIndex:8,borderRight:"none",backgroundImage:"none"}},ModalProps:{keepMounted:!0},children:M.jsx(Pa,{signedInUser:U,currentTenantId:$.currentTenantId??"",tenants:$.fetchState==="Completed"?we:se!=null?[se]:[],currentTenant:s,isTenantDropdownDisabled:Oe,isSettings:fe(n),isSettingsFeatureEnabled:Ie,isVendorsTabVisible:Ye,isZeniAccountEnabled:Y,isChargeCardEnabled:ye,isTreasuryEnabled:T,treasuryYieldPercentage:Ke,isTreasuryPopupVisible:We,isNotificationsTabVisible:ze,notificationCountDetails:Ve,isExpenseAutomationEnabledForUser:K&&Sa(s.userRole)===!1,selectedMenu:me(n),rewardsConfiguration:{isRewardsTabVisible:I,isRewardsAnimated:Ze,rewardsPlan:D.rewardsPlan},isAiCfoAccessEnabled:re,onNotificationIconClick:()=>{c(!1);let e=Q===0&&X>0?"notifications/comments":"notifications/tasks";fe(n)&&(e=Q===0&&X>0?"../../notifications/comments":"../../notifications/tasks");const u=w(n.state?.pathnameStackToGoBack,n.pathname);o(e,{state:{pathnameStackToGoBack:u}})},handleCockpitClick:()=>{window.open("/cockpit")},handleLogOutClick:()=>{c(!1);const e=w(n.state?.pathnameStackToGoBack,n.pathname);o("/signout",{replace:!0,state:{pathnameStackToGoBack:e,message:"logout"}})},handleMenuChange:e=>{if(c(!1),e.type==="ai_cfo"){const p=w(n.state?.pathnameStackToGoBack,n.pathname);return R.trackAICFOChatScreenStateChanged("viewed","left_menu",G??null,null),void o(`/${t}/ai-cfo/explore`,{state:{pathnameStackToGoBack:p,referrer:"Sidebar"}})}const u=w(n.state?.pathnameStackToGoBack,n.pathname),l=e.type,b=x(l)&&l!=="command_center";if(x(e.type)&&E[s.tenantId]!=null&&R.trackMonthEndCloseClicked(E[s.tenantId].month,E[s.tenantId].year,"Sidebar"),b&&E[s.tenantId]!=null){const p=E[s.tenantId];return void o(`/${t}/month_end_close_checks/review/${e.type}/${p.month}-${p.year}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})}const B=Ma(e.type);be(e.type)?(G!=null&&f(Ca()),o(`/${t}/ai-cfo/${e.type}`,{state:{pathnameStackToGoBack:u.slice(0,-1),referrer:"Sidebar"}})):o(`/${t}/${B}`,{state:{pathnameStackToGoBack:u,referrer:"Sidebar"}})},handleMyProfileClick:()=>{c(!1),o(`/${t}/settings/my_profile`)},handleReferralsClick:()=>{c(!1),o(`/${t}/rewards`)},handleBackClick:()=>{o(`/${t}/dashboard`)},handleTenantSelect:e=>{ke(Ra.TENANT_SWITCHING),c(!1);const u=e.tenantEmailDomain,l=me(n);let b=`/${encodeURIComponent(u)}/`;const B=x(l);l==="home"?b+="dashboard":l==="users_and_roles"?b+="people":xa(l)?b+="settings/my_profile":be(l)?b+=`ai-cfo/${l}`:b+=l==="task_checklist"?"tasks":B?"month_end_close_checks/review":encodeURIComponent(l),o(b,{replace:!0}),h!=null&&(f(Ea(e.tenantId)),f(ka(h.userId,e.tenantId,h.zeniSessionId)));const p=e;R.trackCompanySwitch(p.companyId,p.companyName,p.userRole)},handlePopupClose:()=>{k.saveTreasuryPopupSeen(t??"",!0),le(!1)},onZeniLogoClick:()=>{C.toggle()},isAiCfo:He,aiCfoView:V,isOnDashboard:F,updateCurrentChatSessionId:e=>{f(ga({sessionId:e,agentId:"controller"})),o(`/${t}/ai-cfo/${e}`)},halloweenAnimationEnabled:Fe,isTaskManagerAccessEnabled:Pe,thanksGivingAnimationEnabled:De,christmasAnimationEnabled:$e,newYearAnimationEnabled:ve})})}),za=m=>{const c=pe(),t=a(C=>he(C)),n={events:t.userRoleId!=null?[`private-${t.userRoleId}.dashboard-user-notification`]:[],eventCallback:(C,o)=>{Ia(o)&&ea(o.mode)==="dashboard"&&c(Se({unreadCount:o.data.unread},"tasks"))}};return M.jsx(Ua,{...m,...n})};export{za as M};
@@ -1,4 +1,4 @@
1
- import{y as f,V as r,b3 as I,o,e as m,j as S,u as W,a6 as V,b4 as j,J as D,bg as P,O as L,i as $,bm as O,f as _,ab as B,gl as N,fP as R,bD as T,bE as z,bF as Z,bq as F,bl as A,aR as x,aA as J,gf as q,K,cg as U,gj as G,a8 as Q,aD as X}from"./index-T6cemxxv.js";import{b as w,a as t}from"./sentry-BoIfGJBF.js";import{n}from"./mui-GaW5Gk_e.js";import{t as Y,r as ee}from"./spend-limit-D6SyboD4-D6KSyTVe.js";import{o as oe}from"./dollar-round-D18u7nlm-qWQy8tOr.js";import{t as re,o as te}from"./money-2cg1MuG4-ZZWEE1BS.js";import{t as b}from"./page-summary-D7_VQHwN-C4mva4td.js";import{o as ne}from"./transaction-placeholder-CpOwZAMG-DpSw-x8s.js";import{o as se,r as ie}from"./unlock-BPWn2I5L-C7FVhrTq.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]="02f6feb9-c5e1-4ab2-813d-aec97df203c9",e._sentryDebugIdIdentifier="sentry-dbid-02f6feb9-c5e1-4ab2-813d-aec97df203c9")}catch{}})();function ae(e){const a=function(s){const{entity:d,filter:c,fileType:p,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:k}=s;return{localeId:L.getAppLocaleID(),fileType:p,filter:c,entity:d,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:k}}(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),k=await i.arrayBuffer();Z(k,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 le(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 ae({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(ce,{children:r.jsx(_,{start:!0,size:"Small",style:{display:"flex",alignItems:"center"}})}):r.jsx(de,{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 de=n(F)`
1
+ import{y as f,V as r,b3 as I,o,e as m,j as S,u as W,a6 as V,b4 as j,J as D,bg as P,O as L,i as $,bm as O,f as _,ab as B,gl as N,fP as R,bD as T,bE as z,bF as Z,bq as F,bl as A,aR as x,aA as J,gf as q,K,cg as U,gj as G,a8 as Q,aD as X}from"./index-BtPm9NIK.js";import{b as w,a as t}from"./sentry-DU2EcgXN.js";import{n}from"./mui-BHPGtaMB.js";import{t as Y,r as ee}from"./spend-limit-D6SyboD4-BIEmtKpL.js";import{o as oe}from"./dollar-round-D18u7nlm-BWc-oi1O.js";import{t as re,o as te}from"./money-2cg1MuG4-BI9DAoQY.js";import{t as b}from"./page-summary-D7_VQHwN-BgG0ZQev.js";import{o as ne}from"./transaction-placeholder-CpOwZAMG-CNW_yHtL.js";import{o as se,r as ie}from"./unlock-BPWn2I5L-CYQ3BxxF.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]="02f6feb9-c5e1-4ab2-813d-aec97df203c9",e._sentryDebugIdIdentifier="sentry-dbid-02f6feb9-c5e1-4ab2-813d-aec97df203c9")}catch{}})();function ae(e){const a=function(s){const{entity:d,filter:c,fileType:p,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:k}=s;return{localeId:L.getAppLocaleID(),fileType:p,filter:c,entity:d,companyName:u,timePeriod:i,isShowDeletedBillsEnabled:g,isShowDeletedReimbursementEnabled:k}}(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),k=await i.arrayBuffer();Z(k,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 le(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 ae({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(ce,{children:r.jsx(_,{start:!0,size:"Small",style:{display:"flex",alignItems:"center"}})}):r.jsx(de,{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 de=n(F)`
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,J as M,O as S,ad as x,V as i,a_ as D,_ as v,eP as I,o,aU as P,b as d,W as H,s as L,j as B,H as W,e_ as j,e$ as C,u,f8 as R,e as A,x as J}from"./index-T6cemxxv.js";import{a as y}from"./sentry-BoIfGJBF.js";import{n as t}from"./mui-GaW5Gk_e.js";import{u as N}from"./plaid-CNcdZ4gc.js";import{bG as E}from"./zeni-epic-state-BtVcBgvu.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./utils-BGRwbgi2.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]="b5e7c2c8-d32e-4f1e-97d4-31adbec6aab2",e._sentryDebugIdIdentifier="sentry-dbid-b5e7c2c8-d32e-4f1e-97d4-31adbec6aab2")}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,J as M,O as S,ad as x,V as i,a_ as D,_ as v,eP as I,o,aU as P,b as d,W as H,s as L,j as B,H as W,e_ as j,e$ as C,u,f8 as R,e as A,x as J}from"./index-BtPm9NIK.js";import{a as y}from"./sentry-DU2EcgXN.js";import{n as t}from"./mui-BHPGtaMB.js";import{u as N}from"./plaid-Koifne5k.js";import{bG as E}from"./zeni-epic-state-Bnfd9FE6.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./utils-CPca4UDN.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]="b5e7c2c8-d32e-4f1e-97d4-31adbec6aab2",e._sentryDebugIdIdentifier="sentry-dbid-b5e7c2c8-d32e-4f1e-97d4-31adbec6aab2")}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,t as D,hV as a,V as n,a_ as N,O as B,o as x}from"./index-T6cemxxv.js";import{n as M}from"./mui-GaW5Gk_e.js";import{Ej as O}from"./zeni-epic-state-BtVcBgvu.js";import{m as P}from"./BusyIndication-DizZe0Gu-Ui3yaqtY.js";import{r as j,i as V}from"./ChargeCardListTable-DE72YU_i-DgEVI1AC.js";import"./sentry-BoIfGJBF.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./common-DEB71I4X-BRhAN_mv.js";import"./calculateSize-Bn1NnCzV-CbPGQ475.js";import"./ZeniAvatar-CwHVUcMc-BJ8AyUay.js";import"./avatar-Dz7aEm3d-B59e782o.js";import"./RoleWithToolTip-C8x5yXaK-Dmelwbqx.js";import"./CardNumberSubText-DqtLT1w5-Bzgrrztr.js";import"./spend-limit-D6SyboD4-D6KSyTVe.js";import"./unlock-BPWn2I5L-C7FVhrTq.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]="6eb3d2ee-d775-4c4e-bb32-77dec06d6f3f",e._sentryDebugIdIdentifier="sentry-dbid-6eb3d2ee-d775-4c4e-bb32-77dec06d6f3f")}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: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=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(_,{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(j,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:V,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:k,onChargeCardRowClick:(t,U)=>{f(t)},uiState:e.uiState,onColumnSortConfigChanged:g,onChargeCardResendInviteClick:()=>{}})]})},_=M.div`
1
+ import{y as R,t as D,hV as a,V as n,a_ as N,O as B,o as x}from"./index-BtPm9NIK.js";import{n as M}from"./mui-BHPGtaMB.js";import{Ej as O}from"./zeni-epic-state-Bnfd9FE6.js";import{m as P}from"./BusyIndication-DizZe0Gu-CnZz6mNW.js";import{r as j,i as V}from"./ChargeCardListTable-DE72YU_i-Cgx4aKdo.js";import"./sentry-DU2EcgXN.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.js";import"./common-DEB71I4X-BP6KIcNH.js";import"./calculateSize-Bn1NnCzV-TroXRAr5.js";import"./ZeniAvatar-CwHVUcMc-C16MROkP.js";import"./avatar-Dz7aEm3d-CWSJfcBr.js";import"./RoleWithToolTip-C8x5yXaK-CKUn0-uO.js";import"./CardNumberSubText-DqtLT1w5-C1PSe701.js";import"./spend-limit-D6SyboD4-BIEmtKpL.js";import"./unlock-BPWn2I5L-CYQ3BxxF.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]="6eb3d2ee-d775-4c4e-bb32-77dec06d6f3f",e._sentryDebugIdIdentifier="sentry-dbid-6eb3d2ee-d775-4c4e-bb32-77dec06d6f3f")}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: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=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(_,{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(j,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:V,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:k,onChargeCardRowClick:(t,U)=>{f(t)},uiState:e.uiState,onColumnSortConfigChanged:g,onChargeCardResendInviteClick:()=>{}})]})},_=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{J as oe,fb as ie,y as be,t as we,fc as xe,T as Pe,Q as De,c0 as $e,b$ as ve,O as te,V as l,fd as Se,a_ as Oe,A as Re,a9 as Ce,o as s,bV as re,fe as ne,ff as de,fg as ce,b as T,W as ue,j as je,H as Te,a0 as X,c4 as Le,fh as Z,c9 as Ie,c8 as Ve,aj as ke,u as W}from"./index-T6cemxxv.js";import{a as D}from"./sentry-BoIfGJBF.js";import{n as m}from"./mui-GaW5Gk_e.js";import{bQ as ee,bt as me,bG as Be,bs as Ne}from"./zeni-epic-state-BtVcBgvu.js";import{C as ze}from"./LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js";import{Z as Fe}from"./LabeledNameField--saAep-_-GEbqq-XX.js";import{C as Ae,j as Me,x as We}from"./LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js";import{Y as _e}from"./LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./RoleWithToolTip-C8x5yXaK-Dmelwbqx.js";import"./avatar-Dz7aEm3d-B59e782o.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]="624ce1d4-dddb-4785-8861-708d1899066e",e._sentryDebugIdIdentifier="sentry-dbid-624ce1d4-dddb-4785-8861-708d1899066e")}catch{}})();const y=(e,o)=>`${e}.${o}`,N={largeLabelWidth:new T(120,120,160),textFieldPaddingHorizontal:new T(W[2],W[3]),toolTipWidth:new T(215,237),notePadding:new T(W[3],W[4]),noteGap:new T(W[0],6)},{peoplePage:a,common:{settings:le,labels:E,placeholder:B,errorMessage:Ue},dateFormat:Ze}=te.getLocalizedStrings(),Ee=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:b,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:L,isTreasuryDisabled:h,onAddressClick:w})=>{const n=oe(),{person:r,managersList:z,classList:F,manager:q,department:g,controllersList:A,myProfileLocalData:M,addressData:G}=e,H=e.person.user?.birthday!=null?"readonly":void 0,v=N.largeLabelWidth.value(n),I=N.largeLabelWidth.value(n),Q=D.useMemo(()=>ie(b,p,i,f,$,L,h),[b,p,i,f,$,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]),J=D.useMemo(()=>X(re.roles),[]),d=me(r.userRole!=null?r.userRole.userRoles:[]),_=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:E.name,width:I},nameField:{name:y(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:v},text:{type:"text",name:y(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:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:y(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:E.mailingAddress,width:I},addressValueField:{name:y(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:E.phone,width:I},text:{name:y(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:v},zeniRolesDropDownField:{name:y(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:J},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:v},rolesDropDownField:{name:y(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],Q)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(j,{}),l.jsx(_e,{label:{label:a.invitePage.manager,width:v},showTooltip:!0,toolTipWidth:N.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(qe,{}),userSingleSelectWithSubTitlesField:{name:y(t,"manager"),value:{allUsers:d?[]:z,selectedUser:d?void 0:q?.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(We,{label:{label:a.invitePage.department,width:v},singleSelectWithoutClearableField:{name:y(t,"department"),defaultValue:{allOptions:d?[]:_,selectedOption:d?void 0:_.find(c=>c.value===g?.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(Je,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(ke,{className:"arrowIcon"})]}):null]})]})]})},qe=()=>a.invitePage.managerTooltipText,Ge=m.div`
1
+ import{J as oe,fb as ie,y as be,t as we,fc as xe,T as Pe,Q as De,c0 as $e,b$ as ve,O as te,V as l,fd as Se,a_ as Oe,A as Re,a9 as Ce,o as s,bV as re,fe as ne,ff as de,fg as ce,b as T,W as ue,j as je,H as Te,a0 as X,c4 as Le,fh as Z,c9 as Ie,c8 as Ve,aj as ke,u as W}from"./index-BtPm9NIK.js";import{a as D}from"./sentry-DU2EcgXN.js";import{n as m}from"./mui-BHPGtaMB.js";import{bQ as ee,bt as me,bG as Be,bs as Ne}from"./zeni-epic-state-Bnfd9FE6.js";import{C as ze}from"./LabeledAddressValueField-C6-hVsPb-BrwGoslB.js";import{Z as Fe}from"./LabeledNameField--saAep-_-DBD-AVmo.js";import{C as Ae,j as Me,x as We}from"./LabeledZeniRolesDropDownField-kWC0ShEy-CVsIgZCg.js";import{Y as _e}from"./LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D-q2p9T4.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.js";import"./RoleWithToolTip-C8x5yXaK-CKUn0-uO.js";import"./avatar-Dz7aEm3d-CWSJfcBr.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]="624ce1d4-dddb-4785-8861-708d1899066e",e._sentryDebugIdIdentifier="sentry-dbid-624ce1d4-dddb-4785-8861-708d1899066e")}catch{}})();const y=(e,o)=>`${e}.${o}`,N={largeLabelWidth:new T(120,120,160),textFieldPaddingHorizontal:new T(W[2],W[3]),toolTipWidth:new T(215,237),notePadding:new T(W[3],W[4]),noteGap:new T(W[0],6)},{peoplePage:a,common:{settings:le,labels:E,placeholder:B,errorMessage:Ue},dateFormat:Ze}=te.getLocalizedStrings(),Ee=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:b,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:$,isLiteRoleDisabled:L,isTreasuryDisabled:h,onAddressClick:w})=>{const n=oe(),{person:r,managersList:z,classList:F,manager:q,department:g,controllersList:A,myProfileLocalData:M,addressData:G}=e,H=e.person.user?.birthday!=null?"readonly":void 0,v=N.largeLabelWidth.value(n),I=N.largeLabelWidth.value(n),Q=D.useMemo(()=>ie(b,p,i,f,$,L,h),[b,p,i,f,$,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]),J=D.useMemo(()=>X(re.roles),[]),d=me(r.userRole!=null?r.userRole.userRoles:[]),_=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:E.name,width:I},nameField:{name:y(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:v},text:{type:"text",name:y(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:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:y(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:E.mailingAddress,width:I},addressValueField:{name:y(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:E.phone,width:I},text:{name:y(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:v},zeniRolesDropDownField:{name:y(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:J},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:v},rolesDropDownField:{name:y(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(r.userRole?.userRoles??[]),allRootRole:de(f,$)},productsByUserRole:ne(r.userRole?.userRoles??[],Q)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(j,{}),l.jsx(_e,{label:{label:a.invitePage.manager,width:v},showTooltip:!0,toolTipWidth:N.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(qe,{}),userSingleSelectWithSubTitlesField:{name:y(t,"manager"),value:{allUsers:d?[]:z,selectedUser:d?void 0:q?.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(We,{label:{label:a.invitePage.department,width:v},singleSelectWithoutClearableField:{name:y(t,"department"),defaultValue:{allOptions:d?[]:_,selectedOption:d?void 0:_.find(c=>c.value===g?.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(Je,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(ke,{className:"arrowIcon"})]}):null]})]})]})},qe=()=>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 p,J as g,V as o,a6 as b,bg as h,o as l,b1 as y,e6 as m,O as x,bp as f,be as k,j as C}from"./index-T6cemxxv.js";import{n as i}from"./mui-GaW5Gk_e.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]="726097dd-356a-4be7-9413-4c76dc0b5c67",e._sentryDebugIdIdentifier="sentry-dbid-726097dd-356a-4be7-9413-4c76dc0b5c67")}catch{}})();const v=i.div`
1
+ import{y as p,J as g,V as o,a6 as b,bg as h,o as l,b1 as y,e6 as m,O as x,bp as f,be as k,j as C}from"./index-BtPm9NIK.js";import{n as i}from"./mui-BHPGtaMB.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]="726097dd-356a-4be7-9413-4c76dc0b5c67",e._sentryDebugIdIdentifier="sentry-dbid-726097dd-356a-4be7-9413-4c76dc0b5c67")}catch{}})();const v=i.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,bp as c}from"./index-T6cemxxv.js";import{c as l,n}from"./mui-GaW5Gk_e.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]="20f6326b-dc2d-4e79-924d-1d5955c3a963",r._sentryDebugIdIdentifier="sentry-dbid-20f6326b-dc2d-4e79-924d-1d5955c3a963")}catch{}})();const f=l`
1
+ import{V as t,o,aj as h,bp as c}from"./index-BtPm9NIK.js";import{c as l,n}from"./mui-BHPGtaMB.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]="20f6326b-dc2d-4e79-924d-1d5955c3a963",r._sentryDebugIdIdentifier="sentry-dbid-20f6326b-dc2d-4e79-924d-1d5955c3a963")}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,a6 as f,o as a}from"./index-T6cemxxv.js";import{n as l}from"./mui-GaW5Gk_e.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="44fa6f73-ff1f-4fe2-8a40-2a3018367875",o._sentryDebugIdIdentifier="sentry-dbid-44fa6f73-ff1f-4fe2-8a40-2a3018367875")}catch{}})();const v=l.div`
1
+ import{V as n,a6 as f,o as a}from"./index-BtPm9NIK.js";import{n as l}from"./mui-BHPGtaMB.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="44fa6f73-ff1f-4fe2-8a40-2a3018367875",o._sentryDebugIdIdentifier="sentry-dbid-44fa6f73-ff1f-4fe2-8a40-2a3018367875")}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{J as T,T as A,b$ as K,a7 as Z,V as l,A as Q,a9 as X,o as a,b as i,a8 as Y,H as q,B as ee,O as z,g9 as le,s as ae,c3 as O,c6 as F,c4 as te,u as n,hq as ne,at as oe,dL as re,bZ as ie,dG as de,f as se,dP as ce,cD as me,aC as he,e as D}from"./index-T6cemxxv.js";import{a as G}from"./sentry-BoIfGJBF.js";import{n as o,c as be}from"./mui-GaW5Gk_e.js";import"./pdf-DWoGjGSw.js";import"./zeni-epic-state-BtVcBgvu.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="1b8aea53-030d-4614-890b-09886c8ee073",e._sentryDebugIdIdentifier="sentry-dbid-1b8aea53-030d-4614-890b-09886c8ee073")}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{J as T,T as A,b$ as K,a7 as Z,V as l,A as Q,a9 as X,o as a,b as i,a8 as Y,H as q,B as ee,O as z,g9 as le,s as ae,c3 as O,c6 as F,c4 as te,u as n,hq as ne,at as oe,dL as re,bZ as ie,dG as de,f as se,dP as ce,cD as me,aC as he,e as D}from"./index-BtPm9NIK.js";import{a as G}from"./sentry-DU2EcgXN.js";import{n as o,c as be}from"./mui-BHPGtaMB.js";import"./pdf-BC9fZG9d.js";import"./zeni-epic-state-Bnfd9FE6.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="1b8aea53-030d-4614-890b-09886c8ee073",e._sentryDebugIdIdentifier="sentry-dbid-1b8aea53-030d-4614-890b-09886c8ee073")}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{J as l,V as a,e as s,o as i,s as r,b as o,y as d}from"./index-T6cemxxv.js";import{n as h}from"./mui-GaW5Gk_e.js";import{a as t}from"./sentry-BoIfGJBF.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]="f731cd7e-bc88-4c3a-984b-aaacae9b36d4",e._sentryDebugIdIdentifier="sentry-dbid-f731cd7e-bc88-4c3a-984b-aaacae9b36d4")}catch{}})();const m=e=>t.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),t.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"})),c=e=>t.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),t.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)},f=h.div`
1
+ import{J as l,V as a,e as s,o as i,s as r,b as o,y as d}from"./index-BtPm9NIK.js";import{n as h}from"./mui-BHPGtaMB.js";import{a as t}from"./sentry-DU2EcgXN.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]="f731cd7e-bc88-4c3a-984b-aaacae9b36d4",e._sentryDebugIdIdentifier="sentry-dbid-f731cd7e-bc88-4c3a-984b-aaacae9b36d4")}catch{}})();const m=e=>t.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),t.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"})),c=e=>t.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),t.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)},f=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-T6cemxxv.js";import{n as s}from"./mui-GaW5Gk_e.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-hCWvJzzH.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-BtPm9NIK.js";import{n as s}from"./mui-BHPGtaMB.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-aEBiiMn8.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,4 +1,4 @@
1
- import{V as o,O as i,bm as s,bX as a,s as l,e as c,W as d}from"./index-T6cemxxv.js";import{n as t}from"./mui-GaW5Gk_e.js";import{a as g}from"./ZeniCopyright-BlLvlGZV-PtfyMNGF.js";import"./sentry-BoIfGJBF.js";import"./pdf-DWoGjGSw.js";import"./zeni-epic-state-BtVcBgvu.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="2e6e2ecb-aabf-4f4c-9a19-28ba5f4b363b",e._sentryDebugIdIdentifier="sentry-dbid-2e6e2ecb-aabf-4f4c-9a19-28ba5f4b363b")}catch{}})();const f=t.div`
1
+ import{V as o,O as i,bm as s,bX as a,s as l,e as c,W as d}from"./index-BtPm9NIK.js";import{n as t}from"./mui-BHPGtaMB.js";import{a as g}from"./ZeniCopyright-BlLvlGZV-DW5yyzHt.js";import"./sentry-DU2EcgXN.js";import"./pdf-BC9fZG9d.js";import"./zeni-epic-state-Bnfd9FE6.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="2e6e2ecb-aabf-4f4c-9a19-28ba5f4b363b",e._sentryDebugIdIdentifier="sentry-dbid-2e6e2ecb-aabf-4f4c-9a19-28ba5f4b363b")}catch{}})();const f=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
@@ -1 +1 @@
1
- import{j as o}from"./pdf-DWoGjGSw.js";import{j as n,k as r}from"./core-BSWMBnrJ.js";import{jv as i}from"./index-T6cemxxv.js";import"./mui-GaW5Gk_e.js";import"./sentry-BoIfGJBF.js";import"./zeni-epic-state-BtVcBgvu.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="ee94f57d-bdba-40be-9efc-74b77865fc08",t._sentryDebugIdIdentifier="sentry-dbid-ee94f57d-bdba-40be-9efc-74b77865fc08")}catch{}})();const f=r(null,function(t,e){return{onGoBack:()=>{e.navigate(-1)},onGoHome:()=>{e.navigate("/")}}})(i);function j(){const t=n();return o.jsx(f,{navigate:t})}export{j as default};
1
+ import{j as o}from"./pdf-BC9fZG9d.js";import{j as n,k as r}from"./core-B3AUZ034.js";import{jv as i}from"./index-BtPm9NIK.js";import"./mui-BHPGtaMB.js";import"./sentry-DU2EcgXN.js";import"./zeni-epic-state-Bnfd9FE6.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="ee94f57d-bdba-40be-9efc-74b77865fc08",t._sentryDebugIdIdentifier="sentry-dbid-ee94f57d-bdba-40be-9efc-74b77865fc08")}catch{}})();const f=r(null,function(t,e){return{onGoBack:()=>{e.navigate(-1)},onGoHome:()=>{e.navigate("/")}}})(i);function j(){const t=n();return o.jsx(f,{navigate:t})}export{j as default};
@@ -1 +1 @@
1
- import{j as N}from"./pdf-DWoGjGSw.js";import it from"./NotFoundScreen-LuCzwVbP.js";import{a as k}from"./sentry-BoIfGJBF.js";import{k as rt,b as ct,l as mt}from"./liveblocks--WiFaeN0.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 q}from"./core-BSWMBnrJ.js";import{FX as kt,cC as z,cs as H,cS as gt,cK as I,MG as J,cO as d,cB as y,mN as F,rX as St,MH as bt,cA as It,cW as Tt,mS as Ct,MI as j,bs as M,ef as x,mW as Y,MJ as yt,bL as _t,bK as Et}from"./zeni-epic-state-BtVcBgvu.js";import{jR as Nt,je as Bt,aE as At,aG as wt,lX as xt,jA as B,jX as Gt,lY as Rt,jY as Ut,jy as Dt}from"./index-T6cemxxv.js";import"./mui-GaW5Gk_e.js";import"./lottie-DOxhyevU.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="3bb90ab9-346f-4840-82b1-a5db93039821",t._sentryDebugIdIdentifier="sentry-dbid-3bb90ab9-346f-4840-82b1-a5db93039821")}catch{}})();const vt=(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)})}),Pt=ht(function(t,l){const n=z(t),{signedInUser:u,isDebitCardFeatureEnabled:g}=l,i=I(t),s=H(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:A,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(Y("task_manager","read",[a],!1))},onCommentNotificationClick:(a,o,m)=>{const c=o.toString().split(`/${u}/`);if(c[1]!=null){m==="unread"&&(A(a),t(j([a],M())));let r=`/${u}/${c[1]}`;const b=B(n.state?.pathnameStackToGoBack,n.pathname);c[1].startsWith("reimbursement")&&!_t(g)&&(r="not-found"),c[1].startsWith("bill")&&!Et(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(F("task_manager","dashboard",m))}else G?.()},onUpdateNotificationStatus:(a,o,m,c)=>{a==="tasks"?t(Y("task_manager",m,c)):(t(d({markAsReadState:{fetchState:"In-Progress",error:void 0}},"comments")),Promise.all(c.map(r=>{m==="read"&&(A(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(x({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))},r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(x({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}).catch(r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(x({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")),vt(s,A).then(()=>{t(j(s,M())),t(d({markAsAllReadState:{fetchState:"Completed",error:void 0}},"comments")),t(y({unreadCount:0},"comments")),t(x({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))}).catch(o=>{t(d({markAsAllReadState:{fetchState:"Error",error:o}},"comments")),t(x({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}))},onBackClick:()=>{const a=Dt(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(Rt)),jt=()=>{const t=dt(),l=lt(),{tenantEmailDomain:n,selectedTab:u}=ft(),{areTenantIdsInSync:g}=Nt(),i=kt(u??""),s=ut(),h=Bt.getSignedInUser(),[A,G]=k.useState(!1),a=S(e=>z(e)),o=S(e=>H(e)),{useFeatureGate:m}=At(),{isFeatureEnabled:c}=m(wt.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),$=S(e=>I(e).currentTab),R=S(e=>I(e).currentSubTab),O=S(e=>I(e).notificationDetailsByTab.comments.fetchCountState),U=S(e=>I(e).notificationDetailsByTab.comments.fetchState),Q=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=xt().allUsers,{inboxNotifications:w,isLoading:_,hasFetchedAll:T,isFetchingMore:D,fetchMore:et}=rt(),{threads:V,isLoading:W,fetchMore:L,isFetchingMore:X,hasFetchedAll:K}=ct({query:{metadata:{companyId:o.companyId,application:"dashboard"}}});k.useEffect(()=>{if($!==i&&i!=null&&s(J(i)),i==null){const e=`../${$}`,p=B(l.state?.pathnameStackToGoBack,l.pathname);t(e,{state:{pathnameStackToGoBack:p}})}},[i]),k.useEffect(()=>{O.fetchState==="Not-Started"&&s(d({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),k.useEffect(()=>{if(_===!1&&T===!0&&o?.companyId!=null&&w!=null){const e=`dashboard_${o.companyId}`,p=w.filter(C=>C.roomId===e&&C.readAt==null).length;s(d({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),s(y({unreadCount:p},"comments"))}},[_,T]),k.useEffect(()=>{b!=="In-Progress"&&g&&s(F("task_manager","dashboard",["read","unread"]))},[g]),k.useEffect(()=>{const e=setTimeout(()=>et?.(),0);return()=>clearTimeout(e)});const v=_||D===!0||T!==!0||_||D===!0||T!==!0;k.useEffect(()=>{v&&U!=="In-Progress"?s(d({fetchState:"In-Progress",error:void 0},"comments")):v||U!=="In-Progress"||s(d({fetchState:"Completed",error:void 0},"comments"))},[v,U]),k.useEffect(()=>{s(y({hasMore:T!==!0},"comments"))},[T]),k.useEffect(()=>{a.fetchState!=="In-Progress"&&a.fetchState!=="Completed"&&A===!1&&(G(!0),s(St()))},[a.fetchState]),k.useEffect(()=>{if(_===!1&&W===!1&&w!=null&&V!=null){const e=`dashboard_${o.companyId}`,p=w.filter(f=>f.roomId===e).filter(f=>f.kind==="thread"),C=p.filter(f=>f.readAt==null),E=p.map(f=>f.id),st=p.map(f=>{const P=V.find(nt=>nt.id===f.threadId);return P!=null?{inboxNotification:{...f,threadId:P.id},thread:P}:(X||K===!0||L==null||L(),null)}).filter(f=>f!=null);s(d({allNotificationsIds:E},"comments")),s(y({totalCount:E.length,unreadCount:C.length},"comments")),s(bt(st))}},[_,D,X,T,K,W,w?.length]);const at={events:o.userRoleId!=null?[`private-${o.userRoleId}.dashboard-user-notification`]:[],eventCallback:(e,p)=>{if(Ut(p)){const C=It(p.mode);if(C==="dashboard"&&s(y({unreadCount:p.data.unread},"tasks")),b!=="In-Progress"){const E=[];R==="all"?E.push("read","unread"):R!=="mentions"&&E.push(R),s(F("task_manager",C,E,!0))}}}},ot=mt();return N.jsx(Pt,{tenantEmailDomain:n,loggedInUserRoleMap:r,signedInUser:h,externalNotificationsUnreadCount:Q,location:l,navigate:t,isDebitCardFeatureEnabled:c,users:tt,markInboxNotificationAsRead:ot,allUnreadCommentsNotificationIds:Z,...at})};function Qt(){return N.jsxs(pt,{children:[N.jsx(q,{path:"/:selectedTab",element:N.jsx(jt,{})}),N.jsx(q,{path:"*",element:N.jsx(it,{})})]})}export{Qt as default};
1
+ import{j as N}from"./pdf-BC9fZG9d.js";import it from"./NotFoundScreen-C-f3wZff.js";import{a as k}from"./sentry-DU2EcgXN.js";import{k as rt,b as ct,l as mt}from"./liveblocks-DFhc43aC.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 q}from"./core-B3AUZ034.js";import{FX as kt,cC as z,cs as H,cS as gt,cK as I,MG as J,cO as d,cB as y,mN as F,rX as St,MH as bt,cA as It,cW as Tt,mS as Ct,MI as j,bs as M,ef as x,mW as Y,MJ as yt,bL as _t,bK as Et}from"./zeni-epic-state-Bnfd9FE6.js";import{jR as Nt,je as Bt,aE as At,aG as wt,lX as xt,jA as B,jX as Gt,lY as Rt,jY as Ut,jy as Dt}from"./index-BtPm9NIK.js";import"./mui-BHPGtaMB.js";import"./lottie-BaQk2SMe.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="3bb90ab9-346f-4840-82b1-a5db93039821",t._sentryDebugIdIdentifier="sentry-dbid-3bb90ab9-346f-4840-82b1-a5db93039821")}catch{}})();const vt=(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)})}),Pt=ht(function(t,l){const n=z(t),{signedInUser:u,isDebitCardFeatureEnabled:g}=l,i=I(t),s=H(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:A,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(Y("task_manager","read",[a],!1))},onCommentNotificationClick:(a,o,m)=>{const c=o.toString().split(`/${u}/`);if(c[1]!=null){m==="unread"&&(A(a),t(j([a],M())));let r=`/${u}/${c[1]}`;const b=B(n.state?.pathnameStackToGoBack,n.pathname);c[1].startsWith("reimbursement")&&!_t(g)&&(r="not-found"),c[1].startsWith("bill")&&!Et(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(F("task_manager","dashboard",m))}else G?.()},onUpdateNotificationStatus:(a,o,m,c)=>{a==="tasks"?t(Y("task_manager",m,c)):(t(d({markAsReadState:{fetchState:"In-Progress",error:void 0}},"comments")),Promise.all(c.map(r=>{m==="read"&&(A(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(x({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))},r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(x({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}).catch(r=>{t(d({markAsReadState:{fetchState:"Error",error:r}},"comments")),t(x({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")),vt(s,A).then(()=>{t(j(s,M())),t(d({markAsAllReadState:{fetchState:"Completed",error:void 0}},"comments")),t(y({unreadCount:0},"comments")),t(x({messageSection:"notification_mark_as_read",messageText:"success",type:"success",showStatusIcon:!0}))}).catch(o=>{t(d({markAsAllReadState:{fetchState:"Error",error:o}},"comments")),t(x({messageSection:"notification_mark_as_read",messageText:"failed",type:"error",showStatusIcon:!0}))}))},onBackClick:()=>{const a=Dt(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(Rt)),jt=()=>{const t=dt(),l=lt(),{tenantEmailDomain:n,selectedTab:u}=ft(),{areTenantIdsInSync:g}=Nt(),i=kt(u??""),s=ut(),h=Bt.getSignedInUser(),[A,G]=k.useState(!1),a=S(e=>z(e)),o=S(e=>H(e)),{useFeatureGate:m}=At(),{isFeatureEnabled:c}=m(wt.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),$=S(e=>I(e).currentTab),R=S(e=>I(e).currentSubTab),O=S(e=>I(e).notificationDetailsByTab.comments.fetchCountState),U=S(e=>I(e).notificationDetailsByTab.comments.fetchState),Q=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=xt().allUsers,{inboxNotifications:w,isLoading:_,hasFetchedAll:T,isFetchingMore:D,fetchMore:et}=rt(),{threads:V,isLoading:W,fetchMore:L,isFetchingMore:X,hasFetchedAll:K}=ct({query:{metadata:{companyId:o.companyId,application:"dashboard"}}});k.useEffect(()=>{if($!==i&&i!=null&&s(J(i)),i==null){const e=`../${$}`,p=B(l.state?.pathnameStackToGoBack,l.pathname);t(e,{state:{pathnameStackToGoBack:p}})}},[i]),k.useEffect(()=>{O.fetchState==="Not-Started"&&s(d({fetchCountState:{fetchState:"In-Progress",error:void 0}},"comments"))},[]),k.useEffect(()=>{if(_===!1&&T===!0&&o?.companyId!=null&&w!=null){const e=`dashboard_${o.companyId}`,p=w.filter(C=>C.roomId===e&&C.readAt==null).length;s(d({fetchCountState:{fetchState:"Completed",error:void 0}},"comments")),s(y({unreadCount:p},"comments"))}},[_,T]),k.useEffect(()=>{b!=="In-Progress"&&g&&s(F("task_manager","dashboard",["read","unread"]))},[g]),k.useEffect(()=>{const e=setTimeout(()=>et?.(),0);return()=>clearTimeout(e)});const v=_||D===!0||T!==!0||_||D===!0||T!==!0;k.useEffect(()=>{v&&U!=="In-Progress"?s(d({fetchState:"In-Progress",error:void 0},"comments")):v||U!=="In-Progress"||s(d({fetchState:"Completed",error:void 0},"comments"))},[v,U]),k.useEffect(()=>{s(y({hasMore:T!==!0},"comments"))},[T]),k.useEffect(()=>{a.fetchState!=="In-Progress"&&a.fetchState!=="Completed"&&A===!1&&(G(!0),s(St()))},[a.fetchState]),k.useEffect(()=>{if(_===!1&&W===!1&&w!=null&&V!=null){const e=`dashboard_${o.companyId}`,p=w.filter(f=>f.roomId===e).filter(f=>f.kind==="thread"),C=p.filter(f=>f.readAt==null),E=p.map(f=>f.id),st=p.map(f=>{const P=V.find(nt=>nt.id===f.threadId);return P!=null?{inboxNotification:{...f,threadId:P.id},thread:P}:(X||K===!0||L==null||L(),null)}).filter(f=>f!=null);s(d({allNotificationsIds:E},"comments")),s(y({totalCount:E.length,unreadCount:C.length},"comments")),s(bt(st))}},[_,D,X,T,K,W,w?.length]);const at={events:o.userRoleId!=null?[`private-${o.userRoleId}.dashboard-user-notification`]:[],eventCallback:(e,p)=>{if(Ut(p)){const C=It(p.mode);if(C==="dashboard"&&s(y({unreadCount:p.data.unread},"tasks")),b!=="In-Progress"){const E=[];R==="all"?E.push("read","unread"):R!=="mentions"&&E.push(R),s(F("task_manager",C,E,!0))}}}},ot=mt();return N.jsx(Pt,{tenantEmailDomain:n,loggedInUserRoleMap:r,signedInUser:h,externalNotificationsUnreadCount:Q,location:l,navigate:t,isDebitCardFeatureEnabled:c,users:tt,markInboxNotificationAsRead:ot,allUnreadCommentsNotificationIds:Z,...at})};function Qt(){return N.jsxs(pt,{children:[N.jsx(q,{path:"/:selectedTab",element:N.jsx(jt,{})}),N.jsx(q,{path:"*",element:N.jsx(it,{})})]})}export{Qt as default};
@@ -1,4 +1,4 @@
1
- import{V as t,o as i,ba as oe,ab as ne,O as N,y as W,J as X,T as se,b$ as re,a_ as le,A as ae,_ as S,a9 as ce,b as D,eX as de,fo as pe,e1 as me,fp as ue,fq as he,aj as fe,u as I,at as K,x as Q,s as Y,W as ge}from"./index-T6cemxxv.js";import{a as k}from"./sentry-BoIfGJBF.js";import{n as o}from"./mui-GaW5Gk_e.js";import{Fg as xe,Fh as be,Fi as $e,Fj as ye}from"./zeni-epic-state-BtVcBgvu.js";import{m as je}from"./BusyIndication-DizZe0Gu-Ui3yaqtY.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="2f406a2f-6bbf-4a1d-bd8b-c1661f992cd1",e._sentryDebugIdIdentifier="sentry-dbid-2f406a2f-6bbf-4a1d-bd8b-c1661f992cd1")}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,ba as oe,ab as ne,O as N,y as W,J as X,T as se,b$ as re,a_ as le,A as ae,_ as S,a9 as ce,b as D,eX as de,fo as pe,e1 as me,fp as ue,fq as he,aj as fe,u as I,at as K,x as Q,s as Y,W as ge}from"./index-BtPm9NIK.js";import{a as k}from"./sentry-DU2EcgXN.js";import{n as o}from"./mui-BHPGtaMB.js";import{Fg as xe,Fh as be,Fi as $e,Fj as ye}from"./zeni-epic-state-Bnfd9FE6.js";import{m as je}from"./BusyIndication-DizZe0Gu-CnZz6mNW.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="2f406a2f-6bbf-4a1d-bd8b-c1661f992cd1",e._sentryDebugIdIdentifier="sentry-dbid-2f406a2f-6bbf-4a1d-bd8b-c1661f992cd1")}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};
@@ -1 +1 @@
1
- import{j as a,u as n}from"./index-T6cemxxv.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]="e1cc8b5f-efb9-4664-9cb0-78058046240e",e._sentryDebugIdIdentifier="sentry-dbid-e1cc8b5f-efb9-4664-9cb0-78058046240e")}catch{}})();const f=n[5],o=59,r=n[5],i=a.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{j as a,u as n}from"./index-BtPm9NIK.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]="e1cc8b5f-efb9-4664-9cb0-78058046240e",e._sentryDebugIdIdentifier="sentry-dbid-e1cc8b5f-efb9-4664-9cb0-78058046240e")}catch{}})();const f=n[5],o=59,r=n[5],i=a.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,4 +1,4 @@
1
- import{y as Q,J as v,T as Xt,b$ as Qt,V as t,a_ as Zt,A as ei,a9 as ti,o as i,_ as ye,O as P,gj as ii,b as R,hg as oi,j as Ne,f as si,z as ot,bH as st,an as at,cF as nt,bO as rt,iD as lt,u as w,i as ai,cD as he,ah as ni,H as ri,B as dt,e as S,x as li,bb as _,c3 as ue,fo as pe,iE as fe,t as ct,c as ht,cK as E,eN as ut,fy as di,s as Z,hu as ci,W as U,e_ as hi,ad as $e,au as me,iF as ui,b8 as pt,iG as _e,aT as pi}from"./index-T6cemxxv.js";import{a as g}from"./sentry-BoIfGJBF.js";import{n,c as O}from"./mui-GaW5Gk_e.js";import{FW as fi,FX as mi,bG as X,bs as y,Ei as ft}from"./zeni-epic-state-BtVcBgvu.js";import{k as gi}from"./SubTabSwitcher-zrkVj1aP-DzJ74MSf.js";import{d as mt}from"./useLongPress-GCK2COYQ-CkGyzLnK.js";import{A as gt,t as xt,a as bt,E as wt,L as yt,I as $t}from"./NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="243fd9d0-49d0-4d3b-b710-3759ac35b7d7",e._sentryDebugIdIdentifier="sentry-dbid-243fd9d0-49d0-4d3b-b710-3759ac35b7d7")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:r,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(oi,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:r,onTabChange:f})]})}const bi=n.div`
1
+ import{y as Q,J as v,T as Xt,b$ as Qt,V as t,a_ as Zt,A as ei,a9 as ti,o as i,_ as ye,O as P,gj as ii,b as R,hg as oi,j as Ne,f as si,z as ot,bH as st,an as at,cF as nt,bO as rt,iD as lt,u as w,i as ai,cD as he,ah as ni,H as ri,B as dt,e as S,x as li,bb as _,c3 as ue,fo as pe,iE as fe,t as ct,c as ht,cK as E,eN as ut,fy as di,s as Z,hu as ci,W as U,e_ as hi,ad as $e,au as me,iF as ui,b8 as pt,iG as _e,aT as pi}from"./index-BtPm9NIK.js";import{a as g}from"./sentry-DU2EcgXN.js";import{n,c as O}from"./mui-BHPGtaMB.js";import{FW as fi,FX as mi,bG as X,bs as y,Ei as ft}from"./zeni-epic-state-Bnfd9FE6.js";import{k as gi}from"./SubTabSwitcher-zrkVj1aP-D6VIyY-Z.js";import{d as mt}from"./useLongPress-GCK2COYQ-DY5WLHMQ.js";import{A as gt,t as xt,a as bt,E as wt,L as yt,I as $t}from"./NotificationsListConfig-Bn1zmx6b-DJcpP8xc.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="243fd9d0-49d0-4d3b-b710-3759ac35b7d7",e._sentryDebugIdIdentifier="sentry-dbid-243fd9d0-49d0-4d3b-b710-3759ac35b7d7")}catch{}})();function xi({tabs:e,selectedTab:o,subTabs:s,selectedSubTab:a,subTabRightComponent:r,tabStyle:l,subTabStyle:c,onTabChange:d,onSubTabChange:h}){const u=v(),p=Q(),m=g.useCallback(x=>{d(x.id)},[d]),f=g.useCallback(x=>{h(x.id)},[h]);return e.length===0?null:t.jsxs(bi,{windowSize:u,children:[t.jsx(oi,{allTabs:e,selectedTab:o,containerStyle:{...l,borderBottom:`1px solid ${p.colors.grey3}`},onTabChange:m}),t.jsx(gi,{allTabs:s,selectedTab:a,containerStyle:{...c},rightComponent:r,onTabChange:f})]})}const bi=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as U,hf as Ce,O as j,y as Q,bz as _e,z as xe,V as t,ba as Se,a6 as ke,hd as ve,a$ as we,a_ as Be,hg as je,hh as Oe,o as C,ab as Pe,f as Te,b as R,an as ce,Q as de,ad as $e,u as T,bD as De,bE as Ne,bF as Ie,b7 as Ee,e as a,s as pe,j as oe,ag as Me}from"./index-T6cemxxv.js";import{a as w,b as Fe}from"./sentry-BoIfGJBF.js";import{n as u}from"./mui-GaW5Gk_e.js";import{FC as Le}from"./zeni-epic-state-BtVcBgvu.js";import{p as Ae,d as Ve,y as q,b as me,u as re}from"./chartTypes-40RenddT-C7uxWjgM.js";import{V as ze}from"./toChartData-C6s-eBzE-hyCfo1sK.js";import{m as W}from"./analyticsHelper-CYr5V2MV-D47W16kx.js";import{p as Re}from"./TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js";import{M as We}from"./TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js";import{C as Ke}from"./NoDataChart-CgT19fV7-BHysrTfh.js";import{d as Ye}from"./NoDataTable-CPjJmo4s-Cw98-IiW.js";import{H as He,N as ae}from"./detailCommon-CrcyqWtZ-s9USgEEF.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{I as Ge,R as J}from"./CollapsableReportTable-CDEe9s_E-B6-yHAq0.js";import{o as he}from"./mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js";import{d as te}from"./mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js";import{l as qe}from"./mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js";import{S as Je,E as Ue,X as Qe,Y as Xe,F as Ze,K as eo}from"./recharts-BQ8VH5gX.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js";import"./graphic-no-data-l-DU4J8fDt-hCWvJzzH.js";import"./AccountRow-CpftykFx-DRMa7L7I.js";import"./clock-CJkylEKt-DGRbc2He.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]="498b5bb0-dd26-4c43-a9b1-7e33ca19ee93",e._sentryDebugIdIdentifier="sentry-dbid-498b5bb0-dd26-4c43-a9b1-7e33ca19ee93")}catch{}})();const oo=u.div`
1
+ import{J as U,hf as Ce,O as j,y as Q,bz as _e,z as xe,V as t,ba as Se,a6 as ke,hd as ve,a$ as we,a_ as Be,hg as je,hh as Oe,o as C,ab as Pe,f as Te,b as R,an as ce,Q as de,ad as $e,u as T,bD as De,bE as Ne,bF as Ie,b7 as Ee,e as a,s as pe,j as oe,ag as Me}from"./index-BtPm9NIK.js";import{a as w,b as Fe}from"./sentry-DU2EcgXN.js";import{n as u}from"./mui-BHPGtaMB.js";import{FC as Le}from"./zeni-epic-state-Bnfd9FE6.js";import{p as Ae,d as Ve,y as q,b as me,u as re}from"./chartTypes-40RenddT-Bnggt3nP.js";import{V as ze}from"./toChartData-C6s-eBzE-xR7CEkgo.js";import{m as W}from"./analyticsHelper-CYr5V2MV-y-wB64MS.js";import{p as Re}from"./TimeRangeSwitcher-r1TNqVRb-DDWjaMZm.js";import{M as We}from"./TimeframeSwitcherWithToggle-DvBvguRl-DJysAVHF.js";import{C as Ke}from"./NoDataChart-CgT19fV7-YzA74zXg.js";import{d as Ye}from"./NoDataTable-CPjJmo4s-DC_mvjeS.js";import{H as He,N as ae}from"./detailCommon-CrcyqWtZ-BELajPOa.js";import{n as K}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{I as Ge,R as J}from"./CollapsableReportTable-CDEe9s_E-C_oaF72K.js";import{o as he}from"./mapTimeframeBalancesToTreeNode-DIqYP3NK-DcYeE0sW.js";import{d as te}from"./mapLoadingInProgressToTreeNode-DGnyXKBT-Wps1a9Kl.js";import{l as qe}from"./mapSpacerToTreeNode-CvGdU9Ma-Cc1qVXN0.js";import{S as Je,E as Ue,X as Qe,Y as Xe,F as Ze,K as eo}from"./recharts-DCahVeG0.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.js";import"./TimeframeSwitcher-DHfHCTa4-DIsvW45z.js";import"./graphic-no-data-l-DU4J8fDt-aEBiiMn8.js";import"./AccountRow-CpftykFx-BYdmHBcI.js";import"./clock-CJkylEKt-CcT-fN9H.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]="498b5bb0-dd26-4c43-a9b1-7e33ca19ee93",e._sentryDebugIdIdentifier="sentry-dbid-498b5bb0-dd26-4c43-a9b1-7e33ca19ee93")}catch{}})();const oo=u.div`
2
2
  display: flex;
3
3
  `,ro=u.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{y as i,V as r}from"./index-T6cemxxv.js";import{n}from"./mui-GaW5Gk_e.js";import"./sentry-BoIfGJBF.js";import"./pdf-DWoGjGSw.js";import"./zeni-epic-state-BtVcBgvu.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="e4fc8e26-288a-4268-ab78-9ec29a4d3dfb",e._sentryDebugIdIdentifier="sentry-dbid-e4fc8e26-288a-4268-ab78-9ec29a4d3dfb")}catch{}})();const d=n.div`
1
+ import{y as i,V as r}from"./index-BtPm9NIK.js";import{n}from"./mui-BHPGtaMB.js";import"./sentry-DU2EcgXN.js";import"./pdf-BC9fZG9d.js";import"./zeni-epic-state-Bnfd9FE6.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="e4fc8e26-288a-4268-ab78-9ec29a4d3dfb",e._sentryDebugIdIdentifier="sentry-dbid-e4fc8e26-288a-4268-ab78-9ec29a4d3dfb")}catch{}})();const d=n.div`
2
2
  display: ${({isOpen:e})=>e?"block":"none"};
3
3
  position: fixed;
4
4
  top: 0;
@@ -1,4 +1,4 @@
1
- import{V as o,G as M,y as I,J as v,a_ as ne,O as c,i as ae,a6 as _,f as re,j as ie,b as W,o as s,bz as ce,Q as le,ad as de,bX as ge,bY as me,aW as pe,u as C,bG as he,ab as fe,ac as ue,au as xe,b7 as we}from"./index-T6cemxxv.js";import{a as N}from"./sentry-BoIfGJBF.js";import{n as a}from"./mui-GaW5Gk_e.js";import{L as je}from"./NavBarWithPicker-zmvBmWS1-Dq59pkcT.js";import{m as Se}from"./analyticsHelper-CYr5V2MV-D47W16kx.js";import{M as be}from"./TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js";import{I as ye,a as Ce}from"./CollapsableReportTable-CDEe9s_E-B6-yHAq0.js";import{M as V}from"./usp-line-BBd1wKwW-BDy8G8EG.js";import{EB as Pe,EC as ke}from"./zeni-epic-state-BtVcBgvu.js";import{D as $e,T as ze,C as ve}from"./mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js";import"./AccountRow-CpftykFx-DRMa7L7I.js";import"./clock-CJkylEKt-DGRbc2He.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]="1e7ef613-7302-4822-b261-2898727a3d07",e._sentryDebugIdIdentifier="sentry-dbid-1e7ef613-7302-4822-b261-2898727a3d07")}catch{}})();const q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",Le=a.div`
1
+ import{V as o,G as M,y as I,J as v,a_ as ne,O as c,i as ae,a6 as _,f as re,j as ie,b as W,o as s,bz as ce,Q as le,ad as de,bX as ge,bY as me,aW as pe,u as C,bG as he,ab as fe,ac as ue,au as xe,b7 as we}from"./index-BtPm9NIK.js";import{a as N}from"./sentry-DU2EcgXN.js";import{n as a}from"./mui-BHPGtaMB.js";import{L as je}from"./NavBarWithPicker-zmvBmWS1-BJLXNi9F.js";import{m as Se}from"./analyticsHelper-CYr5V2MV-y-wB64MS.js";import{M as be}from"./TimeframeSwitcherWithToggle-DvBvguRl-DJysAVHF.js";import{I as ye,a as Ce}from"./CollapsableReportTable-CDEe9s_E-C_oaF72K.js";import{M as V}from"./usp-line-BBd1wKwW-DNpFJb5T.js";import{EB as Pe,EC as ke}from"./zeni-epic-state-Bnfd9FE6.js";import{D as $e,T as ze,C as ve}from"./mapSectionWithAcOnlyToTreeNode-BkPRWtaj-B4027zU8.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BCOsOvxo-BX8RS135.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.js";import"./TimeframeSwitcher-DHfHCTa4-DIsvW45z.js";import"./AccountRow-CpftykFx-BYdmHBcI.js";import"./clock-CJkylEKt-CcT-fN9H.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]="1e7ef613-7302-4822-b261-2898727a3d07",e._sentryDebugIdIdentifier="sentry-dbid-1e7ef613-7302-4822-b261-2898727a3d07")}catch{}})();const q="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual.png",H="https://storage.googleapis.com/zeni-apis.appspot.com/images/forecast-overview-vs-actual-dark.png",Le=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1 +1 @@
1
- import{j as n}from"./pdf-DWoGjGSw.js";import{j as G,i as N,h as $,l as Y,u as l,k as _,R as H,m as b}from"./core-BSWMBnrJ.js";import{cs as v,mB as P,m8 as V,Ha as A,m3 as T,bt as W,Ei as z,m4 as J,Hb as K,GY as S,Ev as Q,pU as X,Hc as Z,qf as ee,cz as ae,cx as te}from"./zeni-epic-state-BtVcBgvu.js";import{je as se,jR as oe,t as ne,bc as re,jl as O,kc as ce,jA as ie,aE as le,aG as de}from"./index-T6cemxxv.js";import"./mui-GaW5Gk_e.js";import fe from"./NotFoundScreen-LuCzwVbP.js";import{F as me}from"./FeaturePreviewScreen-7DbZ3Lx9.js";import{a as h}from"./sentry-BoIfGJBF.js";import{a as pe}from"./routePaths-BCoYK2N6.js";import{M as ue}from"./MobileAppDrawer-SRxQ4nyi.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="2df8b2ae-154a-452c-840d-fb20fd5f1a79",s._sentryDebugIdIdentifier="sentry-dbid-2df8b2ae-154a-452c-840d-fb20fd5f1a79")}catch{}})();const y=(s,e,a)=>{s!=e&&(s!=null&&s.length>0?a(`../${e}`,{replace:!0}):a(e,{replace:!0}))},he=_(function(s){const e=K(s),a={},o=e.pandLReportWithForecast.uiState.nodeCollapseState;return Object.keys(o).forEach(r=>{a[r]=o[r]===!1}),{selectedTimeframe:e.selectedTimeframe,isForecastVsActualOn:e.isForecastVsActualOn,compareMode:e.compareMode,forecastList:e.forecastList,selectedForecast:e.selectedForecast,pandLreport:e.pandLReportWithForecast,scrollPosition:e.pandLReportWithForecast.uiState.scrollPosition,nodeOpenStatus:a,type:"name+balances_forecast",analytics:O}},function(s,e){return{onForecastSelectionChanged:(a,o)=>{s(A(a,o)),e.isPandLReportFetched(a)||s(T(a)),y(e.forecastIdFromUrlPath,a,e.navigate)},onTimeframeChanged:a=>{s(ee(a))},onForecastVsActualsCompareToggle:a=>{s(Z(a)),s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:{scrollLeft:0,scrollTop:0}}))},onCompareModeChanged:a=>{s(X(e.firstMonthOfFY,a,0,[]))},onAccountBalanceClick:e.hasTransactionAccess!==!0?void 0:(a,o)=>{let r,c;const f=a.accountName===""?a.accountDescription:a.accountName;if(o.balanceTimeFrame==="month"||o.balanceTimeFrame==="quarter"?(r=o.balanceTimeFrame,c=Q(o)):o.balanceTimeFrame==="year"?(r="quarter",c={startDate:o.endDate.startOf("quarter"),endDate:o.endDate}):console.error(`timeframe ${o.balanceTimeFrame} is not supported`),c!=null&&r!=null){const m=pe(e.tenantEmailDomain,a.accountId,a.accountType,f,r,c),p=ie(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(m,{state:{pathnameStackToGoBack:p,referrer:"Forecast"}})}},onNodeCollapseToggled:(a,o)=>{s(S({forecastId:e.forecastIdFromUrlPath,nodeCollapseState:{nodeId:a,isCollapsed:o===!1}}))},onTableScroll:a=>{s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:a}))},onBackClick:()=>{e.navigate("../../")}}})(ce);function U(){const s=G(),e=N(),a=$(),{forecastId:o,tenantEmailDomain:r}=Y(),[c,f]=h.useState(!1),[m,p]=h.useState(!1),F=se.getSignedInUser(),R=l(t=>v(t)),M=R.company?.companyInfo.firstMonthOfFY??1,i=l(t=>P(t.forecastState,t.forecastListState)),u=l(t=>t.forecastListState.fetchState==="Completed"),j=l(t=>t.profitAndLossState),x=l(t=>t.reportUIOptionsState.selectedForecast),C=t=>j.pandLByForecastID[t]!=null&&J(t,j).reducedAllFetchState.fetchState==="Completed",{areTenantIdsInSync:g}=oe();h.useEffect(()=>{if(!c&&g)f(!0),u||e(V());else if(u&&!m){p(!0);const t=((d,L,E)=>L!=null?d.forecasts.findIndex(I=>I.id===L):E!=null?d.forecasts.findIndex(I=>I.id===E):d.forecasts.length>0?0:-1)(i,o,x?.id);t===-1&&o!=null?s("page-not-found",{replace:!0}):t!==-1&&t!=x?.index?(e(A(i.forecasts[t].id,t)),y(o,i.forecasts[t].id,s)):o==null&&t!==-1&&y(void 0,i.forecasts[t].id,s),t!==-1&&!C(i.forecasts[t].id)&&g&&e(T(i.forecasts[t].id))}},[c,f,e,u,i,m,p,P,T,g]);const D=ne(),w=D?.loggedInUserRole!=null&&W(D.loggedInUserRole),[B,q]=h.useState(!1),k=t=>{q(t)};return n.jsxs(n.Fragment,{children:[u?n.jsx(re,{analytics:O,onLoad:t=>(d=>d.trackForecast())(t)}):null,n.jsx(ue,{isAppContentDrawerOpen:B,handleDrawerToggle:k}),n.jsx(he,{firstMonthOfFY:M,tenantEmailDomain:r,forecastIdFromUrlPath:o,navigate:s,location:a,isPandLReportFetched:C,meetingUrl:z(`https://meetings.hubspot.com/svitlana-grankovska?firstname=${F?.firstName}&lastname=${F?.lastName}&email=${F?.userEmail}`),hasTransactionAccess:w,onClickMenuIcon:()=>{k(!0)}})]})}function Ae(){const s=l(c=>v(c)),{useFeatureGate:e}=le(),{isFeatureEnabled:a}=e(de.isDebitCardFeatureEnabled),o=ae(a,s),r=te(s);return o===!0||r===!0?n.jsx(me,{}):n.jsxs(H,{children:[n.jsx(b,{path:"/",element:n.jsx(U,{})}),n.jsx(b,{path:"/:forecastId",element:n.jsx(U,{})}),n.jsx(b,{path:"/:forecastId/*",element:n.jsx(fe,{})})]})}export{Ae as PandLWithForecastRoutes,Ae as default};
1
+ import{j as n}from"./pdf-BC9fZG9d.js";import{j as G,i as N,h as $,l as Y,u as l,k as _,R as H,m as b}from"./core-B3AUZ034.js";import{cs as v,mB as P,m8 as V,Ha as A,m3 as T,bt as W,Ei as z,m4 as J,Hb as K,GY as S,Ev as Q,pU as X,Hc as Z,qf as ee,cz as ae,cx as te}from"./zeni-epic-state-Bnfd9FE6.js";import{je as se,jR as oe,t as ne,bc as re,jl as O,kc as ce,jA as ie,aE as le,aG as de}from"./index-BtPm9NIK.js";import"./mui-BHPGtaMB.js";import fe from"./NotFoundScreen-C-f3wZff.js";import{F as me}from"./FeaturePreviewScreen-CsodJgmF.js";import{a as h}from"./sentry-DU2EcgXN.js";import{a as pe}from"./routePaths-Dqvnjt0t.js";import{M as ue}from"./MobileAppDrawer-CDJXGCc5.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="2df8b2ae-154a-452c-840d-fb20fd5f1a79",s._sentryDebugIdIdentifier="sentry-dbid-2df8b2ae-154a-452c-840d-fb20fd5f1a79")}catch{}})();const y=(s,e,a)=>{s!=e&&(s!=null&&s.length>0?a(`../${e}`,{replace:!0}):a(e,{replace:!0}))},he=_(function(s){const e=K(s),a={},o=e.pandLReportWithForecast.uiState.nodeCollapseState;return Object.keys(o).forEach(r=>{a[r]=o[r]===!1}),{selectedTimeframe:e.selectedTimeframe,isForecastVsActualOn:e.isForecastVsActualOn,compareMode:e.compareMode,forecastList:e.forecastList,selectedForecast:e.selectedForecast,pandLreport:e.pandLReportWithForecast,scrollPosition:e.pandLReportWithForecast.uiState.scrollPosition,nodeOpenStatus:a,type:"name+balances_forecast",analytics:O}},function(s,e){return{onForecastSelectionChanged:(a,o)=>{s(A(a,o)),e.isPandLReportFetched(a)||s(T(a)),y(e.forecastIdFromUrlPath,a,e.navigate)},onTimeframeChanged:a=>{s(ee(a))},onForecastVsActualsCompareToggle:a=>{s(Z(a)),s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:{scrollLeft:0,scrollTop:0}}))},onCompareModeChanged:a=>{s(X(e.firstMonthOfFY,a,0,[]))},onAccountBalanceClick:e.hasTransactionAccess!==!0?void 0:(a,o)=>{let r,c;const f=a.accountName===""?a.accountDescription:a.accountName;if(o.balanceTimeFrame==="month"||o.balanceTimeFrame==="quarter"?(r=o.balanceTimeFrame,c=Q(o)):o.balanceTimeFrame==="year"?(r="quarter",c={startDate:o.endDate.startOf("quarter"),endDate:o.endDate}):console.error(`timeframe ${o.balanceTimeFrame} is not supported`),c!=null&&r!=null){const m=pe(e.tenantEmailDomain,a.accountId,a.accountType,f,r,c),p=ie(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(m,{state:{pathnameStackToGoBack:p,referrer:"Forecast"}})}},onNodeCollapseToggled:(a,o)=>{s(S({forecastId:e.forecastIdFromUrlPath,nodeCollapseState:{nodeId:a,isCollapsed:o===!1}}))},onTableScroll:a=>{s(S({forecastId:e.forecastIdFromUrlPath,scrollPosition:a}))},onBackClick:()=>{e.navigate("../../")}}})(ce);function U(){const s=G(),e=N(),a=$(),{forecastId:o,tenantEmailDomain:r}=Y(),[c,f]=h.useState(!1),[m,p]=h.useState(!1),F=se.getSignedInUser(),R=l(t=>v(t)),M=R.company?.companyInfo.firstMonthOfFY??1,i=l(t=>P(t.forecastState,t.forecastListState)),u=l(t=>t.forecastListState.fetchState==="Completed"),j=l(t=>t.profitAndLossState),x=l(t=>t.reportUIOptionsState.selectedForecast),C=t=>j.pandLByForecastID[t]!=null&&J(t,j).reducedAllFetchState.fetchState==="Completed",{areTenantIdsInSync:g}=oe();h.useEffect(()=>{if(!c&&g)f(!0),u||e(V());else if(u&&!m){p(!0);const t=((d,L,E)=>L!=null?d.forecasts.findIndex(I=>I.id===L):E!=null?d.forecasts.findIndex(I=>I.id===E):d.forecasts.length>0?0:-1)(i,o,x?.id);t===-1&&o!=null?s("page-not-found",{replace:!0}):t!==-1&&t!=x?.index?(e(A(i.forecasts[t].id,t)),y(o,i.forecasts[t].id,s)):o==null&&t!==-1&&y(void 0,i.forecasts[t].id,s),t!==-1&&!C(i.forecasts[t].id)&&g&&e(T(i.forecasts[t].id))}},[c,f,e,u,i,m,p,P,T,g]);const D=ne(),w=D?.loggedInUserRole!=null&&W(D.loggedInUserRole),[B,q]=h.useState(!1),k=t=>{q(t)};return n.jsxs(n.Fragment,{children:[u?n.jsx(re,{analytics:O,onLoad:t=>(d=>d.trackForecast())(t)}):null,n.jsx(ue,{isAppContentDrawerOpen:B,handleDrawerToggle:k}),n.jsx(he,{firstMonthOfFY:M,tenantEmailDomain:r,forecastIdFromUrlPath:o,navigate:s,location:a,isPandLReportFetched:C,meetingUrl:z(`https://meetings.hubspot.com/svitlana-grankovska?firstname=${F?.firstName}&lastname=${F?.lastName}&email=${F?.userEmail}`),hasTransactionAccess:w,onClickMenuIcon:()=>{k(!0)}})]})}function Ae(){const s=l(c=>v(c)),{useFeatureGate:e}=le(),{isFeatureEnabled:a}=e(de.isDebitCardFeatureEnabled),o=ae(a,s),r=te(s);return o===!0||r===!0?n.jsx(me,{}):n.jsxs(H,{children:[n.jsx(b,{path:"/",element:n.jsx(U,{})}),n.jsx(b,{path:"/:forecastId",element:n.jsx(U,{})}),n.jsx(b,{path:"/:forecastId/*",element:n.jsx(fe,{})})]})}export{Ae as PandLWithForecastRoutes,Ae as default};
@@ -1,4 +1,4 @@
1
- import{e8 as re,a7 as Ae,j as Y,o as u,e as F,J as te,V as s,bf as Oe,bi as Le,O as Se,s as be,y as xe,a9 as Re,F as oe,c3 as Te,ad as K,b as Z,aU as ze,W as De,u as _e,g7 as Be,H as Me}from"./index-T6cemxxv.js";import{b as d,a as A}from"./sentry-BoIfGJBF.js";import{n as g}from"./mui-GaW5Gk_e.js";import{P as f}from"./core-BSWMBnrJ.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-DsWS6Ccc-DgEYQkuk.js";import{F as Ve}from"./SetUpAccountSection-sfIB1h4i-5Qx4_bh2.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]="7ac56faf-c6bd-43a7-a74a-aac2592eaba1",e._sentryDebugIdIdentifier="sentry-dbid-7ac56faf-c6bd-43a7-a74a-aac2592eaba1")}catch{}})();function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(n),!0).forEach(function(o){Ce(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Q(e){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,o){var r=n&&(typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"]);if(r!=null){var a,c,m=[],l=!0,p=!1;try{for(r=r.call(n);!(l=(a=r.next()).done)&&(m.push(a.value),!o||m.length!==o);l=!0);}catch(i){p=!0,c=i}finally{try{l||r.return==null||r.return()}finally{if(p)throw c}}return m}}(e,t)||function(n,o){if(n){if(typeof n=="string")return se(n,o);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return se(n,o)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{e8 as re,a7 as Ae,j as Y,o as u,e as F,J as te,V as s,bf as Oe,bi as Le,O as Se,s as be,y as xe,a9 as Re,F as oe,c3 as Te,ad as K,b as Z,aU as ze,W as De,u as _e,g7 as Be,H as Me}from"./index-BtPm9NIK.js";import{b as d,a as A}from"./sentry-DU2EcgXN.js";import{n as g}from"./mui-BHPGtaMB.js";import{P as f}from"./core-B3AUZ034.js";import{l as Ne}from"./stripe-DMRn4zHo.js";import{n as G}from"./commonTypes-DsWS6Ccc-BDxz0JyY.js";import{F as Ve}from"./SetUpAccountSection-sfIB1h4i-BlFfIjSJ.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]="7ac56faf-c6bd-43a7-a74a-aac2592eaba1",e._sentryDebugIdIdentifier="sentry-dbid-7ac56faf-c6bd-43a7-a74a-aac2592eaba1")}catch{}})();function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,o)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ae(Object(n),!0).forEach(function(o){Ce(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Q(e){return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function we(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,o){var r=n&&(typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"]);if(r!=null){var a,c,m=[],l=!0,p=!1;try{for(r=r.call(n);!(l=(a=r.next()).done)&&(m.push(a.value),!o||m.length!==o);l=!0);}catch(i){p=!0,c=i}finally{try{l||r.return==null||r.return()}finally{if(p)throw c}}return m}}(e,t)||function(n,o){if(n){if(typeof n=="string")return se(n,o);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return se(n,o)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function se(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var P=function(e,t,n){var o=!!n,r=d.useRef(n);d.useEffect(function(){r.current=n},[n]),d.useEffect(function(){if(!o||!e)return function(){};var a=function(){r.current&&r.current.apply(r,arguments)};return e.on(t,a),function(){e.off(t,a)}},[o,t,e,r])},X=function(e){var t=d.useRef(e);return d.useEffect(function(){t.current=e},[e]),t.current},W=function(e){return e!==null&&Q(e)==="object"},ce="[object Object]",Ue=function e(t,n){if(!W(t)||!W(n))return t===n;var o=Array.isArray(t);if(o!==Array.isArray(n))return!1;var r=Object.prototype.toString.call(t)===ce;if(r!==(Object.prototype.toString.call(n)===ce))return!1;if(!r&&!o)return t===n;var a=Object.keys(t),c=Object.keys(n);if(a.length!==c.length)return!1;for(var m={},l=0;l<a.length;l+=1)m[a[l]]=!0;for(var p=0;p<c.length;p+=1)m[c[p]]=!0;var i=Object.keys(m);if(i.length!==a.length)return!1;var v=t,x=n;return i.every(function(b){return e(v[b],x[b])})},ve=function(e,t,n){return W(e)?Object.keys(e).reduce(function(o,r){var a=!W(t)||!Ue(e[r],t[r]);return n.includes(r)?(a&&console.warn("Unsupported prop change: options.".concat(r," is not a mutable property.")),o):a?ie(ie({},o||{}),{},Ce({},r,e[r])):o},null):null},Pe="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",le=function(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pe;if(e===null||W(t=e)&&typeof t.elements=="function"&&typeof t.createToken=="function"&&typeof t.createPaymentMethod=="function"&&typeof t.confirmCardPayment=="function")return e;throw new Error(n)},Fe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Pe;if(function(o){return W(o)&&typeof o.then=="function"}(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(o){return le(o,t)})};var n=le(e,t);return n===null?{tag:"empty"}:{tag:"sync",stripe:n}},J=d.createContext(null);J.displayName="ElementsContext";var je=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},Ee=function(e){var t=e.stripe,n=e.options,o=e.children,r=d.useMemo(function(){return Fe(t)},[t]),a=we(d.useState(function(){return{stripe:r.tag==="sync"?r.stripe:null,elements:r.tag==="sync"?r.stripe.elements(n):null}}),2),c=a[0],m=a[1];d.useEffect(function(){var i=!0,v=function(x){m(function(b){return b.stripe?b:{stripe:x,elements:x.elements(n)}})};return r.tag!=="async"||c.stripe?r.tag!=="sync"||c.stripe||v(r.stripe):r.stripePromise.then(function(x){x&&i&&v(x)}),function(){i=!1}},[r,c,n]);var l=X(t);d.useEffect(function(){l!==null&&l!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[l,t]);var p=X(n);return d.useEffect(function(){if(c.elements){var i=ve(n,p,["clientSecret","fonts"]);i&&c.elements.update(i)}},[n,p,c.elements]),d.useEffect(function(){var i;(i=c.stripe)&&i._registerWrapper&&i.registerAppInfo&&(i._registerWrapper({name:"react-stripe-js",version:"2.7.3"}),i.registerAppInfo({name:"react-stripe-js",version:"2.7.3",url:"https://stripe.com/docs/stripe-js/react"}))},[c.stripe]),d.createElement(J.Provider,{value:c},o)};Ee.propTypes={stripe:f.any,options:f.object};var We=function(){var e,t;return(e="calls useElements()",t=d.useContext(J),je(t,e)).elements};f.func.isRequired;var ke=d.createContext(null);ke.displayName="CustomCheckoutSdkContext";d.createContext(null).displayName="CustomCheckoutContext",f.any,f.shape({clientSecret:f.string.isRequired,elementsOptions:f.object}).isRequired;var ee=function(e){var t=d.useContext(ke),n=d.useContext(J);if(t&&n)throw new Error("You cannot wrap the part of your app that ".concat(e," in both <CustomCheckoutProvider> and <Elements> providers."));return t?function(o,r){if(!o)throw new Error("Could not find CustomCheckoutProvider context; You need to wrap the part of your app that ".concat(r," in an <CustomCheckoutProvider> provider."));return o}(t,e):je(n,e)},y=function(e,t){var n,o="".concat((n=e).charAt(0).toUpperCase()+n.slice(1),"Element"),r=t?function(a){ee("mounts <".concat(o,">"));var c=a.id,m=a.className;return d.createElement("div",{id:c,className:m})}:function(a){var c,m=a.id,l=a.className,p=a.options,i=p===void 0?{}:p,v=a.onBlur,x=a.onFocus,b=a.onReady,L=a.onChange,j=a.onEscape,R=a.onClick,B=a.onLoadError,M=a.onLoaderStart,N=a.onNetworksChange,V=a.onConfirm,_=a.onCancel,I=a.onShippingAddressChange,U=a.onShippingRateChange,$=ee("mounts <".concat(o,">")),z="elements"in $?$.elements:null,T="customCheckoutSdk"in $?$.customCheckoutSdk:null,E=we(d.useState(null),2),h=E[0],D=E[1],w=d.useRef(null),O=d.useRef(null);P(h,"blur",v),P(h,"focus",x),P(h,"escape",j),P(h,"click",R),P(h,"loaderror",B),P(h,"loaderstart",M),P(h,"networkschange",N),P(h,"confirm",V),P(h,"cancel",_),P(h,"shippingaddresschange",I),P(h,"shippingratechange",U),P(h,"change",L),b&&(c=e==="expressCheckout"?b:function(){b(h)}),P(h,"ready",c),d.useLayoutEffect(function(){if(w.current===null&&O.current!==null&&(z||T)){var C=null;T?C=T.createElement(e,i):z&&(C=z.create(e,i)),w.current=C,D(C),C&&C.mount(O.current)}},[z,T,i]);var H=X(i);return d.useEffect(function(){if(w.current){var C=ve(i,H,["paymentRequest"]);C&&w.current.update(C)}},[i,H]),d.useLayoutEffect(function(){return function(){if(w.current&&typeof w.current.destroy=="function")try{w.current.destroy(),w.current=null}catch{}}},[]),d.createElement("div",{id:m,className:l,ref:O})};return r.propTypes={id:f.string,className:f.string,onChange:f.func,onBlur:f.func,onFocus:f.func,onReady:f.func,onEscape:f.func,onClick:f.func,onLoadError:f.func,onLoaderStart:f.func,onNetworksChange:f.func,onConfirm:f.func,onCancel:f.func,onShippingAddressChange:f.func,onShippingRateChange:f.func,options:f.object},r.displayName=o,r.__elementType=e,r},S=typeof window>"u";d.createContext(null).displayName="EmbeddedCheckoutProviderContext";y("auBankAccount",S),y("card",S);var de=y("cardNumber",S),ue=y("cardExpiry",S),pe=y("cardCvc",S);y("fpxBank",S),y("iban",S),y("idealBank",S),y("p24Bank",S),y("epsBank",S),y("payment",S),y("expressCheckout",S),y("paymentRequestButton",S),y("linkAuthentication",S),y("address",S),y("shippingAddress",S),y("paymentMethodMessaging",S),y("affirmMessage",S),y("afterpayClearpayMessage",S);const He={containerHeight:new Z(656,720)},qe=g.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as i,bo as _e,bG as Oe,O as y,o as t,e as D,x as R,y as ke,J as C,a_ as le,a6 as a,ba as Ae,bH as Ve,f as F,ab as Y,bI as xe,i as Me,j as Se,bJ as We,a7 as Be,bK as Ee,n as Fe,bL as Ue,bM as Ke,an as Ze,Q as B,bN as He,b,bO as Je,bP as Ce,u as $,bA as L,bQ as Ie,T as Qe,A as Ge,bR as qe,bS as Xe,a0 as Ye,bT as ei,s as _,W as ee,bU as ii,bB as Re,au as ie,bV as ge,b8 as oi,bW as ti}from"./index-T6cemxxv.js";import{a as u,b as de}from"./sentry-BoIfGJBF.js";import{n as o}from"./mui-GaW5Gk_e.js";import{pg as ze,bt as q}from"./zeni-epic-state-BtVcBgvu.js";import{d as oe}from"./ZeniAvatar-CwHVUcMc-BJ8AyUay.js";import{T as Te}from"./RoleWithToolTip-C8x5yXaK-Dmelwbqx.js";import"./pdf-DWoGjGSw.js";import"./core-BSWMBnrJ.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";import"./avatar-Dz7aEm3d-B59e782o.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]="3fc62f31-ef65-4017-9213-9553ebf3e581",e._sentryDebugIdIdentifier="sentry-dbid-3fc62f31-ef65-4017-9213-9553ebf3e581")}catch{}})();const si=o.div`
1
+ import{V as i,bo as _e,bG as Oe,O as y,o as t,e as D,x as R,y as ke,J as C,a_ as le,a6 as a,ba as Ae,bH as Ve,f as F,ab as Y,bI as xe,i as Me,j as Se,bJ as We,a7 as Be,bK as Ee,n as Fe,bL as Ue,bM as Ke,an as Ze,Q as B,bN as He,b,bO as Je,bP as Ce,u as $,bA as L,bQ as Ie,T as Qe,A as Ge,bR as qe,bS as Xe,a0 as Ye,bT as ei,s as _,W as ee,bU as ii,bB as Re,au as ie,bV as ge,b8 as oi,bW as ti}from"./index-BtPm9NIK.js";import{a as u,b as de}from"./sentry-DU2EcgXN.js";import{n as o}from"./mui-BHPGtaMB.js";import{pg as ze,bt as q}from"./zeni-epic-state-Bnfd9FE6.js";import{d as oe}from"./ZeniAvatar-CwHVUcMc-C16MROkP.js";import{T as Te}from"./RoleWithToolTip-C8x5yXaK-CKUn0-uO.js";import"./pdf-BC9fZG9d.js";import"./core-B3AUZ034.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.js";import"./avatar-Dz7aEm3d-CWSJfcBr.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]="3fc62f31-ef65-4017-9213-9553ebf3e581",e._sentryDebugIdIdentifier="sentry-dbid-3fc62f31-ef65-4017-9213-9553ebf3e581")}catch{}})();const si=o.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{j as e}from"./pdf-DWoGjGSw.js";import{H5 as ee,cs as q,cz as M,cx as ae,CI as J,GP as se,p4 as we,H6 as W,oU as xe,pd as De,p7 as te,oY as ne,pb as je,p8 as Ie,H7 as oe,qG as ke,H8 as Ee,df as Pe,H9 as A,p1 as ie,o$ as re,ph as ve,bE as Te}from"./zeni-epic-state-BtVcBgvu.js";import{J as le,aE as X,aG as j,je as z,jZ as de,e as ce,k8 as pe,jC as ue,k9 as Le,b as me,o as R,jF as he,O as ge,ka as Fe,jR as Oe,bc as Re,jl as fe,G as Ve,jA as Ue,kb as Ze,t as Be}from"./index-T6cemxxv.js";import{D as be,n as _,S as Ce}from"./mui-GaW5Gk_e.js";import N from"./NotFoundScreen-LuCzwVbP.js";import{a as i}from"./sentry-BoIfGJBF.js";import{i as Y,l as $e,u as D,j as Ae,h as He,k as Ge,R as Q,m as $}from"./core-BSWMBnrJ.js";import{M as ze}from"./MobileAppDrawer-SRxQ4nyi.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="576c26c0-bcd1-499a-b083-2f7f3a0c0f1b",a._sentryDebugIdIdentifier="sentry-dbid-576c26c0-bcd1-499a-b083-2f7f3a0c0f1b")}catch{}})();const _e={overlayWidth:new me(100,100,58)},H=ge.getLocalizedStrings().peoplePage.invitePage,Ke=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:y})=>{const g=le(),m=Y(),[V,k]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=$e(),d=D(c=>ee(c)),p=D(c=>q(c)),{useFeatureGate:f}=X(),{isFeatureEnabled:I}=f(j.isDebitCardFeatureEnabled),E=M(I,p),T=ae(p),L=J(p),Z=se(p),B=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!E&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(z.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(W()),y()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:v}=f(j.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(j.isChargeCardFeatureEnabled),C=de(p,F,I),{isFeatureEnabled:O}=f(j.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:B===!1,isZeniAccountsDisabled:v===!1,isChargeCardDisabled:C===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:Z===!1,isBankingOnlyTenant:E,isCardsOnlyTenant:T,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),k(!0)},onSaveClick:()=>{m(h==="zeni_only"?xe(a):De(L))},onCloseClick:u},l={onOkClick:()=>{S(!1),b()},onCancelClick:()=>{S(!1)}};return i.useEffect(()=>{x===!1&&w!=null&&m(we(w))},[x,w]),i.useEffect(()=>{d.updatePersonState.fetchState==="Completed"&&b()},[d.updatePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:_e.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(We,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(ye,{children:H.discardTitle}),descriptionComponent:e.jsx(Se,{children:H.discardDescription}),primaryButtonText:H.discard,secondaryButtonText:H.no,action:l,isEditPopup:!0}):null,x||d.person==null?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Le,{...s})]})})},We=_(Ce)`
1
+ import{j as e}from"./pdf-BC9fZG9d.js";import{H5 as ee,cs as q,cz as M,cx as ae,CI as J,GP as se,p4 as we,H6 as W,oU as xe,pd as De,p7 as te,oY as ne,pb as je,p8 as Ie,H7 as oe,qG as ke,H8 as Ee,df as Pe,H9 as A,p1 as ie,o$ as re,ph as ve,bE as Te}from"./zeni-epic-state-Bnfd9FE6.js";import{J as le,aE as X,aG as j,je as z,jZ as de,e as ce,k8 as pe,jC as ue,k9 as Le,b as me,o as R,jF as he,O as ge,ka as Fe,jR as Oe,bc as Re,jl as fe,G as Ve,jA as Ue,kb as Ze,t as Be}from"./index-BtPm9NIK.js";import{D as be,n as _,S as Ce}from"./mui-BHPGtaMB.js";import N from"./NotFoundScreen-C-f3wZff.js";import{a as i}from"./sentry-DU2EcgXN.js";import{i as Y,l as $e,u as D,j as Ae,h as He,k as Ge,R as Q,m as $}from"./core-B3AUZ034.js";import{M as ze}from"./MobileAppDrawer-CDJXGCc5.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="576c26c0-bcd1-499a-b083-2f7f3a0c0f1b",a._sentryDebugIdIdentifier="sentry-dbid-576c26c0-bcd1-499a-b083-2f7f3a0c0f1b")}catch{}})();const _e={overlayWidth:new me(100,100,58)},H=ge.getLocalizedStrings().peoplePage.invitePage,Ke=({companyId:a,managersListView:t,companyPassportView:r,classListView:n,mode:h,isEditPeopleDrawerOpen:o,closeDrawerHandler:y})=>{const g=le(),m=Y(),[V,k]=i.useState(!1),[U,S]=i.useState(!1),{userId:w}=$e(),d=D(c=>ee(c)),p=D(c=>q(c)),{useFeatureGate:f}=X(),{isFeatureEnabled:I}=f(j.isDebitCardFeatureEnabled),E=M(I,p),T=ae(p),L=J(p),Z=se(p),B=!!p.company?.featuresActivationInfo?.isReimbursementFeatureEnabled,x=!E&&n.fetchState!=="Completed"||t.fetchState!=="Completed"||r.fetchState!=="Completed"||a==null;if(z.getSignedInUser()==null)throw Error("Can't access invite people page without signing in...");const b=()=>{m(W()),y()},u=()=>{V===!0?S(!0):b()},P=r.companyView?.controllers?.map(c=>c.user),{isFeatureEnabled:v}=f(j.isDepositAccountsFeatureEnabled),{isFeatureEnabled:F}=f(j.isChargeCardFeatureEnabled),C=de(p,F,I),{isFeatureEnabled:O}=f(j.isTreasuryEnabled),s={peopleDetails:d,classList:n.classes,managersList:t.users,controllersList:P,mode:h,isZeniTenant:L,isReimbursementDisabled:B===!1,isZeniAccountsDisabled:v===!1,isChargeCardDisabled:C===!1,isTreasuryDisabled:O===!1,isLiteRoleDisabled:Z===!1,isBankingOnlyTenant:E,isCardsOnlyTenant:T,onResetClick:b,onDeleteUser:c=>{m(ne(c.userId,c.userRole.userRoleId))},onPeopleLocalDataUpdated:c=>{m(te({peopleLocalData:c})),k(!0)},onSaveClick:()=>{m(h==="zeni_only"?xe(a):De(L))},onCloseClick:u},l={onOkClick:()=>{S(!1),b()},onCancelClick:()=>{S(!1)}};return i.useEffect(()=>{x===!1&&w!=null&&m(we(w))},[x,w]),i.useEffect(()=>{d.updatePersonState.fetchState==="Completed"&&b()},[d.updatePersonState.fetchState]),e.jsx(be,{anchor:"right",open:o,PaperProps:{style:{width:_e.overlayWidth.valuePercentage(g),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:ce.overlayDark,cursor:"pointer"}}},onClose:u,children:e.jsxs(We,{onClick:c=>c.stopPropagation(),children:[U===!0?e.jsx(pe,{titleComponent:e.jsx(ye,{children:H.discardTitle}),descriptionComponent:e.jsx(Se,{children:H.discardDescription}),primaryButtonText:H.discard,secondaryButtonText:H.no,action:l,isEditPopup:!0}):null,x||d.person==null?e.jsx(ue,{fetchState:"In-Progress",style:{height:"calc(100vh - 110px)"}}):e.jsx(Le,{...s})]})})},We=_(Ce)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1 +1 @@
1
- import{j as n}from"./pdf-DWoGjGSw.js";import C from"./NotFoundScreen-LuCzwVbP.js";import{a as r}from"./sentry-BoIfGJBF.js";import{j as _,h as E,u as p,l as M,i as v,N as U,k as z,R as A,m as h}from"./core-BSWMBnrJ.js";import{cs as F,MK as b,bn as O,bm as P,ex as V,ef as B}from"./zeni-epic-state-BtVcBgvu.js";import{w as K,je as I,lZ as N}from"./index-T6cemxxv.js";import"./mui-GaW5Gk_e.js";import{M as Z}from"./MobileAppDrawer-SRxQ4nyi.js";import"./lottie-DOxhyevU.js";import"./liveblocks--WiFaeN0.js";import"./recharts-BQ8VH5gX.js";import"./dnd-DJrh3JTW.js";import"./analytics-BZz0SPy3.js";import"./plaid-CNcdZ4gc.js";import"./utils-BGRwbgi2.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]="b4214f5c-b27d-4af6-8082-65340d50688a",e._sentryDebugIdIdentifier="sentry-dbid-b4214f5c-b27d-4af6-8082-65340d50688a")}catch{}})();const $=z(function(e){const t=I.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=b(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})(N),q=()=>{const e=_(),t=E(),d=K(),o=p(a=>F(a)),{aggregatedReportViewState:s}=p(a=>b(a)),{tenantEmailDomain:g}=M(),m=v(),l=I.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const u=r.useRef(!1),[w,S]=r.useState(!1),j=O(o?.userRole??[]),x=o?.userRole?.includes("bookkeeping_admin")??!1,k=P(l),y=j||x||k,c=r.useCallback((a,i,T)=>{m(V({fromMonth:a,toMonth:i,cacheOverride:T}))},[]);r.useEffect(()=>{s?.fetchState==="Completed"&&u.current&&(m(B({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),u.current=!1)},[s?.fetchState]);const D=r.useCallback((a,i)=>{s!=null&&s?.fetchState==="In-Progress"||c(a,i,!0),u.current=!0},[s?.fetchState,c]),R=r.useCallback((a,i)=>{c(a,i,!1)},[c]);if(!y)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(Z,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx($,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(A,{children:[n.jsx(h,{path:"*",element:n.jsx(q,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
1
+ import{j as n}from"./pdf-BC9fZG9d.js";import C from"./NotFoundScreen-C-f3wZff.js";import{a as r}from"./sentry-DU2EcgXN.js";import{j as _,h as E,u as p,l as M,i as v,N as U,k as z,R as A,m as h}from"./core-B3AUZ034.js";import{cs as F,MK as b,bn as O,bm as P,ex as V,ef as B}from"./zeni-epic-state-Bnfd9FE6.js";import{w as K,je as I,lZ as N}from"./index-BtPm9NIK.js";import"./mui-BHPGtaMB.js";import{M as Z}from"./MobileAppDrawer-CDJXGCc5.js";import"./lottie-BaQk2SMe.js";import"./liveblocks-DFhc43aC.js";import"./recharts-DCahVeG0.js";import"./dnd-mmN84DSl.js";import"./analytics-BmnY7Of2.js";import"./plaid-Koifne5k.js";import"./utils-CPca4UDN.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]="b4214f5c-b27d-4af6-8082-65340d50688a",e._sentryDebugIdIdentifier="sentry-dbid-b4214f5c-b27d-4af6-8082-65340d50688a")}catch{}})();const $=z(function(e){const t=I.getSignedInUser(),d=e.tenantState.currentTenantId,o={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:d??""},{aggregatedReportViewState:s}=b(e);return{authParams:o,isDisabled:!1,loggedInUser:t,aggregatedReport:s}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})(N),q=()=>{const e=_(),t=E(),d=K(),o=p(a=>F(a)),{aggregatedReportViewState:s}=p(a=>b(a)),{tenantEmailDomain:g}=M(),m=v(),l=I.getSignedInUser();if(l==null)throw new Error("Can't access this page without signing in...");const u=r.useRef(!1),[w,S]=r.useState(!1),j=O(o?.userRole??[]),x=o?.userRole?.includes("bookkeeping_admin")??!1,k=P(l),y=j||x||k,c=r.useCallback((a,i,T)=>{m(V({fromMonth:a,toMonth:i,cacheOverride:T}))},[]);r.useEffect(()=>{s?.fetchState==="Completed"&&u.current&&(m(B({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),u.current=!1)},[s?.fetchState]);const D=r.useCallback((a,i)=>{s!=null&&s?.fetchState==="In-Progress"||c(a,i,!0),u.current=!0},[s?.fetchState,c]),R=r.useCallback((a,i)=>{c(a,i,!1)},[c]);if(!y)return n.jsx(U,{to:`/${g}/dashboard`,replace:!0});const f=a=>{S(a)};return n.jsxs(n.Fragment,{children:[n.jsx(Z,{isAppContentDrawerOpen:w,handleDrawerToggle:f}),n.jsx($,{navigate:e,location:t,themeState:d,currentTenant:o,signedInUser:l,tenantEmailDomain:g,onReload:D,onTimeRangeSelect:R,handleDrawerToggle:f})]})};function ie(){return n.jsxs(A,{children:[n.jsx(h,{path:"*",element:n.jsx(q,{})}),n.jsx(h,{path:"*",element:n.jsx(C,{})})]})}export{ie as default};
@@ -1 +1 @@
1
- import{a as h,b as t}from"./sentry-BoIfGJBF.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new r.Error().stack;a&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[a]="a301a95b-8420-43bd-aa56-5738077199ba",r._sentryDebugIdIdentifier="sentry-dbid-a301a95b-8420-43bd-aa56-5738077199ba")}catch{}})();const c="64px",b={};var k=({src:r,light:a,oEmbedUrl:n,onClickPreview:l,playIcon:w,previewTabIndex:m,previewAriaLabel:u})=>{const[p,i]=h.useState(null);h.useEffect(()=>{r&&a&&n&&v({src:r,light:a,oEmbedUrl:n})},[r,a,n]);const v=async({src:e,light:d,oEmbedUrl:I})=>{if(t.isValidElement(d))return;if(typeof d=="string")return void i(d);if(b[e])return void i(b[e]);i(null);const E=await fetch(I.replace("{url}",e)),g=await E.json();if(g.thumbnail_url){const f=g.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");i(f),b[e]=f}},o=t.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:{width:"100%",height:"100%",backgroundImage:p&&!o?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:o?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},_=t.createElement("div",{style:s.shadow,className:"react-player__shadow"},t.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return t.createElement("div",{style:s.preview,className:"react-player__preview",tabIndex:m,onClick:e=>{l?.(e)},onKeyDown:e=>{e.key!=="Enter"&&e.key!==" "||l==null||l(e)},...u?{"aria-label":u}:{}},o?a:null,w||_)};export{k as default};
1
+ import{a as h,b as t}from"./sentry-DU2EcgXN.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new r.Error().stack;a&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[a]="a301a95b-8420-43bd-aa56-5738077199ba",r._sentryDebugIdIdentifier="sentry-dbid-a301a95b-8420-43bd-aa56-5738077199ba")}catch{}})();const c="64px",b={};var k=({src:r,light:a,oEmbedUrl:n,onClickPreview:l,playIcon:w,previewTabIndex:m,previewAriaLabel:u})=>{const[p,i]=h.useState(null);h.useEffect(()=>{r&&a&&n&&v({src:r,light:a,oEmbedUrl:n})},[r,a,n]);const v=async({src:e,light:d,oEmbedUrl:I})=>{if(t.isValidElement(d))return;if(typeof d=="string")return void i(d);if(b[e])return void i(b[e]);i(null);const E=await fetch(I.replace("{url}",e)),g=await E.json();if(g.thumbnail_url){const f=g.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");i(f),b[e]=f}},o=t.isValidElement(a),y={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:{width:"100%",height:"100%",backgroundImage:p&&!o?`url(${p})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...y},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:c,width:c,height:c,position:o?"absolute":void 0,...y},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},_=t.createElement("div",{style:s.shadow,className:"react-player__shadow"},t.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return t.createElement("div",{style:s.preview,className:"react-player__preview",tabIndex:m,onClick:e=>{l?.(e)},onKeyDown:e=>{e.key!=="Enter"&&e.key!==" "||l==null||l(e)},...u?{"aria-label":u}:{}},o?a:null,w||_)};export{k as default};
@@ -1,4 +1,4 @@
1
- import{O,V as t,c as R,o as c,bp as B,aj as N,u as U,cp as A,I as G,s as X,cq as H,e as w}from"./index-T6cemxxv.js";import{a as f}from"./sentry-BoIfGJBF.js";import{n as i}from"./mui-GaW5Gk_e.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]="246a7d23-174c-4763-a5b4-7c8702ccdc7e",e._sentryDebugIdIdentifier="sentry-dbid-246a7d23-174c-4763-a5b4-7c8702ccdc7e")}catch{}})();const h=O.getLocalizedStrings(),k={large:{labelComp:A,title:G,subtitle:X,seeMoreLink:X}},r={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=i.div`
1
+ import{O,V as t,c as R,o as c,bp as B,aj as N,u as U,cp as A,I as G,s as X,cq as H,e as w}from"./index-BtPm9NIK.js";import{a as f}from"./sentry-DU2EcgXN.js";import{n as i}from"./mui-BHPGtaMB.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]="246a7d23-174c-4763-a5b4-7c8702ccdc7e",e._sentryDebugIdIdentifier="sentry-dbid-246a7d23-174c-4763-a5b4-7c8702ccdc7e")}catch{}})();const h=O.getLocalizedStrings(),k={large:{labelComp:A,title:G,subtitle:X,seeMoreLink:X}},r={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=i.div`
2
2
  width: ${e=>e.scale*r.width}px;
3
3
  height: ${e=>e.scale*r.height}px;
4
4
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- import{J as m,V as r,cu as b,cv as v,cw as y,aV as z,o as e,e as d,b as a,H as c,u as p}from"./index-T6cemxxv.js";import{c as i,n as g,k as f}from"./mui-GaW5Gk_e.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="e336d2ef-80d6-46dd-ac56-0dc86056a426",o._sentryDebugIdIdentifier="sentry-dbid-e336d2ef-80d6-46dd-ac56-0dc86056a426")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(k,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(H,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
1
+ import{J as m,V as r,cu as b,cv as v,cw as y,aV as z,o as e,e as d,b as a,H as c,u as p}from"./index-BtPm9NIK.js";import{c as i,n as g,k as f}from"./mui-BHPGtaMB.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="e336d2ef-80d6-46dd-ac56-0dc86056a426",o._sentryDebugIdIdentifier="sentry-dbid-e336d2ef-80d6-46dd-ac56-0dc86056a426")}catch{}})();const t={plasticCardMarginLeft:new a(p[6],120),plasticCardMarginTop:new a(12,-9),businessTextRight:new a(p[2],13),businessTextBottom:new a(p[8],81),chargeCardWidth:new a(240,384),chargeCardHeight:new a(153,243),styledLogoWidth:new a(47,76),styledLogoHeight:new a(46,74),styledFullLogoTop:new a(12,28),styledFullLogoRight:new a(p[2],13),styledFullLogoHeight:new a(20,34),styledFullLogoWidth:new a(88,142),chipLogoWidth:new a(31,50),chipLogoHeight:new a(p[4],39),visaLogoWidth:new a(52,84),visaLogoHeight:new a(17,27),visaLogoRight:new a(p[2],13),visaLogoBottom:new a(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(k,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(z,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:$,style:x})=>{const n=m();return r.jsxs(H,{cardPromoType:$,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:x,children:[w&&r.jsx(P,{windowSize:n,forDashboard:s,children:r.jsx(b,{})}),r.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(v,{})}),r.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),r.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:r.jsx(y,{})})]})},C=f`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};