openplanr 3.4.0 → 3.6.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 (530) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/dist/cli/commands/backlog-commands.d.ts +3 -0
  3. package/dist/cli/commands/backlog-commands.d.ts.map +1 -0
  4. package/dist/cli/commands/backlog-commands.js +60 -0
  5. package/dist/cli/commands/backlog-commands.js.map +1 -0
  6. package/dist/cli/commands/company.d.ts.map +1 -1
  7. package/dist/cli/commands/company.js +17 -0
  8. package/dist/cli/commands/company.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/planning-artifacts.d.ts.map +1 -1
  17. package/dist/cli/commands/planning-artifacts.js +13 -5
  18. package/dist/cli/commands/planning-artifacts.js.map +1 -1
  19. package/dist/dashboard/.vite/manifest.json +1 -1
  20. package/dist/dashboard/assets/{index-CvQAlBy3.js → index-C_OquZVk.js} +2 -2
  21. package/dist/dashboard/assets/{index-CvQAlBy3.js.map → index-C_OquZVk.js.map} +1 -1
  22. package/dist/dashboard/dashboard-manifest.json +13 -13
  23. package/dist/dashboard/index.html +1 -1
  24. package/dist/services/artifact-service.d.ts.map +1 -1
  25. package/dist/services/artifact-service.js +13 -6
  26. package/dist/services/artifact-service.js.map +1 -1
  27. package/dist/services/company-export-service.d.ts +41 -0
  28. package/dist/services/company-export-service.d.ts.map +1 -0
  29. package/dist/services/company-export-service.js +429 -0
  30. package/dist/services/company-export-service.js.map +1 -0
  31. package/dist/services/company-sync-service.d.ts +24 -1
  32. package/dist/services/company-sync-service.d.ts.map +1 -1
  33. package/dist/services/company-sync-service.js +36 -19
  34. package/dist/services/company-sync-service.js.map +1 -1
  35. package/dist/services/design-artifact-service.d.ts +22 -0
  36. package/dist/services/design-artifact-service.d.ts.map +1 -1
  37. package/dist/services/design-artifact-service.js +76 -16
  38. package/dist/services/design-artifact-service.js.map +1 -1
  39. package/dist/services/runtime-manager/runtime-package.js +1 -1
  40. package/dist/services/runtime-manager/runtime-package.js.map +1 -1
  41. package/docs/CLI.md +126 -1
  42. package/lib/backlog-item.d.mts +45 -1
  43. package/lib/backlog-item.mjs +302 -34
  44. package/lib/host-packages/adapter-registry.json +5 -5
  45. package/lib/host-packages/capability-map.json +1 -1
  46. package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
  47. package/lib/host-packages/claude/openplanr/.claude-plugin/icon.png +0 -0
  48. package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
  49. package/lib/host-packages/claude/openplanr/.openplanr-content.json +97 -413
  50. package/lib/host-packages/claude/openplanr/README.md +8 -8
  51. package/lib/host-packages/claude/openplanr/skills/artifact/references/design-sharing.md +2 -2
  52. package/lib/host-packages/claude/openplanr/skills/ceo-review/references/note-checklist.md +131 -0
  53. package/lib/host-packages/claude/openplanr/skills/ceo-review/references/operate-advisor-contract.md +2 -7
  54. package/lib/host-packages/claude/openplanr/skills/chair-review/SKILL.md +2 -7
  55. package/lib/host-packages/claude/openplanr/skills/chair-review/references/note-checklist.md +131 -0
  56. package/lib/host-packages/claude/openplanr/skills/challenger-review/SKILL.md +3 -7
  57. package/lib/host-packages/claude/openplanr/skills/challenger-review/references/note-checklist.md +131 -0
  58. package/lib/host-packages/claude/openplanr/skills/cmo-review/references/note-checklist.md +131 -0
  59. package/lib/host-packages/claude/openplanr/skills/cmo-review/references/operate-advisor-contract.md +2 -7
  60. package/lib/host-packages/claude/openplanr/skills/coo-review/references/note-checklist.md +131 -0
  61. package/lib/host-packages/claude/openplanr/skills/coo-review/references/operate-advisor-contract.md +2 -7
  62. package/lib/host-packages/claude/openplanr/skills/cpo-review/references/note-checklist.md +131 -0
  63. package/lib/host-packages/claude/openplanr/skills/cpo-review/references/operate-advisor-contract.md +2 -7
  64. package/lib/host-packages/claude/openplanr/skills/cto-review/references/note-checklist.md +131 -0
  65. package/lib/host-packages/claude/openplanr/skills/cto-review/references/operate-advisor-contract.md +2 -7
  66. package/lib/host-packages/claude/openplanr/skills/design/SKILL.md +23 -12
  67. package/lib/host-packages/claude/openplanr/skills/design/references/design-system.md +2 -2
  68. package/lib/host-packages/claude/openplanr/skills/design/references/generation.md +3 -3
  69. package/lib/host-packages/claude/openplanr/skills/design/references/hosted-canvas.md +6 -3
  70. package/lib/host-packages/claude/openplanr/skills/design/references/review.md +6 -6
  71. package/lib/host-packages/claude/openplanr/skills/design/references/team-review.md +3 -4
  72. package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +78 -38
  73. package/lib/host-packages/claude/openplanr/skills/design-loop/SKILL.md +15 -7
  74. package/lib/host-packages/claude/openplanr/skills/design-loop/references/design-system.md +2 -2
  75. package/lib/host-packages/claude/openplanr/skills/design-loop/references/generation.md +3 -3
  76. package/lib/host-packages/claude/openplanr/skills/design-loop/references/review.md +6 -6
  77. package/lib/host-packages/claude/openplanr/skills/design-loop/references/team-review.md +3 -4
  78. package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +78 -38
  79. package/lib/host-packages/claude/openplanr/skills/design-review/SKILL.md +25 -5
  80. package/lib/host-packages/claude/openplanr/skills/design-review/references/design-system.md +2 -2
  81. package/lib/host-packages/claude/openplanr/skills/design-review/references/generation.md +3 -3
  82. package/lib/host-packages/claude/openplanr/skills/design-review/references/review.md +6 -6
  83. package/lib/host-packages/claude/openplanr/skills/design-review/references/team-review.md +3 -4
  84. package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +78 -38
  85. package/lib/host-packages/claude/openplanr/skills/investigate/SKILL.md +2 -3
  86. package/lib/host-packages/claude/openplanr/skills/investigate/references/backlog-filing.md +102 -0
  87. package/lib/host-packages/claude/openplanr/skills/investigate/references/findings.md +8 -16
  88. package/lib/host-packages/claude/openplanr/skills/operate/SKILL.md +73 -84
  89. package/lib/host-packages/claude/openplanr/skills/operate/references/note-checklist.md +131 -0
  90. package/lib/host-packages/claude/openplanr/skills/operate/references/return-contract.md +10 -0
  91. package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +23 -20
  92. package/lib/host-packages/claude/openplanr/skills/plan/references/planning-ids.md +53 -0
  93. package/lib/host-packages/claude/openplanr/skills/plan/references/return-contract.md +10 -0
  94. package/lib/host-packages/claude/openplanr/skills/plan-review/SKILL.md +6 -6
  95. package/lib/host-packages/claude/openplanr/skills/plan-review/references/return-contract.md +10 -0
  96. package/lib/host-packages/claude/openplanr/skills/release/SKILL.md +40 -139
  97. package/lib/host-packages/claude/openplanr/skills/release/references/cadence.md +10 -0
  98. package/lib/host-packages/claude/openplanr/skills/release/references/release-notes.md +1 -1
  99. package/lib/host-packages/claude/openplanr/skills/release/references/return-contract.md +10 -0
  100. package/lib/host-packages/claude/openplanr/skills/release/references/schemes.md +4 -2
  101. package/lib/host-packages/claude/openplanr/skills/ship/SKILL.md +37 -24
  102. package/lib/host-packages/claude/openplanr/skills/ship/references/backlog-filing.md +102 -0
  103. package/lib/host-packages/claude/openplanr/skills/ship/references/findings.md +8 -16
  104. package/lib/host-packages/claude/openplanr/skills/ship/references/return-contract.md +10 -0
  105. package/lib/host-packages/claude/openplanr/skills/spec/SKILL.md +9 -9
  106. package/lib/host-packages/claude/openplanr/skills/spec/references/return-contract.md +10 -0
  107. package/lib/host-packages/cursor/openplanr/.openplanr-content.json +94 -410
  108. package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
  109. package/lib/host-packages/cursor/openplanr/rules/planr-artifact/references/design-sharing.md +2 -2
  110. package/lib/host-packages/cursor/openplanr/rules/planr-ceo-review/references/note-checklist.md +131 -0
  111. package/lib/host-packages/cursor/openplanr/rules/planr-ceo-review/references/operate-advisor-contract.md +2 -7
  112. package/lib/host-packages/cursor/openplanr/rules/planr-chair-review/references/note-checklist.md +131 -0
  113. package/lib/host-packages/cursor/openplanr/rules/planr-chair-review.mdc +2 -7
  114. package/lib/host-packages/cursor/openplanr/rules/planr-challenger-review/references/note-checklist.md +131 -0
  115. package/lib/host-packages/cursor/openplanr/rules/planr-challenger-review.mdc +3 -7
  116. package/lib/host-packages/cursor/openplanr/rules/planr-cmo-review/references/note-checklist.md +131 -0
  117. package/lib/host-packages/cursor/openplanr/rules/planr-cmo-review/references/operate-advisor-contract.md +2 -7
  118. package/lib/host-packages/cursor/openplanr/rules/planr-coo-review/references/note-checklist.md +131 -0
  119. package/lib/host-packages/cursor/openplanr/rules/planr-coo-review/references/operate-advisor-contract.md +2 -7
  120. package/lib/host-packages/cursor/openplanr/rules/planr-cpo-review/references/note-checklist.md +131 -0
  121. package/lib/host-packages/cursor/openplanr/rules/planr-cpo-review/references/operate-advisor-contract.md +2 -7
  122. package/lib/host-packages/cursor/openplanr/rules/planr-cto-review/references/note-checklist.md +131 -0
  123. package/lib/host-packages/cursor/openplanr/rules/planr-cto-review/references/operate-advisor-contract.md +2 -7
  124. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/design-system.md +2 -2
  125. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/generation.md +3 -3
  126. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/hosted-canvas.md +6 -3
  127. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/review.md +6 -6
  128. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/team-review.md +3 -4
  129. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +78 -38
  130. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/design-system.md +2 -2
  131. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/generation.md +3 -3
  132. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/review.md +6 -6
  133. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/team-review.md +3 -4
  134. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +78 -38
  135. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop.mdc +15 -7
  136. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/design-system.md +2 -2
  137. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/generation.md +3 -3
  138. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/review.md +6 -6
  139. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/team-review.md +3 -4
  140. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +78 -38
  141. package/lib/host-packages/cursor/openplanr/rules/planr-design-review.mdc +25 -5
  142. package/lib/host-packages/cursor/openplanr/rules/planr-design.mdc +23 -12
  143. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/references/backlog-filing.md +102 -0
  144. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/references/findings.md +8 -16
  145. package/lib/host-packages/cursor/openplanr/rules/planr-investigate.mdc +2 -3
  146. package/lib/host-packages/cursor/openplanr/rules/planr-operate/references/note-checklist.md +131 -0
  147. package/lib/host-packages/cursor/openplanr/rules/planr-operate/references/return-contract.md +10 -0
  148. package/lib/host-packages/cursor/openplanr/rules/planr-operate.mdc +73 -84
  149. package/lib/host-packages/cursor/openplanr/rules/planr-plan/references/planning-ids.md +53 -0
  150. package/lib/host-packages/cursor/openplanr/rules/planr-plan/references/return-contract.md +10 -0
  151. package/lib/host-packages/cursor/openplanr/rules/planr-plan-review/references/return-contract.md +10 -0
  152. package/lib/host-packages/cursor/openplanr/rules/planr-plan-review.mdc +6 -6
  153. package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +23 -20
  154. package/lib/host-packages/cursor/openplanr/rules/planr-release/references/cadence.md +10 -0
  155. package/lib/host-packages/cursor/openplanr/rules/planr-release/references/release-notes.md +1 -1
  156. package/lib/host-packages/cursor/openplanr/rules/planr-release/references/return-contract.md +10 -0
  157. package/lib/host-packages/cursor/openplanr/rules/planr-release/references/schemes.md +4 -2
  158. package/lib/host-packages/cursor/openplanr/rules/planr-release.mdc +40 -139
  159. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/backlog-filing.md +102 -0
  160. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/findings.md +8 -16
  161. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/return-contract.md +10 -0
  162. package/lib/host-packages/cursor/openplanr/rules/planr-ship.mdc +37 -24
  163. package/lib/host-packages/cursor/openplanr/rules/planr-spec/references/return-contract.md +10 -0
  164. package/lib/host-packages/cursor/openplanr/rules/planr-spec.mdc +9 -9
  165. package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
  166. package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
  167. package/lib/host-packages/openai/openplanr/.openplanr-content.json +112 -428
  168. package/lib/host-packages/openai/openplanr/skills/artifact/references/design-sharing.md +2 -2
  169. package/lib/host-packages/openai/openplanr/skills/ceo-review/openplanr.skill.json +4 -4
  170. package/lib/host-packages/openai/openplanr/skills/ceo-review/references/note-checklist.md +131 -0
  171. package/lib/host-packages/openai/openplanr/skills/ceo-review/references/operate-advisor-contract.md +2 -7
  172. package/lib/host-packages/openai/openplanr/skills/chair-review/SKILL.md +2 -7
  173. package/lib/host-packages/openai/openplanr/skills/chair-review/openplanr.skill.json +4 -4
  174. package/lib/host-packages/openai/openplanr/skills/chair-review/references/note-checklist.md +131 -0
  175. package/lib/host-packages/openai/openplanr/skills/challenger-review/SKILL.md +3 -7
  176. package/lib/host-packages/openai/openplanr/skills/challenger-review/openplanr.skill.json +4 -4
  177. package/lib/host-packages/openai/openplanr/skills/challenger-review/references/note-checklist.md +131 -0
  178. package/lib/host-packages/openai/openplanr/skills/cmo-review/openplanr.skill.json +4 -4
  179. package/lib/host-packages/openai/openplanr/skills/cmo-review/references/note-checklist.md +131 -0
  180. package/lib/host-packages/openai/openplanr/skills/cmo-review/references/operate-advisor-contract.md +2 -7
  181. package/lib/host-packages/openai/openplanr/skills/coo-review/openplanr.skill.json +4 -4
  182. package/lib/host-packages/openai/openplanr/skills/coo-review/references/note-checklist.md +131 -0
  183. package/lib/host-packages/openai/openplanr/skills/coo-review/references/operate-advisor-contract.md +2 -7
  184. package/lib/host-packages/openai/openplanr/skills/cpo-review/openplanr.skill.json +4 -4
  185. package/lib/host-packages/openai/openplanr/skills/cpo-review/references/note-checklist.md +131 -0
  186. package/lib/host-packages/openai/openplanr/skills/cpo-review/references/operate-advisor-contract.md +2 -7
  187. package/lib/host-packages/openai/openplanr/skills/cto-review/openplanr.skill.json +4 -4
  188. package/lib/host-packages/openai/openplanr/skills/cto-review/references/note-checklist.md +131 -0
  189. package/lib/host-packages/openai/openplanr/skills/cto-review/references/operate-advisor-contract.md +2 -7
  190. package/lib/host-packages/openai/openplanr/skills/design/SKILL.md +23 -12
  191. package/lib/host-packages/openai/openplanr/skills/design/openplanr.skill.json +0 -11
  192. package/lib/host-packages/openai/openplanr/skills/design/references/design-system.md +2 -2
  193. package/lib/host-packages/openai/openplanr/skills/design/references/generation.md +3 -3
  194. package/lib/host-packages/openai/openplanr/skills/design/references/hosted-canvas.md +6 -3
  195. package/lib/host-packages/openai/openplanr/skills/design/references/review.md +6 -6
  196. package/lib/host-packages/openai/openplanr/skills/design/references/team-review.md +3 -4
  197. package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +78 -38
  198. package/lib/host-packages/openai/openplanr/skills/design-loop/SKILL.md +15 -7
  199. package/lib/host-packages/openai/openplanr/skills/design-loop/openplanr.skill.json +0 -11
  200. package/lib/host-packages/openai/openplanr/skills/design-loop/references/design-system.md +2 -2
  201. package/lib/host-packages/openai/openplanr/skills/design-loop/references/generation.md +3 -3
  202. package/lib/host-packages/openai/openplanr/skills/design-loop/references/review.md +6 -6
  203. package/lib/host-packages/openai/openplanr/skills/design-loop/references/team-review.md +3 -4
  204. package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +78 -38
  205. package/lib/host-packages/openai/openplanr/skills/design-review/SKILL.md +25 -5
  206. package/lib/host-packages/openai/openplanr/skills/design-review/openplanr.skill.json +0 -11
  207. package/lib/host-packages/openai/openplanr/skills/design-review/references/design-system.md +2 -2
  208. package/lib/host-packages/openai/openplanr/skills/design-review/references/generation.md +3 -3
  209. package/lib/host-packages/openai/openplanr/skills/design-review/references/review.md +6 -6
  210. package/lib/host-packages/openai/openplanr/skills/design-review/references/team-review.md +3 -4
  211. package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +78 -38
  212. package/lib/host-packages/openai/openplanr/skills/investigate/SKILL.md +2 -3
  213. package/lib/host-packages/openai/openplanr/skills/investigate/openplanr.skill.json +4 -4
  214. package/lib/host-packages/openai/openplanr/skills/investigate/references/backlog-filing.md +102 -0
  215. package/lib/host-packages/openai/openplanr/skills/investigate/references/findings.md +8 -16
  216. package/lib/host-packages/openai/openplanr/skills/operate/SKILL.md +73 -84
  217. package/lib/host-packages/openai/openplanr/skills/operate/openplanr.skill.json +15 -4
  218. package/lib/host-packages/openai/openplanr/skills/operate/references/note-checklist.md +131 -0
  219. package/lib/host-packages/openai/openplanr/skills/operate/references/return-contract.md +10 -0
  220. package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +23 -20
  221. package/lib/host-packages/openai/openplanr/skills/plan/openplanr.skill.json +8 -8
  222. package/lib/host-packages/openai/openplanr/skills/plan/references/planning-ids.md +53 -0
  223. package/lib/host-packages/openai/openplanr/skills/plan/references/return-contract.md +10 -0
  224. package/lib/host-packages/openai/openplanr/skills/plan-review/SKILL.md +6 -6
  225. package/lib/host-packages/openai/openplanr/skills/plan-review/openplanr.skill.json +12 -1
  226. package/lib/host-packages/openai/openplanr/skills/plan-review/references/return-contract.md +10 -0
  227. package/lib/host-packages/openai/openplanr/skills/release/SKILL.md +40 -139
  228. package/lib/host-packages/openai/openplanr/skills/release/openplanr.skill.json +4 -4
  229. package/lib/host-packages/openai/openplanr/skills/release/references/cadence.md +10 -0
  230. package/lib/host-packages/openai/openplanr/skills/release/references/release-notes.md +1 -1
  231. package/lib/host-packages/openai/openplanr/skills/release/references/return-contract.md +10 -0
  232. package/lib/host-packages/openai/openplanr/skills/release/references/schemes.md +4 -2
  233. package/lib/host-packages/openai/openplanr/skills/ship/SKILL.md +37 -24
  234. package/lib/host-packages/openai/openplanr/skills/ship/openplanr.skill.json +9 -9
  235. package/lib/host-packages/openai/openplanr/skills/ship/references/backlog-filing.md +102 -0
  236. package/lib/host-packages/openai/openplanr/skills/ship/references/findings.md +8 -16
  237. package/lib/host-packages/openai/openplanr/skills/ship/references/return-contract.md +10 -0
  238. package/lib/host-packages/openai/openplanr/skills/spec/SKILL.md +9 -9
  239. package/lib/host-packages/openai/openplanr/skills/spec/openplanr.skill.json +12 -1
  240. package/lib/host-packages/openai/openplanr/skills/spec/references/return-contract.md +10 -0
  241. package/package.json +2 -2
  242. package/lib/host-packages/claude/openplanr/.claude-plugin/icon.svg +0 -11
  243. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1772
  244. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
  245. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
  246. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +0 -2370
  247. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
  248. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
  249. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
  250. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review-state-store.mjs +0 -45
  251. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +0 -3376
  252. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -38
  253. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
  254. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +0 -321
  255. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs +0 -1652
  256. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs +0 -1037
  257. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +0 -137
  258. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +0 -1500
  259. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2023
  260. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
  261. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
  262. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -814
  263. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -10
  264. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +0 -2568
  265. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -60
  266. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
  267. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
  268. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
  269. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
  270. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -139
  271. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
  272. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
  273. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
  274. 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
  275. 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
  276. 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
  277. 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
  278. 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
  279. 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
  280. 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
  281. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
  282. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
  283. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
  284. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
  285. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
  286. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
  287. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
  288. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
  289. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
  290. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
  291. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
  292. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
  293. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
  294. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -163
  295. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
  296. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
  297. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
  298. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  299. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
  300. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
  301. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
  302. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
  303. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
  304. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
  305. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
  306. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
  307. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
  308. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
  309. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
  310. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
  311. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
  312. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
  313. package/lib/host-packages/claude/openplanr/runtime/operate/scripts/errors.mjs +0 -8
  314. package/lib/host-packages/claude/openplanr/runtime/operate/scripts/operate-review-contract.mjs +0 -428
  315. package/lib/host-packages/claude/openplanr/runtime/operate/scripts/operate-review-note.mjs +0 -686
  316. package/lib/host-packages/claude/openplanr/runtime/operate/scripts/validate-note.mjs +0 -39
  317. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -1232
  318. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +0 -2611
  319. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
  320. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -163
  321. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  322. package/lib/host-packages/claude/openplanr/skills/ceo-review/scripts/validate-note.mjs +0 -12
  323. package/lib/host-packages/claude/openplanr/skills/chair-review/scripts/validate-note.mjs +0 -12
  324. package/lib/host-packages/claude/openplanr/skills/challenger-review/scripts/validate-note.mjs +0 -12
  325. package/lib/host-packages/claude/openplanr/skills/cmo-review/scripts/validate-note.mjs +0 -12
  326. package/lib/host-packages/claude/openplanr/skills/coo-review/scripts/validate-note.mjs +0 -12
  327. package/lib/host-packages/claude/openplanr/skills/cpo-review/scripts/validate-note.mjs +0 -12
  328. package/lib/host-packages/claude/openplanr/skills/cto-review/scripts/validate-note.mjs +0 -12
  329. package/lib/host-packages/claude/openplanr/skills/design/scripts/design.mjs +0 -12
  330. package/lib/host-packages/claude/openplanr/skills/design-loop/scripts/design.mjs +0 -12
  331. package/lib/host-packages/claude/openplanr/skills/design-review/scripts/design.mjs +0 -12
  332. package/lib/host-packages/claude/openplanr/skills/investigate/scripts/backlog-item.mjs +0 -339
  333. package/lib/host-packages/claude/openplanr/skills/operate/scripts/validate-note.mjs +0 -12
  334. package/lib/host-packages/claude/openplanr/skills/plan/scripts/design.mjs +0 -12
  335. package/lib/host-packages/claude/openplanr/skills/plan/scripts/planning-ids.mjs +0 -166
  336. package/lib/host-packages/claude/openplanr/skills/release/scripts/collect_changes.sh +0 -85
  337. package/lib/host-packages/claude/openplanr/skills/ship/scripts/backlog-item.mjs +0 -339
  338. package/lib/host-packages/claude/openplanr/skills/ship/scripts/discover-verification.mjs +0 -108
  339. package/lib/host-packages/cursor/openplanr/rules/planr-ceo-review/scripts/validate-note.mjs +0 -12
  340. package/lib/host-packages/cursor/openplanr/rules/planr-chair-review/scripts/validate-note.mjs +0 -12
  341. package/lib/host-packages/cursor/openplanr/rules/planr-challenger-review/scripts/validate-note.mjs +0 -12
  342. package/lib/host-packages/cursor/openplanr/rules/planr-cmo-review/scripts/validate-note.mjs +0 -12
  343. package/lib/host-packages/cursor/openplanr/rules/planr-coo-review/scripts/validate-note.mjs +0 -12
  344. package/lib/host-packages/cursor/openplanr/rules/planr-cpo-review/scripts/validate-note.mjs +0 -12
  345. package/lib/host-packages/cursor/openplanr/rules/planr-cto-review/scripts/validate-note.mjs +0 -12
  346. package/lib/host-packages/cursor/openplanr/rules/planr-design/scripts/design.mjs +0 -12
  347. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/scripts/design.mjs +0 -12
  348. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/scripts/design.mjs +0 -12
  349. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/scripts/backlog-item.mjs +0 -339
  350. package/lib/host-packages/cursor/openplanr/rules/planr-operate/scripts/validate-note.mjs +0 -12
  351. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/design.mjs +0 -12
  352. package/lib/host-packages/cursor/openplanr/rules/planr-plan/scripts/planning-ids.mjs +0 -166
  353. package/lib/host-packages/cursor/openplanr/rules/planr-release/scripts/collect_changes.sh +0 -85
  354. package/lib/host-packages/cursor/openplanr/rules/planr-ship/scripts/backlog-item.mjs +0 -339
  355. package/lib/host-packages/cursor/openplanr/rules/planr-ship/scripts/discover-verification.mjs +0 -108
  356. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1772
  357. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
  358. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
  359. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +0 -2370
  360. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
  361. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
  362. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
  363. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review-state-store.mjs +0 -45
  364. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +0 -3376
  365. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -38
  366. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
  367. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +0 -321
  368. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs +0 -1652
  369. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs +0 -1037
  370. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +0 -137
  371. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +0 -1500
  372. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2023
  373. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
  374. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
  375. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -814
  376. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -10
  377. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +0 -2568
  378. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -60
  379. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
  380. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
  381. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
  382. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
  383. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -139
  384. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
  385. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
  386. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
  387. 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
  388. 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
  389. 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
  390. 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
  391. 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
  392. 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
  393. 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
  394. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
  395. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
  396. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
  397. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
  398. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
  399. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
  400. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
  401. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
  402. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
  403. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
  404. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
  405. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
  406. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
  407. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -163
  408. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
  409. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
  410. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
  411. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  412. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
  413. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
  414. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
  415. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
  416. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
  417. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
  418. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
  419. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
  420. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
  421. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
  422. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
  423. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
  424. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
  425. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
  426. package/lib/host-packages/cursor/openplanr/runtime/operate/scripts/errors.mjs +0 -8
  427. package/lib/host-packages/cursor/openplanr/runtime/operate/scripts/operate-review-contract.mjs +0 -428
  428. package/lib/host-packages/cursor/openplanr/runtime/operate/scripts/operate-review-note.mjs +0 -686
  429. package/lib/host-packages/cursor/openplanr/runtime/operate/scripts/validate-note.mjs +0 -39
  430. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -1232
  431. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +0 -2611
  432. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
  433. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -163
  434. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  435. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +0 -1772
  436. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +0 -2937
  437. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-entities.mjs +0 -439
  438. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +0 -2370
  439. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-loopback-server.mjs +0 -359
  440. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-parse5-parser.mjs +0 -3970
  441. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-parse5-tokenizer.mjs +0 -3501
  442. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review-state-store.mjs +0 -45
  443. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +0 -3376
  444. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-home.mjs +0 -38
  445. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-sandbox-guards.mjs +0 -1102
  446. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share-cli-bridge.mjs +0 -321
  447. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-d707e49b.mjs +0 -1652
  448. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-9f6918b0.mjs +0 -1037
  449. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-design-support-0bac378d.mjs +0 -137
  450. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +0 -1500
  451. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -2023
  452. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +0 -2
  453. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +0 -18
  454. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +0 -814
  455. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +0 -10
  456. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-artifact-review-ui.js +0 -2568
  457. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +0 -60
  458. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +0 -65
  459. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/enhancements.css +0 -388
  460. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/handoff-center.css +0 -81
  461. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.css +0 -1
  462. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/share.js +0 -139
  463. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +0 -1159
  464. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +0 -30
  465. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +0 -900
  466. 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
  467. 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
  468. 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
  469. 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
  470. 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
  471. 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
  472. 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
  473. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +0 -17
  474. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +0 -12
  475. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +0 -285
  476. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +0 -2773
  477. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +0 -134
  478. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +0 -2207
  479. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +0 -16
  480. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +0 -8
  481. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +0 -3883
  482. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +0 -966
  483. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/20-studio-shell.js +0 -520
  484. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +0 -1597
  485. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +0 -311
  486. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +0 -163
  487. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/registries/artifact-theme.json +0 -64
  488. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.0.0/design-manifest.schema.json +0 -90
  489. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-envelope.schema.json +0 -142
  490. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  491. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-bundle.schema.json +0 -584
  492. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-context.schema.json +0 -191
  493. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-handoff.schema.json +0 -407
  494. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.10.0/design-review-metadata-payload.schema.json +0 -106
  495. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-handoff-readiness.schema.json +0 -398
  496. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-implementation-handoff.schema.json +0 -518
  497. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-planning-lineage.schema.json +0 -106
  498. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.11.0/design-review-metadata-payload.schema.json +0 -107
  499. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.14.0/artifact-theme.schema.json +0 -316
  500. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/artifact-envelope.schema.json +0 -408
  501. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.16.0/design-review-bundle.schema.json +0 -590
  502. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-document.schema.json +0 -506
  503. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.22.0/design-review-bundle.schema.json +0 -822
  504. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0/design-review-bundle.schema.json +0 -346
  505. package/lib/host-packages/openai/openplanr/runtime/operate/scripts/errors.mjs +0 -8
  506. package/lib/host-packages/openai/openplanr/runtime/operate/scripts/operate-review-contract.mjs +0 -428
  507. package/lib/host-packages/openai/openplanr/runtime/operate/scripts/operate-review-note.mjs +0 -686
  508. package/lib/host-packages/openai/openplanr/runtime/operate/scripts/validate-note.mjs +0 -39
  509. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +0 -1232
  510. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +0 -2611
  511. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/notices/THIRD_PARTY_NOTICES.txt +0 -21
  512. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +0 -163
  513. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/schemas/v1.1.0/artifact-review.schema.json +0 -97
  514. package/lib/host-packages/openai/openplanr/skills/ceo-review/scripts/validate-note.mjs +0 -12
  515. package/lib/host-packages/openai/openplanr/skills/chair-review/scripts/validate-note.mjs +0 -12
  516. package/lib/host-packages/openai/openplanr/skills/challenger-review/scripts/validate-note.mjs +0 -12
  517. package/lib/host-packages/openai/openplanr/skills/cmo-review/scripts/validate-note.mjs +0 -12
  518. package/lib/host-packages/openai/openplanr/skills/coo-review/scripts/validate-note.mjs +0 -12
  519. package/lib/host-packages/openai/openplanr/skills/cpo-review/scripts/validate-note.mjs +0 -12
  520. package/lib/host-packages/openai/openplanr/skills/cto-review/scripts/validate-note.mjs +0 -12
  521. package/lib/host-packages/openai/openplanr/skills/design/scripts/design.mjs +0 -12
  522. package/lib/host-packages/openai/openplanr/skills/design-loop/scripts/design.mjs +0 -12
  523. package/lib/host-packages/openai/openplanr/skills/design-review/scripts/design.mjs +0 -12
  524. package/lib/host-packages/openai/openplanr/skills/investigate/scripts/backlog-item.mjs +0 -339
  525. package/lib/host-packages/openai/openplanr/skills/operate/scripts/validate-note.mjs +0 -12
  526. package/lib/host-packages/openai/openplanr/skills/plan/scripts/design.mjs +0 -12
  527. package/lib/host-packages/openai/openplanr/skills/plan/scripts/planning-ids.mjs +0 -166
  528. package/lib/host-packages/openai/openplanr/skills/release/scripts/collect_changes.sh +0 -85
  529. package/lib/host-packages/openai/openplanr/skills/ship/scripts/backlog-item.mjs +0 -339
  530. package/lib/host-packages/openai/openplanr/skills/ship/scripts/discover-verification.mjs +0 -108
@@ -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
- });