conductor-oss 0.18.2 → 0.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/README.md +1 -21
  2. package/package.json +5 -5
  3. package/web/.next/standalone/packages/web/.next/BUILD_ID +1 -1
  4. package/web/.next/standalone/packages/web/.next/app-path-routes-manifest.json +1 -3
  5. package/web/.next/standalone/packages/web/.next/build-manifest.json +2 -2
  6. package/web/.next/standalone/packages/web/.next/prerender-manifest.json +3 -3
  7. package/web/.next/standalone/packages/web/.next/routes-manifest.json +6 -22
  8. package/web/.next/standalone/packages/web/.next/server/app/_global-error.html +2 -2
  9. package/web/.next/standalone/packages/web/.next/server/app/_global-error.rsc +1 -1
  10. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  11. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  13. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  14. package/web/.next/standalone/packages/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page/server-reference-manifest.json +7 -7
  16. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/web/.next/standalone/packages/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/web/.next/standalone/packages/web/.next/server/app/_not-found.html +1 -1
  19. package/web/.next/standalone/packages/web/.next/server/app/_not-found.rsc +4 -4
  20. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_full.segment.rsc +4 -4
  21. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  22. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_index.segment.rsc +4 -4
  23. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  24. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  25. package/web/.next/standalone/packages/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  26. package/web/.next/standalone/packages/web/.next/server/app/api/access/route.js +1 -1
  27. package/web/.next/standalone/packages/web/.next/server/app/api/access/route.js.nft.json +1 -1
  28. package/web/.next/standalone/packages/web/.next/server/app/api/agents/route.js +1 -1
  29. package/web/.next/standalone/packages/web/.next/server/app/api/agents/route.js.nft.json +1 -1
  30. package/web/.next/standalone/packages/web/.next/server/app/api/app-update/route.js +1 -1
  31. package/web/.next/standalone/packages/web/.next/server/app/api/app-update/route.js.nft.json +1 -1
  32. package/web/.next/standalone/packages/web/.next/server/app/api/attachments/route.js +1 -1
  33. package/web/.next/standalone/packages/web/.next/server/app/api/attachments/route.js.nft.json +1 -1
  34. package/web/.next/standalone/packages/web/.next/server/app/api/auth/session/route.js +1 -1
  35. package/web/.next/standalone/packages/web/.next/server/app/api/auth/session/route.js.nft.json +1 -1
  36. package/web/.next/standalone/packages/web/.next/server/app/api/boards/comments/route.js +1 -1
  37. package/web/.next/standalone/packages/web/.next/server/app/api/boards/comments/route.js.nft.json +1 -1
  38. package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js +1 -1
  39. package/web/.next/standalone/packages/web/.next/server/app/api/boards/route.js.nft.json +1 -1
  40. package/web/.next/standalone/packages/web/.next/server/app/api/config/route.js +1 -1
  41. package/web/.next/standalone/packages/web/.next/server/app/api/config/route.js.nft.json +1 -1
  42. package/web/.next/standalone/packages/web/.next/server/app/api/context-files/open/route.js +1 -1
  43. package/web/.next/standalone/packages/web/.next/server/app/api/context-files/open/route.js.nft.json +1 -1
  44. package/web/.next/standalone/packages/web/.next/server/app/api/context-files/route.js +1 -1
  45. package/web/.next/standalone/packages/web/.next/server/app/api/context-files/route.js.nft.json +1 -1
  46. package/web/.next/standalone/packages/web/.next/server/app/api/events/route.js +1 -1
  47. package/web/.next/standalone/packages/web/.next/server/app/api/events/route.js.nft.json +1 -1
  48. package/web/.next/standalone/packages/web/.next/server/app/api/executor/health/route.js +1 -1
  49. package/web/.next/standalone/packages/web/.next/server/app/api/executor/health/route.js.nft.json +1 -1
  50. package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/directory/route.js +1 -1
  51. package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/directory/route.js.nft.json +1 -1
  52. package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/pick-directory/route.js +1 -1
  53. package/web/.next/standalone/packages/web/.next/server/app/api/filesystem/pick-directory/route.js.nft.json +1 -1
  54. package/web/.next/standalone/packages/web/.next/server/app/api/github/repos/route.js +1 -1
  55. package/web/.next/standalone/packages/web/.next/server/app/api/github/repos/route.js.nft.json +1 -1
  56. package/web/.next/standalone/packages/web/.next/server/app/api/github/webhook/route.js +1 -1
  57. package/web/.next/standalone/packages/web/.next/server/app/api/github/webhook/route.js.nft.json +1 -1
  58. package/web/.next/standalone/packages/web/.next/server/app/api/health/boards/route.js +1 -1
  59. package/web/.next/standalone/packages/web/.next/server/app/api/health/boards/route.js.nft.json +1 -1
  60. package/web/.next/standalone/packages/web/.next/server/app/api/health/sessions/route.js +1 -1
  61. package/web/.next/standalone/packages/web/.next/server/app/api/health/sessions/route.js.nft.json +1 -1
  62. package/web/.next/standalone/packages/web/.next/server/app/api/notifications/route.js +1 -1
  63. package/web/.next/standalone/packages/web/.next/server/app/api/notifications/route.js.nft.json +1 -1
  64. package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js +1 -1
  65. package/web/.next/standalone/packages/web/.next/server/app/api/preferences/route.js.nft.json +1 -1
  66. package/web/.next/standalone/packages/web/.next/server/app/api/remote-access/route.js +1 -1
  67. package/web/.next/standalone/packages/web/.next/server/app/api/remote-access/route.js.nft.json +1 -1
  68. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/[id]/route.js +1 -1
  69. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/[id]/route.js.nft.json +1 -1
  70. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js +1 -1
  71. package/web/.next/standalone/packages/web/.next/server/app/api/repositories/route.js.nft.json +1 -1
  72. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/actions/route.js +1 -1
  73. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/actions/route.js.nft.json +1 -1
  74. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/archive/route.js +1 -1
  75. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/archive/route.js.nft.json +1 -1
  76. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/checks/route.js +1 -1
  77. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/checks/route.js.nft.json +1 -1
  78. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/diff/route.js +1 -1
  79. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/diff/route.js.nft.json +1 -1
  80. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feed/route.js +1 -1
  81. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feed/route.js.nft.json +1 -1
  82. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feedback/route.js +1 -1
  83. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feedback/route.js.nft.json +1 -1
  84. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/files/route.js +1 -1
  85. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/files/route.js.nft.json +1 -1
  86. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/interrupt/route.js +1 -1
  87. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/interrupt/route.js.nft.json +1 -1
  88. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/kill/route.js +1 -1
  89. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/kill/route.js.nft.json +1 -1
  90. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/route.js +1 -1
  91. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/route.js.nft.json +1 -1
  92. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js +1 -1
  93. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/dom/route.js.nft.json +1 -1
  94. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js +1 -1
  95. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/route.js.nft.json +1 -1
  96. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js +1 -1
  97. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/preview/screenshot/route.js.nft.json +1 -1
  98. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/restore/route.js +1 -1
  99. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/restore/route.js.nft.json +1 -1
  100. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/route.js +1 -1
  101. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
  102. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/snapshot/route.js +1 -1
  103. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/snapshot/route.js.nft.json +1 -1
  104. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route/app-paths-manifest.json +3 -0
  105. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js +10 -0
  106. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route.js.nft.json +1 -0
  107. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/token/route_client-reference-manifest.js +2 -0
  108. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/route.js +1 -1
  109. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/route.js.nft.json +1 -1
  110. package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js +1 -1
  111. package/web/.next/standalone/packages/web/.next/server/app/api/spawn/route.js.nft.json +1 -1
  112. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/branches/route.js +1 -1
  113. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/branches/route.js.nft.json +1 -1
  114. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js +1 -1
  115. package/web/.next/standalone/packages/web/.next/server/app/api/workspaces/route.js.nft.json +1 -1
  116. package/web/.next/standalone/packages/web/.next/server/app/page/react-loadable-manifest.json +1 -1
  117. package/web/.next/standalone/packages/web/.next/server/app/page/server-reference-manifest.json +7 -7
  118. package/web/.next/standalone/packages/web/.next/server/app/page.js.nft.json +1 -1
  119. package/web/.next/standalone/packages/web/.next/server/app/page_client-reference-manifest.js +1 -1
  120. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page/react-loadable-manifest.json +1 -1
  121. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page/server-reference-manifest.json +7 -7
  122. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page.js.nft.json +1 -1
  123. package/web/.next/standalone/packages/web/.next/server/app/sessions/[id]/page_client-reference-manifest.js +1 -1
  124. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page/server-reference-manifest.json +7 -7
  125. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page.js.nft.json +1 -1
  126. package/web/.next/standalone/packages/web/.next/server/app/sign-in/[[...sign-in]]/page_client-reference-manifest.js +1 -1
  127. package/web/.next/standalone/packages/web/.next/server/app/unlock/page/server-reference-manifest.json +7 -7
  128. package/web/.next/standalone/packages/web/.next/server/app/unlock/page.js.nft.json +1 -1
  129. package/web/.next/standalone/packages/web/.next/server/app/unlock/page_client-reference-manifest.js +1 -1
  130. package/web/.next/standalone/packages/web/.next/server/app-paths-manifest.json +1 -3
  131. package/web/.next/standalone/packages/web/.next/server/chunks/26076_server_app_api_sessions_[id]_terminal_token_route_actions_9c4b3c06.js +3 -0
  132. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__63017d21._.js +3 -0
  133. package/web/.next/standalone/packages/web/.next/server/chunks/{[root-of-the-server]__f3d09d5c._.js → [root-of-the-server]__9279c912._.js} +1 -1
  134. package/web/.next/standalone/packages/web/.next/server/chunks/_2c837d66._.js +80 -0
  135. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/[root-of-the-server]__379d412d._.js +1 -1
  136. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{[root-of-the-server]__da08a50a._.js → [root-of-the-server]__443ba186._.js} +2 -2
  137. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{[root-of-the-server]__a565f9a3._.js → [root-of-the-server]__742dad30._.js} +2 -2
  138. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/[root-of-the-server]__749fe4b2._.js +1 -1
  139. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{[root-of-the-server]__992cdcf8._.js → [root-of-the-server]__a8fa29c1._.js} +2 -2
  140. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_0e1412de._.js +1 -1
  141. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_532f707d._.js +1 -1
  142. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_69e05fca._.js +1 -1
  143. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_80efe193._.js +1 -1
  144. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{_62d206cc._.js → _9bf43d8d._.js} +2 -2
  145. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_c0f0e227._.js +1 -1
  146. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_f36ddaa9._.js +1 -1
  147. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{node_modules_5646ec2d._.js → node_modules_91aa5708._.js} +1 -1
  148. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_3964db17._.js +3 -0
  149. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_5c863a0e._.js +3 -0
  150. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/{node_modules_6d2fa1ea._.js → node_modules_be1275d0._.js} +1 -1
  151. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/packages_web_src_components_sessions_SessionTerminal_tsx_eaf9458b._.js +1 -1
  152. package/web/.next/standalone/packages/web/.next/server/functions-config-manifest.json +2 -4
  153. package/web/.next/standalone/packages/web/.next/server/pages/404.html +1 -1
  154. package/web/.next/standalone/packages/web/.next/server/pages/500.html +2 -2
  155. package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.js +1 -1
  156. package/web/.next/standalone/packages/web/.next/server/server-reference-manifest.json +8 -8
  157. package/web/.next/standalone/packages/web/.next/static/chunks/{c1e720eabb98af26.js → 2037d1500c64fbef.js} +1 -1
  158. package/web/.next/standalone/packages/web/.next/static/chunks/{58a9b117e5684e7c.js → 3ad6d404d5657604.js} +1 -1
  159. package/web/.next/standalone/packages/web/.next/static/chunks/4d288f280972fd06.js +1 -0
  160. package/web/.next/standalone/packages/web/.next/static/chunks/65bc9229d60adf9f.css +4 -0
  161. package/web/.next/standalone/packages/web/.next/static/chunks/97e7e5343941de65.js +1 -0
  162. package/web/.next/{static/chunks/8d05dc3b261207bb.js → standalone/packages/web/.next/static/chunks/ab8cea4266d5034c.js} +1 -1
  163. package/web/.next/standalone/packages/web/.next/static/chunks/{655db4d21daaca4d.js → b2b84b9e8ccbeafa.js} +1 -1
  164. package/web/.next/standalone/packages/web/.next/static/chunks/b9a43bac36046bf9.js +138 -0
  165. package/web/.next/{static/chunks/9331c73d4edcd945.js → standalone/packages/web/.next/static/chunks/d1cbb83a98e765b5.js} +1 -1
  166. package/web/.next/standalone/packages/web/.next/static/chunks/{301802e8e898dd01.js → f2fea305b6822999.js} +1 -1
  167. package/web/.next/standalone/packages/web/.next/static/chunks/f48f57293e98e0d8.js +1 -0
  168. package/web/.next/standalone/packages/web/.next/static/chunks/fe52c44944adc7f2.js +1 -0
  169. package/web/.next/standalone/packages/web/src/app/api/sessions/[id]/terminal/token/route.ts +13 -0
  170. package/web/.next/standalone/packages/web/src/components/sessions/SessionTerminal.tsx +77 -39
  171. package/web/.next/standalone/packages/web/src/components/sessions/sessionTerminalUtils.test.ts +0 -122
  172. package/web/.next/standalone/packages/web/src/components/sessions/sessionTerminalUtils.ts +0 -220
  173. package/web/.next/standalone/packages/web/src/components/sessions/terminal/terminalApi.ts +89 -87
  174. package/web/.next/standalone/packages/web/src/components/sessions/terminal/terminalCache.ts +2 -73
  175. package/web/.next/standalone/packages/web/src/components/sessions/terminal/terminalConstants.ts +0 -8
  176. package/web/.next/standalone/packages/web/src/components/sessions/terminal/terminalTypes.ts +0 -19
  177. package/web/.next/standalone/packages/web/src/components/sessions/terminal/ttydClient.ts +122 -27
  178. package/web/.next/standalone/packages/web/src/components/sessions/terminal/useTtydConnection.ts +9 -12
  179. package/web/.next/standalone/packages/web/src/lib/sessionState.ts +0 -473
  180. package/web/.next/static/chunks/{c1e720eabb98af26.js → 2037d1500c64fbef.js} +1 -1
  181. package/web/.next/static/chunks/{58a9b117e5684e7c.js → 3ad6d404d5657604.js} +1 -1
  182. package/web/.next/static/chunks/4d288f280972fd06.js +1 -0
  183. package/web/.next/static/chunks/65bc9229d60adf9f.css +4 -0
  184. package/web/.next/static/chunks/97e7e5343941de65.js +1 -0
  185. package/web/.next/{standalone/packages/web/.next/static/chunks/8d05dc3b261207bb.js → static/chunks/ab8cea4266d5034c.js} +1 -1
  186. package/web/.next/static/chunks/{655db4d21daaca4d.js → b2b84b9e8ccbeafa.js} +1 -1
  187. package/web/.next/static/chunks/b9a43bac36046bf9.js +138 -0
  188. package/web/.next/{standalone/packages/web/.next/static/chunks/9331c73d4edcd945.js → static/chunks/d1cbb83a98e765b5.js} +1 -1
  189. package/web/.next/static/chunks/{301802e8e898dd01.js → f2fea305b6822999.js} +1 -1
  190. package/web/.next/static/chunks/f48f57293e98e0d8.js +1 -0
  191. package/web/.next/static/chunks/fe52c44944adc7f2.js +1 -0
  192. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feed/stream/route/app-paths-manifest.json +0 -3
  193. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feed/stream/route.js +0 -10
  194. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feed/stream/route.js.nft.json +0 -1
  195. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/feed/stream/route_client-reference-manifest.js +0 -2
  196. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route/app-paths-manifest.json +0 -3
  197. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route/build-manifest.json +0 -11
  198. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route/server-reference-manifest.json +0 -4
  199. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js +0 -10
  200. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js.map +0 -5
  201. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route.js.nft.json +0 -1
  202. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/output/stream/route_client-reference-manifest.js +0 -2
  203. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/connection/route/app-paths-manifest.json +0 -3
  204. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/connection/route/build-manifest.json +0 -11
  205. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/connection/route/server-reference-manifest.json +0 -4
  206. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/connection/route.js +0 -10
  207. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/connection/route.js.map +0 -5
  208. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/connection/route.js.nft.json +0 -1
  209. package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/terminal/connection/route_client-reference-manifest.js +0 -2
  210. package/web/.next/standalone/packages/web/.next/server/chunks/26076_server_app_api_sessions_[id]_terminal_connection_route_actions_46c114ee.js +0 -3
  211. package/web/.next/standalone/packages/web/.next/server/chunks/29f24__next-internal_server_app_api_sessions_[id]_feed_stream_route_actions_1262f517.js +0 -3
  212. package/web/.next/standalone/packages/web/.next/server/chunks/43d70_next-internal_server_app_api_sessions_[id]_output_stream_route_actions_9bfa500e.js +0 -3
  213. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__1029f927._.js +0 -3
  214. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__d74c0f7a._.js +0 -3
  215. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ddad8d14._.js +0 -3
  216. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__ede5c8ca._.js +0 -3
  217. package/web/.next/standalone/packages/web/.next/server/chunks/[root-of-the-server]__f56e5b36._.js +0 -3
  218. package/web/.next/standalone/packages/web/.next/server/chunks/_24c4e75d._.js +0 -80
  219. package/web/.next/standalone/packages/web/.next/server/chunks/_3d39aff4._.js +0 -80
  220. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_307d7608._.js +0 -3
  221. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/_3ed93faf._.js +0 -3
  222. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_4f296b1d._.js +0 -3
  223. package/web/.next/standalone/packages/web/.next/server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_app-router_599a1810._.js +0 -3
  224. package/web/.next/standalone/packages/web/.next/static/chunks/06eb75e40dff98f1.css +0 -4
  225. package/web/.next/standalone/packages/web/.next/static/chunks/1382eff030c401e3.js +0 -1
  226. package/web/.next/standalone/packages/web/.next/static/chunks/1684a3f76eefe776.js +0 -1
  227. package/web/.next/standalone/packages/web/.next/static/chunks/267e541b481c3c75.js +0 -1
  228. package/web/.next/standalone/packages/web/.next/static/chunks/810a3d36795ae9fd.js +0 -138
  229. package/web/.next/standalone/packages/web/.next/static/chunks/a8cd591e904d769e.js +0 -1
  230. package/web/.next/standalone/packages/web/src/app/api/sessions/[id]/feed/stream/route.ts +0 -80
  231. package/web/.next/standalone/packages/web/src/app/api/sessions/[id]/output/stream/route.ts +0 -80
  232. package/web/.next/standalone/packages/web/src/app/api/sessions/[id]/terminal/connection/route.test.ts +0 -343
  233. package/web/.next/standalone/packages/web/src/app/api/sessions/[id]/terminal/connection/route.ts +0 -120
  234. package/web/.next/standalone/packages/web/src/components/Dashboard.tsx +0 -3444
  235. package/web/.next/standalone/packages/web/src/components/TerminalView.tsx +0 -770
  236. package/web/.next/standalone/packages/web/src/components/sessions/ChatPanel.tsx +0 -2097
  237. package/web/.next/standalone/packages/web/src/hooks/useSessionFeed.ts +0 -10
  238. package/web/.next/standalone/packages/web/src/hooks/useSessionOutputStream.ts +0 -166
  239. package/web/.next/standalone/packages/web/src/lib/chatFeed.ts +0 -196
  240. package/web/.next/static/chunks/06eb75e40dff98f1.css +0 -4
  241. package/web/.next/static/chunks/1382eff030c401e3.js +0 -1
  242. package/web/.next/static/chunks/1684a3f76eefe776.js +0 -1
  243. package/web/.next/static/chunks/267e541b481c3c75.js +0 -1
  244. package/web/.next/static/chunks/810a3d36795ae9fd.js +0 -138
  245. package/web/.next/static/chunks/a8cd591e904d769e.js +0 -1
  246. /package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/{feed/stream → terminal/token}/route/build-manifest.json +0 -0
  247. /package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/{feed/stream → terminal/token}/route/server-reference-manifest.json +0 -0
  248. /package/web/.next/standalone/packages/web/.next/server/app/api/sessions/[id]/{feed/stream → terminal/token}/route.js.map +0 -0
  249. /package/web/.next/standalone/packages/web/.next/static/{FHjp9qazH2xWUCRt6mqg4 → O7I3Iz18_tPidBRAWeKh8}/_buildManifest.js +0 -0
  250. /package/web/.next/standalone/packages/web/.next/static/{FHjp9qazH2xWUCRt6mqg4 → O7I3Iz18_tPidBRAWeKh8}/_clientMiddlewareManifest.json +0 -0
  251. /package/web/.next/standalone/packages/web/.next/static/{FHjp9qazH2xWUCRt6mqg4 → O7I3Iz18_tPidBRAWeKh8}/_ssgManifest.js +0 -0
  252. /package/web/.next/static/{FHjp9qazH2xWUCRt6mqg4 → O7I3Iz18_tPidBRAWeKh8}/_buildManifest.js +0 -0
  253. /package/web/.next/static/{FHjp9qazH2xWUCRt6mqg4 → O7I3Iz18_tPidBRAWeKh8}/_clientMiddlewareManifest.json +0 -0
  254. /package/web/.next/static/{FHjp9qazH2xWUCRt6mqg4 → O7I3Iz18_tPidBRAWeKh8}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
1
  module.exports=[66680,(a,b,c)=>{b.exports=a.x("node:crypto",()=>require("node:crypto"))},37936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},13095,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["CI","CONTINUOUS_INTEGRATION","BUILD_NUMBER","BUILD_ID","BUILDKITE","CIRCLECI","GITHUB_ACTIONS","GITLAB_CI","JENKINS_URL","TRAVIS","APPVEYOR","WERCKER","DRONE","CODESHIP","SEMAPHORE","SHIPPABLE","TEAMCITY_VERSION","BAMBOO_BUILDKEY","GO_PIPELINE_NAME","TF_BUILD","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITBUCKET_BUILD_NUMBER","HEROKU_TEST_RUN_ID","VERCEL","NETLIFY"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"00f713ffc2252f2a0d6d141bae62925671364d4173",null),(0,b.registerServerReference)(g,"40e689fded02697ba21d799e1926a50532dc6a2151",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"40445bd28d7a736859660d7057c8c48b8ec362ec73",null),(0,b.registerServerReference)(l,"00c489341bec725518180a01caf1fa64413a4c4d6c",null),(0,b.registerServerReference)(m,"00cc4dda20652bb1f29681e8287b1ca5afe99700b6",null),(0,b.registerServerReference)(n,"00a6acb8e6d7fe1da72be14c7cecdac1e1c23c763a",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["CI","CONTINUOUS_INTEGRATION","BUILD_NUMBER","BUILD_ID","BUILDKITE","CIRCLECI","GITHUB_ACTIONS","GITLAB_CI","JENKINS_URL","TRAVIS","APPVEYOR","WERCKER","DRONE","CODESHIP","SEMAPHORE","SHIPPABLE","TEAMCITY_VERSION","BAMBOO_BUILDKEY","GO_PIPELINE_NAME","TF_BUILD","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITBUCKET_BUILD_NUMBER","HEROKU_TEST_RUN_ID","VERCEL","NETLIFY"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"0029a6578cc26094d563c1dcedf63d298f29f20757",null),(0,b.registerServerReference)(g,"4077bbb09ed62a5bda905b106ec653ec6ca986fe88",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"40bf072a39af30611eda7afaa26967f09f95e86715",null),(0,b.registerServerReference)(l,"00c443d21f3f1c4dafe8fe5f2806620deb4c44a301",null),(0,b.registerServerReference)(m,"00eb205dc98c50449e989ec0cc26e0cfa808b105b3",null),(0,b.registerServerReference)(n,"005a665b94968f29154ef649e6769b08eccaf40437",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__379d412d._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[44494,48677,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],44494);let d=(0,b.default)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);a.s(["default",()=>d],48677)},48079,a=>{"use strict";var b=a.i(87924),c=a.i(26006);let d=(0,a.i(72131).forwardRef)(({className:a,...d},e)=>(0,b.jsx)("div",{ref:e,className:(0,c.cn)("surface-card rounded-[var(--radius-md)] border",a),...d}));function e({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("px-3 py-2",a),...d})}d.displayName="Card",a.s(["Card",0,d,"CardContent",()=>f,"CardHeader",()=>e])},10948,a=>{"use strict";let b=(0,a.i(70106).default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);a.s(["GitBranch",()=>b],10948)},87532,a=>{"use strict";let b=(0,a.i(70106).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);a.s(["Search",()=>b],87532)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},50522,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>b],50522)},92596,a=>{"use strict";let b=(0,a.i(70106).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>b],92596)},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},34959,a=>{"use strict";var b=a.i(72131);function c(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function d(){let[a,d]=(0,b.useState)(null),[e,f]=(0,b.useState)(!0),[g,h]=(0,b.useState)(null),i=(0,b.useRef)(!1),j=(0,b.useCallback)(async()=>{try{var a;let b,e,f,g=await fetch("/api/preferences"),i=await g.json().catch(()=>null);if(!g.ok)throw Error(i?.error??`Failed to load preferences: ${g.status}`);d((a=i?.preferences,b=c(a),f=(e=c(b.notifications)).soundFile,{onboardingAcknowledged:!0===b.onboardingAcknowledged,codingAgent:"string"==typeof b.codingAgent&&b.codingAgent.trim().length>0?b.codingAgent.trim():"claude-code",ide:"string"==typeof b.ide&&b.ide.trim().length>0?b.ide.trim():"vscode",markdownEditor:"string"==typeof b.markdownEditor&&b.markdownEditor.trim().length>0?b.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof b.markdownEditorPath?b.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==e.soundEnabled,soundFile:null===f?null:"string"==typeof f&&f.trim().length>0?f.trim():"abstract-sound-4"}})),h(null)}catch(a){d(null),h(a instanceof Error?a.message:"Failed to load preferences")}finally{f(!1)}},[]);return(0,b.useEffect)(()=>{i.current||(i.current=!0,j())},[j]),{preferences:a,loading:e,error:g,refresh:j}}a.s(["usePreferences",()=>d])},926,a=>{a.n(a.i(37483))},86936,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_shiki_1e31ec87._.js"].map(b=>a.l(b))).then(()=>b(5104)))},81469,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_5646ec2d._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionTerminal_tsx_eaf9458b._.js"].map(b=>a.l(b))).then(()=>b(76686)))},40376,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_ec15f798._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionPreview_tsx_ec32db81._.js"].map(b=>a.l(b))).then(()=>b(64600)))}];
1
+ module.exports=[44494,48677,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],44494);let d=(0,b.default)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);a.s(["default",()=>d],48677)},48079,a=>{"use strict";var b=a.i(87924),c=a.i(26006);let d=(0,a.i(72131).forwardRef)(({className:a,...d},e)=>(0,b.jsx)("div",{ref:e,className:(0,c.cn)("surface-card rounded-[var(--radius-md)] border",a),...d}));function e({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("px-3 py-2",a),...d})}d.displayName="Card",a.s(["Card",0,d,"CardContent",()=>f,"CardHeader",()=>e])},10948,a=>{"use strict";let b=(0,a.i(70106).default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);a.s(["GitBranch",()=>b],10948)},87532,a=>{"use strict";let b=(0,a.i(70106).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);a.s(["Search",()=>b],87532)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},50522,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>b],50522)},92596,a=>{"use strict";let b=(0,a.i(70106).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>b],92596)},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},34959,a=>{"use strict";var b=a.i(72131);function c(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function d(){let[a,d]=(0,b.useState)(null),[e,f]=(0,b.useState)(!0),[g,h]=(0,b.useState)(null),i=(0,b.useRef)(!1),j=(0,b.useCallback)(async()=>{try{var a;let b,e,f,g=await fetch("/api/preferences"),i=await g.json().catch(()=>null);if(!g.ok)throw Error(i?.error??`Failed to load preferences: ${g.status}`);d((a=i?.preferences,b=c(a),f=(e=c(b.notifications)).soundFile,{onboardingAcknowledged:!0===b.onboardingAcknowledged,codingAgent:"string"==typeof b.codingAgent&&b.codingAgent.trim().length>0?b.codingAgent.trim():"claude-code",ide:"string"==typeof b.ide&&b.ide.trim().length>0?b.ide.trim():"vscode",markdownEditor:"string"==typeof b.markdownEditor&&b.markdownEditor.trim().length>0?b.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof b.markdownEditorPath?b.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==e.soundEnabled,soundFile:null===f?null:"string"==typeof f&&f.trim().length>0?f.trim():"abstract-sound-4"}})),h(null)}catch(a){d(null),h(a instanceof Error?a.message:"Failed to load preferences")}finally{f(!1)}},[]);return(0,b.useEffect)(()=>{i.current||(i.current=!0,j())},[j]),{preferences:a,loading:e,error:g,refresh:j}}a.s(["usePreferences",()=>d])},926,a=>{a.n(a.i(37483))},86936,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_shiki_1e31ec87._.js"].map(b=>a.l(b))).then(()=>b(5104)))},81469,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_91aa5708._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionTerminal_tsx_eaf9458b._.js"].map(b=>a.l(b))).then(()=>b(76686)))},40376,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_ec15f798._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionPreview_tsx_ec32db81._.js"].map(b=>a.l(b))).then(()=>b(64600)))}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__da08a50a._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__443ba186._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[15618,a=>{"use strict";let b=(0,a.i(70106).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>b],15618)},44494,48677,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],44494);let d=(0,b.default)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);a.s(["default",()=>d],48677)},48079,a=>{"use strict";var b=a.i(87924),c=a.i(26006);let d=(0,a.i(72131).forwardRef)(({className:a,...d},e)=>(0,b.jsx)("div",{ref:e,className:(0,c.cn)("surface-card rounded-[var(--radius-md)] border",a),...d}));function e({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("px-3 py-2",a),...d})}d.displayName="Card",a.s(["Card",0,d,"CardContent",()=>f,"CardHeader",()=>e])},10948,a=>{"use strict";let b=(0,a.i(70106).default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);a.s(["GitBranch",()=>b],10948)},69630,a=>{"use strict";function b(a){return"merged"===a.status||"archived"===a.status||"killed"===a.status||"errored"===a.status||"cleanup"===a.status||"done"===a.status||"terminated"===a.status||a.pr&&("merged"===a.pr.state||"closed"===a.pr.state)?"done":"mergeable"===a.status||"approved"===a.status||a.pr?.mergeability.mergeable?"merge":"waiting_input"===a.activity||"blocked"===a.activity||"needs_input"===a.status||"stuck"===a.status?"respond":"queued"===a.status?"pending":"exited"===a.activity?"respond":"ci_failed"===a.status||"changes_requested"===a.status||a.pr&&("failing"===a.pr.ciStatus||"changes_requested"===a.pr.reviewDecision||!a.pr.mergeability.noConflicts)?"review":"review_pending"===a.status||a.pr&&!a.pr.isDraft&&("pending"===a.pr.reviewDecision||"none"===a.pr.reviewDecision)?"pending":"working"}a.s(["getAttentionLevel",()=>b])},65385,a=>{"use strict";let b=(0,a.i(70106).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);a.s(["Settings2",()=>b],65385)},5151,a=>{"use strict";let b=(0,a.i(70106).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);a.s(["Copy",()=>b],5151)},7827,a=>{"use strict";var b=a.i(72131);a.i(87924);var c=b.createContext(void 0);function d(a){let d=b.useContext(c);return a||d||"ltr"}a.s(["useDirection",()=>d])},52806,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=new Map;for(let[a,b]of Object.entries({amp:["amp","amp-code","amp-cli","ampcode","agent-amp"],claude:["claude","claude-code","claude-cli","claudecode","ccr","claude-code-router","claude-mcp","claude-mcp-cli","claude-mcp-agent","agent-claude-code"],codex:["codex","openai-codex","codex-cli","codexcli","openai","agent-codex"],copilot:["copilot","github-copilot","githubcopilot","copilot-cli","agent-github-copilot"],cursor:["cursor","cursor-cli","cursor-agent","cursoragent","agent-cursor-cli"],droid:["droid","factory-droid","factory_droid","agent-droid"],gemini:["gemini","gemini-cli","google-gemini","googlegemini","agent-gemini"],opencode:["opencode","open-code","open_code","open-code-cli","agent-opencode"],qwen:["qwen","qwen-code","qwen_code","qwen-code-cli","agent-qwen-code"]}))for(let c of b)d.set(e(c),a);function e(a){return a.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/_+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}function f(a){let b=e(a);if(!b)return null;let c=d.get(b);if(c)return c;for(let a of b.split("-")){let b=d.get(a);if(b)return b}for(let[a,c]of d.entries())if(b===a||b.startsWith(`${a}-`)||b.endsWith(`-${a}`)||b.includes(`-${a}-`))return c;return null}function g(a){try{let b=new URL(a),c=f(b.hostname.replace(/^www\./,"").replace(/\./g,"-"));if(c)return c;return f(b.pathname.replace(/\//g,"-"))}catch{return f(a)}}function h({label:a,className:c}){let d=a.split(/[^a-z0-9]/iu).filter(Boolean).slice(0,2).map(a=>a[0]?.toUpperCase()).join("");return(0,b.jsx)("span",{"aria-hidden":"true",className:`inline-flex shrink-0 items-center justify-center rounded-[0.2rem] text-[9px] font-semibold text-white ${c}`,style:{backgroundColor:function(a){let b=["#14b8a6","#06b6d4","#0ea5e9","#8b5cf6","#ec4899","#f97316","#f59e0b","#ef4444","#22c55e","#84cc16"],c=0;for(let d=0;d<a.length;d+=1)c=(31*c+a.charCodeAt(d))%b.length;return b[Math.abs(c)%b.length]??"#6b7280"}(`${a}:${a.length}`)},children:d||"AI"})}function i({seed:a,className:d="h-6 w-6"}){let[e,i]=(0,c.useState)(0),j=a?.label?.trim()??"",k=(0,c.useMemo)(()=>{var b;if(!j)return[];let c=f((b={label:j,iconUrl:a?.iconUrl,homepage:a?.homepage}).label)??(b.homepage?g(b.homepage):null)??(b.iconUrl?g(b.iconUrl):null),d="string"==typeof a?.iconUrl&&a.iconUrl.trim().length>0?a.iconUrl.trim():null,e=[];return c&&(e.push(`/agents/${c}-dark.svg`),e.push(`/agents/${c}-light.svg`)),d&&e.push(d),e},[j,a?.homepage,a?.iconUrl]);if((0,c.useEffect)(()=>{i(0)},[j,k]),!j)return(0,b.jsx)(h,{label:"AI",className:d});let l=k[e]??null;return l?(0,b.jsx)("img",{src:l,alt:`${j} icon`,loading:"lazy",className:`${d} shrink-0 rounded-[0.2rem] object-contain scale-125`,onError:()=>i(a=>a+1)}):(0,b.jsx)(h,{label:j,className:d})}a.s(["AgentTileIcon",()=>i])},28790,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);a.s(["RefreshCcw",()=>b],28790)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},87532,a=>{"use strict";let b=(0,a.i(70106).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);a.s(["Search",()=>b],87532)},70106,a=>{"use strict";var b=a.i(72131);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],70106)},96221,a=>{"use strict";let b=(0,a.i(70106).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],96221)},5784,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",()=>b],5784)},50522,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>b],50522)},92596,a=>{"use strict";let b=(0,a.i(70106).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>b],92596)},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},34959,a=>{"use strict";var b=a.i(72131);function c(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function d(){let[a,d]=(0,b.useState)(null),[e,f]=(0,b.useState)(!0),[g,h]=(0,b.useState)(null),i=(0,b.useRef)(!1),j=(0,b.useCallback)(async()=>{try{var a;let b,e,f,g=await fetch("/api/preferences"),i=await g.json().catch(()=>null);if(!g.ok)throw Error(i?.error??`Failed to load preferences: ${g.status}`);d((a=i?.preferences,b=c(a),f=(e=c(b.notifications)).soundFile,{onboardingAcknowledged:!0===b.onboardingAcknowledged,codingAgent:"string"==typeof b.codingAgent&&b.codingAgent.trim().length>0?b.codingAgent.trim():"claude-code",ide:"string"==typeof b.ide&&b.ide.trim().length>0?b.ide.trim():"vscode",markdownEditor:"string"==typeof b.markdownEditor&&b.markdownEditor.trim().length>0?b.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof b.markdownEditorPath?b.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==e.soundEnabled,soundFile:null===f?null:"string"==typeof f&&f.trim().length>0?f.trim():"abstract-sound-4"}})),h(null)}catch(a){d(null),h(a instanceof Error?a.message:"Failed to load preferences")}finally{f(!1)}},[]);return(0,b.useEffect)(()=>{i.current||(i.current=!0,j())},[j]),{preferences:a,loading:e,error:g,refresh:j}}a.s(["usePreferences",()=>d])},71541,a=>{"use strict";let b,c,d;var e=a.i(87924),f=a.i(26006),g=a.i(72131),h=a.i(70121),i=Symbol.for("react.lazy"),j=g[" use ".trim().toString()];function k(a){var b;return null!=a&&"object"==typeof a&&"$$typeof"in a&&a.$$typeof===i&&"_payload"in a&&"object"==typeof(b=a._payload)&&null!==b&&"then"in b}var l=((d=g.forwardRef((a,b)=>{let{children:c,...d}=a;if(k(c)&&"function"==typeof j&&(c=j(c._payload)),g.isValidElement(c)){var e;let a,f,i=(e=c,(f=(a=Object.getOwnPropertyDescriptor(e.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.ref:(f=(a=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref),j=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(d,c.props);return c.type!==g.Fragment&&(j.ref=b?(0,h.composeRefs)(b,i):i),g.cloneElement(c,j)}return g.Children.count(c)>1?g.Children.only(null):null})).displayName="Slot.SlotClone",b=d,(c=g.forwardRef((a,c)=>{let{children:d,...f}=a;k(d)&&"function"==typeof j&&(d=j(d._payload));let h=g.Children.toArray(d),i=h.find(n);if(i){let a=i.props.children,d=h.map(b=>b!==i?b:g.Children.count(a)>1?g.Children.only(null):g.isValidElement(a)?a.props.children:null);return(0,e.jsx)(b,{...f,ref:c,children:g.isValidElement(a)?g.cloneElement(a,void 0,d):null})}return(0,e.jsx)(b,{...f,ref:c,children:d})})).displayName="Slot.Slot",c),m=Symbol("radix.slottable");function n(a){return g.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===m}let o={default:"border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]",primary:"border-[var(--vk-border)] bg-[var(--vk-bg-active)] text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]",ghost:"border-transparent bg-transparent text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]",danger:"border-[var(--vk-red)]/40 bg-[color:color-mix(in_srgb,var(--vk-red)_18%,transparent)] text-[var(--vk-red)] hover:bg-[color:color-mix(in_srgb,var(--vk-red)_24%,transparent)]",outline:"border-[var(--vk-border)] bg-transparent text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]"},p={sm:"h-7 px-2.5 text-[12px] gap-1",md:"h-8 px-3 text-[13px] gap-1.5",lg:"h-9 px-3.5 text-[14px] gap-2",icon:"h-8 w-8 p-0"},q=(0,g.forwardRef)(({variant:a="default",size:b="md",asChild:c,className:d,children:g,...h},i)=>(0,e.jsx)(c?l:"button",{ref:i,className:(0,f.cn)("inline-flex items-center justify-center rounded-[var(--radius-sm)] border font-medium","transition-colors duration-150","focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--vk-orange)]","disabled:pointer-events-none disabled:opacity-45",o[a],p[b],d),...h,children:g}));q.displayName="Button",a.s(["Button",0,q],71541)},33508,a=>{"use strict";let b=(0,a.i(70106).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",()=>b],33508)},28257,1581,a=>{"use strict";let b='MesloLGM Nerd Font, MesloLGM NF, MesloLGS NF, MesloLGS Nerd Font, Hack Nerd Font, FiraCode Nerd Font, JetBrainsMono Nerd Font, CaskaydiaCove Nerd Font, Menlo, Monaco, "Courier New", SF Mono, SF Pro, monospace',c={background:"#060404",foreground:"#efe8e1",cursor:"#f08f56",cursorAccent:"#120d0d",selectionBackground:"#3a2a24",black:"#120d0d",red:"#ff8f7a",green:"#8fd18a",yellow:"#f3bd67",blue:"#7aa2f7",magenta:"#c792ea",cyan:"#74c7b8",white:"#d8d0c8",brightBlack:"#6f625b",brightRed:"#ffb4a6",brightGreen:"#b7f0b0",brightYellow:"#ffd899",brightBlue:"#9ec1ff",brightMagenta:"#ddb6ff",brightCyan:"#a4f1e0",brightWhite:"#fff8f2"},d={background:"#ffffff",foreground:"#000000",cursor:"#000000",cursorAccent:"#ffffff",selectionBackground:"#add6ff",black:"#2e3436",red:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightBlack:"#555753",brightRed:"#ef2929",brightGreen:"#8ae234",brightYellow:"#fce94f",brightBlue:"#729fcf",brightMagenta:"#ad7fa8",brightCyan:"#34e2e2",brightWhite:"#eeeeec"};function e(a){return a?d:c}function f(a){return a<420?{fontFamily:"'SF Mono', Menlo, Monaco, monospace",fontSize:10,lineHeight:1.1}:a<560?{fontFamily:"'SF Mono', Menlo, Monaco, monospace",fontSize:11,lineHeight:1.15}:a<768?{fontFamily:"'SF Mono', Menlo, Monaco, monospace",fontSize:12,lineHeight:1.2}:a<1024?{fontFamily:b,fontSize:13,lineHeight:1.2}:{fontFamily:b,fontSize:14,lineHeight:1.2}}function g(a,b,c,d){let e=Number.isFinite(a)?Math.max(0,a):0,f=Number.isFinite(b)?Math.max(0,b):e,g=Number.isFinite(c)?Math.max(0,c):0,h=Number.isFinite(d)?Math.max(0,d):0,i=Math.max(0,e-(f+g));return{usableHeight:Math.round(Math.max(0,f-Math.max(0,h-g))),keyboardInset:Math.round(i),keyboardVisible:i>=80}}a.s(["TERMINAL_FONT_FAMILY",0,b,"getTerminalTheme",()=>e],1581),a.s(["calculateMobileTerminalViewportMetrics",()=>g,"getSessionTerminalViewportOptions",()=>f],28257)},9323,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(50944),e=a.i(17402),f=a.i(48171),g=a.i(62586),h=a.i(5913),i=a.i(37483);a.i(28257);var j=a.i(35757),k=a.i(61693),l=a.i(72865);function m(){let a=(0,d.useParams)(),m=(0,d.useRouter)(),n=(0,d.useSearchParams)(),{projects:o}=(0,j.useConfig)(),{session:p}=(0,k.useSession)(a.id),{mobileSidebarOpen:q,desktopSidebarOpen:r,toggleSidebar:s,closeSidebarOnMobile:t}=(0,e.useResponsiveSidebarStateWithOptions)({initialDesktopOpen:!1}),u=q||r,{sessions:v,refresh:w}=(0,l.useSessions)(void 0,{enabled:u}),[x,y]=(0,c.useState)(null),[z,A]=(0,c.useState)(!1),B=(0,c.useMemo)(()=>{let a=n.get("tab");return"overview"!==a&&"preview"!==a&&"diff"!==a},[n])&&z,C=(0,c.useMemo)(()=>p?[p.projectId,p.branch].filter(Boolean).join(" · "):x||"Session",[p,x]);async function D(b){let c=await fetch(`/api/sessions/${encodeURIComponent(b)}/archive`,{method:"POST"}),d=await c.json().catch(()=>null);if(404===c.status&&(c=await fetch(`/api/sessions/${encodeURIComponent(b)}/actions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"archive"})}),d=await c.json().catch(()=>null)),!c.ok)throw Error(d?.error??`Failed to archive session: ${c.status}`);b===a.id?m.push("/"):await w()}return((0,c.useEffect)(()=>{p?.projectId?y(p.projectId):!x&&o.length>0&&y(o[0]?.id??null)},[p?.projectId,o,x]),(0,c.useEffect)(()=>{},[]),a.id)?(0,b.jsxs)(f.AppShell,{mobileSidebarOpen:q,desktopSidebarOpen:r,onToggleSidebar:s,hideMobileSidebarToggle:B,sidebar:u?(0,b.jsx)(h.WorkspaceSidebarPanel,{projects:o,selectedProjectId:x,onSelectProject:a=>{null===a?m.push("/"):y(a)},sessions:v,selectedSessionId:a.id,onSelectSession:(a,b)=>{let c=new URLSearchParams;b?.tab&&c.set("tab",b.tab);let d=c.toString();m.push(d.length>0?`/sessions/${encodeURIComponent(a)}?${d}`:`/sessions/${encodeURIComponent(a)}`),t()},onArchiveSession:D,onCreateWorkspace:()=>{m.push("/")}}):null,children:[B?null:(0,b.jsx)(g.TopBar,{title:C}),(0,b.jsx)("div",{className:`flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden ${B?"bg-[#060404]":""}`,children:(0,b.jsx)(i.SessionDetail,{sessionId:a.id,initialSession:p,immersiveMobileMode:B,onOpenSidebar:s},a.id)})]}):(0,b.jsx)("div",{className:"flex h-dvh min-h-[100dvh] items-center justify-center",children:(0,b.jsx)("span",{className:"text-[13px] text-[var(--text-muted)]",children:"No session ID provided"})})}a.s(["default",()=>m])},86936,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_shiki_1e31ec87._.js"].map(b=>a.l(b))).then(()=>b(5104)))},81469,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_6d2fa1ea._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionTerminal_tsx_eaf9458b._.js"].map(b=>a.l(b))).then(()=>b(76686)))},40376,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_be5674e6._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionPreview_tsx_ec32db81._.js"].map(b=>a.l(b))).then(()=>b(64600)))}];
1
+ module.exports=[15618,a=>{"use strict";let b=(0,a.i(70106).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>b],15618)},44494,48677,a=>{"use strict";var b=a.i(70106);let c=(0,b.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);a.s(["Globe",()=>c],44494);let d=(0,b.default)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]]);a.s(["default",()=>d],48677)},48079,a=>{"use strict";var b=a.i(87924),c=a.i(26006);let d=(0,a.i(72131).forwardRef)(({className:a,...d},e)=>(0,b.jsx)("div",{ref:e,className:(0,c.cn)("surface-card rounded-[var(--radius-md)] border",a),...d}));function e({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("flex items-center gap-2 border-b border-[var(--vk-border)] px-3 py-2",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{className:(0,c.cn)("px-3 py-2",a),...d})}d.displayName="Card",a.s(["Card",0,d,"CardContent",()=>f,"CardHeader",()=>e])},10948,a=>{"use strict";let b=(0,a.i(70106).default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);a.s(["GitBranch",()=>b],10948)},69630,a=>{"use strict";function b(a){return"merged"===a.status||"archived"===a.status||"killed"===a.status||"errored"===a.status||"cleanup"===a.status||"done"===a.status||"terminated"===a.status||a.pr&&("merged"===a.pr.state||"closed"===a.pr.state)?"done":"mergeable"===a.status||"approved"===a.status||a.pr?.mergeability.mergeable?"merge":"waiting_input"===a.activity||"blocked"===a.activity||"needs_input"===a.status||"stuck"===a.status?"respond":"queued"===a.status?"pending":"exited"===a.activity?"respond":"ci_failed"===a.status||"changes_requested"===a.status||a.pr&&("failing"===a.pr.ciStatus||"changes_requested"===a.pr.reviewDecision||!a.pr.mergeability.noConflicts)?"review":"review_pending"===a.status||a.pr&&!a.pr.isDraft&&("pending"===a.pr.reviewDecision||"none"===a.pr.reviewDecision)?"pending":"working"}a.s(["getAttentionLevel",()=>b])},65385,a=>{"use strict";let b=(0,a.i(70106).default)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);a.s(["Settings2",()=>b],65385)},5151,a=>{"use strict";let b=(0,a.i(70106).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);a.s(["Copy",()=>b],5151)},7827,a=>{"use strict";var b=a.i(72131);a.i(87924);var c=b.createContext(void 0);function d(a){let d=b.useContext(c);return a||d||"ltr"}a.s(["useDirection",()=>d])},52806,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=new Map;for(let[a,b]of Object.entries({amp:["amp","amp-code","amp-cli","ampcode","agent-amp"],claude:["claude","claude-code","claude-cli","claudecode","ccr","claude-code-router","claude-mcp","claude-mcp-cli","claude-mcp-agent","agent-claude-code"],codex:["codex","openai-codex","codex-cli","codexcli","openai","agent-codex"],copilot:["copilot","github-copilot","githubcopilot","copilot-cli","agent-github-copilot"],cursor:["cursor","cursor-cli","cursor-agent","cursoragent","agent-cursor-cli"],droid:["droid","factory-droid","factory_droid","agent-droid"],gemini:["gemini","gemini-cli","google-gemini","googlegemini","agent-gemini"],opencode:["opencode","open-code","open_code","open-code-cli","agent-opencode"],qwen:["qwen","qwen-code","qwen_code","qwen-code-cli","agent-qwen-code"]}))for(let c of b)d.set(e(c),a);function e(a){return a.trim().toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/_+/g,"-").replace(/-+/g,"-").replace(/^-+|-+$/g,"")}function f(a){let b=e(a);if(!b)return null;let c=d.get(b);if(c)return c;for(let a of b.split("-")){let b=d.get(a);if(b)return b}for(let[a,c]of d.entries())if(b===a||b.startsWith(`${a}-`)||b.endsWith(`-${a}`)||b.includes(`-${a}-`))return c;return null}function g(a){try{let b=new URL(a),c=f(b.hostname.replace(/^www\./,"").replace(/\./g,"-"));if(c)return c;return f(b.pathname.replace(/\//g,"-"))}catch{return f(a)}}function h({label:a,className:c}){let d=a.split(/[^a-z0-9]/iu).filter(Boolean).slice(0,2).map(a=>a[0]?.toUpperCase()).join("");return(0,b.jsx)("span",{"aria-hidden":"true",className:`inline-flex shrink-0 items-center justify-center rounded-[0.2rem] text-[9px] font-semibold text-white ${c}`,style:{backgroundColor:function(a){let b=["#14b8a6","#06b6d4","#0ea5e9","#8b5cf6","#ec4899","#f97316","#f59e0b","#ef4444","#22c55e","#84cc16"],c=0;for(let d=0;d<a.length;d+=1)c=(31*c+a.charCodeAt(d))%b.length;return b[Math.abs(c)%b.length]??"#6b7280"}(`${a}:${a.length}`)},children:d||"AI"})}function i({seed:a,className:d="h-6 w-6"}){let[e,i]=(0,c.useState)(0),j=a?.label?.trim()??"",k=(0,c.useMemo)(()=>{var b;if(!j)return[];let c=f((b={label:j,iconUrl:a?.iconUrl,homepage:a?.homepage}).label)??(b.homepage?g(b.homepage):null)??(b.iconUrl?g(b.iconUrl):null),d="string"==typeof a?.iconUrl&&a.iconUrl.trim().length>0?a.iconUrl.trim():null,e=[];return c&&(e.push(`/agents/${c}-dark.svg`),e.push(`/agents/${c}-light.svg`)),d&&e.push(d),e},[j,a?.homepage,a?.iconUrl]);if((0,c.useEffect)(()=>{i(0)},[j,k]),!j)return(0,b.jsx)(h,{label:"AI",className:d});let l=k[e]??null;return l?(0,b.jsx)("img",{src:l,alt:`${j} icon`,loading:"lazy",className:`${d} shrink-0 rounded-[0.2rem] object-contain scale-125`,onError:()=>i(a=>a+1)}):(0,b.jsx)(h,{label:j,className:d})}a.s(["AgentTileIcon",()=>i])},28790,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-ccw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);a.s(["RefreshCcw",()=>b],28790)},69520,a=>{"use strict";let b=(0,a.i(70106).default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);a.s(["RefreshCw",()=>b],69520)},87532,a=>{"use strict";let b=(0,a.i(70106).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);a.s(["Search",()=>b],87532)},70106,a=>{"use strict";var b=a.i(72131);let c=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim(),d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let f=(0,b.forwardRef)(({color:a="currentColor",size:d=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:d,height:d,stroke:a,strokeWidth:g?24*Number(f)/Number(d):f,className:c("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:c(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g};a.s(["default",()=>g],70106)},96221,a=>{"use strict";let b=(0,a.i(70106).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],96221)},5784,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",()=>b],5784)},50522,a=>{"use strict";let b=(0,a.i(70106).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);a.s(["ChevronRight",()=>b],50522)},92596,a=>{"use strict";let b=(0,a.i(70106).default)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);a.s(["Folder",()=>b],92596)},52495,a=>{"use strict";let b=(0,a.i(70106).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);a.s(["ExternalLink",()=>b],52495)},34959,a=>{"use strict";var b=a.i(72131);function c(a){return!a||"object"!=typeof a||Array.isArray(a)?{}:{...a}}function d(){let[a,d]=(0,b.useState)(null),[e,f]=(0,b.useState)(!0),[g,h]=(0,b.useState)(null),i=(0,b.useRef)(!1),j=(0,b.useCallback)(async()=>{try{var a;let b,e,f,g=await fetch("/api/preferences"),i=await g.json().catch(()=>null);if(!g.ok)throw Error(i?.error??`Failed to load preferences: ${g.status}`);d((a=i?.preferences,b=c(a),f=(e=c(b.notifications)).soundFile,{onboardingAcknowledged:!0===b.onboardingAcknowledged,codingAgent:"string"==typeof b.codingAgent&&b.codingAgent.trim().length>0?b.codingAgent.trim():"claude-code",ide:"string"==typeof b.ide&&b.ide.trim().length>0?b.ide.trim():"vscode",markdownEditor:"string"==typeof b.markdownEditor&&b.markdownEditor.trim().length>0?b.markdownEditor.trim():"obsidian",markdownEditorPath:"string"==typeof b.markdownEditorPath?b.markdownEditorPath.trim():"",notifications:{soundEnabled:!1!==e.soundEnabled,soundFile:null===f?null:"string"==typeof f&&f.trim().length>0?f.trim():"abstract-sound-4"}})),h(null)}catch(a){d(null),h(a instanceof Error?a.message:"Failed to load preferences")}finally{f(!1)}},[]);return(0,b.useEffect)(()=>{i.current||(i.current=!0,j())},[j]),{preferences:a,loading:e,error:g,refresh:j}}a.s(["usePreferences",()=>d])},71541,a=>{"use strict";let b,c,d;var e=a.i(87924),f=a.i(26006),g=a.i(72131),h=a.i(70121),i=Symbol.for("react.lazy"),j=g[" use ".trim().toString()];function k(a){var b;return null!=a&&"object"==typeof a&&"$$typeof"in a&&a.$$typeof===i&&"_payload"in a&&"object"==typeof(b=a._payload)&&null!==b&&"then"in b}var l=((d=g.forwardRef((a,b)=>{let{children:c,...d}=a;if(k(c)&&"function"==typeof j&&(c=j(c._payload)),g.isValidElement(c)){var e;let a,f,i=(e=c,(f=(a=Object.getOwnPropertyDescriptor(e.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.ref:(f=(a=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?e.props.ref:e.props.ref||e.ref),j=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(d,c.props);return c.type!==g.Fragment&&(j.ref=b?(0,h.composeRefs)(b,i):i),g.cloneElement(c,j)}return g.Children.count(c)>1?g.Children.only(null):null})).displayName="Slot.SlotClone",b=d,(c=g.forwardRef((a,c)=>{let{children:d,...f}=a;k(d)&&"function"==typeof j&&(d=j(d._payload));let h=g.Children.toArray(d),i=h.find(n);if(i){let a=i.props.children,d=h.map(b=>b!==i?b:g.Children.count(a)>1?g.Children.only(null):g.isValidElement(a)?a.props.children:null);return(0,e.jsx)(b,{...f,ref:c,children:g.isValidElement(a)?g.cloneElement(a,void 0,d):null})}return(0,e.jsx)(b,{...f,ref:c,children:d})})).displayName="Slot.Slot",c),m=Symbol("radix.slottable");function n(a){return g.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===m}let o={default:"border-[var(--vk-border)] bg-[var(--vk-bg-panel)] text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]",primary:"border-[var(--vk-border)] bg-[var(--vk-bg-active)] text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]",ghost:"border-transparent bg-transparent text-[var(--vk-text-muted)] hover:bg-[var(--vk-bg-hover)] hover:text-[var(--vk-text-normal)]",danger:"border-[var(--vk-red)]/40 bg-[color:color-mix(in_srgb,var(--vk-red)_18%,transparent)] text-[var(--vk-red)] hover:bg-[color:color-mix(in_srgb,var(--vk-red)_24%,transparent)]",outline:"border-[var(--vk-border)] bg-transparent text-[var(--vk-text-normal)] hover:bg-[var(--vk-bg-hover)]"},p={sm:"h-7 px-2.5 text-[12px] gap-1",md:"h-8 px-3 text-[13px] gap-1.5",lg:"h-9 px-3.5 text-[14px] gap-2",icon:"h-8 w-8 p-0"},q=(0,g.forwardRef)(({variant:a="default",size:b="md",asChild:c,className:d,children:g,...h},i)=>(0,e.jsx)(c?l:"button",{ref:i,className:(0,f.cn)("inline-flex items-center justify-center rounded-[var(--radius-sm)] border font-medium","transition-colors duration-150","focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--vk-orange)]","disabled:pointer-events-none disabled:opacity-45",o[a],p[b],d),...h,children:g}));q.displayName="Button",a.s(["Button",0,q],71541)},33508,a=>{"use strict";let b=(0,a.i(70106).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",()=>b],33508)},28257,1581,a=>{"use strict";let b='MesloLGM Nerd Font, MesloLGM NF, MesloLGS NF, MesloLGS Nerd Font, Hack Nerd Font, FiraCode Nerd Font, JetBrainsMono Nerd Font, CaskaydiaCove Nerd Font, Menlo, Monaco, "Courier New", SF Mono, SF Pro, monospace',c={background:"#060404",foreground:"#efe8e1",cursor:"#f08f56",cursorAccent:"#120d0d",selectionBackground:"#3a2a24",black:"#120d0d",red:"#ff8f7a",green:"#8fd18a",yellow:"#f3bd67",blue:"#7aa2f7",magenta:"#c792ea",cyan:"#74c7b8",white:"#d8d0c8",brightBlack:"#6f625b",brightRed:"#ffb4a6",brightGreen:"#b7f0b0",brightYellow:"#ffd899",brightBlue:"#9ec1ff",brightMagenta:"#ddb6ff",brightCyan:"#a4f1e0",brightWhite:"#fff8f2"},d={background:"#ffffff",foreground:"#000000",cursor:"#000000",cursorAccent:"#ffffff",selectionBackground:"#add6ff",black:"#2e3436",red:"#cc0000",green:"#4e9a06",yellow:"#c4a000",blue:"#3465a4",magenta:"#75507b",cyan:"#06989a",white:"#d3d7cf",brightBlack:"#555753",brightRed:"#ef2929",brightGreen:"#8ae234",brightYellow:"#fce94f",brightBlue:"#729fcf",brightMagenta:"#ad7fa8",brightCyan:"#34e2e2",brightWhite:"#eeeeec"};function e(a){return a?d:c}function f(a){return a<420?{fontFamily:"'SF Mono', Menlo, Monaco, monospace",fontSize:10,lineHeight:1.1}:a<560?{fontFamily:"'SF Mono', Menlo, Monaco, monospace",fontSize:11,lineHeight:1.15}:a<768?{fontFamily:"'SF Mono', Menlo, Monaco, monospace",fontSize:12,lineHeight:1.2}:a<1024?{fontFamily:b,fontSize:13,lineHeight:1.2}:{fontFamily:b,fontSize:14,lineHeight:1.2}}function g(a,b,c,d){let e=Number.isFinite(a)?Math.max(0,a):0,f=Number.isFinite(b)?Math.max(0,b):e,g=Number.isFinite(c)?Math.max(0,c):0,h=Number.isFinite(d)?Math.max(0,d):0,i=Math.max(0,e-(f+g));return{usableHeight:Math.round(Math.max(0,f-Math.max(0,h-g))),keyboardInset:Math.round(i),keyboardVisible:i>=80}}a.s(["TERMINAL_FONT_FAMILY",0,b,"getTerminalTheme",()=>e],1581),a.s(["calculateMobileTerminalViewportMetrics",()=>g,"getSessionTerminalViewportOptions",()=>f],28257)},41377,a=>{"use strict";let b=(0,a.i(70106).default)("panel-left-open",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);a.s(["PanelLeftOpen",()=>b],41377)},61693,9341,87975,a=>{"use strict";var b=a.i(72131);let c=new Set,d=new Set,e=null,f=null,g=null,h=null;function i(){return c.size>0||d.size>0}function j(){return"u"<typeof document||"visible"===document.visibilityState}function k(){e&&(e.close(),e=null)}function l(a){if(Array.isArray(a))return{type:"snapshot",sessions:a};if(!a||"object"!=typeof a)return null;let b=a.type;return"snapshot"!==b&&"snapshot_delta"!==b?null:Array.isArray(a.sessions)?a:null}function m(a){return a&&"object"==typeof a&&"boolean"==typeof a.enabled?a:null}function n(a){for(let b of c)b(a);let b=m(a.appUpdate);if(b)for(let a of d)a(b)}async function o(){if("function"!=typeof fetch)return;let a=(async()=>{try{let a=await fetch("/api/sessions");if(!a.ok)return;let b=await a.json().catch(()=>null),c=l(b);if(!c)return;n(c)}catch{}try{let b=await fetch("/api/app-update");if(!b.ok)return;let c=await b.json().catch(()=>null);var a=m(c);for(let b of d)b(a)}catch{}})();f=a.finally(()=>{f===a&&(f=null)}),await a}function p(){if(!i()){k(),g&&(window.removeEventListener("focus",g),g=null),h&&(document.removeEventListener("visibilitychange",h),h=null);return}j()?!e&&"u">typeof EventSource&&i()&&j()&&((e=new EventSource("/api/events")).onmessage=a=>{try{let b=l(JSON.parse(a.data));if(!b)return;n(b)}catch{}},e.addEventListener("refresh",()=>{f||o()}),e.onerror=()=>{i()&&j()||k()}):k()}function q(a){return c.add(a),p(),()=>{c.delete(a),p()}}function r(a){return d.add(a),p(),()=>{d.delete(a),p()}}a.s(["subscribeToAppUpdateEvents",()=>r,"subscribeToSnapshotEvents",()=>q],9341);let s={sessionsById:new Map,orderedIds:[],version:0,loading:!0,error:null,listInitialized:!1,refreshPromise:null,unsubscribeSnapshots:null,activeConsumers:0,pollTimer:null,focusHandler:null,visibilityHandler:null},t=new Set;function u(){for(let a of t)a()}function v(a){return[...a.values()].sort((a,b)=>b.createdAt.localeCompare(a.createdAt)).map(a=>a.id)}function w(a,b){s.sessionsById=a,s.orderedIds=b,s.version+=1}function x(a){return{id:a.id,projectId:a.projectId,status:a.status,activity:a.activity,branch:a.branch,issueId:a.issueId,summary:a.summary??null,createdAt:a.createdAt,lastActivityAt:a.lastActivityAt,pr:a.pr??null,metadata:a.metadata}}async function y(){if(s.refreshPromise)return void await s.refreshPromise;let a=(async()=>{try{var a;let b=await fetch("/api/sessions",{cache:"no-store"});if(!b.ok)throw Error(`Failed to fetch sessions: ${b.status}`);let c=(a=await b.json().catch(()=>null),Array.isArray(a)?a:Array.isArray(a?.sessions)?a.sessions:[]),d=new Map(c.map(a=>[a.id,a]));w(d,v(d)),s.error=null}catch(a){s.error=a instanceof Error?a.message:"Failed to fetch sessions"}finally{s.loading=!1,u()}})();s.refreshPromise=a.finally(()=>{s.refreshPromise===a&&(s.refreshPromise=null)}),await a}function z(){return"visible"===document.visibilityState}function A(){null!==s.pollTimer&&(window.clearTimeout(s.pollTimer),s.pollTimer=null)}function B(){A(),0!==s.activeConsumers&&z()&&(s.pollTimer=window.setTimeout(async()=>{0!==s.activeConsumers&&z()&&(await y(),B())},15e3))}function C(){s.activeConsumers+=1,s.activeConsumers>1||(s.unsubscribeSnapshots||(s.unsubscribeSnapshots=q(a=>{if("snapshot"===a.type)w(new Map(a.sessions.map(a=>{let b=x(a);return[b.id,b]})),a.sessions.map(a=>a.id));else{let b=new Map(s.sessionsById);for(let c of a.sessions){let a=x(c);b.set(a.id,a)}for(let c of a.removedSessionIds??[])b.delete(c);w(b,v(b))}s.loading=!1,s.error=null,u()})),s.listInitialized||(s.listInitialized=!0),function(){if(s.focusHandler||s.visibilityHandler)return;let a=()=>{0!==s.activeConsumers&&(y(),B())},b=()=>{0!==s.activeConsumers&&("visible"===document.visibilityState&&y(),A(),B())};s.focusHandler=a,s.visibilityHandler=b,window.addEventListener("focus",a),document.addEventListener("visibilitychange",b)}(),z()&&y(),B())}function D(){s.activeConsumers=Math.max(0,s.activeConsumers-1),s.activeConsumers>0||(A(),s.focusHandler&&(window.removeEventListener("focus",s.focusHandler),s.focusHandler=null),s.visibilityHandler&&(document.removeEventListener("visibilitychange",s.visibilityHandler),s.visibilityHandler=null),s.unsubscribeSnapshots?.(),s.unsubscribeSnapshots=null)}function E(a){return t.add(a),()=>{t.delete(a)}}async function F(a){try{let b=await fetch(`/api/sessions/${encodeURIComponent(a)}`,{cache:"no-store"});if(404===b.status){let b=new Map(s.sessionsById);return b.delete(a),w(b,v(b)),s.error=null,u(),null}if(!b.ok)throw Error(`Failed to fetch session: ${b.status}`);let c=await b.json(),d=new Map(s.sessionsById);return d.set(c.id,c),w(d,v(d)),s.error=null,c}catch(a){throw s.error=a instanceof Error?a.message:"Failed to fetch session",a}finally{s.loading=!1,u()}}function G(a,c){let d=c?.enabled??!0,[,e]=(0,b.useReducer)(a=>a+1,0);return(0,b.useEffect)(()=>{if(!d)return;C();let a=E(()=>e());return()=>{a(),D()}},[d]),{sessions:(0,b.useMemo)(()=>{let b;return d?(b=a?.trim(),s.orderedIds.map(a=>s.sessionsById.get(a)).filter(a=>!!a).filter(a=>!b||a.projectId===b)):[]},[d,a,s.version]),loading:!!d&&s.loading,error:d?s.error:null,refresh:y}}function H(a,c=null,d){let e=d?.enabled??!0,[,f]=(0,b.useReducer)(a=>a+1,0),g="string"==typeof a&&a.trim().length>0?a.trim():null,[h,i]=(0,b.useState)(c),[j,k]=(0,b.useState)(null),[l,m]=(0,b.useState)(e&&null!==g&&null===c&&!s.sessionsById.has(g));return(0,b.useEffect)(()=>{!function(a){if(!a)return;let b=s.sessionsById.get(a.id);if(b&&JSON.stringify(b)===JSON.stringify(a))return;let c=new Map(s.sessionsById);c.set(a.id,a),w(c,v(c)),s.loading=!1,u()}(c),i(c),k(null)},[c]),(0,b.useEffect)(()=>{if(e&&null!==g)return E(()=>f())},[e,g]),(0,b.useEffect)(()=>{if(e&&null!==g)return C(),()=>{D()}},[e,g]),(0,b.useEffect)(()=>{if(!e||null===g){i(null),k(null),m(!1);return}if(c||s.sessionsById.has(g)){i(a=>s.sessionsById.get(g)??a??c),k(null),m(!1);return}let a=!1;return m(!0),k(null),F(g).then(b=>{a||(i(b),k(null))}).catch(b=>{a||(i(null),k(b instanceof Error?b.message:"Failed to fetch session"))}).finally(()=>{a||m(!1)}),()=>{a=!0}},[e,g,c]),{session:g?s.sessionsById.get(g)??h??c??null:null,loading:l,error:e&&g?j??s.error:null}}function I(a,b=null,c){return H(a,b,c)}a.s(["useSharedSession",()=>H,"useSharedSessions",()=>G],87975),a.s(["useSession",()=>I],61693)},9323,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(50944),e=a.i(17402),f=a.i(48171),g=a.i(62586),h=a.i(5913),i=a.i(37483);a.i(28257);var j=a.i(35757),k=a.i(61693),l=a.i(72865);function m(){let a=(0,d.useParams)(),m=(0,d.useRouter)(),n=(0,d.useSearchParams)(),{projects:o}=(0,j.useConfig)(),{session:p}=(0,k.useSession)(a.id),{mobileSidebarOpen:q,desktopSidebarOpen:r,toggleSidebar:s,closeSidebarOnMobile:t}=(0,e.useResponsiveSidebarStateWithOptions)({initialDesktopOpen:!1}),u=q||r,{sessions:v,refresh:w}=(0,l.useSessions)(void 0,{enabled:u}),[x,y]=(0,c.useState)(null),[z,A]=(0,c.useState)(!1),B=(0,c.useMemo)(()=>{let a=n.get("tab");return"overview"!==a&&"preview"!==a&&"diff"!==a},[n])&&z,C=(0,c.useMemo)(()=>p?[p.projectId,p.branch].filter(Boolean).join(" · "):x||"Session",[p,x]);async function D(b){let c=await fetch(`/api/sessions/${encodeURIComponent(b)}/archive`,{method:"POST"}),d=await c.json().catch(()=>null);if(404===c.status&&(c=await fetch(`/api/sessions/${encodeURIComponent(b)}/actions`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"archive"})}),d=await c.json().catch(()=>null)),!c.ok)throw Error(d?.error??`Failed to archive session: ${c.status}`);b===a.id?m.push("/"):await w()}return((0,c.useEffect)(()=>{p?.projectId?y(p.projectId):!x&&o.length>0&&y(o[0]?.id??null)},[p?.projectId,o,x]),(0,c.useEffect)(()=>{},[]),a.id)?(0,b.jsxs)(f.AppShell,{mobileSidebarOpen:q,desktopSidebarOpen:r,onToggleSidebar:s,hideMobileSidebarToggle:B,sidebar:u?(0,b.jsx)(h.WorkspaceSidebarPanel,{projects:o,selectedProjectId:x,onSelectProject:a=>{null===a?m.push("/"):y(a)},sessions:v,selectedSessionId:a.id,onSelectSession:(a,b)=>{let c=new URLSearchParams;b?.tab&&c.set("tab",b.tab);let d=c.toString();m.push(d.length>0?`/sessions/${encodeURIComponent(a)}?${d}`:`/sessions/${encodeURIComponent(a)}`),t()},onArchiveSession:D,onCreateWorkspace:()=>{m.push("/")}}):null,children:[B?null:(0,b.jsx)(g.TopBar,{title:C}),(0,b.jsx)("div",{className:`flex min-h-0 min-w-0 flex-1 flex-col overflow-hidden ${B?"bg-[#060404]":""}`,children:(0,b.jsx)(i.SessionDetail,{sessionId:a.id,initialSession:p,immersiveMobileMode:B,onOpenSidebar:s},a.id)})]}):(0,b.jsx)("div",{className:"flex h-dvh min-h-[100dvh] items-center justify-center",children:(0,b.jsx)("span",{className:"text-[13px] text-[var(--text-muted)]",children:"No session ID provided"})})}a.s(["default",()=>m])},86936,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_shiki_1e31ec87._.js"].map(b=>a.l(b))).then(()=>b(5104)))},81469,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_be1275d0._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionTerminal_tsx_eaf9458b._.js"].map(b=>a.l(b))).then(()=>b(76686)))},40376,a=>{a.v(b=>Promise.all(["server/chunks/ssr/_be5674e6._.js","server/chunks/ssr/packages_web_src_components_sessions_SessionPreview_tsx_ec32db81._.js"].map(b=>a.l(b))).then(()=>b(64600)))}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__a565f9a3._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__742dad30._.js.map
@@ -1,4 +1,4 @@
1
1
  module.exports=[66680,(a,b,c)=>{b.exports=a.x("node:crypto",()=>require("node:crypto"))},37936,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"registerServerReference",{enumerable:!0,get:function(){return d.registerServerReference}});let d=a.r(11857)},13095,(a,b,c)=>{"use strict";function d(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["CI","CONTINUOUS_INTEGRATION","BUILD_NUMBER","BUILD_ID","BUILDKITE","CIRCLECI","GITHUB_ACTIONS","GITLAB_CI","JENKINS_URL","TRAVIS","APPVEYOR","WERCKER","DRONE","CODESHIP","SEMAPHORE","SHIPPABLE","TEAMCITY_VERSION","BAMBOO_BUILDKEY","GO_PIPELINE_NAME","TF_BUILD","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITBUCKET_BUILD_NUMBER","HEROKU_TEST_RUN_ID","VERCEL","NETLIFY"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"00f713ffc2252f2a0d6d141bae62925671364d4173",null),(0,b.registerServerReference)(g,"40e689fded02697ba21d799e1926a50532dc6a2151",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"40445bd28d7a736859660d7057c8c48b8ec362ec73",null),(0,b.registerServerReference)(l,"00c489341bec725518180a01caf1fa64413a4c4d6c",null),(0,b.registerServerReference)(m,"00cc4dda20652bb1f29681e8287b1ca5afe99700b6",null),(0,b.registerServerReference)(n,"00a6acb8e6d7fe1da72be14c7cecdac1e1c23c763a",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ensureServerEntryExports",{enumerable:!0,get:function(){return d}})},85978,a=>{"use strict";var b=a.i(37936),c=a.i(5246),d=a.i(13095);async function e(){var a,b,d,e,g,h;let i,j=await (0,c.headers)();return{nodeVersion:process.version,nextVersion:function(){var a;try{return null!=(a=process.title)?a:"unknown-process-title"}catch{return}}(),npmConfigUserAgent:process.env.npm_config_user_agent,userAgent:null!=(a=j.get("User-Agent"))?a:"unknown user-agent",port:process.env.PORT,host:null!=(b=j.get("host"))?b:"unknown host",xPort:null!=(d=j.get("x-forwarded-port"))?d:"unknown x-forwarded-port",xHost:null!=(e=j.get("x-forwarded-host"))?e:"unknown x-forwarded-host",xProtocol:null!=(g=j.get("x-forwarded-proto"))?g:"unknown x-forwarded-proto",xClerkAuthStatus:null!=(h=j.get("x-clerk-auth-status"))?h:"unknown x-clerk-auth-status",isCI:(i=new Set(["","false","0","no"]),f.some(a=>{let b=process.env[a];if(void 0===b)return!1;let c=b.trim().toLowerCase();return!i.has(c)}))}}let f=["CI","CONTINUOUS_INTEGRATION","BUILD_NUMBER","BUILD_ID","BUILDKITE","CIRCLECI","GITHUB_ACTIONS","GITLAB_CI","JENKINS_URL","TRAVIS","APPVEYOR","WERCKER","DRONE","CODESHIP","SEMAPHORE","SHIPPABLE","TEAMCITY_VERSION","BAMBOO_BUILDKEY","GO_PIPELINE_NAME","TF_BUILD","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITBUCKET_BUILD_NUMBER","HEROKU_TEST_RUN_ID","VERCEL","NETLIFY"];async function g(a){let b=new Headers;return a.nodeVersion&&b.set("Clerk-Node-Version",a.nodeVersion),a.nextVersion&&b.set("Clerk-Next-Version",a.nextVersion),a.npmConfigUserAgent&&b.set("Clerk-NPM-Config-User-Agent",a.npmConfigUserAgent),a.userAgent&&b.set("Clerk-Client-User-Agent",a.userAgent),a.port&&b.set("Clerk-Node-Port",a.port),a.host&&b.set("Clerk-Client-Host",a.host),a.xPort&&b.set("Clerk-X-Port",a.xPort),a.xHost&&b.set("Clerk-X-Host",a.xHost),a.xProtocol&&b.set("Clerk-X-Protocol",a.xProtocol),a.xClerkAuthStatus&&b.set("Clerk-Auth-Status",a.xClerkAuthStatus),a.isCI&&b.set("Clerk-Is-CI","true"),b}(0,d.ensureServerEntryExports)([e,g]),(0,b.registerServerReference)(e,"0029a6578cc26094d563c1dcedf63d298f29f20757",null),(0,b.registerServerReference)(g,"4077bbb09ed62a5bda905b106ec653ec6ca986fe88",null),a.s(["collectKeylessMetadata",()=>e,"formatMetadataHeaders",()=>g])},26022,a=>{"use strict";var b=a.i(37936),c=a.i(5246);a.i(70396);var d=a.i(73727),e=a.i(83693),f=a.i(63365),g=a.i(24088),h=a.i(43197),i=a.i(13095);let j={secure:!1,httpOnly:!1,sameSite:"lax"};async function k(a){let{claimUrl:b,publishableKey:e,secretKey:h,returnUrl:i}=a,k=await (0,c.cookies)(),l=new Request("https://placeholder.com",{headers:await (0,c.headers)()}),m=await (0,g.getKeylessCookieValue)(a=>{var b;return null==(b=k.get(a))?void 0:b.value}),n=(null==m?void 0:m.publishableKey)===e,o=(null==m?void 0:m.secretKey)===h;if((!n||!o)&&(k.set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:b,publishableKey:e,secretKey:h}),j),(0,f.detectClerkMiddleware)(l)))return void(0,d.redirect)(`/clerk-sync-keyless?returnUrl=${i}`,d.RedirectType.replace)}async function l(){if(!h.canUseKeyless)return null;let b=await a.A(72721).then(a=>a.createOrReadKeyless()).catch(()=>null);if(!b)return e.errorThrower.throwMissingPublishableKeyError(),null;let{clerkDevelopmentCache:d,createKeylessModeMessage:f}=await a.A(21215);null==d||d.log({cacheKey:b.publishableKey,msg:f(b)});let{claimUrl:i,publishableKey:k,secretKey:l,apiKeysUrl:m}=b;return(await (0,c.cookies)()).set(await (0,g.getKeylessCookieName)(),JSON.stringify({claimUrl:i,publishableKey:k,secretKey:l}),j),{claimUrl:i,publishableKey:k,apiKeysUrl:m}}async function m(){h.canUseKeyless&&await a.A(72721).then(a=>a.removeKeyless()).catch(()=>{})}async function n(){if(h.canUseKeyless)try{let{detectKeylessEnvDrift:b}=await a.A(67338);await b()}catch{}}(0,i.ensureServerEntryExports)([k,l,m,n]),(0,b.registerServerReference)(k,"40bf072a39af30611eda7afaa26967f09f95e86715",null),(0,b.registerServerReference)(l,"00c443d21f3f1c4dafe8fe5f2806620deb4c44a301",null),(0,b.registerServerReference)(m,"00eb205dc98c50449e989ec0cc26e0cfa808b105b3",null),(0,b.registerServerReference)(n,"005a665b94968f29154ef649e6769b08eccaf40437",null),a.s(["createOrReadKeylessAction",()=>l,"deleteKeylessAction",()=>m,"detectKeylessEnvDriftAction",()=>n,"syncKeylessConfigAction",()=>k])},75582,57110,76010,a=>{"use strict";var b=a.i(59292);function c(a){return async(...b)=>{let{data:c,errors:d}=await a(...b);if(d)throw d[0];return c}}function d(a){return(...b)=>{let{data:c,errors:d}=a(...b);if(d)throw d[0];return c}}a.i(79378),a.s(["withLegacyReturn",()=>c,"withLegacySyncReturn",()=>d],57110),a.i(75400),a.i(61675),a.i(16765),a.i(28249),a.i(49326),a.i(71327);var e=a.i(3598),f=a.i(36482),g=class{#a;#b=864e5;constructor(a){this.#a=a}isEventThrottled(a){let b=Date.now(),c=this.#c(a),d=this.#a.getItem(c);return!!d&&!(b-d>this.#b)||(this.#a.setItem(c,b),!1)}#c(a){let{sk:b,pk:c,payload:d,...e}=a,f={...d,...e};return JSON.stringify(Object.keys({...d,...e}).sort().map(a=>f[a]))}},h=class{#d="clerk_telemetry_throttler";getItem(a){return this.#e()[a]}setItem(a,b){try{let c=this.#e();c[a]=b,localStorage.setItem(this.#d,JSON.stringify(c))}catch(a){a instanceof DOMException&&("QuotaExceededError"===a.name||"NS_ERROR_DOM_QUOTA_REACHED"===a.name)&&localStorage.length>0&&localStorage.removeItem(this.#d)}}removeItem(a){try{let b=this.#e();delete b[a],localStorage.setItem(this.#d,JSON.stringify(b))}catch{}}#e(){try{let a=localStorage.getItem(this.#d);if(!a)return{};return JSON.parse(a)}catch{return{}}}static isSupported(){return!1}},i=class{#a=new Map;#f=1e4;getItem(a){return this.#a.size>this.#f?void this.#a.clear():this.#a.get(a)}setItem(a,b){this.#a.set(a,b)}removeItem(a){this.#a.delete(a)}};let j=new Set(["error","warn","info","debug","trace"]);var k=class{#g;#h;#i={};#j=[];#k=null;constructor(a){this.#g={maxBufferSize:a.maxBufferSize??5,samplingRate:a.samplingRate??1,perEventSampling:a.perEventSampling??!0,disabled:a.disabled??!1,debug:a.debug??!1,endpoint:"https://clerk-telemetry.com"},a.clerkVersion?this.#i.clerkVersion=a.clerkVersion??"":this.#i.clerkVersion="",this.#i.sdk=a.sdk,this.#i.sdkVersion=a.sdkVersion,this.#i.publishableKey=a.publishableKey??"";const b=(0,e.parsePublishableKey)(a.publishableKey);b&&(this.#i.instanceType=b.instanceType),a.secretKey&&(this.#i.secretKey=a.secretKey.substring(0,16)),this.#h=new g(h.isSupported()?new h:new i)}get isEnabled(){return!("development"!==this.#i.instanceType||this.#g.disabled||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DISABLED))}get isDebug(){return this.#g.debug||"u">typeof process&&process.env&&(0,f.isTruthy)(process.env.CLERK_TELEMETRY_DEBUG)}record(a){try{let b=this.#l(a.event,a.payload);if(this.#m(b.event,b),!this.#n(b,a.eventSamplingRate))return;this.#j.push({kind:"event",value:b}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry event",a)}}recordLog(a){try{if(!this.#p(a))return;let b="string"==typeof a?.level&&j.has(a.level),c="string"==typeof a?.message&&a.message.trim().length>0,d=null,e=a?.timestamp;if("number"==typeof e||"string"==typeof e){let a=new Date(e);Number.isNaN(a.getTime())||(d=a)}if(!b||!c||null===d){this.isDebug&&"u">typeof console&&console.warn("[clerk/telemetry] Dropping invalid telemetry log entry",{levelIsValid:b,messageIsValid:c,timestampIsValid:null!==d});return}let f=this.#q(),g={sdk:f.name,sdkv:f.version,cv:this.#i.clerkVersion??"",lvl:a.level,msg:a.message,ts:d.toISOString(),pk:this.#i.publishableKey||null,payload:this.#r(a.context)};this.#j.push({kind:"log",value:g}),this.#o()}catch(a){console.error("[clerk/telemetry] Error recording telemetry log entry",a)}}#n(a,b){return this.isEnabled&&!this.isDebug&&this.#s(a,b)}#p(a){return!0}#s(a,b){let c=Math.random();return!!(c<=this.#g.samplingRate&&(!1===this.#g.perEventSampling||void 0===b||c<=b))&&!this.#h.isEventThrottled(a)}#o(){this.#t()}#t(){let a=[...this.#j];if(this.#j=[],this.#k=null,0===a.length)return;let b=a.filter(a=>"event"===a.kind).map(a=>a.value),c=a.filter(a=>"log"===a.kind).map(a=>a.value);b.length>0&&fetch(new URL("/v1/event",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({events:b})}).catch(()=>void 0),c.length>0&&fetch(new URL("/v1/logs",this.#g.endpoint),{headers:{"Content-Type":"application/json"},keepalive:!0,method:"POST",body:JSON.stringify({logs:c})}).catch(()=>void 0)}#m(a,b){this.isDebug&&(void 0!==console.groupCollapsed?(console.groupCollapsed("[clerk/telemetry]",a),console.log(b),console.groupEnd()):console.log("[clerk/telemetry]",a,b))}#q(){return{name:this.#i.sdk,version:this.#i.sdkVersion}}#l(a,b){let c=this.#q();return{event:a,cv:this.#i.clerkVersion??"",it:this.#i.instanceType??"",sdk:c.name,sdkv:c.version,...this.#i.publishableKey?{pk:this.#i.publishableKey}:{},...this.#i.secretKey?{sk:this.#i.secretKey}:{},payload:b}}#r(a){if(null==a||"object"!=typeof a)return null;try{let b=JSON.parse(JSON.stringify(a));if(b&&"object"==typeof b&&!Array.isArray(b))return b;return null}catch{return null}}},l=c(b.verifyToken);function m(a){let c={...a},d=(0,b.createBackendApiClient)(c),e=(0,b.createAuthenticateRequest)({options:c,apiClient:d}),f=new k({publishableKey:c.publishableKey,secretKey:c.secretKey,samplingRate:.1,...c.sdkMetadata?{sdk:c.sdkMetadata.name,sdkVersion:c.sdkMetadata.version}:{},...c.telemetry||{}});return{...d,...e,telemetry:f}}a.s(["createClerkClient",()=>m,"verifyToken",()=>l],76010);var n=a.i(82849);let o={secretKey:n.SECRET_KEY,publishableKey:n.PUBLISHABLE_KEY,apiUrl:n.API_URL,apiVersion:n.API_VERSION,userAgent:"@clerk/nextjs@6.39.0",proxyUrl:n.PROXY_URL,domain:n.DOMAIN,isSatellite:n.IS_SATELLITE,machineSecretKey:n.MACHINE_SECRET_KEY,sdkMetadata:n.SDK_METADATA,telemetry:{disabled:n.TELEMETRY_DISABLED,debug:n.TELEMETRY_DEBUG}},p=a=>m({...o,...a});a.s(["createClerkClientWithOptions",()=>p],75582)},58658,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js <module evaluation>","Waitlist")},80832,a=>{"use strict";a.s(["APIKeys",()=>c,"CreateOrganization",()=>d,"GoogleOneTap",()=>e,"OrganizationList",()=>f,"OrganizationProfile",()=>g,"OrganizationSwitcher",()=>h,"PricingTable",()=>i,"SignIn",()=>j,"SignInButton",()=>k,"SignInWithMetamaskButton",()=>l,"SignOutButton",()=>m,"SignUp",()=>n,"SignUpButton",()=>o,"TaskChooseOrganization",()=>p,"TaskResetPassword",()=>q,"TaskSetupMFA",()=>r,"UserAvatar",()=>s,"UserButton",()=>t,"UserProfile",()=>u,"Waitlist",()=>v]);var b=a.i(11857);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call APIKeys() from the server but APIKeys is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","APIKeys"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call CreateOrganization() from the server but CreateOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","CreateOrganization"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call GoogleOneTap() from the server but GoogleOneTap is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","GoogleOneTap"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationList() from the server but OrganizationList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationList"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationProfile() from the server but OrganizationProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationProfile"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call OrganizationSwitcher() from the server but OrganizationSwitcher is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","OrganizationSwitcher"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call PricingTable() from the server but PricingTable is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","PricingTable"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignIn() from the server but SignIn is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignIn"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInButton() from the server but SignInButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInButton"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignInWithMetamaskButton() from the server but SignInWithMetamaskButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignInWithMetamaskButton"),m=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignOutButton() from the server but SignOutButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignOutButton"),n=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUp() from the server but SignUp is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUp"),o=(0,b.registerClientReference)(function(){throw Error("Attempted to call SignUpButton() from the server but SignUpButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","SignUpButton"),p=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskChooseOrganization() from the server but TaskChooseOrganization is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskChooseOrganization"),q=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskResetPassword() from the server but TaskResetPassword is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskResetPassword"),r=(0,b.registerClientReference)(function(){throw Error("Attempted to call TaskSetupMFA() from the server but TaskSetupMFA is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","TaskSetupMFA"),s=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserAvatar() from the server but UserAvatar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserAvatar"),t=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserButton() from the server but UserButton is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserButton"),u=(0,b.registerClientReference)(function(){throw Error("Attempted to call UserProfile() from the server but UserProfile is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","UserProfile"),v=(0,b.registerClientReference)(function(){throw Error("Attempted to call Waitlist() from the server but Waitlist is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@clerk/nextjs/dist/esm/client-boundary/uiComponents.js","Waitlist")},40163,a=>{"use strict";a.i(58658);var b=a.i(80832);a.n(b)},72721,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__f8f50c0b._.js"].map(b=>a.l(b))).then(()=>b(488)))},21215,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_@clerk_nextjs_dist_esm_server_keyless-log-cache_52006def.js"].map(b=>a.l(b))).then(()=>b(78829)))},67338,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__9f45b36b._.js"].map(b=>a.l(b))).then(()=>b(71227)))},67257,a=>{a.v(b=>Promise.all(["server/chunks/ssr/d4b1c_modules_@clerk_nextjs_dist_esm_app-router_client_keyless-cookie-sync_f823d0f8.js"].map(b=>a.l(b))).then(()=>b(6223)))},23804,a=>{a.v(a=>Promise.resolve().then(()=>a(5246)))},77710,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__10a850c6._.js"].map(b=>a.l(b))).then(()=>b(15866)))}];
3
3
 
4
4
  //# sourceMappingURL=%5Broot-of-the-server%5D__749fe4b2._.js.map