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,32 +0,0 @@
1
- module.exports=[64177,(a,b,c)=>{"use strict";function d(){throw Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"forbidden",{enumerable:!0,get:function(){return d}}),a.r(8535).HTTP_ERROR_FALLBACK_ERROR_CODE,("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)},3326,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DynamicServerError:function(){return g},isDynamicServerError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="DYNAMIC_SERVER_USAGE";class g extends Error{constructor(a){super(`Dynamic server usage: ${a}`),this.description=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&"string"==typeof a.digest&&a.digest===f}("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)},8535,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={HTTPAccessErrorStatus:function(){return f},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return h},getAccessFallbackErrorTypeByStatus:function(){return k},getAccessFallbackHTTPStatus:function(){return j},isHTTPAccessFallbackError:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},g=new Set(Object.values(f)),h="NEXT_HTTP_ERROR_FALLBACK";function i(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let[b,c]=a.digest.split(";");return b===h&&g.has(Number(c))}function j(a){return Number(a.digest.split(";")[1])}function k(a){switch(a){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("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)},77747,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isNextRouterError",{enumerable:!0,get:function(){return f}});let d=a.r(8535),e=a.r(11026);function f(a){return(0,e.isRedirectError)(a)||(0,d.isHTTPAccessFallbackError)(a)}("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)},49842,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={useDynamicRouteParams:function(){return f.useDynamicRouteParams},useDynamicSearchParams:function(){return f.useDynamicSearchParams}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(1018);("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)},74137,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return h.ReadonlyURLSearchParams},RedirectType:function(){return m.RedirectType},ServerInsertedHTMLContext:function(){return k.ServerInsertedHTMLContext},forbidden:function(){return m.forbidden},notFound:function(){return m.notFound},permanentRedirect:function(){return m.permanentRedirect},redirect:function(){return m.redirect},unauthorized:function(){return m.unauthorized},unstable_isUnrecognizedActionError:function(){return l.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return m.unstable_rethrow},useParams:function(){return t},usePathname:function(){return r},useRouter:function(){return s},useSearchParams:function(){return q},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return u},useServerInsertedHTML:function(){return k.useServerInsertedHTML}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(72131)),g=a.r(9270),h=a.r(36313),i=a.r(39118),j=a.r(49842),k=a.r(18341),l=a.r(57997),m=a.r(21066),{instrumentParamsForClientValidation:n,instrumentSearchParamsForClientValidation:o,expectCompleteParamsInClientValidation:p}={};function q(){j.useDynamicSearchParams?.("useSearchParams()");let a=(0,f.useContext)(h.SearchParamsContext);return(0,f.useMemo)(()=>a?new h.ReadonlyURLSearchParams(a):null,[a])}function r(){return j.useDynamicRouteParams?.("usePathname()"),(0,f.useContext)(h.PathnameContext)}function s(){let a=(0,f.useContext)(g.AppRouterContext);if(null===a)throw Error("invariant expected app router to be mounted");let b=(0,f.useContext)(g.LayoutRouterContext),c=b?.parentRenderTree.data.bfcacheId??0;return(0,f.useMemo)(()=>({back:a.back,forward:a.forward,refresh:a.refresh,hmrRefresh:a.hmrRefresh,push:a.push,replace:a.replace,prefetch:a.prefetch,experimental_gesturePush:a.experimental_gesturePush,bfcacheId:"_b_"+c+"_"}),[a,c])}function t(){return j.useDynamicRouteParams?.("useParams()"),(0,f.useContext)(h.PathParamsContext)}function u(a="children"){j.useDynamicRouteParams?.("useSelectedLayoutSegments()");let b=(0,f.useContext)(g.LayoutRouterContext);return b?(0,i.getSelectedLayoutSegmentPath)(b.parentTree,a):null}function v(a="children"){j.useDynamicRouteParams?.("useSelectedLayoutSegment()"),(0,f.useContext)(h.NavigationPromisesContext);let b=u(a);return(0,i.computeSelectedLayoutSegment)(b,a)}("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)},21066,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ReadonlyURLSearchParams:function(){return f.ReadonlyURLSearchParams},RedirectType:function(){return m},forbidden:function(){return i.forbidden},notFound:function(){return h.notFound},permanentRedirect:function(){return g.permanentRedirect},redirect:function(){return g.redirect},unauthorized:function(){return j.unauthorized},unstable_isUnrecognizedActionError:function(){return l},unstable_rethrow:function(){return k.unstable_rethrow}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(75718),g=a.r(22099),h=a.r(28102),i=a.r(64177),j=a.r(88213),k=a.r(47083);function l(){throw Error("`unstable_isUnrecognizedActionError` can only be used on the client.")}let m={push:"push",replace:"replace"};("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)},28102,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"notFound",{enumerable:!0,get:function(){return f}});let d=a.r(8535),e=`${d.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function f(){let a=Error(e);throw a.digest=e,a}("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)},75718,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return e}});class d extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class e extends URLSearchParams{append(){throw new d}delete(){throw new d}set(){throw new d}sort(){throw new d}}("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)},11026,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={REDIRECT_ERROR_CODE:function(){return g},isRedirectError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(15128),g="NEXT_REDIRECT";function h(a){if("object"!=typeof a||null===a||!("digest"in a)||"string"!=typeof a.digest)return!1;let b=a.digest.split(";"),[c,d]=b,e=b.slice(2,-2).join(";"),h=Number(b.at(-2));return c===g&&("replace"===d||"push"===d)&&"string"==typeof e&&!isNaN(h)&&h in f.RedirectStatusCode}("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)},15128,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"RedirectStatusCode",{enumerable:!0,get:function(){return e}});var d,e=((d={})[d.SeeOther=303]="SeeOther",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d);("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)},22099,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return n},getRedirectTypeFromError:function(){return m},getURLFromRedirectError:function(){return l},permanentRedirect:function(){return k},redirect:function(){return j}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(15128),g=a.r(11026),h=a.r(69789);function i(a,b,c=f.RedirectStatusCode.TemporaryRedirect){let d=Error(g.REDIRECT_ERROR_CODE);return d.digest=`${g.REDIRECT_ERROR_CODE};${b};${a};${c};`,d}function j(a,b){throw i(a,b??=h.actionAsyncStorage?.getStore()?.isAction?"push":"replace",f.RedirectStatusCode.TemporaryRedirect)}function k(a,b="replace"){throw i(a,b,f.RedirectStatusCode.PermanentRedirect)}function l(a){return(0,g.isRedirectError)(a)?a.digest.split(";").slice(2,-2).join(";"):null}function m(a){if(!(0,g.isRedirectError)(a))throw Error("Not a redirect error");return a.digest.split(";",2)[1]}function n(a){if(!(0,g.isRedirectError)(a))throw Error("Not a redirect error");return Number(a.digest.split(";").at(-2))}("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)},99392,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={StaticGenBailoutError:function(){return g},isStaticGenBailoutError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="NEXT_STATIC_GEN_BAILOUT";class g extends Error{constructor(...a){super(...a),this.code=f}}function h(a){return"object"==typeof a&&null!==a&&"code"in a&&a.code===f}("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)},88213,(a,b,c)=>{"use strict";function d(){throw Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled.")}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unauthorized",{enumerable:!0,get:function(){return d}}),a.r(8535).HTTP_ERROR_FALLBACK_ERROR_CODE,("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)},57997,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={UnrecognizedActionError:function(){return f},unstable_isUnrecognizedActionError:function(){return g}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});class f extends Error{constructor(...a){super(...a),this.name="UnrecognizedActionError"}}function g(a){return!!(a&&"object"==typeof a&&a instanceof f)}("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)},47083,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"unstable_rethrow",{enumerable:!0,get:function(){return function a(b){if((0,f.isNextRouterError)(b)||(0,e.isBailoutToCSRError)(b)||(0,h.isDynamicServerError)(b)||(0,d.isHangingPromiseRejectionError)(b)||(0,g.isPrerenderInterruptedError)(b))throw b;b instanceof Error&&"cause"in b&&a(b.cause)}}});let d=a.r(35710),e=a.r(41997),f=a.r(77747),g=a.r(54110),h=a.r(3326);("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)},36785,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={atLeastOneTask:function(){return h},scheduleImmediate:function(){return g},scheduleOnNextTick:function(){return f},waitAtLeastOneReactRenderTask:function(){return i}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a=>{Promise.resolve().then(()=>{process.nextTick(a)})},g=a=>{setImmediate(a)};function h(){return new Promise(a=>g(a))}function i(){return new Promise(a=>setImmediate(a))}},1018,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e={useDynamicRouteParams:function(){return n},useDynamicSearchParams:function(){return o}};for(var f in e)Object.defineProperty(c,f,{enumerable:!0,get:e[f]});let g=(d=a.r(72131))&&d.__esModule?d:{default:d},h=a.r(35112),i=a.r(32319),j=a.r(56704),k=a.r(35710),l=a.r(88644);a.r(41997);let m=a.r(82794).createReactBrowserBailoutReason.bind(null,"useSearchParams()");function n(a){let b=j.workAsyncStorage.getStore(),c=i.workUnitAsyncStorage.getStore();if(b&&c)switch(c.type){case"prerender-client":{let d=c.fallbackRouteParams;d&&d.size>0&&g.default.use((0,k.makeClientHookHangingPromise)(c.renderSignal,new k.ClientHookDynamicError(b.route,a)));break}case"prerender":throw new l.InvariantError(`\`${a}\` was called from a Server Component. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`);case"validation-client":case"prerender-legacy":case"request":case"unstable-cache":break;case"prerender-runtime":throw new l.InvariantError(`\`${a}\` was called during a runtime prerender. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`);case"cache":case"private-cache":throw new l.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`);case"build-time-generator":throw new l.InvariantError(`\`${a}\` was called in \`${c.functionName}\`. Next.js should be preventing ${a} from being included in server component files statically, but did not in this case.`)}}function o(a){let b=j.workAsyncStorage.getStore(),c=i.workUnitAsyncStorage.getStore();if(b)switch(!c&&(0,i.throwForMissingRequestStore)(a),c.type){case"validation-client":case"request":return;case"prerender-client":g.default.use((0,k.makeClientHookHangingPromise)(c.renderSignal,new k.ClientHookDynamicError(b.route,a)));break;case"prerender-legacy":if(b.forceStatic)return;return void g.default.use((0,h.browser)(m));case"prerender":case"prerender-runtime":throw new l.InvariantError(`\`${a}\` was called from a Server Component. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`);case"cache":case"unstable-cache":case"private-cache":throw new l.InvariantError(`\`${a}\` was called inside a cache scope. Next.js should be preventing ${a} from being included in server components statically, but did not in this case.`);case"build-time-generator":throw new l.InvariantError(`\`${a}\` was called in \`${c.functionName}\`. Next.js should be preventing ${a} from being included in server component files statically, but did not in this case.`)}}},54110,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={abortAndThrowOnSynchronousRequestDataAccess:function(){return r},abortOnSynchronousPlatformIOAccess:function(){return q},accessedDynamicData:function(){return v},annotateDynamicAccess:function(){return A},consumeDynamicAccess:function(){return w},createDynamicTrackingState:function(){return j},createHangingInputAbortSignal:function(){return y},formatDynamicAPIAccesses:function(){return x},getFirstDynamicReason:function(){return k},isPrerenderInterruptedError:function(){return u},markCurrentScopeAsDynamic:function(){return l},throwToInterruptStaticGeneration:function(){return m},trackDynamicDataInDynamicRender:function(){return n}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(3326),g=a.r(99392),h=a.r(32319),i=a.r(36785);function j(a){return{isDebugDynamicAccesses:a,dynamicAccesses:[],syncDynamicErrorWithStack:null,syncDynamicErrorWithStackPostMicrotask:!1}}function k(a){var b;return null==(b=a.dynamicAccesses[0])?void 0:b.expression}function l(a,b,c){if(b)switch(b.type){case"cache":case"unstable-cache":case"private-cache":return}if(!a.forceDynamic&&!a.forceStatic){if(a.dynamicShouldError)throw new g.StaticGenBailoutError(`Route ${a.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${c}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`);if(b)switch(b.type){case"prerender-legacy":b.revalidate=0;let d=new f.DynamicServerError(`Route ${a.route} couldn't be rendered statically because it used ${c}. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw a.dynamicUsageDescription=c,a.dynamicUsageStack=d.stack,d;case"request":o(b)}}}function m(a,b,c){let d=new f.DynamicServerError(`Route ${b.route} couldn't be rendered statically because it used \`${a}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`);throw c.revalidate=0,b.dynamicUsageDescription=a,b.dynamicUsageStack=d.stack,d}function n(a){switch(a.type){case"cache":case"unstable-cache":case"private-cache":return;case"prerender":case"prerender-runtime":case"prerender-legacy":case"prerender-client":case"validation-client":case"build-time-generator":break;case"request":o(a)}}function o(a){}function p(a,b,c){let d=t(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`);c.controller.abort(d);let e=c.dynamicTracking;e&&e.dynamicAccesses.push({stack:e.isDebugDynamicAccesses?Error().stack:void 0,expression:b})}function q(a,b,c,d){let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c,queueMicrotask(()=>{e.syncDynamicErrorWithStackPostMicrotask=!0})),p(a,b,d)}function r(a,b,c,d){if(!1===d.controller.signal.aborted){p(a,b,d);let e=d.dynamicTracking;e&&null===e.syncDynamicErrorWithStack&&(e.syncDynamicErrorWithStack=c)}throw t(`Route ${a} needs to bail out of prerendering at this point because it used ${b}.`)}let s="NEXT_PRERENDER_INTERRUPTED";function t(a){let b=Error(a);return b.digest=s,b}function u(a){return"object"==typeof a&&null!==a&&a.digest===s&&"name"in a&&"message"in a&&a instanceof Error}function v(a){return a.length>0}function w(a,b){return a.dynamicAccesses.push(...b.dynamicAccesses),a.dynamicAccesses}function x(a){return a.filter(a=>"string"==typeof a.stack&&a.stack.length>0).map(({expression:a,stack:b})=>(b=b.split("\n").slice(4).filter(a=>!(a.includes("node_modules/next/")||a.includes(" (<anonymous>)")||a.includes(" (node:"))).join("\n"),`Dynamic API Usage Debug - ${a}:
2
- ${b}`))}function y(a){switch(a.type){case"prerender":case"prerender-runtime":let b=new AbortController;if(a.cacheSignal)a.cacheSignal.inputReady().then(()=>{b.abort()});else{let c=(0,h.getStagedRenderingController)(a);c&&null!==c.finalStage?c.waitForStage(c.finalStage).then(()=>(0,i.scheduleOnNextTick)(()=>b.abort()),z):(0,i.scheduleOnNextTick)(()=>b.abort())}return b.signal;case"prerender-client":case"validation-client":case"prerender-legacy":case"request":case"cache":case"private-cache":case"unstable-cache":case"build-time-generator":return}}function z(){}function A(a,b){let c=b.dynamicTracking;c&&c.dynamicAccesses.push({stack:c.isDebugDynamicAccesses?Error().stack:void 0,expression:a})}},73543,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f={EnsureStaticLevel:function(){return j},resolveEnsureStaticConfig:function(){return l},resolveEnsureStaticLevel:function(){return k}};for(var g in f)Object.defineProperty(c,g,{enumerable:!0,get:f[g]});let h=a.r(8924),i=a.r(13925);var j=((d={})[d.None=0]="None",d[d.Shell=1]="Shell",d[d.Prefetch=2]="Prefetch",d[d.Navigation=3]="Navigation",d);async function k(a,b){switch(await l(a,b)){case"auto":case!1:return 0;case"shell":return 1;case"prefetch":return 2;case"navigation":return 3}}async function l(a,b){let{config:c,filePath:d}=await m(a);if(!b)switch(c){case"auto":c="prefetch";break;case!1:case"shell":{let a=c;c="prefetch",console.warn(`${o(a)} has no effect unless the route is using Partial Prefetching.
3
- (from: ${d})`)}}return!1===c?"auto":c}async function m(a){var b;let{mod:c,filePath:d}=await (0,i.getLayoutOrPageModule)(a),e={config:((b=c)?b.ensureStatic:void 0)??"auto",filePath:d??null},f=null,g=null,{parallelRoutes:j}=(0,h.parseLoaderTree)(a);for(let a in j){let b=j[a],c=await m(b);if(f)switch(r(c.config,f.config)){case 2:"auto"===f.config&&"auto"!==c.config&&(f=c,g=a);break;case 4:case 1:case 3:throw Error(`Parallel slots cannot have incompatible \`ensureStatic\`.
4
- ${n(g)}:
5
- ${o(f.config)}
6
- (from: ${f.filePath})
7
-
8
- ${n(a)}:
9
- ${o(c.config)}
10
- (from: ${c.filePath})
11
-
12
- Possible fixes:
13
- - Remove one of the \`ensureStatic\` exports
14
- - Change one of the \`ensureStatic\` exports to match the other`)}else f=c,g=a}if(!f)return e;{let a=r(f.config,e.config);switch(a){case 2:if("auto"===e.config&&"auto"!==f.config)return f;return e;case 3:return f;case 1:case 4:throw Error((1===a?"A child segment cannot override a parent segment with a less-constrained `ensureStatic`.":"A child segment cannot override a parent segment with an incompatible `ensureStatic`.")+`
15
- Parent has: `+`
16
- ${o(e.config)}`+`
17
- (from: ${e.filePath})`+`
18
- Child has: `+`
19
- ${o(f.config)}`+`
20
- (from: ${f.filePath})`+`
21
- `+`
22
- Possible fixes:`+"\n - Remove one of the `ensureStatic` exports\n - Change one of the `ensureStatic` exports to match the other")}}}function n(a){return"children"===a?a:`@${a}`}function o(a){return`export const ensureStatic = ${JSON.stringify(a)}`}var p=((e=p||{})[e.LessConstrained=1]="LessConstrained",e[e.Compatible=2]="Compatible",e[e.MoreConstrained=3]="MoreConstrained",e[e.Incompatible=4]="Incompatible",e);let q=["shell","prefetch","navigation"];function r(a,b){if("auto"===a||"auto"===b||!1===a&&!1===b)return 2;if(!1===a||!1===b)return 4;let c=q.indexOf(a),d=q.indexOf(b);return c<d?1:c===d?2:3}},40656,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f={RENDER_STAGE_ADVANCE_ORDER:function(){return k},RenderStage:function(){return j},StagedRenderingController:function(){return o},SyncIOMode:function(){return n},getNextStage:function(){return l},isAdvanceableRenderStage:function(){return m}};for(var g in f)Object.defineProperty(c,g,{enumerable:!0,get:f[g]});let h=a.r(88644),i=a.r(54427);var j=((d={})[d.Before=1]="Before",d[d.ShellStatic=10]="ShellStatic",d[d.PrefetchStatic_prefetchApi=11]="PrefetchStatic_prefetchApi",d[d.PrefetchStatic=12]="PrefetchStatic",d[d.NavigationStatic=13]="NavigationStatic",d[d.Static=14]="Static",d[d.ShellRuntime=20]="ShellRuntime",d[d.PrefetchRuntime_prefetchApi=21]="PrefetchRuntime_prefetchApi",d[d.PrefetchRuntime=22]="PrefetchRuntime",d[d.NavigationRuntime=23]="NavigationRuntime",d[d.Dynamic=30]="Dynamic",d[d.Abandoned=40]="Abandoned",d);let k=[10,11,12,13,14,20,21,22,23,30];function l(a){return k[k.indexOf(a)+1]}function m(a){return 1<a&&a<=30}var n=((e={})[e.Untracked=1]="Untracked",e[e.AllowedInRuntimeOrDynamic=2]="AllowedInRuntimeOrDynamic",e[e.AllowedInDynamic=3]="AllowedInDynamic",e);class o{constructor({abortSignal:a,abandonController:b,syncIO:c,finalStage:d}){this.currentStage=1,this.syncInterruptReason=null,this.triggers=function(){let a={};for(let b of k)a[b]=function(){let{promise:a,resolve:b,reject:c}=(0,i.createPromiseWithResolvers)();return{state:"pending",triggeredAt:null,promise:a,_listeners:[],_resolvePromise:b,_rejectPromise:c}}();return a}(),this.abortSignal=a,this.abandonController=b,this.syncIOMode=c,this.finalStage=d,a&&a.addEventListener("abort",()=>{let{reason:b}=a;for(let a of Object.values(this.triggers)){var c,d;c=a,d=b,"pending"===c.state&&(c.state="cancelled",c._listeners.length=0,c.promise.catch(p),c._rejectPromise(d))}},{once:!0}),b&&b.signal.addEventListener("abort",()=>{this.abandonRender()},{once:!0})}onStage(a,b){var c,d;c=this.triggers[a],d=b,"pending"===c.state?c._listeners.push(d):d()}shouldTrackSyncInterrupt(){let{syncIOMode:a,currentStage:b}=this;switch(a){case 1:return!1;case 2:return b>1&&b<=14;case 3:return b>1&&b<30}}syncInterruptCurrentStageWithReason(a){let{currentStage:b}=this;if(1!==b&&30!==b&&40!==b){if(this.abandonController)return void this.abandonController.abort();if(this.abortSignal){this.syncInterruptReason=a,this.currentStage=40;return}this.syncInterruptReason=a,this.advanceStage(30)}}getSyncInterruptReason(){return this.syncInterruptReason}getStageEndTime(a){return this.triggers[l(a)].triggeredAt??1/0}abandonRender(){let{currentStage:a}=this;if(1===a)throw new h.InvariantError("A render that hasn't started yet cannot be abandoned");if(30===a||40===a)return;let b=k.indexOf(a)+1,c=k.indexOf(30);for(let a=b;a<c;a++)this.resolveStage(k[a]);this.currentStage=40}advanceStage(a){if(null!==this.finalStage&&a>this.finalStage)throw new h.InvariantError(`Attempted to advance to stage ${j[a]} but the render is limited to ${j[this.finalStage]}`);let{currentStage:b}=this;if(30===b||40===b||a<=b)return;this.currentStage=a;let c=1===b?0:k.indexOf(b)+1,d=k.indexOf(a);for(let a=c;a<=d;a++)this.resolveStage(k[a])}resolveStage(a){var b=this.triggers[a];if("pending"===b.state){b.state="triggered",b.triggeredAt=performance.now()+performance.timeOrigin;try{let{_listeners:a}=b;for(let b=0;b<a.length;b++)a[b]();a.length=0}finally{b._resolvePromise()}}}getStagePromise(a){return this.triggers[a].promise}waitForStage(a){return this.getStagePromise(a)}delayUntilStage(a,b,c){let d=this.getStagePromise(a).then(()=>c);return this.abortSignal&&d.catch(p),d}}function p(){}},35710,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={ClientHookDynamicError:function(){return o},RENDER_STAGES_BY_DATA_KIND:function(){return P},applyOwnerStack:function(){return Q},createPrerenderDataTracking:function(){return y},finishPrerenderDataTracking:function(){return z},isClientHookDynamicError:function(){return p},isHangingPromiseRejectionError:function(){return k},makeClientHookHangingPromise:function(){return I},makeDevtoolsIOAwarePromise:function(){return M},makeDynamicHangingPromise:function(){return r},makeFallbackParamsHangingPromise:function(){return x},makePrefetchHangingPromise:function(){return w},makePromiseFromTrigger:function(){return L},makeSessionDataHangingPromise:function(){return t},makeURLDataHangingPromise:function(){return u},makeUnknownRuntimeDataHangingPromise:function(){return v},makeUntrackedHangingPromise:function(){return s},trackFallbackParamsAccessed:function(){return C},trackIncompatibleShellContent:function(){return H},trackPromiseUsed:function(){return N},trackURLDataAccessed:function(){return B}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(88644),g=a.r(54427),h=a.r(73543),i=a.r(40656),j=a.r(56704);function k(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===l}a.r(32319),a.r(59043);let l="HANGING_PROMISE_REJECTION";class m extends Error{constructor(a,b){super(`During prerendering, ${b} rejects when the prerender is complete. Typically these errors are handled by React but if you move ${b} to a different context by using \`setTimeout\`, \`after\`, or similar functions you may observe this error and you should handle it in that context. This occurred at route "${a}".`),this.route=a,this.expression=b,this.digest=l}}let n="CLIENT_HOOK_DYNAMIC";class o extends Error{constructor(a,b){super(`Route "${a}": Next.js encountered URL data \`${b}\` in a Client Component outside of \`<Suspense>\`.
23
-
24
- This blocks prerendering because the value is only available at runtime.
25
-
26
- Ways to fix this:
27
- - [stream] Wrap the component in \`<Suspense fallback={...}>\` so the hook value streams in after prerendering
28
- - [block] Set \`export const instant = false\` to allow a blocking route
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)}];
31
-
32
- //# sourceMappingURL=_1v3g8djeka9qb._.js.map