openplanr 2.2640.8 → 2.2641.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.
- package/CHANGELOG.md +14 -0
- package/dist/dashboard/.vite/manifest.json +1 -1
- package/dist/dashboard/assets/{index-COZ36pFn.js → index-D7R6tnlX.js} +2 -2
- package/dist/dashboard/assets/{index-COZ36pFn.js.map → index-D7R6tnlX.js.map} +1 -1
- package/dist/dashboard/dashboard-manifest.json +8 -8
- package/dist/dashboard/index.html +1 -1
- package/lib/host-packages/adapter-registry.json +5 -5
- package/lib/host-packages/capability-map.json +1 -1
- package/lib/host-packages/claude/.claude-plugin/marketplace.json +2 -2
- package/lib/host-packages/claude/openplanr/.claude-plugin/plugin.json +1 -1
- package/lib/host-packages/claude/openplanr/.openplanr-content.json +167 -35
- package/lib/host-packages/claude/openplanr/README.md +22 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +3 -11
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +555 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/{design-pako-esm.mjs → design-compression.mjs} +2 -1521
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +133 -12
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +647 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-entities.mjs +17 -67
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +14 -16
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/{design-planr-home.mjs → design-loopback-server.mjs} +15 -36
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-owner-custody.mjs +121 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-resource-pack.mjs +698 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +798 -796
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-home.mjs +39 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-runtime-support-5cb7531bede8.mjs +24 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +138 -765
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/{design-escape.mjs → design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs} +158 -156
- package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-artifact-sources.mjs → claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs} +1 -1
- package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-bounded-json-data.mjs → claude/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs} +241 -454
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +222 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-upload-spool.mjs +198 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +12 -5
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +18 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +809 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +5193 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +4175 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +65 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +1755 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +62 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +2600 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +123 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +3 -3
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +34 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +992 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +2513 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +1919 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +1759 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +1551 -0
- 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 +1121 -0
- 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 +2183 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +705 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +27 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +13 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +3561 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +184 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +5045 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +1698 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-studio-shell.js +455 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +1844 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +257 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +1 -1
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +4966 -0
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +240 -5192
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +1 -1
- package/lib/host-packages/claude/openplanr/skills/delegate/scripts/backend-diagnostics.mjs +6 -2
- package/lib/host-packages/cursor/openplanr/.openplanr-content.json +166 -34
- package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-delegate/scripts/backend-diagnostics.mjs +6 -2
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +3 -11
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +555 -0
- package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-pako-esm.mjs → cursor/openplanr/runtime/design/scripts/design-compression.mjs} +2 -1521
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +133 -12
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +647 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-entities.mjs +17 -67
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +14 -16
- package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-planr-home.mjs → cursor/openplanr/runtime/design/scripts/design-loopback-server.mjs} +15 -36
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-owner-custody.mjs +121 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-resource-pack.mjs +698 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +798 -796
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-home.mjs +39 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-runtime-support-5cb7531bede8.mjs +24 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +138 -765
- package/lib/host-packages/{openai/openplanr/runtime/design/scripts/design-escape.mjs → cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs} +158 -156
- package/lib/host-packages/{claude/openplanr/runtime/design/scripts/design-artifact-sources.mjs → cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs} +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/{design-bounded-json-data.mjs → design-shared-protocol-contracts-31a760fc.mjs} +241 -454
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +222 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-upload-spool.mjs +198 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +12 -5
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +18 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +809 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +5193 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +4175 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +65 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +1755 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +62 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +2600 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +123 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +3 -3
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +34 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +992 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +2513 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +1919 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +1759 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +1551 -0
- 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 +1121 -0
- 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 +2183 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +705 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +27 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +13 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +3561 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +184 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +5045 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +1698 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-studio-shell.js +455 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +1844 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +257 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +4966 -0
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +240 -5192
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +1 -1
- package/lib/host-packages/openai/.claude-plugin/marketplace.json +2 -2
- package/lib/host-packages/openai/openplanr/.codex-plugin/plugin.json +1 -1
- package/lib/host-packages/openai/openplanr/.openplanr-content.json +166 -34
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +3 -11
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +555 -0
- package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-pako-esm.mjs → openai/openplanr/runtime/design/scripts/design-compression.mjs} +2 -1521
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +133 -12
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-encrypted-workspace-client.mjs +647 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-entities.mjs +17 -67
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +14 -16
- package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-planr-home.mjs → openai/openplanr/runtime/design/scripts/design-loopback-server.mjs} +15 -36
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-owner-custody.mjs +121 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-resource-pack.mjs +698 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +798 -796
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-home.mjs +39 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-runtime-support-5cb7531bede8.mjs +24 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +138 -765
- package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-escape.mjs → openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs} +158 -156
- package/lib/host-packages/{cursor/openplanr/runtime/design/scripts/design-artifact-sources.mjs → openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs} +1 -1
- package/lib/host-packages/{claude/openplanr/runtime/design/scripts/design-bounded-json-data.mjs → openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-31a760fc.mjs} +241 -454
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-protocol-contracts-75a938cc.mjs +222 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-upload-spool.mjs +198 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +12 -5
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/lib/artifact/ui/studio-shell.css +1 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/01-module-runtime.js +18 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/02-artifact-review-ui.js +809 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +5193 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/04-compression.js +4175 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/05-artifact-sharing.js +65 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/06-artifact-review-ui.js +1755 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/07-artifact-sharing.js +62 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/08-artifact-review-ui.js +2600 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +123 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +3 -3
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +3 -3
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +34 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +992 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +2513 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/04-react-dom-client-reconciliation-hooks.js +1919 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/05-react-dom-client-render-phases.js +1759 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/06-react-dom-client-commit-effects.js +1551 -0
- 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 +1121 -0
- 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 +2183 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/09-react-dom-client-public-roots.js +705 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +27 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +13 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +3561 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +184 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +5045 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +1698 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-studio-shell.js +455 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +1844 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +257 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +1 -1
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +4966 -0
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +240 -5192
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +1 -1
- package/lib/host-packages/openai/openplanr/skills/delegate/scripts/backend-diagnostics.mjs +6 -2
- package/package.json +2 -2
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-generated-b0798298053515fd.mjs +0 -18
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js +0 -5
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js +0 -25597
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-generated-b0798298053515fd.mjs +0 -18
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js +0 -5
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js +0 -25597
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-generated-b0798298053515fd.mjs +0 -18
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js +0 -5
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js +0 -25597
|
@@ -0,0 +1,705 @@
|
|
|
1
|
+
|
|
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.incompleteTransitions = /* @__PURE__ */ new Map();
|
|
21
|
+
}
|
|
22
|
+
function createFiberRoot(containerInfo, tag, hydrate, initialChildren, hydrationCallbacks, isStrictMode, identifierPrefix, formState, onUncaughtError, onCaughtError, onRecoverableError, onDefaultTransitionIndicator) {
|
|
23
|
+
containerInfo = new FiberRootNode(
|
|
24
|
+
containerInfo,
|
|
25
|
+
tag,
|
|
26
|
+
hydrate,
|
|
27
|
+
identifierPrefix,
|
|
28
|
+
onUncaughtError,
|
|
29
|
+
onCaughtError,
|
|
30
|
+
onRecoverableError,
|
|
31
|
+
onDefaultTransitionIndicator,
|
|
32
|
+
formState
|
|
33
|
+
);
|
|
34
|
+
tag = 1;
|
|
35
|
+
true === isStrictMode && (tag |= 24);
|
|
36
|
+
isStrictMode = createFiberImplClass(3, null, null, tag);
|
|
37
|
+
containerInfo.current = isStrictMode;
|
|
38
|
+
isStrictMode.stateNode = containerInfo;
|
|
39
|
+
tag = createCache();
|
|
40
|
+
tag.refCount++;
|
|
41
|
+
containerInfo.pooledCache = tag;
|
|
42
|
+
tag.refCount++;
|
|
43
|
+
isStrictMode.memoizedState = {
|
|
44
|
+
element: initialChildren,
|
|
45
|
+
isDehydrated: hydrate,
|
|
46
|
+
cache: tag
|
|
47
|
+
};
|
|
48
|
+
initializeUpdateQueue(isStrictMode);
|
|
49
|
+
return containerInfo;
|
|
50
|
+
}
|
|
51
|
+
function getContextForSubtree(parentComponent) {
|
|
52
|
+
if (!parentComponent) return emptyContextObject;
|
|
53
|
+
parentComponent = emptyContextObject;
|
|
54
|
+
return parentComponent;
|
|
55
|
+
}
|
|
56
|
+
function updateContainerImpl(rootFiber, lane, element, container, parentComponent, callback) {
|
|
57
|
+
parentComponent = getContextForSubtree(parentComponent);
|
|
58
|
+
null === container.context ? container.context = parentComponent : container.pendingContext = parentComponent;
|
|
59
|
+
container = createUpdate(lane);
|
|
60
|
+
container.payload = { element };
|
|
61
|
+
callback = void 0 === callback ? null : callback;
|
|
62
|
+
null !== callback && (container.callback = callback);
|
|
63
|
+
element = enqueueUpdate(rootFiber, container, lane);
|
|
64
|
+
null !== element && (scheduleUpdateOnFiber(element, rootFiber, lane), entangleTransitions(element, rootFiber, lane));
|
|
65
|
+
}
|
|
66
|
+
function markRetryLaneImpl(fiber, retryLane) {
|
|
67
|
+
fiber = fiber.memoizedState;
|
|
68
|
+
if (null !== fiber && null !== fiber.dehydrated) {
|
|
69
|
+
var a = fiber.retryLane;
|
|
70
|
+
fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
function markRetryLaneIfNotHydrated(fiber, retryLane) {
|
|
74
|
+
markRetryLaneImpl(fiber, retryLane);
|
|
75
|
+
(fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);
|
|
76
|
+
}
|
|
77
|
+
function attemptContinuousHydration(fiber) {
|
|
78
|
+
if (13 === fiber.tag || 31 === fiber.tag) {
|
|
79
|
+
var root2 = enqueueConcurrentRenderForLane(fiber, 67108864);
|
|
80
|
+
null !== root2 && scheduleUpdateOnFiber(root2, fiber, 67108864);
|
|
81
|
+
markRetryLaneIfNotHydrated(fiber, 67108864);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function attemptHydrationAtCurrentPriority(fiber) {
|
|
85
|
+
if (13 === fiber.tag || 31 === fiber.tag) {
|
|
86
|
+
var lane = requestUpdateLane();
|
|
87
|
+
lane = getBumpedLaneForHydrationByLane(lane);
|
|
88
|
+
var root2 = enqueueConcurrentRenderForLane(fiber, lane);
|
|
89
|
+
null !== root2 && scheduleUpdateOnFiber(root2, fiber, lane);
|
|
90
|
+
markRetryLaneIfNotHydrated(fiber, lane);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
var _enabled = true;
|
|
94
|
+
function dispatchDiscreteEvent(domEventName, eventSystemFlags, container, nativeEvent) {
|
|
95
|
+
var prevTransition = ReactSharedInternals.T;
|
|
96
|
+
ReactSharedInternals.T = null;
|
|
97
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
98
|
+
try {
|
|
99
|
+
ReactDOMSharedInternals.p = 2, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
|
|
100
|
+
} finally {
|
|
101
|
+
ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function dispatchContinuousEvent(domEventName, eventSystemFlags, container, nativeEvent) {
|
|
105
|
+
var prevTransition = ReactSharedInternals.T;
|
|
106
|
+
ReactSharedInternals.T = null;
|
|
107
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
|
108
|
+
try {
|
|
109
|
+
ReactDOMSharedInternals.p = 8, dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);
|
|
110
|
+
} finally {
|
|
111
|
+
ReactDOMSharedInternals.p = previousPriority, ReactSharedInternals.T = prevTransition;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function dispatchEvent(domEventName, eventSystemFlags, targetContainer, nativeEvent) {
|
|
115
|
+
if (_enabled) {
|
|
116
|
+
var blockedOn = findInstanceBlockingEvent(nativeEvent);
|
|
117
|
+
if (null === blockedOn)
|
|
118
|
+
dispatchEventForPluginEventSystem(
|
|
119
|
+
domEventName,
|
|
120
|
+
eventSystemFlags,
|
|
121
|
+
nativeEvent,
|
|
122
|
+
return_targetInst,
|
|
123
|
+
targetContainer
|
|
124
|
+
), clearIfContinuousEvent(domEventName, nativeEvent);
|
|
125
|
+
else if (queueIfContinuousEvent(
|
|
126
|
+
blockedOn,
|
|
127
|
+
domEventName,
|
|
128
|
+
eventSystemFlags,
|
|
129
|
+
targetContainer,
|
|
130
|
+
nativeEvent
|
|
131
|
+
))
|
|
132
|
+
nativeEvent.stopPropagation();
|
|
133
|
+
else if (clearIfContinuousEvent(domEventName, nativeEvent), eventSystemFlags & 4 && -1 < discreteReplayableEvents.indexOf(domEventName)) {
|
|
134
|
+
for (; null !== blockedOn; ) {
|
|
135
|
+
var fiber = getInstanceFromNode(blockedOn);
|
|
136
|
+
if (null !== fiber)
|
|
137
|
+
switch (fiber.tag) {
|
|
138
|
+
case 3:
|
|
139
|
+
fiber = fiber.stateNode;
|
|
140
|
+
if (fiber.current.memoizedState.isDehydrated) {
|
|
141
|
+
var lanes = getHighestPriorityLanes(fiber.pendingLanes);
|
|
142
|
+
if (0 !== lanes) {
|
|
143
|
+
var root2 = fiber;
|
|
144
|
+
root2.pendingLanes |= 2;
|
|
145
|
+
for (root2.entangledLanes |= 2; lanes; ) {
|
|
146
|
+
var lane = 1 << 31 - clz32(lanes);
|
|
147
|
+
root2.entanglements[1] |= lane;
|
|
148
|
+
lanes &= ~lane;
|
|
149
|
+
}
|
|
150
|
+
ensureRootIsScheduled(fiber);
|
|
151
|
+
0 === (executionContext & 6) && (workInProgressRootRenderTargetTime = now() + 500, flushSyncWorkAcrossRoots_impl(0, false));
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
break;
|
|
155
|
+
case 31:
|
|
156
|
+
case 13:
|
|
157
|
+
root2 = enqueueConcurrentRenderForLane(fiber, 2), null !== root2 && scheduleUpdateOnFiber(root2, fiber, 2), flushSyncWork$1(), markRetryLaneIfNotHydrated(fiber, 2);
|
|
158
|
+
}
|
|
159
|
+
fiber = findInstanceBlockingEvent(nativeEvent);
|
|
160
|
+
null === fiber && dispatchEventForPluginEventSystem(
|
|
161
|
+
domEventName,
|
|
162
|
+
eventSystemFlags,
|
|
163
|
+
nativeEvent,
|
|
164
|
+
return_targetInst,
|
|
165
|
+
targetContainer
|
|
166
|
+
);
|
|
167
|
+
if (fiber === blockedOn) break;
|
|
168
|
+
blockedOn = fiber;
|
|
169
|
+
}
|
|
170
|
+
null !== blockedOn && nativeEvent.stopPropagation();
|
|
171
|
+
} else
|
|
172
|
+
dispatchEventForPluginEventSystem(
|
|
173
|
+
domEventName,
|
|
174
|
+
eventSystemFlags,
|
|
175
|
+
nativeEvent,
|
|
176
|
+
null,
|
|
177
|
+
targetContainer
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function findInstanceBlockingEvent(nativeEvent) {
|
|
182
|
+
nativeEvent = getEventTarget(nativeEvent);
|
|
183
|
+
return findInstanceBlockingTarget(nativeEvent);
|
|
184
|
+
}
|
|
185
|
+
var return_targetInst = null;
|
|
186
|
+
function findInstanceBlockingTarget(targetNode) {
|
|
187
|
+
return_targetInst = null;
|
|
188
|
+
targetNode = getClosestInstanceFromNode(targetNode);
|
|
189
|
+
if (null !== targetNode) {
|
|
190
|
+
var nearestMounted = getNearestMountedFiber(targetNode);
|
|
191
|
+
if (null === nearestMounted) targetNode = null;
|
|
192
|
+
else {
|
|
193
|
+
var tag = nearestMounted.tag;
|
|
194
|
+
if (13 === tag) {
|
|
195
|
+
targetNode = getSuspenseInstanceFromFiber(nearestMounted);
|
|
196
|
+
if (null !== targetNode) return targetNode;
|
|
197
|
+
targetNode = null;
|
|
198
|
+
} else if (31 === tag) {
|
|
199
|
+
targetNode = getActivityInstanceFromFiber(nearestMounted);
|
|
200
|
+
if (null !== targetNode) return targetNode;
|
|
201
|
+
targetNode = null;
|
|
202
|
+
} else if (3 === tag) {
|
|
203
|
+
if (nearestMounted.stateNode.current.memoizedState.isDehydrated)
|
|
204
|
+
return 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null;
|
|
205
|
+
targetNode = null;
|
|
206
|
+
} else nearestMounted !== targetNode && (targetNode = null);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return_targetInst = targetNode;
|
|
210
|
+
return null;
|
|
211
|
+
}
|
|
212
|
+
function getEventPriority(domEventName) {
|
|
213
|
+
switch (domEventName) {
|
|
214
|
+
case "beforetoggle":
|
|
215
|
+
case "cancel":
|
|
216
|
+
case "click":
|
|
217
|
+
case "close":
|
|
218
|
+
case "contextmenu":
|
|
219
|
+
case "copy":
|
|
220
|
+
case "cut":
|
|
221
|
+
case "auxclick":
|
|
222
|
+
case "dblclick":
|
|
223
|
+
case "dragend":
|
|
224
|
+
case "dragstart":
|
|
225
|
+
case "drop":
|
|
226
|
+
case "focusin":
|
|
227
|
+
case "focusout":
|
|
228
|
+
case "input":
|
|
229
|
+
case "invalid":
|
|
230
|
+
case "keydown":
|
|
231
|
+
case "keypress":
|
|
232
|
+
case "keyup":
|
|
233
|
+
case "mousedown":
|
|
234
|
+
case "mouseup":
|
|
235
|
+
case "paste":
|
|
236
|
+
case "pause":
|
|
237
|
+
case "play":
|
|
238
|
+
case "pointercancel":
|
|
239
|
+
case "pointerdown":
|
|
240
|
+
case "pointerup":
|
|
241
|
+
case "ratechange":
|
|
242
|
+
case "reset":
|
|
243
|
+
case "resize":
|
|
244
|
+
case "seeked":
|
|
245
|
+
case "submit":
|
|
246
|
+
case "toggle":
|
|
247
|
+
case "touchcancel":
|
|
248
|
+
case "touchend":
|
|
249
|
+
case "touchstart":
|
|
250
|
+
case "volumechange":
|
|
251
|
+
case "change":
|
|
252
|
+
case "selectionchange":
|
|
253
|
+
case "textInput":
|
|
254
|
+
case "compositionstart":
|
|
255
|
+
case "compositionend":
|
|
256
|
+
case "compositionupdate":
|
|
257
|
+
case "beforeblur":
|
|
258
|
+
case "afterblur":
|
|
259
|
+
case "beforeinput":
|
|
260
|
+
case "blur":
|
|
261
|
+
case "fullscreenchange":
|
|
262
|
+
case "focus":
|
|
263
|
+
case "hashchange":
|
|
264
|
+
case "popstate":
|
|
265
|
+
case "select":
|
|
266
|
+
case "selectstart":
|
|
267
|
+
return 2;
|
|
268
|
+
case "drag":
|
|
269
|
+
case "dragenter":
|
|
270
|
+
case "dragexit":
|
|
271
|
+
case "dragleave":
|
|
272
|
+
case "dragover":
|
|
273
|
+
case "mousemove":
|
|
274
|
+
case "mouseout":
|
|
275
|
+
case "mouseover":
|
|
276
|
+
case "pointermove":
|
|
277
|
+
case "pointerout":
|
|
278
|
+
case "pointerover":
|
|
279
|
+
case "scroll":
|
|
280
|
+
case "touchmove":
|
|
281
|
+
case "wheel":
|
|
282
|
+
case "mouseenter":
|
|
283
|
+
case "mouseleave":
|
|
284
|
+
case "pointerenter":
|
|
285
|
+
case "pointerleave":
|
|
286
|
+
return 8;
|
|
287
|
+
case "message":
|
|
288
|
+
switch (getCurrentPriorityLevel()) {
|
|
289
|
+
case ImmediatePriority:
|
|
290
|
+
return 2;
|
|
291
|
+
case UserBlockingPriority:
|
|
292
|
+
return 8;
|
|
293
|
+
case NormalPriority$1:
|
|
294
|
+
case LowPriority:
|
|
295
|
+
return 32;
|
|
296
|
+
case IdlePriority:
|
|
297
|
+
return 268435456;
|
|
298
|
+
default:
|
|
299
|
+
return 32;
|
|
300
|
+
}
|
|
301
|
+
default:
|
|
302
|
+
return 32;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
var hasScheduledReplayAttempt = false;
|
|
306
|
+
var queuedFocus = null;
|
|
307
|
+
var queuedDrag = null;
|
|
308
|
+
var queuedMouse = null;
|
|
309
|
+
var queuedPointers = /* @__PURE__ */ new Map();
|
|
310
|
+
var queuedPointerCaptures = /* @__PURE__ */ new Map();
|
|
311
|
+
var queuedExplicitHydrationTargets = [];
|
|
312
|
+
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(
|
|
313
|
+
" "
|
|
314
|
+
);
|
|
315
|
+
function clearIfContinuousEvent(domEventName, nativeEvent) {
|
|
316
|
+
switch (domEventName) {
|
|
317
|
+
case "focusin":
|
|
318
|
+
case "focusout":
|
|
319
|
+
queuedFocus = null;
|
|
320
|
+
break;
|
|
321
|
+
case "dragenter":
|
|
322
|
+
case "dragleave":
|
|
323
|
+
queuedDrag = null;
|
|
324
|
+
break;
|
|
325
|
+
case "mouseover":
|
|
326
|
+
case "mouseout":
|
|
327
|
+
queuedMouse = null;
|
|
328
|
+
break;
|
|
329
|
+
case "pointerover":
|
|
330
|
+
case "pointerout":
|
|
331
|
+
queuedPointers.delete(nativeEvent.pointerId);
|
|
332
|
+
break;
|
|
333
|
+
case "gotpointercapture":
|
|
334
|
+
case "lostpointercapture":
|
|
335
|
+
queuedPointerCaptures.delete(nativeEvent.pointerId);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
function accumulateOrCreateContinuousQueuedReplayableEvent(existingQueuedEvent, blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
|
|
339
|
+
if (null === existingQueuedEvent || existingQueuedEvent.nativeEvent !== nativeEvent)
|
|
340
|
+
return existingQueuedEvent = {
|
|
341
|
+
blockedOn,
|
|
342
|
+
domEventName,
|
|
343
|
+
eventSystemFlags,
|
|
344
|
+
nativeEvent,
|
|
345
|
+
targetContainers: [targetContainer]
|
|
346
|
+
}, null !== blockedOn && (blockedOn = getInstanceFromNode(blockedOn), null !== blockedOn && attemptContinuousHydration(blockedOn)), existingQueuedEvent;
|
|
347
|
+
existingQueuedEvent.eventSystemFlags |= eventSystemFlags;
|
|
348
|
+
blockedOn = existingQueuedEvent.targetContainers;
|
|
349
|
+
null !== targetContainer && -1 === blockedOn.indexOf(targetContainer) && blockedOn.push(targetContainer);
|
|
350
|
+
return existingQueuedEvent;
|
|
351
|
+
}
|
|
352
|
+
function queueIfContinuousEvent(blockedOn, domEventName, eventSystemFlags, targetContainer, nativeEvent) {
|
|
353
|
+
switch (domEventName) {
|
|
354
|
+
case "focusin":
|
|
355
|
+
return queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(
|
|
356
|
+
queuedFocus,
|
|
357
|
+
blockedOn,
|
|
358
|
+
domEventName,
|
|
359
|
+
eventSystemFlags,
|
|
360
|
+
targetContainer,
|
|
361
|
+
nativeEvent
|
|
362
|
+
), true;
|
|
363
|
+
case "dragenter":
|
|
364
|
+
return queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(
|
|
365
|
+
queuedDrag,
|
|
366
|
+
blockedOn,
|
|
367
|
+
domEventName,
|
|
368
|
+
eventSystemFlags,
|
|
369
|
+
targetContainer,
|
|
370
|
+
nativeEvent
|
|
371
|
+
), true;
|
|
372
|
+
case "mouseover":
|
|
373
|
+
return queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(
|
|
374
|
+
queuedMouse,
|
|
375
|
+
blockedOn,
|
|
376
|
+
domEventName,
|
|
377
|
+
eventSystemFlags,
|
|
378
|
+
targetContainer,
|
|
379
|
+
nativeEvent
|
|
380
|
+
), true;
|
|
381
|
+
case "pointerover":
|
|
382
|
+
var pointerId = nativeEvent.pointerId;
|
|
383
|
+
queuedPointers.set(
|
|
384
|
+
pointerId,
|
|
385
|
+
accumulateOrCreateContinuousQueuedReplayableEvent(
|
|
386
|
+
queuedPointers.get(pointerId) || null,
|
|
387
|
+
blockedOn,
|
|
388
|
+
domEventName,
|
|
389
|
+
eventSystemFlags,
|
|
390
|
+
targetContainer,
|
|
391
|
+
nativeEvent
|
|
392
|
+
)
|
|
393
|
+
);
|
|
394
|
+
return true;
|
|
395
|
+
case "gotpointercapture":
|
|
396
|
+
return pointerId = nativeEvent.pointerId, queuedPointerCaptures.set(
|
|
397
|
+
pointerId,
|
|
398
|
+
accumulateOrCreateContinuousQueuedReplayableEvent(
|
|
399
|
+
queuedPointerCaptures.get(pointerId) || null,
|
|
400
|
+
blockedOn,
|
|
401
|
+
domEventName,
|
|
402
|
+
eventSystemFlags,
|
|
403
|
+
targetContainer,
|
|
404
|
+
nativeEvent
|
|
405
|
+
)
|
|
406
|
+
), true;
|
|
407
|
+
}
|
|
408
|
+
return false;
|
|
409
|
+
}
|
|
410
|
+
function attemptExplicitHydrationTarget(queuedTarget) {
|
|
411
|
+
var targetInst = getClosestInstanceFromNode(queuedTarget.target);
|
|
412
|
+
if (null !== targetInst) {
|
|
413
|
+
var nearestMounted = getNearestMountedFiber(targetInst);
|
|
414
|
+
if (null !== nearestMounted) {
|
|
415
|
+
if (targetInst = nearestMounted.tag, 13 === targetInst) {
|
|
416
|
+
if (targetInst = getSuspenseInstanceFromFiber(nearestMounted), null !== targetInst) {
|
|
417
|
+
queuedTarget.blockedOn = targetInst;
|
|
418
|
+
runWithPriority(queuedTarget.priority, function() {
|
|
419
|
+
attemptHydrationAtCurrentPriority(nearestMounted);
|
|
420
|
+
});
|
|
421
|
+
return;
|
|
422
|
+
}
|
|
423
|
+
} else if (31 === targetInst) {
|
|
424
|
+
if (targetInst = getActivityInstanceFromFiber(nearestMounted), null !== targetInst) {
|
|
425
|
+
queuedTarget.blockedOn = targetInst;
|
|
426
|
+
runWithPriority(queuedTarget.priority, function() {
|
|
427
|
+
attemptHydrationAtCurrentPriority(nearestMounted);
|
|
428
|
+
});
|
|
429
|
+
return;
|
|
430
|
+
}
|
|
431
|
+
} else if (3 === targetInst && nearestMounted.stateNode.current.memoizedState.isDehydrated) {
|
|
432
|
+
queuedTarget.blockedOn = 3 === nearestMounted.tag ? nearestMounted.stateNode.containerInfo : null;
|
|
433
|
+
return;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
queuedTarget.blockedOn = null;
|
|
438
|
+
}
|
|
439
|
+
function attemptReplayContinuousQueuedEvent(queuedEvent) {
|
|
440
|
+
if (null !== queuedEvent.blockedOn) return false;
|
|
441
|
+
for (var targetContainers = queuedEvent.targetContainers; 0 < targetContainers.length; ) {
|
|
442
|
+
var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);
|
|
443
|
+
if (null === nextBlockedOn) {
|
|
444
|
+
nextBlockedOn = queuedEvent.nativeEvent;
|
|
445
|
+
var nativeEventClone = new nextBlockedOn.constructor(
|
|
446
|
+
nextBlockedOn.type,
|
|
447
|
+
nextBlockedOn
|
|
448
|
+
);
|
|
449
|
+
currentReplayingEvent = nativeEventClone;
|
|
450
|
+
nextBlockedOn.target.dispatchEvent(nativeEventClone);
|
|
451
|
+
currentReplayingEvent = null;
|
|
452
|
+
} else
|
|
453
|
+
return targetContainers = getInstanceFromNode(nextBlockedOn), null !== targetContainers && attemptContinuousHydration(targetContainers), queuedEvent.blockedOn = nextBlockedOn, false;
|
|
454
|
+
targetContainers.shift();
|
|
455
|
+
}
|
|
456
|
+
return true;
|
|
457
|
+
}
|
|
458
|
+
function attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {
|
|
459
|
+
attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);
|
|
460
|
+
}
|
|
461
|
+
function replayUnblockedEvents() {
|
|
462
|
+
hasScheduledReplayAttempt = false;
|
|
463
|
+
null !== queuedFocus && attemptReplayContinuousQueuedEvent(queuedFocus) && (queuedFocus = null);
|
|
464
|
+
null !== queuedDrag && attemptReplayContinuousQueuedEvent(queuedDrag) && (queuedDrag = null);
|
|
465
|
+
null !== queuedMouse && attemptReplayContinuousQueuedEvent(queuedMouse) && (queuedMouse = null);
|
|
466
|
+
queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);
|
|
467
|
+
queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);
|
|
468
|
+
}
|
|
469
|
+
function scheduleCallbackIfUnblocked(queuedEvent, unblocked) {
|
|
470
|
+
queuedEvent.blockedOn === unblocked && (queuedEvent.blockedOn = null, hasScheduledReplayAttempt || (hasScheduledReplayAttempt = true, Scheduler.unstable_scheduleCallback(
|
|
471
|
+
Scheduler.unstable_NormalPriority,
|
|
472
|
+
replayUnblockedEvents
|
|
473
|
+
)));
|
|
474
|
+
}
|
|
475
|
+
var lastScheduledReplayQueue = null;
|
|
476
|
+
function scheduleReplayQueueIfNeeded(formReplayingQueue) {
|
|
477
|
+
lastScheduledReplayQueue !== formReplayingQueue && (lastScheduledReplayQueue = formReplayingQueue, Scheduler.unstable_scheduleCallback(
|
|
478
|
+
Scheduler.unstable_NormalPriority,
|
|
479
|
+
function() {
|
|
480
|
+
lastScheduledReplayQueue === formReplayingQueue && (lastScheduledReplayQueue = null);
|
|
481
|
+
for (var i = 0; i < formReplayingQueue.length; i += 3) {
|
|
482
|
+
var form = formReplayingQueue[i], submitterOrAction = formReplayingQueue[i + 1], formData = formReplayingQueue[i + 2];
|
|
483
|
+
if ("function" !== typeof submitterOrAction)
|
|
484
|
+
if (null === findInstanceBlockingTarget(submitterOrAction || form))
|
|
485
|
+
continue;
|
|
486
|
+
else break;
|
|
487
|
+
var formInst = getInstanceFromNode(form);
|
|
488
|
+
null !== formInst && (formReplayingQueue.splice(i, 3), i -= 3, startHostTransition(
|
|
489
|
+
formInst,
|
|
490
|
+
{
|
|
491
|
+
pending: true,
|
|
492
|
+
data: formData,
|
|
493
|
+
method: form.method,
|
|
494
|
+
action: submitterOrAction
|
|
495
|
+
},
|
|
496
|
+
submitterOrAction,
|
|
497
|
+
formData
|
|
498
|
+
));
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
));
|
|
502
|
+
}
|
|
503
|
+
function retryIfBlockedOn(unblocked) {
|
|
504
|
+
function unblock(queuedEvent) {
|
|
505
|
+
return scheduleCallbackIfUnblocked(queuedEvent, unblocked);
|
|
506
|
+
}
|
|
507
|
+
null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked);
|
|
508
|
+
null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);
|
|
509
|
+
null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked);
|
|
510
|
+
queuedPointers.forEach(unblock);
|
|
511
|
+
queuedPointerCaptures.forEach(unblock);
|
|
512
|
+
for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {
|
|
513
|
+
var queuedTarget = queuedExplicitHydrationTargets[i];
|
|
514
|
+
queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);
|
|
515
|
+
}
|
|
516
|
+
for (; 0 < queuedExplicitHydrationTargets.length && (i = queuedExplicitHydrationTargets[0], null === i.blockedOn); )
|
|
517
|
+
attemptExplicitHydrationTarget(i), null === i.blockedOn && queuedExplicitHydrationTargets.shift();
|
|
518
|
+
i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;
|
|
519
|
+
if (null != i)
|
|
520
|
+
for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {
|
|
521
|
+
var form = i[queuedTarget], submitterOrAction = i[queuedTarget + 1], formProps = form[internalPropsKey] || null;
|
|
522
|
+
if ("function" === typeof submitterOrAction)
|
|
523
|
+
formProps || scheduleReplayQueueIfNeeded(i);
|
|
524
|
+
else if (formProps) {
|
|
525
|
+
var action = null;
|
|
526
|
+
if (submitterOrAction && submitterOrAction.hasAttribute("formAction"))
|
|
527
|
+
if (form = submitterOrAction, formProps = submitterOrAction[internalPropsKey] || null)
|
|
528
|
+
action = formProps.formAction;
|
|
529
|
+
else {
|
|
530
|
+
if (null !== findInstanceBlockingTarget(form)) continue;
|
|
531
|
+
}
|
|
532
|
+
else action = formProps.action;
|
|
533
|
+
"function" === typeof action ? i[queuedTarget + 1] = action : (i.splice(queuedTarget, 3), queuedTarget -= 3);
|
|
534
|
+
scheduleReplayQueueIfNeeded(i);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
function defaultOnDefaultTransitionIndicator() {
|
|
539
|
+
function handleNavigate(event) {
|
|
540
|
+
event.canIntercept && "react-transition" === event.info && event.intercept({
|
|
541
|
+
handler: function() {
|
|
542
|
+
return new Promise(function(resolve) {
|
|
543
|
+
return pendingResolve = resolve;
|
|
544
|
+
});
|
|
545
|
+
},
|
|
546
|
+
focusReset: "manual",
|
|
547
|
+
scroll: "manual"
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
function handleNavigateComplete() {
|
|
551
|
+
null !== pendingResolve && (pendingResolve(), pendingResolve = null);
|
|
552
|
+
isCancelled || setTimeout(startFakeNavigation, 20);
|
|
553
|
+
}
|
|
554
|
+
function startFakeNavigation() {
|
|
555
|
+
if (!isCancelled && !navigation.transition) {
|
|
556
|
+
var currentEntry = navigation.currentEntry;
|
|
557
|
+
currentEntry && null != currentEntry.url && navigation.navigate(currentEntry.url, {
|
|
558
|
+
state: currentEntry.getState(),
|
|
559
|
+
info: "react-transition",
|
|
560
|
+
history: "replace"
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
if ("object" === typeof navigation) {
|
|
565
|
+
var isCancelled = false, pendingResolve = null;
|
|
566
|
+
navigation.addEventListener("navigate", handleNavigate);
|
|
567
|
+
navigation.addEventListener("navigatesuccess", handleNavigateComplete);
|
|
568
|
+
navigation.addEventListener("navigateerror", handleNavigateComplete);
|
|
569
|
+
setTimeout(startFakeNavigation, 100);
|
|
570
|
+
return function() {
|
|
571
|
+
isCancelled = true;
|
|
572
|
+
navigation.removeEventListener("navigate", handleNavigate);
|
|
573
|
+
navigation.removeEventListener("navigatesuccess", handleNavigateComplete);
|
|
574
|
+
navigation.removeEventListener("navigateerror", handleNavigateComplete);
|
|
575
|
+
null !== pendingResolve && (pendingResolve(), pendingResolve = null);
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
function ReactDOMRoot(internalRoot) {
|
|
580
|
+
this._internalRoot = internalRoot;
|
|
581
|
+
}
|
|
582
|
+
ReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render = function(children) {
|
|
583
|
+
var root2 = this._internalRoot;
|
|
584
|
+
if (null === root2) throw Error(formatProdErrorMessage(409));
|
|
585
|
+
var current = root2.current, lane = requestUpdateLane();
|
|
586
|
+
updateContainerImpl(current, lane, children, root2, null, null);
|
|
587
|
+
};
|
|
588
|
+
ReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount = function() {
|
|
589
|
+
var root2 = this._internalRoot;
|
|
590
|
+
if (null !== root2) {
|
|
591
|
+
this._internalRoot = null;
|
|
592
|
+
var container = root2.containerInfo;
|
|
593
|
+
updateContainerImpl(root2.current, 2, null, root2, null, null);
|
|
594
|
+
flushSyncWork$1();
|
|
595
|
+
container[internalContainerInstanceKey] = null;
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
function ReactDOMHydrationRoot(internalRoot) {
|
|
599
|
+
this._internalRoot = internalRoot;
|
|
600
|
+
}
|
|
601
|
+
ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function(target) {
|
|
602
|
+
if (target) {
|
|
603
|
+
var updatePriority = resolveUpdatePriority();
|
|
604
|
+
target = { blockedOn: null, target, priority: updatePriority };
|
|
605
|
+
for (var i = 0; i < queuedExplicitHydrationTargets.length && 0 !== updatePriority && updatePriority < queuedExplicitHydrationTargets[i].priority; i++) ;
|
|
606
|
+
queuedExplicitHydrationTargets.splice(i, 0, target);
|
|
607
|
+
0 === i && attemptExplicitHydrationTarget(target);
|
|
608
|
+
}
|
|
609
|
+
};
|
|
610
|
+
var isomorphicReactPackageVersion$jscomp$inline_1840 = React36.version;
|
|
611
|
+
if ("19.2.8" !== isomorphicReactPackageVersion$jscomp$inline_1840)
|
|
612
|
+
throw Error(
|
|
613
|
+
formatProdErrorMessage(
|
|
614
|
+
527,
|
|
615
|
+
isomorphicReactPackageVersion$jscomp$inline_1840,
|
|
616
|
+
"19.2.8"
|
|
617
|
+
)
|
|
618
|
+
);
|
|
619
|
+
ReactDOMSharedInternals.findDOMNode = function(componentOrElement) {
|
|
620
|
+
var fiber = componentOrElement._reactInternals;
|
|
621
|
+
if (void 0 === fiber) {
|
|
622
|
+
if ("function" === typeof componentOrElement.render)
|
|
623
|
+
throw Error(formatProdErrorMessage(188));
|
|
624
|
+
componentOrElement = Object.keys(componentOrElement).join(",");
|
|
625
|
+
throw Error(formatProdErrorMessage(268, componentOrElement));
|
|
626
|
+
}
|
|
627
|
+
componentOrElement = findCurrentFiberUsingSlowPath(fiber);
|
|
628
|
+
componentOrElement = null !== componentOrElement ? findCurrentHostFiberImpl(componentOrElement) : null;
|
|
629
|
+
componentOrElement = null === componentOrElement ? null : componentOrElement.stateNode;
|
|
630
|
+
return componentOrElement;
|
|
631
|
+
};
|
|
632
|
+
var internals$jscomp$inline_2347 = {
|
|
633
|
+
bundleType: 0,
|
|
634
|
+
version: "19.2.8",
|
|
635
|
+
rendererPackageName: "react-dom",
|
|
636
|
+
currentDispatcherRef: ReactSharedInternals,
|
|
637
|
+
reconcilerVersion: "19.2.8"
|
|
638
|
+
};
|
|
639
|
+
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
640
|
+
hook$jscomp$inline_2348 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
641
|
+
if (!hook$jscomp$inline_2348.isDisabled && hook$jscomp$inline_2348.supportsFiber)
|
|
642
|
+
try {
|
|
643
|
+
rendererID = hook$jscomp$inline_2348.inject(
|
|
644
|
+
internals$jscomp$inline_2347
|
|
645
|
+
), injectedHook = hook$jscomp$inline_2348;
|
|
646
|
+
} catch (err) {
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
var hook$jscomp$inline_2348;
|
|
650
|
+
exports.createRoot = function(container, options3) {
|
|
651
|
+
if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
|
|
652
|
+
var isStrictMode = false, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError;
|
|
653
|
+
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));
|
|
654
|
+
options3 = createFiberRoot(
|
|
655
|
+
container,
|
|
656
|
+
1,
|
|
657
|
+
false,
|
|
658
|
+
null,
|
|
659
|
+
null,
|
|
660
|
+
isStrictMode,
|
|
661
|
+
identifierPrefix,
|
|
662
|
+
null,
|
|
663
|
+
onUncaughtError,
|
|
664
|
+
onCaughtError,
|
|
665
|
+
onRecoverableError,
|
|
666
|
+
defaultOnDefaultTransitionIndicator
|
|
667
|
+
);
|
|
668
|
+
container[internalContainerInstanceKey] = options3.current;
|
|
669
|
+
listenToAllSupportedEvents(container);
|
|
670
|
+
return new ReactDOMRoot(options3);
|
|
671
|
+
};
|
|
672
|
+
exports.hydrateRoot = function(container, initialChildren, options3) {
|
|
673
|
+
if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));
|
|
674
|
+
var isStrictMode = false, identifierPrefix = "", onUncaughtError = defaultOnUncaughtError, onCaughtError = defaultOnCaughtError, onRecoverableError = defaultOnRecoverableError, formState = null;
|
|
675
|
+
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));
|
|
676
|
+
initialChildren = createFiberRoot(
|
|
677
|
+
container,
|
|
678
|
+
1,
|
|
679
|
+
true,
|
|
680
|
+
initialChildren,
|
|
681
|
+
null != options3 ? options3 : null,
|
|
682
|
+
isStrictMode,
|
|
683
|
+
identifierPrefix,
|
|
684
|
+
formState,
|
|
685
|
+
onUncaughtError,
|
|
686
|
+
onCaughtError,
|
|
687
|
+
onRecoverableError,
|
|
688
|
+
defaultOnDefaultTransitionIndicator
|
|
689
|
+
);
|
|
690
|
+
initialChildren.context = getContextForSubtree(null);
|
|
691
|
+
options3 = initialChildren.current;
|
|
692
|
+
isStrictMode = requestUpdateLane();
|
|
693
|
+
isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
|
|
694
|
+
identifierPrefix = createUpdate(isStrictMode);
|
|
695
|
+
identifierPrefix.callback = null;
|
|
696
|
+
enqueueUpdate(options3, identifierPrefix, isStrictMode);
|
|
697
|
+
options3 = isStrictMode;
|
|
698
|
+
initialChildren.current.lanes = options3;
|
|
699
|
+
markRootUpdated$1(initialChildren, options3);
|
|
700
|
+
ensureRootIsScheduled(initialChildren);
|
|
701
|
+
container[internalContainerInstanceKey] = initialChildren.current;
|
|
702
|
+
listenToAllSupportedEvents(container);
|
|
703
|
+
return new ReactDOMHydrationRoot(initialChildren);
|
|
704
|
+
};
|
|
705
|
+
exports.version = "19.2.8";
|