@leanspec/ui 0.2.5-dev.20251120070726 → 0.2.5-dev.20251120093243

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 (361) hide show
  1. package/.next/standalone/packages/ui/.next/BUILD_ID +1 -1
  2. package/.next/standalone/packages/ui/.next/app-path-routes-manifest.json +12 -0
  3. package/.next/standalone/packages/ui/.next/build-manifest.json +7 -6
  4. package/.next/standalone/packages/ui/.next/prerender-manifest.json +28 -3
  5. package/.next/standalone/packages/ui/.next/routes-manifest.json +91 -0
  6. package/.next/standalone/packages/ui/.next/server/app/_global-error/page/build-manifest.json +5 -4
  7. package/.next/standalone/packages/ui/.next/server/app/_global-error/page.js +1 -1
  8. package/.next/standalone/packages/ui/.next/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next/standalone/packages/ui/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/standalone/packages/ui/.next/server/app/_global-error.html +2 -2
  11. package/.next/standalone/packages/ui/.next/server/app/_global-error.rsc +1 -1
  12. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  13. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  14. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  15. package/.next/standalone/packages/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/.next/standalone/packages/ui/.next/server/app/_not-found/page/build-manifest.json +5 -4
  17. package/.next/standalone/packages/ui/.next/server/app/_not-found/page.js +2 -2
  18. package/.next/standalone/packages/ui/.next/server/app/_not-found/page.js.nft.json +1 -1
  19. package/.next/standalone/packages/ui/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next/standalone/packages/ui/.next/server/app/_not-found.html +2 -2
  21. package/.next/standalone/packages/ui/.next/server/app/_not-found.rsc +20 -19
  22. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_full.segment.rsc +20 -19
  23. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_index.segment.rsc +26 -25
  24. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  25. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  26. package/.next/standalone/packages/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +5 -5
  27. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route/app-paths-manifest.json +3 -0
  28. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route/build-manifest.json +11 -0
  29. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route/server-reference-manifest.json +4 -0
  30. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route.js +6 -0
  31. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route.js.map +5 -0
  32. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route.js.nft.json +1 -0
  33. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/[id]/route_client-reference-manifest.js +2 -0
  34. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route/app-paths-manifest.json +3 -0
  35. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route/build-manifest.json +11 -0
  36. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route/server-reference-manifest.json +4 -0
  37. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route.js +6 -0
  38. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route.js.map +5 -0
  39. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route.js.nft.json +1 -0
  40. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/discover/route_client-reference-manifest.js +2 -0
  41. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route/app-paths-manifest.json +3 -0
  42. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route/build-manifest.json +11 -0
  43. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route/server-reference-manifest.json +4 -0
  44. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route.js +6 -0
  45. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route.js.map +5 -0
  46. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route.js.nft.json +1 -0
  47. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/list-directory/route_client-reference-manifest.js +2 -0
  48. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route/app-paths-manifest.json +3 -0
  49. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route/build-manifest.json +11 -0
  50. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route/server-reference-manifest.json +4 -0
  51. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route.js +6 -0
  52. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route.js.map +5 -0
  53. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route.js.nft.json +1 -0
  54. package/.next/standalone/packages/ui/.next/server/app/api/local-projects/route_client-reference-manifest.js +2 -0
  55. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route/app-paths-manifest.json +3 -0
  56. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route/build-manifest.json +11 -0
  57. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route/server-reference-manifest.json +4 -0
  58. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route.js +8 -0
  59. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route.js.map +5 -0
  60. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route.js.nft.json +1 -0
  61. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/route_client-reference-manifest.js +2 -0
  62. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route/app-paths-manifest.json +3 -0
  63. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route/build-manifest.json +11 -0
  64. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route/server-reference-manifest.json +4 -0
  65. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route.js +9 -0
  66. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route.js.map +5 -0
  67. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route.js.nft.json +1 -0
  68. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/route_client-reference-manifest.js +2 -0
  69. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route/app-paths-manifest.json +3 -0
  70. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route/build-manifest.json +11 -0
  71. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route/server-reference-manifest.json +4 -0
  72. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route.js +8 -0
  73. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route.js.map +5 -0
  74. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route.js.nft.json +1 -0
  75. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/[spec]/status/route_client-reference-manifest.js +2 -0
  76. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/route.js +4 -2
  77. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/specs/route.js.nft.json +1 -1
  78. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route/app-paths-manifest.json +3 -0
  79. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route/build-manifest.json +11 -0
  80. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route/server-reference-manifest.json +4 -0
  81. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route.js +8 -0
  82. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route.js.map +5 -0
  83. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route.js.nft.json +1 -0
  84. package/.next/standalone/packages/ui/.next/server/app/api/projects/[id]/stats/route_client-reference-manifest.js +2 -0
  85. package/.next/standalone/packages/ui/.next/server/app/api/projects/route.js +3 -2
  86. package/.next/standalone/packages/ui/.next/server/app/api/projects/route.js.nft.json +1 -1
  87. package/.next/standalone/packages/ui/.next/server/app/api/revalidate/route.js +4 -2
  88. package/.next/standalone/packages/ui/.next/server/app/api/revalidate/route.js.nft.json +1 -1
  89. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/dependency-graph/route.js +4 -2
  90. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/dependency-graph/route.js.nft.json +1 -1
  91. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/route.js +4 -2
  92. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/route.js.nft.json +1 -1
  93. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/status/route.js +4 -3
  94. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/status/route.js.nft.json +1 -1
  95. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/subspecs/[file]/route.js +4 -2
  96. package/.next/standalone/packages/ui/.next/server/app/api/specs/[id]/subspecs/[file]/route.js.nft.json +1 -1
  97. package/.next/standalone/packages/ui/.next/server/app/api/stats/route.js +4 -2
  98. package/.next/standalone/packages/ui/.next/server/app/api/stats/route.js.nft.json +1 -1
  99. package/.next/standalone/packages/ui/.next/server/app/page/build-manifest.json +5 -4
  100. package/.next/standalone/packages/ui/.next/server/app/page.js +2 -2
  101. package/.next/standalone/packages/ui/.next/server/app/page.js.nft.json +1 -1
  102. package/.next/standalone/packages/ui/.next/server/app/page_client-reference-manifest.js +1 -1
  103. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page/app-paths-manifest.json +3 -0
  104. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page/build-manifest.json +18 -0
  105. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page/next-font-manifest.json +6 -0
  106. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page/react-loadable-manifest.json +1 -0
  107. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page/server-reference-manifest.json +4 -0
  108. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page.js +21 -0
  109. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page.js.map +5 -0
  110. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page.js.nft.json +1 -0
  111. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/page_client-reference-manifest.js +2 -0
  112. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page/app-paths-manifest.json +3 -0
  113. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page/build-manifest.json +18 -0
  114. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page/next-font-manifest.json +6 -0
  115. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page/react-loadable-manifest.json +1 -0
  116. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page/server-reference-manifest.json +4 -0
  117. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page.js +21 -0
  118. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page.js.map +5 -0
  119. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page.js.nft.json +1 -0
  120. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/[specId]/page_client-reference-manifest.js +2 -0
  121. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page/app-paths-manifest.json +3 -0
  122. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page/build-manifest.json +18 -0
  123. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page/next-font-manifest.json +6 -0
  124. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page/react-loadable-manifest.json +1 -0
  125. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page/server-reference-manifest.json +4 -0
  126. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page.js +20 -0
  127. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page.js.map +5 -0
  128. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page.js.nft.json +1 -0
  129. package/.next/standalone/packages/ui/.next/server/app/projects/[projectId]/specs/page_client-reference-manifest.js +2 -0
  130. package/.next/standalone/packages/ui/.next/server/app/projects/page/app-paths-manifest.json +3 -0
  131. package/.next/standalone/packages/ui/.next/server/app/projects/page/build-manifest.json +18 -0
  132. package/.next/standalone/packages/ui/.next/server/app/projects/page/next-font-manifest.json +6 -0
  133. package/.next/standalone/packages/ui/.next/server/app/projects/page/react-loadable-manifest.json +1 -0
  134. package/.next/standalone/packages/ui/.next/server/app/projects/page/server-reference-manifest.json +4 -0
  135. package/.next/standalone/packages/ui/.next/server/app/projects/page.js +19 -0
  136. package/.next/standalone/packages/ui/.next/server/app/projects/page.js.map +5 -0
  137. package/.next/standalone/packages/ui/.next/server/app/projects/page.js.nft.json +1 -0
  138. package/.next/standalone/packages/ui/.next/server/app/projects/page_client-reference-manifest.js +2 -0
  139. package/.next/standalone/packages/ui/.next/server/app/projects.html +2 -0
  140. package/.next/standalone/packages/ui/.next/server/app/projects.meta +14 -0
  141. package/.next/standalone/packages/ui/.next/server/app/projects.rsc +34 -0
  142. package/.next/standalone/packages/ui/.next/server/app/projects.segments/_full.segment.rsc +34 -0
  143. package/.next/standalone/packages/ui/.next/server/app/projects.segments/_index.segment.rsc +27 -0
  144. package/.next/standalone/packages/ui/.next/server/app/projects.segments/_tree.segment.rsc +9 -0
  145. package/.next/standalone/packages/ui/.next/server/app/projects.segments/projects/__PAGE__.segment.rsc +9 -0
  146. package/.next/standalone/packages/ui/.next/server/app/projects.segments/projects.segment.rsc +4 -0
  147. package/.next/standalone/packages/ui/.next/server/app/specs/[id]/page/build-manifest.json +5 -4
  148. package/.next/standalone/packages/ui/.next/server/app/specs/[id]/page.js +4 -4
  149. package/.next/standalone/packages/ui/.next/server/app/specs/[id]/page.js.nft.json +1 -1
  150. package/.next/standalone/packages/ui/.next/server/app/specs/[id]/page_client-reference-manifest.js +1 -1
  151. package/.next/standalone/packages/ui/.next/server/app/specs/page/build-manifest.json +5 -4
  152. package/.next/standalone/packages/ui/.next/server/app/specs/page.js +2 -2
  153. package/.next/standalone/packages/ui/.next/server/app/specs/page.js.nft.json +1 -1
  154. package/.next/standalone/packages/ui/.next/server/app/specs/page_client-reference-manifest.js +1 -1
  155. package/.next/standalone/packages/ui/.next/server/app/stats/page/build-manifest.json +5 -4
  156. package/.next/standalone/packages/ui/.next/server/app/stats/page.js +2 -2
  157. package/.next/standalone/packages/ui/.next/server/app/stats/page.js.nft.json +1 -1
  158. package/.next/standalone/packages/ui/.next/server/app/stats/page_client-reference-manifest.js +1 -1
  159. package/.next/standalone/packages/ui/.next/server/app-paths-manifest.json +12 -0
  160. package/.next/standalone/packages/ui/.next/server/chunks/6681a__next-internal_server_app_api_projects_[id]_specs_[spec]_route_actions_d018d9e0.js +3 -0
  161. package/.next/standalone/packages/ui/.next/server/chunks/730ea_ui__next-internal_server_app_api_local-projects_[id]_route_actions_664abe9c.js +3 -0
  162. package/.next/standalone/packages/ui/.next/server/chunks/730ea_ui__next-internal_server_app_api_local-projects_discover_route_actions_e6ec3fa7.js +3 -0
  163. package/.next/standalone/packages/ui/.next/server/chunks/730ea_ui__next-internal_server_app_api_projects_[id]_stats_route_actions_a0bb04a8.js +3 -0
  164. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__0fbfea15._.js +3 -0
  165. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__126dea7b._.js +3 -0
  166. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__1f037512._.js +3 -0
  167. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__3559376c._.js +21 -0
  168. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__548e27d4._.js +3 -0
  169. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__65667b70._.js +3 -0
  170. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__675a763e._.js +3 -0
  171. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__803d07f0._.js +3 -0
  172. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__8075fe29._.js +3 -0
  173. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__8233e09b._.js +3 -0
  174. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__84cdc14a._.js +3 -0
  175. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__9ce722b4._.js +3 -0
  176. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__a2d7cbed._.js +3 -0
  177. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__aa677b0d._.js +3 -0
  178. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__ac744182._.js +3 -0
  179. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__bb9fca84._.js +4 -0
  180. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__bdc3963a._.js +3 -0
  181. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__f5c6d6b8._.js +3 -0
  182. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__fb91986f._.js +3 -0
  183. package/.next/standalone/packages/ui/.next/server/chunks/f825c_server_app_api_local-projects_list-directory_route_actions_d620ec1a.js +3 -0
  184. package/.next/standalone/packages/ui/.next/server/chunks/f825c_server_app_api_projects_[id]_specs_[spec]_status_route_actions_e9f1bdc5.js +3 -0
  185. package/.next/standalone/packages/ui/.next/server/chunks/node_modules__pnpm_731b55aa._.js +3 -0
  186. package/.next/standalone/packages/ui/.next/server/chunks/packages_ui__next-internal_server_app_api_local-projects_route_actions_9142d5ad.js +3 -0
  187. package/.next/standalone/packages/ui/.next/server/chunks/packages_ui__next-internal_server_app_api_projects_[id]_route_actions_bff49675.js +3 -0
  188. package/.next/standalone/packages/ui/.next/server/chunks/packages_ui_src_lib_db_index_ts_556307fa._.js +64 -5
  189. package/.next/standalone/packages/ui/.next/server/chunks/packages_ui_src_lib_specs_sources_database-source_ts_0bd881ee._.js +3 -0
  190. package/.next/standalone/packages/ui/.next/server/chunks/packages_ui_src_lib_specs_sources_database-source_ts_baa0160d._.js +3 -0
  191. package/.next/standalone/packages/ui/.next/server/chunks/ssr/38a22_sonner_dist_index_mjs_207730fe._.js +3 -0
  192. package/.next/standalone/packages/ui/.next/server/chunks/ssr/6e9bd_next_dist_7af75658._.js +3 -0
  193. package/.next/standalone/packages/ui/.next/server/chunks/ssr/{_a5b58449._.js → 6e9bd_next_dist_df5dcbe9._.js} +2 -2
  194. package/.next/standalone/packages/ui/.next/server/chunks/ssr/730ea_ui__next-internal_server_app_projects_[projectId]_specs_page_actions_82e32fe4.js +3 -0
  195. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__01bfc8ff._.js +3 -0
  196. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__1d0c2012._.js +1 -1
  197. package/.next/standalone/packages/ui/.next/server/chunks/ssr/{[root-of-the-server]__41f5b5c0._.js → [root-of-the-server]__4ec37765._.js} +2 -2
  198. package/.next/standalone/packages/ui/.next/server/chunks/ssr/{[root-of-the-server]__1af33d49._.js → [root-of-the-server]__50122e7e._.js} +2 -2
  199. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__5382b397._.js +3 -0
  200. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__73f60f12._.js +7 -0
  201. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__88a691ee._.js +3 -0
  202. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__a7ae8552._.js +7 -0
  203. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__bdbbba01._.js +3 -0
  204. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__c592f5d1._.js +3 -0
  205. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__cc589a54._.js +3 -0
  206. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__ec5b96a5._.js +3 -0
  207. package/.next/standalone/packages/ui/.next/server/chunks/ssr/{[root-of-the-server]__cbbbfb5d._.js → [root-of-the-server]__fd80e4dd._.js} +2 -2
  208. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_000dd317._.js +1 -1
  209. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_196b5a83._.js +3 -0
  210. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_39562b2a._.js +4 -0
  211. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_3b617676._.js +1 -1
  212. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_4129cc0f._.js +3 -0
  213. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_6174313a._.js +3 -0
  214. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_6e4dd8b6._.js +3 -0
  215. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_85effc18._.js +4 -0
  216. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_ad8c1e99._.js +1 -1
  217. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_bae6d2b8._.js +4 -0
  218. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_c2f54661._.js +5 -0
  219. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_fdd7780b._.js +4 -0
  220. package/.next/standalone/packages/ui/.next/server/chunks/ssr/f825c_server_app_projects_[projectId]_specs_[specId]_page_actions_22d9c35e.js +3 -0
  221. package/.next/standalone/packages/ui/.next/server/chunks/ssr/node_modules__pnpm_af9d3830._.js +3 -0
  222. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui__next-internal_server_app_projects_[projectId]_page_actions_f2986585.js +3 -0
  223. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui__next-internal_server_app_projects_page_actions_715940ea.js +3 -0
  224. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui_src_app_projects_[projectId]_be242d6c._.js +3 -0
  225. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui_src_app_projects_[projectId]_project-context-syncer_tsx_7954ea3b._.js +3 -0
  226. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui_src_app_projects_page_tsx_6e166c8e._.js +3 -0
  227. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui_src_app_specs_specs-client_tsx_0bb8f8f8._.js +1 -1
  228. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui_src_components_ui_select_tsx_7e21d40f._.js +3 -0
  229. package/.next/standalone/packages/ui/.next/server/chunks/ssr/packages_ui_src_lib_specs_sources_database-source_ts_f7186c2a._.js +60 -1
  230. package/.next/standalone/packages/ui/.next/server/middleware-build-manifest.js +5 -4
  231. package/.next/standalone/packages/ui/.next/server/pages/404.html +2 -2
  232. package/.next/standalone/packages/ui/.next/server/pages/500.html +2 -2
  233. package/.next/standalone/packages/ui/.next/server/server-reference-manifest.js +1 -1
  234. package/.next/standalone/packages/ui/.next/server/server-reference-manifest.json +1 -1
  235. package/.next/standalone/packages/ui/.next/static/chunks/07f48b316e895080.js +1 -0
  236. package/.next/standalone/packages/ui/.next/static/chunks/0a7be410b438418a.js +1 -0
  237. package/.next/standalone/packages/ui/.next/static/chunks/1089ca88f6bef846.js +1 -0
  238. package/.next/standalone/packages/ui/.next/static/chunks/17471c87082c392c.js +5 -0
  239. package/.next/standalone/packages/ui/.next/static/chunks/220ba5cb8fe4dd69.js +1 -0
  240. package/.next/standalone/packages/ui/.next/static/chunks/35ccd3286e538bd2.js +1 -0
  241. package/.next/standalone/packages/ui/.next/static/chunks/571033caca823138.js +1 -0
  242. package/.next/standalone/packages/ui/.next/static/chunks/5a6fc30cd64085b4.css +1 -0
  243. package/.next/standalone/packages/ui/.next/static/chunks/5c2072ad938de8ed.js +1 -0
  244. package/.next/standalone/packages/ui/.next/static/chunks/843e1dfdc28e1385.js +1 -0
  245. package/.next/standalone/packages/ui/.next/static/chunks/9dad7fd31627df80.js +1 -0
  246. package/.next/standalone/packages/ui/.next/static/chunks/{c3d4d07de959ecf1.js → a055d4b2866ff8d4.js} +1 -1
  247. package/.next/standalone/packages/ui/.next/static/chunks/afb7c5a4255f4081.js +3 -0
  248. package/.next/{static/chunks/c557ac675be79771.js → standalone/packages/ui/.next/static/chunks/b760a3a9c2c8be28.js} +1 -1
  249. package/.next/standalone/packages/ui/.next/static/chunks/dcdd95180149fa10.js +1 -0
  250. package/.next/standalone/packages/ui/.next/static/chunks/ebd89051637b9a47.js +4 -0
  251. package/.next/standalone/packages/ui/.next/static/chunks/f9db24028d8c058e.js +1 -0
  252. package/.next/standalone/packages/ui/.next/static/chunks/fb640f50455ba34f.js +1 -0
  253. package/.next/standalone/packages/ui/.next/static/chunks/turbopack-b9690cacbf9fe48c.js +3 -0
  254. package/.next/standalone/packages/ui/bin/ui.js +17 -7
  255. package/.next/standalone/packages/ui/package.json +3 -1
  256. package/.next/standalone/packages/ui/src/app/api/local-projects/[id]/route.ts +117 -0
  257. package/.next/standalone/packages/ui/src/app/api/local-projects/discover/route.ts +41 -0
  258. package/.next/standalone/packages/ui/src/app/api/local-projects/list-directory/route.ts +38 -0
  259. package/.next/standalone/packages/ui/src/app/api/local-projects/route.ts +63 -0
  260. package/.next/standalone/packages/ui/src/app/api/projects/[id]/route.ts +97 -0
  261. package/.next/standalone/packages/ui/src/app/api/projects/[id]/specs/[spec]/route.ts +38 -0
  262. package/.next/standalone/packages/ui/src/app/api/projects/[id]/specs/[spec]/status/route.ts +97 -0
  263. package/.next/standalone/packages/ui/src/app/api/projects/[id]/specs/route.ts +7 -0
  264. package/.next/standalone/packages/ui/src/app/api/projects/[id]/stats/route.ts +19 -0
  265. package/.next/standalone/packages/ui/src/app/api/projects/route.ts +48 -1
  266. package/.next/standalone/packages/ui/src/app/dashboard-client.tsx +67 -6
  267. package/.next/standalone/packages/ui/src/app/layout.tsx +11 -8
  268. package/.next/standalone/packages/ui/src/app/not-found.tsx +1 -1
  269. package/.next/standalone/packages/ui/src/app/projects/[projectId]/layout.tsx +18 -0
  270. package/.next/standalone/packages/ui/src/app/projects/[projectId]/page.tsx +10 -0
  271. package/.next/standalone/packages/ui/src/app/projects/[projectId]/project-context-syncer.tsx +16 -0
  272. package/.next/standalone/packages/ui/src/app/projects/[projectId]/specs/[specId]/page.tsx +34 -0
  273. package/.next/standalone/packages/ui/src/app/projects/[projectId]/specs/page.tsx +20 -0
  274. package/.next/standalone/packages/ui/src/app/projects/page.tsx +156 -0
  275. package/.next/standalone/packages/ui/src/app/specs/specs-client.tsx +7 -2
  276. package/.next/standalone/packages/ui/src/components/create-project-dialog.tsx +139 -0
  277. package/.next/standalone/packages/ui/src/components/directory-picker.tsx +191 -0
  278. package/.next/standalone/packages/ui/src/components/main-sidebar.tsx +4 -0
  279. package/.next/standalone/packages/ui/src/components/project-switcher.tsx +139 -0
  280. package/.next/standalone/packages/ui/src/components/ui/dropdown-menu.tsx +200 -0
  281. package/.next/standalone/packages/ui/src/components/ui/popover.tsx +31 -0
  282. package/.next/standalone/packages/ui/src/contexts/project-context.tsx +229 -0
  283. package/.next/standalone/packages/ui/src/lib/db/index.ts +100 -0
  284. package/.next/standalone/packages/ui/src/lib/projects/index.ts +7 -0
  285. package/.next/standalone/packages/ui/src/lib/projects/registry.ts +467 -0
  286. package/.next/standalone/packages/ui/src/lib/projects/types.ts +37 -0
  287. package/.next/standalone/packages/ui/src/lib/specs/service.ts +13 -1
  288. package/.next/standalone/packages/ui/src/lib/specs/sources/multi-project-source.ts +258 -0
  289. package/.next/standalone/packages/ui/tsconfig.tsbuildinfo +1 -1
  290. package/.next/static/chunks/07f48b316e895080.js +1 -0
  291. package/.next/static/chunks/0a7be410b438418a.js +1 -0
  292. package/.next/static/chunks/1089ca88f6bef846.js +1 -0
  293. package/.next/static/chunks/17471c87082c392c.js +5 -0
  294. package/.next/static/chunks/220ba5cb8fe4dd69.js +1 -0
  295. package/.next/static/chunks/35ccd3286e538bd2.js +1 -0
  296. package/.next/static/chunks/571033caca823138.js +1 -0
  297. package/.next/static/chunks/5a6fc30cd64085b4.css +1 -0
  298. package/.next/static/chunks/5c2072ad938de8ed.js +1 -0
  299. package/.next/static/chunks/843e1dfdc28e1385.js +1 -0
  300. package/.next/static/chunks/9dad7fd31627df80.js +1 -0
  301. package/.next/static/chunks/{c3d4d07de959ecf1.js → a055d4b2866ff8d4.js} +1 -1
  302. package/.next/static/chunks/afb7c5a4255f4081.js +3 -0
  303. package/.next/{standalone/packages/ui/.next/static/chunks/c557ac675be79771.js → static/chunks/b760a3a9c2c8be28.js} +1 -1
  304. package/.next/static/chunks/dcdd95180149fa10.js +1 -0
  305. package/.next/static/chunks/ebd89051637b9a47.js +4 -0
  306. package/.next/static/chunks/f9db24028d8c058e.js +1 -0
  307. package/.next/static/chunks/fb640f50455ba34f.js +1 -0
  308. package/.next/static/chunks/turbopack-b9690cacbf9fe48c.js +3 -0
  309. package/bin/ui.js +17 -7
  310. package/package.json +3 -1
  311. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__175bef84._.js +0 -3
  312. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__3971eae5._.js +0 -3
  313. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__482b093a._.js +0 -21
  314. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__6bca1621._.js +0 -3
  315. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__87a3475a._.js +0 -3
  316. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__9f0f4c0b._.js +0 -3
  317. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__c1c9f5f5._.js +0 -3
  318. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__c6689757._.js +0 -3
  319. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__cd1fb0a2._.js +0 -4
  320. package/.next/standalone/packages/ui/.next/server/chunks/[root-of-the-server]__e2071b2e._.js +0 -3
  321. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__299c81cc._.js +0 -3
  322. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__5ca2e973._.js +0 -3
  323. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__b2fe773d._.js +0 -3
  324. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__e79a982a._.js +0 -7
  325. package/.next/standalone/packages/ui/.next/server/chunks/ssr/[root-of-the-server]__ff03fc1e._.js +0 -7
  326. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_66209e84._.js +0 -3
  327. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_6cd9a5e0._.js +0 -3
  328. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_b483c9fe._.js +0 -3
  329. package/.next/standalone/packages/ui/.next/server/chunks/ssr/_b5040d31._.js +0 -5
  330. package/.next/standalone/packages/ui/.next/server/chunks/ssr/node_modules__pnpm_9710705b._.js +0 -3
  331. package/.next/standalone/packages/ui/.next/server/chunks/ssr/node_modules__pnpm_b8ff10b9._.js +0 -3
  332. package/.next/standalone/packages/ui/.next/static/chunks/093ea4b175adb770.js +0 -1
  333. package/.next/standalone/packages/ui/.next/static/chunks/5f97d665a4d9dc62.js +0 -3
  334. package/.next/standalone/packages/ui/.next/static/chunks/9a80c22382ddcfaf.css +0 -1
  335. package/.next/standalone/packages/ui/.next/static/chunks/9b7b7024c39c5f99.js +0 -1
  336. package/.next/standalone/packages/ui/.next/static/chunks/aa47b212786d8695.js +0 -1
  337. package/.next/standalone/packages/ui/.next/static/chunks/ae04dcd433be6dab.js +0 -1
  338. package/.next/standalone/packages/ui/.next/static/chunks/c0fe4c94c7282ac0.js +0 -4
  339. package/.next/standalone/packages/ui/.next/static/chunks/c61cbb6a0ba3b6ab.js +0 -1
  340. package/.next/standalone/packages/ui/.next/static/chunks/d79bf953f0dfb650.js +0 -1
  341. package/.next/standalone/packages/ui/.next/static/chunks/e50fb8d0b728cd35.js +0 -5
  342. package/.next/standalone/packages/ui/.next/static/chunks/e6e238dbf1d3e740.js +0 -1
  343. package/.next/standalone/packages/ui/.next/static/chunks/turbopack-9cc79aa1b34ffcbe.js +0 -3
  344. package/.next/static/chunks/093ea4b175adb770.js +0 -1
  345. package/.next/static/chunks/5f97d665a4d9dc62.js +0 -3
  346. package/.next/static/chunks/9a80c22382ddcfaf.css +0 -1
  347. package/.next/static/chunks/9b7b7024c39c5f99.js +0 -1
  348. package/.next/static/chunks/aa47b212786d8695.js +0 -1
  349. package/.next/static/chunks/ae04dcd433be6dab.js +0 -1
  350. package/.next/static/chunks/c0fe4c94c7282ac0.js +0 -4
  351. package/.next/static/chunks/c61cbb6a0ba3b6ab.js +0 -1
  352. package/.next/static/chunks/d79bf953f0dfb650.js +0 -1
  353. package/.next/static/chunks/e50fb8d0b728cd35.js +0 -5
  354. package/.next/static/chunks/e6e238dbf1d3e740.js +0 -1
  355. package/.next/static/chunks/turbopack-9cc79aa1b34ffcbe.js +0 -3
  356. /package/.next/standalone/packages/ui/.next/static/{C8sZuJV5DQETshOIgjsmH → T1wNN9JmkdwBabQsqL-tC}/_buildManifest.js +0 -0
  357. /package/.next/standalone/packages/ui/.next/static/{C8sZuJV5DQETshOIgjsmH → T1wNN9JmkdwBabQsqL-tC}/_clientMiddlewareManifest.json +0 -0
  358. /package/.next/standalone/packages/ui/.next/static/{C8sZuJV5DQETshOIgjsmH → T1wNN9JmkdwBabQsqL-tC}/_ssgManifest.js +0 -0
  359. /package/.next/static/{C8sZuJV5DQETshOIgjsmH → T1wNN9JmkdwBabQsqL-tC}/_buildManifest.js +0 -0
  360. /package/.next/static/{C8sZuJV5DQETshOIgjsmH → T1wNN9JmkdwBabQsqL-tC}/_clientMiddlewareManifest.json +0 -0
  361. /package/.next/static/{C8sZuJV5DQETshOIgjsmH → T1wNN9JmkdwBabQsqL-tC}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
- module.exports=[14747,(a,b,c)=>{b.exports=a.x("path",()=>require("path"))},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},32746,(a,b,c)=>{"use strict";b.exports=a.r(18622)},37843,(a,b,c)=>{"use strict";b.exports=a.r(32746).vendored["react-rsc"].ReactJsxRuntime},45804,(a,b,c)=>{"use strict";b.exports=a.r(32746).vendored["react-rsc"].ReactServerDOMTurbopackServer},32428,(a,b,c)=>{"use strict";b.exports=a.r(32746).vendored["react-rsc"].React},50602,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(45804);a.n(d("[project]/node_modules/.pnpm/next@16.0.1_@babel+core@7.28.5_@opentelemetry+api@1.9.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>"))},86896,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(45804);a.n(d("[project]/node_modules/.pnpm/next@16.0.1_@babel+core@7.28.5_@opentelemetry+api@1.9.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/next/dist/client/components/builtin/global-error.js"))},60892,a=>{"use strict";a.i(50602);var b=a.i(86896);a.n(b)}];
1
+ module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},14747,(a,b,c)=>{b.exports=a.x("path",()=>require("path"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},32746,(a,b,c)=>{"use strict";b.exports=a.r(18622)},37843,(a,b,c)=>{"use strict";b.exports=a.r(32746).vendored["react-rsc"].ReactJsxRuntime},45804,(a,b,c)=>{"use strict";b.exports=a.r(32746).vendored["react-rsc"].ReactServerDOMTurbopackServer},32428,(a,b,c)=>{"use strict";b.exports=a.r(32746).vendored["react-rsc"].React},50602,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(45804);a.n(d("[project]/node_modules/.pnpm/next@16.0.1_@babel+core@7.28.5_@opentelemetry+api@1.9.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/next/dist/client/components/builtin/global-error.js <module evaluation>"))},86896,(a,b,c)=>{let{createClientModuleProxy:d}=a.r(45804);a.n(d("[project]/node_modules/.pnpm/next@16.0.1_@babel+core@7.28.5_@opentelemetry+api@1.9.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/next/dist/client/components/builtin/global-error.js"))},60892,a=>{"use strict";a.i(50602);var b=a.i(86896);a.n(b)}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__41f5b5c0._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__4ec37765._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},55998,a=>{a.n(a.i(87885))},38958,a=>{a.n(a.i(21146))},73521,a=>{a.n(a.i(63504))},5605,a=>{a.n(a.i(1178))},18578,a=>{a.n(a.i(29263))},29433,a=>{a.n(a.i(44954))},78859,a=>{a.n(a.i(60892))}];
1
+ module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},55998,a=>{a.n(a.i(87885))},38958,a=>{a.n(a.i(21146))},73521,a=>{a.n(a.i(63504))},5605,a=>{a.n(a.i(1178))},18578,a=>{a.n(a.i(29263))},29433,a=>{a.n(a.i(44954))},78859,a=>{a.n(a.i(60892))},20678,a=>{a.n(a.i(52634))},96838,a=>{"use strict";a.i(74555);var b=a.i(79596);async function c({params:a}){let{projectId:c}=await a;(0,b.redirect)(`/projects/${c}/specs`)}a.s(["default",()=>c])}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__1af33d49._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__50122e7e._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},12714,(a,b,c)=>{b.exports=a.x("node:fs/promises",()=>require("node:fs/promises"))},66680,(a,b,c)=>{b.exports=a.x("node:crypto",()=>require("node:crypto"))},60526,(a,b,c)=>{b.exports=a.x("node:os",()=>require("node:os"))},22734,(a,b,c)=>{b.exports=a.x("fs",()=>require("fs"))},874,(a,b,c)=>{b.exports=a.x("buffer",()=>require("buffer"))},2157,(a,b,c)=>{b.exports=a.x("node:fs",()=>require("node:fs"))},76429,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call Navigation() from the server but Navigation 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]/packages/ui/src/components/navigation.tsx <module evaluation>","Navigation");a.s(["Navigation",0,b])},4480,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call Navigation() from the server but Navigation 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]/packages/ui/src/components/navigation.tsx","Navigation");a.s(["Navigation",0,b])},54539,a=>{"use strict";a.i(76429);var b=a.i(4480);a.n(b)},37917,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call MainSidebar() from the server but MainSidebar 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]/packages/ui/src/components/main-sidebar.tsx <module evaluation>","MainSidebar");a.s(["MainSidebar",0,b])},18100,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call MainSidebar() from the server but MainSidebar 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]/packages/ui/src/components/main-sidebar.tsx","MainSidebar");a.s(["MainSidebar",0,b])},32510,a=>{"use strict";a.i(37917);var b=a.i(18100);a.n(b)},52798,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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]/packages/ui/src/components/theme-provider.tsx <module evaluation>","ThemeProvider");a.s(["ThemeProvider",0,b])},64731,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call ThemeProvider() from the server but ThemeProvider 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]/packages/ui/src/components/theme-provider.tsx","ThemeProvider");a.s(["ThemeProvider",0,b])},55444,a=>{"use strict";a.i(52798);var b=a.i(64731);a.n(b)},8696,a=>{"use strict";var b=a.i(45804);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Toast() from the server but Toast 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]/packages/ui/src/components/ui/toast.tsx <module evaluation>","Toast"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast 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]/packages/ui/src/components/ui/toast.tsx <module evaluation>","toast");a.s(["Toast",0,c,"toast",0,d])},93515,a=>{"use strict";var b=a.i(45804);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Toast() from the server but Toast 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]/packages/ui/src/components/ui/toast.tsx","Toast"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call toast() from the server but toast 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]/packages/ui/src/components/ui/toast.tsx","toast");a.s(["Toast",0,c,"toast",0,d])},51936,a=>{"use strict";a.i(8696);var b=a.i(93515);a.n(b)},6348,a=>{"use strict";var b=a.i(45804);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ProjectProvider() from the server but ProjectProvider 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]/packages/ui/src/contexts/project-context.tsx <module evaluation>","ProjectProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useProject() from the server but useProject 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]/packages/ui/src/contexts/project-context.tsx <module evaluation>","useProject");a.s(["ProjectProvider",0,c,"useProject",0,d])},34126,a=>{"use strict";var b=a.i(45804);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call ProjectProvider() from the server but ProjectProvider 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]/packages/ui/src/contexts/project-context.tsx","ProjectProvider"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call useProject() from the server but useProject 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]/packages/ui/src/contexts/project-context.tsx","useProject");a.s(["ProjectProvider",0,c,"useProject",0,d])},87646,a=>{"use strict";a.i(6348);var b=a.i(34126);a.n(b)},87885,a=>{"use strict";var b=a.i(37843),c=a.i(54539),d=a.i(32510),e=a.i(55444),f=a.i(51936),g=a.i(87646),h=a.i(78931);async function i({children:a}){let i=(await (0,h.getSpecs)()).filter(a=>a.specNumber&&a.title&&a.status&&a.priority).map(a=>({id:a.id,specNumber:a.specNumber.toString(),title:a.title,status:a.status,priority:a.priority,tags:a.tags||[],createdAt:a.createdAt?a.createdAt.toISOString():""}));return(0,b.jsx)("html",{lang:"en",suppressHydrationWarning:!0,children:(0,b.jsx)("body",{className:"antialiased bg-background overflow-x-hidden",children:(0,b.jsx)(e.ThemeProvider,{attribute:"class",defaultTheme:"system",enableSystem:!0,disableTransitionOnChange:!0,children:(0,b.jsxs)(g.ProjectProvider,{children:[(0,b.jsx)(c.Navigation,{specs:i}),(0,b.jsxs)("div",{className:"flex w-full min-w-0",children:[(0,b.jsx)(d.MainSidebar,{}),(0,b.jsx)("main",{className:"flex-1 min-h-[calc(100vh-3.5rem)] min-w-0 w-full lg:w-[calc(100vw-var(--main-sidebar-width,240px))]",children:a})]}),(0,b.jsx)(f.Toast,{})]})})})})}a.s(["default",()=>i,"metadata",0,{title:"LeanSpec Web - Interactive Spec Showcase",description:"Browse and explore LeanSpec specifications in a rich, interactive format",icons:{icon:[{url:"/favicon.ico"},{url:"/logo.svg",type:"image/svg+xml"}],apple:"/logo.svg"},openGraph:{title:"LeanSpec Web",description:"Browse and explore LeanSpec specifications in a rich, interactive format",type:"website"}},"viewport",0,{width:"device-width",initialScale:1,maximumScale:5}])},7654,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[externals]_better-sqlite3_a1cc22cb._.js","server/chunks/ssr/packages_ui_src_lib_specs_sources_database-source_ts_f7186c2a._.js"].map(b=>a.l(b))).then(()=>b(87803)))}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__5382b397._.js.map
@@ -0,0 +1,7 @@
1
+ module.exports=[43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},73264,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.HooksClientContext},57281,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.ServerInsertedHtml},90073,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactDOM},18382,(a,b,c)=>{"use strict";b.exports=a.r(18622)},40352,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactJsxRuntime},36883,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].React},11461,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.AppRouterContext},58470,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactServerDOMTurbopackClient},86945,21841,a=>{"use strict";var b=a.i(40352),c=a.i(36883),d=a.i(59653),e=a.i(17988),f=a.i(63375),g=a.i(99700),h=a.i(17449),i=a.i(83644),j=a.i(84228),k=a.i(7547),l=a.i(44329),m=a.i(75655),n=a.i(41857),o=a.i(51867),p=a.i(16164),q=a.i(78357),r="Dialog",[s,t]=(0,f.createContextScope)(r),[u,v]=s(r),w=a=>{let{__scopeDialog:d,children:e,open:f,defaultOpen:i,onOpenChange:j,modal:k=!0}=a,l=c.useRef(null),m=c.useRef(null),[n,o]=(0,h.useControllableState)({prop:f,defaultProp:i??!1,onChange:j,caller:r});return(0,b.jsx)(u,{scope:d,triggerRef:l,contentRef:m,contentId:(0,g.useId)(),titleId:(0,g.useId)(),descriptionId:(0,g.useId)(),open:n,onOpenChange:o,onOpenToggle:c.useCallback(()=>o(a=>!a),[o]),modal:k,children:e})};w.displayName=r;var x="DialogTrigger",y=c.forwardRef((a,c)=>{let{__scopeDialog:f,...g}=a,h=v(x,f),i=(0,e.useComposedRefs)(c,h.triggerRef);return(0,b.jsx)(m.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":h.open,"aria-controls":h.contentId,"data-state":S(h.open),...g,ref:i,onClick:(0,d.composeEventHandlers)(a.onClick,h.onOpenToggle)})});y.displayName=x;var z="DialogPortal",[A,B]=s(z,{forceMount:void 0}),C=a=>{let{__scopeDialog:d,forceMount:e,children:f,container:g}=a,h=v(z,d);return(0,b.jsx)(A,{scope:d,forceMount:e,children:c.Children.map(f,a=>(0,b.jsx)(l.Presence,{present:e||h.open,children:(0,b.jsx)(k.Portal,{asChild:!0,container:g,children:a})}))})};C.displayName=z;var D="DialogOverlay",E=c.forwardRef((a,c)=>{let d=B(D,a.__scopeDialog),{forceMount:e=d.forceMount,...f}=a,g=v(D,a.__scopeDialog);return g.modal?(0,b.jsx)(l.Presence,{present:e||g.open,children:(0,b.jsx)(G,{...f,ref:c})}):null});E.displayName=D;var F=(0,q.createSlot)("DialogOverlay.RemoveScroll"),G=c.forwardRef((a,c)=>{let{__scopeDialog:d,...e}=a,f=v(D,d);return(0,b.jsx)(o.RemoveScroll,{as:F,allowPinchZoom:!0,shards:[f.contentRef],children:(0,b.jsx)(m.Primitive.div,{"data-state":S(f.open),...e,ref:c,style:{pointerEvents:"auto",...e.style}})})}),H="DialogContent",I=c.forwardRef((a,c)=>{let d=B(H,a.__scopeDialog),{forceMount:e=d.forceMount,...f}=a,g=v(H,a.__scopeDialog);return(0,b.jsx)(l.Presence,{present:e||g.open,children:g.modal?(0,b.jsx)(J,{...f,ref:c}):(0,b.jsx)(K,{...f,ref:c})})});I.displayName=H;var J=c.forwardRef((a,f)=>{let g=v(H,a.__scopeDialog),h=c.useRef(null),i=(0,e.useComposedRefs)(f,g.contentRef,h);return c.useEffect(()=>{let a=h.current;if(a)return(0,p.hideOthers)(a)},[]),(0,b.jsx)(L,{...a,ref:i,trapFocus:g.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,d.composeEventHandlers)(a.onCloseAutoFocus,a=>{a.preventDefault(),g.triggerRef.current?.focus()}),onPointerDownOutside:(0,d.composeEventHandlers)(a.onPointerDownOutside,a=>{let b=a.detail.originalEvent,c=0===b.button&&!0===b.ctrlKey;(2===b.button||c)&&a.preventDefault()}),onFocusOutside:(0,d.composeEventHandlers)(a.onFocusOutside,a=>a.preventDefault())})}),K=c.forwardRef((a,d)=>{let e=v(H,a.__scopeDialog),f=c.useRef(!1),g=c.useRef(!1);return(0,b.jsx)(L,{...a,ref:d,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:b=>{a.onCloseAutoFocus?.(b),b.defaultPrevented||(f.current||e.triggerRef.current?.focus(),b.preventDefault()),f.current=!1,g.current=!1},onInteractOutside:b=>{a.onInteractOutside?.(b),b.defaultPrevented||(f.current=!0,"pointerdown"===b.detail.originalEvent.type&&(g.current=!0));let c=b.target;e.triggerRef.current?.contains(c)&&b.preventDefault(),"focusin"===b.detail.originalEvent.type&&g.current&&b.preventDefault()}})}),L=c.forwardRef((a,d)=>{let{__scopeDialog:f,trapFocus:g,onOpenAutoFocus:h,onCloseAutoFocus:k,...l}=a,m=v(H,f),o=c.useRef(null),p=(0,e.useComposedRefs)(d,o);return(0,n.useFocusGuards)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(j.FocusScope,{asChild:!0,loop:!0,trapped:g,onMountAutoFocus:h,onUnmountAutoFocus:k,children:(0,b.jsx)(i.DismissableLayer,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":S(m.open),...l,ref:p,onDismiss:()=>m.onOpenChange(!1)})}),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(W,{titleId:m.titleId}),(0,b.jsx)(X,{contentRef:o,descriptionId:m.descriptionId})]})]})}),M="DialogTitle",N=c.forwardRef((a,c)=>{let{__scopeDialog:d,...e}=a,f=v(M,d);return(0,b.jsx)(m.Primitive.h2,{id:f.titleId,...e,ref:c})});N.displayName=M;var O="DialogDescription",P=c.forwardRef((a,c)=>{let{__scopeDialog:d,...e}=a,f=v(O,d);return(0,b.jsx)(m.Primitive.p,{id:f.descriptionId,...e,ref:c})});P.displayName=O;var Q="DialogClose",R=c.forwardRef((a,c)=>{let{__scopeDialog:e,...f}=a,g=v(Q,e);return(0,b.jsx)(m.Primitive.button,{type:"button",...f,ref:c,onClick:(0,d.composeEventHandlers)(a.onClick,()=>g.onOpenChange(!1))})});function S(a){return a?"open":"closed"}R.displayName=Q;var T="DialogTitleWarning",[U,V]=(0,f.createContext)(T,{contentName:H,titleName:M,docsSlug:"dialog"}),W=({titleId:a})=>{let b=V(T),d=`\`${b.contentName}\` requires a \`${b.titleName}\` for the component to be accessible for screen reader users.
2
+
3
+ If you want to hide the \`${b.titleName}\`, you can wrap it with our VisuallyHidden component.
4
+
5
+ For more information, see https://radix-ui.com/primitives/docs/components/${b.docsSlug}`;return c.useEffect(()=>{a&&(document.getElementById(a)||console.error(d))},[d,a]),null},X=({contentRef:a,descriptionId:b})=>{let d=V("DialogDescriptionWarning"),e=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${d.contentName}}.`;return c.useEffect(()=>{let c=a.current?.getAttribute("aria-describedby");b&&c&&(document.getElementById(b)||console.warn(e))},[e,a,b]),null};a.s(["Close",()=>R,"Content",()=>I,"Description",()=>P,"Overlay",()=>E,"Portal",()=>C,"Root",()=>w,"Title",()=>N,"Trigger",()=>y],21841);var Y=a.i(14174),Z=a.i(87052);let $=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(E,{ref:d,className:(0,Z.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...c}));$.displayName=E.displayName;let _=c.forwardRef(({className:a,children:c,...d},e)=>(0,b.jsxs)(C,{children:[(0,b.jsx)($,{}),(0,b.jsxs)(I,{ref:e,className:(0,Z.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...d,children:[c,(0,b.jsxs)(R,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,b.jsx)(Y.X,{className:"h-4 w-4"}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));_.displayName=I.displayName;let aa=({className:a,...c})=>(0,b.jsx)("div",{className:(0,Z.cn)("flex flex-col space-y-1.5 text-center sm:text-left",a),...c});aa.displayName="DialogHeader";let ab=({className:a,...c})=>(0,b.jsx)("div",{className:(0,Z.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...c});ab.displayName="DialogFooter";let ac=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(N,{ref:d,className:(0,Z.cn)("text-lg font-semibold leading-none tracking-tight",a),...c}));ac.displayName=N.displayName;let ad=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(P,{ref:d,className:(0,Z.cn)("text-sm text-muted-foreground",a),...c}));ad.displayName=P.displayName,a.s(["Dialog",()=>w,"DialogContent",()=>_,"DialogDescription",()=>ad,"DialogFooter",()=>ab,"DialogHeader",()=>aa,"DialogTitle",()=>ac],86945)},76011,a=>{"use strict";let b=(0,a.i(63535).default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);a.s(["Home",()=>b],76011)},3961,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"HandleISRError",{enumerable:!0,get:function(){return e}});let d=a.r(56704).workAsyncStorage;function e({error:a}){if(d){let b=d.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}return null}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},61860,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return h}});let d=a.r(40352),e=a.r(3961),f={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},g={fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"},h=function({error:a}){let b=a?.digest;return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{}),(0,d.jsxs)("body",{children:[(0,d.jsx)(e.HandleISRError,{error:a}),(0,d.jsx)("div",{style:f,children:(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{style:g,children:["Application error: a ",b?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",b?"server logs":"browser console"," for more information)."]}),b?(0,d.jsx)("p",{style:g,children:`Digest: ${b}`}):null]})})]})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},15268,a=>{"use strict";let b=(0,a.i(63535).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);a.s(["FileText",()=>b],15268)},41318,a=>{"use strict";var b=a.i(36883),c=a.i(75655),d=a.i(40352),e=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),f=b.forwardRef((a,b)=>(0,d.jsx)(c.Primitive.span,{...a,ref:b,style:{...e,...a.style}}));f.displayName="VisuallyHidden",a.s(["Root",()=>f,"VISUALLY_HIDDEN_STYLES",()=>e])},61698,a=>{"use strict";var b=a.i(36883),c=(a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}},d=["light","dark"],e="(prefers-color-scheme: dark)",f=b.createContext(void 0),g={setTheme:a=>{},themes:[]},h=()=>{var a;return null!=(a=b.useContext(f))?a:g},i=a=>b.useContext(f)?b.createElement(b.Fragment,null,a.children):b.createElement(k,{...a}),j=["light","dark"],k=({forcedTheme:a,disableTransitionOnChange:c=!1,enableSystem:g=!0,enableColorScheme:h=!0,storageKey:i="theme",themes:k=j,defaultTheme:p=g?"system":"light",attribute:q="data-theme",value:r,children:s,nonce:t,scriptProps:u})=>{let[v,w]=b.useState(()=>m(i,p)),[x,y]=b.useState(()=>"system"===v?o():v),z=r?Object.values(r):k,A=b.useCallback(a=>{let b=a;if(!b)return;"system"===a&&g&&(b=o());let e=r?r[b]:b,f=c?n(t):null,i=document.documentElement,j=a=>{"class"===a?(i.classList.remove(...z),e&&i.classList.add(e)):a.startsWith("data-")&&(e?i.setAttribute(a,e):i.removeAttribute(a))};if(Array.isArray(q)?q.forEach(j):j(q),h){let a=d.includes(p)?p:null,c=d.includes(b)?b:a;i.style.colorScheme=c}null==f||f()},[t]),B=b.useCallback(a=>{let b="function"==typeof a?a(v):a;w(b);try{localStorage.setItem(i,b)}catch(a){}},[v]),C=b.useCallback(b=>{y(o(b)),"system"===v&&g&&!a&&A("system")},[v,a]);b.useEffect(()=>{let a=window.matchMedia(e);return a.addListener(C),C(a),()=>a.removeListener(C)},[C]),b.useEffect(()=>{let a=a=>{a.key===i&&(a.newValue?w(a.newValue):B(p))};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[B]),b.useEffect(()=>{A(null!=a?a:v)},[a,v]);let D=b.useMemo(()=>({theme:v,setTheme:B,forcedTheme:a,resolvedTheme:"system"===v?x:v,themes:g?[...k,"system"]:k,systemTheme:g?x:void 0}),[v,B,a,x,g,k]);return b.createElement(f.Provider,{value:D},b.createElement(l,{forcedTheme:a,storageKey:i,attribute:q,enableSystem:g,enableColorScheme:h,defaultTheme:p,value:r,themes:k,nonce:t,scriptProps:u}),s)},l=b.memo(({forcedTheme:a,storageKey:d,attribute:e,enableSystem:f,enableColorScheme:g,defaultTheme:h,value:i,themes:j,nonce:k,scriptProps:l})=>{let m=JSON.stringify([e,d,h,a,j,i,f,g]).slice(1,-1);return b.createElement("script",{...l,suppressHydrationWarning:!0,nonce:k,dangerouslySetInnerHTML:{__html:`(${c.toString()})(${m})`}})}),m=(a,b)=>{},n=a=>{let b=document.createElement("style");return a&&b.setAttribute("nonce",a),b.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(b),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(b)},1)}},o=a=>(a||(a=window.matchMedia(e)),a.matches?"dark":"light");a.s(["ThemeProvider",()=>i,"useTheme",()=>h])},94783,a=>{"use strict";var b=a.i(40352),c=a.i(56916),d=a.i(61698);function e(){let{theme:a}=(0,d.useTheme)();return(0,b.jsx)(c.Toaster,{theme:a,position:"bottom-right",richColors:!0,closeButton:!0,expand:!1,duration:4e3,toastOptions:{classNames:{toast:"group",title:"font-semibold",description:"text-sm opacity-90",actionButton:"bg-primary text-primary-foreground",cancelButton:"bg-muted text-muted-foreground"}}})}a.s(["Toast",()=>e])},72245,a=>{"use strict";var b=a.i(40352),c=a.i(36883);let d=(0,c.createContext)(null);function e(){let a=(0,c.useContext)(d);if(!a)throw Error("useProject must be used within ProjectProvider");return a}function f({children:a,initialProjectId:e}){let[f,g]=(0,c.useState)("single-project"),[h,i]=(0,c.useState)(null),[j,k]=(0,c.useState)([]),[l,m]=(0,c.useState)([]),[n,o]=(0,c.useState)([]),[p,q]=(0,c.useState)(!0),[r,s]=(0,c.useState)(null),t=(0,c.useCallback)(async()=>{try{q(!0),s(null);let a=await fetch("/api/projects");if(!a.ok)throw Error("Failed to fetch projects");let b=await a.json();if(g(b.mode||"single-project"),k(b.projects||[]),m(b.recentProjects||[]),o(b.favoriteProjects||[]),!h&&b.projects.length>0){let a=e?b.projects.find(a=>a.id===e):b.recentProjects[0]||b.projects[0];a&&i(a)}}catch(a){console.error("Error fetching projects:",a),s(a.message||"Failed to load projects")}finally{q(!1)}},[h,e]),u=(0,c.useCallback)(async a=>{try{let b=await fetch(`/api/projects/${a}`);if(!b.ok)throw Error("Failed to fetch project");let c=await b.json();i(c.project),await t()}catch(a){throw console.error("Error switching project:",a),s(a.message||"Failed to switch project"),a}},[t]),v=(0,c.useCallback)(async(a,b)=>{try{let c=await fetch("/api/projects",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:a,...b})});if(!c.ok){let a=await c.json();throw Error(a.details||"Failed to add project")}let d=await c.json();return await t(),d.project}catch(a){throw console.error("Error adding project:",a),s(a.message||"Failed to add project"),a}},[t]),w=(0,c.useCallback)(async a=>{try{if(!(await fetch(`/api/projects/${a}`,{method:"DELETE"})).ok)throw Error("Failed to remove project");if(h?.id===a){let b=j.find(b=>b.id!==a);i(b||null)}await t()}catch(a){throw console.error("Error removing project:",a),s(a.message||"Failed to remove project"),a}},[h,j,t]),x=(0,c.useCallback)(async a=>{try{if(!(await fetch(`/api/projects/${a}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({favorite:!0})})).ok)throw Error("Failed to toggle favorite");await t()}catch(a){throw console.error("Error toggling favorite:",a),s(a.message||"Failed to toggle favorite"),a}},[t]),y=(0,c.useCallback)(async(a,b)=>{try{if(!(await fetch(`/api/projects/${a}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})).ok)throw Error("Failed to update project");await t()}catch(a){throw console.error("Error updating project:",a),s(a.message||"Failed to update project"),a}},[t]);return(0,c.useEffect)(()=>{t()},[]),(0,b.jsx)(d.Provider,{value:{mode:f,currentProject:h,projects:j,recentProjects:l,favoriteProjects:n,isLoading:p,error:r,switchProject:u,addProject:v,removeProject:w,toggleFavorite:x,updateProject:y,refreshProjects:t},children:a})}a.s(["ProjectProvider",()=>f,"useProject",()=>e])},47338,a=>{"use strict";let b=(0,a.i(63535).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],47338)},79220,66497,8920,65791,a=>{"use strict";var b=a.i(63535);let c=(0,b.default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>c],79220);let d=(0,b.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);a.s(["FolderOpen",()=>d],66497);let e=(0,b.default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);a.s(["Star",()=>e],8920);var f=a.i(40352),g=a.i(36883),h=a.i(81612),i=a.i(72245),j=a.i(27725),k=a.i(6334);let l=(0,b.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"}]]);var m=a.i(47338);let n=(0,b.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var o=a.i(76011),p=a.i(41270),q=a.i(87052);function r({onSelect:a,onCancel:b,initialPath:c,actionLabel:d="Select This Folder",isLoading:e}){let[h,i]=(0,g.useState)(c||""),[k,r]=(0,g.useState)([]),[s,t]=(0,g.useState)(!1),[u,v]=(0,g.useState)(null),w=(0,g.useRef)(null),x=e||s;(0,g.useEffect)(()=>{y(h)},[h]),(0,g.useEffect)(()=>{w.current&&(w.current.scrollLeft=w.current.scrollWidth)},[h]);let y=async a=>{try{t(!0),v(null);let b=await fetch("/api/local-projects/list-directory",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:a})});if(!b.ok)throw Error("Failed to list directory");let c=await b.json();r(c.items),a||i(c.path)}catch(a){v(a instanceof Error?a.message:String(a))}finally{t(!1)}},z=a=>{i(a)},A=k.find(a=>".."===a.name),B=k.filter(a=>".."!==a.name),C=(a=>{if(!a)return[];let b=a.includes("\\")?"\\":"/",c=a.split(b).filter(Boolean),d=a.startsWith("/");return c.map((a,e)=>{let f=c.slice(0,e+1).join(b);return d&&(f="/"+f),{name:a,path:f}})})(h);return(0,f.jsxs)("div",{className:"flex flex-col h-[400px] gap-4 min-w-0",children:[(0,f.jsxs)("div",{className:"flex items-center border rounded-md p-1 gap-1 bg-muted/30",children:[(0,f.jsx)(j.Button,{variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0",disabled:!A||x,onClick:()=>A&&z(A.path),title:"Go to parent directory",children:(0,f.jsx)(n,{className:"h-4 w-4"})}),(0,f.jsx)("div",{className:"w-px h-5 bg-border mx-1"}),(0,f.jsxs)("div",{ref:w,className:"flex-1 overflow-x-auto whitespace-nowrap flex items-center scrollbar-hide px-1 min-w-0",children:[(0,f.jsx)("button",{onClick:()=>z("/"),className:"hover:bg-accent p-1 rounded-sm transition-colors shrink-0",title:"Go to root",children:(0,f.jsx)(o.Home,{className:"h-4 w-4 text-muted-foreground"})}),C.map((a,b)=>(0,f.jsxs)("div",{className:"flex items-center shrink-0",children:[(0,f.jsx)(p.ChevronRight,{className:"h-3 w-3 text-muted-foreground mx-0.5 shrink-0"}),(0,f.jsx)("button",{onClick:()=>z(a.path),className:(0,q.cn)("px-1.5 py-0.5 rounded-sm transition-colors text-sm hover:bg-accent hover:text-accent-foreground",b===C.length-1?"font-medium text-foreground":"text-muted-foreground"),children:a.name})]},a.path))]})]}),(0,f.jsxs)("div",{className:"flex-1 border rounded-md overflow-hidden relative bg-background min-h-0",children:[x&&(0,f.jsx)("div",{className:"absolute inset-0 bg-background/50 flex items-center justify-center z-10",children:(0,f.jsx)(m.Loader2,{className:"h-6 w-6 animate-spin"})}),u?(0,f.jsxs)("div",{className:"p-4 text-destructive text-sm text-center",children:[u,(0,f.jsx)(j.Button,{variant:"link",onClick:()=>y(h),className:"block mx-auto mt-2",children:"Retry"})]}):(0,f.jsx)("div",{className:"h-full overflow-auto",children:(0,f.jsx)("div",{className:"p-1",children:0!==B.length||x?B.map(a=>(0,f.jsxs)("button",{onClick:()=>z(a.path),className:"flex items-center gap-3 w-full px-3 py-2 text-sm rounded-sm hover:bg-accent hover:text-accent-foreground text-left group transition-colors",children:[(0,f.jsx)(l,{className:"h-4 w-4 text-blue-500 fill-blue-500/20 group-hover:fill-blue-500/30 transition-colors shrink-0"}),(0,f.jsx)("span",{className:"truncate",children:a.name})]},a.path)):(0,f.jsx)("div",{className:"p-4 text-center text-sm text-muted-foreground",children:"Empty directory"})})})]}),(0,f.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,f.jsx)(j.Button,{variant:"outline",onClick:b,disabled:x,children:"Cancel"}),(0,f.jsx)(j.Button,{onClick:()=>a(h),disabled:x||!h,children:d})]})]})}var s=a.i(86945),t=a.i(56916);function u({open:a,onOpenChange:b}){let{addProject:c,switchProject:e}=(0,i.useProject)(),[l,m]=(0,g.useState)(""),[n,o]=(0,g.useState)(!1),[p,q]=(0,g.useState)("picker"),u=(0,h.useRouter)();(0,g.useEffect)(()=>{a&&(q("picker"),m(""))},[a]);let v=async a=>{try{o(!0);let d=await c(a);await e(d.id),t.toast.success("Project added successfully"),b(!1),u.push("/")}catch(b){let a=b instanceof Error?b.message:"Failed to add project";t.toast.error(a)}finally{o(!1)}};return(0,f.jsx)(s.Dialog,{open:a,onOpenChange:b,children:(0,f.jsxs)(s.DialogContent,{className:"sm:max-w-[600px]",children:[(0,f.jsxs)(s.DialogHeader,{children:[(0,f.jsx)(s.DialogTitle,{children:"Add Project"}),(0,f.jsx)(s.DialogDescription,{children:"picker"===p?"Browse and select the project directory.":"Enter the absolute path to your local project directory."})]}),"picker"===p?(0,f.jsxs)("div",{className:"space-y-2",children:[(0,f.jsx)(r,{onSelect:v,onCancel:()=>b(!1),initialPath:l,actionLabel:n?"Adding...":"Add Project",isLoading:n}),(0,f.jsx)("div",{className:"flex justify-center",children:(0,f.jsx)(j.Button,{variant:"link",size:"sm",onClick:()=>q("manual"),className:"text-muted-foreground",children:"Enter path manually"})})]}):(0,f.jsxs)("form",{onSubmit:a=>{a.preventDefault(),l&&v(l)},children:[(0,f.jsx)("div",{className:"grid gap-4 py-4",children:(0,f.jsxs)("div",{className:"grid gap-2",children:[(0,f.jsx)("label",{htmlFor:"path",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:"Project Path"}),(0,f.jsx)("div",{className:"flex gap-2",children:(0,f.jsx)(k.Input,{id:"path",value:l,onChange:a=>m(a.target.value),placeholder:"/path/to/your/project",className:"flex-1",disabled:n})}),(0,f.jsx)("p",{className:"text-xs text-muted-foreground",children:"Select the root directory of your project."})]})}),(0,f.jsxs)(s.DialogFooter,{className:"flex-col sm:flex-row gap-2",children:[(0,f.jsx)("div",{className:"flex-1 flex justify-start",children:(0,f.jsxs)(j.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>q("picker"),children:[(0,f.jsx)(d,{className:"h-4 w-4 mr-2"}),"Browse folders"]})}),(0,f.jsx)(j.Button,{type:"button",variant:"outline",onClick:()=>b(!1),disabled:n,children:"Cancel"}),(0,f.jsx)(j.Button,{type:"submit",disabled:n||!l,children:n?"Adding...":"Add Project"})]})]})]})})}a.s(["CreateProjectDialog",()=>u],65791)}];
6
+
7
+ //# sourceMappingURL=%5Broot-of-the-server%5D__73f60f12._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},55998,a=>{a.n(a.i(87885))},38958,a=>{a.n(a.i(21146))},73521,a=>{a.n(a.i(63504))},5605,a=>{a.n(a.i(1178))},18578,a=>{a.n(a.i(29263))},29433,a=>{a.n(a.i(44954))},78859,a=>{a.n(a.i(60892))},23729,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/packages/ui/src/app/projects/page.tsx <module evaluation> from the server, but it's 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]/packages/ui/src/app/projects/page.tsx <module evaluation>","default");a.s(["default",0,b])},45776,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/packages/ui/src/app/projects/page.tsx from the server, but it's 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]/packages/ui/src/app/projects/page.tsx","default");a.s(["default",0,b])},16709,a=>{"use strict";a.i(23729);var b=a.i(45776);a.n(b)}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__88a691ee._.js.map
@@ -0,0 +1,7 @@
1
+ module.exports=[90073,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactDOM},18382,(a,b,c)=>{"use strict";b.exports=a.r(18622)},40352,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactJsxRuntime},36883,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].React},11461,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.AppRouterContext},58470,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactServerDOMTurbopackClient},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},73264,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.HooksClientContext},57281,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.ServerInsertedHtml},86945,21841,a=>{"use strict";var b=a.i(40352),c=a.i(36883),d=a.i(59653),e=a.i(17988),f=a.i(63375),g=a.i(99700),h=a.i(17449),i=a.i(83644),j=a.i(84228),k=a.i(7547),l=a.i(44329),m=a.i(75655),n=a.i(41857),o=a.i(51867),p=a.i(16164),q=a.i(78357),r="Dialog",[s,t]=(0,f.createContextScope)(r),[u,v]=s(r),w=a=>{let{__scopeDialog:d,children:e,open:f,defaultOpen:i,onOpenChange:j,modal:k=!0}=a,l=c.useRef(null),m=c.useRef(null),[n,o]=(0,h.useControllableState)({prop:f,defaultProp:i??!1,onChange:j,caller:r});return(0,b.jsx)(u,{scope:d,triggerRef:l,contentRef:m,contentId:(0,g.useId)(),titleId:(0,g.useId)(),descriptionId:(0,g.useId)(),open:n,onOpenChange:o,onOpenToggle:c.useCallback(()=>o(a=>!a),[o]),modal:k,children:e})};w.displayName=r;var x="DialogTrigger",y=c.forwardRef((a,c)=>{let{__scopeDialog:f,...g}=a,h=v(x,f),i=(0,e.useComposedRefs)(c,h.triggerRef);return(0,b.jsx)(m.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":h.open,"aria-controls":h.contentId,"data-state":S(h.open),...g,ref:i,onClick:(0,d.composeEventHandlers)(a.onClick,h.onOpenToggle)})});y.displayName=x;var z="DialogPortal",[A,B]=s(z,{forceMount:void 0}),C=a=>{let{__scopeDialog:d,forceMount:e,children:f,container:g}=a,h=v(z,d);return(0,b.jsx)(A,{scope:d,forceMount:e,children:c.Children.map(f,a=>(0,b.jsx)(l.Presence,{present:e||h.open,children:(0,b.jsx)(k.Portal,{asChild:!0,container:g,children:a})}))})};C.displayName=z;var D="DialogOverlay",E=c.forwardRef((a,c)=>{let d=B(D,a.__scopeDialog),{forceMount:e=d.forceMount,...f}=a,g=v(D,a.__scopeDialog);return g.modal?(0,b.jsx)(l.Presence,{present:e||g.open,children:(0,b.jsx)(G,{...f,ref:c})}):null});E.displayName=D;var F=(0,q.createSlot)("DialogOverlay.RemoveScroll"),G=c.forwardRef((a,c)=>{let{__scopeDialog:d,...e}=a,f=v(D,d);return(0,b.jsx)(o.RemoveScroll,{as:F,allowPinchZoom:!0,shards:[f.contentRef],children:(0,b.jsx)(m.Primitive.div,{"data-state":S(f.open),...e,ref:c,style:{pointerEvents:"auto",...e.style}})})}),H="DialogContent",I=c.forwardRef((a,c)=>{let d=B(H,a.__scopeDialog),{forceMount:e=d.forceMount,...f}=a,g=v(H,a.__scopeDialog);return(0,b.jsx)(l.Presence,{present:e||g.open,children:g.modal?(0,b.jsx)(J,{...f,ref:c}):(0,b.jsx)(K,{...f,ref:c})})});I.displayName=H;var J=c.forwardRef((a,f)=>{let g=v(H,a.__scopeDialog),h=c.useRef(null),i=(0,e.useComposedRefs)(f,g.contentRef,h);return c.useEffect(()=>{let a=h.current;if(a)return(0,p.hideOthers)(a)},[]),(0,b.jsx)(L,{...a,ref:i,trapFocus:g.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,d.composeEventHandlers)(a.onCloseAutoFocus,a=>{a.preventDefault(),g.triggerRef.current?.focus()}),onPointerDownOutside:(0,d.composeEventHandlers)(a.onPointerDownOutside,a=>{let b=a.detail.originalEvent,c=0===b.button&&!0===b.ctrlKey;(2===b.button||c)&&a.preventDefault()}),onFocusOutside:(0,d.composeEventHandlers)(a.onFocusOutside,a=>a.preventDefault())})}),K=c.forwardRef((a,d)=>{let e=v(H,a.__scopeDialog),f=c.useRef(!1),g=c.useRef(!1);return(0,b.jsx)(L,{...a,ref:d,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:b=>{a.onCloseAutoFocus?.(b),b.defaultPrevented||(f.current||e.triggerRef.current?.focus(),b.preventDefault()),f.current=!1,g.current=!1},onInteractOutside:b=>{a.onInteractOutside?.(b),b.defaultPrevented||(f.current=!0,"pointerdown"===b.detail.originalEvent.type&&(g.current=!0));let c=b.target;e.triggerRef.current?.contains(c)&&b.preventDefault(),"focusin"===b.detail.originalEvent.type&&g.current&&b.preventDefault()}})}),L=c.forwardRef((a,d)=>{let{__scopeDialog:f,trapFocus:g,onOpenAutoFocus:h,onCloseAutoFocus:k,...l}=a,m=v(H,f),o=c.useRef(null),p=(0,e.useComposedRefs)(d,o);return(0,n.useFocusGuards)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(j.FocusScope,{asChild:!0,loop:!0,trapped:g,onMountAutoFocus:h,onUnmountAutoFocus:k,children:(0,b.jsx)(i.DismissableLayer,{role:"dialog",id:m.contentId,"aria-describedby":m.descriptionId,"aria-labelledby":m.titleId,"data-state":S(m.open),...l,ref:p,onDismiss:()=>m.onOpenChange(!1)})}),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(W,{titleId:m.titleId}),(0,b.jsx)(X,{contentRef:o,descriptionId:m.descriptionId})]})]})}),M="DialogTitle",N=c.forwardRef((a,c)=>{let{__scopeDialog:d,...e}=a,f=v(M,d);return(0,b.jsx)(m.Primitive.h2,{id:f.titleId,...e,ref:c})});N.displayName=M;var O="DialogDescription",P=c.forwardRef((a,c)=>{let{__scopeDialog:d,...e}=a,f=v(O,d);return(0,b.jsx)(m.Primitive.p,{id:f.descriptionId,...e,ref:c})});P.displayName=O;var Q="DialogClose",R=c.forwardRef((a,c)=>{let{__scopeDialog:e,...f}=a,g=v(Q,e);return(0,b.jsx)(m.Primitive.button,{type:"button",...f,ref:c,onClick:(0,d.composeEventHandlers)(a.onClick,()=>g.onOpenChange(!1))})});function S(a){return a?"open":"closed"}R.displayName=Q;var T="DialogTitleWarning",[U,V]=(0,f.createContext)(T,{contentName:H,titleName:M,docsSlug:"dialog"}),W=({titleId:a})=>{let b=V(T),d=`\`${b.contentName}\` requires a \`${b.titleName}\` for the component to be accessible for screen reader users.
2
+
3
+ If you want to hide the \`${b.titleName}\`, you can wrap it with our VisuallyHidden component.
4
+
5
+ For more information, see https://radix-ui.com/primitives/docs/components/${b.docsSlug}`;return c.useEffect(()=>{a&&(document.getElementById(a)||console.error(d))},[d,a]),null},X=({contentRef:a,descriptionId:b})=>{let d=V("DialogDescriptionWarning"),e=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${d.contentName}}.`;return c.useEffect(()=>{let c=a.current?.getAttribute("aria-describedby");b&&c&&(document.getElementById(b)||console.warn(e))},[e,a,b]),null};a.s(["Close",()=>R,"Content",()=>I,"Description",()=>P,"Overlay",()=>E,"Portal",()=>C,"Root",()=>w,"Title",()=>N,"Trigger",()=>y],21841);var Y=a.i(14174),Z=a.i(87052);let $=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(E,{ref:d,className:(0,Z.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...c}));$.displayName=E.displayName;let _=c.forwardRef(({className:a,children:c,...d},e)=>(0,b.jsxs)(C,{children:[(0,b.jsx)($,{}),(0,b.jsxs)(I,{ref:e,className:(0,Z.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",a),...d,children:[c,(0,b.jsxs)(R,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,b.jsx)(Y.X,{className:"h-4 w-4"}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));_.displayName=I.displayName;let aa=({className:a,...c})=>(0,b.jsx)("div",{className:(0,Z.cn)("flex flex-col space-y-1.5 text-center sm:text-left",a),...c});aa.displayName="DialogHeader";let ab=({className:a,...c})=>(0,b.jsx)("div",{className:(0,Z.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",a),...c});ab.displayName="DialogFooter";let ac=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(N,{ref:d,className:(0,Z.cn)("text-lg font-semibold leading-none tracking-tight",a),...c}));ac.displayName=N.displayName;let ad=c.forwardRef(({className:a,...c},d)=>(0,b.jsx)(P,{ref:d,className:(0,Z.cn)("text-sm text-muted-foreground",a),...c}));ad.displayName=P.displayName,a.s(["Dialog",()=>w,"DialogContent",()=>_,"DialogDescription",()=>ad,"DialogFooter",()=>ab,"DialogHeader",()=>aa,"DialogTitle",()=>ac],86945)},76011,a=>{"use strict";let b=(0,a.i(63535).default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);a.s(["Home",()=>b],76011)},15268,a=>{"use strict";let b=(0,a.i(63535).default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);a.s(["FileText",()=>b],15268)},41318,a=>{"use strict";var b=a.i(36883),c=a.i(75655),d=a.i(40352),e=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),f=b.forwardRef((a,b)=>(0,d.jsx)(c.Primitive.span,{...a,ref:b,style:{...e,...a.style}}));f.displayName="VisuallyHidden",a.s(["Root",()=>f,"VISUALLY_HIDDEN_STYLES",()=>e])},61698,a=>{"use strict";var b=a.i(36883),c=(a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}},d=["light","dark"],e="(prefers-color-scheme: dark)",f=b.createContext(void 0),g={setTheme:a=>{},themes:[]},h=()=>{var a;return null!=(a=b.useContext(f))?a:g},i=a=>b.useContext(f)?b.createElement(b.Fragment,null,a.children):b.createElement(k,{...a}),j=["light","dark"],k=({forcedTheme:a,disableTransitionOnChange:c=!1,enableSystem:g=!0,enableColorScheme:h=!0,storageKey:i="theme",themes:k=j,defaultTheme:p=g?"system":"light",attribute:q="data-theme",value:r,children:s,nonce:t,scriptProps:u})=>{let[v,w]=b.useState(()=>m(i,p)),[x,y]=b.useState(()=>"system"===v?o():v),z=r?Object.values(r):k,A=b.useCallback(a=>{let b=a;if(!b)return;"system"===a&&g&&(b=o());let e=r?r[b]:b,f=c?n(t):null,i=document.documentElement,j=a=>{"class"===a?(i.classList.remove(...z),e&&i.classList.add(e)):a.startsWith("data-")&&(e?i.setAttribute(a,e):i.removeAttribute(a))};if(Array.isArray(q)?q.forEach(j):j(q),h){let a=d.includes(p)?p:null,c=d.includes(b)?b:a;i.style.colorScheme=c}null==f||f()},[t]),B=b.useCallback(a=>{let b="function"==typeof a?a(v):a;w(b);try{localStorage.setItem(i,b)}catch(a){}},[v]),C=b.useCallback(b=>{y(o(b)),"system"===v&&g&&!a&&A("system")},[v,a]);b.useEffect(()=>{let a=window.matchMedia(e);return a.addListener(C),C(a),()=>a.removeListener(C)},[C]),b.useEffect(()=>{let a=a=>{a.key===i&&(a.newValue?w(a.newValue):B(p))};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[B]),b.useEffect(()=>{A(null!=a?a:v)},[a,v]);let D=b.useMemo(()=>({theme:v,setTheme:B,forcedTheme:a,resolvedTheme:"system"===v?x:v,themes:g?[...k,"system"]:k,systemTheme:g?x:void 0}),[v,B,a,x,g,k]);return b.createElement(f.Provider,{value:D},b.createElement(l,{forcedTheme:a,storageKey:i,attribute:q,enableSystem:g,enableColorScheme:h,defaultTheme:p,value:r,themes:k,nonce:t,scriptProps:u}),s)},l=b.memo(({forcedTheme:a,storageKey:d,attribute:e,enableSystem:f,enableColorScheme:g,defaultTheme:h,value:i,themes:j,nonce:k,scriptProps:l})=>{let m=JSON.stringify([e,d,h,a,j,i,f,g]).slice(1,-1);return b.createElement("script",{...l,suppressHydrationWarning:!0,nonce:k,dangerouslySetInnerHTML:{__html:`(${c.toString()})(${m})`}})}),m=(a,b)=>{},n=a=>{let b=document.createElement("style");return a&&b.setAttribute("nonce",a),b.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(b),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(b)},1)}},o=a=>(a||(a=window.matchMedia(e)),a.matches?"dark":"light");a.s(["ThemeProvider",()=>i,"useTheme",()=>h])},94783,a=>{"use strict";var b=a.i(40352),c=a.i(56916),d=a.i(61698);function e(){let{theme:a}=(0,d.useTheme)();return(0,b.jsx)(c.Toaster,{theme:a,position:"bottom-right",richColors:!0,closeButton:!0,expand:!1,duration:4e3,toastOptions:{classNames:{toast:"group",title:"font-semibold",description:"text-sm opacity-90",actionButton:"bg-primary text-primary-foreground",cancelButton:"bg-muted text-muted-foreground"}}})}a.s(["Toast",()=>e])},72245,a=>{"use strict";var b=a.i(40352),c=a.i(36883);let d=(0,c.createContext)(null);function e(){let a=(0,c.useContext)(d);if(!a)throw Error("useProject must be used within ProjectProvider");return a}function f({children:a,initialProjectId:e}){let[f,g]=(0,c.useState)("single-project"),[h,i]=(0,c.useState)(null),[j,k]=(0,c.useState)([]),[l,m]=(0,c.useState)([]),[n,o]=(0,c.useState)([]),[p,q]=(0,c.useState)(!0),[r,s]=(0,c.useState)(null),t=(0,c.useCallback)(async()=>{try{q(!0),s(null);let a=await fetch("/api/projects");if(!a.ok)throw Error("Failed to fetch projects");let b=await a.json();if(g(b.mode||"single-project"),k(b.projects||[]),m(b.recentProjects||[]),o(b.favoriteProjects||[]),!h&&b.projects.length>0){let a=e?b.projects.find(a=>a.id===e):b.recentProjects[0]||b.projects[0];a&&i(a)}}catch(a){console.error("Error fetching projects:",a),s(a.message||"Failed to load projects")}finally{q(!1)}},[h,e]),u=(0,c.useCallback)(async a=>{try{let b=await fetch(`/api/projects/${a}`);if(!b.ok)throw Error("Failed to fetch project");let c=await b.json();i(c.project),await t()}catch(a){throw console.error("Error switching project:",a),s(a.message||"Failed to switch project"),a}},[t]),v=(0,c.useCallback)(async(a,b)=>{try{let c=await fetch("/api/projects",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:a,...b})});if(!c.ok){let a=await c.json();throw Error(a.details||"Failed to add project")}let d=await c.json();return await t(),d.project}catch(a){throw console.error("Error adding project:",a),s(a.message||"Failed to add project"),a}},[t]),w=(0,c.useCallback)(async a=>{try{if(!(await fetch(`/api/projects/${a}`,{method:"DELETE"})).ok)throw Error("Failed to remove project");if(h?.id===a){let b=j.find(b=>b.id!==a);i(b||null)}await t()}catch(a){throw console.error("Error removing project:",a),s(a.message||"Failed to remove project"),a}},[h,j,t]),x=(0,c.useCallback)(async a=>{try{if(!(await fetch(`/api/projects/${a}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({favorite:!0})})).ok)throw Error("Failed to toggle favorite");await t()}catch(a){throw console.error("Error toggling favorite:",a),s(a.message||"Failed to toggle favorite"),a}},[t]),y=(0,c.useCallback)(async(a,b)=>{try{if(!(await fetch(`/api/projects/${a}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)})).ok)throw Error("Failed to update project");await t()}catch(a){throw console.error("Error updating project:",a),s(a.message||"Failed to update project"),a}},[t]);return(0,c.useEffect)(()=>{t()},[]),(0,b.jsx)(d.Provider,{value:{mode:f,currentProject:h,projects:j,recentProjects:l,favoriteProjects:n,isLoading:p,error:r,switchProject:u,addProject:v,removeProject:w,toggleFavorite:x,updateProject:y,refreshProjects:t},children:a})}a.s(["ProjectProvider",()=>f,"useProject",()=>e])},47338,a=>{"use strict";let b=(0,a.i(63535).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);a.s(["Loader2",()=>b],47338)},79220,66497,8920,65791,a=>{"use strict";var b=a.i(63535);let c=(0,b.default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);a.s(["Plus",()=>c],79220);let d=(0,b.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]);a.s(["FolderOpen",()=>d],66497);let e=(0,b.default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);a.s(["Star",()=>e],8920);var f=a.i(40352),g=a.i(36883),h=a.i(81612),i=a.i(72245),j=a.i(27725),k=a.i(6334);let l=(0,b.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"}]]);var m=a.i(47338);let n=(0,b.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var o=a.i(76011),p=a.i(41270),q=a.i(87052);function r({onSelect:a,onCancel:b,initialPath:c,actionLabel:d="Select This Folder",isLoading:e}){let[h,i]=(0,g.useState)(c||""),[k,r]=(0,g.useState)([]),[s,t]=(0,g.useState)(!1),[u,v]=(0,g.useState)(null),w=(0,g.useRef)(null),x=e||s;(0,g.useEffect)(()=>{y(h)},[h]),(0,g.useEffect)(()=>{w.current&&(w.current.scrollLeft=w.current.scrollWidth)},[h]);let y=async a=>{try{t(!0),v(null);let b=await fetch("/api/local-projects/list-directory",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:a})});if(!b.ok)throw Error("Failed to list directory");let c=await b.json();r(c.items),a||i(c.path)}catch(a){v(a instanceof Error?a.message:String(a))}finally{t(!1)}},z=a=>{i(a)},A=k.find(a=>".."===a.name),B=k.filter(a=>".."!==a.name),C=(a=>{if(!a)return[];let b=a.includes("\\")?"\\":"/",c=a.split(b).filter(Boolean),d=a.startsWith("/");return c.map((a,e)=>{let f=c.slice(0,e+1).join(b);return d&&(f="/"+f),{name:a,path:f}})})(h);return(0,f.jsxs)("div",{className:"flex flex-col h-[400px] gap-4 min-w-0",children:[(0,f.jsxs)("div",{className:"flex items-center border rounded-md p-1 gap-1 bg-muted/30",children:[(0,f.jsx)(j.Button,{variant:"ghost",size:"icon",className:"h-8 w-8 shrink-0",disabled:!A||x,onClick:()=>A&&z(A.path),title:"Go to parent directory",children:(0,f.jsx)(n,{className:"h-4 w-4"})}),(0,f.jsx)("div",{className:"w-px h-5 bg-border mx-1"}),(0,f.jsxs)("div",{ref:w,className:"flex-1 overflow-x-auto whitespace-nowrap flex items-center scrollbar-hide px-1 min-w-0",children:[(0,f.jsx)("button",{onClick:()=>z("/"),className:"hover:bg-accent p-1 rounded-sm transition-colors shrink-0",title:"Go to root",children:(0,f.jsx)(o.Home,{className:"h-4 w-4 text-muted-foreground"})}),C.map((a,b)=>(0,f.jsxs)("div",{className:"flex items-center shrink-0",children:[(0,f.jsx)(p.ChevronRight,{className:"h-3 w-3 text-muted-foreground mx-0.5 shrink-0"}),(0,f.jsx)("button",{onClick:()=>z(a.path),className:(0,q.cn)("px-1.5 py-0.5 rounded-sm transition-colors text-sm hover:bg-accent hover:text-accent-foreground",b===C.length-1?"font-medium text-foreground":"text-muted-foreground"),children:a.name})]},a.path))]})]}),(0,f.jsxs)("div",{className:"flex-1 border rounded-md overflow-hidden relative bg-background min-h-0",children:[x&&(0,f.jsx)("div",{className:"absolute inset-0 bg-background/50 flex items-center justify-center z-10",children:(0,f.jsx)(m.Loader2,{className:"h-6 w-6 animate-spin"})}),u?(0,f.jsxs)("div",{className:"p-4 text-destructive text-sm text-center",children:[u,(0,f.jsx)(j.Button,{variant:"link",onClick:()=>y(h),className:"block mx-auto mt-2",children:"Retry"})]}):(0,f.jsx)("div",{className:"h-full overflow-auto",children:(0,f.jsx)("div",{className:"p-1",children:0!==B.length||x?B.map(a=>(0,f.jsxs)("button",{onClick:()=>z(a.path),className:"flex items-center gap-3 w-full px-3 py-2 text-sm rounded-sm hover:bg-accent hover:text-accent-foreground text-left group transition-colors",children:[(0,f.jsx)(l,{className:"h-4 w-4 text-blue-500 fill-blue-500/20 group-hover:fill-blue-500/30 transition-colors shrink-0"}),(0,f.jsx)("span",{className:"truncate",children:a.name})]},a.path)):(0,f.jsx)("div",{className:"p-4 text-center text-sm text-muted-foreground",children:"Empty directory"})})})]}),(0,f.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,f.jsx)(j.Button,{variant:"outline",onClick:b,disabled:x,children:"Cancel"}),(0,f.jsx)(j.Button,{onClick:()=>a(h),disabled:x||!h,children:d})]})]})}var s=a.i(86945),t=a.i(56916);function u({open:a,onOpenChange:b}){let{addProject:c,switchProject:e}=(0,i.useProject)(),[l,m]=(0,g.useState)(""),[n,o]=(0,g.useState)(!1),[p,q]=(0,g.useState)("picker"),u=(0,h.useRouter)();(0,g.useEffect)(()=>{a&&(q("picker"),m(""))},[a]);let v=async a=>{try{o(!0);let d=await c(a);await e(d.id),t.toast.success("Project added successfully"),b(!1),u.push("/")}catch(b){let a=b instanceof Error?b.message:"Failed to add project";t.toast.error(a)}finally{o(!1)}};return(0,f.jsx)(s.Dialog,{open:a,onOpenChange:b,children:(0,f.jsxs)(s.DialogContent,{className:"sm:max-w-[600px]",children:[(0,f.jsxs)(s.DialogHeader,{children:[(0,f.jsx)(s.DialogTitle,{children:"Add Project"}),(0,f.jsx)(s.DialogDescription,{children:"picker"===p?"Browse and select the project directory.":"Enter the absolute path to your local project directory."})]}),"picker"===p?(0,f.jsxs)("div",{className:"space-y-2",children:[(0,f.jsx)(r,{onSelect:v,onCancel:()=>b(!1),initialPath:l,actionLabel:n?"Adding...":"Add Project",isLoading:n}),(0,f.jsx)("div",{className:"flex justify-center",children:(0,f.jsx)(j.Button,{variant:"link",size:"sm",onClick:()=>q("manual"),className:"text-muted-foreground",children:"Enter path manually"})})]}):(0,f.jsxs)("form",{onSubmit:a=>{a.preventDefault(),l&&v(l)},children:[(0,f.jsx)("div",{className:"grid gap-4 py-4",children:(0,f.jsxs)("div",{className:"grid gap-2",children:[(0,f.jsx)("label",{htmlFor:"path",className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:"Project Path"}),(0,f.jsx)("div",{className:"flex gap-2",children:(0,f.jsx)(k.Input,{id:"path",value:l,onChange:a=>m(a.target.value),placeholder:"/path/to/your/project",className:"flex-1",disabled:n})}),(0,f.jsx)("p",{className:"text-xs text-muted-foreground",children:"Select the root directory of your project."})]})}),(0,f.jsxs)(s.DialogFooter,{className:"flex-col sm:flex-row gap-2",children:[(0,f.jsx)("div",{className:"flex-1 flex justify-start",children:(0,f.jsxs)(j.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>q("picker"),children:[(0,f.jsx)(d,{className:"h-4 w-4 mr-2"}),"Browse folders"]})}),(0,f.jsx)(j.Button,{type:"button",variant:"outline",onClick:()=>b(!1),disabled:n,children:"Cancel"}),(0,f.jsx)(j.Button,{type:"submit",disabled:n||!l,children:n?"Adding...":"Add Project"})]})]})]})})}a.s(["CreateProjectDialog",()=>u],65791)}];
6
+
7
+ //# sourceMappingURL=%5Broot-of-the-server%5D__a7ae8552._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},55998,a=>{a.n(a.i(87885))},38958,a=>{a.n(a.i(21146))},73521,a=>{a.n(a.i(63504))},5605,a=>{a.n(a.i(1178))},18578,a=>{a.n(a.i(29263))},29433,a=>{a.n(a.i(44954))},78859,a=>{a.n(a.i(60892))},20678,a=>{a.n(a.i(52634))},28946,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call SpecsClient() from the server but SpecsClient 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]/packages/ui/src/app/specs/specs-client.tsx <module evaluation>","SpecsClient");a.s(["SpecsClient",0,b])},51484,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call SpecsClient() from the server but SpecsClient 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]/packages/ui/src/app/specs/specs-client.tsx","SpecsClient");a.s(["SpecsClient",0,b])},21636,a=>{"use strict";a.i(28946);var b=a.i(51484);a.n(b)},58842,a=>{"use strict";var b=a.i(37843),c=a.i(78931),d=a.i(21636);async function e({params:a}){let{projectId:e}=await a,[f,g]=await Promise.all([(0,c.getSpecsWithMetadata)(e),(0,c.getStats)(e)]);return(0,b.jsx)(d.SpecsClient,{initialSpecs:f,initialStats:g,projectId:e})}a.s(["default",()=>e,"dynamic",0,"force-dynamic"])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__bdbbba01._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[50227,(a,b,c)=>{b.exports=a.x("node:path",()=>require("node:path"))},30702,a=>{"use strict";let b=(0,a.i(63535).default)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);a.s(["List",()=>b],30702)},15970,4620,a=>{"use strict";var b=a.i(63535);let c=(0,b.default)("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);a.s(["GitBranch",()=>c],15970);let d=(0,b.default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);a.s(["Maximize2",()=>d],4620)},32418,a=>{"use strict";let b=(0,a.i(63535).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);a.s(["Circle",()=>b],32418)},18419,a=>{"use strict";let b=(0,a.i(63535).default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);a.s(["TrendingUp",()=>b],18419)},16853,(a,b,c)=>{"use strict";var d=a.r(36883);d.useState,d.useEffect,d.useLayoutEffect,d.useDebugValue,c.useSyncExternalStore=void 0!==d.useSyncExternalStore?d.useSyncExternalStore:function(a,b){return b()}},36180,(a,b,c)=>{"use strict";b.exports=a.r(16853)},91656,(a,b,c)=>{"use strict";var d=a.r(36883),e=a.r(36180),f="function"==typeof Object.is?Object.is:function(a,b){return a===b&&(0!==a||1/a==1/b)||a!=a&&b!=b},g=e.useSyncExternalStore,h=d.useRef,i=d.useEffect,j=d.useMemo,k=d.useDebugValue;c.useSyncExternalStoreWithSelector=function(a,b,c,d,e){var l=h(null);if(null===l.current){var m={hasValue:!1,value:null};l.current=m}else m=l.current;var n=g(a,(l=j(function(){function a(a){if(!i){if(i=!0,g=a,a=d(a),void 0!==e&&m.hasValue){var b=m.value;if(e(b,a))return h=b}return h=a}if(b=h,f(g,a))return b;var c=d(a);return void 0!==e&&e(b,c)?(g=a,b):(g=a,h=c)}var g,h,i=!1,j=void 0===c?null:c;return[function(){return a(b())},null===j?void 0:function(){return a(j())}]},[b,c,d,e]))[0],l[1]);return i(function(){m.hasValue=!0,m.value=n},[n]),k(n),n}},56689,(a,b,c)=>{"use strict";b.exports=a.r(91656)},56175,a=>{"use strict";a.s(["default",0,function(a,b){return a*=1,b*=1,function(c){return a*(1-c)+b*c}}])},28003,12901,a=>{"use strict";function b(a,b,c){a.prototype=b.prototype=c,c.constructor=a}function c(a,b){var c=Object.create(a.prototype);for(var d in b)c[d]=b[d];return c}function d(){}var e="\\s*([+-]?\\d+)\\s*",f="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",g="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",h=/^#([0-9a-f]{3,8})$/,i=RegExp(`^rgb\\(${e},${e},${e}\\)$`),j=RegExp(`^rgb\\(${g},${g},${g}\\)$`),k=RegExp(`^rgba\\(${e},${e},${e},${f}\\)$`),l=RegExp(`^rgba\\(${g},${g},${g},${f}\\)$`),m=RegExp(`^hsl\\(${f},${g},${g}\\)$`),n=RegExp(`^hsla\\(${f},${g},${g},${f}\\)$`),o={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function p(){return this.rgb().formatHex()}function q(){return this.rgb().formatRgb()}function r(a){var b,c;return a=(a+"").trim().toLowerCase(),(b=h.exec(a))?(c=b[1].length,b=parseInt(b[1],16),6===c?s(b):3===c?new v(b>>8&15|b>>4&240,b>>4&15|240&b,(15&b)<<4|15&b,1):8===c?t(b>>24&255,b>>16&255,b>>8&255,(255&b)/255):4===c?t(b>>12&15|b>>8&240,b>>8&15|b>>4&240,b>>4&15|240&b,((15&b)<<4|15&b)/255):null):(b=i.exec(a))?new v(b[1],b[2],b[3],1):(b=j.exec(a))?new v(255*b[1]/100,255*b[2]/100,255*b[3]/100,1):(b=k.exec(a))?t(b[1],b[2],b[3],b[4]):(b=l.exec(a))?t(255*b[1]/100,255*b[2]/100,255*b[3]/100,b[4]):(b=m.exec(a))?B(b[1],b[2]/100,b[3]/100,1):(b=n.exec(a))?B(b[1],b[2]/100,b[3]/100,b[4]):o.hasOwnProperty(a)?s(o[a]):"transparent"===a?new v(NaN,NaN,NaN,0):null}function s(a){return new v(a>>16&255,a>>8&255,255&a,1)}function t(a,b,c,d){return d<=0&&(a=b=c=NaN),new v(a,b,c,d)}function u(a,b,c,e){var f;return 1==arguments.length?((f=a)instanceof d||(f=r(f)),f)?new v((f=f.rgb()).r,f.g,f.b,f.opacity):new v:new v(a,b,c,null==e?1:e)}function v(a,b,c,d){this.r=+a,this.g=+b,this.b=+c,this.opacity=+d}function w(){return`#${A(this.r)}${A(this.g)}${A(this.b)}`}function x(){let a=y(this.opacity);return`${1===a?"rgb(":"rgba("}${z(this.r)}, ${z(this.g)}, ${z(this.b)}${1===a?")":`, ${a})`}`}function y(a){return isNaN(a)?1:Math.max(0,Math.min(1,a))}function z(a){return Math.max(0,Math.min(255,Math.round(a)||0))}function A(a){return((a=z(a))<16?"0":"")+a.toString(16)}function B(a,b,c,d){return d<=0?a=b=c=NaN:c<=0||c>=1?a=b=NaN:b<=0&&(a=NaN),new D(a,b,c,d)}function C(a){if(a instanceof D)return new D(a.h,a.s,a.l,a.opacity);if(a instanceof d||(a=r(a)),!a)return new D;if(a instanceof D)return a;var b=(a=a.rgb()).r/255,c=a.g/255,e=a.b/255,f=Math.min(b,c,e),g=Math.max(b,c,e),h=NaN,i=g-f,j=(g+f)/2;return i?(h=b===g?(c-e)/i+(c<e)*6:c===g?(e-b)/i+2:(b-c)/i+4,i/=j<.5?g+f:2-g-f,h*=60):i=j>0&&j<1?0:h,new D(h,i,j,a.opacity)}function D(a,b,c,d){this.h=+a,this.s=+b,this.l=+c,this.opacity=+d}function E(a){return(a=(a||0)%360)<0?a+360:a}function F(a){return Math.max(0,Math.min(1,a||0))}function G(a,b,c){return(a<60?b+(c-b)*a/60:a<180?c:a<240?b+(c-b)*(240-a)/60:b)*255}b(d,r,{copy(a){return Object.assign(new this.constructor,this,a)},displayable(){return this.rgb().displayable()},hex:p,formatHex:p,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return C(this).formatHsl()},formatRgb:q,toString:q}),b(v,u,c(d,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new v(this.r*a,this.g*a,this.b*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new v(this.r*a,this.g*a,this.b*a,this.opacity)},rgb(){return this},clamp(){return new v(z(this.r),z(this.g),z(this.b),y(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:w,formatHex:w,formatHex8:function(){return`#${A(this.r)}${A(this.g)}${A(this.b)}${A((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:x,toString:x})),b(D,function(a,b,c,d){return 1==arguments.length?C(a):new D(a,b,c,null==d?1:d)},c(d,{brighter(a){return a=null==a?1.4285714285714286:Math.pow(1.4285714285714286,a),new D(this.h,this.s,this.l*a,this.opacity)},darker(a){return a=null==a?.7:Math.pow(.7,a),new D(this.h,this.s,this.l*a,this.opacity)},rgb(){var a=this.h%360+(this.h<0)*360,b=isNaN(a)||isNaN(this.s)?0:this.s,c=this.l,d=c+(c<.5?c:1-c)*b,e=2*c-d;return new v(G(a>=240?a-240:a+120,e,d),G(a,e,d),G(a<120?a+240:a-120,e,d),this.opacity)},clamp(){return new D(E(this.h),F(this.s),F(this.l),y(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let a=y(this.opacity);return`${1===a?"hsl(":"hsla("}${E(this.h)}, ${100*F(this.s)}%, ${100*F(this.l)}%${1===a?")":`, ${a})`}`}})),a.s(["default",()=>r,"rgb",()=>u],12901),a.s(["color",()=>r],28003)},22502,a=>{"use strict";var b=a.i(56175);a.s(["interpolateNumber",()=>b.default])},15761,25533,a=>{"use strict";var b=a.i(12901);function c(a,b,c,d,e){var f=a*a,g=f*a;return((1-3*a+3*f-g)*b+(4-6*f+3*g)*c+(1+3*a+3*f-3*g)*d+g*e)/6}let d=a=>()=>a;function e(a,b){var c=b-a;return c?function(b){return a+b*c}:d(isNaN(a)?b:a)}a.s(["default",0,d],25533);let f=function a(c){var f,g=1==(f=+c)?e:function(a,b){var c,e,g;return b-a?(c=a,e=b,c=Math.pow(c,g=f),e=Math.pow(e,g)-c,g=1/g,function(a){return Math.pow(c+a*e,g)}):d(isNaN(a)?b:a)};function h(a,c){var d=g((a=(0,b.rgb)(a)).r,(c=(0,b.rgb)(c)).r),f=g(a.g,c.g),h=g(a.b,c.b),i=e(a.opacity,c.opacity);return function(b){return a.r=d(b),a.g=f(b),a.b=h(b),a.opacity=i(b),a+""}}return h.gamma=a,h}(1);function g(a){return function(c){var d,e,f=c.length,g=Array(f),h=Array(f),i=Array(f);for(d=0;d<f;++d)e=(0,b.rgb)(c[d]),g[d]=e.r||0,h[d]=e.g||0,i[d]=e.b||0;return g=a(g),h=a(h),i=a(i),e.opacity=1,function(a){return e.r=g(a),e.g=h(a),e.b=i(a),e+""}}}g(function(a){var b=a.length-1;return function(d){var e=d<=0?d=0:d>=1?(d=1,b-1):Math.floor(d*b),f=a[e],g=a[e+1],h=e>0?a[e-1]:2*f-g,i=e<b-1?a[e+2]:2*g-f;return c((d-e/b)*b,h,f,g,i)}}),g(function(a){var b=a.length;return function(d){var e=Math.floor(((d%=1)<0?++d:d)*b),f=a[(e+b-1)%b],g=a[e%b],h=a[(e+1)%b],i=a[(e+2)%b];return c((d-e/b)*b,f,g,h,i)}}),a.s(["default",0,f],15761)},72834,a=>{"use strict";var b=a.i(56175),c=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,d=RegExp(c.source,"g");a.s(["default",0,function(a,e){var f,g,h,i,j,k=c.lastIndex=d.lastIndex=0,l=-1,m=[],n=[];for(a+="",e+="";(h=c.exec(a))&&(i=d.exec(e));)(j=i.index)>k&&(j=e.slice(k,j),m[l]?m[l]+=j:m[++l]=j),(h=h[0])===(i=i[0])?m[l]?m[l]+=i:m[++l]=i:(m[++l]=null,n.push({i:l,x:(0,b.default)(h,i)})),k=d.lastIndex;return k<e.length&&(j=e.slice(k),m[l]?m[l]+=j:m[++l]=j),m.length<2?n[0]?(f=n[0].x,function(a){return f(a)+""}):(g=e,function(){return g}):(e=n.length,function(a){for(var b,c=0;c<e;++c)m[(b=n[c]).i]=b.x(a);return m.join("")})}])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__c592f5d1._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},55998,a=>{a.n(a.i(87885))},38958,a=>{a.n(a.i(21146))},73521,a=>{a.n(a.i(63504))},5605,a=>{a.n(a.i(1178))},18578,a=>{a.n(a.i(29263))},29433,a=>{a.n(a.i(44954))},78859,a=>{a.n(a.i(60892))},20678,a=>{a.n(a.i(52634))},29010,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call SpecDetailWrapper() from the server but SpecDetailWrapper 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]/packages/ui/src/components/spec-detail-wrapper.tsx <module evaluation>","SpecDetailWrapper");a.s(["SpecDetailWrapper",0,b])},12793,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call SpecDetailWrapper() from the server but SpecDetailWrapper 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]/packages/ui/src/components/spec-detail-wrapper.tsx","SpecDetailWrapper");a.s(["SpecDetailWrapper",0,b])},32859,a=>{"use strict";a.i(29010);var b=a.i(12793);a.n(b)},21463,a=>{"use strict";var b=a.i(37843);a.i(74555);var c=a.i(79596),d=a.i(78931),e=a.i(32859);async function f({params:a,searchParams:f}){let{projectId:g,specId:h}=await a,{subspec:i}=await f,[j,k]=await Promise.all([(0,d.getSpecById)(h,g),(0,d.getSpecsWithSubSpecCount)(g)]);return j||(0,c.notFound)(),(0,b.jsx)(e.SpecDetailWrapper,{spec:j,allSpecs:k,currentSubSpec:i})}a.s(["default",()=>f,"dynamic",0,"force-dynamic","revalidate",0,0])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__cc589a54._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},55998,a=>{a.n(a.i(87885))},38958,a=>{a.n(a.i(21146))},73521,a=>{a.n(a.i(63504))},5605,a=>{a.n(a.i(1178))},18578,a=>{a.n(a.i(29263))},29433,a=>{a.n(a.i(44954))},78859,a=>{a.n(a.i(60892))},29010,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call SpecDetailWrapper() from the server but SpecDetailWrapper 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]/packages/ui/src/components/spec-detail-wrapper.tsx <module evaluation>","SpecDetailWrapper");a.s(["SpecDetailWrapper",0,b])},12793,a=>{"use strict";let b=(0,a.i(45804).registerClientReference)(function(){throw Error("Attempted to call SpecDetailWrapper() from the server but SpecDetailWrapper 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]/packages/ui/src/components/spec-detail-wrapper.tsx","SpecDetailWrapper");a.s(["SpecDetailWrapper",0,b])},32859,a=>{"use strict";a.i(29010);var b=a.i(12793);a.n(b)},15361,a=>{"use strict";var b=a.i(37843);a.i(74555);var c=a.i(79596),d=a.i(78931),e=a.i(32859);async function f({params:a,searchParams:f}){let{id:g}=await a,{subspec:h}=await f,[i,j]=await Promise.all([(0,d.getSpecById)(g),(0,d.getSpecsWithSubSpecCount)()]);return i||(0,c.notFound)(),(0,b.jsx)(e.SpecDetailWrapper,{spec:i,allSpecs:j,currentSubSpec:h})}a.s(["default",()=>f,"dynamicParams",0,!0,"revalidate",0,60])}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__ec5b96a5._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},18382,(a,b,c)=>{"use strict";b.exports=a.r(18622)},40352,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactJsxRuntime},36883,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].React},11461,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.AppRouterContext},58470,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactServerDOMTurbopackClient},90073,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactDOM},73264,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.HooksClientContext},57281,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.ServerInsertedHtml},3961,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"HandleISRError",{enumerable:!0,get:function(){return e}});let d=a.r(56704).workAsyncStorage;function e({error:a}){if(d){let b=d.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}return null}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},61860,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return h}});let d=a.r(40352),e=a.r(3961),f={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},g={fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"},h=function({error:a}){let b=a?.digest;return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{}),(0,d.jsxs)("body",{children:[(0,d.jsx)(e.HandleISRError,{error:a}),(0,d.jsx)("div",{style:f,children:(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{style:g,children:["Application error: a ",b?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",b?"server logs":"browser console"," for more information)."]}),b?(0,d.jsx)("p",{style:g,children:`Digest: ${b}`}):null]})})]})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
1
+ module.exports=[43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},73264,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.HooksClientContext},57281,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.ServerInsertedHtml},90073,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactDOM},18382,(a,b,c)=>{"use strict";b.exports=a.r(18622)},40352,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactJsxRuntime},36883,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].React},11461,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored.contexts.AppRouterContext},58470,(a,b,c)=>{"use strict";b.exports=a.r(18382).vendored["react-ssr"].ReactServerDOMTurbopackClient},3961,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"HandleISRError",{enumerable:!0,get:function(){return e}});let d=a.r(56704).workAsyncStorage;function e({error:a}){if(d){let b=d.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}return null}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},61860,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return h}});let d=a.r(40352),e=a.r(3961),f={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},g={fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"},h=function({error:a}){let b=a?.digest;return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{}),(0,d.jsxs)("body",{children:[(0,d.jsx)(e.HandleISRError,{error:a}),(0,d.jsx)("div",{style:f,children:(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{style:g,children:["Application error: a ",b?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",b?"server logs":"browser console"," for more information)."]}),b?(0,d.jsx)("p",{style:g,children:`Digest: ${b}`}):null]})})]})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)}];
2
2
 
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__cbbbfb5d._.js.map
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__fd80e4dd._.js.map