@zeniai/web-app-ui 5.0.55-qa → 5.0.56-qa

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 (113) hide show
  1. package/dist/assets/AddressRoutes-Ct22cch9.js +1 -0
  2. package/dist/assets/AddressScreen-BZLn4WXp.js +9 -0
  3. package/dist/assets/{AiCfoScreen-twy_oEHo.js → AiCfoScreen-O3ZQKZZv.js} +3 -3
  4. package/dist/assets/{BillPayApprovalRoutes-2MMsFms-.js → BillPayApprovalRoutes-BR7zuPpx.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-DabCBXCD.js → BillPayRoutes-BEElHUA2.js} +4 -4
  6. package/dist/assets/{BusinessVerificationPageScreen-DY36UKxh.js → BusinessVerificationPageScreen-rFNtUgWM.js} +2 -2
  7. package/dist/assets/{ChargeCardRoutes-BKvKKz6Y.js → ChargeCardRoutes-DmaCLBqf.js} +8 -8
  8. package/dist/assets/CompanyPassportScreen-CPhtVigG.js +1 -0
  9. package/dist/assets/{ConnectionAuthScreen-AkiKcrRN.js → ConnectionAuthScreen-HA-Pe0hW.js} +1 -1
  10. package/dist/assets/CustomerOnboardingAuthScreen-DccrP6Ii.js +1 -0
  11. package/dist/assets/{CustomerOnboardingRoutes-reDt__4U.js → CustomerOnboardingRoutes-WWiZNAQF.js} +4 -4
  12. package/dist/assets/{DashboardRoutes-B6YOY8LT.js → DashboardRoutes-CYUHs4DQ.js} +3 -3
  13. package/dist/assets/{DefaultTenantHome-CG3A8Zld.js → DefaultTenantHome-DLHNOHLk.js} +1 -1
  14. package/dist/assets/{DomesticWireDetailScreen-CHZr0Rwr.js → DomesticWireDetailScreen-_XVPNAtR.js} +3 -3
  15. package/dist/assets/DrawerScreen-Lpd7yHHT.js +1 -0
  16. package/dist/assets/{EntityDetailRoutes-BJ_l6xDX.js → EntityDetailRoutes-ekN9KSvw.js} +1 -1
  17. package/dist/assets/{ExpenseAutomationRoutes-jv6wUEHc.js → ExpenseAutomationRoutes-BWA0VeqR.js} +4 -4
  18. package/dist/assets/FeaturePreviewScreen-CXPzFCOG.js +1 -0
  19. package/dist/assets/{MagicLinkRoutes-DHuoixGe.js → MagicLinkRoutes-BM5EBV4g.js} +18 -18
  20. package/dist/assets/MagicLinkSignInScreen-CUpAMwgA.js +12 -0
  21. package/dist/assets/{MobileAppDrawer-BCaWgXZQ.js → MobileAppDrawer-4e3Dnoyk.js} +1 -1
  22. package/dist/assets/NotFoundScreen-D9IauLgD.js +1 -0
  23. package/dist/assets/{NotificationRoutes-CzsQHWBP.js → NotificationRoutes-Y7mMfA0c.js} +1 -1
  24. package/dist/assets/{PandLWithForecastRoutes-rl7st3Iq.js → PandLWithForecastRoutes-Oi34FulL.js} +1 -1
  25. package/dist/assets/{PeopleRoutes-BGm45BRK.js → PeopleRoutes-BvoQnuNu.js} +5 -5
  26. package/dist/assets/PerformanceRoutes-BF5xhlzy.js +1 -0
  27. package/dist/assets/{Preview-CPDm5N-k.js → Preview-CktKjgWY.js} +1 -1
  28. package/dist/assets/{QBOConnectionScreen-DYw5d1DS.js → QBOConnectionScreen-DJquJzTz.js} +1 -1
  29. package/dist/assets/{ReferralListScreen-B2bhjkxb.js → ReferralListScreen-CdcLyZxu.js} +2 -2
  30. package/dist/assets/{ReimbursementApprovalRoutes-C_ldCyqW.js → ReimbursementApprovalRoutes-qRkSf3Jp.js} +1 -1
  31. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-BM0wb7RO.js → ReimbursementApprovalRuleDetailScreen-cDRgJHyb.js} +1 -1
  32. package/dist/assets/{ReimbursementRoutes-C1eoHxke.js → ReimbursementRoutes-CilgOLR3.js} +4 -4
  33. package/dist/assets/{ReportsRoutes-aH8NyeQL.js → ReportsRoutes-BYbURSgw.js} +1 -1
  34. package/dist/assets/RewardsRoutes-B01_JIOc.js +1 -0
  35. package/dist/assets/{ScreenRoutes-Be433Rce.js → ScreenRoutes-DabvobX8.js} +2 -2
  36. package/dist/assets/{SettingsRoutes-Dkedlq8H.js → SettingsRoutes-OqTPOlbr.js} +4 -4
  37. package/dist/assets/{SetupPagesScreen-DrXS3IRK.js → SetupPagesScreen-DbbCxfjw.js} +1 -1
  38. package/dist/assets/{SignInScreen-B584l1AV.js → SignInScreen-jrrIh9b0.js} +1 -1
  39. package/dist/assets/{SignOutScreen--i7fPI83.js → SignOutScreen-DJFswWiT.js} +1 -1
  40. package/dist/assets/{TaskListScreen-CbCuzBgx.js → TaskListScreen-Bzrucczg.js} +2 -2
  41. package/dist/assets/{TaskRoutes-C6JGvbta.js → TaskRoutes-BQtLZoYh.js} +2 -2
  42. package/dist/assets/TransactionDetailRoutes-oxE-1NtY.js +1 -0
  43. package/dist/assets/{TransactionDetailScreen-B0sPog3q.js → TransactionDetailScreen-BzK7FXm-.js} +2 -2
  44. package/dist/assets/{TransactionListRoutes-DbOVYmb-.js → TransactionListRoutes-4Rg7SF_b.js} +1 -1
  45. package/dist/assets/{TreasuryRoutes-Bw9U7ZrB.js → TreasuryRoutes-C1PdE97m.js} +5 -5
  46. package/dist/assets/{VendorsRoutes-CYu2rHMN.js → VendorsRoutes-5lt5Cpm-.js} +1 -1
  47. package/dist/assets/WiseConfirmationScreen-BnyC9-LE.js +12 -0
  48. package/dist/assets/{ZeniAccountRoutes-C-OLyEIo.js → ZeniAccountRoutes-DG2kQIui.js} +10 -10
  49. package/dist/assets/ZeniAccountStatementScreen-3oBNuFw5.js +9 -0
  50. package/dist/assets/{accountMappingHelper-CQSFsM6N.js → accountMappingHelper-BOSY12FJ.js} +1 -1
  51. package/dist/assets/{analytics-ByrfXPqG.js → analytics-CcGmsyc8.js} +1 -1
  52. package/dist/assets/{analyticsHelper-xeJXIGDO.js → analyticsHelper-wMrdFRpH.js} +1 -1
  53. package/dist/assets/{core-DcM32IW_.js → core-DkPdadc6.js} +1 -1
  54. package/dist/assets/{decodeURIComponentSafe-mAxyJdJ8.js → decodeURIComponentSafe-h3wJzOm1.js} +1 -1
  55. package/dist/assets/{dnd-36WXho_9.js → dnd-D-YvLFfj.js} +1 -1
  56. package/dist/assets/{empty-GSTAUqhH.js → empty-C7PzWdR6.js} +1 -1
  57. package/dist/assets/{empty-lHXrwReA.js → empty-ohi5JxHm.js} +1 -1
  58. package/dist/assets/{emptyVideoElement-Bsa6If51.js → emptyVideoElement-B09QwhYv.js} +1 -1
  59. package/dist/assets/epic-DC-PDk7m.js +2 -0
  60. package/dist/assets/getLocaleForTenant-U9nBzLWh.js +1 -0
  61. package/dist/assets/{index-Bw9qJkeB.js → index-8VSOxL6k.js} +1 -1
  62. package/dist/assets/{index-BZDuIo7x.js → index-B5LlGXSS.js} +12483 -12422
  63. package/dist/assets/{index-CR2DVZE0.js → index-BIUa1dNl.js} +2 -2
  64. package/dist/assets/{index-Dq0r4E9j.js → index-BVoPsTXN.js} +1 -1
  65. package/dist/assets/{index-p7Us2Fcf.js → index-CxVN3Ojx.js} +1 -1
  66. package/dist/assets/{index-DTGcnfLC.js → index-DHz0Faq_.js} +1 -1
  67. package/dist/assets/{index-CjaQ8-D2.js → index-ufE2I9Jb.js} +1 -1
  68. package/dist/assets/{lexical-CYAYrhLa.js → lexical-Sc7rk4Y7.js} +1 -1
  69. package/dist/assets/{liveblocks-BeS4QmMp.js → liveblocks-tcXs1fes.js} +1 -1
  70. package/dist/assets/{lottie-Bdncx-qB.js → lottie-CwApzZxI.js} +1 -1
  71. package/dist/assets/{mui--qrGbwFJ.js → mui-DbdGpDJj.js} +1 -1
  72. package/dist/assets/{pathToGoBack-Cn4t6MOa.js → pathToGoBack-D9y2NyzP.js} +1 -1
  73. package/dist/assets/{pdf-6nmWWkz8.js → pdf-DG2fyOfp.js} +4 -4
  74. package/dist/assets/{pdf-lib-rQgtUIvp.js → pdf-lib-fmjHY_Su.js} +1 -1
  75. package/dist/assets/{plaid-BZ0BFqP0.js → plaid-UeHpA8su.js} +1 -1
  76. package/dist/assets/{pusher-4QLniNXV.js → pusher-CH-5kFcN.js} +1 -1
  77. package/dist/assets/{react-DKUlDjBa.js → react-BTMxDr8F.js} +1 -1
  78. package/dist/assets/{react-DCTwOcr5.js → react-CAp_bFar.js} +1 -1
  79. package/dist/assets/{react-BszWSDWQ.js → react-CFEMacjg.js} +1 -1
  80. package/dist/assets/{react-BOWjwOm8.js → react-CjW2GUTT.js} +1 -1
  81. package/dist/assets/{react-C3zOniDH.js → react-D3qpynvt.js} +1 -1
  82. package/dist/assets/{react-BFaux__7.js → react-P8ikJhK3.js} +1 -1
  83. package/dist/assets/{recharts-DoWl4vaN.js → recharts-D0a4NFa9.js} +1 -1
  84. package/dist/assets/{routePaths-DLti7tZb.js → routePaths-DLaKTtZ1.js} +1 -1
  85. package/dist/assets/{sentry-BlmJH5WH.js → sentry-DNuKG-9f.js} +1 -1
  86. package/dist/assets/{url-BG92tf7R.js → url-Bxb4Dr7g.js} +1 -1
  87. package/dist/assets/{url-AJ2wpRsW.js → url-EFuL_PC5.js} +1 -1
  88. package/dist/assets/useAskAiCfoHostNavButtonProps-CPSMuZiJ.js +1 -0
  89. package/dist/assets/{useDeviceId-DaD3aMiS.js → useDeviceId-DoEHbao8.js} +1 -1
  90. package/dist/assets/useFetchSuggestedQuestionsWhenReady-Btx9ztNW.js +1 -0
  91. package/dist/assets/{useInitialThreadRequest-CV6--y9X.js → useInitialThreadRequest-BgK6IHKx.js} +1 -1
  92. package/dist/assets/{utils-RmRP6xA4.js → utils-BmJyX3cx.js} +1 -1
  93. package/dist/assets/{withTransactionSidePanel-BOlkvwMK.js → withTransactionSidePanel-D6IjOlY9.js} +1 -1
  94. package/dist/assets/{zeni-epic-state-ChnjRetZ.js → zeni-epic-state-CSoWjbAn.js} +3 -3
  95. package/dist/index.html +1 -1
  96. package/package.json +3 -3
  97. package/dist/assets/AddressRoutes-DmNqU45X.js +0 -1
  98. package/dist/assets/AddressScreen-CD02bE7U.js +0 -9
  99. package/dist/assets/CompanyPassportScreen-Deb1Mskj.js +0 -1
  100. package/dist/assets/CustomerOnboardingAuthScreen-B7puRRld.js +0 -1
  101. package/dist/assets/DrawerScreen-C9oSGPfX.js +0 -1
  102. package/dist/assets/FeaturePreviewScreen-Dvylx-Wk.js +0 -1
  103. package/dist/assets/MagicLinkSignInScreen-Cy0ox9On.js +0 -12
  104. package/dist/assets/NotFoundScreen-B8ppov_c.js +0 -1
  105. package/dist/assets/PerformanceRoutes-5okn2Dl7.js +0 -1
  106. package/dist/assets/RewardsRoutes-BG1TYOwi.js +0 -1
  107. package/dist/assets/TransactionDetailRoutes-DWhYtS5p.js +0 -1
  108. package/dist/assets/WiseConfirmationScreen-CT1Vk2du.js +0 -12
  109. package/dist/assets/ZeniAccountStatementScreen-Dufb_RXJ.js +0 -9
  110. package/dist/assets/epic-DhZTt5cl.js +0 -2
  111. package/dist/assets/getLocaleForTenant-Fu8c_Haa.js +0 -1
  112. package/dist/assets/useAskAiCfoHostNavButtonProps-CHoGbMpp.js +0 -1
  113. package/dist/assets/useFetchSuggestedQuestionsWhenReady-DVUj1bst.js +0 -1
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-BZDuIo7x.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-BlmJH5WH.js"><link rel="modulepreload" crossorigin href="/assets/core-DcM32IW_.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-ChnjRetZ.js"><link rel="modulepreload" crossorigin href="/assets/mui--qrGbwFJ.js"><link rel="modulepreload" crossorigin href="/assets/analytics-ByrfXPqG.js"><link rel="modulepreload" crossorigin href="/assets/utils-RmRP6xA4.js"><link rel="stylesheet" crossorigin href="/assets/index-Bc34frN_.css"></head><body style="margin:0"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><div class="app-shell-loader" id="app-shell-loader"><div class="app-shell-sidebar"><div class="app-shell-sidebar-group"><div class="app-shell-bar zeni-logo" style="width:96px;height:20px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:78px;height:16px"></div><div class="app-shell-bar" style="width:46px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:110px;height:16px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div><div class="app-shell-bar" style="width:64px;height:16px"></div></div></div><div class="app-shell-main"><div class="app-shell-navbar"><div class="app-shell-bar" style="width:106px;height:27px"></div><div class="app-shell-bar" style="width:111px;height:32px"></div></div><div class="app-shell-logo"><svg width="96" height="96" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.768 0.0270284C16.571 -0.055168 16.348 0.0572476 16.2913 0.267574C16.2713 0.342517 16.2489 0.417461 16.2253 0.491196C16.0094 1.15723 15.6459 1.76645 15.148 2.27776C14.3056 3.14203 13.1847 3.61949 11.9918 3.6207H11.9883C10.7978 3.6207 9.67689 3.14565 8.83445 2.2838C8.33653 1.7737 7.97077 1.16448 7.75367 0.499657C7.73007 0.425922 7.70765 0.350979 7.68641 0.276035C7.62978 0.065709 7.40678 -0.0454978 7.20974 0.0366985C6.05463 0.522624 4.98565 1.17899 4.0323 1.97436C3.91195 2.07468 3.87301 2.24512 3.93083 2.39259C3.9792 2.51589 4.03112 2.63797 4.08539 2.75764C4.51133 3.70894 5.10364 4.5853 5.84815 5.34682C7.48937 7.0246 9.66863 7.9493 11.9871 7.9493H11.9954C14.3162 7.94689 16.4978 7.01855 18.1379 5.33595C18.8812 4.57321 19.4711 3.69564 19.8959 2.74434C19.9502 2.62347 20.0009 2.50138 20.0493 2.37809C20.1071 2.23062 20.0682 2.06018 19.9478 1.95985C18.9933 1.16569 17.9231 0.511745 16.768 0.0270284Z"/><path d="M19.9102 21.2422C19.4843 20.2933 18.8931 19.4194 18.151 18.6603C16.5086 16.9801 14.3223 16.053 12.0038 16.0578C8.50304 16.0614 5.48371 18.1961 4.11031 21.2603C4.05722 21.38 4.0053 21.5009 3.95575 21.623C3.89675 21.7704 3.93569 21.9421 4.05722 22.0436C5.01175 22.8366 6.08073 23.4893 7.23466 23.9728C7.4317 24.055 7.65352 23.9438 7.71134 23.7335C7.73139 23.6573 7.75381 23.5836 7.77859 23.5086C8.37207 21.6979 10.0416 20.3888 12.0073 20.3864H12.012C13.2025 20.3864 14.3234 20.8614 15.1659 21.7233C15.6626 22.231 16.026 22.8378 16.2431 23.5002C16.2679 23.5739 16.2903 23.6489 16.3104 23.7238C16.3682 23.9341 16.59 24.0453 16.787 23.9619C17.9422 23.476 19.01 22.8209 19.9633 22.0255C20.0837 21.9252 20.1226 21.7535 20.0648 21.606C20.0164 21.4828 19.9645 21.3631 19.9102 21.2422Z"/><path d="M0.132148 10.1666C0.158105 9.98769 0.305591 9.85352 0.482575 9.85352L23.5093 9.81726C23.6863 9.81726 23.8338 9.95022 23.8609 10.1291C23.9518 10.7347 23.999 11.3548 23.999 11.9858C24.0001 12.6131 23.9541 13.2284 23.8668 13.8292C23.8408 14.0081 23.6934 14.1422 23.5164 14.1422L0.489654 14.1773C0.312671 14.1773 0.165185 14.0443 0.138047 13.8654C0.0471956 13.2598 0 12.6397 0 12.0088C0 11.3826 0.0448358 10.7673 0.132148 10.1666Z"/></svg></div></div></div></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta charset="UTF-8"><link rel="icon" type="image/svg+xml" href="/assets/favicon-D56XvgAH.ico"><meta name="ROBOTS" content="NOINDEX, NOFOLLOW"><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1"><meta name="theme-color" content="#000000"><meta name="description" content="Zeni - Modern Finance Team For Startups"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Manrope:wght@200..800&display=swap"><link rel="apple-touch-icon" href="/assets/logo192-CqcTe-t4.png"><link rel="manifest" href="/assets/manifest-icT4lOF5.json"><title>Zeni - Modern Finance Team For Startups</title><script src="/theme-detect.js"></script><style>:root{--logo-color-from:#D4DCDD;--logo-color-to:#E9F0F0;--bar-color-from:#E9F0F0;--bar-color-to:#D4DCDD;--sidebar-bg:#F3F7F7;--main-bg:#FAFCFC;--divider-color:#D4DCDD}html{background-color:#f3f7f7}html[data-theme=dark]{background-color:#1b1c1c;--logo-color-from:#545B5C;--logo-color-to:#3E4343;--bar-color-from:#3E4343;--bar-color-to:#545B5C;--sidebar-bg:#1B1C1C;--main-bg:#202222;--divider-color:#545B5C}.app-shell-loader{position:fixed;inset:0;display:flex;background-color:var(--sidebar-bg);z-index:9999}.app-shell-sidebar{width:210px;flex-shrink:0;background-color:var(--sidebar-bg);padding:16px 16px 0;display:flex;flex-direction:column;gap:36px;border-right:1px solid var(--divider-color);box-sizing:border-box}.app-shell-sidebar-group{display:flex;flex-direction:column;gap:10px}.app-shell-bar{height:10px;border-radius:5px;background-color:var(--bar-color-from);animation:app-shell-bar-shimmer 1.6s linear infinite}.app-shell-navbar{height:56px;display:flex;flex-direction:row;border-bottom:1px solid var(--divider-color);padding:0 32px;align-items:center;justify-content:space-between;box-sizing:border-box}@keyframes app-shell-bar-shimmer{0%,100%{background-color:var(--bar-color-from)}50%{background-color:var(--bar-color-to)}}.app-shell-main{flex:1;background-color:var(--main-bg)}.app-shell-logo{display:inline-flex;width:100%;height:calc(100vh - 56px);justify-content:center;align-items:center}.app-shell-logo svg path{animation:app-shell-color-cycle 1.6s linear infinite}@keyframes app-shell-color-cycle{0%,100%{fill:var(--logo-color-from)}50%{fill:var(--logo-color-to)}}@media (max-width:899px){.app-shell-sidebar{display:none}.app-shell-main{background-color:var(--sidebar-bg)}}</style><noscript><style>.app-shell-loader{display:none}</style></noscript><script async type="module" crossorigin src="/assets/index-B5LlGXSS.js"></script><link rel="modulepreload" crossorigin href="/assets/sentry-DNuKG-9f.js"><link rel="modulepreload" crossorigin href="/assets/core-DkPdadc6.js"><link rel="modulepreload" crossorigin href="/assets/zeni-epic-state-CSoWjbAn.js"><link rel="modulepreload" crossorigin href="/assets/mui-DbdGpDJj.js"><link rel="modulepreload" crossorigin href="/assets/analytics-CcGmsyc8.js"><link rel="modulepreload" crossorigin href="/assets/utils-BmJyX3cx.js"><link rel="stylesheet" crossorigin href="/assets/index-Bc34frN_.css"></head><body style="margin:0"><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><div class="app-shell-loader" id="app-shell-loader"><div class="app-shell-sidebar"><div class="app-shell-sidebar-group"><div class="app-shell-bar zeni-logo" style="width:96px;height:20px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:78px;height:16px"></div><div class="app-shell-bar" style="width:46px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:110px;height:16px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div></div><div class="app-shell-sidebar-group"><div class="app-shell-bar" style="width:55px;height:12px"></div><div class="app-shell-bar" style="width:84px;height:16px"></div><div class="app-shell-bar" style="width:64px;height:16px"></div></div></div><div class="app-shell-main"><div class="app-shell-navbar"><div class="app-shell-bar" style="width:106px;height:27px"></div><div class="app-shell-bar" style="width:111px;height:32px"></div></div><div class="app-shell-logo"><svg width="96" height="96" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.768 0.0270284C16.571 -0.055168 16.348 0.0572476 16.2913 0.267574C16.2713 0.342517 16.2489 0.417461 16.2253 0.491196C16.0094 1.15723 15.6459 1.76645 15.148 2.27776C14.3056 3.14203 13.1847 3.61949 11.9918 3.6207H11.9883C10.7978 3.6207 9.67689 3.14565 8.83445 2.2838C8.33653 1.7737 7.97077 1.16448 7.75367 0.499657C7.73007 0.425922 7.70765 0.350979 7.68641 0.276035C7.62978 0.065709 7.40678 -0.0454978 7.20974 0.0366985C6.05463 0.522624 4.98565 1.17899 4.0323 1.97436C3.91195 2.07468 3.87301 2.24512 3.93083 2.39259C3.9792 2.51589 4.03112 2.63797 4.08539 2.75764C4.51133 3.70894 5.10364 4.5853 5.84815 5.34682C7.48937 7.0246 9.66863 7.9493 11.9871 7.9493H11.9954C14.3162 7.94689 16.4978 7.01855 18.1379 5.33595C18.8812 4.57321 19.4711 3.69564 19.8959 2.74434C19.9502 2.62347 20.0009 2.50138 20.0493 2.37809C20.1071 2.23062 20.0682 2.06018 19.9478 1.95985C18.9933 1.16569 17.9231 0.511745 16.768 0.0270284Z"/><path d="M19.9102 21.2422C19.4843 20.2933 18.8931 19.4194 18.151 18.6603C16.5086 16.9801 14.3223 16.053 12.0038 16.0578C8.50304 16.0614 5.48371 18.1961 4.11031 21.2603C4.05722 21.38 4.0053 21.5009 3.95575 21.623C3.89675 21.7704 3.93569 21.9421 4.05722 22.0436C5.01175 22.8366 6.08073 23.4893 7.23466 23.9728C7.4317 24.055 7.65352 23.9438 7.71134 23.7335C7.73139 23.6573 7.75381 23.5836 7.77859 23.5086C8.37207 21.6979 10.0416 20.3888 12.0073 20.3864H12.012C13.2025 20.3864 14.3234 20.8614 15.1659 21.7233C15.6626 22.231 16.026 22.8378 16.2431 23.5002C16.2679 23.5739 16.2903 23.6489 16.3104 23.7238C16.3682 23.9341 16.59 24.0453 16.787 23.9619C17.9422 23.476 19.01 22.8209 19.9633 22.0255C20.0837 21.9252 20.1226 21.7535 20.0648 21.606C20.0164 21.4828 19.9645 21.3631 19.9102 21.2422Z"/><path d="M0.132148 10.1666C0.158105 9.98769 0.305591 9.85352 0.482575 9.85352L23.5093 9.81726C23.6863 9.81726 23.8338 9.95022 23.8609 10.1291C23.9518 10.7347 23.999 11.3548 23.999 11.9858C24.0001 12.6131 23.9541 13.2284 23.8668 13.8292C23.8408 14.0081 23.6934 14.1422 23.5164 14.1422L0.489654 14.1773C0.312671 14.1773 0.165185 14.0443 0.138047 13.8654C0.0471956 13.2598 0 12.6397 0 12.0088C0 11.3826 0.0448358 10.7673 0.132148 10.1666Z"/></svg></div></div></div></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-app-ui",
3
- "version": "5.0.55-qa",
3
+ "version": "5.0.56-qa",
4
4
  "files": [
5
5
  "dist/**/*"
6
6
  ],
@@ -28,8 +28,8 @@
28
28
  "@sentry/react": "^9.42.1",
29
29
  "@stripe/stripe-js": "^4.4.0",
30
30
  "@zeniai/client-analytics": "2.0.7",
31
- "@zeniai/client-epic-state": "5.0.25",
32
- "@zeniai/web-components": "4.0.63",
31
+ "@zeniai/client-epic-state": "5.0.27",
32
+ "@zeniai/web-components": "4.0.64",
33
33
  "color": "3.1.3",
34
34
  "cross-fetch": "^4.0.0",
35
35
  "crypto-js": "4.2.0",
@@ -1 +0,0 @@
1
- import{j as e}from"./liveblocks-BeS4QmMp.js";import{A as d}from"./AddressScreen-CD02bE7U.js";import i from"./NotFoundScreen-B8ppov_c.js";import"./sentry-BlmJH5WH.js";import{n as s,o as r}from"./core-DcM32IW_.js";import"./zeni-epic-state-ChnjRetZ.js";import"./recharts-DoWl4vaN.js";import"./index-BZDuIo7x.js";import"./mui--qrGbwFJ.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="4bd15e18-5b5f-4be1-8d33-8bd696c76da2",t._sentryDebugIdIdentifier="sentry-dbid-4bd15e18-5b5f-4be1-8d33-8bd696c76da2")}catch{}})();function _(){return e.jsxs(s,{children:[e.jsx(r,{path:"/edit/:addressType/:addressId",element:e.jsx(d,{})}),e.jsx(r,{path:"/new/:addressType",element:e.jsx(d,{})}),e.jsx(r,{path:"*",element:e.jsx(i,{})})]})}export{_ as default};
@@ -1,9 +0,0 @@
1
- import{j as d}from"./liveblocks-BeS4QmMp.js";import{a as h}from"./sentry-BlmJH5WH.js";import{j as T,h as _,u as j,l as E,g as B,k as M}from"./core-DcM32IW_.js";import{q as $,h as D,z as L,k as K,B as N,C as R,d as C,f as m,w as z,j as b,r as F}from"./index-BZDuIo7x.js";import{I$ as k,gM as U,eN as q,J0 as G,c0 as J,J1 as O,k6 as V}from"./zeni-epic-state-ChnjRetZ.js";import{n as H}from"./mui--qrGbwFJ.js";import Q from"./NotFoundScreen-B8ppov_c.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]="c60fb72f-a6c0-48c8-a37e-f5dfaf4b9e37",e._sentryDebugIdIdentifier="sentry-dbid-c60fb72f-a6c0-48c8-a37e-f5dfaf4b9e37")}catch{}})();const W=H.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
- `,X=M(function(e,t){const{addressId:o,isSubPage:i,addressType:c}=t,l=q(e),a=t.roleMap!=null&&G(t.roleMap),r=i||c==="user_address"||J(l?.userRole??[])||a?void 0:"readonly";if(o==null){const s=O(c,e);return{addressToEdit:s?.addressToCreate,loadingState:s?.status?.fetchState,googleAPIKey:b.googleMapsAPIKey,isDisabled:r,isSubPage:i,dontShowSaveConfirmationPopup:t.dontShowSaveConfirmation}}const n=k(e,o);return{addressToEdit:n.address,loadingState:n.fetchState,googleAPIKey:b.googleMapsAPIKey,isDisabled:r}},function(e,t){const{navigate:o,location:i,addressType:c}=t,l=a=>{if(a==="express-pay")o("../express-pay/add-wire");else{const r=i.state,n=F(r?.pathnameStackToGoBack);let s=n.poppedPathname??w();const u=r?.queryParams;if(u){const f=new URLSearchParams(u).toString();f&&(s=`${s}?${f}`)}o(s,{state:{pathnameStackToGoBack:n.newStack}})}};return{onSubmitHandler:a=>{const r=Y(a);e(V({addressType:c,addressToCreate:r})),C?.trackSaveAddressClicked(m.Event.saveAddressClicked,{street:a.street.addressString,city:a.city,state:a.state,country:a.country.selectedOption??"",postalCode:a.postalCode,suite:a.suite,secondaryInfo:a.secondaryInfo}),l(t.bankAccountContext)},onCancel:()=>{l(t.bankAccountContext)}}})(z);function de({isSubPage:e,hideAddressSubTitle:t=!1,hideAddressBackButton:o=!1,dontShowSaveConfirmation:i,accountContext:c,addressTypeParam:l}){const a=T(),r=_(),n=j(),{addressId:s,addressType:u}=E(),f=$(),I=D(),v=L.getSignedInUser(),[g,x]=h.useState(s==null),p=B(S=>s!=null?k(S,s).fetchState:"Not-Started"),A=K();if(v==null)throw Error("Can't access address page without signing in...");const P=S=>S.trackPageLoaded(s!=null?m.Event.editAddress:m.Event.addAddress),y=l??u;return h.useEffect(()=>{g||s==null||(x(!0),r(U(s,!1)))},[g,s,r]),y==null||y.match(/(user_address|company_address|company_registered_address|vendor_address|officer_([1-9]|10)_address)$/g)?!g&&p==="Not-Started"||g&&p==="In-Progress"?d.jsx(N,{fetchState:p,style:{backgroundColor:I.colors.grey5}}):s!=null&&p==="Error"?(a(`${w(1)}/new`,{replace:!0}),d.jsx(d.Fragment,{})):d.jsxs(d.Fragment,{children:[d.jsx(R,{analytics:C,onLoad:P}),d.jsx(W,{windowSize:f,children:d.jsx(X,{location:n,navigate:a,isSubPage:e===!0,hideAddressBackButton:o,hideAddressSubTitle:t,addressId:s,addressType:y,dontShowSaveConfirmation:i,bankAccountContext:c,roleMap:A?.loggedInUserRoleMap})})]}):d.jsx(Q,{})}const w=(e=2)=>{let t="../";for(let o=0;o<e;o++)t=`${t}../`;return t},Y=e=>({street:[e.street.addressString,e.suite,e.secondaryInfo],city:e.city,state:e.state,country:e.country.selectedOption??"",countryCode:e.countryCode,postalCode:e.postalCode,latitude:e.street.addressValue?.locationLat,longitude:e.street.addressValue?.locationLng});export{de as A,Y as t};
@@ -1 +0,0 @@
1
- import{j as m}from"./liveblocks-BeS4QmMp.js";import{a as g}from"./sentry-BlmJH5WH.js";import{j as w,h as k,u as x,l as T,g as O,k as E}from"./core-DcM32IW_.js";import{z as C,b1 as F,C as P,d as L,f as V,ab as b,b2 as j,ap as A,aq as U,v as B}from"./index-BZDuIo7x.js";import{eN as D,fB as _,rw as M,fw as R,c0 as z,Lv as G,bn as Y,pE as q,ps as H,j_ as Z,lu as S,Lw as $,bC as J,ct as N,lC as K,lF as Q}from"./zeni-epic-state-ChnjRetZ.js";import"./mui--qrGbwFJ.js";import{c as W}from"./routePaths-DLti7tZb.js";import{M as X}from"./MobileAppDrawer-BCaWgXZQ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="f1e55dcb-5fdb-493e-9d46-96a31db8898d",t._sentryDebugIdIdentifier="sentry-dbid-f1e55dcb-5fdb-493e-9d46-96a31db8898d")}catch{}})();const ee=E(function(t){const a=R(t),i=C.getSignedInUser(),l=D(t),c=l.tenantId,p={userId:i?.userId??"",sessionId:i?.zeniSessionId??"",tenantId:c??""},f=z(l?.userRole??[])&&a.localData.updateStatus.fetchState!=="In-Progress"?void 0:"readonly",e=G(t.companyConfigState),n=t.countryListState?.byCountryListCode?.nationalityCountryList?.countries??[];return{isCompanyVerified:a.companyView?.company?.company?.companyBillPayInfo?.companyVerificationStatus?.code==="verified",companyPassportView:a,allIndustries:e.companyIndustries??[],allNationalityCountries:n,isDisabled:f,authParams:p,filesEndPoint:`${A.fileMicroServiceBaseUrl}`,isZeniUser:Y(i)}},function(t,a){const{companyId:i,currentTenant:l,navigate:c,location:p}=a,{tenantEmailDomain:f}=l;return{onScheduleClick:e=>{let n=e.href;n.includes("http")||(n="https://".concat(n)),window.open(n,"_blank")},onSaveAll:()=>{t(Q())},onAddressClick:e=>{const n=W(f,e),o=B(p.state?.pathnameStackToGoBack,p.pathname);c(n,{state:{pathnameStackToGoBack:o}})},onResetClick:()=>{t(K({companyId:i}))},onBackClick:()=>{c("../")},onCompanyDetailsChanged:e=>{const{companyInfo:n,incInfo:o,taxDetails:r,zeniFinanceTeam:d}=e,{website:u}=n,{meetingLink:y}=d,{incDate:s}=o,{taxesFiledYears:h}=r,v={companyInfo:{...n,website:u!=""&&u!=null?N(u):void 0,meetingLink:y!=""&&y!=null?N(y):void 0,industry:n.industry.selectedOption,companyIndustryType:n.companyIndustryType?.selectedOption??void 0,companySubIndustry:n.companySubIndustry?.selectedOption??void 0,businessModel:n.businessModel.selectedOption??"",companySourceOfFunds:n.companySourceOfFunds?.selectedOption,companySourceOfFundsDescription:n.companySourceOfFundsDescription??void 0,countriesOfOperations:n.countriesOfOperations?.selectedOptions?.map(I=>I.length===2?I:U(I))??[],transactionVolume:n.transactionVolume?.selectedOption??void 0,transactionVolumeDescription:n.transactionVolumeDescription??void 0,regulatedStatus:n.regulatedStatus??void 0,regulatedStatusDescription:n.regulatedStatusDescription??void 0,usNexus:n.usNexus??void 0,usNexusTypes:n.usNexusTypes?.selectedOptions??[],purposeOfAccount:n.purposeOfAccount?.selectedOption??void 0,purposeOfAccountDescription:n.purposeOfAccountDescription??void 0},incInfo:{typeOfInc:o.typeOfInc.selectedOption??"",stateOfInc:o.stateOfInc.selectedOption??"",incDate:s!=null?J(s?.toString()):s,fileId:o.fileIds[0]},taxDetails:{taxIdOrEIN:r.taxIdOrEIN,sicCode:r.sicCode,naicsCode:r.naicsCode,dunsNumber:r.dunsNumber,taxesFiledYears:h.selectedOptions.map(I=>parseInt(I)),fileId:r.fileIds[0]}};t(S({companyDetails:v}))},onPrimaryContactDetailsUpdated:e=>{t(S({primaryContact:{userId:e.userId,email:e.email.trim(),firstName:e.name.firstName,lastName:e.name.lastName}}))},onNewCompanyOfficerAdded:e=>{t(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:void 0}]}))},onNewCompanyOfficerRemoved:e=>{t($(e))},onCompanyOfficerUpdated:e=>{t(S({officers:[{officerType:e.officerType,email:e.email.trim(),phone:e.phone,firstName:e.name.firstName,lastName:e.name.lastName,userId:e.userId}]}))},updateFilesEntity:e=>{t(Z({files:e}))},onDeleteFile:e=>{t(H(e))},onEditFileName:(e,n)=>{t(q(e,n.split(".")[0]))}}})(j);function de(){const t=w(),a=k(),i=x(),{tenantEmailDomain:l}=T(),[c,p]=g.useState(!1),[f,e]=g.useState(!1),n=O(s=>s.companyViewState.passportView.fetchState),o=O(s=>s.companyConfigState.fetchState),r=O(s=>D(s)),d=r.companyId??C.getSignedInUserTenant(l)?.companyId;if(C.getSignedInUser()==null)throw Error("Can't access company details page without signing in...");g.useEffect(()=>{c||n!=="Not-Started"||d==null||(p(!0),a(_(d)))},[c,n,d,a]),g.useEffect(()=>{o==="Not-Started"&&a(M())},[o,a]);const u=s=>{e(s)},y=n==="Not-Started"||n==="In-Progress"||o==="Not-Started"||o==="In-Progress";return d!=null&&n==="Error"?m.jsx(F,{onGoHome:()=>t("../",{replace:!0}),onReload:()=>window.location.reload()}):m.jsxs(m.Fragment,{children:[m.jsx(P,{analytics:L,onLoad:s=>s.trackPageLoaded(V.Event.companyPassport,b(i)?"Settings":"Company Passport")}),b(i)?m.jsx(X,{isAppContentDrawerOpen:f,handleDrawerToggle:u}):null,m.jsx(ee,{companyId:d,navigate:t,location:i,isLoading:y,currentTenant:r,isSettings:b(i),onClickMenuIcon:()=>{u(!0)}})]})}export{de as C};
@@ -1 +0,0 @@
1
- import{j as d}from"./liveblocks-BeS4QmMp.js";import{z as n}from"./index-BZDuIo7x.js";import{g as p}from"./QBOConnectionScreen-DYw5d1DS.js";import"./sentry-BlmJH5WH.js";import{u as a,N as i}from"./core-DcM32IW_.js";import"./zeni-epic-state-ChnjRetZ.js";import"./recharts-DoWl4vaN.js";import"./mui--qrGbwFJ.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.js";import"./empty-GSTAUqhH.js";import"./pdf-lib-rQgtUIvp.js";import"./index-Dq0r4E9j.js";import"./url-BG92tf7R.js";import"./index-CjaQ8-D2.js";import"./decodeURIComponentSafe-mAxyJdJ8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="b68d0d57-e81d-4cfb-97e6-d4dd5e5b7ebd",t._sentryDebugIdIdentifier="sentry-dbid-b68d0d57-e81d-4cfb-97e6-d4dd5e5b7ebd")}catch{}})();const U=()=>{const t=a(),{code:o,realmId:r,state:e}=p(t.search),s=n.getSignedInUser()?.userId??"";if(f(o,r,e,s)===!0){const m=`../../${e}/onboarding?code=${o}&realmId=${r}&state=auth_flow`;return d.jsx(i,{to:m})}return d.jsx(i,{to:"../../"})},f=(t,o,r,e)=>t!=""&&o!=""&&r!=""&&e!=null&&e!="";export{U as default,f as hasValidParams};
@@ -1 +0,0 @@
1
- import{j as d}from"./liveblocks-BeS4QmMp.js";import{q as c,F as l,h as f}from"./index-BZDuIo7x.js";import{D as p}from"./mui--qrGbwFJ.js";import"./sentry-BlmJH5WH.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]="c1596a17-76c2-42f3-a2e3-6afe5c51b156",e._sentryDebugIdIdentifier="sentry-dbid-c1596a17-76c2-42f3-a2e3-6afe5c51b156")}catch{}})();const u={drawerLeftMargin:new l(0,0,240)};function h(e){const{isOpen:r,drawerLeftMargin:o,children:a,onClose:t}=e,n=c(),s=o?.valuePx(n)??u.drawerLeftMargin.valuePx(n),i=f();return d.jsx(p,{anchor:"right",open:r,PaperProps:{style:{width:`calc(100% - ${s})`}},slotProps:{backdrop:{style:{backgroundColor:i.colors.black,opacity:.8,cursor:"pointer"}}},onClose:t,children:a})}export{h as D};
@@ -1 +0,0 @@
1
- import{j as s}from"./liveblocks-BeS4QmMp.js";import{a as r}from"./sentry-BlmJH5WH.js";import{Y as c,_ as l,$ as p,r as f}from"./index-BZDuIo7x.js";import"./mui--qrGbwFJ.js";import m from"./NotFoundScreen-B8ppov_c.js";import{j as u,u as b}from"./core-DcM32IW_.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]="fd703c1c-5b84-4ab3-8453-943d8682648a",e._sentryDebugIdIdentifier="sentry-dbid-fd703c1c-5b84-4ab3-8453-943d8682648a")}catch{}})();const j=()=>{const e=u(),a=b(),t=r.useCallback(()=>{window.open("https://www.zeni.ai/demo/request","_blank")},[]),d=r.useCallback(()=>{(()=>{const n=f(a.state?.pathnameStackToGoBack),i=n.poppedPathname??k();e(i,{state:{pathnameStackToGoBack:n.newStack}})})()},[]),o=c(a.pathname);return o!=null?s.jsx(l,{menuItem:p(o),onDemoClick:t,onGoBack:d}):s.jsx(m,{})},k=(e=2)=>{let a="../";for(let t=0;t<e;t++)a=`${a}../`;return a};export{j as F};
@@ -1,12 +0,0 @@
1
- import{j as u}from"./liveblocks-BeS4QmMp.js";import{a as f}from"./sentry-BlmJH5WH.js";import{h as O,u as _,j as w,q as M,g as l,N as T}from"./core-DcM32IW_.js";import{z as r,h as P,D as V,e as A,d as N,f as q,m as G,T as R,i as W}from"./index-BZDuIo7x.js";import{eN as $,Ii as B,Is as H,Ij as J,eO as K,fh as Q,Io as X,fG as Y,cS as Z,It as ee,Iu as te}from"./zeni-epic-state-ChnjRetZ.js";import{n as ne}from"./mui--qrGbwFJ.js";import{u as se}from"./useDeviceId-DaD3aMiS.js";import{f as ae}from"./analyticsHelper-xeJXIGDO.js";import{t as ie}from"./getLocaleForTenant-Fu8c_Haa.js";import"./recharts-DoWl4vaN.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="c42ae15e-19c1-4e00-bcee-c5dfcaf588a9",t._sentryDebugIdIdentifier="sentry-dbid-c42ae15e-19c1-4e00-bcee-c5dfcaf588a9")}catch{}})();const C=(t,a)=>t!=null&&t.length>0&&a==="magic_links";function Ce(){const t=O(),a=_(),m=w(),[y]=M(),n=y.get("token"),p=y.get("stytch_token_type"),g=r.getMagicLinkCodeVerifier(),i=se(),{otpChallenge:c,twoFAPhoneNumber:D,magicLinkEmail:d,verifyDeviceFetchState:x,resendVerifyDeviceOTPFetchState:z}=l(e=>e.tenantState),I=l(e=>e.tenantState.fetchState),b=l(e=>e.tenantState.activeTenantFetchState.fetchState),S=l(e=>e.tenantState.signInState),h=l(e=>e.tenantState.magicLinkSignInFetchState.fetchState),s=l(e=>e.tenantState.loggedInUser),o=l(e=>$(e)),k=l(e=>B(e)),E=r.getSignedInUser(),v=P().mode;f.useEffect(()=>{s?.zeniSessionId==null&&n!=null&&C(n,p)&&i!=null&&g!=null&&(r.saveMagicLinkTriggered(n),t(H(n,i,g)))},[n,p,t,i,g,s?.zeniSessionId]),f.useEffect(()=>{S!=="In-Progress"||I!=="Completed"&&b!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(J(k.tenantsInOrder),s.zeniSessionId),K(s.userId,s.zeniSessionId,o.tenantId),t(Q(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(X("Completed")),V.updateAppLocaleID(ie(o)),ae(s,o,v,void 0,k.tenantsInOrder),Y().then(()=>{const e=W();e!=null&&A(e)}),setTimeout(()=>{N.trackLogin(q.Event.loginSuccess,"email",Z(o.productSettings))},2e3))},[S,I,b,s,o,k,v,a.state,t]);const j=f.useCallback(()=>{m("/signin/auth")},[m]),U=f.useCallback(()=>{i!=null&&c!=null&&d!=null&&t(ee(i,d,c))},[i,c,t,d]),F=f.useCallback(e=>{i!=null&&n!=null&&d!=null&&c!=null&&t(te(e,i,d,c))},[i,n,t,d,c]);if(h==="Completed"&&c!=null)return u.jsx(G,{phoneNumber:D,verifyOtpFetchState:x.fetchState,resendVerifyDeviceOTPFetchState:z,onResendOtp:U,onVerifyOtp:F,onCancelVerifyDevice:j});if(S==="In-Progress"&&I==="Completed"&&s?.zeniSessionId!=null&&o!=null||E!=null){const e=a.state?.origin??"/";return u.jsx(T,{to:e,state:{...a.state,origin:""}})}if(!C(n,p)||g==null||h==="Error"){const e=a.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(T,{to:e,state:{...a.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx(R,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- right: 0;
6
- bottom: 0;
7
- display: flex;
8
- align-items: center;
9
- justify-content: center;
10
- z-index: 9999;
11
- background-color: ${t=>t.theme.colors.background};
12
- `;export{Ce as default};
@@ -1 +0,0 @@
1
- import{j as e}from"./liveblocks-BeS4QmMp.js";import{j as r,k as i}from"./core-DcM32IW_.js";import{X as n}from"./index-BZDuIo7x.js";import"./mui--qrGbwFJ.js";import"./sentry-BlmJH5WH.js";import"./zeni-epic-state-ChnjRetZ.js";import"./recharts-DoWl4vaN.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="08a1fb90-c2ee-45d3-8148-a56dffb2c13c",o._sentryDebugIdIdentifier="sentry-dbid-08a1fb90-c2ee-45d3-8148-a56dffb2c13c")}catch{}})();const a=i(null,function(o,t){return{onGoBack:()=>{t.navigate(-1)},onGoHome:()=>{t.navigate("/")}}})(n);function h(){const o=r();return e.jsx(a,{navigate:o})}export{h as default};
@@ -1 +0,0 @@
1
- import{j as s}from"./liveblocks-BeS4QmMp.js";import _ from"./NotFoundScreen-B8ppov_c.js";import{a as o}from"./sentry-BlmJH5WH.js";import{j as M,u as v,g,l as U,h as P,N as z,k as N,n as V,o as b}from"./core-DcM32IW_.js";import{eN as B,OJ as h,bo as F,bn as J,h6 as H,gC as $}from"./zeni-epic-state-ChnjRetZ.js";import{y as q,z as C,M as G,ct as K}from"./index-BZDuIo7x.js";import"./mui--qrGbwFJ.js";import{u as L}from"./useAskAiCfoHostNavButtonProps-CHoGbMpp.js";import{c as Q}from"./useFetchSuggestedQuestionsWhenReady-DVUj1bst.js";import{M as W}from"./MobileAppDrawer-BCaWgXZQ.js";import"./recharts-DoWl4vaN.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.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]="02a21bd2-cc93-4a59-8b2f-b1ae38f91b0c",e._sentryDebugIdIdentifier="sentry-dbid-02a21bd2-cc93-4a59-8b2f-b1ae38f91b0c")}catch{}})();const X=N(function(e){const t=C.getSignedInUser(),c=e.tenantState.currentTenantId,r={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:c??""},{aggregatedReportViewState:n}=h(e);return{authParams:r,isDisabled:!1,loggedInUser:t,aggregatedReport:n}},function(e,t){return{onBackClick:()=>{t.navigate("../../")},onClickMenuIcon:()=>{t.handleDrawerToggle(!0)}}})(K),Y=()=>{const e=M(),t=v(),c=q(),r=g(a=>B(a)),{aggregatedReportViewState:n}=g(a=>h(a)),{tenantEmailDomain:m}=U(),p=P(),d=C.getSignedInUser();if(d==null)throw new Error("Can't access this page without signing in...");const f=o.useRef(!1),[I,S]=o.useState(!1),k=F(r?.userRole??[]),w=r?.userRole?.includes("bookkeeping_admin")??!1,y=J(d),A=k||w||y,l=o.useCallback((a,i,O)=>{p(H({fromMonth:a,toMonth:i,cacheOverride:O}))},[]);o.useEffect(()=>{n?.fetchState==="Completed"&&f.current&&(p($({messageSection:"data_refresh_update",messageText:"success",type:"success",showStatusIcon:!0})),f.current=!1)},[n?.fetchState]);const D=o.useCallback((a,i)=>{n!=null&&n?.fetchState==="In-Progress"||l(a,i,!0),f.current=!0},[n?.fetchState,l]),x=o.useCallback((a,i)=>{l(a,i,!1)},[l]),u=a=>{S(a)},{isAiCfoOpen:j,setIsAiCfoOpen:R}=G(),{isAiCfoAccessEnabled:T,onAskAiCfoClick:E}=L({isAiCfoOpen:j,setIsAiCfoOpen:R,mobileExploreReferrer:"Performance"});return Q({isDataReady:n?.fetchState==="Completed"}),A?s.jsxs(s.Fragment,{children:[s.jsx(W,{isAppContentDrawerOpen:I,handleDrawerToggle:u}),s.jsx(X,{navigate:e,location:t,themeState:c,currentTenant:r,signedInUser:d,tenantEmailDomain:m,onReload:D,onTimeRangeSelect:x,handleDrawerToggle:u,isAiCfoAccessEnabled:T,onAskAiCfoClick:E})]}):s.jsx(z,{to:`/${m}/dashboard`,replace:!0})};function Ce(){return s.jsxs(V,{children:[s.jsx(b,{path:"*",element:s.jsx(Y,{})}),s.jsx(b,{path:"*",element:s.jsx(_,{})})]})}export{Ce as default};
@@ -1 +0,0 @@
1
- import{j as a}from"./liveblocks-BeS4QmMp.js";import{a as j,z as w,aJ as y,C as I,d as f,f as F,cD as P,p as L}from"./index-BZDuIo7x.js";import"./mui--qrGbwFJ.js";import l from"./NotFoundScreen-B8ppov_c.js";import{a as u}from"./sentry-BlmJH5WH.js";import{h as T,g as b,j as V,u as A,k as R,n as U,o as d}from"./core-DcM32IW_.js";import{eN as z,Pg as C,M6 as Y,Ph as D,tr as G,eZ as J,Pi as M,tp as O}from"./zeni-epic-state-ChnjRetZ.js";import{R as x}from"./ReferralListScreen-B2bhjkxb.js";import"./recharts-DoWl4vaN.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.js";import"./useAskAiCfoHostNavButtonProps-CHoGbMpp.js";import"./useFetchSuggestedQuestionsWhenReady-DVUj1bst.js";import"./MobileAppDrawer-BCaWgXZQ.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]="c20a3220-1007-4411-abe5-e83e4bec871d",e._sentryDebugIdIdentifier="sentry-dbid-c20a3220-1007-4411-abe5-e83e4bec871d")}catch{}})();const Z=R(function(e,t){const n=C(e);return{inviteFormView:n.localData,submitStatus:n.saveStatus,userName:t.userName,rewardsPlan:n.rewardsPlan,companyLegalName:t.companyName}},function(e,t){const{navigate:n}=t,o=w.getSignedInUser();return{onDismissClick:()=>{e(D()),n("..")},onSendClick:()=>{if(o!=null){const s=[],r=[];t.inviteFormCompayData.forEach(c=>{s.push(c.companyName),r.push(c.emailIds[0])}),f.trackInviteEmailClicked("send",s,r,s.length)}e(O())},onUpdateInviteFormLocalData:s=>{e(M({localData:s}))},onSubmitSuccess:()=>{n("../../")},onCancelClick:()=>{o!=null&&f.trackInviteEmailClicked("cancel")}}})(P),q=()=>{const e=T(),[t,n]=u.useState(!1),[o,s]=u.useState(!1),r=b(i=>z(i)),c=V(),k=A(),{useDynamicConfig:g}=j(),p=w.getSignedInUser();if(p==null)throw Error("Can't access invite referral screen without signing in...");const m=b(i=>C(i)),v=p?.firstName!=null?p.firstName:"User",{configValue:h}=g(y.zeniCardsConfig),{configValue:_}=g(y.zeniAccountsConfig),N=Y(_);u.useEffect(()=>{e(D()),r?.rewardsLastViewedTime==null&&o===!1&&(e(G()),s(!0))},[]),u.useEffect(()=>{t||m.fetchState!=="Not-Started"||(n(!0),e(J(!0)))},[m.fetchState,e]);const S=r.company?.companyInfo.companyLegalName??r.companyName;return a.jsxs(a.Fragment,{children:[m.fetchState==="Completed"?a.jsx(I,{analytics:f,onLoad:i=>(E=>E.trackPageLoaded(F.Event.inviteEmailViewed))(i)}):null,a.jsx(Z,{navigate:c,location:k,currentTenant:r,companyName:S,userName:v,inviteFormCompayData:m.localData,chargeCardCashbackRatePerTransaction:h.charge_card_cashback_rate_per_transaction!=null?h.charge_card_cashback_rate_per_transaction:.0175,maxAnnualPercentageYield:N.maxAnnualPercentageYield})]})};function pe(){const{useFeatureGate:e}=j(),{isFeatureEnabled:t}=e(L.isReferralFeatureEnabled);return a.jsxs(U,{children:[a.jsx(d,{path:"/",element:t?a.jsx(x,{}):a.jsx(l,{})}),a.jsx(d,{path:"how-it-works",element:t?a.jsx(x,{isReferralDrawerOpen:!0}):a.jsx(l,{})}),a.jsx(d,{path:"refer/*",element:t?a.jsx(q,{}):a.jsx(l,{})}),a.jsx(d,{path:"*",element:a.jsx(l,{})})]})}export{pe as default};
@@ -1 +0,0 @@
1
- import{j as t}from"./liveblocks-BeS4QmMp.js";import i from"./NotFoundScreen-B8ppov_c.js";import{T as r}from"./TransactionDetailScreen-B0sPog3q.js";import"./sentry-BlmJH5WH.js";import{n as d,o as e}from"./core-DcM32IW_.js";import"./zeni-epic-state-ChnjRetZ.js";import"./recharts-DoWl4vaN.js";import"./index-BZDuIo7x.js";import"./mui--qrGbwFJ.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.js";import"./useAskAiCfoHostNavButtonProps-CHoGbMpp.js";import"./useFetchSuggestedQuestionsWhenReady-DVUj1bst.js";import"./decodeURIComponentSafe-mAxyJdJ8.js";import"./routePaths-DLti7tZb.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]="256f287b-7a3d-4d6d-890e-a8cb9db8b86d",o._sentryDebugIdIdentifier="sentry-dbid-256f287b-7a3d-4d6d-890e-a8cb9db8b86d")}catch{}})();function q(){return t.jsxs(d,{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{q as default};
@@ -1,12 +0,0 @@
1
- import{j as o}from"./liveblocks-BeS4QmMp.js";import{a as l}from"./sentry-BlmJH5WH.js";import{q as u,h,g as y,N as I}from"./core-DcM32IW_.js";import{ID as w,eO as b,yY as x}from"./zeni-epic-state-ChnjRetZ.js";import{z as f,B as j,H as S,J as D}from"./index-BZDuIo7x.js";import{n as g}from"./mui--qrGbwFJ.js";import"./recharts-DoWl4vaN.js";import"./analytics-ByrfXPqG.js";import"./plaid-BZ0BFqP0.js";import"./dnd-36WXho_9.js";import"./stripe-DMRn4zHo.js";import"./lottie-Bdncx-qB.js";import"./lexical-CYAYrhLa.js";import"./pdf-6nmWWkz8.js";import"./utils-RmRP6xA4.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]="216a2de9-eda4-4721-8652-c4a3e58414d8",e._sentryDebugIdIdentifier="sentry-dbid-216a2de9-eda4-4721-8652-c4a3e58414d8")}catch{}})();const R=()=>{const[e]=u(),t=e.get("code")??"",s=e.get("state")??"",p=e.get("profileId")??"",[n,c]=l.useState(!1),a=h(),i=y(m=>w(m)),r=f.getSignedInUser(),d=f.getSignedInUserTenantWithId(s);if(r==null||d==null)return o.jsx(I,{to:"/signin/auth",replace:!0});if(r==null)throw Error("Can't access this page without signing in...");return b(r.userId,r.zeniSessionId,d?.tenantId),l.useEffect(()=>{n||(c(!0),a(x(t,p,s)))},[n,a]),i.fetchState==="Error"?o.jsx(E,{children:o.jsx(_,{children:i.error?.message??""})}):(i.fetchState==="Completed"&&window.close(),o.jsx(j,{fetchState:"In-Progress"}))},E=g.div`
2
- display: flex;
3
- width: 100%;
4
- height: 100vh;
5
- flex-direction: row;
6
- justify-content: center;
7
- align-items: center;
8
- background-color: ${e=>e.theme.colors.grey5};
9
- `,_=g(D.LargeRegular)`
10
- display: flex;
11
- color: ${S.important};
12
- `;export{R as default};
@@ -1,9 +0,0 @@
1
- import{j as i}from"./liveblocks-BeS4QmMp.js";import{a as u}from"./sentry-BlmJH5WH.js";import{j as x,h as B,u as C,l as N,g as p}from"./core-DcM32IW_.js";import{HD as s,HC as $,NJ as j,eN as v,NK as D}from"./zeni-epic-state-ChnjRetZ.js";import{q as T,ap as g,h as z,z as E,B as L,b_ as P,r as _}from"./index-BZDuIo7x.js";import{n as U}from"./mui--qrGbwFJ.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]="632fbebf-21a0-4ef0-8322-5bfe53ccf7f3",e._sentryDebugIdIdentifier="sentry-dbid-632fbebf-21a0-4ef0-8322-5bfe53ccf7f3")}catch{}})();const G=U.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 V(){const e=x(),n=B(),d=T(),f=C();let{accountId:a}=N(),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,b]=u.useState(!1),h=z();u.useEffect(()=>{m||(b(!0),n($(a??"",!1)))},[m,n]);const o=p(t=>j(t,a??"")),y=()=>{const t=_(f.state?.pathnameStackToGoBack),S=t.poppedPathname??"..";e(S,{state:{pathnameStackToGoBack:t.newStack}})},r=E.getSignedInUser(),c=p(t=>v(t)),I={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:c.tenantId??""},w=D(a??"")===!0?s:o.zeniAccountDetail?.accountLast4??"",k=c.company?.companyInfo.companyLegalName??c.companyName;if(r==null)throw Error("Can't access address page without signing in...");return o.fetchState!=="Completed"?i.jsx(L,{fetchState:"In-Progress",style:{backgroundColor:h.colors.grey5}}):i.jsx(G,{windowSize:d,children:i.jsx(P,{currentTenantCompanyName:k,statementListView:o,accountLast4:w,onBackClick:y,authParams:I,downloadEndPoint:l})})}export{V as Z};