mewkit 1.14.1 → 1.16.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/NOTICE +24 -0
- package/README.md +36 -70
- package/dist/commands/capabilities.d.ts +13 -0
- package/dist/commands/capabilities.d.ts.map +1 -0
- package/dist/commands/capabilities.js +230 -0
- package/dist/commands/capabilities.js.map +1 -0
- package/dist/commands/context.d.ts +10 -0
- package/dist/commands/context.d.ts.map +1 -0
- package/dist/commands/context.js +125 -0
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/doctor.d.ts +27 -0
- package/dist/commands/doctor.d.ts.map +1 -1
- package/dist/commands/doctor.js +123 -0
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/providers.d.ts +2 -0
- package/dist/commands/providers.d.ts.map +1 -1
- package/dist/commands/providers.js +77 -0
- package/dist/commands/providers.js.map +1 -1
- package/dist/commands/task-state.d.ts +13 -0
- package/dist/commands/task-state.d.ts.map +1 -0
- package/dist/commands/task-state.js +106 -0
- package/dist/commands/task-state.js.map +1 -0
- package/dist/commands/validate.d.ts +48 -1
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +97 -24
- package/dist/commands/validate.js.map +1 -1
- package/dist/commands/visual-plan.d.ts +23 -0
- package/dist/commands/visual-plan.d.ts.map +1 -0
- package/dist/commands/visual-plan.js +26 -0
- package/dist/commands/visual-plan.js.map +1 -0
- package/dist/core/availability.d.ts +40 -0
- package/dist/core/availability.d.ts.map +1 -0
- package/dist/core/availability.js +47 -0
- package/dist/core/availability.js.map +1 -0
- package/dist/core/bootstrap.d.ts +19 -0
- package/dist/core/bootstrap.d.ts.map +1 -0
- package/dist/core/bootstrap.js +42 -0
- package/dist/core/bootstrap.js.map +1 -0
- package/dist/core/build-capabilities.d.ts +9 -0
- package/dist/core/build-capabilities.d.ts.map +1 -0
- package/dist/core/build-capabilities.js +123 -0
- package/dist/core/build-capabilities.js.map +1 -0
- package/dist/core/build-inventory.d.ts +2 -0
- package/dist/core/build-inventory.d.ts.map +1 -1
- package/dist/core/build-inventory.js +1 -1
- package/dist/core/build-inventory.js.map +1 -1
- package/dist/core/capability-authored.d.ts +26 -0
- package/dist/core/capability-authored.d.ts.map +1 -0
- package/dist/core/capability-authored.js +117 -0
- package/dist/core/capability-authored.js.map +1 -0
- package/dist/core/capability-snapshot.d.ts +13 -0
- package/dist/core/capability-snapshot.d.ts.map +1 -0
- package/dist/core/capability-snapshot.js +53 -0
- package/dist/core/capability-snapshot.js.map +1 -0
- package/dist/core/capability.d.ts +519 -0
- package/dist/core/capability.d.ts.map +1 -0
- package/dist/core/capability.js +114 -0
- package/dist/core/capability.js.map +1 -0
- package/dist/core/compute-checksums.d.ts.map +1 -1
- package/dist/core/compute-checksums.js +8 -2
- package/dist/core/compute-checksums.js.map +1 -1
- package/dist/core/consolidation-ledger.d.ts +30 -0
- package/dist/core/consolidation-ledger.d.ts.map +1 -0
- package/dist/core/consolidation-ledger.js +147 -0
- package/dist/core/consolidation-ledger.js.map +1 -0
- package/dist/core/generate-capability-view.d.ts +21 -0
- package/dist/core/generate-capability-view.d.ts.map +1 -0
- package/dist/core/generate-capability-view.js +48 -0
- package/dist/core/generate-capability-view.js.map +1 -0
- package/dist/core/install-metadata.d.ts +20 -3
- package/dist/core/install-metadata.d.ts.map +1 -1
- package/dist/core/install-metadata.js +49 -9
- package/dist/core/install-metadata.js.map +1 -1
- package/dist/core/provider-adapter.d.ts +28 -0
- package/dist/core/provider-adapter.d.ts.map +1 -0
- package/dist/core/provider-adapter.js +31 -0
- package/dist/core/provider-adapter.js.map +1 -0
- package/dist/core/provider-invocation.d.ts +14 -0
- package/dist/core/provider-invocation.d.ts.map +1 -0
- package/dist/core/provider-invocation.js +56 -0
- package/dist/core/provider-invocation.js.map +1 -0
- package/dist/core/provider-lifecycle.d.ts +35 -0
- package/dist/core/provider-lifecycle.d.ts.map +1 -0
- package/dist/core/provider-lifecycle.js +101 -0
- package/dist/core/provider-lifecycle.js.map +1 -0
- package/dist/core/provider-projection.d.ts +29 -0
- package/dist/core/provider-projection.d.ts.map +1 -0
- package/dist/core/provider-projection.js +47 -0
- package/dist/core/provider-projection.js.map +1 -0
- package/dist/core/release-metadata.d.ts +7 -0
- package/dist/core/release-metadata.d.ts.map +1 -1
- package/dist/core/release-metadata.js +13 -0
- package/dist/core/release-metadata.js.map +1 -1
- package/dist/core/repo-context-adapter.d.ts +23 -0
- package/dist/core/repo-context-adapter.d.ts.map +1 -0
- package/dist/core/repo-context-adapter.js +44 -0
- package/dist/core/repo-context-adapter.js.map +1 -0
- package/dist/core/repo-context.d.ts +147 -0
- package/dist/core/repo-context.d.ts.map +1 -0
- package/dist/core/repo-context.js +204 -0
- package/dist/core/repo-context.js.map +1 -0
- package/dist/core/resolve-capabilities.d.ts +70 -0
- package/dist/core/resolve-capabilities.d.ts.map +1 -0
- package/dist/core/resolve-capabilities.js +124 -0
- package/dist/core/resolve-capabilities.js.map +1 -0
- package/dist/core/smart-update.d.ts.map +1 -1
- package/dist/core/smart-update.js +13 -12
- package/dist/core/smart-update.js.map +1 -1
- package/dist/core/task-record.d.ts +252 -0
- package/dist/core/task-record.d.ts.map +1 -0
- package/dist/core/task-record.js +252 -0
- package/dist/core/task-record.js.map +1 -0
- package/dist/core/validate-capabilities.d.ts +12 -0
- package/dist/core/validate-capabilities.d.ts.map +1 -0
- package/dist/core/validate-capabilities.js +138 -0
- package/dist/core/validate-capabilities.js.map +1 -0
- package/dist/index.js +99 -25
- package/dist/index.js.map +1 -1
- package/dist/local-web/atomic-write.d.ts +15 -0
- package/dist/local-web/atomic-write.d.ts.map +1 -0
- package/dist/local-web/atomic-write.js +69 -0
- package/dist/local-web/atomic-write.js.map +1 -0
- package/dist/local-web/constants.d.ts +13 -0
- package/dist/local-web/constants.d.ts.map +1 -0
- package/dist/local-web/constants.js +13 -0
- package/dist/local-web/constants.js.map +1 -0
- package/dist/local-web/etag.d.ts +19 -0
- package/dist/local-web/etag.d.ts.map +1 -0
- package/dist/local-web/etag.js +32 -0
- package/dist/local-web/etag.js.map +1 -0
- package/dist/local-web/host-guard.d.ts +12 -0
- package/dist/local-web/host-guard.d.ts.map +1 -0
- package/dist/local-web/host-guard.js +18 -0
- package/dist/local-web/host-guard.js.map +1 -0
- package/dist/local-web/index.d.ts +23 -0
- package/dist/local-web/index.d.ts.map +1 -0
- package/dist/local-web/index.js +23 -0
- package/dist/local-web/index.js.map +1 -0
- package/dist/local-web/local-server.d.ts +37 -0
- package/dist/local-web/local-server.d.ts.map +1 -0
- package/dist/local-web/local-server.js +85 -0
- package/dist/local-web/local-server.js.map +1 -0
- package/dist/local-web/open-browser.d.ts +12 -0
- package/dist/local-web/open-browser.d.ts.map +1 -0
- package/dist/{orchviz/open-url.js → local-web/open-browser.js} +9 -8
- package/dist/local-web/open-browser.js.map +1 -0
- package/dist/local-web/origin-guard.d.ts +11 -0
- package/dist/local-web/origin-guard.d.ts.map +1 -0
- package/dist/local-web/origin-guard.js +15 -0
- package/dist/local-web/origin-guard.js.map +1 -0
- package/dist/local-web/path-boundary.d.ts +20 -0
- package/dist/local-web/path-boundary.d.ts.map +1 -0
- package/dist/local-web/path-boundary.js +39 -0
- package/dist/local-web/path-boundary.js.map +1 -0
- package/dist/local-web/request-body.d.ts +24 -0
- package/dist/local-web/request-body.d.ts.map +1 -0
- package/dist/local-web/request-body.js +68 -0
- package/dist/local-web/request-body.js.map +1 -0
- package/dist/local-web/static-handler.d.ts +14 -0
- package/dist/local-web/static-handler.d.ts.map +1 -0
- package/dist/{orchviz/server → local-web}/static-handler.js +11 -6
- package/dist/local-web/static-handler.js.map +1 -0
- package/dist/migrate/capability-bootstrap-projection.d.ts +11 -0
- package/dist/migrate/capability-bootstrap-projection.d.ts.map +1 -0
- package/dist/migrate/capability-bootstrap-projection.js +48 -0
- package/dist/migrate/capability-bootstrap-projection.js.map +1 -0
- package/dist/migrate/migrate-orchestrator.d.ts.map +1 -1
- package/dist/migrate/migrate-orchestrator.js +22 -0
- package/dist/migrate/migrate-orchestrator.js.map +1 -1
- package/dist/migrate/reconcile/portable-manifest.d.ts +12 -12
- package/dist/migrate/reconcile/portable-registry.d.ts +30 -30
- package/dist/migrate/types.d.ts +10 -10
- package/dist/{orchviz/token-estimator.d.ts → token-estimator/index.d.ts} +6 -1
- package/dist/token-estimator/index.d.ts.map +1 -0
- package/dist/{orchviz/token-estimator.js → token-estimator/index.js} +11 -2
- package/dist/token-estimator/index.js.map +1 -0
- package/dist/visual-plan/__fixtures__/valid-plan.d.ts +15 -0
- package/dist/visual-plan/__fixtures__/valid-plan.d.ts.map +1 -0
- package/dist/visual-plan/__fixtures__/valid-plan.js +79 -0
- package/dist/visual-plan/__fixtures__/valid-plan.js.map +1 -0
- package/dist/visual-plan/application/apply-feedback.d.ts +31 -0
- package/dist/visual-plan/application/apply-feedback.d.ts.map +1 -0
- package/dist/visual-plan/application/apply-feedback.js +85 -0
- package/dist/visual-plan/application/apply-feedback.js.map +1 -0
- package/dist/visual-plan/application/apply-patch-op.d.ts +13 -0
- package/dist/visual-plan/application/apply-patch-op.d.ts.map +1 -0
- package/dist/visual-plan/application/apply-patch-op.js +72 -0
- package/dist/visual-plan/application/apply-patch-op.js.map +1 -0
- package/dist/visual-plan/application/approve.d.ts +24 -0
- package/dist/visual-plan/application/approve.d.ts.map +1 -0
- package/dist/visual-plan/application/approve.js +53 -0
- package/dist/visual-plan/application/approve.js.map +1 -0
- package/dist/visual-plan/application/clock.d.ts +8 -0
- package/dist/visual-plan/application/clock.d.ts.map +1 -0
- package/dist/visual-plan/application/clock.js +10 -0
- package/dist/visual-plan/application/clock.js.map +1 -0
- package/dist/visual-plan/application/export-plan.d.ts +19 -0
- package/dist/visual-plan/application/export-plan.d.ts.map +1 -0
- package/dist/visual-plan/application/export-plan.js +59 -0
- package/dist/visual-plan/application/export-plan.js.map +1 -0
- package/dist/visual-plan/application/patch-plan.d.ts +26 -0
- package/dist/visual-plan/application/patch-plan.d.ts.map +1 -0
- package/dist/visual-plan/application/patch-plan.js +48 -0
- package/dist/visual-plan/application/patch-plan.js.map +1 -0
- package/dist/visual-plan/application/prepare-feedback.d.ts +24 -0
- package/dist/visual-plan/application/prepare-feedback.d.ts.map +1 -0
- package/dist/visual-plan/application/prepare-feedback.js +70 -0
- package/dist/visual-plan/application/prepare-feedback.js.map +1 -0
- package/dist/visual-plan/application/rehash.d.ts +19 -0
- package/dist/visual-plan/application/rehash.d.ts.map +1 -0
- package/dist/visual-plan/application/rehash.js +43 -0
- package/dist/visual-plan/application/rehash.js.map +1 -0
- package/dist/visual-plan/application/status.d.ts +20 -0
- package/dist/visual-plan/application/status.d.ts.map +1 -0
- package/dist/visual-plan/application/status.js +27 -0
- package/dist/visual-plan/application/status.js.map +1 -0
- package/dist/visual-plan/application/validate-plan.d.ts +30 -0
- package/dist/visual-plan/application/validate-plan.d.ts.map +1 -0
- package/dist/visual-plan/application/validate-plan.js +59 -0
- package/dist/visual-plan/application/validate-plan.js.map +1 -0
- package/dist/visual-plan/domain/coverage.d.ts +35 -0
- package/dist/visual-plan/domain/coverage.d.ts.map +1 -0
- package/dist/visual-plan/domain/coverage.js +99 -0
- package/dist/visual-plan/domain/coverage.js.map +1 -0
- package/dist/visual-plan/domain/cross-refs.d.ts +20 -0
- package/dist/visual-plan/domain/cross-refs.d.ts.map +1 -0
- package/dist/visual-plan/domain/cross-refs.js +92 -0
- package/dist/visual-plan/domain/cross-refs.js.map +1 -0
- package/dist/visual-plan/domain/errors.d.ts +43 -0
- package/dist/visual-plan/domain/errors.d.ts.map +1 -0
- package/dist/visual-plan/domain/errors.js +33 -0
- package/dist/visual-plan/domain/errors.js.map +1 -0
- package/dist/visual-plan/domain/feedback-schemas.d.ts +160 -0
- package/dist/visual-plan/domain/feedback-schemas.d.ts.map +1 -0
- package/dist/visual-plan/domain/feedback-schemas.js +71 -0
- package/dist/visual-plan/domain/feedback-schemas.js.map +1 -0
- package/dist/visual-plan/domain/ids.d.ts +21 -0
- package/dist/visual-plan/domain/ids.d.ts.map +1 -0
- package/dist/visual-plan/domain/ids.js +25 -0
- package/dist/visual-plan/domain/ids.js.map +1 -0
- package/dist/visual-plan/domain/patches.d.ts +176 -0
- package/dist/visual-plan/domain/patches.d.ts.map +1 -0
- package/dist/visual-plan/domain/patches.js +41 -0
- package/dist/visual-plan/domain/patches.js.map +1 -0
- package/dist/visual-plan/domain/sanitizer-config.d.ts +61 -0
- package/dist/visual-plan/domain/sanitizer-config.d.ts.map +1 -0
- package/dist/visual-plan/domain/sanitizer-config.js +70 -0
- package/dist/visual-plan/domain/sanitizer-config.js.map +1 -0
- package/dist/visual-plan/domain/schemas.d.ts +1492 -0
- package/dist/visual-plan/domain/schemas.d.ts.map +1 -0
- package/dist/visual-plan/domain/schemas.js +166 -0
- package/dist/visual-plan/domain/schemas.js.map +1 -0
- package/dist/visual-plan/infrastructure/atomic-write.d.ts +11 -0
- package/dist/visual-plan/infrastructure/atomic-write.d.ts.map +1 -0
- package/dist/visual-plan/infrastructure/atomic-write.js +44 -0
- package/dist/visual-plan/infrastructure/atomic-write.js.map +1 -0
- package/dist/visual-plan/infrastructure/feedback-repository.d.ts +18 -0
- package/dist/visual-plan/infrastructure/feedback-repository.d.ts.map +1 -0
- package/dist/visual-plan/infrastructure/feedback-repository.js +59 -0
- package/dist/visual-plan/infrastructure/feedback-repository.js.map +1 -0
- package/dist/visual-plan/infrastructure/hashing.d.ts +37 -0
- package/dist/visual-plan/infrastructure/hashing.d.ts.map +1 -0
- package/dist/visual-plan/infrastructure/hashing.js +81 -0
- package/dist/visual-plan/infrastructure/hashing.js.map +1 -0
- package/dist/visual-plan/infrastructure/plan-state.d.ts +32 -0
- package/dist/visual-plan/infrastructure/plan-state.d.ts.map +1 -0
- package/dist/visual-plan/infrastructure/plan-state.js +58 -0
- package/dist/visual-plan/infrastructure/plan-state.js.map +1 -0
- package/dist/visual-plan/infrastructure/receipt-repository.d.ts +17 -0
- package/dist/visual-plan/infrastructure/receipt-repository.d.ts.map +1 -0
- package/dist/visual-plan/infrastructure/receipt-repository.js +59 -0
- package/dist/visual-plan/infrastructure/receipt-repository.js.map +1 -0
- package/dist/visual-plan/infrastructure/visual-plan-repository.d.ts +38 -0
- package/dist/visual-plan/infrastructure/visual-plan-repository.d.ts.map +1 -0
- package/dist/visual-plan/infrastructure/visual-plan-repository.js +97 -0
- package/dist/visual-plan/infrastructure/visual-plan-repository.js.map +1 -0
- package/dist/visual-plan/infrastructure/wireframe-sanitizer.d.ts +41 -0
- package/dist/visual-plan/infrastructure/wireframe-sanitizer.d.ts.map +1 -0
- package/dist/visual-plan/infrastructure/wireframe-sanitizer.js +72 -0
- package/dist/visual-plan/infrastructure/wireframe-sanitizer.js.map +1 -0
- package/dist/visual-plan/interface/cli.d.ts +29 -0
- package/dist/visual-plan/interface/cli.d.ts.map +1 -0
- package/dist/visual-plan/interface/cli.js +280 -0
- package/dist/visual-plan/interface/cli.js.map +1 -0
- package/dist/visual-plan/interface/studio.d.ts +20 -0
- package/dist/visual-plan/interface/studio.d.ts.map +1 -0
- package/dist/visual-plan/interface/studio.js +74 -0
- package/dist/visual-plan/interface/studio.js.map +1 -0
- package/dist/visual-plan/server/csp.d.ts +13 -0
- package/dist/visual-plan/server/csp.d.ts.map +1 -0
- package/dist/visual-plan/server/csp.js +17 -0
- package/dist/visual-plan/server/csp.js.map +1 -0
- package/dist/visual-plan/server/edit-lock.d.ts +28 -0
- package/dist/visual-plan/server/edit-lock.d.ts.map +1 -0
- package/dist/visual-plan/server/edit-lock.js +71 -0
- package/dist/visual-plan/server/edit-lock.js.map +1 -0
- package/dist/visual-plan/server/routes/feedback.d.ts +12 -0
- package/dist/visual-plan/server/routes/feedback.d.ts.map +1 -0
- package/dist/visual-plan/server/routes/feedback.js +63 -0
- package/dist/visual-plan/server/routes/feedback.js.map +1 -0
- package/dist/visual-plan/server/routes/get-plan.d.ts +14 -0
- package/dist/visual-plan/server/routes/get-plan.d.ts.map +1 -0
- package/dist/visual-plan/server/routes/get-plan.js +38 -0
- package/dist/visual-plan/server/routes/get-plan.js.map +1 -0
- package/dist/visual-plan/server/routes/patch.d.ts +10 -0
- package/dist/visual-plan/server/routes/patch.d.ts.map +1 -0
- package/dist/visual-plan/server/routes/patch.js +66 -0
- package/dist/visual-plan/server/routes/patch.js.map +1 -0
- package/dist/visual-plan/server/visual-plan-server.d.ts +30 -0
- package/dist/visual-plan/server/visual-plan-server.d.ts.map +1 -0
- package/dist/visual-plan/server/visual-plan-server.js +79 -0
- package/dist/visual-plan/server/visual-plan-server.js.map +1 -0
- package/dist/visual-plan-web/architects-daughter-latin-400-normal.woff +0 -0
- package/dist/visual-plan-web/architects-daughter-latin-400-normal.woff2 +0 -0
- package/dist/visual-plan-web/architects-daughter-latin-ext-400-normal.woff +0 -0
- package/dist/visual-plan-web/architects-daughter-latin-ext-400-normal.woff2 +0 -0
- package/dist/visual-plan-web/index.css +1 -0
- package/dist/visual-plan-web/index.html +17 -0
- package/dist/visual-plan-web/index.js +51 -0
- package/package.json +14 -17
- package/dist/commands/evolve.d.ts +0 -11
- package/dist/commands/evolve.d.ts.map +0 -1
- package/dist/commands/evolve.js +0 -63
- package/dist/commands/evolve.js.map +0 -1
- package/dist/commands/health.d.ts +0 -14
- package/dist/commands/health.d.ts.map +0 -1
- package/dist/commands/health.js +0 -193
- package/dist/commands/health.js.map +0 -1
- package/dist/commands/orchviz.d.ts +0 -12
- package/dist/commands/orchviz.d.ts.map +0 -1
- package/dist/commands/orchviz.js +0 -157
- package/dist/commands/orchviz.js.map +0 -1
- package/dist/commands/policy.d.ts +0 -8
- package/dist/commands/policy.d.ts.map +0 -1
- package/dist/commands/policy.js +0 -65
- package/dist/commands/policy.js.map +0 -1
- package/dist/commands/portability.d.ts +0 -7
- package/dist/commands/portability.d.ts.map +0 -1
- package/dist/commands/portability.js +0 -50
- package/dist/commands/portability.js.map +0 -1
- package/dist/commands/reflect.d.ts +0 -14
- package/dist/commands/reflect.d.ts.map +0 -1
- package/dist/commands/reflect.js +0 -135
- package/dist/commands/reflect.js.map +0 -1
- package/dist/commands/simulate.d.ts +0 -14
- package/dist/commands/simulate.d.ts.map +0 -1
- package/dist/commands/simulate.js +0 -86
- package/dist/commands/simulate.js.map +0 -1
- package/dist/core/event-log.d.ts +0 -44
- package/dist/core/event-log.d.ts.map +0 -1
- package/dist/core/event-log.js +0 -169
- package/dist/core/event-log.js.map +0 -1
- package/dist/core/evolution/event-clusters.d.ts +0 -4
- package/dist/core/evolution/event-clusters.d.ts.map +0 -1
- package/dist/core/evolution/event-clusters.js +0 -82
- package/dist/core/evolution/event-clusters.js.map +0 -1
- package/dist/core/evolution/recommendation-renderer.d.ts +0 -3
- package/dist/core/evolution/recommendation-renderer.d.ts.map +0 -1
- package/dist/core/evolution/recommendation-renderer.js +0 -24
- package/dist/core/evolution/recommendation-renderer.js.map +0 -1
- package/dist/core/evolution/review-failure-clusters.d.ts +0 -10
- package/dist/core/evolution/review-failure-clusters.d.ts.map +0 -1
- package/dist/core/evolution/review-failure-clusters.js +0 -30
- package/dist/core/evolution/review-failure-clusters.js.map +0 -1
- package/dist/core/evolution/suggestions.d.ts +0 -24
- package/dist/core/evolution/suggestions.d.ts.map +0 -1
- package/dist/core/evolution/suggestions.js +0 -11
- package/dist/core/evolution/suggestions.js.map +0 -1
- package/dist/core/gate-policy.d.ts +0 -20
- package/dist/core/gate-policy.d.ts.map +0 -1
- package/dist/core/gate-policy.js +0 -64
- package/dist/core/gate-policy.js.map +0 -1
- package/dist/core/portability-matrix.d.ts +0 -17
- package/dist/core/portability-matrix.d.ts.map +0 -1
- package/dist/core/portability-matrix.js +0 -31
- package/dist/core/portability-matrix.js.map +0 -1
- package/dist/core/simulation-runner.d.ts +0 -93
- package/dist/core/simulation-runner.d.ts.map +0 -1
- package/dist/core/simulation-runner.js +0 -161
- package/dist/core/simulation-runner.js.map +0 -1
- package/dist/core/usage/usage-analyzer.d.ts +0 -18
- package/dist/core/usage/usage-analyzer.d.ts.map +0 -1
- package/dist/core/usage/usage-analyzer.js +0 -41
- package/dist/core/usage/usage-analyzer.js.map +0 -1
- package/dist/memory/archive.d.ts +0 -9
- package/dist/memory/archive.d.ts.map +0 -1
- package/dist/memory/archive.js +0 -42
- package/dist/memory/archive.js.map +0 -1
- package/dist/memory/compact.d.ts +0 -9
- package/dist/memory/compact.d.ts.map +0 -1
- package/dist/memory/compact.js +0 -33
- package/dist/memory/compact.js.map +0 -1
- package/dist/memory/conflicts.d.ts +0 -8
- package/dist/memory/conflicts.d.ts.map +0 -1
- package/dist/memory/conflicts.js +0 -28
- package/dist/memory/conflicts.js.map +0 -1
- package/dist/memory/promote.d.ts +0 -8
- package/dist/memory/promote.d.ts.map +0 -1
- package/dist/memory/promote.js +0 -10
- package/dist/memory/promote.js.map +0 -1
- package/dist/memory/store-utils.d.ts +0 -14
- package/dist/memory/store-utils.d.ts.map +0 -1
- package/dist/memory/store-utils.js +0 -44
- package/dist/memory/store-utils.js.map +0 -1
- package/dist/migrate/__tests__/frontmatter-parser.test.d.ts +0 -2
- package/dist/migrate/__tests__/frontmatter-parser.test.d.ts.map +0 -1
- package/dist/migrate/__tests__/frontmatter-parser.test.js +0 -73
- package/dist/migrate/__tests__/frontmatter-parser.test.js.map +0 -1
- package/dist/migrate/__tests__/md-strip-mewkit.test.d.ts +0 -2
- package/dist/migrate/__tests__/md-strip-mewkit.test.d.ts.map +0 -1
- package/dist/migrate/__tests__/md-strip-mewkit.test.js +0 -55
- package/dist/migrate/__tests__/md-strip-mewkit.test.js.map +0 -1
- package/dist/migrate/__tests__/migrate-scope-resolver.test.d.ts +0 -2
- package/dist/migrate/__tests__/migrate-scope-resolver.test.d.ts.map +0 -1
- package/dist/migrate/__tests__/migrate-scope-resolver.test.js +0 -53
- package/dist/migrate/__tests__/migrate-scope-resolver.test.js.map +0 -1
- package/dist/migrate/__tests__/process-lock.test.d.ts +0 -2
- package/dist/migrate/__tests__/process-lock.test.d.ts.map +0 -1
- package/dist/migrate/__tests__/process-lock.test.js +0 -63
- package/dist/migrate/__tests__/process-lock.test.js.map +0 -1
- package/dist/migrate/__tests__/provider-registry.test.d.ts +0 -2
- package/dist/migrate/__tests__/provider-registry.test.d.ts.map +0 -1
- package/dist/migrate/__tests__/provider-registry.test.js +0 -53
- package/dist/migrate/__tests__/provider-registry.test.js.map +0 -1
- package/dist/migrate/__tests__/reconciler.test.d.ts +0 -2
- package/dist/migrate/__tests__/reconciler.test.d.ts.map +0 -1
- package/dist/migrate/__tests__/reconciler.test.js +0 -180
- package/dist/migrate/__tests__/reconciler.test.js.map +0 -1
- package/dist/migrate/__tests__/skill-id-utils.test.d.ts +0 -2
- package/dist/migrate/__tests__/skill-id-utils.test.d.ts.map +0 -1
- package/dist/migrate/__tests__/skill-id-utils.test.js +0 -78
- package/dist/migrate/__tests__/skill-id-utils.test.js.map +0 -1
- package/dist/migrate/converters/md-to-codex-rules.d.ts +0 -10
- package/dist/migrate/converters/md-to-codex-rules.d.ts.map +0 -1
- package/dist/migrate/converters/md-to-codex-rules.js +0 -133
- package/dist/migrate/converters/md-to-codex-rules.js.map +0 -1
- package/dist/orchviz/constants.d.ts +0 -72
- package/dist/orchviz/constants.d.ts.map +0 -1
- package/dist/orchviz/constants.js +0 -105
- package/dist/orchviz/constants.js.map +0 -1
- package/dist/orchviz/fs-utils.d.ts +0 -24
- package/dist/orchviz/fs-utils.d.ts.map +0 -1
- package/dist/orchviz/fs-utils.js +0 -49
- package/dist/orchviz/fs-utils.js.map +0 -1
- package/dist/orchviz/index.d.ts +0 -29
- package/dist/orchviz/index.d.ts.map +0 -1
- package/dist/orchviz/index.js +0 -28
- package/dist/orchviz/index.js.map +0 -1
- package/dist/orchviz/log-persister.d.ts +0 -22
- package/dist/orchviz/log-persister.d.ts.map +0 -1
- package/dist/orchviz/log-persister.js +0 -96
- package/dist/orchviz/log-persister.js.map +0 -1
- package/dist/orchviz/logger.d.ts +0 -13
- package/dist/orchviz/logger.d.ts.map +0 -1
- package/dist/orchviz/logger.js +0 -47
- package/dist/orchviz/logger.js.map +0 -1
- package/dist/orchviz/open-url.d.ts +0 -11
- package/dist/orchviz/open-url.d.ts.map +0 -1
- package/dist/orchviz/open-url.js.map +0 -1
- package/dist/orchviz/overlay/collector.d.ts +0 -29
- package/dist/orchviz/overlay/collector.d.ts.map +0 -1
- package/dist/orchviz/overlay/collector.js +0 -38
- package/dist/orchviz/overlay/collector.js.map +0 -1
- package/dist/orchviz/overlay/gate-readers.d.ts +0 -18
- package/dist/orchviz/overlay/gate-readers.d.ts.map +0 -1
- package/dist/orchviz/overlay/gate-readers.js +0 -111
- package/dist/orchviz/overlay/gate-readers.js.map +0 -1
- package/dist/orchviz/overlay/session-state-readers.d.ts +0 -18
- package/dist/orchviz/overlay/session-state-readers.d.ts.map +0 -1
- package/dist/orchviz/overlay/session-state-readers.js +0 -78
- package/dist/orchviz/overlay/session-state-readers.js.map +0 -1
- package/dist/orchviz/parser/handle-progress.d.ts +0 -9
- package/dist/orchviz/parser/handle-progress.d.ts.map +0 -1
- package/dist/orchviz/parser/handle-progress.js +0 -38
- package/dist/orchviz/parser/handle-progress.js.map +0 -1
- package/dist/orchviz/parser/handle-system.d.ts +0 -22
- package/dist/orchviz/parser/handle-system.d.ts.map +0 -1
- package/dist/orchviz/parser/handle-system.js +0 -99
- package/dist/orchviz/parser/handle-system.js.map +0 -1
- package/dist/orchviz/parser/handle-text.d.ts +0 -10
- package/dist/orchviz/parser/handle-text.d.ts.map +0 -1
- package/dist/orchviz/parser/handle-text.js +0 -83
- package/dist/orchviz/parser/handle-text.js.map +0 -1
- package/dist/orchviz/parser/handle-thinking.d.ts +0 -10
- package/dist/orchviz/parser/handle-thinking.d.ts.map +0 -1
- package/dist/orchviz/parser/handle-thinking.js +0 -35
- package/dist/orchviz/parser/handle-thinking.js.map +0 -1
- package/dist/orchviz/parser/handle-tool-result.d.ts +0 -10
- package/dist/orchviz/parser/handle-tool-result.d.ts.map +0 -1
- package/dist/orchviz/parser/handle-tool-result.js +0 -130
- package/dist/orchviz/parser/handle-tool-result.js.map +0 -1
- package/dist/orchviz/parser/handle-tool-use.d.ts +0 -11
- package/dist/orchviz/parser/handle-tool-use.d.ts.map +0 -1
- package/dist/orchviz/parser/handle-tool-use.js +0 -120
- package/dist/orchviz/parser/handle-tool-use.js.map +0 -1
- package/dist/orchviz/parser/index.d.ts +0 -38
- package/dist/orchviz/parser/index.d.ts.map +0 -1
- package/dist/orchviz/parser/index.js +0 -144
- package/dist/orchviz/parser/index.js.map +0 -1
- package/dist/orchviz/parser/label-helpers.d.ts +0 -9
- package/dist/orchviz/parser/label-helpers.d.ts.map +0 -1
- package/dist/orchviz/parser/label-helpers.js +0 -44
- package/dist/orchviz/parser/label-helpers.js.map +0 -1
- package/dist/orchviz/parser/strip-ansi.d.ts +0 -6
- package/dist/orchviz/parser/strip-ansi.d.ts.map +0 -1
- package/dist/orchviz/parser/strip-ansi.js +0 -14
- package/dist/orchviz/parser/strip-ansi.js.map +0 -1
- package/dist/orchviz/parser/utils.d.ts +0 -20
- package/dist/orchviz/parser/utils.d.ts.map +0 -1
- package/dist/orchviz/parser/utils.js +0 -54
- package/dist/orchviz/parser/utils.js.map +0 -1
- package/dist/orchviz/permission-detection.d.ts +0 -32
- package/dist/orchviz/permission-detection.d.ts.map +0 -1
- package/dist/orchviz/permission-detection.js +0 -104
- package/dist/orchviz/permission-detection.js.map +0 -1
- package/dist/orchviz/plan/__tests__/apply-todo-toggle.test.d.ts +0 -15
- package/dist/orchviz/plan/__tests__/apply-todo-toggle.test.d.ts.map +0 -1
- package/dist/orchviz/plan/__tests__/apply-todo-toggle.test.js +0 -165
- package/dist/orchviz/plan/__tests__/apply-todo-toggle.test.js.map +0 -1
- package/dist/orchviz/plan/__tests__/atomic-write.test.d.ts +0 -11
- package/dist/orchviz/plan/__tests__/atomic-write.test.d.ts.map +0 -1
- package/dist/orchviz/plan/__tests__/atomic-write.test.js +0 -89
- package/dist/orchviz/plan/__tests__/atomic-write.test.js.map +0 -1
- package/dist/orchviz/plan/__tests__/end-to-end.test.d.ts +0 -10
- package/dist/orchviz/plan/__tests__/end-to-end.test.d.ts.map +0 -1
- package/dist/orchviz/plan/__tests__/end-to-end.test.js +0 -132
- package/dist/orchviz/plan/__tests__/end-to-end.test.js.map +0 -1
- package/dist/orchviz/plan/__tests__/etag.test.d.ts +0 -11
- package/dist/orchviz/plan/__tests__/etag.test.d.ts.map +0 -1
- package/dist/orchviz/plan/__tests__/etag.test.js +0 -92
- package/dist/orchviz/plan/__tests__/etag.test.js.map +0 -1
- package/dist/orchviz/plan/__tests__/list-plans.test.d.ts +0 -14
- package/dist/orchviz/plan/__tests__/list-plans.test.d.ts.map +0 -1
- package/dist/orchviz/plan/__tests__/list-plans.test.js +0 -154
- package/dist/orchviz/plan/__tests__/list-plans.test.js.map +0 -1
- package/dist/orchviz/plan/apply-todo-toggle.d.ts +0 -29
- package/dist/orchviz/plan/apply-todo-toggle.d.ts.map +0 -1
- package/dist/orchviz/plan/apply-todo-toggle.js +0 -129
- package/dist/orchviz/plan/apply-todo-toggle.js.map +0 -1
- package/dist/orchviz/plan/atomic-write.d.ts +0 -25
- package/dist/orchviz/plan/atomic-write.d.ts.map +0 -1
- package/dist/orchviz/plan/atomic-write.js +0 -85
- package/dist/orchviz/plan/atomic-write.js.map +0 -1
- package/dist/orchviz/plan/collector.d.ts +0 -49
- package/dist/orchviz/plan/collector.d.ts.map +0 -1
- package/dist/orchviz/plan/collector.js +0 -169
- package/dist/orchviz/plan/collector.js.map +0 -1
- package/dist/orchviz/plan/etag.d.ts +0 -24
- package/dist/orchviz/plan/etag.d.ts.map +0 -1
- package/dist/orchviz/plan/etag.js +0 -58
- package/dist/orchviz/plan/etag.js.map +0 -1
- package/dist/orchviz/plan/find-active-plan.d.ts +0 -9
- package/dist/orchviz/plan/find-active-plan.d.ts.map +0 -1
- package/dist/orchviz/plan/find-active-plan.js +0 -90
- package/dist/orchviz/plan/find-active-plan.js.map +0 -1
- package/dist/orchviz/plan/index.d.ts +0 -23
- package/dist/orchviz/plan/index.d.ts.map +0 -1
- package/dist/orchviz/plan/index.js +0 -91
- package/dist/orchviz/plan/index.js.map +0 -1
- package/dist/orchviz/plan/list-plans.d.ts +0 -19
- package/dist/orchviz/plan/list-plans.d.ts.map +0 -1
- package/dist/orchviz/plan/list-plans.js +0 -143
- package/dist/orchviz/plan/list-plans.js.map +0 -1
- package/dist/orchviz/plan/parse-phase-file.d.ts +0 -13
- package/dist/orchviz/plan/parse-phase-file.d.ts.map +0 -1
- package/dist/orchviz/plan/parse-phase-file.js +0 -134
- package/dist/orchviz/plan/parse-phase-file.js.map +0 -1
- package/dist/orchviz/plan/parse-plan-file.d.ts +0 -19
- package/dist/orchviz/plan/parse-plan-file.d.ts.map +0 -1
- package/dist/orchviz/plan/parse-plan-file.js +0 -62
- package/dist/orchviz/plan/parse-plan-file.js.map +0 -1
- package/dist/orchviz/plan/plan-constants.d.ts +0 -17
- package/dist/orchviz/plan/plan-constants.d.ts.map +0 -1
- package/dist/orchviz/plan/plan-constants.js +0 -19
- package/dist/orchviz/plan/plan-constants.js.map +0 -1
- package/dist/orchviz/plan/plan-lifecycle.d.ts +0 -17
- package/dist/orchviz/plan/plan-lifecycle.d.ts.map +0 -1
- package/dist/orchviz/plan/plan-lifecycle.js +0 -97
- package/dist/orchviz/plan/plan-lifecycle.js.map +0 -1
- package/dist/orchviz/plan/types.d.ts +0 -46
- package/dist/orchviz/plan/types.d.ts.map +0 -1
- package/dist/orchviz/plan/types.js +0 -6
- package/dist/orchviz/plan/types.js.map +0 -1
- package/dist/orchviz/protocol.d.ts +0 -171
- package/dist/orchviz/protocol.d.ts.map +0 -1
- package/dist/orchviz/protocol.js +0 -23
- package/dist/orchviz/protocol.js.map +0 -1
- package/dist/orchviz/redact.d.ts +0 -10
- package/dist/orchviz/redact.d.ts.map +0 -1
- package/dist/orchviz/redact.js +0 -38
- package/dist/orchviz/redact.js.map +0 -1
- package/dist/orchviz/sanitize.d.ts +0 -11
- package/dist/orchviz/sanitize.d.ts.map +0 -1
- package/dist/orchviz/sanitize.js +0 -38
- package/dist/orchviz/sanitize.js.map +0 -1
- package/dist/orchviz/server/__tests__/security-smoke.test.d.ts +0 -13
- package/dist/orchviz/server/__tests__/security-smoke.test.d.ts.map +0 -1
- package/dist/orchviz/server/__tests__/security-smoke.test.js +0 -207
- package/dist/orchviz/server/__tests__/security-smoke.test.js.map +0 -1
- package/dist/orchviz/server/__tests__/write-handlers.test.d.ts +0 -24
- package/dist/orchviz/server/__tests__/write-handlers.test.d.ts.map +0 -1
- package/dist/orchviz/server/__tests__/write-handlers.test.js +0 -347
- package/dist/orchviz/server/__tests__/write-handlers.test.js.map +0 -1
- package/dist/orchviz/server/api-handlers.d.ts +0 -55
- package/dist/orchviz/server/api-handlers.d.ts.map +0 -1
- package/dist/orchviz/server/api-handlers.js +0 -112
- package/dist/orchviz/server/api-handlers.js.map +0 -1
- package/dist/orchviz/server/index.d.ts +0 -36
- package/dist/orchviz/server/index.d.ts.map +0 -1
- package/dist/orchviz/server/index.js +0 -144
- package/dist/orchviz/server/index.js.map +0 -1
- package/dist/orchviz/server/sse-handler.d.ts +0 -28
- package/dist/orchviz/server/sse-handler.d.ts.map +0 -1
- package/dist/orchviz/server/sse-handler.js +0 -217
- package/dist/orchviz/server/sse-handler.js.map +0 -1
- package/dist/orchviz/server/static-handler.d.ts +0 -9
- package/dist/orchviz/server/static-handler.d.ts.map +0 -1
- package/dist/orchviz/server/static-handler.js.map +0 -1
- package/dist/orchviz/server/write-handlers.d.ts +0 -20
- package/dist/orchviz/server/write-handlers.d.ts.map +0 -1
- package/dist/orchviz/server/write-handlers.js +0 -184
- package/dist/orchviz/server/write-handlers.js.map +0 -1
- package/dist/orchviz/server/write-utils.d.ts +0 -59
- package/dist/orchviz/server/write-utils.d.ts.map +0 -1
- package/dist/orchviz/server/write-utils.js +0 -161
- package/dist/orchviz/server/write-utils.js.map +0 -1
- package/dist/orchviz/session-discovery.d.ts +0 -19
- package/dist/orchviz/session-discovery.d.ts.map +0 -1
- package/dist/orchviz/session-discovery.js +0 -104
- package/dist/orchviz/session-discovery.js.map +0 -1
- package/dist/orchviz/session-manager.d.ts +0 -17
- package/dist/orchviz/session-manager.d.ts.map +0 -1
- package/dist/orchviz/session-manager.js +0 -63
- package/dist/orchviz/session-manager.js.map +0 -1
- package/dist/orchviz/session-runtime.d.ts +0 -21
- package/dist/orchviz/session-runtime.d.ts.map +0 -1
- package/dist/orchviz/session-runtime.js +0 -135
- package/dist/orchviz/session-runtime.js.map +0 -1
- package/dist/orchviz/session-watcher.d.ts +0 -33
- package/dist/orchviz/session-watcher.d.ts.map +0 -1
- package/dist/orchviz/session-watcher.js +0 -135
- package/dist/orchviz/session-watcher.js.map +0 -1
- package/dist/orchviz/subagent-meta.d.ts +0 -12
- package/dist/orchviz/subagent-meta.d.ts.map +0 -1
- package/dist/orchviz/subagent-meta.js +0 -34
- package/dist/orchviz/subagent-meta.js.map +0 -1
- package/dist/orchviz/subagent-scanner.d.ts +0 -15
- package/dist/orchviz/subagent-scanner.d.ts.map +0 -1
- package/dist/orchviz/subagent-scanner.js +0 -27
- package/dist/orchviz/subagent-scanner.js.map +0 -1
- package/dist/orchviz/subagent-watcher.d.ts +0 -20
- package/dist/orchviz/subagent-watcher.d.ts.map +0 -1
- package/dist/orchviz/subagent-watcher.js +0 -160
- package/dist/orchviz/subagent-watcher.js.map +0 -1
- package/dist/orchviz/test-server-boot.d.ts +0 -28
- package/dist/orchviz/test-server-boot.d.ts.map +0 -1
- package/dist/orchviz/test-server-boot.js +0 -64
- package/dist/orchviz/test-server-boot.js.map +0 -1
- package/dist/orchviz/token-estimator.d.ts.map +0 -1
- package/dist/orchviz/token-estimator.js.map +0 -1
- package/dist/orchviz/tool-input-data.d.ts +0 -11
- package/dist/orchviz/tool-input-data.d.ts.map +0 -1
- package/dist/orchviz/tool-input-data.js +0 -74
- package/dist/orchviz/tool-input-data.js.map +0 -1
- package/dist/orchviz/tool-summarizer.d.ts +0 -16
- package/dist/orchviz/tool-summarizer.d.ts.map +0 -1
- package/dist/orchviz/tool-summarizer.js +0 -129
- package/dist/orchviz/tool-summarizer.js.map +0 -1
- package/dist/orchviz-web/fira-code-cyrillic-400-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-cyrillic-400-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-cyrillic-500-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-cyrillic-500-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-cyrillic-ext-400-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-cyrillic-ext-500-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-greek-400-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-greek-400-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-greek-500-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-greek-500-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-greek-ext-400-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-greek-ext-400-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-greek-ext-500-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-greek-ext-500-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-latin-400-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-latin-400-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-latin-500-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-latin-500-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-latin-ext-400-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-latin-ext-400-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-latin-ext-500-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-latin-ext-500-normal.woff2 +0 -0
- package/dist/orchviz-web/fira-code-symbols2-400-normal.woff +0 -0
- package/dist/orchviz-web/fira-code-symbols2-500-normal.woff +0 -0
- package/dist/orchviz-web/index.css +0 -1
- package/dist/orchviz-web/index.html +0 -18
- package/dist/orchviz-web/index.js +0 -53
- package/dist/orchviz-web/inter-cyrillic-400-normal.woff +0 -0
- package/dist/orchviz-web/inter-cyrillic-400-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-cyrillic-500-normal.woff +0 -0
- package/dist/orchviz-web/inter-cyrillic-500-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-cyrillic-600-normal.woff +0 -0
- package/dist/orchviz-web/inter-cyrillic-600-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-cyrillic-ext-400-normal.woff +0 -0
- package/dist/orchviz-web/inter-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-cyrillic-ext-500-normal.woff +0 -0
- package/dist/orchviz-web/inter-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-cyrillic-ext-600-normal.woff +0 -0
- package/dist/orchviz-web/inter-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-greek-400-normal.woff +0 -0
- package/dist/orchviz-web/inter-greek-400-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-greek-500-normal.woff +0 -0
- package/dist/orchviz-web/inter-greek-500-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-greek-600-normal.woff +0 -0
- package/dist/orchviz-web/inter-greek-600-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-greek-ext-400-normal.woff +0 -0
- package/dist/orchviz-web/inter-greek-ext-400-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-greek-ext-500-normal.woff +0 -0
- package/dist/orchviz-web/inter-greek-ext-500-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-greek-ext-600-normal.woff +0 -0
- package/dist/orchviz-web/inter-greek-ext-600-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-latin-400-normal.woff +0 -0
- package/dist/orchviz-web/inter-latin-400-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-latin-500-normal.woff +0 -0
- package/dist/orchviz-web/inter-latin-500-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-latin-600-normal.woff +0 -0
- package/dist/orchviz-web/inter-latin-600-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-latin-ext-400-normal.woff +0 -0
- package/dist/orchviz-web/inter-latin-ext-400-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-latin-ext-500-normal.woff +0 -0
- package/dist/orchviz-web/inter-latin-ext-500-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-latin-ext-600-normal.woff +0 -0
- package/dist/orchviz-web/inter-latin-ext-600-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-vietnamese-400-normal.woff +0 -0
- package/dist/orchviz-web/inter-vietnamese-400-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-vietnamese-500-normal.woff +0 -0
- package/dist/orchviz-web/inter-vietnamese-500-normal.woff2 +0 -0
- package/dist/orchviz-web/inter-vietnamese-600-normal.woff +0 -0
- package/dist/orchviz-web/inter-vietnamese-600-normal.woff2 +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var By=Object.defineProperty;var Yy=(o,c,f)=>c in o?By(o,c,{enumerable:!0,configurable:!0,writable:!0,value:f}):o[c]=f;var Tc=(o,c,f)=>Yy(o,typeof c!="symbol"?c+"":c,f);(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const h of r)if(h.type==="childList")for(const p of h.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&i(p)}).observe(document,{childList:!0,subtree:!0});function f(r){const h={};return r.integrity&&(h.integrity=r.integrity),r.referrerPolicy&&(h.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?h.credentials="include":r.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function i(r){if(r.ep)return;r.ep=!0;const h=f(r);fetch(r.href,h)}})();var Bs={exports:{}},Fu={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var qd;function Gy(){if(qd)return Fu;qd=1;var o=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(i,r,h){var p=null;if(h!==void 0&&(p=""+h),r.key!==void 0&&(p=""+r.key),"key"in r){h={};for(var y in r)y!=="key"&&(h[y]=r[y])}else h=r;return r=h.ref,{$$typeof:o,type:i,key:p,ref:r!==void 0?r:null,props:h}}return Fu.Fragment=c,Fu.jsx=f,Fu.jsxs=f,Fu}var Xd;function qy(){return Xd||(Xd=1,Bs.exports=Gy()),Bs.exports}var G=qy(),Ys={exports:{}},ft={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var wd;function Xy(){if(wd)return ft;wd=1;var o=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),p=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),_=Symbol.for("react.activity"),D=Symbol.iterator;function C(T){return T===null||typeof T!="object"?null:(T=D&&T[D]||T["@@iterator"],typeof T=="function"?T:null)}var L={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,Q={};function V(T,B,k){this.props=T,this.context=B,this.refs=Q,this.updater=k||L}V.prototype.isReactComponent={},V.prototype.setState=function(T,B){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,B,"setState")},V.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function q(){}q.prototype=V.prototype;function K(T,B,k){this.props=T,this.context=B,this.refs=Q,this.updater=k||L}var it=K.prototype=new q;it.constructor=K,X(it,V.prototype),it.isPureReactComponent=!0;var ot=Array.isArray;function tt(){}var I={H:null,A:null,T:null,S:null},Dt=Object.prototype.hasOwnProperty;function oe(T,B,k){var F=k.ref;return{$$typeof:o,type:T,key:B,ref:F!==void 0?F:null,props:k}}function Xt(T,B){return oe(T.type,B,T.props)}function Pt(T){return typeof T=="object"&&T!==null&&T.$$typeof===o}function wt(T){var B={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(k){return B[k]})}var Wt=/\/+/g;function zt(T,B){return typeof T=="object"&&T!==null&&T.key!=null?wt(""+T.key):B.toString(36)}function Lt(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(tt,tt):(T.status="pending",T.then(function(B){T.status==="pending"&&(T.status="fulfilled",T.value=B)},function(B){T.status==="pending"&&(T.status="rejected",T.reason=B)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function x(T,B,k,F,ct){var ht=typeof T;(ht==="undefined"||ht==="boolean")&&(T=null);var At=!1;if(T===null)At=!0;else switch(ht){case"bigint":case"string":case"number":At=!0;break;case"object":switch(T.$$typeof){case o:case c:At=!0;break;case S:return At=T._init,x(At(T._payload),B,k,F,ct)}}if(At)return ct=ct(T),At=F===""?"."+zt(T,0):F,ot(ct)?(k="",At!=null&&(k=At.replace(Wt,"$&/")+"/"),x(ct,B,k,"",function(kl){return kl})):ct!=null&&(Pt(ct)&&(ct=Xt(ct,k+(ct.key==null||T&&T.key===ct.key?"":(""+ct.key).replace(Wt,"$&/")+"/")+At)),B.push(ct)),1;At=0;var re=F===""?".":F+":";if(ot(T))for(var kt=0;kt<T.length;kt++)F=T[kt],ht=re+zt(F,kt),At+=x(F,B,k,ht,ct);else if(kt=C(T),typeof kt=="function")for(T=kt.call(T),kt=0;!(F=T.next()).done;)F=F.value,ht=re+zt(F,kt++),At+=x(F,B,k,ht,ct);else if(ht==="object"){if(typeof T.then=="function")return x(Lt(T),B,k,F,ct);throw B=String(T),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.")}return At}function Z(T,B,k){if(T==null)return T;var F=[],ct=0;return x(T,F,"","",function(ht){return B.call(k,ht,ct++)}),F}function et(T){if(T._status===-1){var B=T._result;B=B(),B.then(function(k){(T._status===0||T._status===-1)&&(T._status=1,T._result=k)},function(k){(T._status===0||T._status===-1)&&(T._status=2,T._result=k)}),T._status===-1&&(T._status=0,T._result=B)}if(T._status===1)return T._result.default;throw T._result}var Tt=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var B=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent(B))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},Et={map:Z,forEach:function(T,B,k){Z(T,function(){B.apply(this,arguments)},k)},count:function(T){var B=0;return Z(T,function(){B++}),B},toArray:function(T){return Z(T,function(B){return B})||[]},only:function(T){if(!Pt(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return ft.Activity=_,ft.Children=Et,ft.Component=V,ft.Fragment=f,ft.Profiler=r,ft.PureComponent=K,ft.StrictMode=i,ft.Suspense=v,ft.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,ft.__COMPILER_RUNTIME={__proto__:null,c:function(T){return I.H.useMemoCache(T)}},ft.cache=function(T){return function(){return T.apply(null,arguments)}},ft.cacheSignal=function(){return null},ft.cloneElement=function(T,B,k){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var F=X({},T.props),ct=T.key;if(B!=null)for(ht in B.key!==void 0&&(ct=""+B.key),B)!Dt.call(B,ht)||ht==="key"||ht==="__self"||ht==="__source"||ht==="ref"&&B.ref===void 0||(F[ht]=B[ht]);var ht=arguments.length-2;if(ht===1)F.children=k;else if(1<ht){for(var At=Array(ht),re=0;re<ht;re++)At[re]=arguments[re+2];F.children=At}return oe(T.type,ct,F)},ft.createContext=function(T){return T={$$typeof:p,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:h,_context:T},T},ft.createElement=function(T,B,k){var F,ct={},ht=null;if(B!=null)for(F in B.key!==void 0&&(ht=""+B.key),B)Dt.call(B,F)&&F!=="key"&&F!=="__self"&&F!=="__source"&&(ct[F]=B[F]);var At=arguments.length-2;if(At===1)ct.children=k;else if(1<At){for(var re=Array(At),kt=0;kt<At;kt++)re[kt]=arguments[kt+2];ct.children=re}if(T&&T.defaultProps)for(F in At=T.defaultProps,At)ct[F]===void 0&&(ct[F]=At[F]);return oe(T,ht,ct)},ft.createRef=function(){return{current:null}},ft.forwardRef=function(T){return{$$typeof:y,render:T}},ft.isValidElement=Pt,ft.lazy=function(T){return{$$typeof:S,_payload:{_status:-1,_result:T},_init:et}},ft.memo=function(T,B){return{$$typeof:m,type:T,compare:B===void 0?null:B}},ft.startTransition=function(T){var B=I.T,k={};I.T=k;try{var F=T(),ct=I.S;ct!==null&&ct(k,F),typeof F=="object"&&F!==null&&typeof F.then=="function"&&F.then(tt,Tt)}catch(ht){Tt(ht)}finally{B!==null&&k.types!==null&&(B.types=k.types),I.T=B}},ft.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},ft.use=function(T){return I.H.use(T)},ft.useActionState=function(T,B,k){return I.H.useActionState(T,B,k)},ft.useCallback=function(T,B){return I.H.useCallback(T,B)},ft.useContext=function(T){return I.H.useContext(T)},ft.useDebugValue=function(){},ft.useDeferredValue=function(T,B){return I.H.useDeferredValue(T,B)},ft.useEffect=function(T,B){return I.H.useEffect(T,B)},ft.useEffectEvent=function(T){return I.H.useEffectEvent(T)},ft.useId=function(){return I.H.useId()},ft.useImperativeHandle=function(T,B,k){return I.H.useImperativeHandle(T,B,k)},ft.useInsertionEffect=function(T,B){return I.H.useInsertionEffect(T,B)},ft.useLayoutEffect=function(T,B){return I.H.useLayoutEffect(T,B)},ft.useMemo=function(T,B){return I.H.useMemo(T,B)},ft.useOptimistic=function(T,B){return I.H.useOptimistic(T,B)},ft.useReducer=function(T,B,k){return I.H.useReducer(T,B,k)},ft.useRef=function(T){return I.H.useRef(T)},ft.useState=function(T){return I.H.useState(T)},ft.useSyncExternalStore=function(T,B,k){return I.H.useSyncExternalStore(T,B,k)},ft.useTransition=function(){return I.H.useTransition()},ft.version="19.2.5",ft}var Qd;function no(){return Qd||(Qd=1,Ys.exports=Xy()),Ys.exports}var vt=no(),Gs={exports:{}},$u={},qs={exports:{}},Xs={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var Zd;function wy(){return Zd||(Zd=1,(function(o){function c(x,Z){var et=x.length;x.push(Z);t:for(;0<et;){var Tt=et-1>>>1,Et=x[Tt];if(0<r(Et,Z))x[Tt]=Z,x[et]=Et,et=Tt;else break t}}function f(x){return x.length===0?null:x[0]}function i(x){if(x.length===0)return null;var Z=x[0],et=x.pop();if(et!==Z){x[0]=et;t:for(var Tt=0,Et=x.length,T=Et>>>1;Tt<T;){var B=2*(Tt+1)-1,k=x[B],F=B+1,ct=x[F];if(0>r(k,et))F<Et&&0>r(ct,k)?(x[Tt]=ct,x[F]=et,Tt=F):(x[Tt]=k,x[B]=et,Tt=B);else if(F<Et&&0>r(ct,et))x[Tt]=ct,x[F]=et,Tt=F;else break t}}return Z}function r(x,Z){var et=x.sortIndex-Z.sortIndex;return et!==0?et:x.id-Z.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;o.unstable_now=function(){return h.now()}}else{var p=Date,y=p.now();o.unstable_now=function(){return p.now()-y}}var v=[],m=[],S=1,_=null,D=3,C=!1,L=!1,X=!1,Q=!1,V=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate<"u"?setImmediate:null;function it(x){for(var Z=f(m);Z!==null;){if(Z.callback===null)i(m);else if(Z.startTime<=x)i(m),Z.sortIndex=Z.expirationTime,c(v,Z);else break;Z=f(m)}}function ot(x){if(X=!1,it(x),!L)if(f(v)!==null)L=!0,tt||(tt=!0,wt());else{var Z=f(m);Z!==null&&Lt(ot,Z.startTime-x)}}var tt=!1,I=-1,Dt=5,oe=-1;function Xt(){return Q?!0:!(o.unstable_now()-oe<Dt)}function Pt(){if(Q=!1,tt){var x=o.unstable_now();oe=x;var Z=!0;try{t:{L=!1,X&&(X=!1,q(I),I=-1),C=!0;var et=D;try{e:{for(it(x),_=f(v);_!==null&&!(_.expirationTime>x&&Xt());){var Tt=_.callback;if(typeof Tt=="function"){_.callback=null,D=_.priorityLevel;var Et=Tt(_.expirationTime<=x);if(x=o.unstable_now(),typeof Et=="function"){_.callback=Et,it(x),Z=!0;break e}_===f(v)&&i(v),it(x)}else i(v);_=f(v)}if(_!==null)Z=!0;else{var T=f(m);T!==null&&Lt(ot,T.startTime-x),Z=!1}}break t}finally{_=null,D=et,C=!1}Z=void 0}}finally{Z?wt():tt=!1}}}var wt;if(typeof K=="function")wt=function(){K(Pt)};else if(typeof MessageChannel<"u"){var Wt=new MessageChannel,zt=Wt.port2;Wt.port1.onmessage=Pt,wt=function(){zt.postMessage(null)}}else wt=function(){V(Pt,0)};function Lt(x,Z){I=V(function(){x(o.unstable_now())},Z)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(x){x.callback=null},o.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Dt=0<x?Math.floor(1e3/x):5},o.unstable_getCurrentPriorityLevel=function(){return D},o.unstable_next=function(x){switch(D){case 1:case 2:case 3:var Z=3;break;default:Z=D}var et=D;D=Z;try{return x()}finally{D=et}},o.unstable_requestPaint=function(){Q=!0},o.unstable_runWithPriority=function(x,Z){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var et=D;D=x;try{return Z()}finally{D=et}},o.unstable_scheduleCallback=function(x,Z,et){var Tt=o.unstable_now();switch(typeof et=="object"&&et!==null?(et=et.delay,et=typeof et=="number"&&0<et?Tt+et:Tt):et=Tt,x){case 1:var Et=-1;break;case 2:Et=250;break;case 5:Et=1073741823;break;case 4:Et=1e4;break;default:Et=5e3}return Et=et+Et,x={id:S++,callback:Z,priorityLevel:x,startTime:et,expirationTime:Et,sortIndex:-1},et>Tt?(x.sortIndex=et,c(m,x),f(v)===null&&x===f(m)&&(X?(q(I),I=-1):X=!0,Lt(ot,et-Tt))):(x.sortIndex=Et,c(v,x),L||C||(L=!0,tt||(tt=!0,wt()))),x},o.unstable_shouldYield=Xt,o.unstable_wrapCallback=function(x){var Z=D;return function(){var et=D;D=Z;try{return x.apply(this,arguments)}finally{D=et}}}})(Xs)),Xs}var Vd;function Qy(){return Vd||(Vd=1,qs.exports=wy()),qs.exports}var ws={exports:{}},Me={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var kd;function Zy(){if(kd)return Me;kd=1;var o=no();function c(v){var m="https://react.dev/errors/"+v;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)m+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+v+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}var i={d:{f,r:function(){throw Error(c(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},r=Symbol.for("react.portal");function h(v,m,S){var _=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:r,key:_==null?null:""+_,children:v,containerInfo:m,implementation:S}}var p=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(v,m){if(v==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Me.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,Me.createPortal=function(v,m){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(c(299));return h(v,m,null,S)},Me.flushSync=function(v){var m=p.T,S=i.p;try{if(p.T=null,i.p=2,v)return v()}finally{p.T=m,i.p=S,i.d.f()}},Me.preconnect=function(v,m){typeof v=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,i.d.C(v,m))},Me.prefetchDNS=function(v){typeof v=="string"&&i.d.D(v)},Me.preinit=function(v,m){if(typeof v=="string"&&m&&typeof m.as=="string"){var S=m.as,_=y(S,m.crossOrigin),D=typeof m.integrity=="string"?m.integrity:void 0,C=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;S==="style"?i.d.S(v,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:_,integrity:D,fetchPriority:C}):S==="script"&&i.d.X(v,{crossOrigin:_,integrity:D,fetchPriority:C,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Me.preinitModule=function(v,m){if(typeof v=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var S=y(m.as,m.crossOrigin);i.d.M(v,{crossOrigin:S,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&i.d.M(v)},Me.preload=function(v,m){if(typeof v=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var S=m.as,_=y(S,m.crossOrigin);i.d.L(v,S,{crossOrigin:_,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Me.preloadModule=function(v,m){if(typeof v=="string")if(m){var S=y(m.as,m.crossOrigin);i.d.m(v,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:S,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else i.d.m(v)},Me.requestFormReset=function(v){i.d.r(v)},Me.unstable_batchedUpdates=function(v,m){return v(m)},Me.useFormState=function(v,m,S){return p.H.useFormState(v,m,S)},Me.useFormStatus=function(){return p.H.useHostTransitionStatus()},Me.version="19.2.5",Me}var Kd;function Vy(){if(Kd)return ws.exports;Kd=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(c){console.error(c)}}return o(),ws.exports=Zy(),ws.exports}/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var Jd;function ky(){if(Jd)return $u;Jd=1;var o=Qy(),c=no(),f=Vy();function i(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function h(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function p(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function y(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function v(t){if(h(t)!==t)throw Error(i(188))}function m(t){var e=t.alternate;if(!e){if(e=h(t),e===null)throw Error(i(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return v(n),t;if(u===a)return v(n),e;u=u.sibling}throw Error(i(188))}if(l.return!==a.return)l=n,a=u;else{for(var s=!1,d=n.child;d;){if(d===l){s=!0,l=n,a=u;break}if(d===a){s=!0,a=n,l=u;break}d=d.sibling}if(!s){for(d=u.child;d;){if(d===l){s=!0,l=u,a=n;break}if(d===a){s=!0,a=u,l=n;break}d=d.sibling}if(!s)throw Error(i(189))}}if(l.alternate!==a)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?t:e}function S(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=S(t),e!==null)return e;t=t.sibling}return null}var _=Object.assign,D=Symbol.for("react.element"),C=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),V=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),K=Symbol.for("react.context"),it=Symbol.for("react.forward_ref"),ot=Symbol.for("react.suspense"),tt=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),Dt=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),Xt=Symbol.for("react.memo_cache_sentinel"),Pt=Symbol.iterator;function wt(t){return t===null||typeof t!="object"?null:(t=Pt&&t[Pt]||t["@@iterator"],typeof t=="function"?t:null)}var Wt=Symbol.for("react.client.reference");function zt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Wt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case X:return"Fragment";case V:return"Profiler";case Q:return"StrictMode";case ot:return"Suspense";case tt:return"SuspenseList";case oe:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case L:return"Portal";case K:return t.displayName||"Context";case q:return(t._context.displayName||"Context")+".Consumer";case it:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case I:return e=t.displayName||null,e!==null?e:zt(t.type)||"Memo";case Dt:e=t._payload,t=t._init;try{return zt(t(e))}catch{}}return null}var Lt=Array.isArray,x=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et={pending:!1,data:null,method:null,action:null},Tt=[],Et=-1;function T(t){return{current:t}}function B(t){0>Et||(t.current=Tt[Et],Tt[Et]=null,Et--)}function k(t,e){Et++,Tt[Et]=t.current,t.current=e}var F=T(null),ct=T(null),ht=T(null),At=T(null);function re(t,e){switch(k(ht,e),k(ct,t),k(F,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?sd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=sd(e),t=od(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}B(F),k(F,t)}function kt(){B(F),B(ct),B(ht)}function kl(t){t.memoizedState!==null&&k(At,t);var e=F.current,l=od(e,t.type);e!==l&&(k(ct,t),k(F,l))}function Ht(t){ct.current===t&&(B(F),B(ct)),At.current===t&&(B(At),ku._currentValue=et)}var en,Yt;function dl(t){if(en===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);en=e&&e[1]||"",Yt=-1<l.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+en+t+Yt}var Bt=!1;function Ml(t,e){if(!t||Bt)return"";Bt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(R){var N=R}Reflect.construct(t,[],j)}else{try{j.call()}catch(R){N=R}t.call(j.prototype)}}else{try{throw Error()}catch(R){N=R}(j=t())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(R){if(R&&N&&typeof R.stack=="string")return[R.stack,N.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),s=u[0],d=u[1];if(s&&d){var b=s.split(`
|
|
44
|
+
`),z=d.split(`
|
|
45
|
+
`);for(n=a=0;a<b.length&&!b[a].includes("DetermineComponentFrameRoot");)a++;for(;n<z.length&&!z[n].includes("DetermineComponentFrameRoot");)n++;if(a===b.length||n===z.length)for(a=b.length-1,n=z.length-1;1<=a&&0<=n&&b[a]!==z[n];)n--;for(;1<=a&&0<=n;a--,n--)if(b[a]!==z[n]){if(a!==1||n!==1)do if(a--,n--,0>n||b[a]!==z[n]){var U=`
|
|
46
|
+
`+b[a].replace(" at new "," at ");return t.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",t.displayName)),U}while(1<=a&&0<=n);break}}}finally{Bt=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?dl(l):""}function ni(t,e){switch(t.tag){case 26:case 27:case 5:return dl(t.type);case 16:return dl("Lazy");case 13:return t.child!==e&&e!==null?dl("Suspense Fallback"):dl("Suspense");case 19:return dl("SuspenseList");case 0:case 15:return Ml(t.type,!1);case 11:return Ml(t.type.render,!1);case 1:return Ml(t.type,!0);case 31:return dl("Activity");default:return""}}function ul(t){try{var e="",l=null;do e+=ni(t,l),l=t,t=t.return;while(t);return e}catch(a){return`
|
|
47
|
+
Error generating stack: `+a.message+`
|
|
48
|
+
`+a.stack}}var ln=Object.prototype.hasOwnProperty,Na=o.unstable_scheduleCallback,an=o.unstable_cancelCallback,ui=o.unstable_shouldYield,ml=o.unstable_requestPaint,Ft=o.unstable_now,Ol=o.unstable_getCurrentPriorityLevel,nn=o.unstable_ImmediatePriority,un=o.unstable_UserBlockingPriority,Kl=o.unstable_NormalPriority,Fn=o.unstable_LowPriority,zl=o.unstable_IdlePriority,cn=o.log,fn=o.unstable_setDisableYieldValue,Jl=null,Ae=null;function il(t){if(typeof cn=="function"&&fn(t),Ae&&typeof Ae.setStrictMode=="function")try{Ae.setStrictMode(Jl,t)}catch{}}var pe=Math.clz32?Math.clz32:Fe,$n=Math.log,Wl=Math.LN2;function Fe(t){return t>>>=0,t===0?32:31-($n(t)/Wl|0)|0}var Fl=256,Ra=262144,xa=4194304;function cl(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ca(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,s=t.pingedLanes;t=t.warmLanes;var d=a&134217727;return d!==0?(a=d&~u,a!==0?n=cl(a):(s&=d,s!==0?n=cl(s):l||(l=d&~t,l!==0&&(n=cl(l))))):(d=a&~u,d!==0?n=cl(d):s!==0?n=cl(s):l||(l=a&~t,l!==0&&(n=cl(l)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:n}function yl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function sn(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ge(){var t=xa;return xa<<=1,(xa&62914560)===0&&(xa=4194304),t}function pl(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Dl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function In(t,e,l,a,n,u){var s=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var d=t.entanglements,b=t.expirationTimes,z=t.hiddenUpdates;for(l=s&~l;0<l;){var U=31-pe(l),j=1<<U;d[U]=0,b[U]=-1;var N=z[U];if(N!==null)for(z[U]=null,U=0;U<N.length;U++){var R=N[U];R!==null&&(R.lane&=-536870913)}l&=~j}a!==0&&ii(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(s&~e))}function ii(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-pe(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&261930}function Pn(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-pe(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function on(t,e){var l=e&-e;return l=(l&42)!==0?1:rn(l),(l&(t.suspendedLanes|e))!==0?0:l}function rn(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ua(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function ci(){var t=Z.p;return t!==0?t:(t=window.event,t===void 0?32:Ud(t.type))}function $l(t,e){var l=Z.p;try{return Z.p=t,e()}finally{Z.p=l}}var gl=Math.random().toString(36).slice(2),ce="__reactFiber$"+gl,dt="__reactProps$"+gl,qe="__reactContainer$"+gl,tu="__reactEvents$"+gl,fi="__reactListeners$"+gl,eu="__reactHandles$"+gl,lu="__reactResources$"+gl,Il="__reactMarker$"+gl;function au(t){delete t[ce],delete t[dt],delete t[tu],delete t[fi],delete t[eu]}function Pl(t){var e=t[ce];if(e)return e;for(var l=t.parentNode;l;){if(e=l[qe]||l[ce]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=gd(t);t!==null;){if(l=t[ce])return l;t=gd(t)}return e}t=l,l=t.parentNode}return null}function ta(t){if(t=t[ce]||t[qe]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function La(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(i(33))}function Oe(t){var e=t[lu];return e||(e=t[lu]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Kt(t){t[Il]=!0}var vl=new Set,si={};function fl(t,e){ea(t,e),ea(t+"Capture",e)}function ea(t,e){for(si[t]=e,t=0;t<e.length;t++)vl.add(e[t])}var oi=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),nu={},Ha={};function uu(t){return ln.call(Ha,t)?!0:ln.call(nu,t)?!1:oi.test(t)?Ha[t]=!0:(nu[t]=!0,!1)}function Nl(t,e,l){if(uu(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function sl(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function ze(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}function Jt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function ri(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Lc(t,e,l){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(s){l=""+s,u.call(this,s)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function hn(t){if(!t._valueTracker){var e=ri(t)?"checked":"value";t._valueTracker=Lc(t,e,""+t[e])}}function iu(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=ri(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function dn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var hi=/[\n"\\]/g;function xe(t){return t.replace(hi,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function cu(t,e,l,a,n,u,s,d){t.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.type=s:t.removeAttribute("type"),e!=null?s==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Jt(e)):t.value!==""+Jt(e)&&(t.value=""+Jt(e)):s!=="submit"&&s!=="reset"||t.removeAttribute("value"),e!=null?la(t,s,Jt(e)):l!=null?la(t,s,Jt(l)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?t.name=""+Jt(d):t.removeAttribute("name")}function fu(t,e,l,a,n,u,s,d){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){hn(t);return}l=l!=null?""+Jt(l):"",e=e!=null?""+Jt(e):l,d||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=d?t.checked:!!a,t.defaultChecked=!!a,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.name=s),hn(t)}function la(t,e,l){e==="number"&&dn(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Sl(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+Jt(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function w(t,e,l){if(e!=null&&(e=""+Jt(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Jt(l):""}function g(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(i(92));if(Lt(a)){if(1<a.length)throw Error(i(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=Jt(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a),hn(t)}function M(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Y=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function J(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||Y.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function lt(t,e,l){if(e!=null&&typeof e!="object")throw Error(i(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&J(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&J(t,u,e[u])}function nt(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Qt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),he=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function _e(t){return he.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Zt(){}var De=null;function fe(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var mn=null,yn=null;function co(t){var e=ta(t);if(e&&(t=e.stateNode)){var l=t[dt]||null;t:switch(t=e.stateNode,e.type){case"input":if(cu(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+xe(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[dt]||null;if(!n)throw Error(i(90));cu(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&iu(a)}break t;case"textarea":w(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&Sl(t,!!l.multiple,e,!1)}}}var Hc=!1;function fo(t,e,l){if(Hc)return t(e,l);Hc=!0;try{var a=t(e);return a}finally{if(Hc=!1,(mn!==null||yn!==null)&&(Pi(),mn&&(e=mn,t=yn,yn=mn=null,co(e),t)))for(e=0;e<t.length;e++)co(t[e])}}function su(t,e){var l=t.stateNode;if(l===null)return null;var a=l[dt]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(i(231,e,typeof l));return l}var Rl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jc=!1;if(Rl)try{var ou={};Object.defineProperty(ou,"passive",{get:function(){jc=!0}}),window.addEventListener("test",ou,ou),window.removeEventListener("test",ou,ou)}catch{jc=!1}var aa=null,Bc=null,di=null;function so(){if(di)return di;var t,e=Bc,l=e.length,a,n="value"in aa?aa.value:aa.textContent,u=n.length;for(t=0;t<l&&e[t]===n[t];t++);var s=l-t;for(a=1;a<=s&&e[l-a]===n[u-a];a++);return di=n.slice(t,1<a?1-a:void 0)}function mi(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function yi(){return!0}function oo(){return!1}function Ce(t){function e(l,a,n,u,s){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=s,this.currentTarget=null;for(var d in t)t.hasOwnProperty(d)&&(l=t[d],this[d]=l?l(u):u[d]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?yi:oo,this.isPropagationStopped=oo,this}return _(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=yi)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=yi)},persist:function(){},isPersistent:yi}),e}var ja={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pi=Ce(ja),ru=_({},ja,{view:0,detail:0}),Hm=Ce(ru),Yc,Gc,hu,gi=_({},ru,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==hu&&(hu&&t.type==="mousemove"?(Yc=t.screenX-hu.screenX,Gc=t.screenY-hu.screenY):Gc=Yc=0,hu=t),Yc)},movementY:function(t){return"movementY"in t?t.movementY:Gc}}),ro=Ce(gi),jm=_({},gi,{dataTransfer:0}),Bm=Ce(jm),Ym=_({},ru,{relatedTarget:0}),qc=Ce(Ym),Gm=_({},ja,{animationName:0,elapsedTime:0,pseudoElement:0}),qm=Ce(Gm),Xm=_({},ja,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),wm=Ce(Xm),Qm=_({},ja,{data:0}),ho=Ce(Qm),Zm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},km={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Km(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=km[t])?!!e[t]:!1}function Xc(){return Km}var Jm=_({},ru,{key:function(t){if(t.key){var e=Zm[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=mi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Vm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xc,charCode:function(t){return t.type==="keypress"?mi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?mi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),Wm=Ce(Jm),Fm=_({},gi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mo=Ce(Fm),$m=_({},ru,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xc}),Im=Ce($m),Pm=_({},ja,{propertyName:0,elapsedTime:0,pseudoElement:0}),t0=Ce(Pm),e0=_({},gi,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),l0=Ce(e0),a0=_({},ja,{newState:0,oldState:0}),n0=Ce(a0),u0=[9,13,27,32],wc=Rl&&"CompositionEvent"in window,du=null;Rl&&"documentMode"in document&&(du=document.documentMode);var i0=Rl&&"TextEvent"in window&&!du,yo=Rl&&(!wc||du&&8<du&&11>=du),po=" ",go=!1;function vo(t,e){switch(t){case"keyup":return u0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function So(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var pn=!1;function c0(t,e){switch(t){case"compositionend":return So(e);case"keypress":return e.which!==32?null:(go=!0,po);case"textInput":return t=e.data,t===po&&go?null:t;default:return null}}function f0(t,e){if(pn)return t==="compositionend"||!wc&&vo(t,e)?(t=so(),di=Bc=aa=null,pn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return yo&&e.locale!=="ko"?null:e.data;default:return null}}var s0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bo(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!s0[t.type]:e==="textarea"}function To(t,e,l,a){mn?yn?yn.push(a):yn=[a]:mn=a,e=ic(e,"onChange"),0<e.length&&(l=new pi("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var mu=null,yu=null;function o0(t){ad(t,0)}function vi(t){var e=La(t);if(iu(e))return t}function Eo(t,e){if(t==="change")return e}var Ao=!1;if(Rl){var Qc;if(Rl){var Zc="oninput"in document;if(!Zc){var _o=document.createElement("div");_o.setAttribute("oninput","return;"),Zc=typeof _o.oninput=="function"}Qc=Zc}else Qc=!1;Ao=Qc&&(!document.documentMode||9<document.documentMode)}function Mo(){mu&&(mu.detachEvent("onpropertychange",Oo),yu=mu=null)}function Oo(t){if(t.propertyName==="value"&&vi(yu)){var e=[];To(e,yu,t,fe(t)),fo(o0,e)}}function r0(t,e,l){t==="focusin"?(Mo(),mu=e,yu=l,mu.attachEvent("onpropertychange",Oo)):t==="focusout"&&Mo()}function h0(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return vi(yu)}function d0(t,e){if(t==="click")return vi(e)}function m0(t,e){if(t==="input"||t==="change")return vi(e)}function y0(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Xe=typeof Object.is=="function"?Object.is:y0;function pu(t,e){if(Xe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!ln.call(e,n)||!Xe(t[n],e[n]))return!1}return!0}function zo(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Do(t,e){var l=zo(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=zo(l)}}function No(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?No(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ro(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=dn(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=dn(t.document)}return e}function Vc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var p0=Rl&&"documentMode"in document&&11>=document.documentMode,gn=null,kc=null,gu=null,Kc=!1;function xo(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Kc||gn==null||gn!==dn(a)||(a=gn,"selectionStart"in a&&Vc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),gu&&pu(gu,a)||(gu=a,a=ic(kc,"onSelect"),0<a.length&&(e=new pi("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=gn)))}function Ba(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var vn={animationend:Ba("Animation","AnimationEnd"),animationiteration:Ba("Animation","AnimationIteration"),animationstart:Ba("Animation","AnimationStart"),transitionrun:Ba("Transition","TransitionRun"),transitionstart:Ba("Transition","TransitionStart"),transitioncancel:Ba("Transition","TransitionCancel"),transitionend:Ba("Transition","TransitionEnd")},Jc={},Co={};Rl&&(Co=document.createElement("div").style,"AnimationEvent"in window||(delete vn.animationend.animation,delete vn.animationiteration.animation,delete vn.animationstart.animation),"TransitionEvent"in window||delete vn.transitionend.transition);function Ya(t){if(Jc[t])return Jc[t];if(!vn[t])return t;var e=vn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Co)return Jc[t]=e[l];return t}var Uo=Ya("animationend"),Lo=Ya("animationiteration"),Ho=Ya("animationstart"),g0=Ya("transitionrun"),v0=Ya("transitionstart"),S0=Ya("transitioncancel"),jo=Ya("transitionend"),Bo=new Map,Wc="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Wc.push("scrollEnd");function ol(t,e){Bo.set(t,e),fl(e,[t])}var Si=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},$e=[],Sn=0,Fc=0;function bi(){for(var t=Sn,e=Fc=Sn=0;e<t;){var l=$e[e];$e[e++]=null;var a=$e[e];$e[e++]=null;var n=$e[e];$e[e++]=null;var u=$e[e];if($e[e++]=null,a!==null&&n!==null){var s=a.pending;s===null?n.next=n:(n.next=s.next,s.next=n),a.pending=n}u!==0&&Yo(l,n,u)}}function Ti(t,e,l,a){$e[Sn++]=t,$e[Sn++]=e,$e[Sn++]=l,$e[Sn++]=a,Fc|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function $c(t,e,l,a){return Ti(t,e,l,a),Ei(t)}function Ga(t,e){return Ti(t,null,null,e),Ei(t)}function Yo(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=t.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&e!==null&&(n=31-pe(l),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),u):null}function Ei(t){if(50<Gu)throw Gu=0,cs=null,Error(i(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var bn={};function b0(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(t,e,l,a){return new b0(t,e,l,a)}function Ic(t){return t=t.prototype,!(!t||!t.isReactComponent)}function xl(t,e){var l=t.alternate;return l===null?(l=we(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Go(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Ai(t,e,l,a,n,u){var s=0;if(a=t,typeof t=="function")Ic(t)&&(s=1);else if(typeof t=="string")s=My(t,l,F.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case oe:return t=we(31,l,e,n),t.elementType=oe,t.lanes=u,t;case X:return qa(l.children,n,u,e);case Q:s=8,n|=24;break;case V:return t=we(12,l,e,n|2),t.elementType=V,t.lanes=u,t;case ot:return t=we(13,l,e,n),t.elementType=ot,t.lanes=u,t;case tt:return t=we(19,l,e,n),t.elementType=tt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case K:s=10;break t;case q:s=9;break t;case it:s=11;break t;case I:s=14;break t;case Dt:s=16,a=null;break t}s=29,l=Error(i(130,t===null?"null":typeof t,"")),a=null}return e=we(s,l,e,n),e.elementType=t,e.type=a,e.lanes=u,e}function qa(t,e,l,a){return t=we(7,t,a,e),t.lanes=l,t}function Pc(t,e,l){return t=we(6,t,null,e),t.lanes=l,t}function qo(t){var e=we(18,null,null,0);return e.stateNode=t,e}function tf(t,e,l){return e=we(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Xo=new WeakMap;function Ie(t,e){if(typeof t=="object"&&t!==null){var l=Xo.get(t);return l!==void 0?l:(e={value:t,source:e,stack:ul(e)},Xo.set(t,e),e)}return{value:t,source:e,stack:ul(e)}}var Tn=[],En=0,_i=null,vu=0,Pe=[],tl=0,na=null,bl=1,Tl="";function Cl(t,e){Tn[En++]=vu,Tn[En++]=_i,_i=t,vu=e}function wo(t,e,l){Pe[tl++]=bl,Pe[tl++]=Tl,Pe[tl++]=na,na=t;var a=bl;t=Tl;var n=32-pe(a)-1;a&=~(1<<n),l+=1;var u=32-pe(e)+n;if(30<u){var s=n-n%5;u=(a&(1<<s)-1).toString(32),a>>=s,n-=s,bl=1<<32-pe(e)+n|l<<n|a,Tl=u+t}else bl=1<<u|l<<n|a,Tl=t}function ef(t){t.return!==null&&(Cl(t,1),wo(t,1,0))}function lf(t){for(;t===_i;)_i=Tn[--En],Tn[En]=null,vu=Tn[--En],Tn[En]=null;for(;t===na;)na=Pe[--tl],Pe[tl]=null,Tl=Pe[--tl],Pe[tl]=null,bl=Pe[--tl],Pe[tl]=null}function Qo(t,e){Pe[tl++]=bl,Pe[tl++]=Tl,Pe[tl++]=na,bl=e.id,Tl=e.overflow,na=t}var ge=null,Gt=null,St=!1,ua=null,el=!1,af=Error(i(519));function ia(t){var e=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Su(Ie(e,t)),af}function Zo(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[ce]=t,e[dt]=a,l){case"dialog":yt("cancel",e),yt("close",e);break;case"iframe":case"object":case"embed":yt("load",e);break;case"video":case"audio":for(l=0;l<Xu.length;l++)yt(Xu[l],e);break;case"source":yt("error",e);break;case"img":case"image":case"link":yt("error",e),yt("load",e);break;case"details":yt("toggle",e);break;case"input":yt("invalid",e),fu(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":yt("invalid",e);break;case"textarea":yt("invalid",e),g(e,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||cd(e.textContent,l)?(a.popover!=null&&(yt("beforetoggle",e),yt("toggle",e)),a.onScroll!=null&&yt("scroll",e),a.onScrollEnd!=null&&yt("scrollend",e),a.onClick!=null&&(e.onclick=Zt),e=!0):e=!1,e||ia(t,!0)}function Vo(t){for(ge=t.return;ge;)switch(ge.tag){case 5:case 31:case 13:el=!1;return;case 27:case 3:el=!0;return;default:ge=ge.return}}function An(t){if(t!==ge)return!1;if(!St)return Vo(t),St=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Es(t.type,t.memoizedProps)),l=!l),l&&Gt&&ia(t),Vo(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Gt=pd(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(317));Gt=pd(t)}else e===27?(e=Gt,ba(t.type)?(t=zs,zs=null,Gt=t):Gt=e):Gt=ge?al(t.stateNode.nextSibling):null;return!0}function Xa(){Gt=ge=null,St=!1}function nf(){var t=ua;return t!==null&&(je===null?je=t:je.push.apply(je,t),ua=null),t}function Su(t){ua===null?ua=[t]:ua.push(t)}var uf=T(null),wa=null,Ul=null;function ca(t,e,l){k(uf,e._currentValue),e._currentValue=l}function Ll(t){t._currentValue=uf.current,B(uf)}function cf(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function ff(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var s=n.child;u=u.firstContext;t:for(;u!==null;){var d=u;u=n;for(var b=0;b<e.length;b++)if(d.context===e[b]){u.lanes|=l,d=u.alternate,d!==null&&(d.lanes|=l),cf(u.return,l,t),a||(s=null);break t}u=d.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(i(341));s.lanes|=l,u=s.alternate,u!==null&&(u.lanes|=l),cf(s,l,t),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===t){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function _n(t,e,l,a){t=null;for(var n=e,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var s=n.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var d=n.type;Xe(n.pendingProps.value,s.value)||(t!==null?t.push(d):t=[d])}}else if(n===At.current){if(s=n.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(ku):t=[ku])}n=n.return}t!==null&&ff(e,t,l,a),e.flags|=262144}function Mi(t){for(t=t.firstContext;t!==null;){if(!Xe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Qa(t){wa=t,Ul=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ve(t){return ko(wa,t)}function Oi(t,e){return wa===null&&Qa(t),ko(t,e)}function ko(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Ul===null){if(t===null)throw Error(i(308));Ul=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ul=Ul.next=e;return l}var T0=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},E0=o.unstable_scheduleCallback,A0=o.unstable_NormalPriority,le={$$typeof:K,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function sf(){return{controller:new T0,data:new Map,refCount:0}}function bu(t){t.refCount--,t.refCount===0&&E0(A0,function(){t.controller.abort()})}var Tu=null,of=0,Mn=0,On=null;function _0(t,e){if(Tu===null){var l=Tu=[];of=0,Mn=ds(),On={status:"pending",value:void 0,then:function(a){l.push(a)}}}return of++,e.then(Ko,Ko),e}function Ko(){if(--of===0&&Tu!==null){On!==null&&(On.status="fulfilled");var t=Tu;Tu=null,Mn=0,On=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function M0(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var Jo=x.S;x.S=function(t,e){xh=Ft(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&_0(t,e),Jo!==null&&Jo(t,e)};var Za=T(null);function rf(){var t=Za.current;return t!==null?t:jt.pooledCache}function zi(t,e){e===null?k(Za,Za.current):k(Za,e.pool)}function Wo(){var t=rf();return t===null?null:{parent:le._currentValue,pool:t}}var zn=Error(i(460)),hf=Error(i(474)),Di=Error(i(542)),Ni={then:function(){}};function Fo(t){return t=t.status,t==="fulfilled"||t==="rejected"}function $o(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Zt,Zt),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Po(t),t;default:if(typeof e.status=="string")e.then(Zt,Zt);else{if(t=jt,t!==null&&100<t.shellSuspendCounter)throw Error(i(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Po(t),t}throw ka=e,zn}}function Va(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(ka=l,zn):l}}var ka=null;function Io(){if(ka===null)throw Error(i(459));var t=ka;return ka=null,t}function Po(t){if(t===zn||t===Di)throw Error(i(483))}var Dn=null,Eu=0;function Ri(t){var e=Eu;return Eu+=1,Dn===null&&(Dn=[]),$o(Dn,t,e)}function Au(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function xi(t,e){throw e.$$typeof===D?Error(i(525)):(t=Object.prototype.toString.call(e),Error(i(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function tr(t){function e(A,E){if(t){var O=A.deletions;O===null?(A.deletions=[E],A.flags|=16):O.push(E)}}function l(A,E){if(!t)return null;for(;E!==null;)e(A,E),E=E.sibling;return null}function a(A){for(var E=new Map;A!==null;)A.key!==null?E.set(A.key,A):E.set(A.index,A),A=A.sibling;return E}function n(A,E){return A=xl(A,E),A.index=0,A.sibling=null,A}function u(A,E,O){return A.index=O,t?(O=A.alternate,O!==null?(O=O.index,O<E?(A.flags|=67108866,E):O):(A.flags|=67108866,E)):(A.flags|=1048576,E)}function s(A){return t&&A.alternate===null&&(A.flags|=67108866),A}function d(A,E,O,H){return E===null||E.tag!==6?(E=Pc(O,A.mode,H),E.return=A,E):(E=n(E,O),E.return=A,E)}function b(A,E,O,H){var P=O.type;return P===X?U(A,E,O.props.children,H,O.key):E!==null&&(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Dt&&Va(P)===E.type)?(E=n(E,O.props),Au(E,O),E.return=A,E):(E=Ai(O.type,O.key,O.props,null,A.mode,H),Au(E,O),E.return=A,E)}function z(A,E,O,H){return E===null||E.tag!==4||E.stateNode.containerInfo!==O.containerInfo||E.stateNode.implementation!==O.implementation?(E=tf(O,A.mode,H),E.return=A,E):(E=n(E,O.children||[]),E.return=A,E)}function U(A,E,O,H,P){return E===null||E.tag!==7?(E=qa(O,A.mode,H,P),E.return=A,E):(E=n(E,O),E.return=A,E)}function j(A,E,O){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=Pc(""+E,A.mode,O),E.return=A,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case C:return O=Ai(E.type,E.key,E.props,null,A.mode,O),Au(O,E),O.return=A,O;case L:return E=tf(E,A.mode,O),E.return=A,E;case Dt:return E=Va(E),j(A,E,O)}if(Lt(E)||wt(E))return E=qa(E,A.mode,O,null),E.return=A,E;if(typeof E.then=="function")return j(A,Ri(E),O);if(E.$$typeof===K)return j(A,Oi(A,E),O);xi(A,E)}return null}function N(A,E,O,H){var P=E!==null?E.key:null;if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return P!==null?null:d(A,E,""+O,H);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case C:return O.key===P?b(A,E,O,H):null;case L:return O.key===P?z(A,E,O,H):null;case Dt:return O=Va(O),N(A,E,O,H)}if(Lt(O)||wt(O))return P!==null?null:U(A,E,O,H,null);if(typeof O.then=="function")return N(A,E,Ri(O),H);if(O.$$typeof===K)return N(A,E,Oi(A,O),H);xi(A,O)}return null}function R(A,E,O,H,P){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return A=A.get(O)||null,d(E,A,""+H,P);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case C:return A=A.get(H.key===null?O:H.key)||null,b(E,A,H,P);case L:return A=A.get(H.key===null?O:H.key)||null,z(E,A,H,P);case Dt:return H=Va(H),R(A,E,O,H,P)}if(Lt(H)||wt(H))return A=A.get(O)||null,U(E,A,H,P,null);if(typeof H.then=="function")return R(A,E,O,Ri(H),P);if(H.$$typeof===K)return R(A,E,O,Oi(E,H),P);xi(E,H)}return null}function W(A,E,O,H){for(var P=null,_t=null,$=E,rt=E=0,gt=null;$!==null&&rt<O.length;rt++){$.index>rt?(gt=$,$=null):gt=$.sibling;var Mt=N(A,$,O[rt],H);if(Mt===null){$===null&&($=gt);break}t&&$&&Mt.alternate===null&&e(A,$),E=u(Mt,E,rt),_t===null?P=Mt:_t.sibling=Mt,_t=Mt,$=gt}if(rt===O.length)return l(A,$),St&&Cl(A,rt),P;if($===null){for(;rt<O.length;rt++)$=j(A,O[rt],H),$!==null&&(E=u($,E,rt),_t===null?P=$:_t.sibling=$,_t=$);return St&&Cl(A,rt),P}for($=a($);rt<O.length;rt++)gt=R($,A,rt,O[rt],H),gt!==null&&(t&>.alternate!==null&&$.delete(gt.key===null?rt:gt.key),E=u(gt,E,rt),_t===null?P=gt:_t.sibling=gt,_t=gt);return t&&$.forEach(function(Ma){return e(A,Ma)}),St&&Cl(A,rt),P}function at(A,E,O,H){if(O==null)throw Error(i(151));for(var P=null,_t=null,$=E,rt=E=0,gt=null,Mt=O.next();$!==null&&!Mt.done;rt++,Mt=O.next()){$.index>rt?(gt=$,$=null):gt=$.sibling;var Ma=N(A,$,Mt.value,H);if(Ma===null){$===null&&($=gt);break}t&&$&&Ma.alternate===null&&e(A,$),E=u(Ma,E,rt),_t===null?P=Ma:_t.sibling=Ma,_t=Ma,$=gt}if(Mt.done)return l(A,$),St&&Cl(A,rt),P;if($===null){for(;!Mt.done;rt++,Mt=O.next())Mt=j(A,Mt.value,H),Mt!==null&&(E=u(Mt,E,rt),_t===null?P=Mt:_t.sibling=Mt,_t=Mt);return St&&Cl(A,rt),P}for($=a($);!Mt.done;rt++,Mt=O.next())Mt=R($,A,rt,Mt.value,H),Mt!==null&&(t&&Mt.alternate!==null&&$.delete(Mt.key===null?rt:Mt.key),E=u(Mt,E,rt),_t===null?P=Mt:_t.sibling=Mt,_t=Mt);return t&&$.forEach(function(jy){return e(A,jy)}),St&&Cl(A,rt),P}function Ut(A,E,O,H){if(typeof O=="object"&&O!==null&&O.type===X&&O.key===null&&(O=O.props.children),typeof O=="object"&&O!==null){switch(O.$$typeof){case C:t:{for(var P=O.key;E!==null;){if(E.key===P){if(P=O.type,P===X){if(E.tag===7){l(A,E.sibling),H=n(E,O.props.children),H.return=A,A=H;break t}}else if(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Dt&&Va(P)===E.type){l(A,E.sibling),H=n(E,O.props),Au(H,O),H.return=A,A=H;break t}l(A,E);break}else e(A,E);E=E.sibling}O.type===X?(H=qa(O.props.children,A.mode,H,O.key),H.return=A,A=H):(H=Ai(O.type,O.key,O.props,null,A.mode,H),Au(H,O),H.return=A,A=H)}return s(A);case L:t:{for(P=O.key;E!==null;){if(E.key===P)if(E.tag===4&&E.stateNode.containerInfo===O.containerInfo&&E.stateNode.implementation===O.implementation){l(A,E.sibling),H=n(E,O.children||[]),H.return=A,A=H;break t}else{l(A,E);break}else e(A,E);E=E.sibling}H=tf(O,A.mode,H),H.return=A,A=H}return s(A);case Dt:return O=Va(O),Ut(A,E,O,H)}if(Lt(O))return W(A,E,O,H);if(wt(O)){if(P=wt(O),typeof P!="function")throw Error(i(150));return O=P.call(O),at(A,E,O,H)}if(typeof O.then=="function")return Ut(A,E,Ri(O),H);if(O.$$typeof===K)return Ut(A,E,Oi(A,O),H);xi(A,O)}return typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint"?(O=""+O,E!==null&&E.tag===6?(l(A,E.sibling),H=n(E,O),H.return=A,A=H):(l(A,E),H=Pc(O,A.mode,H),H.return=A,A=H),s(A)):l(A,E)}return function(A,E,O,H){try{Eu=0;var P=Ut(A,E,O,H);return Dn=null,P}catch($){if($===zn||$===Di)throw $;var _t=we(29,$,null,A.mode);return _t.lanes=H,_t.return=A,_t}finally{}}}var Ka=tr(!0),er=tr(!1),fa=!1;function df(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function mf(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function sa(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function oa(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(Ot&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Ei(t),Yo(t,null,l),e}return Ti(t,a,e,l),Ei(t)}function _u(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Pn(t,l)}}function yf(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=s:u=u.next=s,l=l.next}while(l!==null);u===null?n=u=e:u=u.next=e}else n=u=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var pf=!1;function Mu(){if(pf){var t=On;if(t!==null)throw t}}function Ou(t,e,l,a){pf=!1;var n=t.updateQueue;fa=!1;var u=n.firstBaseUpdate,s=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var b=d,z=b.next;b.next=null,s===null?u=z:s.next=z,s=b;var U=t.alternate;U!==null&&(U=U.updateQueue,d=U.lastBaseUpdate,d!==s&&(d===null?U.firstBaseUpdate=z:d.next=z,U.lastBaseUpdate=b))}if(u!==null){var j=n.baseState;s=0,U=z=b=null,d=u;do{var N=d.lane&-536870913,R=N!==d.lane;if(R?(pt&N)===N:(a&N)===N){N!==0&&N===Mn&&(pf=!0),U!==null&&(U=U.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});t:{var W=t,at=d;N=e;var Ut=l;switch(at.tag){case 1:if(W=at.payload,typeof W=="function"){j=W.call(Ut,j,N);break t}j=W;break t;case 3:W.flags=W.flags&-65537|128;case 0:if(W=at.payload,N=typeof W=="function"?W.call(Ut,j,N):W,N==null)break t;j=_({},j,N);break t;case 2:fa=!0}}N=d.callback,N!==null&&(t.flags|=64,R&&(t.flags|=8192),R=n.callbacks,R===null?n.callbacks=[N]:R.push(N))}else R={lane:N,tag:d.tag,payload:d.payload,callback:d.callback,next:null},U===null?(z=U=R,b=j):U=U.next=R,s|=N;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;R=d,d=R.next,R.next=null,n.lastBaseUpdate=R,n.shared.pending=null}}while(!0);U===null&&(b=j),n.baseState=b,n.firstBaseUpdate=z,n.lastBaseUpdate=U,u===null&&(n.shared.lanes=0),ya|=s,t.lanes=s,t.memoizedState=j}}function lr(t,e){if(typeof t!="function")throw Error(i(191,t));t.call(e)}function ar(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)lr(l[t],e)}var Nn=T(null),Ci=T(0);function nr(t,e){t=Ql,k(Ci,t),k(Nn,e),Ql=t|e.baseLanes}function gf(){k(Ci,Ql),k(Nn,Nn.current)}function vf(){Ql=Ci.current,B(Nn),B(Ci)}var Qe=T(null),ll=null;function ra(t){var e=t.alternate;k(te,te.current&1),k(Qe,t),ll===null&&(e===null||Nn.current!==null||e.memoizedState!==null)&&(ll=t)}function Sf(t){k(te,te.current),k(Qe,t),ll===null&&(ll=t)}function ur(t){t.tag===22?(k(te,te.current),k(Qe,t),ll===null&&(ll=t)):ha()}function ha(){k(te,te.current),k(Qe,Qe.current)}function Ze(t){B(Qe),ll===t&&(ll=null),B(te)}var te=T(0);function Ui(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Ms(l)||Os(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Hl=0,st=null,xt=null,ae=null,Li=!1,Rn=!1,Ja=!1,Hi=0,zu=0,xn=null,O0=0;function $t(){throw Error(i(321))}function bf(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!Xe(t[l],e[l]))return!1;return!0}function Tf(t,e,l,a,n,u){return Hl=u,st=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,x.H=t===null||t.memoizedState===null?wr:jf,Ja=!1,u=l(a,n),Ja=!1,Rn&&(u=cr(e,l,a,n)),ir(t),u}function ir(t){x.H=Ru;var e=xt!==null&&xt.next!==null;if(Hl=0,ae=xt=st=null,Li=!1,zu=0,xn=null,e)throw Error(i(300));t===null||ne||(t=t.dependencies,t!==null&&Mi(t)&&(ne=!0))}function cr(t,e,l,a){st=t;var n=0;do{if(Rn&&(xn=null),zu=0,Rn=!1,25<=n)throw Error(i(301));if(n+=1,ae=xt=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}x.H=Qr,u=e(l,a)}while(Rn);return u}function z0(){var t=x.H,e=t.useState()[0];return e=typeof e.then=="function"?Du(e):e,t=t.useState()[0],(xt!==null?xt.memoizedState:null)!==t&&(st.flags|=1024),e}function Ef(){var t=Hi!==0;return Hi=0,t}function Af(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function _f(t){if(Li){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Li=!1}Hl=0,ae=xt=st=null,Rn=!1,zu=Hi=0,xn=null}function Ne(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ae===null?st.memoizedState=ae=t:ae=ae.next=t,ae}function ee(){if(xt===null){var t=st.alternate;t=t!==null?t.memoizedState:null}else t=xt.next;var e=ae===null?st.memoizedState:ae.next;if(e!==null)ae=e,xt=t;else{if(t===null)throw st.alternate===null?Error(i(467)):Error(i(310));xt=t,t={memoizedState:xt.memoizedState,baseState:xt.baseState,baseQueue:xt.baseQueue,queue:xt.queue,next:null},ae===null?st.memoizedState=ae=t:ae=ae.next=t}return ae}function ji(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Du(t){var e=zu;return zu+=1,xn===null&&(xn=[]),t=$o(xn,t,e),e=st,(ae===null?e.memoizedState:ae.next)===null&&(e=e.alternate,x.H=e===null||e.memoizedState===null?wr:jf),t}function Bi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Du(t);if(t.$$typeof===K)return ve(t)}throw Error(i(438,String(t)))}function Mf(t){var e=null,l=st.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=st.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=ji(),st.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=Xt;return e.index++,l}function jl(t,e){return typeof e=="function"?e(t):e}function Yi(t){var e=ee();return Of(e,xt,t)}function Of(t,e,l){var a=t.queue;if(a===null)throw Error(i(311));a.lastRenderedReducer=l;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var s=n.next;n.next=u.next,u.next=s}e.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{e=n.next;var d=s=null,b=null,z=e,U=!1;do{var j=z.lane&-536870913;if(j!==z.lane?(pt&j)===j:(Hl&j)===j){var N=z.revertLane;if(N===0)b!==null&&(b=b.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),j===Mn&&(U=!0);else if((Hl&N)===N){z=z.next,N===Mn&&(U=!0);continue}else j={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},b===null?(d=b=j,s=u):b=b.next=j,st.lanes|=N,ya|=N;j=z.action,Ja&&l(u,j),u=z.hasEagerState?z.eagerState:l(u,j)}else N={lane:j,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},b===null?(d=b=N,s=u):b=b.next=N,st.lanes|=j,ya|=j;z=z.next}while(z!==null&&z!==e);if(b===null?s=u:b.next=d,!Xe(u,t.memoizedState)&&(ne=!0,U&&(l=On,l!==null)))throw l;t.memoizedState=u,t.baseState=s,t.baseQueue=b,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function zf(t){var e=ee(),l=e.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,u=e.memoizedState;if(n!==null){l.pending=null;var s=n=n.next;do u=t(u,s.action),s=s.next;while(s!==n);Xe(u,e.memoizedState)||(ne=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function fr(t,e,l){var a=st,n=ee(),u=St;if(u){if(l===void 0)throw Error(i(407));l=l()}else l=e();var s=!Xe((xt||n).memoizedState,l);if(s&&(n.memoizedState=l,ne=!0),n=n.queue,Rf(rr.bind(null,a,n,t),[t]),n.getSnapshot!==e||s||ae!==null&&ae.memoizedState.tag&1){if(a.flags|=2048,Cn(9,{destroy:void 0},or.bind(null,a,n,l,e),null),jt===null)throw Error(i(349));u||(Hl&127)!==0||sr(a,e,l)}return l}function sr(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=st.updateQueue,e===null?(e=ji(),st.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function or(t,e,l,a){e.value=l,e.getSnapshot=a,hr(e)&&dr(t)}function rr(t,e,l){return l(function(){hr(e)&&dr(t)})}function hr(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Xe(t,l)}catch{return!0}}function dr(t){var e=Ga(t,2);e!==null&&Be(e,t,2)}function Df(t){var e=Ne();if(typeof t=="function"){var l=t;if(t=l(),Ja){il(!0);try{l()}finally{il(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jl,lastRenderedState:t},e}function mr(t,e,l,a){return t.baseState=l,Of(t,xt,typeof a=="function"?a:jl)}function D0(t,e,l,a,n){if(Xi(t))throw Error(i(485));if(t=e.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){u.listeners.push(s)}};x.T!==null?l(!0):u.isTransition=!1,a(u),l=e.pending,l===null?(u.next=e.pending=u,yr(e,u)):(u.next=l.next,e.pending=l.next=u)}}function yr(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var u=x.T,s={};x.T=s;try{var d=l(n,a),b=x.S;b!==null&&b(s,d),pr(t,e,d)}catch(z){Nf(t,e,z)}finally{u!==null&&s.types!==null&&(u.types=s.types),x.T=u}}else try{u=l(n,a),pr(t,e,u)}catch(z){Nf(t,e,z)}}function pr(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){gr(t,e,a)},function(a){return Nf(t,e,a)}):gr(t,e,l)}function gr(t,e,l){e.status="fulfilled",e.value=l,vr(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,yr(t,l)))}function Nf(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,vr(e),e=e.next;while(e!==a)}t.action=null}function vr(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Sr(t,e){return e}function br(t,e){if(St){var l=jt.formState;if(l!==null){t:{var a=st;if(St){if(Gt){e:{for(var n=Gt,u=el;n.nodeType!==8;){if(!u){n=null;break e}if(n=al(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Gt=al(n.nextSibling),a=n.data==="F!";break t}}ia(a)}a=!1}a&&(e=l[0])}}return l=Ne(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sr,lastRenderedState:e},l.queue=a,l=Gr.bind(null,st,a),a.dispatch=l,a=Df(!1),u=Hf.bind(null,st,!1,a.queue),a=Ne(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=D0.bind(null,st,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Tr(t){var e=ee();return Er(e,xt,t)}function Er(t,e,l){if(e=Of(t,e,Sr)[0],t=Yi(jl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=Du(e)}catch(s){throw s===zn?Di:s}else a=e;e=ee();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(st.flags|=2048,Cn(9,{destroy:void 0},N0.bind(null,n,l),null)),[a,u,t]}function N0(t,e){t.action=e}function Ar(t){var e=ee(),l=xt;if(l!==null)return Er(e,l,t);ee(),e=e.memoizedState,l=ee();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function Cn(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=st.updateQueue,e===null&&(e=ji(),st.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function _r(){return ee().memoizedState}function Gi(t,e,l,a){var n=Ne();st.flags|=t,n.memoizedState=Cn(1|e,{destroy:void 0},l,a===void 0?null:a)}function qi(t,e,l,a){var n=ee();a=a===void 0?null:a;var u=n.memoizedState.inst;xt!==null&&a!==null&&bf(a,xt.memoizedState.deps)?n.memoizedState=Cn(e,u,l,a):(st.flags|=t,n.memoizedState=Cn(1|e,u,l,a))}function Mr(t,e){Gi(8390656,8,t,e)}function Rf(t,e){qi(2048,8,t,e)}function R0(t){st.flags|=4;var e=st.updateQueue;if(e===null)e=ji(),st.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function Or(t){var e=ee().memoizedState;return R0({ref:e,nextImpl:t}),function(){if((Ot&2)!==0)throw Error(i(440));return e.impl.apply(void 0,arguments)}}function zr(t,e){return qi(4,2,t,e)}function Dr(t,e){return qi(4,4,t,e)}function Nr(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Rr(t,e,l){l=l!=null?l.concat([t]):null,qi(4,4,Nr.bind(null,e,t),l)}function xf(){}function xr(t,e){var l=ee();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&bf(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Cr(t,e){var l=ee();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&bf(e,a[1]))return a[0];if(a=t(),Ja){il(!0);try{t()}finally{il(!1)}}return l.memoizedState=[a,e],a}function Cf(t,e,l){return l===void 0||(Hl&1073741824)!==0&&(pt&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Uh(),st.lanes|=t,ya|=t,l)}function Ur(t,e,l,a){return Xe(l,e)?l:Nn.current!==null?(t=Cf(t,l,a),Xe(t,e)||(ne=!0),t):(Hl&42)===0||(Hl&1073741824)!==0&&(pt&261930)===0?(ne=!0,t.memoizedState=l):(t=Uh(),st.lanes|=t,ya|=t,e)}function Lr(t,e,l,a,n){var u=Z.p;Z.p=u!==0&&8>u?u:8;var s=x.T,d={};x.T=d,Hf(t,!1,e,l);try{var b=n(),z=x.S;if(z!==null&&z(d,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var U=M0(b,a);Nu(t,e,U,Ke(t))}else Nu(t,e,a,Ke(t))}catch(j){Nu(t,e,{then:function(){},status:"rejected",reason:j},Ke())}finally{Z.p=u,s!==null&&d.types!==null&&(s.types=d.types),x.T=s}}function x0(){}function Uf(t,e,l,a){if(t.tag!==5)throw Error(i(476));var n=Hr(t).queue;Lr(t,n,e,et,l===null?x0:function(){return jr(t),l(a)})}function Hr(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:et,baseState:et,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jl,lastRenderedState:et},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:jl,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function jr(t){var e=Hr(t);e.next===null&&(e=t.alternate.memoizedState),Nu(t,e.next.queue,{},Ke())}function Lf(){return ve(ku)}function Br(){return ee().memoizedState}function Yr(){return ee().memoizedState}function C0(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Ke();t=sa(l);var a=oa(e,t,l);a!==null&&(Be(a,e,l),_u(a,e,l)),e={cache:sf()},t.payload=e;return}e=e.return}}function U0(t,e,l){var a=Ke();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Xi(t)?qr(e,l):(l=$c(t,e,l,a),l!==null&&(Be(l,t,a),Xr(l,e,a)))}function Gr(t,e,l){var a=Ke();Nu(t,e,l,a)}function Nu(t,e,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Xi(t))qr(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var s=e.lastRenderedState,d=u(s,l);if(n.hasEagerState=!0,n.eagerState=d,Xe(d,s))return Ti(t,e,n,0),jt===null&&bi(),!1}catch{}finally{}if(l=$c(t,e,n,a),l!==null)return Be(l,t,a),Xr(l,e,a),!0}return!1}function Hf(t,e,l,a){if(a={lane:2,revertLane:ds(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Xi(t)){if(e)throw Error(i(479))}else e=$c(t,l,a,2),e!==null&&Be(e,t,2)}function Xi(t){var e=t.alternate;return t===st||e!==null&&e===st}function qr(t,e){Rn=Li=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Xr(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Pn(t,l)}}var Ru={readContext:ve,use:Bi,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useLayoutEffect:$t,useInsertionEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useSyncExternalStore:$t,useId:$t,useHostTransitionStatus:$t,useFormState:$t,useActionState:$t,useOptimistic:$t,useMemoCache:$t,useCacheRefresh:$t};Ru.useEffectEvent=$t;var wr={readContext:ve,use:Bi,useCallback:function(t,e){return Ne().memoizedState=[t,e===void 0?null:e],t},useContext:ve,useEffect:Mr,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Gi(4194308,4,Nr.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Gi(4194308,4,t,e)},useInsertionEffect:function(t,e){Gi(4,2,t,e)},useMemo:function(t,e){var l=Ne();e=e===void 0?null:e;var a=t();if(Ja){il(!0);try{t()}finally{il(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=Ne();if(l!==void 0){var n=l(e);if(Ja){il(!0);try{l(e)}finally{il(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=U0.bind(null,st,t),[a.memoizedState,t]},useRef:function(t){var e=Ne();return t={current:t},e.memoizedState=t},useState:function(t){t=Df(t);var e=t.queue,l=Gr.bind(null,st,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:xf,useDeferredValue:function(t,e){var l=Ne();return Cf(l,t,e)},useTransition:function(){var t=Df(!1);return t=Lr.bind(null,st,t.queue,!0,!1),Ne().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=st,n=Ne();if(St){if(l===void 0)throw Error(i(407));l=l()}else{if(l=e(),jt===null)throw Error(i(349));(pt&127)!==0||sr(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,Mr(rr.bind(null,a,u,t),[t]),a.flags|=2048,Cn(9,{destroy:void 0},or.bind(null,a,u,l,e),null),l},useId:function(){var t=Ne(),e=jt.identifierPrefix;if(St){var l=Tl,a=bl;l=(a&~(1<<32-pe(a)-1)).toString(32)+l,e="_"+e+"R_"+l,l=Hi++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=O0++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Lf,useFormState:br,useActionState:br,useOptimistic:function(t){var e=Ne();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Hf.bind(null,st,!0,l),l.dispatch=e,[t,e]},useMemoCache:Mf,useCacheRefresh:function(){return Ne().memoizedState=C0.bind(null,st)},useEffectEvent:function(t){var e=Ne(),l={impl:t};return e.memoizedState=l,function(){if((Ot&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},jf={readContext:ve,use:Bi,useCallback:xr,useContext:ve,useEffect:Rf,useImperativeHandle:Rr,useInsertionEffect:zr,useLayoutEffect:Dr,useMemo:Cr,useReducer:Yi,useRef:_r,useState:function(){return Yi(jl)},useDebugValue:xf,useDeferredValue:function(t,e){var l=ee();return Ur(l,xt.memoizedState,t,e)},useTransition:function(){var t=Yi(jl)[0],e=ee().memoizedState;return[typeof t=="boolean"?t:Du(t),e]},useSyncExternalStore:fr,useId:Br,useHostTransitionStatus:Lf,useFormState:Tr,useActionState:Tr,useOptimistic:function(t,e){var l=ee();return mr(l,xt,t,e)},useMemoCache:Mf,useCacheRefresh:Yr};jf.useEffectEvent=Or;var Qr={readContext:ve,use:Bi,useCallback:xr,useContext:ve,useEffect:Rf,useImperativeHandle:Rr,useInsertionEffect:zr,useLayoutEffect:Dr,useMemo:Cr,useReducer:zf,useRef:_r,useState:function(){return zf(jl)},useDebugValue:xf,useDeferredValue:function(t,e){var l=ee();return xt===null?Cf(l,t,e):Ur(l,xt.memoizedState,t,e)},useTransition:function(){var t=zf(jl)[0],e=ee().memoizedState;return[typeof t=="boolean"?t:Du(t),e]},useSyncExternalStore:fr,useId:Br,useHostTransitionStatus:Lf,useFormState:Ar,useActionState:Ar,useOptimistic:function(t,e){var l=ee();return xt!==null?mr(l,xt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Mf,useCacheRefresh:Yr};Qr.useEffectEvent=Or;function Bf(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:_({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Yf={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=Ke(),n=sa(a);n.payload=e,l!=null&&(n.callback=l),e=oa(t,n,a),e!==null&&(Be(e,t,a),_u(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=Ke(),n=sa(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=oa(t,n,a),e!==null&&(Be(e,t,a),_u(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Ke(),a=sa(l);a.tag=2,e!=null&&(a.callback=e),e=oa(t,a,l),e!==null&&(Be(e,t,l),_u(e,t,l))}};function Zr(t,e,l,a,n,u,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,s):e.prototype&&e.prototype.isPureReactComponent?!pu(l,a)||!pu(n,u):!0}function Vr(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Yf.enqueueReplaceState(e,e.state,null)}function Wa(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=_({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}function kr(t){Si(t)}function Kr(t){console.error(t)}function Jr(t){Si(t)}function wi(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function Wr(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Gf(t,e,l){return l=sa(l),l.tag=3,l.payload={element:null},l.callback=function(){wi(t,e)},l}function Fr(t){return t=sa(t),t.tag=3,t}function $r(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){Wr(e,l,a)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(t.callback=function(){Wr(e,l,a),typeof n!="function"&&(pa===null?pa=new Set([this]):pa.add(this));var d=a.stack;this.componentDidCatch(a.value,{componentStack:d!==null?d:""})})}function L0(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&_n(e,l,n,!0),l=Qe.current,l!==null){switch(l.tag){case 31:case 13:return ll===null?tc():l.alternate===null&&It===0&&(It=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Ni?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),os(t,a,n)),!1;case 22:return l.flags|=65536,a===Ni?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),os(t,a,n)),!1}throw Error(i(435,l.tag))}return os(t,a,n),tc(),!1}if(St)return e=Qe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==af&&(t=Error(i(422),{cause:a}),Su(Ie(t,l)))):(a!==af&&(e=Error(i(423),{cause:a}),Su(Ie(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Ie(a,l),n=Gf(t.stateNode,a,n),yf(t,n),It!==4&&(It=2)),!1;var u=Error(i(520),{cause:a});if(u=Ie(u,l),Yu===null?Yu=[u]:Yu.push(u),It!==4&&(It=2),e===null)return!0;a=Ie(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Gf(l.stateNode,a,t),yf(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(pa===null||!pa.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Fr(n),$r(n,t,l,a),yf(l,n),!1}l=l.return}while(l!==null);return!1}var qf=Error(i(461)),ne=!1;function Se(t,e,l,a){e.child=t===null?er(e,null,l,a):Ka(e,t.child,l,a)}function Ir(t,e,l,a,n){l=l.render;var u=e.ref;if("ref"in a){var s={};for(var d in a)d!=="ref"&&(s[d]=a[d])}else s=a;return Qa(e),a=Tf(t,e,l,s,u,n),d=Ef(),t!==null&&!ne?(Af(t,e,n),Bl(t,e,n)):(St&&d&&ef(e),e.flags|=1,Se(t,e,a,n),e.child)}function Pr(t,e,l,a,n){if(t===null){var u=l.type;return typeof u=="function"&&!Ic(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,th(t,e,u,a,n)):(t=Ai(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!Jf(t,n)){var s=u.memoizedProps;if(l=l.compare,l=l!==null?l:pu,l(s,a)&&t.ref===e.ref)return Bl(t,e,n)}return e.flags|=1,t=xl(u,a),t.ref=e.ref,t.return=e,e.child=t}function th(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(pu(u,a)&&t.ref===e.ref)if(ne=!1,e.pendingProps=a=u,Jf(t,n))(t.flags&131072)!==0&&(ne=!0);else return e.lanes=t.lanes,Bl(t,e,n)}return Xf(t,e,l,a,n)}function eh(t,e,l,a){var n=a.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(a=e.child=t.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,e.child=null;return lh(t,e,u,l,a)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&zi(e,u!==null?u.cachePool:null),u!==null?nr(e,u):gf(),ur(e);else return a=e.lanes=536870912,lh(t,e,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(zi(e,u.cachePool),nr(e,u),ha(),e.memoizedState=null):(t!==null&&zi(e,null),gf(),ha());return Se(t,e,n,l),e.child}function xu(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function lh(t,e,l,a,n){var u=rf();return u=u===null?null:{parent:le._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&zi(e,null),gf(),ur(e),t!==null&&_n(t,e,a,!0),e.childLanes=n,null}function Qi(t,e){return e=Vi({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function ah(t,e,l){return Ka(e,t.child,null,l),t=Qi(e,e.pendingProps),t.flags|=2,Ze(e),e.memoizedState=null,t}function H0(t,e,l){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(St){if(a.mode==="hidden")return t=Qi(e,a),e.lanes=536870912,xu(null,t);if(Sf(e),(t=Gt)?(t=yd(t,el),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:na!==null?{id:bl,overflow:Tl}:null,retryLane:536870912,hydrationErrors:null},l=qo(t),l.return=e,e.child=l,ge=e,Gt=null)):t=null,t===null)throw ia(e);return e.lanes=536870912,null}return Qi(e,a)}var u=t.memoizedState;if(u!==null){var s=u.dehydrated;if(Sf(e),n)if(e.flags&256)e.flags&=-257,e=ah(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(i(558));else if(ne||_n(t,e,l,!1),n=(l&t.childLanes)!==0,ne||n){if(a=jt,a!==null&&(s=on(a,l),s!==0&&s!==u.retryLane))throw u.retryLane=s,Ga(t,s),Be(a,t,s),qf;tc(),e=ah(t,e,l)}else t=u.treeContext,Gt=al(s.nextSibling),ge=e,St=!0,ua=null,el=!1,t!==null&&Qo(e,t),e=Qi(e,a),e.flags|=4096;return e}return t=xl(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Zi(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Xf(t,e,l,a,n){return Qa(e),l=Tf(t,e,l,a,void 0,n),a=Ef(),t!==null&&!ne?(Af(t,e,n),Bl(t,e,n)):(St&&a&&ef(e),e.flags|=1,Se(t,e,l,n),e.child)}function nh(t,e,l,a,n,u){return Qa(e),e.updateQueue=null,l=cr(e,a,l,n),ir(t),a=Ef(),t!==null&&!ne?(Af(t,e,u),Bl(t,e,u)):(St&&a&&ef(e),e.flags|=1,Se(t,e,l,u),e.child)}function uh(t,e,l,a,n){if(Qa(e),e.stateNode===null){var u=bn,s=l.contextType;typeof s=="object"&&s!==null&&(u=ve(s)),u=new l(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Yf,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},df(e),s=l.contextType,u.context=typeof s=="object"&&s!==null?ve(s):bn,u.state=e.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(Bf(e,l,s,a),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(s=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),s!==u.state&&Yf.enqueueReplaceState(u,u.state,null),Ou(e,a,u,n),Mu(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var d=e.memoizedProps,b=Wa(l,d);u.props=b;var z=u.context,U=l.contextType;s=bn,typeof U=="object"&&U!==null&&(s=ve(U));var j=l.getDerivedStateFromProps;U=typeof j=="function"||typeof u.getSnapshotBeforeUpdate=="function",d=e.pendingProps!==d,U||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d||z!==s)&&Vr(e,u,a,s),fa=!1;var N=e.memoizedState;u.state=N,Ou(e,a,u,n),Mu(),z=e.memoizedState,d||N!==z||fa?(typeof j=="function"&&(Bf(e,l,j,a),z=e.memoizedState),(b=fa||Zr(e,l,b,a,N,z,s))?(U||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=z),u.props=a,u.state=z,u.context=s,a=b):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,mf(t,e),s=e.memoizedProps,U=Wa(l,s),u.props=U,j=e.pendingProps,N=u.context,z=l.contextType,b=bn,typeof z=="object"&&z!==null&&(b=ve(z)),d=l.getDerivedStateFromProps,(z=typeof d=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s!==j||N!==b)&&Vr(e,u,a,b),fa=!1,N=e.memoizedState,u.state=N,Ou(e,a,u,n),Mu();var R=e.memoizedState;s!==j||N!==R||fa||t!==null&&t.dependencies!==null&&Mi(t.dependencies)?(typeof d=="function"&&(Bf(e,l,d,a),R=e.memoizedState),(U=fa||Zr(e,l,U,a,N,R,b)||t!==null&&t.dependencies!==null&&Mi(t.dependencies))?(z||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,R,b),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,R,b)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||s===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=R),u.props=a,u.state=R,u.context=b,a=U):(typeof u.componentDidUpdate!="function"||s===t.memoizedProps&&N===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&N===t.memoizedState||(e.flags|=1024),a=!1)}return u=a,Zi(t,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&a?(e.child=Ka(e,t.child,null,n),e.child=Ka(e,null,l,n)):Se(t,e,l,n),e.memoizedState=u.state,t=e.child):t=Bl(t,e,n),t}function ih(t,e,l,a){return Xa(),e.flags|=256,Se(t,e,l,a),e.child}var wf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Qf(t){return{baseLanes:t,cachePool:Wo()}}function Zf(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=ke),t}function ch(t,e,l){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,s;if((s=u)||(s=t!==null&&t.memoizedState===null?!1:(te.current&2)!==0),s&&(n=!0,e.flags&=-129),s=(e.flags&32)!==0,e.flags&=-33,t===null){if(St){if(n?ra(e):ha(),(t=Gt)?(t=yd(t,el),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:na!==null?{id:bl,overflow:Tl}:null,retryLane:536870912,hydrationErrors:null},l=qo(t),l.return=e,e.child=l,ge=e,Gt=null)):t=null,t===null)throw ia(e);return Os(t)?e.lanes=32:e.lanes=536870912,null}var d=a.children;return a=a.fallback,n?(ha(),n=e.mode,d=Vi({mode:"hidden",children:d},n),a=qa(a,n,l,null),d.return=e,a.return=e,d.sibling=a,e.child=d,a=e.child,a.memoizedState=Qf(l),a.childLanes=Zf(t,s,l),e.memoizedState=wf,xu(null,a)):(ra(e),Vf(e,d))}var b=t.memoizedState;if(b!==null&&(d=b.dehydrated,d!==null)){if(u)e.flags&256?(ra(e),e.flags&=-257,e=kf(t,e,l)):e.memoizedState!==null?(ha(),e.child=t.child,e.flags|=128,e=null):(ha(),d=a.fallback,n=e.mode,a=Vi({mode:"visible",children:a.children},n),d=qa(d,n,l,null),d.flags|=2,a.return=e,d.return=e,a.sibling=d,e.child=a,Ka(e,t.child,null,l),a=e.child,a.memoizedState=Qf(l),a.childLanes=Zf(t,s,l),e.memoizedState=wf,e=xu(null,a));else if(ra(e),Os(d)){if(s=d.nextSibling&&d.nextSibling.dataset,s)var z=s.dgst;s=z,a=Error(i(419)),a.stack="",a.digest=s,Su({value:a,source:null,stack:null}),e=kf(t,e,l)}else if(ne||_n(t,e,l,!1),s=(l&t.childLanes)!==0,ne||s){if(s=jt,s!==null&&(a=on(s,l),a!==0&&a!==b.retryLane))throw b.retryLane=a,Ga(t,a),Be(s,t,a),qf;Ms(d)||tc(),e=kf(t,e,l)}else Ms(d)?(e.flags|=192,e.child=t.child,e=null):(t=b.treeContext,Gt=al(d.nextSibling),ge=e,St=!0,ua=null,el=!1,t!==null&&Qo(e,t),e=Vf(e,a.children),e.flags|=4096);return e}return n?(ha(),d=a.fallback,n=e.mode,b=t.child,z=b.sibling,a=xl(b,{mode:"hidden",children:a.children}),a.subtreeFlags=b.subtreeFlags&65011712,z!==null?d=xl(z,d):(d=qa(d,n,l,null),d.flags|=2),d.return=e,a.return=e,a.sibling=d,e.child=a,xu(null,a),a=e.child,d=t.child.memoizedState,d===null?d=Qf(l):(n=d.cachePool,n!==null?(b=le._currentValue,n=n.parent!==b?{parent:b,pool:b}:n):n=Wo(),d={baseLanes:d.baseLanes|l,cachePool:n}),a.memoizedState=d,a.childLanes=Zf(t,s,l),e.memoizedState=wf,xu(t.child,a)):(ra(e),l=t.child,t=l.sibling,l=xl(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(s=e.deletions,s===null?(e.deletions=[t],e.flags|=16):s.push(t)),e.child=l,e.memoizedState=null,l)}function Vf(t,e){return e=Vi({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Vi(t,e){return t=we(22,t,null,e),t.lanes=0,t}function kf(t,e,l){return Ka(e,t.child,null,l),t=Vf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function fh(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),cf(t.return,e,l)}function Kf(t,e,l,a,n,u){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=l,s.tailMode=n,s.treeForkCount=u)}function sh(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var s=te.current,d=(s&2)!==0;if(d?(s=s&1|2,e.flags|=128):s&=1,k(te,s),Se(t,e,a,l),a=St?vu:0,!d&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&fh(t,l,e);else if(t.tag===19)fh(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&Ui(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),Kf(e,!1,n,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Ui(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}Kf(e,!0,l,null,u,a);break;case"together":Kf(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function Bl(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),ya|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(_n(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(i(153));if(e.child!==null){for(t=e.child,l=xl(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=xl(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Jf(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Mi(t)))}function j0(t,e,l){switch(e.tag){case 3:re(e,e.stateNode.containerInfo),ca(e,le,t.memoizedState.cache),Xa();break;case 27:case 5:kl(e);break;case 4:re(e,e.stateNode.containerInfo);break;case 10:ca(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Sf(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(ra(e),e.flags|=128,null):(l&e.child.childLanes)!==0?ch(t,e,l):(ra(e),t=Bl(t,e,l),t!==null?t.sibling:null);ra(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(_n(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return sh(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),k(te,te.current),a)break;return null;case 22:return e.lanes=0,eh(t,e,l,e.pendingProps);case 24:ca(e,le,t.memoizedState.cache)}return Bl(t,e,l)}function oh(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)ne=!0;else{if(!Jf(t,l)&&(e.flags&128)===0)return ne=!1,j0(t,e,l);ne=(t.flags&131072)!==0}else ne=!1,St&&(e.flags&1048576)!==0&&wo(e,vu,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=Va(e.elementType),e.type=t,typeof t=="function")Ic(t)?(a=Wa(t,a),e.tag=1,e=uh(null,e,t,a,l)):(e.tag=0,e=Xf(null,e,t,a,l));else{if(t!=null){var n=t.$$typeof;if(n===it){e.tag=11,e=Ir(null,e,t,a,l);break t}else if(n===I){e.tag=14,e=Pr(null,e,t,a,l);break t}}throw e=zt(t)||t,Error(i(306,e,""))}}return e;case 0:return Xf(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=Wa(a,e.pendingProps),uh(t,e,a,n,l);case 3:t:{if(re(e,e.stateNode.containerInfo),t===null)throw Error(i(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,mf(t,e),Ou(e,a,null,l);var s=e.memoizedState;if(a=s.cache,ca(e,le,a),a!==u.cache&&ff(e,[le],l,!0),Mu(),a=s.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:s.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=ih(t,e,a,l);break t}else if(a!==n){n=Ie(Error(i(424)),e),Su(n),e=ih(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Gt=al(t.firstChild),ge=e,St=!0,ua=null,el=!0,l=er(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Xa(),a===n){e=Bl(t,e,l);break t}Se(t,e,a,l)}e=e.child}return e;case 26:return Zi(t,e),t===null?(l=Td(e.type,null,e.pendingProps,null))?e.memoizedState=l:St||(l=e.type,t=e.pendingProps,a=cc(ht.current).createElement(l),a[ce]=e,a[dt]=t,be(a,l,t),Kt(a),e.stateNode=a):e.memoizedState=Td(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return kl(e),t===null&&St&&(a=e.stateNode=vd(e.type,e.pendingProps,ht.current),ge=e,el=!0,n=Gt,ba(e.type)?(zs=n,Gt=al(a.firstChild)):Gt=n),Se(t,e,e.pendingProps.children,l),Zi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&St&&((n=a=Gt)&&(a=hy(a,e.type,e.pendingProps,el),a!==null?(e.stateNode=a,ge=e,Gt=al(a.firstChild),el=!1,n=!0):n=!1),n||ia(e)),kl(e),n=e.type,u=e.pendingProps,s=t!==null?t.memoizedProps:null,a=u.children,Es(n,u)?a=null:s!==null&&Es(n,s)&&(e.flags|=32),e.memoizedState!==null&&(n=Tf(t,e,z0,null,null,l),ku._currentValue=n),Zi(t,e),Se(t,e,a,l),e.child;case 6:return t===null&&St&&((t=l=Gt)&&(l=dy(l,e.pendingProps,el),l!==null?(e.stateNode=l,ge=e,Gt=null,t=!0):t=!1),t||ia(e)),null;case 13:return ch(t,e,l);case 4:return re(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=Ka(e,null,a,l):Se(t,e,a,l),e.child;case 11:return Ir(t,e,e.type,e.pendingProps,l);case 7:return Se(t,e,e.pendingProps,l),e.child;case 8:return Se(t,e,e.pendingProps.children,l),e.child;case 12:return Se(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,ca(e,e.type,a.value),Se(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Qa(e),n=ve(n),a=a(n),e.flags|=1,Se(t,e,a,l),e.child;case 14:return Pr(t,e,e.type,e.pendingProps,l);case 15:return th(t,e,e.type,e.pendingProps,l);case 19:return sh(t,e,l);case 31:return H0(t,e,l);case 22:return eh(t,e,l,e.pendingProps);case 24:return Qa(e),a=ve(le),t===null?(n=rf(),n===null&&(n=jt,u=sf(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},df(e),ca(e,le,n)):((t.lanes&l)!==0&&(mf(t,e),Ou(e,null,null,l),Mu()),n=t.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),ca(e,le,a)):(a=u.cache,ca(e,le,a),a!==n.cache&&ff(e,[le],l,!0))),Se(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(i(156,e.tag))}function Yl(t){t.flags|=4}function Wf(t,e,l,a,n){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(Bh())t.flags|=8192;else throw ka=Ni,hf}else t.flags&=-16777217}function rh(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Od(e))if(Bh())t.flags|=8192;else throw ka=Ni,hf}function ki(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Ge():536870912,t.lanes|=e,jn|=e)}function Cu(t,e){if(!St)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function qt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function B0(t,e,l){var a=e.pendingProps;switch(lf(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qt(e),null;case 1:return qt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ll(le),kt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(An(e)?Yl(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,nf())),qt(e),null;case 26:var n=e.type,u=e.memoizedState;return t===null?(Yl(e),u!==null?(qt(e),rh(e,u)):(qt(e),Wf(e,n,null,a,l))):u?u!==t.memoizedState?(Yl(e),qt(e),rh(e,u)):(qt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&Yl(e),qt(e),Wf(e,n,t,a,l)),null;case 27:if(Ht(e),l=ht.current,n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Yl(e);else{if(!a){if(e.stateNode===null)throw Error(i(166));return qt(e),null}t=F.current,An(e)?Zo(e):(t=vd(n,a,l),e.stateNode=t,Yl(e))}return qt(e),null;case 5:if(Ht(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Yl(e);else{if(!a){if(e.stateNode===null)throw Error(i(166));return qt(e),null}if(u=F.current,An(e))Zo(e);else{var s=cc(ht.current);switch(u){case 1:u=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=s.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?s.createElement(n,{is:a.is}):s.createElement(n)}}u[ce]=e,u[dt]=a;t:for(s=e.child;s!==null;){if(s.tag===5||s.tag===6)u.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break t;for(;s.sibling===null;){if(s.return===null||s.return===e)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}e.stateNode=u;t:switch(be(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&Yl(e)}}return qt(e),Wf(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Yl(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(i(166));if(t=ht.current,An(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=ge,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[ce]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||cd(t.nodeValue,l)),t||ia(e,!0)}else t=cc(t).createTextNode(a),t[ce]=e,e.stateNode=t}return qt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(a=An(e),l!==null){if(t===null){if(!a)throw Error(i(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(i(557));t[ce]=e}else Xa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;qt(e),t=!1}else l=nf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Ze(e),e):(Ze(e),null);if((e.flags&128)!==0)throw Error(i(558))}return qt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=An(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(i(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(i(317));n[ce]=e}else Xa(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;qt(e),n=!1}else n=nf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Ze(e),e):(Ze(e),null)}return Ze(e),(e.flags&128)!==0?(e.lanes=l,e):(l=a!==null,t=t!==null&&t.memoizedState!==null,l&&(a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),ki(e,e.updateQueue),qt(e),null);case 4:return kt(),t===null&&gs(e.stateNode.containerInfo),qt(e),null;case 10:return Ll(e.type),qt(e),null;case 19:if(B(te),a=e.memoizedState,a===null)return qt(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)Cu(a,!1);else{if(It!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Ui(t),u!==null){for(e.flags|=128,Cu(a,!1),t=u.updateQueue,e.updateQueue=t,ki(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Go(l,t),l=l.sibling;return k(te,te.current&1|2),St&&Cl(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&Ft()>$i&&(e.flags|=128,n=!0,Cu(a,!1),e.lanes=4194304)}else{if(!n)if(t=Ui(u),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,ki(e,t),Cu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!St)return qt(e),null}else 2*Ft()-a.renderingStartTime>$i&&l!==536870912&&(e.flags|=128,n=!0,Cu(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(t=a.last,t!==null?t.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Ft(),t.sibling=null,l=te.current,k(te,n?l&1|2:l&1),St&&Cl(e,a.treeForkCount),t):(qt(e),null);case 22:case 23:return Ze(e),vf(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(qt(e),e.subtreeFlags&6&&(e.flags|=8192)):qt(e),l=e.updateQueue,l!==null&&ki(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&B(Za),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ll(le),qt(e),null;case 25:return null;case 30:return null}throw Error(i(156,e.tag))}function Y0(t,e){switch(lf(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ll(le),kt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ht(e),null;case 31:if(e.memoizedState!==null){if(Ze(e),e.alternate===null)throw Error(i(340));Xa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Ze(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(i(340));Xa()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return B(te),null;case 4:return kt(),null;case 10:return Ll(e.type),null;case 22:case 23:return Ze(e),vf(),t!==null&&B(Za),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ll(le),null;case 25:return null;default:return null}}function hh(t,e){switch(lf(e),e.tag){case 3:Ll(le),kt();break;case 26:case 27:case 5:Ht(e);break;case 4:kt();break;case 31:e.memoizedState!==null&&Ze(e);break;case 13:Ze(e);break;case 19:B(te);break;case 10:Ll(e.type);break;case 22:case 23:Ze(e),vf(),t!==null&&B(Za);break;case 24:Ll(le)}}function Uu(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var u=l.create,s=l.inst;a=u(),s.destroy=a}l=l.next}while(l!==n)}}catch(d){Rt(e,e.return,d)}}function da(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var s=a.inst,d=s.destroy;if(d!==void 0){s.destroy=void 0,n=e;var b=l,z=d;try{z()}catch(U){Rt(n,b,U)}}}a=a.next}while(a!==u)}}catch(U){Rt(e,e.return,U)}}function dh(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{ar(e,l)}catch(a){Rt(t,t.return,a)}}}function mh(t,e,l){l.props=Wa(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){Rt(t,e,a)}}function Lu(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){Rt(t,e,n)}}function El(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Rt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Rt(t,e,n)}else l.current=null}function yh(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Rt(t,t.return,n)}}function Ff(t,e,l){try{var a=t.stateNode;iy(a,t.type,l,e),a[dt]=e}catch(n){Rt(t,t.return,n)}}function ph(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ba(t.type)||t.tag===4}function $f(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||ph(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ba(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function If(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Zt));else if(a!==4&&(a===27&&ba(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(If(t,e,l),t=t.sibling;t!==null;)If(t,e,l),t=t.sibling}function Ki(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&ba(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(Ki(t,e,l),t=t.sibling;t!==null;)Ki(t,e,l),t=t.sibling}function gh(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);be(e,a,l),e[ce]=t,e[dt]=l}catch(u){Rt(t,t.return,u)}}var Gl=!1,ue=!1,Pf=!1,vh=typeof WeakSet=="function"?WeakSet:Set,de=null;function G0(t,e){if(t=t.containerInfo,bs=mc,t=Ro(t),Vc(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var s=0,d=-1,b=-1,z=0,U=0,j=t,N=null;e:for(;;){for(var R;j!==l||n!==0&&j.nodeType!==3||(d=s+n),j!==u||a!==0&&j.nodeType!==3||(b=s+a),j.nodeType===3&&(s+=j.nodeValue.length),(R=j.firstChild)!==null;)N=j,j=R;for(;;){if(j===t)break e;if(N===l&&++z===n&&(d=s),N===u&&++U===a&&(b=s),(R=j.nextSibling)!==null)break;j=N,N=j.parentNode}j=R}l=d===-1||b===-1?null:{start:d,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(Ts={focusedElem:t,selectionRange:l},mc=!1,de=e;de!==null;)if(e=de,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,de=t;else for(;de!==null;){switch(e=de,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)n=t[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var W=Wa(l.type,n);t=a.getSnapshotBeforeUpdate(W,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(at){Rt(l,l.return,at)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)_s(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":_s(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(i(163))}if(t=e.sibling,t!==null){t.return=e.return,de=t;break}de=e.return}}function Sh(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:Xl(t,l),a&4&&Uu(5,l);break;case 1:if(Xl(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(s){Rt(l,l.return,s)}else{var n=Wa(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(s){Rt(l,l.return,s)}}a&64&&dh(l),a&512&&Lu(l,l.return);break;case 3:if(Xl(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{ar(t,e)}catch(s){Rt(l,l.return,s)}}break;case 27:e===null&&a&4&&gh(l);case 26:case 5:Xl(t,l),e===null&&a&4&&yh(l),a&512&&Lu(l,l.return);break;case 12:Xl(t,l);break;case 31:Xl(t,l),a&4&&Eh(t,l);break;case 13:Xl(t,l),a&4&&Ah(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=J0.bind(null,l),my(t,l))));break;case 22:if(a=l.memoizedState!==null||Gl,!a){e=e!==null&&e.memoizedState!==null||ue,n=Gl;var u=ue;Gl=a,(ue=e)&&!u?wl(t,l,(l.subtreeFlags&8772)!==0):Xl(t,l),Gl=n,ue=u}break;case 30:break;default:Xl(t,l)}}function bh(t){var e=t.alternate;e!==null&&(t.alternate=null,bh(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&au(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Vt=null,Ue=!1;function ql(t,e,l){for(l=l.child;l!==null;)Th(t,e,l),l=l.sibling}function Th(t,e,l){if(Ae&&typeof Ae.onCommitFiberUnmount=="function")try{Ae.onCommitFiberUnmount(Jl,l)}catch{}switch(l.tag){case 26:ue||El(l,e),ql(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ue||El(l,e);var a=Vt,n=Ue;ba(l.type)&&(Vt=l.stateNode,Ue=!1),ql(t,e,l),Qu(l.stateNode),Vt=a,Ue=n;break;case 5:ue||El(l,e);case 6:if(a=Vt,n=Ue,Vt=null,ql(t,e,l),Vt=a,Ue=n,Vt!==null)if(Ue)try{(Vt.nodeType===9?Vt.body:Vt.nodeName==="HTML"?Vt.ownerDocument.body:Vt).removeChild(l.stateNode)}catch(u){Rt(l,e,u)}else try{Vt.removeChild(l.stateNode)}catch(u){Rt(l,e,u)}break;case 18:Vt!==null&&(Ue?(t=Vt,dd(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Zn(t)):dd(Vt,l.stateNode));break;case 4:a=Vt,n=Ue,Vt=l.stateNode.containerInfo,Ue=!0,ql(t,e,l),Vt=a,Ue=n;break;case 0:case 11:case 14:case 15:da(2,l,e),ue||da(4,l,e),ql(t,e,l);break;case 1:ue||(El(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&mh(l,e,a)),ql(t,e,l);break;case 21:ql(t,e,l);break;case 22:ue=(a=ue)||l.memoizedState!==null,ql(t,e,l),ue=a;break;default:ql(t,e,l)}}function Eh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Zn(t)}catch(l){Rt(e,e.return,l)}}}function Ah(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Zn(t)}catch(l){Rt(e,e.return,l)}}function q0(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new vh),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new vh),e;default:throw Error(i(435,t.tag))}}function Ji(t,e){var l=q0(t);e.forEach(function(a){if(!l.has(a)){l.add(a);var n=W0.bind(null,t,a);a.then(n,n)}})}function Le(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=t,s=e,d=s;t:for(;d!==null;){switch(d.tag){case 27:if(ba(d.type)){Vt=d.stateNode,Ue=!1;break t}break;case 5:Vt=d.stateNode,Ue=!1;break t;case 3:case 4:Vt=d.stateNode.containerInfo,Ue=!0;break t}d=d.return}if(Vt===null)throw Error(i(160));Th(u,s,n),Vt=null,Ue=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)_h(e,t),e=e.sibling}var rl=null;function _h(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Le(e,t),He(t),a&4&&(da(3,t,t.return),Uu(3,t),da(5,t,t.return));break;case 1:Le(e,t),He(t),a&512&&(ue||l===null||El(l,l.return)),a&64&&Gl&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=rl;if(Le(e,t),He(t),a&512&&(ue||l===null||El(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Il]||u[ce]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),be(u,a,l),u[ce]=t,Kt(u),a=u;break t;case"link":var s=_d("link","href",n).get(a+(l.href||""));if(s){for(var d=0;d<s.length;d++)if(u=s[d],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(d,1);break e}}u=n.createElement(a),be(u,a,l),n.head.appendChild(u);break;case"meta":if(s=_d("meta","content",n).get(a+(l.content||""))){for(d=0;d<s.length;d++)if(u=s[d],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(d,1);break e}}u=n.createElement(a),be(u,a,l),n.head.appendChild(u);break;default:throw Error(i(468,a))}u[ce]=t,Kt(u),a=u}t.stateNode=a}else Md(n,t.type,t.stateNode);else t.stateNode=Ad(n,a,t.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Md(n,t.type,t.stateNode):Ad(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Ff(t,t.memoizedProps,l.memoizedProps)}break;case 27:Le(e,t),He(t),a&512&&(ue||l===null||El(l,l.return)),l!==null&&a&4&&Ff(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Le(e,t),He(t),a&512&&(ue||l===null||El(l,l.return)),t.flags&32){n=t.stateNode;try{M(n,"")}catch(W){Rt(t,t.return,W)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Ff(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Pf=!0);break;case 6:if(Le(e,t),He(t),a&4){if(t.stateNode===null)throw Error(i(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(W){Rt(t,t.return,W)}}break;case 3:if(oc=null,n=rl,rl=fc(e.containerInfo),Le(e,t),rl=n,He(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Zn(e.containerInfo)}catch(W){Rt(t,t.return,W)}Pf&&(Pf=!1,Mh(t));break;case 4:a=rl,rl=fc(t.stateNode.containerInfo),Le(e,t),He(t),rl=a;break;case 12:Le(e,t),He(t);break;case 31:Le(e,t),He(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ji(t,a)));break;case 13:Le(e,t),He(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Fi=Ft()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ji(t,a)));break;case 22:n=t.memoizedState!==null;var b=l!==null&&l.memoizedState!==null,z=Gl,U=ue;if(Gl=z||n,ue=U||b,Le(e,t),ue=U,Gl=z,He(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||b||Gl||ue||Fa(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){b=l=e;try{if(u=b.stateNode,n)s=u.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{d=b.stateNode;var j=b.memoizedProps.style,N=j!=null&&j.hasOwnProperty("display")?j.display:null;d.style.display=N==null||typeof N=="boolean"?"":(""+N).trim()}}catch(W){Rt(b,b.return,W)}}}else if(e.tag===6){if(l===null){b=e;try{b.stateNode.nodeValue=n?"":b.memoizedProps}catch(W){Rt(b,b.return,W)}}}else if(e.tag===18){if(l===null){b=e;try{var R=b.stateNode;n?md(R,!0):md(b.stateNode,!1)}catch(W){Rt(b,b.return,W)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,Ji(t,l))));break;case 19:Le(e,t),He(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ji(t,a)));break;case 30:break;case 21:break;default:Le(e,t),He(t)}}function He(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(ph(a)){l=a;break}a=a.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var n=l.stateNode,u=$f(t);Ki(t,u,n);break;case 5:var s=l.stateNode;l.flags&32&&(M(s,""),l.flags&=-33);var d=$f(t);Ki(t,d,s);break;case 3:case 4:var b=l.stateNode.containerInfo,z=$f(t);If(t,z,b);break;default:throw Error(i(161))}}catch(U){Rt(t,t.return,U)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Mh(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Mh(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function Xl(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Sh(t,e.alternate,e),e=e.sibling}function Fa(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:da(4,e,e.return),Fa(e);break;case 1:El(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&mh(e,e.return,l),Fa(e);break;case 27:Qu(e.stateNode);case 26:case 5:El(e,e.return),Fa(e);break;case 22:e.memoizedState===null&&Fa(e);break;case 30:Fa(e);break;default:Fa(e)}t=t.sibling}}function wl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,u=e,s=u.flags;switch(u.tag){case 0:case 11:case 15:wl(n,u,l),Uu(4,u);break;case 1:if(wl(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(z){Rt(a,a.return,z)}if(a=u,n=a.updateQueue,n!==null){var d=a.stateNode;try{var b=n.shared.hiddenCallbacks;if(b!==null)for(n.shared.hiddenCallbacks=null,n=0;n<b.length;n++)lr(b[n],d)}catch(z){Rt(a,a.return,z)}}l&&s&64&&dh(u),Lu(u,u.return);break;case 27:gh(u);case 26:case 5:wl(n,u,l),l&&a===null&&s&4&&yh(u),Lu(u,u.return);break;case 12:wl(n,u,l);break;case 31:wl(n,u,l),l&&s&4&&Eh(n,u);break;case 13:wl(n,u,l),l&&s&4&&Ah(n,u);break;case 22:u.memoizedState===null&&wl(n,u,l),Lu(u,u.return);break;case 30:break;default:wl(n,u,l)}e=e.sibling}}function ts(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&bu(l))}function es(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&bu(t))}function hl(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Oh(t,e,l,a),e=e.sibling}function Oh(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:hl(t,e,l,a),n&2048&&Uu(9,e);break;case 1:hl(t,e,l,a);break;case 3:hl(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&bu(t)));break;case 12:if(n&2048){hl(t,e,l,a),t=e.stateNode;try{var u=e.memoizedProps,s=u.id,d=u.onPostCommit;typeof d=="function"&&d(s,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(b){Rt(e,e.return,b)}}else hl(t,e,l,a);break;case 31:hl(t,e,l,a);break;case 13:hl(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,s=e.alternate,e.memoizedState!==null?u._visibility&2?hl(t,e,l,a):Hu(t,e):u._visibility&2?hl(t,e,l,a):(u._visibility|=2,Un(t,e,l,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&ts(s,e);break;case 24:hl(t,e,l,a),n&2048&&es(e.alternate,e);break;default:hl(t,e,l,a)}}function Un(t,e,l,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,s=e,d=l,b=a,z=s.flags;switch(s.tag){case 0:case 11:case 15:Un(u,s,d,b,n),Uu(8,s);break;case 23:break;case 22:var U=s.stateNode;s.memoizedState!==null?U._visibility&2?Un(u,s,d,b,n):Hu(u,s):(U._visibility|=2,Un(u,s,d,b,n)),n&&z&2048&&ts(s.alternate,s);break;case 24:Un(u,s,d,b,n),n&&z&2048&&es(s.alternate,s);break;default:Un(u,s,d,b,n)}e=e.sibling}}function Hu(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:Hu(l,a),n&2048&&ts(a.alternate,a);break;case 24:Hu(l,a),n&2048&&es(a.alternate,a);break;default:Hu(l,a)}e=e.sibling}}var ju=8192;function Ln(t,e,l){if(t.subtreeFlags&ju)for(t=t.child;t!==null;)zh(t,e,l),t=t.sibling}function zh(t,e,l){switch(t.tag){case 26:Ln(t,e,l),t.flags&ju&&t.memoizedState!==null&&Oy(l,rl,t.memoizedState,t.memoizedProps);break;case 5:Ln(t,e,l);break;case 3:case 4:var a=rl;rl=fc(t.stateNode.containerInfo),Ln(t,e,l),rl=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=ju,ju=16777216,Ln(t,e,l),ju=a):Ln(t,e,l));break;default:Ln(t,e,l)}}function Dh(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Bu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];de=a,Rh(a,t)}Dh(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Nh(t),t=t.sibling}function Nh(t){switch(t.tag){case 0:case 11:case 15:Bu(t),t.flags&2048&&da(9,t,t.return);break;case 3:Bu(t);break;case 12:Bu(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Wi(t)):Bu(t);break;default:Bu(t)}}function Wi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];de=a,Rh(a,t)}Dh(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:da(8,e,e.return),Wi(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Wi(e));break;default:Wi(e)}t=t.sibling}}function Rh(t,e){for(;de!==null;){var l=de;switch(l.tag){case 0:case 11:case 15:da(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:bu(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,de=a;else t:for(l=t;de!==null;){a=de;var n=a.sibling,u=a.return;if(bh(a),a===l){de=null;break t}if(n!==null){n.return=u,de=n;break t}de=u}}}var X0={getCacheForType:function(t){var e=ve(le),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return ve(le).controller.signal}},w0=typeof WeakMap=="function"?WeakMap:Map,Ot=0,jt=null,mt=null,pt=0,Nt=0,Ve=null,ma=!1,Hn=!1,ls=!1,Ql=0,It=0,ya=0,$a=0,as=0,ke=0,jn=0,Yu=null,je=null,ns=!1,Fi=0,xh=0,$i=1/0,Ii=null,pa=null,se=0,ga=null,Bn=null,Zl=0,us=0,is=null,Ch=null,Gu=0,cs=null;function Ke(){return(Ot&2)!==0&&pt!==0?pt&-pt:x.T!==null?ds():ci()}function Uh(){if(ke===0)if((pt&536870912)===0||St){var t=Ra;Ra<<=1,(Ra&3932160)===0&&(Ra=262144),ke=t}else ke=536870912;return t=Qe.current,t!==null&&(t.flags|=32),ke}function Be(t,e,l){(t===jt&&(Nt===2||Nt===9)||t.cancelPendingCommit!==null)&&(Yn(t,0),va(t,pt,ke,!1)),Dl(t,l),((Ot&2)===0||t!==jt)&&(t===jt&&((Ot&2)===0&&($a|=l),It===4&&va(t,pt,ke,!1)),Al(t))}function Lh(t,e,l){if((Ot&6)!==0)throw Error(i(327));var a=!l&&(e&127)===0&&(e&t.expiredLanes)===0||yl(t,e),n=a?V0(t,e):ss(t,e,!0),u=a;do{if(n===0){Hn&&!a&&va(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!Q0(l)){n=ss(t,e,!1),u=!1;continue}if(n===2){if(u=e,t.errorRecoveryDisabledLanes&u)var s=0;else s=t.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){e=s;t:{var d=t;n=Yu;var b=d.current.memoizedState.isDehydrated;if(b&&(Yn(d,s).flags|=256),s=ss(d,s,!1),s!==2){if(ls&&!b){d.errorRecoveryDisabledLanes|=u,$a|=u,n=4;break t}u=je,je=n,u!==null&&(je===null?je=u:je.push.apply(je,u))}n=s}if(u=!1,n!==2)continue}}if(n===1){Yn(t,0),va(t,e,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(i(345));case 4:if((e&4194048)!==e)break;case 6:va(a,e,ke,!ma);break t;case 2:je=null;break;case 3:case 5:break;default:throw Error(i(329))}if((e&62914560)===e&&(n=Fi+300-Ft(),10<n)){if(va(a,e,ke,!ma),Ca(a,0,!0)!==0)break t;Zl=e,a.timeoutHandle=rd(Hh.bind(null,a,l,je,Ii,ns,e,ke,$a,jn,ma,u,"Throttled",-0,0),n);break t}Hh(a,l,je,Ii,ns,e,ke,$a,jn,ma,u,null,-0,0)}}break}while(!0);Al(t)}function Hh(t,e,l,a,n,u,s,d,b,z,U,j,N,R){if(t.timeoutHandle=-1,j=e.subtreeFlags,j&8192||(j&16785408)===16785408){j={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Zt},zh(e,u,j);var W=(u&62914560)===u?Fi-Ft():(u&4194048)===u?xh-Ft():0;if(W=zy(j,W),W!==null){Zl=u,t.cancelPendingCommit=W(Qh.bind(null,t,e,u,l,a,n,s,d,b,U,j,null,N,R)),va(t,u,s,!z);return}}Qh(t,e,u,l,a,n,s,d,b)}function Q0(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!Xe(u(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function va(t,e,l,a){e&=~as,e&=~$a,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var u=31-pe(n),s=1<<u;a[u]=-1,n&=~s}l!==0&&ii(t,l,e)}function Pi(){return(Ot&6)===0?(qu(0),!1):!0}function fs(){if(mt!==null){if(Nt===0)var t=mt.return;else t=mt,Ul=wa=null,_f(t),Dn=null,Eu=0,t=mt;for(;t!==null;)hh(t.alternate,t),t=t.return;mt=null}}function Yn(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,sy(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Zl=0,fs(),jt=t,mt=l=xl(t.current,null),pt=e,Nt=0,Ve=null,ma=!1,Hn=yl(t,e),ls=!1,jn=ke=as=$a=ya=It=0,je=Yu=null,ns=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-pe(a),u=1<<n;e|=t[n],a&=~u}return Ql=e,bi(),l}function jh(t,e){st=null,x.H=Ru,e===zn||e===Di?(e=Io(),Nt=3):e===hf?(e=Io(),Nt=4):Nt=e===qf?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ve=e,mt===null&&(It=1,wi(t,Ie(e,t.current)))}function Bh(){var t=Qe.current;return t===null?!0:(pt&4194048)===pt?ll===null:(pt&62914560)===pt||(pt&536870912)!==0?t===ll:!1}function Yh(){var t=x.H;return x.H=Ru,t===null?Ru:t}function Gh(){var t=x.A;return x.A=X0,t}function tc(){It=4,ma||(pt&4194048)!==pt&&Qe.current!==null||(Hn=!0),(ya&134217727)===0&&($a&134217727)===0||jt===null||va(jt,pt,ke,!1)}function ss(t,e,l){var a=Ot;Ot|=2;var n=Yh(),u=Gh();(jt!==t||pt!==e)&&(Ii=null,Yn(t,e)),e=!1;var s=It;t:do try{if(Nt!==0&&mt!==null){var d=mt,b=Ve;switch(Nt){case 8:fs(),s=6;break t;case 3:case 2:case 9:case 6:Qe.current===null&&(e=!0);var z=Nt;if(Nt=0,Ve=null,Gn(t,d,b,z),l&&Hn){s=0;break t}break;default:z=Nt,Nt=0,Ve=null,Gn(t,d,b,z)}}Z0(),s=It;break}catch(U){jh(t,U)}while(!0);return e&&t.shellSuspendCounter++,Ul=wa=null,Ot=a,x.H=n,x.A=u,mt===null&&(jt=null,pt=0,bi()),s}function Z0(){for(;mt!==null;)qh(mt)}function V0(t,e){var l=Ot;Ot|=2;var a=Yh(),n=Gh();jt!==t||pt!==e?(Ii=null,$i=Ft()+500,Yn(t,e)):Hn=yl(t,e);t:do try{if(Nt!==0&&mt!==null){e=mt;var u=Ve;e:switch(Nt){case 1:Nt=0,Ve=null,Gn(t,e,u,1);break;case 2:case 9:if(Fo(u)){Nt=0,Ve=null,Xh(e);break}e=function(){Nt!==2&&Nt!==9||jt!==t||(Nt=7),Al(t)},u.then(e,e);break t;case 3:Nt=7;break t;case 4:Nt=5;break t;case 7:Fo(u)?(Nt=0,Ve=null,Xh(e)):(Nt=0,Ve=null,Gn(t,e,u,7));break;case 5:var s=null;switch(mt.tag){case 26:s=mt.memoizedState;case 5:case 27:var d=mt;if(s?Od(s):d.stateNode.complete){Nt=0,Ve=null;var b=d.sibling;if(b!==null)mt=b;else{var z=d.return;z!==null?(mt=z,ec(z)):mt=null}break e}}Nt=0,Ve=null,Gn(t,e,u,5);break;case 6:Nt=0,Ve=null,Gn(t,e,u,6);break;case 8:fs(),It=6;break t;default:throw Error(i(462))}}k0();break}catch(U){jh(t,U)}while(!0);return Ul=wa=null,x.H=a,x.A=n,Ot=l,mt!==null?0:(jt=null,pt=0,bi(),It)}function k0(){for(;mt!==null&&!ui();)qh(mt)}function qh(t){var e=oh(t.alternate,t,Ql);t.memoizedProps=t.pendingProps,e===null?ec(t):mt=e}function Xh(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=nh(l,e,e.pendingProps,e.type,void 0,pt);break;case 11:e=nh(l,e,e.pendingProps,e.type.render,e.ref,pt);break;case 5:_f(e);default:hh(l,e),e=mt=Go(e,Ql),e=oh(l,e,Ql)}t.memoizedProps=t.pendingProps,e===null?ec(t):mt=e}function Gn(t,e,l,a){Ul=wa=null,_f(e),Dn=null,Eu=0;var n=e.return;try{if(L0(t,n,e,l,pt)){It=1,wi(t,Ie(l,t.current)),mt=null;return}}catch(u){if(n!==null)throw mt=n,u;It=1,wi(t,Ie(l,t.current)),mt=null;return}e.flags&32768?(St||a===1?t=!0:Hn||(pt&536870912)!==0?t=!1:(ma=t=!0,(a===2||a===9||a===3||a===6)&&(a=Qe.current,a!==null&&a.tag===13&&(a.flags|=16384))),wh(e,t)):ec(e)}function ec(t){var e=t;do{if((e.flags&32768)!==0){wh(e,ma);return}t=e.return;var l=B0(e.alternate,e,Ql);if(l!==null){mt=l;return}if(e=e.sibling,e!==null){mt=e;return}mt=e=t}while(e!==null);It===0&&(It=5)}function wh(t,e){do{var l=Y0(t.alternate,t);if(l!==null){l.flags&=32767,mt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){mt=t;return}mt=t=l}while(t!==null);It=6,mt=null}function Qh(t,e,l,a,n,u,s,d,b){t.cancelPendingCommit=null;do lc();while(se!==0);if((Ot&6)!==0)throw Error(i(327));if(e!==null){if(e===t.current)throw Error(i(177));if(u=e.lanes|e.childLanes,u|=Fc,In(t,l,u,s,d,b),t===jt&&(mt=jt=null,pt=0),Bn=e,ga=t,Zl=l,us=u,is=n,Ch=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,F0(Kl,function(){return Jh(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=x.T,x.T=null,n=Z.p,Z.p=2,s=Ot,Ot|=4;try{G0(t,e,l)}finally{Ot=s,Z.p=n,x.T=a}}se=1,Zh(),Vh(),kh()}}function Zh(){if(se===1){se=0;var t=ga,e=Bn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=x.T,x.T=null;var a=Z.p;Z.p=2;var n=Ot;Ot|=4;try{_h(e,t);var u=Ts,s=Ro(t.containerInfo),d=u.focusedElem,b=u.selectionRange;if(s!==d&&d&&d.ownerDocument&&No(d.ownerDocument.documentElement,d)){if(b!==null&&Vc(d)){var z=b.start,U=b.end;if(U===void 0&&(U=z),"selectionStart"in d)d.selectionStart=z,d.selectionEnd=Math.min(U,d.value.length);else{var j=d.ownerDocument||document,N=j&&j.defaultView||window;if(N.getSelection){var R=N.getSelection(),W=d.textContent.length,at=Math.min(b.start,W),Ut=b.end===void 0?at:Math.min(b.end,W);!R.extend&&at>Ut&&(s=Ut,Ut=at,at=s);var A=Do(d,at),E=Do(d,Ut);if(A&&E&&(R.rangeCount!==1||R.anchorNode!==A.node||R.anchorOffset!==A.offset||R.focusNode!==E.node||R.focusOffset!==E.offset)){var O=j.createRange();O.setStart(A.node,A.offset),R.removeAllRanges(),at>Ut?(R.addRange(O),R.extend(E.node,E.offset)):(O.setEnd(E.node,E.offset),R.addRange(O))}}}}for(j=[],R=d;R=R.parentNode;)R.nodeType===1&&j.push({element:R,left:R.scrollLeft,top:R.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<j.length;d++){var H=j[d];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}mc=!!bs,Ts=bs=null}finally{Ot=n,Z.p=a,x.T=l}}t.current=e,se=2}}function Vh(){if(se===2){se=0;var t=ga,e=Bn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=x.T,x.T=null;var a=Z.p;Z.p=2;var n=Ot;Ot|=4;try{Sh(t,e.alternate,e)}finally{Ot=n,Z.p=a,x.T=l}}se=3}}function kh(){if(se===4||se===3){se=0,ml();var t=ga,e=Bn,l=Zl,a=Ch;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?se=5:(se=0,Bn=ga=null,Kh(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(pa=null),Ua(l),e=e.stateNode,Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot(Jl,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=x.T,n=Z.p,Z.p=2,x.T=null;try{for(var u=t.onRecoverableError,s=0;s<a.length;s++){var d=a[s];u(d.value,{componentStack:d.stack})}}finally{x.T=e,Z.p=n}}(Zl&3)!==0&&lc(),Al(t),n=t.pendingLanes,(l&261930)!==0&&(n&42)!==0?t===cs?Gu++:(Gu=0,cs=t):Gu=0,qu(0)}}function Kh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,bu(e)))}function lc(){return Zh(),Vh(),kh(),Jh()}function Jh(){if(se!==5)return!1;var t=ga,e=us;us=0;var l=Ua(Zl),a=x.T,n=Z.p;try{Z.p=32>l?32:l,x.T=null,l=is,is=null;var u=ga,s=Zl;if(se=0,Bn=ga=null,Zl=0,(Ot&6)!==0)throw Error(i(331));var d=Ot;if(Ot|=4,Nh(u.current),Oh(u,u.current,s,l),Ot=d,qu(0,!1),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot(Jl,u)}catch{}return!0}finally{Z.p=n,x.T=a,Kh(t,e)}}function Wh(t,e,l){e=Ie(l,e),e=Gf(t.stateNode,e,2),t=oa(t,e,2),t!==null&&(Dl(t,2),Al(t))}function Rt(t,e,l){if(t.tag===3)Wh(t,t,l);else for(;e!==null;){if(e.tag===3){Wh(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(pa===null||!pa.has(a))){t=Ie(l,t),l=Fr(2),a=oa(e,l,2),a!==null&&($r(l,a,e,t),Dl(a,2),Al(a));break}}e=e.return}}function os(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new w0;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(ls=!0,n.add(l),t=K0.bind(null,t,e,l),e.then(t,t))}function K0(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,jt===t&&(pt&l)===l&&(It===4||It===3&&(pt&62914560)===pt&&300>Ft()-Fi?(Ot&2)===0&&Yn(t,0):as|=l,jn===pt&&(jn=0)),Al(t)}function Fh(t,e){e===0&&(e=Ge()),t=Ga(t,e),t!==null&&(Dl(t,e),Al(t))}function J0(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Fh(t,l)}function W0(t,e){var l=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(i(314))}a!==null&&a.delete(e),Fh(t,l)}function F0(t,e){return Na(t,e)}var ac=null,qn=null,rs=!1,nc=!1,hs=!1,Sa=0;function Al(t){t!==qn&&t.next===null&&(qn===null?ac=qn=t:qn=qn.next=t),nc=!0,rs||(rs=!0,I0())}function qu(t,e){if(!hs&&nc){hs=!0;do for(var l=!1,a=ac;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var s=a.suspendedLanes,d=a.pingedLanes;u=(1<<31-pe(42|t)+1)-1,u&=n&~(s&~d),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,td(a,u))}else u=pt,u=Ca(a,a===jt?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||yl(a,u)||(l=!0,td(a,u));a=a.next}while(l);hs=!1}}function $0(){$h()}function $h(){nc=rs=!1;var t=0;Sa!==0&&fy()&&(t=Sa);for(var e=Ft(),l=null,a=ac;a!==null;){var n=a.next,u=Ih(a,e);u===0?(a.next=null,l===null?ac=n:l.next=n,n===null&&(qn=l)):(l=a,(t!==0||(u&3)!==0)&&(nc=!0)),a=n}se!==0&&se!==5||qu(t),Sa!==0&&(Sa=0)}function Ih(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var s=31-pe(u),d=1<<s,b=n[s];b===-1?((d&l)===0||(d&a)!==0)&&(n[s]=sn(d,e)):b<=e&&(t.expiredLanes|=d),u&=~d}if(e=jt,l=pt,l=Ca(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(Nt===2||Nt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&an(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||yl(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&an(a),Ua(l)){case 2:case 8:l=un;break;case 32:l=Kl;break;case 268435456:l=zl;break;default:l=Kl}return a=Ph.bind(null,t),l=Na(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&an(a),t.callbackPriority=2,t.callbackNode=null,2}function Ph(t,e){if(se!==0&&se!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(lc()&&t.callbackNode!==l)return null;var a=pt;return a=Ca(t,t===jt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Lh(t,a,e),Ih(t,Ft()),t.callbackNode!=null&&t.callbackNode===l?Ph.bind(null,t):null)}function td(t,e){if(lc())return null;Lh(t,e,!0)}function I0(){oy(function(){(Ot&6)!==0?Na(nn,$0):$h()})}function ds(){if(Sa===0){var t=Mn;t===0&&(t=Fl,Fl<<=1,(Fl&261888)===0&&(Fl=256)),Sa=t}return Sa}function ed(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:_e(""+t)}function ld(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function P0(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var u=ed((n[dt]||null).action),s=a.submitter;s&&(e=(e=s[dt]||null)?ed(e.formAction):s.getAttribute("formAction"),e!==null&&(u=e,s=null));var d=new pi("action","action",null,a,n);t.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Sa!==0){var b=s?ld(n,s):new FormData(n);Uf(l,{pending:!0,data:b,method:n.method,action:u},null,b)}}else typeof u=="function"&&(d.preventDefault(),b=s?ld(n,s):new FormData(n),Uf(l,{pending:!0,data:b,method:n.method,action:u},u,b))},currentTarget:n}]})}}for(var ms=0;ms<Wc.length;ms++){var ys=Wc[ms],ty=ys.toLowerCase(),ey=ys[0].toUpperCase()+ys.slice(1);ol(ty,"on"+ey)}ol(Uo,"onAnimationEnd"),ol(Lo,"onAnimationIteration"),ol(Ho,"onAnimationStart"),ol("dblclick","onDoubleClick"),ol("focusin","onFocus"),ol("focusout","onBlur"),ol(g0,"onTransitionRun"),ol(v0,"onTransitionStart"),ol(S0,"onTransitionCancel"),ol(jo,"onTransitionEnd"),ea("onMouseEnter",["mouseout","mouseover"]),ea("onMouseLeave",["mouseout","mouseover"]),ea("onPointerEnter",["pointerout","pointerover"]),ea("onPointerLeave",["pointerout","pointerover"]),fl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),fl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),fl("onBeforeInput",["compositionend","keypress","textInput","paste"]),fl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),fl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),fl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ly=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xu));function ad(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var u=void 0;if(e)for(var s=a.length-1;0<=s;s--){var d=a[s],b=d.instance,z=d.currentTarget;if(d=d.listener,b!==u&&n.isPropagationStopped())break t;u=d,n.currentTarget=z;try{u(n)}catch(U){Si(U)}n.currentTarget=null,u=b}else for(s=0;s<a.length;s++){if(d=a[s],b=d.instance,z=d.currentTarget,d=d.listener,b!==u&&n.isPropagationStopped())break t;u=d,n.currentTarget=z;try{u(n)}catch(U){Si(U)}n.currentTarget=null,u=b}}}}function yt(t,e){var l=e[tu];l===void 0&&(l=e[tu]=new Set);var a=t+"__bubble";l.has(a)||(nd(e,t,2,!1),l.add(a))}function ps(t,e,l){var a=0;e&&(a|=4),nd(l,t,a,e)}var uc="_reactListening"+Math.random().toString(36).slice(2);function gs(t){if(!t[uc]){t[uc]=!0,vl.forEach(function(l){l!=="selectionchange"&&(ly.has(l)||ps(l,!1,t),ps(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[uc]||(e[uc]=!0,ps("selectionchange",!1,e))}}function nd(t,e,l,a){switch(Ud(e)){case 2:var n=Ry;break;case 8:n=xy;break;default:n=Cs}l=n.bind(null,e,l,t),n=void 0,!jc||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function vs(t,e,l,a,n){var u=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var s=a.tag;if(s===3||s===4){var d=a.stateNode.containerInfo;if(d===n)break;if(s===4)for(s=a.return;s!==null;){var b=s.tag;if((b===3||b===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;d!==null;){if(s=Pl(d),s===null)return;if(b=s.tag,b===5||b===6||b===26||b===27){a=u=s;continue t}d=d.parentNode}}a=a.return}fo(function(){var z=u,U=fe(l),j=[];t:{var N=Bo.get(t);if(N!==void 0){var R=pi,W=t;switch(t){case"keypress":if(mi(l)===0)break t;case"keydown":case"keyup":R=Wm;break;case"focusin":W="focus",R=qc;break;case"focusout":W="blur",R=qc;break;case"beforeblur":case"afterblur":R=qc;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":R=ro;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":R=Bm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":R=Im;break;case Uo:case Lo:case Ho:R=qm;break;case jo:R=t0;break;case"scroll":case"scrollend":R=Hm;break;case"wheel":R=l0;break;case"copy":case"cut":case"paste":R=wm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":R=mo;break;case"toggle":case"beforetoggle":R=n0}var at=(e&4)!==0,Ut=!at&&(t==="scroll"||t==="scrollend"),A=at?N!==null?N+"Capture":null:N;at=[];for(var E=z,O;E!==null;){var H=E;if(O=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||O===null||A===null||(H=su(E,A),H!=null&&at.push(wu(E,H,O))),Ut)break;E=E.return}0<at.length&&(N=new R(N,W,null,l,U),j.push({event:N,listeners:at}))}}if((e&7)===0){t:{if(N=t==="mouseover"||t==="pointerover",R=t==="mouseout"||t==="pointerout",N&&l!==De&&(W=l.relatedTarget||l.fromElement)&&(Pl(W)||W[qe]))break t;if((R||N)&&(N=U.window===U?U:(N=U.ownerDocument)?N.defaultView||N.parentWindow:window,R?(W=l.relatedTarget||l.toElement,R=z,W=W?Pl(W):null,W!==null&&(Ut=h(W),at=W.tag,W!==Ut||at!==5&&at!==27&&at!==6)&&(W=null)):(R=null,W=z),R!==W)){if(at=ro,H="onMouseLeave",A="onMouseEnter",E="mouse",(t==="pointerout"||t==="pointerover")&&(at=mo,H="onPointerLeave",A="onPointerEnter",E="pointer"),Ut=R==null?N:La(R),O=W==null?N:La(W),N=new at(H,E+"leave",R,l,U),N.target=Ut,N.relatedTarget=O,H=null,Pl(U)===z&&(at=new at(A,E+"enter",W,l,U),at.target=O,at.relatedTarget=Ut,H=at),Ut=H,R&&W)e:{for(at=ay,A=R,E=W,O=0,H=A;H;H=at(H))O++;H=0;for(var P=E;P;P=at(P))H++;for(;0<O-H;)A=at(A),O--;for(;0<H-O;)E=at(E),H--;for(;O--;){if(A===E||E!==null&&A===E.alternate){at=A;break e}A=at(A),E=at(E)}at=null}else at=null;R!==null&&ud(j,N,R,at,!1),W!==null&&Ut!==null&&ud(j,Ut,W,at,!0)}}t:{if(N=z?La(z):window,R=N.nodeName&&N.nodeName.toLowerCase(),R==="select"||R==="input"&&N.type==="file")var _t=Eo;else if(bo(N))if(Ao)_t=m0;else{_t=h0;var $=r0}else R=N.nodeName,!R||R.toLowerCase()!=="input"||N.type!=="checkbox"&&N.type!=="radio"?z&&nt(z.elementType)&&(_t=Eo):_t=d0;if(_t&&(_t=_t(t,z))){To(j,_t,l,U);break t}$&&$(t,N,z),t==="focusout"&&z&&N.type==="number"&&z.memoizedProps.value!=null&&la(N,"number",N.value)}switch($=z?La(z):window,t){case"focusin":(bo($)||$.contentEditable==="true")&&(gn=$,kc=z,gu=null);break;case"focusout":gu=kc=gn=null;break;case"mousedown":Kc=!0;break;case"contextmenu":case"mouseup":case"dragend":Kc=!1,xo(j,l,U);break;case"selectionchange":if(p0)break;case"keydown":case"keyup":xo(j,l,U)}var rt;if(wc)t:{switch(t){case"compositionstart":var gt="onCompositionStart";break t;case"compositionend":gt="onCompositionEnd";break t;case"compositionupdate":gt="onCompositionUpdate";break t}gt=void 0}else pn?vo(t,l)&&(gt="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(gt="onCompositionStart");gt&&(yo&&l.locale!=="ko"&&(pn||gt!=="onCompositionStart"?gt==="onCompositionEnd"&&pn&&(rt=so()):(aa=U,Bc="value"in aa?aa.value:aa.textContent,pn=!0)),$=ic(z,gt),0<$.length&&(gt=new ho(gt,t,null,l,U),j.push({event:gt,listeners:$}),rt?gt.data=rt:(rt=So(l),rt!==null&&(gt.data=rt)))),(rt=i0?c0(t,l):f0(t,l))&&(gt=ic(z,"onBeforeInput"),0<gt.length&&($=new ho("onBeforeInput","beforeinput",null,l,U),j.push({event:$,listeners:gt}),$.data=rt)),P0(j,t,z,l,U)}ad(j,e)})}function wu(t,e,l){return{instance:t,listener:e,currentTarget:l}}function ic(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=su(t,l),n!=null&&a.unshift(wu(t,n,u)),n=su(t,e),n!=null&&a.push(wu(t,n,u))),t.tag===3)return a;t=t.return}return[]}function ay(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function ud(t,e,l,a,n){for(var u=e._reactName,s=[];l!==null&&l!==a;){var d=l,b=d.alternate,z=d.stateNode;if(d=d.tag,b!==null&&b===a)break;d!==5&&d!==26&&d!==27||z===null||(b=z,n?(z=su(l,u),z!=null&&s.unshift(wu(l,z,b))):n||(z=su(l,u),z!=null&&s.push(wu(l,z,b)))),l=l.return}s.length!==0&&t.push({event:e,listeners:s})}var ny=/\r\n?/g,uy=/\u0000|\uFFFD/g;function id(t){return(typeof t=="string"?t:""+t).replace(ny,`
|
|
49
|
+
`).replace(uy,"")}function cd(t,e){return e=id(e),id(t)===e}function Ct(t,e,l,a,n,u){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||M(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&M(t,""+a);break;case"className":sl(t,"class",a);break;case"tabIndex":sl(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":sl(t,l,a);break;case"style":lt(t,a,u);break;case"data":if(e!=="object"){sl(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=_e(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(e!=="input"&&Ct(t,e,"name",n.name,n,null),Ct(t,e,"formEncType",n.formEncType,n,null),Ct(t,e,"formMethod",n.formMethod,n,null),Ct(t,e,"formTarget",n.formTarget,n,null)):(Ct(t,e,"encType",n.encType,n,null),Ct(t,e,"method",n.method,n,null),Ct(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=_e(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=Zt);break;case"onScroll":a!=null&&yt("scroll",t);break;case"onScrollEnd":a!=null&&yt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(i(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=_e(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":yt("beforetoggle",t),yt("toggle",t),Nl(t,"popover",a);break;case"xlinkActuate":ze(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ze(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ze(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ze(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ze(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ze(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ze(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ze(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ze(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Nl(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Qt.get(l)||l,Nl(t,l,a))}}function Ss(t,e,l,a,n,u){switch(l){case"style":lt(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(i(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(i(60));t.innerHTML=l}}break;case"children":typeof a=="string"?M(t,a):(typeof a=="number"||typeof a=="bigint")&&M(t,""+a);break;case"onScroll":a!=null&&yt("scroll",t);break;case"onScrollEnd":a!=null&&yt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Zt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!si.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),u=t[dt]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):Nl(t,l,a)}}}function be(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yt("error",t),yt("load",t);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var s=l[u];if(s!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,e));default:Ct(t,e,u,s,l,null)}}n&&Ct(t,e,"srcSet",l.srcSet,l,null),a&&Ct(t,e,"src",l.src,l,null);return;case"input":yt("invalid",t);var d=u=s=n=null,b=null,z=null;for(a in l)if(l.hasOwnProperty(a)){var U=l[a];if(U!=null)switch(a){case"name":n=U;break;case"type":s=U;break;case"checked":b=U;break;case"defaultChecked":z=U;break;case"value":u=U;break;case"defaultValue":d=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(i(137,e));break;default:Ct(t,e,a,U,l,null)}}fu(t,u,d,b,z,s,n,!1);return;case"select":yt("invalid",t),a=s=u=null;for(n in l)if(l.hasOwnProperty(n)&&(d=l[n],d!=null))switch(n){case"value":u=d;break;case"defaultValue":s=d;break;case"multiple":a=d;default:Ct(t,e,n,d,l,null)}e=u,l=s,t.multiple=!!a,e!=null?Sl(t,!!a,e,!1):l!=null&&Sl(t,!!a,l,!0);return;case"textarea":yt("invalid",t),u=n=a=null;for(s in l)if(l.hasOwnProperty(s)&&(d=l[s],d!=null))switch(s){case"value":a=d;break;case"defaultValue":n=d;break;case"children":u=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(i(91));break;default:Ct(t,e,s,d,l,null)}g(t,a,n,u);return;case"option":for(b in l)if(l.hasOwnProperty(b)&&(a=l[b],a!=null))switch(b){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ct(t,e,b,a,l,null)}return;case"dialog":yt("beforetoggle",t),yt("toggle",t),yt("cancel",t),yt("close",t);break;case"iframe":case"object":yt("load",t);break;case"video":case"audio":for(a=0;a<Xu.length;a++)yt(Xu[a],t);break;case"image":yt("error",t),yt("load",t);break;case"details":yt("toggle",t);break;case"embed":case"source":case"link":yt("error",t),yt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in l)if(l.hasOwnProperty(z)&&(a=l[z],a!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,e));default:Ct(t,e,z,a,l,null)}return;default:if(nt(e)){for(U in l)l.hasOwnProperty(U)&&(a=l[U],a!==void 0&&Ss(t,e,U,a,l,void 0));return}}for(d in l)l.hasOwnProperty(d)&&(a=l[d],a!=null&&Ct(t,e,d,a,l,null))}function iy(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,s=null,d=null,b=null,z=null,U=null;for(R in l){var j=l[R];if(l.hasOwnProperty(R)&&j!=null)switch(R){case"checked":break;case"value":break;case"defaultValue":b=j;default:a.hasOwnProperty(R)||Ct(t,e,R,null,a,j)}}for(var N in a){var R=a[N];if(j=l[N],a.hasOwnProperty(N)&&(R!=null||j!=null))switch(N){case"type":u=R;break;case"name":n=R;break;case"checked":z=R;break;case"defaultChecked":U=R;break;case"value":s=R;break;case"defaultValue":d=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(i(137,e));break;default:R!==j&&Ct(t,e,N,R,a,j)}}cu(t,s,d,b,z,U,u,n);return;case"select":R=s=d=N=null;for(u in l)if(b=l[u],l.hasOwnProperty(u)&&b!=null)switch(u){case"value":break;case"multiple":R=b;default:a.hasOwnProperty(u)||Ct(t,e,u,null,a,b)}for(n in a)if(u=a[n],b=l[n],a.hasOwnProperty(n)&&(u!=null||b!=null))switch(n){case"value":N=u;break;case"defaultValue":d=u;break;case"multiple":s=u;default:u!==b&&Ct(t,e,n,u,a,b)}e=d,l=s,a=R,N!=null?Sl(t,!!l,N,!1):!!a!=!!l&&(e!=null?Sl(t,!!l,e,!0):Sl(t,!!l,l?[]:"",!1));return;case"textarea":R=N=null;for(d in l)if(n=l[d],l.hasOwnProperty(d)&&n!=null&&!a.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:Ct(t,e,d,null,a,n)}for(s in a)if(n=a[s],u=l[s],a.hasOwnProperty(s)&&(n!=null||u!=null))switch(s){case"value":N=n;break;case"defaultValue":R=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(i(91));break;default:n!==u&&Ct(t,e,s,n,a,u)}w(t,N,R);return;case"option":for(var W in l)if(N=l[W],l.hasOwnProperty(W)&&N!=null&&!a.hasOwnProperty(W))switch(W){case"selected":t.selected=!1;break;default:Ct(t,e,W,null,a,N)}for(b in a)if(N=a[b],R=l[b],a.hasOwnProperty(b)&&N!==R&&(N!=null||R!=null))switch(b){case"selected":t.selected=N&&typeof N!="function"&&typeof N!="symbol";break;default:Ct(t,e,b,N,a,R)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var at in l)N=l[at],l.hasOwnProperty(at)&&N!=null&&!a.hasOwnProperty(at)&&Ct(t,e,at,null,a,N);for(z in a)if(N=a[z],R=l[z],a.hasOwnProperty(z)&&N!==R&&(N!=null||R!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(i(137,e));break;default:Ct(t,e,z,N,a,R)}return;default:if(nt(e)){for(var Ut in l)N=l[Ut],l.hasOwnProperty(Ut)&&N!==void 0&&!a.hasOwnProperty(Ut)&&Ss(t,e,Ut,void 0,a,N);for(U in a)N=a[U],R=l[U],!a.hasOwnProperty(U)||N===R||N===void 0&&R===void 0||Ss(t,e,U,N,a,R);return}}for(var A in l)N=l[A],l.hasOwnProperty(A)&&N!=null&&!a.hasOwnProperty(A)&&Ct(t,e,A,null,a,N);for(j in a)N=a[j],R=l[j],!a.hasOwnProperty(j)||N===R||N==null&&R==null||Ct(t,e,j,N,a,R)}function fd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function cy(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],u=n.transferSize,s=n.initiatorType,d=n.duration;if(u&&d&&fd(s)){for(s=0,d=n.responseEnd,a+=1;a<l.length;a++){var b=l[a],z=b.startTime;if(z>d)break;var U=b.transferSize,j=b.initiatorType;U&&fd(j)&&(b=b.responseEnd,s+=U*(b<d?1:(d-z)/(b-z)))}if(--a,e+=8*(u+s)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var bs=null,Ts=null;function cc(t){return t.nodeType===9?t:t.ownerDocument}function sd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function od(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Es(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var As=null;function fy(){var t=window.event;return t&&t.type==="popstate"?t===As?!1:(As=t,!0):(As=null,!1)}var rd=typeof setTimeout=="function"?setTimeout:void 0,sy=typeof clearTimeout=="function"?clearTimeout:void 0,hd=typeof Promise=="function"?Promise:void 0,oy=typeof queueMicrotask=="function"?queueMicrotask:typeof hd<"u"?function(t){return hd.resolve(null).then(t).catch(ry)}:rd;function ry(t){setTimeout(function(){throw t})}function ba(t){return t==="head"}function dd(t,e){var l=e,a=0;do{var n=l.nextSibling;if(t.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){t.removeChild(n),Zn(e);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")Qu(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Qu(l);for(var u=l.firstChild;u;){var s=u.nextSibling,d=u.nodeName;u[Il]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=s}}else l==="body"&&Qu(t.ownerDocument.body);l=n}while(l);Zn(e)}function md(t,e){var l=t;t=0;do{var a=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=a}while(l)}function _s(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":_s(l),au(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function hy(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Il])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=al(t.nextSibling),t===null)break}return null}function dy(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=al(t.nextSibling),t===null))return null;return t}function yd(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=al(t.nextSibling),t===null))return null;return t}function Ms(t){return t.data==="$?"||t.data==="$~"}function Os(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function my(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function al(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var zs=null;function pd(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return al(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function gd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function vd(t,e,l){switch(e=cc(l),t){case"html":if(t=e.documentElement,!t)throw Error(i(452));return t;case"head":if(t=e.head,!t)throw Error(i(453));return t;case"body":if(t=e.body,!t)throw Error(i(454));return t;default:throw Error(i(451))}}function Qu(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);au(t)}var nl=new Map,Sd=new Set;function fc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Vl=Z.d;Z.d={f:yy,r:py,D:gy,C:vy,L:Sy,m:by,X:Ey,S:Ty,M:Ay};function yy(){var t=Vl.f(),e=Pi();return t||e}function py(t){var e=ta(t);e!==null&&e.tag===5&&e.type==="form"?jr(e):Vl.r(t)}var Xn=typeof document>"u"?null:document;function bd(t,e,l){var a=Xn;if(a&&typeof e=="string"&&e){var n=xe(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Sd.has(n)||(Sd.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),be(e,"link",t),Kt(e),a.head.appendChild(e)))}}function gy(t){Vl.D(t),bd("dns-prefetch",t,null)}function vy(t,e){Vl.C(t,e),bd("preconnect",t,e)}function Sy(t,e,l){Vl.L(t,e,l);var a=Xn;if(a&&t&&e){var n='link[rel="preload"][as="'+xe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+xe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+xe(l.imageSizes)+'"]')):n+='[href="'+xe(t)+'"]';var u=n;switch(e){case"style":u=wn(t);break;case"script":u=Qn(t)}nl.has(u)||(t=_({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),nl.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Zu(u))||e==="script"&&a.querySelector(Vu(u))||(e=a.createElement("link"),be(e,"link",t),Kt(e),a.head.appendChild(e)))}}function by(t,e){Vl.m(t,e);var l=Xn;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+xe(a)+'"][href="'+xe(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Qn(t)}if(!nl.has(u)&&(t=_({rel:"modulepreload",href:t},e),nl.set(u,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Vu(u)))return}a=l.createElement("link"),be(a,"link",t),Kt(a),l.head.appendChild(a)}}}function Ty(t,e,l){Vl.S(t,e,l);var a=Xn;if(a&&t){var n=Oe(a).hoistableStyles,u=wn(t);e=e||"default";var s=n.get(u);if(!s){var d={loading:0,preload:null};if(s=a.querySelector(Zu(u)))d.loading=5;else{t=_({rel:"stylesheet",href:t,"data-precedence":e},l),(l=nl.get(u))&&Ds(t,l);var b=s=a.createElement("link");Kt(b),be(b,"link",t),b._p=new Promise(function(z,U){b.onload=z,b.onerror=U}),b.addEventListener("load",function(){d.loading|=1}),b.addEventListener("error",function(){d.loading|=2}),d.loading|=4,sc(s,e,a)}s={type:"stylesheet",instance:s,count:1,state:d},n.set(u,s)}}}function Ey(t,e){Vl.X(t,e);var l=Xn;if(l&&t){var a=Oe(l).hoistableScripts,n=Qn(t),u=a.get(n);u||(u=l.querySelector(Vu(n)),u||(t=_({src:t,async:!0},e),(e=nl.get(n))&&Ns(t,e),u=l.createElement("script"),Kt(u),be(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Ay(t,e){Vl.M(t,e);var l=Xn;if(l&&t){var a=Oe(l).hoistableScripts,n=Qn(t),u=a.get(n);u||(u=l.querySelector(Vu(n)),u||(t=_({src:t,async:!0,type:"module"},e),(e=nl.get(n))&&Ns(t,e),u=l.createElement("script"),Kt(u),be(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Td(t,e,l,a){var n=(n=ht.current)?fc(n):null;if(!n)throw Error(i(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=wn(l.href),l=Oe(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=wn(l.href);var u=Oe(n).hoistableStyles,s=u.get(t);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,s),(u=n.querySelector(Zu(t)))&&!u._p&&(s.instance=u,s.state.loading=5),nl.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},nl.set(t,l),u||_y(n,t,l,s.state))),e&&a===null)throw Error(i(528,""));return s}if(e&&a!==null)throw Error(i(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Qn(l),l=Oe(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,t))}}function wn(t){return'href="'+xe(t)+'"'}function Zu(t){return'link[rel="stylesheet"]['+t+"]"}function Ed(t){return _({},t,{"data-precedence":t.precedence,precedence:null})}function _y(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),be(e,"link",l),Kt(e),t.head.appendChild(e))}function Qn(t){return'[src="'+xe(t)+'"]'}function Vu(t){return"script[async]"+t}function Ad(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+xe(l.href)+'"]');if(a)return e.instance=a,Kt(a),a;var n=_({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Kt(a),be(a,"style",n),sc(a,l.precedence,t),e.instance=a;case"stylesheet":n=wn(l.href);var u=t.querySelector(Zu(n));if(u)return e.state.loading|=4,e.instance=u,Kt(u),u;a=Ed(l),(n=nl.get(n))&&Ds(a,n),u=(t.ownerDocument||t).createElement("link"),Kt(u);var s=u;return s._p=new Promise(function(d,b){s.onload=d,s.onerror=b}),be(u,"link",a),e.state.loading|=4,sc(u,l.precedence,t),e.instance=u;case"script":return u=Qn(l.src),(n=t.querySelector(Vu(u)))?(e.instance=n,Kt(n),n):(a=l,(n=nl.get(u))&&(a=_({},l),Ns(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Kt(n),be(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(i(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,sc(a,l.precedence,t));return e.instance}function sc(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,s=0;s<a.length;s++){var d=a[s];if(d.dataset.precedence===e)u=d;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Ds(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Ns(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var oc=null;function _d(t,e,l){if(oc===null){var a=new Map,n=oc=new Map;n.set(l,a)}else n=oc,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var u=l[n];if(!(u[Il]||u[ce]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var s=u.getAttribute(e)||"";s=t+s;var d=a.get(s);d?d.push(u):a.set(s,[u])}}return a}function Md(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function My(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Od(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Oy(t,e,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=wn(a.href),u=e.querySelector(Zu(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=rc.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,Kt(u);return}u=e.ownerDocument||e,a=Ed(a),(n=nl.get(n))&&Ds(a,n),u=u.createElement("link"),Kt(u);var s=u;s._p=new Promise(function(d,b){s.onload=d,s.onerror=b}),be(u,"link",a),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=rc.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var Rs=0;function zy(t,e){return t.stylesheets&&t.count===0&&dc(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var a=setTimeout(function(){if(t.stylesheets&&dc(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&Rs===0&&(Rs=62500*cy());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&dc(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>Rs?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function rc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var hc=null;function dc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,hc=new Map,e.forEach(Dy,t),hc=null,rc.call(t))}function Dy(t,e){if(!(e.state.loading&4)){var l=hc.get(t);if(l)var a=l.get(null);else{l=new Map,hc.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var s=n[u];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),a=s)}a&&l.set(null,a)}n=e.instance,s=n.getAttribute("data-precedence"),u=l.get(s)||a,u===a&&l.set(null,n),l.set(s,n),this.count++,a=rc.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var ku={$$typeof:K,Provider:null,Consumer:null,_currentValue:et,_currentValue2:et,_threadCount:0};function Ny(t,e,l,a,n,u,s,d,b){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=pl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.hiddenUpdates=pl(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=b,this.incompleteTransitions=new Map}function zd(t,e,l,a,n,u,s,d,b,z,U,j){return t=new Ny(t,e,l,s,b,z,U,j,d),e=1,u===!0&&(e|=24),u=we(3,null,null,e),t.current=u,u.stateNode=t,e=sf(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},df(u),t}function Dd(t){return t?(t=bn,t):bn}function Nd(t,e,l,a,n,u){n=Dd(n),a.context===null?a.context=n:a.pendingContext=n,a=sa(e),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=oa(t,a,e),l!==null&&(Be(l,t,e),_u(l,t,e))}function Rd(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function xs(t,e){Rd(t,e),(t=t.alternate)&&Rd(t,e)}function xd(t){if(t.tag===13||t.tag===31){var e=Ga(t,67108864);e!==null&&Be(e,t,67108864),xs(t,67108864)}}function Cd(t){if(t.tag===13||t.tag===31){var e=Ke();e=rn(e);var l=Ga(t,e);l!==null&&Be(l,t,e),xs(t,e)}}var mc=!0;function Ry(t,e,l,a){var n=x.T;x.T=null;var u=Z.p;try{Z.p=2,Cs(t,e,l,a)}finally{Z.p=u,x.T=n}}function xy(t,e,l,a){var n=x.T;x.T=null;var u=Z.p;try{Z.p=8,Cs(t,e,l,a)}finally{Z.p=u,x.T=n}}function Cs(t,e,l,a){if(mc){var n=Us(a);if(n===null)vs(t,e,a,yc,l),Ld(t,a);else if(Uy(n,t,e,l,a))a.stopPropagation();else if(Ld(t,a),e&4&&-1<Cy.indexOf(t)){for(;n!==null;){var u=ta(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var s=cl(u.pendingLanes);if(s!==0){var d=u;for(d.pendingLanes|=2,d.entangledLanes|=2;s;){var b=1<<31-pe(s);d.entanglements[1]|=b,s&=~b}Al(u),(Ot&6)===0&&($i=Ft()+500,qu(0))}}break;case 31:case 13:d=Ga(u,2),d!==null&&Be(d,u,2),Pi(),xs(u,2)}if(u=Us(a),u===null&&vs(t,e,a,yc,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else vs(t,e,a,null,l)}}function Us(t){return t=fe(t),Ls(t)}var yc=null;function Ls(t){if(yc=null,t=Pl(t),t!==null){var e=h(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=p(e),t!==null)return t;t=null}else if(l===31){if(t=y(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return yc=t,null}function Ud(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ol()){case nn:return 2;case un:return 8;case Kl:case Fn:return 32;case zl:return 268435456;default:return 32}default:return 32}}var Hs=!1,Ta=null,Ea=null,Aa=null,Ku=new Map,Ju=new Map,_a=[],Cy="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(" ");function Ld(t,e){switch(t){case"focusin":case"focusout":Ta=null;break;case"dragenter":case"dragleave":Ea=null;break;case"mouseover":case"mouseout":Aa=null;break;case"pointerover":case"pointerout":Ku.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ju.delete(e.pointerId)}}function Wu(t,e,l,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=ta(e),e!==null&&xd(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Uy(t,e,l,a,n){switch(e){case"focusin":return Ta=Wu(Ta,t,e,l,a,n),!0;case"dragenter":return Ea=Wu(Ea,t,e,l,a,n),!0;case"mouseover":return Aa=Wu(Aa,t,e,l,a,n),!0;case"pointerover":var u=n.pointerId;return Ku.set(u,Wu(Ku.get(u)||null,t,e,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Ju.set(u,Wu(Ju.get(u)||null,t,e,l,a,n)),!0}return!1}function Hd(t){var e=Pl(t.target);if(e!==null){var l=h(e);if(l!==null){if(e=l.tag,e===13){if(e=p(l),e!==null){t.blockedOn=e,$l(t.priority,function(){Cd(l)});return}}else if(e===31){if(e=y(l),e!==null){t.blockedOn=e,$l(t.priority,function(){Cd(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function pc(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Us(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);De=a,l.target.dispatchEvent(a),De=null}else return e=ta(l),e!==null&&xd(e),t.blockedOn=l,!1;e.shift()}return!0}function jd(t,e,l){pc(t)&&l.delete(e)}function Ly(){Hs=!1,Ta!==null&&pc(Ta)&&(Ta=null),Ea!==null&&pc(Ea)&&(Ea=null),Aa!==null&&pc(Aa)&&(Aa=null),Ku.forEach(jd),Ju.forEach(jd)}function gc(t,e){t.blockedOn===e&&(t.blockedOn=null,Hs||(Hs=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ly)))}var vc=null;function Bd(t){vc!==t&&(vc=t,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){vc===t&&(vc=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Ls(a||l)===null)continue;break}var u=ta(l);u!==null&&(t.splice(e,3),e-=3,Uf(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Zn(t){function e(b){return gc(b,t)}Ta!==null&&gc(Ta,t),Ea!==null&&gc(Ea,t),Aa!==null&&gc(Aa,t),Ku.forEach(e),Ju.forEach(e);for(var l=0;l<_a.length;l++){var a=_a[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<_a.length&&(l=_a[0],l.blockedOn===null);)Hd(l),l.blockedOn===null&&_a.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],s=n[dt]||null;if(typeof u=="function")s||Bd(l);else if(s){var d=null;if(u&&u.hasAttribute("formAction")){if(n=u,s=u[dt]||null)d=s.formAction;else if(Ls(n)!==null)continue}else d=s.action;typeof d=="function"?l[a+1]=d:(l.splice(a,3),a-=3),Bd(l)}}}function Yd(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function e(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function js(t){this._internalRoot=t}Sc.prototype.render=js.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(i(409));var l=e.current,a=Ke();Nd(l,a,t,e,null,null)},Sc.prototype.unmount=js.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Nd(t.current,2,null,t,null,null),Pi(),e[qe]=null}};function Sc(t){this._internalRoot=t}Sc.prototype.unstable_scheduleHydration=function(t){if(t){var e=ci();t={blockedOn:null,target:t,priority:e};for(var l=0;l<_a.length&&e!==0&&e<_a[l].priority;l++);_a.splice(l,0,t),l===0&&Hd(t)}};var Gd=c.version;if(Gd!=="19.2.5")throw Error(i(527,Gd,"19.2.5"));Z.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(i(188)):(t=Object.keys(t).join(","),Error(i(268,t)));return t=m(e),t=t!==null?S(t):null,t=t===null?null:t.stateNode,t};var Hy={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var bc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bc.isDisabled&&bc.supportsFiber)try{Jl=bc.inject(Hy),Ae=bc}catch{}}return $u.createRoot=function(t,e){if(!r(t))throw Error(i(299));var l=!1,a="",n=kr,u=Kr,s=Jr;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(s=e.onRecoverableError)),e=zd(t,1,!1,null,null,l,a,null,n,u,s,Yd),t[qe]=e.current,gs(t),new js(e)},$u.hydrateRoot=function(t,e,l){if(!r(t))throw Error(i(299));var a=!1,n="",u=kr,s=Kr,d=Jr,b=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(d=l.onRecoverableError),l.formState!==void 0&&(b=l.formState)),e=zd(t,1,!0,e,l??null,a,n,b,u,s,d,Yd),e.context=Dd(null),l=e.current,a=Ke(),a=rn(a),n=sa(a),n.callback=null,oa(l,n,a),l=a,e.current.lanes=l,Dl(e,l),Al(e),t[qe]=e.current,gs(t),new Sc(e)},$u.version="19.2.5",$u}var Wd;function Ky(){if(Wd)return Gs.exports;Wd=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(c){console.error(c)}}return o(),Gs.exports=ky(),Gs.exports}var Jy=Ky();const Fd={browser:{width:900,height:560},desktop:{width:840,height:520},mobile:{width:300,height:624},popover:{width:360,height:360},panel:{width:420,height:560},dialog:{width:520,height:420}};function Wy(o){return Fd[o]??Fd.browser}const Ia=48,Fy=64,$d=96,Id=40,$y=200;function Iy(o){return[...o].sort((c,f)=>c.order-f.order||c.id.localeCompare(f.id))}function Py(o,c){const f=[],i=[];let r=Ia,h=Ia;for(const v of o){const m=Iy(c.filter(L=>L.laneId===v.id)),S=r+Id;let _=Ia,D=0;for(const L of m){const{width:X,height:Q}=Wy(L.surface),V=typeof L.x=="number"&&typeof L.y=="number",q=V?L.x:_,K=V?L.y:S;f.push({id:L.id,laneId:v.id,x:q,y:K,width:X,height:Q}),V||(_=q+X+Fy),D=Math.max(D,K-S+Q),h=Math.max(h,q+X)}const C=Id+Math.max(D,$y);i.push({id:v.id,label:v.label??v.id,x:Ia,y:r,width:0,height:C}),r+=C+$d}const p=h+Ia,y=r-$d+Ia;for(const v of i)v.width=p-Ia*2;return{frames:f,lanes:i,width:p,height:y}}const tp=.18,ep=2.4;function Wn(o){return Math.min(ep,Math.max(tp,o))}function lp(o,c,f,i,r=48){if(o<=0||c<=0||f<=0||i<=0)return{zoom:1,panX:0,panY:0};const h=Wn(Math.min((f-r*2)/o,(i-r*2)/c));return{zoom:h,panX:(f-o*h)/2,panY:(i-c*h)/2}}function ap(o,c,f,i){const r=Wn(o.zoom*c),h=r/o.zoom;return{zoom:r,panX:f-(f-o.panX)*h,panY:i-(i-o.panY)*h}}const Ec=80;function np({worldWidth:o,worldHeight:c,children:f}){const i=vt.useRef(null),[r,h]=vt.useState({zoom:1,panX:0,panY:0}),p=vt.useCallback(()=>{const m=i.current;m&&h(lp(o,c,m.clientWidth,m.clientHeight))},[o,c]);vt.useEffect(()=>{p();const m=i.current;if(!m||typeof ResizeObserver>"u")return;const S=new ResizeObserver(()=>p());return S.observe(m),()=>S.disconnect()},[p]);const y=vt.useCallback(m=>{var S;if(m.preventDefault(),m.ctrlKey||m.metaKey){const _=(S=i.current)==null?void 0:S.getBoundingClientRect(),D=m.clientX-((_==null?void 0:_.left)??0),C=m.clientY-((_==null?void 0:_.top)??0);h(L=>ap(L,m.deltaY<0?1.1:1/1.1,D,C))}else h(_=>({..._,panX:_.panX-m.deltaX,panY:_.panY-m.deltaY}))},[]),v=vt.useCallback(m=>{if(m.key==="+"||m.key==="=")h(S=>({...S,zoom:Wn(S.zoom*1.1)}));else if(m.key==="-")h(S=>({...S,zoom:Wn(S.zoom/1.1)}));else if(m.key==="0")p();else if(m.key==="ArrowLeft")h(S=>({...S,panX:S.panX+Ec}));else if(m.key==="ArrowRight")h(S=>({...S,panX:S.panX-Ec}));else if(m.key==="ArrowUp")h(S=>({...S,panY:S.panY+Ec}));else if(m.key==="ArrowDown")h(S=>({...S,panY:S.panY-Ec}));else return;m.preventDefault()},[p]);return G.jsxs("div",{ref:i,className:"vp-viewport",role:"application","aria-label":"Visual plan canvas",tabIndex:0,onWheel:y,onKeyDown:v,children:[G.jsx("div",{className:"vp-world",style:{transform:`translate(${r.panX}px, ${r.panY}px) scale(${r.zoom})`,transformOrigin:"0 0",width:o,height:c},children:f}),G.jsxs("div",{className:"vp-zoom-controls",role:"group","aria-label":"Zoom controls",children:[G.jsx("button",{type:"button","aria-label":"Zoom out",onClick:()=>h(m=>({...m,zoom:Wn(m.zoom/1.1)})),children:"−"}),G.jsxs("span",{className:"vp-zoom-level",children:[Math.round(r.zoom*100),"%"]}),G.jsx("button",{type:"button","aria-label":"Zoom in",onClick:()=>h(m=>({...m,zoom:Wn(m.zoom*1.1)})),children:"+"}),G.jsx("button",{type:"button","aria-label":"Fit to screen",onClick:p,children:"Fit"})]})]})}function up({lanes:o}){return G.jsx("div",{className:"vp-lane-layer","aria-hidden":"true",children:o.map(c=>G.jsx("div",{className:"vp-lane",style:{position:"absolute",left:c.x,top:c.y,width:c.width,height:c.height},children:G.jsx("div",{className:"vp-lane-label",children:c.label})},c.id))})}function Pd(o){return{x:o.x+o.width/2,y:o.y+o.height/2}}function ip(o,c){const f=Pd(o),i=Pd(c),r=i.x-f.x,h=i.y-f.y,p=Math.abs(r)>=Math.abs(h)?"x":"y";let y,v;return p==="x"?(y={x:r>=0?o.x+o.width:o.x,y:f.y},v={x:r>=0?c.x:c.x+c.width,y:i.y}):(y={x:f.x,y:h>=0?o.y+o.height:o.y},v={x:i.x,y:h>=0?c.y:c.y+c.height}),{start:y,end:v,dominant:p,mid:{x:(y.x+v.x)/2,y:(y.y+v.y)/2}}}function cp(o){const{start:c,end:f,dominant:i}=o,r=i==="x"?Math.abs(f.x-c.x)/2:Math.abs(f.y-c.y)/2,h=i==="x"?{x:c.x+Math.sign(f.x-c.x||1)*r,y:c.y}:{x:c.x,y:c.y+Math.sign(f.y-c.y||1)*r},p=i==="x"?{x:f.x-Math.sign(f.x-c.x||1)*r,y:f.y}:{x:f.x,y:f.y-Math.sign(f.y-c.y||1)*r};return`M ${c.x} ${c.y} C ${h.x} ${h.y} ${p.x} ${p.y} ${f.x} ${f.y}`}const tm=o=>({x:o.x,y:o.y,width:o.width,height:o.height});function fp({connectors:o,placedById:c,width:f,height:i}){return G.jsxs("svg",{className:"vp-connector-layer",width:f,height:i,"aria-hidden":"true",style:{position:"absolute",top:0,left:0,pointerEvents:"none",overflow:"visible"},children:[G.jsx("defs",{children:G.jsx("marker",{id:"vp-arrow",viewBox:"0 0 10 10",refX:"9",refY:"5",markerWidth:"7",markerHeight:"7",orient:"auto-start-reverse",children:G.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",className:"vp-connector-arrow"})})}),o.map(r=>{const h=c.get(r.from),p=c.get(r.to);if(!h||!p)return null;const y=ip(tm(h),tm(p));return G.jsxs("g",{className:"vp-connector",children:[G.jsx("path",{d:cp(y),className:"vp-connector-path",fill:"none",markerEnd:"url(#vp-arrow)"}),r.label?G.jsx("text",{x:y.mid.x,y:y.mid.y-4,className:"vp-connector-label",textAnchor:"middle",children:r.label}):null]},r.id)})]})}/*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */function em(o,c){(c==null||c>o.length)&&(c=o.length);for(var f=0,i=Array(c);f<c;f++)i[f]=o[f];return i}function sp(o){if(Array.isArray(o))return o}function op(o,c){var f=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(f!=null){var i,r,h,p,y=[],v=!0,m=!1;try{if(h=(f=f.call(o)).next,c!==0)for(;!(v=(i=h.call(f)).done)&&(y.push(i.value),y.length!==c);v=!0);}catch(S){m=!0,r=S}finally{try{if(!v&&f.return!=null&&(p=f.return(),Object(p)!==p))return}finally{if(m)throw r}}return y}}function rp(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
50
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hp(o,c){return sp(o)||op(o,c)||dp(o,c)||rp()}function dp(o,c){if(o){if(typeof o=="string")return em(o,c);var f={}.toString.call(o).slice(8,-1);return f==="Object"&&o.constructor&&(f=o.constructor.name),f==="Map"||f==="Set"?Array.from(o):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?em(o,c):void 0}}const Om=Object.entries,lm=Object.setPrototypeOf,mp=Object.isFrozen,yp=Object.getPrototypeOf,pp=Object.getOwnPropertyDescriptor;let Te=Object.freeze,Ee=Object.seal,Jn=Object.create,zm=typeof Reflect<"u"&&Reflect,Ps=zm.apply,to=zm.construct;Te||(Te=function(c){return c});Ee||(Ee=function(c){return c});Ps||(Ps=function(c,f){for(var i=arguments.length,r=new Array(i>2?i-2:0),h=2;h<i;h++)r[h-2]=arguments[h];return c.apply(f,r)});to||(to=function(c){for(var f=arguments.length,i=new Array(f>1?f-1:0),r=1;r<f;r++)i[r-1]=arguments[r];return new c(...i)});const Vn=ie(Array.prototype.forEach),gp=ie(Array.prototype.lastIndexOf),am=ie(Array.prototype.pop),kn=ie(Array.prototype.push),vp=ie(Array.prototype.splice),za=Array.isArray,li=ie(String.prototype.toLowerCase),Qs=ie(String.prototype.toString),nm=ie(String.prototype.match),Iu=ie(String.prototype.replace),um=ie(String.prototype.indexOf),Sp=ie(String.prototype.trim),bp=ie(Number.prototype.toString),Tp=ie(Boolean.prototype.toString),im=typeof BigInt>"u"?null:ie(BigInt.prototype.toString),cm=typeof Symbol>"u"?null:ie(Symbol.prototype.toString),ye=ie(Object.prototype.hasOwnProperty),Pu=ie(Object.prototype.toString),me=ie(RegExp.prototype.test),Pa=Ep(TypeError);function ie(o){return function(c){c instanceof RegExp&&(c.lastIndex=0);for(var f=arguments.length,i=new Array(f>1?f-1:0),r=1;r<f;r++)i[r-1]=arguments[r];return Ps(o,c,i)}}function Ep(o){return function(){for(var c=arguments.length,f=new Array(c),i=0;i<c;i++)f[i]=arguments[i];return to(o,f)}}function bt(o,c){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:li;if(lm&&lm(o,null),!za(c))return o;let i=c.length;for(;i--;){let r=c[i];if(typeof r=="string"){const h=f(r);h!==r&&(mp(c)||(c[i]=h),r=h)}o[r]=!0}return o}function Ap(o){for(let c=0;c<o.length;c++)ye(o,c)||(o[c]=null);return o}function Re(o){const c=Jn(null);for(const i of Om(o)){var f=hp(i,2);const r=f[0],h=f[1];ye(o,r)&&(za(h)?c[r]=Ap(h):h&&typeof h=="object"&&h.constructor===Object?c[r]=Re(h):c[r]=h)}return c}function _p(o){switch(typeof o){case"string":return o;case"number":return bp(o);case"boolean":return Tp(o);case"bigint":return im?im(o):"0";case"symbol":return cm?cm(o):"Symbol()";case"undefined":return Pu(o);case"function":case"object":{if(o===null)return Pu(o);const c=o,f=_l(c,"toString");if(typeof f=="function"){const i=f(c);return typeof i=="string"?i:Pu(i)}return Pu(o)}default:return Pu(o)}}function _l(o,c){for(;o!==null;){const i=pp(o,c);if(i){if(i.get)return ie(i.get);if(typeof i.value=="function")return ie(i.value)}o=yp(o)}function f(){return null}return f}function Mp(o){try{return me(o,""),!0}catch{return!1}}const fm=Te(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Zs=Te(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Vs=Te(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Op=Te(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ks=Te(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),zp=Te(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),sm=Te(["#text"]),om=Te(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Ks=Te(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),rm=Te(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ac=Te(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Dp=Ee(/{{[\w\W]*|^[\w\W]*}}/g),Np=Ee(/<%[\w\W]*|^[\w\W]*%>/g),Rp=Ee(/\${[\w\W]*/g),xp=Ee(/^data-[\-\w.\u00B7-\uFFFF]+$/),Cp=Ee(/^aria-[\-\w]+$/),hm=Ee(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Up=Ee(/^(?:\w+script|data):/i),Lp=Ee(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Hp=Ee(/^html$/i),jp=Ee(/^[a-z][.\w]*(-[.\w]+)+$/i),dm=Ee(/<[/\w!]/g),mm=Ee(/<[/\w]/g),Bp=Ee(/<\/no(script|embed|frames)/i),Yp=Ee(/\/>/i),Je={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Gp=function(){return typeof window>"u"?null:window},qp=function(c,f){if(typeof c!="object"||typeof c.createPolicy!="function")return null;let i=null;const r="data-tt-policy-suffix";f&&f.hasAttribute(r)&&(i=f.getAttribute(r));const h="dompurify"+(i?"#"+i:"");try{return c.createPolicy(h,{createHTML(p){return p},createScriptURL(p){return p}})}catch{return console.warn("TrustedTypes policy "+h+" could not be created."),null}},ym=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Oa=function(c,f,i,r){return ye(c,f)&&za(c[f])?bt(r.base?Re(r.base):{},c[f],r.transform):i};function Dm(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gp();const c=w=>Dm(w);if(c.version="3.4.12",c.removed=[],!o||!o.document||o.document.nodeType!==Je.document||!o.Element)return c.isSupported=!1,c;let f=o.document;const i=f,r=i.currentScript;o.DocumentFragment;const h=o.HTMLTemplateElement,p=o.Node,y=o.Element,v=o.NodeFilter,m=o.NamedNodeMap;m===void 0&&(o.NamedNodeMap||o.MozNamedAttrMap),o.HTMLFormElement;const S=o.DOMParser,_=o.trustedTypes,D=y.prototype,C=_l(D,"cloneNode"),L=_l(D,"remove"),X=_l(D,"nextSibling"),Q=_l(D,"childNodes"),V=_l(D,"parentNode"),q=_l(D,"shadowRoot"),K=_l(D,"attributes"),it=p&&p.prototype?_l(p.prototype,"nodeType"):null,ot=p&&p.prototype?_l(p.prototype,"nodeName"):null;if(typeof h=="function"){const w=f.createElement("template");w.content&&w.content.ownerDocument&&(f=w.content.ownerDocument)}let tt,I="",Dt,oe=!1,Xt=0;const Pt=function(){if(Xt>0)throw Pa('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},wt=function(g){Pt(),Xt++;try{return tt.createHTML(g)}finally{Xt--}},Wt=function(g){Pt(),Xt++;try{return tt.createScriptURL(g)}finally{Xt--}},zt=function(){return oe||(Dt=qp(_,r),oe=!0),Dt},Lt=f,x=Lt.implementation,Z=Lt.createNodeIterator,et=Lt.createDocumentFragment,Tt=Lt.getElementsByTagName,Et=i.importNode;let T=ym();c.isSupported=typeof Om=="function"&&typeof V=="function"&&x&&x.createHTMLDocument!==void 0;const B=Dp,k=Np,F=Rp,ct=xp,ht=Cp,At=Up,re=Lp,kt=jp;let kl=hm,Ht=null;const en=bt({},[...fm,...Zs,...Vs,...ks,...sm]);let Yt=null;const dl=bt({},[...om,...Ks,...rm,...Ac]);let Bt=Object.seal(Jn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ml=null,ni=null;const ul=Object.seal(Jn(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ln=!0,Na=!0,an=!1,ui=!0,ml=!1,Ft=!0,Ol=!1,nn=!1,un=null,Kl=null,Fn=!1,zl=!1,cn=!1,fn=!1,Jl=!0,Ae=!1;const il="user-content-";let pe=!0,$n=!1,Wl={},Fe=null;const Fl=bt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Ra=null;const xa=bt({},["audio","video","img","source","image","track"]);let cl=null;const Ca=bt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),yl="http://www.w3.org/1998/Math/MathML",sn="http://www.w3.org/2000/svg",Ge="http://www.w3.org/1999/xhtml";let pl=Ge,Dl=!1,In=null;const ii=bt({},[yl,sn,Ge],Qs),Pn=Te(["mi","mo","mn","ms","mtext"]);let on=bt({},Pn);const rn=Te(["annotation-xml"]);let Ua=bt({},rn);const ci=bt({},["title","style","font","a","script"]);let $l=null;const gl=["application/xhtml+xml","text/html"],ce="text/html";let dt=null,qe=null;const tu=f.createElement("form"),fi=function(g){return g instanceof RegExp||g instanceof Function},eu=function(){let g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(qe&&qe===g)return;(!g||typeof g!="object")&&(g={}),g=Re(g),$l=gl.indexOf(g.PARSER_MEDIA_TYPE)===-1?ce:g.PARSER_MEDIA_TYPE,dt=$l==="application/xhtml+xml"?Qs:li,Ht=Oa(g,"ALLOWED_TAGS",en,{transform:dt}),Yt=Oa(g,"ALLOWED_ATTR",dl,{transform:dt}),In=Oa(g,"ALLOWED_NAMESPACES",ii,{transform:Qs}),cl=Oa(g,"ADD_URI_SAFE_ATTR",Ca,{transform:dt,base:Ca}),Ra=Oa(g,"ADD_DATA_URI_TAGS",xa,{transform:dt,base:xa}),Fe=Oa(g,"FORBID_CONTENTS",Fl,{transform:dt}),Ml=Oa(g,"FORBID_TAGS",Re({}),{transform:dt}),ni=Oa(g,"FORBID_ATTR",Re({}),{transform:dt}),Wl=ye(g,"USE_PROFILES")?g.USE_PROFILES&&typeof g.USE_PROFILES=="object"?Re(g.USE_PROFILES):g.USE_PROFILES:!1,ln=g.ALLOW_ARIA_ATTR!==!1,Na=g.ALLOW_DATA_ATTR!==!1,an=g.ALLOW_UNKNOWN_PROTOCOLS||!1,ui=g.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ml=g.SAFE_FOR_TEMPLATES||!1,Ft=g.SAFE_FOR_XML!==!1,Ol=g.WHOLE_DOCUMENT||!1,zl=g.RETURN_DOM||!1,cn=g.RETURN_DOM_FRAGMENT||!1,fn=g.RETURN_TRUSTED_TYPE||!1,Fn=g.FORCE_BODY||!1,Jl=g.SANITIZE_DOM!==!1,Ae=g.SANITIZE_NAMED_PROPS||!1,pe=g.KEEP_CONTENT!==!1,$n=g.IN_PLACE||!1,kl=Mp(g.ALLOWED_URI_REGEXP)?g.ALLOWED_URI_REGEXP:hm,pl=typeof g.NAMESPACE=="string"?g.NAMESPACE:Ge,on=ye(g,"MATHML_TEXT_INTEGRATION_POINTS")&&g.MATHML_TEXT_INTEGRATION_POINTS&&typeof g.MATHML_TEXT_INTEGRATION_POINTS=="object"?Re(g.MATHML_TEXT_INTEGRATION_POINTS):bt({},Pn),Ua=ye(g,"HTML_INTEGRATION_POINTS")&&g.HTML_INTEGRATION_POINTS&&typeof g.HTML_INTEGRATION_POINTS=="object"?Re(g.HTML_INTEGRATION_POINTS):bt({},rn);const M=ye(g,"CUSTOM_ELEMENT_HANDLING")&&g.CUSTOM_ELEMENT_HANDLING&&typeof g.CUSTOM_ELEMENT_HANDLING=="object"?Re(g.CUSTOM_ELEMENT_HANDLING):Jn(null);if(Bt=Jn(null),ye(M,"tagNameCheck")&&fi(M.tagNameCheck)&&(Bt.tagNameCheck=M.tagNameCheck),ye(M,"attributeNameCheck")&&fi(M.attributeNameCheck)&&(Bt.attributeNameCheck=M.attributeNameCheck),ye(M,"allowCustomizedBuiltInElements")&&typeof M.allowCustomizedBuiltInElements=="boolean"&&(Bt.allowCustomizedBuiltInElements=M.allowCustomizedBuiltInElements),Ee(Bt),ml&&(Na=!1),cn&&(zl=!0),Wl&&(Ht=bt({},sm),Yt=Jn(null),Wl.html===!0&&(bt(Ht,fm),bt(Yt,om)),Wl.svg===!0&&(bt(Ht,Zs),bt(Yt,Ks),bt(Yt,Ac)),Wl.svgFilters===!0&&(bt(Ht,Vs),bt(Yt,Ks),bt(Yt,Ac)),Wl.mathMl===!0&&(bt(Ht,ks),bt(Yt,rm),bt(Yt,Ac))),ul.tagCheck=null,ul.attributeCheck=null,ye(g,"ADD_TAGS")&&(typeof g.ADD_TAGS=="function"?ul.tagCheck=g.ADD_TAGS:za(g.ADD_TAGS)&&(Ht===en&&(Ht=Re(Ht)),bt(Ht,g.ADD_TAGS,dt))),ye(g,"ADD_ATTR")&&(typeof g.ADD_ATTR=="function"?ul.attributeCheck=g.ADD_ATTR:za(g.ADD_ATTR)&&(Yt===dl&&(Yt=Re(Yt)),bt(Yt,g.ADD_ATTR,dt))),ye(g,"ADD_URI_SAFE_ATTR")&&za(g.ADD_URI_SAFE_ATTR)&&bt(cl,g.ADD_URI_SAFE_ATTR,dt),ye(g,"FORBID_CONTENTS")&&za(g.FORBID_CONTENTS)&&(Fe===Fl&&(Fe=Re(Fe)),bt(Fe,g.FORBID_CONTENTS,dt)),ye(g,"ADD_FORBID_CONTENTS")&&za(g.ADD_FORBID_CONTENTS)&&(Fe===Fl&&(Fe=Re(Fe)),bt(Fe,g.ADD_FORBID_CONTENTS,dt)),pe&&(Ht["#text"]=!0),Ol&&bt(Ht,["html","head","body"]),Ht.table&&(bt(Ht,["tbody"]),delete Ml.tbody),g.TRUSTED_TYPES_POLICY){if(typeof g.TRUSTED_TYPES_POLICY.createHTML!="function")throw Pa('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof g.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Pa('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const Y=tt;tt=g.TRUSTED_TYPES_POLICY;try{I=wt("")}catch(J){throw tt=Y,J}}else g.TRUSTED_TYPES_POLICY===null?(tt=void 0,I=""):(tt===void 0&&(tt=zt()),tt&&typeof I=="string"&&(I=wt("")));Te&&Te(g),qe=g},lu=bt({},[...Zs,...Vs,...Op]),Il=bt({},[...ks,...zp]),au=function(g,M,Y){return M.namespaceURI===Ge?g==="svg":M.namespaceURI===yl?g==="svg"&&(Y==="annotation-xml"||on[Y]):!!lu[g]},Pl=function(g,M,Y){return M.namespaceURI===Ge?g==="math":M.namespaceURI===sn?g==="math"&&Ua[Y]:!!Il[g]},ta=function(g,M,Y){return M.namespaceURI===sn&&!Ua[Y]||M.namespaceURI===yl&&!on[Y]?!1:!Il[g]&&(ci[g]||!lu[g])},La=function(g){let M=V(g);(!M||!M.tagName)&&(M={namespaceURI:pl,tagName:"template"});const Y=li(g.tagName),J=li(M.tagName);return In[g.namespaceURI]?g.namespaceURI===sn?au(Y,M,J):g.namespaceURI===yl?Pl(Y,M,J):g.namespaceURI===Ge?ta(Y,M,J):!!($l==="application/xhtml+xml"&&In[g.namespaceURI]):!1},Oe=function(g){kn(c.removed,{element:g});try{V(g).removeChild(g)}catch{if(L(g),!V(g))throw Pa("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Kt=function(g){fl(g);const M=Q(g);if(M){const J=[];Vn(M,lt=>{kn(J,lt)}),Vn(J,lt=>{try{L(lt)}catch{}})}const Y=K(g);if(Y)for(let J=Y.length-1;J>=0;--J){const lt=Y[J],nt=lt&<.name;if(typeof nt=="string")try{g.removeAttribute(nt)}catch{}}},vl=function(g,M){try{kn(c.removed,{attribute:M.getAttributeNode(g),from:M})}catch{kn(c.removed,{attribute:null,from:M})}if(M.removeAttribute(g),g==="is")if(zl||cn)try{Oe(M)}catch{}else try{M.setAttribute(g,"")}catch{}},si=function(g){const M=K(g);if(M)for(let Y=M.length-1;Y>=0;--Y){const J=M[Y],lt=J&&J.name;if(!(typeof lt!="string"||Yt[dt(lt)]))try{g.removeAttribute(lt)}catch{}}},fl=function(g){const M=[g];for(;M.length>0;){const Y=M.pop();(it?it(Y):Y.nodeType)===Je.element&&si(Y);const lt=Q(Y);if(lt)for(let nt=lt.length-1;nt>=0;--nt)M.push(lt[nt])}},ea=function(g){if(!Ft)return;const M=[g];for(;M.length>0;){const Y=M.pop(),J=it?it(Y):Y.nodeType;if(J===Je.processingInstruction||J===Je.comment&&me(mm,Y.data)){try{L(Y)}catch{}continue}if(J===Je.element){const nt=Y,Qt=dt(ot?ot(Y):Y.nodeName);try{nt.hasAttribute&&nt.hasAttribute("patchsrc")&&nt.removeAttribute("patchsrc"),nt.hasAttribute&&nt.hasAttribute("for")&&Qt!=="label"&&Qt!=="output"&&nt.removeAttribute("for")}catch{}}const lt=Q(Y);if(lt)for(let nt=lt.length-1;nt>=0;--nt)M.push(lt[nt])}},oi=function(g){let M=null,Y=null;if(Fn)g="<remove></remove>"+g;else{const nt=nm(g,/^[\r\n\t ]+/);Y=nt&&nt[0]}$l==="application/xhtml+xml"&&pl===Ge&&(g='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+g+"</body></html>");const J=tt?wt(g):g;if(pl===Ge)try{M=new S().parseFromString(J,$l)}catch{}if(!M||!M.documentElement){M=x.createDocument(pl,"template",null);try{M.documentElement.innerHTML=Dl?I:J}catch{}}const lt=M.body||M.documentElement;return g&&Y&<.insertBefore(f.createTextNode(Y),lt.childNodes[0]||null),pl===Ge?Tt.call(M,Ol?"html":"body")[0]:Ol?M.documentElement:lt},nu=function(g){return Z.call(g.ownerDocument||g,g,v.SHOW_ELEMENT|v.SHOW_COMMENT|v.SHOW_TEXT|v.SHOW_PROCESSING_INSTRUCTION|v.SHOW_CDATA_SECTION,null)},Ha=function(g){return g=Iu(g,B," "),g=Iu(g,k," "),g=Iu(g,F," "),g},uu=function(g){var M;g.normalize();const Y=Z.call(g.ownerDocument||g,g,v.SHOW_TEXT|v.SHOW_COMMENT|v.SHOW_CDATA_SECTION|v.SHOW_PROCESSING_INSTRUCTION,null);let J=Y.nextNode();for(;J;)J.data=Ha(J.data),J=Y.nextNode();const lt=(M=g.querySelectorAll)===null||M===void 0?void 0:M.call(g,"template");lt&&Vn(lt,nt=>{sl(nt.content)&&uu(nt.content)})},Nl=function(g){const M=ot?ot(g):null;return typeof M!="string"||dt(M)!=="form"?!1:typeof g.nodeName!="string"||typeof g.textContent!="string"||typeof g.removeChild!="function"||g.attributes!==K(g)||typeof g.removeAttribute!="function"||typeof g.setAttribute!="function"||typeof g.namespaceURI!="string"||typeof g.insertBefore!="function"||typeof g.hasChildNodes!="function"||g.nodeType!==it(g)||g.childNodes!==Q(g)},sl=function(g){if(!it||typeof g!="object"||g===null)return!1;try{return it(g)===Je.documentFragment}catch{return!1}},ze=function(g){if(!it||typeof g!="object"||g===null)return!1;try{return typeof it(g)=="number"}catch{return!1}};function Jt(w,g,M){w.length!==0&&Vn(w,Y=>{Y.call(c,g,M,qe)})}const ri=function(g,M){return!!(Ft&&g.hasChildNodes()&&!ze(g.firstElementChild)&&me(dm,g.textContent)&&me(dm,g.innerHTML)||Ft&&g.namespaceURI===Ge&&M==="style"&&ze(g.firstElementChild)||g.nodeType===Je.processingInstruction||Ft&&g.nodeType===Je.comment&&me(mm,g.data))},Lc=function(g,M){if(!Ml[M]&&hi(M)&&(Bt.tagNameCheck instanceof RegExp&&me(Bt.tagNameCheck,M)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(M)))return!1;if(pe&&!Fe[M]){const Y=V(g),J=Q(g);if(J&&Y){const lt=J.length;for(let nt=lt-1;nt>=0;--nt){const Qt=$n?J[nt]:C(J[nt],!0);Y.insertBefore(Qt,X(g))}}}return Oe(g),!0},hn=function(g,M){if(Jt(T.beforeSanitizeElements,g,null),g!==M&&V(g)===null)return!0;if(Nl(g))return Oe(g),!0;const Y=dt(ot?ot(g):g.nodeName);if(Jt(T.uponSanitizeElement,g,{tagName:Y,allowedTags:Ht}),g!==M&&V(g)===null)return!0;if(ri(g,Y))return Oe(g),!0;if(Ml[Y]||!(ul.tagCheck instanceof Function&&ul.tagCheck(Y))&&!Ht[Y]){const lt=Lc(g,Y);return lt===!1&&Jt(T.afterSanitizeElements,g,null),lt}if((it?it(g):g.nodeType)===Je.element&&!La(g)||(Y==="noscript"||Y==="noembed"||Y==="noframes")&&me(Bp,g.innerHTML))return Oe(g),!0;if(ml&&g.nodeType===Je.text){const lt=Ha(g.textContent);g.textContent!==lt&&(kn(c.removed,{element:g.cloneNode()}),g.textContent=lt)}return Jt(T.afterSanitizeElements,g,null),!1},iu=function(g,M,Y){if(ni[M]||Ft&&M==="patchsrc"||Ft&&M==="for"&&g!=="label"&&g!=="output"||Jl&&(M==="id"||M==="name")&&(Y in f||Y in tu))return!1;const J=Yt[M]||ul.attributeCheck instanceof Function&&ul.attributeCheck(M,g);if(!(Na&&me(ct,M))){if(!(ln&&me(ht,M))){if(J){if(!cl[M]){if(!me(kl,Iu(Y,re,""))){if(!((M==="src"||M==="xlink:href"||M==="href")&&g!=="script"&&um(Y,"data:")===0&&Ra[g])){if(!(an&&!me(At,Iu(Y,re,"")))){if(Y)return!1}}}}}else if(!(hi(g)&&(Bt.tagNameCheck instanceof RegExp&&me(Bt.tagNameCheck,g)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(g))&&(Bt.attributeNameCheck instanceof RegExp&&me(Bt.attributeNameCheck,M)||Bt.attributeNameCheck instanceof Function&&Bt.attributeNameCheck(M,g))||M==="is"&&Bt.allowCustomizedBuiltInElements&&(Bt.tagNameCheck instanceof RegExp&&me(Bt.tagNameCheck,Y)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(Y))))return!1}}return!0},dn=bt({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),hi=function(g){return!dn[li(g)]&&me(kt,g)},xe=function(g,M,Y,J){if(tt&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!Y)switch(_.getAttributeType(g,M)){case"TrustedHTML":return wt(J);case"TrustedScriptURL":return Wt(J)}return J},cu=function(g,M,Y,J){try{Y?g.setAttributeNS(Y,M,J):g.setAttribute(M,J),Nl(g)?Oe(g):am(c.removed)}catch{vl(M,g)}},fu=function(g){Jt(T.beforeSanitizeAttributes,g,null);const M=g.attributes;if(!M||Nl(g))return;const Y={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Yt,forceKeepAttr:void 0};let J=M.length;const lt=dt(g.nodeName);for(;J--;){const nt=M[J],Qt=nt.name,he=nt.namespaceURI,_e=nt.value,Zt=dt(Qt),De=_e;let fe=Qt==="value"?De:Sp(De);if(Y.attrName=Zt,Y.attrValue=fe,Y.keepAttr=!0,Y.forceKeepAttr=void 0,Jt(T.uponSanitizeAttribute,g,Y),fe=Y.attrValue,Ae&&(Zt==="id"||Zt==="name")&&um(fe,il)!==0&&(vl(Qt,g),fe=il+fe),Ft&&me(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,fe)){vl(Qt,g);continue}if(Zt==="attributename"&&nm(fe,"href")){vl(Qt,g);continue}if(!Y.forceKeepAttr){if(!Y.keepAttr){vl(Qt,g);continue}if(!ui&&me(Yp,fe)){vl(Qt,g);continue}if(ml&&(fe=Ha(fe)),!iu(lt,Zt,fe)){vl(Qt,g);continue}fe=xe(lt,Zt,he,fe),fe!==De&&cu(g,Qt,he,fe)}}Jt(T.afterSanitizeAttributes,g,null)},la=function(g){let M=null;const Y=nu(g);for(Jt(T.beforeSanitizeShadowDOM,g,null);M=Y.nextNode();)if(Jt(T.uponSanitizeShadowNode,M,null),hn(M,g),fu(M),sl(M.content)&&la(M.content),(it?it(M):M.nodeType)===Je.element){const lt=q(M);sl(lt)&&(Sl(lt),la(lt))}Jt(T.afterSanitizeShadowDOM,g,null)},Sl=function(g){const M=[{node:g,shadow:null}];for(;M.length>0;){const Y=M.pop();if(Y.shadow){la(Y.shadow);continue}const J=Y.node,nt=(it?it(J):J.nodeType)===Je.element,Qt=Q(J);if(Qt)for(let he=Qt.length-1;he>=0;--he)M.push({node:Qt[he],shadow:null});if(nt){const he=ot?ot(J):null;if(typeof he=="string"&&dt(he)==="template"){const _e=J.content;sl(_e)&&M.push({node:_e,shadow:null})}}if(nt){const he=q(J);sl(he)&&M.push({node:null,shadow:he},{node:he,shadow:null})}}};return c.sanitize=function(w){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=null,Y=null,J=null,lt=null;if(Dl=!w,Dl&&(w="<!-->"),typeof w!="string"&&!ze(w)&&(w=_p(w),typeof w!="string"))throw Pa("dirty is not a string, aborting");if(!c.isSupported)return w;nn?(Ht=un,Yt=Kl):eu(g),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(Ht=Re(Ht)),T.uponSanitizeAttribute.length>0&&(Yt=Re(Yt)),c.removed=[];const nt=$n&&typeof w!="string"&&ze(w);if(nt){ea(w);const Zt=ot?ot(w):w.nodeName;if(typeof Zt=="string"){const De=dt(Zt);if(!Ht[De]||Ml[De])throw Kt(w),Pa("root node is forbidden and cannot be sanitized in-place")}if(Nl(w))throw Kt(w),Pa("root node is clobbered and cannot be sanitized in-place");try{Sl(w)}catch(De){throw Kt(w),De}}else if(ze(w))M=oi("<!---->"),Y=M.ownerDocument.importNode(w,!0),Y.nodeType===Je.element&&Y.nodeName==="BODY"||Y.nodeName==="HTML"?M=Y:M.appendChild(Y),Sl(Y);else{if(!zl&&!ml&&!Ol&&w.indexOf("<")===-1)return tt&&fn?wt(w):w;if(M=oi(w),!M)return zl?null:fn?I:""}M&&Fn&&Oe(M.firstChild);const Qt=nt?w:M,he=nu(Qt);try{for(;J=he.nextNode();)hn(J,Qt),fu(J),sl(J.content)&&la(J.content)}catch(Zt){throw nt&&(Kt(w),Vn(c.removed,De=>{De.element&&fl(De.element)})),Zt}if(nt)return Vn(c.removed,Zt=>{Zt.element&&fl(Zt.element)}),ml&&uu(w),w;if(zl){if(ml&&uu(M),cn)for(lt=et.call(M.ownerDocument);M.firstChild;)lt.appendChild(M.firstChild);else lt=M;return(Yt.shadowroot||Yt.shadowrootmode)&&(lt=Et.call(i,lt,!0)),lt}let _e=Ol?M.outerHTML:M.innerHTML;return Ol&&Ht["!doctype"]&&M.ownerDocument&&M.ownerDocument.doctype&&M.ownerDocument.doctype.name&&me(Hp,M.ownerDocument.doctype.name)&&(_e="<!DOCTYPE "+M.ownerDocument.doctype.name+`>
|
|
51
|
+
`+_e),ml&&(_e=Ha(_e)),tt&&fn?wt(_e):_e},c.setConfig=function(){let w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};eu(w),nn=!0,un=Ht,Kl=Yt},c.clearConfig=function(){qe=null,nn=!1,un=null,Kl=null,tt=Dt,I=""},c.isValidAttribute=function(w,g,M){qe||eu({});const Y=dt(w),J=dt(g);return iu(Y,J,M)},c.addHook=function(w,g){typeof g=="function"&&ye(T,w)&&kn(T[w],g)},c.removeHook=function(w,g){if(ye(T,w)){if(g!==void 0){const M=gp(T[w],g);return M===-1?void 0:vp(T[w],M,1)[0]}return am(T[w])}},c.removeHooks=function(w){ye(T,w)&&(T[w]=[])},c.removeAllHooks=function(){T=ym()},c}var Xp=Dm();const wp=["section","header","footer","main","nav","aside","article","div","span","p","h1","h2","h3","h4","h5","h6","ul","ol","li","dl","dt","dd","a","strong","em","small","b","i","u","code","pre","blockquote","figure","figcaption","hr","br","table","thead","tbody","tfoot","tr","th","td","caption","label"],Qp=["class","href","title","role"],Zp=/^(?:(?:https?|mailto):|#|\/(?!\/))/i,Vp={ALLOWED_TAGS:[...wp],ALLOWED_ATTR:[...Qp],ALLOW_DATA_ATTR:!1,ALLOW_ARIA_ATTR:!1,FORBID_ATTR:["style"],FORBID_TAGS:["style","script","iframe","object","embed","form","svg","math"],ALLOWED_URI_REGEXP:Zp,WHOLE_DOCUMENT:!1},kp=Xp(window);function Kp(o){const c=document.createElement("div");return c.innerHTML=o,c.innerHTML}function Jp(o){const c=kp.sanitize(o,Vp);return{html:c,clean:c===Kp(o)}}function Wp({html:o}){const c=vt.useMemo(()=>Jp(o).html,[o]);return G.jsx("div",{className:"wf-root",dangerouslySetInnerHTML:{__html:c}})}function Fp({placed:o,framesById:c,selectedId:f,onSelect:i}){return G.jsx("div",{className:"vp-artboard-layer",children:o.map(r=>{const h=c.get(r.id);if(!h)return null;const p=r.id===f;return G.jsxs("div",{className:`vp-artboard${p?" is-selected":""}`,"data-frame-id":r.id,style:{position:"absolute",left:r.x,top:r.y,width:r.width,height:r.height},role:"button",tabIndex:0,"aria-pressed":p,"aria-label":`${h.label} (${h.surface})`,onClick:()=>i(r.id),onKeyDown:y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),i(r.id))},children:[G.jsxs("div",{className:"vp-artboard-header",children:[G.jsx("span",{className:"vp-artboard-title",children:h.label}),G.jsx("span",{className:"vp-artboard-surface","data-change":h.changeMode,children:h.surface})]}),G.jsx("div",{className:"vp-artboard-body",style:{width:r.width,height:r.height},children:G.jsx(Wp,{html:h.wireframe.html})})]},r.id)})})}const $p=200,Ip=24,Pp=12,tg=56;function eg(o){const c=new Map;for(const i of o){const r=i.targetX+i.targetWidth+Ip,h=c.get(r)??[];h.push(i),c.set(r,h)}const f=[];for(const[i,r]of c){const h=[...r].sort((y,v)=>y.targetY-v.targetY||y.id.localeCompare(v.id));let p=-1/0;for(const y of h){const v=y.height??tg,m=Math.max(y.targetY,p+Pp);f.push({id:y.id,x:i,y:m,width:$p,height:v}),p=m+v}}return f}function lg({annotations:o,placedById:c}){const[f,i]=vt.useState({}),r=vt.useRef(new Map),h=o.filter(S=>S.kind==="note"&&S.targetId&&c.has(S.targetId)),p=o.filter(S=>S.kind==="markup"&&S.points&&S.points.length>0),y=vt.useMemo(()=>h.map(S=>{const _=c.get(S.targetId);return{id:S.id,targetX:_.x,targetY:_.y,targetWidth:_.width,height:f[S.id]}}),[h,c,f]),v=eg(y),m=new Map(h.map(S=>[S.id,S.text]));return vt.useEffect(()=>{if(typeof ResizeObserver>"u")return;const S=new ResizeObserver(_=>{i(D=>{const C={...D};let L=!1;for(const X of _){const Q=X.target.dataset.noteId;Q&&C[Q]!==X.contentRect.height&&(C[Q]=X.contentRect.height,L=!0)}return L?C:D})});for(const _ of r.current.values())S.observe(_);return()=>S.disconnect()},[v.length]),G.jsxs("div",{className:"vp-annotation-layer",role:"list","aria-label":"Annotations",children:[v.map(S=>G.jsx("div",{className:"vp-note",role:"listitem","data-note-id":S.id,ref:_=>{_?r.current.set(S.id,_):r.current.delete(S.id)},style:{position:"absolute",left:S.x,top:S.y,width:S.width},children:m.get(S.id)},S.id)),p.map(S=>{const _=S.points[0];return G.jsx("div",{className:"vp-markup",role:"listitem",style:{position:"absolute",left:_.x,top:_.y},children:S.text},S.id)})]})}function Js(o,c,f){if(o&&o.length){const[i,r]=c,h=Math.PI/180*f,p=Math.cos(h),y=Math.sin(h);for(const v of o){const[m,S]=v;v[0]=(m-i)*p-(S-r)*y+i,v[1]=(m-i)*y+(S-r)*p+r}}}function ag(o,c){return o[0]===c[0]&&o[1]===c[1]}function ng(o,c,f,i=1){const r=f,h=Math.max(c,.1),p=o[0]&&o[0][0]&&typeof o[0][0]=="number"?[o]:o,y=[0,0];if(r)for(const m of p)Js(m,y,r);const v=(function(m,S,_){const D=[];for(const q of m){const K=[...q];ag(K[0],K[K.length-1])||K.push([K[0][0],K[0][1]]),K.length>2&&D.push(K)}const C=[];S=Math.max(S,.1);const L=[];for(const q of D)for(let K=0;K<q.length-1;K++){const it=q[K],ot=q[K+1];if(it[1]!==ot[1]){const tt=Math.min(it[1],ot[1]);L.push({ymin:tt,ymax:Math.max(it[1],ot[1]),x:tt===it[1]?it[0]:ot[0],islope:(ot[0]-it[0])/(ot[1]-it[1])})}}if(L.sort(((q,K)=>q.ymin<K.ymin?-1:q.ymin>K.ymin?1:q.x<K.x?-1:q.x>K.x?1:q.ymax===K.ymax?0:(q.ymax-K.ymax)/Math.abs(q.ymax-K.ymax))),!L.length)return C;let X=[],Q=L[0].ymin,V=0;for(;X.length||L.length;){if(L.length){let q=-1;for(let K=0;K<L.length&&!(L[K].ymin>Q);K++)q=K;L.splice(0,q+1).forEach((K=>{X.push({s:Q,edge:K})}))}if(X=X.filter((q=>!(q.edge.ymax<=Q))),X.sort(((q,K)=>q.edge.x===K.edge.x?0:(q.edge.x-K.edge.x)/Math.abs(q.edge.x-K.edge.x))),(_!==1||V%S==0)&&X.length>1)for(let q=0;q<X.length;q+=2){const K=q+1;if(K>=X.length)break;const it=X[q].edge,ot=X[K].edge;C.push([[Math.round(it.x),Q],[Math.round(ot.x),Q]])}Q+=_,X.forEach((q=>{q.edge.x=q.edge.x+_*q.edge.islope})),V++}return C})(p,h,i);if(r){for(const m of p)Js(m,y,-r);(function(m,S,_){const D=[];m.forEach((C=>D.push(...C))),Js(D,S,_)})(v,y,-r)}return v}function ai(o,c){var f;const i=c.hachureAngle+90;let r=c.hachureGap;r<0&&(r=4*c.strokeWidth),r=Math.round(Math.max(r,.1));let h=1;return c.roughness>=1&&(((f=c.randomizer)===null||f===void 0?void 0:f.next())||Math.random())>.7&&(h=r),ng(o,r,i,h||1)}class uo{constructor(c){this.helper=c}fillPolygons(c,f){return this._fillPolygons(c,f)}_fillPolygons(c,f){const i=ai(c,f);return{type:"fillSketch",ops:this.renderLines(i,f)}}renderLines(c,f){const i=[];for(const r of c)i.push(...this.helper.doubleLineOps(r[0][0],r[0][1],r[1][0],r[1][1],f));return i}}function Uc(o){const c=o[0],f=o[1];return Math.sqrt(Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2))}class ug extends uo{fillPolygons(c,f){let i=f.hachureGap;i<0&&(i=4*f.strokeWidth),i=Math.max(i,.1);const r=ai(c,Object.assign({},f,{hachureGap:i})),h=Math.PI/180*f.hachureAngle,p=[],y=.5*i*Math.cos(h),v=.5*i*Math.sin(h);for(const[m,S]of r)Uc([m,S])&&p.push([[m[0]-y,m[1]+v],[...S]],[[m[0]+y,m[1]-v],[...S]]);return{type:"fillSketch",ops:this.renderLines(p,f)}}}class ig extends uo{fillPolygons(c,f){const i=this._fillPolygons(c,f),r=Object.assign({},f,{hachureAngle:f.hachureAngle+90}),h=this._fillPolygons(c,r);return i.ops=i.ops.concat(h.ops),i}}class cg{constructor(c){this.helper=c}fillPolygons(c,f){const i=ai(c,f=Object.assign({},f,{hachureAngle:0}));return this.dotsOnLines(i,f)}dotsOnLines(c,f){const i=[];let r=f.hachureGap;r<0&&(r=4*f.strokeWidth),r=Math.max(r,.1);let h=f.fillWeight;h<0&&(h=f.strokeWidth/2);const p=r/4;for(const y of c){const v=Uc(y),m=v/r,S=Math.ceil(m)-1,_=v-S*r,D=(y[0][0]+y[1][0])/2-r/4,C=Math.min(y[0][1],y[1][1]);for(let L=0;L<S;L++){const X=C+_+L*r,Q=D-p+2*Math.random()*p,V=X-p+2*Math.random()*p,q=this.helper.ellipse(Q,V,h,h,f);i.push(...q.ops)}}return{type:"fillSketch",ops:i}}}class fg{constructor(c){this.helper=c}fillPolygons(c,f){const i=ai(c,f);return{type:"fillSketch",ops:this.dashedLine(i,f)}}dashedLine(c,f){const i=f.dashOffset<0?f.hachureGap<0?4*f.strokeWidth:f.hachureGap:f.dashOffset,r=f.dashGap<0?f.hachureGap<0?4*f.strokeWidth:f.hachureGap:f.dashGap,h=[];return c.forEach((p=>{const y=Uc(p),v=Math.floor(y/(i+r)),m=(y+r-v*(i+r))/2;let S=p[0],_=p[1];S[0]>_[0]&&(S=p[1],_=p[0]);const D=Math.atan((_[1]-S[1])/(_[0]-S[0]));for(let C=0;C<v;C++){const L=C*(i+r),X=L+i,Q=[S[0]+L*Math.cos(D)+m*Math.cos(D),S[1]+L*Math.sin(D)+m*Math.sin(D)],V=[S[0]+X*Math.cos(D)+m*Math.cos(D),S[1]+X*Math.sin(D)+m*Math.sin(D)];h.push(...this.helper.doubleLineOps(Q[0],Q[1],V[0],V[1],f))}})),h}}class sg{constructor(c){this.helper=c}fillPolygons(c,f){const i=f.hachureGap<0?4*f.strokeWidth:f.hachureGap,r=f.zigzagOffset<0?i:f.zigzagOffset,h=ai(c,f=Object.assign({},f,{hachureGap:i+r}));return{type:"fillSketch",ops:this.zigzagLines(h,r,f)}}zigzagLines(c,f,i){const r=[];return c.forEach((h=>{const p=Uc(h),y=Math.round(p/(2*f));let v=h[0],m=h[1];v[0]>m[0]&&(v=h[1],m=h[0]);const S=Math.atan((m[1]-v[1])/(m[0]-v[0]));for(let _=0;_<y;_++){const D=2*_*f,C=2*(_+1)*f,L=Math.sqrt(2*Math.pow(f,2)),X=[v[0]+D*Math.cos(S),v[1]+D*Math.sin(S)],Q=[v[0]+C*Math.cos(S),v[1]+C*Math.sin(S)],V=[X[0]+L*Math.cos(S+Math.PI/4),X[1]+L*Math.sin(S+Math.PI/4)];r.push(...this.helper.doubleLineOps(X[0],X[1],V[0],V[1],i),...this.helper.doubleLineOps(V[0],V[1],Q[0],Q[1],i))}})),r}}const Ye={};class og{constructor(c){this.seed=c}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const rg=0,Ws=1,pm=2,_c={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function Fs(o,c){return o.type===c}function io(o){const c=[],f=(function(p){const y=new Array;for(;p!=="";)if(p.match(/^([ \t\r\n,]+)/))p=p.substr(RegExp.$1.length);else if(p.match(/^([aAcChHlLmMqQsStTvVzZ])/))y[y.length]={type:rg,text:RegExp.$1},p=p.substr(RegExp.$1.length);else{if(!p.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];y[y.length]={type:Ws,text:`${parseFloat(RegExp.$1)}`},p=p.substr(RegExp.$1.length)}return y[y.length]={type:pm,text:""},y})(o);let i="BOD",r=0,h=f[r];for(;!Fs(h,pm);){let p=0;const y=[];if(i==="BOD"){if(h.text!=="M"&&h.text!=="m")return io("M0,0"+o);r++,p=_c[h.text],i=h.text}else Fs(h,Ws)?p=_c[i]:(r++,p=_c[h.text],i=h.text);if(!(r+p<f.length))throw new Error("Path data ended short");for(let v=r;v<r+p;v++){const m=f[v];if(!Fs(m,Ws))throw new Error("Param not a number: "+i+","+m.text);y[y.length]=+m.text}if(typeof _c[i]!="number")throw new Error("Bad segment: "+i);{const v={key:i,data:y};c.push(v),r+=p,h=f[r],i==="M"&&(i="L"),i==="m"&&(i="l")}}return c}function Nm(o){let c=0,f=0,i=0,r=0;const h=[];for(const{key:p,data:y}of o)switch(p){case"M":h.push({key:"M",data:[...y]}),[c,f]=y,[i,r]=y;break;case"m":c+=y[0],f+=y[1],h.push({key:"M",data:[c,f]}),i=c,r=f;break;case"L":h.push({key:"L",data:[...y]}),[c,f]=y;break;case"l":c+=y[0],f+=y[1],h.push({key:"L",data:[c,f]});break;case"C":h.push({key:"C",data:[...y]}),c=y[4],f=y[5];break;case"c":{const v=y.map(((m,S)=>S%2?m+f:m+c));h.push({key:"C",data:v}),c=v[4],f=v[5];break}case"Q":h.push({key:"Q",data:[...y]}),c=y[2],f=y[3];break;case"q":{const v=y.map(((m,S)=>S%2?m+f:m+c));h.push({key:"Q",data:v}),c=v[2],f=v[3];break}case"A":h.push({key:"A",data:[...y]}),c=y[5],f=y[6];break;case"a":c+=y[5],f+=y[6],h.push({key:"A",data:[y[0],y[1],y[2],y[3],y[4],c,f]});break;case"H":h.push({key:"H",data:[...y]}),c=y[0];break;case"h":c+=y[0],h.push({key:"H",data:[c]});break;case"V":h.push({key:"V",data:[...y]}),f=y[0];break;case"v":f+=y[0],h.push({key:"V",data:[f]});break;case"S":h.push({key:"S",data:[...y]}),c=y[2],f=y[3];break;case"s":{const v=y.map(((m,S)=>S%2?m+f:m+c));h.push({key:"S",data:v}),c=v[2],f=v[3];break}case"T":h.push({key:"T",data:[...y]}),c=y[0],f=y[1];break;case"t":c+=y[0],f+=y[1],h.push({key:"T",data:[c,f]});break;case"Z":case"z":h.push({key:"Z",data:[]}),c=i,f=r}return h}function Rm(o){const c=[];let f="",i=0,r=0,h=0,p=0,y=0,v=0;for(const{key:m,data:S}of o){switch(m){case"M":c.push({key:"M",data:[...S]}),[i,r]=S,[h,p]=S;break;case"C":c.push({key:"C",data:[...S]}),i=S[4],r=S[5],y=S[2],v=S[3];break;case"L":c.push({key:"L",data:[...S]}),[i,r]=S;break;case"H":i=S[0],c.push({key:"L",data:[i,r]});break;case"V":r=S[0],c.push({key:"L",data:[i,r]});break;case"S":{let _=0,D=0;f==="C"||f==="S"?(_=i+(i-y),D=r+(r-v)):(_=i,D=r),c.push({key:"C",data:[_,D,...S]}),y=S[0],v=S[1],i=S[2],r=S[3];break}case"T":{const[_,D]=S;let C=0,L=0;f==="Q"||f==="T"?(C=i+(i-y),L=r+(r-v)):(C=i,L=r);const X=i+2*(C-i)/3,Q=r+2*(L-r)/3,V=_+2*(C-_)/3,q=D+2*(L-D)/3;c.push({key:"C",data:[X,Q,V,q,_,D]}),y=C,v=L,i=_,r=D;break}case"Q":{const[_,D,C,L]=S,X=i+2*(_-i)/3,Q=r+2*(D-r)/3,V=C+2*(_-C)/3,q=L+2*(D-L)/3;c.push({key:"C",data:[X,Q,V,q,C,L]}),y=_,v=D,i=C,r=L;break}case"A":{const _=Math.abs(S[0]),D=Math.abs(S[1]),C=S[2],L=S[3],X=S[4],Q=S[5],V=S[6];_===0||D===0?(c.push({key:"C",data:[i,r,Q,V,Q,V]}),i=Q,r=V):(i!==Q||r!==V)&&(xm(i,r,Q,V,_,D,C,L,X).forEach((function(q){c.push({key:"C",data:q})})),i=Q,r=V);break}case"Z":c.push({key:"Z",data:[]}),i=h,r=p}f=m}return c}function ti(o,c,f){return[o*Math.cos(f)-c*Math.sin(f),o*Math.sin(f)+c*Math.cos(f)]}function xm(o,c,f,i,r,h,p,y,v,m){const S=(_=p,Math.PI*_/180);var _;let D=[],C=0,L=0,X=0,Q=0;if(m)[C,L,X,Q]=m;else{[o,c]=ti(o,c,-S),[f,i]=ti(f,i,-S);const Wt=(o-f)/2,zt=(c-i)/2;let Lt=Wt*Wt/(r*r)+zt*zt/(h*h);Lt>1&&(Lt=Math.sqrt(Lt),r*=Lt,h*=Lt);const x=r*r,Z=h*h,et=x*Z-x*zt*zt-Z*Wt*Wt,Tt=x*zt*zt+Z*Wt*Wt,Et=(y===v?-1:1)*Math.sqrt(Math.abs(et/Tt));X=Et*r*zt/h+(o+f)/2,Q=Et*-h*Wt/r+(c+i)/2,C=Math.asin(parseFloat(((c-Q)/h).toFixed(9))),L=Math.asin(parseFloat(((i-Q)/h).toFixed(9))),o<X&&(C=Math.PI-C),f<X&&(L=Math.PI-L),C<0&&(C=2*Math.PI+C),L<0&&(L=2*Math.PI+L),v&&C>L&&(C-=2*Math.PI),!v&&L>C&&(L-=2*Math.PI)}let V=L-C;if(Math.abs(V)>120*Math.PI/180){const Wt=L,zt=f,Lt=i;L=v&&L>C?C+120*Math.PI/180*1:C+120*Math.PI/180*-1,D=xm(f=X+r*Math.cos(L),i=Q+h*Math.sin(L),zt,Lt,r,h,p,0,v,[L,Wt,X,Q])}V=L-C;const q=Math.cos(C),K=Math.sin(C),it=Math.cos(L),ot=Math.sin(L),tt=Math.tan(V/4),I=4/3*r*tt,Dt=4/3*h*tt,oe=[o,c],Xt=[o+I*K,c-Dt*q],Pt=[f+I*ot,i-Dt*it],wt=[f,i];if(Xt[0]=2*oe[0]-Xt[0],Xt[1]=2*oe[1]-Xt[1],m)return[Xt,Pt,wt].concat(D);{D=[Xt,Pt,wt].concat(D);const Wt=[];for(let zt=0;zt<D.length;zt+=3){const Lt=ti(D[zt][0],D[zt][1],S),x=ti(D[zt+1][0],D[zt+1][1],S),Z=ti(D[zt+2][0],D[zt+2][1],S);Wt.push([Lt[0],Lt[1],x[0],x[1],Z[0],Z[1]])}return Wt}}const hg={randOffset:function(o,c){return ut(o,c)},randOffsetWithRange:function(o,c,f){return Nc(o,c,f)},ellipse:function(o,c,f,i,r){const h=Um(f,i,r);return eo(o,c,r,h).opset},doubleLineOps:function(o,c,f,i,r){return Da(o,c,f,i,r,!0)}};function Cm(o,c,f,i,r){return{type:"path",ops:Da(o,c,f,i,r)}}function zc(o,c,f){const i=(o||[]).length;if(i>2){const r=[];for(let h=0;h<i-1;h++)r.push(...Da(o[h][0],o[h][1],o[h+1][0],o[h+1][1],f));return c&&r.push(...Da(o[i-1][0],o[i-1][1],o[0][0],o[0][1],f)),{type:"path",ops:r}}return i===2?Cm(o[0][0],o[0][1],o[1][0],o[1][1],f):{type:"path",ops:[]}}function dg(o,c,f,i,r){return(function(h,p){return zc(h,!0,p)})([[o,c],[o+f,c],[o+f,c+i],[o,c+i]],r)}function gm(o,c){if(o.length){const f=typeof o[0][0]=="number"?[o]:o,i=Mc(f[0],1*(1+.2*c.roughness),c),r=c.disableMultiStroke?[]:Mc(f[0],1.5*(1+.22*c.roughness),bm(c));for(let h=1;h<f.length;h++){const p=f[h];if(p.length){const y=Mc(p,1*(1+.2*c.roughness),c),v=c.disableMultiStroke?[]:Mc(p,1.5*(1+.22*c.roughness),bm(c));for(const m of y)m.op!=="move"&&i.push(m);for(const m of v)m.op!=="move"&&r.push(m)}}return{type:"path",ops:i.concat(r)}}return{type:"path",ops:[]}}function Um(o,c,f){const i=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(o/2,2)+Math.pow(c/2,2))/2)),r=Math.ceil(Math.max(f.curveStepCount,f.curveStepCount/Math.sqrt(200)*i)),h=2*Math.PI/r;let p=Math.abs(o/2),y=Math.abs(c/2);const v=1-f.curveFitting;return p+=ut(p*v,f),y+=ut(y*v,f),{increment:h,rx:p,ry:y}}function eo(o,c,f,i){const[r,h]=Tm(i.increment,o,c,i.rx,i.ry,1,i.increment*Nc(.1,Nc(.4,1,f),f),f);let p=Rc(r,null,f);if(!f.disableMultiStroke&&f.roughness!==0){const[y]=Tm(i.increment,o,c,i.rx,i.ry,1.5,0,f),v=Rc(y,null,f);p=p.concat(v)}return{estimatedPoints:h,opset:{type:"path",ops:p}}}function vm(o,c,f,i,r,h,p,y,v){const m=o,S=c;let _=Math.abs(f/2),D=Math.abs(i/2);_+=ut(.01*_,v),D+=ut(.01*D,v);let C=r,L=h;for(;C<0;)C+=2*Math.PI,L+=2*Math.PI;L-C>2*Math.PI&&(C=0,L=2*Math.PI);const X=2*Math.PI/v.curveStepCount,Q=Math.min(X/2,(L-C)/2),V=Em(Q,m,S,_,D,C,L,1,v);if(!v.disableMultiStroke){const q=Em(Q,m,S,_,D,C,L,1.5,v);V.push(...q)}return p&&(y?V.push(...Da(m,S,m+_*Math.cos(C),S+D*Math.sin(C),v),...Da(m,S,m+_*Math.cos(L),S+D*Math.sin(L),v)):V.push({op:"lineTo",data:[m,S]},{op:"lineTo",data:[m+_*Math.cos(C),S+D*Math.sin(C)]})),{type:"path",ops:V}}function Sm(o,c){const f=Rm(Nm(io(o))),i=[];let r=[0,0],h=[0,0];for(const{key:p,data:y}of f)switch(p){case"M":h=[y[0],y[1]],r=[y[0],y[1]];break;case"L":i.push(...Da(h[0],h[1],y[0],y[1],c)),h=[y[0],y[1]];break;case"C":{const[v,m,S,_,D,C]=y;i.push(...mg(v,m,S,_,D,C,h,c)),h=[D,C];break}case"Z":i.push(...Da(h[0],h[1],r[0],r[1],c)),h=[r[0],r[1]]}return{type:"path",ops:i}}function $s(o,c){const f=[];for(const i of o)if(i.length){const r=c.maxRandomnessOffset||0,h=i.length;if(h>2){f.push({op:"move",data:[i[0][0]+ut(r,c),i[0][1]+ut(r,c)]});for(let p=1;p<h;p++)f.push({op:"lineTo",data:[i[p][0]+ut(r,c),i[p][1]+ut(r,c)]})}}return{type:"fillPath",ops:f}}function Kn(o,c){return(function(f,i){let r=f.fillStyle||"hachure";if(!Ye[r])switch(r){case"zigzag":Ye[r]||(Ye[r]=new ug(i));break;case"cross-hatch":Ye[r]||(Ye[r]=new ig(i));break;case"dots":Ye[r]||(Ye[r]=new cg(i));break;case"dashed":Ye[r]||(Ye[r]=new fg(i));break;case"zigzag-line":Ye[r]||(Ye[r]=new sg(i));break;default:r="hachure",Ye[r]||(Ye[r]=new uo(i))}return Ye[r]})(c,hg).fillPolygons(o,c)}function bm(o){const c=Object.assign({},o);return c.randomizer=void 0,o.seed&&(c.seed=o.seed+1),c}function Lm(o){return o.randomizer||(o.randomizer=new og(o.seed||0)),o.randomizer.next()}function Nc(o,c,f,i=1){return f.roughness*i*(Lm(f)*(c-o)+o)}function ut(o,c,f=1){return Nc(-o,o,c,f)}function Da(o,c,f,i,r,h=!1){const p=h?r.disableMultiStrokeFill:r.disableMultiStroke,y=lo(o,c,f,i,r,!0,!1);if(p)return y;const v=lo(o,c,f,i,r,!0,!0);return y.concat(v)}function lo(o,c,f,i,r,h,p){const y=Math.pow(o-f,2)+Math.pow(c-i,2),v=Math.sqrt(y);let m=1;m=v<200?1:v>500?.4:-.0016668*v+1.233334;let S=r.maxRandomnessOffset||0;S*S*100>y&&(S=v/10);const _=S/2,D=.2+.2*Lm(r);let C=r.bowing*r.maxRandomnessOffset*(i-c)/200,L=r.bowing*r.maxRandomnessOffset*(o-f)/200;C=ut(C,r,m),L=ut(L,r,m);const X=[],Q=()=>ut(_,r,m),V=()=>ut(S,r,m),q=r.preserveVertices;return p?X.push({op:"move",data:[o+(q?0:Q()),c+(q?0:Q())]}):X.push({op:"move",data:[o+(q?0:ut(S,r,m)),c+(q?0:ut(S,r,m))]}),p?X.push({op:"bcurveTo",data:[C+o+(f-o)*D+Q(),L+c+(i-c)*D+Q(),C+o+2*(f-o)*D+Q(),L+c+2*(i-c)*D+Q(),f+(q?0:Q()),i+(q?0:Q())]}):X.push({op:"bcurveTo",data:[C+o+(f-o)*D+V(),L+c+(i-c)*D+V(),C+o+2*(f-o)*D+V(),L+c+2*(i-c)*D+V(),f+(q?0:V()),i+(q?0:V())]}),X}function Mc(o,c,f){if(!o.length)return[];const i=[];i.push([o[0][0]+ut(c,f),o[0][1]+ut(c,f)]),i.push([o[0][0]+ut(c,f),o[0][1]+ut(c,f)]);for(let r=1;r<o.length;r++)i.push([o[r][0]+ut(c,f),o[r][1]+ut(c,f)]),r===o.length-1&&i.push([o[r][0]+ut(c,f),o[r][1]+ut(c,f)]);return Rc(i,null,f)}function Rc(o,c,f){const i=o.length,r=[];if(i>3){const h=[],p=1-f.curveTightness;r.push({op:"move",data:[o[1][0],o[1][1]]});for(let y=1;y+2<i;y++){const v=o[y];h[0]=[v[0],v[1]],h[1]=[v[0]+(p*o[y+1][0]-p*o[y-1][0])/6,v[1]+(p*o[y+1][1]-p*o[y-1][1])/6],h[2]=[o[y+1][0]+(p*o[y][0]-p*o[y+2][0])/6,o[y+1][1]+(p*o[y][1]-p*o[y+2][1])/6],h[3]=[o[y+1][0],o[y+1][1]],r.push({op:"bcurveTo",data:[h[1][0],h[1][1],h[2][0],h[2][1],h[3][0],h[3][1]]})}}else i===3?(r.push({op:"move",data:[o[1][0],o[1][1]]}),r.push({op:"bcurveTo",data:[o[1][0],o[1][1],o[2][0],o[2][1],o[2][0],o[2][1]]})):i===2&&r.push(...lo(o[0][0],o[0][1],o[1][0],o[1][1],f,!0,!0));return r}function Tm(o,c,f,i,r,h,p,y){const v=[],m=[];if(y.roughness===0){o/=4,m.push([c+i*Math.cos(-o),f+r*Math.sin(-o)]);for(let S=0;S<=2*Math.PI;S+=o){const _=[c+i*Math.cos(S),f+r*Math.sin(S)];v.push(_),m.push(_)}m.push([c+i*Math.cos(0),f+r*Math.sin(0)]),m.push([c+i*Math.cos(o),f+r*Math.sin(o)])}else{const S=ut(.5,y)-Math.PI/2;m.push([ut(h,y)+c+.9*i*Math.cos(S-o),ut(h,y)+f+.9*r*Math.sin(S-o)]);const _=2*Math.PI+S-.01;for(let D=S;D<_;D+=o){const C=[ut(h,y)+c+i*Math.cos(D),ut(h,y)+f+r*Math.sin(D)];v.push(C),m.push(C)}m.push([ut(h,y)+c+i*Math.cos(S+2*Math.PI+.5*p),ut(h,y)+f+r*Math.sin(S+2*Math.PI+.5*p)]),m.push([ut(h,y)+c+.98*i*Math.cos(S+p),ut(h,y)+f+.98*r*Math.sin(S+p)]),m.push([ut(h,y)+c+.9*i*Math.cos(S+.5*p),ut(h,y)+f+.9*r*Math.sin(S+.5*p)])}return[m,v]}function Em(o,c,f,i,r,h,p,y,v){const m=h+ut(.1,v),S=[];S.push([ut(y,v)+c+.9*i*Math.cos(m-o),ut(y,v)+f+.9*r*Math.sin(m-o)]);for(let _=m;_<=p;_+=o)S.push([ut(y,v)+c+i*Math.cos(_),ut(y,v)+f+r*Math.sin(_)]);return S.push([c+i*Math.cos(p),f+r*Math.sin(p)]),S.push([c+i*Math.cos(p),f+r*Math.sin(p)]),Rc(S,null,v)}function mg(o,c,f,i,r,h,p,y){const v=[],m=[y.maxRandomnessOffset||1,(y.maxRandomnessOffset||1)+.3];let S=[0,0];const _=y.disableMultiStroke?1:2,D=y.preserveVertices;for(let C=0;C<_;C++)C===0?v.push({op:"move",data:[p[0],p[1]]}):v.push({op:"move",data:[p[0]+(D?0:ut(m[0],y)),p[1]+(D?0:ut(m[0],y))]}),S=D?[r,h]:[r+ut(m[C],y),h+ut(m[C],y)],v.push({op:"bcurveTo",data:[o+ut(m[C],y),c+ut(m[C],y),f+ut(m[C],y),i+ut(m[C],y),S[0],S[1]]});return v}function ei(o){return[...o]}function Am(o,c=0){const f=o.length;if(f<3)throw new Error("A curve must have at least three points.");const i=[];if(f===3)i.push(ei(o[0]),ei(o[1]),ei(o[2]),ei(o[2]));else{const r=[];r.push(o[0],o[0]);for(let y=1;y<o.length;y++)r.push(o[y]),y===o.length-1&&r.push(o[y]);const h=[],p=1-c;i.push(ei(r[0]));for(let y=1;y+2<r.length;y++){const v=r[y];h[0]=[v[0],v[1]],h[1]=[v[0]+(p*r[y+1][0]-p*r[y-1][0])/6,v[1]+(p*r[y+1][1]-p*r[y-1][1])/6],h[2]=[r[y+1][0]+(p*r[y][0]-p*r[y+2][0])/6,r[y+1][1]+(p*r[y][1]-p*r[y+2][1])/6],h[3]=[r[y+1][0],r[y+1][1]],i.push(h[1],h[2],h[3])}}return i}function Dc(o,c){return Math.pow(o[0]-c[0],2)+Math.pow(o[1]-c[1],2)}function yg(o,c,f){const i=Dc(c,f);if(i===0)return Dc(o,c);let r=((o[0]-c[0])*(f[0]-c[0])+(o[1]-c[1])*(f[1]-c[1]))/i;return r=Math.max(0,Math.min(1,r)),Dc(o,tn(c,f,r))}function tn(o,c,f){return[o[0]+(c[0]-o[0])*f,o[1]+(c[1]-o[1])*f]}function ao(o,c,f,i){const r=i||[];if((function(y,v){const m=y[v+0],S=y[v+1],_=y[v+2],D=y[v+3];let C=3*S[0]-2*m[0]-D[0];C*=C;let L=3*S[1]-2*m[1]-D[1];L*=L;let X=3*_[0]-2*D[0]-m[0];X*=X;let Q=3*_[1]-2*D[1]-m[1];return Q*=Q,C<X&&(C=X),L<Q&&(L=Q),C+L})(o,c)<f){const y=o[c+0];r.length?(h=r[r.length-1],p=y,Math.sqrt(Dc(h,p))>1&&r.push(y)):r.push(y),r.push(o[c+3])}else{const v=o[c+0],m=o[c+1],S=o[c+2],_=o[c+3],D=tn(v,m,.5),C=tn(m,S,.5),L=tn(S,_,.5),X=tn(D,C,.5),Q=tn(C,L,.5),V=tn(X,Q,.5);ao([v,D,X,V],0,f,r),ao([V,Q,L,_],0,f,r)}var h,p;return r}function pg(o,c){return xc(o,0,o.length,c)}function xc(o,c,f,i,r){const h=r||[],p=o[c],y=o[f-1];let v=0,m=1;for(let S=c+1;S<f-1;++S){const _=yg(o[S],p,y);_>v&&(v=_,m=S)}return Math.sqrt(v)>i?(xc(o,c,m+1,i,h),xc(o,m,f,i,h)):(h.length||h.push(p),h.push(y)),h}function Is(o,c=.15,f){const i=[],r=(o.length-1)/3;for(let h=0;h<r;h++)ao(o,3*h,c,i);return f&&f>0?xc(i,0,i.length,f):i}const We="none";class Cc{constructor(c){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=c||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(c){return c?Object.assign({},this.defaultOptions,c):this.defaultOptions}_d(c,f,i){return{shape:c,sets:f||[],options:i||this.defaultOptions}}line(c,f,i,r,h){const p=this._o(h);return this._d("line",[Cm(c,f,i,r,p)],p)}rectangle(c,f,i,r,h){const p=this._o(h),y=[],v=dg(c,f,i,r,p);if(p.fill){const m=[[c,f],[c+i,f],[c+i,f+r],[c,f+r]];p.fillStyle==="solid"?y.push($s([m],p)):y.push(Kn([m],p))}return p.stroke!==We&&y.push(v),this._d("rectangle",y,p)}ellipse(c,f,i,r,h){const p=this._o(h),y=[],v=Um(i,r,p),m=eo(c,f,p,v);if(p.fill)if(p.fillStyle==="solid"){const S=eo(c,f,p,v).opset;S.type="fillPath",y.push(S)}else y.push(Kn([m.estimatedPoints],p));return p.stroke!==We&&y.push(m.opset),this._d("ellipse",y,p)}circle(c,f,i,r){const h=this.ellipse(c,f,i,i,r);return h.shape="circle",h}linearPath(c,f){const i=this._o(f);return this._d("linearPath",[zc(c,!1,i)],i)}arc(c,f,i,r,h,p,y=!1,v){const m=this._o(v),S=[],_=vm(c,f,i,r,h,p,y,!0,m);if(y&&m.fill)if(m.fillStyle==="solid"){const D=Object.assign({},m);D.disableMultiStroke=!0;const C=vm(c,f,i,r,h,p,!0,!1,D);C.type="fillPath",S.push(C)}else S.push((function(D,C,L,X,Q,V,q){const K=D,it=C;let ot=Math.abs(L/2),tt=Math.abs(X/2);ot+=ut(.01*ot,q),tt+=ut(.01*tt,q);let I=Q,Dt=V;for(;I<0;)I+=2*Math.PI,Dt+=2*Math.PI;Dt-I>2*Math.PI&&(I=0,Dt=2*Math.PI);const oe=(Dt-I)/q.curveStepCount,Xt=[];for(let Pt=I;Pt<=Dt;Pt+=oe)Xt.push([K+ot*Math.cos(Pt),it+tt*Math.sin(Pt)]);return Xt.push([K+ot*Math.cos(Dt),it+tt*Math.sin(Dt)]),Xt.push([K,it]),Kn([Xt],q)})(c,f,i,r,h,p,m));return m.stroke!==We&&S.push(_),this._d("arc",S,m)}curve(c,f){const i=this._o(f),r=[],h=gm(c,i);if(i.fill&&i.fill!==We)if(i.fillStyle==="solid"){const p=gm(c,Object.assign(Object.assign({},i),{disableMultiStroke:!0,roughness:i.roughness?i.roughness+i.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(p.ops)})}else{const p=[],y=c;if(y.length){const v=typeof y[0][0]=="number"?[y]:y;for(const m of v)m.length<3?p.push(...m):m.length===3?p.push(...Is(Am([m[0],m[0],m[1],m[2]]),10,(1+i.roughness)/2)):p.push(...Is(Am(m),10,(1+i.roughness)/2))}p.length&&r.push(Kn([p],i))}return i.stroke!==We&&r.push(h),this._d("curve",r,i)}polygon(c,f){const i=this._o(f),r=[],h=zc(c,!0,i);return i.fill&&(i.fillStyle==="solid"?r.push($s([c],i)):r.push(Kn([c],i))),i.stroke!==We&&r.push(h),this._d("polygon",r,i)}path(c,f){const i=this._o(f),r=[];if(!c)return this._d("path",r,i);c=(c||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const h=i.fill&&i.fill!=="transparent"&&i.fill!==We,p=i.stroke!==We,y=!!(i.simplification&&i.simplification<1),v=(function(S,_,D){const C=Rm(Nm(io(S))),L=[];let X=[],Q=[0,0],V=[];const q=()=>{V.length>=4&&X.push(...Is(V,_)),V=[]},K=()=>{q(),X.length&&(L.push(X),X=[])};for(const{key:ot,data:tt}of C)switch(ot){case"M":K(),Q=[tt[0],tt[1]],X.push(Q);break;case"L":q(),X.push([tt[0],tt[1]]);break;case"C":if(!V.length){const I=X.length?X[X.length-1]:Q;V.push([I[0],I[1]])}V.push([tt[0],tt[1]]),V.push([tt[2],tt[3]]),V.push([tt[4],tt[5]]);break;case"Z":q(),X.push([Q[0],Q[1]])}if(K(),!D)return L;const it=[];for(const ot of L){const tt=pg(ot,D);tt.length&&it.push(tt)}return it})(c,1,y?4-4*(i.simplification||1):(1+i.roughness)/2),m=Sm(c,i);if(h)if(i.fillStyle==="solid")if(v.length===1){const S=Sm(c,Object.assign(Object.assign({},i),{disableMultiStroke:!0,roughness:i.roughness?i.roughness+i.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(S.ops)})}else r.push($s(v,i));else r.push(Kn(v,i));return p&&(y?v.forEach((S=>{r.push(zc(S,!1,i))})):r.push(m)),this._d("path",r,i)}opsToPath(c,f){let i="";for(const r of c.ops){const h=typeof f=="number"&&f>=0?r.data.map((p=>+p.toFixed(f))):r.data;switch(r.op){case"move":i+=`M${h[0]} ${h[1]} `;break;case"bcurveTo":i+=`C${h[0]} ${h[1]}, ${h[2]} ${h[3]}, ${h[4]} ${h[5]} `;break;case"lineTo":i+=`L${h[0]} ${h[1]} `}}return i.trim()}toPaths(c){const f=c.sets||[],i=c.options||this.defaultOptions,r=[];for(const h of f){let p=null;switch(h.type){case"path":p={d:this.opsToPath(h),stroke:i.stroke,strokeWidth:i.strokeWidth,fill:We};break;case"fillPath":p={d:this.opsToPath(h),stroke:We,strokeWidth:0,fill:i.fill||We};break;case"fillSketch":p=this.fillSketch(h,i)}p&&r.push(p)}return r}fillSketch(c,f){let i=f.fillWeight;return i<0&&(i=f.strokeWidth/2),{d:this.opsToPath(c),stroke:f.fill||We,strokeWidth:i,fill:We}}_mergedShape(c){return c.filter(((f,i)=>i===0||f.op!=="move"))}}class gg{constructor(c,f){this.canvas=c,this.ctx=this.canvas.getContext("2d"),this.gen=new Cc(f)}draw(c){const f=c.sets||[],i=c.options||this.getDefaultOptions(),r=this.ctx,h=c.options.fixedDecimalPlaceDigits;for(const p of f)switch(p.type){case"path":r.save(),r.strokeStyle=i.stroke==="none"?"transparent":i.stroke,r.lineWidth=i.strokeWidth,i.strokeLineDash&&r.setLineDash(i.strokeLineDash),i.strokeLineDashOffset&&(r.lineDashOffset=i.strokeLineDashOffset),this._drawToContext(r,p,h),r.restore();break;case"fillPath":{r.save(),r.fillStyle=i.fill||"";const y=c.shape==="curve"||c.shape==="polygon"||c.shape==="path"?"evenodd":"nonzero";this._drawToContext(r,p,h,y),r.restore();break}case"fillSketch":this.fillSketch(r,p,i)}}fillSketch(c,f,i){let r=i.fillWeight;r<0&&(r=i.strokeWidth/2),c.save(),i.fillLineDash&&c.setLineDash(i.fillLineDash),i.fillLineDashOffset&&(c.lineDashOffset=i.fillLineDashOffset),c.strokeStyle=i.fill||"",c.lineWidth=r,this._drawToContext(c,f,i.fixedDecimalPlaceDigits),c.restore()}_drawToContext(c,f,i,r="nonzero"){c.beginPath();for(const h of f.ops){const p=typeof i=="number"&&i>=0?h.data.map((y=>+y.toFixed(i))):h.data;switch(h.op){case"move":c.moveTo(p[0],p[1]);break;case"bcurveTo":c.bezierCurveTo(p[0],p[1],p[2],p[3],p[4],p[5]);break;case"lineTo":c.lineTo(p[0],p[1])}}f.type==="fillPath"?c.fill(r):c.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(c,f,i,r,h){const p=this.gen.line(c,f,i,r,h);return this.draw(p),p}rectangle(c,f,i,r,h){const p=this.gen.rectangle(c,f,i,r,h);return this.draw(p),p}ellipse(c,f,i,r,h){const p=this.gen.ellipse(c,f,i,r,h);return this.draw(p),p}circle(c,f,i,r){const h=this.gen.circle(c,f,i,r);return this.draw(h),h}linearPath(c,f){const i=this.gen.linearPath(c,f);return this.draw(i),i}polygon(c,f){const i=this.gen.polygon(c,f);return this.draw(i),i}arc(c,f,i,r,h,p,y=!1,v){const m=this.gen.arc(c,f,i,r,h,p,y,v);return this.draw(m),m}curve(c,f){const i=this.gen.curve(c,f);return this.draw(i),i}path(c,f){const i=this.gen.path(c,f);return this.draw(i),i}}const Oc="http://www.w3.org/2000/svg";class vg{constructor(c,f){this.svg=c,this.gen=new Cc(f)}draw(c){const f=c.sets||[],i=c.options||this.getDefaultOptions(),r=this.svg.ownerDocument||window.document,h=r.createElementNS(Oc,"g"),p=c.options.fixedDecimalPlaceDigits;for(const y of f){let v=null;switch(y.type){case"path":v=r.createElementNS(Oc,"path"),v.setAttribute("d",this.opsToPath(y,p)),v.setAttribute("stroke",i.stroke),v.setAttribute("stroke-width",i.strokeWidth+""),v.setAttribute("fill","none"),i.strokeLineDash&&v.setAttribute("stroke-dasharray",i.strokeLineDash.join(" ").trim()),i.strokeLineDashOffset&&v.setAttribute("stroke-dashoffset",`${i.strokeLineDashOffset}`);break;case"fillPath":v=r.createElementNS(Oc,"path"),v.setAttribute("d",this.opsToPath(y,p)),v.setAttribute("stroke","none"),v.setAttribute("stroke-width","0"),v.setAttribute("fill",i.fill||""),c.shape!=="curve"&&c.shape!=="polygon"||v.setAttribute("fill-rule","evenodd");break;case"fillSketch":v=this.fillSketch(r,y,i)}v&&h.appendChild(v)}return h}fillSketch(c,f,i){let r=i.fillWeight;r<0&&(r=i.strokeWidth/2);const h=c.createElementNS(Oc,"path");return h.setAttribute("d",this.opsToPath(f,i.fixedDecimalPlaceDigits)),h.setAttribute("stroke",i.fill||""),h.setAttribute("stroke-width",r+""),h.setAttribute("fill","none"),i.fillLineDash&&h.setAttribute("stroke-dasharray",i.fillLineDash.join(" ").trim()),i.fillLineDashOffset&&h.setAttribute("stroke-dashoffset",`${i.fillLineDashOffset}`),h}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(c,f){return this.gen.opsToPath(c,f)}line(c,f,i,r,h){const p=this.gen.line(c,f,i,r,h);return this.draw(p)}rectangle(c,f,i,r,h){const p=this.gen.rectangle(c,f,i,r,h);return this.draw(p)}ellipse(c,f,i,r,h){const p=this.gen.ellipse(c,f,i,r,h);return this.draw(p)}circle(c,f,i,r){const h=this.gen.circle(c,f,i,r);return this.draw(h)}linearPath(c,f){const i=this.gen.linearPath(c,f);return this.draw(i)}polygon(c,f){const i=this.gen.polygon(c,f);return this.draw(i)}arc(c,f,i,r,h,p,y=!1,v){const m=this.gen.arc(c,f,i,r,h,p,y,v);return this.draw(m)}curve(c,f){const i=this.gen.curve(c,f);return this.draw(i)}path(c,f){const i=this.gen.path(c,f);return this.draw(i)}}var Sg={canvas:(o,c)=>new gg(o,c),svg:(o,c)=>new vg(o,c),generator:o=>new Cc(o),newSeed:()=>Cc.newSeed()};function bg({frames:o,width:c,height:f}){const i=vt.useRef(null);return vt.useEffect(()=>{const r=i.current;if(!r)return;for(;r.firstChild;)r.removeChild(r.firstChild);const h=Sg.svg(r);for(const p of o)r.appendChild(h.rectangle(p.x,p.y,p.width,p.height,{roughness:1.4,stroke:"#64707d",strokeWidth:1.4}))},[o]),G.jsx("svg",{ref:i,className:"vp-sketch-overlay",width:c,height:f,"aria-hidden":"true",style:{position:"absolute",top:0,left:0,pointerEvents:"none",overflow:"visible"}})}function Tg(o,c){const f=o.frameIds.length>0,i=o.omitted!==void 0;return f===i?"unresolved":i?"omitted":o.sourceRefIds.some(r=>c.has(r))?"resolved":"planned"}function Eg(o){const c=new Set(o.sourceRefs.filter(r=>r.kind==="code").map(r=>r.id)),f={total:0,resolved:0,planned:0,omitted:0,unresolved:0},i=[];for(const r of o.uiCoverage.surfaces)for(const h of r.states){const p=Tg(h,c);f.total+=1,f[p]+=1,i.push({surfaceId:r.id,surfaceLabel:r.label??r.id,stateId:h.id,stateLabel:h.label??h.id,mode:p})}return{summary:f,rows:i}}const Ag={resolved:"resolved",planned:"planned",omitted:"omitted",unresolved:"unresolved"};function _g({plan:o}){const c=vt.useMemo(()=>Eg(o),[o]),f=c.summary;return G.jsxs("aside",{className:"vp-coverage-panel","aria-label":"Coverage ledger",children:[G.jsx("h2",{className:"vp-panel-title",children:"Coverage"}),G.jsxs("div",{className:"vp-coverage-summary","data-unresolved":f.unresolved,children:[G.jsxs("span",{className:"vp-cov-chip","data-mode":"resolved",children:[f.resolved," resolved"]}),G.jsxs("span",{className:"vp-cov-chip","data-mode":"planned",children:[f.planned," planned"]}),G.jsxs("span",{className:"vp-cov-chip","data-mode":"omitted",children:[f.omitted," omitted"]}),G.jsxs("span",{className:"vp-cov-chip","data-mode":"unresolved",children:[f.unresolved," unresolved"]})]}),G.jsx("ul",{className:"vp-coverage-list",children:c.rows.map(i=>G.jsxs("li",{className:"vp-coverage-row","data-mode":i.mode,children:[G.jsx("span",{className:"vp-cov-state",children:i.stateLabel}),G.jsx("span",{className:"vp-cov-surface",children:i.surfaceLabel}),G.jsx("span",{className:"vp-cov-mode",children:Ag[i.mode]})]},`${i.surfaceId}/${i.stateId}`))})]})}async function _m(){const o=await fetch("/api/visual-plan",{headers:{Accept:"application/json"}});if(!o.ok)throw new Error(`visual-plan fetch failed: ${o.status}`);return{plan:await o.json(),etag:o.headers.get("ETag")}}async function Mg(o,c){const f=await fetch("/api/visual-plan",{method:"PATCH",headers:{"Content-Type":"application/json","If-Match":c},body:JSON.stringify(o)});if(f.status===409)return{ok:!1,stale:!0,currentEtag:(await f.json()).currentEtag};if(!f.ok)return{ok:!1};const i=await f.json();return{ok:!0,etag:i.etag??f.headers.get("ETag")??void 0,revision:i.revision}}async function Og(o){const c=await fetch("/api/visual-plan/feedback",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({operations:o})}),f=await c.json();return c.status!==201?{ok:!1,error:f.message??`feedback failed: ${c.status}`}:{ok:!0,id:f.id,copyCommand:f.copyCommand}}const zg=["copy-change","field-change","flow-change","scope-change","other"];function Dg({canPrepare:o}){const[c,f]=vt.useState([]),[i,r]=vt.useState("copy-change"),[h,p]=vt.useState(""),[y,v]=vt.useState(null),[m,S]=vt.useState(!1),[_,D]=vt.useState(!1),[C,L]=vt.useState(null),X=()=>{h.trim()&&(f(q=>[...q,{type:i,intent:h.trim()}]),p(""),v(null),D(!1))},Q=async()=>{S(!0),L(null);const q=await Og(c);S(!1),q.ok?v(q.copyCommand??null):L(q.error??"could not prepare feedback")},V=()=>{var q;y&&((q=navigator.clipboard)==null||q.writeText(y).then(()=>D(!0)).catch(()=>D(!1)))};return G.jsxs("section",{className:"vp-feedback","aria-label":"Feedback draft",children:[G.jsx("h2",{className:"vp-panel-title",children:"Feedback"}),G.jsx("ul",{className:"vp-feedback-ops",children:c.map((q,K)=>G.jsxs("li",{children:[G.jsx("span",{className:"vp-fb-type",children:q.type})," ",q.intent]},K))}),G.jsx("select",{"aria-label":"Feedback type",value:i,onChange:q=>r(q.target.value),children:zg.map(q=>G.jsx("option",{value:q,children:q},q))}),G.jsx("textarea",{"aria-label":"Intent",value:h,onChange:q=>p(q.target.value),placeholder:"What should change, and why?"}),G.jsx("button",{type:"button",onClick:X,disabled:!h.trim(),children:"Add"}),G.jsx("button",{type:"button",className:"vp-fb-prepare",onClick:()=>void Q(),disabled:c.length===0||m||!o,children:m?"Preparing…":"Prepare Feedback"}),o?null:G.jsx("p",{className:"vp-fb-hint",children:"Save pending edits before preparing feedback."}),C?G.jsx("p",{className:"vp-fb-hint",role:"alert",children:C}):null,y?G.jsxs("div",{className:"vp-copy-command",children:[G.jsx("code",{children:y}),G.jsx("button",{type:"button",onClick:V,children:_?"Copied":"Copy Command"})]}):null]})}function Ng({plan:o,frame:c}){if(!c)return G.jsx("aside",{className:"vp-inspector","aria-label":"Frame inspector",children:G.jsx("p",{className:"vp-inspector-empty",children:"Select a frame to inspect it."})});const f=o.sourceRefs.filter(i=>c.sourceRefIds.includes(i.id));return G.jsxs("aside",{className:"vp-inspector","aria-label":"Frame inspector",children:[G.jsx("h2",{className:"vp-panel-title",children:c.label}),G.jsxs("dl",{className:"vp-inspector-fields",children:[G.jsx("dt",{children:"Surface"}),G.jsx("dd",{children:c.surface}),G.jsx("dt",{children:"Change"}),G.jsx("dd",{children:c.changeMode}),G.jsx("dt",{children:"States"}),G.jsx("dd",{children:c.coverageStateIds.join(", ")||"—"}),G.jsx("dt",{children:"Evidence"}),G.jsx("dd",{children:f.length===0?"planned (no code ref)":G.jsx("ul",{className:"vp-inspector-refs",children:f.map(i=>G.jsx("li",{"data-kind":i.kind,children:i.ref},i.id))})})]})]})}function Rg({frame:o,lanes:c,onEdit:f}){return G.jsxs("div",{className:"vp-edit-controls",children:[G.jsxs("label",{className:"vp-edit-field",children:["Lane",G.jsx("select",{value:o.laneId,onChange:i=>f({type:"move-frame-lane",frameId:o.id,laneId:i.target.value}),children:c.map(i=>G.jsx("option",{value:i.id,children:i.label??i.id},i.id))})]}),G.jsxs("label",{className:"vp-edit-field",children:["Order",G.jsx("input",{type:"number",defaultValue:o.order,onBlur:i=>{const r=Number(i.target.value);Number.isInteger(r)&&r!==o.order&&f({type:"reorder-frame",frameId:o.id,order:r})}})]})]})}class xg{constructor(c,f,i=()=>{}){Tc(this,"queue",[]);Tc(this,"inFlight",!1);Tc(this,"stateValue","clean");this.patchFn=c,this.etag=f,this.onState=i}get state(){return this.stateValue}get currentEtag(){return this.etag}set(c){this.stateValue=c,this.onState(c)}enqueue(c){this.stateValue!=="stale"&&(this.queue.push(c),this.stateValue!=="saving"&&this.set("dirty"),this.pump())}reload(c){this.etag=c,this.queue=[],this.inFlight=!1,this.set("clean")}async pump(){if(this.inFlight||this.queue.length===0||this.stateValue==="stale")return;this.inFlight=!0,this.set("saving");const c=this.queue[0];let f;try{f=await this.patchFn(c,this.etag)}catch{f={ok:!1}}this.inFlight=!1,f.ok&&f.etag?(this.queue.shift(),this.etag=f.etag,this.set(this.queue.length>0?"dirty":"clean"),this.pump()):f.stale?(this.queue=[],f.currentEtag&&(this.etag=f.currentEtag),this.set("stale")):this.set("error")}}function Cg(){const[o,c]=vt.useState(null),[f,i]=vt.useState(null),[r,h]=vt.useState("clean"),p=vt.useRef(null),y=vt.useRef(!1),v=vt.useRef(!0),m=vt.useCallback(async()=>{try{const _=await _m();return v.current?(c(_.plan),_.etag??""):null}catch(_){return v.current&&i(`reload failed: ${_ instanceof Error?_.message:String(_)}`),null}},[]);vt.useEffect(()=>(v.current=!0,(async()=>{try{const _=await _m();if(!v.current)return;c(_.plan),p.current=new xg((D,C)=>Mg(D,C),_.etag??"",D=>{h(D),D==="saving"?y.current=!0:D==="clean"&&y.current?(y.current=!1,m()):D==="stale"&&(y.current=!1,m().then(C=>{var L;C!==null&&((L=p.current)==null||L.reload(C))}))})}catch(_){v.current&&i(_ instanceof Error?_.message:String(_))}})(),()=>{v.current=!1}),[m]);const S=vt.useCallback(_=>{var D;return(D=p.current)==null?void 0:D.enqueue(_)},[]);return{plan:o,error:f,saveState:r,edit:S}}const Ug={clean:"saved",dirty:"editing…",saving:"saving…",stale:"stale — reload",error:"save failed"};function Lg(){const{plan:o,error:c,saveState:f,edit:i}=Cg(),[r,h]=vt.useState(null),[p,y]=vt.useState(!1),v=vt.useMemo(()=>o?Py(o.canvas.lanes,o.canvas.frames):null,[o]),m=vt.useMemo(()=>new Map(((o==null?void 0:o.canvas.frames)??[]).map(D=>[D.id,D])),[o]),S=vt.useMemo(()=>new Map(((v==null?void 0:v.frames)??[]).map(D=>[D.id,D])),[v]),_=r?m.get(r)??null:null;return!o||!v?c?G.jsxs("div",{className:"vp-error",role:"alert",children:["Could not load the visual plan: ",c]}):G.jsx("div",{className:"vp-loading",children:"Loading visual plan…"}):G.jsxs("div",{className:`vp-app${p?" vp-sketch":""}`,children:[G.jsxs("header",{className:"vp-toolbar",children:[G.jsx("span",{className:"vp-toolbar-title",children:o.id}),G.jsxs("span",{className:"vp-toolbar-meta",children:["rev ",o.revision]}),G.jsx("span",{className:"vp-save-status","data-state":f,children:Ug[f]??f}),G.jsx("button",{type:"button",className:"vp-mode-toggle","aria-pressed":p,onClick:()=>y(D=>!D),children:p?"Clean":"Sketch"}),G.jsx("span",{className:"vp-toolbar-review","data-status":o.review.status,children:o.review.status}),c?G.jsx("span",{className:"vp-error-banner",role:"alert",children:c}):null]}),G.jsxs("div",{className:"vp-body",children:[G.jsxs(np,{worldWidth:v.width,worldHeight:v.height,children:[G.jsx(up,{lanes:v.lanes}),G.jsx(fp,{connectors:o.canvas.connectors,placedById:S,width:v.width,height:v.height}),G.jsx(Fp,{placed:v.frames,framesById:m,selectedId:r,onSelect:h}),p?G.jsx(bg,{frames:v.frames,width:v.width,height:v.height}):null,G.jsx(lg,{annotations:o.canvas.annotations,placedById:S})]}),G.jsx(_g,{plan:o}),G.jsxs("div",{className:"vp-side",children:[G.jsx(Ng,{plan:o,frame:_}),_?G.jsx(Rg,{frame:_,lanes:o.canvas.lanes,onEdit:i}):null,G.jsx(Dg,{canPrepare:f==="clean"})]})]})]})}const Mm=document.getElementById("root");Mm&&Jy.createRoot(Mm).render(G.jsx(vt.StrictMode,{children:G.jsx(Lg,{})}));
|