@baseline-studio/playground 0.0.0-stage → 0.1.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 (823) hide show
  1. package/README.md +20 -2
  2. package/app/.next-pack/BUILD_ID +1 -0
  3. package/app/.next-pack/app-build-manifest.json +2213 -0
  4. package/app/.next-pack/app-path-routes-manifest.json +118 -0
  5. package/app/.next-pack/build-manifest.json +33 -0
  6. package/app/.next-pack/package.json +1 -0
  7. package/app/.next-pack/prerender-manifest.json +486 -0
  8. package/app/.next-pack/react-loadable-manifest.json +14 -0
  9. package/app/.next-pack/required-server-files.json +344 -0
  10. package/app/.next-pack/routes-manifest.json +629 -0
  11. package/app/.next-pack/server/app/_not-found/page.js +2 -0
  12. package/app/.next-pack/server/app/_not-found/page.js.nft.json +1 -0
  13. package/app/.next-pack/server/app/_not-found/page_client-reference-manifest.js +1 -0
  14. package/app/.next-pack/server/app/_not-found.html +1 -0
  15. package/app/.next-pack/server/app/_not-found.meta +8 -0
  16. package/app/.next-pack/server/app/_not-found.rsc +29 -0
  17. package/app/.next-pack/server/app/activity/page.js +2 -0
  18. package/app/.next-pack/server/app/activity/page.js.nft.json +1 -0
  19. package/app/.next-pack/server/app/activity/page_client-reference-manifest.js +1 -0
  20. package/app/.next-pack/server/app/activity.html +1 -0
  21. package/app/.next-pack/server/app/activity.meta +9 -0
  22. package/app/.next-pack/server/app/activity.rsc +27 -0
  23. package/app/.next-pack/server/app/api/activity/route.js +1 -0
  24. package/app/.next-pack/server/app/api/activity/route.js.nft.json +1 -0
  25. package/app/.next-pack/server/app/api/activity/route_client-reference-manifest.js +1 -0
  26. package/app/.next-pack/server/app/api/apps/shot/route.js +1 -0
  27. package/app/.next-pack/server/app/api/apps/shot/route.js.nft.json +1 -0
  28. package/app/.next-pack/server/app/api/apps/shot/route_client-reference-manifest.js +1 -0
  29. package/app/.next-pack/server/app/api/apps/vshot/route.js +1 -0
  30. package/app/.next-pack/server/app/api/apps/vshot/route.js.nft.json +1 -0
  31. package/app/.next-pack/server/app/api/apps/vshot/route_client-reference-manifest.js +1 -0
  32. package/app/.next-pack/server/app/api/brain/route.js +1 -0
  33. package/app/.next-pack/server/app/api/brain/route.js.nft.json +1 -0
  34. package/app/.next-pack/server/app/api/brain/route_client-reference-manifest.js +1 -0
  35. package/app/.next-pack/server/app/api/build/route.js +1 -0
  36. package/app/.next-pack/server/app/api/build/route.js.nft.json +1 -0
  37. package/app/.next-pack/server/app/api/build/route_client-reference-manifest.js +1 -0
  38. package/app/.next-pack/server/app/api/check/route.js +5 -0
  39. package/app/.next-pack/server/app/api/check/route.js.nft.json +1 -0
  40. package/app/.next-pack/server/app/api/check/route_client-reference-manifest.js +1 -0
  41. package/app/.next-pack/server/app/api/files/route.js +1 -0
  42. package/app/.next-pack/server/app/api/files/route.js.nft.json +1 -0
  43. package/app/.next-pack/server/app/api/files/route_client-reference-manifest.js +1 -0
  44. package/app/.next-pack/server/app/api/fonts/[file]/route.js +1 -0
  45. package/app/.next-pack/server/app/api/fonts/[file]/route.js.nft.json +1 -0
  46. package/app/.next-pack/server/app/api/fonts/[file]/route_client-reference-manifest.js +1 -0
  47. package/app/.next-pack/server/app/api/home/route.js +1 -0
  48. package/app/.next-pack/server/app/api/home/route.js.nft.json +1 -0
  49. package/app/.next-pack/server/app/api/home/route_client-reference-manifest.js +1 -0
  50. package/app/.next-pack/server/app/api/local/pick-folder/route.js +1 -0
  51. package/app/.next-pack/server/app/api/local/pick-folder/route.js.nft.json +1 -0
  52. package/app/.next-pack/server/app/api/local/pick-folder/route_client-reference-manifest.js +1 -0
  53. package/app/.next-pack/server/app/api/local/repos/route.js +1 -0
  54. package/app/.next-pack/server/app/api/local/repos/route.js.nft.json +1 -0
  55. package/app/.next-pack/server/app/api/local/repos/route_client-reference-manifest.js +1 -0
  56. package/app/.next-pack/server/app/api/plan/route.js +1 -0
  57. package/app/.next-pack/server/app/api/plan/route.js.nft.json +1 -0
  58. package/app/.next-pack/server/app/api/plan/route_client-reference-manifest.js +1 -0
  59. package/app/.next-pack/server/app/api/projects/route.js +1 -0
  60. package/app/.next-pack/server/app/api/projects/route.js.nft.json +1 -0
  61. package/app/.next-pack/server/app/api/projects/route_client-reference-manifest.js +1 -0
  62. package/app/.next-pack/server/app/api/remote/route.js +1 -0
  63. package/app/.next-pack/server/app/api/remote/route.js.nft.json +1 -0
  64. package/app/.next-pack/server/app/api/remote/route_client-reference-manifest.js +1 -0
  65. package/app/.next-pack/server/app/api/screens/route.js +1 -0
  66. package/app/.next-pack/server/app/api/screens/route.js.nft.json +1 -0
  67. package/app/.next-pack/server/app/api/screens/route_client-reference-manifest.js +1 -0
  68. package/app/.next-pack/server/app/api/skills/route.js +1 -0
  69. package/app/.next-pack/server/app/api/skills/route.js.nft.json +1 -0
  70. package/app/.next-pack/server/app/api/skills/route_client-reference-manifest.js +1 -0
  71. package/app/.next-pack/server/app/api/state/ref/route.js +1 -0
  72. package/app/.next-pack/server/app/api/state/ref/route.js.nft.json +1 -0
  73. package/app/.next-pack/server/app/api/state/ref/route_client-reference-manifest.js +1 -0
  74. package/app/.next-pack/server/app/api/state/route.js +1 -0
  75. package/app/.next-pack/server/app/api/state/route.js.nft.json +1 -0
  76. package/app/.next-pack/server/app/api/state/route_client-reference-manifest.js +1 -0
  77. package/app/.next-pack/server/app/api/studio/crit/route.js +1 -0
  78. package/app/.next-pack/server/app/api/studio/crit/route.js.nft.json +1 -0
  79. package/app/.next-pack/server/app/api/studio/crit/route_client-reference-manifest.js +1 -0
  80. package/app/.next-pack/server/app/api/studio/diff/route.js +1 -0
  81. package/app/.next-pack/server/app/api/studio/diff/route.js.nft.json +1 -0
  82. package/app/.next-pack/server/app/api/studio/diff/route_client-reference-manifest.js +1 -0
  83. package/app/.next-pack/server/app/api/studio/html/route.js +1 -0
  84. package/app/.next-pack/server/app/api/studio/html/route.js.nft.json +1 -0
  85. package/app/.next-pack/server/app/api/studio/html/route_client-reference-manifest.js +1 -0
  86. package/app/.next-pack/server/app/api/studio/project/route.js +1 -0
  87. package/app/.next-pack/server/app/api/studio/project/route.js.nft.json +1 -0
  88. package/app/.next-pack/server/app/api/studio/project/route_client-reference-manifest.js +1 -0
  89. package/app/.next-pack/server/app/api/studio/route.js +1 -0
  90. package/app/.next-pack/server/app/api/studio/route.js.nft.json +1 -0
  91. package/app/.next-pack/server/app/api/studio/route_client-reference-manifest.js +1 -0
  92. package/app/.next-pack/server/app/api/studio/system/route.js +1 -0
  93. package/app/.next-pack/server/app/api/studio/system/route.js.nft.json +1 -0
  94. package/app/.next-pack/server/app/api/studio/system/route_client-reference-manifest.js +1 -0
  95. package/app/.next-pack/server/app/api/studio/variants/route.js +4 -0
  96. package/app/.next-pack/server/app/api/studio/variants/route.js.nft.json +1 -0
  97. package/app/.next-pack/server/app/api/studio/variants/route_client-reference-manifest.js +1 -0
  98. package/app/.next-pack/server/app/api/sync/route.js +1 -0
  99. package/app/.next-pack/server/app/api/sync/route.js.nft.json +1 -0
  100. package/app/.next-pack/server/app/api/sync/route_client-reference-manifest.js +1 -0
  101. package/app/.next-pack/server/app/api/themes/route.js +1 -0
  102. package/app/.next-pack/server/app/api/themes/route.js.nft.json +1 -0
  103. package/app/.next-pack/server/app/api/themes/route_client-reference-manifest.js +1 -0
  104. package/app/.next-pack/server/app/apple-icon/route.js +1 -0
  105. package/app/.next-pack/server/app/apple-icon/route.js.nft.json +1 -0
  106. package/app/.next-pack/server/app/apple-icon/route_client-reference-manifest.js +1 -0
  107. package/app/.next-pack/server/app/apple-icon.body +0 -0
  108. package/app/.next-pack/server/app/apple-icon.meta +1 -0
  109. package/app/.next-pack/server/app/brain/page.js +3 -0
  110. package/app/.next-pack/server/app/brain/page.js.nft.json +1 -0
  111. package/app/.next-pack/server/app/brain/page_client-reference-manifest.js +1 -0
  112. package/app/.next-pack/server/app/connection/page.js +2 -0
  113. package/app/.next-pack/server/app/connection/page.js.nft.json +1 -0
  114. package/app/.next-pack/server/app/connection/page_client-reference-manifest.js +1 -0
  115. package/app/.next-pack/server/app/design-system/[system]/page.js +2 -0
  116. package/app/.next-pack/server/app/design-system/[system]/page.js.nft.json +1 -0
  117. package/app/.next-pack/server/app/design-system/[system]/page_client-reference-manifest.js +1 -0
  118. package/app/.next-pack/server/app/design-system/components/page.js +2 -0
  119. package/app/.next-pack/server/app/design-system/components/page.js.nft.json +1 -0
  120. package/app/.next-pack/server/app/design-system/components/page_client-reference-manifest.js +1 -0
  121. package/app/.next-pack/server/app/design-system/directions/page.js +2 -0
  122. package/app/.next-pack/server/app/design-system/directions/page.js.nft.json +1 -0
  123. package/app/.next-pack/server/app/design-system/directions/page_client-reference-manifest.js +1 -0
  124. package/app/.next-pack/server/app/design-system/directions.html +1 -0
  125. package/app/.next-pack/server/app/design-system/directions.meta +7 -0
  126. package/app/.next-pack/server/app/design-system/directions.rsc +30 -0
  127. package/app/.next-pack/server/app/design-system/page.js +2 -0
  128. package/app/.next-pack/server/app/design-system/page.js.nft.json +1 -0
  129. package/app/.next-pack/server/app/design-system/page_client-reference-manifest.js +1 -0
  130. package/app/.next-pack/server/app/icon/route.js +1 -0
  131. package/app/.next-pack/server/app/icon/route.js.nft.json +1 -0
  132. package/app/.next-pack/server/app/icon/route_client-reference-manifest.js +1 -0
  133. package/app/.next-pack/server/app/icon.body +0 -0
  134. package/app/.next-pack/server/app/icon.meta +1 -0
  135. package/app/.next-pack/server/app/lab/attention/page.js +2 -0
  136. package/app/.next-pack/server/app/lab/attention/page.js.nft.json +1 -0
  137. package/app/.next-pack/server/app/lab/attention/page_client-reference-manifest.js +1 -0
  138. package/app/.next-pack/server/app/lab/attention.html +1 -0
  139. package/app/.next-pack/server/app/lab/attention.meta +7 -0
  140. package/app/.next-pack/server/app/lab/attention.rsc +30 -0
  141. package/app/.next-pack/server/app/lab/design-system/page.js +2 -0
  142. package/app/.next-pack/server/app/lab/design-system/page.js.nft.json +1 -0
  143. package/app/.next-pack/server/app/lab/design-system/page_client-reference-manifest.js +1 -0
  144. package/app/.next-pack/server/app/lab/home/page.js +2 -0
  145. package/app/.next-pack/server/app/lab/home/page.js.nft.json +1 -0
  146. package/app/.next-pack/server/app/lab/home/page_client-reference-manifest.js +1 -0
  147. package/app/.next-pack/server/app/lab/home.html +1 -0
  148. package/app/.next-pack/server/app/lab/home.meta +7 -0
  149. package/app/.next-pack/server/app/lab/home.rsc +30 -0
  150. package/app/.next-pack/server/app/lab/island/page.js +2 -0
  151. package/app/.next-pack/server/app/lab/island/page.js.nft.json +1 -0
  152. package/app/.next-pack/server/app/lab/island/page_client-reference-manifest.js +1 -0
  153. package/app/.next-pack/server/app/lab/island.html +1 -0
  154. package/app/.next-pack/server/app/lab/island.meta +7 -0
  155. package/app/.next-pack/server/app/lab/island.rsc +30 -0
  156. package/app/.next-pack/server/app/lab/kit/page.js +2 -0
  157. package/app/.next-pack/server/app/lab/kit/page.js.nft.json +1 -0
  158. package/app/.next-pack/server/app/lab/kit/page_client-reference-manifest.js +1 -0
  159. package/app/.next-pack/server/app/lab/kit.html +1 -0
  160. package/app/.next-pack/server/app/lab/kit.meta +7 -0
  161. package/app/.next-pack/server/app/lab/kit.rsc +30 -0
  162. package/app/.next-pack/server/app/lab/page.js +2 -0
  163. package/app/.next-pack/server/app/lab/page.js.nft.json +1 -0
  164. package/app/.next-pack/server/app/lab/page_client-reference-manifest.js +1 -0
  165. package/app/.next-pack/server/app/lab/skills/page.js +2 -0
  166. package/app/.next-pack/server/app/lab/skills/page.js.nft.json +1 -0
  167. package/app/.next-pack/server/app/lab/skills/page_client-reference-manifest.js +1 -0
  168. package/app/.next-pack/server/app/lab/studio/page.js +2 -0
  169. package/app/.next-pack/server/app/lab/studio/page.js.nft.json +1 -0
  170. package/app/.next-pack/server/app/lab/studio/page_client-reference-manifest.js +1 -0
  171. package/app/.next-pack/server/app/lab/studio.html +1 -0
  172. package/app/.next-pack/server/app/lab/studio.meta +7 -0
  173. package/app/.next-pack/server/app/lab/studio.rsc +30 -0
  174. package/app/.next-pack/server/app/lab.html +1 -0
  175. package/app/.next-pack/server/app/lab.meta +7 -0
  176. package/app/.next-pack/server/app/lab.rsc +30 -0
  177. package/app/.next-pack/server/app/manifest.webmanifest/route.js +16 -0
  178. package/app/.next-pack/server/app/manifest.webmanifest/route.js.nft.json +1 -0
  179. package/app/.next-pack/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -0
  180. package/app/.next-pack/server/app/manifest.webmanifest.body +1 -0
  181. package/app/.next-pack/server/app/manifest.webmanifest.meta +1 -0
  182. package/app/.next-pack/server/app/mcp/route.js +16 -0
  183. package/app/.next-pack/server/app/mcp/route.js.nft.json +1 -0
  184. package/app/.next-pack/server/app/mcp/route_client-reference-manifest.js +1 -0
  185. package/app/.next-pack/server/app/p/[slug]/autonomy/page.js +2 -0
  186. package/app/.next-pack/server/app/p/[slug]/autonomy/page.js.nft.json +1 -0
  187. package/app/.next-pack/server/app/p/[slug]/autonomy/page_client-reference-manifest.js +1 -0
  188. package/app/.next-pack/server/app/p/[slug]/brief/page.js +2 -0
  189. package/app/.next-pack/server/app/p/[slug]/brief/page.js.nft.json +1 -0
  190. package/app/.next-pack/server/app/p/[slug]/brief/page_client-reference-manifest.js +1 -0
  191. package/app/.next-pack/server/app/p/[slug]/crit/[screen]/page.js +2 -0
  192. package/app/.next-pack/server/app/p/[slug]/crit/[screen]/page.js.nft.json +1 -0
  193. package/app/.next-pack/server/app/p/[slug]/crit/[screen]/page_client-reference-manifest.js +1 -0
  194. package/app/.next-pack/server/app/p/[slug]/design-system/new/page.js +2 -0
  195. package/app/.next-pack/server/app/p/[slug]/design-system/new/page.js.nft.json +1 -0
  196. package/app/.next-pack/server/app/p/[slug]/design-system/new/page_client-reference-manifest.js +1 -0
  197. package/app/.next-pack/server/app/p/[slug]/design-system/page.js +2 -0
  198. package/app/.next-pack/server/app/p/[slug]/design-system/page.js.nft.json +1 -0
  199. package/app/.next-pack/server/app/p/[slug]/design-system/page_client-reference-manifest.js +1 -0
  200. package/app/.next-pack/server/app/p/[slug]/notes/page.js +2 -0
  201. package/app/.next-pack/server/app/p/[slug]/notes/page.js.nft.json +1 -0
  202. package/app/.next-pack/server/app/p/[slug]/notes/page_client-reference-manifest.js +1 -0
  203. package/app/.next-pack/server/app/p/[slug]/page.js +2 -0
  204. package/app/.next-pack/server/app/p/[slug]/page.js.nft.json +1 -0
  205. package/app/.next-pack/server/app/p/[slug]/page_client-reference-manifest.js +1 -0
  206. package/app/.next-pack/server/app/p/[slug]/plan/page.js +2 -0
  207. package/app/.next-pack/server/app/p/[slug]/plan/page.js.nft.json +1 -0
  208. package/app/.next-pack/server/app/p/[slug]/plan/page_client-reference-manifest.js +1 -0
  209. package/app/.next-pack/server/app/p/habit-tracker.html +1 -0
  210. package/app/.next-pack/server/app/p/habit-tracker.meta +7 -0
  211. package/app/.next-pack/server/app/p/habit-tracker.rsc +29 -0
  212. package/app/.next-pack/server/app/p/ledger.html +1 -0
  213. package/app/.next-pack/server/app/p/ledger.meta +7 -0
  214. package/app/.next-pack/server/app/p/ledger.rsc +29 -0
  215. package/app/.next-pack/server/app/p/portfolio-site.html +1 -0
  216. package/app/.next-pack/server/app/p/portfolio-site.meta +7 -0
  217. package/app/.next-pack/server/app/p/portfolio-site.rsc +29 -0
  218. package/app/.next-pack/server/app/page.js +2 -0
  219. package/app/.next-pack/server/app/page.js.nft.json +1 -0
  220. package/app/.next-pack/server/app/page_client-reference-manifest.js +1 -0
  221. package/app/.next-pack/server/app/playground-variants/activity/changes/page.js +2 -0
  222. package/app/.next-pack/server/app/playground-variants/activity/changes/page.js.nft.json +1 -0
  223. package/app/.next-pack/server/app/playground-variants/activity/changes/page_client-reference-manifest.js +1 -0
  224. package/app/.next-pack/server/app/playground-variants/activity/fixes/page.js +2 -0
  225. package/app/.next-pack/server/app/playground-variants/activity/fixes/page.js.nft.json +1 -0
  226. package/app/.next-pack/server/app/playground-variants/activity/fixes/page_client-reference-manifest.js +1 -0
  227. package/app/.next-pack/server/app/playground-variants/activity/fixes.html +1 -0
  228. package/app/.next-pack/server/app/playground-variants/activity/fixes.meta +9 -0
  229. package/app/.next-pack/server/app/playground-variants/activity/fixes.rsc +28 -0
  230. package/app/.next-pack/server/app/playground-variants/activity/log/page.js +2 -0
  231. package/app/.next-pack/server/app/playground-variants/activity/log/page.js.nft.json +1 -0
  232. package/app/.next-pack/server/app/playground-variants/activity/log/page_client-reference-manifest.js +1 -0
  233. package/app/.next-pack/server/app/playground-variants/activity/sessions/page.js +2 -0
  234. package/app/.next-pack/server/app/playground-variants/activity/sessions/page.js.nft.json +1 -0
  235. package/app/.next-pack/server/app/playground-variants/activity/sessions/page_client-reference-manifest.js +1 -0
  236. package/app/.next-pack/server/app/playground-variants/brain/fixes/page.js +2 -0
  237. package/app/.next-pack/server/app/playground-variants/brain/fixes/page.js.nft.json +1 -0
  238. package/app/.next-pack/server/app/playground-variants/brain/fixes/page_client-reference-manifest.js +1 -0
  239. package/app/.next-pack/server/app/playground-variants/brain/fixes.html +1 -0
  240. package/app/.next-pack/server/app/playground-variants/brain/fixes.meta +9 -0
  241. package/app/.next-pack/server/app/playground-variants/brain/fixes.rsc +28 -0
  242. package/app/.next-pack/server/app/playground-variants/brain/library/page.js +2 -0
  243. package/app/.next-pack/server/app/playground-variants/brain/library/page.js.nft.json +1 -0
  244. package/app/.next-pack/server/app/playground-variants/brain/library/page_client-reference-manifest.js +1 -0
  245. package/app/.next-pack/server/app/playground-variants/brain/timeline/page.js +2 -0
  246. package/app/.next-pack/server/app/playground-variants/brain/timeline/page.js.nft.json +1 -0
  247. package/app/.next-pack/server/app/playground-variants/brain/timeline/page_client-reference-manifest.js +1 -0
  248. package/app/.next-pack/server/app/playground-variants/connection/apps/page.js +2 -0
  249. package/app/.next-pack/server/app/playground-variants/connection/apps/page.js.nft.json +1 -0
  250. package/app/.next-pack/server/app/playground-variants/connection/apps/page_client-reference-manifest.js +1 -0
  251. package/app/.next-pack/server/app/playground-variants/connection/fixes/page.js +2 -0
  252. package/app/.next-pack/server/app/playground-variants/connection/fixes/page.js.nft.json +1 -0
  253. package/app/.next-pack/server/app/playground-variants/connection/fixes/page_client-reference-manifest.js +1 -0
  254. package/app/.next-pack/server/app/playground-variants/connection/proof/page.js +2 -0
  255. package/app/.next-pack/server/app/playground-variants/connection/proof/page.js.nft.json +1 -0
  256. package/app/.next-pack/server/app/playground-variants/connection/proof/page_client-reference-manifest.js +1 -0
  257. package/app/.next-pack/server/app/playground-variants/design-system/list/components/page.js +2 -0
  258. package/app/.next-pack/server/app/playground-variants/design-system/list/components/page.js.nft.json +1 -0
  259. package/app/.next-pack/server/app/playground-variants/design-system/list/components/page_client-reference-manifest.js +1 -0
  260. package/app/.next-pack/server/app/playground-variants/design-system/list/page.js +2 -0
  261. package/app/.next-pack/server/app/playground-variants/design-system/list/page.js.nft.json +1 -0
  262. package/app/.next-pack/server/app/playground-variants/design-system/list/page_client-reference-manifest.js +1 -0
  263. package/app/.next-pack/server/app/playground-variants/design-system/on-the-work/page.js +2 -0
  264. package/app/.next-pack/server/app/playground-variants/design-system/on-the-work/page.js.nft.json +1 -0
  265. package/app/.next-pack/server/app/playground-variants/design-system/on-the-work/page_client-reference-manifest.js +1 -0
  266. package/app/.next-pack/server/app/playground-variants/design-system/side-by-side/page.js +2 -0
  267. package/app/.next-pack/server/app/playground-variants/design-system/side-by-side/page.js.nft.json +1 -0
  268. package/app/.next-pack/server/app/playground-variants/design-system/side-by-side/page_client-reference-manifest.js +1 -0
  269. package/app/.next-pack/server/app/playground-variants/design-system/specimen/page.js +2 -0
  270. package/app/.next-pack/server/app/playground-variants/design-system/specimen/page.js.nft.json +1 -0
  271. package/app/.next-pack/server/app/playground-variants/design-system/specimen/page_client-reference-manifest.js +1 -0
  272. package/app/.next-pack/server/app/playground-variants/home/fixes/page.js +2 -0
  273. package/app/.next-pack/server/app/playground-variants/home/fixes/page.js.nft.json +1 -0
  274. package/app/.next-pack/server/app/playground-variants/home/fixes/page_client-reference-manifest.js +1 -0
  275. package/app/.next-pack/server/app/playground-variants/home/left-off/page.js +2 -0
  276. package/app/.next-pack/server/app/playground-variants/home/left-off/page.js.nft.json +1 -0
  277. package/app/.next-pack/server/app/playground-variants/home/left-off/page_client-reference-manifest.js +1 -0
  278. package/app/.next-pack/server/app/playground-variants/home/needs-you/page.js +2 -0
  279. package/app/.next-pack/server/app/playground-variants/home/needs-you/page.js.nft.json +1 -0
  280. package/app/.next-pack/server/app/playground-variants/home/needs-you/page_client-reference-manifest.js +1 -0
  281. package/app/.next-pack/server/app/playground-variants/home/paper/page.js +2 -0
  282. package/app/.next-pack/server/app/playground-variants/home/paper/page.js.nft.json +1 -0
  283. package/app/.next-pack/server/app/playground-variants/home/paper/page_client-reference-manifest.js +1 -0
  284. package/app/.next-pack/server/app/playground-variants/island/fixes/page.js +2 -0
  285. package/app/.next-pack/server/app/playground-variants/island/fixes/page.js.nft.json +1 -0
  286. package/app/.next-pack/server/app/playground-variants/island/fixes/page_client-reference-manifest.js +1 -0
  287. package/app/.next-pack/server/app/playground-variants/island/prompt/page.js +2 -0
  288. package/app/.next-pack/server/app/playground-variants/island/prompt/page.js.nft.json +1 -0
  289. package/app/.next-pack/server/app/playground-variants/island/prompt/page_client-reference-manifest.js +1 -0
  290. package/app/.next-pack/server/app/playground-variants/island/question/page.js +2 -0
  291. package/app/.next-pack/server/app/playground-variants/island/question/page.js.nft.json +1 -0
  292. package/app/.next-pack/server/app/playground-variants/island/question/page_client-reference-manifest.js +1 -0
  293. package/app/.next-pack/server/app/playground-variants/island/steady-mark/page.js +2 -0
  294. package/app/.next-pack/server/app/playground-variants/island/steady-mark/page.js.nft.json +1 -0
  295. package/app/.next-pack/server/app/playground-variants/island/steady-mark/page_client-reference-manifest.js +1 -0
  296. package/app/.next-pack/server/app/playground-variants/new-brief/axes/page.js +3 -0
  297. package/app/.next-pack/server/app/playground-variants/new-brief/axes/page.js.nft.json +1 -0
  298. package/app/.next-pack/server/app/playground-variants/new-brief/axes/page_client-reference-manifest.js +1 -0
  299. package/app/.next-pack/server/app/playground-variants/new-brief/from-screens/page.js +4 -0
  300. package/app/.next-pack/server/app/playground-variants/new-brief/from-screens/page.js.nft.json +1 -0
  301. package/app/.next-pack/server/app/playground-variants/new-brief/from-screens/page_client-reference-manifest.js +1 -0
  302. package/app/.next-pack/server/app/playground-variants/new-brief/in-the-plan/page.js +3 -0
  303. package/app/.next-pack/server/app/playground-variants/new-brief/in-the-plan/page.js.nft.json +1 -0
  304. package/app/.next-pack/server/app/playground-variants/new-brief/in-the-plan/page_client-reference-manifest.js +1 -0
  305. package/app/.next-pack/server/app/playground-variants/new-brief/plan-part/page.js +5 -0
  306. package/app/.next-pack/server/app/playground-variants/new-brief/plan-part/page.js.nft.json +1 -0
  307. package/app/.next-pack/server/app/playground-variants/new-brief/plan-part/page_client-reference-manifest.js +1 -0
  308. package/app/.next-pack/server/app/playground-variants/new-design-system/fixes/page.js +2 -0
  309. package/app/.next-pack/server/app/playground-variants/new-design-system/fixes/page.js.nft.json +1 -0
  310. package/app/.next-pack/server/app/playground-variants/new-design-system/fixes/page_client-reference-manifest.js +1 -0
  311. package/app/.next-pack/server/app/playground-variants/new-design-system/fixes.html +1 -0
  312. package/app/.next-pack/server/app/playground-variants/new-design-system/fixes.meta +9 -0
  313. package/app/.next-pack/server/app/playground-variants/new-design-system/fixes.rsc +30 -0
  314. package/app/.next-pack/server/app/playground-variants/new-design-system/from-the-screens/page.js +2 -0
  315. package/app/.next-pack/server/app/playground-variants/new-design-system/from-the-screens/page.js.nft.json +1 -0
  316. package/app/.next-pack/server/app/playground-variants/new-design-system/from-the-screens/page_client-reference-manifest.js +1 -0
  317. package/app/.next-pack/server/app/playground-variants/new-design-system/one-sheet/page.js +2 -0
  318. package/app/.next-pack/server/app/playground-variants/new-design-system/one-sheet/page.js.nft.json +1 -0
  319. package/app/.next-pack/server/app/playground-variants/new-design-system/one-sheet/page_client-reference-manifest.js +1 -0
  320. package/app/.next-pack/server/app/playground-variants/notes/fixes/page.js +2 -0
  321. package/app/.next-pack/server/app/playground-variants/notes/fixes/page.js.nft.json +1 -0
  322. package/app/.next-pack/server/app/playground-variants/notes/fixes/page_client-reference-manifest.js +1 -0
  323. package/app/.next-pack/server/app/playground-variants/notes/inbox/page.js +2 -0
  324. package/app/.next-pack/server/app/playground-variants/notes/inbox/page.js.nft.json +1 -0
  325. package/app/.next-pack/server/app/playground-variants/notes/inbox/page_client-reference-manifest.js +1 -0
  326. package/app/.next-pack/server/app/playground-variants/notes/wall/page.js +2 -0
  327. package/app/.next-pack/server/app/playground-variants/notes/wall/page.js.nft.json +1 -0
  328. package/app/.next-pack/server/app/playground-variants/notes/wall/page_client-reference-manifest.js +1 -0
  329. package/app/.next-pack/server/app/playground-variants/project/fixes/page.js +2 -0
  330. package/app/.next-pack/server/app/playground-variants/project/fixes/page.js.nft.json +1 -0
  331. package/app/.next-pack/server/app/playground-variants/project/fixes/page_client-reference-manifest.js +1 -0
  332. package/app/.next-pack/server/app/playground-variants/project-design-system/on-the-product/page.js +2 -0
  333. package/app/.next-pack/server/app/playground-variants/project-design-system/on-the-product/page.js.nft.json +1 -0
  334. package/app/.next-pack/server/app/playground-variants/project-design-system/on-the-product/page_client-reference-manifest.js +1 -0
  335. package/app/.next-pack/server/app/playground-variants/project-design-system/specimen/page.js +2 -0
  336. package/app/.next-pack/server/app/playground-variants/project-design-system/specimen/page.js.nft.json +1 -0
  337. package/app/.next-pack/server/app/playground-variants/project-design-system/specimen/page_client-reference-manifest.js +1 -0
  338. package/app/.next-pack/server/app/playground-variants/project-design-system/variables/page.js +2 -0
  339. package/app/.next-pack/server/app/playground-variants/project-design-system/variables/page.js.nft.json +1 -0
  340. package/app/.next-pack/server/app/playground-variants/project-design-system/variables/page_client-reference-manifest.js +1 -0
  341. package/app/.next-pack/server/app/playground-variants/project-flows/app-map/page.js +2 -0
  342. package/app/.next-pack/server/app/playground-variants/project-flows/app-map/page.js.nft.json +1 -0
  343. package/app/.next-pack/server/app/playground-variants/project-flows/app-map/page_client-reference-manifest.js +1 -0
  344. package/app/.next-pack/server/app/playground-variants/project-flows/by-flow/page.js +2 -0
  345. package/app/.next-pack/server/app/playground-variants/project-flows/by-flow/page.js.nft.json +1 -0
  346. package/app/.next-pack/server/app/playground-variants/project-flows/by-flow/page_client-reference-manifest.js +1 -0
  347. package/app/.next-pack/server/app/playground-variants/project-flows/by-place/page.js +2 -0
  348. package/app/.next-pack/server/app/playground-variants/project-flows/by-place/page.js.nft.json +1 -0
  349. package/app/.next-pack/server/app/playground-variants/project-flows/by-place/page_client-reference-manifest.js +1 -0
  350. package/app/.next-pack/server/app/playground-variants/project-flows/fixes/page.js +2 -0
  351. package/app/.next-pack/server/app/playground-variants/project-flows/fixes/page.js.nft.json +1 -0
  352. package/app/.next-pack/server/app/playground-variants/project-flows/fixes/page_client-reference-manifest.js +1 -0
  353. package/app/.next-pack/server/app/playground-variants/project-plan/board/page.js +2 -0
  354. package/app/.next-pack/server/app/playground-variants/project-plan/board/page.js.nft.json +1 -0
  355. package/app/.next-pack/server/app/playground-variants/project-plan/board/page_client-reference-manifest.js +1 -0
  356. package/app/.next-pack/server/app/playground-variants/project-plan/document/page.js +2 -0
  357. package/app/.next-pack/server/app/playground-variants/project-plan/document/page.js.nft.json +1 -0
  358. package/app/.next-pack/server/app/playground-variants/project-plan/document/page_client-reference-manifest.js +1 -0
  359. package/app/.next-pack/server/app/playground-variants/project-plan/fixes/page.js +2 -0
  360. package/app/.next-pack/server/app/playground-variants/project-plan/fixes/page.js.nft.json +1 -0
  361. package/app/.next-pack/server/app/playground-variants/project-plan/fixes/page_client-reference-manifest.js +1 -0
  362. package/app/.next-pack/server/app/playground-variants/project-plan/timeline/page.js +2 -0
  363. package/app/.next-pack/server/app/playground-variants/project-plan/timeline/page.js.nft.json +1 -0
  364. package/app/.next-pack/server/app/playground-variants/project-plan/timeline/page_client-reference-manifest.js +1 -0
  365. package/app/.next-pack/server/app/playground-variants/project-variants/fixes/page.js +2 -0
  366. package/app/.next-pack/server/app/playground-variants/project-variants/fixes/page.js.nft.json +1 -0
  367. package/app/.next-pack/server/app/playground-variants/project-variants/fixes/page_client-reference-manifest.js +1 -0
  368. package/app/.next-pack/server/app/playground-variants/skill/asks/page.js +6 -0
  369. package/app/.next-pack/server/app/playground-variants/skill/asks/page.js.nft.json +1 -0
  370. package/app/.next-pack/server/app/playground-variants/skill/asks/page_client-reference-manifest.js +1 -0
  371. package/app/.next-pack/server/app/playground-variants/skill/cards/page.js +6 -0
  372. package/app/.next-pack/server/app/playground-variants/skill/cards/page.js.nft.json +1 -0
  373. package/app/.next-pack/server/app/playground-variants/skill/cards/page_client-reference-manifest.js +1 -0
  374. package/app/.next-pack/server/app/playground-variants/skills/beside/page.js +2 -0
  375. package/app/.next-pack/server/app/playground-variants/skills/beside/page.js.nft.json +1 -0
  376. package/app/.next-pack/server/app/playground-variants/skills/beside/page_client-reference-manifest.js +1 -0
  377. package/app/.next-pack/server/app/playground-variants/skills/filter/page.js +2 -0
  378. package/app/.next-pack/server/app/playground-variants/skills/filter/page.js.nft.json +1 -0
  379. package/app/.next-pack/server/app/playground-variants/skills/filter/page_client-reference-manifest.js +1 -0
  380. package/app/.next-pack/server/app/playground-variants/skills/layers/page.js +2 -0
  381. package/app/.next-pack/server/app/playground-variants/skills/layers/page.js.nft.json +1 -0
  382. package/app/.next-pack/server/app/playground-variants/skills/layers/page_client-reference-manifest.js +1 -0
  383. package/app/.next-pack/server/app/playground-variants/skills/ledger/page.js +2 -0
  384. package/app/.next-pack/server/app/playground-variants/skills/ledger/page.js.nft.json +1 -0
  385. package/app/.next-pack/server/app/playground-variants/skills/ledger/page_client-reference-manifest.js +1 -0
  386. package/app/.next-pack/server/app/playground-variants/skills/map/page.js +2 -0
  387. package/app/.next-pack/server/app/playground-variants/skills/map/page.js.nft.json +1 -0
  388. package/app/.next-pack/server/app/playground-variants/skills/map/page_client-reference-manifest.js +1 -0
  389. package/app/.next-pack/server/app/playground-variants/skills/one-group/page.js +2 -0
  390. package/app/.next-pack/server/app/playground-variants/skills/one-group/page.js.nft.json +1 -0
  391. package/app/.next-pack/server/app/playground-variants/skills/one-group/page_client-reference-manifest.js +1 -0
  392. package/app/.next-pack/server/app/playground-variants/skills/rail/page.js +2 -0
  393. package/app/.next-pack/server/app/playground-variants/skills/rail/page.js.nft.json +1 -0
  394. package/app/.next-pack/server/app/playground-variants/skills/rail/page_client-reference-manifest.js +1 -0
  395. package/app/.next-pack/server/app/render/markup/page.js +2 -0
  396. package/app/.next-pack/server/app/render/markup/page.js.nft.json +1 -0
  397. package/app/.next-pack/server/app/render/markup/page_client-reference-manifest.js +1 -0
  398. package/app/.next-pack/server/app/s/[slug]/[id]/page.js +2 -0
  399. package/app/.next-pack/server/app/s/[slug]/[id]/page.js.nft.json +1 -0
  400. package/app/.next-pack/server/app/s/[slug]/[id]/page_client-reference-manifest.js +1 -0
  401. package/app/.next-pack/server/app/skills/[name]/page.js +2 -0
  402. package/app/.next-pack/server/app/skills/[name]/page.js.nft.json +1 -0
  403. package/app/.next-pack/server/app/skills/[name]/page_client-reference-manifest.js +1 -0
  404. package/app/.next-pack/server/app/skills/[name]/references/[file]/page.js +2 -0
  405. package/app/.next-pack/server/app/skills/[name]/references/[file]/page.js.nft.json +1 -0
  406. package/app/.next-pack/server/app/skills/[name]/references/[file]/page_client-reference-manifest.js +1 -0
  407. package/app/.next-pack/server/app/skills/page.js +2 -0
  408. package/app/.next-pack/server/app/skills/page.js.nft.json +1 -0
  409. package/app/.next-pack/server/app/skills/page_client-reference-manifest.js +1 -0
  410. package/app/.next-pack/server/app-paths-manifest.json +118 -0
  411. package/app/.next-pack/server/chunks/1152.js +1 -0
  412. package/app/.next-pack/server/chunks/1559.js +1 -0
  413. package/app/.next-pack/server/chunks/1692.js +1 -0
  414. package/app/.next-pack/server/chunks/1923.js +1 -0
  415. package/app/.next-pack/server/chunks/225.js +9 -0
  416. package/app/.next-pack/server/chunks/2325.js +1 -0
  417. package/app/.next-pack/server/chunks/2585.js +1 -0
  418. package/app/.next-pack/server/chunks/2617.js +1 -0
  419. package/app/.next-pack/server/chunks/2667.js +5 -0
  420. package/app/.next-pack/server/chunks/2841.js +1 -0
  421. package/app/.next-pack/server/chunks/2844.js +1 -0
  422. package/app/.next-pack/server/chunks/2894.js +1 -0
  423. package/app/.next-pack/server/chunks/2935.js +8 -0
  424. package/app/.next-pack/server/chunks/323.js +1 -0
  425. package/app/.next-pack/server/chunks/3381.js +8 -0
  426. package/app/.next-pack/server/chunks/344.js +5 -0
  427. package/app/.next-pack/server/chunks/3515.js +45 -0
  428. package/app/.next-pack/server/chunks/4215.js +133 -0
  429. package/app/.next-pack/server/chunks/458.js +1 -0
  430. package/app/.next-pack/server/chunks/4874.js +1 -0
  431. package/app/.next-pack/server/chunks/4903.js +3 -0
  432. package/app/.next-pack/server/chunks/5442.js +3 -0
  433. package/app/.next-pack/server/chunks/5548.js +111 -0
  434. package/app/.next-pack/server/chunks/5611.js +6 -0
  435. package/app/.next-pack/server/chunks/5646.js +1 -0
  436. package/app/.next-pack/server/chunks/5797.js +17 -0
  437. package/app/.next-pack/server/chunks/5816.js +1 -0
  438. package/app/.next-pack/server/chunks/5873.js +22 -0
  439. package/app/.next-pack/server/chunks/5905.js +1 -0
  440. package/app/.next-pack/server/chunks/5997.js +1 -0
  441. package/app/.next-pack/server/chunks/6261.js +3 -0
  442. package/app/.next-pack/server/chunks/6282.js +2 -0
  443. package/app/.next-pack/server/chunks/6795.js +1 -0
  444. package/app/.next-pack/server/chunks/6802.js +1 -0
  445. package/app/.next-pack/server/chunks/6823.js +1 -0
  446. package/app/.next-pack/server/chunks/8373.js +1 -0
  447. package/app/.next-pack/server/chunks/934.js +1 -0
  448. package/app/.next-pack/server/chunks/9987.js +1 -0
  449. package/app/.next-pack/server/chunks/9997.js +1 -0
  450. package/app/.next-pack/server/functions-config-manifest.json +30 -0
  451. package/app/.next-pack/server/middleware-build-manifest.js +1 -0
  452. package/app/.next-pack/server/middleware-manifest.json +6 -0
  453. package/app/.next-pack/server/middleware-react-loadable-manifest.js +1 -0
  454. package/app/.next-pack/server/next-font-manifest.js +1 -0
  455. package/app/.next-pack/server/next-font-manifest.json +1 -0
  456. package/app/.next-pack/server/pages/404.html +1 -0
  457. package/app/.next-pack/server/pages/500.html +1 -0
  458. package/app/.next-pack/server/pages/_app.js +1 -0
  459. package/app/.next-pack/server/pages/_app.js.nft.json +1 -0
  460. package/app/.next-pack/server/pages/_document.js +1 -0
  461. package/app/.next-pack/server/pages/_document.js.nft.json +1 -0
  462. package/app/.next-pack/server/pages/_error.js +19 -0
  463. package/app/.next-pack/server/pages/_error.js.nft.json +1 -0
  464. package/app/.next-pack/server/pages-manifest.json +6 -0
  465. package/app/.next-pack/server/server-reference-manifest.js +1 -0
  466. package/app/.next-pack/server/server-reference-manifest.json +1 -0
  467. package/app/.next-pack/server/webpack-runtime.js +1 -0
  468. package/app/.next-pack/static/chunks/1255-ab54a41c275880be.js +1 -0
  469. package/app/.next-pack/static/chunks/1620-3887f0a9bb6a6e52.js +1 -0
  470. package/app/.next-pack/static/chunks/2201-5a213ff898336baf.js +1 -0
  471. package/app/.next-pack/static/chunks/2357-8b5189e2265ea7c4.js +1 -0
  472. package/app/.next-pack/static/chunks/2383-15b938c92ef9f24f.js +1 -0
  473. package/app/.next-pack/static/chunks/2442-f2b612920f2deb45.js +1 -0
  474. package/app/.next-pack/static/chunks/2548-0ad3197772c64140.js +1 -0
  475. package/app/.next-pack/static/chunks/2619-04bc32f026a0d946.js +1 -0
  476. package/app/.next-pack/static/chunks/280-469df9888da704bc.js +1 -0
  477. package/app/.next-pack/static/chunks/3078-801925ff2259373c.js +1 -0
  478. package/app/.next-pack/static/chunks/3390-98fae590141e8a3b.js +91 -0
  479. package/app/.next-pack/static/chunks/3557-e90677d95fe82917.js +1 -0
  480. package/app/.next-pack/static/chunks/3765-1bebbcbea8ec579f.js +1 -0
  481. package/app/.next-pack/static/chunks/3942-ac2b767cb4cb9751.js +1 -0
  482. package/app/.next-pack/static/chunks/3949-343003dd0e44f70f.js +1 -0
  483. package/app/.next-pack/static/chunks/4196-ed534d55a1f082ca.js +1 -0
  484. package/app/.next-pack/static/chunks/4730-982221d491dfcf0a.js +1 -0
  485. package/app/.next-pack/static/chunks/4809-34ea5db9d8dab185.js +1 -0
  486. package/app/.next-pack/static/chunks/4842-6d4d7548082dad08.js +1 -0
  487. package/app/.next-pack/static/chunks/4873-d6eb65b5ee35a87a.js +1 -0
  488. package/app/.next-pack/static/chunks/4bd1b696-100b9d70ed4e49c1.js +1 -0
  489. package/app/.next-pack/static/chunks/5102-0ef1e800cc74f022.js +1 -0
  490. package/app/.next-pack/static/chunks/5384-1a55e5bc7d4e33fb.js +1 -0
  491. package/app/.next-pack/static/chunks/544-2c2ebb6324a65f39.js +1 -0
  492. package/app/.next-pack/static/chunks/5889-d11ac55253a33667.js +1 -0
  493. package/app/.next-pack/static/chunks/645-828e8183bd7c82dc.js +1 -0
  494. package/app/.next-pack/static/chunks/7404-c231d7b91a3bf5a9.js +1 -0
  495. package/app/.next-pack/static/chunks/7842-55c0fbd25977fb87.js +1 -0
  496. package/app/.next-pack/static/chunks/7953-2af792d7552f1019.js +1 -0
  497. package/app/.next-pack/static/chunks/8091-1cee6c2d5782680c.js +1 -0
  498. package/app/.next-pack/static/chunks/82-e26c71e4455eb8b9.js +1 -0
  499. package/app/.next-pack/static/chunks/8319.fc6a501f5c0d3c8c.js +1 -0
  500. package/app/.next-pack/static/chunks/8362-3bb810a059470f8a.js +1 -0
  501. package/app/.next-pack/static/chunks/845-c6fa6c59d6a99441.js +1 -0
  502. package/app/.next-pack/static/chunks/847-c7aea7b1f7c70b1d.js +1 -0
  503. package/app/.next-pack/static/chunks/852-26da3aecd173347f.js +1 -0
  504. package/app/.next-pack/static/chunks/8682-034cc1be61c0d2ae.js +1 -0
  505. package/app/.next-pack/static/chunks/876-4fad7d8e04855203.js +1 -0
  506. package/app/.next-pack/static/chunks/961-301e1bef686168c1.js +1 -0
  507. package/app/.next-pack/static/chunks/9729-7ef7b7cf4d60f7a8.js +1 -0
  508. package/app/.next-pack/static/chunks/9806.ff5dcfd2d1d7b40e.js +1 -0
  509. package/app/.next-pack/static/chunks/9906-611eb95340d24876.js +1 -0
  510. package/app/.next-pack/static/chunks/9979-d899b0f0df05f7c1.js +1 -0
  511. package/app/.next-pack/static/chunks/app/_not-found/page-b9c0e3bfc70d4052.js +1 -0
  512. package/app/.next-pack/static/chunks/app/activity/page-b9c0e3bfc70d4052.js +1 -0
  513. package/app/.next-pack/static/chunks/app/api/activity/route-b9c0e3bfc70d4052.js +1 -0
  514. package/app/.next-pack/static/chunks/app/api/apps/shot/route-b9c0e3bfc70d4052.js +1 -0
  515. package/app/.next-pack/static/chunks/app/api/apps/vshot/route-b9c0e3bfc70d4052.js +1 -0
  516. package/app/.next-pack/static/chunks/app/api/brain/route-b9c0e3bfc70d4052.js +1 -0
  517. package/app/.next-pack/static/chunks/app/api/build/route-b9c0e3bfc70d4052.js +1 -0
  518. package/app/.next-pack/static/chunks/app/api/check/route-b9c0e3bfc70d4052.js +1 -0
  519. package/app/.next-pack/static/chunks/app/api/files/route-b9c0e3bfc70d4052.js +1 -0
  520. package/app/.next-pack/static/chunks/app/api/fonts/[file]/route-b9c0e3bfc70d4052.js +1 -0
  521. package/app/.next-pack/static/chunks/app/api/home/route-b9c0e3bfc70d4052.js +1 -0
  522. package/app/.next-pack/static/chunks/app/api/local/pick-folder/route-b9c0e3bfc70d4052.js +1 -0
  523. package/app/.next-pack/static/chunks/app/api/local/repos/route-b9c0e3bfc70d4052.js +1 -0
  524. package/app/.next-pack/static/chunks/app/api/plan/route-b9c0e3bfc70d4052.js +1 -0
  525. package/app/.next-pack/static/chunks/app/api/projects/route-b9c0e3bfc70d4052.js +1 -0
  526. package/app/.next-pack/static/chunks/app/api/remote/route-b9c0e3bfc70d4052.js +1 -0
  527. package/app/.next-pack/static/chunks/app/api/screens/route-b9c0e3bfc70d4052.js +1 -0
  528. package/app/.next-pack/static/chunks/app/api/skills/route-b9c0e3bfc70d4052.js +1 -0
  529. package/app/.next-pack/static/chunks/app/api/state/ref/route-b9c0e3bfc70d4052.js +1 -0
  530. package/app/.next-pack/static/chunks/app/api/state/route-b9c0e3bfc70d4052.js +1 -0
  531. package/app/.next-pack/static/chunks/app/api/studio/crit/route-b9c0e3bfc70d4052.js +1 -0
  532. package/app/.next-pack/static/chunks/app/api/studio/diff/route-b9c0e3bfc70d4052.js +1 -0
  533. package/app/.next-pack/static/chunks/app/api/studio/html/route-b9c0e3bfc70d4052.js +1 -0
  534. package/app/.next-pack/static/chunks/app/api/studio/project/route-b9c0e3bfc70d4052.js +1 -0
  535. package/app/.next-pack/static/chunks/app/api/studio/route-b9c0e3bfc70d4052.js +1 -0
  536. package/app/.next-pack/static/chunks/app/api/studio/system/route-b9c0e3bfc70d4052.js +1 -0
  537. package/app/.next-pack/static/chunks/app/api/studio/variants/route-b9c0e3bfc70d4052.js +1 -0
  538. package/app/.next-pack/static/chunks/app/api/sync/route-b9c0e3bfc70d4052.js +1 -0
  539. package/app/.next-pack/static/chunks/app/api/themes/route-b9c0e3bfc70d4052.js +1 -0
  540. package/app/.next-pack/static/chunks/app/apple-icon/route-b9c0e3bfc70d4052.js +1 -0
  541. package/app/.next-pack/static/chunks/app/brain/page-6b6852005bdea3a1.js +1 -0
  542. package/app/.next-pack/static/chunks/app/connection/page-43258f5ed455145f.js +1 -0
  543. package/app/.next-pack/static/chunks/app/design-system/[system]/page-c1275b9f70359e35.js +1 -0
  544. package/app/.next-pack/static/chunks/app/design-system/components/page-b9c0e3bfc70d4052.js +1 -0
  545. package/app/.next-pack/static/chunks/app/design-system/directions/page-4ccb9d4cfcc1fe30.js +1 -0
  546. package/app/.next-pack/static/chunks/app/design-system/page-94a983ebbb098181.js +1 -0
  547. package/app/.next-pack/static/chunks/app/icon/route-b9c0e3bfc70d4052.js +1 -0
  548. package/app/.next-pack/static/chunks/app/lab/attention/page-e12e4d982da93f29.js +1 -0
  549. package/app/.next-pack/static/chunks/app/lab/design-system/page-b8fe2adddb384eed.js +1 -0
  550. package/app/.next-pack/static/chunks/app/lab/home/page-45d577dfba161de4.js +1 -0
  551. package/app/.next-pack/static/chunks/app/lab/island/page-fa6c4dfe18ff7da7.js +1 -0
  552. package/app/.next-pack/static/chunks/app/lab/kit/page-3baff477bc1bf93c.js +1 -0
  553. package/app/.next-pack/static/chunks/app/lab/page-2a32d0bfa1b59bf7.js +1 -0
  554. package/app/.next-pack/static/chunks/app/lab/skills/page-b731a885dceda086.js +1 -0
  555. package/app/.next-pack/static/chunks/app/lab/studio/page-3b4662783183cef9.js +1 -0
  556. package/app/.next-pack/static/chunks/app/layout-9fbb82b37fb32065.js +1 -0
  557. package/app/.next-pack/static/chunks/app/manifest.webmanifest/route-b9c0e3bfc70d4052.js +1 -0
  558. package/app/.next-pack/static/chunks/app/mcp/route-b9c0e3bfc70d4052.js +1 -0
  559. package/app/.next-pack/static/chunks/app/not-found-d8dd47e48e08331a.js +1 -0
  560. package/app/.next-pack/static/chunks/app/p/[slug]/autonomy/page-b9c0e3bfc70d4052.js +1 -0
  561. package/app/.next-pack/static/chunks/app/p/[slug]/brief/page-8878cf6d7ce7e81b.js +1 -0
  562. package/app/.next-pack/static/chunks/app/p/[slug]/crit/[screen]/page-b9c0e3bfc70d4052.js +1 -0
  563. package/app/.next-pack/static/chunks/app/p/[slug]/design-system/new/page-4fd6758aa223cbb1.js +1 -0
  564. package/app/.next-pack/static/chunks/app/p/[slug]/design-system/page-e2ec421d3c0883f0.js +1 -0
  565. package/app/.next-pack/static/chunks/app/p/[slug]/notes/page-b9c0e3bfc70d4052.js +1 -0
  566. package/app/.next-pack/static/chunks/app/p/[slug]/page-1f8281f54ea9e2f7.js +1 -0
  567. package/app/.next-pack/static/chunks/app/p/[slug]/plan/page-b9c0e3bfc70d4052.js +1 -0
  568. package/app/.next-pack/static/chunks/app/page-a3eacde957659fcc.js +1 -0
  569. package/app/.next-pack/static/chunks/app/playground-variants/activity/changes/page-ad24825167db1ad6.js +1 -0
  570. package/app/.next-pack/static/chunks/app/playground-variants/activity/fixes/page-b9c0e3bfc70d4052.js +1 -0
  571. package/app/.next-pack/static/chunks/app/playground-variants/activity/log/page-d2c54d65b5fca75b.js +1 -0
  572. package/app/.next-pack/static/chunks/app/playground-variants/activity/sessions/page-637cf612c5e1a92f.js +1 -0
  573. package/app/.next-pack/static/chunks/app/playground-variants/brain/fixes/page-b9c0e3bfc70d4052.js +1 -0
  574. package/app/.next-pack/static/chunks/app/playground-variants/brain/library/page-1662ed6dd3f14880.js +1 -0
  575. package/app/.next-pack/static/chunks/app/playground-variants/brain/timeline/page-800786ff1c915f75.js +1 -0
  576. package/app/.next-pack/static/chunks/app/playground-variants/connection/apps/page-2c79fd0beba4dba8.js +1 -0
  577. package/app/.next-pack/static/chunks/app/playground-variants/connection/fixes/page-43258f5ed455145f.js +1 -0
  578. package/app/.next-pack/static/chunks/app/playground-variants/connection/proof/page-7122c43d0f16735c.js +1 -0
  579. package/app/.next-pack/static/chunks/app/playground-variants/design-system/list/components/page-55f4e2bd2dc125a3.js +1 -0
  580. package/app/.next-pack/static/chunks/app/playground-variants/design-system/list/page-94a983ebbb098181.js +1 -0
  581. package/app/.next-pack/static/chunks/app/playground-variants/design-system/on-the-work/page-2e111523b5d9ab81.js +1 -0
  582. package/app/.next-pack/static/chunks/app/playground-variants/design-system/side-by-side/page-7f671cea75afeea9.js +1 -0
  583. package/app/.next-pack/static/chunks/app/playground-variants/design-system/specimen/page-df2593cd7cfdbc2b.js +1 -0
  584. package/app/.next-pack/static/chunks/app/playground-variants/home/fixes/page-1e450e87af5c0d52.js +1 -0
  585. package/app/.next-pack/static/chunks/app/playground-variants/home/left-off/page-e781b91f325db982.js +1 -0
  586. package/app/.next-pack/static/chunks/app/playground-variants/home/needs-you/page-0f7180e904d86eef.js +1 -0
  587. package/app/.next-pack/static/chunks/app/playground-variants/home/paper/page-8acb063092763fe5.js +1 -0
  588. package/app/.next-pack/static/chunks/app/playground-variants/island/fixes/page-581d3e25adf3c12e.js +1 -0
  589. package/app/.next-pack/static/chunks/app/playground-variants/island/prompt/page-a66fe3d33cdbbf39.js +1 -0
  590. package/app/.next-pack/static/chunks/app/playground-variants/island/question/page-a66fe3d33cdbbf39.js +1 -0
  591. package/app/.next-pack/static/chunks/app/playground-variants/island/steady-mark/page-a66fe3d33cdbbf39.js +1 -0
  592. package/app/.next-pack/static/chunks/app/playground-variants/new-brief/axes/page-bc61d726ebbd3af7.js +1 -0
  593. package/app/.next-pack/static/chunks/app/playground-variants/new-brief/from-screens/page-8652d53131d14db4.js +1 -0
  594. package/app/.next-pack/static/chunks/app/playground-variants/new-brief/in-the-plan/page-66a929a1eccb4b18.js +1 -0
  595. package/app/.next-pack/static/chunks/app/playground-variants/new-brief/plan-part/page-8cf72308466a4440.js +1 -0
  596. package/app/.next-pack/static/chunks/app/playground-variants/new-design-system/fixes/page-b9c0e3bfc70d4052.js +1 -0
  597. package/app/.next-pack/static/chunks/app/playground-variants/new-design-system/from-the-screens/page-a1e122b427b4fa9f.js +1 -0
  598. package/app/.next-pack/static/chunks/app/playground-variants/new-design-system/one-sheet/page-ef569809afacf34e.js +1 -0
  599. package/app/.next-pack/static/chunks/app/playground-variants/notes/fixes/page-b9c0e3bfc70d4052.js +1 -0
  600. package/app/.next-pack/static/chunks/app/playground-variants/notes/inbox/page-06ea9d708f23fc22.js +1 -0
  601. package/app/.next-pack/static/chunks/app/playground-variants/notes/wall/page-236712a946c7c7dc.js +1 -0
  602. package/app/.next-pack/static/chunks/app/playground-variants/project/fixes/page-9870e5167e2c2a69.js +1 -0
  603. package/app/.next-pack/static/chunks/app/playground-variants/project-design-system/on-the-product/page-4cc7c265d589b37c.js +1 -0
  604. package/app/.next-pack/static/chunks/app/playground-variants/project-design-system/specimen/page-a2059f1aa40764ca.js +1 -0
  605. package/app/.next-pack/static/chunks/app/playground-variants/project-design-system/variables/page-b7ec19097a83b2d2.js +1 -0
  606. package/app/.next-pack/static/chunks/app/playground-variants/project-flows/app-map/page-cdb5040040ac2396.js +1 -0
  607. package/app/.next-pack/static/chunks/app/playground-variants/project-flows/by-flow/page-611924afb955fc46.js +1 -0
  608. package/app/.next-pack/static/chunks/app/playground-variants/project-flows/by-place/page-47aa437868f25e15.js +1 -0
  609. package/app/.next-pack/static/chunks/app/playground-variants/project-flows/fixes/page-9870e5167e2c2a69.js +1 -0
  610. package/app/.next-pack/static/chunks/app/playground-variants/project-plan/board/page-b926699ad9dd394a.js +1 -0
  611. package/app/.next-pack/static/chunks/app/playground-variants/project-plan/document/page-a5c5a927e81bc566.js +1 -0
  612. package/app/.next-pack/static/chunks/app/playground-variants/project-plan/fixes/page-9870e5167e2c2a69.js +1 -0
  613. package/app/.next-pack/static/chunks/app/playground-variants/project-plan/timeline/page-91c548a5b9ea9470.js +1 -0
  614. package/app/.next-pack/static/chunks/app/playground-variants/project-variants/fixes/page-9870e5167e2c2a69.js +1 -0
  615. package/app/.next-pack/static/chunks/app/playground-variants/skill/asks/page-37739ab08757a61b.js +1 -0
  616. package/app/.next-pack/static/chunks/app/playground-variants/skill/cards/page-1946096eb0c78dcd.js +1 -0
  617. package/app/.next-pack/static/chunks/app/playground-variants/skills/beside/page-a6a8b6a6cdd3fc82.js +1 -0
  618. package/app/.next-pack/static/chunks/app/playground-variants/skills/filter/page-b97db65ac599c400.js +1 -0
  619. package/app/.next-pack/static/chunks/app/playground-variants/skills/layers/page-2a2223c2c424eaec.js +1 -0
  620. package/app/.next-pack/static/chunks/app/playground-variants/skills/ledger/page-f9ea4f3e7a9a9b2c.js +1 -0
  621. package/app/.next-pack/static/chunks/app/playground-variants/skills/map/page-1522188d2ff0ed12.js +1 -0
  622. package/app/.next-pack/static/chunks/app/playground-variants/skills/one-group/page-0f30a8a91821137e.js +1 -0
  623. package/app/.next-pack/static/chunks/app/playground-variants/skills/rail/page-ab8cb5f524ccb497.js +1 -0
  624. package/app/.next-pack/static/chunks/app/render/markup/page-1c01df57f9e7bbb2.js +1 -0
  625. package/app/.next-pack/static/chunks/app/s/[slug]/[id]/page-c9c8db19304e1c1c.js +1 -0
  626. package/app/.next-pack/static/chunks/app/skills/[name]/page-d9cd4b249d5cf1ec.js +1 -0
  627. package/app/.next-pack/static/chunks/app/skills/[name]/references/[file]/page-927e87440aa54686.js +1 -0
  628. package/app/.next-pack/static/chunks/app/skills/page-21bbe0883616280e.js +1 -0
  629. package/app/.next-pack/static/chunks/framework-e9384f6a6720bcd2.js +1 -0
  630. package/app/.next-pack/static/chunks/main-44487cf0f2c31ffd.js +1 -0
  631. package/app/.next-pack/static/chunks/main-app-7c486aa598a9b17f.js +1 -0
  632. package/app/.next-pack/static/chunks/pages/_app-4b3fb5e477a0267f.js +1 -0
  633. package/app/.next-pack/static/chunks/pages/_error-c970d8b55ace1b48.js +1 -0
  634. package/app/.next-pack/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  635. package/app/.next-pack/static/chunks/webpack-b095dc2d90fb61fb.js +1 -0
  636. package/app/.next-pack/static/css/5bf8691e68650fe3.css +1 -0
  637. package/app/.next-pack/static/css/788a5084e46c64ae.css +1 -0
  638. package/app/.next-pack/static/css/b46042613e375027.css +1 -0
  639. package/app/.next-pack/static/g8RKjz4QqH6jA3z4kwQsG/_buildManifest.js +1 -0
  640. package/app/.next-pack/static/g8RKjz4QqH6jA3z4kwQsG/_ssgManifest.js +1 -0
  641. package/app/.next-pack/static/media/013b72fa676f92e0-s.woff2 +0 -0
  642. package/app/.next-pack/static/media/2204a898abe5c90a-s.woff2 +0 -0
  643. package/app/.next-pack/static/media/2aa7577a895dd046-s.woff2 +0 -0
  644. package/app/.next-pack/static/media/2b5b02fc7e511755-s.woff2 +0 -0
  645. package/app/.next-pack/static/media/65f03d54ccadf4a8-s.woff2 +0 -0
  646. package/app/.next-pack/static/media/7d4881bb7e1bf84d-s.p.woff2 +0 -0
  647. package/app/.next-pack/static/media/Geist-Variable.27834908.woff2 +0 -0
  648. package/app/.next-pack/static/media/Satoshi-Variable.2f4d9bbe.woff2 +0 -0
  649. package/app/.next-pack/static/media/a813b685af4569ea-s.p.woff2 +0 -0
  650. package/app/.next-pack/static/media/b9408752a0c24fb9-s.woff2 +0 -0
  651. package/app/.next-pack/static/media/e038a29029a234f2-s.woff2 +0 -0
  652. package/app/package.json +46 -0
  653. package/app/public/ds-fonts/Geist-OFL.txt +92 -0
  654. package/app/public/ds-fonts/Geist-Variable.woff2 +0 -0
  655. package/app/public/ds-fonts/Satoshi-Variable.woff2 +0 -0
  656. package/app/public/sample/note-settings.png +0 -0
  657. package/app/public/sample/p-DSCF7127.webp +0 -0
  658. package/app/public/sample/p-DSCF7256.webp +0 -0
  659. package/app/public/sample/p-DSCF7337.webp +0 -0
  660. package/app/public/sample/p-DSCF7437.webp +0 -0
  661. package/app/public/sample/p-DSCF7609.webp +0 -0
  662. package/app/public/sample/p-DSCF8088.webp +0 -0
  663. package/app/server.js +38 -0
  664. package/app/vendor/REF +1 -0
  665. package/bin/baseline-playground.mjs +160 -0
  666. package/package.json +24 -4
  667. package/skills/agent-teams/SKILL.md +132 -0
  668. package/skills/agent-teams/references/briefs-and-reports.md +81 -0
  669. package/skills/agent-teams/references/evidence.md +64 -0
  670. package/skills/baseline-taste/SKILL.md +204 -0
  671. package/skills/baseline-taste/references/corrections.md +480 -0
  672. package/skills/baseline-taste/references/look.md +494 -0
  673. package/skills/baseline-taste/references/motion-values.md +187 -0
  674. package/skills/baseline-taste/references/voice.md +118 -0
  675. package/skills/cognition/SKILL.md +259 -0
  676. package/skills/cognition/references/choice-architecture.md +83 -0
  677. package/skills/cognition/references/laws-of-ux.md +153 -0
  678. package/skills/cognition/references/simulation.md +101 -0
  679. package/skills/data-visualization/SKILL.md +200 -0
  680. package/skills/data-visualization/references/bars-and-progress.md +114 -0
  681. package/skills/data-visualization/references/chart-anatomy.md +129 -0
  682. package/skills/data-visualization/references/dashboards-and-reports.md +148 -0
  683. package/skills/data-visualization/references/palette.md +63 -0
  684. package/skills/data-visualization/references/timelines.md +83 -0
  685. package/skills/delivery/SKILL.md +249 -0
  686. package/skills/delivery/references/change-and-rollout.md +127 -0
  687. package/skills/delivery/references/facilitation.md +107 -0
  688. package/skills/delivery/references/plans-and-estimates.md +187 -0
  689. package/skills/delivery/references/product-documents.md +206 -0
  690. package/skills/delivery/references/sessions-and-orchestration.md +167 -0
  691. package/skills/delivery/references/stakeholders.md +146 -0
  692. package/skills/delivery/references/status-and-reports.md +142 -0
  693. package/skills/delivery/references/technical-docs.md +177 -0
  694. package/skills/design-critique/SKILL.md +245 -0
  695. package/skills/design-critique/references/changes-and-lessons.md +89 -0
  696. package/skills/design-critique/references/comparison-and-measuring.md +146 -0
  697. package/skills/design-critique/references/generated-tells.md +47 -0
  698. package/skills/design-critique/references/scoring-and-findings.md +148 -0
  699. package/skills/design-critique/references/states-data-and-access.md +94 -0
  700. package/skills/design-critique/references/walkthrough-and-heuristics.md +91 -0
  701. package/skills/design-exploration/SKILL.md +191 -0
  702. package/skills/design-exploration/references/axes-and-generators.md +312 -0
  703. package/skills/design-exploration/references/boards-and-convergence.md +103 -0
  704. package/skills/design-exploration/references/misses-and-rounds.md +87 -0
  705. package/skills/design-study/SKILL.md +162 -0
  706. package/skills/design-study/references/capture-and-breakdown.md +86 -0
  707. package/skills/design-study/references/synthesis.md +164 -0
  708. package/skills/design-systems/SKILL.md +234 -0
  709. package/skills/design-systems/references/audit-and-gates.md +76 -0
  710. package/skills/design-systems/references/components.md +107 -0
  711. package/skills/design-systems/references/tokens.md +150 -0
  712. package/skills/design-thinking/SKILL.md +216 -0
  713. package/skills/design-thinking/references/canon.md +135 -0
  714. package/skills/design-thinking/references/frames-across-briefs.md +133 -0
  715. package/skills/design-thinking/references/questions-and-pushback.md +114 -0
  716. package/skills/desktop-app-design/SKILL.md +251 -0
  717. package/skills/desktop-app-design/references/native-mockup.md +296 -0
  718. package/skills/desktop-app-design/references/platform-conventions.md +243 -0
  719. package/skills/desktop-app-design/references/window-compositions.md +159 -0
  720. package/skills/experience-design/SKILL.md +252 -0
  721. package/skills/experience-design/references/lists-choices-and-data.md +124 -0
  722. package/skills/experience-design/references/navigation-models.md +74 -0
  723. package/skills/experience-design/references/prototyping.md +84 -0
  724. package/skills/experience-design/references/state-inventory.md +58 -0
  725. package/skills/experience-design/references/walkthrough-and-heuristics.md +83 -0
  726. package/skills/frontend-craft/SKILL.md +293 -0
  727. package/skills/frontend-craft/references/gates.md +50 -0
  728. package/skills/frontend-craft/references/gestures-and-rendering.md +111 -0
  729. package/skills/frontend-craft/references/performance-measuring.md +180 -0
  730. package/skills/frontend-craft/references/performance.md +121 -0
  731. package/skills/frontend-craft/references/semantics-and-focus.md +90 -0
  732. package/skills/frontend-craft/references/state-and-structure.md +101 -0
  733. package/skills/frontend-craft/references/streaming-and-agents.md +70 -0
  734. package/skills/human-agent-interaction/SKILL.md +298 -0
  735. package/skills/human-agent-interaction/references/forms.md +87 -0
  736. package/skills/human-agent-interaction/references/frameworks.md +94 -0
  737. package/skills/human-agent-interaction/references/working-beside-a-person.md +60 -0
  738. package/skills/interaction-design/SKILL.md +269 -0
  739. package/skills/interaction-design/references/choreography.md +86 -0
  740. package/skills/interaction-design/references/feedback-and-waiting.md +71 -0
  741. package/skills/interaction-design/references/gestures.md +104 -0
  742. package/skills/interaction-design/references/measuring-feel.md +81 -0
  743. package/skills/interaction-design/references/springs-and-continuity.md +84 -0
  744. package/skills/ios-design/SKILL.md +241 -0
  745. package/skills/ios-design/references/conventions.md +272 -0
  746. package/skills/ios-design/references/ipad-widgets-live-activities.md +106 -0
  747. package/skills/ios-design/references/platform-measurements.md +438 -0
  748. package/skills/ios-design/references/web-on-phone.md +315 -0
  749. package/skills/ios-design/references/worked-screens.md +277 -0
  750. package/skills/knowledge-base/SKILL.md +225 -0
  751. package/skills/knowledge-base/references/capture-formats.md +81 -0
  752. package/skills/knowledge-base/references/depth-standard.md +98 -0
  753. package/skills/knowledge-base/references/page-templates.md +181 -0
  754. package/skills/marketing-design/SKILL.md +242 -0
  755. package/skills/marketing-design/references/brand-systems.md +79 -0
  756. package/skills/marketing-design/references/demos-and-rotators.md +107 -0
  757. package/skills/marketing-design/references/docs-sites.md +61 -0
  758. package/skills/marketing-design/references/formats.md +128 -0
  759. package/skills/marketing-design/references/line-drawings.md +119 -0
  760. package/skills/marketing-design/references/page-structure.md +177 -0
  761. package/skills/marketing-design/references/proof-and-captures.md +137 -0
  762. package/skills/marketing-design/references/studio-home.md +192 -0
  763. package/skills/perception/SKILL.md +271 -0
  764. package/skills/perception/references/colour-perception.md +111 -0
  765. package/skills/perception/references/measurements.md +136 -0
  766. package/skills/perception/references/seeing.md +95 -0
  767. package/skills/product-strategy/SKILL.md +272 -0
  768. package/skills/product-strategy/references/adoption.md +81 -0
  769. package/skills/product-strategy/references/business-models.md +89 -0
  770. package/skills/product-strategy/references/channels.md +92 -0
  771. package/skills/product-strategy/references/copy-structures.md +145 -0
  772. package/skills/product-strategy/references/decisions.md +136 -0
  773. package/skills/product-strategy/references/launch.md +66 -0
  774. package/skills/product-strategy/references/messaging-and-proof.md +113 -0
  775. package/skills/product-strategy/references/pace-layers.md +78 -0
  776. package/skills/product-strategy/references/positioning.md +103 -0
  777. package/skills/product-strategy/references/pricing.md +84 -0
  778. package/skills/product-strategy/references/prioritization.md +131 -0
  779. package/skills/product-strategy/references/sales-enablement.md +84 -0
  780. package/skills/product-strategy/references/stakeholders.md +116 -0
  781. package/skills/product-strategy/references/strategy-frameworks.md +174 -0
  782. package/skills/research/SKILL.md +210 -0
  783. package/skills/research/references/analyses.md +143 -0
  784. package/skills/research/references/competitive-analysis.md +96 -0
  785. package/skills/research/references/deliverables.md +77 -0
  786. package/skills/research/references/desk-research.md +148 -0
  787. package/skills/research/references/experiments.md +115 -0
  788. package/skills/research/references/interviews-and-usability.md +119 -0
  789. package/skills/research/references/methods.md +100 -0
  790. package/skills/research/references/metrics.md +104 -0
  791. package/skills/research/references/synthesis.md +95 -0
  792. package/skills/skill-building/SKILL.md +201 -0
  793. package/skills/skill-building/references/corrections-to-rules.md +93 -0
  794. package/skills/skill-building/references/evals-and-golden-tasks.md +121 -0
  795. package/skills/skill-building/references/ledger.md +71 -0
  796. package/skills/skill-building/references/standard.md +112 -0
  797. package/skills/spatial-design/SKILL.md +278 -0
  798. package/skills/spatial-design/references/camera-and-input.md +70 -0
  799. package/skills/spatial-design/references/measuring.md +48 -0
  800. package/skills/spatial-design/references/spatial-map.md +78 -0
  801. package/skills/ux-writing/SKILL.md +231 -0
  802. package/skills/ux-writing/references/calibration.md +105 -0
  803. package/skills/ux-writing/references/cut-list.md +89 -0
  804. package/skills/ux-writing/references/interface-copy.md +214 -0
  805. package/skills/ux-writing/references/page-copy.md +112 -0
  806. package/skills/ux-writing/references/positioning-lines.md +101 -0
  807. package/skills/ux-writing/references/voice-examples.md +64 -0
  808. package/skills/ux-writing/references/voice-method.md +113 -0
  809. package/skills/verify-before-done/SKILL.md +111 -0
  810. package/skills/verify-before-done/references/lessons.md +101 -0
  811. package/skills/verify-before-done/references/proof-recipes.md +129 -0
  812. package/skills/visual-design/SKILL.md +308 -0
  813. package/skills/visual-design/references/accessibility.md +160 -0
  814. package/skills/visual-design/references/colour.md +82 -0
  815. package/skills/visual-design/references/components-and-icons.md +99 -0
  816. package/skills/visual-design/references/layout-and-grids.md +107 -0
  817. package/skills/visual-design/references/surfaces-and-depth.md +82 -0
  818. package/skills/visual-design/references/type.md +103 -0
  819. package/skills/visual-design/references/worked-systems.md +126 -0
  820. package/skills/web-app-design/SKILL.md +252 -0
  821. package/skills/web-app-design/references/browser-conventions.md +193 -0
  822. package/skills/web-app-design/references/shell-and-navigation.md +159 -0
  823. package/skills/web-app-design/references/worked-screens.md +136 -0
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7257],{5030:(e,s,n)=>{"use strict";n.d(s,{IndexDetail:()=>C,OnePage:()=>y,Tables:()=>K});var t=n(95155),a=n(12115),r=n(68772),i=n(80526),l=n(99365),c=n(50645),d=n(83949);function o(e){let{bare:s,actions:n,children:a}=e;return s?(0,t.jsxs)("div",{children:[n&&(0,t.jsx)("div",{className:"-mt-1 mb-2 flex justify-end",children:n}),(0,t.jsx)("div",{className:"rounded-item shadow-ring",children:a})]}):(0,t.jsx)(l.wI,{actions:n,children:a})}function m(e){let{s}=e,[n,a]=(0,d.HO)(e=>(0,d.TW)(s.text?e.color:e.backgroundColor));return(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{ref:n,className:(0,i.cn)("flex h-12 items-center rounded-item px-3 shadow-ring",s.cls),children:s.text&&(0,t.jsx)("span",{className:"text-title font-semibold",children:"Aa"})}),(0,t.jsx)("div",{className:"mt-2 truncate text-sm font-medium text-fg-primary",children:s.name}),(0,t.jsx)(d.Kp,{className:"block truncate",children:s.token}),(0,t.jsx)(d.Kp,{className:"block truncate",children:a})]})}function x(){return(0,t.jsx)("div",{className:"grid gap-8",children:d.n7.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-sm font-medium text-fg-meta",children:e.name}),(0,t.jsx)("div",{className:"mt-3 grid grid-cols-2 gap-x-3 gap-y-5 md:grid-cols-4",children:e.items.map(e=>(0,t.jsx)(m,{s:e},e.token))})]},e.name))})}function h(e){let{t:s}=e,[n,a]=(0,d.HO)(e=>"".concat(parseFloat(e.fontSize),"/").concat(parseFloat(e.lineHeight)));return(0,t.jsxs)("div",{className:"grid min-h-12 grid-cols-[112px_minmax(0,1fr)_88px] items-center gap-4 px-4 max-md:grid-cols-[minmax(0,1fr)_72px]",children:[(0,t.jsx)(d.Kp,{className:"max-md:hidden",children:s.token}),(0,t.jsx)("span",{ref:n,className:(0,i.cn)("truncate",s.cls),children:s.sample}),(0,t.jsxs)(d.Kp,{className:"text-right",children:[a," ",s.weight]})]})}function u(e){let{bare:s}=e;return(0,t.jsx)(o,{bare:s,children:(0,t.jsx)("div",{className:"py-2",children:d.vH.map(e=>(0,t.jsx)(h,{t:e},e.token))})})}function p(e){let{r:s}=e,[n,a]=(0,d.HO)(e=>"".concat(parseFloat(e.borderTopLeftRadius)));return(0,t.jsxs)("div",{className:"flex min-w-0 flex-col items-start gap-2",children:[(0,t.jsx)("div",{ref:n,className:(0,i.cn)("size-14 bg-bg-raised shadow-ring",s.cls)}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"num text-sm text-fg-primary",children:a}),(0,t.jsx)(d.Kp,{className:"block truncate",children:s.token.replace("rounded-","")})]})]})}function j(e){let{s}=e,[n,a]=(0,d.HO)(e=>"".concat(parseFloat(e.width)));return(0,t.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[(0,t.jsx)("div",{className:"flex h-16 items-end",children:(0,t.jsx)("div",{ref:n,className:(0,i.cn)("aspect-square bg-fg-faint",s.cls)})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"num text-sm text-fg-primary",children:a}),(0,t.jsx)(d.Kp,{className:"block",children:s.token})]})]})}function f(e){let{bare:s}=e;return(0,t.jsx)(o,{bare:s,children:(0,t.jsx)("div",{className:"flex flex-wrap justify-between gap-x-4 gap-y-6 p-6",children:d.O7.map(e=>(0,t.jsx)(p,{r:e},e.token))})})}function g(e){let{bare:s}=e;return(0,t.jsx)(o,{bare:s,children:(0,t.jsx)("div",{className:"flex flex-wrap justify-between gap-x-4 gap-y-6 p-6",children:d.qj.map(e=>(0,t.jsx)(j,{s:e},e.token))})})}function N(e){let{m:s,played:n}=e,a=(0,d.VO)("--".concat(s.token));return(0,t.jsxs)("div",{className:"grid min-h-11 grid-cols-[96px_64px_minmax(0,1fr)] items-center gap-4 px-4 max-md:grid-cols-[88px_minmax(0,1fr)]",children:[(0,t.jsx)(d.Kp,{children:s.token.replace("dur-","")}),(0,t.jsx)("span",{className:"num text-sm text-fg-primary max-md:hidden",children:a}),(0,t.jsx)("div",{className:"relative h-control rounded-control bg-fill-control",children:(0,t.jsx)("div",{className:"absolute inset-y-1 left-1 right-7",children:(0,t.jsx)("div",{className:(0,i.cn)("h-full w-full transition-transform",s.dur,s.ease,n&&"translate-x-full"),children:(0,t.jsx)("div",{className:"aspect-square h-full rounded-control-sm bg-fg-secondary"})})})})]})}function b(e){let{bare:s}=e,[n,i]=(0,a.useState)(!1);return(0,t.jsx)(o,{bare:s,actions:(0,t.jsx)(r.$,{size:"sm",variant:"ghost",onClick:()=>i(e=>!e),children:n?"Reset":"Play"}),children:(0,t.jsx)("div",{className:"py-2",children:d.CS.map(e=>(0,t.jsx)(N,{m:e,played:n},e.token))})})}function v(e){let{title:s,children:n}=e;return(0,t.jsxs)("section",{children:[(0,t.jsx)(c.Av,{children:s}),(0,t.jsx)("div",{className:"mt-4",children:n})]})}function k(e){let{p:s}=e;return(0,t.jsx)(l.wI,{controls:(0,t.jsx)("span",{className:"px-1.5 text-sm font-medium text-fg-primary",children:s.name}),actions:(0,t.jsx)(d.Kp,{className:"px-1.5",children:s.path}),children:(0,t.jsx)("div",{className:"dot-grid flex min-h-32 flex-wrap items-center gap-x-10 gap-y-6 px-8 py-6",children:s.variants.map(e=>(0,t.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[(0,t.jsx)("div",{className:"flex h-10 items-center",children:e.node}),(0,t.jsx)(d.Kp,{children:e.label})]},e.label))})})}function y(){return(0,t.jsxs)("div",{className:"grid gap-14",children:[(0,t.jsx)(v,{title:"Colour",children:(0,t.jsx)(x,{})}),(0,t.jsx)(v,{title:"Type",children:(0,t.jsx)(u,{})}),(0,t.jsx)(v,{title:"Radius and spacing",children:(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)(f,{}),(0,t.jsx)(g,{})]})}),(0,t.jsx)(v,{title:"Motion",children:(0,t.jsx)(b,{})}),(0,t.jsx)(v,{title:"Components",children:(0,t.jsx)("div",{className:"grid gap-3",children:d.rT.map(e=>(0,t.jsx)(k,{p:e},e.id))})})]})}let w=[{id:"colour",name:"Colour",path:"bl-tokens.css",line:"Four surfaces close in lightness, four text tiers, one orange and four status hues.",body:(0,t.jsx)(x,{})},{id:"type",name:"Type",path:"text-*",line:"One base size. Hierarchy comes from the tier and the weight, not the size.",body:(0,t.jsx)(u,{bare:!0})},{id:"radius",name:"Radius",path:"rounded-*",line:"Corners nest: an inner radius is the outer one minus its inset.",body:(0,t.jsx)(f,{bare:!0})},{id:"spacing",name:"Spacing",path:"--bl-space-*",line:"A 4px scale. Space inside a group is at most half the space between groups.",body:(0,t.jsx)(g,{bare:!0})},{id:"motion",name:"Motion",path:"--dur-*",line:"Hover arrives at once and leaves over 150ms. Nothing waits on an animation.",body:(0,t.jsx)(b,{bare:!0})}];function C(){var e,s,n;let[r,c]=(0,a.useState)("button"),o=w.find(e=>e.id===r),m=d.rT.find(e=>e.id===r),x=null!=(e=null==o?void 0:o.name)?e:m.name,h=null!=(s=null==o?void 0:o.path)?s:m.path,u=null!=(n=null==o?void 0:o.line)?n:m.line;return(0,t.jsxs)("div",{className:(0,i.cn)(l.pj,"grid grid-cols-[200px_minmax(0,1fr)] gap-1 max-md:grid-cols-1"),children:[(0,t.jsx)("nav",{"aria-label":"Design system",className:"p-1",children:[{g:"Foundations",items:w},{g:"Components",items:d.rT}].map(e=>{let{g:s,items:n}=e;return(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("div",{className:"flex h-7 items-center px-2 text-xs font-medium text-fg-meta",children:s}),n.map(e=>{let s,n;return s=e.id,n=e.name,(0,t.jsx)("button",{onClick:()=>c(s),"aria-current":s===r||void 0,className:(0,i.cn)("flex h-8 w-full items-center rounded-item px-2 text-left text-sm transition-hover hover:bg-fill-hover hover:text-fg-primary",s===r?"bg-fill-selected font-medium text-fg-primary hover:bg-fill-selected":"text-fg-secondary"),children:n},s)})]},s)})}),(0,t.jsxs)("div",{className:(0,i.cn)(l.TY,"min-h-[640px] p-8 max-md:p-5"),children:[(0,t.jsxs)("div",{className:"flex items-baseline justify-between gap-4",children:[(0,t.jsx)("h3",{className:"font-heading text-title font-semibold text-fg-primary",children:x}),(0,t.jsx)(d.Kp,{children:h})]}),(0,t.jsx)("p",{className:"mt-1.5 max-w-xl text-sm text-fg-secondary text-pretty",children:u}),(0,t.jsx)("div",{className:"mt-6",children:o?o.body:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"dot-grid grid h-56 place-items-center rounded-item shadow-ring",children:m.hero}),(0,t.jsx)("div",{className:"mt-6",children:m.variants.map(e=>(0,t.jsxs)("div",{className:"grid min-h-14 grid-cols-[160px_minmax(0,1fr)] items-center gap-4 px-1 max-md:grid-cols-[112px_minmax(0,1fr)]",children:[(0,t.jsx)(d.Kp,{children:e.label}),(0,t.jsx)("div",{className:"flex items-center",children:e.node})]},e.label))})]})})]})]})}function T(e){let{s}=e,[n,a]=(0,d.HO)(e=>(0,d.TW)(s.text?e.color:e.backgroundColor));return(0,t.jsxs)("tr",{className:"[&>td]:!align-middle",children:[(0,t.jsx)("td",{children:(0,t.jsxs)("span",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{ref:n,className:(0,i.cn)("grid size-5 shrink-0 place-items-center rounded-check shadow-ring",s.cls),children:s.text&&(0,t.jsx)("span",{className:"text-xs font-semibold",children:"A"})}),(0,t.jsx)("span",{className:"num text-fg-primary",children:s.token})]})}),(0,t.jsx)("td",{className:"num whitespace-nowrap",children:a}),(0,t.jsx)("td",{children:s.use})]})}function _(e){let{r:s}=e,[n,a]=(0,d.HO)(e=>"".concat(parseFloat(e.borderTopLeftRadius),"px"));return(0,t.jsxs)("tr",{className:"[&>td]:!align-middle",children:[(0,t.jsx)("td",{children:(0,t.jsxs)("span",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{ref:n,className:(0,i.cn)("size-5 shrink-0 bg-bg-raised shadow-ring",s.cls)}),(0,t.jsx)("span",{className:"num text-fg-primary",children:s.token})]})}),(0,t.jsx)("td",{className:"num",children:a}),(0,t.jsx)("td",{children:s.use})]})}function O(e){let{m:s}=e,n=(0,d.VO)("--".concat(s.token));return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"num text-fg-primary",children:s.token}),(0,t.jsx)("td",{className:"num",children:n}),(0,t.jsx)("td",{className:"num whitespace-nowrap",children:s.easeToken}),(0,t.jsx)("td",{children:s.use})]})}let S=e=>(0,t.jsx)("span",{className:"px-1.5 text-sm font-medium text-fg-primary",children:e}),R=d.n7.flatMap(e=>e.items);function K(){return(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)] gap-6",children:[(0,t.jsx)(l.MX,{name:"colour",actions:S("Colour"),data:()=>({head:["Token","Use"],rows:R.map(e=>[e.token,e.use])}),children:(0,t.jsxs)("table",{className:l.y5,children:[(0,t.jsx)("thead",{className:l.i0,children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"w-[38%]",children:"Token"}),(0,t.jsx)("th",{className:"w-[26%]",children:"Value"}),(0,t.jsx)("th",{children:"Use"})]})}),(0,t.jsx)("tbody",{className:l._F,children:R.map(e=>(0,t.jsx)(T,{s:e},e.token))})]})}),(0,t.jsx)(l.MX,{name:"type",actions:S("Type"),data:()=>({head:["Token","Weight","Use"],rows:d.vH.map(e=>[e.token,e.weight,e.use])}),children:(0,t.jsxs)("table",{className:l.y5,children:[(0,t.jsx)("thead",{className:l.i0,children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"w-[38%]",children:"Token"}),(0,t.jsx)("th",{className:"w-[26%]",children:"Specimen"}),(0,t.jsx)("th",{children:"Use"})]})}),(0,t.jsx)("tbody",{className:l._F,children:d.vH.map(e=>(0,t.jsxs)("tr",{className:"[&>td]:!align-middle",children:[(0,t.jsxs)("td",{className:"num text-fg-primary",children:[e.token," ",(0,t.jsx)("span",{className:"text-fg-meta",children:e.weight})]}),(0,t.jsx)("td",{children:(0,t.jsx)("span",{className:(0,i.cn)("block truncate",e.cls),children:e.name})}),(0,t.jsx)("td",{children:e.use})]},e.token))})]})}),(0,t.jsx)(l.MX,{name:"radius",actions:S("Radius"),data:()=>({head:["Token","Use"],rows:d.O7.map(e=>[e.token,e.use])}),children:(0,t.jsxs)("table",{className:l.y5,children:[(0,t.jsx)("thead",{className:l.i0,children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"w-[38%]",children:"Token"}),(0,t.jsx)("th",{className:"w-[26%]",children:"Value"}),(0,t.jsx)("th",{children:"Use"})]})}),(0,t.jsx)("tbody",{className:l._F,children:d.O7.map(e=>(0,t.jsx)(_,{r:e},e.token))})]})}),(0,t.jsx)(l.MX,{name:"motion",actions:S("Motion"),data:()=>({head:["Token","Curve","Use"],rows:d.CS.map(e=>[e.token,e.easeToken,e.use])}),children:(0,t.jsxs)("table",{className:l.y5,children:[(0,t.jsx)("thead",{className:l.i0,children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"w-[38%]",children:"Token"}),(0,t.jsx)("th",{className:"w-[10%]",children:"Value"}),(0,t.jsx)("th",{className:"w-[16%]",children:"Curve"}),(0,t.jsx)("th",{className:"max-md:hidden",children:"Use"})]})}),(0,t.jsx)("tbody",{className:(0,i.cn)(l._F,"[&_td:last-child]:max-md:hidden"),children:d.CS.map(e=>(0,t.jsx)(O,{m:e},e.token))})]})}),(0,t.jsx)(l.MX,{name:"components",actions:S("Components"),data:()=>({head:["Component","Import","Variants"],rows:d.rT.map(e=>[e.name,e.path,e.variants.map(e=>e.label).join(" ")])}),children:(0,t.jsxs)("table",{className:l.y5,children:[(0,t.jsx)("thead",{className:l.i0,children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"w-[38%]",children:"Component"}),(0,t.jsx)("th",{children:"Specimen"})]})}),(0,t.jsx)("tbody",{className:(0,i.cn)(l._F,"[&_td]:py-3"),children:d.rT.map(e=>(0,t.jsxs)("tr",{className:"[&>td]:!align-middle",children:[(0,t.jsxs)("td",{children:[(0,t.jsx)("span",{className:"block text-sm font-medium text-fg-primary",children:e.name}),(0,t.jsx)(d.Kp,{children:e.path})]}),(0,t.jsx)("td",{children:(0,t.jsx)("div",{className:"flex min-h-10 items-center",children:e.hero})})]},e.id))})]})})]})}},45887:(e,s,n)=>{Promise.resolve().then(n.bind(n,5030))},99211:(e,s,n)=>{"use strict";n.d(s,{S:()=>O});var t=n(95155),a=n(12115),r=n(94446),i=n(3468),l=n(92556),c=n(86182),d=n(84288),o=n(76842),m=n(97602),x=Object.defineProperty,h=(e,s)=>x(e,"name",{value:s,configurable:!0}),u="Checkbox",[p,j]=(0,i.A)(u),[f,g]=p(u);function N(e){let{__scopeCheckbox:s,checked:n,children:r,defaultChecked:i,disabled:l,form:d,name:o,onCheckedChange:m,required:x,value:h="on",internal_do_not_use_render:p}=e,[j,g]=(0,c.i)({prop:n,defaultProp:null!=i&&i,onChange:m,caller:u}),[N,b]=a.useState(null),[v,k]=a.useState(null),[y,T]=a.useState(null),_=!N||!!d||!!N.closest("form"),O={checked:j,disabled:l,setChecked:g,control:N,setControl:b,name:o,form:d,value:h,userClick:y,onUserClick:T,required:x,defaultChecked:!C(i)&&i,isFormControl:_,bubbleInput:v,setBubbleInput:k};return(0,t.jsx)(f,{scope:s,...O,children:w(p)?p(O):r})}h(N,"CheckboxProvider");var b=a.forwardRef(h(function(e,s){let{__scopeCheckbox:n,onKeyDown:i,onClick:c,...d}=e,{control:o,value:x,disabled:u,checked:p,required:j,setControl:f,setChecked:N,onUserClick:b,isFormControl:v,bubbleInput:k}=g("CheckboxTrigger",n),y=(0,r.s)(s,f),w=a.useRef(p);return a.useEffect(()=>{let e=null==o?void 0:o.form;if(e){let s=h(()=>N(w.current),"reset");return e.addEventListener("reset",s),()=>e.removeEventListener("reset",s)}},[o,N]),(0,t.jsx)(m.sG.button,{type:"button",role:"checkbox","aria-checked":C(p)?"mixed":p,"aria-required":j,"data-state":T(p),"data-disabled":u?"":void 0,disabled:u,value:x,...d,ref:y,onKeyDown:(0,l.mK)(i,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,l.mK)(c,e=>{let s=e.isPropagationStopped();b({requestedChecked:!!C(p)||!p,hasConsumerStoppedPropagation:s}),N(e=>!!C(e)||!e),k&&v&&!s&&e.stopPropagation()})})},"CheckboxTrigger")),v=a.forwardRef(h(function(e,s){let{__scopeCheckbox:n,name:a,checked:r,defaultChecked:i,required:l,disabled:c,value:d,onCheckedChange:o,form:m,...x}=e;return(0,t.jsx)(N,{__scopeCheckbox:n,checked:r,defaultChecked:i,disabled:c,required:l,onCheckedChange:o,name:a,form:m,value:d,internal_do_not_use_render:e=>{let{isFormControl:a}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{...x,ref:s,__scopeCheckbox:n}),a&&(0,t.jsx)(y,{__scopeCheckbox:n})]})}})},"Checkbox")),k=a.forwardRef(h(function(e,s){let{__scopeCheckbox:n,forceMount:a,...r}=e,i=g("CheckboxIndicator",n);return(0,t.jsx)(o.C,{present:a||C(i.checked)||!0===i.checked,children:(0,t.jsx)(m.sG.span,{"data-state":T(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:s,style:{pointerEvents:"none",...e.style}})})},"CheckboxIndicator")),y=a.forwardRef(h(function(e,s){let{__scopeCheckbox:n,onClick:i,...c}=e,{control:o,userClick:x,checked:h,defaultChecked:u,required:p,disabled:j,name:f,value:N,form:b,bubbleInput:v,setBubbleInput:k}=g("CheckboxBubbleInput",n),y=(0,r.s)(s,k),w=(0,d.X)(o),T=a.useRef(!1),_=a.useRef(h),O=a.useRef(x),S=a.useRef(null);a.useEffect(()=>{if(!v)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(!e)return;let s=_.current!==h;_.current=h;let n=null!==x&&x!==O.current;if(O.current=x,n)S.current=s?null:x,s&&(v.indeterminate=C(h),e.call(v,!C(h)&&h)),v.dispatchEvent(new Event("click",{bubbles:!x.hasConsumerStoppedPropagation}));else if(s){let s=S.current;S.current=null;let n=(null==s?void 0:s.requestedChecked)===h;T.current=!0,v.indeterminate=C(h),e.call(v,!C(h)&&h),v.dispatchEvent(new Event("click",{bubbles:!(n&&s.hasConsumerStoppedPropagation)})),T.current=!1}},[v,h,x]);let R=a.useRef(!C(h)&&h);return(0,t.jsx)(m.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=u?u:R.current,required:p,disabled:j,name:f,value:N,form:b,...c,tabIndex:-1,ref:y,onClick:(0,l.mK)(i,e=>{T.current&&e.stopPropagation()}),style:{...c.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function w(e){return"function"==typeof e}function C(e){return"indeterminate"===e}function T(e){return C(e)?"indeterminate":e?"checked":"unchecked"}h(w,"isFunction"),h(C,"isIndeterminate"),h(T,"getState");var _=n(68659);let O=a.forwardRef((e,s)=>{let{className:n,...a}=e;return(0,t.jsx)(v,{ref:s,className:(0,_.cn)("group/checkbox peer grid size-4 shrink-0 place-content-center rounded-check text-fg-on-primary shadow-check transition-hover hover:shadow-check-hover focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand data-[state=indeterminate]:bg-brand data-[state=checked]:shadow-none data-[state=indeterminate]:shadow-none",n),...a,children:(0,t.jsxs)(k,{className:"grid place-content-center text-current",children:[(0,t.jsx)("svg",{viewBox:"0 0 10 10",className:"size-2.5 group-data-[state=indeterminate]/checkbox:hidden","aria-hidden":!0,children:(0,t.jsx)("path",{d:"m2 5.2 2 2L8 3",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,t.jsx)("svg",{viewBox:"0 0 10 10",className:"hidden size-2.5 group-data-[state=indeterminate]/checkbox:block","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M2.5 5h5",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})})]})})});O.displayName=v.displayName}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,4873,2548,9729,544,2201,2357,645,847,82,1620,8682,3765,3949,8441,1255,7358],()=>e(e.s=45887)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1832],{25626:(e,t,i)=>{Promise.resolve().then(i.bind(i,74848))},67455:(e,t,i)=>{"use strict";i.d(t,{c0:()=>s,dt:()=>r,e4:()=>l,ky:()=>d,mU:()=>n,me:()=>a});let s={trent:{id:"trent",name:"Trent",initials:"T"},maya:{id:"maya",name:"Maya Okafor",initials:"M"},jonah:{id:"jonah",name:"Jonah Reyes",initials:"J"}},a=s.trent,n={ledger:[{id:"full-app",name:"Full app",start:"sign-in",screens:["sign-in","invoice-list","settings","billing"]},{id:"sign-in",name:"Sign in",start:"sign-in",screens:["sign-in","invoice-list"]},{id:"billing",name:"Billing",start:"settings",screens:["settings","billing"]}],"habit-tracker":[{id:"daily",name:"Daily check-in",start:"today",screens:["today","stats"]}]},r=[{slug:"ledger",name:"Ledger",repo:"TrentM6/ledger-app",stage:"review",summary:"Settings waiting on your review",brief:{lead:"Invoicing for freelancers.",body:"Send an invoice in under a minute and get paid on time with reminders. Agencies come after launch."},collaborators:["maya","trent"],screens:[{id:"settings",name:"Settings",status:"review",version:3,kind:"ledger-settings"},{id:"invoice-list",name:"Invoice list",status:"built",version:4,kind:"ledger-list"},{id:"sign-in",name:"Sign in",status:"built",version:2,kind:"ledger-signin"},{id:"billing",name:"Billing",status:"drawing",version:1,kind:"ledger-billing"},{id:"onboarding",name:"Onboarding",status:"brief",version:0,kind:"blank"}],references:[250,30,150,300],pullRequests:[{id:"settings",screen:"Settings",state:"waiting",branch:"settings-page"},{id:"billing",screen:"Billing",state:"waiting",branch:"billing-page"},{id:"invoice-list",screen:"Invoice list",number:16,state:"merged",branch:"invoice-list",date:"Nov 21"},{id:"sign-in",screen:"Sign in",number:14,state:"merged",branch:"sign-in",date:"Nov 19"}],needsYou:!0},{slug:"habit-tracker",name:"Habit tracker",stage:"designing",summary:"Designing 3 screens",brief:{lead:"A habit tracker that forgives.",body:"Check off a habit in one tap. A missed day pauses a streak instead of ending it. iPhone first."},collaborators:["maya","trent"],screens:[{id:"today",name:"Today",status:"review",version:2,kind:"habit"},{id:"week",name:"Week",status:"drawing",version:1,kind:"habit"},{id:"stats",name:"Stats",status:"drawing",version:1,kind:"habit"}],references:[200,120],pullRequests:[],needsYou:!0},{slug:"portfolio-site",name:"Portfolio site",repo:"TrentM6/portfolio-site",stage:"live",summary:"Live since Nov 12",brief:{lead:"Photographs from New York.",body:"A quiet site for street photographs, 2019 to now. Big images, almost no chrome."},collaborators:["trent"],screens:[{id:"home",name:"Home",status:"built",version:5,kind:"site"},{id:"series",name:"Series",status:"built",version:3,kind:"site"}],references:[30,60,90],pullRequests:[{id:"home",screen:"Home",number:9,state:"merged",branch:"home",date:"Nov 12"},{id:"series",screen:"Series",number:8,state:"merged",branch:"series",date:"Nov 10"}],needsYou:!1}],l=[{v:3,label:"After the second look"},{v:2,label:"Reminders as days"},{v:1,label:"First draft"}],d={"ledger/settings":[{id:"c1",device:"desktop",x:968,y:280,who:"Maya Okafor",initials:"M",text:"Should payment terms default to Net 15 for freelancers?",when:"9:58 AM"}],"habit-tracker/today":[{id:"c2",device:"phone",x:398,y:182,who:"Maya Okafor",initials:"M",text:"Can the streak sit beside each habit?",when:"9:40 AM"},{id:"c3",device:"phone",x:398,y:294,who:"Maya Okafor",initials:"M",text:"Stretch could be optional on weekends.",when:"9:41 AM"}]}},74848:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>D});var s=i(95155),a=i(52619),n=i.n(a),r=i(20063),l=i(12115),d=i(98038),o=i(32869),c=i(16983),h=i(68772),g=i(68515),m=i(88239),x=i(49255),u=i(41620),f=i(82),p=i(50847),v=i(28976),b=i(80526),w=i(67455);let j=w.dt.find(e=>"ledger"===e.slug),y=w.dt.find(e=>"habit-tracker"===e.slug),k=(e,t)=>e.screens.find(e=>e.id===t),N=new Date(Date.now()-134e3).toISOString(),S=[{id:"settings",project:"Ledger",title:"Settings is ready to review",line:"Ledger, version 3",body:"I moved the plan card above billing and tightened the rows to one height. Two calls to walk through, and I'm unsure of one.",action:{label:"Review it",href:"/p/ledger?review=settings"},screens:[k(j,"settings")],device:"desktop",pins:[{x:31,y:31},{x:52,y:46}]},{id:"today",project:"Habit tracker",title:"Today is ready to review",line:"Habit tracker, version 2",body:"Checking off a habit now fills its ring instead of striking it through, as your note asked.",action:{label:"Review it",href:"/p/habit-tracker?review=today"},screens:[k(y,"today")],device:"phone",pins:[{x:50,y:38}]},{id:"week",project:"Habit tracker",title:"Six directions for Week",line:"Habit tracker, round 1",body:"They run from a plain list to a full calendar. Keep the ones worth a second round.",action:{label:"Judge them",href:"/p/habit-tracker"},screens:[k(y,"week"),k(y,"today"),k(y,"stats")],device:"phone"}],M=[{id:"billing",project:"Ledger",title:"Drawing Billing",line:"Ledger, version 2",body:"Your note asked for the invoice history under the plan. I'll bring it to you when it's drawn.",screens:[k(j,"billing")],device:"desktop",working:{state:"drawing",text:"Drawing version 2 of Billing",since:N}}],z={state:"waiting",text:"3 things are ready for you"};function C(){return(0,s.jsx)("div",{className:"pointer-events-none fixed inset-x-0 top-3 z-50 flex justify-center px-4",children:(0,s.jsxs)("span",{className:"pointer-events-auto inline-flex h-9 max-w-full items-center gap-2.5 rounded-pill bg-bg-floating pl-3 pr-4 shadow-float",children:[(0,s.jsx)("span",{className:"w-4 shrink-0 overflow-hidden","aria-hidden":!0,children:(0,s.jsx)("span",{className:"block w-28",children:(0,s.jsx)(m.S,{collapsed:!0})})}),(0,s.jsx)("span",{className:"shrink-0 text-ui font-medium text-fg-primary",children:"Home"}),(0,s.jsx)("span",{"aria-hidden":!0,className:"w-1"}),(0,s.jsx)(u.i,{status:z})]})})}function L(e){let{screen:t,device:i,className:a,children:n}=e,{w:r,h:l}=f.et[i];return(0,s.jsxs)("div",{className:(0,b.cn)("relative shrink-0 shadow-float ring-1 ring-fg-muted/30","phone"===i?"rounded-dialog":"rounded-panel",a),style:{aspectRatio:"".concat(r," / ").concat(l)},children:[(0,s.jsx)(f.cG,{w:r,h:l,pad:0,className:(0,b.cn)("size-full","phone"===i?"rounded-dialog":"rounded-panel"),children:(0,s.jsx)("div",{style:{width:r,height:l},children:(0,s.jsx)(f.ScreenRender,{screen:t,device:i})})}),n]})}let R=e=>{let{pins:t}=e;return null==t?void 0:t.map((e,t)=>(0,s.jsx)(p.yU,{n:t+1,className:"absolute -translate-x-1/2 -translate-y-1/2",style:{left:"".concat(e.x,"%"),top:"".concat(e.y,"%")}},t))},A={a:{name:"The rundown",C:function(){let e=[...S,...M],[t,i]=(0,l.useState)(0),[a,r]=(0,l.useState)(!0),[g,m]=(0,l.useState)(!1),[w,j]=function(){let e=(0,l.useRef)(null),[t,i]=(0,l.useState)({w:0,h:0});return(0,l.useLayoutEffect)(()=>{if(!e.current)return;let t=new ResizeObserver(e=>{let[t]=e;return i({w:t.contentRect.width,h:t.contentRect.height})});return t.observe(e.current),()=>t.disconnect()},[]),[e,t]}(),y=t>=e.length,k=e[Math.min(t,e.length-1)],N=j.w>0&&j.w<768,z=()=>i(t=>Math.min(e.length,t+1));(0,l.useEffect)(()=>{let e=e=>{"ArrowRight"===e.key?z():"ArrowLeft"===e.key?i(e=>Math.max(0,e-1)):" "===e.key&&(e.preventDefault(),r(e=>!e))};return addEventListener("keydown",e),()=>removeEventListener("keydown",e)});let{w:C,h:A}=f.et[k.device],T=k.screens.length,D=Math.max(0,Math.min(((N?j.w-32:j.w-584)-32*(T-1))/(C*T),(N?Math.min(j.h-240,560):j.h-48)/A)),I={w:C*D,h:A*D},O=(0,s.jsxs)("section",{"aria-live":"polite",onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),className:"relative grid gap-1.5 overflow-hidden rounded-panel bg-bg-floating p-3 shadow-float",style:{width:N?"100%":300},children:[(0,s.jsx)("span",{className:"text-xs font-medium text-fg-meta",children:k.line}),(0,s.jsx)("h2",{className:"text-ui font-medium text-balance text-fg-primary",children:k.title}),(0,s.jsx)("p",{className:"text-ui text-pretty text-fg-secondary",children:k.body}),k.working&&(0,s.jsx)("div",{className:"pt-1",children:(0,s.jsx)(u.i,{status:k.working})}),k.action&&(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5 pt-1.5",children:[(0,s.jsx)(h.$,{size:"sm",variant:"primary",asChild:!0,children:(0,s.jsx)(n(),{href:k.action.href,children:k.action.label})}),(0,s.jsx)(h.$,{size:"sm",variant:"ghost",onClick:z,children:"Later"})]}),!y&&(0,s.jsx)("span",{"aria-hidden":!0,onAnimationEnd:z,className:"walk-progress absolute inset-x-0 bottom-0 h-0.5 bg-fg-muted",style:{animationPlayState:!a||g?"paused":"running"}},t)]});return(0,s.jsxs)("div",{className:"dot-grid flex h-dvh flex-col pt-14",children:[(0,s.jsx)("div",{ref:w,className:"relative flex min-h-0 flex-1 flex-col items-center justify-center gap-4 px-4",children:y?(0,s.jsxs)("div",{className:"grid w-full max-w-md gap-4",children:[(0,s.jsx)(x.q,{state:"waiting",className:"size-8 text-agent-wait"}),(0,s.jsx)("h1",{className:"font-heading text-title font-semibold text-balance text-fg-primary",children:"That's everything. Three things are yours."}),(0,s.jsx)("div",{className:"grid",children:S.map(e=>(0,s.jsx)(p.fI,{href:e.action.href,lead:(0,s.jsx)(v.rA,{status:"review",tip:!1}),title:e.title,parent:e.project,trail:e.action.label,trailWidth:"w-20"},e.id))}),(0,s.jsxs)("div",{className:"flex gap-1.5",children:[(0,s.jsx)(h.$,{size:"sm",variant:"ghost",onClick:()=>i(0),children:"Play it again"}),(0,s.jsx)(h.$,{size:"sm",variant:"ghost",asChild:!0,children:(0,s.jsxs)(n(),{href:"/p/ledger/brief",children:[(0,s.jsx)(d.F,{}),"New brief"]})})]})]}):D>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"walk-in relative flex",style:{gap:32},children:[k.screens.map((e,t)=>(0,s.jsx)("div",{style:{width:I.w,height:I.h},children:(0,s.jsxs)(L,{screen:e,device:k.device,className:"size-full",children:[0===t&&(0,s.jsx)(R,{pins:k.pins}),0===t&&k.working&&(0,s.jsx)("span",{className:"absolute inset-0 grid place-items-center rounded-panel bg-bg-overlay",children:(0,s.jsx)(x.q,{state:"drawing",className:"size-10 text-fg-primary"})})]})},t)),!N&&(0,s.jsx)("div",{className:"absolute left-full top-8 -ml-12",children:O})]},k.id),N&&(0,s.jsx)("div",{className:"w-full max-w-md",children:O})]})}),(0,s.jsxs)("nav",{"aria-label":"Steps",className:"flex max-w-full shrink-0 items-center gap-3 self-center overflow-x-auto px-4 pb-8 pt-3",children:[(0,s.jsx)(h.$,{variant:"ghost",size:"icon-sm","aria-label":a?"Pause":"Play",onClick:()=>r(!a),children:a?(0,s.jsx)(o.v,{weight:"fill"}):(0,s.jsx)(c.j,{weight:"fill"})}),(0,s.jsx)("div",{className:"flex gap-1.5",children:e.map((e,n)=>(0,s.jsxs)("button",{type:"button",onClick:()=>i(n),"aria-current":n===t?"step":void 0,className:"flex w-10 shrink-0 flex-col gap-2 rounded-item py-1 text-left outline-hidden focus-visible:ring-2 focus-visible:ring-ring md:w-24",children:[(0,s.jsx)("span",{className:(0,b.cn)("relative h-0.5 overflow-hidden rounded-full",n<t?"bg-fg-muted":"bg-fill-control"),children:n===t&&(0,s.jsx)("span",{className:"walk-progress absolute inset-0 bg-fg-primary",style:{animationPlayState:!a||g?"paused":"running"}},t)}),(0,s.jsx)("span",{className:(0,b.cn)("truncate text-xs font-medium max-md:sr-only",n===t?"text-fg-primary":"text-fg-meta"),children:e.screens[0].name})]},e.id))})]})]})}},b:{name:"The briefing",C:function(){let e=new Date().toLocaleDateString("en-GB",{weekday:"long",day:"numeric",month:"long"});return(0,s.jsx)("div",{className:"h-dvh overflow-y-auto pt-14",children:(0,s.jsxs)("article",{className:"mx-auto grid max-w-2xl gap-12 px-4 pb-24 pt-10",children:[(0,s.jsxs)("header",{className:"grid gap-3",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm text-fg-meta",children:[(0,s.jsx)(x.q,{state:"waiting",className:"size-4 text-agent-wait"}),e]}),(0,s.jsx)("h1",{className:"font-heading text-title font-semibold text-balance text-fg-primary",children:"Three things are ready for you"}),(0,s.jsx)("p",{className:"text-ui text-pretty text-fg-secondary",children:"Since yesterday I drew new versions of Settings and Today, and a first round of six directions for Week. Billing is being drawn now."})]}),S.map(e=>(0,s.jsxs)("section",{className:"grid min-w-0 gap-3",children:[(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsxs)("div",{className:"grid min-w-0 flex-1 gap-0.5",children:[(0,s.jsx)("h2",{className:"text-ui font-medium text-fg-primary",children:e.title}),(0,s.jsx)("span",{className:"text-sm text-fg-meta",children:e.line})]}),(0,s.jsx)(h.$,{size:"sm",variant:"primary",asChild:!0,children:(0,s.jsx)(n(),{href:e.action.href,children:e.action.label})})]}),(0,s.jsx)("div",{className:(0,b.cn)("flex justify-center gap-4 overflow-hidden rounded-panel bg-bg-content p-6 max-md:gap-3 max-md:p-3","phone"===e.device&&"py-8"),children:e.screens.map((t,i)=>(0,s.jsx)(L,{screen:t,device:e.device,className:"phone"===e.device?e.screens.length>1?"h-96 max-md:h-52":"h-96 max-md:h-72":"w-full",children:0===i&&(0,s.jsx)(R,{pins:e.pins})},i))}),(0,s.jsx)("p",{className:"text-ui text-pretty text-fg-secondary",children:e.body})]},e.id)),(0,s.jsx)(p.wn,{title:"Still going",children:(0,s.jsxs)("div",{className:"grid",children:[M.map(e=>(0,s.jsx)(p.fI,{href:"/p/ledger",lead:(0,s.jsx)(x.q,{state:"drawing",className:"size-4 text-fg-primary"}),title:"Billing",parent:"Ledger, drawing version 2",trail:"2:14"},e.id)),(0,s.jsx)(p.fI,{href:"/p/portfolio-site",lead:(0,s.jsx)(v.rA,{status:"built",tip:!1}),title:"Portfolio site",parent:"Home and Series are live"})]})})]})})}},c:{name:"Start here",C:function(){let[e,t]=(0,l.useState)("ledger");return(0,s.jsx)("div",{className:"h-dvh overflow-y-auto pt-14",children:(0,s.jsxs)("div",{className:"mx-auto grid min-h-full max-w-xl content-center gap-10 px-4 py-12",children:[(0,s.jsxs)("div",{className:"grid gap-4",children:[(0,s.jsx)(x.q,{state:"idle",className:"size-8 text-fg-muted"}),(0,s.jsx)("h1",{className:"font-heading text-title font-semibold text-balance text-fg-primary",children:"What should we make next?"}),(0,s.jsx)(p.Dk,{label:"Describe what you want made",onSend:async()=>"Sample only: nothing is sent from the lab."}),(0,s.jsxs)(g.O,{type:"single",size:"sm",value:e,onValueChange:e=>e&&t(e),"aria-label":"Where it goes",className:"w-fit",children:[(0,s.jsx)(g.d,{value:"ledger",children:"Ledger"}),(0,s.jsx)(g.d,{value:"habit-tracker",children:"Habit tracker"}),(0,s.jsx)(g.d,{value:"new",children:"New project"})]})]}),(0,s.jsx)(p.wn,{title:"Ready for you",count:S.length,children:(0,s.jsx)("div",{className:"grid gap-2",children:S.map(e=>(0,s.jsx)(p.lo,{title:e.title,why:e.project,href:e.action.href,lead:(0,s.jsx)(v.rA,{status:"review",tip:!1}),action:(0,s.jsx)(h.$,{size:"sm",asChild:!0,children:(0,s.jsx)(n(),{href:e.action.href,children:e.action.label})}),children:(0,s.jsx)("div",{className:"flex gap-3 overflow-hidden rounded-item bg-bg-content p-3",children:e.screens.map((t,i)=>(0,s.jsx)(L,{screen:t,device:e.device,className:"h-32 shadow-none"},i))})},e.id))})}),(0,s.jsx)(p.wn,{title:"Being drawn",children:(0,s.jsx)(p.fI,{href:"/p/ledger",lead:(0,s.jsx)(x.q,{state:"drawing",className:"size-4 text-fg-primary"}),title:"Billing",parent:"Ledger, version 2",trail:"2:14"})})]})})}}};function T(){let e=(0,r.useSearchParams)(),[t,i]=(0,l.useState)(()=>{var t;return["a","b","c"].includes(null!=(t=e.get("d"))?t:"")?e.get("d"):"a"}),{C:a}=A[t];return(0,s.jsxs)("div",{className:"min-h-dvh bg-bg-chrome",children:[(0,s.jsx)(C,{}),(0,s.jsx)(a,{},t),!e.has("bare")&&(0,s.jsx)("div",{className:"fixed bottom-4 right-4 z-50 max-md:hidden",children:(0,s.jsx)(g.O,{type:"single",size:"sm",value:t,onValueChange:e=>e&&i(e),"aria-label":"Direction",className:"shadow-float",children:Object.keys(A).map(e=>(0,s.jsx)(g.d,{value:e,children:A[e].name},e))})})]})}function D(){return(0,s.jsx)(l.Suspense,{children:(0,s.jsx)(T,{})})}}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,4873,2548,5384,645,847,82,1620,8441,1255,7358],()=>e(e.s=25626)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4014],{3570:(a,e,t)=>{"use strict";t.d(e,{t:()=>m});var l=t(12115),n=t(33144);let r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"}),l.createElement("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"}))]]),s=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:r}));s.displayName="HouseIcon";let m=s},17400:(a,e,t)=>{"use strict";t.d(e,{r:()=>m});var l=t(12115),n=t(33144);let r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M68,102.06V40a12,12,0,0,0-24,0v62.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V169.94a36,36,0,0,0,0-67.88ZM56,148a12,12,0,1,1,12-12A12,12,0,0,1,56,148ZM164,88a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0V54.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V121.94A36.07,36.07,0,0,0,164,88Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,128,100Zm108,68a36.07,36.07,0,0,0-24-33.94V40a12,12,0,0,0-24,0v94.06a36,36,0,0,0,0,67.88V216a12,12,0,0,0,24,0V201.94A36.07,36.07,0,0,0,236,168Zm-36,12a12,12,0,1,1,12-12A12,12,0,0,1,200,180Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M80,136a24,24,0,1,1-24-24A24,24,0,0,1,80,136Zm48-72a24,24,0,1,0,24,24A24,24,0,0,0,128,64Zm72,80a24,24,0,1,0,24,24A24,24,0,0,0,200,144Z",opacity:"0.2"}),l.createElement("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M84,136a28,28,0,0,1-20,26.83V216a8,8,0,0,1-16,0V162.83a28,28,0,0,1,0-53.66V40a8,8,0,0,1,16,0v69.17A28,28,0,0,1,84,136Zm52-74.83V40a8,8,0,0,0-16,0V61.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V114.83a28,28,0,0,0,0-53.66Zm72,80V40a8,8,0,0,0-16,0V141.17a28,28,0,0,0,0,53.66V216a8,8,0,0,0,16,0V194.83a28,28,0,0,0,0-53.66Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M62,106.6V40a6,6,0,0,0-12,0v66.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V165.4a30,30,0,0,0,0-58.8ZM56,154a18,18,0,1,1,18-18A18,18,0,0,1,56,154Zm78-95.4V40a6,6,0,0,0-12,0V58.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V117.4a30,30,0,0,0,0-58.8ZM128,106a18,18,0,1,1,18-18A18,18,0,0,1,128,106Zm102,62a30.05,30.05,0,0,0-24-29.4V40a6,6,0,0,0-12,0v98.6a30,30,0,0,0,0,58.8V216a6,6,0,0,0,12,0V197.4A30.05,30.05,0,0,0,230,168Zm-30,18a18,18,0,1,1,18-18A18,18,0,0,1,200,186Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M64,105V40a8,8,0,0,0-16,0v65a32,32,0,0,0,0,62v49a8,8,0,0,0,16,0V167a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,56,152Zm80-95V40a8,8,0,0,0-16,0V57a32,32,0,0,0,0,62v97a8,8,0,0,0,16,0V119a32,32,0,0,0,0-62Zm-8,47a16,16,0,1,1,16-16A16,16,0,0,1,128,104Zm104,64a32.06,32.06,0,0,0-24-31V40a8,8,0,0,0-16,0v97a32,32,0,0,0,0,62v17a8,8,0,0,0,16,0V199A32.06,32.06,0,0,0,232,168Zm-32,16a16,16,0,1,1,16-16A16,16,0,0,1,200,184Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M60,108.29V40a4,4,0,0,0-8,0v68.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V163.71a28,28,0,0,0,0-55.42ZM56,156a20,20,0,1,1,20-20A20,20,0,0,1,56,156Zm76-95.71V40a4,4,0,0,0-8,0V60.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V115.71a28,28,0,0,0,0-55.42ZM128,108a20,20,0,1,1,20-20A20,20,0,0,1,128,108Zm100,60a28,28,0,0,0-24-27.71V40a4,4,0,0,0-8,0V140.29a28,28,0,0,0,0,55.42V216a4,4,0,0,0,8,0V195.71A28,28,0,0,0,228,168Zm-28,20a20,20,0,1,1,20-20A20,20,0,0,1,200,188Z"}))]]),s=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:r}));s.displayName="SlidersIcon";let m=s},26510:(a,e,t)=>{"use strict";t.d(e,{Y:()=>m});var l=t(12115),n=t(33144);let r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M232.49,55.51l-32-32a12,12,0,0,0-17,0l-96,96A12,12,0,0,0,84,128v32a12,12,0,0,0,12,12h32a12,12,0,0,0,8.49-3.51l96-96A12,12,0,0,0,232.49,55.51ZM192,49l15,15L196,75,181,60Zm-69,99H108V133l56-56,15,15Zm105-7.43V208a20,20,0,0,1-20,20H48a20,20,0,0,1-20-20V48A20,20,0,0,1,48,28h67.43a12,12,0,0,1,0,24H52V204H204V140.57a12,12,0,0,1,24,0Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M200,88l-72,72H96V128l72-72Z",opacity:"0.2"}),l.createElement("path",{d:"M229.66,58.34l-32-32a8,8,0,0,0-11.32,0l-96,96A8,8,0,0,0,88,128v32a8,8,0,0,0,8,8h32a8,8,0,0,0,5.66-2.34l96-96A8,8,0,0,0,229.66,58.34ZM124.69,152H104V131.31l64-64L188.69,88ZM200,76.69,179.31,56,192,43.31,212.69,64ZM224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Zm5.66-58.34-96,96A8,8,0,0,1,128,168H96a8,8,0,0,1-8-8V128a8,8,0,0,1,2.34-5.66l96-96a8,8,0,0,1,11.32,0l32,32A8,8,0,0,1,229.66,69.66Zm-17-5.66L192,43.31,179.31,56,200,76.69Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M228.24,59.76l-32-32a6,6,0,0,0-8.48,0l-96,96A6,6,0,0,0,90,128v32a6,6,0,0,0,6,6h32a6,6,0,0,0,4.24-1.76l96-96A6,6,0,0,0,228.24,59.76ZM125.51,154H102V130.49l66-66L191.51,88ZM200,79.51,176.49,56,192,40.49,215.51,64ZM222,128v80a14,14,0,0,1-14,14H48a14,14,0,0,1-14-14V48A14,14,0,0,1,48,34h80a6,6,0,0,1,0,12H48a2,2,0,0,0-2,2V208a2,2,0,0,0,2,2H208a2,2,0,0,0,2-2V128a6,6,0,0,1,12,0Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M229.66,58.34l-32-32a8,8,0,0,0-11.32,0l-96,96A8,8,0,0,0,88,128v32a8,8,0,0,0,8,8h32a8,8,0,0,0,5.66-2.34l96-96A8,8,0,0,0,229.66,58.34ZM124.69,152H104V131.31l64-64L188.69,88ZM200,76.69,179.31,56,192,43.31,212.69,64ZM224,128v80a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h80a8,8,0,0,1,0,16H48V208H208V128a8,8,0,0,1,16,0Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M226.83,61.17l-32-32a4,4,0,0,0-5.66,0l-96,96A4,4,0,0,0,92,128v32a4,4,0,0,0,4,4h32a4,4,0,0,0,2.83-1.17l96-96A4,4,0,0,0,226.83,61.17ZM126.34,156H100V129.66l68-68L194.34,88ZM200,82.34,173.66,56,192,37.66,218.34,64ZM220,128v80a12,12,0,0,1-12,12H48a12,12,0,0,1-12-12V48A12,12,0,0,1,48,36h80a4,4,0,0,1,0,8H48a4,4,0,0,0-4,4V208a4,4,0,0,0,4,4H208a4,4,0,0,0,4-4V128a4,4,0,0,1,8,0Z"}))]]),s=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:r}));s.displayName="NotePencilIcon";let m=s},38138:(a,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>x});var l=t(95155),n=t(12115),r=t(3570),s=t(98038),m=t(95074),i=t(17400),c=t(26510),d=t(88239),h=t(49255),V=t(41620),Z=t(80526);let g=new Date(Date.now()-134e3).toISOString(),A=[{label:"Reading",status:{state:"reading",text:"Reading the brief for Settings",since:g}},{label:"Drawing",status:{state:"drawing",text:"Drawing version 4 of Settings",since:g}},{label:"Looking",status:{state:"looking",text:"Pinning its calls on Settings",since:g}},{label:"Thinking",status:{state:"thinking",text:"Answering your note",since:g}},{label:"Waiting on you",status:{state:"waiting",text:"Settings is ready to review"}},{label:"Idle",status:{state:"idle",text:"Ready for a brief"}}],u=()=>(0,l.jsx)("span",{className:"w-4 shrink-0 overflow-hidden","aria-hidden":!0,children:(0,l.jsx)("span",{className:"block w-28",children:(0,l.jsx)(d.S,{collapsed:!0})})});function o(a){let{status:e,elsewhere:t}=a;return(0,l.jsxs)("span",{className:"inline-flex h-9 max-w-full items-center gap-2.5 rounded-pill bg-bg-floating pl-3 pr-4 shadow-float",children:[(0,l.jsx)(u,{}),(0,l.jsx)("span",{className:"shrink-0 text-ui font-medium text-fg-primary",children:"Ledger"}),(0,l.jsx)("span",{"aria-hidden":!0,className:"w-1"}),(0,l.jsx)(V.i,{status:e}),t&&(0,l.jsx)("span",{className:"shrink-0 border-l pl-2.5 text-xs font-medium text-fg-secondary max-md:hidden",children:t})]})}function p(a){let{status:e}=a,t=[[r.t,"Home"],[s.F,"New brief"],[m.l,"Design system"],[i.r,"Autonomy"],[c.Y,"Notes"]];return(0,l.jsxs)("div",{className:"w-full max-w-lg overflow-hidden rounded-dialog bg-bg-floating shadow-float",children:[(0,l.jsxs)("div",{className:"flex h-11 items-center gap-2.5 px-3",children:[(0,l.jsx)(u,{}),(0,l.jsx)("span",{className:"shrink-0 text-ui font-medium text-fg-primary",children:"Ledger"}),(0,l.jsx)("span",{"aria-hidden":!0,className:"flex-1"}),(0,l.jsx)(V.i,{status:e})]}),(0,l.jsx)("div",{className:"flex flex-wrap gap-1 px-3 pb-3",children:t.map((a,e)=>{let[t,n]=a;return(0,l.jsxs)("span",{className:"flex w-22 flex-col items-center gap-1.5 py-1",children:[(0,l.jsx)("span",{className:(0,Z.cn)("grid size-11 place-items-center rounded-full bg-bg-raised shadow-button [&_svg]:size-5",0===e?"text-fg-primary":"text-fg-secondary"),children:(0,l.jsx)(t,{weight:0===e?"fill":"regular"})}),(0,l.jsx)("span",{className:(0,Z.cn)("text-xs font-medium",0===e?"text-fg-primary":"text-fg-meta"),children:n})]},n)})})]})}function H(){let[a,e]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let a=setInterval(()=>e(a=>(a+1)%A.length),2600);return()=>clearInterval(a)},[]),(0,l.jsx)(o,{status:A[a].status})}function M(a){let{name:e,children:t}=a;return(0,l.jsxs)("section",{className:"grid gap-6 rounded-dialog bg-bg-chrome p-8 shadow-ring-strong",children:[(0,l.jsx)("h2",{className:"text-ui font-medium text-fg-primary",children:e}),t]})}function x(){return(0,l.jsx)("div",{className:"min-h-dvh bg-bg-chrome px-4 py-10 md:px-10",children:(0,l.jsxs)("div",{className:"mx-auto grid max-w-6xl gap-6",children:[(0,l.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"The island's agent status"}),(0,l.jsxs)(M,{name:"The agent's mark",children:[(0,l.jsx)("div",{className:"grid grid-cols-3 gap-3 md:grid-cols-6",children:A.map(a=>{let e,{label:t,status:n}=a;return(0,l.jsxs)("div",{className:"grid justify-items-center gap-3 rounded-panel bg-bg-floating py-6 shadow-button",children:[(0,l.jsx)(h.q,{state:n.state,className:(0,Z.cn)("size-16","waiting"===(e=n.state)?"text-status-warning":"idle"===e?"text-fg-muted":"text-fg-primary")}),(0,l.jsx)("span",{className:"text-xs font-medium text-fg-meta",children:t})]},t)})}),(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(H,{})})]}),(0,l.jsx)(M,{name:"Closed",children:(0,l.jsx)("div",{className:"grid justify-items-center gap-4",children:A.map(a=>{let{label:e,status:t}=a;return(0,l.jsx)(o,{status:t,elsewhere:"waiting"===t.state||"idle"===t.state?"Habit tracker needs you":void 0},e)})})}),(0,l.jsx)(M,{name:"Open",children:(0,l.jsxs)("div",{className:"grid justify-items-center gap-4",children:[(0,l.jsx)(p,{status:A[1].status}),(0,l.jsx)(p,{status:A[4].status}),(0,l.jsx)(p,{status:A[5].status})]})})]})})}},45878:(a,e,t)=>{"use strict";t.d(e,{i:()=>m});var l=t(12115),n=t(33144);let r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),l.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"}))]]),s=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:r}));s.displayName="FileTextIcon";let m=s},75804:(a,e,t)=>{Promise.resolve().then(t.bind(t,38138))},95074:(a,e,t)=>{"use strict";t.d(e,{l:()=>m});var l=t(12115),n=t(33144);let r=new Map([["bold",l.createElement(l.Fragment,null,l.createElement("path",{d:"M242.79,149.32,223.7,97.11A20,20,0,0,0,198.12,85.2l-61.31,22.22L147.7,45.18A20,20,0,0,0,131.55,22L76.87,12.31A19.94,19.94,0,0,0,53.76,28.55l-25,143.13A48,48,0,0,0,67.4,227.26a51.19,51.19,0,0,0,8.7.74H224a20,20,0,0,0,20-20V156.19A21.74,21.74,0,0,0,242.79,149.32ZM99,184.18a23.84,23.84,0,0,1-9.86,15.56,23.28,23.28,0,0,1-17.56,3.89,24,24,0,0,1-19.23-27.82L76.71,36.66,123.37,45,99,184.18Zm23.64,4.13,9.39-53.64,70.49-25.54,16.3,44.59-96.23,34.87C122.62,188.5,122.65,188.41,122.66,188.31ZM220,204H150.52L220,178.82ZM89.22,174.07l-1.4,8A12,12,0,0,1,76,192a12.35,12.35,0,0,1-2.08-.18,12,12,0,0,1-9.75-13.89l1.4-8a12,12,0,0,1,23.64,4.14Z"}))],["duotone",l.createElement(l.Fragment,null,l.createElement("path",{d:"M135.88,43.11l-25,143.14a35.71,35.71,0,0,1-41.34,29.2h0a36,36,0,0,1-28.95-41.71l25-143.13a8,8,0,0,1,9.19-6.49l54.67,9.73A8,8,0,0,1,135.88,43.11Z",opacity:"0.2"}),l.createElement("path",{d:"M88,180a12,12,0,1,1-12-12A12,12,0,0,1,88,180Zm152-23.81V208a16,16,0,0,1-16,16H76a46.36,46.36,0,0,1-7.94-.68,44,44,0,0,1-35.43-50.95l25-143.13a15.94,15.94,0,0,1,18.47-13L130.84,26a16,16,0,0,1,12.92,18.52l-12.08,69L199.49,89a16,16,0,0,1,20.45,9.52L239,150.69A18.35,18.35,0,0,1,240,156.19ZM103,184.87,128,41.74,73.46,32l-25,143.1A28,28,0,0,0,70.9,207.57,27.29,27.29,0,0,0,91.46,203,27.84,27.84,0,0,0,103,184.87ZM116.78,195,224,156.11,204.92,104,128.5,131.7l-9.78,55.92A44.63,44.63,0,0,1,116.78,195ZM224,173.12,127.74,208H224Z"}))],["fill",l.createElement(l.Fragment,null,l.createElement("path",{d:"M240,155.91a16,16,0,0,0-1-5.22L219.94,98.48A16,16,0,0,0,199.49,89l-67.81,24.57,12.08-69A16,16,0,0,0,130.84,26L76.17,16.25a15.94,15.94,0,0,0-18.47,13l-25,143.12A43.82,43.82,0,0,0,75.78,224H224a16,16,0,0,0,16-16ZM76,196a16,16,0,1,1,16-16A16,16,0,0,1,76,196Zm42.72-8.38,9.78-55.92L204.92,104,224,156.11,116.78,195A44.89,44.89,0,0,0,118.72,187.62ZM224,208H127.74L224,173.11Z"}))],["light",l.createElement(l.Fragment,null,l.createElement("path",{d:"M86,180a10,10,0,1,1-10-10A10,10,0,0,1,86,180Zm152-23.81V208a14,14,0,0,1-14,14H76a44.18,44.18,0,0,1-7.58-.65,42,42,0,0,1-33.81-48.64l25-143.13A13.94,13.94,0,0,1,75.82,18.22l54.67,9.72a14,14,0,0,1,11.3,16.21l-12.67,72.44,71-25.75a14,14,0,0,1,17.89,8.32l19.09,52.22A15.66,15.66,0,0,1,238,156.19Zm-133.07,29L130,42.08a2,2,0,0,0-1.58-2.32L73.72,30l-.34,0a1.84,1.84,0,0,0-1.07.35,2,2,0,0,0-.82,1.3l-25,143.13a30,30,0,0,0,24.09,34.76,29.25,29.25,0,0,0,22-4.89,29.81,29.81,0,0,0,12.33-19.44Zm8.25,13.17L224.71,158a2,2,0,0,0,1.11-1,1.86,1.86,0,0,0,.06-1.46l-19.09-52.21a2,2,0,0,0-2.53-1.17l-77.53,28.09-10,57.07A41.9,41.9,0,0,1,113.18,198.38ZM226,170.27,116.35,210H224a2,2,0,0,0,2-2Z"}))],["regular",l.createElement(l.Fragment,null,l.createElement("path",{d:"M88,180a12,12,0,1,1-12-12A12,12,0,0,1,88,180Zm152-23.81V208a16,16,0,0,1-16,16H76a46.36,46.36,0,0,1-7.94-.68,44,44,0,0,1-35.43-50.95l25-143.13a15.94,15.94,0,0,1,18.47-13L130.84,26a16,16,0,0,1,12.92,18.52l-12.08,69L199.49,89a16,16,0,0,1,20.45,9.52L239,150.69A18.35,18.35,0,0,1,240,156.19ZM103,184.87,128,41.74,73.46,32l-25,143.1A28,28,0,0,0,70.9,207.57,27.29,27.29,0,0,0,91.46,203,27.84,27.84,0,0,0,103,184.87ZM116.78,195,224,156.11,204.92,104,128.5,131.7l-9.78,55.92A44.63,44.63,0,0,1,116.78,195ZM224,173.12,127.74,208H224Z"}))],["thin",l.createElement(l.Fragment,null,l.createElement("path",{d:"M235.27,152.07,216.19,99.85a12,12,0,0,0-15.34-7.13l-74.3,26.92,13.27-75.83a12,12,0,0,0-9.68-13.9L75.47,20.19a11.75,11.75,0,0,0-8.89,2,11.9,11.9,0,0,0-4.94,7.77l-25,143.13A40,40,0,0,0,68.8,219.39,42.68,42.68,0,0,0,76,220H224a12,12,0,0,0,12-12V156.19A14,14,0,0,0,235.27,152.07Zm-31.7-51.83a4,4,0,0,1,5.1,2.36l19.09,52.21a3.9,3.9,0,0,1-.13,3,3.94,3.94,0,0,1-2.24,2L108.78,202.11a40,40,0,0,0,6-15.17L125,128.73ZM93.75,206.29a31.25,31.25,0,0,1-23.55,5.22,32,32,0,0,1-25.71-37.08l25-143.13a4,4,0,0,1,1.64-2.59A3.85,3.85,0,0,1,73.38,28a4,4,0,0,1,.69.06l54.67,9.73a4,4,0,0,1,3.2,4.64l-25,143.13h0A31.79,31.79,0,0,1,93.75,206.29ZM228,208a4,4,0,0,1-4,4H105l123-44.59ZM84,180a8,8,0,1,1-8-8A8,8,0,0,1,84,180Z"}))]]),s=l.forwardRef((a,e)=>l.createElement(n.A,{ref:e,...a,weights:r}));s.displayName="SwatchesIcon";let m=s}},a=>{a.O(0,[5219,4809,2619,3078,8362,280,7404,2548,645,847,1620,8441,1255,7358],()=>a(a.s=75804)),_N_E=a.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9241],{30585:(e,s,t)=>{Promise.resolve().then(t.bind(t,98001))},77792:(e,s,t)=>{"use strict";t.d(s,{$D:()=>m,LU:()=>x,vj:()=>d});var a=t(95155),n=t(57784),i=t(68772),r=t(55338),l=t(68515),c=t(80526);let o=[{id:"opus",name:"Opus 5.5",line:"Recommended. Strong on most design work."},{id:"fable",name:"Fable 5.2",line:"The most capable, for the hardest briefs. About twice the cost."},{id:"sonnet",name:"Sonnet 5.5",line:"Faster, for quick rounds. About half the cost."}];function d(e){var s;let{model:t,crew:l,onModel:d,onCrew:m,pieces:x=1,piece:p="direction",className:g}=e,j=null!=(s=o.find(e=>e.id===t))?s:o[0],f=x>1;return(0,a.jsxs)("div",{className:(0,c.cn)("grid gap-1.5",g),children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsxs)(r.rI,{modal:!1,children:[(0,a.jsx)(r.ty,{asChild:!0,children:(0,a.jsxs)(i.$,{size:"sm","aria-label":"Model: ".concat(j.name),children:[j.name,(0,a.jsx)(n.a,{weight:"bold",className:"text-fg-muted"})]})}),(0,a.jsx)(r.SQ,{align:"start",className:"w-72",children:(0,a.jsx)(r.Hr,{value:t,onValueChange:e=>d(e),children:o.map(e=>(0,a.jsx)(r.Ht,{value:e.id,className:"h-auto items-start py-2",children:(0,a.jsxs)("span",{className:"grid gap-0.5",children:[(0,a.jsx)("span",{className:"font-medium text-fg-primary",children:e.name}),(0,a.jsx)("span",{className:"text-sm text-fg-meta text-pretty",children:e.line})]})},e.id))})})]}),f&&(0,a.jsx)(h,{crew:l,onCrew:m})]}),f&&(0,a.jsx)(u,{children:function(e,s,t){if("one"===e)return"One agent works through it, one ".concat(t," after another.");let a=Math.min(s,5);return"A lead splits it into ".concat(s," ").concat(t,"s, ").concat(a===s?"draws them all at once":"".concat(a," at a time"),", and a fresh agent checks them. About ").concat(3>=Math.min(s,5)?"3":"4"," times the cost of one agent.")}(l,x,p)})]})}function h(e){let{crew:s,onCrew:t}=e;return(0,a.jsxs)(l.O,{type:"single",size:"sm",value:s,onValueChange:e=>e&&t(e),"aria-label":"Who works on it",children:[(0,a.jsx)(l.d,{value:"one",children:"One agent"}),(0,a.jsx)(l.d,{value:"team",children:"Team"})]})}let m=[{id:"one",name:"One agent",line:"Once you approve the plan, one agent builds it, one screen after another."},{id:"team",name:"Team",line:"A lead gives each screen its own agent, up to 5 at once, and a fresh agent checks them. About 4 times the cost."}];function u(e){let{children:s}=e;return(0,a.jsx)("p",{className:"text-sm text-fg-meta text-pretty",children:s})}let x="__new"},88239:(e,s,t)=>{"use strict";let a;t.d(s,{S:()=>d});var n=t(95155),i=t(12115),r=t(80526),l=t(80669),c=t.n(l);let o=[..."layground"];function d(e){let{collapsed:s}=e,t=(0,i.useId)().replace(/:/g,""),l=e=>o.map(()=>4*!e),[d,h]=(0,i.useState)(()=>l(null!=a?a:s)),m=(0,i.useRef)(null!=a?a:s);(0,i.useEffect)(()=>{if(a=s,m.current===s)return;if(m.current=s,matchMedia("(prefers-reduced-motion: reduce)").matches)return h(l(s));let e=(e,s)=>{let t=getComputedStyle(document.documentElement).getPropertyValue(e).trim();return(parseFloat(t)||s)*(t.endsWith("ms")?1:1e3)},t=o.length,n=s?e("--dur-quick",.2)/2:e("--dur-instant",.15),i=s?n/(t-1):n/6,r=performance.now(),c=0,d=e=>{let a=e-r;h(o.map((e,t)=>{let r=Math.floor(4*Math.max(0,Math.min(1,(a-(s?o.length-1-t:t)*i)/n)));return s?4-r:r})),a<(t-1)*i+n?c=requestAnimationFrame(d):h(l(s))};return c=requestAnimationFrame(d),()=>cancelAnimationFrame(c)},[s]);let u={1:[[0,0]],2:[[0,0],[2,2]],3:[[0,0],[2,0],[0,2]]};return(0,n.jsxs)("svg",{role:"img","aria-label":"Playground",className:(0,r.cn)(c().className,"h-8 w-full overflow-hidden text-fg-primary"),children:[(0,n.jsx)("defs",{children:[1,2,3].map(e=>(0,n.jsx)("pattern",{id:"".concat(t,"-d").concat(e),width:"4",height:"4",patternUnits:"userSpaceOnUse",children:u[e].map(e=>{let[s,t]=e;return(0,n.jsx)("rect",{x:s,y:t,width:"2",height:"2",fill:"currentColor"},"".concat(s).concat(t))})},e))}),(0,n.jsxs)("text",{x:"0",y:"22",fontSize:"20",fill:"currentColor",children:["P",o.map((e,s)=>{let a;return(0,n.jsx)("tspan",{fill:(a=d[s])>=4?"currentColor":a<=0?"transparent":"url(#".concat(t,"-d").concat(a,")"),children:e},s)})]})]})}},98001:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>S});var a=t(95155),n=t(12115),i=t(45878),r=t(88702),l=t(3278),c=t(23185),o=t(37326),d=t(21886),h=t(26510),m=t(68772),u=t(85568),x=t(88239),p=t(50847),g=t(28976),j=t(77792),f=t(80526);let w=[["promise-first-r1-020d","Promise first","keep"],["starter-picker-r1-ef7d","Starter picker",""],["pause-rehearsal-r1-e15a","Pause rehearsal","keep"],["type-your-own-r1-6a56","Type your own","cut"],["straight-to-today-r1-bad3","Straight to Today",""],["one-big-check-r1-1efe","One big check",""]],y=e=>"/api/studio/html?project=habit-tracker&spread=first-run&direction=".concat(e,"&shot=1"),v=e=>"/api/studio/notes?project=ledger&note=71cdc0f2&sketch=".concat(e,"&shot=1"),N=e=>{let{src:s,alt:t}=e;return(0,a.jsx)("img",{src:s,alt:t,className:"absolute inset-0 size-full object-cover object-top"})},b=["One accent per screen","Status is a word","List rows","Settings stays calm","Currency is per company","Streaks reset at 4am","No eyebrow above a heading","One action per card","Payment terms","Accent colour","Reminders go out at 9am","Overdue is a word, not red","Invoices sort newest first","Clients have one contact","Totals include tax","Agencies come after launch","Sign in by email link","Drafts never send","A missed day pauses a streak","One habit to start","No account before the first check-in","Weeks start on Monday","Stats show four weeks"].map((e,s)=>({t:e,kind:s%3==0?"Decision":s%3==1?"Lesson":"Preference",n:7*s%5+1}));function k(e){let{name:s,use:t,children:n,wide:i}=e;return(0,a.jsxs)("section",{className:"border-t py-10 first:border-t-0 first:pt-0",children:[(0,a.jsxs)("div",{className:"mb-5 max-w-2xl",children:[(0,a.jsx)("h2",{className:"text-title font-semibold text-fg-primary",children:s}),(0,a.jsx)("p",{className:"mt-1 text-ui text-fg-secondary",children:t})]}),(0,a.jsx)("div",{className:(0,f.cn)(i?"":"max-w-2xl"),children:n})]})}function A(){let{shown:e,pager:s}=(0,p.Xd)(b);return(0,a.jsx)("div",{children:(0,a.jsxs)(p.wn,{title:"Decisions and lessons",count:b.length,children:[(0,a.jsx)("div",{className:"grid",children:e.map(e=>(0,a.jsx)(p.fI,{lead:(0,a.jsx)(i.i,{className:"size-4 text-fg-muted"}),title:e.t,parent:e.kind,trail:"".concat(e.n," ").concat(1===e.n?"link":"links"),trailWidth:"w-14",onClick:()=>{}},e.t))}),(0,a.jsx)(p.is,{...s})]})})}function S(){return(0,a.jsx)("main",{className:"h-dvh overflow-y-auto bg-bg-content",children:(0,a.jsxs)("div",{className:"mx-auto max-w-5xl px-4 py-12 md:px-10",children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"The kit"}),(0,a.jsx)("p",{className:"mt-1 max-w-2xl text-ui text-fg-secondary",children:"One of each part. Every page in Playground is composed from these and draws nothing of its own."}),(0,a.jsxs)("div",{className:"mt-10",children:[(0,a.jsx)(k,{name:"Header",use:"Every page opens with it: the place's name, its actions on the right, and its parent above as a way back.",children:(0,a.jsx)("div",{className:"rounded-panel shadow-outline",children:(0,a.jsxs)(p.Y9,{crumbs:[{label:"Home",href:"#"}],title:"First run",children:[(0,a.jsx)(m.$,{size:"sm",children:"Mark"}),(0,a.jsx)(m.$,{variant:"primary",size:"sm",children:"Approve"})]})})}),(0,a.jsx)(k,{name:"Section, row and pager",use:"A group inside a page: a quiet heading with its count, rows with one anatomy, and pages of 10 once a list passes 10.",children:(0,a.jsx)(A,{})}),(0,a.jsx)(k,{name:"Status line",use:"The glyph, with words only when they add something. Red only for something stopped.",children:(0,a.jsxs)("div",{className:"grid gap-3",children:[(0,a.jsx)(p.vB,{status:"drawing",children:"Drawing round 2"}),(0,a.jsx)(p.vB,{status:"review",children:"Version 4"}),(0,a.jsx)(p.vB,{status:"approved"}),(0,a.jsx)(p.vB,{danger:!0,children:"Round 2 stopped: the agent couldn't reach Playground"})]})}),(0,a.jsx)(k,{name:"Count and pin",use:"A count says how many, never a status. A pin is a numbered mark placed on a picture.",children:(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-6",children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-2 text-ui text-fg-secondary",children:["Needs you ",(0,a.jsx)(p.y_,{n:3,label:"things"})]}),(0,a.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,a.jsx)(p.yU,{n:1}),(0,a.jsx)(p.yU,{n:2}),(0,a.jsx)(p.yU,{n:3,quiet:!0})]})]})}),(0,a.jsxs)(k,{name:"Tile",use:"A picture of work at its device's own shape, the name in full under it, one status glyph. Keep and Cut appear on the picture on hover and focus, and always on touch. Kept is the ring; cut is dimmed.",wide:!0,children:[(0,a.jsx)("div",{className:"grid grid-cols-3 gap-3 sm:grid-cols-6",children:w.map(e=>{let[s,t,n]=e;return(0,a.jsx)(p.FA,{device:"phone",name:t,picture:(0,a.jsx)(N,{src:y(s),alt:t}),selected:"keep"===n,dim:"cut"===n,onOpen:()=>{},actions:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.$,{variant:"ghost",size:"icon-sm","aria-label":"Keep ".concat(t),"aria-pressed":"keep"===n,className:(0,f.cn)("keep"===n&&"text-brand"),children:(0,a.jsx)(r.J,{weight:"bold"})}),(0,a.jsx)(m.$,{variant:"ghost",size:"icon-sm","aria-label":"Cut ".concat(t),"aria-pressed":"cut"===n,children:(0,a.jsx)(l.X,{weight:"bold"})})]})},s)})}),(0,a.jsxs)("div",{className:"mt-8 grid grid-cols-1 gap-3 sm:grid-cols-3",children:[(0,a.jsx)(p.FA,{device:"desktop",name:"Calm, worded",picture:(0,a.jsx)(N,{src:v("ed3ccd"),alt:"Calm, worded"}),onOpen:()=>{}}),(0,a.jsx)(p.FA,{device:"desktop",name:"Escalates with age",picture:(0,a.jsx)(N,{src:v("a91787"),alt:"Escalates with age"}),onOpen:()=>{}}),(0,a.jsx)(p.FA,{device:"desktop",name:"Onboarding",status:"brief",onOpen:()=>{}})]})]}),(0,a.jsx)(k,{name:"Decision card",use:"One thing that needs you: what it is, why it needs you, one action. A round holds its tiles under the line.",children:(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)(p.lo,{title:"First run",href:"#",why:"Round 1, 2 kept, 1 cut",action:(0,a.jsx)(m.$,{variant:"primary",size:"sm",children:"Next round"}),children:(0,a.jsx)("div",{className:"grid grid-cols-3 gap-2 p-1 sm:grid-cols-6",children:w.map(e=>{let[s,t,n]=e;return(0,a.jsx)(p.FA,{compact:!0,device:"phone",name:t,picture:(0,a.jsx)(N,{src:y(s),alt:t}),selected:"keep"===n,dim:"cut"===n,onOpen:()=>{}},s)})})}),(0,a.jsx)(p.lo,{title:"Stats",href:"#",lead:(0,a.jsx)(g.rA,{status:"review"}),why:"Version 4 is ready for your crit",action:(0,a.jsx)(m.$,{size:"sm",children:"Review"})}),(0,a.jsx)(p.lo,{title:"Status is a word, not a colour",href:"#",lead:(0,a.jsx)(c.R,{className:"size-4 text-fg-muted"}),why:"You cut 3 directions that showed lateness in red",action:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.$,{size:"sm",children:"Make it a rule"}),(0,a.jsx)(m.$,{variant:"ghost",size:"icon-sm","aria-label":"Not a rule",children:(0,a.jsx)(l.X,{})})]})}),(0,a.jsx)(p.lo,{title:"Billing",href:"#",lead:(0,a.jsx)(o.P,{className:"size-4 text-fg-muted"}),danger:!0,why:"Round 2 stopped: the agent couldn't reach Playground",action:(0,a.jsx)(m.$,{size:"sm",children:"Try again"})}),(0,a.jsx)(p.lo,{title:"Can reminders go out on weekends?",href:"#",lead:(0,a.jsx)(u.eu,{size:"sm",children:(0,a.jsx)(u.q5,{name:"Maya Okafor",children:"M"})}),why:"Maya on Settings, 9:20 AM"})]})}),(0,a.jsx)(k,{name:"Model and team",use:"Where work starts, the agent's model and whether one agent or a team takes it. The team is offered only when the work has separate pieces, and says what it does and costs.",children:(0,a.jsx)(O,{})}),(0,a.jsx)(k,{name:"Empty state",use:"What goes here, and the one thing that fills it.",children:(0,a.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,a.jsx)(p.pp,{icon:d.j,title:"No rules yet",line:"Rules the agent sees in your choices show up here."}),(0,a.jsx)(p.pp,{icon:h.Y,title:"No notes yet",action:(0,a.jsx)(m.$,{size:"sm",children:"New note"})})]})}),(0,a.jsx)(k,{name:"Composer",use:"Say something to the agent, typed or spoken. The island and a note use the same one.",children:(0,a.jsx)(p.Dk,{label:"Tell the agent",onSend:async()=>{}})}),(0,a.jsx)(k,{name:"The island's count",use:"Today the closed island shows a count of what needs you in other projects, right after this project's status, so it reads as this project's count. Two ways to say it's elsewhere.",children:(0,a.jsxs)("div",{className:"grid gap-4",children:[(0,a.jsx)(C,{label:"Now",count:(0,a.jsx)(p.y_,{n:3})}),(0,a.jsx)(C,{label:"A: the other project's initial",count:(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 border-l pl-2.5",children:[(0,a.jsx)(u.eu,{size:"sm",children:(0,a.jsx)(u.q5,{name:"Habit tracker",children:"H"})}),(0,a.jsx)("span",{className:"num text-xs font-medium text-fg-secondary",children:"3"})]})}),(0,a.jsx)(C,{label:"B: in words",count:(0,a.jsx)("span",{className:"border-l pl-2.5 text-xs font-medium text-fg-secondary",children:"3 elsewhere"})})]})})]})]})})}function C(e){let{label:s,count:t}=e;return(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,a.jsx)("span",{className:"w-48 text-sm text-fg-meta",children:s}),(0,a.jsxs)("span",{className:"inline-flex h-9 items-center gap-2.5 rounded-pill bg-bg-floating pl-3 pr-2 shadow-float",children:[(0,a.jsx)("span",{className:"w-4 shrink-0 overflow-hidden","aria-hidden":!0,children:(0,a.jsx)("span",{className:"block w-28",children:(0,a.jsx)(x.S,{collapsed:!0})})}),(0,a.jsx)("span",{className:"text-ui font-medium text-fg-primary",children:"Ledger"}),(0,a.jsx)("span",{className:"text-xs font-medium text-fg-meta",children:"Waiting on you"}),t]})]})}function O(){let[e,s]=(0,n.useState)("opus"),[t,i]=(0,n.useState)("one"),[r,l]=(0,n.useState)("opus");return(0,a.jsxs)("div",{className:"grid gap-8",children:[(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)("span",{className:"text-sm text-fg-meta",children:"A brief, six directions"}),(0,a.jsx)(j.vj,{model:e,crew:t,onModel:s,onCrew:i,pieces:6,piece:"direction"})]}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)("span",{className:"text-sm text-fg-meta",children:"Next version of one screen"}),(0,a.jsx)(j.vj,{model:r,crew:"one",onModel:l,onCrew:()=>{},pieces:1})]}),(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)("span",{className:"text-sm text-fg-meta",children:"A team at work"}),(0,a.jsx)(p.wn,{title:"First run, round 1",count:6,action:(0,a.jsx)(p.vB,{status:"drawing",children:"2 of 6 checked"}),children:(0,a.jsxs)("div",{className:"grid",children:[[["Promise first","approved","Checked"],["Starter picker","approved","Checked"],["Pause rehearsal","review","Being checked"],["Type your own","drawing","Drawing the second screen"],["Straight to Today","drawing","Reading the design system"]].map(e=>{let[s,t,n]=e;return(0,a.jsx)(p.fI,{lead:(0,a.jsx)(g.rA,{status:t,tip:!1}),title:s,parent:n,onClick:()=>{}},s)}),(0,a.jsx)(p.fI,{lead:(0,a.jsx)(g.rA,{status:"brief",tip:!1}),title:"One big check",parent:"Waiting for a free agent"})]})})]})]})}}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,3557,645,847,8441,1255,7358],()=>e(e.s=30585)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5378],{5496:(e,t,a)=>{"use strict";a.d(t,{GO:()=>v,MarksView:()=>j,oc:()=>f});var s=a(95155),n=a(12115),r=a(64245),l=a(81961),o=a(2914),i=a(78016),d=a(3278),c=a(68772),h=a(70921),p=a(68515),x=a(46508),m=a(80526),u=a(50645);let g="var(--bl-white)";function f(e){let{width:t,height:a,scale:r,tool:l,marks:o,onAdd:i}=e,d=(0,n.useRef)(null),[c,h]=(0,n.useState)(null),[p,x]=(0,n.useState)(null),u=e=>{let t=d.current.getBoundingClientRect();return[(e.clientX-t.left)/r,(e.clientY-t.top)/r]},f=e=>{p&&e.trim()&&i({id:"m".concat(Date.now()),kind:"text",size:16/r,x:p.x,y:p.y,text:e.trim()}),x(null)};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("svg",{ref:d,"data-markup":!0,width:t,height:a,className:(0,m.cn)("absolute left-0 top-0 overflow-visible touch-none","text"===l?"cursor-text":"cursor-crosshair"),onPointerDown:e=>{if(0!==e.button)return;let[t,a]=u(e);if("text"===l){e.preventDefault(),x({x:t,y:a});return}e.currentTarget.setPointerCapture(e.pointerId);let s="m".concat(Date.now());h("pen"===l?{id:s,kind:"pen",w:3/r,pts:[[t,a]]}:{id:s,kind:"box",w:3/r,x:t,y:a,bw:0,bh:0})},onPointerMove:e=>{if(!c)return;let[t,a]=u(e);if("pen"===c.kind){let[e,s]=c.pts[c.pts.length-1];Math.hypot(t-e,a-s)*r>=2&&h({...c,pts:[...c.pts,[t,a]]})}else"box"===c.kind&&h({...c,bw:t-c.x,bh:a-c.y})},onPointerUp:()=>{c&&(("pen"===c.kind?c.pts.length>1:"box"===c.kind&&Math.abs(c.bw)*r>6&&Math.abs(c.bh)*r>6)&&i("box"===c.kind?{...c,x:Math.min(c.x,c.x+c.bw),y:Math.min(c.y,c.y+c.bh),bw:Math.abs(c.bw),bh:Math.abs(c.bh)}:c),h(null))},onPointerCancel:()=>h(null),children:[...o,...c?[c]:[]].map(e=>(0,s.jsx)(b,{m:e},e.id))}),p&&(0,s.jsx)("input",{"data-markup-input":!0,autoFocus:!0,"aria-label":"Note on the canvas",placeholder:"Type a note",onKeyDown:e=>{"Enter"===e.key&&f(e.currentTarget.value),"Escape"===e.key&&(e.stopPropagation(),x(null))},onBlur:e=>f(e.currentTarget.value),className:"absolute origin-top-left bg-transparent font-medium outline-hidden placeholder:text-fg-meta",style:{left:p.x,top:p.y-12/r,transform:"scale(".concat(1/r,")"),fontSize:16,color:g,width:280}})]})}function j(e){let{width:t,height:a,marks:n}=e;return(0,s.jsx)("svg",{"aria-label":"Mark-up for Claude",role:"img",width:t,height:a,className:"pointer-events-none absolute left-0 top-0 overflow-visible",children:n.map(e=>(0,s.jsx)(b,{m:e},e.id))})}function b(e){let{m:t}=e;return"pen"===t.kind?(0,s.jsx)("polyline",{points:t.pts.map(e=>e.join(",")).join(" "),fill:"none",stroke:g,strokeWidth:t.w,strokeLinecap:"round",strokeLinejoin:"round"}):"box"===t.kind?(0,s.jsx)("rect",{x:t.x,y:t.y,width:t.bw,height:t.bh,rx:1.5*t.w,fill:"none",stroke:g,strokeWidth:t.w}):(0,s.jsx)("text",{x:t.x,y:t.y,fontSize:t.size,fontWeight:500,fill:g,stroke:"oklch(0 0 0 / 60%)",strokeWidth:t.size/8,paintOrder:"stroke",dominantBaseline:"middle",children:t.text})}let y=[{id:"pen",label:"Draw",Icon:r.h,key:"P"},{id:"box",label:"Box",Icon:l.M,key:"R"},{id:"text",label:"Note",Icon:o.G,key:"T"}];function v(e){let{tool:t,onTool:a,canUndo:n,onUndo:r,sending:l,onSend:o,onClose:g}=e,f=(e,t)=>(0,s.jsxs)(x.ZI,{side:"top",children:[e," ",(0,s.jsx)(h.u,{className:"ml-1",children:t})]});return(0,s.jsxs)("div",{role:"toolbar","aria-label":"Mark up",className:(0,m.cn)(u.LJ,"flex items-center gap-1 p-1"),children:[(0,s.jsx)(p.O,{type:"single",value:t,onValueChange:e=>e&&a(e),className:"bg-transparent p-0","aria-label":"Mark",children:y.map(e=>{let{id:t,label:a,Icon:n,key:r}=e;return(0,s.jsxs)(x.m_,{children:[(0,s.jsx)(x.k$,{asChild:!0,children:(0,s.jsx)(p.d,{value:t,"aria-label":a,className:"size-8 p-0 text-fg-secondary aria-checked:bg-fill-selected aria-checked:text-fg-primary aria-checked:shadow-none [&_svg]:!size-4",children:(0,s.jsx)(n,{})})}),f(a,r)]},t)})}),(0,s.jsxs)(x.m_,{children:[(0,s.jsx)(x.k$,{asChild:!0,children:(0,s.jsx)(c.$,{variant:"ghost",size:"icon-sm","aria-label":"Undo",disabled:!n,onClick:r,className:"size-8 text-fg-secondary [&_svg]:!size-4",children:(0,s.jsx)(i.o,{})})}),f("Undo","⌘Z")]}),(0,s.jsx)("span",{"aria-hidden":!0,className:"mx-0.5 h-4 w-hairline bg-border"}),(0,s.jsx)(c.$,{size:"sm",variant:"primary",disabled:!n||l,onClick:o,className:"mx-0.5 disabled:bg-fill-control disabled:text-fg-meta disabled:opacity-100",children:l?"Saving":"Save for Claude"}),(0,s.jsxs)(x.m_,{children:[(0,s.jsx)(x.k$,{asChild:!0,children:(0,s.jsx)(c.$,{variant:"ghost",size:"icon-sm","aria-label":"Close mark up",onClick:g,className:"size-8 text-fg-secondary [&_svg]:!size-4",children:(0,s.jsx)(d.X,{})})}),f("Close","Esc")]})]})}},18902:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>m});var s=a(95155),n=a(12115),r=a(80251),l=a(55229),o=a(50645),i=a(28976),d=a(5496),c=a(32523),h=a(99365);function p(e){let{name:t,note:a,children:n,surface:r="content",className:l}=e;return(0,s.jsxs)("section",{className:l,children:[(0,s.jsxs)("div",{className:"mb-2 flex items-baseline gap-2 px-1",children:[(0,s.jsx)("h2",{className:"text-xs font-medium text-fg-secondary",children:t}),a&&(0,s.jsx)("span",{className:"text-xs text-fg-muted",children:a})]}),(0,s.jsx)("div",{className:"content"===r?"rounded-panel bg-bg-content shadow-ring-strong":"rounded-panel bg-bg-chrome shadow-ring",children:n})]})}let x=[["10:04:12 AM","Drew version 3 of Stats","Habit tracker"],["10:03:40 AM","Read the feedback on Stats","Habit tracker"],["10:03:38 AM","Read the ios-design skill",""]];function m(){let[e,t]=(0,n.useState)("pen");return(0,s.jsx)(l.Bc,{children:(0,s.jsxs)("div",{className:"min-h-dvh bg-bg-chrome p-8",children:[(0,s.jsx)("h1",{className:"font-heading text-title font-semibold text-fg-primary",children:"Factory app parts"}),(0,s.jsx)("p",{className:"mt-1 text-sm text-fg-muted",children:"The new parts for Playground, built from the Baseline Design System. Review at 2x. Addresses and keys are samples."}),(0,s.jsx)("div",{className:"mt-8 grid gap-8",children:(0,s.jsx)("div",{className:"flex min-w-0 flex-col gap-8",children:(0,s.jsx)(p,{name:"Canvas toolbars",note:"Mark up (M) swaps in the mark-up toolbar; Save for Claude keeps a note on the screen",children:(0,s.jsxs)("div",{className:"dot-grid flex flex-wrap items-center gap-6 rounded-panel p-8",children:[(0,s.jsx)(o.E5,{tool:"select",zoom:.58}),(0,s.jsx)(d.GO,{tool:e,onTool:t,canUndo:!0,sending:!1,onUndo:()=>{},onSend:()=>{},onClose:()=>{}})]})})})}),(0,s.jsxs)("div",{className:"mt-8 grid gap-8",children:[(0,s.jsx)(p,{name:"Notes for Claude",note:"the screens column, after a mark-up",children:(0,s.jsxs)("div",{className:"p-2",children:[(0,s.jsx)("div",{className:"flex h-9 items-center pl-2 text-sm font-medium text-fg-meta",children:"Notes for Claude"}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-2 px-2 pb-2 pt-1",children:(0,s.jsx)("span",{className:"over-ring block aspect-[4/3] overflow-hidden rounded-item bg-bg-content",children:(0,s.jsx)("img",{src:"/sample/note-settings.png",alt:"Note on Settings, 2:55",className:"size-full object-contain"})})})]})}),(0,s.jsx)(p,{name:"Home",note:"no headline, no composer: what's waiting, then projects",children:(0,s.jsxs)("div",{className:"px-8 pb-6 pt-6",children:[(0,s.jsx)(o.Av,{children:"Waiting on you"}),(0,s.jsxs)("div",{className:"-mx-2 mt-2",children:[(0,s.jsx)(o.fI,{href:"#",lead:(0,s.jsx)(o.rA,{status:"review"}),status:i.qS.review,title:"Review the settings page",parent:"Ledger",trail:"10:04 AM"}),(0,s.jsx)(o.fI,{href:"#",lead:(0,s.jsx)(r.x,{className:"size-4 text-fg-secondary"}),status:"Comments",title:"Maya left 2 comments on Today",parent:"Habit tracker",trail:"9:41 AM"})]})]})})]}),(0,s.jsx)("div",{className:"mt-8 grid grid-cols-2 gap-8",children:(0,s.jsx)(p,{name:"Setup",note:"the steps for each Claude app",children:(0,s.jsx)("div",{className:"p-6",children:(0,s.jsx)(c.Dt,{address:"https://trent-factory.vercel.app/mcp",keyValue:"bl_key_7f3a91c2e8d44b6a",local:!0,run:{shell:"npx -y @baseline-studio/playground",command:"/usr/local/bin/npx",args:["-y","@baseline-studio/playground"]}})})})}),(0,s.jsx)("div",{className:"mt-8",children:(0,s.jsx)(p,{name:"Framed table",note:"copy, download as CSV and expand; for real tabular data",children:(0,s.jsx)("div",{className:"p-6",children:(0,s.jsx)(h.MX,{name:"sample",data:()=>({head:["Time","What","Project"],rows:x.map(e=>[...e])}),children:(0,s.jsxs)("table",{className:h.y5,children:[(0,s.jsx)("thead",{className:h.i0,children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"w-32",children:"Time"}),(0,s.jsx)("th",{children:"What"}),(0,s.jsx)("th",{className:"w-36",children:"Project"})]})}),(0,s.jsx)("tbody",{className:h._F,children:x.map(e=>{let[t,a,n]=e;return(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{className:"num text-fg-meta",children:t}),(0,s.jsx)("td",{children:a}),(0,s.jsx)("td",{children:n})]},t+a)})})]})})})})})]})})}},32523:(e,t,a)=>{"use strict";a.d(t,{Dt:()=>u,i8:()=>x,uD:()=>p});var s=a(95155),n=a(12115),r=a(88702),l=a(53847),o=a(68772),i=a(68515),d=a(80526),c=a(99365),h=a(50847);let p="pointer-coarse:relative pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:-inset-y-2";function x(e){let{text:t,label:a="Copy",className:i}=e,[d,c]=(0,n.useState)(!1);return(0,s.jsxs)(o.$,{size:"sm",className:i,"aria-live":"polite",onClick:async()=>{try{await navigator.clipboard.writeText(t),c(!0),setTimeout(()=>c(!1),2e3)}catch(e){}},children:[d?(0,s.jsx)(r.J,{}):(0,s.jsx)(l.Q,{}),d?"Copied":a]})}let m={code:"Claude Code",desktop:"Desktop",phone:"Web and phone"};function u(e){let{address:t,keyValue:a,local:r,run:l,apps:o=["code","desktop","phone"],initial:u="code",touch:g}=e,[f,j]=(0,n.useState)(o.includes(u)?u:o[0]),b="".concat(a.slice(0,6)).concat("•".repeat(10)),y=JSON.stringify({mcpServers:{playground:{command:l.command,args:l.args}}},null,2),v=r?{code:[{text:"Run this once in a terminal. Claude then reaches Playground from any folder, and starts it when it isn't running.",code:"claude mcp add --scope user playground -- ".concat(l.shell)},{text:"Ask Claude about your projects, or to start a new one."}],desktop:[{text:"In Claude, open Settings, then Developer, and choose Edit Config."},{text:"Add Playground to the file, then restart Claude.",code:y},{text:"Ask Claude about your projects, or to start a new one."}],phone:[{text:"Claude on the web and the phone need your Playground deployed at a public address. Until then, use Claude Code or Desktop."}]}:{code:[{text:"Run this once in a terminal.",code:"claude mcp add --transport http playground ".concat(t,' --header "Authorization: Bearer ').concat(a,'"'),shown:"claude mcp add --transport http playground ".concat(t,' --header "Authorization: Bearer ').concat(b,'"')},{text:"Ask Claude about your projects, or to start a new one."}],desktop:[{text:"In Claude, open Settings, then Connectors, and add a custom connector."},{text:"Paste the address, then add this as its Authorization header.",code:"Bearer ".concat(a),shown:"Bearer ".concat(b)},{text:"In a chat, turn on Playground from the + menu."}],phone:[{text:"Add the connector once in Claude on the web or Desktop."},{text:"It appears in the phone app under the + menu in any chat."}]};return(0,s.jsxs)("div",{className:"grid gap-4",children:[(0,s.jsx)(i.O,{type:"single",size:"sm",value:f,onValueChange:e=>e&&j(e),"aria-label":"Claude app",className:"w-fit",children:o.map(e=>(0,s.jsx)(i.d,{value:e,className:g?"pointer-coarse:relative pointer-coarse:after:absolute pointer-coarse:after:inset-x-0 pointer-coarse:after:-inset-y-2.5":void 0,children:m[e]},e))}),(0,s.jsx)("ol",{className:"grid gap-4",children:v[f].map((e,t,a)=>{var n;return(0,s.jsxs)("li",{className:"flex items-start gap-3 text-ui text-fg-secondary",children:[a.length>1&&(0,s.jsx)(h.yU,{n:t+1,quiet:!0}),(0,s.jsxs)("div",{className:"min-w-0 flex-1 pt-0.5 text-pretty",children:[e.text,e.code&&(0,s.jsxs)("div",{className:(0,d.cn)(c.TY,"mt-2 flex items-start gap-2 p-3"),children:[(0,s.jsx)("code",{className:"min-w-0 flex-1 whitespace-pre-wrap font-mono text-xs leading-relaxed text-fg-secondary [overflow-wrap:anywhere]",children:null!=(n=e.shown)?n:e.code}),(0,s.jsx)(x,{text:e.code,className:g?p:void 0})]})]})]},t)})})]})}},52354:(e,t,a)=>{Promise.resolve().then(a.bind(a,18902))}},e=>{e.O(0,[4809,2619,3078,8362,280,7404,7953,645,847,8441,1255,7358],()=>e(e.s=52354)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9553],{4179:(e,t,a)=>{"use strict";a.d(t,{d:()=>A});var n=a(95155),s=a(12115),l=a(92556),r=a(94446),i=a(3468),c=a(86182),o=a(84288),d=a(97602),m=Object.defineProperty,h=(e,t)=>m(e,"name",{value:t,configurable:!0}),u="Switch",[x,f]=(0,i.A)(u),[p,g]=x(u);function v(e){let{__scopeSwitch:t,checked:a,children:l,defaultChecked:r,disabled:i,form:o,name:d,onCheckedChange:m,required:h,value:x="on",internal_do_not_use_render:f}=e,[g,v]=(0,c.i)({prop:a,defaultProp:null!=r&&r,onChange:m,caller:u}),[b,j]=s.useState(null),[w,k]=s.useState(null),[y,H]=s.useState(null),A=!b||!!o||!!b.closest("form"),E={checked:g,setChecked:v,disabled:i,control:b,setControl:j,name:d,form:o,value:x,userClick:y,onUserClick:H,required:h,defaultChecked:r,isFormControl:A,bubbleInput:w,setBubbleInput:k};return(0,n.jsx)(p,{scope:t,...E,children:N(f)?f(E):l})}h(v,"SwitchProvider");var b=s.forwardRef(h(function(e,t){let{__scopeSwitch:a,onClick:i,...c}=e,{control:o,form:m,value:u,disabled:x,checked:f,required:p,setControl:v,setChecked:b,onUserClick:j,isFormControl:w,bubbleInput:k}=g("SwitchTrigger",a),N=(0,r.s)(t,v),H=s.useRef(f);return s.useEffect(()=>{let e=m?null==o?void 0:o.ownerDocument.getElementById(m):null==o?void 0:o.form;if(e instanceof HTMLFormElement){let t=h(()=>b(H.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[o,m,b]),(0,n.jsx)(d.sG.button,{type:"button",role:"switch","aria-checked":f,"aria-required":p,"data-state":y(f),"data-disabled":x?"":void 0,disabled:x,value:u,...c,ref:N,onClick:(0,l.mK)(i,e=>{let t=e.isPropagationStopped();j({requestedChecked:!f,hasConsumerStoppedPropagation:t}),b(e=>!e),k&&w&&!t&&e.stopPropagation()})})},"SwitchTrigger")),j=s.forwardRef(h(function(e,t){let{__scopeSwitch:a,name:s,checked:l,defaultChecked:r,required:i,disabled:c,value:o,onCheckedChange:d,form:m,...h}=e;return(0,n.jsx)(v,{__scopeSwitch:a,checked:l,defaultChecked:r,disabled:c,required:i,onCheckedChange:d,name:s,form:m,value:o,internal_do_not_use_render:e=>{let{isFormControl:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{...h,ref:t,__scopeSwitch:a}),s&&(0,n.jsx)(k,{__scopeSwitch:a})]})}})},"Switch")),w=s.forwardRef(h(function(e,t){let{__scopeSwitch:a,...s}=e,l=g("SwitchThumb",a);return(0,n.jsx)(d.sG.span,{"data-state":y(l.checked),"data-disabled":l.disabled?"":void 0,...s,ref:t})},"SwitchThumb")),k=s.forwardRef(h(function(e,t){let{__scopeSwitch:a,onClick:i,...c}=e,{control:m,userClick:h,checked:u,defaultChecked:x,required:f,disabled:p,name:v,value:b,form:j,bubbleInput:w,setBubbleInput:k}=g("SwitchBubbleInput",a),N=(0,r.s)(t,k),y=(0,o.X)(m),H=s.useRef(!1),A=s.useRef(u),E=s.useRef(h),Z=s.useRef(null);s.useEffect(()=>{if(!w)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(!e)return;let t=A.current!==u;A.current=u;let a=null!==h&&h!==E.current;if(E.current=h,a)Z.current=t?null:h,t&&e.call(w,u),w.dispatchEvent(new Event("click",{bubbles:!h.hasConsumerStoppedPropagation}));else if(t){let t=Z.current;Z.current=null;let a=(null==t?void 0:t.requestedChecked)===u;H.current=!0,e.call(w,u),w.dispatchEvent(new Event("click",{bubbles:!(a&&t.hasConsumerStoppedPropagation)})),H.current=!1}},[w,u,h]);let C=s.useRef(u);return(0,n.jsx)(d.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:null!=x?x:C.current,required:f,disabled:p,name:v,value:b,form:j,...c,tabIndex:-1,ref:N,onClick:(0,l.mK)(i,e=>{H.current&&e.stopPropagation()}),style:{...c.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"SwitchBubbleInput"));function N(e){return"function"==typeof e}function y(e){return e?"checked":"unchecked"}h(N,"isFunction"),h(y,"getState");var H=a(68659);let A=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)(j,{className:(0,H.cn)("peer inline-flex h-switch w-switch shrink-0 cursor-pointer items-center rounded-full p-0.5 transition-colors duration-instant ease-out focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-brand data-[state=unchecked]:bg-fill-switch-off",a),...s,ref:t,children:(0,n.jsx)(w,{className:(0,H.cn)("pointer-events-none block size-3.5 rounded-full bg-switch-knob shadow-knob ring-0 data-[state=checked]:bg-fg-on-primary transition-transform duration-quick ease-out data-[state=checked]:translate-x-3 data-[state=unchecked]:translate-x-0")})})});A.displayName=j.displayName},45878:(e,t,a)=>{"use strict";a.d(t,{i:()=>i});var n=a(12115),s=a(33144);let l=new Map([["bold",n.createElement(n.Fragment,null,n.createElement("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"}))],["duotone",n.createElement(n.Fragment,null,n.createElement("path",{d:"M208,88H152V32Z",opacity:"0.2"}),n.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["fill",n.createElement(n.Fragment,null,n.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"}))],["light",n.createElement(n.Fragment,null,n.createElement("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"}))],["regular",n.createElement(n.Fragment,null,n.createElement("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"}))],["thin",n.createElement(n.Fragment,null,n.createElement("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"}))]]),r=n.forwardRef((e,t)=>n.createElement(s.A,{ref:t,...e,weights:l}));r.displayName="FileTextIcon";let i=r},70756:(e,t,a)=>{Promise.resolve().then(a.bind(a,71543))},71543:(e,t,a)=>{"use strict";a.d(t,{CompactGrid:()=>p,GroupedLists:()=>x,IndexDetail:()=>f});var n=a(95155),s=a(52619),l=a.n(s),r=a(12115),i=a(45878),c=a(68772),o=a(4179),d=a(80526),m=a(99365);function h(e){let[t,a]=(0,r.useState)(()=>Object.fromEntries(e.map(e=>[e.name,e.on])));return[t,(e,t)=>a(a=>({...a,[e]:t}))]}let u=(e,t)=>t.map(t=>({g:t,items:e.filter(e=>e.group===t)})).filter(e=>e.items.length);function x(e){let{skills:t,groups:a}=e,[s,r]=h(t);return(0,n.jsx)("div",{className:"grid gap-8",children:u(t,a).map(e=>{let{g:t,items:a}=e;return(0,n.jsxs)("section",{className:"min-w-0",children:[(0,n.jsx)("h3",{className:"px-1 text-sm font-medium text-fg-meta",children:t}),(0,n.jsx)(m.wI,{className:"mt-2",children:(0,n.jsx)("div",{className:"p-1",children:a.map(e=>(0,n.jsxs)("div",{className:"group/row relative flex min-h-12 items-center gap-4 rounded-item px-3 transition-hover hover:bg-fill-hover hover:duration-0",children:[(0,n.jsxs)(l(),{href:"/skills/".concat(e.name),className:"block min-w-0 flex-1 py-2 after:absolute after:inset-0 after:rounded-item",children:[(0,n.jsx)("span",{className:(0,d.cn)("block truncate text-ui font-medium",s[e.name]?"text-fg-primary":"text-fg-secondary"),children:e.title}),(0,n.jsx)("span",{className:"block truncate text-sm text-fg-meta",children:e.summary})]}),(0,n.jsx)("span",{className:"num w-48 shrink-0 whitespace-nowrap text-right text-xs text-fg-meta max-md:hidden",children:[e.rules&&"".concat(e.rules," rules"),e.references&&"".concat(e.references," references")].filter(Boolean).join(", ")}),(0,n.jsx)(o.d,{className:"relative z-10 shrink-0",checked:s[e.name],onCheckedChange:t=>r(e.name,t),"aria-label":"Use ".concat(e.title)})]},e.name))})})]},t)})})}function f(e){var t,a,s;let{skills:i,groups:x}=e,[f,p]=h(i),[g,v]=(0,r.useState)(null!=(s=null==(t=i.find(e=>"visual-design"===e.name))?void 0:t.name)?s:null==(a=i[0])?void 0:a.name),b=i.find(e=>e.name===g);return(0,n.jsxs)("div",{className:(0,d.cn)(m.pj,"grid grid-cols-[260px_minmax(0,1fr)] gap-1"),children:[(0,n.jsx)("nav",{"aria-label":"Skills",className:"max-h-[560px] overflow-y-auto p-1",children:u(i,x).map(e=>{let{g:t,items:a}=e;return(0,n.jsxs)("div",{className:"mb-3",children:[(0,n.jsx)("div",{className:"flex h-7 items-center px-2 text-sm font-medium text-fg-meta",children:t}),a.map(e=>(0,n.jsxs)("button",{onClick:()=>v(e.name),className:(0,d.cn)("flex h-8 w-full items-center gap-2 rounded-item px-2 text-left text-ui transition-hover hover:bg-fill-hover hover:duration-0",e.name===g&&"bg-fill-selected hover:bg-fill-selected"),children:[(0,n.jsx)("span",{className:(0,d.cn)("min-w-0 flex-1 truncate",e.name===g?"font-medium text-fg-primary":f[e.name]?"text-fg-secondary":"text-fg-meta"),children:e.title}),!f[e.name]&&(0,n.jsx)("span",{className:"text-sm text-fg-meta",children:"Off"})]},e.name))]},t)})}),(0,n.jsxs)("div",{className:(0,d.cn)(m.TY,"flex flex-col p-8"),children:[(0,n.jsxs)("div",{className:"flex items-start gap-4",children:[(0,n.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,n.jsx)("h3",{className:"font-heading text-title font-semibold text-fg-primary",children:b.title}),(0,n.jsx)("p",{className:"mt-2 max-w-xl text-ui text-fg-secondary text-pretty",children:b.summary})]}),(0,n.jsx)(o.d,{checked:f[b.name],onCheckedChange:e=>p(b.name,e),"aria-label":"Use ".concat(b.title),className:"mt-1.5"})]}),(0,n.jsx)("dl",{className:"mt-8 grid max-w-md grid-cols-3 gap-4",children:[["Rules",b.rules],["References",b.references],["Group",b.group]].map(e=>{let[t,a]=e;return(0,n.jsxs)("div",{children:[(0,n.jsx)("dt",{className:"text-sm text-fg-meta",children:t}),(0,n.jsx)("dd",{className:"num mt-0.5 text-ui font-medium text-fg-primary",children:a||"None"})]},String(t))})}),(0,n.jsx)("div",{className:"mt-auto pt-10",children:(0,n.jsx)(c.$,{variant:"secondary",size:"sm",asChild:!0,children:(0,n.jsx)(l(),{href:"/skills/".concat(b.name),children:"Read the skill"})})})]})]})}function p(e){let{skills:t,groups:a}=e,[s,r]=h(t);return(0,n.jsx)("div",{className:"grid gap-8",children:u(t,a).map(e=>{let{g:t,items:a}=e;return(0,n.jsxs)("section",{children:[(0,n.jsx)("h3",{className:"px-1 text-sm font-medium text-fg-meta",children:t}),(0,n.jsx)("div",{className:"mt-2 grid grid-cols-3 gap-2",children:a.map(e=>(0,n.jsx)("div",{className:(0,d.cn)(m.pj,"relative"),children:(0,n.jsxs)("div",{className:(0,d.cn)(m.TY,"flex h-full flex-col px-3 py-2.5"),children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsxs)(l(),{href:"/skills/".concat(e.name),className:"min-w-0 flex-1 truncate text-ui font-medium text-fg-primary after:absolute after:inset-0 after:rounded-panel",children:[(0,n.jsx)(i.i,{className:"mr-2 inline size-3.5 align-[-2px] text-fg-muted"}),e.title]}),(0,n.jsx)(o.d,{className:"relative z-10 shrink-0 scale-90",checked:s[e.name],onCheckedChange:t=>r(e.name,t),"aria-label":"Use ".concat(e.title)})]}),(0,n.jsx)("p",{className:"mt-1 line-clamp-1 text-sm text-fg-meta",children:e.summary})]})},e.name))})]},t)})})}},80526:(e,t,a)=>{"use strict";a.d(t,{cn:()=>l});var n=a(2821);let s=(0,a(75889).zu)({extend:{theme:{text:["2xs","initials","display","title","hero","section","h3","h4","body","label","ui","heading","headline"],shadow:["ring","ring-strong","input","input-hover","focus","fill","segment","knob","float","check","check-hover","keycap","outline","divider-b","divider-t","invalid","tooltip","overlay","card-hover","button","glow","inset"],radius:["check","tooltip","segment","control-sm","control","item","panel","menu","dialog","pill"],spacing:["control","control-sm","control-lg","row","menu-item","tooltip","table-head","switch","hairline","indicator","menu-inset"]}}});function l(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return s((0,n.$)(t))}},99365:(e,t,a)=>{"use strict";a.d(t,{MX:()=>j,TY:()=>x,_F:()=>g,i0:()=>p,pj:()=>u,wI:()=>v,y5:()=>f});var n=a(95155),s=a(12115),l=a(88702),r=a(53847),i=a(45319),c=a(3278),o=a(58669),d=a(68772),m=a(57644),h=a(80526);let u="over-ring rounded-panel bg-bg-raised p-1",x="rounded-item bg-bg-chrome shadow-ring",f="w-full border-collapse text-ui tabular-nums",p="[&_th]:h-9 [&_th]:whitespace-nowrap [&_th]:px-4 [&_th]:text-start [&_th]:align-middle [&_th]:text-xs [&_th]:font-medium [&_th]:text-fg-meta [&_th]:shadow-divider-b",g="[&_td]:px-4 [&_td]:py-2.5 [&_td]:align-top [&_td]:text-sm [&_td]:text-fg-secondary";function v(e){let{controls:t,actions:a,children:s,className:l}=e;return(0,n.jsxs)("div",{className:(0,h.cn)(u,"flex flex-col gap-1",l),children:[(t||a)&&(0,n.jsxs)("div",{className:"flex h-8 items-center gap-0.5 px-1",children:[t,(0,n.jsx)("span",{className:"flex-1"}),a]}),(0,n.jsx)("div",{className:(0,h.cn)(x,"overflow-hidden"),children:s})]})}let b=e=>/[",\n]/.test(e)?'"'.concat(e.replace(/"/g,'""'),'"'):e;function j(e){let{name:t,data:a,children:f,actions:p,className:g}=e,[v,j]=(0,s.useState)(!1),[w,k]=(0,s.useState)(!1),N=async()=>{let{head:e,rows:t}=a();try{await navigator.clipboard.writeText([e,...t].map(e=>e.join(" ")).join("\n")),j(!0),setTimeout(()=>j(!1),1500)}catch(e){}},y=()=>{let{head:e,rows:n}=a(),s=URL.createObjectURL(new Blob([[e,...n].map(e=>e.map(b).join(",")).join("\n")],{type:"text/csv"}));Object.assign(document.createElement("a"),{href:s,download:"".concat(t,".csv")}).click(),URL.revokeObjectURL(s)},H=e=>(0,n.jsxs)("div",{className:"flex h-8 items-center gap-0.5 px-1",children:[p,(0,n.jsx)("span",{className:"flex-1"}),(0,n.jsx)(d.$,{variant:"ghost",size:"icon-sm","aria-label":v?"Copied":"Copy table",onClick:N,children:v?(0,n.jsx)(l.J,{}):(0,n.jsx)(r.Q,{})}),(0,n.jsx)(d.$,{variant:"ghost",size:"icon-sm","aria-label":"Download table",onClick:y,children:(0,n.jsx)(i.z,{})}),e?(0,n.jsx)(m.HM,{asChild:!0,children:(0,n.jsx)(d.$,{variant:"ghost",size:"icon-sm","aria-label":"Close",children:(0,n.jsx)(c.X,{})})}):(0,n.jsx)(d.$,{variant:"ghost",size:"icon-sm","aria-label":"Expand table",onClick:()=>k(!0),children:(0,n.jsx)(o.Z,{})})]}),A=e=>(0,n.jsx)("div",{className:(0,h.cn)(x,"overflow-auto",e&&"max-h-[calc(100dvh-(--spacing(32)))]"),children:f});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:(0,h.cn)(u,"flex flex-col gap-1",g),children:[H(!1),A()]}),(0,n.jsx)(m.lG,{open:w,onOpenChange:k,children:(0,n.jsxs)(m.Cf,{className:"flex max-w-[min(1200px,calc(100vw-(--spacing(8))))] flex-col gap-1 bg-bg-raised p-1 [&>button:last-child]:hidden",children:[(0,n.jsx)(m.L3,{className:"sr-only",children:t}),H(!0),A(!0)]})})]})}}},e=>{e.O(0,[4809,2619,3078,280,8441,1255,7358],()=>e(e.s=70756)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7229],{62605:(e,s,t)=>{Promise.resolve().then(t.bind(t,80493))},80493:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>O});var a=t(95155),i=t(12115),n=t(3570),r=t(98038),l=t(95074),d=t(17400),c=t(26510),m=t(4353),o=t(45878),x=t(21886),h=t(79911),p=t(22688),g=t(3018),u=t(22747),f=t(62861),j=t(21171),N=t(51751),v=t(73090),y=t(68772),w=t(4179),b=t(76654),k=t(68515),S=t(88239),z=t(99365),T=t(50645),A=t(80526);let C=e=>"/api/studio/html?project=habit-tracker&spread=first-run&direction=".concat(e,"&shot=1"),_=[{id:"promise-first-r1-020d",name:"Promise first"},{id:"starter-picker-r1-ef7d",name:"Starter picker"},{id:"pause-rehearsal-r1-e15a",name:"Pause rehearsal"},{id:"type-your-own-r1-6a56",name:"Type your own"},{id:"straight-to-today-r1-bad3",name:"Straight to Today"},{id:"one-big-check-r1-1efe",name:"One big check"}];function O(){return(0,a.jsx)("div",{className:"min-h-dvh bg-bg-chrome px-4 py-12 md:px-10",children:(0,a.jsxs)("div",{className:"mx-auto max-w-6xl",children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Playground, the whole set"}),(0,a.jsx)("p",{className:"mt-2 max-w-2xl text-ui text-fg-secondary text-pretty",children:"Always inside one project. The island names it and what the agent is doing there; opening it switches projects and reaches everything else. Sample content from the Habit tracker."}),(0,a.jsxs)("div",{className:"mt-12 grid gap-20",children:[(0,a.jsx)(F,{name:"The island",line:"At rest it names the project and the agent's work, and counts what needs you in other projects. Opened, it switches projects and reaches everything else.",children:(0,a.jsx)(P,{})}),(0,a.jsx)(F,{name:"Home",line:"The one place everything comes to, inside the project you're in: what needs you, what the agent is doing, then the product itself. Nothing from other projects; the island counts those.",tall:!0,children:(0,a.jsx)($,{island:(0,a.jsx)(B,{}),children:(0,a.jsx)(R,{})})}),(0,a.jsx)(F,{name:"Crit",line:"A chosen direction, presented like a design crit: every call the agent made pinned where it made it, its doubts first. Undo a call, or mark the screen.",tall:!0,children:(0,a.jsx)($,{island:(0,a.jsx)(B,{status:"Waiting on you"}),children:(0,a.jsx)(W,{})})}),(0,a.jsx)(F,{name:"Brief",line:"One sentence and a reference start the work. The agent writes the brief, lists what it assumed, and starts at once; flipping an assumption re-routes it.",children:(0,a.jsx)($,{island:(0,a.jsx)(B,{status:"Reading the brief for Stats"}),children:(0,a.jsx)(E,{})})}),(0,a.jsx)(F,{name:"Autonomy",line:"How far the agent goes alone in this project, and what it brings to you. It learns from your overturns.",children:(0,a.jsx)($,{island:(0,a.jsx)(B,{}),children:(0,a.jsx)(H,{})})}),(0,a.jsx)(F,{name:"Design system",line:"One design system per product, fixed. The project's system: its foundations and its components, as the agent draws with them.",children:(0,a.jsx)($,{island:(0,a.jsx)(B,{}),children:(0,a.jsx)(I,{})})}),(0,a.jsx)(F,{name:"New design system",line:"A product that needs its own look gets a whole new system, made with guidance: what it's for, where to start, the look, then the agent builds it.",tall:!0,children:(0,a.jsx)($,{island:(0,a.jsx)(B,{project:"Ledger",status:"Building the Ledger system"}),children:(0,a.jsx)(L,{})})}),(0,a.jsx)(F,{name:"Notes",line:"Somewhere to think with the agent, from anywhere, without a chat thread. Write a note; the agent answers by making things, attached to the note.",tall:!0,children:(0,a.jsx)($,{island:(0,a.jsx)(B,{}),children:(0,a.jsx)(U,{})})}),(0,a.jsx)(F,{name:"Brain, with taste",line:"Outside any project: what Playground has learned. Rules from your reactions come first, each with its evidence; the pages follow.",children:(0,a.jsx)($,{island:(0,a.jsx)(B,{project:null}),children:(0,a.jsx)(Y,{})})})]})]})})}function F(e){let{name:s,line:t,children:i,tall:n}=e;return(0,a.jsxs)("section",{children:[(0,a.jsx)("h2",{className:"text-heading font-semibold text-fg-primary",children:s}),(0,a.jsx)("p",{className:"mt-1 max-w-3xl text-ui text-fg-secondary text-pretty",children:t}),(0,a.jsx)("div",{className:(0,A.cn)("mt-4",n&&""),children:i})]})}function $(e){let{island:s,children:t}=e;return(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-dialog bg-bg-chrome shadow-ring-strong",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-x-0 top-3 z-10 flex justify-center",children:s}),(0,a.jsx)("div",{className:"pt-14",children:t})]})}function B(e){let{project:s="Habit tracker",status:t="Drawing round 2 of Stats",elsewhere:i=2}=e;return(0,a.jsxs)("div",{className:"pointer-events-auto flex h-9 items-center gap-2.5 rounded-pill bg-bg-floating pl-3 pr-1.5 shadow-float",children:[(0,a.jsx)("span",{className:"w-4 shrink-0 overflow-hidden",children:(0,a.jsx)("span",{className:"block w-28",children:(0,a.jsx)(S.S,{collapsed:!0})})}),(0,a.jsx)("span",{className:"text-ui font-medium text-fg-primary",children:null!=s?s:"Playground"}),s&&t&&(0,a.jsx)("span",{className:"forming-text truncate text-xs font-medium",children:t}),i>0?(0,a.jsx)("span",{className:"grid h-6 min-w-6 place-items-center rounded-pill bg-fill-control px-1.5 text-xs font-medium text-fg-primary shadow-button tabular-nums",children:i}):(0,a.jsx)("span",{className:"w-1.5"})]})}function P(){let[e,s]=(0,i.useState)(!0);return(0,a.jsxs)("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,2fr)_minmax(0,3fr)]",children:[(0,a.jsx)("div",{className:"grid place-items-center rounded-dialog bg-bg-chrome p-10 shadow-ring-strong",children:(0,a.jsxs)("div",{className:"grid justify-items-center gap-4",children:[(0,a.jsx)(B,{}),(0,a.jsx)(B,{status:"Waiting on you",elsewhere:0}),(0,a.jsx)(B,{project:null,elsewhere:0})]})}),(0,a.jsxs)("div",{className:"relative grid min-h-112 place-items-start justify-center overflow-hidden rounded-dialog bg-bg-chrome p-4 shadow-ring-strong",children:[(0,a.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 bg-bg-overlay"}),(0,a.jsxs)("div",{className:"relative w-full max-w-lg overflow-hidden rounded-dialog bg-bg-floating shadow-float",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>s(!e),className:"flex h-11 w-full items-center gap-2.5 px-3",children:[(0,a.jsx)("span",{className:"w-4 shrink-0 overflow-hidden",children:(0,a.jsx)("span",{className:"block w-28",children:(0,a.jsx)(S.S,{collapsed:!0})})}),(0,a.jsx)("span",{className:"text-ui font-medium text-fg-primary",children:"Habit tracker"}),(0,a.jsx)("span",{className:"forming-text truncate text-xs font-medium",children:"Drawing round 2 of Stats"})]}),e&&(0,a.jsxs)("div",{className:"grid gap-4 px-2 pb-3",children:[(0,a.jsx)("div",{className:"flex flex-wrap gap-1 px-1",children:[[n.t,"Home",!0],[r.F,"New brief"],[l.l,"Design system"],[d.r,"Autonomy"],[c.Y,"Notes"]].map(e=>{let[s,t,i]=e;return(0,a.jsx)(D,{Icon:s,label:t,here:i},t)})}),(0,a.jsxs)("div",{className:"grid gap-px rounded-panel bg-bg-raised p-1 shadow-button",children:[[{name:"Habit tracker",here:!0,needs:0,line:"Drawing round 2 of Stats"},{name:"Ledger",needs:2,line:"Settings and Billing need your review"},{name:"Portfolio site",needs:0,line:"Live since Nov 12"}].map(e=>(0,a.jsxs)("div",{className:(0,A.cn)("flex h-12 items-center gap-3 rounded-item px-2.5",e.here&&"bg-fill-selected"),children:[(0,a.jsx)("span",{className:(0,A.cn)("grid size-7 place-items-center rounded-full bg-fill-control text-xs font-semibold",e.here?"text-fg-primary":"text-fg-secondary"),children:e.name[0]}),(0,a.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,a.jsx)("span",{className:"block truncate text-ui font-medium text-fg-primary",children:e.name}),(0,a.jsx)("span",{className:"block truncate text-xs text-fg-meta",children:e.line})]}),e.needs>0&&(0,a.jsx)("span",{className:"grid h-6 min-w-6 place-items-center rounded-pill bg-fill-control px-1.5 text-xs font-medium text-fg-primary shadow-button tabular-nums",children:e.needs})]},e.name)),(0,a.jsxs)("div",{className:"flex h-10 items-center gap-3 rounded-item px-2.5 text-ui text-fg-secondary",children:[(0,a.jsx)(r.F,{className:"size-4 text-fg-muted"}),"New project"]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-1 px-1",children:[[[m.X,"Connection"],[o.i,"Skills"],[x.j,"Brain"],[h.n,"Activity"]].map(e=>{let[s,t]=e;return(0,a.jsxs)("span",{className:"flex h-control-sm items-center gap-1.5 rounded-pill px-2.5 text-sm text-fg-secondary [&_svg]:size-3.5",children:[(0,a.jsx)(s,{}),t]},t)}),(0,a.jsx)("span",{className:"flex-1"}),(0,a.jsx)("span",{className:"grid size-7 place-items-center rounded-full text-fg-secondary [&_svg]:size-4","aria-label":"Dark mode",children:(0,a.jsx)(p.A,{})})]})]})]})]})]})}function D(e){let{Icon:s,label:t,here:i}=e;return(0,a.jsxs)("span",{className:"flex w-22 flex-col items-center gap-1.5 py-1",children:[(0,a.jsx)("span",{className:(0,A.cn)("grid size-11 place-items-center rounded-full bg-bg-raised shadow-button [&_svg]:size-5",i?"text-fg-primary":"text-fg-secondary"),children:(0,a.jsx)(s,{weight:i?"fill":"regular"})}),(0,a.jsx)("span",{className:(0,A.cn)("max-w-full truncate text-xs font-medium",i?"text-fg-primary":"text-fg-meta"),children:t})]})}function M(e){let{id:s,name:t,className:i,label:n=!0}=e;return(0,a.jsxs)("div",{className:(0,A.cn)("flex min-w-0 flex-col",i),children:[(0,a.jsx)("div",{className:(0,A.cn)(z.TY,"relative aspect-[3/4] overflow-hidden"),children:(0,a.jsx)("img",{src:C(s),alt:t,className:"absolute left-1/2 top-[6%] h-[88%] w-auto max-w-none -translate-x-1/2 rounded-panel shadow-ring"})}),n&&(0,a.jsx)("div",{className:"truncate px-1 pt-2 text-xs font-medium text-fg-secondary",children:t})]})}function R(){return(0,a.jsxs)("div",{className:"mx-auto max-w-5xl px-10 pb-14 pt-8",children:[(0,a.jsxs)("div",{className:"flex items-end justify-between gap-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Habit tracker"}),(0,a.jsx)("p",{className:"mt-1 max-w-xl text-ui text-fg-secondary",children:"A habit tracker that forgives: check off a habit in one tap, and a missed day pauses a streak instead of ending it."})]}),(0,a.jsxs)(y.$,{variant:"primary",size:"sm",children:[(0,a.jsx)(r.F,{}),"New brief"]})]}),(0,a.jsxs)("section",{className:"mt-10",children:[(0,a.jsx)(T.Av,{children:"Needs you"}),(0,a.jsxs)("div",{className:"mt-3 grid gap-3 lg:grid-cols-[minmax(0,3fr)_minmax(0,2fr)]",children:[(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"p-0"),children:[(0,a.jsxs)("div",{className:"flex h-11 items-center gap-3 px-3 text-ui",children:[(0,a.jsx)("span",{className:"font-medium text-fg-primary",children:"First run"}),(0,a.jsx)("span",{className:"text-fg-meta",children:"Round 1, 6 directions"}),(0,a.jsx)("span",{className:"flex-1"}),(0,a.jsx)(y.$,{variant:"primary",size:"sm",children:"Next round"})]}),(0,a.jsx)("div",{className:"grid grid-cols-6 gap-1 p-1 pt-0",children:_.map(e=>(0,a.jsx)(M,{...e},e.id))})]}),(0,a.jsxs)("div",{className:"grid content-start gap-3",children:[(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"flex items-center gap-3 px-3 py-3"),children:[(0,a.jsx)("span",{className:"w-14 shrink-0",children:(0,a.jsx)(M,{id:_[1].id,name:"Today",label:!1})}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("div",{className:"text-ui font-medium text-fg-primary",children:"Today, version 3"}),(0,a.jsx)("div",{className:"mt-0.5 text-xs text-fg-meta",children:"One call the agent isn't sure of"})]}),(0,a.jsx)(y.$,{size:"sm",children:"Crit"})]}),(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"flex flex-wrap items-center gap-3 px-3 py-3"),children:[(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("div",{className:"text-ui font-medium text-fg-primary",children:"On phone, the primary action sits at the bottom"}),(0,a.jsx)("div",{className:"mt-0.5 text-xs text-fg-meta",children:"You kept it there in 9 of 9 crits"})]}),(0,a.jsx)(y.$,{variant:"primary",size:"sm",children:"Make it a rule"})]})]})]})]}),(0,a.jsxs)("section",{className:"mt-10",children:[(0,a.jsx)(T.Av,{children:"Moving"}),(0,a.jsx)("div",{className:"mt-3 grid",children:[["Stats","Drawing round 2, 3 of 6 so far"],["Week","Building version 2 from your marks"]].map(e=>{let[s,t]=e;return(0,a.jsxs)("div",{className:"flex h-row items-center gap-3 rounded-item px-2 text-ui",children:[(0,a.jsx)("span",{className:"forming size-4 rounded-full shadow-ring"}),(0,a.jsx)("span",{className:"font-medium text-fg-primary",children:s}),(0,a.jsx)("span",{className:"text-fg-meta",children:t})]},s)})})]}),(0,a.jsxs)("section",{className:"mt-10",children:[(0,a.jsx)(T.Av,{action:(0,a.jsx)("span",{className:"text-xs text-fg-meta",children:"3 screens, 1 flow"}),children:"The product"}),(0,a.jsx)("div",{className:"mt-3 grid grid-cols-4 gap-4",children:[[_[4].id,"Today","Approved","approved"],[_[2].id,"Week","Building","moving"],[_[5].id,"Stats","Exploring","moving"],[_[0].id,"Settings","Shipped","shipped"]].map(e=>{let[s,t,i,n]=e;return(0,a.jsxs)("div",{className:"grid gap-2",children:[(0,a.jsx)(M,{id:s,name:t,label:!1}),(0,a.jsxs)("div",{className:"flex items-center gap-2 px-1 text-ui",children:[(0,a.jsx)("span",{className:"font-medium text-fg-primary",children:t}),(0,a.jsx)("span",{className:(0,A.cn)("text-xs","shipped"===n?"text-status-success":"text-fg-meta"),children:i}),"shipped"===n&&(0,a.jsx)(g.D,{className:"ml-auto size-3.5 text-fg-muted"})]})]},t)})})]})]})}function W(){let[e,s]=(0,i.useState)([]),t=[{k:"promise",n:1,doubt:!0,text:"The pause promise sits under the list, small.",why:"It's the product's whole promise; it may deserve more than a footnote. Not sure this is right.",at:[96,64]},{k:"bottom",n:2,text:"Start sits at the bottom, in thumb reach.",why:"From ios-design: the primary action on a phone is one-handed.",at:[96,91]},{k:"named",n:3,text:"The button names the habit: Start with Read 10 pages.",why:"From ux-writing: a button is a verb plus its object.",at:[4,91]},{k:"six",n:4,text:"Five starters and Something else, so the list reads in one glance.",why:"Twelve tested as a list people scroll instead of choose from.",at:[96,30]}],n=t=>{let i=e.includes(t.k);return(0,a.jsxs)("div",{className:"grid grid-cols-[1.5rem_minmax(0,1fr)] gap-2.5 rounded-item px-2.5 py-2.5",children:[(0,a.jsx)("span",{className:"grid size-6 place-items-center rounded-full text-xs font-semibold text-brand shadow-ring-strong",children:t.n}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:(0,A.cn)("text-ui",i?"text-fg-muted line-through":"text-fg-primary"),children:t.text}),(0,a.jsx)("p",{className:"mt-0.5 text-xs text-fg-meta",children:i?"Undone. The next version is drawn without it.":t.why}),(0,a.jsx)(y.$,{size:"sm",className:"mt-2",onClick:()=>s(e=>i?e.filter(e=>e!==t.k):[...e,t.k]),children:i?"Restore":"Undo this call"})]})]},t.k)};return(0,a.jsxs)("div",{className:"grid min-h-200 grid-cols-[minmax(0,1fr)_24rem]",children:[(0,a.jsx)("div",{className:"dot-grid relative grid place-items-center p-10",children:(0,a.jsxs)("div",{className:"relative h-176 w-auto",children:[(0,a.jsx)("img",{src:C(_[1].id),alt:"Today, version 3",className:"h-full w-auto rounded-dialog shadow-float"}),t.map(e=>(0,a.jsx)("span",{className:"absolute grid size-6 -translate-x-1/2 -translate-y-1/2 place-items-center rounded-full bg-bg-floating text-xs font-semibold text-brand shadow-ring-strong",style:{left:"".concat(e.at[0],"%"),top:"".concat(e.at[1],"%")},children:e.n},e.k))]})}),(0,a.jsxs)("aside",{className:"flex flex-col gap-5 border-l p-5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Today"}),(0,a.jsx)("p",{className:"text-xs text-fg-meta",children:"Version 3, from Starter picker"})]}),(0,a.jsx)(y.$,{size:"sm",children:"Mark"}),(0,a.jsx)(y.$,{variant:"primary",size:"sm",children:"Approve"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"px-2.5 text-xs font-medium text-fg-meta",children:"Not sure"}),t.filter(e=>e.doubt).map(n)]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"px-2.5 text-xs font-medium text-fg-meta",children:"Calls"}),t.filter(e=>!e.doubt).map(n)]})]})]})}function E(){let[e,s]=(0,i.useState)(!1),[t,n]=(0,i.useState)(!0),r=[e?"Six directions, each drawn for phone and desktop":"Six directions for phone, on two axes the brief suggests",t?"The first check-in comes before any sign-up":"Sign-up comes first, then the first habit",e?"The chosen one is built at 390 and 1440, in dark and light":"The chosen one is built at 390, in dark and light"];return(0,a.jsxs)("div",{className:"mx-auto grid max-w-5xl grid-cols-[minmax(0,5fr)_minmax(0,6fr)] gap-10 px-10 pb-14 pt-8",children:[(0,a.jsxs)("div",{className:"grid content-start gap-3",children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Stats"}),(0,a.jsx)(b.T,{rows:5,defaultValue:"A stats screen that shows how the week went without making a missed day feel like failure.","aria-label":"Brief"}),(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"flex items-center gap-3 p-1.5 pr-3"),children:[(0,a.jsx)("span",{className:"w-10",children:(0,a.jsx)(M,{id:_[4].id,name:"Reference",label:!1})}),(0,a.jsxs)("span",{className:"min-w-0 flex-1 text-ui",children:[(0,a.jsx)("span",{className:"block font-medium text-fg-primary",children:"today.png"}),(0,a.jsx)("span",{className:"block text-xs text-fg-meta",children:"Dropped in with the brief"})]})]})]}),(0,a.jsxs)("div",{className:"grid content-start gap-6",children:[(0,a.jsxs)("dl",{className:"grid grid-cols-[6rem_minmax(0,1fr)] gap-x-4 gap-y-2 text-ui",children:[(0,a.jsx)("dt",{className:"text-fg-meta",children:"For"}),(0,a.jsx)("dd",{className:"text-fg-primary",children:"Someone a week into Streak"}),(0,a.jsx)("dt",{className:"text-fg-meta",children:"Done when"}),(0,a.jsx)("dd",{className:"text-fg-primary",children:"The week reads in one glance and a miss reads as a pause"}),(0,a.jsx)("dt",{className:"text-fg-meta",children:"Built with"}),(0,a.jsx)("dd",{className:"text-fg-primary",children:"Streak's design system, ios-design, ux-writing"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-xs font-medium text-fg-meta",children:"Assumed"}),(0,a.jsxs)("div",{className:"mt-1 grid gap-px",children:[(0,a.jsxs)("div",{className:"flex h-11 items-center gap-3 text-ui",children:[(0,a.jsx)("span",{className:"flex-1 text-fg-primary",children:"Screens for"}),(0,a.jsxs)(k.O,{type:"single",size:"sm",value:e?"both":"phone",onValueChange:e=>e&&s("both"===e),"aria-label":"Screens for",children:[(0,a.jsx)(k.d,{value:"phone",children:"Phone"}),(0,a.jsx)(k.d,{value:"both",children:"Phone and desktop"})]})]}),(0,a.jsxs)("label",{className:"flex h-11 items-center gap-3 text-ui",children:[(0,a.jsx)("span",{className:"flex-1 text-fg-primary",children:"No account before the first check-in"}),(0,a.jsx)(w.d,{checked:t,onCheckedChange:n})]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-xs font-medium text-fg-meta",children:"Plan"}),(0,a.jsx)("ul",{className:"mt-2 grid gap-2 text-ui text-fg-secondary",children:r.map(e=>(0,a.jsxs)("li",{className:"flex gap-2.5",children:[(0,a.jsx)(u.Q,{className:"mt-0.5 size-3.5 shrink-0 text-fg-muted"}),e]},e))})]}),(0,a.jsx)("p",{className:"text-xs text-fg-meta",children:"Started on these assumptions 40 seconds ago. Changing one re-routes the work already under way."})]})]})}function H(){var e;let[s,t]=(0,i.useState)("decide"),n=[["Explore directions",0],["Check every screen against the design system",0],["Spacing and alignment",1,"You've overturned 0 of 40"],["Copy that follows the voice",1],["Empty, loading and error states",1],["Open the pull request",2],["Pick a direction",9],["Add a component to the design system",9],["Merge or publish",9]],r=null!=(e=({explore:0,decide:1,ship:2})[s])?e:1,l=e=>(0,a.jsx)("ul",{className:"grid",children:n.filter(s=>{let[,t]=s;return t<=r===e}).map(s=>{let[t,,i]=s;return(0,a.jsxs)("li",{className:"flex min-h-row items-center gap-2.5 py-1.5 text-ui text-fg-secondary",children:[e?(0,a.jsx)(f.r,{className:"size-4 shrink-0 text-fg-muted"}):(0,a.jsx)(j.F,{className:"size-4 shrink-0 text-fg-muted"}),(0,a.jsxs)("span",{children:[t,i&&(0,a.jsx)("span",{className:"block text-xs text-fg-meta",children:i})]})]},t)})});return(0,a.jsxs)("div",{className:"mx-auto max-w-4xl px-10 pb-14 pt-8",children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Autonomy"}),(0,a.jsxs)("div",{className:"mt-6 flex flex-wrap items-center gap-4",children:[(0,a.jsxs)(k.O,{type:"single",value:s,onValueChange:e=>e&&t(e),"aria-label":"How far the agent goes alone",children:[(0,a.jsx)(k.d,{value:"explore",children:"Explore"}),(0,a.jsx)(k.d,{value:"decide",children:"Decide"}),(0,a.jsx)(k.d,{value:"ship",children:"Ship"})]}),(0,a.jsx)("p",{className:"text-ui text-fg-secondary",children:{explore:"It explores and checks, and brings every choice to you.",decide:"It makes the small calls and brings you directions and anything new.",ship:"It takes approved work all the way to a checked pull request."}[s]})]}),(0,a.jsxs)("div",{className:"mt-8 grid grid-cols-2 gap-10",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(T.Av,{children:"Decides alone"}),(0,a.jsx)("div",{className:"mt-2",children:l(!0)})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(T.Av,{children:"Asks you"}),(0,a.jsx)("div",{className:"mt-2",children:l(!1)})]})]})]})}function I(){return(0,a.jsxs)("div",{className:"mx-auto max-w-5xl px-10 pb-14 pt-8",children:[(0,a.jsxs)("div",{className:"flex items-end justify-between gap-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Streak's design system"}),(0,a.jsx)("p",{className:"mt-1 text-ui text-fg-secondary",children:"Started from Baseline. 24 components, 3 of them Streak's own."})]}),(0,a.jsx)(y.$,{size:"sm",children:"Open in code"})]}),(0,a.jsxs)("section",{className:"mt-10 grid grid-cols-3 gap-4",children:[(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"p-4"),children:[(0,a.jsx)("div",{className:"text-xs font-medium text-fg-meta",children:"Colour"}),(0,a.jsx)("div",{className:"mt-4 grid grid-cols-4 gap-2",children:["bg-bg-chrome","bg-bg-content","bg-bg-raised","bg-bg-floating","bg-brand","bg-status-success","bg-status-warning","bg-status-danger"].map(e=>(0,a.jsx)("span",{className:(0,A.cn)("aspect-square rounded-item shadow-ring",e)},e))})]}),(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"p-4"),children:[(0,a.jsx)("div",{className:"text-xs font-medium text-fg-meta",children:"Type"}),(0,a.jsx)("div",{className:"mt-4 font-heading text-display font-semibold text-fg-primary",children:"Aa"}),(0,a.jsx)("div",{className:"mt-2 text-ui text-fg-secondary",children:"Geist for headings, Satoshi for text, at 13, 12 and 11 with a 20 title"})]}),(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"p-4"),children:[(0,a.jsx)("div",{className:"text-xs font-medium text-fg-meta",children:"Shape and space"}),(0,a.jsx)("div",{className:"mt-4 flex items-end gap-2",children:["rounded-control-sm","rounded-control","rounded-panel","rounded-dialog"].map(e=>(0,a.jsx)("span",{className:(0,A.cn)("size-10 bg-fill-control shadow-ring",e)},e))}),(0,a.jsx)("div",{className:"mt-3 text-ui text-fg-secondary",children:"Corners 7, 8, 10 and 14; a 4 point grid"})]})]}),(0,a.jsxs)("section",{className:"mt-10",children:[(0,a.jsx)(T.Av,{children:"Components"}),(0,a.jsx)("div",{className:"mt-3 grid grid-cols-4 gap-4",children:[["Button",(0,a.jsx)(y.$,{size:"sm",variant:"primary",children:"Start with Read"},"b")],["Switch",(0,a.jsx)(w.d,{defaultChecked:!0,"aria-label":"Sample"},"s")],["Habit row",(0,a.jsxs)("span",{className:"flex w-40 items-center gap-2 text-ui text-fg-primary",children:[(0,a.jsx)(f.r,{weight:"fill",className:"size-4 text-brand"}),"Read 10 pages"]},"h")],["Streak ring",(0,a.jsx)("span",{className:"size-12 rounded-full ring-4 ring-inset ring-brand"},"r")]].map(e=>{let[s,t]=e;return(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"flex flex-col"),children:[(0,a.jsx)("div",{className:(0,A.cn)(z.TY,"dot-grid grid h-28 place-items-center"),children:t}),(0,a.jsx)("div",{className:"px-3 pb-2.5 pt-3 text-ui font-medium text-fg-primary",children:s})]},s)})})]})]})}function L(){let[e,s]=(0,i.useState)("reference");return(0,a.jsxs)("div",{className:"mx-auto grid max-w-5xl grid-cols-[14rem_minmax(0,1fr)] gap-12 px-10 pb-14 pt-8",children:[(0,a.jsx)("ol",{className:"grid content-start gap-1",children:[["What it's for","Invoicing for freelancers, calm and trustworthy",!0],["Where it starts","",!1],["The look","",!1],["What it needs","",!1]].map((e,s)=>{let[t,i,n]=e;return(0,a.jsxs)("li",{className:(0,A.cn)("flex items-start gap-3 rounded-item px-2.5 py-2",1===s&&"bg-fill-selected"),children:[n?(0,a.jsx)(f.r,{weight:"fill",className:"mt-0.5 size-5 shrink-0 text-fg-primary"}):(0,a.jsx)("span",{className:"mt-0.5 grid size-5 shrink-0 place-items-center rounded-full text-2xs font-semibold text-fg-meta shadow-ring",children:s+1}),(0,a.jsxs)("span",{className:"min-w-0",children:[(0,a.jsx)("span",{className:(0,A.cn)("block text-ui font-medium",1===s?"text-fg-primary":"text-fg-secondary"),children:t}),i&&(0,a.jsx)("span",{className:"block text-xs text-fg-meta",children:i})]})]},t)})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Where should Ledger's system start?"}),(0,a.jsx)("p",{className:"mt-1 max-w-xl text-ui text-fg-secondary",children:"Everything is new either way: its own components, its own look. This only decides what the agent drafts first."}),(0,a.jsx)("div",{className:"mt-6 grid grid-cols-3 gap-3",children:[["baseline","From Baseline","Baseline's components, restyled and renamed for Ledger"],["reference","From a reference","A product you admire; the agent studies it and drafts from it"],["blank","From nothing","The agent proposes foundations from the brief alone"]].map(t=>{let[i,n,r]=t;return(0,a.jsxs)("button",{type:"button",onClick:()=>s(i),className:(0,A.cn)(z.pj,"grid gap-2 p-4 text-left outline-hidden transition-hover hover:bg-bg-floating",e===i&&"ring-1 ring-brand"),children:[(0,a.jsx)("span",{className:"text-ui font-medium text-fg-primary",children:n}),(0,a.jsx)("span",{className:"text-xs text-fg-meta",children:r})]},i)})}),"reference"===e&&(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"mt-4 flex items-center gap-3 p-3"),children:[(0,a.jsx)("span",{className:"text-ui text-fg-secondary",children:"stripe.com/invoicing"}),(0,a.jsx)("span",{className:"flex-1"}),(0,a.jsx)("span",{className:"text-xs text-fg-meta",children:"The agent will study its type, colour, density and components"})]}),(0,a.jsxs)("div",{className:"mt-8 flex gap-2",children:[(0,a.jsx)(y.$,{children:"Back"}),(0,a.jsxs)(y.$,{variant:"primary",children:["Next",(0,a.jsx)(u.Q,{})]})]})]})]})}function U(){return(0,a.jsxs)("div",{className:"mx-auto grid max-w-5xl grid-cols-[16rem_minmax(0,1fr)] gap-10 px-10 pb-14 pt-8",children:[(0,a.jsxs)("div",{className:"grid content-start gap-1",children:[(0,a.jsx)("h1",{className:"mb-3 text-title font-semibold text-fg-primary",children:"Notes"}),[["Should a missed day show at all?","Today"],["Onboarding without an account","Yesterday"],["A widget for the lock screen","Nov 21"]].map((e,s)=>{let[t,i]=e;return(0,a.jsxs)("div",{className:(0,A.cn)("rounded-item px-2.5 py-2",0===s&&"bg-fill-selected"),children:[(0,a.jsx)("div",{className:(0,A.cn)("truncate text-ui font-medium",0===s?"text-fg-primary":"text-fg-secondary"),children:t}),(0,a.jsx)("div",{className:"text-xs text-fg-meta",children:i})]},t)})]}),(0,a.jsxs)("div",{className:"grid content-start gap-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-heading font-semibold text-fg-primary",children:"Should a missed day show at all?"}),(0,a.jsx)("p",{className:"mt-3 max-w-2xl text-body text-fg-secondary",children:"I keep going back and forth. Showing the miss is honest, but the whole promise is that a miss doesn't count against you. What if the week only ever shows what you did, and the pause is something you find, not something you see?"})]}),(0,a.jsxs)("div",{className:"grid gap-3",children:[(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"p-0"),children:[(0,a.jsxs)("div",{className:"flex h-11 items-center gap-2 px-3 text-ui",children:[(0,a.jsx)(N.W,{className:"size-4 text-fg-muted"}),(0,a.jsx)("span",{className:"font-medium text-fg-primary",children:"Drew both, side by side"}),(0,a.jsx)("span",{className:"text-fg-meta",children:"Week, two ways"}),(0,a.jsx)("span",{className:"flex-1"}),(0,a.jsxs)(y.$,{size:"sm",children:["Make it a brief",(0,a.jsx)(u.Q,{})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-4 gap-1 p-1 pt-0",children:[_[2],_[5]].map(e=>(0,a.jsx)(M,{id:e.id,name:"Pause rehearsal"===e.name?"Shows the pause":"Only what you did"},e.id))})]}),(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"flex items-start gap-3 px-3 py-3"),children:[(0,a.jsx)(x.j,{className:"mt-0.5 size-4 shrink-0 text-fg-muted"}),(0,a.jsxs)("div",{className:"min-w-0 text-ui",children:[(0,a.jsx)("div",{className:"font-medium text-fg-primary",children:"Two Brain pages bear on this"}),(0,a.jsx)("div",{className:"mt-0.5 text-fg-secondary",children:'Streaks reset at 4am, and A habit tracker that forgives. The second says a miss "pauses, never ends" a streak, which argues for showing the pause.'})]})]})]}),(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"flex items-center gap-2 p-1.5 pl-3"),children:[(0,a.jsx)("span",{className:"flex-1 text-ui text-fg-muted",children:"Add to the note"}),(0,a.jsx)(y.$,{size:"sm",variant:"primary",children:"Add"})]})]})]})}function Y(){return(0,a.jsxs)("div",{className:"mx-auto max-w-4xl px-10 pb-14 pt-8",children:[(0,a.jsx)("h1",{className:"text-title font-semibold text-fg-primary",children:"Brain"}),(0,a.jsxs)("section",{className:"mt-8",children:[(0,a.jsx)(T.Av,{action:(0,a.jsx)("span",{className:"text-xs text-fg-meta",children:"From 212 reactions"}),children:"Taste"}),(0,a.jsxs)("div",{className:"mt-3 grid gap-2",children:[(0,a.jsxs)("div",{className:(0,A.cn)(z.pj,"flex flex-wrap items-center gap-4 px-3 py-3"),children:[(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("div",{className:"text-ui font-medium text-fg-primary",children:"No gradient surfaces"}),(0,a.jsx)("div",{className:"mt-0.5 text-xs text-fg-meta",children:"You cut all 7 directions that had one"})]}),(0,a.jsx)(y.$,{variant:"primary",size:"sm",children:"Make it a rule"}),(0,a.jsx)(y.$,{variant:"ghost",size:"sm",children:"Not a rule"})]}),[["The shorter headline wins","5 of 5, accepted Nov 24"],["No text on orange","From baseline-taste"],["Sentence case everywhere","From ux-writing"]].map(e=>{let[s,t]=e;return(0,a.jsxs)("div",{className:"flex h-row items-center gap-2.5 rounded-item px-3 text-ui",children:[(0,a.jsx)(v.D,{className:"size-4 text-fg-muted"}),(0,a.jsx)("span",{className:"font-medium text-fg-primary",children:s}),(0,a.jsx)("span",{className:"ml-auto text-xs text-fg-meta",children:t})]},s)})]})]}),(0,a.jsxs)("section",{className:"mt-10",children:[(0,a.jsx)(T.Av,{children:"Pages"}),(0,a.jsx)("div",{className:"mt-3 grid grid-cols-2 gap-x-8",children:["The agent lives inside Playground","The island is how you get around","One design system per product","Streaks reset at 4am","A habit tracker that forgives","Maya Okafor"].map(e=>(0,a.jsxs)("div",{className:"flex h-row items-center gap-2.5 text-ui text-fg-secondary",children:[(0,a.jsx)(o.i,{className:"size-4 text-fg-muted"}),e]},e))})]})]})}},88239:(e,s,t)=>{"use strict";let a;t.d(s,{S:()=>m});var i=t(95155),n=t(12115),r=t(80526),l=t(80669),d=t.n(l);let c=[..."layground"];function m(e){let{collapsed:s}=e,t=(0,n.useId)().replace(/:/g,""),l=e=>c.map(()=>4*!e),[m,o]=(0,n.useState)(()=>l(null!=a?a:s)),x=(0,n.useRef)(null!=a?a:s);(0,n.useEffect)(()=>{if(a=s,x.current===s)return;if(x.current=s,matchMedia("(prefers-reduced-motion: reduce)").matches)return o(l(s));let e=(e,s)=>{let t=getComputedStyle(document.documentElement).getPropertyValue(e).trim();return(parseFloat(t)||s)*(t.endsWith("ms")?1:1e3)},t=c.length,i=s?e("--dur-quick",.2)/2:e("--dur-instant",.15),n=s?i/(t-1):i/6,r=performance.now(),d=0,m=e=>{let a=e-r;o(c.map((e,t)=>{let r=Math.floor(4*Math.max(0,Math.min(1,(a-(s?c.length-1-t:t)*n)/i)));return s?4-r:r})),a<(t-1)*n+i?d=requestAnimationFrame(m):o(l(s))};return d=requestAnimationFrame(m),()=>cancelAnimationFrame(d)},[s]);let h={1:[[0,0]],2:[[0,0],[2,2]],3:[[0,0],[2,0],[0,2]]};return(0,i.jsxs)("svg",{role:"img","aria-label":"Playground",className:(0,r.cn)(d().className,"h-8 w-full overflow-hidden text-fg-primary"),children:[(0,i.jsx)("defs",{children:[1,2,3].map(e=>(0,i.jsx)("pattern",{id:"".concat(t,"-d").concat(e),width:"4",height:"4",patternUnits:"userSpaceOnUse",children:h[e].map(e=>{let[s,t]=e;return(0,i.jsx)("rect",{x:s,y:t,width:"2",height:"2",fill:"currentColor"},"".concat(s).concat(t))})},e))}),(0,i.jsxs)("text",{x:"0",y:"22",fontSize:"20",fill:"currentColor",children:["P",c.map((e,s)=>{let a;return(0,i.jsx)("tspan",{fill:(a=m[s])>=4?"currentColor":a<=0?"transparent":"url(#".concat(t,"-d").concat(a,")"),children:e},s)})]})]})}},99365:(e,s,t)=>{"use strict";t.d(s,{MX:()=>v,TY:()=>p,_F:()=>f,i0:()=>u,pj:()=>h,wI:()=>j,y5:()=>g});var a=t(95155),i=t(12115),n=t(88702),r=t(53847),l=t(45319),d=t(3278),c=t(58669),m=t(68772),o=t(57644),x=t(80526);let h="over-ring rounded-panel bg-bg-raised p-1",p="rounded-item bg-bg-chrome shadow-ring",g="w-full border-collapse text-ui tabular-nums",u="[&_th]:h-9 [&_th]:whitespace-nowrap [&_th]:px-4 [&_th]:text-start [&_th]:align-middle [&_th]:text-xs [&_th]:font-medium [&_th]:text-fg-meta [&_th]:shadow-divider-b",f="[&_td]:px-4 [&_td]:py-2.5 [&_td]:align-top [&_td]:text-sm [&_td]:text-fg-secondary";function j(e){let{controls:s,actions:t,children:i,className:n}=e;return(0,a.jsxs)("div",{className:(0,x.cn)(h,"flex flex-col gap-1",n),children:[(s||t)&&(0,a.jsxs)("div",{className:"flex h-8 items-center gap-0.5 px-1",children:[s,(0,a.jsx)("span",{className:"flex-1"}),t]}),(0,a.jsx)("div",{className:(0,x.cn)(p,"overflow-hidden"),children:i})]})}let N=e=>/[",\n]/.test(e)?'"'.concat(e.replace(/"/g,'""'),'"'):e;function v(e){let{name:s,data:t,children:g,actions:u,className:f}=e,[j,v]=(0,i.useState)(!1),[y,w]=(0,i.useState)(!1),b=async()=>{let{head:e,rows:s}=t();try{await navigator.clipboard.writeText([e,...s].map(e=>e.join(" ")).join("\n")),v(!0),setTimeout(()=>v(!1),1500)}catch(e){}},k=()=>{let{head:e,rows:a}=t(),i=URL.createObjectURL(new Blob([[e,...a].map(e=>e.map(N).join(",")).join("\n")],{type:"text/csv"}));Object.assign(document.createElement("a"),{href:i,download:"".concat(s,".csv")}).click(),URL.revokeObjectURL(i)},S=e=>(0,a.jsxs)("div",{className:"flex h-8 items-center gap-0.5 px-1",children:[u,(0,a.jsx)("span",{className:"flex-1"}),(0,a.jsx)(m.$,{variant:"ghost",size:"icon-sm","aria-label":j?"Copied":"Copy table",onClick:b,children:j?(0,a.jsx)(n.J,{}):(0,a.jsx)(r.Q,{})}),(0,a.jsx)(m.$,{variant:"ghost",size:"icon-sm","aria-label":"Download table",onClick:k,children:(0,a.jsx)(l.z,{})}),e?(0,a.jsx)(o.HM,{asChild:!0,children:(0,a.jsx)(m.$,{variant:"ghost",size:"icon-sm","aria-label":"Close",children:(0,a.jsx)(d.X,{})})}):(0,a.jsx)(m.$,{variant:"ghost",size:"icon-sm","aria-label":"Expand table",onClick:()=>w(!0),children:(0,a.jsx)(c.Z,{})})]}),z=e=>(0,a.jsx)("div",{className:(0,x.cn)(p,"overflow-auto",e&&"max-h-[calc(100dvh-(--spacing(32)))]"),children:g});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,x.cn)(h,"flex flex-col gap-1",f),children:[S(!1),z()]}),(0,a.jsx)(o.lG,{open:y,onOpenChange:w,children:(0,a.jsxs)(o.Cf,{className:"flex max-w-[min(1200px,calc(100vw-(--spacing(8))))] flex-col gap-1 bg-bg-raised p-1 [&>button:last-child]:hidden",children:[(0,a.jsx)(o.L3,{className:"sr-only",children:s}),S(!0),z(!0)]})})]})}}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,4873,845,645,8441,1255,7358],()=>e(e.s=62605)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{17078:()=>{},41290:()=>{},45858:(e,n,t)=>{Promise.resolve().then(t.t.bind(t,41290,23)),Promise.resolve().then(t.bind(t,93890)),Promise.resolve().then(t.bind(t,32296)),Promise.resolve().then(t.bind(t,63172)),Promise.resolve().then(t.bind(t,25522)),Promise.resolve().then(t.bind(t,47520)),Promise.resolve().then(t.t.bind(t,17078,23)),Promise.resolve().then(t.t.bind(t,80669,23)),Promise.resolve().then(t.t.bind(t,71917,23))},63172:(e,n,t)=>{"use strict";t.d(n,{StaleReload:()=>i});var r=t(12115);function i(e){let{build:n}=e;return(0,r.useEffect)(()=>{if(!n)return;let e=!1,t=async()=>{if(!e){e=!0;try{let e=(await (await fetch("/api/build",{cache:"no-store"})).json()).build;e&&e!==n&&window.location.reload()}catch(e){}finally{e=!1}}};return window.addEventListener("error",t),window.addEventListener("unhandledrejection",t),()=>{window.removeEventListener("error",t),window.removeEventListener("unhandledrejection",t)}},[n]),null}},71917:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_8c25df",variable:"__variable_8c25df"}}},e=>{e.O(0,[1741,5219,4423,4809,2619,3078,8362,280,7404,4873,2548,9729,544,645,847,82,1620,8682,8441,1255,7358],()=>e(e.s=45858)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64,307,635,878,1208,1337,2438,2476,2791,2866,3014,3033,3087,3088,3130,3577,3851,3981,4477,4617,4633,5044,5394,5531,6286,6854,6999,7338,7343,7465,7711,7745,7844,7897,8285,8504,8573,8734,8885,9492,9703,9968],{84441:()=>{}},_=>{_.O(0,[8441,1255,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64,307,635,878,1208,1337,2438,2476,2791,2866,3014,3033,3087,3088,3130,3577,3851,3981,4477,4617,4633,5044,5394,5531,6286,6854,6999,7338,7343,7465,7711,7745,7844,7897,8285,8504,8573,8734,8885,9492,9703,9968],{84441:()=>{}},_=>{_.O(0,[8441,1255,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4345],{10626:(e,s,_)=>{Promise.resolve().then(_.t.bind(_,52619,23))}},e=>{e.O(0,[2619,8441,1255,7358],()=>e(e.s=10626)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64,307,635,878,1208,1337,2438,2476,2791,2866,3014,3033,3087,3088,3130,3577,3851,3981,4477,4617,4633,5044,5394,5531,6286,6854,6999,7338,7343,7465,7711,7745,7844,7897,8285,8504,8573,8734,8885,9492,9703,9968],{84441:()=>{}},_=>{_.O(0,[8441,1255,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8028],{68168:(e,s,_)=>{Promise.resolve().then(_.bind(_,56005))}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,4873,2548,9729,544,645,847,82,1620,8682,8441,1255,7358],()=>e(e.s=68168)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64,307,635,878,1208,1337,2438,2476,2791,2866,3014,3033,3087,3088,3130,3577,3851,3981,4477,4617,4633,5044,5394,5531,6286,6854,6999,7338,7343,7465,7711,7745,7844,7897,8285,8504,8573,8734,8885,9492,9703,9968],{84441:()=>{}},_=>{_.O(0,[8441,1255,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8825],{87736:(e,s,a)=>{"use strict";a.d(s,{NewSystem:()=>O,ProjectSystem:()=>T,SystemPage:()=>P,bG:()=>F});var t=a(95155),n=a(52619),i=a.n(n),r=a(20063),l=a(12115),c=a(22747),d=a(68772),o=a(99211),m=a(1144),h=a(41880),g=a(67279),x=a(66419),u=a(72e3),f=a(76654),p=a(74371),j=a(32296),y=a(51063),v=a(63765),N=a(50847),w=a(83949),b=a(22383),k=a(93890),C=a(80526);function S(e){let{theme:s,className:a}=e,{mode:n}=(0,k.b)();return(0,t.jsxs)(v.WB,{theme:{...s,mode:n},className:a,children:[(0,t.jsx)(N.wn,{title:"Colour",children:(0,t.jsx)("div",{className:"grid gap-5",children:w.n7.map(e=>(0,t.jsxs)("div",{className:"flex items-start gap-4 max-md:flex-col max-md:gap-2",children:[(0,t.jsx)("span",{className:"w-24 shrink-0 pt-1 text-ui text-fg-meta",children:e.name}),(0,t.jsx)("div",{className:"grid min-w-0 flex-1 grid-cols-4 gap-3 max-md:w-full max-md:gap-2",children:e.items.map(e=>(0,t.jsxs)("div",{className:"min-w-0",children:[e.text?(0,t.jsx)("div",{className:(0,C.cn)("grid h-14 place-items-center rounded-control bg-bg-content font-heading text-title font-semibold shadow-ring",e.cls),children:"Aa"}):(0,t.jsx)("div",{className:(0,C.cn)("h-14 rounded-control shadow-ring",e.cls)}),(0,t.jsx)("div",{className:"mt-1.5 truncate text-ui text-fg-secondary",children:e.name}),(0,t.jsx)(w.Kp,{className:"block break-all",children:e.token})]},e.token))})]},e.name))})}),(0,t.jsxs)(N.wn,{title:"Type",children:[(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 max-md:grid-cols-1",children:[{role:"Headings",family:s.fonts.heading.family,cls:"font-heading font-semibold"},{role:"Text",family:s.fonts.body.family,cls:"font-sans"}].map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-4 rounded-panel bg-bg-content p-4 shadow-ring",children:[(0,t.jsx)("span",{className:(0,C.cn)("text-display text-fg-primary",e.cls),children:"Aa"}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"truncate text-ui text-fg-primary",children:e.family}),(0,t.jsx)("div",{className:"text-ui text-fg-meta",children:e.role})]})]},e.role))}),(0,t.jsx)("div",{className:"mt-4 grid",children:w.vH.map(e=>(0,t.jsxs)("div",{className:"flex min-h-11 items-center gap-4",children:[(0,t.jsx)("span",{className:(0,C.cn)("min-w-0 flex-1 truncate",e.cls),children:"text-title"===e.token?s.name:e.sample}),(0,t.jsx)(w.Kp,{className:"shrink-0",children:e.token})]},e.token))})]}),(0,t.jsx)(N.wn,{title:"Corners",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-x-6 gap-y-4",children:w.O7.map(e=>(0,t.jsxs)("div",{className:"grid justify-items-start gap-1.5",children:[(0,t.jsx)("span",{className:(0,C.cn)("size-12 bg-fill-control shadow-ring",e.cls)}),(0,t.jsx)(w.Kp,{children:e.token.replace("rounded-","")})]},e.token))})}),(0,t.jsx)(N.wn,{title:"Components",count:w.rT.length,children:(0,t.jsx)("div",{"data-specimen":!0,className:"grid grid-cols-2 gap-x-3 gap-y-6 max-md:grid-cols-1",children:w.rT.map(e=>(0,t.jsxs)("figure",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"grid h-36 place-items-center overflow-hidden rounded-panel bg-bg-content px-4 shadow-ring",children:e.hero}),(0,t.jsx)("figcaption",{className:"mt-2 text-ui text-fg-secondary",children:e.name})]},e.id))})})]},"".concat(s.slug,"-").concat(n))}function P(e){let{theme:s}=e;return(0,j.K7)("".concat(s.name,", Design systems")),(0,t.jsx)(p.Zk,{children:(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[(0,t.jsx)(N.Y9,{title:s.name,crumbs:[{label:"Design systems",href:"/design-system"}]}),(0,t.jsxs)("div",{className:(0,C.cn)(p.Eb,"pb-24"),children:[(0,t.jsx)("p",{className:"max-w-xl text-ui text-fg-secondary text-pretty",children:s.line}),(0,t.jsx)(S,{theme:s,className:"mt-8"})]})]})})}function T(e){let{project:s,name:a,theme:n,others:i}=e;(0,j.K7)("Design system, ".concat(a));let[r,c]=(0,l.useState)(!1);return(0,t.jsx)(p.Zk,{children:(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[(0,t.jsx)(N.Y9,{title:"Design system",children:!r&&(0,t.jsx)(d.$,{size:"sm",onClick:()=>c(!0),children:"Change design system"})}),(0,t.jsx)("div",{className:(0,C.cn)(p.Eb,"pb-24"),children:(0,t.jsx)(B,{project:s,name:a,theme:n,others:i,changing:r,onChanging:c})})]})})}function B(e){let{project:s,name:a,theme:n,others:c,changing:d,onChanging:o}=e,{making:m,failed:h}=function(e,s){let a=(0,r.useRouter)(),[t,n]=(0,l.useState)({making:!1,failed:null});return(0,l.useEffect)(()=>{let i=!0,r=async()=>{var t;let r=await fetch("/api/studio/system?project=".concat(e),{cache:"no-store"}).then(e=>e.json()).catch(()=>null);i&&r&&(n({making:r.making,failed:r.failed}),(null==(t=r.theme)?void 0:t.slug)&&r.theme.slug!==s&&a.refresh())};r();let l=setInterval(()=>"visible"===document.visibilityState&&void r(),t.making?2500:1e4);return()=>(i=!1,clearInterval(l))},[e,s,a,t.making]),t}(s,n.slug),g=n.name.toLowerCase()===a.toLowerCase();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"text-ui text-fg-secondary",children:["Every screen in ",a," is made in"," ",g?"its own system":(0,t.jsx)(i(),{href:"/design-system/".concat(n.slug),className:"text-fg-primary underline-offset-4 outline-hidden hover:underline focus-visible:ring-2 focus-visible:ring-ring",children:n.name}),"."]}),m&&(0,t.jsxs)(N.vB,{status:"drawing",className:"mt-3",children:["Making ",a,"'s own system"]}),h&&!m&&(0,t.jsx)(N.vB,{danger:!0,className:"mt-3",children:h}),d&&(0,t.jsx)(E,{project:s,name:a,current:n,others:c,onCancel:()=>o(!1)}),(0,t.jsx)(S,{theme:n,className:"mt-8"})]})}function F(e){var s;let{project:a,name:n,themeSlug:i}=e,[r,c]=(0,l.useState)(null),[o,m]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=!0;return fetch("/api/themes",{cache:"no-store"}).then(e=>e.ok?e.json():null).then(s=>e&&(null==s?void 0:s.themes)&&c(s.themes)).catch(()=>{}),()=>{e=!1}},[]);let h=null!=(s=null==r?void 0:r.find(e=>e.slug===i))?s:null==r?void 0:r.find(e=>"baseline"===e.slug);return h?(0,t.jsxs)("article",{className:"flex flex-col p-8 max-md:p-5","aria-label":"".concat(n,"'s design system"),children:[(0,t.jsxs)("header",{className:"flex flex-wrap items-center justify-between gap-3 pb-2",children:[(0,t.jsx)("h2",{className:"text-title font-semibold text-fg-primary",children:h.name}),!o&&(0,t.jsx)(d.$,{size:"sm",onClick:()=>m(!0),children:"Change design system"})]}),(0,t.jsx)(B,{project:a,name:n,theme:h,others:(null!=r?r:[]).filter(e=>e.preset),changing:o,onChanging:m})]}):(0,t.jsx)("div",{className:"h-96"})}function E(e){let{project:s,name:a,current:n,others:i,onCancel:r}=e,{mode:c}=(0,k.b)(),o=(0,y.uB)(),[m,h]=(0,l.useState)(""),[g,x]=(0,l.useState)(""),[u,p]=(0,l.useState)(""),[j,w]=(0,l.useState)(!1),b=[...i.filter(e=>e.slug!==n.slug).map(e=>({id:e.slug,name:e.name,line:e.line,swatch:(0,t.jsx)(v.Ig,{theme:{...e,mode:c}})})),{id:"new",name:"A new design system",line:"The agent makes one for ".concat(a," from how you describe it."),swatch:null}],S=async()=>{if(!m)return p("Pick a design system.");if("new"===m&&!g.trim())return p("Say how it should look and feel, in a few words.");w(!0),p("");let e=i.find(e=>e.slug===m),t="new"===m?"Give ".concat(a," a design system of its own, in place of ").concat(n.name,". Derive its type, colour, spacing, radius, primitives and components from what ").concat(a," is for, then restyle every screen in it.\n\nHow it should look and feel: ").concat(g.trim()):"Move ".concat(a," from ").concat(n.name," to ").concat(null==e?void 0:e.name,", and restyle every screen in it."),r=await fetch("/api/plan",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"brief",project:s,brief:t,crew:"one"})}).then(e=>e.json()).catch(()=>({error:"Couldn't reach Playground. Try again."}));if(w(!1),r.error)return p(r.error);o("/p/".concat(s,"?view=plan"))};return(0,t.jsxs)("section",{"aria-labelledby":"change-q",className:"mt-8 grid gap-3",children:[(0,t.jsxs)("h2",{id:"change-q",className:"text-ui font-medium text-fg-primary",children:["Which design system should ",a," use?"]}),(0,t.jsx)("div",{role:"radiogroup","aria-labelledby":"change-q",className:"-mx-2 grid",children:b.map(e=>(0,t.jsx)(N.fI,{stacked:!0,lead:(0,t.jsx)("span",{"aria-hidden":!0,className:(0,C.cn)("size-3.5 rounded-full border border-fg-muted",m===e.id&&"border-fg-primary bg-fg-primary")}),title:e.name,parent:e.line,trail:e.swatch,trailWidth:"w-3",selected:m===e.id,checked:m===e.id,onClick:()=>(h(e.id),p(""))},e.id))}),"new"===m&&(0,t.jsx)(f.T,{"aria-label":"How it should look and feel",placeholder:"How should it look and feel?",autoFocus:!0,rows:3,value:g,onChange:e=>(x(e.target.value),p("")),"aria-invalid":!!u&&!g.trim()}),u&&(0,t.jsx)("p",{className:"text-sm text-status-danger",children:u}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(d.$,{variant:"primary",disabled:j,onClick:S,children:"Ask the agent"}),(0,t.jsx)(d.$,{variant:"ghost",onClick:r,children:"Cancel"})]})]})}let I=["What it's for","Where it starts","The look","What it needs"],J=["Buttons and inputs","Lists and rows","Cards","Navigation","Tables","Charts","Dialogs and sheets","Empty and loading states"],W=[["baseline","From Baseline","Baseline's components, restyled and renamed for it"],["reference","From a reference","A product you admire, which the agent drafts from"],["blank","From nothing","Foundations proposed from what it's for alone"]],z=(e,s)=>{var a,t,n;return{...e,accent:{...e.accent,h:null!=(a=s.hue)?a:e.accent.h},neutral:null!=(t=s.neutral)?t:e.neutral,radius:null!=(n=s.radius)?n:e.radius}};function O(e){let{project:s,name:a,purpose:n,replaces:i,base:r}=e;(0,j.K7)("New design system, ".concat(a));let v=(0,y.uB)(),[w,k]=(0,l.useState)(0),[S,P]=(0,l.useState)(n),[T,B]=(0,l.useState)("baseline"),[F,E]=(0,l.useState)(""),[O,$]=(0,l.useState)({notes:""}),A=function(e,s){var a;let t=[null!=s.hue&&"an accent at hue ".concat(s.hue),s.neutral&&"".concat((0,b.NT)(z(e,s)).toLowerCase()," greys"),null!=s.radius&&"".concat(null==(a=b.n9.find(e=>e.r===s.radius))?void 0:a.name.toLowerCase()," corners")].filter(Boolean);return[t.length?"Baseline with ".concat(t.join(", "),"."):"",s.notes.trim()].filter(Boolean).join(" ")}(r,O),[L,H]=(0,l.useState)(J.slice(0,4)),[K,_]=(0,l.useState)(""),[R,q]=(0,l.useState)(!1),[G,M]=(0,l.useState)(""),Y="new-system:".concat(s),[Z,U]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(Z)return;let e=Number(new URLSearchParams(location.search).get("step"));e>=1&&e<=I.length&&k(e-1);try{var s;let e=JSON.parse(null!=(s=sessionStorage.getItem(Y))?s:"null");e&&(P(e.purpose),B(e.start),E(e.reference),e.picks&&$(e.picks),H(e.needs))}catch(e){}U(!0)},[Z,Y]),(0,l.useEffect)(()=>{if(!Z)return;sessionStorage.setItem(Y,JSON.stringify({purpose:S,start:T,reference:F,picks:O,needs:L}));let e=new URL(location.href);e.searchParams.set("step",String(w+1)),history.replaceState(history.state,"",e)},[Z,Y,w,S,T,F,O,L]);let Q=[S.trim()?"":"Say what it's for first.","reference"!==T||F.trim()?"":"Name the reference first.","",L.length?"":"Pick at least one."],V=e=>(_(""),k(e)),X=async()=>{let e=Q.findIndex(Boolean);if(e>=0)return k(e),_(Q[e]);q(!0),_(""),M("");let a=await fetch("/api/studio/system",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:s,purpose:S,start:T,reference:F,look:A,needs:L})}).then(e=>e.json()).catch(()=>({error:"Couldn't reach Playground."}));q(!1),a.error?M(a.error):(sessionStorage.removeItem(Y),v("/p/".concat(s,"/design-system")))},ee=e=>K&&w===e?{"aria-invalid":!0,"aria-describedby":"ns-error"}:{},es=e=>K&&w===e?(0,t.jsx)("p",{id:"ns-error",className:"text-sm text-status-danger",children:K}):null,ea=i?"Replace ".concat(a,"'s system"):"Make ".concat(a,"'s system");return(0,t.jsx)(p.Zk,{children:(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[(0,t.jsx)(N.Y9,{title:"New design system",crumbs:[{label:"".concat(a,"'s design system"),href:"/p/".concat(s,"/design-system")}]}),(0,t.jsxs)("div",{className:(0,C.cn)(p.Eb,"grid gap-x-10 gap-y-6 pb-24 md:grid-cols-4"),children:[(0,t.jsx)("nav",{"aria-label":"Steps",className:"grid content-start max-md:hidden",children:I.map((e,s)=>(0,t.jsx)(N.fI,{nav:!0,lead:(0,t.jsx)("span",{className:"num text-sm",children:s+1}),title:e,selected:s===w,onClick:()=>V(s),trailWidth:"w-0"},e))}),(0,t.jsxs)("div",{className:"grid content-start gap-5 md:col-span-3",children:[(0,t.jsxs)("p",{className:"num -mb-3 text-sm text-fg-meta md:hidden",children:[w+1," of ",I.length]}),0===w&&(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsxs)(g.J,{htmlFor:"ns-for",children:["What is ",a,"'s system for?"]}),(0,t.jsx)(f.T,{id:"ns-for",value:S,onChange:e=>P(e.target.value),autoFocus:!0,className:"field-sizing-content min-h-24",...ee(0)}),es(0)]}),1===w&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)(g.J,{id:"ns-start",children:"Where should it start?"}),(0,t.jsx)(x.z,{"aria-labelledby":"ns-start",value:T,onValueChange:e=>B(e),className:"gap-4",children:W.map(e=>{let[s,a,n]=e;return(0,t.jsxs)(m.D0,{orientation:"horizontal",children:[(0,t.jsx)(x.C,{value:s,id:"ns-start-".concat(s)}),(0,t.jsxs)(m.o7,{children:[(0,t.jsx)(m.dh,{htmlFor:"ns-start-".concat(s),children:a}),(0,t.jsx)(m.ry,{children:n})]})]},s)})})]}),"reference"===T&&(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)(g.J,{htmlFor:"ns-ref",children:"Reference"}),(0,t.jsx)(h.p,{id:"ns-ref",value:F,onChange:e=>E(e.target.value),...ee(1)}),es(1)]})]}),2===w&&(0,t.jsx)(D,{base:r,picks:O,onPick:e=>$(s=>({...s,...e}))}),3===w&&(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)(g.J,{id:"ns-needs",children:"What does it need?"}),(0,t.jsx)("div",{role:"group","aria-labelledby":"ns-needs",className:"grid gap-x-6 gap-y-3 sm:grid-cols-2",...ee(3),children:J.map(e=>(0,t.jsxs)(m.D0,{orientation:"horizontal",children:[(0,t.jsx)(o.S,{id:"ns-need-".concat(e),checked:L.includes(e),onCheckedChange:s=>H(a=>s?[...a,e]:a.filter(s=>s!==e))}),(0,t.jsx)(m.dh,{htmlFor:"ns-need-".concat(e),children:e})]},e))}),es(3)]}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[w>0&&(0,t.jsx)(d.$,{onClick:()=>V(w-1),children:"Back"}),w<3?(0,t.jsxs)(d.$,{variant:"primary",onClick:()=>Q[w]?_(Q[w]):V(w+1),children:["Next",(0,t.jsx)(c.Q,{})]}):(0,t.jsxs)(d.$,{variant:"primary",disabled:R,onClick:X,children:[R&&(0,t.jsx)(u.y,{}),ea]})]}),G&&(0,t.jsx)("p",{className:"text-sm text-status-danger",children:G})]})]})]})]})})}function D(e){let{base:s,picks:a,onPick:n}=e,{mode:i}=(0,k.b)(),r=z(s,a);return(0,t.jsxs)("div",{className:"grid gap-6",children:[(0,t.jsx)(g.J,{children:"How should it look?"}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("span",{className:"text-sm text-fg-meta",children:"Accent"}),(0,t.jsx)(b.rz,{theme:r,mode:i,onPick:e=>n({hue:e})})]}),(0,t.jsxs)("div",{className:"grid max-w-md gap-2",children:[(0,t.jsx)("span",{className:"text-sm text-fg-meta",children:"Greys"}),(0,t.jsx)(b.h0,{theme:r,mode:i,onPick:e=>n({neutral:e})})]}),(0,t.jsxs)("div",{className:"grid max-w-md gap-2",children:[(0,t.jsx)("span",{className:"text-sm text-fg-meta",children:"Corners"}),(0,t.jsx)(b.$I,{theme:r,mode:i,onPick:e=>n({radius:e})})]}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)(g.J,{htmlFor:"ns-look",children:"Anything else"}),(0,t.jsx)(f.T,{id:"ns-look",rows:3,value:a.notes,onChange:e=>n({notes:e.target.value})})]})]})}},98853:(e,s,a)=>{Promise.resolve().then(a.bind(a,87736))}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,4873,2548,9729,544,2201,4196,2357,8091,645,847,82,1620,8682,3765,2383,3949,8441,1255,7358],()=>e(e.s=98853)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9508],{87736:(e,s,a)=>{"use strict";a.d(s,{NewSystem:()=>O,ProjectSystem:()=>T,SystemPage:()=>P,bG:()=>F});var t=a(95155),n=a(52619),i=a.n(n),r=a(20063),l=a(12115),c=a(22747),d=a(68772),o=a(99211),m=a(1144),h=a(41880),g=a(67279),x=a(66419),u=a(72e3),f=a(76654),p=a(74371),j=a(32296),y=a(51063),v=a(63765),N=a(50847),w=a(83949),b=a(22383),k=a(93890),C=a(80526);function S(e){let{theme:s,className:a}=e,{mode:n}=(0,k.b)();return(0,t.jsxs)(v.WB,{theme:{...s,mode:n},className:a,children:[(0,t.jsx)(N.wn,{title:"Colour",children:(0,t.jsx)("div",{className:"grid gap-5",children:w.n7.map(e=>(0,t.jsxs)("div",{className:"flex items-start gap-4 max-md:flex-col max-md:gap-2",children:[(0,t.jsx)("span",{className:"w-24 shrink-0 pt-1 text-ui text-fg-meta",children:e.name}),(0,t.jsx)("div",{className:"grid min-w-0 flex-1 grid-cols-4 gap-3 max-md:w-full max-md:gap-2",children:e.items.map(e=>(0,t.jsxs)("div",{className:"min-w-0",children:[e.text?(0,t.jsx)("div",{className:(0,C.cn)("grid h-14 place-items-center rounded-control bg-bg-content font-heading text-title font-semibold shadow-ring",e.cls),children:"Aa"}):(0,t.jsx)("div",{className:(0,C.cn)("h-14 rounded-control shadow-ring",e.cls)}),(0,t.jsx)("div",{className:"mt-1.5 truncate text-ui text-fg-secondary",children:e.name}),(0,t.jsx)(w.Kp,{className:"block break-all",children:e.token})]},e.token))})]},e.name))})}),(0,t.jsxs)(N.wn,{title:"Type",children:[(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 max-md:grid-cols-1",children:[{role:"Headings",family:s.fonts.heading.family,cls:"font-heading font-semibold"},{role:"Text",family:s.fonts.body.family,cls:"font-sans"}].map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-4 rounded-panel bg-bg-content p-4 shadow-ring",children:[(0,t.jsx)("span",{className:(0,C.cn)("text-display text-fg-primary",e.cls),children:"Aa"}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"truncate text-ui text-fg-primary",children:e.family}),(0,t.jsx)("div",{className:"text-ui text-fg-meta",children:e.role})]})]},e.role))}),(0,t.jsx)("div",{className:"mt-4 grid",children:w.vH.map(e=>(0,t.jsxs)("div",{className:"flex min-h-11 items-center gap-4",children:[(0,t.jsx)("span",{className:(0,C.cn)("min-w-0 flex-1 truncate",e.cls),children:"text-title"===e.token?s.name:e.sample}),(0,t.jsx)(w.Kp,{className:"shrink-0",children:e.token})]},e.token))})]}),(0,t.jsx)(N.wn,{title:"Corners",children:(0,t.jsx)("div",{className:"flex flex-wrap gap-x-6 gap-y-4",children:w.O7.map(e=>(0,t.jsxs)("div",{className:"grid justify-items-start gap-1.5",children:[(0,t.jsx)("span",{className:(0,C.cn)("size-12 bg-fill-control shadow-ring",e.cls)}),(0,t.jsx)(w.Kp,{children:e.token.replace("rounded-","")})]},e.token))})}),(0,t.jsx)(N.wn,{title:"Components",count:w.rT.length,children:(0,t.jsx)("div",{"data-specimen":!0,className:"grid grid-cols-2 gap-x-3 gap-y-6 max-md:grid-cols-1",children:w.rT.map(e=>(0,t.jsxs)("figure",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"grid h-36 place-items-center overflow-hidden rounded-panel bg-bg-content px-4 shadow-ring",children:e.hero}),(0,t.jsx)("figcaption",{className:"mt-2 text-ui text-fg-secondary",children:e.name})]},e.id))})})]},"".concat(s.slug,"-").concat(n))}function P(e){let{theme:s}=e;return(0,j.K7)("".concat(s.name,", Design systems")),(0,t.jsx)(p.Zk,{children:(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[(0,t.jsx)(N.Y9,{title:s.name,crumbs:[{label:"Design systems",href:"/design-system"}]}),(0,t.jsxs)("div",{className:(0,C.cn)(p.Eb,"pb-24"),children:[(0,t.jsx)("p",{className:"max-w-xl text-ui text-fg-secondary text-pretty",children:s.line}),(0,t.jsx)(S,{theme:s,className:"mt-8"})]})]})})}function T(e){let{project:s,name:a,theme:n,others:i}=e;(0,j.K7)("Design system, ".concat(a));let[r,c]=(0,l.useState)(!1);return(0,t.jsx)(p.Zk,{children:(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[(0,t.jsx)(N.Y9,{title:"Design system",children:!r&&(0,t.jsx)(d.$,{size:"sm",onClick:()=>c(!0),children:"Change design system"})}),(0,t.jsx)("div",{className:(0,C.cn)(p.Eb,"pb-24"),children:(0,t.jsx)(B,{project:s,name:a,theme:n,others:i,changing:r,onChanging:c})})]})})}function B(e){let{project:s,name:a,theme:n,others:c,changing:d,onChanging:o}=e,{making:m,failed:h}=function(e,s){let a=(0,r.useRouter)(),[t,n]=(0,l.useState)({making:!1,failed:null});return(0,l.useEffect)(()=>{let i=!0,r=async()=>{var t;let r=await fetch("/api/studio/system?project=".concat(e),{cache:"no-store"}).then(e=>e.json()).catch(()=>null);i&&r&&(n({making:r.making,failed:r.failed}),(null==(t=r.theme)?void 0:t.slug)&&r.theme.slug!==s&&a.refresh())};r();let l=setInterval(()=>"visible"===document.visibilityState&&void r(),t.making?2500:1e4);return()=>(i=!1,clearInterval(l))},[e,s,a,t.making]),t}(s,n.slug),g=n.name.toLowerCase()===a.toLowerCase();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{className:"text-ui text-fg-secondary",children:["Every screen in ",a," is made in"," ",g?"its own system":(0,t.jsx)(i(),{href:"/design-system/".concat(n.slug),className:"text-fg-primary underline-offset-4 outline-hidden hover:underline focus-visible:ring-2 focus-visible:ring-ring",children:n.name}),"."]}),m&&(0,t.jsxs)(N.vB,{status:"drawing",className:"mt-3",children:["Making ",a,"'s own system"]}),h&&!m&&(0,t.jsx)(N.vB,{danger:!0,className:"mt-3",children:h}),d&&(0,t.jsx)(E,{project:s,name:a,current:n,others:c,onCancel:()=>o(!1)}),(0,t.jsx)(S,{theme:n,className:"mt-8"})]})}function F(e){var s;let{project:a,name:n,themeSlug:i}=e,[r,c]=(0,l.useState)(null),[o,m]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=!0;return fetch("/api/themes",{cache:"no-store"}).then(e=>e.ok?e.json():null).then(s=>e&&(null==s?void 0:s.themes)&&c(s.themes)).catch(()=>{}),()=>{e=!1}},[]);let h=null!=(s=null==r?void 0:r.find(e=>e.slug===i))?s:null==r?void 0:r.find(e=>"baseline"===e.slug);return h?(0,t.jsxs)("article",{className:"flex flex-col p-8 max-md:p-5","aria-label":"".concat(n,"'s design system"),children:[(0,t.jsxs)("header",{className:"flex flex-wrap items-center justify-between gap-3 pb-2",children:[(0,t.jsx)("h2",{className:"text-title font-semibold text-fg-primary",children:h.name}),!o&&(0,t.jsx)(d.$,{size:"sm",onClick:()=>m(!0),children:"Change design system"})]}),(0,t.jsx)(B,{project:a,name:n,theme:h,others:(null!=r?r:[]).filter(e=>e.preset),changing:o,onChanging:m})]}):(0,t.jsx)("div",{className:"h-96"})}function E(e){let{project:s,name:a,current:n,others:i,onCancel:r}=e,{mode:c}=(0,k.b)(),o=(0,y.uB)(),[m,h]=(0,l.useState)(""),[g,x]=(0,l.useState)(""),[u,p]=(0,l.useState)(""),[j,w]=(0,l.useState)(!1),b=[...i.filter(e=>e.slug!==n.slug).map(e=>({id:e.slug,name:e.name,line:e.line,swatch:(0,t.jsx)(v.Ig,{theme:{...e,mode:c}})})),{id:"new",name:"A new design system",line:"The agent makes one for ".concat(a," from how you describe it."),swatch:null}],S=async()=>{if(!m)return p("Pick a design system.");if("new"===m&&!g.trim())return p("Say how it should look and feel, in a few words.");w(!0),p("");let e=i.find(e=>e.slug===m),t="new"===m?"Give ".concat(a," a design system of its own, in place of ").concat(n.name,". Derive its type, colour, spacing, radius, primitives and components from what ").concat(a," is for, then restyle every screen in it.\n\nHow it should look and feel: ").concat(g.trim()):"Move ".concat(a," from ").concat(n.name," to ").concat(null==e?void 0:e.name,", and restyle every screen in it."),r=await fetch("/api/plan",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:"brief",project:s,brief:t,crew:"one"})}).then(e=>e.json()).catch(()=>({error:"Couldn't reach Playground. Try again."}));if(w(!1),r.error)return p(r.error);o("/p/".concat(s,"?view=plan"))};return(0,t.jsxs)("section",{"aria-labelledby":"change-q",className:"mt-8 grid gap-3",children:[(0,t.jsxs)("h2",{id:"change-q",className:"text-ui font-medium text-fg-primary",children:["Which design system should ",a," use?"]}),(0,t.jsx)("div",{role:"radiogroup","aria-labelledby":"change-q",className:"-mx-2 grid",children:b.map(e=>(0,t.jsx)(N.fI,{stacked:!0,lead:(0,t.jsx)("span",{"aria-hidden":!0,className:(0,C.cn)("size-3.5 rounded-full border border-fg-muted",m===e.id&&"border-fg-primary bg-fg-primary")}),title:e.name,parent:e.line,trail:e.swatch,trailWidth:"w-3",selected:m===e.id,checked:m===e.id,onClick:()=>(h(e.id),p(""))},e.id))}),"new"===m&&(0,t.jsx)(f.T,{"aria-label":"How it should look and feel",placeholder:"How should it look and feel?",autoFocus:!0,rows:3,value:g,onChange:e=>(x(e.target.value),p("")),"aria-invalid":!!u&&!g.trim()}),u&&(0,t.jsx)("p",{className:"text-sm text-status-danger",children:u}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(d.$,{variant:"primary",disabled:j,onClick:S,children:"Ask the agent"}),(0,t.jsx)(d.$,{variant:"ghost",onClick:r,children:"Cancel"})]})]})}let I=["What it's for","Where it starts","The look","What it needs"],J=["Buttons and inputs","Lists and rows","Cards","Navigation","Tables","Charts","Dialogs and sheets","Empty and loading states"],W=[["baseline","From Baseline","Baseline's components, restyled and renamed for it"],["reference","From a reference","A product you admire, which the agent drafts from"],["blank","From nothing","Foundations proposed from what it's for alone"]],z=(e,s)=>{var a,t,n;return{...e,accent:{...e.accent,h:null!=(a=s.hue)?a:e.accent.h},neutral:null!=(t=s.neutral)?t:e.neutral,radius:null!=(n=s.radius)?n:e.radius}};function O(e){let{project:s,name:a,purpose:n,replaces:i,base:r}=e;(0,j.K7)("New design system, ".concat(a));let v=(0,y.uB)(),[w,k]=(0,l.useState)(0),[S,P]=(0,l.useState)(n),[T,B]=(0,l.useState)("baseline"),[F,E]=(0,l.useState)(""),[O,$]=(0,l.useState)({notes:""}),A=function(e,s){var a;let t=[null!=s.hue&&"an accent at hue ".concat(s.hue),s.neutral&&"".concat((0,b.NT)(z(e,s)).toLowerCase()," greys"),null!=s.radius&&"".concat(null==(a=b.n9.find(e=>e.r===s.radius))?void 0:a.name.toLowerCase()," corners")].filter(Boolean);return[t.length?"Baseline with ".concat(t.join(", "),"."):"",s.notes.trim()].filter(Boolean).join(" ")}(r,O),[L,H]=(0,l.useState)(J.slice(0,4)),[K,_]=(0,l.useState)(""),[R,q]=(0,l.useState)(!1),[G,M]=(0,l.useState)(""),Y="new-system:".concat(s),[Z,U]=(0,l.useState)(!1);(0,l.useEffect)(()=>{if(Z)return;let e=Number(new URLSearchParams(location.search).get("step"));e>=1&&e<=I.length&&k(e-1);try{var s;let e=JSON.parse(null!=(s=sessionStorage.getItem(Y))?s:"null");e&&(P(e.purpose),B(e.start),E(e.reference),e.picks&&$(e.picks),H(e.needs))}catch(e){}U(!0)},[Z,Y]),(0,l.useEffect)(()=>{if(!Z)return;sessionStorage.setItem(Y,JSON.stringify({purpose:S,start:T,reference:F,picks:O,needs:L}));let e=new URL(location.href);e.searchParams.set("step",String(w+1)),history.replaceState(history.state,"",e)},[Z,Y,w,S,T,F,O,L]);let Q=[S.trim()?"":"Say what it's for first.","reference"!==T||F.trim()?"":"Name the reference first.","",L.length?"":"Pick at least one."],V=e=>(_(""),k(e)),X=async()=>{let e=Q.findIndex(Boolean);if(e>=0)return k(e),_(Q[e]);q(!0),_(""),M("");let a=await fetch("/api/studio/system",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({project:s,purpose:S,start:T,reference:F,look:A,needs:L})}).then(e=>e.json()).catch(()=>({error:"Couldn't reach Playground."}));q(!1),a.error?M(a.error):(sessionStorage.removeItem(Y),v("/p/".concat(s,"/design-system")))},ee=e=>K&&w===e?{"aria-invalid":!0,"aria-describedby":"ns-error"}:{},es=e=>K&&w===e?(0,t.jsx)("p",{id:"ns-error",className:"text-sm text-status-danger",children:K}):null,ea=i?"Replace ".concat(a,"'s system"):"Make ".concat(a,"'s system");return(0,t.jsx)(p.Zk,{children:(0,t.jsxs)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:[(0,t.jsx)(N.Y9,{title:"New design system",crumbs:[{label:"".concat(a,"'s design system"),href:"/p/".concat(s,"/design-system")}]}),(0,t.jsxs)("div",{className:(0,C.cn)(p.Eb,"grid gap-x-10 gap-y-6 pb-24 md:grid-cols-4"),children:[(0,t.jsx)("nav",{"aria-label":"Steps",className:"grid content-start max-md:hidden",children:I.map((e,s)=>(0,t.jsx)(N.fI,{nav:!0,lead:(0,t.jsx)("span",{className:"num text-sm",children:s+1}),title:e,selected:s===w,onClick:()=>V(s),trailWidth:"w-0"},e))}),(0,t.jsxs)("div",{className:"grid content-start gap-5 md:col-span-3",children:[(0,t.jsxs)("p",{className:"num -mb-3 text-sm text-fg-meta md:hidden",children:[w+1," of ",I.length]}),0===w&&(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsxs)(g.J,{htmlFor:"ns-for",children:["What is ",a,"'s system for?"]}),(0,t.jsx)(f.T,{id:"ns-for",value:S,onChange:e=>P(e.target.value),autoFocus:!0,className:"field-sizing-content min-h-24",...ee(0)}),es(0)]}),1===w&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)(g.J,{id:"ns-start",children:"Where should it start?"}),(0,t.jsx)(x.z,{"aria-labelledby":"ns-start",value:T,onValueChange:e=>B(e),className:"gap-4",children:W.map(e=>{let[s,a,n]=e;return(0,t.jsxs)(m.D0,{orientation:"horizontal",children:[(0,t.jsx)(x.C,{value:s,id:"ns-start-".concat(s)}),(0,t.jsxs)(m.o7,{children:[(0,t.jsx)(m.dh,{htmlFor:"ns-start-".concat(s),children:a}),(0,t.jsx)(m.ry,{children:n})]})]},s)})})]}),"reference"===T&&(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)(g.J,{htmlFor:"ns-ref",children:"Reference"}),(0,t.jsx)(h.p,{id:"ns-ref",value:F,onChange:e=>E(e.target.value),...ee(1)}),es(1)]})]}),2===w&&(0,t.jsx)(D,{base:r,picks:O,onPick:e=>$(s=>({...s,...e}))}),3===w&&(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsx)(g.J,{id:"ns-needs",children:"What does it need?"}),(0,t.jsx)("div",{role:"group","aria-labelledby":"ns-needs",className:"grid gap-x-6 gap-y-3 sm:grid-cols-2",...ee(3),children:J.map(e=>(0,t.jsxs)(m.D0,{orientation:"horizontal",children:[(0,t.jsx)(o.S,{id:"ns-need-".concat(e),checked:L.includes(e),onCheckedChange:s=>H(a=>s?[...a,e]:a.filter(s=>s!==e))}),(0,t.jsx)(m.dh,{htmlFor:"ns-need-".concat(e),children:e})]},e))}),es(3)]}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[w>0&&(0,t.jsx)(d.$,{onClick:()=>V(w-1),children:"Back"}),w<3?(0,t.jsxs)(d.$,{variant:"primary",onClick:()=>Q[w]?_(Q[w]):V(w+1),children:["Next",(0,t.jsx)(c.Q,{})]}):(0,t.jsxs)(d.$,{variant:"primary",disabled:R,onClick:X,children:[R&&(0,t.jsx)(u.y,{}),ea]})]}),G&&(0,t.jsx)("p",{className:"text-sm text-status-danger",children:G})]})]})]})]})})}function D(e){let{base:s,picks:a,onPick:n}=e,{mode:i}=(0,k.b)(),r=z(s,a);return(0,t.jsxs)("div",{className:"grid gap-6",children:[(0,t.jsx)(g.J,{children:"How should it look?"}),(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("span",{className:"text-sm text-fg-meta",children:"Accent"}),(0,t.jsx)(b.rz,{theme:r,mode:i,onPick:e=>n({hue:e})})]}),(0,t.jsxs)("div",{className:"grid max-w-md gap-2",children:[(0,t.jsx)("span",{className:"text-sm text-fg-meta",children:"Greys"}),(0,t.jsx)(b.h0,{theme:r,mode:i,onPick:e=>n({neutral:e})})]}),(0,t.jsxs)("div",{className:"grid max-w-md gap-2",children:[(0,t.jsx)("span",{className:"text-sm text-fg-meta",children:"Corners"}),(0,t.jsx)(b.$I,{theme:r,mode:i,onPick:e=>n({radius:e})})]}),(0,t.jsxs)("div",{className:"grid gap-1.5",children:[(0,t.jsx)(g.J,{htmlFor:"ns-look",children:"Anything else"}),(0,t.jsx)(f.T,{id:"ns-look",rows:3,value:a.notes,onChange:e=>n({notes:e.target.value})})]})]})}},92850:(e,s,a)=>{Promise.resolve().then(a.bind(a,87736))}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,4873,2548,9729,544,2201,4196,2357,8091,645,847,82,1620,8682,3765,2383,3949,8441,1255,7358],()=>e(e.s=92850)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64,307,635,878,1208,1337,2438,2476,2791,2866,3014,3033,3087,3088,3130,3577,3851,3981,4477,4617,4633,5044,5394,5531,6286,6854,6999,7338,7343,7465,7711,7745,7844,7897,8285,8504,8573,8734,8885,9492,9703,9968],{84441:()=>{}},_=>{_.O(0,[8441,1255,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9451],{37790:(e,s,n)=>{Promise.resolve().then(n.bind(n,62458)),Promise.resolve().then(n.bind(n,95469))}},e=>{e.O(0,[5219,4809,2619,3078,8362,280,7404,4873,2548,9729,544,2201,4196,2357,8091,7842,645,847,82,1620,8682,3765,2383,3949,961,3942,876,8441,1255,7358],()=>e(e.s=37790)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64,307,635,878,1208,1337,2438,2476,2791,2866,3014,3033,3087,3088,3130,3577,3851,3981,4477,4617,4633,5044,5394,5531,6286,6854,6999,7338,7343,7465,7711,7745,7844,7897,8285,8504,8573,8734,8885,9492,9703,9968],{84441:()=>{}},_=>{_.O(0,[8441,1255,7358],()=>_(_.s=84441)),_N_E=_.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{16269:(a,e,h)=>{Promise.resolve().then(h.bind(h,29979))},29725:(a,e,h)=>{"use strict";h.d(e,{x:()=>Z});var m=h(12115),t=h(33144);let H=new Map([["bold",m.createElement(m.Fragment,null,m.createElement("path",{d:"M100,36H56A20,20,0,0,0,36,56v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,100,36ZM96,96H60V60H96ZM200,36H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V56A20,20,0,0,0,200,36Zm-4,60H160V60h36Zm-96,40H56a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,100,136Zm-4,60H60V160H96Zm104-60H156a20,20,0,0,0-20,20v44a20,20,0,0,0,20,20h44a20,20,0,0,0,20-20V156A20,20,0,0,0,200,136Zm-4,60H160V160h36Z"}))],["duotone",m.createElement(m.Fragment,null,m.createElement("path",{d:"M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z",opacity:"0.2"}),m.createElement("path",{d:"M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z"}))],["fill",m.createElement(m.Fragment,null,m.createElement("path",{d:"M120,56v48a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40h48A16,16,0,0,1,120,56Zm80-16H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm-96,96H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm96,0H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Z"}))],["light",m.createElement(m.Fragment,null,m.createElement("path",{d:"M104,42H56A14,14,0,0,0,42,56v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,104,42Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V56A14,14,0,0,0,200,42Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V56a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm-98,34H56a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,104,138Zm2,62a2,2,0,0,1-2,2H56a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Zm94-62H152a14,14,0,0,0-14,14v48a14,14,0,0,0,14,14h48a14,14,0,0,0,14-14V152A14,14,0,0,0,200,138Zm2,62a2,2,0,0,1-2,2H152a2,2,0,0,1-2-2V152a2,2,0,0,1,2-2h48a2,2,0,0,1,2,2Z"}))],["regular",m.createElement(m.Fragment,null,m.createElement("path",{d:"M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"}))],["thin",m.createElement(m.Fragment,null,m.createElement("path",{d:"M104,44H56A12,12,0,0,0,44,56v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,104,44Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V56A12,12,0,0,0,200,44Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V56a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4ZM104,140H56a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,104,140Zm4,60a4,4,0,0,1-4,4H56a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Zm92-60H152a12,12,0,0,0-12,12v48a12,12,0,0,0,12,12h48a12,12,0,0,0,12-12V152A12,12,0,0,0,200,140Zm4,60a4,4,0,0,1-4,4H152a4,4,0,0,1-4-4V152a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4Z"}))]]),V=m.forwardRef((a,e)=>m.createElement(t.A,{ref:e,...a,weights:H}));V.displayName="SquaresFourIcon";let Z=V}},a=>{a.O(0,[5219,4809,2619,3078,8362,280,7404,4873,2548,9729,544,645,847,82,1620,8682,9979,8441,1255,7358],()=>a(a.s=16269)),_N_E=a.O()}]);