openplanr 3.3.0 → 3.5.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 (493) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/dist/cli/commands/artifact-design-share.d.ts +9 -0
  3. package/dist/cli/commands/artifact-design-share.d.ts.map +1 -0
  4. package/dist/cli/commands/artifact-design-share.js +200 -0
  5. package/dist/cli/commands/artifact-design-share.js.map +1 -0
  6. package/dist/cli/commands/artifact.d.ts.map +1 -1
  7. package/dist/cli/commands/artifact.js +5 -18
  8. package/dist/cli/commands/artifact.js.map +1 -1
  9. package/dist/cli/commands/design.d.ts +3 -0
  10. package/dist/cli/commands/design.d.ts.map +1 -0
  11. package/dist/cli/commands/design.js +137 -0
  12. package/dist/cli/commands/design.js.map +1 -0
  13. package/dist/cli/commands/groups/operations.d.ts.map +1 -1
  14. package/dist/cli/commands/groups/operations.js +2 -0
  15. package/dist/cli/commands/groups/operations.js.map +1 -1
  16. package/dist/cli/commands/ship.d.ts.map +1 -1
  17. package/dist/cli/commands/ship.js +2 -0
  18. package/dist/cli/commands/ship.js.map +1 -1
  19. package/dist/dashboard/.vite/manifest.json +2 -2
  20. package/dist/dashboard/assets/index-B-l_941W.js +75 -0
  21. package/dist/dashboard/assets/index-B-l_941W.js.map +1 -0
  22. package/dist/dashboard/assets/index-Cv4Vwhuw.css +2 -0
  23. package/dist/dashboard/dashboard-manifest.json +14 -14
  24. package/dist/dashboard/index.html +2 -2
  25. package/dist/services/design-artifact-service.d.ts +42 -1
  26. package/dist/services/design-artifact-service.d.ts.map +1 -1
  27. package/dist/services/design-artifact-service.js +198 -19
  28. package/dist/services/design-artifact-service.js.map +1 -1
  29. package/dist/services/runtime-manager/runtime-package.js +1 -1
  30. package/dist/services/runtime-manager/runtime-package.js.map +1 -1
  31. package/dist/services/ship-checks/contract.d.ts +3 -1
  32. package/dist/services/ship-checks/contract.d.ts.map +1 -1
  33. package/dist/services/ship-checks/contract.js +1 -1
  34. package/dist/services/ship-checks/contract.js.map +1 -1
  35. package/dist/services/ship-checks/discover.d.ts.map +1 -1
  36. package/dist/services/ship-checks/discover.js +2 -1
  37. package/dist/services/ship-checks/discover.js.map +1 -1
  38. package/dist/services/ship-checks/package-contents.d.ts +4 -0
  39. package/dist/services/ship-checks/package-contents.d.ts.map +1 -0
  40. package/dist/services/ship-checks/package-contents.js +91 -0
  41. package/dist/services/ship-checks/package-contents.js.map +1 -0
  42. package/dist/services/ship-checks/packages.d.ts +2 -0
  43. package/dist/services/ship-checks/packages.d.ts.map +1 -1
  44. package/dist/services/ship-checks/packages.js +4 -0
  45. package/dist/services/ship-checks/packages.js.map +1 -1
  46. package/dist/services/ship-checks/scope.js +2 -1
  47. package/dist/services/ship-checks/scope.js.map +1 -1
  48. package/dist/utils/splice-managed-block.js +1 -1
  49. package/dist/utils/splice-managed-block.js.map +1 -1
  50. package/docs/CLI.md +67 -1
  51. package/lib/host-packages/adapter-registry.json +5 -5
  52. package/lib/host-packages/capability-map.json +1 -1
  53. package/lib/host-packages/claude/.claude-plugin/marketplace.json +3 -3
  54. package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +6 -6
  55. package/lib/host-packages/claude/openplanr/.openplanr-content.json +57 -429
  56. package/lib/host-packages/claude/openplanr/README.md +16 -16
  57. package/lib/host-packages/claude/openplanr/references/agents/shared/modes/shared/task-context-resolution.md +4 -4
  58. package/lib/host-packages/claude/openplanr/skills/artifact/references/design-sharing.md +2 -2
  59. package/lib/host-packages/claude/openplanr/skills/delegate/SKILL.md +2 -1
  60. package/lib/host-packages/claude/openplanr/skills/delegate/references/integration-review.md +26 -20
  61. package/lib/host-packages/claude/openplanr/skills/delegate/references/operator-guide.md +25 -1
  62. package/lib/host-packages/claude/openplanr/skills/delegate/references/run-handoff.md +2 -2
  63. package/lib/host-packages/claude/openplanr/skills/delegate/references/worktree-custody.md +17 -9
  64. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/claude.mjs +15 -3
  65. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/codex.mjs +38 -2
  66. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/adapters/native.mjs +5 -0
  67. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/custody.mjs +217 -10
  68. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/handoff.mjs +1080 -0
  69. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/integrate.mjs +96 -201
  70. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/integration-files.mjs +3 -382
  71. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/presentation.mjs +29 -12
  72. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-contract.mjs +11 -0
  73. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-execution.mjs +1 -1
  74. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-lifecycle.mjs +14 -10
  75. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-preparation.mjs +4 -0
  76. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/run-record.mjs +2 -2
  77. package/lib/host-packages/claude/openplanr/skills/design/SKILL.md +23 -12
  78. package/lib/host-packages/claude/openplanr/skills/design/references/design-system.md +2 -2
  79. package/lib/host-packages/claude/openplanr/skills/design/references/generation.md +3 -3
  80. package/lib/host-packages/claude/openplanr/skills/design/references/hosted-canvas.md +6 -3
  81. package/lib/host-packages/claude/openplanr/skills/design/references/review.md +6 -6
  82. package/lib/host-packages/claude/openplanr/skills/design/references/team-review.md +3 -4
  83. package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +78 -32
  84. package/lib/host-packages/claude/openplanr/skills/design-loop/SKILL.md +15 -7
  85. package/lib/host-packages/claude/openplanr/skills/design-loop/references/design-system.md +2 -2
  86. package/lib/host-packages/claude/openplanr/skills/design-loop/references/generation.md +3 -3
  87. package/lib/host-packages/claude/openplanr/skills/design-loop/references/review.md +6 -6
  88. package/lib/host-packages/claude/openplanr/skills/design-loop/references/team-review.md +3 -4
  89. package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +78 -32
  90. package/lib/host-packages/claude/openplanr/skills/design-review/SKILL.md +25 -5
  91. package/lib/host-packages/claude/openplanr/skills/design-review/references/design-system.md +2 -2
  92. package/lib/host-packages/claude/openplanr/skills/design-review/references/generation.md +3 -3
  93. package/lib/host-packages/claude/openplanr/skills/design-review/references/review.md +6 -6
  94. package/lib/host-packages/claude/openplanr/skills/design-review/references/team-review.md +3 -4
  95. package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +78 -32
  96. package/lib/host-packages/claude/openplanr/skills/investigate/SKILL.md +1 -0
  97. package/lib/host-packages/claude/openplanr/skills/investigate/references/fail-first.md +40 -0
  98. package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +7 -3
  99. package/lib/host-packages/claude/openplanr/skills/ship/SKILL.md +22 -10
  100. package/lib/host-packages/claude/openplanr/skills/ship/references/fail-first.md +40 -0
  101. package/lib/host-packages/claude/openplanr/skills/ship/references/result-contract.md +7 -3
  102. package/lib/host-packages/cursor/openplanr/.openplanr-content.json +55 -427
  103. package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
  104. package/lib/host-packages/cursor/openplanr/rules/planr-artifact/references/design-sharing.md +2 -2
  105. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/integration-review.md +26 -20
  106. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/operator-guide.md +25 -1
  107. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/run-handoff.md +2 -2
  108. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/references/worktree-custody.md +17 -9
  109. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/claude.mjs +15 -3
  110. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/codex.mjs +38 -2
  111. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/adapters/native.mjs +5 -0
  112. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/custody.mjs +217 -10
  113. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/handoff.mjs +1080 -0
  114. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/integrate.mjs +96 -201
  115. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/integration-files.mjs +3 -382
  116. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/presentation.mjs +29 -12
  117. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-contract.mjs +11 -0
  118. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-execution.mjs +1 -1
  119. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-lifecycle.mjs +14 -10
  120. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-preparation.mjs +4 -0
  121. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/run-record.mjs +2 -2
  122. package/lib/host-packages/cursor/openplanr/rules/planr-delegate.mdc +2 -1
  123. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/design-system.md +2 -2
  124. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/generation.md +3 -3
  125. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/hosted-canvas.md +6 -3
  126. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/review.md +6 -6
  127. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/team-review.md +3 -4
  128. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +78 -32
  129. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/design-system.md +2 -2
  130. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/generation.md +3 -3
  131. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/review.md +6 -6
  132. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/team-review.md +3 -4
  133. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +78 -32
  134. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop.mdc +15 -7
  135. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/design-system.md +2 -2
  136. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/generation.md +3 -3
  137. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/review.md +6 -6
  138. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/team-review.md +3 -4
  139. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +78 -32
  140. package/lib/host-packages/cursor/openplanr/rules/planr-design-review.mdc +25 -5
  141. package/lib/host-packages/cursor/openplanr/rules/planr-design.mdc +23 -12
  142. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/references/fail-first.md +40 -0
  143. package/lib/host-packages/cursor/openplanr/rules/planr-investigate.mdc +1 -0
  144. package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +7 -3
  145. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/fail-first.md +40 -0
  146. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/result-contract.md +7 -3
  147. package/lib/host-packages/cursor/openplanr/rules/planr-ship.mdc +22 -10
  148. package/lib/host-packages/openai/.claude-plugin/marketplace.json +3 -3
  149. package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +2 -2
  150. package/lib/host-packages/openai/openplanr/.openplanr-content.json +62 -434
  151. package/lib/host-packages/openai/openplanr/skills/artifact/references/design-sharing.md +2 -2
  152. package/lib/host-packages/openai/openplanr/skills/delegate/SKILL.md +2 -1
  153. package/lib/host-packages/openai/openplanr/skills/delegate/openplanr.skill.json +1 -1
  154. package/lib/host-packages/openai/openplanr/skills/delegate/references/integration-review.md +26 -20
  155. package/lib/host-packages/openai/openplanr/skills/delegate/references/operator-guide.md +25 -1
  156. package/lib/host-packages/openai/openplanr/skills/delegate/references/run-handoff.md +2 -2
  157. package/lib/host-packages/openai/openplanr/skills/delegate/references/worktree-custody.md +17 -9
  158. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/claude.mjs +15 -3
  159. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/codex.mjs +38 -2
  160. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/adapters/native.mjs +5 -0
  161. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/custody.mjs +217 -10
  162. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/handoff.mjs +1080 -0
  163. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/integrate.mjs +96 -201
  164. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/integration-files.mjs +3 -382
  165. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/presentation.mjs +29 -12
  166. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-contract.mjs +11 -0
  167. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-execution.mjs +1 -1
  168. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-lifecycle.mjs +14 -10
  169. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-preparation.mjs +4 -0
  170. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/run-record.mjs +2 -2
  171. package/lib/host-packages/openai/openplanr/skills/design/SKILL.md +23 -12
  172. package/lib/host-packages/openai/openplanr/skills/design/openplanr.skill.json +0 -11
  173. package/lib/host-packages/openai/openplanr/skills/design/references/design-system.md +2 -2
  174. package/lib/host-packages/openai/openplanr/skills/design/references/generation.md +3 -3
  175. package/lib/host-packages/openai/openplanr/skills/design/references/hosted-canvas.md +6 -3
  176. package/lib/host-packages/openai/openplanr/skills/design/references/review.md +6 -6
  177. package/lib/host-packages/openai/openplanr/skills/design/references/team-review.md +3 -4
  178. package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +78 -32
  179. package/lib/host-packages/openai/openplanr/skills/design-loop/SKILL.md +15 -7
  180. package/lib/host-packages/openai/openplanr/skills/design-loop/openplanr.skill.json +0 -11
  181. package/lib/host-packages/openai/openplanr/skills/design-loop/references/design-system.md +2 -2
  182. package/lib/host-packages/openai/openplanr/skills/design-loop/references/generation.md +3 -3
  183. package/lib/host-packages/openai/openplanr/skills/design-loop/references/review.md +6 -6
  184. package/lib/host-packages/openai/openplanr/skills/design-loop/references/team-review.md +3 -4
  185. package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +78 -32
  186. package/lib/host-packages/openai/openplanr/skills/design-review/SKILL.md +25 -5
  187. package/lib/host-packages/openai/openplanr/skills/design-review/openplanr.skill.json +0 -11
  188. package/lib/host-packages/openai/openplanr/skills/design-review/references/design-system.md +2 -2
  189. package/lib/host-packages/openai/openplanr/skills/design-review/references/generation.md +3 -3
  190. package/lib/host-packages/openai/openplanr/skills/design-review/references/review.md +6 -6
  191. package/lib/host-packages/openai/openplanr/skills/design-review/references/team-review.md +3 -4
  192. package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +78 -32
  193. package/lib/host-packages/openai/openplanr/skills/investigate/SKILL.md +1 -0
  194. package/lib/host-packages/openai/openplanr/skills/investigate/openplanr.skill.json +12 -1
  195. package/lib/host-packages/openai/openplanr/skills/investigate/references/fail-first.md +40 -0
  196. package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +7 -3
  197. package/lib/host-packages/openai/openplanr/skills/plan/openplanr.skill.json +0 -11
  198. package/lib/host-packages/openai/openplanr/skills/ship/SKILL.md +22 -10
  199. package/lib/host-packages/openai/openplanr/skills/ship/openplanr.skill.json +12 -1
  200. package/lib/host-packages/openai/openplanr/skills/ship/references/fail-first.md +40 -0
  201. package/lib/host-packages/openai/openplanr/skills/ship/references/result-contract.md +7 -3
  202. package/package.json +8 -8
  203. package/dist/dashboard/assets/index-BU5fzjyz.css +0 -1
  204. package/dist/dashboard/assets/index-B_96uzCl.js +0 -572
  205. package/dist/dashboard/assets/index-B_96uzCl.js.map +0 -1
  206. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1774
  207. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +0 -555
  208. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-compression.mjs +0 -4180
  209. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
  210. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +0 -647
  211. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
  212. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +0 -1576
  213. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
  214. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-owner-custody.mjs +0 -129
  215. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
  216. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
  217. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-resource-pack.mjs +0 -698
  218. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +0 -3385
  219. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -39
  220. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-support-25485dbf1cb2.mjs +0 -24
  221. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
  222. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +0 -1993
  223. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +0 -1113
  224. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +0 -505
  225. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +0 -222
  226. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs +0 -5907
  227. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-upload-spool.mjs +0 -198
  228. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +0 -1430
  229. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2050
  230. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
  231. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
  232. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -809
  233. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -5693
  234. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +0 -4175
  235. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +0 -65
  236. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +0 -1755
  237. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +0 -62
  238. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +0 -2633
  239. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -124
  240. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
  241. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
  242. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
  243. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
  244. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -133
  245. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
  246. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
  247. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
  248. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
  249. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
  250. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
  251. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
  252. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
  253. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
  254. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
  255. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
  256. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
  257. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
  258. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
  259. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
  260. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
  261. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
  262. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
  263. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
  264. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
  265. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
  266. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
  267. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
  268. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -159
  269. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
  270. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
  271. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
  272. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-paste.schema.json +0 -49
  273. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  274. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
  275. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
  276. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
  277. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
  278. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
  279. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
  280. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
  281. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
  282. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
  283. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
  284. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
  285. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
  286. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
  287. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
  288. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-workspace.schema.json +0 -108
  289. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-create.schema.json +0 -170
  290. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-event.schema.json +0 -97
  291. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-revision.schema.json +0 -56
  292. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -5468
  293. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +0 -2844
  294. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
  295. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -159
  296. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  297. package/lib/host-packages/claude/openplanr/skills/delegate/scripts/integration-transaction.mjs +0 -958
  298. package/lib/host-packages/claude/openplanr/skills/design/scripts/design.mjs +0 -12
  299. package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design.mjs +0 -12
  300. package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design.mjs +0 -12
  301. package/lib/host-packages/claude/openplanr/skills/plan/scripts/design.mjs +0 -12
  302. package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/integration-transaction.mjs +0 -958
  303. package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design.mjs +0 -12
  304. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design.mjs +0 -12
  305. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design.mjs +0 -12
  306. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design.mjs +0 -12
  307. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1774
  308. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +0 -555
  309. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-compression.mjs +0 -4180
  310. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
  311. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +0 -647
  312. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
  313. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +0 -1576
  314. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
  315. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-owner-custody.mjs +0 -129
  316. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
  317. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
  318. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-resource-pack.mjs +0 -698
  319. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +0 -3385
  320. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -39
  321. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-support-25485dbf1cb2.mjs +0 -24
  322. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
  323. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +0 -1993
  324. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +0 -1113
  325. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +0 -505
  326. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +0 -222
  327. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs +0 -5907
  328. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-upload-spool.mjs +0 -198
  329. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +0 -1430
  330. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2050
  331. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
  332. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
  333. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -809
  334. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -5693
  335. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +0 -4175
  336. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +0 -65
  337. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +0 -1755
  338. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +0 -62
  339. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +0 -2633
  340. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -124
  341. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
  342. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
  343. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
  344. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
  345. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -133
  346. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
  347. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
  348. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
  349. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
  350. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
  351. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
  352. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
  353. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
  354. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
  355. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
  356. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
  357. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
  358. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
  359. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
  360. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
  361. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
  362. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
  363. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
  364. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
  365. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
  366. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
  367. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
  368. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
  369. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -159
  370. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
  371. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
  372. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
  373. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-paste.schema.json +0 -49
  374. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  375. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
  376. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
  377. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
  378. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
  379. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
  380. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
  381. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
  382. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
  383. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
  384. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
  385. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
  386. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
  387. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
  388. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
  389. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-workspace.schema.json +0 -108
  390. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-create.schema.json +0 -170
  391. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-event.schema.json +0 -97
  392. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-revision.schema.json +0 -56
  393. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -5468
  394. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +0 -2844
  395. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
  396. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -159
  397. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  398. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1774
  399. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +0 -555
  400. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-compression.mjs +0 -4180
  401. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
  402. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +0 -647
  403. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
  404. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +0 -1576
  405. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
  406. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-owner-custody.mjs +0 -129
  407. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
  408. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
  409. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-resource-pack.mjs +0 -698
  410. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +0 -3385
  411. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -39
  412. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-support-25485dbf1cb2.mjs +0 -24
  413. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
  414. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +0 -1993
  415. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +0 -1113
  416. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +0 -505
  417. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +0 -222
  418. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs +0 -5907
  419. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-upload-spool.mjs +0 -198
  420. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +0 -1430
  421. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2050
  422. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
  423. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
  424. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -809
  425. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -5693
  426. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +0 -4175
  427. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +0 -65
  428. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +0 -1755
  429. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +0 -62
  430. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +0 -2633
  431. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -124
  432. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
  433. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
  434. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
  435. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
  436. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -133
  437. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
  438. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
  439. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
  440. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +0 -2261
  441. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +0 -1595
  442. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +0 -1467
  443. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +0 -1860
  444. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/07-react-dom-client-work-loop-scheduling.js +0 -914
  445. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/08-react-dom-client-dom-events-properties-hydration.js +0 -2578
  446. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +0 -582
  447. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
  448. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
  449. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
  450. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
  451. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
  452. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
  453. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
  454. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
  455. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
  456. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
  457. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
  458. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
  459. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
  460. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -159
  461. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
  462. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
  463. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
  464. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-paste.schema.json +0 -49
  465. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  466. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
  467. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
  468. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
  469. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
  470. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
  471. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
  472. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
  473. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
  474. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
  475. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
  476. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
  477. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
  478. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
  479. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
  480. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-workspace.schema.json +0 -108
  481. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-create.schema.json +0 -170
  482. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-event.schema.json +0 -97
  483. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-workspace-revision.schema.json +0 -56
  484. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -5468
  485. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +0 -2844
  486. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
  487. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -159
  488. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  489. package/lib/host-packages/openai/openplanr/skills/delegate/scripts/integration-transaction.mjs +0 -958
  490. package/lib/host-packages/openai/openplanr/skills/design/scripts/design.mjs +0 -12
  491. package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design.mjs +0 -12
  492. package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design.mjs +0 -12
  493. package/lib/host-packages/openai/openplanr/skills/plan/scripts/design.mjs +0 -12
@@ -1,900 +0,0 @@
1
-
2
-
3
- // ../../node_modules/react/cjs/react-jsx-runtime.production.js
4
- var require_react_jsx_runtime_production = __commonJS({
5
- "../../node_modules/react/cjs/react-jsx-runtime.production.js"(exports) {
6
- "use strict";
7
- /**
8
- * @license React
9
- * react-jsx-runtime.production.js
10
- *
11
- * Copyright (c) Meta Platforms, Inc. and affiliates.
12
- *
13
- * This source code is licensed under the MIT license found in the
14
- * LICENSE file in the root directory of this source tree.
15
- */
16
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
17
- function jsxProd(type, config, maybeKey) {
18
- var key = null;
19
- if (maybeKey !== void 0 && (key = "" + maybeKey), config.key !== void 0 && (key = "" + config.key), "key" in config) {
20
- maybeKey = {};
21
- for (var propName in config)
22
- propName !== "key" && (maybeKey[propName] = config[propName]);
23
- } else maybeKey = config;
24
- return config = maybeKey.ref, {
25
- $$typeof: REACT_ELEMENT_TYPE,
26
- type,
27
- key,
28
- ref: config !== void 0 ? config : null,
29
- props: maybeKey
30
- };
31
- }
32
- exports.Fragment = REACT_FRAGMENT_TYPE;
33
- exports.jsx = jsxProd;
34
- exports.jsxs = jsxProd;
35
- }
36
- });
37
-
38
- // ../../node_modules/react/jsx-runtime.js
39
- var require_jsx_runtime = __commonJS({
40
- "../../node_modules/react/jsx-runtime.js"(exports, module) {
41
- "use strict";
42
- module.exports = require_react_jsx_runtime_production();
43
- }
44
- });
45
-
46
- // ../../node_modules/react/cjs/react.production.js
47
- var require_react_production = __commonJS({
48
- "../../node_modules/react/cjs/react.production.js"(exports) {
49
- "use strict";
50
- /**
51
- * @license React
52
- * react.production.js
53
- *
54
- * Copyright (c) Meta Platforms, Inc. and affiliates.
55
- *
56
- * This source code is licensed under the MIT license found in the
57
- * LICENSE file in the root directory of this source tree.
58
- */
59
- var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE2 = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
60
- function getIteratorFn(maybeIterable) {
61
- return maybeIterable === null || typeof maybeIterable != "object" ? null : (maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"], typeof maybeIterable == "function" ? maybeIterable : null);
62
- }
63
- var ReactNoopUpdateQueue = {
64
- isMounted: function() {
65
- return !1;
66
- },
67
- enqueueForceUpdate: function() {
68
- },
69
- enqueueReplaceState: function() {
70
- },
71
- enqueueSetState: function() {
72
- }
73
- }, assign = Object.assign, emptyObject = {};
74
- function Component(props, context, updater) {
75
- this.props = props, this.context = context, this.refs = emptyObject, this.updater = updater || ReactNoopUpdateQueue;
76
- }
77
- Component.prototype.isReactComponent = {};
78
- Component.prototype.setState = function(partialState, callback) {
79
- if (typeof partialState != "object" && typeof partialState != "function" && partialState != null)
80
- throw Error(
81
- "takes an object of state variables to update or a function which returns an object of state variables."
82
- );
83
- this.updater.enqueueSetState(this, partialState, callback, "setState");
84
- };
85
- Component.prototype.forceUpdate = function(callback) {
86
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
87
- };
88
- function ComponentDummy() {
89
- }
90
- ComponentDummy.prototype = Component.prototype;
91
- function PureComponent(props, context, updater) {
92
- this.props = props, this.context = context, this.refs = emptyObject, this.updater = updater || ReactNoopUpdateQueue;
93
- }
94
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
95
- pureComponentPrototype.constructor = PureComponent;
96
- assign(pureComponentPrototype, Component.prototype);
97
- pureComponentPrototype.isPureReactComponent = !0;
98
- var isArrayImpl = Array.isArray;
99
- function noop3() {
100
- }
101
- var ReactSharedInternals = { H: null, A: null, T: null, S: null }, hasOwnProperty = Object.prototype.hasOwnProperty;
102
- function ReactElement(type, key, props) {
103
- var refProp = props.ref;
104
- return {
105
- $$typeof: REACT_ELEMENT_TYPE,
106
- type,
107
- key,
108
- ref: refProp !== void 0 ? refProp : null,
109
- props
110
- };
111
- }
112
- function cloneAndReplaceKey(oldElement, newKey) {
113
- return ReactElement(oldElement.type, newKey, oldElement.props);
114
- }
115
- function isValidElement2(object2) {
116
- return typeof object2 == "object" && object2 !== null && object2.$$typeof === REACT_ELEMENT_TYPE;
117
- }
118
- function escape(key) {
119
- var escaperLookup = { "=": "=0", ":": "=2" };
120
- return "$" + key.replace(/[=:]/g, function(match) {
121
- return escaperLookup[match];
122
- });
123
- }
124
- var userProvidedKeyEscapeRegex = /\/+/g;
125
- function getElementKey(element, index2) {
126
- return typeof element == "object" && element !== null && element.key != null ? escape("" + element.key) : index2.toString(36);
127
- }
128
- function resolveThenable(thenable) {
129
- switch (thenable.status) {
130
- case "fulfilled":
131
- return thenable.value;
132
- case "rejected":
133
- throw thenable.reason;
134
- default:
135
- switch (typeof thenable.status == "string" ? thenable.then(noop3, noop3) : (thenable.status = "pending", thenable.then(
136
- function(fulfilledValue) {
137
- thenable.status === "pending" && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
138
- },
139
- function(error) {
140
- thenable.status === "pending" && (thenable.status = "rejected", thenable.reason = error);
141
- }
142
- )), thenable.status) {
143
- case "fulfilled":
144
- return thenable.value;
145
- case "rejected":
146
- throw thenable.reason;
147
- }
148
- }
149
- throw thenable;
150
- }
151
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
152
- var type = typeof children;
153
- (type === "undefined" || type === "boolean") && (children = null);
154
- var invokeCallback = !1;
155
- if (children === null) invokeCallback = !0;
156
- else
157
- switch (type) {
158
- case "bigint":
159
- case "string":
160
- case "number":
161
- invokeCallback = !0;
162
- break;
163
- case "object":
164
- switch (children.$$typeof) {
165
- case REACT_ELEMENT_TYPE:
166
- case REACT_PORTAL_TYPE:
167
- invokeCallback = !0;
168
- break;
169
- case REACT_LAZY_TYPE2:
170
- return invokeCallback = children._init, mapIntoArray(
171
- invokeCallback(children._payload),
172
- array,
173
- escapedPrefix,
174
- nameSoFar,
175
- callback
176
- );
177
- }
178
- }
179
- if (invokeCallback)
180
- return callback = callback(children), invokeCallback = nameSoFar === "" ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", invokeCallback != null && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
181
- return c;
182
- })) : callback != null && (isValidElement2(callback) && (callback = cloneAndReplaceKey(
183
- callback,
184
- escapedPrefix + (callback.key == null || children && children.key === callback.key ? "" : ("" + callback.key).replace(
185
- userProvidedKeyEscapeRegex,
186
- "$&/"
187
- ) + "/") + invokeCallback
188
- )), array.push(callback)), 1;
189
- invokeCallback = 0;
190
- var nextNamePrefix = nameSoFar === "" ? "." : nameSoFar + ":";
191
- if (isArrayImpl(children))
192
- for (var i = 0; i < children.length; i++)
193
- nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
194
- nameSoFar,
195
- array,
196
- escapedPrefix,
197
- type,
198
- callback
199
- );
200
- else if (i = getIteratorFn(children), typeof i == "function")
201
- for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
202
- nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
203
- nameSoFar,
204
- array,
205
- escapedPrefix,
206
- type,
207
- callback
208
- );
209
- else if (type === "object") {
210
- if (typeof children.then == "function")
211
- return mapIntoArray(
212
- resolveThenable(children),
213
- array,
214
- escapedPrefix,
215
- nameSoFar,
216
- callback
217
- );
218
- throw array = String(children), Error(
219
- "Objects are not valid as a React child (found: " + (array === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
220
- );
221
- }
222
- return invokeCallback;
223
- }
224
- function mapChildren(children, func, context) {
225
- if (children == null) return children;
226
- var result = [], count3 = 0;
227
- return mapIntoArray(children, result, "", "", function(child) {
228
- return func.call(context, child, count3++);
229
- }), result;
230
- }
231
- function lazyInitializer(payload) {
232
- if (payload._status === -1) {
233
- var ctor = payload._result, thenable = ctor();
234
- thenable.then(
235
- function(moduleObject) {
236
- (payload._status === 0 || payload._status === -1) && (payload._status = 1, payload._result = moduleObject, thenable.status === void 0 && (thenable.status = "fulfilled", thenable.value = moduleObject));
237
- },
238
- function(error) {
239
- (payload._status === 0 || payload._status === -1) && (payload._status = 2, payload._result = error, thenable.status === void 0 && (thenable.status = "rejected", thenable.reason = error));
240
- }
241
- ), payload._status === -1 && (payload._status = 0, payload._result = thenable);
242
- }
243
- if (payload._status === 1) return payload._result.default;
244
- throw payload._result;
245
- }
246
- var reportGlobalError = typeof reportError == "function" ? reportError : function(error) {
247
- if (typeof window == "object" && typeof window.ErrorEvent == "function") {
248
- var event = new window.ErrorEvent("error", {
249
- bubbles: !0,
250
- cancelable: !0,
251
- message: typeof error == "object" && error !== null && typeof error.message == "string" ? String(error.message) : String(error),
252
- error
253
- });
254
- if (!window.dispatchEvent(event)) return;
255
- } else if (typeof process == "object" && typeof process.emit == "function") {
256
- process.emit("uncaughtException", error);
257
- return;
258
- }
259
- console.error(error);
260
- };
261
- function startTransition(scope) {
262
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
263
- currentTransition.types = prevTransition !== null ? prevTransition.types : null, ReactSharedInternals.T = currentTransition;
264
- try {
265
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
266
- onStartTransitionFinish !== null && onStartTransitionFinish(currentTransition, returnValue), typeof returnValue == "object" && returnValue !== null && typeof returnValue.then == "function" && returnValue.then(noop3, reportGlobalError);
267
- } catch (error) {
268
- reportGlobalError(error);
269
- } finally {
270
- prevTransition !== null && currentTransition.types !== null && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
271
- }
272
- }
273
- function addTransitionType(type) {
274
- var transition = ReactSharedInternals.T;
275
- if (transition !== null) {
276
- var transitionTypes = transition.types;
277
- transitionTypes === null ? transition.types = [type] : transitionTypes.indexOf(type) === -1 && transitionTypes.push(type);
278
- } else startTransition(addTransitionType.bind(null, type));
279
- }
280
- var Children5 = {
281
- map: mapChildren,
282
- forEach: function(children, forEachFunc, forEachContext) {
283
- mapChildren(
284
- children,
285
- function() {
286
- forEachFunc.apply(this, arguments);
287
- },
288
- forEachContext
289
- );
290
- },
291
- count: function(children) {
292
- var n = 0;
293
- return mapChildren(children, function() {
294
- n++;
295
- }), n;
296
- },
297
- toArray: function(children) {
298
- return mapChildren(children, function(child) {
299
- return child;
300
- }) || [];
301
- },
302
- only: function(children) {
303
- if (!isValidElement2(children))
304
- throw Error(
305
- "React.Children.only expected to receive a single React element child."
306
- );
307
- return children;
308
- }
309
- };
310
- exports.Activity = REACT_ACTIVITY_TYPE;
311
- exports.Children = Children5;
312
- exports.Component = Component;
313
- exports.Fragment = REACT_FRAGMENT_TYPE;
314
- exports.Profiler = REACT_PROFILER_TYPE;
315
- exports.PureComponent = PureComponent;
316
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
317
- exports.Suspense = REACT_SUSPENSE_TYPE;
318
- exports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;
319
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
320
- exports.__COMPILER_RUNTIME = {
321
- __proto__: null,
322
- c: function(size4) {
323
- return ReactSharedInternals.H.useMemoCache(size4);
324
- }
325
- };
326
- exports.addTransitionType = addTransitionType;
327
- exports.cache = function(fn) {
328
- return function() {
329
- return fn.apply(null, arguments);
330
- };
331
- };
332
- exports.cacheSignal = function() {
333
- return null;
334
- };
335
- exports.cloneElement = function(element, config, children) {
336
- if (element == null)
337
- throw Error(
338
- "The argument must be a React element, but you passed " + element + "."
339
- );
340
- var props = assign({}, element.props), key = element.key;
341
- if (config != null)
342
- for (propName in config.key !== void 0 && (key = "" + config.key), config)
343
- !hasOwnProperty.call(config, propName) || propName === "key" || propName === "__self" || propName === "__source" || propName === "ref" && config.ref === void 0 || (props[propName] = config[propName]);
344
- var propName = arguments.length - 2;
345
- if (propName === 1) props.children = children;
346
- else if (1 < propName) {
347
- for (var childArray = Array(propName), i = 0; i < propName; i++)
348
- childArray[i] = arguments[i + 2];
349
- props.children = childArray;
350
- }
351
- return ReactElement(element.type, key, props);
352
- };
353
- exports.createContext = function(defaultValue) {
354
- return defaultValue = {
355
- $$typeof: REACT_CONTEXT_TYPE,
356
- _currentValue: defaultValue,
357
- _currentValue2: defaultValue,
358
- _threadCount: 0,
359
- Provider: null,
360
- Consumer: null
361
- }, defaultValue.Provider = defaultValue, defaultValue.Consumer = {
362
- $$typeof: REACT_CONSUMER_TYPE,
363
- _context: defaultValue
364
- }, defaultValue;
365
- };
366
- exports.createElement = function(type, config, children) {
367
- var propName, props = {}, key = null;
368
- if (config != null)
369
- for (propName in config.key !== void 0 && (key = "" + config.key), config)
370
- hasOwnProperty.call(config, propName) && propName !== "key" && propName !== "__self" && propName !== "__source" && (props[propName] = config[propName]);
371
- var childrenLength = arguments.length - 2;
372
- if (childrenLength === 1) props.children = children;
373
- else if (1 < childrenLength) {
374
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
375
- childArray[i] = arguments[i + 2];
376
- props.children = childArray;
377
- }
378
- if (type && type.defaultProps)
379
- for (propName in childrenLength = type.defaultProps, childrenLength)
380
- props[propName] === void 0 && (props[propName] = childrenLength[propName]);
381
- return ReactElement(type, key, props);
382
- };
383
- exports.createRef = function() {
384
- return { current: null };
385
- };
386
- exports.forwardRef = function(render) {
387
- return { $$typeof: REACT_FORWARD_REF_TYPE, render };
388
- };
389
- exports.isValidElement = isValidElement2;
390
- exports.lazy = function(ctor) {
391
- return {
392
- $$typeof: REACT_LAZY_TYPE2,
393
- _payload: { _status: -1, _result: ctor },
394
- _init: lazyInitializer
395
- };
396
- };
397
- exports.memo = function(type, compare) {
398
- return {
399
- $$typeof: REACT_MEMO_TYPE,
400
- type,
401
- compare: compare === void 0 ? null : compare
402
- };
403
- };
404
- exports.startTransition = startTransition;
405
- exports.unstable_useCacheRefresh = function() {
406
- return ReactSharedInternals.H.useCacheRefresh();
407
- };
408
- exports.use = function(usable) {
409
- return ReactSharedInternals.H.use(usable);
410
- };
411
- exports.useActionState = function(action, initialState, permalink) {
412
- return ReactSharedInternals.H.useActionState(action, initialState, permalink);
413
- };
414
- exports.useCallback = function(callback, deps) {
415
- return ReactSharedInternals.H.useCallback(callback, deps);
416
- };
417
- exports.useContext = function(Context) {
418
- return ReactSharedInternals.H.useContext(Context);
419
- };
420
- exports.useDebugValue = function() {
421
- };
422
- exports.useDeferredValue = function(value, initialValue) {
423
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
424
- };
425
- exports.useEffect = function(create, deps) {
426
- return ReactSharedInternals.H.useEffect(create, deps);
427
- };
428
- exports.useEffectEvent = function(callback) {
429
- return ReactSharedInternals.H.useEffectEvent(callback);
430
- };
431
- exports.useId = function() {
432
- return ReactSharedInternals.H.useId();
433
- };
434
- exports.useImperativeHandle = function(ref, create, deps) {
435
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
436
- };
437
- exports.useInsertionEffect = function(create, deps) {
438
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
439
- };
440
- exports.useLayoutEffect = function(create, deps) {
441
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
442
- };
443
- exports.useMemo = function(create, deps) {
444
- return ReactSharedInternals.H.useMemo(create, deps);
445
- };
446
- exports.useOptimistic = function(passthrough, reducer) {
447
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
448
- };
449
- exports.useReducer = function(reducer, initialArg, init) {
450
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
451
- };
452
- exports.useRef = function(initialValue) {
453
- return ReactSharedInternals.H.useRef(initialValue);
454
- };
455
- exports.useState = function(initialState) {
456
- return ReactSharedInternals.H.useState(initialState);
457
- };
458
- exports.useSyncExternalStore = function(subscribe2, getSnapshot, getServerSnapshot) {
459
- return ReactSharedInternals.H.useSyncExternalStore(
460
- subscribe2,
461
- getSnapshot,
462
- getServerSnapshot
463
- );
464
- };
465
- exports.useTransition = function() {
466
- return ReactSharedInternals.H.useTransition();
467
- };
468
- exports.version = "19.3.1";
469
- }
470
- });
471
-
472
- // ../../node_modules/react/index.js
473
- var require_react = __commonJS({
474
- "../../node_modules/react/index.js"(exports, module) {
475
- "use strict";
476
- module.exports = require_react_production();
477
- }
478
- });
479
-
480
- // ../../node_modules/react-dom/cjs/react-dom.production.js
481
- var require_react_dom_production = __commonJS({
482
- "../../node_modules/react-dom/cjs/react-dom.production.js"(exports) {
483
- "use strict";
484
- /**
485
- * @license React
486
- * react-dom.production.js
487
- *
488
- * Copyright (c) Meta Platforms, Inc. and affiliates.
489
- *
490
- * This source code is licensed under the MIT license found in the
491
- * LICENSE file in the root directory of this source tree.
492
- */
493
- var React36 = require_react();
494
- function formatProdErrorMessage(code) {
495
- var url = "https://react.dev/errors/" + code;
496
- if (1 < arguments.length) {
497
- url += "?args[]=" + encodeURIComponent(arguments[1]);
498
- for (var i = 2; i < arguments.length; i++)
499
- url += "&args[]=" + encodeURIComponent(arguments[i]);
500
- }
501
- return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
502
- }
503
- function noop3() {
504
- }
505
- var Internals = {
506
- d: {
507
- f: noop3,
508
- r: function() {
509
- throw Error(formatProdErrorMessage(522));
510
- },
511
- D: noop3,
512
- C: noop3,
513
- L: noop3,
514
- m: noop3,
515
- X: noop3,
516
- S: noop3,
517
- M: noop3
518
- },
519
- p: 0,
520
- findDOMNode: null
521
- }, REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_RECOVERABLE_TYPE = /* @__PURE__ */ Symbol.for("react.recoverable"), REACT_OPTIMISTIC_KEY = /* @__PURE__ */ Symbol.for("react.optimistic_key");
522
- function createPortal$1(children, containerInfo, implementation) {
523
- var key = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
524
- return {
525
- $$typeof: REACT_PORTAL_TYPE,
526
- key: key == null ? null : key === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + key,
527
- children,
528
- containerInfo,
529
- implementation
530
- };
531
- }
532
- var ReactSharedInternals = React36.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
533
- function getCrossOriginStringAs(as, input) {
534
- if (as === "font") return "";
535
- if (typeof input == "string")
536
- return input === "use-credentials" ? input : "";
537
- }
538
- exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
539
- exports.browser = function(reason) {
540
- return { $$typeof: REACT_RECOVERABLE_TYPE, _reason: reason };
541
- };
542
- exports.createPortal = function(children, container) {
543
- var key = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
544
- if (!container || container.nodeType !== 1 && container.nodeType !== 9 && container.nodeType !== 11)
545
- throw Error(formatProdErrorMessage(299));
546
- return createPortal$1(children, container, null, key);
547
- };
548
- exports.flushSync = function(fn) {
549
- var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
550
- try {
551
- if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
552
- } finally {
553
- ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
554
- }
555
- };
556
- exports.preconnect = function(href, options2) {
557
- typeof href == "string" && (options2 ? (options2 = options2.crossOrigin, options2 = typeof options2 == "string" ? options2 === "use-credentials" ? options2 : "" : void 0) : options2 = null, Internals.d.C(href, options2));
558
- };
559
- exports.prefetchDNS = function(href) {
560
- typeof href == "string" && Internals.d.D(href);
561
- };
562
- exports.preinit = function(href, options2) {
563
- if (typeof href == "string" && options2 && typeof options2.as == "string") {
564
- var as = options2.as, crossOrigin = getCrossOriginStringAs(as, options2.crossOrigin), integrity = typeof options2.integrity == "string" ? options2.integrity : void 0, fetchPriority = typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0;
565
- as === "style" ? Internals.d.S(
566
- href,
567
- typeof options2.precedence == "string" ? options2.precedence : void 0,
568
- {
569
- crossOrigin,
570
- integrity,
571
- fetchPriority
572
- }
573
- ) : as === "script" && Internals.d.X(href, {
574
- crossOrigin,
575
- integrity,
576
- fetchPriority,
577
- nonce: typeof options2.nonce == "string" ? options2.nonce : void 0
578
- });
579
- }
580
- };
581
- exports.preinitModule = function(href, options2) {
582
- if (typeof href == "string")
583
- if (typeof options2 == "object" && options2 !== null) {
584
- if (options2.as == null || options2.as === "script") {
585
- var crossOrigin = getCrossOriginStringAs(
586
- options2.as,
587
- options2.crossOrigin
588
- );
589
- Internals.d.M(href, {
590
- crossOrigin,
591
- integrity: typeof options2.integrity == "string" ? options2.integrity : void 0,
592
- nonce: typeof options2.nonce == "string" ? options2.nonce : void 0,
593
- fetchPriority: typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0
594
- });
595
- }
596
- } else options2 == null && Internals.d.M(href);
597
- };
598
- exports.preload = function(href, options2) {
599
- if (typeof href == "string" && typeof options2 == "object" && options2 !== null && typeof options2.as == "string") {
600
- var as = options2.as, crossOrigin = getCrossOriginStringAs(as, options2.crossOrigin);
601
- Internals.d.L(href, as, {
602
- crossOrigin,
603
- integrity: typeof options2.integrity == "string" ? options2.integrity : void 0,
604
- nonce: typeof options2.nonce == "string" ? options2.nonce : void 0,
605
- type: typeof options2.type == "string" ? options2.type : void 0,
606
- fetchPriority: typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0,
607
- referrerPolicy: typeof options2.referrerPolicy == "string" ? options2.referrerPolicy : void 0,
608
- imageSrcSet: typeof options2.imageSrcSet == "string" ? options2.imageSrcSet : void 0,
609
- imageSizes: typeof options2.imageSizes == "string" ? options2.imageSizes : void 0,
610
- media: typeof options2.media == "string" ? options2.media : void 0
611
- });
612
- }
613
- };
614
- exports.preloadModule = function(href, options2) {
615
- if (typeof href == "string")
616
- if (options2) {
617
- var crossOrigin = getCrossOriginStringAs(options2.as, options2.crossOrigin);
618
- Internals.d.m(href, {
619
- as: typeof options2.as == "string" && options2.as !== "script" ? options2.as : void 0,
620
- crossOrigin,
621
- integrity: typeof options2.integrity == "string" ? options2.integrity : void 0,
622
- nonce: typeof options2.nonce == "string" ? options2.nonce : void 0,
623
- fetchPriority: typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0
624
- });
625
- } else Internals.d.m(href);
626
- };
627
- exports.requestFormReset = function(form) {
628
- Internals.d.r(form);
629
- };
630
- exports.unstable_batchedUpdates = function(fn, a) {
631
- return fn(a);
632
- };
633
- exports.useFormState = function(action, initialState, permalink) {
634
- return ReactSharedInternals.H.useFormState(action, initialState, permalink);
635
- };
636
- exports.useFormStatus = function() {
637
- return ReactSharedInternals.H.useHostTransitionStatus();
638
- };
639
- exports.version = "19.3.1";
640
- }
641
- });
642
-
643
- // ../../node_modules/react-dom/index.js
644
- var require_react_dom = __commonJS({
645
- "../../node_modules/react-dom/index.js"(exports, module) {
646
- "use strict";
647
- function checkDCE() {
648
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
649
- try {
650
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
651
- } catch (err) {
652
- console.error(err);
653
- }
654
- }
655
- checkDCE(), module.exports = require_react_dom_production();
656
- }
657
- });
658
-
659
- // ../../node_modules/scheduler/cjs/scheduler.production.js
660
- var require_scheduler_production = __commonJS({
661
- "../../node_modules/scheduler/cjs/scheduler.production.js"(exports) {
662
- "use strict";
663
- /**
664
- * @license React
665
- * scheduler.production.js
666
- *
667
- * Copyright (c) Meta Platforms, Inc. and affiliates.
668
- *
669
- * This source code is licensed under the MIT license found in the
670
- * LICENSE file in the root directory of this source tree.
671
- */
672
- function push(heap, node) {
673
- var index2 = heap.length;
674
- heap.push(node);
675
- a: for (; 0 < index2; ) {
676
- var parentIndex = index2 - 1 >>> 1, parent2 = heap[parentIndex];
677
- if (0 < compare(parent2, node))
678
- heap[parentIndex] = node, heap[index2] = parent2, index2 = parentIndex;
679
- else break a;
680
- }
681
- }
682
- function peek(heap) {
683
- return heap.length === 0 ? null : heap[0];
684
- }
685
- function pop(heap) {
686
- if (heap.length === 0) return null;
687
- var first = heap[0], last = heap.pop();
688
- if (last !== first) {
689
- heap[0] = last;
690
- a: for (var index2 = 0, length = heap.length, halfLength = length >>> 1; index2 < halfLength; ) {
691
- var leftIndex = 2 * (index2 + 1) - 1, left = heap[leftIndex], rightIndex = leftIndex + 1, right = heap[rightIndex];
692
- if (0 > compare(left, last))
693
- rightIndex < length && 0 > compare(right, left) ? (heap[index2] = right, heap[rightIndex] = last, index2 = rightIndex) : (heap[index2] = left, heap[leftIndex] = last, index2 = leftIndex);
694
- else if (rightIndex < length && 0 > compare(right, last))
695
- heap[index2] = right, heap[rightIndex] = last, index2 = rightIndex;
696
- else break a;
697
- }
698
- }
699
- return first;
700
- }
701
- function compare(a, b) {
702
- var diff = a.sortIndex - b.sortIndex;
703
- return diff !== 0 ? diff : a.id - b.id;
704
- }
705
- exports.unstable_now = void 0;
706
- typeof performance == "object" && typeof performance.now == "function" ? (localPerformance = performance, exports.unstable_now = function() {
707
- return localPerformance.now();
708
- }) : (localDate = Date, initialTime = localDate.now(), exports.unstable_now = function() {
709
- return localDate.now() - initialTime;
710
- });
711
- var localPerformance, localDate, initialTime, taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, needsPaint = !1, localSetTimeout = typeof setTimeout == "function" ? setTimeout : null, localClearTimeout = typeof clearTimeout == "function" ? clearTimeout : null, localSetImmediate = typeof setImmediate < "u" ? setImmediate : null;
712
- function advanceTimers(currentTime) {
713
- for (var timer = peek(timerQueue); timer !== null; ) {
714
- if (timer.callback === null) pop(timerQueue);
715
- else if (timer.startTime <= currentTime)
716
- pop(timerQueue), timer.sortIndex = timer.expirationTime, push(taskQueue, timer);
717
- else break;
718
- timer = peek(timerQueue);
719
- }
720
- }
721
- function handleTimeout(currentTime) {
722
- if (isHostTimeoutScheduled = !1, advanceTimers(currentTime), !isHostCallbackScheduled)
723
- if (peek(taskQueue) !== null)
724
- isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline());
725
- else {
726
- var firstTimer = peek(timerQueue);
727
- firstTimer !== null && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
728
- }
729
- }
730
- var isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1;
731
- function shouldYieldToHost() {
732
- return needsPaint ? !0 : !(exports.unstable_now() - startTime < frameInterval);
733
- }
734
- function performWorkUntilDeadline() {
735
- if (needsPaint = !1, isMessageLoopRunning) {
736
- var currentTime = exports.unstable_now();
737
- startTime = currentTime;
738
- var hasMoreWork = !0;
739
- try {
740
- a: {
741
- isHostCallbackScheduled = !1, isHostTimeoutScheduled && (isHostTimeoutScheduled = !1, localClearTimeout(taskTimeoutID), taskTimeoutID = -1), isPerformingWork = !0;
742
- var previousPriorityLevel = currentPriorityLevel;
743
- try {
744
- b: {
745
- for (advanceTimers(currentTime), currentTask = peek(taskQueue); currentTask !== null && !(currentTask.expirationTime > currentTime && shouldYieldToHost()); ) {
746
- var callback = currentTask.callback;
747
- if (typeof callback == "function") {
748
- currentTask.callback = null, currentPriorityLevel = currentTask.priorityLevel;
749
- var continuationCallback = callback(
750
- currentTask.expirationTime <= currentTime
751
- );
752
- if (currentTime = exports.unstable_now(), typeof continuationCallback == "function") {
753
- currentTask.callback = continuationCallback, advanceTimers(currentTime), hasMoreWork = !0;
754
- break b;
755
- }
756
- currentTask === peek(taskQueue) && pop(taskQueue), advanceTimers(currentTime);
757
- } else pop(taskQueue);
758
- currentTask = peek(taskQueue);
759
- }
760
- if (currentTask !== null) hasMoreWork = !0;
761
- else {
762
- var firstTimer = peek(timerQueue);
763
- firstTimer !== null && requestHostTimeout(
764
- handleTimeout,
765
- firstTimer.startTime - currentTime
766
- ), hasMoreWork = !1;
767
- }
768
- }
769
- break a;
770
- } finally {
771
- currentTask = null, currentPriorityLevel = previousPriorityLevel, isPerformingWork = !1;
772
- }
773
- hasMoreWork = void 0;
774
- }
775
- } finally {
776
- hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning = !1;
777
- }
778
- }
779
- }
780
- var schedulePerformWorkUntilDeadline;
781
- typeof localSetImmediate == "function" ? schedulePerformWorkUntilDeadline = function() {
782
- localSetImmediate(performWorkUntilDeadline);
783
- } : typeof MessageChannel < "u" ? (channel = new MessageChannel(), port = channel.port2, channel.port1.onmessage = performWorkUntilDeadline, schedulePerformWorkUntilDeadline = function() {
784
- port.postMessage(null);
785
- }) : schedulePerformWorkUntilDeadline = function() {
786
- localSetTimeout(performWorkUntilDeadline, 0);
787
- };
788
- var channel, port;
789
- function requestHostTimeout(callback, ms) {
790
- taskTimeoutID = localSetTimeout(function() {
791
- callback(exports.unstable_now());
792
- }, ms);
793
- }
794
- exports.unstable_IdlePriority = 5;
795
- exports.unstable_ImmediatePriority = 1;
796
- exports.unstable_LowPriority = 4;
797
- exports.unstable_NormalPriority = 3;
798
- exports.unstable_Profiling = null;
799
- exports.unstable_UserBlockingPriority = 2;
800
- exports.unstable_cancelCallback = function(task) {
801
- task.callback = null;
802
- };
803
- exports.unstable_forceFrameRate = function(fps) {
804
- 0 > fps || 125 < fps ? console.error(
805
- "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
806
- ) : frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5;
807
- };
808
- exports.unstable_getCurrentPriorityLevel = function() {
809
- return currentPriorityLevel;
810
- };
811
- exports.unstable_next = function(eventHandler) {
812
- switch (currentPriorityLevel) {
813
- case 1:
814
- case 2:
815
- case 3:
816
- var priorityLevel = 3;
817
- break;
818
- default:
819
- priorityLevel = currentPriorityLevel;
820
- }
821
- var previousPriorityLevel = currentPriorityLevel;
822
- currentPriorityLevel = priorityLevel;
823
- try {
824
- return eventHandler();
825
- } finally {
826
- currentPriorityLevel = previousPriorityLevel;
827
- }
828
- };
829
- exports.unstable_requestPaint = function() {
830
- needsPaint = !0;
831
- };
832
- exports.unstable_runWithPriority = function(priorityLevel, eventHandler) {
833
- switch (priorityLevel) {
834
- case 1:
835
- case 2:
836
- case 3:
837
- case 4:
838
- case 5:
839
- break;
840
- default:
841
- priorityLevel = 3;
842
- }
843
- var previousPriorityLevel = currentPriorityLevel;
844
- currentPriorityLevel = priorityLevel;
845
- try {
846
- return eventHandler();
847
- } finally {
848
- currentPriorityLevel = previousPriorityLevel;
849
- }
850
- };
851
- exports.unstable_scheduleCallback = function(priorityLevel, callback, options2) {
852
- var currentTime = exports.unstable_now();
853
- switch (typeof options2 == "object" && options2 !== null ? (options2 = options2.delay, options2 = typeof options2 == "number" && 0 < options2 ? currentTime + options2 : currentTime) : options2 = currentTime, priorityLevel) {
854
- case 1:
855
- var timeout = -1;
856
- break;
857
- case 2:
858
- timeout = 250;
859
- break;
860
- case 5:
861
- timeout = 1073741823;
862
- break;
863
- case 4:
864
- timeout = 1e4;
865
- break;
866
- default:
867
- timeout = 5e3;
868
- }
869
- return timeout = options2 + timeout, priorityLevel = {
870
- id: taskIdCounter++,
871
- callback,
872
- priorityLevel,
873
- startTime: options2,
874
- expirationTime: timeout,
875
- sortIndex: -1
876
- }, options2 > currentTime ? (priorityLevel.sortIndex = options2, push(timerQueue, priorityLevel), peek(taskQueue) === null && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = !0, requestHostTimeout(handleTimeout, options2 - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline()))), priorityLevel;
877
- };
878
- exports.unstable_shouldYield = shouldYieldToHost;
879
- exports.unstable_wrapCallback = function(callback) {
880
- var parentPriorityLevel = currentPriorityLevel;
881
- return function() {
882
- var previousPriorityLevel = currentPriorityLevel;
883
- currentPriorityLevel = parentPriorityLevel;
884
- try {
885
- return callback.apply(this, arguments);
886
- } finally {
887
- currentPriorityLevel = previousPriorityLevel;
888
- }
889
- };
890
- };
891
- }
892
- });
893
-
894
- // ../../node_modules/scheduler/index.js
895
- var require_scheduler = __commonJS({
896
- "../../node_modules/scheduler/index.js"(exports, module) {
897
- "use strict";
898
- module.exports = require_scheduler_production();
899
- }
900
- });