@zeniai/web-app-ui 5.3.53-qa → 5.3.54-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/assets/{AccountMappingScreen-B05quPfB.js → AccountMappingScreen-BJ_GCmL6.js} +2 -2
  2. package/dist/assets/{ActualMatchingMatchDetailScreen-D94Dqvel.js → ActualMatchingMatchDetailScreen-D8tZOiP1.js} +1 -1
  3. package/dist/assets/AddressRoutes-CPqal9vX.js +1 -0
  4. package/dist/assets/AddressScreen-BIubmwIP.js +9 -0
  5. package/dist/assets/{AiCfoScreen-Dj6jKppq.js → AiCfoScreen-D0uGIPWe.js} +1 -1
  6. package/dist/assets/{AppDrawer-DB1lzCTO.js → AppDrawer-Dyu7Kj7A.js} +1 -1
  7. package/dist/assets/{BillPayApprovalRoutes-vJIdZGym.js → BillPayApprovalRoutes-Cu6HjrcE.js} +1 -1
  8. package/dist/assets/BillPayRoutes-DZcxw7F9.js +119 -0
  9. package/dist/assets/{BusinessVerificationPageScreen-Bh9Wow-A.js → BusinessVerificationPageScreen-KgJ3Z7Lz.js} +2 -2
  10. package/dist/assets/{CardsAiCfoScreen-Hsh2FpvU.js → CardsAiCfoScreen-D4XYcc0x.js} +2 -2
  11. package/dist/assets/{ChargeCardRoutes-0m2CNq4x.js → ChargeCardRoutes-DgTbdUe2.js} +8 -8
  12. package/dist/assets/{CompanyPassportScreen-Cvbu6LUT.js → CompanyPassportScreen-Dgt-2F5D.js} +1 -1
  13. package/dist/assets/{ConnectionAuthScreen-CRvnQSlr.js → ConnectionAuthScreen-lP9BaYPL.js} +1 -1
  14. package/dist/assets/CustomerOnboardingAuthScreen-86giaeRs.js +1 -0
  15. package/dist/assets/{CustomerOnboardingRoutes-kZOJ1QhA.js → CustomerOnboardingRoutes-SntDIwld.js} +1 -1
  16. package/dist/assets/DashboardRoutes-ChSsFVnC.js +20 -0
  17. package/dist/assets/{DefaultTenantHome-CTOQPic5.js → DefaultTenantHome-B_-3-BWP.js} +1 -1
  18. package/dist/assets/{DomesticWireDetailScreen-DgaHcUL_.js → DomesticWireDetailScreen-uEOhWiZJ.js} +3 -3
  19. package/dist/assets/{DrawerScreen-BeSv1Aix.js → DrawerScreen-D2fUiyyG.js} +1 -1
  20. package/dist/assets/{EntityDetailRoutes-D5eIJPR7.js → EntityDetailRoutes-CDL9F5R0.js} +1 -1
  21. package/dist/assets/{ExpenseAutomationRoutes-DHppK74x.js → ExpenseAutomationRoutes-p6anUTiX.js} +1 -1
  22. package/dist/assets/FeaturePreviewScreen-ClEO1jVO.js +1 -0
  23. package/dist/assets/{HubSpotOAuthCallbackScreen-CThBYwg5.js → HubSpotOAuthCallbackScreen-Be8h7JlS.js} +1 -1
  24. package/dist/assets/{InboxNotificationsProvider-D6QvVVj8.js → InboxNotificationsProvider-B8qyHdbE.js} +1 -1
  25. package/dist/assets/{InvoicingRoutes-DvFmEcE9.js → InvoicingRoutes-CUoOqcWW.js} +1 -1
  26. package/dist/assets/{MagicLinkRoutes-B1yYt0y7.js → MagicLinkRoutes-AdtcTQV8.js} +8 -8
  27. package/dist/assets/MagicLinkSignInScreen-BineRgOo.js +12 -0
  28. package/dist/assets/{MobileAppDrawer-D3MVdjfj.js → MobileAppDrawer-CrvGsfgI.js} +1 -1
  29. package/dist/assets/NotFoundScreen-DJ-T97HU.js +1 -0
  30. package/dist/assets/{NotificationRoutes-3MhigWw8.js → NotificationRoutes-3wgt8Kbi.js} +1 -1
  31. package/dist/assets/{OAuthConsentScreen-Br6J-Kjw.js → OAuthConsentScreen-DgdT7x6v.js} +1 -1
  32. package/dist/assets/{PandLWithForecastRoutes-BT242PEu.js → PandLWithForecastRoutes-ws3OHddo.js} +1 -1
  33. package/dist/assets/{PaymentLinkScreen-D304LK9q.js → PaymentLinkScreen-tKLL3f9h.js} +1 -1
  34. package/dist/assets/{PeopleRoutes-Cs1oFIJn.js → PeopleRoutes-Dfq2m-jU.js} +3 -3
  35. package/dist/assets/PerformanceRoutes-D1dXkym3.js +1 -0
  36. package/dist/assets/{Preview-CDuSXomS.js → Preview-BBxDhQ0O.js} +1 -1
  37. package/dist/assets/{QBOConnectionScreen-CXR9MUeu.js → QBOConnectionScreen-C7ZuCwNV.js} +1 -1
  38. package/dist/assets/{ReimbursementApprovalRoutes-CADwX7m0.js → ReimbursementApprovalRoutes-BEPpa8LQ.js} +1 -1
  39. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-C__AcyMO.js → ReimbursementApprovalRuleDetailScreen-C78enppv.js} +1 -1
  40. package/dist/assets/{ReimbursementRoutes-DE9--ARn.js → ReimbursementRoutes-Ch8YptRc.js} +4 -4
  41. package/dist/assets/{ReportsRoutes-B_EvlWob.js → ReportsRoutes-CqMWss5n.js} +1 -1
  42. package/dist/assets/RewardsRoutes-Dv8b4Fg6.js +1 -0
  43. package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-270QQSkr.js → ScheduleDetailsPrepaidExpensesScreen-YOxc6f2g.js} +4 -4
  44. package/dist/assets/ScreenRoutes-DfCL2gIc.js +2 -0
  45. package/dist/assets/{SettingsRoutes-DjTGDDEp.js → SettingsRoutes-DnuHZUVl.js} +6 -6
  46. package/dist/assets/{SetupPagesScreen-mQ33CI-8.js → SetupPagesScreen-BXd3fJXi.js} +1 -1
  47. package/dist/assets/SignInScreen-Cktnr6wX.js +1 -0
  48. package/dist/assets/SignOutScreen-BwPpNX5k.js +9 -0
  49. package/dist/assets/{TaskListScreen-_mHmu42Q.js → TaskListScreen-Co7yPEl4.js} +2 -2
  50. package/dist/assets/{TaskRoutes-DRFV_DYt.js → TaskRoutes-b_9EH8N1.js} +2 -2
  51. package/dist/assets/TransactionDetailRoutes-B9A0XpAo.js +1 -0
  52. package/dist/assets/{TransactionDetailScreen-Dmc1SB66.js → TransactionDetailScreen-DsKolbVR.js} +1 -1
  53. package/dist/assets/{TransactionListRoutes-2uPIfsci.js → TransactionListRoutes-CW6X1kEN.js} +1 -1
  54. package/dist/assets/{TreasuryRoutes-C62UHGaV.js → TreasuryRoutes-DKqLrSIy.js} +1 -1
  55. package/dist/assets/{VendorsRoutes-Dp-COjet.js → VendorsRoutes-_VHqmNHq.js} +1 -1
  56. package/dist/assets/{WiseConfirmationScreen-DEQwqZwF.js → WiseConfirmationScreen-D4dLeJ3W.js} +1 -1
  57. package/dist/assets/{ZeniAccountRoutes-DjudE9ka.js → ZeniAccountRoutes-luRZFrPJ.js} +1 -1
  58. package/dist/assets/ZeniAccountStatementScreen-CX_-BJtA.js +9 -0
  59. package/dist/assets/{accountMappingHelper-DNRaFM1C.js → accountMappingHelper-y0E9h6aC.js} +1 -1
  60. package/dist/assets/{analytics-Y9Rn1Gu7.js → analytics-BDCkEq_I.js} +1 -1
  61. package/dist/assets/{analyticsHelper-Czpx502m.js → analyticsHelper-DjqyEcxU.js} +1 -1
  62. package/dist/assets/{core-Dh_SHcAD.js → core-B2JcUSRu.js} +1 -1
  63. package/dist/assets/{decodeURIComponentSafe-B9wRnGXi.js → decodeURIComponentSafe-CIM8Yd6k.js} +1 -1
  64. package/dist/assets/{dnd-CwwWYFuT.js → dnd-BAPMa4RJ.js} +1 -1
  65. package/dist/assets/{empty-BT_7GI6y.js → empty-D7vR8z68.js} +1 -1
  66. package/dist/assets/{empty-XI8MiQF0.js → empty-M8CZcWYb.js} +1 -1
  67. package/dist/assets/{emptyVideoElement-JNmKZqZz.js → emptyVideoElement-nUJqd2nB.js} +1 -1
  68. package/dist/assets/{epic-COW9EFJg.js → epic-IH41xxG2.js} +1 -1
  69. package/dist/assets/{expenseAutomationHelper-jy143DnO.js → expenseAutomationHelper-Dd7fQN5z.js} +1 -1
  70. package/dist/assets/{getLocaleForTenant-BTnTjmTv.js → getLocaleForTenant-BXUF9msR.js} +1 -1
  71. package/dist/assets/{index-8Q8Cb_pA.js → index-BTTj-4b5.js} +1 -1
  72. package/dist/assets/{index-D_bKIveY.js → index-DKVU_IvY.js} +2 -2
  73. package/dist/assets/{index-C4rZANm7.js → index-DKZ4YAZy.js} +1 -1
  74. package/dist/assets/{index-CHaKE3QQ.js → index-DanGKFMl.js} +14545 -14423
  75. package/dist/assets/{index-DTprL6g9.js → index-P1XHqiT-.js} +1 -1
  76. package/dist/assets/{index-D3h8toFn.js → index-PCu_2P3b.js} +1 -1
  77. package/dist/assets/{index-DOYaY83A.js → index-dmkrZYpO.js} +1 -1
  78. package/dist/assets/{index-B23hmQHl.js → index-gjFAkOOB.js} +1 -1
  79. package/dist/assets/{lexical-CaftfZ9D.js → lexical-DGZ06Yv6.js} +1 -1
  80. package/dist/assets/{liveblocks-DR8KfETq.js → liveblocks-DXYs6rwe.js} +1 -1
  81. package/dist/assets/{lottie-ODKvpFjz.js → lottie-C9Rxpkwh.js} +1 -1
  82. package/dist/assets/{mui-BYn_Ugho.js → mui-BLmtkCLd.js} +1 -1
  83. package/dist/assets/{pathToGoBack-BiqpVJeS.js → pathToGoBack-DqGGHSwL.js} +1 -1
  84. package/dist/assets/{pdf-DnQo5-Qw.js → pdf-DMCYUxGc.js} +3 -3
  85. package/dist/assets/{pdf-lib-DdZd3IiB.js → pdf-lib-D7-8SdHl.js} +1 -1
  86. package/dist/assets/{plaid-Dw8l1kdg.js → plaid-DHQC2tsw.js} +1 -1
  87. package/dist/assets/{pusher-CewboUYG.js → pusher-C76wt9sK.js} +1 -1
  88. package/dist/assets/{react-gSPYEWZo.js → react-B2hEGyNu.js} +1 -1
  89. package/dist/assets/{react-CWd2ZkNi.js → react-BX0k_7jA.js} +1 -1
  90. package/dist/assets/{react-8By583h-.js → react-D7gGxl9M.js} +1 -1
  91. package/dist/assets/{react-B8IvMjeE.js → react-Dvat3Ckm.js} +1 -1
  92. package/dist/assets/{react-BgmP_PBP.js → react-DzK6xFD8.js} +1 -1
  93. package/dist/assets/{react-ygIo2ccY.js → react-Y6cTJufT.js} +1 -1
  94. package/dist/assets/{recharts-BTL88W4R.js → recharts-UN7cJOXN.js} +1 -1
  95. package/dist/assets/{routePaths-DXpM4tZj.js → routePaths-CV4JB8t3.js} +1 -1
  96. package/dist/assets/{sentry-FwaDhTzy.js → sentry-BmkYxd02.js} +1 -1
  97. package/dist/assets/{stripSplatSuffix-CvpfThkG.js → stripSplatSuffix-DXBpTroJ.js} +1 -1
  98. package/dist/assets/{url-DHu7Ejzz.js → url-Cjk2PJJX.js} +1 -1
  99. package/dist/assets/{url-DybJ-sxa.js → url-DgDGkycQ.js} +1 -1
  100. package/dist/assets/{useActualMatchingMatchDetail-uLKulkDS.js → useActualMatchingMatchDetail-Ba3Lb9B6.js} +1 -1
  101. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-B20EbGXf.js +1 -0
  102. package/dist/assets/{useAskAiCfoHostNavButtonProps-PLm72Ozi.js → useAskAiCfoHostNavButtonProps-BDyrdULc.js} +1 -1
  103. package/dist/assets/{useChargeCardPusherEvents-LUqnb4UF.js → useChargeCardPusherEvents--bgooXaj.js} +1 -1
  104. package/dist/assets/{useDeviceId-CUJxM_KE.js → useDeviceId-IlYBwHEv.js} +1 -1
  105. package/dist/assets/{useEmailConnectResultRefresh-CKnBwo84.js → useEmailConnectResultRefresh-B5AEi8xu.js} +1 -1
  106. package/dist/assets/{useInitialThreadRequest-DLA6PIFe.js → useInitialThreadRequest-D-aSm_7m.js} +1 -1
  107. package/dist/assets/useTaskManagerAccess-DEEmjDWA.js +1 -0
  108. package/dist/assets/{useTaskManagerPusherEvents-DchZU-tO.js → useTaskManagerPusherEvents-D18AziPj.js} +1 -1
  109. package/dist/assets/{utils-DEAaFgLU.js → utils-BGWE7tXK.js} +1 -1
  110. package/dist/assets/{withTransactionSidePanel-DLRTZIl6.js → withTransactionSidePanel-BzroedBl.js} +2 -2
  111. package/dist/assets/{zeni-epic-state-DJh0-ZeR.js → zeni-epic-state-DpjvBN7b.js} +3 -3
  112. package/dist/index.html +1 -1
  113. package/package.json +2 -2
  114. package/dist/assets/AddressRoutes-BBXKWkgP.js +0 -1
  115. package/dist/assets/AddressScreen-DkOVp1Il.js +0 -9
  116. package/dist/assets/BillPayRoutes-Ie8KE_Pm.js +0 -119
  117. package/dist/assets/CustomerOnboardingAuthScreen-SW-uc7QE.js +0 -1
  118. package/dist/assets/DashboardRoutes-DTB-wwS1.js +0 -20
  119. package/dist/assets/FeaturePreviewScreen-vWprV4-Z.js +0 -1
  120. package/dist/assets/MagicLinkSignInScreen-CZM8ZeV4.js +0 -12
  121. package/dist/assets/NotFoundScreen-BG5HsGgf.js +0 -1
  122. package/dist/assets/PerformanceRoutes-DevypuzE.js +0 -1
  123. package/dist/assets/RewardsRoutes-fsFKnuDQ.js +0 -1
  124. package/dist/assets/ScreenRoutes-B0DNEVGO.js +0 -2
  125. package/dist/assets/SignInScreen-BVOxylXT.js +0 -1
  126. package/dist/assets/SignOutScreen-BXBPUD_K.js +0 -9
  127. package/dist/assets/TransactionDetailRoutes-BqJM9clh.js +0 -1
  128. package/dist/assets/ZeniAccountStatementScreen-fuK8OSl5.js +0 -9
  129. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-CJfIwtxx.js +0 -1
  130. package/dist/assets/useTaskManagerAccess-D4PJ1zkK.js +0 -1
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NotFoundScreen-BG5HsGgf.js","assets/sentry-FwaDhTzy.js","assets/core-Dh_SHcAD.js","assets/zeni-epic-state-DJh0-ZeR.js","assets/index-CHaKE3QQ.js","assets/mui-BYn_Ugho.js","assets/analytics-Y9Rn1Gu7.js","assets/utils-DEAaFgLU.js","assets/index-BhC2LNQw.css","assets/DashboardRoutes-DTB-wwS1.js","assets/withTransactionSidePanel-DLRTZIl6.js","assets/useAskAiCfoHostNavButtonProps-PLm72Ozi.js","assets/TransactionDetailScreen-Dmc1SB66.js","assets/decodeURIComponentSafe-B9wRnGXi.js","assets/useInitialThreadRequest-DLA6PIFe.js","assets/routePaths-DXpM4tZj.js","assets/expenseAutomationHelper-jy143DnO.js","assets/stripSplatSuffix-CvpfThkG.js","assets/analyticsHelper-Czpx502m.js","assets/CompanyPassportScreen-Cvbu6LUT.js","assets/MobileAppDrawer-D3MVdjfj.js","assets/InboxNotificationsProvider-D6QvVVj8.js","assets/useTaskManagerAccess-D4PJ1zkK.js","assets/useAiCfoDashboardSuggestedQuestionsChips-CJfIwtxx.js","assets/FeaturePreviewScreen-vWprV4-Z.js","assets/BillPayRoutes-Ie8KE_Pm.js","assets/AddressScreen-DkOVp1Il.js","assets/DomesticWireDetailScreen-DgaHcUL_.js","assets/BusinessVerificationPageScreen-Bh9Wow-A.js","assets/DrawerScreen-BeSv1Aix.js","assets/SetupPagesScreen-mQ33CI-8.js","assets/BillPayApprovalRoutes-vJIdZGym.js","assets/ReimbursementApprovalRuleDetailScreen-C__AcyMO.js","assets/getLocaleForTenant-BTnTjmTv.js","assets/ReimbursementRoutes-DE9--ARn.js","assets/ReimbursementApprovalRoutes-CADwX7m0.js","assets/TransactionListRoutes-2uPIfsci.js","assets/ZeniAccountStatementScreen-fuK8OSl5.js","assets/SettingsRoutes-DjTGDDEp.js","assets/AccountMappingScreen-B05quPfB.js","assets/QBOConnectionScreen-CXR9MUeu.js","assets/empty-XI8MiQF0.js","assets/index-B23hmQHl.js","assets/url-DHu7Ejzz.js","assets/index-D3h8toFn.js","assets/accountMappingHelper-DNRaFM1C.js","assets/useEmailConnectResultRefresh-CKnBwo84.js","assets/ReportsRoutes-B_EvlWob.js","assets/ChargeCardRoutes-0m2CNq4x.js","assets/useChargeCardPusherEvents-LUqnb4UF.js","assets/PeopleRoutes-Cs1oFIJn.js","assets/ExpenseAutomationRoutes-DHppK74x.js","assets/useActualMatchingMatchDetail-uLKulkDS.js","assets/ScheduleDetailsPrepaidExpensesScreen-270QQSkr.js","assets/pathToGoBack-BiqpVJeS.js","assets/TreasuryRoutes-C62UHGaV.js","assets/VendorsRoutes-Dp-COjet.js","assets/ZeniAccountRoutes-DjudE9ka.js","assets/AddressRoutes-BBXKWkgP.js","assets/PandLWithForecastRoutes-BT242PEu.js","assets/CustomerOnboardingRoutes-kZOJ1QhA.js","assets/TransactionDetailRoutes-BqJM9clh.js","assets/EntityDetailRoutes-D5eIJPR7.js","assets/InvoicingRoutes-DvFmEcE9.js","assets/NotificationRoutes-3MhigWw8.js","assets/PerformanceRoutes-DevypuzE.js","assets/ActualMatchingMatchDetailScreen-D94Dqvel.js","assets/RewardsRoutes-fsFKnuDQ.js","assets/TaskRoutes-DRFV_DYt.js","assets/TaskListScreen-_mHmu42Q.js","assets/useTaskManagerPusherEvents-DchZU-tO.js","assets/AiCfoScreen-Dj6jKppq.js","assets/CardsAiCfoScreen-Hsh2FpvU.js"])))=>i.map(i=>d[i]);
2
- import{_ as s,bn as hs,fF as ps,d_ as xs,dZ as gs,AZ as Rs,di as js,c8 as Is,gJ as Ts,g9 as As,df as pe,cG as bs,gn as fs,cy as Ds,bE as ys,br as Cs,U8 as vs,v as Us,Ub as Os,bq as Ps,Uc as ws,bK as Fs,bJ as Ls,bt as ks,cu as Hs,Ud as Vs,Ue as Ss,da as Bs,dd as Ns,dc as Ms,cF as Zs,cM as Gs,pS as xe,gi as ge,gY as $s,gk as Re,gL as je,gM as Ie,gl as zs}from"./zeni-epic-state-DJh0-ZeR.js";import{j as e}from"./liveblocks-DR8KfETq.js";import{a as P}from"./sentry-FwaDhTzy.js";import{N as u,u as Ys,h as qs,i as Js,g as Ws,j as G,q as Te,n as Ks,o as n}from"./core-Dh_SHcAD.js";import{H as l,E as Qs,u as Xs,z as y,c as et,e as st,o as tt,A as B,g as nt,I as at,Q as ot,L as F,G as Ae,t as _,J as rt,P as it,M as lt,j as ne}from"./index-CHaKE3QQ.js";import"./mui-BYn_Ugho.js";import{f as be}from"./analyticsHelper-Czpx502m.js";import{t as ut}from"./getLocaleForTenant-BTnTjmTv.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new o.Error().stack;f&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[f]="26b6d2e5-1017-4de1-859b-7f8957bca5f1",o._sentryDebugIdIdentifier="sentry-dbid-26b6d2e5-1017-4de1-859b-7f8957bca5f1")}catch{}})();const dt=l((()=>s((()=>import("./NotFoundScreen-BG5HsGgf.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))),ct=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/reimbursements`}),mt=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/bills`}),fe=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/treasury`}),De=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/checking`}),ye=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/cards`}),C=({showZeniAccountRoute:o,isUserHasBillPayAccess:f,isUserHasReimbursementAccess:N,showTreasuryRoute:i,isTenantBankingOnly:k,showChargeCardRoute:U,tenantEmailDomain:v})=>{if(k===!0){if(o)return e.jsx(De,{tenantEmailDomain:v});if(i)return e.jsx(fe,{tenantEmailDomain:v});if(U)return e.jsx(ye,{tenantEmailDomain:v})}return o?e.jsx(De,{tenantEmailDomain:v}):i?e.jsx(fe,{tenantEmailDomain:v}):U?e.jsx(ye,{tenantEmailDomain:v}):f?e.jsx(mt,{tenantEmailDomain:v}):N?e.jsx(ct,{tenantEmailDomain:v}):e.jsx(dt,{})},_t={dashboard:()=>s((()=>import("./DashboardRoutes-DTB-wwS1.js")),__vite__mapDeps([9,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,0,18,19,20,21,22,23,24,8])),bills:()=>s((()=>import("./BillPayRoutes-Ie8KE_Pm.js")),__vite__mapDeps([25,1,2,3,4,5,6,7,26,0,27,11,14,28,15,20,21,22,29,24,30,18,31,32,33,8])),reimbursement:()=>s((()=>import("./ReimbursementRoutes-DE9--ARn.js")),__vite__mapDeps([34,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,11,14,29,35,32,33,8])),transactions:()=>s((()=>import("./TransactionListRoutes-2uPIfsci.js")),__vite__mapDeps([36,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,37,8])),settings:()=>s((()=>import("./SettingsRoutes-DjTGDDEp.js")),__vite__mapDeps([38,1,2,3,4,5,6,7,22,39,20,21,40,41,42,43,44,13,45,26,0,18,28,15,19,46,31,32,35,8])),reports:()=>s((()=>import("./ReportsRoutes-B_EvlWob.js")),__vite__mapDeps([47,1,2,3,4,5,6,7,0,24,14,15,20,21,22,8])),chargeCards:()=>s((()=>import("./ChargeCardRoutes-0m2CNq4x.js")),__vite__mapDeps([48,1,2,3,4,5,6,7,11,20,21,22,30,28,15,0,18,14,49,26,8])),people:()=>s((()=>import("./PeopleRoutes-Cs1oFIJn.js")),__vite__mapDeps([50,1,2,3,4,5,6,7,0,11,20,21,22,8])),expenseAutomation:()=>s((()=>import("./ExpenseAutomationRoutes-DHppK74x.js")),__vite__mapDeps([51,1,2,3,0,4,5,6,7,11,12,13,14,15,16,52,17,10,53,54,45,29,8])),treasury:()=>s((()=>import("./TreasuryRoutes-C62UHGaV.js")),__vite__mapDeps([55,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,11,14,24,8])),vendors:()=>s((()=>import("./VendorsRoutes-Dp-COjet.js")),__vite__mapDeps([56,1,2,3,4,5,6,7,26,0,24,53,54,15,11,20,21,22,29,45,8])),zeniAccounts:()=>s((()=>import("./ZeniAccountRoutes-DjudE9ka.js")),__vite__mapDeps([57,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,27,26,11,37,8]))},Et=["bills","transactions","settings","reimbursement","reports","chargeCards","people"],ae=o=>{"requestIdleCallback"in window?requestIdleCallback(o):setTimeout(o,100)},ht=l((()=>s((()=>import("./ReportsRoutes-B_EvlWob.js")),__vite__mapDeps([47,1,2,3,4,5,6,7,0,24,14,15,20,21,22,8])))),pt=l((()=>s((()=>import("./AddressRoutes-BBXKWkgP.js")),__vite__mapDeps([58,1,2,3,26,4,5,6,7,0,8])))),xt=l((()=>s((()=>import("./PeopleRoutes-Cs1oFIJn.js")),__vite__mapDeps([50,1,2,3,4,5,6,7,0,11,20,21,22,8])))),gt=l((()=>s((()=>import("./PandLWithForecastRoutes-BT242PEu.js")),__vite__mapDeps([59,1,2,3,4,5,6,7,0,24,11,14,15,20,21,22,8])))),Rt=l((()=>s((()=>import("./CustomerOnboardingRoutes-kZOJ1QhA.js")),__vite__mapDeps([60,1,2,3,26,4,5,6,7,0,40,41,42,43,44,13,46,49,8])))),jt=l((()=>s((()=>import("./VendorsRoutes-Dp-COjet.js")),__vite__mapDeps([56,1,2,3,4,5,6,7,26,0,24,53,54,15,11,20,21,22,29,45,8])))),It=l((()=>s((()=>import("./TransactionDetailRoutes-BqJM9clh.js")),__vite__mapDeps([61,1,2,3,0,4,5,6,7,12,11,13,14,15,16,8])))),Ce=l((()=>s((()=>import("./EntityDetailRoutes-D5eIJPR7.js")),__vite__mapDeps([62,1,2,3,4,5,6,7,13,10,11,12,14,15,16,17,8])))),Tt=l((()=>s((()=>import("./DashboardRoutes-DTB-wwS1.js")),__vite__mapDeps([9,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,0,18,19,20,21,22,23,24,8])))),ve=l((()=>s((()=>import("./BillPayRoutes-Ie8KE_Pm.js")),__vite__mapDeps([25,1,2,3,4,5,6,7,26,0,27,11,14,28,15,20,21,22,29,24,30,18,31,32,33,8])))),At=l((()=>s((()=>import("./SettingsRoutes-DjTGDDEp.js")),__vite__mapDeps([38,1,2,3,4,5,6,7,22,39,20,21,40,41,42,43,44,13,45,26,0,18,28,15,19,46,31,32,35,8])))),bt=l((()=>s((()=>import("./InvoicingRoutes-DvFmEcE9.js")),__vite__mapDeps([63,1,2,3,4,5,6,7,26,0,20,21,22,40,41,42,43,44,13,8])))),Ue=l((()=>s((()=>import("./ReimbursementRoutes-DE9--ARn.js")),__vite__mapDeps([34,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,11,14,29,35,32,33,8])))),ft=l((()=>s((()=>import("./ZeniAccountRoutes-DjudE9ka.js")),__vite__mapDeps([57,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,24,27,26,11,37,8])))),Dt=l((()=>s((()=>import("./TreasuryRoutes-C62UHGaV.js")),__vite__mapDeps([55,1,2,3,4,5,6,7,0,30,28,15,20,21,22,18,11,14,24,8])))),yt=l((()=>s((()=>import("./TransactionListRoutes-2uPIfsci.js")),__vite__mapDeps([36,1,2,3,4,5,6,7,10,11,12,13,14,15,16,17,37,8])))),Ct=l((()=>s((()=>import("./ChargeCardRoutes-0m2CNq4x.js")),__vite__mapDeps([48,1,2,3,4,5,6,7,11,20,21,22,30,28,15,0,18,14,49,26,8])))),vt=l((()=>s((()=>import("./NotificationRoutes-3MhigWw8.js")),__vite__mapDeps([64,1,2,3,0,4,5,6,7,11,22,8])))),Ut=l((()=>s((()=>import("./PerformanceRoutes-DevypuzE.js")),__vite__mapDeps([65,1,2,3,0,4,5,6,7,11,20,21,22,8])))),Ot=l((()=>s((()=>import("./ExpenseAutomationRoutes-DHppK74x.js")),__vite__mapDeps([51,1,2,3,0,4,5,6,7,11,12,13,14,15,16,52,17,10,53,54,45,29,8])))),Pt=l((()=>s((()=>import("./ActualMatchingMatchDetailScreen-D94Dqvel.js")),__vite__mapDeps([66,1,2,3,4,5,6,7,52,17,13,15,0,8])))),wt=l((()=>s((()=>import("./RewardsRoutes-fsFKnuDQ.js")),__vite__mapDeps([67,1,2,3,4,5,6,7,0,8])))),Ft=l((()=>s((()=>import("./TaskRoutes-DRFV_DYt.js")),__vite__mapDeps([68,1,2,3,0,4,5,6,7,14,20,21,22,69,11,70,8])))),Lt=l((()=>s((()=>import("./AiCfoScreen-Dj6jKppq.js")),__vite__mapDeps([71,1,2,3,4,5,6,7,23,54,15,70,8])))),Oe=l((()=>s((()=>import("./CardsAiCfoScreen-Hsh2FpvU.js")),__vite__mapDeps([72,1,2,3,4,5,6,7,8])))),b=l((()=>s((()=>import("./NotFoundScreen-BG5HsGgf.js")),__vite__mapDeps([0,1,2,3,4,5,6,7,8])))),kt=l((()=>s((()=>import("./TaskListScreen-_mHmu42Q.js").then((o=>o.f))),__vite__mapDeps([69,1,2,3,4,5,6,7,11,20,21,22,70,8])))),Ht=({isDashboardAccess:o,showZeniAccountRoute:f,isUserHasBillPayAccess:N,isUserHasReimbursementAccess:i,showTreasuryRoute:k,isTenantBankingOnly:U,isTenantCardsOnly:v,showChargeCardRoute:H})=>{if(U===!0){if(f)return e.jsx(u,{to:"checking"});if(k)return e.jsx(u,{to:"treasury"});if(H)return e.jsx(u,{to:"cards"})}return v===!0&&H?e.jsx(u,{to:"cards"}):o?e.jsx(u,{to:"dashboard"}):f?e.jsx(u,{to:"checking"}):k?e.jsx(u,{to:"treasury"}):H?e.jsx(u,{to:"cards"}):N?e.jsx(u,{to:"bills"}):i?e.jsx(u,{to:"reimbursements"}):e.jsx(u,{to:"dashboard"})},Pe=({tenantEmailDomain:o})=>e.jsx(u,{to:`/${o}/dashboard`}),zt=Object.freeze(Object.defineProperty({__proto__:null,default:function({setTenantEmailDomain:o}){const f=Ys(),N=qs(),{tenantEmailDomain:i}=Js(),k=Qs().mode,{setLoading:U,clearAllLoading:v,clearLoading:H}=Xs(),D=y.getSignedInUserTenant(i)?.tenantId,I=y.getSignedInUser(),W=hs(I),$=Ws(),[L,we]=P.useState(!1),r=G((a=>ps(a))),{useFeatureGate:V}=et(),M=st(),K=tt(),Fe=!!r.company?.companyZeniAccountInfo?.isZeniAccountEnabled,Le=r.companyTreasuryInfo?.info?.businessVerificationStatus?.code==="verified",{isFeatureEnabled:ke}=V(B.isChargeCardFeatureEnabled),{isFeatureEnabled:oe}=V(B.isDebitCardFeatureEnabled),T=G((a=>a.tenantState.fetchState)),p=G((a=>a.tenantState.activeTenantFetchState.fetchState)),E=p==="Completed"||T==="Completed"?xs(oe,r):void 0,Q=p==="Completed"||T==="Completed"?gs(r):void 0,re=p==="Completed"||T==="Completed"?Rs(r)&&!js(r):void 0,He=nt(r,ke,oe),{isCardsHidden:Ve}=at(r?.tenantId),Se=!He||!!Ve,{isFeatureEnabled:Be}=V(B.isSettingsFeatureEnabled),{isFeatureEnabled:X}=V(B.isAiCfoFileUploadEnabled),{isFeatureEnabled:Ne}=V(B.isInvoicingFeatureEnabled??"is_invoicing_feature_enabled"),Me=Ne||lt==="DEV",Ze=r?.userRole!=null&&Is(r.userRole),z=G((a=>Ts(a)));if(i!=null){const a=y.getSignedInUserTenant(i);I!=null&&a!=null&&be(I,r,k)}const Z={tenantId:D,userId:I?.userId,sessionId:I?.zeniSessionId},ie=As(),h=ot(),Ge=r.company==null||h?.loggedInUserRoleMap!=null&&pe(h.loggedInUserRole),$e=bs(h?.loggedInUserRoleMap),ee=Te("/:tenantEmailDomain/onboarding/*")!==null,ze=Te("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*"),se=ze?.params.selectedPeriod,Ye=G((a=>Z.tenantId!=null?fs(a,Z.tenantId):void 0));P.useEffect((()=>{U(F.TENANT_FETCHING),o(i)}),[i]),P.useEffect((()=>{if(se!=null&&D!=null){const a=se.split("-");if(a.length===2){const A=Ds(Number(a[0])),c=Number(a[1]),t=ys(`01-${A<10?`0${A}`:A}-${c}`,Ae.getLocalizedStrings().dateFormat.analytics.DDDashMMDashYYYY),d=Cs();t.isAfter(d,"month")===!1?f(vs(D,{month:A,year:c})):N(`/${i}/month_end_close_checks/review`)}}}),[se,i,D]),P.useEffect((()=>{L||(we(!0),U(F.TENANT_FETCHING))}),[L,Z,ie,I,f,y]),P.useLayoutEffect((()=>{!Us(ie,Z)&&y.isSignedIn()&&(U(F.TENANT_FETCHING),(function(a,A,c,t){if(ge(A?.userId,A?.zeniSessionId,a.tenantId),c($s(!0)),c(Re(a.tenantId)),a.tenantId!=null&&_.clearTenant(a.tenantId),a.tenantId!=null){const d=y.getSignedInUserTenantWithId(a.tenantId);t&&Ae.updateAppLocaleID(ut(t)),d?.tenantEmailDomain!=null&&y.saveActiveTenantDomainForUser(d?.tenantEmailDomain)}a.userId!=null?ne.identify(a.userId,{tenant_id:a.tenantId}):ne.resetUserIdentity()})(Z,I,f,Ye))}),[D]),P.useEffect((()=>{y.isSignedIn()&&(U(F.TENANT_FETCHING),(function(a,A,c,t,d,Y,S){if(c==null&&t==null)return void console.warn("There is no current tenant selected!!");const q=t!=null&&d?.zeniSessionId!=null,ms=c==null||c.tenantId!==t,_s=c!=null&&c.excludedResources==null,Es=c!=null&&c.externalConnections==null;if(q&&ms){S(Re(t));const J=y.getSignedInUserTenantWithId(t);J?.tenantEmailDomain!=null&&y.saveActiveTenantDomainForUser(J?.tenantEmailDomain),ge(d?.userId,d?.zeniSessionId,t),_.shouldFetchExcludedResources(t)&&(_.markExcludedResourcesFetchStarted(t),S(je(d.userId,t))),_.shouldFetchConnections(t)&&(_.markConnectionsFetchStarted(t),S(Ie(d.userId,t)))}else q&&_s&&_.shouldFetchExcludedResources(t)&&(_.markExcludedResourcesFetchStarted(t),S(je(d.userId,t))),q&&Es&&_.shouldFetchConnections(t)&&(_.markConnectionsFetchStarted(t),S(Ie(d.userId,t)));if(q){ne.identify(d.userId,{tenant_id:t});const J=t==null||t!=null&&(A==="Completed"||A==="Error");a==="Completed"||A!=="Not-Started"&&A!=="Error"||t==null||!_.shouldFetchActiveTenant(t)||(_.markActiveTenantFetchStarted(t),Y(F.TENANT_FETCHING),S(zs(d.userId,t,d.zeniSessionId))),J&&(a==="Not-Started"||a==="Error")&&_.shouldFetchAllTenants()&&(_.markAllTenantsFetchStarted(),S(xe(d.userId,d.zeniSessionId)))}})(T,p,r,D,I,U,f))}),[D,p]),P.useEffect((()=>{y.isSignedIn()&&T==="Completed"&&z.tenantsBaseInOrder.length>0&&(H(F.TENANT_FETCHING),y.saveSignedInUserTenants(Os(z.tenantsBaseInOrder)),I!=null&&be(I,r,k,void 0,z.tenantsBaseInOrder))}),[z,T,r,I]),P.useEffect((()=>{p==="In-Progress"&&U(F.TENANT_FETCHING),p!=="Completed"&&p!=="Error"||(p==="Completed"&&D!=null?(v(),_.markActiveTenantFetchCompleted(D)):p==="Error"&&D!=null&&(_.markActiveTenantFetchFailed(D),H(F.TENANT_FETCHING),H(F.TENANT_SWITCHING))),T!=="Completed"&&T!=="Error"||(T==="Completed"?_.markAllTenantsFetchCompleted():T==="Error"&&_.markAllTenantsFetchFailed())}),[p,T,D,L]);const le=P.useRef(!1);P.useEffect((()=>{!le.current&&p==="Completed"&&L&&(le.current=!0,(function(a=Et,A=3e3){setTimeout((()=>{const c=t=>{if(t>=a.length)return;const d=a[t],Y=_t[d];Y!=null?Y().then((()=>ae((()=>c(t+1))))).catch((()=>ae((()=>c(t+1))))):c(t+1)};ae((()=>c(0)))}),A)})())}),[p,L]);const O=r?.userRole!=null&&Ps(r?.userRole),{isFeatureEnabled:qe}=V(B.isReferralFeatureEnabled),{isFeatureEnabled:Je}=V(B.isAccrualEnabled),We=rt(),Ke=r?.userRole!=null&&r.userRole.includes("charge_card_user"),Qe=r?.userRole!=null&&r.userRole.includes("charge_card_admin"),w=r?.userRole!=null&&pe(r.userRole),ue=r?.company==null||r.company.featuresActivationInfo?.isBillPayFeatureEnabled&&!O,de=!Se&&!O,Xe=ws(h?.loggedInUserRoleMap),es=r.externalConnections?.accounting[0]?.isValid,ss=r.externalConnections?.fetchState==="Completed",te=r.company?.companyOnboardingInfo.isOnboardingCompleted,ce=r?.company==null||r.company.featuresActivationInfo?.isReimbursementFeatureEnabled&&!O,me=ce&&Fs(h?.loggedInUserRoleMap),_e=Fe&&!O,ts=Le&&!O,ns=ue&&Ls(h?.loggedInUserRoleMap),as=de&&ks(h?.loggedInUserRoleMap),os=_e&&Hs(h?.loggedInUserRoleMap),rs=Vs(h?.loggedInUserRoleMap),is=Ss(h?.loggedInUserRoleMap),ls=Bs(h?.loggedInUserRoleMap),us=Ns(h?.loggedInUserRoleMap),ds=Ms(h?.loggedInUserRoleMap),x=Zs(h?.loggedInUserRoleMap),g=Gs(h?.loggedInUserRoleMap),Ee=ue&&x,he=ce&&g,R=_e&&ls,j=ts&&us,m=de&&ds,cs=r.excludedResources?.resources?.find((a=>a.resource==="/invites"))!=null||$e===!0||Xe===!0||rs===!0||is===!0;return y.isSignedIn()?D==null?T==="Completed"?e.jsx(u,{to:"/",replace:!0,state:{...$.state,message:"...",origin:$.pathname}}):(I!=null&&T!=="In-Progress"&&f(xe(I.userId,I.zeniSessionId)),null):p!=="In-Progress"&&p!=="Not-Started"||T==="Completed"?(te===!0||W&&!ee)&&ss&&es!==!0&&E===!1&&Q===!1&&re===!1?(o(void 0),e.jsx(u,{to:"/connection/auth",replace:!0})):!L||re!==!0||te!==!0||ee||W?!L||te!==!1||ee||W?L&&r?.userRole&&E!=null&&Q!=null&&i!=null&&Object.keys(h.loggedInUserRoleMap).length>0?e.jsx(Ks,{children:e.jsxs(n,{element:e.jsx(it,{}),children:[e.jsx(n,{path:"/",element:e.jsx(Ht,{isDashboardAccess:w,showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,isTenantCardsOnly:Q,showChargeCardRoute:m})}),e.jsx(n,{path:"dashboard/*",element:w?e.jsx(Tt,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"reports/*",element:w?e.jsx(ht,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"people/*",element:cs||w?e.jsx(xt,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"forecast/*",element:w?e.jsx(gt,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"onboarding/*",element:e.jsx(Rt,{})}),e.jsx(n,{path:"transaction/*",element:w&&O===!1||Ke||Qe?e.jsx(It,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"transactions/*",element:w&&O===!1?e.jsx(yt,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"customer/*",element:w&&O===!1?e.jsx(Ce,{entityType:"customer"}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,isTenantBankingOnly:E,showTreasuryRoute:j,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"vendor/*",element:w&&O===!1?e.jsx(Ce,{entityType:"vendor"}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"tasks",element:e.jsx(kt,{})}),e.jsx(n,{path:"tasks/*",element:e.jsx(Ft,{})}),e.jsx(n,{path:"address/*",element:ns||me||os||as?e.jsx(pt,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"checking/*",element:R?e.jsx(ft,{}):e.jsx(b,{})}),e.jsx(n,{path:"treasury/*",element:j?e.jsx(Dt,{}):e.jsx(b,{})}),e.jsx(n,{path:"performance",element:K===!0?e.jsx(Ut,{}):e.jsx(Pe,{tenantEmailDomain:i})}),e.jsx(n,{path:"month_end_close_checks/review/*",element:K===!0&&O===!1?e.jsx(Ot,{}):e.jsx(Pe,{tenantEmailDomain:i})}),e.jsx(n,{path:"expense-automation/actual-matching/:matchId",element:K===!0&&O===!1&&Je===!0&&We===!0?e.jsx(Pt,{}):e.jsx(b,{})}),e.jsx(n,{path:"notifications/*",element:e.jsx(vt,{})}),e.jsx(n,{path:"vendors/*",element:Ge?e.jsx(jt,{}):e.jsx(b,{})}),e.jsx(n,{path:"bill/*",element:Ee?e.jsx(ve,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"bills/*",element:Ee?e.jsx(ve,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"reimbursement/*",element:he?e.jsx(Ue,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"reimbursements/*",element:he?e.jsx(Ue,{}):e.jsx(C,{showZeniAccountRoute:R,isUserHasBillPayAccess:x,isUserHasReimbursementAccess:g,showTreasuryRoute:j,isTenantBankingOnly:E,showChargeCardRoute:m,tenantEmailDomain:i})}),e.jsx(n,{path:"settings/*",element:Be?e.jsx(At,{hasAdminLevelAccess:me}):e.jsx(b,{})}),e.jsx(n,{path:"invoicing/*",element:Me&&Ze?e.jsx(bt,{}):e.jsx(b,{})}),e.jsx(n,{path:"cards/ask",element:m&&M?e.jsx(Oe,{isFileUploadEnabled:X}):e.jsx(b,{})}),e.jsx(n,{path:"cards/ask/:session_id",element:m&&M?e.jsx(Oe,{isFileUploadEnabled:X}):e.jsx(b,{})}),e.jsx(n,{path:"cards/*",element:m?e.jsx(Ct,{}):e.jsx(b,{})}),e.jsx(n,{path:"rewards/*",element:qe?e.jsx(wt,{}):e.jsx(b,{})}),e.jsx(n,{path:"/ai-cfo",element:M?e.jsx(u,{to:"explore"}):e.jsx(b,{})}),e.jsx(n,{path:"/ai-cfo/",element:M?e.jsx(u,{to:"explore"}):e.jsx(b,{})}),e.jsx(n,{path:"/ai-cfo/:session_id",element:M?e.jsx(Lt,{isFileUploadEnabled:X}):e.jsx(b,{})}),e.jsx(n,{path:"*",element:e.jsx(b,{})})]})}):null:(o(void 0),e.jsx(u,{to:`/${i}/onboarding`,replace:!0})):(o(void 0),e.jsx(u,{to:`/${i}/onboarding/thankyou`,replace:!0})):null:(console.warn("User logged out!!"),o(void 0),e.jsx(u,{to:"/signin/auth",replace:!0,state:{...$.state,message:"...",origin:$.pathname}}))}},Symbol.toStringTag,{value:"Module"}));export{C as F,zt as S};
@@ -1 +0,0 @@
1
- import{j as u}from"./liveblocks-DR8KfETq.js";import{a as f,R as x,q as A}from"./sentry-FwaDhTzy.js";import{u as j,h as z,j as d,g as D,N as F,l as M}from"./core-Dh_SHcAD.js";import{u as O,z as s,E as P,j as w,G as _,R as N,S as B,T as $,U as R,X as V,_ as v}from"./index-CHaKE3QQ.js";import{fF as q,TT as J,Ub as W,gi as X,gk as G,Ug as H,gU as K,dj as Q,Uh as y,Ui as Y,Uj as Z,b$ as U}from"./zeni-epic-state-DJh0-ZeR.js";import"./mui-BYn_Ugho.js";import{u as ee}from"./useDeviceId-CUJxM_KE.js";import{f as te}from"./analyticsHelper-Czpx502m.js";import{t as ne}from"./getLocaleForTenant-BTnTjmTv.js";import"./recharts-BTL88W4R.js";import"./analytics-Y9Rn1Gu7.js";import"./plaid-Dw8l1kdg.js";import"./dnd-CwwWYFuT.js";import"./stripe-cKAAJElX.js";import"./lottie-ODKvpFjz.js";import"./lexical-CaftfZ9D.js";import"./pdf-DnQo5-Qw.js";import"./utils-DEAaFgLU.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="2893f1c7-b847-4851-a93a-ccc510e087ee",t._sentryDebugIdIdentifier="sentry-dbid-2893f1c7-b847-4851-a93a-ccc510e087ee")}catch{}})();const ie=M((function(t,i){const c=t.tenantState.fetchState,g=t.tenantState.sendEmailMagicLinkFetchState,{magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:l}=i;return{googleClientId:v.googleClientId,microsoftClientId:v.microsoftClientId,signInError:t.tenantState.error?.error,fetchState:c,sendMagicLinkStatus:g,magicLinkExpired:n,magicLinkAlreadyUsed:a,magicLinkExpiredEmail:l}}),(function(t,i){const{location:c,navigate:g}=i;return console.warn(JSON.stringify(window.location)),{onOAuthError:(n,a)=>{A({message:`OAuth error from provider ${a} with error ${n}`,level:"error",tags:{authProvider:a,errorType:"zeni.login.error"},extra:{error:n,windowLocation:window.location.href}})},onOAuthSuccess:(n,a)=>{const l=a==="google"?window.location.origin:window.location.origin+window.location.pathname;t(Z({authCode:n,oauthProvider:a,appType:"web",redirectUri:U(l),sourceUri:U(c.state!=null?c.state.origin:"")}))},getSignedInUser:()=>s.getSignedInUser(),onSignedInCallback:()=>{const n=c.state?.origin;n&&n!=="/"?g(n,{replace:!0}):window.open(window.location.origin,"_self")},sendMagicLink:n=>{const{deviceId:a}=i;a!=null&&(s.saveMagicLinkEmail(n),t(Y(n,a)))},clearSignInError:()=>{t(y())}}}))(V),ae=x.memo(ie);function ve({setTenantEmailDomain:t}){const i=j(),c=z(),{clearAllLoading:g}=O(),n=s.getSignedInUser();f.useLayoutEffect((()=>{g()}),[g]);const a=ee(),l=d((e=>e.tenantState.magicLinkCodeVerifier)),{sendEmailMagicLinkFetchState:h,accountLocked:b,accountUnlockTime:k}=d((e=>e.tenantState)),p=d((e=>e.tenantState.fetchState)),L=d((e=>e.tenantState.activeTenantFetchState.fetchState)),S=d((e=>e.tenantState.signInState)),o=d((e=>e.tenantState.loggedInUser)),r=d((e=>q(e))),I=d((e=>J(e))),m=D(),E=P().mode,C=m.state?.magicLinkExpired,T=m.state?.magicLinkAlreadyUsed;if(f.useEffect((()=>{h.fetchState==="Completed"&&l!=null&&(w.trackSignInLinkSent(),s.saveMagicLinkCodeVerifier(l))}),[h.fetchState,l]),f.useEffect((()=>{t(void 0)}),[]),f.useEffect((()=>{S!=="In-Progress"||p!=="Completed"&&L!=="Completed"||o?.zeniSessionId==null||r==null||(s.savePayNowInfoTooltip(!0,o.zeniSessionId),s.saveSignedInUserWithSession(o,o.zeniSessionId),s.saveSignedInUserTenants(W(I.tenantsInOrder),o.zeniSessionId),X(o.userId,o.zeniSessionId,r.tenantId),i(G(r.tenantId)),s.saveActiveTenantDomainForUser(r.tenantEmailDomain),i(H("Completed")),_.updateAppLocaleID(ne(r)),te(o,r,E,void 0,I.tenantsInOrder),K().then((()=>{const e=R();e!=null&&N(e)})),setTimeout((()=>{w.trackLogin(B.Event.loginSuccess,o.authProvider??"google",Q(r.productSettings))}),2e3))}),[S,p,L,o,r,I,E,m.state,i]),S==="In-Progress"&&p==="Completed"&&o?.zeniSessionId!=null&&r!=null||n!=null){const e=m.state?.origin??"/";return u.jsx(F,{to:e,state:{...m.state,origin:""}})}return u.jsxs(u.Fragment,{children:[u.jsx(ae,{magicLinkExpired:!!C,magicLinkAlreadyUsed:!!T,magicLinkExpiredEmail:s.getMagicLinkEmail()??void 0,location:m,navigate:c,deviceId:a??void 0,showEmailLogin:!0}),b===!0&&k!=null?u.jsx($,{onClose:()=>i(y()),unlockDate:k}):null]})}export{ve as default};
@@ -1,9 +0,0 @@
1
- import{j as s}from"./liveblocks-DR8KfETq.js";import{a as i}from"./sentry-FwaDhTzy.js";import{u as l,g as c,N as u}from"./core-Dh_SHcAD.js";import{z as n,j as a,S as m,a8 as p}from"./index-CHaKE3QQ.js";import{gX as g,Ux as b}from"./zeni-epic-state-DJh0-ZeR.js";import{n as y}from"./mui-BYn_Ugho.js";import"./recharts-BTL88W4R.js";import"./analytics-Y9Rn1Gu7.js";import"./plaid-Dw8l1kdg.js";import"./dnd-CwwWYFuT.js";import"./stripe-cKAAJElX.js";import"./lottie-ODKvpFjz.js";import"./lexical-CaftfZ9D.js";import"./pdf-DnQo5-Qw.js";import"./utils-DEAaFgLU.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]="bb5317e4-54fb-4ad8-96d3-3ad44a1ec0d3",e._sentryDebugIdIdentifier="sentry-dbid-bb5317e4-54fb-4ad8-96d3-3ad44a1ec0d3")}catch{}})();function N(){const e=l(),t=c(),r=i.useRef(!1),d=n.isSignedIn(),o=t.state?.message==="logout"||d;return i.useEffect((()=>{if(o&&!r.current){r.current=!0;try{e(g()),b(),a.trackLogout(m.Event.logoutSuccess),a.resetUserIdentity(),n.clearAll()}catch(f){console.error("Error during sign out:",f)}finally{window.location.replace("/signin/auth")}}}),[o,e]),o?s.jsx(h,{children:s.jsx(p,{fetchState:"In-Progress"})}):s.jsx(u,{to:"../",replace:!0})}const h=y.div`
2
- display: flex;
3
- height: 100vh;
4
- width: 100%;
5
- flex: 1 1 auto;
6
- flex-direction: column;
7
- align-items: center;
8
- background-color: ${e=>e.theme.colors.grey4};
9
- `;export{N as default};
@@ -1 +0,0 @@
1
- import{j as t}from"./liveblocks-DR8KfETq.js";import i from"./NotFoundScreen-BG5HsGgf.js";import{T as r}from"./TransactionDetailScreen-Dmc1SB66.js";import"./sentry-FwaDhTzy.js";import{n as a,o as e}from"./core-Dh_SHcAD.js";import"./zeni-epic-state-DJh0-ZeR.js";import"./recharts-BTL88W4R.js";import"./index-CHaKE3QQ.js";import"./mui-BYn_Ugho.js";import"./analytics-Y9Rn1Gu7.js";import"./plaid-Dw8l1kdg.js";import"./dnd-CwwWYFuT.js";import"./stripe-cKAAJElX.js";import"./lottie-ODKvpFjz.js";import"./lexical-CaftfZ9D.js";import"./pdf-DnQo5-Qw.js";import"./utils-DEAaFgLU.js";import"./useAskAiCfoHostNavButtonProps-PLm72Ozi.js";import"./decodeURIComponentSafe-B9wRnGXi.js";import"./useInitialThreadRequest-DLA6PIFe.js";import"./routePaths-DXpM4tZj.js";import"./expenseAutomationHelper-jy143DnO.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new o.Error().stack;n&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[n]="bfd19369-9f5a-4875-9ff9-f0a50fe2624d",o._sentryDebugIdIdentifier="sentry-dbid-bfd19369-9f5a-4875-9ff9-f0a50fe2624d")}catch{}})();function z(){return t.jsxs(a,{children:[t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId",element:t.jsx(r,{})}),t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId/page-not-found",element:t.jsx(i,{})}),t.jsx(e,{path:"/:transactionTypeEncoded/:transactionId/vendor/create",element:t.jsx(r,{})}),t.jsx(e,{path:"/*",element:t.jsx(r,{})})]})}export{z as default};
@@ -1,9 +0,0 @@
1
- import{j as c}from"./liveblocks-DR8KfETq.js";import{a as u}from"./sentry-FwaDhTzy.js";import{h as $,u as x,g as T,i as j,j as p}from"./core-Dh_SHcAD.js";import{Tc as s,Tb as v,$y as z,fF as B,$z as C}from"./zeni-epic-state-DJh0-ZeR.js";import{a2 as E,af as g,E as D,z as L,a8 as P,d5 as N,a5 as U}from"./index-CHaKE3QQ.js";import{n as _}from"./mui-BYn_Ugho.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]="af9e38ed-7486-436f-9f90-e8a43767b826",e._sentryDebugIdIdentifier="sentry-dbid-af9e38ed-7486-436f-9f90-e8a43767b826")}catch{}})();const G=_.div`
2
- display: flex;
3
- height: 100vh;
4
- width: 100%;
5
- flex: 1 1 auto;
6
- flex-direction: column;
7
- align-items: center;
8
- background-color: ${e=>e.theme.colors.grey4};
9
- `;function H(){const e=$(),n=x(),d=E(),f=T();let{accountId:a}=j(),l=`${g.bankingMicroServiceBaseUrl}/1.0/deposit-accounts/${a}`;a==null&&f.pathname.includes(`${s}/statements`)&&(a=s,l=`${g.bankingMicroServiceBaseUrl}/1.0/${s}`);const[m,y]=u.useState(!1),h=D();u.useEffect((()=>{m||(y(!0),n(v(a??"",!1)))}),[m,n]);const o=p((t=>z(t,a??""))),b=()=>{const t=U(f.state?.pathnameStackToGoBack),S=t.poppedPathname??"..";e(S,{state:{pathnameStackToGoBack:t.newStack}})},r=L.getSignedInUser(),i=p((t=>B(t))),I={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:i.tenantId??""},w=C(a??"")===!0?s:o.zeniAccountDetail?.accountLast4??"",k=i.company?.companyInfo.companyLegalName??i.companyName;if(r==null)throw Error("Can't access address page without signing in...");return o.fetchState!=="Completed"?c.jsx(P,{fetchState:"In-Progress",style:{backgroundColor:h.colors.grey5}}):c.jsx(G,{windowSize:d,children:c.jsx(N,{currentTenantCompanyName:k,statementListView:o,accountLast4:w,onBackClick:b,authParams:I,downloadEndPoint:l})})}export{H as Z};
@@ -1 +0,0 @@
1
- import{bu as n}from"./index-CHaKE3QQ.js";import"./sentry-FwaDhTzy.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="d1c33b31-8c90-47ac-9f00-1e2f43424666",e._sentryDebugIdIdentifier="sentry-dbid-d1c33b31-8c90-47ac-9f00-1e2f43424666")}catch{}})();function f(){return n("dashboard")}export{f as u};
@@ -1 +0,0 @@
1
- import{a as r}from"./sentry-FwaDhTzy.js";import{bn as d}from"./zeni-epic-state-DJh0-ZeR.js";import{c as i,A as t}from"./index-CHaKE3QQ.js";import"./mui-BYn_Ugho.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]="df9a4a98-ac0f-4d28-9c4d-4d6b4b0b935c",e._sentryDebugIdIdentifier="sentry-dbid-df9a4a98-ac0f-4d28-9c4d-4d6b4b0b935c")}catch{}})();const u=e=>{const{useFeatureGate:s}=i(),{isFeatureEnabled:n}=s(t.isTaskManagerCustomerUserAccessEnabled),{isFeatureEnabled:o}=s(t.isTaskManagerNotificationControlsEnabled),a=r.useMemo((()=>d(e)),[e]);return{isNotificationControlsEnabled:a||o,isTaskManagerAccessEnabled:a||n,isZeniUser:a}};export{u};