openplanr 3.1.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist/cli/commands/groups/delivery.d.ts.map +1 -1
  3. package/dist/cli/commands/groups/delivery.js +2 -0
  4. package/dist/cli/commands/groups/delivery.js.map +1 -1
  5. package/dist/cli/commands/planning-artifacts.d.ts.map +1 -1
  6. package/dist/cli/commands/planning-artifacts.js +22 -12
  7. package/dist/cli/commands/planning-artifacts.js.map +1 -1
  8. package/dist/cli/commands/ship.d.ts +3 -0
  9. package/dist/cli/commands/ship.d.ts.map +1 -0
  10. package/dist/cli/commands/ship.js +65 -0
  11. package/dist/cli/commands/ship.js.map +1 -0
  12. package/dist/dashboard/.vite/manifest.json +1 -1
  13. package/dist/dashboard/assets/{index-G7ygVDGg.js → index-L8qtwqv6.js} +2 -2
  14. package/dist/dashboard/assets/{index-G7ygVDGg.js.map → index-L8qtwqv6.js.map} +1 -1
  15. package/dist/dashboard/dashboard-manifest.json +8 -8
  16. package/dist/dashboard/index.html +1 -1
  17. package/dist/models/schema.d.ts +39 -23
  18. package/dist/models/schema.d.ts.map +1 -1
  19. package/dist/models/schema.js +19 -12
  20. package/dist/models/schema.js.map +1 -1
  21. package/dist/models/types.d.ts +6 -0
  22. package/dist/models/types.d.ts.map +1 -1
  23. package/dist/services/id-service.d.ts +1 -5
  24. package/dist/services/id-service.d.ts.map +1 -1
  25. package/dist/services/id-service.js +1 -34
  26. package/dist/services/id-service.js.map +1 -1
  27. package/dist/services/ship-checks/changes.d.ts +24 -0
  28. package/dist/services/ship-checks/changes.d.ts.map +1 -0
  29. package/dist/services/ship-checks/changes.js +135 -0
  30. package/dist/services/ship-checks/changes.js.map +1 -0
  31. package/dist/services/ship-checks/contract.d.ts +81 -0
  32. package/dist/services/ship-checks/contract.d.ts.map +1 -0
  33. package/dist/services/ship-checks/contract.js +7 -0
  34. package/dist/services/ship-checks/contract.js.map +1 -0
  35. package/dist/services/ship-checks/discover.d.ts +10 -0
  36. package/dist/services/ship-checks/discover.d.ts.map +1 -0
  37. package/dist/services/ship-checks/discover.js +250 -0
  38. package/dist/services/ship-checks/discover.js.map +1 -0
  39. package/dist/services/ship-checks/glob.d.ts +5 -0
  40. package/dist/services/ship-checks/glob.d.ts.map +1 -0
  41. package/dist/services/ship-checks/glob.js +39 -0
  42. package/dist/services/ship-checks/glob.js.map +1 -0
  43. package/dist/services/ship-checks/hooks.d.ts +7 -0
  44. package/dist/services/ship-checks/hooks.d.ts.map +1 -0
  45. package/dist/services/ship-checks/hooks.js +65 -0
  46. package/dist/services/ship-checks/hooks.js.map +1 -0
  47. package/dist/services/ship-checks/packages.d.ts +29 -0
  48. package/dist/services/ship-checks/packages.d.ts.map +1 -0
  49. package/dist/services/ship-checks/packages.js +197 -0
  50. package/dist/services/ship-checks/packages.js.map +1 -0
  51. package/dist/services/ship-checks/related-tests.d.ts +13 -0
  52. package/dist/services/ship-checks/related-tests.d.ts.map +1 -0
  53. package/dist/services/ship-checks/related-tests.js +73 -0
  54. package/dist/services/ship-checks/related-tests.js.map +1 -0
  55. package/dist/services/ship-checks/scope.d.ts +8 -0
  56. package/dist/services/ship-checks/scope.d.ts.map +1 -0
  57. package/dist/services/ship-checks/scope.js +66 -0
  58. package/dist/services/ship-checks/scope.js.map +1 -0
  59. package/dist/services/ship-checks/task-requirements.d.ts +14 -0
  60. package/dist/services/ship-checks/task-requirements.d.ts.map +1 -0
  61. package/dist/services/ship-checks/task-requirements.js +145 -0
  62. package/dist/services/ship-checks/task-requirements.js.map +1 -0
  63. package/dist/services/ship-checks/workflows.d.ts +21 -0
  64. package/dist/services/ship-checks/workflows.d.ts.map +1 -0
  65. package/dist/services/ship-checks/workflows.js +208 -0
  66. package/dist/services/ship-checks/workflows.js.map +1 -0
  67. package/dist/services/template-service.d.ts +2 -0
  68. package/dist/services/template-service.d.ts.map +1 -1
  69. package/dist/services/template-service.js +4 -0
  70. package/dist/services/template-service.js.map +1 -1
  71. package/dist/utils/slugify.d.ts +1 -8
  72. package/dist/utils/slugify.d.ts.map +1 -1
  73. package/dist/utils/slugify.js +1 -25
  74. package/dist/utils/slugify.js.map +1 -1
  75. package/docs/CLI.md +48 -1
  76. package/lib/backlog-item.d.mts +49 -0
  77. package/lib/backlog-item.mjs +339 -0
  78. package/lib/host-packages/adapter-registry.json +5 -5
  79. package/lib/host-packages/capability-map.json +1 -1
  80. package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
  81. package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
  82. package/lib/host-packages/claude/openplanr/.openplanr-content.json +126 -90
  83. package/lib/host-packages/claude/openplanr/CONNECTORS.md +4 -6
  84. package/lib/host-packages/claude/openplanr/README.md +1 -1
  85. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
  86. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
  87. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +385 -79
  88. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
  89. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
  90. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +45 -4
  91. package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-runtime-support-e34c388a8e59.mjs → claude/openplanr/runtime/design/scripts/design-runtime-support-6774fd3d5d02.mjs} +1 -1
  92. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +8 -5
  93. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
  94. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
  95. package/lib/host-packages/claude/openplanr/runtime/design/scripts/{design-shared-protocol-contracts-31a760fc.mjs → design-shared-protocol-contracts-b5f28f94.mjs} +284 -45
  96. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
  97. package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +215 -55
  98. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +23 -23
  99. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
  100. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +12 -12
  101. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +47 -14
  102. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
  103. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
  104. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
  105. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
  106. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
  107. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +494 -967
  108. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +346 -678
  109. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +382 -810
  110. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +406 -730
  111. 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 +259 -522
  112. 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 +585 -937
  113. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +115 -240
  114. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
  115. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
  116. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
  117. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
  118. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
  119. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
  120. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
  121. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
  122. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
  123. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
  124. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/{16-studio-shell.js → 20-studio-shell.js} +122 -227
  125. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
  126. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
  127. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
  128. package/lib/host-packages/{openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0 → claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.20.0}/design-document.schema.json +78 -5
  129. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
  130. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +45 -12
  131. package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
  132. package/lib/host-packages/claude/openplanr/skills/connect/references/connectors.md +4 -6
  133. package/lib/host-packages/claude/openplanr/skills/design/SKILL.md +12 -0
  134. package/lib/host-packages/claude/openplanr/skills/design/references/craft.md +14 -3
  135. package/lib/host-packages/claude/openplanr/skills/design/references/design-system.md +33 -1
  136. package/lib/host-packages/claude/openplanr/skills/design/references/discovery.md +18 -4
  137. package/lib/host-packages/claude/openplanr/skills/design/references/generation.md +74 -1
  138. package/lib/host-packages/claude/openplanr/skills/design/references/hosted-canvas.md +62 -0
  139. package/lib/host-packages/claude/openplanr/skills/design/references/review.md +46 -1
  140. package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +6 -0
  141. package/lib/host-packages/claude/openplanr/skills/design/schemas/design-document.schema.json +78 -5
  142. package/lib/host-packages/claude/openplanr/skills/design-loop/references/craft.md +14 -3
  143. package/lib/host-packages/claude/openplanr/skills/design-loop/references/design-system.md +33 -1
  144. package/lib/host-packages/claude/openplanr/skills/design-loop/references/discovery.md +18 -4
  145. package/lib/host-packages/claude/openplanr/skills/design-loop/references/generation.md +74 -1
  146. package/lib/host-packages/claude/openplanr/skills/design-loop/references/review.md +46 -1
  147. package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +6 -0
  148. package/lib/host-packages/claude/openplanr/skills/design-loop/schemas/design-document.schema.json +78 -5
  149. package/lib/host-packages/claude/openplanr/skills/design-review/references/craft.md +14 -3
  150. package/lib/host-packages/claude/openplanr/skills/design-review/references/design-system.md +33 -1
  151. package/lib/host-packages/claude/openplanr/skills/design-review/references/discovery.md +18 -4
  152. package/lib/host-packages/claude/openplanr/skills/design-review/references/generation.md +74 -1
  153. package/lib/host-packages/claude/openplanr/skills/design-review/references/review.md +46 -1
  154. package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +6 -0
  155. package/lib/host-packages/claude/openplanr/skills/design-review/schemas/design-document.schema.json +78 -5
  156. package/lib/host-packages/claude/openplanr/skills/investigate/SKILL.md +10 -1
  157. package/lib/host-packages/claude/openplanr/skills/investigate/references/findings.md +92 -0
  158. package/lib/host-packages/claude/openplanr/skills/investigate/scripts/backlog-item.mjs +339 -0
  159. package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +3 -0
  160. package/lib/host-packages/claude/openplanr/skills/plan/schemas/design-document.schema.json +78 -5
  161. package/lib/host-packages/claude/openplanr/skills/share/references/connectors.md +4 -6
  162. package/lib/host-packages/claude/openplanr/skills/ship/SKILL.md +15 -4
  163. package/lib/host-packages/claude/openplanr/skills/ship/references/findings.md +92 -0
  164. package/lib/host-packages/claude/openplanr/skills/ship/references/result-contract.md +3 -1
  165. package/lib/host-packages/claude/openplanr/skills/ship/scripts/backlog-item.mjs +339 -0
  166. package/lib/host-packages/claude/openplanr/skills/sprint/references/connectors.md +4 -6
  167. package/lib/host-packages/claude/openplanr/skills/status/references/connectors.md +4 -6
  168. package/lib/host-packages/claude/openplanr/skills/sync/references/connectors.md +4 -6
  169. package/lib/host-packages/cursor/openplanr/.openplanr-content.json +125 -89
  170. package/lib/host-packages/cursor/openplanr/CONNECTORS.md +4 -6
  171. package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
  172. package/lib/host-packages/cursor/openplanr/rules/planr-connect/references/connectors.md +4 -6
  173. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/craft.md +14 -3
  174. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/design-system.md +33 -1
  175. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/discovery.md +18 -4
  176. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/generation.md +74 -1
  177. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/hosted-canvas.md +62 -0
  178. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/review.md +46 -1
  179. package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +6 -0
  180. package/lib/host-packages/cursor/openplanr/rules/planr-design/schemas/design-document.schema.json +78 -5
  181. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/craft.md +14 -3
  182. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/design-system.md +33 -1
  183. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/discovery.md +18 -4
  184. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/generation.md +74 -1
  185. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/review.md +46 -1
  186. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +6 -0
  187. package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/schemas/design-document.schema.json +78 -5
  188. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/craft.md +14 -3
  189. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/design-system.md +33 -1
  190. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/discovery.md +18 -4
  191. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/generation.md +74 -1
  192. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/review.md +46 -1
  193. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +6 -0
  194. package/lib/host-packages/cursor/openplanr/rules/planr-design-review/schemas/design-document.schema.json +78 -5
  195. package/lib/host-packages/cursor/openplanr/rules/planr-design.mdc +12 -0
  196. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/references/findings.md +92 -0
  197. package/lib/host-packages/cursor/openplanr/rules/planr-investigate/scripts/backlog-item.mjs +339 -0
  198. package/lib/host-packages/cursor/openplanr/rules/planr-investigate.mdc +10 -1
  199. package/lib/host-packages/cursor/openplanr/rules/planr-plan/schemas/design-document.schema.json +78 -5
  200. package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +3 -0
  201. package/lib/host-packages/cursor/openplanr/rules/planr-share/references/connectors.md +4 -6
  202. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/findings.md +92 -0
  203. package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/result-contract.md +3 -1
  204. package/lib/host-packages/cursor/openplanr/rules/planr-ship/scripts/backlog-item.mjs +339 -0
  205. package/lib/host-packages/cursor/openplanr/rules/planr-ship.mdc +15 -4
  206. package/lib/host-packages/cursor/openplanr/rules/planr-sprint/references/connectors.md +4 -6
  207. package/lib/host-packages/cursor/openplanr/rules/planr-status/references/connectors.md +4 -6
  208. package/lib/host-packages/cursor/openplanr/rules/planr-sync/references/connectors.md +4 -6
  209. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
  210. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
  211. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +385 -79
  212. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
  213. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
  214. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +45 -4
  215. package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-runtime-support-e34c388a8e59.mjs → cursor/openplanr/runtime/design/scripts/design-runtime-support-6774fd3d5d02.mjs} +1 -1
  216. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +8 -5
  217. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
  218. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
  219. package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs → cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs} +284 -45
  220. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
  221. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +215 -55
  222. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +23 -23
  223. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
  224. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +12 -12
  225. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +47 -14
  226. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
  227. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
  228. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
  229. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
  230. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
  231. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +494 -967
  232. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +346 -678
  233. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +382 -810
  234. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +406 -730
  235. 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 +259 -522
  236. 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 +585 -937
  237. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +115 -240
  238. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
  239. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
  240. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
  241. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
  242. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
  243. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
  244. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
  245. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
  246. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
  247. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
  248. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/{16-studio-shell.js → 20-studio-shell.js} +122 -227
  249. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
  250. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
  251. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
  252. package/lib/host-packages/{claude/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0 → cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.20.0}/design-document.schema.json +78 -5
  253. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
  254. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +45 -12
  255. package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
  256. package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
  257. package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
  258. package/lib/host-packages/openai/openplanr/.openplanr-content.json +128 -92
  259. package/lib/host-packages/openai/openplanr/CONNECTORS.md +4 -6
  260. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
  261. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
  262. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +385 -79
  263. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
  264. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
  265. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +45 -4
  266. package/lib/host-packages/{claude/openplanr/runtime/design/scripts/design-runtime-support-e34c388a8e59.mjs → openai/openplanr/runtime/design/scripts/design-runtime-support-6774fd3d5d02.mjs} +1 -1
  267. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +8 -5
  268. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
  269. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
  270. package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs → openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-b5f28f94.mjs} +284 -45
  271. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
  272. package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +215 -55
  273. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +23 -23
  274. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
  275. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +12 -12
  276. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +47 -14
  277. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
  278. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
  279. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
  280. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
  281. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
  282. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +494 -967
  283. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +346 -678
  284. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +382 -810
  285. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +406 -730
  286. 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 +259 -522
  287. 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 +585 -937
  288. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +115 -240
  289. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
  290. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
  291. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
  292. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
  293. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
  294. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
  295. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
  296. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
  297. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
  298. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
  299. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/{16-studio-shell.js → 20-studio-shell.js} +122 -227
  300. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
  301. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
  302. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
  303. package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.9.0 → openai/openplanr/runtime/design/scripts/runtime/packages/protocol/schemas/v1.20.0}/design-document.schema.json +78 -5
  304. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
  305. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +45 -12
  306. package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
  307. package/lib/host-packages/openai/openplanr/skills/connect/references/connectors.md +4 -6
  308. package/lib/host-packages/openai/openplanr/skills/design/SKILL.md +12 -0
  309. package/lib/host-packages/openai/openplanr/skills/design/openplanr.skill.json +11 -0
  310. package/lib/host-packages/openai/openplanr/skills/design/references/craft.md +14 -3
  311. package/lib/host-packages/openai/openplanr/skills/design/references/design-system.md +33 -1
  312. package/lib/host-packages/openai/openplanr/skills/design/references/discovery.md +18 -4
  313. package/lib/host-packages/openai/openplanr/skills/design/references/generation.md +74 -1
  314. package/lib/host-packages/openai/openplanr/skills/design/references/hosted-canvas.md +62 -0
  315. package/lib/host-packages/openai/openplanr/skills/design/references/review.md +46 -1
  316. package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +6 -0
  317. package/lib/host-packages/openai/openplanr/skills/design/schemas/design-document.schema.json +78 -5
  318. package/lib/host-packages/openai/openplanr/skills/design-loop/references/craft.md +14 -3
  319. package/lib/host-packages/openai/openplanr/skills/design-loop/references/design-system.md +33 -1
  320. package/lib/host-packages/openai/openplanr/skills/design-loop/references/discovery.md +18 -4
  321. package/lib/host-packages/openai/openplanr/skills/design-loop/references/generation.md +74 -1
  322. package/lib/host-packages/openai/openplanr/skills/design-loop/references/review.md +46 -1
  323. package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +6 -0
  324. package/lib/host-packages/openai/openplanr/skills/design-loop/schemas/design-document.schema.json +78 -5
  325. package/lib/host-packages/openai/openplanr/skills/design-review/references/craft.md +14 -3
  326. package/lib/host-packages/openai/openplanr/skills/design-review/references/design-system.md +33 -1
  327. package/lib/host-packages/openai/openplanr/skills/design-review/references/discovery.md +18 -4
  328. package/lib/host-packages/openai/openplanr/skills/design-review/references/generation.md +74 -1
  329. package/lib/host-packages/openai/openplanr/skills/design-review/references/review.md +46 -1
  330. package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +6 -0
  331. package/lib/host-packages/openai/openplanr/skills/design-review/schemas/design-document.schema.json +78 -5
  332. package/lib/host-packages/openai/openplanr/skills/investigate/SKILL.md +10 -1
  333. package/lib/host-packages/openai/openplanr/skills/investigate/openplanr.skill.json +22 -0
  334. package/lib/host-packages/openai/openplanr/skills/investigate/references/findings.md +92 -0
  335. package/lib/host-packages/openai/openplanr/skills/investigate/scripts/backlog-item.mjs +339 -0
  336. package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +3 -0
  337. package/lib/host-packages/openai/openplanr/skills/plan/schemas/design-document.schema.json +78 -5
  338. package/lib/host-packages/openai/openplanr/skills/share/references/connectors.md +4 -6
  339. package/lib/host-packages/openai/openplanr/skills/ship/SKILL.md +15 -4
  340. package/lib/host-packages/openai/openplanr/skills/ship/openplanr.skill.json +22 -0
  341. package/lib/host-packages/openai/openplanr/skills/ship/references/findings.md +92 -0
  342. package/lib/host-packages/openai/openplanr/skills/ship/references/result-contract.md +3 -1
  343. package/lib/host-packages/openai/openplanr/skills/ship/scripts/backlog-item.mjs +339 -0
  344. package/lib/host-packages/openai/openplanr/skills/sprint/references/connectors.md +4 -6
  345. package/lib/host-packages/openai/openplanr/skills/status/references/connectors.md +4 -6
  346. package/lib/host-packages/openai/openplanr/skills/sync/references/connectors.md +4 -6
  347. package/package.json +3 -3
  348. package/dist/templates/backlog/backlog-item.md.hbs +0 -40
  349. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
  350. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
  351. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
  352. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
  353. package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
  354. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
  355. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
  356. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
  357. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
  358. package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
  359. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
  360. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
  361. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
  362. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
  363. package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
@@ -1,27 +1,9 @@
1
1
 
2
2
  function FiberRootNode(containerInfo, tag, hydrate, identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator, formState) {
3
- this.tag = 1;
4
- this.containerInfo = containerInfo;
5
- this.pingCache = this.current = this.pendingChildren = null;
6
- this.timeoutHandle = -1;
7
- this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null;
8
- this.callbackPriority = 0;
9
- this.expirationTimes = createLaneMap(-1);
10
- this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
11
- this.entanglements = createLaneMap(0);
12
- this.hiddenUpdates = createLaneMap(null);
13
- this.identifierPrefix = identifierPrefix;
14
- this.onUncaughtError = onUncaughtError;
15
- this.onCaughtError = onCaughtError;
16
- this.onRecoverableError = onRecoverableError;
17
- this.pooledCache = null;
18
- this.pooledCacheLanes = 0;
19
- this.formState = formState;
20
- this.transitionTypes = null;
21
- this.incompleteTransitions = /* @__PURE__ */ new Map();
3
+ this.tag = 1, this.containerInfo = containerInfo, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = createLaneMap(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = createLaneMap(0), this.hiddenUpdates = createLaneMap(null), this.identifierPrefix = identifierPrefix, this.onUncaughtError = onUncaughtError, this.onCaughtError = onCaughtError, this.onRecoverableError = onRecoverableError, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = formState, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
22
4
  }
23
5
  function createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, identifierPrefix, formState, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator) {
24
- containerInfo = new FiberRootNode(
6
+ return containerInfo = new FiberRootNode(
25
7
  containerInfo,
26
8
  tag,
27
9
  hydrate,
@@ -31,67 +13,42 @@
31
13
  onRecoverableError,
32
14
  onDefaultTransitionIndicator,
33
15
  formState
34
- );
35
- tag = 1;
36
- true === isStrictMode && (tag |= 24);
37
- isStrictMode = createFiberImplClass(3, null, null, tag);
38
- containerInfo.current = isStrictMode;
39
- isStrictMode.stateNode = containerInfo;
40
- tag = createCache();
41
- tag.refCount++;
42
- containerInfo.pooledCache = tag;
43
- tag.refCount++;
44
- isStrictMode.memoizedState = {
16
+ ), tag = 1, isStrictMode === !0 && (tag |= 24), isStrictMode = createFiberImplClass(3, null, null, tag), containerInfo.current = isStrictMode, isStrictMode.stateNode = containerInfo, tag = createCache(), tag.refCount++, containerInfo.pooledCache = tag, tag.refCount++, isStrictMode.memoizedState = {
45
17
  element: initialChildren,
46
18
  isDehydrated: hydrate,
47
19
  cache: tag
48
- };
49
- initializeUpdateQueue(isStrictMode);
50
- return containerInfo;
20
+ }, initializeUpdateQueue(isStrictMode), containerInfo;
51
21
  }
52
22
  function getContextForSubtree(parentComponent) {
53
- if (!parentComponent) return emptyContextObject;
54
- parentComponent = emptyContextObject;
55
- return parentComponent;
23
+ return parentComponent ? (parentComponent = emptyContextObject, parentComponent) : emptyContextObject;
56
24
  }
57
25
  function updateContainerImpl(rootFiber, lane, element, container, parentComponent, callback) {
58
- parentComponent = getContextForSubtree(parentComponent);
59
- null === container.context ? container.context = parentComponent : container.pendingContext = parentComponent;
60
- container = createUpdate(lane);
61
- container.payload = { element };
62
- callback = void 0 === callback ? null : callback;
63
- null !== callback && (container.callback = callback);
64
- element = enqueueUpdate(rootFiber, container, lane);
65
- null !== element && (scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane));
26
+ parentComponent = getContextForSubtree(parentComponent), container.context === null ? container.context = parentComponent : container.pendingContext = parentComponent, container = createUpdate(lane), container.payload = { element }, callback = callback === void 0 ? null : callback, callback !== null && (container.callback = callback), element = enqueueUpdate(rootFiber, container, lane), element !== null && (scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane));
66
27
  }
67
28
  function markRetryLaneImpl(fiber, retryLane) {
68
- fiber = fiber.memoizedState;
69
- if (null !== fiber && null !== fiber.dehydrated) {
29
+ if (fiber = fiber.memoizedState, fiber !== null && fiber.dehydrated !== null) {
70
30
  var a = fiber.retryLane;
71
- fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane;
31
+ fiber.retryLane = a !== 0 && a < retryLane ? a : retryLane;
72
32
  }
73
33
  }
74
34
  function markRetryLaneIfNotHydrated(fiber, retryLane) {
75
- markRetryLaneImpl(fiber, retryLane);
76
- (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);
35
+ markRetryLaneImpl(fiber, retryLane), (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);
77
36
  }
78
37
  function attemptContinuousHydration(fiber) {
79
- if (13 === fiber.tag || 31 === fiber.tag) {
38
+ if (fiber.tag === 13 || fiber.tag === 31) {
80
39
  var root2 = enqueueConcurrentRenderForLane(fiber, 67108864);
81
- null !== root2 && scheduleUpdateOnFiber(root2, fiber, 67108864);
82
- markRetryLaneIfNotHydrated(fiber, 67108864);
40
+ root2 !== null && scheduleUpdateOnFiber(root2, fiber, 67108864), markRetryLaneIfNotHydrated(fiber, 67108864);
83
41
  }
84
42
  }
85
43
  function attemptHydrationAtCurrentPriority(fiber) {
86
- if (13 === fiber.tag || 31 === fiber.tag) {
44
+ if (fiber.tag === 13 || fiber.tag === 31) {
87
45
  var lane = requestUpdateLane();
88
46
  lane = getBumpedLaneForHydrationByLane(lane);
89
47
  var root2 = enqueueConcurrentRenderForLane(fiber, lane);
90
- null !== root2 && scheduleUpdateOnFiber(root2, fiber, lane);
91
- markRetryLaneIfNotHydrated(fiber, lane);
48
+ root2 !== null && scheduleUpdateOnFiber(root2, fiber, lane), markRetryLaneIfNotHydrated(fiber, lane);
92
49
  }
93
50
  }
94
- var _enabled = true;
51
+ var _enabled = !0;
95
52
  function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {
96
53
  var prevTransition = ReactSharedInternals.T;
97
54
  ReactSharedInternals.T = null;
@@ -115,7 +72,7 @@
115
72
  function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
116
73
  if (_enabled) {
117
74
  var blockedOn = findInstanceBlockingEvent(nativeEvent);
118
- if (null === blockedOn)
75
+ if (blockedOn === null)
119
76
  dispatchEventForPluginEventSystem(
120
77
  domEventName,
121
78
  eventSystemFlags,
@@ -132,43 +89,37 @@
132
89
  ))
133
90
  nativeEvent.stopPropagation();
134
91
  else if (clearIfContinuousEvent(domEventName, nativeEvent), eventSystemFlags & 4 && -1 < discreteReplayableEvents.indexOf(domEventName)) {
135
- for (; null !== blockedOn; ) {
92
+ for (; blockedOn !== null; ) {
136
93
  var fiber = getInstanceFromNode(blockedOn);
137
- if (null !== fiber)
94
+ if (fiber !== null)
138
95
  switch (fiber.tag) {
139
96
  case 3:
140
- fiber = fiber.stateNode;
141
- if (fiber.current.memoizedState.isDehydrated) {
97
+ if (fiber = fiber.stateNode, fiber.current.memoizedState.isDehydrated) {
142
98
  var lanes = getHighestPriorityLanes(fiber.pendingLanes);
143
- if (0 !== lanes) {
99
+ if (lanes !== 0) {
144
100
  var root2 = fiber;
145
- root2.pendingLanes |= 2;
146
- for (root2.entangledLanes |= 2; lanes; ) {
101
+ for (root2.pendingLanes |= 2, root2.entangledLanes |= 2; lanes; ) {
147
102
  var lane = 1 << 31 - clz32(lanes);
148
- root2.entanglements[1] |= lane;
149
- lanes &= ~lane;
103
+ root2.entanglements[1] |= lane, lanes &= ~lane;
150
104
  }
151
- ensureRootIsScheduled(fiber);
152
- 0 === (executionContext & 6) && (workInProgressRootRenderTargetTime = now() + 500, flushSyncWorkAcrossRoots_impl(0, false));
105
+ ensureRootIsScheduled(fiber), (executionContext & 6) === 0 && (workInProgressRootRenderTargetTime = now() + 500, flushSyncWorkAcrossRoots_impl(0, !1));
153
106
  }
154
107
  }
155
108
  break;
156
109
  case 31:
157
110
  case 13:
158
- root2 = enqueueConcurrentRenderForLane(fiber, 2), null !== root2 && scheduleUpdateOnFiber(root2, fiber, 2), flushSyncWork$1(), markRetryLaneIfNotHydrated(fiber, 2);
111
+ root2 = enqueueConcurrentRenderForLane(fiber, 2), root2 !== null && scheduleUpdateOnFiber(root2, fiber, 2), flushSyncWork$1(), markRetryLaneIfNotHydrated(fiber, 2);
159
112
  }
160
- fiber = findInstanceBlockingEvent(nativeEvent);
161
- null === fiber && dispatchEventForPluginEventSystem(
113
+ if (fiber = findInstanceBlockingEvent(nativeEvent), fiber === null && dispatchEventForPluginEventSystem(
162
114
  domEventName,
163
115
  eventSystemFlags,
164
116
  nativeEvent,
165
117
  return_targetInst,
166
118
  targetContainer
167
- );
168
- if (fiber === blockedOn) break;
119
+ ), fiber === blockedOn) break;
169
120
  blockedOn = fiber;
170
121
  }
171
- null !== blockedOn && nativeEvent.stopPropagation();
122
+ blockedOn !== null && nativeEvent.stopPropagation();
172
123
  } else
173
124
  dispatchEventForPluginEventSystem(
174
125
  domEventName,
@@ -180,35 +131,29 @@
180
131
  }
181
132
  }
182
133
  function findInstanceBlockingEvent(nativeEvent) {
183
- nativeEvent = getEventTarget(nativeEvent);
184
- return findInstanceBlockingTarget(nativeEvent);
134
+ return nativeEvent = getEventTarget(nativeEvent), findInstanceBlockingTarget(nativeEvent);
185
135
  }
186
136
  var return_targetInst = null;
187
137
  function findInstanceBlockingTarget(targetNode) {
188
- return_targetInst = null;
189
- targetNode = getClosestInstanceFromNode(targetNode);
190
- if (null !== targetNode) {
138
+ if (return_targetInst = null, targetNode = getClosestInstanceFromNode(targetNode), targetNode !== null) {
191
139
  var nearestMounted = getNearestMountedFiber(targetNode);
192
- if (null === nearestMounted) targetNode = null;
140
+ if (nearestMounted === null) targetNode = null;
193
141
  else {
194
142
  var tag = nearestMounted.tag;
195
- if (13 === tag) {
196
- targetNode = getSuspenseInstanceFromFiber(nearestMounted);
197
- if (null !== targetNode) return targetNode;
143
+ if (tag === 13) {
144
+ if (targetNode = getSuspenseInstanceFromFiber(nearestMounted), targetNode !== null) return targetNode;
198
145
  targetNode = null;
199
- } else if (31 === tag) {
200
- targetNode = getActivityInstanceFromFiber(nearestMounted);
201
- if (null !== targetNode) return targetNode;
146
+ } else if (tag === 31) {
147
+ if (targetNode = getActivityInstanceFromFiber(nearestMounted), targetNode !== null) return targetNode;
202
148
  targetNode = null;
203
- } else if (3 === tag) {
149
+ } else if (tag === 3) {
204
150
  if (nearestMounted.stateNode.current.memoizedState.isDehydrated)
205
- return 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null;
151
+ return nearestMounted.tag === 3 ? nearestMounted.stateNode.containerInfo : null;
206
152
  targetNode = null;
207
153
  } else nearestMounted !== targetNode && (targetNode = null);
208
154
  }
209
155
  }
210
- return_targetInst = targetNode;
211
- return null;
156
+ return return_targetInst = targetNode, null;
212
157
  }
213
158
  function getEventPriority(domEventName) {
214
159
  switch (domEventName) {
@@ -304,14 +249,7 @@
304
249
  return 32;
305
250
  }
306
251
  }
307
- var hasScheduledReplayAttempt = false;
308
- var queuedFocus = null;
309
- var queuedDrag = null;
310
- var queuedMouse = null;
311
- var queuedPointers = /* @__PURE__ */ new Map();
312
- var queuedPointerCaptures = /* @__PURE__ */ new Map();
313
- var queuedExplicitHydrationTargets = [];
314
- var discreteReplayableEvents = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
252
+ var hasScheduledReplayAttempt = !1, queuedFocus = null, queuedDrag = null, queuedMouse = null, queuedPointers = /* @__PURE__ */ new Map(), queuedPointerCaptures = /* @__PURE__ */ new Map(), queuedExplicitHydrationTargets = [], discreteReplayableEvents = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
315
253
  " "
316
254
  );
317
255
  function clearIfContinuousEvent(domEventName, nativeEvent) {
@@ -338,18 +276,13 @@
338
276
  }
339
277
  }
340
278
  function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
341
- if (null === existingQueuedEvent || existingQueuedEvent.nativeEvent !== nativeEvent)
342
- return existingQueuedEvent = {
343
- blockedOn,
344
- domEventName,
345
- eventSystemFlags,
346
- nativeEvent,
347
- targetContainers: [targetContainer]
348
- }, null !== blockedOn && (blockedOn = getInstanceFromNode(blockedOn), null !== blockedOn && attemptContinuousHydration(blockedOn)), existingQueuedEvent;
349
- existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
350
- blockedOn = existingQueuedEvent.targetContainers;
351
- null !== targetContainer && -1 === blockedOn.indexOf(targetContainer) && blockedOn.push(targetContainer);
352
- return existingQueuedEvent;
279
+ return existingQueuedEvent === null || existingQueuedEvent.nativeEvent !== nativeEvent ? (existingQueuedEvent = {
280
+ blockedOn,
281
+ domEventName,
282
+ eventSystemFlags,
283
+ nativeEvent,
284
+ targetContainers: [targetContainer]
285
+ }, blockedOn !== null && (blockedOn = getInstanceFromNode(blockedOn), blockedOn !== null && attemptContinuousHydration(blockedOn)), existingQueuedEvent) : (existingQueuedEvent.eventSystemFlags |= eventSystemFlags, blockedOn = existingQueuedEvent.targetContainers, targetContainer !== null && blockedOn.indexOf(targetContainer) === -1 && blockedOn.push(targetContainer), existingQueuedEvent);
353
286
  }
354
287
  function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
355
288
  switch (domEventName) {
@@ -361,7 +294,7 @@
361
294
  eventSystemFlags,
362
295
  targetContainer,
363
296
  nativeEvent
364
- ), true;
297
+ ), !0;
365
298
  case "dragenter":
366
299
  return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(
367
300
  queuedDrag,
@@ -370,7 +303,7 @@
370
303
  eventSystemFlags,
371
304
  targetContainer,
372
305
  nativeEvent
373
- ), true;
306
+ ), !0;
374
307
  case "mouseover":
375
308
  return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(
376
309
  queuedMouse,
@@ -379,10 +312,10 @@
379
312
  eventSystemFlags,
380
313
  targetContainer,
381
314
  nativeEvent
382
- ), true;
315
+ ), !0;
383
316
  case "pointerover":
384
317
  var pointerId = nativeEvent.pointerId;
385
- queuedPointers.set(
318
+ return queuedPointers.set(
386
319
  pointerId,
387
320
  accumulateOrCreateContinuousQueuedReplayableEvent(
388
321
  queuedPointers.get(pointerId) || null,
@@ -392,8 +325,7 @@
392
325
  targetContainer,
393
326
  nativeEvent
394
327
  )
395
- );
396
- return true;
328
+ ), !0;
397
329
  case "gotpointercapture":
398
330
  return pointerId = nativeEvent.pointerId, queuedPointerCaptures.set(
399
331
  pointerId,
@@ -405,33 +337,31 @@
405
337
  targetContainer,
406
338
  nativeEvent
407
339
  )
408
- ), true;
340
+ ), !0;
409
341
  }
410
- return false;
342
+ return !1;
411
343
  }
412
344
  function attemptExplicitHydrationTarget(queuedTarget) {
413
345
  var targetInst = getClosestInstanceFromNode(queuedTarget.target);
414
- if (null !== targetInst) {
346
+ if (targetInst !== null) {
415
347
  var nearestMounted = getNearestMountedFiber(targetInst);
416
- if (null !== nearestMounted) {
417
- if (targetInst = nearestMounted.tag, 13 === targetInst) {
418
- if (targetInst = getSuspenseInstanceFromFiber(nearestMounted), null !== targetInst) {
419
- queuedTarget.blockedOn = targetInst;
420
- runWithPriority(queuedTarget.priority, function() {
348
+ if (nearestMounted !== null) {
349
+ if (targetInst = nearestMounted.tag, targetInst === 13) {
350
+ if (targetInst = getSuspenseInstanceFromFiber(nearestMounted), targetInst !== null) {
351
+ queuedTarget.blockedOn = targetInst, runWithPriority(queuedTarget.priority, function() {
421
352
  attemptHydrationAtCurrentPriority(nearestMounted);
422
353
  });
423
354
  return;
424
355
  }
425
- } else if (31 === targetInst) {
426
- if (targetInst = getActivityInstanceFromFiber(nearestMounted), null !== targetInst) {
427
- queuedTarget.blockedOn = targetInst;
428
- runWithPriority(queuedTarget.priority, function() {
356
+ } else if (targetInst === 31) {
357
+ if (targetInst = getActivityInstanceFromFiber(nearestMounted), targetInst !== null) {
358
+ queuedTarget.blockedOn = targetInst, runWithPriority(queuedTarget.priority, function() {
429
359
  attemptHydrationAtCurrentPriority(nearestMounted);
430
360
  });
431
361
  return;
432
362
  }
433
- } else if (3 === targetInst && nearestMounted.stateNode.current.memoizedState.isDehydrated) {
434
- queuedTarget.blockedOn = 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null;
363
+ } else if (targetInst === 3 && nearestMounted.stateNode.current.memoizedState.isDehydrated) {
364
+ queuedTarget.blockedOn = nearestMounted.tag === 3 ? nearestMounted.stateNode.containerInfo : null;
435
365
  return;
436
366
  }
437
367
  }
@@ -439,37 +369,30 @@
439
369
  queuedTarget.blockedOn = null;
440
370
  }
441
371
  function attemptReplayContinuousQueuedEvent(queuedEvent) {
442
- if (null !== queuedEvent.blockedOn) return false;
372
+ if (queuedEvent.blockedOn !== null) return !1;
443
373
  for (var targetContainers = queuedEvent.targetContainers; 0 < targetContainers.length; ) {
444
374
  var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);
445
- if (null === nextBlockedOn) {
375
+ if (nextBlockedOn === null) {
446
376
  nextBlockedOn = queuedEvent.nativeEvent;
447
377
  var nativeEventClone = new nextBlockedOn.constructor(
448
378
  nextBlockedOn.type,
449
379
  nextBlockedOn
450
380
  );
451
- currentReplayingEvent = nativeEventClone;
452
- nextBlockedOn.target.dispatchEvent(nativeEventClone);
453
- currentReplayingEvent = null;
381
+ currentReplayingEvent = nativeEventClone, nextBlockedOn.target.dispatchEvent(nativeEventClone), currentReplayingEvent = null;
454
382
  } else
455
- return targetContainers = getInstanceFromNode(nextBlockedOn), null !== targetContainers && attemptContinuousHydration(targetContainers), queuedEvent.blockedOn = nextBlockedOn, false;
383
+ return targetContainers = getInstanceFromNode(nextBlockedOn), targetContainers !== null && attemptContinuousHydration(targetContainers), queuedEvent.blockedOn = nextBlockedOn, !1;
456
384
  targetContainers.shift();
457
385
  }
458
- return true;
386
+ return !0;
459
387
  }
460
388
  function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
461
389
  attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);
462
390
  }
463
391
  function replayUnblockedEvents() {
464
- hasScheduledReplayAttempt = false;
465
- null !== queuedFocus && attemptReplayContinuousQueuedEvent(queuedFocus) && (queuedFocus = null);
466
- null !== queuedDrag && attemptReplayContinuousQueuedEvent(queuedDrag) && (queuedDrag = null);
467
- null !== queuedMouse && attemptReplayContinuousQueuedEvent(queuedMouse) && (queuedMouse = null);
468
- queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
469
- queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
392
+ hasScheduledReplayAttempt = !1, queuedFocus !== null && attemptReplayContinuousQueuedEvent(queuedFocus) && (queuedFocus = null), queuedDrag !== null && attemptReplayContinuousQueuedEvent(queuedDrag) && (queuedDrag = null), queuedMouse !== null && attemptReplayContinuousQueuedEvent(queuedMouse) && (queuedMouse = null), queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap), queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
470
393
  }
471
394
  function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
472
- queuedEvent.blockedOn === unblocked && (queuedEvent.blockedOn = null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt = true, Scheduler.unstable_scheduleCallback(
395
+ queuedEvent.blockedOn === unblocked && (queuedEvent.blockedOn = null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt = !0, Scheduler.unstable_scheduleCallback(
473
396
  Scheduler.unstable_NormalPriority,
474
397
  replayUnblockedEvents
475
398
  )));
@@ -482,15 +405,16 @@
482
405
  lastScheduledReplayQueue === formReplayingQueue && (lastScheduledReplayQueue = null);
483
406
  for (var i = 0; i < formReplayingQueue.length; i += 3) {
484
407
  var form = formReplayingQueue[i], submitterOrAction = formReplayingQueue[i + 1], formData = formReplayingQueue[i + 2];
485
- if ("function" !== typeof submitterOrAction)
486
- if (null === findInstanceBlockingTarget(submitterOrAction || form))
408
+ if (typeof submitterOrAction != "function") {
409
+ if (findInstanceBlockingTarget(submitterOrAction || form) === null)
487
410
  continue;
488
- else break;
411
+ break;
412
+ }
489
413
  var formInst = getInstanceFromNode(form);
490
- null !== formInst && (formReplayingQueue.splice(i, 3), i -= 3, startHostTransition(
414
+ formInst !== null && (formReplayingQueue.splice(i, 3), i -= 3, startHostTransition(
491
415
  formInst,
492
416
  {
493
- pending: true,
417
+ pending: !0,
494
418
  data: formData,
495
419
  method: form.method,
496
420
  action: submitterOrAction
@@ -506,40 +430,32 @@
506
430
  function unblock(queuedEvent) {
507
431
  return scheduleCallbackIfUnblocked(queuedEvent, unblocked);
508
432
  }
509
- null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked);
510
- null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);
511
- null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked);
512
- queuedPointers.forEach(unblock);
513
- queuedPointerCaptures.forEach(unblock);
433
+ queuedFocus !== null && scheduleCallbackIfUnblocked(queuedFocus, unblocked), queuedDrag !== null && scheduleCallbackIfUnblocked(queuedDrag, unblocked), queuedMouse !== null && scheduleCallbackIfUnblocked(queuedMouse, unblocked), queuedPointers.forEach(unblock), queuedPointerCaptures.forEach(unblock);
514
434
  for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {
515
435
  var queuedTarget = queuedExplicitHydrationTargets[i];
516
436
  queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);
517
437
  }
518
- for (; 0 < queuedExplicitHydrationTargets.length && (i = queuedExplicitHydrationTargets[0], null === i.blockedOn); )
519
- attemptExplicitHydrationTarget(i), null === i.blockedOn && queuedExplicitHydrationTargets.shift();
520
- i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;
521
- if (null != i)
438
+ for (; 0 < queuedExplicitHydrationTargets.length && (i = queuedExplicitHydrationTargets[0], i.blockedOn === null); )
439
+ attemptExplicitHydrationTarget(i), i.blockedOn === null && queuedExplicitHydrationTargets.shift();
440
+ if (i = (unblocked.ownerDocument || unblocked).$$reactFormReplay, i != null)
522
441
  for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {
523
442
  var form = i[queuedTarget], submitterOrAction = i[queuedTarget + 1], formProps = form[internalPropsKey] || null;
524
- if ("function" === typeof submitterOrAction)
443
+ if (typeof submitterOrAction == "function")
525
444
  formProps || scheduleReplayQueueIfNeeded(i);
526
445
  else if (formProps) {
527
446
  var action = null;
528
- if (submitterOrAction && submitterOrAction.hasAttribute("formAction"))
447
+ if (submitterOrAction && submitterOrAction.hasAttribute("formAction")) {
529
448
  if (form = submitterOrAction, formProps = submitterOrAction[internalPropsKey] || null)
530
449
  action = formProps.formAction;
531
- else {
532
- if (null !== findInstanceBlockingTarget(form)) continue;
533
- }
534
- else action = formProps.action;
535
- "function" === typeof action ? i[queuedTarget + 1] = action : (i.splice(queuedTarget, 3), queuedTarget -= 3);
536
- scheduleReplayQueueIfNeeded(i);
450
+ else if (findInstanceBlockingTarget(form) !== null) continue;
451
+ } else action = formProps.action;
452
+ typeof action == "function" ? i[queuedTarget + 1] = action : (i.splice(queuedTarget, 3), queuedTarget -= 3), scheduleReplayQueueIfNeeded(i);
537
453
  }
538
454
  }
539
455
  }
540
456
  function defaultOnDefaultTransitionIndicator() {
541
457
  function handleNavigate(event) {
542
- event.canIntercept && "react-transition" === event.info && event.intercept({
458
+ event.canIntercept && event.info === "react-transition" && event.intercept({
543
459
  handler: function() {
544
460
  return new Promise(function(resolve) {
545
461
  return pendingResolve = resolve;
@@ -550,31 +466,22 @@
550
466
  });
551
467
  }
552
468
  function handleNavigateComplete() {
553
- null !== pendingResolve && (pendingResolve(), pendingResolve = null);
554
- isCancelled || setTimeout(startFakeNavigation, 20);
469
+ pendingResolve !== null && (pendingResolve(), pendingResolve = null), isCancelled || setTimeout(startFakeNavigation, 20);
555
470
  }
556
471
  function startFakeNavigation() {
557
472
  if (!isCancelled && !navigation.transition) {
558
473
  var currentEntry = navigation.currentEntry;
559
- currentEntry && null != currentEntry.url && navigation.navigate(currentEntry.url, {
474
+ currentEntry && currentEntry.url != null && navigation.navigate(currentEntry.url, {
560
475
  state: currentEntry.getState(),
561
476
  info: "react-transition",
562
477
  history: "replace"
563
478
  });
564
479
  }
565
480
  }
566
- if ("object" === typeof navigation) {
567
- var isCancelled = false, pendingResolve = null;
568
- navigation.addEventListener("navigate", handleNavigate);
569
- navigation.addEventListener("navigatesuccess", handleNavigateComplete);
570
- navigation.addEventListener("navigateerror", handleNavigateComplete);
571
- setTimeout(startFakeNavigation, 100);
572
- return function() {
573
- isCancelled = true;
574
- navigation.removeEventListener("navigate", handleNavigate);
575
- navigation.removeEventListener("navigatesuccess", handleNavigateComplete);
576
- navigation.removeEventListener("navigateerror", handleNavigateComplete);
577
- null !== pendingResolve && (pendingResolve(), pendingResolve = null);
481
+ if (typeof navigation == "object") {
482
+ var isCancelled = !1, pendingResolve = null;
483
+ return navigation.addEventListener("navigate", handleNavigate), navigation.addEventListener("navigatesuccess", handleNavigateComplete), navigation.addEventListener("navigateerror", handleNavigateComplete), setTimeout(startFakeNavigation, 100), function() {
484
+ isCancelled = !0, navigation.removeEventListener("navigate", handleNavigate), navigation.removeEventListener("navigatesuccess", handleNavigateComplete), navigation.removeEventListener("navigateerror", handleNavigateComplete), pendingResolve !== null && (pendingResolve(), pendingResolve = null);
578
485
  };
579
486
  }
580
487
  }
@@ -583,18 +490,16 @@
583
490
  }
584
491
  ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function(children) {
585
492
  var root2 = this._internalRoot;
586
- if (null === root2) throw Error(formatProdErrorMessage(409));
493
+ if (root2 === null) throw Error(formatProdErrorMessage(409));
587
494
  var current = root2.current, lane = requestUpdateLane();
588
495
  updateContainerImpl(current, lane, children, root2, null, null);
589
496
  };
590
497
  ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function() {
591
498
  var root2 = this._internalRoot;
592
- if (null !== root2) {
499
+ if (root2 !== null) {
593
500
  this._internalRoot = null;
594
501
  var container = root2.containerInfo;
595
- updateContainerImpl(root2.current, 2, null, root2, null, null);
596
- flushSyncWork$1();
597
- container[internalContainerInstanceKey] = null;
502
+ updateContainerImpl(root2.current, 2, null, root2, null, null), flushSyncWork$1(), container[internalContainerInstanceKey] = null;
598
503
  }
599
504
  };
600
505
  function ReactDOMHydrationRoot(internalRoot) {
@@ -604,13 +509,12 @@
604
509
  if (target) {
605
510
  var updatePriority = resolveUpdatePriority();
606
511
  target = { blockedOn: null, target, priority: updatePriority };
607
- for (var i = 0; i < queuedExplicitHydrationTargets.length && 0 !== updatePriority && updatePriority < queuedExplicitHydrationTargets[i].priority; i++) ;
608
- queuedExplicitHydrationTargets.splice(i, 0, target);
609
- 0 === i && attemptExplicitHydrationTarget(target);
512
+ for (var i = 0; i < queuedExplicitHydrationTargets.length && updatePriority !== 0 && updatePriority < queuedExplicitHydrationTargets[i].priority; i++) ;
513
+ queuedExplicitHydrationTargets.splice(i, 0, target), i === 0 && attemptExplicitHydrationTarget(target);
610
514
  }
611
515
  };
612
516
  var isomorphicReactPackageVersion$jscomp$inline_2043 = React36.version;
613
- if ("19.3.0" !== isomorphicReactPackageVersion$jscomp$inline_2043)
517
+ if (isomorphicReactPackageVersion$jscomp$inline_2043 !== "19.3.0")
614
518
  throw Error(
615
519
  formatProdErrorMessage(
616
520
  527,
@@ -620,16 +524,9 @@
620
524
  );
621
525
  ReactDOMSharedInternals.findDOMNode = function(componentOrElement) {
622
526
  var fiber = componentOrElement._reactInternals;
623
- if (void 0 === fiber) {
624
- if ("function" === typeof componentOrElement.render)
625
- throw Error(formatProdErrorMessage(188));
626
- componentOrElement = Object.keys(componentOrElement).join(",");
627
- throw Error(formatProdErrorMessage(268, componentOrElement));
628
- }
629
- componentOrElement = findCurrentFiberUsingSlowPath(fiber);
630
- componentOrElement = null !== componentOrElement ? findCurrentHostFiberImpl(componentOrElement) : null;
631
- componentOrElement = null === componentOrElement ? null : componentOrElement.stateNode;
632
- return componentOrElement;
527
+ if (fiber === void 0)
528
+ throw typeof componentOrElement.render == "function" ? Error(formatProdErrorMessage(188)) : (componentOrElement = Object.keys(componentOrElement).join(","), Error(formatProdErrorMessage(268, componentOrElement)));
529
+ return componentOrElement = findCurrentFiberUsingSlowPath(fiber), componentOrElement = componentOrElement !== null ? findCurrentHostFiberImpl(componentOrElement) : null, componentOrElement = componentOrElement === null ? null : componentOrElement.stateNode, componentOrElement;
633
530
  };
634
531
  var internals$jscomp$inline_2586 = {
635
532
  bundleType: 0,
@@ -638,25 +535,21 @@
638
535
  currentDispatcherRef: ReactSharedInternals,
639
536
  reconcilerVersion: "19.3.0"
640
537
  };
641
- if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
642
- hook$jscomp$inline_2587 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
643
- if (!hook$jscomp$inline_2587.isDisabled && hook$jscomp$inline_2587.supportsFiber)
644
- try {
645
- rendererID = hook$jscomp$inline_2587.inject(
646
- internals$jscomp$inline_2586
647
- ), injectedHook = hook$jscomp$inline_2587;
648
- } catch (err) {
649
- }
650
- }
538
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && (hook$jscomp$inline_2587 = __REACT_DEVTOOLS_GLOBAL_HOOK__, !hook$jscomp$inline_2587.isDisabled && hook$jscomp$inline_2587.supportsFiber))
539
+ try {
540
+ rendererID = hook$jscomp$inline_2587.inject(
541
+ internals$jscomp$inline_2586
542
+ ), injectedHook = hook$jscomp$inline_2587;
543
+ } catch {
544
+ }
651
545
  var hook$jscomp$inline_2587;
652
546
  exports.createRoot = function(container, options3) {
653
547
  if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
654
- var isStrictMode = false, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError;
655
- null !== options3 && void 0 !== options3 && (true === options3.unstable_strictMode && (isStrictMode = true), void 0 !== options3.identifierPrefix && (identifierPrefix = options3.identifierPrefix), void 0 !== options3.onUncaughtError && (onUncaughtError = options3.onUncaughtError), void 0 !== options3.onCaughtError && (onCaughtError = options3.onCaughtError), void 0 !== options3.onRecoverableError && (onRecoverableError = options3.onRecoverableError));
656
- options3 = createFiberRoot(
548
+ var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError;
549
+ return options3 != null && (options3.unstable_strictMode === !0 && (isStrictMode = !0), options3.identifierPrefix !== void 0 && (identifierPrefix = options3.identifierPrefix), options3.onUncaughtError !== void 0 && (onUncaughtError = options3.onUncaughtError), options3.onCaughtError !== void 0 && (onCaughtError = options3.onCaughtError), options3.onRecoverableError !== void 0 && (onRecoverableError = options3.onRecoverableError)), options3 = createFiberRoot(
657
550
  container,
658
551
  1,
659
- false,
552
+ !1,
660
553
  null,
661
554
  null,
662
555
  isStrictMode,
@@ -666,21 +559,17 @@
666
559
  onCaughtError,
667
560
  onRecoverableError,
668
561
  defaultOnDefaultTransitionIndicator
669
- );
670
- container[internalContainerInstanceKey] = options3.current;
671
- listenToAllSupportedEvents(container);
672
- return new ReactDOMRoot(options3);
562
+ ), container[internalContainerInstanceKey] = options3.current, listenToAllSupportedEvents(container), new ReactDOMRoot(options3);
673
563
  };
674
564
  exports.hydrateRoot = function(container, initialChildren, options3) {
675
565
  if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
676
- var isStrictMode = false, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, formState = null;
677
- null !== options3 && void 0 !== options3 && (true === options3.unstable_strictMode && (isStrictMode = true), void 0 !== options3.identifierPrefix && (identifierPrefix = options3.identifierPrefix), void 0 !== options3.onUncaughtError && (onUncaughtError = options3.onUncaughtError), void 0 !== options3.onCaughtError && (onCaughtError = options3.onCaughtError), void 0 !== options3.onRecoverableError && (onRecoverableError = options3.onRecoverableError), void 0 !== options3.formState && (formState = options3.formState));
678
- initialChildren = createFiberRoot(
566
+ var isStrictMode = !1, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, formState = null;
567
+ return options3 != null && (options3.unstable_strictMode === !0 && (isStrictMode = !0), options3.identifierPrefix !== void 0 && (identifierPrefix = options3.identifierPrefix), options3.onUncaughtError !== void 0 && (onUncaughtError = options3.onUncaughtError), options3.onCaughtError !== void 0 && (onCaughtError = options3.onCaughtError), options3.onRecoverableError !== void 0 && (onRecoverableError = options3.onRecoverableError), options3.formState !== void 0 && (formState = options3.formState)), initialChildren = createFiberRoot(
679
568
  container,
680
569
  1,
681
- true,
570
+ !0,
682
571
  initialChildren,
683
- null != options3 ? options3 : null,
572
+ options3 ?? null,
684
573
  isStrictMode,
685
574
  identifierPrefix,
686
575
  formState,
@@ -688,20 +577,6 @@
688
577
  onCaughtError,
689
578
  onRecoverableError,
690
579
  defaultOnDefaultTransitionIndicator
691
- );
692
- initialChildren.context = getContextForSubtree(null);
693
- options3 = initialChildren.current;
694
- isStrictMode = requestUpdateLane();
695
- isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
696
- identifierPrefix = createUpdate(isStrictMode);
697
- identifierPrefix.callback = null;
698
- enqueueUpdate(options3, identifierPrefix, isStrictMode);
699
- options3 = isStrictMode;
700
- initialChildren.current.lanes = options3;
701
- markRootUpdated$1(initialChildren, options3);
702
- ensureRootIsScheduled(initialChildren);
703
- container[internalContainerInstanceKey] = initialChildren.current;
704
- listenToAllSupportedEvents(container);
705
- return new ReactDOMHydrationRoot(initialChildren);
580
+ ), initialChildren.context = getContextForSubtree(null), options3 = initialChildren.current, isStrictMode = requestUpdateLane(), isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode), identifierPrefix = createUpdate(isStrictMode), identifierPrefix.callback = null, enqueueUpdate(options3, identifierPrefix, isStrictMode), options3 = isStrictMode, initialChildren.current.lanes = options3, markRootUpdated$1(initialChildren, options3), ensureRootIsScheduled(initialChildren), container[internalContainerInstanceKey] = initialChildren.current, listenToAllSupportedEvents(container), new ReactDOMHydrationRoot(initialChildren);
706
581
  };
707
582
  exports.version = "19.3.0";