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.
- package/CHANGELOG.md +48 -0
- package/dist/cli/commands/groups/delivery.d.ts.map +1 -1
- package/dist/cli/commands/groups/delivery.js +2 -0
- package/dist/cli/commands/groups/delivery.js.map +1 -1
- package/dist/cli/commands/planning-artifacts.d.ts.map +1 -1
- package/dist/cli/commands/planning-artifacts.js +22 -12
- package/dist/cli/commands/planning-artifacts.js.map +1 -1
- package/dist/cli/commands/ship.d.ts +3 -0
- package/dist/cli/commands/ship.d.ts.map +1 -0
- package/dist/cli/commands/ship.js +65 -0
- package/dist/cli/commands/ship.js.map +1 -0
- package/dist/dashboard/.vite/manifest.json +1 -1
- package/dist/dashboard/assets/{index-G7ygVDGg.js → index-L8qtwqv6.js} +2 -2
- package/dist/dashboard/assets/{index-G7ygVDGg.js.map → index-L8qtwqv6.js.map} +1 -1
- package/dist/dashboard/dashboard-manifest.json +8 -8
- package/dist/dashboard/index.html +1 -1
- package/dist/models/schema.d.ts +39 -23
- package/dist/models/schema.d.ts.map +1 -1
- package/dist/models/schema.js +19 -12
- package/dist/models/schema.js.map +1 -1
- package/dist/models/types.d.ts +6 -0
- package/dist/models/types.d.ts.map +1 -1
- package/dist/services/id-service.d.ts +1 -5
- package/dist/services/id-service.d.ts.map +1 -1
- package/dist/services/id-service.js +1 -34
- package/dist/services/id-service.js.map +1 -1
- package/dist/services/ship-checks/changes.d.ts +24 -0
- package/dist/services/ship-checks/changes.d.ts.map +1 -0
- package/dist/services/ship-checks/changes.js +135 -0
- package/dist/services/ship-checks/changes.js.map +1 -0
- package/dist/services/ship-checks/contract.d.ts +81 -0
- package/dist/services/ship-checks/contract.d.ts.map +1 -0
- package/dist/services/ship-checks/contract.js +7 -0
- package/dist/services/ship-checks/contract.js.map +1 -0
- package/dist/services/ship-checks/discover.d.ts +10 -0
- package/dist/services/ship-checks/discover.d.ts.map +1 -0
- package/dist/services/ship-checks/discover.js +250 -0
- package/dist/services/ship-checks/discover.js.map +1 -0
- package/dist/services/ship-checks/glob.d.ts +5 -0
- package/dist/services/ship-checks/glob.d.ts.map +1 -0
- package/dist/services/ship-checks/glob.js +39 -0
- package/dist/services/ship-checks/glob.js.map +1 -0
- package/dist/services/ship-checks/hooks.d.ts +7 -0
- package/dist/services/ship-checks/hooks.d.ts.map +1 -0
- package/dist/services/ship-checks/hooks.js +65 -0
- package/dist/services/ship-checks/hooks.js.map +1 -0
- package/dist/services/ship-checks/packages.d.ts +29 -0
- package/dist/services/ship-checks/packages.d.ts.map +1 -0
- package/dist/services/ship-checks/packages.js +197 -0
- package/dist/services/ship-checks/packages.js.map +1 -0
- package/dist/services/ship-checks/related-tests.d.ts +13 -0
- package/dist/services/ship-checks/related-tests.d.ts.map +1 -0
- package/dist/services/ship-checks/related-tests.js +73 -0
- package/dist/services/ship-checks/related-tests.js.map +1 -0
- package/dist/services/ship-checks/scope.d.ts +8 -0
- package/dist/services/ship-checks/scope.d.ts.map +1 -0
- package/dist/services/ship-checks/scope.js +66 -0
- package/dist/services/ship-checks/scope.js.map +1 -0
- package/dist/services/ship-checks/task-requirements.d.ts +14 -0
- package/dist/services/ship-checks/task-requirements.d.ts.map +1 -0
- package/dist/services/ship-checks/task-requirements.js +145 -0
- package/dist/services/ship-checks/task-requirements.js.map +1 -0
- package/dist/services/ship-checks/workflows.d.ts +21 -0
- package/dist/services/ship-checks/workflows.d.ts.map +1 -0
- package/dist/services/ship-checks/workflows.js +208 -0
- package/dist/services/ship-checks/workflows.js.map +1 -0
- package/dist/services/template-service.d.ts +2 -0
- package/dist/services/template-service.d.ts.map +1 -1
- package/dist/services/template-service.js +4 -0
- package/dist/services/template-service.js.map +1 -1
- package/dist/utils/slugify.d.ts +1 -8
- package/dist/utils/slugify.d.ts.map +1 -1
- package/dist/utils/slugify.js +1 -25
- package/dist/utils/slugify.js.map +1 -1
- package/docs/CLI.md +48 -1
- package/lib/backlog-item.d.mts +49 -0
- package/lib/backlog-item.mjs +339 -0
- 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 +126 -90
- package/lib/host-packages/claude/openplanr/CONNECTORS.md +4 -6
- package/lib/host-packages/claude/openplanr/README.md +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-document.mjs +385 -79
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-review.mjs +45 -4
- 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
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-share.mjs +8 -5
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/{design-shared-protocol-contracts-31a760fc.mjs → design-shared-protocol-contracts-b5f28f94.mjs} +284 -45
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/design.mjs +215 -55
- 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
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
- 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
- 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
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/03-react-dom-client-fiber-foundations.js +494 -967
- 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
- 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
- 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
- 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
- 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
- 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
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
- 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
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
- 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
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/design.mjs +45 -12
- package/lib/host-packages/claude/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/claude/openplanr/skills/connect/references/connectors.md +4 -6
- package/lib/host-packages/claude/openplanr/skills/design/SKILL.md +12 -0
- package/lib/host-packages/claude/openplanr/skills/design/references/craft.md +14 -3
- package/lib/host-packages/claude/openplanr/skills/design/references/design-system.md +33 -1
- package/lib/host-packages/claude/openplanr/skills/design/references/discovery.md +18 -4
- package/lib/host-packages/claude/openplanr/skills/design/references/generation.md +74 -1
- package/lib/host-packages/claude/openplanr/skills/design/references/hosted-canvas.md +62 -0
- package/lib/host-packages/claude/openplanr/skills/design/references/review.md +46 -1
- package/lib/host-packages/claude/openplanr/skills/design/references/utilities.md +6 -0
- package/lib/host-packages/claude/openplanr/skills/design/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/craft.md +14 -3
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/design-system.md +33 -1
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/discovery.md +18 -4
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/generation.md +74 -1
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/review.md +46 -1
- package/lib/host-packages/claude/openplanr/skills/design-loop/references/utilities.md +6 -0
- package/lib/host-packages/claude/openplanr/skills/design-loop/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/claude/openplanr/skills/design-review/references/craft.md +14 -3
- package/lib/host-packages/claude/openplanr/skills/design-review/references/design-system.md +33 -1
- package/lib/host-packages/claude/openplanr/skills/design-review/references/discovery.md +18 -4
- package/lib/host-packages/claude/openplanr/skills/design-review/references/generation.md +74 -1
- package/lib/host-packages/claude/openplanr/skills/design-review/references/review.md +46 -1
- package/lib/host-packages/claude/openplanr/skills/design-review/references/utilities.md +6 -0
- package/lib/host-packages/claude/openplanr/skills/design-review/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/claude/openplanr/skills/investigate/SKILL.md +10 -1
- package/lib/host-packages/claude/openplanr/skills/investigate/references/findings.md +92 -0
- package/lib/host-packages/claude/openplanr/skills/investigate/scripts/backlog-item.mjs +339 -0
- package/lib/host-packages/claude/openplanr/skills/plan/SKILL.md +3 -0
- package/lib/host-packages/claude/openplanr/skills/plan/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/claude/openplanr/skills/share/references/connectors.md +4 -6
- package/lib/host-packages/claude/openplanr/skills/ship/SKILL.md +15 -4
- package/lib/host-packages/claude/openplanr/skills/ship/references/findings.md +92 -0
- package/lib/host-packages/claude/openplanr/skills/ship/references/result-contract.md +3 -1
- package/lib/host-packages/claude/openplanr/skills/ship/scripts/backlog-item.mjs +339 -0
- package/lib/host-packages/claude/openplanr/skills/sprint/references/connectors.md +4 -6
- package/lib/host-packages/claude/openplanr/skills/status/references/connectors.md +4 -6
- package/lib/host-packages/claude/openplanr/skills/sync/references/connectors.md +4 -6
- package/lib/host-packages/cursor/openplanr/.openplanr-content.json +125 -89
- package/lib/host-packages/cursor/openplanr/CONNECTORS.md +4 -6
- package/lib/host-packages/cursor/openplanr/manifest.json +1 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-connect/references/connectors.md +4 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/craft.md +14 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/design-system.md +33 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/discovery.md +18 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/generation.md +74 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/hosted-canvas.md +62 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/review.md +46 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design/references/utilities.md +6 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-design/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/craft.md +14 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/design-system.md +33 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/discovery.md +18 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/generation.md +74 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/review.md +46 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/references/utilities.md +6 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-design-loop/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/craft.md +14 -3
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/design-system.md +33 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/discovery.md +18 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/generation.md +74 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/review.md +46 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/references/utilities.md +6 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-design-review/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/cursor/openplanr/rules/planr-design.mdc +12 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-investigate/references/findings.md +92 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-investigate/scripts/backlog-item.mjs +339 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-investigate.mdc +10 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-plan/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/cursor/openplanr/rules/planr-plan.mdc +3 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-share/references/connectors.md +4 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/findings.md +92 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-ship/references/result-contract.md +3 -1
- package/lib/host-packages/cursor/openplanr/rules/planr-ship/scripts/backlog-item.mjs +339 -0
- package/lib/host-packages/cursor/openplanr/rules/planr-ship.mdc +15 -4
- package/lib/host-packages/cursor/openplanr/rules/planr-sprint/references/connectors.md +4 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-status/references/connectors.md +4 -6
- package/lib/host-packages/cursor/openplanr/rules/planr-sync/references/connectors.md +4 -6
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-document.mjs +385 -79
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-review.mjs +45 -4
- 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
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-share.mjs +8 -5
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
- 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
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/design.mjs +215 -55
- 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
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
- 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
- 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
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
- 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
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
- 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
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/design.mjs +45 -12
- package/lib/host-packages/cursor/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -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 +128 -92
- package/lib/host-packages/openai/openplanr/CONNECTORS.md +4 -6
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-artifact-shell.mjs +1 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-chunked-workspace-client.mjs +1 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-document.mjs +385 -79
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-handoff.mjs +1 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-resource-pack.mjs +1 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-review.mjs +45 -4
- 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
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-share.mjs +8 -5
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-dependencies-design-support-protocol-contracts-3d9b1a86.mjs +40 -7
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-shared-artifact-support-protocol-contracts-ea2cd15e.mjs +1 -1
- 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
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design-upload-spool.mjs +1 -1
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/design.mjs +215 -55
- 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
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources/03-protocol-contracts.js +246 -45
- 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
- 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
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/artifact/templates/artifact-review-stage.js.sources.json +11 -10
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/package.json +4 -3
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.css +16 -11
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/01-module-runtime.js +7 -11
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/02-react.js +163 -274
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/10-react.js +7 -17
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/11-artifact-review-ui.js +3 -4
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-protocol-contracts.js +215 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-design-review-experience.js +2766 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-studio-shell.js +134 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-canvas-engine.js +2170 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/16-design-review-experience.js +16 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-studio-shell.js +8 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/18-interface-primitives.js +3883 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/19-interface-primitives.js +966 -0
- 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
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/21-design-studio.js +1583 -0
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources.json +101 -47
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/protocol/package.json +5 -1
- 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
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design-protocol-contracts.mjs +247 -45
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/design.mjs +45 -12
- package/lib/host-packages/openai/openplanr/runtime/plan/scripts/runtime/packages/protocol/package.json +5 -1
- package/lib/host-packages/openai/openplanr/skills/connect/references/connectors.md +4 -6
- package/lib/host-packages/openai/openplanr/skills/design/SKILL.md +12 -0
- package/lib/host-packages/openai/openplanr/skills/design/openplanr.skill.json +11 -0
- package/lib/host-packages/openai/openplanr/skills/design/references/craft.md +14 -3
- package/lib/host-packages/openai/openplanr/skills/design/references/design-system.md +33 -1
- package/lib/host-packages/openai/openplanr/skills/design/references/discovery.md +18 -4
- package/lib/host-packages/openai/openplanr/skills/design/references/generation.md +74 -1
- package/lib/host-packages/openai/openplanr/skills/design/references/hosted-canvas.md +62 -0
- package/lib/host-packages/openai/openplanr/skills/design/references/review.md +46 -1
- package/lib/host-packages/openai/openplanr/skills/design/references/utilities.md +6 -0
- package/lib/host-packages/openai/openplanr/skills/design/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/craft.md +14 -3
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/design-system.md +33 -1
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/discovery.md +18 -4
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/generation.md +74 -1
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/review.md +46 -1
- package/lib/host-packages/openai/openplanr/skills/design-loop/references/utilities.md +6 -0
- package/lib/host-packages/openai/openplanr/skills/design-loop/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/openai/openplanr/skills/design-review/references/craft.md +14 -3
- package/lib/host-packages/openai/openplanr/skills/design-review/references/design-system.md +33 -1
- package/lib/host-packages/openai/openplanr/skills/design-review/references/discovery.md +18 -4
- package/lib/host-packages/openai/openplanr/skills/design-review/references/generation.md +74 -1
- package/lib/host-packages/openai/openplanr/skills/design-review/references/review.md +46 -1
- package/lib/host-packages/openai/openplanr/skills/design-review/references/utilities.md +6 -0
- package/lib/host-packages/openai/openplanr/skills/design-review/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/openai/openplanr/skills/investigate/SKILL.md +10 -1
- package/lib/host-packages/openai/openplanr/skills/investigate/openplanr.skill.json +22 -0
- package/lib/host-packages/openai/openplanr/skills/investigate/references/findings.md +92 -0
- package/lib/host-packages/openai/openplanr/skills/investigate/scripts/backlog-item.mjs +339 -0
- package/lib/host-packages/openai/openplanr/skills/plan/SKILL.md +3 -0
- package/lib/host-packages/openai/openplanr/skills/plan/schemas/design-document.schema.json +78 -5
- package/lib/host-packages/openai/openplanr/skills/share/references/connectors.md +4 -6
- package/lib/host-packages/openai/openplanr/skills/ship/SKILL.md +15 -4
- package/lib/host-packages/openai/openplanr/skills/ship/openplanr.skill.json +22 -0
- package/lib/host-packages/openai/openplanr/skills/ship/references/findings.md +92 -0
- package/lib/host-packages/openai/openplanr/skills/ship/references/result-contract.md +3 -1
- package/lib/host-packages/openai/openplanr/skills/ship/scripts/backlog-item.mjs +339 -0
- package/lib/host-packages/openai/openplanr/skills/sprint/references/connectors.md +4 -6
- package/lib/host-packages/openai/openplanr/skills/status/references/connectors.md +4 -6
- package/lib/host-packages/openai/openplanr/skills/sync/references/connectors.md +4 -6
- package/package.json +3 -3
- package/dist/templates/backlog/backlog-item.md.hbs +0 -40
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
- package/lib/host-packages/claude/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
- package/lib/host-packages/cursor/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/12-design-review-experience.js +0 -3589
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/13-studio-shell.js +0 -184
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/14-interface-primitives.js +0 -5229
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/15-interface-primitives.js +0 -1733
- package/lib/host-packages/openai/openplanr/runtime/design/scripts/runtime/packages/design/templates/studio/studio.js.sources/17-design-studio.js +0 -1844
|
@@ -13,23 +13,19 @@
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
|
|
17
|
-
var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
16
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
18
17
|
function jsxProd(type, config, maybeKey) {
|
|
19
18
|
var key = null;
|
|
20
|
-
void 0
|
|
21
|
-
void 0 !== config.key && (key = "" + config.key);
|
|
22
|
-
if ("key" in config) {
|
|
19
|
+
if (maybeKey !== void 0 && (key = "" + maybeKey), config.key !== void 0 && (key = "" + config.key), "key" in config) {
|
|
23
20
|
maybeKey = {};
|
|
24
21
|
for (var propName in config)
|
|
25
|
-
"key"
|
|
22
|
+
propName !== "key" && (maybeKey[propName] = config[propName]);
|
|
26
23
|
} else maybeKey = config;
|
|
27
|
-
config = maybeKey.ref
|
|
28
|
-
return {
|
|
24
|
+
return config = maybeKey.ref, {
|
|
29
25
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
30
26
|
type,
|
|
31
27
|
key,
|
|
32
|
-
ref: void 0
|
|
28
|
+
ref: config !== void 0 ? config : null,
|
|
33
29
|
props: maybeKey
|
|
34
30
|
};
|
|
35
31
|
}
|
|
@@ -43,11 +39,7 @@
|
|
|
43
39
|
var require_jsx_runtime = __commonJS({
|
|
44
40
|
"../../node_modules/react/jsx-runtime.js"(exports, module) {
|
|
45
41
|
"use strict";
|
|
46
|
-
|
|
47
|
-
module.exports = require_react_jsx_runtime_production();
|
|
48
|
-
} else {
|
|
49
|
-
module.exports = null;
|
|
50
|
-
}
|
|
42
|
+
module.exports = require_react_jsx_runtime_production();
|
|
51
43
|
}
|
|
52
44
|
});
|
|
53
45
|
|
|
@@ -64,28 +56,13 @@
|
|
|
64
56
|
* This source code is licensed under the MIT license found in the
|
|
65
57
|
* LICENSE file in the root directory of this source tree.
|
|
66
58
|
*/
|
|
67
|
-
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element");
|
|
68
|
-
var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
|
|
69
|
-
var REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
70
|
-
var REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode");
|
|
71
|
-
var REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler");
|
|
72
|
-
var REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer");
|
|
73
|
-
var REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context");
|
|
74
|
-
var REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref");
|
|
75
|
-
var REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense");
|
|
76
|
-
var REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo");
|
|
77
|
-
var REACT_LAZY_TYPE2 = /* @__PURE__ */ Symbol.for("react.lazy");
|
|
78
|
-
var REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity");
|
|
79
|
-
var REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition");
|
|
80
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
59
|
+
var REACT_ELEMENT_TYPE = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = /* @__PURE__ */ Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = /* @__PURE__ */ Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = /* @__PURE__ */ Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = /* @__PURE__ */ Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = /* @__PURE__ */ Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = /* @__PURE__ */ Symbol.for("react.suspense"), REACT_MEMO_TYPE = /* @__PURE__ */ Symbol.for("react.memo"), REACT_LAZY_TYPE2 = /* @__PURE__ */ Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = /* @__PURE__ */ Symbol.for("react.activity"), REACT_VIEW_TRANSITION_TYPE = /* @__PURE__ */ Symbol.for("react.view_transition"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
81
60
|
function getIteratorFn(maybeIterable) {
|
|
82
|
-
|
|
83
|
-
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
|
84
|
-
return "function" === typeof maybeIterable ? maybeIterable : null;
|
|
61
|
+
return maybeIterable === null || typeof maybeIterable != "object" ? null : (maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"], typeof maybeIterable == "function" ? maybeIterable : null);
|
|
85
62
|
}
|
|
86
63
|
var ReactNoopUpdateQueue = {
|
|
87
64
|
isMounted: function() {
|
|
88
|
-
return
|
|
65
|
+
return !1;
|
|
89
66
|
},
|
|
90
67
|
enqueueForceUpdate: function() {
|
|
91
68
|
},
|
|
@@ -93,18 +70,13 @@
|
|
|
93
70
|
},
|
|
94
71
|
enqueueSetState: function() {
|
|
95
72
|
}
|
|
96
|
-
};
|
|
97
|
-
var assign = Object.assign;
|
|
98
|
-
var emptyObject = {};
|
|
73
|
+
}, assign = Object.assign, emptyObject = {};
|
|
99
74
|
function Component(props, context, updater) {
|
|
100
|
-
this.props = props;
|
|
101
|
-
this.context = context;
|
|
102
|
-
this.refs = emptyObject;
|
|
103
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
75
|
+
this.props = props, this.context = context, this.refs = emptyObject, this.updater = updater || ReactNoopUpdateQueue;
|
|
104
76
|
}
|
|
105
77
|
Component.prototype.isReactComponent = {};
|
|
106
78
|
Component.prototype.setState = function(partialState, callback) {
|
|
107
|
-
if ("object"
|
|
79
|
+
if (typeof partialState != "object" && typeof partialState != "function" && partialState != null)
|
|
108
80
|
throw Error(
|
|
109
81
|
"takes an object of state variables to update or a function which returns an object of state variables."
|
|
110
82
|
);
|
|
@@ -117,35 +89,31 @@
|
|
|
117
89
|
}
|
|
118
90
|
ComponentDummy.prototype = Component.prototype;
|
|
119
91
|
function PureComponent(props, context, updater) {
|
|
120
|
-
this.props = props;
|
|
121
|
-
this.context = context;
|
|
122
|
-
this.refs = emptyObject;
|
|
123
|
-
this.updater = updater || ReactNoopUpdateQueue;
|
|
92
|
+
this.props = props, this.context = context, this.refs = emptyObject, this.updater = updater || ReactNoopUpdateQueue;
|
|
124
93
|
}
|
|
125
94
|
var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
|
|
126
95
|
pureComponentPrototype.constructor = PureComponent;
|
|
127
96
|
assign(pureComponentPrototype, Component.prototype);
|
|
128
|
-
pureComponentPrototype.isPureReactComponent =
|
|
97
|
+
pureComponentPrototype.isPureReactComponent = !0;
|
|
129
98
|
var isArrayImpl = Array.isArray;
|
|
130
99
|
function noop3() {
|
|
131
100
|
}
|
|
132
|
-
var ReactSharedInternals = { H: null, A: null, T: null, S: null };
|
|
133
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
101
|
+
var ReactSharedInternals = { H: null, A: null, T: null, S: null }, hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
134
102
|
function ReactElement(type, key, props) {
|
|
135
103
|
var refProp = props.ref;
|
|
136
104
|
return {
|
|
137
105
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
138
106
|
type,
|
|
139
107
|
key,
|
|
140
|
-
ref: void 0
|
|
108
|
+
ref: refProp !== void 0 ? refProp : null,
|
|
141
109
|
props
|
|
142
110
|
};
|
|
143
111
|
}
|
|
144
112
|
function cloneAndReplaceKey(oldElement, newKey) {
|
|
145
113
|
return ReactElement(oldElement.type, newKey, oldElement.props);
|
|
146
114
|
}
|
|
147
|
-
function isValidElement2(
|
|
148
|
-
return
|
|
115
|
+
function isValidElement2(object2) {
|
|
116
|
+
return typeof object2 == "object" && object2 !== null && object2.$$typeof === REACT_ELEMENT_TYPE;
|
|
149
117
|
}
|
|
150
118
|
function escape(key) {
|
|
151
119
|
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
@@ -155,7 +123,7 @@
|
|
|
155
123
|
}
|
|
156
124
|
var userProvidedKeyEscapeRegex = /\/+/g;
|
|
157
125
|
function getElementKey(element, index2) {
|
|
158
|
-
return
|
|
126
|
+
return typeof element == "object" && element !== null && element.key != null ? escape("" + element.key) : index2.toString(36);
|
|
159
127
|
}
|
|
160
128
|
function resolveThenable(thenable) {
|
|
161
129
|
switch (thenable.status) {
|
|
@@ -164,12 +132,12 @@
|
|
|
164
132
|
case "rejected":
|
|
165
133
|
throw thenable.reason;
|
|
166
134
|
default:
|
|
167
|
-
switch (
|
|
135
|
+
switch (typeof thenable.status == "string" ? thenable.then(noop3, noop3) : (thenable.status = "pending", thenable.then(
|
|
168
136
|
function(fulfilledValue) {
|
|
169
|
-
"pending"
|
|
137
|
+
thenable.status === "pending" && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
170
138
|
},
|
|
171
139
|
function(error) {
|
|
172
|
-
"pending"
|
|
140
|
+
thenable.status === "pending" && (thenable.status = "rejected", thenable.reason = error);
|
|
173
141
|
}
|
|
174
142
|
)), thenable.status) {
|
|
175
143
|
case "fulfilled":
|
|
@@ -182,21 +150,21 @@
|
|
|
182
150
|
}
|
|
183
151
|
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
|
184
152
|
var type = typeof children;
|
|
185
|
-
|
|
186
|
-
var invokeCallback =
|
|
187
|
-
if (
|
|
153
|
+
(type === "undefined" || type === "boolean") && (children = null);
|
|
154
|
+
var invokeCallback = !1;
|
|
155
|
+
if (children === null) invokeCallback = !0;
|
|
188
156
|
else
|
|
189
157
|
switch (type) {
|
|
190
158
|
case "bigint":
|
|
191
159
|
case "string":
|
|
192
160
|
case "number":
|
|
193
|
-
invokeCallback =
|
|
161
|
+
invokeCallback = !0;
|
|
194
162
|
break;
|
|
195
163
|
case "object":
|
|
196
164
|
switch (children.$$typeof) {
|
|
197
165
|
case REACT_ELEMENT_TYPE:
|
|
198
166
|
case REACT_PORTAL_TYPE:
|
|
199
|
-
invokeCallback =
|
|
167
|
+
invokeCallback = !0;
|
|
200
168
|
break;
|
|
201
169
|
case REACT_LAZY_TYPE2:
|
|
202
170
|
return invokeCallback = children._init, mapIntoArray(
|
|
@@ -209,17 +177,17 @@
|
|
|
209
177
|
}
|
|
210
178
|
}
|
|
211
179
|
if (invokeCallback)
|
|
212
|
-
return callback = callback(children), invokeCallback =
|
|
180
|
+
return callback = callback(children), invokeCallback = nameSoFar === "" ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", invokeCallback != null && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
|
213
181
|
return c;
|
|
214
|
-
})) :
|
|
182
|
+
})) : callback != null && (isValidElement2(callback) && (callback = cloneAndReplaceKey(
|
|
215
183
|
callback,
|
|
216
|
-
escapedPrefix + (
|
|
184
|
+
escapedPrefix + (callback.key == null || children && children.key === callback.key ? "" : ("" + callback.key).replace(
|
|
217
185
|
userProvidedKeyEscapeRegex,
|
|
218
186
|
"$&/"
|
|
219
187
|
) + "/") + invokeCallback
|
|
220
188
|
)), array.push(callback)), 1;
|
|
221
189
|
invokeCallback = 0;
|
|
222
|
-
var nextNamePrefix =
|
|
190
|
+
var nextNamePrefix = nameSoFar === "" ? "." : nameSoFar + ":";
|
|
223
191
|
if (isArrayImpl(children))
|
|
224
192
|
for (var i = 0; i < children.length; i++)
|
|
225
193
|
nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
|
@@ -229,7 +197,7 @@
|
|
|
229
197
|
type,
|
|
230
198
|
callback
|
|
231
199
|
);
|
|
232
|
-
else if (i = getIteratorFn(children), "function"
|
|
200
|
+
else if (i = getIteratorFn(children), typeof i == "function")
|
|
233
201
|
for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
|
234
202
|
nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
|
235
203
|
nameSoFar,
|
|
@@ -238,8 +206,8 @@
|
|
|
238
206
|
type,
|
|
239
207
|
callback
|
|
240
208
|
);
|
|
241
|
-
else if ("object"
|
|
242
|
-
if (
|
|
209
|
+
else if (type === "object") {
|
|
210
|
+
if (typeof children.then == "function")
|
|
243
211
|
return mapIntoArray(
|
|
244
212
|
resolveThenable(children),
|
|
245
213
|
array,
|
|
@@ -247,49 +215,44 @@
|
|
|
247
215
|
nameSoFar,
|
|
248
216
|
callback
|
|
249
217
|
);
|
|
250
|
-
array = String(children)
|
|
251
|
-
|
|
252
|
-
"Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
|
218
|
+
throw array = String(children), Error(
|
|
219
|
+
"Objects are not valid as a React child (found: " + (array === "[object Object]" ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
|
253
220
|
);
|
|
254
221
|
}
|
|
255
222
|
return invokeCallback;
|
|
256
223
|
}
|
|
257
224
|
function mapChildren(children, func, context) {
|
|
258
|
-
if (
|
|
225
|
+
if (children == null) return children;
|
|
259
226
|
var result = [], count3 = 0;
|
|
260
|
-
mapIntoArray(children, result, "", "", function(child) {
|
|
227
|
+
return mapIntoArray(children, result, "", "", function(child) {
|
|
261
228
|
return func.call(context, child, count3++);
|
|
262
|
-
});
|
|
263
|
-
return result;
|
|
229
|
+
}), result;
|
|
264
230
|
}
|
|
265
231
|
function lazyInitializer(payload) {
|
|
266
|
-
if (
|
|
232
|
+
if (payload._status === -1) {
|
|
267
233
|
var ctor = payload._result, thenable = ctor();
|
|
268
234
|
thenable.then(
|
|
269
235
|
function(moduleObject) {
|
|
270
|
-
|
|
271
|
-
payload._status = 1, payload._result = moduleObject, void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
|
|
236
|
+
(payload._status === 0 || payload._status === -1) && (payload._status = 1, payload._result = moduleObject, thenable.status === void 0 && (thenable.status = "fulfilled", thenable.value = moduleObject));
|
|
272
237
|
},
|
|
273
238
|
function(error) {
|
|
274
|
-
|
|
275
|
-
payload._status = 2, payload._result = error, void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
|
239
|
+
(payload._status === 0 || payload._status === -1) && (payload._status = 2, payload._result = error, thenable.status === void 0 && (thenable.status = "rejected", thenable.reason = error));
|
|
276
240
|
}
|
|
277
|
-
);
|
|
278
|
-
-1 === payload._status && (payload._status = 0, payload._result = thenable);
|
|
241
|
+
), payload._status === -1 && (payload._status = 0, payload._result = thenable);
|
|
279
242
|
}
|
|
280
|
-
if (
|
|
243
|
+
if (payload._status === 1) return payload._result.default;
|
|
281
244
|
throw payload._result;
|
|
282
245
|
}
|
|
283
|
-
var reportGlobalError = "function"
|
|
284
|
-
if (
|
|
246
|
+
var reportGlobalError = typeof reportError == "function" ? reportError : function(error) {
|
|
247
|
+
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
285
248
|
var event = new window.ErrorEvent("error", {
|
|
286
|
-
bubbles:
|
|
287
|
-
cancelable:
|
|
288
|
-
message: "object"
|
|
249
|
+
bubbles: !0,
|
|
250
|
+
cancelable: !0,
|
|
251
|
+
message: typeof error == "object" && error !== null && typeof error.message == "string" ? String(error.message) : String(error),
|
|
289
252
|
error
|
|
290
253
|
});
|
|
291
254
|
if (!window.dispatchEvent(event)) return;
|
|
292
|
-
} else if (
|
|
255
|
+
} else if (typeof process == "object" && typeof process.emit == "function") {
|
|
293
256
|
process.emit("uncaughtException", error);
|
|
294
257
|
return;
|
|
295
258
|
}
|
|
@@ -297,23 +260,21 @@
|
|
|
297
260
|
};
|
|
298
261
|
function startTransition(scope) {
|
|
299
262
|
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
|
300
|
-
currentTransition.types =
|
|
301
|
-
ReactSharedInternals.T = currentTransition;
|
|
263
|
+
currentTransition.types = prevTransition !== null ? prevTransition.types : null, ReactSharedInternals.T = currentTransition;
|
|
302
264
|
try {
|
|
303
265
|
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
304
|
-
|
|
305
|
-
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop3, reportGlobalError);
|
|
266
|
+
onStartTransitionFinish !== null && onStartTransitionFinish(currentTransition, returnValue), typeof returnValue == "object" && returnValue !== null && typeof returnValue.then == "function" && returnValue.then(noop3, reportGlobalError);
|
|
306
267
|
} catch (error) {
|
|
307
268
|
reportGlobalError(error);
|
|
308
269
|
} finally {
|
|
309
|
-
|
|
270
|
+
prevTransition !== null && currentTransition.types !== null && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
|
|
310
271
|
}
|
|
311
272
|
}
|
|
312
273
|
function addTransitionType(type) {
|
|
313
274
|
var transition = ReactSharedInternals.T;
|
|
314
|
-
if (
|
|
275
|
+
if (transition !== null) {
|
|
315
276
|
var transitionTypes = transition.types;
|
|
316
|
-
|
|
277
|
+
transitionTypes === null ? transition.types = [type] : transitionTypes.indexOf(type) === -1 && transitionTypes.push(type);
|
|
317
278
|
} else startTransition(addTransitionType.bind(null, type));
|
|
318
279
|
}
|
|
319
280
|
var Children5 = {
|
|
@@ -329,10 +290,9 @@
|
|
|
329
290
|
},
|
|
330
291
|
count: function(children) {
|
|
331
292
|
var n = 0;
|
|
332
|
-
mapChildren(children, function() {
|
|
293
|
+
return mapChildren(children, function() {
|
|
333
294
|
n++;
|
|
334
|
-
});
|
|
335
|
-
return n;
|
|
295
|
+
}), n;
|
|
336
296
|
},
|
|
337
297
|
toArray: function(children) {
|
|
338
298
|
return mapChildren(children, function(child) {
|
|
@@ -373,16 +333,16 @@
|
|
|
373
333
|
return null;
|
|
374
334
|
};
|
|
375
335
|
exports.cloneElement = function(element, config, children) {
|
|
376
|
-
if (
|
|
336
|
+
if (element == null)
|
|
377
337
|
throw Error(
|
|
378
338
|
"The argument must be a React element, but you passed " + element + "."
|
|
379
339
|
);
|
|
380
340
|
var props = assign({}, element.props), key = element.key;
|
|
381
|
-
if (
|
|
382
|
-
for (propName in void 0
|
|
383
|
-
!hasOwnProperty.call(config, propName) || "key"
|
|
341
|
+
if (config != null)
|
|
342
|
+
for (propName in config.key !== void 0 && (key = "" + config.key), config)
|
|
343
|
+
!hasOwnProperty.call(config, propName) || propName === "key" || propName === "__self" || propName === "__source" || propName === "ref" && config.ref === void 0 || (props[propName] = config[propName]);
|
|
384
344
|
var propName = arguments.length - 2;
|
|
385
|
-
if (
|
|
345
|
+
if (propName === 1) props.children = children;
|
|
386
346
|
else if (1 < propName) {
|
|
387
347
|
for (var childArray = Array(propName), i = 0; i < propName; i++)
|
|
388
348
|
childArray[i] = arguments[i + 2];
|
|
@@ -391,28 +351,25 @@
|
|
|
391
351
|
return ReactElement(element.type, key, props);
|
|
392
352
|
};
|
|
393
353
|
exports.createContext = function(defaultValue) {
|
|
394
|
-
defaultValue = {
|
|
354
|
+
return defaultValue = {
|
|
395
355
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
396
356
|
_currentValue: defaultValue,
|
|
397
357
|
_currentValue2: defaultValue,
|
|
398
358
|
_threadCount: 0,
|
|
399
359
|
Provider: null,
|
|
400
360
|
Consumer: null
|
|
401
|
-
}
|
|
402
|
-
defaultValue.Provider = defaultValue;
|
|
403
|
-
defaultValue.Consumer = {
|
|
361
|
+
}, defaultValue.Provider = defaultValue, defaultValue.Consumer = {
|
|
404
362
|
$$typeof: REACT_CONSUMER_TYPE,
|
|
405
363
|
_context: defaultValue
|
|
406
|
-
};
|
|
407
|
-
return defaultValue;
|
|
364
|
+
}, defaultValue;
|
|
408
365
|
};
|
|
409
366
|
exports.createElement = function(type, config, children) {
|
|
410
367
|
var propName, props = {}, key = null;
|
|
411
|
-
if (
|
|
412
|
-
for (propName in void 0
|
|
413
|
-
hasOwnProperty.call(config, propName) && "key"
|
|
368
|
+
if (config != null)
|
|
369
|
+
for (propName in config.key !== void 0 && (key = "" + config.key), config)
|
|
370
|
+
hasOwnProperty.call(config, propName) && propName !== "key" && propName !== "__self" && propName !== "__source" && (props[propName] = config[propName]);
|
|
414
371
|
var childrenLength = arguments.length - 2;
|
|
415
|
-
if (
|
|
372
|
+
if (childrenLength === 1) props.children = children;
|
|
416
373
|
else if (1 < childrenLength) {
|
|
417
374
|
for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
|
|
418
375
|
childArray[i] = arguments[i + 2];
|
|
@@ -420,7 +377,7 @@
|
|
|
420
377
|
}
|
|
421
378
|
if (type && type.defaultProps)
|
|
422
379
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
423
|
-
|
|
380
|
+
props[propName] === void 0 && (props[propName] = childrenLength[propName]);
|
|
424
381
|
return ReactElement(type, key, props);
|
|
425
382
|
};
|
|
426
383
|
exports.createRef = function() {
|
|
@@ -441,7 +398,7 @@
|
|
|
441
398
|
return {
|
|
442
399
|
$$typeof: REACT_MEMO_TYPE,
|
|
443
400
|
type,
|
|
444
|
-
compare: void 0
|
|
401
|
+
compare: compare === void 0 ? null : compare
|
|
445
402
|
};
|
|
446
403
|
};
|
|
447
404
|
exports.startTransition = startTransition;
|
|
@@ -516,11 +473,7 @@
|
|
|
516
473
|
var require_react = __commonJS({
|
|
517
474
|
"../../node_modules/react/index.js"(exports, module) {
|
|
518
475
|
"use strict";
|
|
519
|
-
|
|
520
|
-
module.exports = require_react_production();
|
|
521
|
-
} else {
|
|
522
|
-
module.exports = null;
|
|
523
|
-
}
|
|
476
|
+
module.exports = require_react_production();
|
|
524
477
|
}
|
|
525
478
|
});
|
|
526
479
|
|
|
@@ -565,15 +518,12 @@
|
|
|
565
518
|
},
|
|
566
519
|
p: 0,
|
|
567
520
|
findDOMNode: null
|
|
568
|
-
};
|
|
569
|
-
var REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal");
|
|
570
|
-
var REACT_RECOVERABLE_TYPE = /* @__PURE__ */ Symbol.for("react.recoverable");
|
|
571
|
-
var REACT_OPTIMISTIC_KEY = /* @__PURE__ */ Symbol.for("react.optimistic_key");
|
|
521
|
+
}, REACT_PORTAL_TYPE = /* @__PURE__ */ Symbol.for("react.portal"), REACT_RECOVERABLE_TYPE = /* @__PURE__ */ Symbol.for("react.recoverable"), REACT_OPTIMISTIC_KEY = /* @__PURE__ */ Symbol.for("react.optimistic_key");
|
|
572
522
|
function createPortal$1(children, containerInfo, implementation) {
|
|
573
|
-
var key = 3 < arguments.length &&
|
|
523
|
+
var key = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
574
524
|
return {
|
|
575
525
|
$$typeof: REACT_PORTAL_TYPE,
|
|
576
|
-
key:
|
|
526
|
+
key: key == null ? null : key === REACT_OPTIMISTIC_KEY ? REACT_OPTIMISTIC_KEY : "" + key,
|
|
577
527
|
children,
|
|
578
528
|
containerInfo,
|
|
579
529
|
implementation
|
|
@@ -581,17 +531,17 @@
|
|
|
581
531
|
}
|
|
582
532
|
var ReactSharedInternals = React36.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
583
533
|
function getCrossOriginStringAs(as, input) {
|
|
584
|
-
if ("font"
|
|
585
|
-
if ("string"
|
|
586
|
-
return "use-credentials"
|
|
534
|
+
if (as === "font") return "";
|
|
535
|
+
if (typeof input == "string")
|
|
536
|
+
return input === "use-credentials" ? input : "";
|
|
587
537
|
}
|
|
588
538
|
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
|
|
589
539
|
exports.browser = function(reason) {
|
|
590
540
|
return { $$typeof: REACT_RECOVERABLE_TYPE, _reason: reason };
|
|
591
541
|
};
|
|
592
542
|
exports.createPortal = function(children, container) {
|
|
593
|
-
var key = 2 < arguments.length &&
|
|
594
|
-
if (!container ||
|
|
543
|
+
var key = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
544
|
+
if (!container || container.nodeType !== 1 && container.nodeType !== 9 && container.nodeType !== 11)
|
|
595
545
|
throw Error(formatProdErrorMessage(299));
|
|
596
546
|
return createPortal$1(children, container, null, key);
|
|
597
547
|
};
|
|
@@ -604,73 +554,73 @@
|
|
|
604
554
|
}
|
|
605
555
|
};
|
|
606
556
|
exports.preconnect = function(href, options2) {
|
|
607
|
-
"string"
|
|
557
|
+
typeof href == "string" && (options2 ? (options2 = options2.crossOrigin, options2 = typeof options2 == "string" ? options2 === "use-credentials" ? options2 : "" : void 0) : options2 = null, Internals.d.C(href, options2));
|
|
608
558
|
};
|
|
609
559
|
exports.prefetchDNS = function(href) {
|
|
610
|
-
"string"
|
|
560
|
+
typeof href == "string" && Internals.d.D(href);
|
|
611
561
|
};
|
|
612
562
|
exports.preinit = function(href, options2) {
|
|
613
|
-
if ("string"
|
|
614
|
-
var as = options2.as, crossOrigin = getCrossOriginStringAs(as, options2.crossOrigin), integrity =
|
|
615
|
-
"style"
|
|
563
|
+
if (typeof href == "string" && options2 && typeof options2.as == "string") {
|
|
564
|
+
var as = options2.as, crossOrigin = getCrossOriginStringAs(as, options2.crossOrigin), integrity = typeof options2.integrity == "string" ? options2.integrity : void 0, fetchPriority = typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0;
|
|
565
|
+
as === "style" ? Internals.d.S(
|
|
616
566
|
href,
|
|
617
|
-
|
|
567
|
+
typeof options2.precedence == "string" ? options2.precedence : void 0,
|
|
618
568
|
{
|
|
619
569
|
crossOrigin,
|
|
620
570
|
integrity,
|
|
621
571
|
fetchPriority
|
|
622
572
|
}
|
|
623
|
-
) : "script"
|
|
573
|
+
) : as === "script" && Internals.d.X(href, {
|
|
624
574
|
crossOrigin,
|
|
625
575
|
integrity,
|
|
626
576
|
fetchPriority,
|
|
627
|
-
nonce:
|
|
577
|
+
nonce: typeof options2.nonce == "string" ? options2.nonce : void 0
|
|
628
578
|
});
|
|
629
579
|
}
|
|
630
580
|
};
|
|
631
581
|
exports.preinitModule = function(href, options2) {
|
|
632
|
-
if ("string"
|
|
633
|
-
if ("object"
|
|
634
|
-
if (
|
|
582
|
+
if (typeof href == "string")
|
|
583
|
+
if (typeof options2 == "object" && options2 !== null) {
|
|
584
|
+
if (options2.as == null || options2.as === "script") {
|
|
635
585
|
var crossOrigin = getCrossOriginStringAs(
|
|
636
586
|
options2.as,
|
|
637
587
|
options2.crossOrigin
|
|
638
588
|
);
|
|
639
589
|
Internals.d.M(href, {
|
|
640
590
|
crossOrigin,
|
|
641
|
-
integrity:
|
|
642
|
-
nonce:
|
|
643
|
-
fetchPriority:
|
|
591
|
+
integrity: typeof options2.integrity == "string" ? options2.integrity : void 0,
|
|
592
|
+
nonce: typeof options2.nonce == "string" ? options2.nonce : void 0,
|
|
593
|
+
fetchPriority: typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0
|
|
644
594
|
});
|
|
645
595
|
}
|
|
646
|
-
} else
|
|
596
|
+
} else options2 == null && Internals.d.M(href);
|
|
647
597
|
};
|
|
648
598
|
exports.preload = function(href, options2) {
|
|
649
|
-
if ("string"
|
|
599
|
+
if (typeof href == "string" && typeof options2 == "object" && options2 !== null && typeof options2.as == "string") {
|
|
650
600
|
var as = options2.as, crossOrigin = getCrossOriginStringAs(as, options2.crossOrigin);
|
|
651
601
|
Internals.d.L(href, as, {
|
|
652
602
|
crossOrigin,
|
|
653
|
-
integrity:
|
|
654
|
-
nonce:
|
|
655
|
-
type:
|
|
656
|
-
fetchPriority:
|
|
657
|
-
referrerPolicy:
|
|
658
|
-
imageSrcSet:
|
|
659
|
-
imageSizes:
|
|
660
|
-
media:
|
|
603
|
+
integrity: typeof options2.integrity == "string" ? options2.integrity : void 0,
|
|
604
|
+
nonce: typeof options2.nonce == "string" ? options2.nonce : void 0,
|
|
605
|
+
type: typeof options2.type == "string" ? options2.type : void 0,
|
|
606
|
+
fetchPriority: typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0,
|
|
607
|
+
referrerPolicy: typeof options2.referrerPolicy == "string" ? options2.referrerPolicy : void 0,
|
|
608
|
+
imageSrcSet: typeof options2.imageSrcSet == "string" ? options2.imageSrcSet : void 0,
|
|
609
|
+
imageSizes: typeof options2.imageSizes == "string" ? options2.imageSizes : void 0,
|
|
610
|
+
media: typeof options2.media == "string" ? options2.media : void 0
|
|
661
611
|
});
|
|
662
612
|
}
|
|
663
613
|
};
|
|
664
614
|
exports.preloadModule = function(href, options2) {
|
|
665
|
-
if ("string"
|
|
615
|
+
if (typeof href == "string")
|
|
666
616
|
if (options2) {
|
|
667
617
|
var crossOrigin = getCrossOriginStringAs(options2.as, options2.crossOrigin);
|
|
668
618
|
Internals.d.m(href, {
|
|
669
|
-
as:
|
|
619
|
+
as: typeof options2.as == "string" && options2.as !== "script" ? options2.as : void 0,
|
|
670
620
|
crossOrigin,
|
|
671
|
-
integrity:
|
|
672
|
-
nonce:
|
|
673
|
-
fetchPriority:
|
|
621
|
+
integrity: typeof options2.integrity == "string" ? options2.integrity : void 0,
|
|
622
|
+
nonce: typeof options2.nonce == "string" ? options2.nonce : void 0,
|
|
623
|
+
fetchPriority: typeof options2.fetchPriority == "string" ? options2.fetchPriority : void 0
|
|
674
624
|
});
|
|
675
625
|
} else Internals.d.m(href);
|
|
676
626
|
};
|
|
@@ -695,24 +645,14 @@
|
|
|
695
645
|
"../../node_modules/react-dom/index.js"(exports, module) {
|
|
696
646
|
"use strict";
|
|
697
647
|
function checkDCE() {
|
|
698
|
-
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
try {
|
|
705
|
-
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
706
|
-
} catch (err) {
|
|
707
|
-
console.error(err);
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
if (true) {
|
|
711
|
-
checkDCE();
|
|
712
|
-
module.exports = require_react_dom_production();
|
|
713
|
-
} else {
|
|
714
|
-
module.exports = null;
|
|
648
|
+
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
|
|
649
|
+
try {
|
|
650
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
651
|
+
} catch (err) {
|
|
652
|
+
console.error(err);
|
|
653
|
+
}
|
|
715
654
|
}
|
|
655
|
+
checkDCE(), module.exports = require_react_dom_production();
|
|
716
656
|
}
|
|
717
657
|
});
|
|
718
658
|
|
|
@@ -733,17 +673,17 @@
|
|
|
733
673
|
var index2 = heap.length;
|
|
734
674
|
heap.push(node);
|
|
735
675
|
a: for (; 0 < index2; ) {
|
|
736
|
-
var parentIndex = index2 - 1 >>> 1,
|
|
737
|
-
if (0 < compare(
|
|
738
|
-
heap[parentIndex] = node, heap[index2] =
|
|
676
|
+
var parentIndex = index2 - 1 >>> 1, parent2 = heap[parentIndex];
|
|
677
|
+
if (0 < compare(parent2, node))
|
|
678
|
+
heap[parentIndex] = node, heap[index2] = parent2, index2 = parentIndex;
|
|
739
679
|
else break a;
|
|
740
680
|
}
|
|
741
681
|
}
|
|
742
682
|
function peek(heap) {
|
|
743
|
-
return
|
|
683
|
+
return heap.length === 0 ? null : heap[0];
|
|
744
684
|
}
|
|
745
685
|
function pop(heap) {
|
|
746
|
-
if (
|
|
686
|
+
if (heap.length === 0) return null;
|
|
747
687
|
var first = heap[0], last = heap.pop();
|
|
748
688
|
if (last !== first) {
|
|
749
689
|
heap[0] = last;
|
|
@@ -760,38 +700,18 @@
|
|
|
760
700
|
}
|
|
761
701
|
function compare(a, b) {
|
|
762
702
|
var diff = a.sortIndex - b.sortIndex;
|
|
763
|
-
return
|
|
703
|
+
return diff !== 0 ? diff : a.id - b.id;
|
|
764
704
|
}
|
|
765
705
|
exports.unstable_now = void 0;
|
|
766
|
-
|
|
767
|
-
localPerformance
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
localDate = Date, initialTime = localDate.now();
|
|
773
|
-
exports.unstable_now = function() {
|
|
774
|
-
return localDate.now() - initialTime;
|
|
775
|
-
};
|
|
776
|
-
}
|
|
777
|
-
var localPerformance;
|
|
778
|
-
var localDate;
|
|
779
|
-
var initialTime;
|
|
780
|
-
var taskQueue = [];
|
|
781
|
-
var timerQueue = [];
|
|
782
|
-
var taskIdCounter = 1;
|
|
783
|
-
var currentTask = null;
|
|
784
|
-
var currentPriorityLevel = 3;
|
|
785
|
-
var isPerformingWork = false;
|
|
786
|
-
var isHostCallbackScheduled = false;
|
|
787
|
-
var isHostTimeoutScheduled = false;
|
|
788
|
-
var needsPaint = false;
|
|
789
|
-
var localSetTimeout = "function" === typeof setTimeout ? setTimeout : null;
|
|
790
|
-
var localClearTimeout = "function" === typeof clearTimeout ? clearTimeout : null;
|
|
791
|
-
var localSetImmediate = "undefined" !== typeof setImmediate ? setImmediate : null;
|
|
706
|
+
typeof performance == "object" && typeof performance.now == "function" ? (localPerformance = performance, exports.unstable_now = function() {
|
|
707
|
+
return localPerformance.now();
|
|
708
|
+
}) : (localDate = Date, initialTime = localDate.now(), exports.unstable_now = function() {
|
|
709
|
+
return localDate.now() - initialTime;
|
|
710
|
+
});
|
|
711
|
+
var localPerformance, localDate, initialTime, taskQueue = [], timerQueue = [], taskIdCounter = 1, currentTask = null, currentPriorityLevel = 3, isPerformingWork = !1, isHostCallbackScheduled = !1, isHostTimeoutScheduled = !1, needsPaint = !1, localSetTimeout = typeof setTimeout == "function" ? setTimeout : null, localClearTimeout = typeof clearTimeout == "function" ? clearTimeout : null, localSetImmediate = typeof setImmediate < "u" ? setImmediate : null;
|
|
792
712
|
function advanceTimers(currentTime) {
|
|
793
|
-
for (var timer = peek(timerQueue);
|
|
794
|
-
if (
|
|
713
|
+
for (var timer = peek(timerQueue); timer !== null; ) {
|
|
714
|
+
if (timer.callback === null) pop(timerQueue);
|
|
795
715
|
else if (timer.startTime <= currentTime)
|
|
796
716
|
pop(timerQueue), timer.sortIndex = timer.expirationTime, push(taskQueue, timer);
|
|
797
717
|
else break;
|
|
@@ -799,96 +719,73 @@
|
|
|
799
719
|
}
|
|
800
720
|
}
|
|
801
721
|
function handleTimeout(currentTime) {
|
|
802
|
-
isHostTimeoutScheduled =
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
if (null !== peek(taskQueue))
|
|
806
|
-
isHostCallbackScheduled = true, isMessageLoopRunning || (isMessageLoopRunning = true, schedulePerformWorkUntilDeadline());
|
|
722
|
+
if (isHostTimeoutScheduled = !1, advanceTimers(currentTime), !isHostCallbackScheduled)
|
|
723
|
+
if (peek(taskQueue) !== null)
|
|
724
|
+
isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline());
|
|
807
725
|
else {
|
|
808
726
|
var firstTimer = peek(timerQueue);
|
|
809
|
-
|
|
727
|
+
firstTimer !== null && requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);
|
|
810
728
|
}
|
|
811
729
|
}
|
|
812
|
-
var isMessageLoopRunning =
|
|
813
|
-
var taskTimeoutID = -1;
|
|
814
|
-
var frameInterval = 5;
|
|
815
|
-
var startTime = -1;
|
|
730
|
+
var isMessageLoopRunning = !1, taskTimeoutID = -1, frameInterval = 5, startTime = -1;
|
|
816
731
|
function shouldYieldToHost() {
|
|
817
|
-
return needsPaint ?
|
|
732
|
+
return needsPaint ? !0 : !(exports.unstable_now() - startTime < frameInterval);
|
|
818
733
|
}
|
|
819
734
|
function performWorkUntilDeadline() {
|
|
820
|
-
needsPaint =
|
|
821
|
-
if (isMessageLoopRunning) {
|
|
735
|
+
if (needsPaint = !1, isMessageLoopRunning) {
|
|
822
736
|
var currentTime = exports.unstable_now();
|
|
823
737
|
startTime = currentTime;
|
|
824
|
-
var hasMoreWork =
|
|
738
|
+
var hasMoreWork = !0;
|
|
825
739
|
try {
|
|
826
740
|
a: {
|
|
827
|
-
isHostCallbackScheduled =
|
|
828
|
-
isHostTimeoutScheduled && (isHostTimeoutScheduled = false, localClearTimeout(taskTimeoutID), taskTimeoutID = -1);
|
|
829
|
-
isPerformingWork = true;
|
|
741
|
+
isHostCallbackScheduled = !1, isHostTimeoutScheduled && (isHostTimeoutScheduled = !1, localClearTimeout(taskTimeoutID), taskTimeoutID = -1), isPerformingWork = !0;
|
|
830
742
|
var previousPriorityLevel = currentPriorityLevel;
|
|
831
743
|
try {
|
|
832
744
|
b: {
|
|
833
|
-
advanceTimers(currentTime);
|
|
834
|
-
for (currentTask = peek(taskQueue); null !== currentTask && !(currentTask.expirationTime > currentTime && shouldYieldToHost()); ) {
|
|
745
|
+
for (advanceTimers(currentTime), currentTask = peek(taskQueue); currentTask !== null && !(currentTask.expirationTime > currentTime && shouldYieldToHost()); ) {
|
|
835
746
|
var callback = currentTask.callback;
|
|
836
|
-
if ("function"
|
|
837
|
-
currentTask.callback = null;
|
|
838
|
-
currentPriorityLevel = currentTask.priorityLevel;
|
|
747
|
+
if (typeof callback == "function") {
|
|
748
|
+
currentTask.callback = null, currentPriorityLevel = currentTask.priorityLevel;
|
|
839
749
|
var continuationCallback = callback(
|
|
840
750
|
currentTask.expirationTime <= currentTime
|
|
841
751
|
);
|
|
842
|
-
currentTime = exports.unstable_now()
|
|
843
|
-
|
|
844
|
-
currentTask.callback = continuationCallback;
|
|
845
|
-
advanceTimers(currentTime);
|
|
846
|
-
hasMoreWork = true;
|
|
752
|
+
if (currentTime = exports.unstable_now(), typeof continuationCallback == "function") {
|
|
753
|
+
currentTask.callback = continuationCallback, advanceTimers(currentTime), hasMoreWork = !0;
|
|
847
754
|
break b;
|
|
848
755
|
}
|
|
849
|
-
currentTask === peek(taskQueue) && pop(taskQueue);
|
|
850
|
-
advanceTimers(currentTime);
|
|
756
|
+
currentTask === peek(taskQueue) && pop(taskQueue), advanceTimers(currentTime);
|
|
851
757
|
} else pop(taskQueue);
|
|
852
758
|
currentTask = peek(taskQueue);
|
|
853
759
|
}
|
|
854
|
-
if (
|
|
760
|
+
if (currentTask !== null) hasMoreWork = !0;
|
|
855
761
|
else {
|
|
856
762
|
var firstTimer = peek(timerQueue);
|
|
857
|
-
|
|
763
|
+
firstTimer !== null && requestHostTimeout(
|
|
858
764
|
handleTimeout,
|
|
859
765
|
firstTimer.startTime - currentTime
|
|
860
|
-
);
|
|
861
|
-
hasMoreWork = false;
|
|
766
|
+
), hasMoreWork = !1;
|
|
862
767
|
}
|
|
863
768
|
}
|
|
864
769
|
break a;
|
|
865
770
|
} finally {
|
|
866
|
-
currentTask = null, currentPriorityLevel = previousPriorityLevel, isPerformingWork =
|
|
771
|
+
currentTask = null, currentPriorityLevel = previousPriorityLevel, isPerformingWork = !1;
|
|
867
772
|
}
|
|
868
773
|
hasMoreWork = void 0;
|
|
869
774
|
}
|
|
870
775
|
} finally {
|
|
871
|
-
hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning =
|
|
776
|
+
hasMoreWork ? schedulePerformWorkUntilDeadline() : isMessageLoopRunning = !1;
|
|
872
777
|
}
|
|
873
778
|
}
|
|
874
779
|
}
|
|
875
780
|
var schedulePerformWorkUntilDeadline;
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
port.postMessage(null);
|
|
885
|
-
};
|
|
886
|
-
} else
|
|
887
|
-
schedulePerformWorkUntilDeadline = function() {
|
|
888
|
-
localSetTimeout(performWorkUntilDeadline, 0);
|
|
889
|
-
};
|
|
890
|
-
var channel;
|
|
891
|
-
var port;
|
|
781
|
+
typeof localSetImmediate == "function" ? schedulePerformWorkUntilDeadline = function() {
|
|
782
|
+
localSetImmediate(performWorkUntilDeadline);
|
|
783
|
+
} : typeof MessageChannel < "u" ? (channel = new MessageChannel(), port = channel.port2, channel.port1.onmessage = performWorkUntilDeadline, schedulePerformWorkUntilDeadline = function() {
|
|
784
|
+
port.postMessage(null);
|
|
785
|
+
}) : schedulePerformWorkUntilDeadline = function() {
|
|
786
|
+
localSetTimeout(performWorkUntilDeadline, 0);
|
|
787
|
+
};
|
|
788
|
+
var channel, port;
|
|
892
789
|
function requestHostTimeout(callback, ms) {
|
|
893
790
|
taskTimeoutID = localSetTimeout(function() {
|
|
894
791
|
callback(exports.unstable_now());
|
|
@@ -930,7 +827,7 @@
|
|
|
930
827
|
}
|
|
931
828
|
};
|
|
932
829
|
exports.unstable_requestPaint = function() {
|
|
933
|
-
needsPaint =
|
|
830
|
+
needsPaint = !0;
|
|
934
831
|
};
|
|
935
832
|
exports.unstable_runWithPriority = function(priorityLevel, eventHandler) {
|
|
936
833
|
switch (priorityLevel) {
|
|
@@ -953,8 +850,7 @@
|
|
|
953
850
|
};
|
|
954
851
|
exports.unstable_scheduleCallback = function(priorityLevel, callback, options2) {
|
|
955
852
|
var currentTime = exports.unstable_now();
|
|
956
|
-
|
|
957
|
-
switch (priorityLevel) {
|
|
853
|
+
switch (typeof options2 == "object" && options2 !== null ? (options2 = options2.delay, options2 = typeof options2 == "number" && 0 < options2 ? currentTime + options2 : currentTime) : options2 = currentTime, priorityLevel) {
|
|
958
854
|
case 1:
|
|
959
855
|
var timeout = -1;
|
|
960
856
|
break;
|
|
@@ -970,17 +866,14 @@
|
|
|
970
866
|
default:
|
|
971
867
|
timeout = 5e3;
|
|
972
868
|
}
|
|
973
|
-
timeout = options2 + timeout
|
|
974
|
-
priorityLevel = {
|
|
869
|
+
return timeout = options2 + timeout, priorityLevel = {
|
|
975
870
|
id: taskIdCounter++,
|
|
976
871
|
callback,
|
|
977
872
|
priorityLevel,
|
|
978
873
|
startTime: options2,
|
|
979
874
|
expirationTime: timeout,
|
|
980
875
|
sortIndex: -1
|
|
981
|
-
};
|
|
982
|
-
options2 > currentTime ? (priorityLevel.sortIndex = options2, push(timerQueue, priorityLevel), null === peek(taskQueue) && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = true, requestHostTimeout(handleTimeout, options2 - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = true, isMessageLoopRunning || (isMessageLoopRunning = true, schedulePerformWorkUntilDeadline())));
|
|
983
|
-
return priorityLevel;
|
|
876
|
+
}, options2 > currentTime ? (priorityLevel.sortIndex = options2, push(timerQueue, priorityLevel), peek(taskQueue) === null && priorityLevel === peek(timerQueue) && (isHostTimeoutScheduled ? (localClearTimeout(taskTimeoutID), taskTimeoutID = -1) : isHostTimeoutScheduled = !0, requestHostTimeout(handleTimeout, options2 - currentTime))) : (priorityLevel.sortIndex = timeout, push(taskQueue, priorityLevel), isHostCallbackScheduled || isPerformingWork || (isHostCallbackScheduled = !0, isMessageLoopRunning || (isMessageLoopRunning = !0, schedulePerformWorkUntilDeadline()))), priorityLevel;
|
|
984
877
|
};
|
|
985
878
|
exports.unstable_shouldYield = shouldYieldToHost;
|
|
986
879
|
exports.unstable_wrapCallback = function(callback) {
|
|
@@ -1002,10 +895,6 @@
|
|
|
1002
895
|
var require_scheduler = __commonJS({
|
|
1003
896
|
"../../node_modules/scheduler/index.js"(exports, module) {
|
|
1004
897
|
"use strict";
|
|
1005
|
-
|
|
1006
|
-
module.exports = require_scheduler_production();
|
|
1007
|
-
} else {
|
|
1008
|
-
module.exports = null;
|
|
1009
|
-
}
|
|
898
|
+
module.exports = require_scheduler_production();
|
|
1010
899
|
}
|
|
1011
900
|
});
|