plaincrew 0.1.0 → 0.2.0

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 (456) hide show
  1. package/README.md +6 -4
  2. package/app-build/BUILD_ID +1 -1
  3. package/app-build/app-path-routes-manifest.json +7 -0
  4. package/app-build/build-manifest.json +32 -21
  5. package/app-build/diagnostics/route-bundle-stats.json +55 -32
  6. package/app-build/fallback-build-manifest.json +3 -3
  7. package/app-build/routes-manifest.json +46 -0
  8. package/app-build/server/app/_global-error/page/build-manifest.json +3 -3
  9. package/app-build/server/app/_global-error/page.js +1 -1
  10. package/app-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  11. package/app-build/server/app/_global-error.html +1 -1
  12. package/app-build/server/app/_global-error.rsc +1 -1
  13. package/app-build/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  14. package/app-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  15. package/app-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/app-build/server/app/_not-found/page/build-manifest.json +3 -3
  17. package/app-build/server/app/_not-found/page.js +1 -1
  18. package/app-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/app-build/server/app/_not-found.html +1 -1
  20. package/app-build/server/app/_not-found.rsc +2 -2
  21. package/app-build/server/app/_not-found.segments/_full.segment.rsc +2 -2
  22. package/app-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  23. package/app-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/app-build/server/app/api/account/ai/route.js +14 -8
  25. package/app-build/server/app/api/account/leaving/route.js +13 -7
  26. package/app-build/server/app/api/ais/models/route.js +14 -8
  27. package/app-build/server/app/api/attachments/route.js +13 -7
  28. package/app-build/server/app/api/auth/[...all]/route.js +14 -8
  29. package/app-build/server/app/api/cloud/enter/route/app-paths-manifest.json +3 -0
  30. package/app-build/server/app/api/cloud/enter/route/build-manifest.json +12 -0
  31. package/app-build/server/app/api/cloud/enter/route/server-reference-manifest.json +4 -0
  32. package/app-build/server/app/api/cloud/enter/route.js +20 -0
  33. package/app-build/server/app/api/cloud/enter/route_client-reference-manifest.js +3 -0
  34. package/app-build/server/app/api/connect/[code]/approve/route/app-paths-manifest.json +3 -0
  35. package/app-build/server/app/api/connect/[code]/approve/route/build-manifest.json +12 -0
  36. package/app-build/server/app/api/connect/[code]/approve/route/server-reference-manifest.json +4 -0
  37. package/app-build/server/app/api/connect/[code]/approve/route.js +23 -0
  38. package/app-build/server/app/api/connect/[code]/approve/route_client-reference-manifest.js +3 -0
  39. package/app-build/server/app/api/connect/[code]/route/app-paths-manifest.json +3 -0
  40. package/app-build/server/app/api/connect/[code]/route/build-manifest.json +12 -0
  41. package/app-build/server/app/api/connect/[code]/route/server-reference-manifest.json +4 -0
  42. package/app-build/server/app/api/connect/[code]/route.js +11 -0
  43. package/app-build/server/app/api/connect/[code]/route_client-reference-manifest.js +3 -0
  44. package/app-build/server/app/api/connect/route/app-paths-manifest.json +3 -0
  45. package/app-build/server/app/api/connect/route/build-manifest.json +12 -0
  46. package/app-build/server/app/api/connect/route/server-reference-manifest.json +4 -0
  47. package/app-build/server/app/api/connect/route.js +11 -0
  48. package/app-build/server/app/api/connect/route_client-reference-manifest.js +3 -0
  49. package/app-build/server/app/api/health/route/app-paths-manifest.json +3 -0
  50. package/app-build/server/app/api/health/route/build-manifest.json +12 -0
  51. package/app-build/server/app/api/health/route/server-reference-manifest.json +4 -0
  52. package/app-build/server/app/api/health/route.js +8 -0
  53. package/app-build/server/app/api/health/route_client-reference-manifest.js +3 -0
  54. package/app-build/server/app/api/inngest/route.js +14 -12
  55. package/app-build/server/app/api/organization/route.js +13 -7
  56. package/app-build/server/app/api/projects/[id]/base/route.js +13 -7
  57. package/app-build/server/app/api/projects/[id]/github/route.js +14 -8
  58. package/app-build/server/app/api/projects/[id]/notes/[noteId]/route.js +14 -8
  59. package/app-build/server/app/api/projects/[id]/notes/route.js +14 -8
  60. package/app-build/server/app/api/projects/[id]/route.js +14 -8
  61. package/app-build/server/app/api/projects/[id]/site/route.js +14 -8
  62. package/app-build/server/app/api/projects/analyze/route.js +13 -7
  63. package/app-build/server/app/api/projects/route.js +20 -13
  64. package/app-build/server/app/api/projects/scratch/route.js +22 -15
  65. package/app-build/server/app/api/runs/[runId]/blocks/[blockId]/route.js +12 -6
  66. package/app-build/server/app/api/runs/[runId]/branch-name/route.js +12 -6
  67. package/app-build/server/app/api/runs/[runId]/cancel/route.js +18 -12
  68. package/app-build/server/app/api/runs/[runId]/connect-github/route.js +14 -8
  69. package/app-build/server/app/api/runs/[runId]/decision/route.js +14 -8
  70. package/app-build/server/app/api/runs/[runId]/delivery/route.js +13 -7
  71. package/app-build/server/app/api/runs/[runId]/events/route.js +13 -7
  72. package/app-build/server/app/api/runs/[runId]/failure/explain/route.js +14 -8
  73. package/app-build/server/app/api/runs/[runId]/failure/route.js +15 -9
  74. package/app-build/server/app/api/runs/[runId]/findings/route.js +20 -14
  75. package/app-build/server/app/api/runs/[runId]/follow-up/route.js +20 -14
  76. package/app-build/server/app/api/runs/[runId]/plan/route.js +16 -10
  77. package/app-build/server/app/api/runs/[runId]/preview/route.js +16 -10
  78. package/app-build/server/app/api/runs/[runId]/prompts/route.js +14 -8
  79. package/app-build/server/app/api/runs/[runId]/questions/[questionId]/route.js +21 -15
  80. package/app-build/server/app/api/runs/[runId]/review/route.js +13 -7
  81. package/app-build/server/app/api/runs/[runId]/route.js +14 -8
  82. package/app-build/server/app/api/runs/[runId]/ship/route.js +18 -12
  83. package/app-build/server/app/api/runs/[runId]/snapshots/[shot]/route.js +12 -6
  84. package/app-build/server/app/api/runs/[runId]/snapshots/route.js +12 -6
  85. package/app-build/server/app/api/runs/[runId]/versions/[n]/route.js +12 -6
  86. package/app-build/server/app/api/runs/[runId]/versions/[n]/site/route.js +14 -8
  87. package/app-build/server/app/api/runs/[runId]/versions/live/route.js +14 -8
  88. package/app-build/server/app/api/runs/[runId]/versions/route.js +12 -6
  89. package/app-build/server/app/api/storage/route/app-paths-manifest.json +3 -0
  90. package/app-build/server/app/api/storage/route/build-manifest.json +12 -0
  91. package/app-build/server/app/api/storage/route/server-reference-manifest.json +4 -0
  92. package/app-build/server/app/api/storage/route.js +11 -0
  93. package/app-build/server/app/api/storage/route_client-reference-manifest.js +3 -0
  94. package/app-build/server/app/api/system/choose-folder/route.js +15 -9
  95. package/app-build/server/app/api/workflows/[id]/draft/route.js +17 -11
  96. package/app-build/server/app/api/workflows/[id]/publish/route.js +19 -13
  97. package/app-build/server/app/api/workflows/[id]/runs/route.js +21 -15
  98. package/app-build/server/app/canvas/[workflowId]/page/build-manifest.json +3 -3
  99. package/app-build/server/app/canvas/[workflowId]/page.js +6 -6
  100. package/app-build/server/app/canvas/[workflowId]/page_client-reference-manifest.js +1 -1
  101. package/app-build/server/app/connect/page/app-paths-manifest.json +3 -0
  102. package/app-build/server/app/connect/page/build-manifest.json +22 -0
  103. package/app-build/server/app/connect/page/next-font-manifest.json +15 -0
  104. package/app-build/server/app/connect/page/react-loadable-manifest.json +1 -0
  105. package/app-build/server/app/connect/page/server-reference-manifest.json +4 -0
  106. package/app-build/server/app/connect/page.js +22 -0
  107. package/app-build/server/app/connect/page_client-reference-manifest.js +3 -0
  108. package/app-build/server/app/icon.svg/route.js +4 -3
  109. package/app-build/server/app/invite/[id]/page/build-manifest.json +3 -3
  110. package/app-build/server/app/invite/[id]/page.js +6 -6
  111. package/app-build/server/app/invite/[id]/page_client-reference-manifest.js +1 -1
  112. package/app-build/server/app/organization/new/page/build-manifest.json +3 -3
  113. package/app-build/server/app/organization/new/page.js +7 -7
  114. package/app-build/server/app/organization/new/page_client-reference-manifest.js +1 -1
  115. package/app-build/server/app/page/build-manifest.json +3 -3
  116. package/app-build/server/app/page.js +6 -6
  117. package/app-build/server/app/page_client-reference-manifest.js +1 -1
  118. package/app-build/server/app/sign-in/page/build-manifest.json +3 -3
  119. package/app-build/server/app/sign-in/page.js +5 -5
  120. package/app-build/server/app/sign-in/page_client-reference-manifest.js +1 -1
  121. package/app-build/server/app/sign-up/page/build-manifest.json +3 -3
  122. package/app-build/server/app/sign-up/page.js +5 -5
  123. package/app-build/server/app/sign-up/page_client-reference-manifest.js +1 -1
  124. package/app-build/server/app-paths-manifest.json +7 -0
  125. package/app-build/server/chunks/[externals]__0kpij9k8-fioh._.js +3 -0
  126. package/app-build/server/chunks/{[externals]__04-ztb9lgz_qk._.js → [externals]__12cr78va7l10m._.js} +1 -1
  127. package/app-build/server/chunks/{[externals]__0qr-zdkva44f-._.js → [externals]__1c4isywy94j7c._.js} +1 -1
  128. package/app-build/server/chunks/{[externals]__0i1ilt3jn8bz-._.js → [externals]__1h-hxq7f0qqrs._.js} +1 -1
  129. package/app-build/server/chunks/{[root-of-the-server]__08fupt7uivknp._.js → [root-of-the-server]__0-hf81cjc9miq._.js} +2 -2
  130. package/app-build/server/chunks/{[root-of-the-server]__0-67bq4krqdly._.js → [root-of-the-server]__01_h69z_7y8hj._.js} +2 -2
  131. package/app-build/server/chunks/[root-of-the-server]__04bfm6aam99jr._.js +3 -0
  132. package/app-build/server/chunks/[root-of-the-server]__04fo6q9-bmsqf._.js +3 -0
  133. package/app-build/server/chunks/[root-of-the-server]__05mrgzj69be88._.js +3 -0
  134. package/app-build/server/chunks/{[root-of-the-server]__0y2ca5kb5-mhs._.js → [root-of-the-server]__06wj_ntp--r7-._.js} +1 -1
  135. package/app-build/server/chunks/[root-of-the-server]__083kealcx1eos._.js +3 -0
  136. package/app-build/server/chunks/[root-of-the-server]__08j3jvnnyh0k3._.js +1 -1
  137. package/app-build/server/chunks/[root-of-the-server]__093bos_8cbc5e._.js +3 -0
  138. package/app-build/server/chunks/[root-of-the-server]__09mx4_ihytiv9._.js +3 -0
  139. package/app-build/server/chunks/[root-of-the-server]__0_use5ykfraw7._.js +12 -12
  140. package/app-build/server/chunks/[root-of-the-server]__0_wicg5sueifn._.js +3 -0
  141. package/app-build/server/chunks/[root-of-the-server]__0c7krm9gpwvm1._.js +3 -0
  142. package/app-build/server/chunks/{[root-of-the-server]__084tpb8hzqbsc._.js → [root-of-the-server]__0d4dt0ywt1ow0._.js} +2 -2
  143. package/app-build/server/chunks/{[root-of-the-server]__076a8rs-5ove6._.js → [root-of-the-server]__0drcpac0a5hru._.js} +2 -2
  144. package/app-build/server/chunks/[root-of-the-server]__0fer144qqb0_6._.js +3 -0
  145. package/app-build/server/chunks/{[root-of-the-server]__0cmedn5yph-qf._.js → [root-of-the-server]__0hryxb3l1_c-b._.js} +2 -2
  146. package/app-build/server/chunks/[root-of-the-server]__0j-5-xlcodeao._.js +3 -0
  147. package/app-build/server/chunks/[root-of-the-server]__0j9vey56ni96j._.js +3 -0
  148. package/app-build/server/chunks/[root-of-the-server]__0k_l2trzzo8vs._.js +1 -1
  149. package/app-build/server/chunks/[root-of-the-server]__0o-3c4wjexyir._.js +3 -0
  150. package/app-build/server/chunks/[root-of-the-server]__0oslh36tklohe._.js +1 -1
  151. package/app-build/server/chunks/[root-of-the-server]__0qwqrlb3b7i0y._.js +3 -0
  152. package/app-build/server/chunks/[root-of-the-server]__0qzb976d_qj48._.js +3 -0
  153. package/app-build/server/chunks/[root-of-the-server]__0qzwj14rh2ym2._.js +3 -0
  154. package/app-build/server/chunks/[root-of-the-server]__0rwo4zg_leice._.js +3 -0
  155. package/app-build/server/chunks/[root-of-the-server]__0tt48asd4bq_v._.js +3 -0
  156. package/app-build/server/chunks/[root-of-the-server]__0wi9o-l23wx21._.js +3 -0
  157. package/app-build/server/chunks/[root-of-the-server]__0x8sjs-qr0fi-._.js +3 -0
  158. package/app-build/server/chunks/[root-of-the-server]__0z7e3um13c2p0._.js +3 -0
  159. package/app-build/server/chunks/[root-of-the-server]__0zb8p36snewnm._.js +1 -1
  160. package/app-build/server/chunks/[root-of-the-server]__11-p_3onzgf2e._.js +3 -0
  161. package/app-build/server/chunks/[root-of-the-server]__111rn2m71ahq1._.js +3 -0
  162. package/app-build/server/chunks/[root-of-the-server]__11vhj0obteagu._.js +3 -0
  163. package/app-build/server/chunks/[root-of-the-server]__153b932lf_ik5._.js +1 -1
  164. package/app-build/server/chunks/[root-of-the-server]__15p8ahu4ip30q._.js +3 -0
  165. package/app-build/server/chunks/[root-of-the-server]__16023he7o7zot._.js +3 -0
  166. package/app-build/server/chunks/[root-of-the-server]__16_r5tdw4ji2s._.js +3 -0
  167. package/app-build/server/chunks/[root-of-the-server]__17bg71e4epczi._.js +3 -0
  168. package/app-build/server/chunks/[root-of-the-server]__17z8-upkyjz-v._.js +3 -0
  169. package/app-build/server/chunks/[root-of-the-server]__1_2bvyen56qja._.js +3 -0
  170. package/app-build/server/chunks/[root-of-the-server]__1_67_outgzgho._.js +3 -0
  171. package/app-build/server/chunks/[root-of-the-server]__1a17c0kjajkbe._.js +3 -0
  172. package/app-build/server/chunks/[root-of-the-server]__1bbm3yv2mh0ob._.js +3 -0
  173. package/app-build/server/chunks/[root-of-the-server]__1dx64weifqusv._.js +3 -0
  174. package/app-build/server/chunks/[root-of-the-server]__1ehsotx9v9v0-._.js +3 -0
  175. package/app-build/server/chunks/[root-of-the-server]__1f1iirzm5u5a-._.js +3 -0
  176. package/app-build/server/chunks/{[root-of-the-server]__0rs3mde7ikr10._.js → [root-of-the-server]__1fg-66qrs9vmd._.js} +2 -2
  177. package/app-build/server/chunks/[root-of-the-server]__1ghp4gx3vslm5._.js +3 -0
  178. package/app-build/server/chunks/[root-of-the-server]__1gt4-5e1kdit3._.js +1 -1
  179. package/app-build/server/chunks/[root-of-the-server]__1irx63ehwr_32._.js +3 -0
  180. package/app-build/server/chunks/[root-of-the-server]__1j82aseh7oyg8._.js +3 -0
  181. package/app-build/server/chunks/[root-of-the-server]__1jwagne56rhyq._.js +3 -0
  182. package/app-build/server/chunks/[root-of-the-server]__1m9ci-2fhznpr._.js +3 -0
  183. package/app-build/server/chunks/[root-of-the-server]__1mh5ulkjr-g0t._.js +1 -1
  184. package/app-build/server/chunks/[root-of-the-server]__1n1otzmcc-pl-._.js +3 -0
  185. package/app-build/server/chunks/[root-of-the-server]__1no1kg2v5558v._.js +3 -0
  186. package/app-build/server/chunks/[root-of-the-server]__1p__xrrmhqted._.js +3 -0
  187. package/app-build/server/chunks/[root-of-the-server]__1rq-k_585r2e9._.js +3 -0
  188. package/app-build/server/chunks/[root-of-the-server]__1su62l6u2edkj._.js +3 -0
  189. package/app-build/server/chunks/[root-of-the-server]__1xodvnju6iwx3._.js +3 -0
  190. package/app-build/server/chunks/[root-of-the-server]__1yrm6-0jop6pq._.js +1 -1
  191. package/app-build/server/chunks/{[root-of-the-server]__198ndqspcvvv8._.js → [root-of-the-server]__20oqzfu0t4513._.js} +2 -2
  192. package/app-build/server/chunks/_00v0id0w247kv._.js +3 -0
  193. package/app-build/server/chunks/_04ipxobgytrai._.js +19 -0
  194. package/app-build/server/chunks/_06_bsixuw5t32._.js +19 -0
  195. package/app-build/server/chunks/_07m78jtsyjmn1._.js +10 -0
  196. package/app-build/server/chunks/_080g7ve3me2dc._.js +3 -0
  197. package/app-build/server/chunks/_09ejh1dyvkto7._.js +10 -0
  198. package/app-build/server/chunks/_0_6-kjk5l5ckf._.js +19 -0
  199. package/app-build/server/chunks/_0_q5vorhn2m7p._.js +19 -0
  200. package/app-build/server/chunks/_0b15uwzi-_wuu._.js +19 -0
  201. package/app-build/server/chunks/_0b2ridyy82jxe._.js +10 -0
  202. package/app-build/server/chunks/_0dn7480wo_c3b._.js +3 -0
  203. package/app-build/server/chunks/_0e2pq-eirvzjq._.js +10 -0
  204. package/app-build/server/chunks/_0et5mjk8ma941._.js +10 -0
  205. package/app-build/server/chunks/_0fx9tvayvawom._.js +19 -0
  206. package/app-build/server/chunks/_0hfgolst82fo-._.js +19 -0
  207. package/app-build/server/chunks/_0mvcmkm58awy6._.js +19 -0
  208. package/app-build/server/chunks/_0n48mbivlprvf._.js +3 -0
  209. package/app-build/server/chunks/_0o8jagzqj8-1r._.js +2 -2
  210. package/app-build/server/chunks/_0p2av7ih_dhj4._.js +19 -0
  211. package/app-build/server/chunks/_0p5fqb7_si6x6._.js +10 -0
  212. package/app-build/server/chunks/_0prtq3d1e3y27._.js +10 -0
  213. package/app-build/server/chunks/_0qjwzjuyaym3p._.js +3 -0
  214. package/app-build/server/chunks/_0rnf-n0hrw3r0._.js +19 -0
  215. package/app-build/server/chunks/_0sqpau27sb7i_._.js +19 -0
  216. package/app-build/server/chunks/_0w3v4t4p9vsb-._.js +5 -5
  217. package/app-build/server/chunks/_0wuc81q3tth-g._.js +19 -0
  218. package/app-build/server/chunks/_0wwb7zpr0_tmw._.js +1 -1
  219. package/app-build/server/chunks/_0x2g7uj3hbyqa._.js +19 -0
  220. package/app-build/server/chunks/_0yi75njq4zxzw._.js +12 -0
  221. package/app-build/server/chunks/_1-bgcffz4bjus._.js +19 -0
  222. package/app-build/server/chunks/_1-y_cqqaf9ob6._.js +3 -0
  223. package/app-build/server/chunks/_1-yeinb4sdagg._.js +19 -0
  224. package/app-build/server/chunks/_108rver1pgqw-._.js +19 -0
  225. package/app-build/server/chunks/_12v43tznpol4u._.js +10 -0
  226. package/app-build/server/chunks/_139ug1e85f3h4._.js +10 -0
  227. package/app-build/server/chunks/_13lb7kts14z5a._.js +3 -0
  228. package/app-build/server/chunks/_143_tdoh-o8r2._.js +19 -0
  229. package/app-build/server/chunks/_146_--s-6f_o-._.js +19 -0
  230. package/app-build/server/chunks/_190n79a8itd96._.js +19 -0
  231. package/app-build/server/chunks/_19_0wmfnwvz9o._.js +10 -0
  232. package/app-build/server/chunks/_19q1zxel7pllh._.js +10 -0
  233. package/app-build/server/chunks/_1bf1pcq2wtg91._.js +10 -0
  234. package/app-build/server/chunks/_1cq7469bqdm3u._.js +10 -0
  235. package/app-build/server/chunks/_1fq2ezphtpgk3._.js +19 -0
  236. package/app-build/server/chunks/_1fv67kzffpbb_._.js +19 -0
  237. package/app-build/server/chunks/_1k79cnpkap3g1._.js +19 -0
  238. package/app-build/server/chunks/_1kwxo3qf7dky_._.js +19 -0
  239. package/app-build/server/chunks/_1l3fh2phky48z._.js +3 -0
  240. package/app-build/server/chunks/_1nvu29lfamrdk._.js +3 -0
  241. package/app-build/server/chunks/_1ob-6ym8mt48u._.js +10 -0
  242. package/app-build/server/chunks/_1p4epxp2kfwl3._.js +19 -0
  243. package/app-build/server/chunks/_1pg4_7uout-4a._.js +3 -0
  244. package/app-build/server/chunks/_1tqh-hw_2xsox._.js +19 -0
  245. package/app-build/server/chunks/_1u_phco4tax56._.js +19 -0
  246. package/app-build/server/chunks/_1unrzazajazmw._.js +19 -0
  247. package/app-build/server/chunks/_1uwtj6yrwszfe._.js +10 -0
  248. package/app-build/server/chunks/_1vb0vvvhh6nh7._.js +10 -0
  249. package/app-build/server/chunks/_1vmf9gx675--i._.js +19 -0
  250. package/app-build/server/chunks/_1wau1ee-6k-7o._.js +5 -5
  251. package/app-build/server/chunks/_1x2pk99sw0irp._.js +1 -1
  252. package/app-build/server/chunks/_1y5_49ip8l9oe._.js +3 -0
  253. package/app-build/server/chunks/_1yho6hc7s0457._.js +5 -5
  254. package/app-build/server/chunks/_20y-6xht4mb44._.js +19 -0
  255. package/app-build/server/chunks/_next-internal_server_app_api_cloud_enter_route_actions_1ykz98qhixfjs.js +3 -0
  256. package/app-build/server/chunks/_next-internal_server_app_api_connect_[code]_approve_route_actions_0ji2m-dij9hl5.js +3 -0
  257. package/app-build/server/chunks/_next-internal_server_app_api_connect_[code]_route_actions_0g60q3c0wvykf.js +3 -0
  258. package/app-build/server/chunks/_next-internal_server_app_api_connect_route_actions_1r5w03mk355_9.js +3 -0
  259. package/app-build/server/chunks/_next-internal_server_app_api_health_route_actions_1ryftkbeskq31.js +3 -0
  260. package/app-build/server/chunks/_next-internal_server_app_api_storage_route_actions_0oc2s3uo_vbg9.js +3 -0
  261. package/app-build/server/chunks/node_modules_@better-auth_core_dist_0u4ij-92kqpy1._.js +5 -0
  262. package/app-build/server/chunks/node_modules_@better-auth_core_dist_1slw0ax7qf28q._.js +5 -0
  263. package/app-build/server/chunks/node_modules_next_1zdbrneapig6o._.js +10 -0
  264. package/app-build/server/chunks/node_modules_ulid_dist_node_index_1p7p0eihcl4xu.js +3 -0
  265. package/app-build/server/chunks/node_modules_zod_v4_classic_schemas_0x4mq4j_us6_1.js +57 -0
  266. package/app-build/server/chunks/src_0akj18zj93gwk._.js +1 -1
  267. package/app-build/server/chunks/src_0gfs644l13a-r._.js +3 -0
  268. package/app-build/server/chunks/src_1d8a0zxtjfsuf._.js +1 -1
  269. package/app-build/server/chunks/src_1fy1guu0m36-q._.js +3 -0
  270. package/app-build/server/chunks/src_1mb1qcardcu_6._.js +1 -1
  271. package/app-build/server/chunks/src_auth_201pnaihqfe_5._.js +1 -1
  272. package/app-build/server/chunks/src_cloud_connect_ts_0-md3vzxn7lpp._.js +3 -0
  273. package/app-build/server/chunks/src_cloud_provision_ts_0ie1awdx54-v7._.js +3 -0
  274. package/app-build/server/chunks/src_db_where_ts_0pjok_m6bv-44._.js +1 -1
  275. package/app-build/server/chunks/src_engine_machine_ts_1l-5d6ibw02uq._.js +3 -0
  276. package/app-build/server/chunks/src_engine_storage_ts_09h_zn3p2eb2o._.js +3 -0
  277. package/app-build/server/chunks/ssr/{[root-of-the-server]__0hvog5ndgreaj._.js → [root-of-the-server]__02fcbpwktzl0e._.js} +1 -1
  278. package/app-build/server/chunks/ssr/{[root-of-the-server]__1wy84x6274wi0._.js → [root-of-the-server]__06kehcks298uq._.js} +1 -1
  279. package/app-build/server/chunks/ssr/{[root-of-the-server]__13jf90nikuz-v._.js → [root-of-the-server]__07qbaxjilfrhb._.js} +1 -1
  280. package/app-build/server/chunks/ssr/{[root-of-the-server]__1t2mfcfc8i815._.js → [root-of-the-server]__0ayx2k8e4n7yj._.js} +1 -1
  281. package/app-build/server/chunks/ssr/{[root-of-the-server]__1vii79aq3jl2m._.js → [root-of-the-server]__0mpgsl517i3-0._.js} +1 -1
  282. package/app-build/server/chunks/ssr/{[root-of-the-server]__0m3ns_a_2cw5q._.js → [root-of-the-server]__105vglixsp00a._.js} +1 -1
  283. package/app-build/server/chunks/ssr/{[root-of-the-server]__0tfe4nl35ph55._.js → [root-of-the-server]__12pgkxyn_b38p._.js} +1 -1
  284. package/app-build/server/chunks/ssr/{[root-of-the-server]__1v3sow19yjtmw._.js → [root-of-the-server]__1cu7ckiad_t58._.js} +1 -1
  285. package/app-build/server/chunks/ssr/{[root-of-the-server]__1wua7k6dot3x4._.js → [root-of-the-server]__1gxrsvq_gh93m._.js} +1 -1
  286. package/app-build/server/chunks/ssr/[root-of-the-server]__1ik_gvdjzwan6._.js +3 -0
  287. package/app-build/server/chunks/ssr/{[root-of-the-server]__03w_9e_k6kgud._.js → [root-of-the-server]__1n-87555yleii._.js} +1 -1
  288. package/app-build/server/chunks/ssr/_0fb4klqsym0_6._.js +3 -0
  289. package/app-build/server/chunks/ssr/_0plc10a4e_g26._.js +498 -0
  290. package/app-build/server/chunks/ssr/_0vqiqfwum1eeq._.js +498 -0
  291. package/app-build/server/chunks/ssr/_14z-y2hqpv20w._.js +4 -4
  292. package/app-build/server/chunks/ssr/_15rry-mn1ylod._.js +498 -0
  293. package/app-build/server/chunks/ssr/_18d6v6hzvx1mu._.js +1 -1
  294. package/app-build/server/chunks/ssr/{_0buybf2wnrn_4._.js → _1dyej_7akyn4m._.js} +2 -2
  295. package/app-build/server/chunks/ssr/_1er7c_w1fawws._.js +3 -0
  296. package/app-build/server/chunks/ssr/_1mebmslk3b4xf._.js +1 -1
  297. package/app-build/server/chunks/ssr/{_0u7gwi85h6cf-._.js → _1ph9xm-z7tn_h._.js} +2 -2
  298. package/app-build/server/chunks/ssr/_1stfnmis3lpoq._.js +498 -0
  299. package/app-build/server/chunks/ssr/_1uj-3d4t3_f-w._.js +498 -0
  300. package/app-build/server/chunks/ssr/_next-internal_server_app_connect_page_actions_1g-s_3iey9c04.js +3 -0
  301. package/app-build/server/chunks/ssr/node_modules_10id6sduifkvy._.js +59 -0
  302. package/app-build/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0w96iu1ncvvo0.js +3 -0
  303. package/app-build/server/chunks/ssr/src_13l727gejp_6n._.js +3 -0
  304. package/app-build/server/chunks/ssr/{src_0r--q7x0ztpgu._.js → src_1cn16bn7pzjnd._.js} +2 -2
  305. package/app-build/server/chunks/ssr/src_1j5tc25jwfv_8._.js +3 -0
  306. package/app-build/server/chunks/ssr/src_1oitb44kjbwhi._.js +21 -0
  307. package/app-build/server/chunks/ssr/src_1qpok7f_-18_w._.js +3 -0
  308. package/app-build/server/chunks/ssr/src_auth_client_ts_0q_2k3z_l1ip-._.js +3 -0
  309. package/app-build/server/chunks/ssr/src_ui_0a7papum2y8_i._.js +3 -0
  310. package/app-build/server/chunks/ssr/src_ui_0dybjq718frlj._.js +3 -0
  311. package/app-build/server/chunks/ssr/src_ui_1lk_5nzn_qoqs._.js +3 -0
  312. package/app-build/server/chunks/ssr/src_ui_1pd2_lbqeputa._.js +3 -0
  313. package/app-build/server/chunks/ssr/src_ui_AiMark_tsx_0-kcacyns0w8e._.js +3 -0
  314. package/app-build/server/chunks/ssr/src_ui_auth_ConnectScreen_tsx_0fe1yscm_2_27._.js +3 -0
  315. package/app-build/server/chunks/ssr/src_ui_canvas_AddProjectDialog_tsx_10a7chj-0e01u._.js +57 -0
  316. package/app-build/server/chunks/ssr/src_ui_strings_ts_1es3352ykktl1._.js +1 -1
  317. package/app-build/server/instrumentation.js +1 -1
  318. package/app-build/server/middleware-build-manifest.js +32 -21
  319. package/app-build/server/middleware.js +1 -1
  320. package/app-build/server/next-font-manifest.js +1 -1
  321. package/app-build/server/next-font-manifest.json +8 -0
  322. package/app-build/server/pages/404.html +1 -1
  323. package/app-build/server/pages/500.html +1 -1
  324. package/app-build/static/chunks/04hu91jpixs3u.js +1 -0
  325. package/app-build/static/chunks/0u800lsoqi8_z.js +55 -0
  326. package/app-build/static/chunks/{1bnawoiy5_570.js → 1kp-bz-o-8ck-.js} +3 -3
  327. package/app-build/static/chunks/1wg6_v6094_ev.js +1 -0
  328. package/app-build/static/chunks/217-kbs71m5l2.js +1 -0
  329. package/app-build/static/chunks/2k_3gu76w6kra.js +1 -0
  330. package/app-build/static/chunks/2ku8241h3kja_.js +5 -0
  331. package/app-build/static/chunks/2r_8wjfab8ek7.js +1 -0
  332. package/app-build/static/chunks/2urr6-fm2smyv.js +1 -0
  333. package/app-build/static/chunks/2w14sgj4v2wr8.js +1 -0
  334. package/app-build/static/chunks/{324p9a1j89bkh.css → 3qsw-xu34m6k4.css} +1 -1
  335. package/app-build/static/chunks/3x09-es7lx-9r.js +1 -0
  336. package/app-build/trace-build +1 -1
  337. package/bin/plaincrew.mjs +88 -4
  338. package/drizzle-pg/0017_mysterious_major_mapleleaf.sql +20 -0
  339. package/drizzle-pg/0018_puzzling_magdalene.sql +12 -0
  340. package/drizzle-pg/meta/0017_snapshot.json +2978 -0
  341. package/drizzle-pg/meta/0018_snapshot.json +3070 -0
  342. package/drizzle-pg/meta/_journal.json +14 -0
  343. package/package.json +2 -1
  344. package/app-build/server/chunks/[externals]_next_dist_server_app-render_1yoqe3gkwr3dg._.js +0 -3
  345. package/app-build/server/chunks/[root-of-the-server]__0-dtybr1h5y66._.js +0 -3
  346. package/app-build/server/chunks/[root-of-the-server]__05_5uof-vh0ur._.js +0 -3
  347. package/app-build/server/chunks/[root-of-the-server]__05d-vefbcavd3._.js +0 -3
  348. package/app-build/server/chunks/[root-of-the-server]__06i52ssvds_4l._.js +0 -3
  349. package/app-build/server/chunks/[root-of-the-server]__0eduzqmkmc65q._.js +0 -3
  350. package/app-build/server/chunks/[root-of-the-server]__0fu80h1ryrjqj._.js +0 -3
  351. package/app-build/server/chunks/[root-of-the-server]__0hf3vbo5kjyuy._.js +0 -3
  352. package/app-build/server/chunks/[root-of-the-server]__0ilio9-5rd-d8._.js +0 -3
  353. package/app-build/server/chunks/[root-of-the-server]__0jqz-s5880rsj._.js +0 -3
  354. package/app-build/server/chunks/[root-of-the-server]__0kbuhf_sq5zgo._.js +0 -3
  355. package/app-build/server/chunks/[root-of-the-server]__0khjs7gbsfbjd._.js +0 -3
  356. package/app-build/server/chunks/[root-of-the-server]__0lvn5y8zcusur._.js +0 -3
  357. package/app-build/server/chunks/[root-of-the-server]__0m87p_jnin9di._.js +0 -3
  358. package/app-build/server/chunks/[root-of-the-server]__0n57671zyqi-b._.js +0 -3
  359. package/app-build/server/chunks/[root-of-the-server]__0n6ovv8grc91o._.js +0 -3
  360. package/app-build/server/chunks/[root-of-the-server]__0nhkl1m3cu6ri._.js +0 -3
  361. package/app-build/server/chunks/[root-of-the-server]__0omzj4w4vqjjj._.js +0 -3
  362. package/app-build/server/chunks/[root-of-the-server]__0prnmbd2nc0a1._.js +0 -3
  363. package/app-build/server/chunks/[root-of-the-server]__0qhoro7nfi0o0._.js +0 -3
  364. package/app-build/server/chunks/[root-of-the-server]__0quxao-smsayh._.js +0 -3
  365. package/app-build/server/chunks/[root-of-the-server]__0ruz2yyah___m._.js +0 -3
  366. package/app-build/server/chunks/[root-of-the-server]__0s378vzw-73-n._.js +0 -3
  367. package/app-build/server/chunks/[root-of-the-server]__0u06g320ljnbt._.js +0 -3
  368. package/app-build/server/chunks/[root-of-the-server]__0yyzjyq-oy-e1._.js +0 -3
  369. package/app-build/server/chunks/[root-of-the-server]__0z7dh952zeb9f._.js +0 -3
  370. package/app-build/server/chunks/[root-of-the-server]__1-x13b8ye1wfs._.js +0 -3
  371. package/app-build/server/chunks/[root-of-the-server]__10-yy5gpbp308._.js +0 -3
  372. package/app-build/server/chunks/[root-of-the-server]__10dplucy-sz7s._.js +0 -3
  373. package/app-build/server/chunks/[root-of-the-server]__10n1c02pch_ot._.js +0 -3
  374. package/app-build/server/chunks/[root-of-the-server]__12o-04az_z-mg._.js +0 -3
  375. package/app-build/server/chunks/[root-of-the-server]__13-hl-756hoon._.js +0 -3
  376. package/app-build/server/chunks/[root-of-the-server]__14qr9wmmvw7xf._.js +0 -3
  377. package/app-build/server/chunks/[root-of-the-server]__156stbqt7ugb9._.js +0 -3
  378. package/app-build/server/chunks/[root-of-the-server]__1aetujxeqqt_d._.js +0 -3
  379. package/app-build/server/chunks/[root-of-the-server]__1e62d7e5vw5k3._.js +0 -3
  380. package/app-build/server/chunks/[root-of-the-server]__1fgplw81nl-ss._.js +0 -3
  381. package/app-build/server/chunks/[root-of-the-server]__1fzc6c4-172b2._.js +0 -3
  382. package/app-build/server/chunks/[root-of-the-server]__1hv-y842n87d8._.js +0 -3
  383. package/app-build/server/chunks/[root-of-the-server]__1iz569gw7tcd-._.js +0 -3
  384. package/app-build/server/chunks/[root-of-the-server]__1j-8olcwngr7q._.js +0 -3
  385. package/app-build/server/chunks/[root-of-the-server]__1sqed3wmvgodn._.js +0 -3
  386. package/app-build/server/chunks/[root-of-the-server]__1t_dswewodt5w._.js +0 -3
  387. package/app-build/server/chunks/[root-of-the-server]__1u9hq4soe2xwp._.js +0 -3
  388. package/app-build/server/chunks/[root-of-the-server]__1vp_i0kfcgv8v._.js +0 -3
  389. package/app-build/server/chunks/[root-of-the-server]__1x0k45ov7_05w._.js +0 -3
  390. package/app-build/server/chunks/[root-of-the-server]__1yf5s1twz5moo._.js +0 -3
  391. package/app-build/server/chunks/_0-jxl7nrok4vo._.js +0 -26
  392. package/app-build/server/chunks/_00j6_u1runs4w._.js +0 -26
  393. package/app-build/server/chunks/_02rqsv-5r1xyh._.js +0 -26
  394. package/app-build/server/chunks/_037kdv10i5y_3._.js +0 -26
  395. package/app-build/server/chunks/_04qeqxkodasvw._.js +0 -26
  396. package/app-build/server/chunks/_060517ixkutga._.js +0 -26
  397. package/app-build/server/chunks/_0_ohdufir0pc0._.js +0 -26
  398. package/app-build/server/chunks/_0a399s004z09i._.js +0 -26
  399. package/app-build/server/chunks/_0c8uqvkdnv8om._.js +0 -26
  400. package/app-build/server/chunks/_0cpx6gxrun97c._.js +0 -26
  401. package/app-build/server/chunks/_0e0zdgh5__9o9._.js +0 -26
  402. package/app-build/server/chunks/_0i95e9zu6fj4n._.js +0 -26
  403. package/app-build/server/chunks/_0jd49raqadz76._.js +0 -26
  404. package/app-build/server/chunks/_0lhu42i9ysm02._.js +0 -26
  405. package/app-build/server/chunks/_0nk-c9zmnj37l._.js +0 -26
  406. package/app-build/server/chunks/_0rnjb46ttnp_1._.js +0 -10
  407. package/app-build/server/chunks/_0t315blstrlgt._.js +0 -26
  408. package/app-build/server/chunks/_0v3u7bir_x-f1._.js +0 -26
  409. package/app-build/server/chunks/_0vkp8d-4v66df._.js +0 -10
  410. package/app-build/server/chunks/_0vnwz2wsr7rta._.js +0 -26
  411. package/app-build/server/chunks/_0zmtu_rs0-xx3._.js +0 -26
  412. package/app-build/server/chunks/_0zx-1d3-vgrjf._.js +0 -26
  413. package/app-build/server/chunks/_13_q0s3m37izl._.js +0 -26
  414. package/app-build/server/chunks/_15_pg1-nh_uey._.js +0 -26
  415. package/app-build/server/chunks/_16kc8tvml_4jr._.js +0 -10
  416. package/app-build/server/chunks/_197p633h-h37y._.js +0 -26
  417. package/app-build/server/chunks/_1hyd5-0pvbz7j._.js +0 -10
  418. package/app-build/server/chunks/_1k0nwfy3n5zq6._.js +0 -26
  419. package/app-build/server/chunks/_1qp5atyvlmjms._.js +0 -26
  420. package/app-build/server/chunks/_1r8yign_b4xit._.js +0 -26
  421. package/app-build/server/chunks/_1s7c6rvg9jq1b._.js +0 -26
  422. package/app-build/server/chunks/_1srrbf3r_cgyh._.js +0 -3
  423. package/app-build/server/chunks/_1tcp49lkcyk9b._.js +0 -26
  424. package/app-build/server/chunks/_1tmt_2duzfhf-._.js +0 -26
  425. package/app-build/server/chunks/_1tx_iizje6rr5._.js +0 -26
  426. package/app-build/server/chunks/_1vmuo5nz7e9j7._.js +0 -26
  427. package/app-build/server/chunks/_1zqmp75fro5bj._.js +0 -26
  428. package/app-build/server/chunks/_207efa75ej326._.js +0 -26
  429. package/app-build/server/chunks/node_modules_038x-mogk4n7d._.js +0 -59
  430. package/app-build/server/chunks/node_modules_06i8knol64dp4._.js +0 -59
  431. package/app-build/server/chunks/node_modules_1bu1e_tx1yhos._.js +0 -59
  432. package/app-build/server/chunks/src_0ya5sso2-uxy9._.js +0 -3
  433. package/app-build/server/chunks/src_1idm2q9mpd_ac._.js +0 -3
  434. package/app-build/server/chunks/ssr/_0c07_u5ve9h96._.js +0 -3
  435. package/app-build/server/chunks/ssr/_0c9c3otndjyb3._.js +0 -491
  436. package/app-build/server/chunks/ssr/_0r-_quaoj7vtd._.js +0 -491
  437. package/app-build/server/chunks/ssr/_1nnyuupo9_rf8._.js +0 -491
  438. package/app-build/server/chunks/ssr/_1v3g8djeka9qb._.js +0 -32
  439. package/app-build/server/chunks/ssr/_1wcw1-cjuk4-r._.js +0 -491
  440. package/app-build/server/chunks/ssr/node_modules_@better-auth_core_dist_14kycjq88o05j._.js +0 -59
  441. package/app-build/server/chunks/ssr/src_0dka4d-sj76yr._.js +0 -3
  442. package/app-build/server/chunks/ssr/src_0kr0vdt5cmmqe._.js +0 -3
  443. package/app-build/server/chunks/ssr/src_0xa_ew7bgnab8._.js +0 -3
  444. package/app-build/server/chunks/ssr/src_14kyflsj7vzua._.js +0 -3
  445. package/app-build/server/chunks/ssr/src_1kc7a2tc4zk79._.js +0 -3
  446. package/app-build/server/chunks/ssr/src_1xj6pksvrcr7j._.js +0 -21
  447. package/app-build/static/chunks/0ioqfqts8esiv.js +0 -1
  448. package/app-build/static/chunks/0p_562p4eiia0.js +0 -5
  449. package/app-build/static/chunks/0sisrf23dzct3.js +0 -1
  450. package/app-build/static/chunks/16_8pb-q1k23d.js +0 -1
  451. package/app-build/static/chunks/1lj8cya75hc47.js +0 -1
  452. package/app-build/static/chunks/1smn3_hn-_7bt.js +0 -1
  453. package/app-build/static/chunks/1wnov70f88xjy.js +0 -1
  454. /package/app-build/static/{m8GgIjZTfSoO8KWsqC9Cm → r8bYBXboElhyfwYccuAh5}/_buildManifest.js +0 -0
  455. /package/app-build/static/{m8GgIjZTfSoO8KWsqC9Cm → r8bYBXboElhyfwYccuAh5}/_clientMiddlewareManifest.js +0 -0
  456. /package/app-build/static/{m8GgIjZTfSoO8KWsqC9Cm → r8bYBXboElhyfwYccuAh5}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
- module.exports=[65112,a=>{"use strict";a.s(["f",0,class{get supportsCreateIfNotExists(){return!0}get supportsMultipleConnections(){return!0}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!1}get supportsOutput(){return!1}}])},83190,a=>{"use strict";var b=a.i(65112);class c extends b.f{get supportsMultipleConnections(){return!1}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!0}async acquireMigrationLock(a,b){}async releaseMigrationLock(a,b){}}a.s(["f",0,c])},98663,a=>{"use strict";var b=a.i(89287);let c=/"/g,d=/[\\'"]/g;class e extends b.f{visitOrAction(a){this.append("or "),this.append(a.action)}getCurrentParameterPlaceholder(){return"?"}getLeftExplainOptionsWrapper(){return""}getRightExplainOptionsWrapper(){return""}getLeftIdentifierWrapper(){return'"'}getRightIdentifierWrapper(){return'"'}getAutoIncrement(){return"autoincrement"}sanitizeIdentifier(a){return a.replace(c,'""')}sanitizeJSONPathMemberValue(a){return a.replace(d,a=>"\\"===a?"\\\\":"'"===a?"''":'\\"')}visitDefaultInsertValue(a){this.append("null")}}a.s(["f",0,e])},65172,a=>{"use strict";var b=a.i(25034),c=a.i(24277),d=a.i(98660);let e=(0,c.s)({raw:(a,e=[])=>(0,c.s)({sql:a,query:b.f.createWithSql(a),parameters:(0,c.s)(e),queryId:(0,d.f)()})});a.s(["f",0,e])},18071,a=>a.a(async(b,c)=>{try{var d=a.i(7997);a.i(70396);var e=a.i(73727),f=a.i(79759),g=a.i(42259),h=a.i(23592),i=a.i(59113),j=b([g,h]);async function k({searchParams:a}){let b=(await a).next??null;return await (0,g.r)()&&(0,e.redirect)((0,f.f)(b)),(0,d.jsx)(i.AuthScreen,{mode:"up",next:b,github:h.F})}[g,h]=j.then?(await j)():j,a.s(["default",0,k,"dynamic",0,"force-dynamic"]),c()}catch(a){c(a)}},!1),20935,function(a){a.n(a.i(18071))},79759,a=>{"use strict";a.s(["f",0,a=>a&&/^\/(?!\/)[\w\-./[\]%?=&]*$/.test(a)?a:"/"])},96221,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AuthScreen() from the server but AuthScreen 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]/src/ui/auth/AuthScreen.tsx","AuthScreen");a.s(["AuthScreen",0,b])},59113,a=>{"use strict";var b=a.i(96221);a.n(b)}];
1
+ module.exports=[65112,a=>{"use strict";a.s(["f",0,class{get supportsCreateIfNotExists(){return!0}get supportsMultipleConnections(){return!0}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!1}get supportsOutput(){return!1}}])},83190,a=>{"use strict";var b=a.i(65112);class c extends b.f{get supportsMultipleConnections(){return!1}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!0}async acquireMigrationLock(a,b){}async releaseMigrationLock(a,b){}}a.s(["f",0,c])},98663,a=>{"use strict";var b=a.i(89287);let c=/"/g,d=/[\\'"]/g;class e extends b.f{visitOrAction(a){this.append("or "),this.append(a.action)}getCurrentParameterPlaceholder(){return"?"}getLeftExplainOptionsWrapper(){return""}getRightExplainOptionsWrapper(){return""}getLeftIdentifierWrapper(){return'"'}getRightIdentifierWrapper(){return'"'}getAutoIncrement(){return"autoincrement"}sanitizeIdentifier(a){return a.replace(c,'""')}sanitizeJSONPathMemberValue(a){return a.replace(d,a=>"\\"===a?"\\\\":"'"===a?"''":'\\"')}visitDefaultInsertValue(a){this.append("null")}}a.s(["f",0,e])},65172,a=>{"use strict";var b=a.i(25034),c=a.i(24277),d=a.i(98660);let e=(0,c.s)({raw:(a,e=[])=>(0,c.s)({sql:a,query:b.f.createWithSql(a),parameters:(0,c.s)(e),queryId:(0,d.f)()})});a.s(["f",0,e])},18071,a=>a.a(async(b,c)=>{try{var d=a.i(7997);a.i(70396);var e=a.i(73727),f=a.i(79759),g=a.i(65341),h=a.i(42259),i=a.i(23592),j=a.i(59113),k=b([h,i]);async function l({searchParams:a}){let b=(await a).next??null;return await (0,h.r)()&&(0,e.redirect)((0,f.f)(b)),(0,g.w)()&&(0,e.redirect)(`/api/cloud/enter${b?`?next=${encodeURIComponent(b)}`:""}`),(0,d.jsx)(j.AuthScreen,{mode:"up",next:b,github:i.F})}[h,i]=k.then?(await k)():k,a.s(["default",0,l,"dynamic",0,"force-dynamic"]),c()}catch(a){c(a)}},!1),20935,function(a){a.n(a.i(18071))},79759,a=>{"use strict";a.s(["f",0,a=>a&&/^\/(?!\/)[\w\-./[\]%?=&]*$/.test(a)?a:"/"])},96221,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AuthScreen() from the server but AuthScreen 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]/src/ui/auth/AuthScreen.tsx","AuthScreen");a.s(["AuthScreen",0,b])},59113,a=>{"use strict";var b=a.i(96221);a.n(b)}];
2
2
 
3
3
  //# sourceMappingURL=_18d6v6hzvx1mu._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[65112,a=>{"use strict";a.s(["f",0,class{get supportsCreateIfNotExists(){return!0}get supportsMultipleConnections(){return!0}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!1}get supportsOutput(){return!1}}])},83190,a=>{"use strict";var b=a.i(65112);class c extends b.f{get supportsMultipleConnections(){return!1}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!0}async acquireMigrationLock(a,b){}async releaseMigrationLock(a,b){}}a.s(["f",0,c])},98663,a=>{"use strict";var b=a.i(89287);let c=/"/g,d=/[\\'"]/g;class e extends b.f{visitOrAction(a){this.append("or "),this.append(a.action)}getCurrentParameterPlaceholder(){return"?"}getLeftExplainOptionsWrapper(){return""}getRightExplainOptionsWrapper(){return""}getLeftIdentifierWrapper(){return'"'}getRightIdentifierWrapper(){return'"'}getAutoIncrement(){return"autoincrement"}sanitizeIdentifier(a){return a.replace(c,'""')}sanitizeJSONPathMemberValue(a){return a.replace(d,a=>"\\"===a?"\\\\":"'"===a?"''":'\\"')}visitDefaultInsertValue(a){this.append("null")}}a.s(["f",0,e])},65172,a=>{"use strict";var b=a.i(25034),c=a.i(24277),d=a.i(98660);let e=(0,c.s)({raw:(a,e=[])=>(0,c.s)({sql:a,query:b.f.createWithSql(a),parameters:(0,c.s)(e),queryId:(0,d.f)()})});a.s(["f",0,e])},10795,a=>a.a(async(b,c)=>{try{var d=a.i(7997),e=a.i(42259),f=a.i(98342),g=b([e]);async function h(){let a=await (0,e.q)();return(0,d.jsx)(f.NewOrganization,{first:0===(await (0,e.I)(a.userId)).length})}[e]=g.then?(await g)():g,a.s(["default",0,h,"dynamic",0,"force-dynamic"]),c()}catch(a){c(a)}},!1),83087,function(a){a.n(a.i(10795))},78218,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call NewOrganization() from the server but NewOrganization 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]/src/ui/auth/NewOrganization.tsx","NewOrganization");a.s(["NewOrganization",0,b])},98342,a=>{"use strict";var b=a.i(78218);a.n(b)}];
1
+ module.exports=[65112,a=>{"use strict";a.s(["f",0,class{get supportsCreateIfNotExists(){return!0}get supportsMultipleConnections(){return!0}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!1}get supportsOutput(){return!1}}])},83190,a=>{"use strict";var b=a.i(65112);class c extends b.f{get supportsMultipleConnections(){return!1}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!0}async acquireMigrationLock(a,b){}async releaseMigrationLock(a,b){}}a.s(["f",0,c])},98663,a=>{"use strict";var b=a.i(89287);let c=/"/g,d=/[\\'"]/g;class e extends b.f{visitOrAction(a){this.append("or "),this.append(a.action)}getCurrentParameterPlaceholder(){return"?"}getLeftExplainOptionsWrapper(){return""}getRightExplainOptionsWrapper(){return""}getLeftIdentifierWrapper(){return'"'}getRightIdentifierWrapper(){return'"'}getAutoIncrement(){return"autoincrement"}sanitizeIdentifier(a){return a.replace(c,'""')}sanitizeJSONPathMemberValue(a){return a.replace(d,a=>"\\"===a?"\\\\":"'"===a?"''":'\\"')}visitDefaultInsertValue(a){this.append("null")}}a.s(["f",0,e])},65172,a=>{"use strict";var b=a.i(25034),c=a.i(24277),d=a.i(98660);let e=(0,c.s)({raw:(a,e=[])=>(0,c.s)({sql:a,query:b.f.createWithSql(a),parameters:(0,c.s)(e),queryId:(0,d.f)()})});a.s(["f",0,e])},10795,a=>a.a(async(b,c)=>{try{var d=a.i(7997),e=a.i(79759),f=a.i(42259),g=a.i(98342),h=b([f]);async function i({searchParams:a}){let b=await (0,f.q)(),c=(0,e.f)((await a).next);return(0,d.jsx)(g.NewOrganization,{first:0===(await (0,f.I)(b.userId)).length,next:c})}[f]=h.then?(await h)():h,a.s(["default",0,i,"dynamic",0,"force-dynamic"]),c()}catch(a){c(a)}},!1),83087,function(a){a.n(a.i(10795))},79759,a=>{"use strict";a.s(["f",0,a=>a&&/^\/(?!\/)[\w\-./[\]%?=&]*$/.test(a)?a:"/"])},78218,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call NewOrganization() from the server but NewOrganization 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]/src/ui/auth/NewOrganization.tsx","NewOrganization");a.s(["NewOrganization",0,b])},98342,a=>{"use strict";var b=a.i(78218);a.n(b)}];
2
2
 
3
- //# sourceMappingURL=_0buybf2wnrn_4._.js.map
3
+ //# sourceMappingURL=_1dyej_7akyn4m._.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[69789,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={actionAsyncStorage:function(){return f.actionAsyncStorage},workAsyncStorage:function(){return g.workAsyncStorage},workUnitAsyncStorage:function(){return h.workUnitAsyncStorage}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20635),g=a.r(56704),h=a.r(32319);("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)},68497,21084,a=>{"use strict";var b=a.i(87924);let c="claude",d="codex",e="copilot";a.s(["y",0,c,"r",0,d,"T",0,e,"C",0,"demo"],21084);let f={[c]:"#e08a66",[d]:"#5fd0b0",[e]:"#b79cff"};a.s(["f",0,function({id:a,size:g=14}){let h=f[a]??"currentColor";return(0,b.jsx)("svg",{"data-testid":`ai-mark-${a}`,viewBox:"0 0 16 16",width:g,height:g,fill:"none",stroke:h,strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{flex:"none"},children:a===c?(0,b.jsx)("path",{d:"M8 1.8v12.4M1.8 8h12.4M3.6 3.6l8.8 8.8M12.4 3.6l-8.8 8.8"}):a===d?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M8 1.7 13.5 4.85v6.3L8 14.3 2.5 11.15v-6.3z"}),(0,b.jsx)("path",{d:"M8 5.2 10.4 6.6v2.8L8 10.8 5.6 9.4V6.6z"})]}):a===e?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("rect",{x:"1.8",y:"4.2",width:"12.4",height:"8",rx:"3.6"}),(0,b.jsx)("path",{d:"M5.9 7.4v1.8M10.1 7.4v1.8"})]}):(0,b.jsx)("circle",{cx:"8",cy:"8",r:"5.5"})})}],68497)},68298,a=>{"use strict";var b=a.i(87924),c=a.i(38246),d=a.i(72131),e=a.i(28686),f=a.i(56075),g=a.i(64352),h=a.i(147),i=a.i(84444);let j=g.B.org;a.s(["NewOrganization",0,function({first:a,next:k="/"}){let[l,m]=(0,d.useState)(!1),[n,o]=(0,d.useState)(null);async function p(a){let b=String(a.get("name")??"").trim();if(!b)return;m(!0),o(null);let c=await e.f.organization.create({name:b,slug:`${b.toLowerCase().normalize("NFKD").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").slice(0,40)||"org"}-${Math.random().toString(36).slice(2,8)}`});if(c.error||!c.data){o(j.createFailed),m(!1);return}await e.f.organization.setActive({organizationId:c.data.id}),window.location.assign(k)}return(0,b.jsxs)(i.u,{title:a?j.newTitle:j.anotherTitle,lead:j.newLead,children:[(0,b.jsxs)("form",{"data-testid":"new-organization",action:p,style:{display:"grid",gap:14},children:[(0,b.jsxs)("label",{style:i.W,children:[j.name,(0,b.jsx)("input",{name:"name",required:!0,maxLength:80,placeholder:j.namePlaceholder,autoFocus:!0,style:i.m})]}),n&&(0,b.jsx)("p",{role:"alert",style:i.s,children:n}),(0,b.jsx)("button",{type:"submit",disabled:l,style:(0,i.B)(l),children:l?g.B.auth.working:j.create})]}),(0,b.jsxs)("p",{style:{margin:0,fontSize:14,color:f.f.quiet,display:"flex",justifyContent:"space-between",gap:12},children:[!a&&(0,b.jsxs)(c.default,{href:"/",style:{color:f.f.green,fontWeight:600},children:["← ",j.back]}),(0,b.jsx)("button",{type:"button",onClick:h._,style:{marginLeft:"auto",background:"none",border:"none",padding:0,color:f.f.quiet,font:"inherit",cursor:"pointer",textDecoration:"underline"},children:g.B.auth.signOut})]})]})}])}];
2
+
3
+ //# sourceMappingURL=_1er7c_w1fawws._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[65112,a=>{"use strict";a.s(["f",0,class{get supportsCreateIfNotExists(){return!0}get supportsMultipleConnections(){return!0}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!1}get supportsOutput(){return!1}}])},83190,a=>{"use strict";var b=a.i(65112);class c extends b.f{get supportsMultipleConnections(){return!1}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!0}async acquireMigrationLock(a,b){}async releaseMigrationLock(a,b){}}a.s(["f",0,c])},98663,a=>{"use strict";var b=a.i(89287);let c=/"/g,d=/[\\'"]/g;class e extends b.f{visitOrAction(a){this.append("or "),this.append(a.action)}getCurrentParameterPlaceholder(){return"?"}getLeftExplainOptionsWrapper(){return""}getRightExplainOptionsWrapper(){return""}getLeftIdentifierWrapper(){return'"'}getRightIdentifierWrapper(){return'"'}getAutoIncrement(){return"autoincrement"}sanitizeIdentifier(a){return a.replace(c,'""')}sanitizeJSONPathMemberValue(a){return a.replace(d,a=>"\\"===a?"\\\\":"'"===a?"''":'\\"')}visitDefaultInsertValue(a){this.append("null")}}a.s(["f",0,e])},65172,a=>{"use strict";var b=a.i(25034),c=a.i(24277),d=a.i(98660);let e=(0,c.s)({raw:(a,e=[])=>(0,c.s)({sql:a,query:b.f.createWithSql(a),parameters:(0,c.s)(e),queryId:(0,d.f)()})});a.s(["f",0,e])},14638,a=>a.a(async(b,c)=>{try{var d=a.i(7997);a.i(70396);var e=a.i(73727),f=a.i(38782),g=a.i(79759),h=a.i(42259),i=a.i(23592),j=a.i(59113),k=b([f,h,i]);async function l({searchParams:a}){let b=(await a).next??null;return await (0,h.r)()&&(0,e.redirect)((0,g.f)(b)),await (0,f.f)()&&(0,e.redirect)(b?`/sign-up?next=${encodeURIComponent(b)}`:"/sign-up"),(0,d.jsx)(j.AuthScreen,{mode:"in",next:b,github:i.F})}[f,h,i]=k.then?(await k)():k,a.s(["default",0,l,"dynamic",0,"force-dynamic"]),c()}catch(a){c(a)}},!1),13071,function(a){a.n(a.i(14638))},38782,a=>a.a(async(b,c)=>{try{var d=a.i(48734);a.i(22492);var e=a.i(60340),f=b([d]);async function g(a=d.r){return 0===(await a.select({id:e.user.id}).from(e.user).limit(1)).length}[d]=f.then?(await f)():f,a.s(["f",0,g]),c()}catch(a){c(a)}},!1),79759,a=>{"use strict";a.s(["f",0,a=>a&&/^\/(?!\/)[\w\-./[\]%?=&]*$/.test(a)?a:"/"])},96221,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AuthScreen() from the server but AuthScreen 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]/src/ui/auth/AuthScreen.tsx","AuthScreen");a.s(["AuthScreen",0,b])},59113,a=>{"use strict";var b=a.i(96221);a.n(b)}];
1
+ module.exports=[65112,a=>{"use strict";a.s(["f",0,class{get supportsCreateIfNotExists(){return!0}get supportsMultipleConnections(){return!0}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!1}get supportsOutput(){return!1}}])},83190,a=>{"use strict";var b=a.i(65112);class c extends b.f{get supportsMultipleConnections(){return!1}get supportsTransactionalDdl(){return!1}get supportsReturning(){return!0}async acquireMigrationLock(a,b){}async releaseMigrationLock(a,b){}}a.s(["f",0,c])},98663,a=>{"use strict";var b=a.i(89287);let c=/"/g,d=/[\\'"]/g;class e extends b.f{visitOrAction(a){this.append("or "),this.append(a.action)}getCurrentParameterPlaceholder(){return"?"}getLeftExplainOptionsWrapper(){return""}getRightExplainOptionsWrapper(){return""}getLeftIdentifierWrapper(){return'"'}getRightIdentifierWrapper(){return'"'}getAutoIncrement(){return"autoincrement"}sanitizeIdentifier(a){return a.replace(c,'""')}sanitizeJSONPathMemberValue(a){return a.replace(d,a=>"\\"===a?"\\\\":"'"===a?"''":'\\"')}visitDefaultInsertValue(a){this.append("null")}}a.s(["f",0,e])},65172,a=>{"use strict";var b=a.i(25034),c=a.i(24277),d=a.i(98660);let e=(0,c.s)({raw:(a,e=[])=>(0,c.s)({sql:a,query:b.f.createWithSql(a),parameters:(0,c.s)(e),queryId:(0,d.f)()})});a.s(["f",0,e])},14638,a=>a.a(async(b,c)=>{try{var d=a.i(7997);a.i(70396);var e=a.i(73727),f=a.i(38782),g=a.i(79759),h=a.i(65341),i=a.i(42259),j=a.i(23592),k=a.i(59113),l=b([f,i,j]);async function m({searchParams:a}){let b=(await a).next??null;return await (0,i.r)()&&(0,e.redirect)((0,g.f)(b)),(0,h.w)()&&(0,e.redirect)(`/api/cloud/enter${b?`?next=${encodeURIComponent(b)}`:""}`),await (0,f.f)()&&(0,e.redirect)(b?`/sign-up?next=${encodeURIComponent(b)}`:"/sign-up"),(0,d.jsx)(k.AuthScreen,{mode:"in",next:b,github:j.F})}[f,i,j]=l.then?(await l)():l,a.s(["default",0,m,"dynamic",0,"force-dynamic"]),c()}catch(a){c(a)}},!1),13071,function(a){a.n(a.i(14638))},38782,a=>a.a(async(b,c)=>{try{var d=a.i(48734);a.i(22492);var e=a.i(60340),f=b([d]);async function g(a=d.r){return 0===(await a.select({id:e.user.id}).from(e.user).limit(1)).length}[d]=f.then?(await f)():f,a.s(["f",0,g]),c()}catch(a){c(a)}},!1),79759,a=>{"use strict";a.s(["f",0,a=>a&&/^\/(?!\/)[\w\-./[\]%?=&]*$/.test(a)?a:"/"])},96221,a=>{"use strict";let b=(0,a.i(11857).registerClientReference)(function(){throw Error("Attempted to call AuthScreen() from the server but AuthScreen 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]/src/ui/auth/AuthScreen.tsx","AuthScreen");a.s(["AuthScreen",0,b])},59113,a=>{"use strict";var b=a.i(96221);a.n(b)}];
2
2
 
3
3
  //# sourceMappingURL=_1mebmslk3b4xf._.js.map
@@ -27,6 +27,6 @@ Ways to fix this:
27
27
  - [stream] Wrap the component in \`<Suspense fallback={...}>\` so the hook value streams in after prerendering
28
28
  - [block] Set \`export const instant = false\` to allow a blocking route
29
29
 
30
- Learn more: https://nextjs.org/docs/messages/blocking-prerender-client-hook`),this.digest=n}}function p(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===n}let q=new WeakMap;function r(a,b,c){return J(a,new m(b,c))}function s(a,b,c){return J(a,new m(b,c))}function t(a,b,c,d){return N(J(a,new m(b,c)),A.bind(null,d,c))}function u(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,B.bind(null,d,c))}function v(a,b,c,d){return t(a,b,c,d)}function w(a,b,c){return s(a,b,c)}function x(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,C.bind(null,d,c))}function y(){return{runtimeDataAccessed:(0,g.createPromiseWithResolvers)(),shouldAttemptStaticShell:!0,shouldAttemptStaticPrefetch:!0}}function z(a){a.runtimeDataAccessed.resolve(!1)}function A(a,b){D(a,1,b)}function B(a,b){D(a,2,b)}function C(a,b){D(a,3,b)}function D(a,b,c){if("prerender"===a.type){let{prerenderDataTracking:d,stagedRendering:e}=a;if(!d||!e)return;let{currentStage:g}=e;if(g===i.RenderStage.Before)return void console.error(new f.InvariantError("Unexpected trackRuntimeDataAccessed in the Before stage."));if(g>=i.RenderStage.NavigationStatic)return;let j=a.ensureStaticLevel??h.EnsureStaticLevel.None;switch(b){case 1:{let a=null;g<=i.RenderStage.ShellStatic&&j<h.EnsureStaticLevel.Shell&&(d.shouldAttemptStaticShell=!1,a??=i.RenderStage.ShellStatic,null==F||F(c,"shell")),g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,a??=i.RenderStage.PrefetchStatic,null==F||F(c,"prefetch")),null!==a&&E(d,e,a);break}case 3:if(a.isFallbackUpgradeable){j<h.EnsureStaticLevel.Prefetch&&(E(d,e,i.RenderStage.PrefetchStatic),null==G||G());break}case 2:g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,null==F||F(c,"prefetch"),E(d,e,i.RenderStage.PrefetchStatic))}}}function E(a,b,c){let{runtimeDataAccessed:d}=a;b.currentStage>=c?d.resolve(!0):b.onStage(c,d.resolve.bind(null,!0))}let F=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?(a,b)=>{let{route:c}=j.workAsyncStorage.getStore();console.log(`Route '${c}': deopting to a runtime ${b} because it used ${a}`)}:void 0,G=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?()=>{let{route:a}=j.workAsyncStorage.getStore();console.log(`Route '${a}': marking upgradeable fallback as runtime prefetchable`)}:void 0;function H(a,b){let{stagedRendering:c}=a;if(!c)return;let{currentStage:d}=c;if(d!==i.RenderStage.Dynamic&&d!==i.RenderStage.Abandoned){if(process.env.NEXT_PRIVATE_DEBUG_VALIDATION){let a=j.workAsyncStorage.getStore();console.log(`Route ${a.route}: Incompatible shell content: ${b}`)}a.hasIncompatibleShellContent=!0}}function I(a,b){return J(a,b)}function J(a,b){if(a.aborted)return Promise.reject(b);{let c=new Promise((c,d)=>{let e=d.bind(null,b),f=q.get(a);if(f)f.push(e);else{let b=[e];q.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a<b.length;a++)b[a]()},{once:!0})}});return c.catch(K),c}}function K(){}function L(a,b){let c=a.then(()=>b);return c.catch(K),c}function M(a,b,c){return b.stagedRendering?b.stagedRendering.delayUntilStage(c,void 0,a):new Promise(b=>{setTimeout(()=>{b(a)},0)})}function N(a,b){return O.from(a,b)}class O extends Promise{#a;static get[Symbol.species](){return Promise}static from(a,b){let c=new O(a.then.bind(a));return c.#a=b,Promise.prototype.then.call(c,void 0,K),c}then(a,b){let c=this.#a;if(c)try{c()}catch(a){console.error(a)}return Promise.prototype.then.call(this,a,b)}constructor(...a){super(...a),this.#a=null}}let P={sessionData:i.RenderStage.ShellRuntime,staticUrlData:{prefetchApi:{static:i.RenderStage.PrefetchStatic_prefetchApi,runtime:i.RenderStage.PrefetchRuntime_prefetchApi},static:i.RenderStage.PrefetchStatic,runtime:i.RenderStage.PrefetchRuntime},runtimeUrlData:i.RenderStage.PrefetchRuntime};function Q(a){return a}},13925,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getComponentTypeModule:function(){return h},getLayoutOrPageModule:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(39118);async function g(a){let b,c,d,{layout:e,page:g,defaultPage:h}=a[2],i=void 0!==e,j=void 0!==g,k=void 0!==h&&a[0]===f.DEFAULT_SEGMENT_KEY;return i?(b=await e[0](),c="layout",d=e[1]):j?(b=await g[0](),c="page",d=g[1]):k&&(b=await h[0](),c="page",d=h[1]),{mod:b,modType:c,filePath:d}}async function h(a,b){let{[b]:c}=a[2];if(void 0!==c)return await c[0]()}},41997,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},82794,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={createReactBrowserBailoutReason:function(){return g},getReactBrowserBailoutReason:function(){return h},isNextBrowserBailoutError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=Symbol.for("next.browser-bailout-reason");function g(a){return{$$typeof:f,reason:a}}function h(a){let b=a?.cause;return b?.$$typeof===f?b.reason:void 0}function i(a){return void 0!==h(a)}},8924,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseLoaderTree",{enumerable:!0,get:function(){return e}});let d=a.r(39118);function e(a){let[b,c,e,f]=a,{layout:g,template:h}=e,{page:i}=e;i=b===d.DEFAULT_SEGMENT_KEY?e.defaultPage:i;let j=g?.[1]||h?.[1]||i?.[1];return{page:i,segment:b,modules:e,conventionPath:j,parallelRoutes:c,staticSiblings:f}}},50944,(a,b,c)=>{b.exports=a.r(74137)},68497,21084,a=>{"use strict";var b=a.i(87924);let c="claude",d="codex",e="copilot";a.s(["y",0,c,"r",0,d,"T",0,e,"C",0,"demo"],21084);let f={[c]:"#e08a66",[d]:"#5fd0b0",[e]:"#b79cff"};a.s(["f",0,function({id:a,size:g=14}){let h=f[a]??"currentColor";return(0,b.jsx)("svg",{"data-testid":`ai-mark-${a}`,viewBox:"0 0 16 16",width:g,height:g,fill:"none",stroke:h,strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{flex:"none"},children:a===c?(0,b.jsx)("path",{d:"M8 1.8v12.4M1.8 8h12.4M3.6 3.6l8.8 8.8M12.4 3.6l-8.8 8.8"}):a===d?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("path",{d:"M8 1.7 13.5 4.85v6.3L8 14.3 2.5 11.15v-6.3z"}),(0,b.jsx)("path",{d:"M8 5.2 10.4 6.6v2.8L8 10.8 5.6 9.4V6.6z"})]}):a===e?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("rect",{x:"1.8",y:"4.2",width:"12.4",height:"8",rx:"3.6"}),(0,b.jsx)("path",{d:"M5.9 7.4v1.8M10.1 7.4v1.8"})]}):(0,b.jsx)("circle",{cx:"8",cy:"8",r:"5.5"})})}],68497)},79908,89956,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(64352),e=a.i(50944),f=a.i(28686),g=a.i(56075),h=a.i(65849),i=a.i(84444);let j=d.B.auth,k={display:"grid",gap:12,paddingTop:18,borderTop:`1px solid ${g.f.line}`};function l({person:a,leaving:m}){let n=(0,e.useRouter)(),[o,p]=(0,c.useState)(!1),[q,r]=(0,c.useState)(null),[s,t]=(0,c.useState)(!1),[u,v]=(0,c.useState)(null);async function w(a,b,c,d){p(!0),r(null);let e=await b().catch(()=>({error:!0}));return p(!1),r({about:a,ok:!e.error,text:e.error?d:c}),e.error||n.refresh(),!e.error}let x=a=>q?.about===a&&(0,b.jsx)("p",{role:q.ok?"status":"alert",style:q.ok?{margin:0,color:g.f.green,fontSize:14}:i.s,children:q.text});return(0,b.jsxs)("div",{style:{display:"grid",gap:18},children:[(0,b.jsxs)("form",{"data-testid":"account-name",action:async a=>{let b=String(a.get("name")??"").trim();b&&await w("name",()=>f.f.updateUser({name:b}),j.nameSaved,j.changeFailed)},style:{display:"grid",gap:12},children:[(0,b.jsxs)("label",{style:i.W,children:[j.name,(0,b.jsx)("input",{name:"name",defaultValue:a.name,required:!0,maxLength:80,autoComplete:"name",style:i.m})]}),(0,b.jsxs)("label",{style:i.W,children:[j.email,(0,b.jsx)("input",{value:a.email,readOnly:!0,disabled:!0,style:{...i.m,opacity:.7}})]}),x("name"),(0,b.jsx)("button",{type:"submit",disabled:o,style:{...i.v,justifySelf:"start"},children:j.saveName})]}),(0,b.jsxs)("form",{"data-testid":"account-password",action:async a=>{await w("password",()=>f.f.changePassword({currentPassword:String(a.get("current")??""),newPassword:String(a.get("next")??""),revokeOtherSessions:!0}),j.passwordSaved,j.passwordFailed)&&document.querySelector("form[data-testid=account-password]")?.reset()},style:k,children:[(0,b.jsx)("h2",{style:{margin:0,fontSize:16,fontWeight:700},children:j.changePassword}),(0,b.jsx)(h.f,{name:"current",label:j.currentPassword,autoComplete:"current-password"}),(0,b.jsx)(h.f,{name:"next",label:j.newPassword,autoComplete:"new-password",hint:j.passwordHint}),x("password"),(0,b.jsx)("button",{type:"submit",disabled:o,style:{...i.v,justifySelf:"start"},children:j.savePassword})]}),(0,b.jsxs)("section",{"data-testid":"account-delete",style:k,children:[(0,b.jsx)("h2",{style:{margin:0,fontSize:16,fontWeight:700,color:"#fca5a5"},children:j.deleteTitle}),(0,b.jsx)("p",{style:{margin:0,color:g.f.quiet,fontSize:14,lineHeight:1.5},children:j.deleteLead}),m?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("ul",{style:{margin:0,paddingLeft:18,display:"grid",gap:6,color:g.f.text,fontSize:14,lineHeight:1.5},children:[m.deleted.map(a=>(0,b.jsx)("li",{children:j.deleteTakes(a.name,a.projects,a.tasks)},a.id)),m.left.map(a=>(0,b.jsx)("li",{children:j.deleteLeaves(a.name)},a.id)),(0,b.jsx)("li",{style:{color:g.f.quiet},children:j.deleteKeeps})]}),m.blocked.length>0?m.blocked.map(a=>(0,b.jsx)("p",{role:"note","data-testid":"account-delete-blocked",style:i.s,children:a},a)):s?(0,b.jsxs)("form",{"data-testid":"account-delete-form",onSubmit:a=>{a.preventDefault();let b=String(new FormData(a.currentTarget).get("password")??"");p(!0),v(null),f.f.deleteUser({password:b}).then(a=>{if(!a.error)return window.location.assign("/sign-in");p(!1),v(400===a.error.status&&a.error.message?a.error.message:j.deleteFailed)},()=>{p(!1),v(j.deleteFailed)})},style:{display:"grid",gap:12},children:[(0,b.jsx)(h.f,{name:"password",label:j.deletePassword,autoComplete:"current-password"}),u&&(0,b.jsx)("p",{role:"alert",style:i.s,children:u}),(0,b.jsxs)("span",{style:{display:"flex",gap:10,flexWrap:"wrap"},children:[(0,b.jsx)("button",{type:"submit",disabled:o,style:{...i.v,background:"#b91c1c",borderColor:"#b91c1c",color:"#fff",fontWeight:700},children:o?j.working:j.deleteButton}),(0,b.jsx)("button",{type:"button",onClick:()=>{t(!1),v(null)},style:i.v,children:d.B.org.no})]})]}):(0,b.jsx)("button",{type:"button","data-testid":"account-delete-open",onClick:()=>t(!0),style:{...i.v,justifySelf:"start",borderColor:"#b91c1c",color:"#fecaca"},children:j.deleteTitle})]}):(0,b.jsx)("p",{style:{margin:0,color:g.f.faint,fontSize:14},children:j.working})]})]})}function m({title:a,wide:e=!1,testid:f,onClose:h,children:i}){let j=(0,c.useRef)(null);return(0,c.useEffect)(()=>{j.current?.focus({preventScroll:!0});let a=a=>{"Escape"===a.key&&h()};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[h]),(0,b.jsx)("div",{"data-testid":`${f}-backdrop`,onClick:h,style:{position:"fixed",inset:0,zIndex:60,display:"grid",gridTemplateRows:"minmax(0, 1fr)",placeItems:"center",background:"rgba(5, 7, 11, 0.6)"},children:(0,b.jsxs)("div",{ref:j,role:"dialog","aria-modal":"true","aria-label":a,tabIndex:-1,onClick:a=>a.stopPropagation(),style:{width:`min(${e?680:480}px, calc(100% - 32px))`,maxHeight:"calc(100% - 48px)",overflowY:"auto",boxSizing:"border-box",display:"grid",gap:16,padding:24,background:g.f.card,color:g.f.text,fontFamily:g.f.sans,border:`1px solid ${g.f.line}`,borderRadius:16,boxShadow:"0 24px 60px rgba(0,0,0,.6)",textAlign:"left",fontSize:15,fontWeight:400,letterSpacing:0,textTransform:"none",whiteSpace:"normal"},children:[(0,b.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:12},children:[(0,b.jsx)("h2",{className:"factory-display",style:{margin:0,fontSize:22},children:a}),(0,b.jsx)("button",{type:"button","data-testid":`${f}-close`,"aria-label":d.B.auth.close,title:d.B.auth.close,onClick:h,style:{width:32,height:32,borderRadius:8,border:`1px solid ${g.f.line}`,background:"transparent",color:g.f.quiet,font:"inherit",fontSize:16,cursor:"pointer"},children:"✕"})]}),i]})})}a.s(["f",0,m],89956),a.s(["f",0,function({person:a,onClose:e}){let[f,g]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let a=!0;return fetch("/api/account/leaving").then(a=>a.ok?a.json():null).then(b=>{a&&b&&g(b)},()=>void 0),()=>{a=!1}},[]),(0,b.jsx)(m,{title:d.B.auth.accountSettings,testid:"account-dialog",onClose:e,children:(0,b.jsx)(l,{person:a,leaving:f})})}],79908)},147,25398,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(28686),e=a.i(56075),f=a.i(64352),g=a.i(79908),h=a.i(68497),i=a.i(84444);let j=f.B.ais,k={display:"flex",alignItems:"center",gap:12,flexWrap:"wrap",padding:"10px 12px",borderRadius:10,border:`1px solid ${e.f.line}`,background:e.f.bg};function l({ais:a}){let[d,f]=(0,c.useState)(null),g=a=>void navigator.clipboard.writeText(a).then(()=>f(a),()=>void 0);return(0,b.jsxs)("div",{"data-testid":"ai-settings",style:{display:"grid",gap:12},children:[(0,b.jsx)("p",{style:{margin:0,color:e.f.quiet,fontSize:14,lineHeight:1.5},children:j.lead}),a.map(a=>(0,b.jsxs)("div",{"data-testid":`ai-${a.id}`,style:{display:"grid",gap:6},children:[(0,b.jsxs)("div",{style:{...k,opacity:a.ready?1:.6},children:[(0,b.jsx)("span",{"aria-hidden":"true",style:{width:38,height:38,flex:"none",display:"grid",placeItems:"center",borderRadius:10,background:e.f.card,border:`1px solid ${e.f.line}`},children:(0,b.jsx)(h.f,{id:a.id,size:22})}),(0,b.jsx)("strong",{style:{flex:"1 1 220px",fontSize:15,minWidth:0},children:a.name}),a.ready&&a.installed?(0,b.jsxs)("span",{style:{color:e.f.green,fontWeight:700,fontSize:14},children:["✓ ",j.installed]}):(0,b.jsx)("span",{style:{color:e.f.quiet,fontSize:13.5},children:a.ready?j.notInstalled:j.soon})]}),a.setup&&(0,b.jsx)(n,{ai:a,copied:d,onCopy:g})]},a.id))]})}let m={display:"flex",alignItems:"center",gap:8,flexWrap:"wrap",margin:"6px 0 0"};function n({ai:a,copied:c,onCopy:d}){let f=j.steps,g=a.setup,h=a=>(0,b.jsxs)("span",{style:m,children:[(0,b.jsx)("code",{style:{fontFamily:e.f.mono,fontSize:13,padding:"6px 10px",borderRadius:6,background:e.f.bg,border:`1px solid ${e.f.line}`,overflowWrap:"anywhere"},children:a}),(0,b.jsx)("button",{type:"button",onClick:()=>d(a),style:{...i.v,padding:"5px 10px",fontSize:13},children:c===a?j.copied:j.copy})]});return(0,b.jsxs)("details",{"data-testid":`ai-setup-${a.id}`,open:!a.installed,style:{padding:"0 12px",color:e.f.quiet,fontSize:14,lineHeight:1.55},children:[(0,b.jsx)("summary",{style:{cursor:"pointer",color:e.f.green,fontWeight:600,padding:"4px 0"},children:a.installed?j.howToAgain:j.howTo}),(0,b.jsxs)("p",{style:{margin:"8px 0 0"},children:[(0,b.jsxs)("strong",{style:{color:e.f.text},children:[f.needs,":"]})," ",g.needs]}),(0,b.jsxs)("ol",{style:{margin:"8px 0 10px",paddingLeft:20,display:"grid",gap:10},children:[(0,b.jsx)("li",{children:f.terminal}),g.steps.map(a=>(0,b.jsxs)("li",{children:[f[a.kind],h(a.paste)]},a.paste)),(0,b.jsxs)("li",{children:[f.check(a.bin),h(`${a.bin} --version`)]}),(0,b.jsx)("li",{children:f.reload})]}),(0,b.jsxs)("a",{href:g.page,target:"_blank",rel:"noreferrer",style:{color:e.f.green},children:[f.page," ↗"]})]})}var o=a.i(89956);function p({onClose:a}){let[d,g]=(0,c.useState)(null),[h,i]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{let a=!0;return fetch("/api/account/ai").then(a=>a.ok?a.json():null).then(b=>{a&&(b?g(b.ais):i(!0))},()=>{a&&i(!0)}),()=>{a=!1}},[]),(0,b.jsx)(o.f,{wide:!0,title:f.B.ais.title,testid:"ai-dialog",onClose:a,children:d?(0,b.jsx)(l,{ais:d}):(0,b.jsx)("p",{role:h?"alert":"status",style:{margin:0,color:h?"#fca5a5":e.f.faint,fontSize:14},children:h?f.B.ais.loadFailed:f.B.ais.loading})})}let q={organization:(0,b.jsx)("path",{d:"M4 21V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v16M14 9h5a1 1 0 0 1 1 1v11M3 21h18M8 8h2M8 12h2M8 16h2"}),settings:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"3"}),(0,b.jsx)("path",{d:"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-2.9 1.2V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-2.9-1.2l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1A1.7 1.7 0 0 0 3.1 14H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.2-2.9l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1A1.7 1.7 0 0 0 10 3.1V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 2.9 1.2l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0 1.2 2.9H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z"})]}),plus:(0,b.jsx)("path",{d:"M12 5v14M5 12h14"}),ai:(0,b.jsx)("path",{d:"M12 3l1.9 5.6a2 2 0 0 0 1.5 1.5L21 12l-5.6 1.9a2 2 0 0 0-1.5 1.5L12 21l-1.9-5.6a2 2 0 0 0-1.5-1.5L3 12l5.6-1.9a2 2 0 0 0 1.5-1.5z"}),person:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("circle",{cx:"12",cy:"8",r:"4"}),(0,b.jsx)("path",{d:"M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7"})]}),signOut:(0,b.jsx)("path",{d:"M9 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4M16 17l5-5-5-5M21 12H9"})};function r({name:a,size:c=17}){return(0,b.jsx)("svg",{"data-icon":a,viewBox:"0 0 24 24",width:c,height:c,fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{flex:"none"},children:q[a]})}a.s(["f",0,r],25398);let s=f.B.auth,t={display:"flex",alignItems:"center",gap:10,width:"100%",boxSizing:"border-box",padding:"9px 12px",borderRadius:8,border:"none",background:"transparent",color:e.f.text,font:"inherit",fontSize:14,textAlign:"left",textDecoration:"none",cursor:"pointer"},u=()=>void d.f.signOut().then(()=>window.location.assign("/sign-in"));a.s(["P",0,function({person:a}){let[d,h]=(0,c.useState)(!1),[i,j]=(0,c.useState)(!1),[k,l]=(0,c.useState)(!1),m=(0,c.useRef)(null);return(0,c.useEffect)(()=>{if(!d)return;let a=a=>{m.current?.contains(a.target)||h(!1)},b=a=>{"Escape"===a.key&&h(!1)};return document.addEventListener("mousedown",a),document.addEventListener("keydown",b),()=>{document.removeEventListener("mousedown",a),document.removeEventListener("keydown",b)}},[d]),(0,b.jsxs)("div",{ref:m,style:{position:"relative",flex:"none"},children:[(0,b.jsx)("button",{type:"button","data-testid":"account-menu-button","aria-haspopup":"menu","aria-expanded":d,"aria-label":s.account,title:`${s.account}: ${a.name}`,onClick:()=>h(a=>!a),style:{width:34,height:34,borderRadius:"50%",border:"none",background:e.f.green,color:e.f.onGreen,cursor:"pointer",display:"grid",placeItems:"center"},children:(0,b.jsx)(r,{name:"person",size:19})}),d&&(0,b.jsxs)("div",{role:"menu","data-testid":"account-menu",style:{position:"absolute",top:"calc(100% + 6px)",right:0,zIndex:50,width:250,padding:6,borderRadius:12,border:`1px solid ${e.f.line}`,background:e.f.card,boxShadow:"0 16px 40px rgba(0,0,0,.5)"},children:[(0,b.jsxs)("p",{style:{margin:0,padding:"8px 12px 10px",display:"grid",gap:2,borderBottom:`1px solid ${e.f.line}`},children:[(0,b.jsx)("strong",{style:{fontSize:14,color:e.f.text},children:a.name}),(0,b.jsx)("span",{style:{fontSize:12.5,color:e.f.faint,overflow:"hidden",textOverflow:"ellipsis"},children:a.email})]}),(0,b.jsxs)("button",{type:"button",role:"menuitem","data-testid":"account-settings-open",onClick:()=>{h(!1),j(!0)},style:{...t,marginTop:6},children:[(0,b.jsx)(r,{name:"settings"}),s.accountSettings]}),(0,b.jsxs)("button",{type:"button",role:"menuitem","data-testid":"ais-open",onClick:()=>{h(!1),l(!0)},style:t,children:[(0,b.jsx)(r,{name:"ai"}),f.B.ais.open]}),(0,b.jsx)("hr",{style:{border:"none",borderTop:`1px solid ${e.f.line}`,margin:"6px 0"}}),(0,b.jsxs)("button",{type:"button",role:"menuitem","data-testid":"sign-out",onClick:u,style:t,children:[(0,b.jsx)(r,{name:"signOut"}),s.signOut]})]}),i&&(0,b.jsx)(g.f,{person:a,onClose:()=>j(!1)}),k&&(0,b.jsx)(p,{onClose:()=>l(!1)})]})},"_",0,u],147)}];
30
+ Learn more: https://nextjs.org/docs/messages/blocking-prerender-client-hook`),this.digest=n}}function p(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===n}let q=new WeakMap;function r(a,b,c){return J(a,new m(b,c))}function s(a,b,c){return J(a,new m(b,c))}function t(a,b,c,d){return N(J(a,new m(b,c)),A.bind(null,d,c))}function u(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,B.bind(null,d,c))}function v(a,b,c,d){return t(a,b,c,d)}function w(a,b,c){return s(a,b,c)}function x(a,b,c,d){let e=J(a,new m(b,c));return null===d?e:N(e,C.bind(null,d,c))}function y(){return{runtimeDataAccessed:(0,g.createPromiseWithResolvers)(),shouldAttemptStaticShell:!0,shouldAttemptStaticPrefetch:!0}}function z(a){a.runtimeDataAccessed.resolve(!1)}function A(a,b){D(a,1,b)}function B(a,b){D(a,2,b)}function C(a,b){D(a,3,b)}function D(a,b,c){if("prerender"===a.type){let{prerenderDataTracking:d,stagedRendering:e}=a;if(!d||!e)return;let{currentStage:g}=e;if(g===i.RenderStage.Before)return void console.error(new f.InvariantError("Unexpected trackRuntimeDataAccessed in the Before stage."));if(g>=i.RenderStage.NavigationStatic)return;let j=a.ensureStaticLevel??h.EnsureStaticLevel.None;switch(b){case 1:{let a=null;g<=i.RenderStage.ShellStatic&&j<h.EnsureStaticLevel.Shell&&(d.shouldAttemptStaticShell=!1,a??=i.RenderStage.ShellStatic,null==F||F(c,"shell")),g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,a??=i.RenderStage.PrefetchStatic,null==F||F(c,"prefetch")),null!==a&&E(d,e,a);break}case 3:if(a.isFallbackUpgradeable){j<h.EnsureStaticLevel.Prefetch&&(E(d,e,i.RenderStage.PrefetchStatic),null==G||G());break}case 2:g<=i.RenderStage.PrefetchStatic&&j<h.EnsureStaticLevel.Prefetch&&(d.shouldAttemptStaticPrefetch=!1,null==F||F(c,"prefetch"),E(d,e,i.RenderStage.PrefetchStatic))}}}function E(a,b,c){let{runtimeDataAccessed:d}=a;b.currentStage>=c?d.resolve(!0):b.onStage(c,d.resolve.bind(null,!0))}let F=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?(a,b)=>{let{route:c}=j.workAsyncStorage.getStore();console.log(`Route '${c}': deopting to a runtime ${b} because it used ${a}`)}:void 0,G=process.env.NEXT_PRIVATE_DEBUG_RUNTIME_DATA?()=>{let{route:a}=j.workAsyncStorage.getStore();console.log(`Route '${a}': marking upgradeable fallback as runtime prefetchable`)}:void 0;function H(a,b){let{stagedRendering:c}=a;if(!c)return;let{currentStage:d}=c;if(d!==i.RenderStage.Dynamic&&d!==i.RenderStage.Abandoned){if(process.env.NEXT_PRIVATE_DEBUG_VALIDATION){let a=j.workAsyncStorage.getStore();console.log(`Route ${a.route}: Incompatible shell content: ${b}`)}a.hasIncompatibleShellContent=!0}}function I(a,b){return J(a,b)}function J(a,b){if(a.aborted)return Promise.reject(b);{let c=new Promise((c,d)=>{let e=d.bind(null,b),f=q.get(a);if(f)f.push(e);else{let b=[e];q.set(a,b),a.addEventListener("abort",()=>{for(let a=0;a<b.length;a++)b[a]()},{once:!0})}});return c.catch(K),c}}function K(){}function L(a,b){let c=a.then(()=>b);return c.catch(K),c}function M(a,b,c){return b.stagedRendering?b.stagedRendering.delayUntilStage(c,void 0,a):new Promise(b=>{setTimeout(()=>{b(a)},0)})}function N(a,b){return O.from(a,b)}class O extends Promise{#a;static get[Symbol.species](){return Promise}static from(a,b){let c=new O(a.then.bind(a));return c.#a=b,Promise.prototype.then.call(c,void 0,K),c}then(a,b){let c=this.#a;if(c)try{c()}catch(a){console.error(a)}return Promise.prototype.then.call(this,a,b)}constructor(...a){super(...a),this.#a=null}}let P={sessionData:i.RenderStage.ShellRuntime,staticUrlData:{prefetchApi:{static:i.RenderStage.PrefetchStatic_prefetchApi,runtime:i.RenderStage.PrefetchRuntime_prefetchApi},static:i.RenderStage.PrefetchStatic,runtime:i.RenderStage.PrefetchRuntime},runtimeUrlData:i.RenderStage.PrefetchRuntime};function Q(a){return a}},13925,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getComponentTypeModule:function(){return h},getLayoutOrPageModule:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(39118);async function g(a){let b,c,d,{layout:e,page:g,defaultPage:h}=a[2],i=void 0!==e,j=void 0!==g,k=void 0!==h&&a[0]===f.DEFAULT_SEGMENT_KEY;return i?(b=await e[0](),c="layout",d=e[1]):j?(b=await g[0](),c="page",d=g[1]):k&&(b=await h[0](),c="page",d=h[1]),{mod:b,modType:c,filePath:d}}async function h(a,b){let{[b]:c}=a[2];if(void 0!==c)return await c[0]()}},41997,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},82794,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={createReactBrowserBailoutReason:function(){return g},getReactBrowserBailoutReason:function(){return h},isNextBrowserBailoutError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=Symbol.for("next.browser-bailout-reason");function g(a){return{$$typeof:f,reason:a}}function h(a){let b=a?.cause;return b?.$$typeof===f?b.reason:void 0}function i(a){return void 0!==h(a)}},8924,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"parseLoaderTree",{enumerable:!0,get:function(){return e}});let d=a.r(39118);function e(a){let[b,c,e,f]=a,{layout:g,template:h}=e,{page:i}=e;i=b===d.DEFAULT_SEGMENT_KEY?e.defaultPage:i;let j=g?.[1]||h?.[1]||i?.[1];return{page:i,segment:b,modules:e,conventionPath:j,parallelRoutes:c,staticSiblings:f}}},50944,(a,b,c)=>{b.exports=a.r(74137)},147,89956,25398,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(28686),e=a.i(56075),f=a.i(64352),g=a.i(50944),h=a.i(65849),i=a.i(84444);let j=f.B.auth,k={display:"grid",gap:12,paddingTop:18,borderTop:`1px solid ${e.f.line}`};function l({person:a,leaving:m}){let n=(0,g.useRouter)(),[o,p]=(0,c.useState)(!1),[q,r]=(0,c.useState)(null),[s,t]=(0,c.useState)(!1),[u,v]=(0,c.useState)(null);async function w(a,b,c,d){p(!0),r(null);let e=await b().catch(()=>({error:!0}));return p(!1),r({about:a,ok:!e.error,text:e.error?d:c}),e.error||n.refresh(),!e.error}let x=a=>q?.about===a&&(0,b.jsx)("p",{role:q.ok?"status":"alert",style:q.ok?{margin:0,color:e.f.green,fontSize:14}:i.s,children:q.text});return(0,b.jsxs)("div",{style:{display:"grid",gap:18},children:[(0,b.jsxs)("form",{"data-testid":"account-name",action:async a=>{let b=String(a.get("name")??"").trim();b&&await w("name",()=>d.f.updateUser({name:b}),j.nameSaved,j.changeFailed)},style:{display:"grid",gap:12},children:[(0,b.jsxs)("label",{style:i.W,children:[j.name,(0,b.jsx)("input",{name:"name",defaultValue:a.name,required:!0,maxLength:80,autoComplete:"name",style:i.m})]}),(0,b.jsxs)("label",{style:i.W,children:[j.email,(0,b.jsx)("input",{value:a.email,readOnly:!0,disabled:!0,style:{...i.m,opacity:.7}})]}),x("name"),(0,b.jsx)("button",{type:"submit",disabled:o,style:{...i.v,justifySelf:"start"},children:j.saveName})]}),(0,b.jsxs)("form",{"data-testid":"account-password",action:async a=>{await w("password",()=>d.f.changePassword({currentPassword:String(a.get("current")??""),newPassword:String(a.get("next")??""),revokeOtherSessions:!0}),j.passwordSaved,j.passwordFailed)&&document.querySelector("form[data-testid=account-password]")?.reset()},style:k,children:[(0,b.jsx)("h2",{style:{margin:0,fontSize:16,fontWeight:700},children:j.changePassword}),(0,b.jsx)(h.f,{name:"current",label:j.currentPassword,autoComplete:"current-password"}),(0,b.jsx)(h.f,{name:"next",label:j.newPassword,autoComplete:"new-password",hint:j.passwordHint}),x("password"),(0,b.jsx)("button",{type:"submit",disabled:o,style:{...i.v,justifySelf:"start"},children:j.savePassword})]}),(0,b.jsxs)("section",{"data-testid":"account-delete",style:k,children:[(0,b.jsx)("h2",{style:{margin:0,fontSize:16,fontWeight:700,color:"#fca5a5"},children:j.deleteTitle}),(0,b.jsx)("p",{style:{margin:0,color:e.f.quiet,fontSize:14,lineHeight:1.5},children:j.deleteLead}),m?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("ul",{style:{margin:0,paddingLeft:18,display:"grid",gap:6,color:e.f.text,fontSize:14,lineHeight:1.5},children:[m.deleted.map(a=>(0,b.jsx)("li",{children:j.deleteTakes(a.name,a.projects,a.tasks)},a.id)),m.left.map(a=>(0,b.jsx)("li",{children:j.deleteLeaves(a.name)},a.id)),(0,b.jsx)("li",{style:{color:e.f.quiet},children:j.deleteKeeps})]}),m.blocked.length>0?m.blocked.map(a=>(0,b.jsx)("p",{role:"note","data-testid":"account-delete-blocked",style:i.s,children:a},a)):s?(0,b.jsxs)("form",{"data-testid":"account-delete-form",onSubmit:a=>{a.preventDefault();let b=String(new FormData(a.currentTarget).get("password")??"");p(!0),v(null),d.f.deleteUser({password:b}).then(a=>{if(!a.error)return window.location.assign("/sign-in");p(!1),v(400===a.error.status&&a.error.message?a.error.message:j.deleteFailed)},()=>{p(!1),v(j.deleteFailed)})},style:{display:"grid",gap:12},children:[(0,b.jsx)(h.f,{name:"password",label:j.deletePassword,autoComplete:"current-password"}),u&&(0,b.jsx)("p",{role:"alert",style:i.s,children:u}),(0,b.jsxs)("span",{style:{display:"flex",gap:10,flexWrap:"wrap"},children:[(0,b.jsx)("button",{type:"submit",disabled:o,style:{...i.v,background:"#b91c1c",borderColor:"#b91c1c",color:"#fff",fontWeight:700},children:o?j.working:j.deleteButton}),(0,b.jsx)("button",{type:"button",onClick:()=>{t(!1),v(null)},style:i.v,children:f.B.org.no})]})]}):(0,b.jsx)("button",{type:"button","data-testid":"account-delete-open",onClick:()=>t(!0),style:{...i.v,justifySelf:"start",borderColor:"#b91c1c",color:"#fecaca"},children:j.deleteTitle})]}):(0,b.jsx)("p",{style:{margin:0,color:e.f.faint,fontSize:14},children:j.working})]})]})}function m({title:a,wide:d=!1,testid:g,onClose:h,children:i}){let j=(0,c.useRef)(null);return(0,c.useEffect)(()=>{j.current?.focus({preventScroll:!0});let a=a=>{"Escape"===a.key&&h()};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[h]),(0,b.jsx)("div",{"data-testid":`${g}-backdrop`,onClick:h,style:{position:"fixed",inset:0,zIndex:60,display:"grid",gridTemplateRows:"minmax(0, 1fr)",placeItems:"center",background:"rgba(5, 7, 11, 0.6)"},children:(0,b.jsxs)("div",{ref:j,role:"dialog","aria-modal":"true","aria-label":a,tabIndex:-1,onClick:a=>a.stopPropagation(),style:{width:`min(${d?680:480}px, calc(100% - 32px))`,maxHeight:"calc(100% - 48px)",overflowY:"auto",boxSizing:"border-box",display:"grid",gap:16,padding:24,background:e.f.card,color:e.f.text,fontFamily:e.f.sans,border:`1px solid ${e.f.line}`,borderRadius:16,boxShadow:"0 24px 60px rgba(0,0,0,.6)",textAlign:"left",fontSize:15,fontWeight:400,letterSpacing:0,textTransform:"none",whiteSpace:"normal"},children:[(0,b.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:12},children:[(0,b.jsx)("h2",{className:"factory-display",style:{margin:0,fontSize:22},children:a}),(0,b.jsx)("button",{type:"button","data-testid":`${g}-close`,"aria-label":f.B.auth.close,title:f.B.auth.close,onClick:h,style:{width:32,height:32,borderRadius:8,border:`1px solid ${e.f.line}`,background:"transparent",color:e.f.quiet,font:"inherit",fontSize:16,cursor:"pointer"},children:"✕"})]}),i]})})}function n({person:a,onClose:d}){let[e,g]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let a=!0;return fetch("/api/account/leaving").then(a=>a.ok?a.json():null).then(b=>{a&&b&&g(b)},()=>void 0),()=>{a=!1}},[]),(0,b.jsx)(m,{title:f.B.auth.accountSettings,testid:"account-dialog",onClose:d,children:(0,b.jsx)(l,{person:a,leaving:e})})}a.s(["f",0,m],89956);var o=a.i(68497);let p=f.B.ais,q={display:"flex",alignItems:"center",gap:12,flexWrap:"wrap",padding:"10px 12px",borderRadius:10,border:`1px solid ${e.f.line}`,background:e.f.bg};function r({ais:a}){let[d,f]=(0,c.useState)(null),g=a=>void navigator.clipboard.writeText(a).then(()=>f(a),()=>void 0);return(0,b.jsxs)("div",{"data-testid":"ai-settings",style:{display:"grid",gap:12},children:[(0,b.jsx)("p",{style:{margin:0,color:e.f.quiet,fontSize:14,lineHeight:1.5},children:p.lead}),a.map(a=>(0,b.jsxs)("div",{"data-testid":`ai-${a.id}`,style:{display:"grid",gap:6},children:[(0,b.jsxs)("div",{style:{...q,opacity:a.ready?1:.6},children:[(0,b.jsx)("span",{"aria-hidden":"true",style:{width:38,height:38,flex:"none",display:"grid",placeItems:"center",borderRadius:10,background:e.f.card,border:`1px solid ${e.f.line}`},children:(0,b.jsx)(o.f,{id:a.id,size:22})}),(0,b.jsx)("strong",{style:{flex:"1 1 220px",fontSize:15,minWidth:0},children:a.name}),a.ready&&a.installed?(0,b.jsxs)("span",{style:{color:e.f.green,fontWeight:700,fontSize:14},children:["✓ ",p.installed]}):(0,b.jsx)("span",{style:{color:e.f.quiet,fontSize:13.5},children:a.ready?p.notInstalled:p.soon})]}),a.setup&&(0,b.jsx)(t,{ai:a,copied:d,onCopy:g})]},a.id))]})}let s={display:"flex",alignItems:"center",gap:8,flexWrap:"wrap",margin:"6px 0 0"};function t({ai:a,copied:c,onCopy:d}){let f=p.steps,g=a.setup,h=a=>(0,b.jsxs)("span",{style:s,children:[(0,b.jsx)("code",{style:{fontFamily:e.f.mono,fontSize:13,padding:"6px 10px",borderRadius:6,background:e.f.bg,border:`1px solid ${e.f.line}`,overflowWrap:"anywhere"},children:a}),(0,b.jsx)("button",{type:"button",onClick:()=>d(a),style:{...i.v,padding:"5px 10px",fontSize:13},children:c===a?p.copied:p.copy})]});return(0,b.jsxs)("details",{"data-testid":`ai-setup-${a.id}`,open:!a.installed,style:{padding:"0 12px",color:e.f.quiet,fontSize:14,lineHeight:1.55},children:[(0,b.jsx)("summary",{style:{cursor:"pointer",color:e.f.green,fontWeight:600,padding:"4px 0"},children:a.installed?p.howToAgain:p.howTo}),(0,b.jsxs)("p",{style:{margin:"8px 0 0"},children:[(0,b.jsxs)("strong",{style:{color:e.f.text},children:[f.needs,":"]})," ",g.needs]}),(0,b.jsxs)("ol",{style:{margin:"8px 0 10px",paddingLeft:20,display:"grid",gap:10},children:[(0,b.jsx)("li",{children:f.terminal}),g.steps.map(a=>(0,b.jsxs)("li",{children:[f[a.kind],h(a.paste)]},a.paste)),(0,b.jsxs)("li",{children:[f.check(a.bin),h(`${a.bin} --version`)]}),(0,b.jsx)("li",{children:f.reload})]}),(0,b.jsxs)("a",{href:g.page,target:"_blank",rel:"noreferrer",style:{color:e.f.green},children:[f.page," ↗"]})]})}function u({onClose:a}){let[d,g]=(0,c.useState)(null),[h,i]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{let a=!0;return fetch("/api/account/ai").then(a=>a.ok?a.json():null).then(b=>{a&&(b?g(b.ais):i(!0))},()=>{a&&i(!0)}),()=>{a=!1}},[]),(0,b.jsx)(m,{wide:!0,title:f.B.ais.title,testid:"ai-dialog",onClose:a,children:d?(0,b.jsx)(r,{ais:d}):(0,b.jsx)("p",{role:h?"alert":"status",style:{margin:0,color:h?"#fca5a5":e.f.faint,fontSize:14},children:h?f.B.ais.loadFailed:f.B.ais.loading})})}let v={organization:(0,b.jsx)("path",{d:"M4 21V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v16M14 9h5a1 1 0 0 1 1 1v11M3 21h18M8 8h2M8 12h2M8 16h2"}),settings:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"3"}),(0,b.jsx)("path",{d:"M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-2.9 1.2V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-2.9-1.2l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1A1.7 1.7 0 0 0 3.1 14H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.2-2.9l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1A1.7 1.7 0 0 0 10 3.1V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 2.9 1.2l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0 1.2 2.9H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z"})]}),plus:(0,b.jsx)("path",{d:"M12 5v14M5 12h14"}),ai:(0,b.jsx)("path",{d:"M12 3l1.9 5.6a2 2 0 0 0 1.5 1.5L21 12l-5.6 1.9a2 2 0 0 0-1.5 1.5L12 21l-1.9-5.6a2 2 0 0 0-1.5-1.5L3 12l5.6-1.9a2 2 0 0 0 1.5-1.5z"}),person:(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("circle",{cx:"12",cy:"8",r:"4"}),(0,b.jsx)("path",{d:"M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7"})]}),signOut:(0,b.jsx)("path",{d:"M9 21H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4M16 17l5-5-5-5M21 12H9"})};function w({name:a,size:c=17}){return(0,b.jsx)("svg",{"data-icon":a,viewBox:"0 0 24 24",width:c,height:c,fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",style:{flex:"none"},children:v[a]})}a.s(["f",0,w],25398);let x=f.B.auth,y={display:"flex",alignItems:"center",gap:10,width:"100%",boxSizing:"border-box",padding:"9px 12px",borderRadius:8,border:"none",background:"transparent",color:e.f.text,font:"inherit",fontSize:14,textAlign:"left",textDecoration:"none",cursor:"pointer"},z=()=>void d.f.signOut().then(()=>window.location.assign("/sign-in"));a.s(["P",0,function({person:a}){let[d,g]=(0,c.useState)(!1),[h,i]=(0,c.useState)(!1),[j,k]=(0,c.useState)(!1),l=(0,c.useRef)(null);return(0,c.useEffect)(()=>{if(!d)return;let a=a=>{l.current?.contains(a.target)||g(!1)},b=a=>{"Escape"===a.key&&g(!1)};return document.addEventListener("mousedown",a),document.addEventListener("keydown",b),()=>{document.removeEventListener("mousedown",a),document.removeEventListener("keydown",b)}},[d]),(0,b.jsxs)("div",{ref:l,style:{position:"relative",flex:"none"},children:[(0,b.jsx)("button",{type:"button","data-testid":"account-menu-button","aria-haspopup":"menu","aria-expanded":d,"aria-label":x.account,title:`${x.account}: ${a.name}`,onClick:()=>g(a=>!a),style:{width:34,height:34,borderRadius:"50%",border:"none",background:e.f.green,color:e.f.onGreen,cursor:"pointer",display:"grid",placeItems:"center"},children:(0,b.jsx)(w,{name:"person",size:19})}),d&&(0,b.jsxs)("div",{role:"menu","data-testid":"account-menu",style:{position:"absolute",top:"calc(100% + 6px)",right:0,zIndex:50,width:250,padding:6,borderRadius:12,border:`1px solid ${e.f.line}`,background:e.f.card,boxShadow:"0 16px 40px rgba(0,0,0,.5)"},children:[(0,b.jsxs)("p",{style:{margin:0,padding:"8px 12px 10px",display:"grid",gap:2,borderBottom:`1px solid ${e.f.line}`},children:[(0,b.jsx)("strong",{style:{fontSize:14,color:e.f.text},children:a.name}),(0,b.jsx)("span",{style:{fontSize:12.5,color:e.f.faint,overflow:"hidden",textOverflow:"ellipsis"},children:a.email})]}),(0,b.jsxs)("button",{type:"button",role:"menuitem","data-testid":"account-settings-open",onClick:()=>{g(!1),i(!0)},style:{...y,marginTop:6},children:[(0,b.jsx)(w,{name:"settings"}),x.accountSettings]}),(0,b.jsxs)("button",{type:"button",role:"menuitem","data-testid":"ais-open",onClick:()=>{g(!1),k(!0)},style:y,children:[(0,b.jsx)(w,{name:"ai"}),f.B.ais.open]}),(0,b.jsx)("hr",{style:{border:"none",borderTop:`1px solid ${e.f.line}`,margin:"6px 0"}}),(0,b.jsxs)("button",{type:"button",role:"menuitem","data-testid":"sign-out",onClick:z,style:y,children:[(0,b.jsx)(w,{name:"signOut"}),x.signOut]})]}),h&&(0,b.jsx)(n,{person:a,onClose:()=>i(!1)}),j&&(0,b.jsx)(u,{onClose:()=>k(!1)})]})},"_",0,z],147)}];
31
31
 
32
- //# sourceMappingURL=_0u7gwi85h6cf-._.js.map
32
+ //# sourceMappingURL=_1ph9xm-z7tn_h._.js.map