eduevidence 5.2.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +105 -0
- package/README.md +142 -75
- package/README.zh-CN.md +73 -30
- package/SKILL.md +397 -131
- package/agents/openai.yaml +4 -0
- package/assets/readme/controlled-execution.svg +34 -0
- package/assets/readme/landing-tour.gif +0 -0
- package/assets/readme/logo.png +0 -0
- package/assets/readme/research-workflow.svg +56 -0
- package/assets/readme/studio-graph.png +0 -0
- package/assets/readme/studio-overview.png +0 -0
- package/assets/readme/studio-reports.png +0 -0
- package/assets/readme/studio-tour.gif +0 -0
- package/autoevolve/config.yaml +17 -0
- package/autoevolve/program.md +25 -0
- package/autoevolve/protected.manifest.yaml +34 -0
- package/benchmarks/adversarial/cases.jsonl +7 -0
- package/benchmarks/evidence-library.json +5268 -0
- package/benchmarks/partitions.json +8 -0
- package/bin/eduevidence.js +2 -1
- package/docs/architecture.md +496 -0
- package/docs/autoresearch-evolution-plan.md +2903 -0
- package/docs/autoresearch-implementation-status.md +101 -0
- package/docs/demo-storyboard.md +20 -0
- package/docs/demo-workplace-ai.md +92 -0
- package/docs/demo.md +32 -0
- package/docs/install-guide.md +150 -0
- package/docs/orchestration-role-model.md +1254 -0
- package/docs/release-closeout/README.md +17 -0
- package/docs/release-closeout/frontend-acceptance.md +23 -0
- package/docs/release-closeout/issues.md +19 -0
- package/docs/release-closeout/verification.md +28 -0
- package/docs/release-contract.md +108 -0
- package/docs/research-studio-guide.zh-CN.md +166 -0
- package/docs/sciverse-api.md +125 -0
- package/eduevidence_cli.py +29 -13
- package/engine/_resources.py +13 -0
- package/engine/autoevolve/__init__.py +3 -0
- package/engine/autoevolve/agent_view.py +167 -0
- package/engine/autoevolve/core.py +357 -0
- package/engine/autoevolve/events.py +11 -0
- package/engine/autoevolve/git_workspace.py +77 -0
- package/engine/autoevolve/projection.py +23 -0
- package/engine/autoevolve/runner.py +413 -0
- package/engine/autoevolve/trust.py +146 -0
- package/engine/autoresearch/__init__.py +6 -0
- package/engine/autoresearch/commit.py +132 -0
- package/engine/autoresearch/contracts.py +126 -0
- package/engine/autoresearch/controller.py +207 -0
- package/engine/autoresearch/events.py +12 -0
- package/engine/autoresearch/gap_priority.py +168 -0
- package/engine/autoresearch/projection.py +30 -0
- package/engine/autoresearch/research_memory.py +59 -0
- package/engine/autoresearch/saturation.py +91 -0
- package/engine/briefs.py +2 -1
- package/engine/capabilities.py +1 -0
- package/engine/contracts.py +3 -1
- package/engine/decision_policy.py +96 -0
- package/engine/evidence_graph.py +14 -10
- package/engine/evidencecore.py +7 -5
- package/engine/gaps.py +132 -73
- package/engine/ids.py +2 -0
- package/engine/judge_pack.py +65 -0
- package/engine/library.py +6 -2
- package/engine/library_builtin.py +3 -1
- package/engine/living.py +36 -5
- package/engine/meta_synthesis.py +3 -1
- package/engine/migration.py +88 -3
- package/engine/orchestration.py +460 -0
- package/engine/paths.py +2 -0
- package/engine/pilot.py +36 -33
- package/engine/project.py +2 -2
- package/engine/research_service.py +113 -0
- package/engine/studio_read_model.py +400 -0
- package/engine/taxonomy.py +211 -0
- package/engine/tribunal.py +44 -33
- package/engine/update.py +1 -0
- package/engine/versions.py +1 -1
- package/engine/worker_result.py +109 -0
- package/engine/workflows.py +70 -0
- package/examples/ai-coding-assistant-evidence/EduEvidence_Report.html +2934 -0
- package/examples/ai-coding-assistant-evidence/artifact_manifest.json +15 -0
- package/examples/ai-coding-assistant-evidence/citation_check.json +79 -0
- package/examples/ai-coding-assistant-evidence/claims.jsonl +12 -0
- package/examples/ai-coding-assistant-evidence/evaluation.json +35 -0
- package/examples/ai-coding-assistant-evidence/evidence.jsonl +12 -0
- package/examples/ai-coding-assistant-evidence/final_verdict.json +107 -0
- package/examples/ai-coding-assistant-evidence/frame.json +48 -0
- package/examples/ai-coding-assistant-evidence/gate_report.json +101 -0
- package/examples/ai-coding-assistant-evidence/intervention.json +51 -0
- package/examples/ai-coding-assistant-evidence/methodology.json +36 -0
- package/examples/ai-coding-assistant-evidence/raw_verdict.json +86 -0
- package/examples/ai-coding-assistant-evidence/report_spec.json +230 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_academic.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_claude.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_datalab-dark.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_datalab.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_presentation.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_academic.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_claude.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_datalab-dark.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_datalab.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_presentation.html +2934 -0
- package/examples/ai-coding-assistant-evidence/result.json +1457 -0
- package/examples/ai-coding-assistant-evidence/result.zh.json +1457 -0
- package/examples/ai-coding-assistant-evidence/skeptic.json +72 -0
- package/examples/ai-coding-assistant-evidence/sources.jsonl +8 -0
- package/examples/ai-coding-assistant-evidence/verdict.json +107 -0
- package/examples/spaced-retrieval-practice/applicability.json +14 -0
- package/examples/spaced-retrieval-practice/artifact_manifest.json +15 -0
- package/examples/spaced-retrieval-practice/claims.jsonl +3 -0
- package/examples/spaced-retrieval-practice/evidence.jsonl +6 -0
- package/examples/spaced-retrieval-practice/final_verdict.json +93 -0
- package/examples/spaced-retrieval-practice/frame.json +58 -0
- package/examples/spaced-retrieval-practice/gate_report.json +101 -0
- package/examples/spaced-retrieval-practice/methodology.json +78 -0
- package/examples/spaced-retrieval-practice/report_spec.json +212 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_academic.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_claude.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_datalab-dark.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_datalab.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_presentation.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_academic.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_claude.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_datalab-dark.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_datalab.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_presentation.html +2728 -0
- package/examples/spaced-retrieval-practice/result.json +942 -0
- package/examples/spaced-retrieval-practice/result.zh.json +942 -0
- package/examples/spaced-retrieval-practice/skeptic.json +70 -0
- package/examples/spaced-retrieval-practice/sources.jsonl +7 -0
- package/examples/spaced-retrieval-practice/verdict.json +93 -0
- package/examples/workplace-ai-assistant/artifact_manifest.json +15 -0
- package/examples/workplace-ai-assistant/claims.jsonl +4 -0
- package/examples/workplace-ai-assistant/evaluation.json +19 -0
- package/examples/workplace-ai-assistant/evidence.jsonl +4 -0
- package/examples/workplace-ai-assistant/evidence_graph.json +444 -0
- package/examples/workplace-ai-assistant/final_verdict.json +78 -0
- package/examples/workplace-ai-assistant/frame.json +41 -0
- package/examples/workplace-ai-assistant/gate_report.json +101 -0
- package/examples/workplace-ai-assistant/intervention.json +27 -0
- package/examples/workplace-ai-assistant/legacy-link-check.json +16 -0
- package/examples/workplace-ai-assistant/methodology.json +60 -0
- package/examples/workplace-ai-assistant/report_spec.json +224 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_academic.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_claude.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_datalab-dark.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_datalab.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_presentation.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_academic.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_claude.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_datalab-dark.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_datalab.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_presentation.html +2814 -0
- package/examples/workplace-ai-assistant/result.json +615 -0
- package/examples/workplace-ai-assistant/result.zh.json +615 -0
- package/examples/workplace-ai-assistant/search_log.json +19 -0
- package/examples/workplace-ai-assistant/skeptic.json +72 -0
- package/examples/workplace-ai-assistant/sources.jsonl +3 -0
- package/examples/workplace-ai-assistant/validation_result.json +9 -0
- package/examples/workplace-ai-assistant/verdict.json +78 -0
- package/install.sh +7 -7
- package/integrations/agent_mcp.py +2 -2
- package/integrations/orchestration_dispatch.py +146 -0
- package/package.json +46 -3
- package/pyproject.toml +14 -22
- package/references/autoresearch.md +30 -0
- package/references/evaluation-policy.md +24 -0
- package/references/orchestration.md +22 -0
- package/references/report-copy-style.md +67 -0
- package/references/retrieval-compliance.md +75 -0
- package/references/retrieval-protocol.md +20 -0
- package/references/scientific-invariants.md +19 -0
- package/retrieval/audit.py +178 -0
- package/retrieval/fetch.py +96 -0
- package/retrieval/sciverse.py +398 -0
- package/retrieval/search.py +47 -7
- package/schemas/applicability.schema.json +94 -0
- package/schemas/chart-spec.schema.json +10 -3
- package/schemas/evidence.schema.json +316 -43
- package/schemas/fetch-result.schema.json +2 -1
- package/schemas/intervention.schema.json +106 -21
- package/schemas/report-result.schema.json +12 -4
- package/schemas/report-spec.schema.json +98 -100
- package/schemas/skeptic.schema.json +86 -0
- package/schemas/source.schema.json +21 -2
- package/schemas/v2/finding.schema.json +5 -1
- package/schemas/v2/methodology-audit.schema.json +5 -1
- package/schemas/v2/outcome.schema.json +28 -5
- package/schemas/v2/project.schema.json +2 -2
- package/schemas/v2/run.schema.json +1 -1
- package/schemas/v2/study.schema.json +5 -1
- package/schemas/vNext/autoevolve-session.schema.json +34 -0
- package/schemas/vNext/eval-snapshot.schema.json +77 -0
- package/schemas/vNext/execution-plan.schema.json +50 -0
- package/schemas/vNext/gap-priority.schema.json +54 -0
- package/schemas/vNext/negative-search-record.schema.json +68 -0
- package/schemas/vNext/research-iteration.schema.json +87 -0
- package/schemas/vNext/research-strategy.schema.json +62 -0
- package/schemas/vNext/skill-experiment.schema.json +90 -0
- package/schemas/vNext/task-spec.schema.json +156 -0
- package/schemas/vNext/worker-result.schema.json +60 -0
- package/schemas/verdict.schema.json +164 -28
- package/scripts/benchmark_judge.py +2 -2
- package/scripts/benchmark_v3.py +26 -43
- package/scripts/build_esl_artifacts.py +4 -4
- package/scripts/build_evidence_library.py +2 -2
- package/scripts/build_gh_pages.py +98 -0
- package/scripts/build_readme_diagrams.py +72 -0
- package/scripts/build_report_variants.py +101 -0
- package/scripts/build_result.py +74 -9
- package/scripts/check_autoresearch_invariants.py +95 -0
- package/scripts/check_package_parity.py +85 -0
- package/scripts/check_protocol_alignment.py +375 -0
- package/scripts/check_versioned_schemas.py +254 -0
- package/scripts/claim_audit.py +13 -8
- package/scripts/compute_confidence.py +10 -0
- package/scripts/daily_evolve.py +30 -0
- package/scripts/dashboard_server.py +130 -101
- package/scripts/did_regression.py +17 -32
- package/scripts/enrich_projects_human_and_lieflat.py +1 -1
- package/scripts/evidence_score.py +5 -2
- package/scripts/generate_metrics.py +4 -3
- package/scripts/generate_new_projects.py +5 -5
- package/scripts/orchestrator.py +286 -36
- package/scripts/pre_verdict_gate.py +224 -26
- package/scripts/quickstart.py +18 -2
- package/scripts/rebake_all_5themes.py +1 -2
- package/scripts/research_auto_cli.py +475 -0
- package/scripts/run_workspace.py +24 -8
- package/scripts/search_provenance.py +64 -0
- package/scripts/serve_web.py +9 -10
- package/scripts/skill_lint.py +1 -1
- package/scripts/skill_payload.py +81 -0
- package/scripts/test_adversarial_empirical.py +26 -19
- package/scripts/validate_schema.py +46 -2
- package/scripts/vnext_cli.py +133 -0
- package/setup.py +12 -0
- package/skill/agents/evaluation-designer.md +20 -4
- package/skill/agents/evidence-analyst.md +19 -3
- package/skill/agents/evidence-judge.md +50 -2
- package/skill/agents/evidence-retriever.md +20 -3
- package/skill/agents/intervention-designer.md +20 -4
- package/skill/agents/method-reviewer.md +18 -2
- package/skill/agents/{education-planner.md → research-planner.md} +19 -3
- package/skill/agents/skeptic.md +18 -2
- package/skill/roles/registry.yaml +45 -0
- package/skill/sub-skills/aihot-trend-analysis/SKILL.md +28 -9
- package/skill/sub-skills/contradiction-analysis/SKILL.md +31 -11
- package/skill/sub-skills/data-analysis/SKILL.md +34 -15
- package/skill/sub-skills/ethics-review/SKILL.md +33 -10
- package/skill/sub-skills/evidence-extraction/SKILL.md +29 -11
- package/skill/sub-skills/evidence-review/SKILL.md +31 -12
- package/skill/sub-skills/gap-analysis/SKILL.md +31 -9
- package/skill/sub-skills/literature-review/SKILL.md +35 -14
- package/skill/sub-skills/methodology-audit/SKILL.md +29 -12
- package/skill/sub-skills/report-generation/SKILL.md +40 -6
- package/skill/sub-skills/research-planning/SKILL.md +41 -14
- package/skill/sub-skills/study-design/SKILL.md +30 -9
- package/skill/task-briefs/adjudicate.md +32 -7
- package/skill/task-briefs/applicability.md +38 -0
- package/skill/task-briefs/audit.md +32 -7
- package/skill/task-briefs/challenge.md +34 -5
- package/skill/task-briefs/evaluate.md +30 -5
- package/skill/task-briefs/extract.md +31 -8
- package/skill/task-briefs/frame.md +39 -10
- package/skill/task-briefs/intervene.md +32 -6
- package/skill/task-briefs/present.md +32 -8
- package/skill/task-briefs/projection.md +37 -0
- package/skill/task-briefs/retrieve.md +36 -6
- package/skill/workflows/decision-and-pilot.md +85 -0
- package/skill/workflows/evaluate-and-update.md +93 -0
- package/skill/workflows/evidence-review.md +117 -0
- package/visualization/eduevidence-report/assets/base.css +2 -2
- package/visualization/eduevidence-report/assets/reader.css +752 -0
- package/visualization/eduevidence-report/assets/reader.js +132 -0
- package/visualization/eduevidence-report/references/chart-selection-catalog.md +109 -0
- package/visualization/eduevidence-report/references/lieflat-composition.md +3 -1
- package/visualization/eduevidence-report/scripts/build_figures.py +25 -3
- package/visualization/eduevidence-report/scripts/build_infographics.py +5 -1
- package/visualization/eduevidence-report/scripts/build_report.py +561 -121
- package/visualization/eduevidence-report/scripts/charts_data.py +2 -0
- package/visualization/eduevidence-report/scripts/lieflat_engine.py +371 -136
- package/visualization/eduevidence-report/scripts/zh_labels.py +80 -1
- package/visualization/eduevidence-report/themes/academic.css +1 -1
- package/visualization/eduevidence-report/themes/claude.css +1 -1
- package/visualization/eduevidence-report/themes/datalab-dark.css +2 -2
- package/visualization/eduevidence-report/themes/datalab.css +2 -2
- package/visualization/eduevidence-report/themes/presentation.css +2 -2
- package/web/README.md +18 -0
- package/web/architecture.html +14885 -0
- package/web/index.html +53 -0
- package/web/studio/THIRD_PARTY_LICENSES.txt +146 -0
- package/web/studio/assets/index-B8tkF44Q.css +1 -0
- package/web/studio/assets/index-CQ6Keoyc.js +230 -0
- package/web/studio/config.json +1 -0
- package/web/studio/index.html +14 -0
- package/engine/__pycache__/__init__.cpython-312.pyc +0 -0
- package/engine/__pycache__/analysis.cpython-312.pyc +0 -0
- package/engine/__pycache__/bias.cpython-312.pyc +0 -0
- package/engine/__pycache__/briefs.cpython-312.pyc +0 -0
- package/engine/__pycache__/capabilities.cpython-312.pyc +0 -0
- package/engine/__pycache__/citation_check.cpython-312.pyc +0 -0
- package/engine/__pycache__/contracts.cpython-312.pyc +0 -0
- package/engine/__pycache__/datasets.cpython-312.pyc +0 -0
- package/engine/__pycache__/events.cpython-312.pyc +0 -0
- package/engine/__pycache__/evidence_graph.cpython-312.pyc +0 -0
- package/engine/__pycache__/evidence_review.cpython-312.pyc +0 -0
- package/engine/__pycache__/evidencecore.cpython-312.pyc +0 -0
- package/engine/__pycache__/gap_lens.cpython-312.pyc +0 -0
- package/engine/__pycache__/gaps.cpython-312.pyc +0 -0
- package/engine/__pycache__/graph_store.cpython-312.pyc +0 -0
- package/engine/__pycache__/graph_validate.cpython-312.pyc +0 -0
- package/engine/__pycache__/ids.cpython-312.pyc +0 -0
- package/engine/__pycache__/library.cpython-312.pyc +0 -0
- package/engine/__pycache__/library_builtin.cpython-312.pyc +0 -0
- package/engine/__pycache__/living.cpython-312.pyc +0 -0
- package/engine/__pycache__/log.cpython-312.pyc +0 -0
- package/engine/__pycache__/meta_analysis.cpython-312.pyc +0 -0
- package/engine/__pycache__/meta_synthesis.cpython-312.pyc +0 -0
- package/engine/__pycache__/migration.cpython-312.pyc +0 -0
- package/engine/__pycache__/mode_router.cpython-312.pyc +0 -0
- package/engine/__pycache__/paths.cpython-312.pyc +0 -0
- package/engine/__pycache__/pilot.cpython-312.pyc +0 -0
- package/engine/__pycache__/planner.cpython-312.pyc +0 -0
- package/engine/__pycache__/project.cpython-312.pyc +0 -0
- package/engine/__pycache__/projections.cpython-312.pyc +0 -0
- package/engine/__pycache__/robustness.cpython-312.pyc +0 -0
- package/engine/__pycache__/run.cpython-312.pyc +0 -0
- package/engine/__pycache__/semantics.cpython-312.pyc +0 -0
- package/engine/__pycache__/study_design.cpython-312.pyc +0 -0
- package/engine/__pycache__/synthesis.cpython-312.pyc +0 -0
- package/engine/__pycache__/tribunal.cpython-312.pyc +0 -0
- package/engine/__pycache__/update.cpython-312.pyc +0 -0
- package/engine/__pycache__/versions.cpython-312.pyc +0 -0
- package/integrations/__pycache__/__init__.cpython-312.pyc +0 -0
- package/integrations/__pycache__/agent_mcp.cpython-312.pyc +0 -0
- package/integrations/__pycache__/smart_web_fetch.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/__init__.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/corpus_store.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/dedupe.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/failures.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/fetch.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/search.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/source.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/validate.cpython-312.pyc +0 -0
- package/scripts/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_evaluator.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_judge.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_routing.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_v2.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_v3.cpython-312.pyc +0 -0
- package/scripts/__pycache__/build_result.cpython-312.pyc +0 -0
- package/scripts/__pycache__/claim_audit.cpython-312.pyc +0 -0
- package/scripts/__pycache__/complexity_gate.cpython-312.pyc +0 -0
- package/scripts/__pycache__/compute_confidence.cpython-312.pyc +0 -0
- package/scripts/__pycache__/dashboard_server.cpython-312.pyc +0 -0
- package/scripts/__pycache__/did_regression.cpython-312.pyc +0 -0
- package/scripts/__pycache__/effect_calculator.cpython-312.pyc +0 -0
- package/scripts/__pycache__/evidence_matrix.cpython-312.pyc +0 -0
- package/scripts/__pycache__/evidence_score.cpython-312.pyc +0 -0
- package/scripts/__pycache__/evidence_semantics.cpython-312.pyc +0 -0
- package/scripts/__pycache__/fetch_benchmark.cpython-312.pyc +0 -0
- package/scripts/__pycache__/lint_report_layout.cpython-312.pyc +0 -0
- package/scripts/__pycache__/orchestrator.cpython-312.pyc +0 -0
- package/scripts/__pycache__/pre_verdict_gate.cpython-312.pyc +0 -0
- package/scripts/__pycache__/recompute_demo_quality.cpython-312.pyc +0 -0
- package/scripts/__pycache__/render_report.cpython-312.pyc +0 -0
- package/scripts/__pycache__/render_report_html.cpython-312.pyc +0 -0
- package/scripts/__pycache__/run_workspace.cpython-312.pyc +0 -0
- package/scripts/__pycache__/skill_lint.cpython-312.pyc +0 -0
- package/scripts/__pycache__/startup_probe.cpython-312.pyc +0 -0
- package/scripts/__pycache__/sync_killer_demo_report.cpython-312.pyc +0 -0
- package/scripts/__pycache__/test_adversarial_empirical.cpython-312-pytest-9.0.2.pyc +0 -0
- package/scripts/__pycache__/test_adversarial_empirical.cpython-312-pytest-9.1.1.pyc +0 -0
- package/scripts/__pycache__/validate_schema.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/adapter_contract.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_artifact_manifest.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_charts.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_figures.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_infographics.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_report.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/charts_data.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/lieflat_engine.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/zh_labels.cpython-312.pyc +0 -0
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
var K0=Object.defineProperty;var ym=c=>{throw TypeError(c)};var J0=(c,u,o)=>u in c?K0(c,u,{enumerable:!0,configurable:!0,writable:!0,value:o}):c[u]=o;var vm=(c,u,o)=>J0(c,typeof u!="symbol"?u+"":u,o),Ur=(c,u,o)=>u.has(c)||ym("Cannot "+o);var p=(c,u,o)=>(Ur(c,u,"read from private field"),o?o.call(c):u.get(c)),ne=(c,u,o)=>u.has(c)?ym("Cannot add the same private member more than once"):u instanceof WeakSet?u.add(c):u.set(c,o),Z=(c,u,o,r)=>(Ur(c,u,"write to private field"),r?r.call(c,o):u.set(c,o),o),ve=(c,u,o)=>(Ur(c,u,"access private method"),o);var sc=(c,u,o,r)=>({set _(h){Z(c,u,h,o)},get _(){return p(c,u,r)}});(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))r(h);new MutationObserver(h=>{for(const b of h)if(b.type==="childList")for(const M of b.addedNodes)M.tagName==="LINK"&&M.rel==="modulepreload"&&r(M)}).observe(document,{childList:!0,subtree:!0});function o(h){const b={};return h.integrity&&(b.integrity=h.integrity),h.referrerPolicy&&(b.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?b.credentials="include":h.crossOrigin==="anonymous"?b.credentials="omit":b.credentials="same-origin",b}function r(h){if(h.ep)return;h.ep=!0;const b=o(h);fetch(h.href,b)}})();function k0(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var qr={exports:{}},Ri={};/**
|
|
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 pm;function F0(){if(pm)return Ri;pm=1;var c=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function o(r,h,b){var M=null;if(b!==void 0&&(M=""+b),h.key!==void 0&&(M=""+h.key),"key"in h){b={};for(var N in h)N!=="key"&&(b[N]=h[N])}else b=h;return h=b.ref,{$$typeof:c,type:r,key:M,ref:h!==void 0?h:null,props:b}}return Ri.Fragment=u,Ri.jsx=o,Ri.jsxs=o,Ri}var gm;function $0(){return gm||(gm=1,qr.exports=F0()),qr.exports}var s=$0(),Hr={exports:{}},ce={};/**
|
|
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 bm;function W0(){if(bm)return ce;bm=1;var c=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),b=Symbol.for("react.consumer"),M=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),T=Symbol.iterator;function Y(g){return g===null||typeof g!="object"?null:(g=T&&g[T]||g["@@iterator"],typeof g=="function"?g:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},W=Object.assign,ue={};function J(g,H,w){this.props=g,this.context=H,this.refs=ue,this.updater=w||G}J.prototype.isReactComponent={},J.prototype.setState=function(g,H){if(typeof g!="object"&&typeof g!="function"&&g!=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,g,H,"setState")},J.prototype.forceUpdate=function(g){this.updater.enqueueForceUpdate(this,g,"forceUpdate")};function L(){}L.prototype=J.prototype;function V(g,H,w){this.props=g,this.context=H,this.refs=ue,this.updater=w||G}var X=V.prototype=new L;X.constructor=V,W(X,J.prototype),X.isPureReactComponent=!0;var B=Array.isArray;function oe(){}var D={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function F(g,H,w){var K=w.ref;return{$$typeof:c,type:g,key:H,ref:K!==void 0?K:null,props:w}}function te(g,H){return F(g.type,H,g.props)}function xe(g){return typeof g=="object"&&g!==null&&g.$$typeof===c}function Be(g){var H={"=":"=0",":":"=2"};return"$"+g.replace(/[=:]/g,function(w){return H[w]})}var qt=/\/+/g;function lt(g,H){return typeof g=="object"&&g!==null&&g.key!=null?Be(""+g.key):H.toString(36)}function ot(g){switch(g.status){case"fulfilled":return g.value;case"rejected":throw g.reason;default:switch(typeof g.status=="string"?g.then(oe,oe):(g.status="pending",g.then(function(H){g.status==="pending"&&(g.status="fulfilled",g.value=H)},function(H){g.status==="pending"&&(g.status="rejected",g.reason=H)})),g.status){case"fulfilled":return g.value;case"rejected":throw g.reason}}throw g}function C(g,H,w,K,ie){var se=typeof g;(se==="undefined"||se==="boolean")&&(g=null);var je=!1;if(g===null)je=!0;else switch(se){case"bigint":case"string":case"number":je=!0;break;case"object":switch(g.$$typeof){case c:case u:je=!0;break;case A:return je=g._init,C(je(g._payload),H,w,K,ie)}}if(je)return ie=ie(g),je=K===""?"."+lt(g,0):K,B(ie)?(w="",je!=null&&(w=je.replace(qt,"$&/")+"/"),C(ie,H,w,"",function(sa){return sa})):ie!=null&&(xe(ie)&&(ie=te(ie,w+(ie.key==null||g&&g.key===ie.key?"":(""+ie.key).replace(qt,"$&/")+"/")+je)),H.push(ie)),1;je=0;var Ze=K===""?".":K+":";if(B(g))for(var Ue=0;Ue<g.length;Ue++)K=g[Ue],se=Ze+lt(K,Ue),je+=C(K,H,w,se,ie);else if(Ue=Y(g),typeof Ue=="function")for(g=Ue.call(g),Ue=0;!(K=g.next()).done;)K=K.value,se=Ze+lt(K,Ue++),je+=C(K,H,w,se,ie);else if(se==="object"){if(typeof g.then=="function")return C(ot(g),H,w,K,ie);throw H=String(g),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(g).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return je}function Q(g,H,w){if(g==null)return g;var K=[],ie=0;return C(g,K,"","",function(se){return H.call(w,se,ie++)}),K}function ee(g){if(g._status===-1){var H=g._result;H=H(),H.then(function(w){(g._status===0||g._status===-1)&&(g._status=1,g._result=w)},function(w){(g._status===0||g._status===-1)&&(g._status=2,g._result=w)}),g._status===-1&&(g._status=0,g._result=H)}if(g._status===1)return g._result.default;throw g._result}var pe=typeof reportError=="function"?reportError:function(g){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g),error:g});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",g);return}console.error(g)},Se={map:Q,forEach:function(g,H,w){Q(g,function(){H.apply(this,arguments)},w)},count:function(g){var H=0;return Q(g,function(){H++}),H},toArray:function(g){return Q(g,function(H){return H})||[]},only:function(g){if(!xe(g))throw Error("React.Children.only expected to receive a single React element child.");return g}};return ce.Activity=S,ce.Children=Se,ce.Component=J,ce.Fragment=o,ce.Profiler=h,ce.PureComponent=V,ce.StrictMode=r,ce.Suspense=j,ce.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,ce.__COMPILER_RUNTIME={__proto__:null,c:function(g){return D.H.useMemoCache(g)}},ce.cache=function(g){return function(){return g.apply(null,arguments)}},ce.cacheSignal=function(){return null},ce.cloneElement=function(g,H,w){if(g==null)throw Error("The argument must be a React element, but you passed "+g+".");var K=W({},g.props),ie=g.key;if(H!=null)for(se in H.key!==void 0&&(ie=""+H.key),H)!k.call(H,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&H.ref===void 0||(K[se]=H[se]);var se=arguments.length-2;if(se===1)K.children=w;else if(1<se){for(var je=Array(se),Ze=0;Ze<se;Ze++)je[Ze]=arguments[Ze+2];K.children=je}return F(g.type,ie,K)},ce.createContext=function(g){return g={$$typeof:M,_currentValue:g,_currentValue2:g,_threadCount:0,Provider:null,Consumer:null},g.Provider=g,g.Consumer={$$typeof:b,_context:g},g},ce.createElement=function(g,H,w){var K,ie={},se=null;if(H!=null)for(K in H.key!==void 0&&(se=""+H.key),H)k.call(H,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(ie[K]=H[K]);var je=arguments.length-2;if(je===1)ie.children=w;else if(1<je){for(var Ze=Array(je),Ue=0;Ue<je;Ue++)Ze[Ue]=arguments[Ue+2];ie.children=Ze}if(g&&g.defaultProps)for(K in je=g.defaultProps,je)ie[K]===void 0&&(ie[K]=je[K]);return F(g,se,ie)},ce.createRef=function(){return{current:null}},ce.forwardRef=function(g){return{$$typeof:N,render:g}},ce.isValidElement=xe,ce.lazy=function(g){return{$$typeof:A,_payload:{_status:-1,_result:g},_init:ee}},ce.memo=function(g,H){return{$$typeof:y,type:g,compare:H===void 0?null:H}},ce.startTransition=function(g){var H=D.T,w={};D.T=w;try{var K=g(),ie=D.S;ie!==null&&ie(w,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(oe,pe)}catch(se){pe(se)}finally{H!==null&&w.types!==null&&(H.types=w.types),D.T=H}},ce.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},ce.use=function(g){return D.H.use(g)},ce.useActionState=function(g,H,w){return D.H.useActionState(g,H,w)},ce.useCallback=function(g,H){return D.H.useCallback(g,H)},ce.useContext=function(g){return D.H.useContext(g)},ce.useDebugValue=function(){},ce.useDeferredValue=function(g,H){return D.H.useDeferredValue(g,H)},ce.useEffect=function(g,H){return D.H.useEffect(g,H)},ce.useEffectEvent=function(g){return D.H.useEffectEvent(g)},ce.useId=function(){return D.H.useId()},ce.useImperativeHandle=function(g,H,w){return D.H.useImperativeHandle(g,H,w)},ce.useInsertionEffect=function(g,H){return D.H.useInsertionEffect(g,H)},ce.useLayoutEffect=function(g,H){return D.H.useLayoutEffect(g,H)},ce.useMemo=function(g,H){return D.H.useMemo(g,H)},ce.useOptimistic=function(g,H){return D.H.useOptimistic(g,H)},ce.useReducer=function(g,H,w){return D.H.useReducer(g,H,w)},ce.useRef=function(g){return D.H.useRef(g)},ce.useState=function(g){return D.H.useState(g)},ce.useSyncExternalStore=function(g,H,w){return D.H.useSyncExternalStore(g,H,w)},ce.useTransition=function(){return D.H.useTransition()},ce.version="19.2.8",ce}var xm;function af(){return xm||(xm=1,Hr.exports=W0()),Hr.exports}var P=af();const I0=k0(P);var Qr={exports:{}},Di={},Br={exports:{}},Lr={};/**
|
|
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 Sm;function P0(){return Sm||(Sm=1,(function(c){function u(C,Q){var ee=C.length;C.push(Q);e:for(;0<ee;){var pe=ee-1>>>1,Se=C[pe];if(0<h(Se,Q))C[pe]=Q,C[ee]=Se,ee=pe;else break e}}function o(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var Q=C[0],ee=C.pop();if(ee!==Q){C[0]=ee;e:for(var pe=0,Se=C.length,g=Se>>>1;pe<g;){var H=2*(pe+1)-1,w=C[H],K=H+1,ie=C[K];if(0>h(w,ee))K<Se&&0>h(ie,w)?(C[pe]=ie,C[K]=ee,pe=K):(C[pe]=w,C[H]=ee,pe=H);else if(K<Se&&0>h(ie,ee))C[pe]=ie,C[K]=ee,pe=K;else break e}}return Q}function h(C,Q){var ee=C.sortIndex-Q.sortIndex;return ee!==0?ee:C.id-Q.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var b=performance;c.unstable_now=function(){return b.now()}}else{var M=Date,N=M.now();c.unstable_now=function(){return M.now()-N}}var j=[],y=[],A=1,S=null,T=3,Y=!1,G=!1,W=!1,ue=!1,J=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function X(C){for(var Q=o(y);Q!==null;){if(Q.callback===null)r(y);else if(Q.startTime<=C)r(y),Q.sortIndex=Q.expirationTime,u(j,Q);else break;Q=o(y)}}function B(C){if(W=!1,X(C),!G)if(o(j)!==null)G=!0,oe||(oe=!0,Be());else{var Q=o(y);Q!==null&&ot(B,Q.startTime-C)}}var oe=!1,D=-1,k=5,F=-1;function te(){return ue?!0:!(c.unstable_now()-F<k)}function xe(){if(ue=!1,oe){var C=c.unstable_now();F=C;var Q=!0;try{e:{G=!1,W&&(W=!1,L(D),D=-1),Y=!0;var ee=T;try{t:{for(X(C),S=o(j);S!==null&&!(S.expirationTime>C&&te());){var pe=S.callback;if(typeof pe=="function"){S.callback=null,T=S.priorityLevel;var Se=pe(S.expirationTime<=C);if(C=c.unstable_now(),typeof Se=="function"){S.callback=Se,X(C),Q=!0;break t}S===o(j)&&r(j),X(C)}else r(j);S=o(j)}if(S!==null)Q=!0;else{var g=o(y);g!==null&&ot(B,g.startTime-C),Q=!1}}break e}finally{S=null,T=ee,Y=!1}Q=void 0}}finally{Q?Be():oe=!1}}}var Be;if(typeof V=="function")Be=function(){V(xe)};else if(typeof MessageChannel<"u"){var qt=new MessageChannel,lt=qt.port2;qt.port1.onmessage=xe,Be=function(){lt.postMessage(null)}}else Be=function(){J(xe,0)};function ot(C,Q){D=J(function(){C(c.unstable_now())},Q)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(C){C.callback=null},c.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):k=0<C?Math.floor(1e3/C):5},c.unstable_getCurrentPriorityLevel=function(){return T},c.unstable_next=function(C){switch(T){case 1:case 2:case 3:var Q=3;break;default:Q=T}var ee=T;T=Q;try{return C()}finally{T=ee}},c.unstable_requestPaint=function(){ue=!0},c.unstable_runWithPriority=function(C,Q){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var ee=T;T=C;try{return Q()}finally{T=ee}},c.unstable_scheduleCallback=function(C,Q,ee){var pe=c.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?pe+ee:pe):ee=pe,C){case 1:var Se=-1;break;case 2:Se=250;break;case 5:Se=1073741823;break;case 4:Se=1e4;break;default:Se=5e3}return Se=ee+Se,C={id:A++,callback:Q,priorityLevel:C,startTime:ee,expirationTime:Se,sortIndex:-1},ee>pe?(C.sortIndex=ee,u(y,C),o(j)===null&&C===o(y)&&(W?(L(D),D=-1):W=!0,ot(B,ee-pe))):(C.sortIndex=Se,u(j,C),G||Y||(G=!0,oe||(oe=!0,Be()))),C},c.unstable_shouldYield=te,c.unstable_wrapCallback=function(C){var Q=T;return function(){var ee=T;T=Q;try{return C.apply(this,arguments)}finally{T=ee}}}})(Lr)),Lr}var jm;function e1(){return jm||(jm=1,Br.exports=P0()),Br.exports}var Yr={exports:{}},rt={};/**
|
|
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 Em;function t1(){if(Em)return rt;Em=1;var c=af();function u(j){var y="https://react.dev/errors/"+j;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)y+="&args[]="+encodeURIComponent(arguments[A])}return"Minified React error #"+j+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(){}var r={d:{f:o,r:function(){throw Error(u(522))},D:o,C:o,L:o,m:o,X:o,S:o,M:o},p:0,findDOMNode:null},h=Symbol.for("react.portal");function b(j,y,A){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:S==null?null:""+S,children:j,containerInfo:y,implementation:A}}var M=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function N(j,y){if(j==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,rt.createPortal=function(j,y){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(u(299));return b(j,y,null,A)},rt.flushSync=function(j){var y=M.T,A=r.p;try{if(M.T=null,r.p=2,j)return j()}finally{M.T=y,r.p=A,r.d.f()}},rt.preconnect=function(j,y){typeof j=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(j,y))},rt.prefetchDNS=function(j){typeof j=="string"&&r.d.D(j)},rt.preinit=function(j,y){if(typeof j=="string"&&y&&typeof y.as=="string"){var A=y.as,S=N(A,y.crossOrigin),T=typeof y.integrity=="string"?y.integrity:void 0,Y=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;A==="style"?r.d.S(j,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:S,integrity:T,fetchPriority:Y}):A==="script"&&r.d.X(j,{crossOrigin:S,integrity:T,fetchPriority:Y,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},rt.preinitModule=function(j,y){if(typeof j=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var A=N(y.as,y.crossOrigin);r.d.M(j,{crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&r.d.M(j)},rt.preload=function(j,y){if(typeof j=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var A=y.as,S=N(A,y.crossOrigin);r.d.L(j,A,{crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},rt.preloadModule=function(j,y){if(typeof j=="string")if(y){var A=N(y.as,y.crossOrigin);r.d.m(j,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else r.d.m(j)},rt.requestFormReset=function(j){r.d.r(j)},rt.unstable_batchedUpdates=function(j,y){return j(y)},rt.useFormState=function(j,y,A){return M.H.useFormState(j,y,A)},rt.useFormStatus=function(){return M.H.useHostTransitionStatus()},rt.version="19.2.8",rt}var zm;function l1(){if(zm)return Yr.exports;zm=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(u){console.error(u)}}return c(),Yr.exports=t1(),Yr.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 Tm;function a1(){if(Tm)return Di;Tm=1;var c=e1(),u=af(),o=l1();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function b(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function M(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function N(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function j(e){if(b(e)!==e)throw Error(r(188))}function y(e){var t=e.alternate;if(!t){if(t=b(e),t===null)throw Error(r(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var i=n.alternate;if(i===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===l)return j(n),e;if(i===a)return j(n),t;i=i.sibling}throw Error(r(188))}if(l.return!==a.return)l=n,a=i;else{for(var f=!1,d=n.child;d;){if(d===l){f=!0,l=n,a=i;break}if(d===a){f=!0,a=n,l=i;break}d=d.sibling}if(!f){for(d=i.child;d;){if(d===l){f=!0,l=i,a=n;break}if(d===a){f=!0,a=i,l=n;break}d=d.sibling}if(!f)throw Error(r(189))}}if(l.alternate!==a)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?e:t}function A(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=A(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,T=Symbol.for("react.element"),Y=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),W=Symbol.for("react.fragment"),ue=Symbol.for("react.strict_mode"),J=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),V=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),te=Symbol.for("react.memo_cache_sentinel"),xe=Symbol.iterator;function Be(e){return e===null||typeof e!="object"?null:(e=xe&&e[xe]||e["@@iterator"],typeof e=="function"?e:null)}var qt=Symbol.for("react.client.reference");function lt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===qt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case W:return"Fragment";case J:return"Profiler";case ue:return"StrictMode";case B:return"Suspense";case oe:return"SuspenseList";case F:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case G:return"Portal";case V:return e.displayName||"Context";case L:return(e._context.displayName||"Context")+".Consumer";case X:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case D:return t=e.displayName||null,t!==null?t:lt(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return lt(e(t))}catch{}}return null}var ot=Array.isArray,C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},pe=[],Se=-1;function g(e){return{current:e}}function H(e){0>Se||(e.current=pe[Se],pe[Se]=null,Se--)}function w(e,t){Se++,pe[Se]=e.current,e.current=t}var K=g(null),ie=g(null),se=g(null),je=g(null);function Ze(e,t){switch(w(se,t),w(ie,e),w(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Bh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Bh(t),e=Lh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(K),w(K,e)}function Ue(){H(K),H(ie),H(se)}function sa(e){e.memoizedState!==null&&w(je,e);var t=K.current,l=Lh(t,e.type);t!==l&&(w(ie,e),w(K,l))}function Zi(e){ie.current===e&&(H(K),H(ie)),je.current===e&&(H(je),Mi._currentValue=ee)}var vc,hf;function ra(e){if(vc===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);vc=t&&t[1]||"",hf=-1<l.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+vc+e+hf}var pc=!1;function gc(e,t){if(!e||pc)return"";pc=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(O){var _=O}Reflect.construct(e,[],q)}else{try{q.call()}catch(O){_=O}e.call(q.prototype)}}else{try{throw Error()}catch(O){_=O}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(O){if(O&&_&&typeof O.stack=="string")return[O.stack,_.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 i=a.DetermineComponentFrameRoot(),f=i[0],d=i[1];if(f&&d){var m=f.split(`
|
|
44
|
+
`),z=d.split(`
|
|
45
|
+
`);for(n=a=0;a<m.length&&!m[a].includes("DetermineComponentFrameRoot");)a++;for(;n<z.length&&!z[n].includes("DetermineComponentFrameRoot");)n++;if(a===m.length||n===z.length)for(a=m.length-1,n=z.length-1;1<=a&&0<=n&&m[a]!==z[n];)n--;for(;1<=a&&0<=n;a--,n--)if(m[a]!==z[n]){if(a!==1||n!==1)do if(a--,n--,0>n||m[a]!==z[n]){var R=`
|
|
46
|
+
`+m[a].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),R}while(1<=a&&0<=n);break}}}finally{pc=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ra(l):""}function Ey(e,t){switch(e.tag){case 26:case 27:case 5:return ra(e.type);case 16:return ra("Lazy");case 13:return e.child!==t&&t!==null?ra("Suspense Fallback"):ra("Suspense");case 19:return ra("SuspenseList");case 0:case 15:return gc(e.type,!1);case 11:return gc(e.type.render,!1);case 1:return gc(e.type,!0);case 31:return ra("Activity");default:return""}}function mf(e){try{var t="",l=null;do t+=Ey(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
|
|
47
|
+
Error generating stack: `+a.message+`
|
|
48
|
+
`+a.stack}}var bc=Object.prototype.hasOwnProperty,xc=c.unstable_scheduleCallback,Sc=c.unstable_cancelCallback,zy=c.unstable_shouldYield,Ty=c.unstable_requestPaint,zt=c.unstable_now,_y=c.unstable_getCurrentPriorityLevel,yf=c.unstable_ImmediatePriority,vf=c.unstable_UserBlockingPriority,Vi=c.unstable_NormalPriority,Ay=c.unstable_LowPriority,pf=c.unstable_IdlePriority,My=c.log,Ny=c.unstable_setDisableYieldValue,Yn=null,Tt=null;function Ml(e){if(typeof My=="function"&&Ny(e),Tt&&typeof Tt.setStrictMode=="function")try{Tt.setStrictMode(Yn,e)}catch{}}var _t=Math.clz32?Math.clz32:Ry,Oy=Math.log,Cy=Math.LN2;function Ry(e){return e>>>=0,e===0?32:31-(Oy(e)/Cy|0)|0}var Ki=256,Ji=262144,ki=4194304;function fa(e){var t=e&42;if(t!==0)return t;switch(e&-e){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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Fi(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,i=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var d=a&134217727;return d!==0?(a=d&~i,a!==0?n=fa(a):(f&=d,f!==0?n=fa(f):l||(l=d&~e,l!==0&&(n=fa(l))))):(d=a&~i,d!==0?n=fa(d):f!==0?n=fa(f):l||(l=a&~e,l!==0&&(n=fa(l)))),n===0?0:t!==0&&t!==n&&(t&i)===0&&(i=n&-n,l=t&-t,i>=l||i===32&&(l&4194048)!==0)?t:n}function wn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Dy(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 gf(){var e=ki;return ki<<=1,(ki&62914560)===0&&(ki=4194304),e}function jc(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Gn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Uy(e,t,l,a,n,i){var f=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var d=e.entanglements,m=e.expirationTimes,z=e.hiddenUpdates;for(l=f&~l;0<l;){var R=31-_t(l),q=1<<R;d[R]=0,m[R]=-1;var _=z[R];if(_!==null)for(z[R]=null,R=0;R<_.length;R++){var O=_[R];O!==null&&(O.lane&=-536870913)}l&=~q}a!==0&&bf(e,a,0),i!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=i&~(f&~t))}function bf(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-_t(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function xf(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-_t(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function Sf(e,t){var l=t&-t;return l=(l&42)!==0?1:Ec(l),(l&(e.suspendedLanes|t))!==0?0:l}function Ec(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function zc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function jf(){var e=Q.p;return e!==0?e:(e=window.event,e===void 0?32:sm(e.type))}function Ef(e,t){var l=Q.p;try{return Q.p=e,t()}finally{Q.p=l}}var Nl=Math.random().toString(36).slice(2),at="__reactFiber$"+Nl,yt="__reactProps$"+Nl,La="__reactContainer$"+Nl,Tc="__reactEvents$"+Nl,qy="__reactListeners$"+Nl,Hy="__reactHandles$"+Nl,zf="__reactResources$"+Nl,Xn="__reactMarker$"+Nl;function _c(e){delete e[at],delete e[yt],delete e[Tc],delete e[qy],delete e[Hy]}function Ya(e){var t=e[at];if(t)return t;for(var l=e.parentNode;l;){if(t=l[La]||l[at]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Kh(e);e!==null;){if(l=e[at])return l;e=Kh(e)}return t}e=l,l=e.parentNode}return null}function wa(e){if(e=e[at]||e[La]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Zn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function Ga(e){var t=e[zf];return t||(t=e[zf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function et(e){e[Xn]=!0}var Tf=new Set,_f={};function oa(e,t){Xa(e,t),Xa(e+"Capture",t)}function Xa(e,t){for(_f[e]=t,e=0;e<t.length;e++)Tf.add(t[e])}var Qy=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]*$"),Af={},Mf={};function By(e){return bc.call(Mf,e)?!0:bc.call(Af,e)?!1:Qy.test(e)?Mf[e]=!0:(Af[e]=!0,!1)}function $i(e,t,l){if(By(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function Wi(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function cl(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}function Ht(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ly(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(f){l=""+f,i.call(this,f)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(f){l=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ac(e){if(!e._valueTracker){var t=Nf(e)?"checked":"value";e._valueTracker=Ly(e,t,""+e[t])}}function Of(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=Nf(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function Ii(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Yy=/[\n"\\]/g;function Qt(e){return e.replace(Yy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mc(e,t,l,a,n,i,f,d){e.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.type=f:e.removeAttribute("type"),t!=null?f==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Ht(t)):e.value!==""+Ht(t)&&(e.value=""+Ht(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?Nc(e,f,Ht(t)):l!=null?Nc(e,f,Ht(l)):a!=null&&e.removeAttribute("value"),n==null&&i!=null&&(e.defaultChecked=!!i),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+Ht(d):e.removeAttribute("name")}function Cf(e,t,l,a,n,i,f,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Ac(e);return}l=l!=null?""+Ht(l):"",t=t!=null?""+Ht(t):l,d||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=d?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f),Ac(e)}function Nc(e,t,l){t==="number"&&Ii(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function Za(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+Ht(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Rf(e,t,l){if(t!=null&&(t=""+Ht(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+Ht(l):""}function Df(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(r(92));if(ot(a)){if(1<a.length)throw Error(r(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=Ht(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),Ac(e)}function Va(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var wy=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 Uf(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||wy.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function qf(e,t,l){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&Uf(e,n,a)}else for(var i in t)t.hasOwnProperty(i)&&Uf(e,i,t[i])}function Oc(e){if(e.indexOf("-")===-1)return!1;switch(e){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 Gy=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"]]),Xy=/^[\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 Pi(e){return Xy.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function sl(){}var Cc=null;function Rc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ka=null,Ja=null;function Hf(e){var t=wa(e);if(t&&(e=t.stateNode)){var l=e[yt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Mc(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Qt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[yt]||null;if(!n)throw Error(r(90));Mc(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&Of(a)}break e;case"textarea":Rf(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&Za(e,!!l.multiple,t,!1)}}}var Dc=!1;function Qf(e,t,l){if(Dc)return e(t,l);Dc=!0;try{var a=e(t);return a}finally{if(Dc=!1,(Ka!==null||Ja!==null)&&(Yu(),Ka&&(t=Ka,e=Ja,Ja=Ka=null,Hf(t),e)))for(t=0;t<e.length;t++)Hf(e[t])}}function Vn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[yt]||null;if(a===null)return null;l=a[t];e:switch(t){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)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(r(231,t,typeof l));return l}var rl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Uc=!1;if(rl)try{var Kn={};Object.defineProperty(Kn,"passive",{get:function(){Uc=!0}}),window.addEventListener("test",Kn,Kn),window.removeEventListener("test",Kn,Kn)}catch{Uc=!1}var Ol=null,qc=null,eu=null;function Bf(){if(eu)return eu;var e,t=qc,l=t.length,a,n="value"in Ol?Ol.value:Ol.textContent,i=n.length;for(e=0;e<l&&t[e]===n[e];e++);var f=l-e;for(a=1;a<=f&&t[l-a]===n[i-a];a++);return eu=n.slice(e,1<a?1-a:void 0)}function tu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function lu(){return!0}function Lf(){return!1}function vt(e){function t(l,a,n,i,f){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=i,this.target=f,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(l=e[d],this[d]=l?l(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?lu:Lf,this.isPropagationStopped=Lf,this}return S(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=lu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=lu)},persist:function(){},isPersistent:lu}),t}var da={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},au=vt(da),Jn=S({},da,{view:0,detail:0}),Zy=vt(Jn),Hc,Qc,kn,nu=S({},Jn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Lc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==kn&&(kn&&e.type==="mousemove"?(Hc=e.screenX-kn.screenX,Qc=e.screenY-kn.screenY):Qc=Hc=0,kn=e),Hc)},movementY:function(e){return"movementY"in e?e.movementY:Qc}}),Yf=vt(nu),Vy=S({},nu,{dataTransfer:0}),Ky=vt(Vy),Jy=S({},Jn,{relatedTarget:0}),Bc=vt(Jy),ky=S({},da,{animationName:0,elapsedTime:0,pseudoElement:0}),Fy=vt(ky),$y=S({},da,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wy=vt($y),Iy=S({},da,{data:0}),wf=vt(Iy),Py={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ev={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"},tv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tv[e])?!!t[e]:!1}function Lc(){return lv}var av=S({},Jn,{key:function(e){if(e.key){var t=Py[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=tu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ev[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Lc,charCode:function(e){return e.type==="keypress"?tu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),nv=vt(av),iv=S({},nu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gf=vt(iv),uv=S({},Jn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Lc}),cv=vt(uv),sv=S({},da,{propertyName:0,elapsedTime:0,pseudoElement:0}),rv=vt(sv),fv=S({},nu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ov=vt(fv),dv=S({},da,{newState:0,oldState:0}),hv=vt(dv),mv=[9,13,27,32],Yc=rl&&"CompositionEvent"in window,Fn=null;rl&&"documentMode"in document&&(Fn=document.documentMode);var yv=rl&&"TextEvent"in window&&!Fn,Xf=rl&&(!Yc||Fn&&8<Fn&&11>=Fn),Zf=" ",Vf=!1;function Kf(e,t){switch(e){case"keyup":return mv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ka=!1;function vv(e,t){switch(e){case"compositionend":return Jf(t);case"keypress":return t.which!==32?null:(Vf=!0,Zf);case"textInput":return e=t.data,e===Zf&&Vf?null:e;default:return null}}function pv(e,t){if(ka)return e==="compositionend"||!Yc&&Kf(e,t)?(e=Bf(),eu=qc=Ol=null,ka=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Xf&&t.locale!=="ko"?null:t.data;default:return null}}var gv={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 kf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gv[e.type]:t==="textarea"}function Ff(e,t,l,a){Ka?Ja?Ja.push(a):Ja=[a]:Ka=a,t=Ju(t,"onChange"),0<t.length&&(l=new au("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var $n=null,Wn=null;function bv(e){Rh(e,0)}function iu(e){var t=Zn(e);if(Of(t))return e}function $f(e,t){if(e==="change")return t}var Wf=!1;if(rl){var wc;if(rl){var Gc="oninput"in document;if(!Gc){var If=document.createElement("div");If.setAttribute("oninput","return;"),Gc=typeof If.oninput=="function"}wc=Gc}else wc=!1;Wf=wc&&(!document.documentMode||9<document.documentMode)}function Pf(){$n&&($n.detachEvent("onpropertychange",eo),Wn=$n=null)}function eo(e){if(e.propertyName==="value"&&iu(Wn)){var t=[];Ff(t,Wn,e,Rc(e)),Qf(bv,t)}}function xv(e,t,l){e==="focusin"?(Pf(),$n=t,Wn=l,$n.attachEvent("onpropertychange",eo)):e==="focusout"&&Pf()}function Sv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return iu(Wn)}function jv(e,t){if(e==="click")return iu(t)}function Ev(e,t){if(e==="input"||e==="change")return iu(t)}function zv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var At=typeof Object.is=="function"?Object.is:zv;function In(e,t){if(At(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!bc.call(t,n)||!At(e[n],t[n]))return!1}return!0}function to(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lo(e,t){var l=to(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=to(l)}}function ao(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ao(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function no(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ii(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ii(e.document)}return t}function Xc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Tv=rl&&"documentMode"in document&&11>=document.documentMode,Fa=null,Zc=null,Pn=null,Vc=!1;function io(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Vc||Fa==null||Fa!==Ii(a)||(a=Fa,"selectionStart"in a&&Xc(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}),Pn&&In(Pn,a)||(Pn=a,a=Ju(Zc,"onSelect"),0<a.length&&(t=new au("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=Fa)))}function ha(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var $a={animationend:ha("Animation","AnimationEnd"),animationiteration:ha("Animation","AnimationIteration"),animationstart:ha("Animation","AnimationStart"),transitionrun:ha("Transition","TransitionRun"),transitionstart:ha("Transition","TransitionStart"),transitioncancel:ha("Transition","TransitionCancel"),transitionend:ha("Transition","TransitionEnd")},Kc={},uo={};rl&&(uo=document.createElement("div").style,"AnimationEvent"in window||(delete $a.animationend.animation,delete $a.animationiteration.animation,delete $a.animationstart.animation),"TransitionEvent"in window||delete $a.transitionend.transition);function ma(e){if(Kc[e])return Kc[e];if(!$a[e])return e;var t=$a[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in uo)return Kc[e]=t[l];return e}var co=ma("animationend"),so=ma("animationiteration"),ro=ma("animationstart"),_v=ma("transitionrun"),Av=ma("transitionstart"),Mv=ma("transitioncancel"),fo=ma("transitionend"),oo=new Map,Jc="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(" ");Jc.push("scrollEnd");function Jt(e,t){oo.set(e,t),oa(t,[e])}var uu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Bt=[],Wa=0,kc=0;function cu(){for(var e=Wa,t=kc=Wa=0;t<e;){var l=Bt[t];Bt[t++]=null;var a=Bt[t];Bt[t++]=null;var n=Bt[t];Bt[t++]=null;var i=Bt[t];if(Bt[t++]=null,a!==null&&n!==null){var f=a.pending;f===null?n.next=n:(n.next=f.next,f.next=n),a.pending=n}i!==0&&ho(l,n,i)}}function su(e,t,l,a){Bt[Wa++]=e,Bt[Wa++]=t,Bt[Wa++]=l,Bt[Wa++]=a,kc|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Fc(e,t,l,a){return su(e,t,l,a),ru(e)}function ya(e,t){return su(e,null,null,t),ru(e)}function ho(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,i=e.return;i!==null;)i.childLanes|=l,a=i.alternate,a!==null&&(a.childLanes|=l),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(n=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,n&&t!==null&&(n=31-_t(l),e=i.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),i):null}function ru(e){if(50<Si)throw Si=0,nr=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ia={};function Nv(e,t,l,a){this.tag=e,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=t,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 Mt(e,t,l,a){return new Nv(e,t,l,a)}function $c(e){return e=e.prototype,!(!e||!e.isReactComponent)}function fl(e,t){var l=e.alternate;return l===null?(l=Mt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function mo(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function fu(e,t,l,a,n,i){var f=0;if(a=e,typeof e=="function")$c(e)&&(f=1);else if(typeof e=="string")f=U0(e,l,K.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case F:return e=Mt(31,l,t,n),e.elementType=F,e.lanes=i,e;case W:return va(l.children,n,i,t);case ue:f=8,n|=24;break;case J:return e=Mt(12,l,t,n|2),e.elementType=J,e.lanes=i,e;case B:return e=Mt(13,l,t,n),e.elementType=B,e.lanes=i,e;case oe:return e=Mt(19,l,t,n),e.elementType=oe,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case V:f=10;break e;case L:f=9;break e;case X:f=11;break e;case D:f=14;break e;case k:f=16,a=null;break e}f=29,l=Error(r(130,e===null?"null":typeof e,"")),a=null}return t=Mt(f,l,t,n),t.elementType=e,t.type=a,t.lanes=i,t}function va(e,t,l,a){return e=Mt(7,e,a,t),e.lanes=l,e}function Wc(e,t,l){return e=Mt(6,e,null,t),e.lanes=l,e}function yo(e){var t=Mt(18,null,null,0);return t.stateNode=e,t}function Ic(e,t,l){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var vo=new WeakMap;function Lt(e,t){if(typeof e=="object"&&e!==null){var l=vo.get(e);return l!==void 0?l:(t={value:e,source:t,stack:mf(t)},vo.set(e,t),t)}return{value:e,source:t,stack:mf(t)}}var Pa=[],en=0,ou=null,ei=0,Yt=[],wt=0,Cl=null,Pt=1,el="";function ol(e,t){Pa[en++]=ei,Pa[en++]=ou,ou=e,ei=t}function po(e,t,l){Yt[wt++]=Pt,Yt[wt++]=el,Yt[wt++]=Cl,Cl=e;var a=Pt;e=el;var n=32-_t(a)-1;a&=~(1<<n),l+=1;var i=32-_t(t)+n;if(30<i){var f=n-n%5;i=(a&(1<<f)-1).toString(32),a>>=f,n-=f,Pt=1<<32-_t(t)+n|l<<n|a,el=i+e}else Pt=1<<i|l<<n|a,el=e}function Pc(e){e.return!==null&&(ol(e,1),po(e,1,0))}function es(e){for(;e===ou;)ou=Pa[--en],Pa[en]=null,ei=Pa[--en],Pa[en]=null;for(;e===Cl;)Cl=Yt[--wt],Yt[wt]=null,el=Yt[--wt],Yt[wt]=null,Pt=Yt[--wt],Yt[wt]=null}function go(e,t){Yt[wt++]=Pt,Yt[wt++]=el,Yt[wt++]=Cl,Pt=t.id,el=t.overflow,Cl=e}var nt=null,qe=null,ge=!1,Rl=null,Gt=!1,ts=Error(r(519));function Dl(e){var t=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ti(Lt(t,e)),ts}function bo(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[at]=e,t[yt]=a,l){case"dialog":he("cancel",t),he("close",t);break;case"iframe":case"object":case"embed":he("load",t);break;case"video":case"audio":for(l=0;l<Ei.length;l++)he(Ei[l],t);break;case"source":he("error",t);break;case"img":case"image":case"link":he("error",t),he("load",t);break;case"details":he("toggle",t);break;case"input":he("invalid",t),Cf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":he("invalid",t);break;case"textarea":he("invalid",t),Df(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||Hh(t.textContent,l)?(a.popover!=null&&(he("beforetoggle",t),he("toggle",t)),a.onScroll!=null&&he("scroll",t),a.onScrollEnd!=null&&he("scrollend",t),a.onClick!=null&&(t.onclick=sl),t=!0):t=!1,t||Dl(e,!0)}function xo(e){for(nt=e.return;nt;)switch(nt.tag){case 5:case 31:case 13:Gt=!1;return;case 27:case 3:Gt=!0;return;default:nt=nt.return}}function tn(e){if(e!==nt)return!1;if(!ge)return xo(e),ge=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||br(e.type,e.memoizedProps)),l=!l),l&&qe&&Dl(e),xo(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qe=Vh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));qe=Vh(e)}else t===27?(t=qe,Jl(e.type)?(e=zr,zr=null,qe=e):qe=t):qe=nt?Zt(e.stateNode.nextSibling):null;return!0}function pa(){qe=nt=null,ge=!1}function ls(){var e=Rl;return e!==null&&(xt===null?xt=e:xt.push.apply(xt,e),Rl=null),e}function ti(e){Rl===null?Rl=[e]:Rl.push(e)}var as=g(null),ga=null,dl=null;function Ul(e,t,l){w(as,t._currentValue),t._currentValue=l}function hl(e){e._currentValue=as.current,H(as)}function ns(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function is(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var i=n.dependencies;if(i!==null){var f=n.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=n;for(var m=0;m<t.length;m++)if(d.context===t[m]){i.lanes|=l,d=i.alternate,d!==null&&(d.lanes|=l),ns(i.return,l,e),a||(f=null);break e}i=d.next}}else if(n.tag===18){if(f=n.return,f===null)throw Error(r(341));f.lanes|=l,i=f.alternate,i!==null&&(i.lanes|=l),ns(f,l,e),f=null}else f=n.child;if(f!==null)f.return=n;else for(f=n;f!==null;){if(f===e){f=null;break}if(n=f.sibling,n!==null){n.return=f.return,f=n;break}f=f.return}n=f}}function ln(e,t,l,a){e=null;for(var n=t,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var f=n.alternate;if(f===null)throw Error(r(387));if(f=f.memoizedProps,f!==null){var d=n.type;At(n.pendingProps.value,f.value)||(e!==null?e.push(d):e=[d])}}else if(n===je.current){if(f=n.alternate,f===null)throw Error(r(387));f.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Mi):e=[Mi])}n=n.return}e!==null&&is(t,e,l,a),t.flags|=262144}function du(e){for(e=e.firstContext;e!==null;){if(!At(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ba(e){ga=e,dl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function it(e){return So(ga,e)}function hu(e,t){return ga===null&&ba(e),So(e,t)}function So(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},dl===null){if(e===null)throw Error(r(308));dl=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else dl=dl.next=t;return l}var Ov=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},Cv=c.unstable_scheduleCallback,Rv=c.unstable_NormalPriority,ke={$$typeof:V,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function us(){return{controller:new Ov,data:new Map,refCount:0}}function li(e){e.refCount--,e.refCount===0&&Cv(Rv,function(){e.controller.abort()})}var ai=null,cs=0,an=0,nn=null;function Dv(e,t){if(ai===null){var l=ai=[];cs=0,an=fr(),nn={status:"pending",value:void 0,then:function(a){l.push(a)}}}return cs++,t.then(jo,jo),t}function jo(){if(--cs===0&&ai!==null){nn!==null&&(nn.status="fulfilled");var e=ai;ai=null,an=0,nn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Uv(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var Eo=C.S;C.S=function(e,t){uh=zt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Dv(e,t),Eo!==null&&Eo(e,t)};var xa=g(null);function ss(){var e=xa.current;return e!==null?e:De.pooledCache}function mu(e,t){t===null?w(xa,xa.current):w(xa,t.pool)}function zo(){var e=ss();return e===null?null:{parent:ke._currentValue,pool:e}}var un=Error(r(460)),rs=Error(r(474)),yu=Error(r(542)),vu={then:function(){}};function To(e){return e=e.status,e==="fulfilled"||e==="rejected"}function _o(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(sl,sl),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Mo(e),e;default:if(typeof t.status=="string")t.then(sl,sl);else{if(e=De,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Mo(e),e}throw ja=t,un}}function Sa(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(ja=l,un):l}}var ja=null;function Ao(){if(ja===null)throw Error(r(459));var e=ja;return ja=null,e}function Mo(e){if(e===un||e===yu)throw Error(r(483))}var cn=null,ni=0;function pu(e){var t=ni;return ni+=1,cn===null&&(cn=[]),_o(cn,e,t)}function ii(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function gu(e,t){throw t.$$typeof===T?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function No(e){function t(x,v){if(e){var E=x.deletions;E===null?(x.deletions=[v],x.flags|=16):E.push(v)}}function l(x,v){if(!e)return null;for(;v!==null;)t(x,v),v=v.sibling;return null}function a(x){for(var v=new Map;x!==null;)x.key!==null?v.set(x.key,x):v.set(x.index,x),x=x.sibling;return v}function n(x,v){return x=fl(x,v),x.index=0,x.sibling=null,x}function i(x,v,E){return x.index=E,e?(E=x.alternate,E!==null?(E=E.index,E<v?(x.flags|=67108866,v):E):(x.flags|=67108866,v)):(x.flags|=1048576,v)}function f(x){return e&&x.alternate===null&&(x.flags|=67108866),x}function d(x,v,E,U){return v===null||v.tag!==6?(v=Wc(E,x.mode,U),v.return=x,v):(v=n(v,E),v.return=x,v)}function m(x,v,E,U){var le=E.type;return le===W?R(x,v,E.props.children,U,E.key):v!==null&&(v.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===k&&Sa(le)===v.type)?(v=n(v,E.props),ii(v,E),v.return=x,v):(v=fu(E.type,E.key,E.props,null,x.mode,U),ii(v,E),v.return=x,v)}function z(x,v,E,U){return v===null||v.tag!==4||v.stateNode.containerInfo!==E.containerInfo||v.stateNode.implementation!==E.implementation?(v=Ic(E,x.mode,U),v.return=x,v):(v=n(v,E.children||[]),v.return=x,v)}function R(x,v,E,U,le){return v===null||v.tag!==7?(v=va(E,x.mode,U,le),v.return=x,v):(v=n(v,E),v.return=x,v)}function q(x,v,E){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return v=Wc(""+v,x.mode,E),v.return=x,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Y:return E=fu(v.type,v.key,v.props,null,x.mode,E),ii(E,v),E.return=x,E;case G:return v=Ic(v,x.mode,E),v.return=x,v;case k:return v=Sa(v),q(x,v,E)}if(ot(v)||Be(v))return v=va(v,x.mode,E,null),v.return=x,v;if(typeof v.then=="function")return q(x,pu(v),E);if(v.$$typeof===V)return q(x,hu(x,v),E);gu(x,v)}return null}function _(x,v,E,U){var le=v!==null?v.key:null;if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return le!==null?null:d(x,v,""+E,U);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Y:return E.key===le?m(x,v,E,U):null;case G:return E.key===le?z(x,v,E,U):null;case k:return E=Sa(E),_(x,v,E,U)}if(ot(E)||Be(E))return le!==null?null:R(x,v,E,U,null);if(typeof E.then=="function")return _(x,v,pu(E),U);if(E.$$typeof===V)return _(x,v,hu(x,E),U);gu(x,E)}return null}function O(x,v,E,U,le){if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return x=x.get(E)||null,d(v,x,""+U,le);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case Y:return x=x.get(U.key===null?E:U.key)||null,m(v,x,U,le);case G:return x=x.get(U.key===null?E:U.key)||null,z(v,x,U,le);case k:return U=Sa(U),O(x,v,E,U,le)}if(ot(U)||Be(U))return x=x.get(E)||null,R(v,x,U,le,null);if(typeof U.then=="function")return O(x,v,E,pu(U),le);if(U.$$typeof===V)return O(x,v,E,hu(v,U),le);gu(v,U)}return null}function $(x,v,E,U){for(var le=null,Ee=null,I=v,fe=v=0,ye=null;I!==null&&fe<E.length;fe++){I.index>fe?(ye=I,I=null):ye=I.sibling;var ze=_(x,I,E[fe],U);if(ze===null){I===null&&(I=ye);break}e&&I&&ze.alternate===null&&t(x,I),v=i(ze,v,fe),Ee===null?le=ze:Ee.sibling=ze,Ee=ze,I=ye}if(fe===E.length)return l(x,I),ge&&ol(x,fe),le;if(I===null){for(;fe<E.length;fe++)I=q(x,E[fe],U),I!==null&&(v=i(I,v,fe),Ee===null?le=I:Ee.sibling=I,Ee=I);return ge&&ol(x,fe),le}for(I=a(I);fe<E.length;fe++)ye=O(I,x,fe,E[fe],U),ye!==null&&(e&&ye.alternate!==null&&I.delete(ye.key===null?fe:ye.key),v=i(ye,v,fe),Ee===null?le=ye:Ee.sibling=ye,Ee=ye);return e&&I.forEach(function(Il){return t(x,Il)}),ge&&ol(x,fe),le}function ae(x,v,E,U){if(E==null)throw Error(r(151));for(var le=null,Ee=null,I=v,fe=v=0,ye=null,ze=E.next();I!==null&&!ze.done;fe++,ze=E.next()){I.index>fe?(ye=I,I=null):ye=I.sibling;var Il=_(x,I,ze.value,U);if(Il===null){I===null&&(I=ye);break}e&&I&&Il.alternate===null&&t(x,I),v=i(Il,v,fe),Ee===null?le=Il:Ee.sibling=Il,Ee=Il,I=ye}if(ze.done)return l(x,I),ge&&ol(x,fe),le;if(I===null){for(;!ze.done;fe++,ze=E.next())ze=q(x,ze.value,U),ze!==null&&(v=i(ze,v,fe),Ee===null?le=ze:Ee.sibling=ze,Ee=ze);return ge&&ol(x,fe),le}for(I=a(I);!ze.done;fe++,ze=E.next())ze=O(I,x,fe,ze.value,U),ze!==null&&(e&&ze.alternate!==null&&I.delete(ze.key===null?fe:ze.key),v=i(ze,v,fe),Ee===null?le=ze:Ee.sibling=ze,Ee=ze);return e&&I.forEach(function(V0){return t(x,V0)}),ge&&ol(x,fe),le}function Re(x,v,E,U){if(typeof E=="object"&&E!==null&&E.type===W&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Y:e:{for(var le=E.key;v!==null;){if(v.key===le){if(le=E.type,le===W){if(v.tag===7){l(x,v.sibling),U=n(v,E.props.children),U.return=x,x=U;break e}}else if(v.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===k&&Sa(le)===v.type){l(x,v.sibling),U=n(v,E.props),ii(U,E),U.return=x,x=U;break e}l(x,v);break}else t(x,v);v=v.sibling}E.type===W?(U=va(E.props.children,x.mode,U,E.key),U.return=x,x=U):(U=fu(E.type,E.key,E.props,null,x.mode,U),ii(U,E),U.return=x,x=U)}return f(x);case G:e:{for(le=E.key;v!==null;){if(v.key===le)if(v.tag===4&&v.stateNode.containerInfo===E.containerInfo&&v.stateNode.implementation===E.implementation){l(x,v.sibling),U=n(v,E.children||[]),U.return=x,x=U;break e}else{l(x,v);break}else t(x,v);v=v.sibling}U=Ic(E,x.mode,U),U.return=x,x=U}return f(x);case k:return E=Sa(E),Re(x,v,E,U)}if(ot(E))return $(x,v,E,U);if(Be(E)){if(le=Be(E),typeof le!="function")throw Error(r(150));return E=le.call(E),ae(x,v,E,U)}if(typeof E.then=="function")return Re(x,v,pu(E),U);if(E.$$typeof===V)return Re(x,v,hu(x,E),U);gu(x,E)}return typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint"?(E=""+E,v!==null&&v.tag===6?(l(x,v.sibling),U=n(v,E),U.return=x,x=U):(l(x,v),U=Wc(E,x.mode,U),U.return=x,x=U),f(x)):l(x,v)}return function(x,v,E,U){try{ni=0;var le=Re(x,v,E,U);return cn=null,le}catch(I){if(I===un||I===yu)throw I;var Ee=Mt(29,I,null,x.mode);return Ee.lanes=U,Ee.return=x,Ee}finally{}}}var Ea=No(!0),Oo=No(!1),ql=!1;function fs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function os(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Hl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ql(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(_e&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=ru(e),ho(e,null,l),t}return su(e,a,t,l),ru(e)}function ui(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,xf(e,l)}}function ds(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?n=i=f:i=i.next=f,l=l.next}while(l!==null);i===null?n=i=t:i=i.next=t}else n=i=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var hs=!1;function ci(){if(hs){var e=nn;if(e!==null)throw e}}function si(e,t,l,a){hs=!1;var n=e.updateQueue;ql=!1;var i=n.firstBaseUpdate,f=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var m=d,z=m.next;m.next=null,f===null?i=z:f.next=z,f=m;var R=e.alternate;R!==null&&(R=R.updateQueue,d=R.lastBaseUpdate,d!==f&&(d===null?R.firstBaseUpdate=z:d.next=z,R.lastBaseUpdate=m))}if(i!==null){var q=n.baseState;f=0,R=z=m=null,d=i;do{var _=d.lane&-536870913,O=_!==d.lane;if(O?(me&_)===_:(a&_)===_){_!==0&&_===an&&(hs=!0),R!==null&&(R=R.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var $=e,ae=d;_=t;var Re=l;switch(ae.tag){case 1:if($=ae.payload,typeof $=="function"){q=$.call(Re,q,_);break e}q=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ae.payload,_=typeof $=="function"?$.call(Re,q,_):$,_==null)break e;q=S({},q,_);break e;case 2:ql=!0}}_=d.callback,_!==null&&(e.flags|=64,O&&(e.flags|=8192),O=n.callbacks,O===null?n.callbacks=[_]:O.push(_))}else O={lane:_,tag:d.tag,payload:d.payload,callback:d.callback,next:null},R===null?(z=R=O,m=q):R=R.next=O,f|=_;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;O=d,d=O.next,O.next=null,n.lastBaseUpdate=O,n.shared.pending=null}}while(!0);R===null&&(m=q),n.baseState=m,n.firstBaseUpdate=z,n.lastBaseUpdate=R,i===null&&(n.shared.lanes=0),Gl|=f,e.lanes=f,e.memoizedState=q}}function Co(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function Ro(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Co(l[e],t)}var sn=g(null),bu=g(0);function Do(e,t){e=jl,w(bu,e),w(sn,t),jl=e|t.baseLanes}function ms(){w(bu,jl),w(sn,sn.current)}function ys(){jl=bu.current,H(sn),H(bu)}var Nt=g(null),Xt=null;function Bl(e){var t=e.alternate;w(Ve,Ve.current&1),w(Nt,e),Xt===null&&(t===null||sn.current!==null||t.memoizedState!==null)&&(Xt=e)}function vs(e){w(Ve,Ve.current),w(Nt,e),Xt===null&&(Xt=e)}function Uo(e){e.tag===22?(w(Ve,Ve.current),w(Nt,e),Xt===null&&(Xt=e)):Ll()}function Ll(){w(Ve,Ve.current),w(Nt,Nt.current)}function Ot(e){H(Nt),Xt===e&&(Xt=null),H(Ve)}var Ve=g(0);function xu(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||jr(l)||Er(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ml=0,re=null,Oe=null,Fe=null,Su=!1,rn=!1,za=!1,ju=0,ri=0,fn=null,qv=0;function we(){throw Error(r(321))}function ps(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!At(e[l],t[l]))return!1;return!0}function gs(e,t,l,a,n,i){return ml=i,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,C.H=e===null||e.memoizedState===null?pd:Ds,za=!1,i=l(a,n),za=!1,rn&&(i=Ho(t,l,a,n)),qo(e),i}function qo(e){C.H=di;var t=Oe!==null&&Oe.next!==null;if(ml=0,Fe=Oe=re=null,Su=!1,ri=0,fn=null,t)throw Error(r(300));e===null||$e||(e=e.dependencies,e!==null&&du(e)&&($e=!0))}function Ho(e,t,l,a){re=e;var n=0;do{if(rn&&(fn=null),ri=0,rn=!1,25<=n)throw Error(r(301));if(n+=1,Fe=Oe=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}C.H=gd,i=t(l,a)}while(rn);return i}function Hv(){var e=C.H,t=e.useState()[0];return t=typeof t.then=="function"?fi(t):t,e=e.useState()[0],(Oe!==null?Oe.memoizedState:null)!==e&&(re.flags|=1024),t}function bs(){var e=ju!==0;return ju=0,e}function xs(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Ss(e){if(Su){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Su=!1}ml=0,Fe=Oe=re=null,rn=!1,ri=ju=0,fn=null}function dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?re.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Ke(){if(Oe===null){var e=re.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=Fe===null?re.memoizedState:Fe.next;if(t!==null)Fe=t,Oe=e;else{if(e===null)throw re.alternate===null?Error(r(467)):Error(r(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},Fe===null?re.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Eu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fi(e){var t=ri;return ri+=1,fn===null&&(fn=[]),e=_o(fn,e,t),t=re,(Fe===null?t.memoizedState:Fe.next)===null&&(t=t.alternate,C.H=t===null||t.memoizedState===null?pd:Ds),e}function zu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return fi(e);if(e.$$typeof===V)return it(e)}throw Error(r(438,String(e)))}function js(e){var t=null,l=re.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=re.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Eu(),re.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=te;return t.index++,l}function yl(e,t){return typeof t=="function"?t(e):t}function Tu(e){var t=Ke();return Es(t,Oe,e)}function Es(e,t,l){var a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=l;var n=e.baseQueue,i=a.pending;if(i!==null){if(n!==null){var f=n.next;n.next=i.next,i.next=f}t.baseQueue=n=i,a.pending=null}if(i=e.baseState,n===null)e.memoizedState=i;else{t=n.next;var d=f=null,m=null,z=t,R=!1;do{var q=z.lane&-536870913;if(q!==z.lane?(me&q)===q:(ml&q)===q){var _=z.revertLane;if(_===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),q===an&&(R=!0);else if((ml&_)===_){z=z.next,_===an&&(R=!0);continue}else q={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},m===null?(d=m=q,f=i):m=m.next=q,re.lanes|=_,Gl|=_;q=z.action,za&&l(i,q),i=z.hasEagerState?z.eagerState:l(i,q)}else _={lane:q,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},m===null?(d=m=_,f=i):m=m.next=_,re.lanes|=q,Gl|=q;z=z.next}while(z!==null&&z!==t);if(m===null?f=i:m.next=d,!At(i,e.memoizedState)&&($e=!0,R&&(l=nn,l!==null)))throw l;e.memoizedState=i,e.baseState=f,e.baseQueue=m,a.lastRenderedState=i}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function zs(e){var t=Ke(),l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,i=t.memoizedState;if(n!==null){l.pending=null;var f=n=n.next;do i=e(i,f.action),f=f.next;while(f!==n);At(i,t.memoizedState)||($e=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),l.lastRenderedState=i}return[i,a]}function Qo(e,t,l){var a=re,n=Ke(),i=ge;if(i){if(l===void 0)throw Error(r(407));l=l()}else l=t();var f=!At((Oe||n).memoizedState,l);if(f&&(n.memoizedState=l,$e=!0),n=n.queue,As(Yo.bind(null,a,n,e),[e]),n.getSnapshot!==t||f||Fe!==null&&Fe.memoizedState.tag&1){if(a.flags|=2048,on(9,{destroy:void 0},Lo.bind(null,a,n,l,t),null),De===null)throw Error(r(349));i||(ml&127)!==0||Bo(a,t,l)}return l}function Bo(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=re.updateQueue,t===null?(t=Eu(),re.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Lo(e,t,l,a){t.value=l,t.getSnapshot=a,wo(t)&&Go(e)}function Yo(e,t,l){return l(function(){wo(t)&&Go(e)})}function wo(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!At(e,l)}catch{return!0}}function Go(e){var t=ya(e,2);t!==null&&St(t,e,2)}function Ts(e){var t=dt();if(typeof e=="function"){var l=e;if(e=l(),za){Ml(!0);try{l()}finally{Ml(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yl,lastRenderedState:e},t}function Xo(e,t,l,a){return e.baseState=l,Es(e,Oe,typeof a=="function"?a:yl)}function Qv(e,t,l,a,n){if(Mu(e))throw Error(r(485));if(e=t.action,e!==null){var i={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){i.listeners.push(f)}};C.T!==null?l(!0):i.isTransition=!1,a(i),l=t.pending,l===null?(i.next=t.pending=i,Zo(t,i)):(i.next=l.next,t.pending=l.next=i)}}function Zo(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var i=C.T,f={};C.T=f;try{var d=l(n,a),m=C.S;m!==null&&m(f,d),Vo(e,t,d)}catch(z){_s(e,t,z)}finally{i!==null&&f.types!==null&&(i.types=f.types),C.T=i}}else try{i=l(n,a),Vo(e,t,i)}catch(z){_s(e,t,z)}}function Vo(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Ko(e,t,a)},function(a){return _s(e,t,a)}):Ko(e,t,l)}function Ko(e,t,l){t.status="fulfilled",t.value=l,Jo(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,Zo(e,l)))}function _s(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Jo(t),t=t.next;while(t!==a)}e.action=null}function Jo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ko(e,t){return t}function Fo(e,t){if(ge){var l=De.formState;if(l!==null){e:{var a=re;if(ge){if(qe){t:{for(var n=qe,i=Gt;n.nodeType!==8;){if(!i){n=null;break t}if(n=Zt(n.nextSibling),n===null){n=null;break t}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){qe=Zt(n.nextSibling),a=n.data==="F!";break e}}Dl(a)}a=!1}a&&(t=l[0])}}return l=dt(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:t},l.queue=a,l=md.bind(null,re,a),a.dispatch=l,a=Ts(!1),i=Rs.bind(null,re,!1,a.queue),a=dt(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=Qv.bind(null,re,n,i,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function $o(e){var t=Ke();return Wo(t,Oe,e)}function Wo(e,t,l){if(t=Es(e,t,ko)[0],e=Tu(yl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=fi(t)}catch(f){throw f===un?yu:f}else a=t;t=Ke();var n=t.queue,i=n.dispatch;return l!==t.memoizedState&&(re.flags|=2048,on(9,{destroy:void 0},Bv.bind(null,n,l),null)),[a,i,e]}function Bv(e,t){e.action=t}function Io(e){var t=Ke(),l=Oe;if(l!==null)return Wo(t,l,e);Ke(),t=t.memoizedState,l=Ke();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function on(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=re.updateQueue,t===null&&(t=Eu(),re.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Po(){return Ke().memoizedState}function _u(e,t,l,a){var n=dt();re.flags|=e,n.memoizedState=on(1|t,{destroy:void 0},l,a===void 0?null:a)}function Au(e,t,l,a){var n=Ke();a=a===void 0?null:a;var i=n.memoizedState.inst;Oe!==null&&a!==null&&ps(a,Oe.memoizedState.deps)?n.memoizedState=on(t,i,l,a):(re.flags|=e,n.memoizedState=on(1|t,i,l,a))}function ed(e,t){_u(8390656,8,e,t)}function As(e,t){Au(2048,8,e,t)}function Lv(e){re.flags|=4;var t=re.updateQueue;if(t===null)t=Eu(),re.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function td(e){var t=Ke().memoizedState;return Lv({ref:t,nextImpl:e}),function(){if((_e&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}function ld(e,t){return Au(4,2,e,t)}function ad(e,t){return Au(4,4,e,t)}function nd(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function id(e,t,l){l=l!=null?l.concat([e]):null,Au(4,4,nd.bind(null,t,e),l)}function Ms(){}function ud(e,t){var l=Ke();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&ps(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function cd(e,t){var l=Ke();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&ps(t,a[1]))return a[0];if(a=e(),za){Ml(!0);try{e()}finally{Ml(!1)}}return l.memoizedState=[a,t],a}function Ns(e,t,l){return l===void 0||(ml&1073741824)!==0&&(me&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=sh(),re.lanes|=e,Gl|=e,l)}function sd(e,t,l,a){return At(l,t)?l:sn.current!==null?(e=Ns(e,l,a),At(e,t)||($e=!0),e):(ml&42)===0||(ml&1073741824)!==0&&(me&261930)===0?($e=!0,e.memoizedState=l):(e=sh(),re.lanes|=e,Gl|=e,t)}function rd(e,t,l,a,n){var i=Q.p;Q.p=i!==0&&8>i?i:8;var f=C.T,d={};C.T=d,Rs(e,!1,t,l);try{var m=n(),z=C.S;if(z!==null&&z(d,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var R=Uv(m,a);oi(e,t,R,Dt(e))}else oi(e,t,a,Dt(e))}catch(q){oi(e,t,{then:function(){},status:"rejected",reason:q},Dt())}finally{Q.p=i,f!==null&&d.types!==null&&(f.types=d.types),C.T=f}}function Yv(){}function Os(e,t,l,a){if(e.tag!==5)throw Error(r(476));var n=fd(e).queue;rd(e,n,t,ee,l===null?Yv:function(){return od(e),l(a)})}function fd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yl,lastRenderedState:ee},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yl,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function od(e){var t=fd(e);t.next===null&&(t=e.alternate.memoizedState),oi(e,t.next.queue,{},Dt())}function Cs(){return it(Mi)}function dd(){return Ke().memoizedState}function hd(){return Ke().memoizedState}function wv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=Dt();e=Hl(l);var a=Ql(t,e,l);a!==null&&(St(a,t,l),ui(a,t,l)),t={cache:us()},e.payload=t;return}t=t.return}}function Gv(e,t,l){var a=Dt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Mu(e)?yd(t,l):(l=Fc(e,t,l,a),l!==null&&(St(l,e,a),vd(l,t,a)))}function md(e,t,l){var a=Dt();oi(e,t,l,a)}function oi(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Mu(e))yd(t,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var f=t.lastRenderedState,d=i(f,l);if(n.hasEagerState=!0,n.eagerState=d,At(d,f))return su(e,t,n,0),De===null&&cu(),!1}catch{}finally{}if(l=Fc(e,t,n,a),l!==null)return St(l,e,a),vd(l,t,a),!0}return!1}function Rs(e,t,l,a){if(a={lane:2,revertLane:fr(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Mu(e)){if(t)throw Error(r(479))}else t=Fc(e,l,a,2),t!==null&&St(t,e,2)}function Mu(e){var t=e.alternate;return e===re||t!==null&&t===re}function yd(e,t){rn=Su=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function vd(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,xf(e,l)}}var di={readContext:it,use:zu,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useLayoutEffect:we,useInsertionEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useSyncExternalStore:we,useId:we,useHostTransitionStatus:we,useFormState:we,useActionState:we,useOptimistic:we,useMemoCache:we,useCacheRefresh:we};di.useEffectEvent=we;var pd={readContext:it,use:zu,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:it,useEffect:ed,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,_u(4194308,4,nd.bind(null,t,e),l)},useLayoutEffect:function(e,t){return _u(4194308,4,e,t)},useInsertionEffect:function(e,t){_u(4,2,e,t)},useMemo:function(e,t){var l=dt();t=t===void 0?null:t;var a=e();if(za){Ml(!0);try{e()}finally{Ml(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=dt();if(l!==void 0){var n=l(t);if(za){Ml(!0);try{l(t)}finally{Ml(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=Gv.bind(null,re,e),[a.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:function(e){e=Ts(e);var t=e.queue,l=md.bind(null,re,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Ms,useDeferredValue:function(e,t){var l=dt();return Ns(l,e,t)},useTransition:function(){var e=Ts(!1);return e=rd.bind(null,re,e.queue,!0,!1),dt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=re,n=dt();if(ge){if(l===void 0)throw Error(r(407));l=l()}else{if(l=t(),De===null)throw Error(r(349));(me&127)!==0||Bo(a,t,l)}n.memoizedState=l;var i={value:l,getSnapshot:t};return n.queue=i,ed(Yo.bind(null,a,i,e),[e]),a.flags|=2048,on(9,{destroy:void 0},Lo.bind(null,a,i,l,t),null),l},useId:function(){var e=dt(),t=De.identifierPrefix;if(ge){var l=el,a=Pt;l=(a&~(1<<32-_t(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=ju++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=qv++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Cs,useFormState:Fo,useActionState:Fo,useOptimistic:function(e){var t=dt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Rs.bind(null,re,!0,l),l.dispatch=t,[e,t]},useMemoCache:js,useCacheRefresh:function(){return dt().memoizedState=wv.bind(null,re)},useEffectEvent:function(e){var t=dt(),l={impl:e};return t.memoizedState=l,function(){if((_e&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}},Ds={readContext:it,use:zu,useCallback:ud,useContext:it,useEffect:As,useImperativeHandle:id,useInsertionEffect:ld,useLayoutEffect:ad,useMemo:cd,useReducer:Tu,useRef:Po,useState:function(){return Tu(yl)},useDebugValue:Ms,useDeferredValue:function(e,t){var l=Ke();return sd(l,Oe.memoizedState,e,t)},useTransition:function(){var e=Tu(yl)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:fi(e),t]},useSyncExternalStore:Qo,useId:dd,useHostTransitionStatus:Cs,useFormState:$o,useActionState:$o,useOptimistic:function(e,t){var l=Ke();return Xo(l,Oe,e,t)},useMemoCache:js,useCacheRefresh:hd};Ds.useEffectEvent=td;var gd={readContext:it,use:zu,useCallback:ud,useContext:it,useEffect:As,useImperativeHandle:id,useInsertionEffect:ld,useLayoutEffect:ad,useMemo:cd,useReducer:zs,useRef:Po,useState:function(){return zs(yl)},useDebugValue:Ms,useDeferredValue:function(e,t){var l=Ke();return Oe===null?Ns(l,e,t):sd(l,Oe.memoizedState,e,t)},useTransition:function(){var e=zs(yl)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:fi(e),t]},useSyncExternalStore:Qo,useId:dd,useHostTransitionStatus:Cs,useFormState:Io,useActionState:Io,useOptimistic:function(e,t){var l=Ke();return Oe!==null?Xo(l,Oe,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:js,useCacheRefresh:hd};gd.useEffectEvent=td;function Us(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:S({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var qs={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=Dt(),n=Hl(a);n.payload=t,l!=null&&(n.callback=l),t=Ql(e,n,a),t!==null&&(St(t,e,a),ui(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=Dt(),n=Hl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=Ql(e,n,a),t!==null&&(St(t,e,a),ui(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Dt(),a=Hl(l);a.tag=2,t!=null&&(a.callback=t),t=Ql(e,a,l),t!==null&&(St(t,e,l),ui(t,e,l))}};function bd(e,t,l,a,n,i,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,i,f):t.prototype&&t.prototype.isPureReactComponent?!In(l,a)||!In(n,i):!0}function xd(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&qs.enqueueReplaceState(t,t.state,null)}function Ta(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=S({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function Sd(e){uu(e)}function jd(e){console.error(e)}function Ed(e){uu(e)}function Nu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function zd(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Hs(e,t,l){return l=Hl(l),l.tag=3,l.payload={element:null},l.callback=function(){Nu(e,t)},l}function Td(e){return e=Hl(e),e.tag=3,e}function _d(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var i=a.value;e.payload=function(){return n(i)},e.callback=function(){zd(t,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){zd(t,l,a),typeof n!="function"&&(Xl===null?Xl=new Set([this]):Xl.add(this));var d=a.stack;this.componentDidCatch(a.value,{componentStack:d!==null?d:""})})}function Xv(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&ln(t,l,n,!0),l=Nt.current,l!==null){switch(l.tag){case 31:case 13:return Xt===null?wu():l.alternate===null&&Ge===0&&(Ge=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===vu?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),cr(e,a,n)),!1;case 22:return l.flags|=65536,a===vu?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),cr(e,a,n)),!1}throw Error(r(435,l.tag))}return cr(e,a,n),wu(),!1}if(ge)return t=Nt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==ts&&(e=Error(r(422),{cause:a}),ti(Lt(e,l)))):(a!==ts&&(t=Error(r(423),{cause:a}),ti(Lt(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=Lt(a,l),n=Hs(e.stateNode,a,n),ds(e,n),Ge!==4&&(Ge=2)),!1;var i=Error(r(520),{cause:a});if(i=Lt(i,l),xi===null?xi=[i]:xi.push(i),Ge!==4&&(Ge=2),t===null)return!0;a=Lt(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=Hs(l.stateNode,a,e),ds(l,e),!1;case 1:if(t=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Xl===null||!Xl.has(i))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Td(n),_d(n,e,l,a),ds(l,n),!1}l=l.return}while(l!==null);return!1}var Qs=Error(r(461)),$e=!1;function ut(e,t,l,a){t.child=e===null?Oo(t,null,l,a):Ea(t,e.child,l,a)}function Ad(e,t,l,a,n){l=l.render;var i=t.ref;if("ref"in a){var f={};for(var d in a)d!=="ref"&&(f[d]=a[d])}else f=a;return ba(t),a=gs(e,t,l,f,i,n),d=bs(),e!==null&&!$e?(xs(e,t,n),vl(e,t,n)):(ge&&d&&Pc(t),t.flags|=1,ut(e,t,a,n),t.child)}function Md(e,t,l,a,n){if(e===null){var i=l.type;return typeof i=="function"&&!$c(i)&&i.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=i,Nd(e,t,i,a,n)):(e=fu(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!Vs(e,n)){var f=i.memoizedProps;if(l=l.compare,l=l!==null?l:In,l(f,a)&&e.ref===t.ref)return vl(e,t,n)}return t.flags|=1,e=fl(i,a),e.ref=t.ref,e.return=t,t.child=e}function Nd(e,t,l,a,n){if(e!==null){var i=e.memoizedProps;if(In(i,a)&&e.ref===t.ref)if($e=!1,t.pendingProps=a=i,Vs(e,n))(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,vl(e,t,n)}return Bs(e,t,l,a,n)}function Od(e,t,l,a){var n=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,e!==null){for(a=t.child=e.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~i}else a=0,t.child=null;return Cd(e,t,i,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&mu(t,i!==null?i.cachePool:null),i!==null?Do(t,i):ms(),Uo(t);else return a=t.lanes=536870912,Cd(e,t,i!==null?i.baseLanes|l:l,l,a)}else i!==null?(mu(t,i.cachePool),Do(t,i),Ll(),t.memoizedState=null):(e!==null&&mu(t,null),ms(),Ll());return ut(e,t,n,l),t.child}function hi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Cd(e,t,l,a,n){var i=ss();return i=i===null?null:{parent:ke._currentValue,pool:i},t.memoizedState={baseLanes:l,cachePool:i},e!==null&&mu(t,null),ms(),Uo(t),e!==null&&ln(e,t,a,!0),t.childLanes=n,null}function Ou(e,t){return t=Ru({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Rd(e,t,l){return Ea(t,e.child,null,l),e=Ou(t,t.pendingProps),e.flags|=2,Ot(t),t.memoizedState=null,e}function Zv(e,t,l){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ge){if(a.mode==="hidden")return e=Ou(t,a),t.lanes=536870912,hi(null,e);if(vs(t),(e=qe)?(e=Zh(e,Gt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Cl!==null?{id:Pt,overflow:el}:null,retryLane:536870912,hydrationErrors:null},l=yo(e),l.return=t,t.child=l,nt=t,qe=null)):e=null,e===null)throw Dl(t);return t.lanes=536870912,null}return Ou(t,a)}var i=e.memoizedState;if(i!==null){var f=i.dehydrated;if(vs(t),n)if(t.flags&256)t.flags&=-257,t=Rd(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(r(558));else if($e||ln(e,t,l,!1),n=(l&e.childLanes)!==0,$e||n){if(a=De,a!==null&&(f=Sf(a,l),f!==0&&f!==i.retryLane))throw i.retryLane=f,ya(e,f),St(a,e,f),Qs;wu(),t=Rd(e,t,l)}else e=i.treeContext,qe=Zt(f.nextSibling),nt=t,ge=!0,Rl=null,Gt=!1,e!==null&&go(t,e),t=Ou(t,a),t.flags|=4096;return t}return e=fl(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Cu(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Bs(e,t,l,a,n){return ba(t),l=gs(e,t,l,a,void 0,n),a=bs(),e!==null&&!$e?(xs(e,t,n),vl(e,t,n)):(ge&&a&&Pc(t),t.flags|=1,ut(e,t,l,n),t.child)}function Dd(e,t,l,a,n,i){return ba(t),t.updateQueue=null,l=Ho(t,a,l,n),qo(e),a=bs(),e!==null&&!$e?(xs(e,t,i),vl(e,t,i)):(ge&&a&&Pc(t),t.flags|=1,ut(e,t,l,i),t.child)}function Ud(e,t,l,a,n){if(ba(t),t.stateNode===null){var i=Ia,f=l.contextType;typeof f=="object"&&f!==null&&(i=it(f)),i=new l(a,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=qs,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},fs(t),f=l.contextType,i.context=typeof f=="object"&&f!==null?it(f):Ia,i.state=t.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(Us(t,l,f,a),i.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(f=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),f!==i.state&&qs.enqueueReplaceState(i,i.state,null),si(t,a,i,n),ci(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,m=Ta(l,d);i.props=m;var z=i.context,R=l.contextType;f=Ia,typeof R=="object"&&R!==null&&(f=it(R));var q=l.getDerivedStateFromProps;R=typeof q=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,R||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||z!==f)&&xd(t,i,a,f),ql=!1;var _=t.memoizedState;i.state=_,si(t,a,i,n),ci(),z=t.memoizedState,d||_!==z||ql?(typeof q=="function"&&(Us(t,l,q,a),z=t.memoizedState),(m=ql||bd(t,l,m,a,_,z,f))?(R||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=z),i.props=a,i.state=z,i.context=f,a=m):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,os(e,t),f=t.memoizedProps,R=Ta(l,f),i.props=R,q=t.pendingProps,_=i.context,z=l.contextType,m=Ia,typeof z=="object"&&z!==null&&(m=it(z)),d=l.getDerivedStateFromProps,(z=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(f!==q||_!==m)&&xd(t,i,a,m),ql=!1,_=t.memoizedState,i.state=_,si(t,a,i,n),ci();var O=t.memoizedState;f!==q||_!==O||ql||e!==null&&e.dependencies!==null&&du(e.dependencies)?(typeof d=="function"&&(Us(t,l,d,a),O=t.memoizedState),(R=ql||bd(t,l,R,a,_,O,m)||e!==null&&e.dependencies!==null&&du(e.dependencies))?(z||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,O,m),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,O,m)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=O),i.props=a,i.state=O,i.context=m,a=R):(typeof i.componentDidUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&_===e.memoizedState||(t.flags|=1024),a=!1)}return i=a,Cu(e,t),a=(t.flags&128)!==0,i||a?(i=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&a?(t.child=Ea(t,e.child,null,n),t.child=Ea(t,null,l,n)):ut(e,t,l,n),t.memoizedState=i.state,e=t.child):e=vl(e,t,n),e}function qd(e,t,l,a){return pa(),t.flags|=256,ut(e,t,l,a),t.child}var Ls={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ys(e){return{baseLanes:e,cachePool:zo()}}function ws(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Rt),e}function Hd(e,t,l){var a=t.pendingProps,n=!1,i=(t.flags&128)!==0,f;if((f=i)||(f=e!==null&&e.memoizedState===null?!1:(Ve.current&2)!==0),f&&(n=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(ge){if(n?Bl(t):Ll(),(e=qe)?(e=Zh(e,Gt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Cl!==null?{id:Pt,overflow:el}:null,retryLane:536870912,hydrationErrors:null},l=yo(e),l.return=t,t.child=l,nt=t,qe=null)):e=null,e===null)throw Dl(t);return Er(e)?t.lanes=32:t.lanes=536870912,null}var d=a.children;return a=a.fallback,n?(Ll(),n=t.mode,d=Ru({mode:"hidden",children:d},n),a=va(a,n,l,null),d.return=t,a.return=t,d.sibling=a,t.child=d,a=t.child,a.memoizedState=Ys(l),a.childLanes=ws(e,f,l),t.memoizedState=Ls,hi(null,a)):(Bl(t),Gs(t,d))}var m=e.memoizedState;if(m!==null&&(d=m.dehydrated,d!==null)){if(i)t.flags&256?(Bl(t),t.flags&=-257,t=Xs(e,t,l)):t.memoizedState!==null?(Ll(),t.child=e.child,t.flags|=128,t=null):(Ll(),d=a.fallback,n=t.mode,a=Ru({mode:"visible",children:a.children},n),d=va(d,n,l,null),d.flags|=2,a.return=t,d.return=t,a.sibling=d,t.child=a,Ea(t,e.child,null,l),a=t.child,a.memoizedState=Ys(l),a.childLanes=ws(e,f,l),t.memoizedState=Ls,t=hi(null,a));else if(Bl(t),Er(d)){if(f=d.nextSibling&&d.nextSibling.dataset,f)var z=f.dgst;f=z,a=Error(r(419)),a.stack="",a.digest=f,ti({value:a,source:null,stack:null}),t=Xs(e,t,l)}else if($e||ln(e,t,l,!1),f=(l&e.childLanes)!==0,$e||f){if(f=De,f!==null&&(a=Sf(f,l),a!==0&&a!==m.retryLane))throw m.retryLane=a,ya(e,a),St(f,e,a),Qs;jr(d)||wu(),t=Xs(e,t,l)}else jr(d)?(t.flags|=192,t.child=e.child,t=null):(e=m.treeContext,qe=Zt(d.nextSibling),nt=t,ge=!0,Rl=null,Gt=!1,e!==null&&go(t,e),t=Gs(t,a.children),t.flags|=4096);return t}return n?(Ll(),d=a.fallback,n=t.mode,m=e.child,z=m.sibling,a=fl(m,{mode:"hidden",children:a.children}),a.subtreeFlags=m.subtreeFlags&65011712,z!==null?d=fl(z,d):(d=va(d,n,l,null),d.flags|=2),d.return=t,a.return=t,a.sibling=d,t.child=a,hi(null,a),a=t.child,d=e.child.memoizedState,d===null?d=Ys(l):(n=d.cachePool,n!==null?(m=ke._currentValue,n=n.parent!==m?{parent:m,pool:m}:n):n=zo(),d={baseLanes:d.baseLanes|l,cachePool:n}),a.memoizedState=d,a.childLanes=ws(e,f,l),t.memoizedState=Ls,hi(e.child,a)):(Bl(t),l=e.child,e=l.sibling,l=fl(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=l,t.memoizedState=null,l)}function Gs(e,t){return t=Ru({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ru(e,t){return e=Mt(22,e,null,t),e.lanes=0,e}function Xs(e,t,l){return Ea(t,e.child,null,l),e=Gs(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Qd(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),ns(e.return,t,l)}function Zs(e,t,l,a,n,i){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:i}:(f.isBackwards=t,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=l,f.tailMode=n,f.treeForkCount=i)}function Bd(e,t,l){var a=t.pendingProps,n=a.revealOrder,i=a.tail;a=a.children;var f=Ve.current,d=(f&2)!==0;if(d?(f=f&1|2,t.flags|=128):f&=1,w(Ve,f),ut(e,t,a,l),a=ge?ei:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Qd(e,l,t);else if(e.tag===19)Qd(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&xu(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),Zs(t,!1,n,l,i,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&xu(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}Zs(t,!0,l,null,i,a);break;case"together":Zs(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function vl(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Gl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ln(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,l=fl(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=fl(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Vs(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&du(e)))}function Vv(e,t,l){switch(t.tag){case 3:Ze(t,t.stateNode.containerInfo),Ul(t,ke,e.memoizedState.cache),pa();break;case 27:case 5:sa(t);break;case 4:Ze(t,t.stateNode.containerInfo);break;case 10:Ul(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,vs(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(Bl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?Hd(e,t,l):(Bl(t),e=vl(e,t,l),e!==null?e.sibling:null);Bl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(ln(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Bd(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),w(Ve,Ve.current),a)break;return null;case 22:return t.lanes=0,Od(e,t,l,t.pendingProps);case 24:Ul(t,ke,e.memoizedState.cache)}return vl(e,t,l)}function Ld(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)$e=!0;else{if(!Vs(e,l)&&(t.flags&128)===0)return $e=!1,Vv(e,t,l);$e=(e.flags&131072)!==0}else $e=!1,ge&&(t.flags&1048576)!==0&&po(t,ei,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Sa(t.elementType),t.type=e,typeof e=="function")$c(e)?(a=Ta(e,a),t.tag=1,t=Ud(null,t,e,a,l)):(t.tag=0,t=Bs(null,t,e,a,l));else{if(e!=null){var n=e.$$typeof;if(n===X){t.tag=11,t=Ad(null,t,e,a,l);break e}else if(n===D){t.tag=14,t=Md(null,t,e,a,l);break e}}throw t=lt(e)||e,Error(r(306,t,""))}}return t;case 0:return Bs(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=Ta(a,t.pendingProps),Ud(e,t,a,n,l);case 3:e:{if(Ze(t,t.stateNode.containerInfo),e===null)throw Error(r(387));a=t.pendingProps;var i=t.memoizedState;n=i.element,os(e,t),si(t,a,null,l);var f=t.memoizedState;if(a=f.cache,Ul(t,ke,a),a!==i.cache&&is(t,[ke],l,!0),ci(),a=f.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=qd(e,t,a,l);break e}else if(a!==n){n=Lt(Error(r(424)),t),ti(n),t=qd(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(qe=Zt(e.firstChild),nt=t,ge=!0,Rl=null,Gt=!0,l=Oo(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(pa(),a===n){t=vl(e,t,l);break e}ut(e,t,a,l)}t=t.child}return t;case 26:return Cu(e,t),e===null?(l=$h(t.type,null,t.pendingProps,null))?t.memoizedState=l:ge||(l=t.type,e=t.pendingProps,a=ku(se.current).createElement(l),a[at]=t,a[yt]=e,ct(a,l,e),et(a),t.stateNode=a):t.memoizedState=$h(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return sa(t),e===null&&ge&&(a=t.stateNode=Jh(t.type,t.pendingProps,se.current),nt=t,Gt=!0,n=qe,Jl(t.type)?(zr=n,qe=Zt(a.firstChild)):qe=n),ut(e,t,t.pendingProps.children,l),Cu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ge&&((n=a=qe)&&(a=S0(a,t.type,t.pendingProps,Gt),a!==null?(t.stateNode=a,nt=t,qe=Zt(a.firstChild),Gt=!1,n=!0):n=!1),n||Dl(t)),sa(t),n=t.type,i=t.pendingProps,f=e!==null?e.memoizedProps:null,a=i.children,br(n,i)?a=null:f!==null&&br(n,f)&&(t.flags|=32),t.memoizedState!==null&&(n=gs(e,t,Hv,null,null,l),Mi._currentValue=n),Cu(e,t),ut(e,t,a,l),t.child;case 6:return e===null&&ge&&((e=l=qe)&&(l=j0(l,t.pendingProps,Gt),l!==null?(t.stateNode=l,nt=t,qe=null,e=!0):e=!1),e||Dl(t)),null;case 13:return Hd(e,t,l);case 4:return Ze(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Ea(t,null,a,l):ut(e,t,a,l),t.child;case 11:return Ad(e,t,t.type,t.pendingProps,l);case 7:return ut(e,t,t.pendingProps,l),t.child;case 8:return ut(e,t,t.pendingProps.children,l),t.child;case 12:return ut(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,Ul(t,t.type,a.value),ut(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,ba(t),n=it(n),a=a(n),t.flags|=1,ut(e,t,a,l),t.child;case 14:return Md(e,t,t.type,t.pendingProps,l);case 15:return Nd(e,t,t.type,t.pendingProps,l);case 19:return Bd(e,t,l);case 31:return Zv(e,t,l);case 22:return Od(e,t,l,t.pendingProps);case 24:return ba(t),a=it(ke),e===null?(n=ss(),n===null&&(n=De,i=us(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=l),n=i),t.memoizedState={parent:a,cache:n},fs(t),Ul(t,ke,n)):((e.lanes&l)!==0&&(os(e,t),si(t,null,null,l),ci()),n=e.memoizedState,i=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),Ul(t,ke,a)):(a=i.cache,Ul(t,ke,a),a!==n.cache&&is(t,[ke],l,!0))),ut(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function pl(e){e.flags|=4}function Ks(e,t,l,a,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(dh())e.flags|=8192;else throw ja=vu,rs}else e.flags&=-16777217}function Yd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!tm(t))if(dh())e.flags|=8192;else throw ja=vu,rs}function Du(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?gf():536870912,e.lanes|=t,yn|=t)}function mi(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function He(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function Kv(e,t,l){var a=t.pendingProps;switch(es(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return He(t),null;case 1:return He(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),hl(ke),Ue(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(tn(t)?pl(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ls())),He(t),null;case 26:var n=t.type,i=t.memoizedState;return e===null?(pl(t),i!==null?(He(t),Yd(t,i)):(He(t),Ks(t,n,null,a,l))):i?i!==e.memoizedState?(pl(t),He(t),Yd(t,i)):(He(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&pl(t),He(t),Ks(t,n,e,a,l)),null;case 27:if(Zi(t),l=se.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&pl(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return He(t),null}e=K.current,tn(t)?bo(t):(e=Jh(n,a,l),t.stateNode=e,pl(t))}return He(t),null;case 5:if(Zi(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&pl(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return He(t),null}if(i=K.current,tn(t))bo(t);else{var f=ku(se.current);switch(i){case 1:i=f.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=f.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=f.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=f.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=f.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?f.createElement(n,{is:a.is}):f.createElement(n)}}i[at]=t,i[yt]=a;e:for(f=t.child;f!==null;){if(f.tag===5||f.tag===6)i.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===t)break e;for(;f.sibling===null;){if(f.return===null||f.return===t)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}t.stateNode=i;e:switch(ct(i,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&pl(t)}}return He(t),Ks(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&pl(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(r(166));if(e=se.current,tn(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=nt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[at]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Hh(e.nodeValue,l)),e||Dl(t,!0)}else e=ku(e).createTextNode(a),e[at]=t,t.stateNode=e}return He(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=tn(t),l!==null){if(e===null){if(!a)throw Error(r(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[at]=t}else pa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;He(t),e=!1}else l=ls(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ot(t),t):(Ot(t),null);if((t.flags&128)!==0)throw Error(r(558))}return He(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=tn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(r(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[at]=t}else pa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;He(t),n=!1}else n=ls(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Ot(t),t):(Ot(t),null)}return Ot(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Du(t,t.updateQueue),He(t),null);case 4:return Ue(),e===null&&mr(t.stateNode.containerInfo),He(t),null;case 10:return hl(t.type),He(t),null;case 19:if(H(Ve),a=t.memoizedState,a===null)return He(t),null;if(n=(t.flags&128)!==0,i=a.rendering,i===null)if(n)mi(a,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=xu(e),i!==null){for(t.flags|=128,mi(a,!1),e=i.updateQueue,t.updateQueue=e,Du(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)mo(l,e),l=l.sibling;return w(Ve,Ve.current&1|2),ge&&ol(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&zt()>Bu&&(t.flags|=128,n=!0,mi(a,!1),t.lanes=4194304)}else{if(!n)if(e=xu(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Du(t,e),mi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!ge)return He(t),null}else 2*zt()-a.renderingStartTime>Bu&&l!==536870912&&(t.flags|=128,n=!0,mi(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=zt(),e.sibling=null,l=Ve.current,w(Ve,n?l&1|2:l&1),ge&&ol(t,a.treeForkCount),e):(He(t),null);case 22:case 23:return Ot(t),ys(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(He(t),t.subtreeFlags&6&&(t.flags|=8192)):He(t),l=t.updateQueue,l!==null&&Du(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&H(xa),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),hl(ke),He(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function Jv(e,t){switch(es(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return hl(ke),Ue(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Zi(t),null;case 31:if(t.memoizedState!==null){if(Ot(t),t.alternate===null)throw Error(r(340));pa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ot(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));pa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(Ve),null;case 4:return Ue(),null;case 10:return hl(t.type),null;case 22:case 23:return Ot(t),ys(),e!==null&&H(xa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return hl(ke),null;case 25:return null;default:return null}}function wd(e,t){switch(es(t),t.tag){case 3:hl(ke),Ue();break;case 26:case 27:case 5:Zi(t);break;case 4:Ue();break;case 31:t.memoizedState!==null&&Ot(t);break;case 13:Ot(t);break;case 19:H(Ve);break;case 10:hl(t.type);break;case 22:case 23:Ot(t),ys(),e!==null&&H(xa);break;case 24:hl(ke)}}function yi(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var i=l.create,f=l.inst;a=i(),f.destroy=a}l=l.next}while(l!==n)}}catch(d){Ne(t,t.return,d)}}function Yl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&e)===e){var f=a.inst,d=f.destroy;if(d!==void 0){f.destroy=void 0,n=t;var m=l,z=d;try{z()}catch(R){Ne(n,m,R)}}}a=a.next}while(a!==i)}}catch(R){Ne(t,t.return,R)}}function Gd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Ro(t,l)}catch(a){Ne(e,e.return,a)}}}function Xd(e,t,l){l.props=Ta(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ne(e,t,a)}}function vi(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){Ne(e,t,n)}}function tl(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Ne(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Ne(e,t,n)}else l.current=null}function Zd(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Ne(e,e.return,n)}}function Js(e,t,l){try{var a=e.stateNode;y0(a,e.type,l,t),a[yt]=t}catch(n){Ne(e,e.return,n)}}function Vd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Jl(e.type)||e.tag===4}function ks(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Jl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Fs(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=sl));else if(a!==4&&(a===27&&Jl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Fs(e,t,l),e=e.sibling;e!==null;)Fs(e,t,l),e=e.sibling}function Uu(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Jl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Uu(e,t,l),e=e.sibling;e!==null;)Uu(e,t,l),e=e.sibling}function Kd(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);ct(t,a,l),t[at]=e,t[yt]=l}catch(i){Ne(e,e.return,i)}}var gl=!1,We=!1,$s=!1,Jd=typeof WeakSet=="function"?WeakSet:Set,tt=null;function kv(e,t){if(e=e.containerInfo,pr=tc,e=no(e),Xc(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break e}var f=0,d=-1,m=-1,z=0,R=0,q=e,_=null;t:for(;;){for(var O;q!==l||n!==0&&q.nodeType!==3||(d=f+n),q!==i||a!==0&&q.nodeType!==3||(m=f+a),q.nodeType===3&&(f+=q.nodeValue.length),(O=q.firstChild)!==null;)_=q,q=O;for(;;){if(q===e)break t;if(_===l&&++z===n&&(d=f),_===i&&++R===a&&(m=f),(O=q.nextSibling)!==null)break;q=_,_=q.parentNode}q=O}l=d===-1||m===-1?null:{start:d,end:m}}else l=null}l=l||{start:0,end:0}}else l=null;for(gr={focusedElem:e,selectionRange:l},tc=!1,tt=t;tt!==null;)if(t=tt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,tt=e;else for(;tt!==null;){switch(t=tt,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)n=e[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,l=t,n=i.memoizedProps,i=i.memoizedState,a=l.stateNode;try{var $=Ta(l.type,n);e=a.getSnapshotBeforeUpdate($,i),a.__reactInternalSnapshotBeforeUpdate=e}catch(ae){Ne(l,l.return,ae)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Sr(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Sr(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,tt=e;break}tt=t.return}}function kd(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:xl(e,l),a&4&&yi(5,l);break;case 1:if(xl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(f){Ne(l,l.return,f)}else{var n=Ta(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ne(l,l.return,f)}}a&64&&Gd(l),a&512&&vi(l,l.return);break;case 3:if(xl(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Ro(e,t)}catch(f){Ne(l,l.return,f)}}break;case 27:t===null&&a&4&&Kd(l);case 26:case 5:xl(e,l),t===null&&a&4&&Zd(l),a&512&&vi(l,l.return);break;case 12:xl(e,l);break;case 31:xl(e,l),a&4&&Wd(e,l);break;case 13:xl(e,l),a&4&&Id(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=a0.bind(null,l),E0(e,l))));break;case 22:if(a=l.memoizedState!==null||gl,!a){t=t!==null&&t.memoizedState!==null||We,n=gl;var i=We;gl=a,(We=t)&&!i?Sl(e,l,(l.subtreeFlags&8772)!==0):xl(e,l),gl=n,We=i}break;case 30:break;default:xl(e,l)}}function Fd(e){var t=e.alternate;t!==null&&(e.alternate=null,Fd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&_c(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Le=null,pt=!1;function bl(e,t,l){for(l=l.child;l!==null;)$d(e,t,l),l=l.sibling}function $d(e,t,l){if(Tt&&typeof Tt.onCommitFiberUnmount=="function")try{Tt.onCommitFiberUnmount(Yn,l)}catch{}switch(l.tag){case 26:We||tl(l,t),bl(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:We||tl(l,t);var a=Le,n=pt;Jl(l.type)&&(Le=l.stateNode,pt=!1),bl(e,t,l),Ti(l.stateNode),Le=a,pt=n;break;case 5:We||tl(l,t);case 6:if(a=Le,n=pt,Le=null,bl(e,t,l),Le=a,pt=n,Le!==null)if(pt)try{(Le.nodeType===9?Le.body:Le.nodeName==="HTML"?Le.ownerDocument.body:Le).removeChild(l.stateNode)}catch(i){Ne(l,t,i)}else try{Le.removeChild(l.stateNode)}catch(i){Ne(l,t,i)}break;case 18:Le!==null&&(pt?(e=Le,Gh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),En(e)):Gh(Le,l.stateNode));break;case 4:a=Le,n=pt,Le=l.stateNode.containerInfo,pt=!0,bl(e,t,l),Le=a,pt=n;break;case 0:case 11:case 14:case 15:Yl(2,l,t),We||Yl(4,l,t),bl(e,t,l);break;case 1:We||(tl(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Xd(l,t,a)),bl(e,t,l);break;case 21:bl(e,t,l);break;case 22:We=(a=We)||l.memoizedState!==null,bl(e,t,l),We=a;break;default:bl(e,t,l)}}function Wd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{En(e)}catch(l){Ne(t,t.return,l)}}}function Id(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{En(e)}catch(l){Ne(t,t.return,l)}}function Fv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Jd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Jd),t;default:throw Error(r(435,e.tag))}}function qu(e,t){var l=Fv(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var n=n0.bind(null,e,a);a.then(n,n)}})}function gt(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],i=e,f=t,d=f;e:for(;d!==null;){switch(d.tag){case 27:if(Jl(d.type)){Le=d.stateNode,pt=!1;break e}break;case 5:Le=d.stateNode,pt=!1;break e;case 3:case 4:Le=d.stateNode.containerInfo,pt=!0;break e}d=d.return}if(Le===null)throw Error(r(160));$d(i,f,n),Le=null,pt=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Pd(t,e),t=t.sibling}var kt=null;function Pd(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:gt(t,e),bt(e),a&4&&(Yl(3,e,e.return),yi(3,e),Yl(5,e,e.return));break;case 1:gt(t,e),bt(e),a&512&&(We||l===null||tl(l,l.return)),a&64&&gl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=kt;if(gt(t,e),bt(e),a&512&&(We||l===null||tl(l,l.return)),a&4){var i=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":i=n.getElementsByTagName("title")[0],(!i||i[Xn]||i[at]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(a),n.head.insertBefore(i,n.querySelector("head > title"))),ct(i,a,l),i[at]=e,et(i),a=i;break e;case"link":var f=Ph("link","href",n).get(a+(l.href||""));if(f){for(var d=0;d<f.length;d++)if(i=f[d],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(d,1);break t}}i=n.createElement(a),ct(i,a,l),n.head.appendChild(i);break;case"meta":if(f=Ph("meta","content",n).get(a+(l.content||""))){for(d=0;d<f.length;d++)if(i=f[d],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(d,1);break t}}i=n.createElement(a),ct(i,a,l),n.head.appendChild(i);break;default:throw Error(r(468,a))}i[at]=e,et(i),a=i}e.stateNode=a}else em(n,e.type,e.stateNode);else e.stateNode=Ih(n,a,e.memoizedProps);else i!==a?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,a===null?em(n,e.type,e.stateNode):Ih(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Js(e,e.memoizedProps,l.memoizedProps)}break;case 27:gt(t,e),bt(e),a&512&&(We||l===null||tl(l,l.return)),l!==null&&a&4&&Js(e,e.memoizedProps,l.memoizedProps);break;case 5:if(gt(t,e),bt(e),a&512&&(We||l===null||tl(l,l.return)),e.flags&32){n=e.stateNode;try{Va(n,"")}catch($){Ne(e,e.return,$)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,Js(e,n,l!==null?l.memoizedProps:n)),a&1024&&($s=!0);break;case 6:if(gt(t,e),bt(e),a&4){if(e.stateNode===null)throw Error(r(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch($){Ne(e,e.return,$)}}break;case 3:if(Wu=null,n=kt,kt=Fu(t.containerInfo),gt(t,e),kt=n,bt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{En(t.containerInfo)}catch($){Ne(e,e.return,$)}$s&&($s=!1,eh(e));break;case 4:a=kt,kt=Fu(e.stateNode.containerInfo),gt(t,e),bt(e),kt=a;break;case 12:gt(t,e),bt(e);break;case 31:gt(t,e),bt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,qu(e,a)));break;case 13:gt(t,e),bt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Qu=zt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,qu(e,a)));break;case 22:n=e.memoizedState!==null;var m=l!==null&&l.memoizedState!==null,z=gl,R=We;if(gl=z||n,We=R||m,gt(t,e),We=R,gl=z,bt(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||m||gl||We||_a(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){m=l=t;try{if(i=m.stateNode,n)f=i.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{d=m.stateNode;var q=m.memoizedProps.style,_=q!=null&&q.hasOwnProperty("display")?q.display:null;d.style.display=_==null||typeof _=="boolean"?"":(""+_).trim()}}catch($){Ne(m,m.return,$)}}}else if(t.tag===6){if(l===null){m=t;try{m.stateNode.nodeValue=n?"":m.memoizedProps}catch($){Ne(m,m.return,$)}}}else if(t.tag===18){if(l===null){m=t;try{var O=m.stateNode;n?Xh(O,!0):Xh(m.stateNode,!1)}catch($){Ne(m,m.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,qu(e,l))));break;case 19:gt(t,e),bt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,qu(e,a)));break;case 30:break;case 21:break;default:gt(t,e),bt(e)}}function bt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Vd(a)){l=a;break}a=a.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var n=l.stateNode,i=ks(e);Uu(e,i,n);break;case 5:var f=l.stateNode;l.flags&32&&(Va(f,""),l.flags&=-33);var d=ks(e);Uu(e,d,f);break;case 3:case 4:var m=l.stateNode.containerInfo,z=ks(e);Fs(e,z,m);break;default:throw Error(r(161))}}catch(R){Ne(e,e.return,R)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function eh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;eh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function xl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)kd(e,t.alternate,t),t=t.sibling}function _a(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Yl(4,t,t.return),_a(t);break;case 1:tl(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Xd(t,t.return,l),_a(t);break;case 27:Ti(t.stateNode);case 26:case 5:tl(t,t.return),_a(t);break;case 22:t.memoizedState===null&&_a(t);break;case 30:_a(t);break;default:_a(t)}e=e.sibling}}function Sl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,i=t,f=i.flags;switch(i.tag){case 0:case 11:case 15:Sl(n,i,l),yi(4,i);break;case 1:if(Sl(n,i,l),a=i,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(z){Ne(a,a.return,z)}if(a=i,n=a.updateQueue,n!==null){var d=a.stateNode;try{var m=n.shared.hiddenCallbacks;if(m!==null)for(n.shared.hiddenCallbacks=null,n=0;n<m.length;n++)Co(m[n],d)}catch(z){Ne(a,a.return,z)}}l&&f&64&&Gd(i),vi(i,i.return);break;case 27:Kd(i);case 26:case 5:Sl(n,i,l),l&&a===null&&f&4&&Zd(i),vi(i,i.return);break;case 12:Sl(n,i,l);break;case 31:Sl(n,i,l),l&&f&4&&Wd(n,i);break;case 13:Sl(n,i,l),l&&f&4&&Id(n,i);break;case 22:i.memoizedState===null&&Sl(n,i,l),vi(i,i.return);break;case 30:break;default:Sl(n,i,l)}t=t.sibling}}function Ws(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&li(l))}function Is(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&li(e))}function Ft(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)th(e,t,l,a),t=t.sibling}function th(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Ft(e,t,l,a),n&2048&&yi(9,t);break;case 1:Ft(e,t,l,a);break;case 3:Ft(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&li(e)));break;case 12:if(n&2048){Ft(e,t,l,a),e=t.stateNode;try{var i=t.memoizedProps,f=i.id,d=i.onPostCommit;typeof d=="function"&&d(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(m){Ne(t,t.return,m)}}else Ft(e,t,l,a);break;case 31:Ft(e,t,l,a);break;case 13:Ft(e,t,l,a);break;case 23:break;case 22:i=t.stateNode,f=t.alternate,t.memoizedState!==null?i._visibility&2?Ft(e,t,l,a):pi(e,t):i._visibility&2?Ft(e,t,l,a):(i._visibility|=2,dn(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Ws(f,t);break;case 24:Ft(e,t,l,a),n&2048&&Is(t.alternate,t);break;default:Ft(e,t,l,a)}}function dn(e,t,l,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,f=t,d=l,m=a,z=f.flags;switch(f.tag){case 0:case 11:case 15:dn(i,f,d,m,n),yi(8,f);break;case 23:break;case 22:var R=f.stateNode;f.memoizedState!==null?R._visibility&2?dn(i,f,d,m,n):pi(i,f):(R._visibility|=2,dn(i,f,d,m,n)),n&&z&2048&&Ws(f.alternate,f);break;case 24:dn(i,f,d,m,n),n&&z&2048&&Is(f.alternate,f);break;default:dn(i,f,d,m,n)}t=t.sibling}}function pi(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:pi(l,a),n&2048&&Ws(a.alternate,a);break;case 24:pi(l,a),n&2048&&Is(a.alternate,a);break;default:pi(l,a)}t=t.sibling}}var gi=8192;function hn(e,t,l){if(e.subtreeFlags&gi)for(e=e.child;e!==null;)lh(e,t,l),e=e.sibling}function lh(e,t,l){switch(e.tag){case 26:hn(e,t,l),e.flags&gi&&e.memoizedState!==null&&q0(l,kt,e.memoizedState,e.memoizedProps);break;case 5:hn(e,t,l);break;case 3:case 4:var a=kt;kt=Fu(e.stateNode.containerInfo),hn(e,t,l),kt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=gi,gi=16777216,hn(e,t,l),gi=a):hn(e,t,l));break;default:hn(e,t,l)}}function ah(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function bi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];tt=a,ih(a,e)}ah(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)nh(e),e=e.sibling}function nh(e){switch(e.tag){case 0:case 11:case 15:bi(e),e.flags&2048&&Yl(9,e,e.return);break;case 3:bi(e);break;case 12:bi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Hu(e)):bi(e);break;default:bi(e)}}function Hu(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];tt=a,ih(a,e)}ah(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Yl(8,t,t.return),Hu(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,Hu(t));break;default:Hu(t)}e=e.sibling}}function ih(e,t){for(;tt!==null;){var l=tt;switch(l.tag){case 0:case 11:case 15:Yl(8,l,t);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:li(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,tt=a;else e:for(l=e;tt!==null;){a=tt;var n=a.sibling,i=a.return;if(Fd(a),a===l){tt=null;break e}if(n!==null){n.return=i,tt=n;break e}tt=i}}}var $v={getCacheForType:function(e){var t=it(ke),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return it(ke).controller.signal}},Wv=typeof WeakMap=="function"?WeakMap:Map,_e=0,De=null,de=null,me=0,Me=0,Ct=null,wl=!1,mn=!1,Ps=!1,jl=0,Ge=0,Gl=0,Aa=0,er=0,Rt=0,yn=0,xi=null,xt=null,tr=!1,Qu=0,uh=0,Bu=1/0,Lu=null,Xl=null,Ie=0,Zl=null,vn=null,El=0,lr=0,ar=null,ch=null,Si=0,nr=null;function Dt(){return(_e&2)!==0&&me!==0?me&-me:C.T!==null?fr():jf()}function sh(){if(Rt===0)if((me&536870912)===0||ge){var e=Ji;Ji<<=1,(Ji&3932160)===0&&(Ji=262144),Rt=e}else Rt=536870912;return e=Nt.current,e!==null&&(e.flags|=32),Rt}function St(e,t,l){(e===De&&(Me===2||Me===9)||e.cancelPendingCommit!==null)&&(pn(e,0),Vl(e,me,Rt,!1)),Gn(e,l),((_e&2)===0||e!==De)&&(e===De&&((_e&2)===0&&(Aa|=l),Ge===4&&Vl(e,me,Rt,!1)),ll(e))}function rh(e,t,l){if((_e&6)!==0)throw Error(r(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||wn(e,t),n=a?e0(e,t):ur(e,t,!0),i=a;do{if(n===0){mn&&!a&&Vl(e,t,0,!1);break}else{if(l=e.current.alternate,i&&!Iv(l)){n=ur(e,t,!1),i=!1;continue}if(n===2){if(i=t,e.errorRecoveryDisabledLanes&i)var f=0;else f=e.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){t=f;e:{var d=e;n=xi;var m=d.current.memoizedState.isDehydrated;if(m&&(pn(d,f).flags|=256),f=ur(d,f,!1),f!==2){if(Ps&&!m){d.errorRecoveryDisabledLanes|=i,Aa|=i,n=4;break e}i=xt,xt=n,i!==null&&(xt===null?xt=i:xt.push.apply(xt,i))}n=f}if(i=!1,n!==2)continue}}if(n===1){pn(e,0),Vl(e,t,0,!0);break}e:{switch(a=e,i=n,i){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:Vl(a,t,Rt,!wl);break e;case 2:xt=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(n=Qu+300-zt(),10<n)){if(Vl(a,t,Rt,!wl),Fi(a,0,!0)!==0)break e;El=t,a.timeoutHandle=Yh(fh.bind(null,a,l,xt,Lu,tr,t,Rt,Aa,yn,wl,i,"Throttled",-0,0),n);break e}fh(a,l,xt,Lu,tr,t,Rt,Aa,yn,wl,i,null,-0,0)}}break}while(!0);ll(e)}function fh(e,t,l,a,n,i,f,d,m,z,R,q,_,O){if(e.timeoutHandle=-1,q=t.subtreeFlags,q&8192||(q&16785408)===16785408){q={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sl},lh(t,i,q);var $=(i&62914560)===i?Qu-zt():(i&4194048)===i?uh-zt():0;if($=H0(q,$),$!==null){El=i,e.cancelPendingCommit=$(gh.bind(null,e,t,i,l,a,n,f,d,m,R,q,null,_,O)),Vl(e,i,f,!z);return}}gh(e,t,i,l,a,n,f,d,m)}function Iv(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],i=n.getSnapshot;n=n.value;try{if(!At(i(),n))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Vl(e,t,l,a){t&=~er,t&=~Aa,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var i=31-_t(n),f=1<<i;a[i]=-1,n&=~f}l!==0&&bf(e,l,t)}function Yu(){return(_e&6)===0?(ji(0),!1):!0}function ir(){if(de!==null){if(Me===0)var e=de.return;else e=de,dl=ga=null,Ss(e),cn=null,ni=0,e=de;for(;e!==null;)wd(e.alternate,e),e=e.return;de=null}}function pn(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,g0(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),El=0,ir(),De=e,de=l=fl(e.current,null),me=t,Me=0,Ct=null,wl=!1,mn=wn(e,t),Ps=!1,yn=Rt=er=Aa=Gl=Ge=0,xt=xi=null,tr=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-_t(a),i=1<<n;t|=e[n],a&=~i}return jl=t,cu(),l}function oh(e,t){re=null,C.H=di,t===un||t===yu?(t=Ao(),Me=3):t===rs?(t=Ao(),Me=4):Me=t===Qs?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ct=t,de===null&&(Ge=1,Nu(e,Lt(t,e.current)))}function dh(){var e=Nt.current;return e===null?!0:(me&4194048)===me?Xt===null:(me&62914560)===me||(me&536870912)!==0?e===Xt:!1}function hh(){var e=C.H;return C.H=di,e===null?di:e}function mh(){var e=C.A;return C.A=$v,e}function wu(){Ge=4,wl||(me&4194048)!==me&&Nt.current!==null||(mn=!0),(Gl&134217727)===0&&(Aa&134217727)===0||De===null||Vl(De,me,Rt,!1)}function ur(e,t,l){var a=_e;_e|=2;var n=hh(),i=mh();(De!==e||me!==t)&&(Lu=null,pn(e,t)),t=!1;var f=Ge;e:do try{if(Me!==0&&de!==null){var d=de,m=Ct;switch(Me){case 8:ir(),f=6;break e;case 3:case 2:case 9:case 6:Nt.current===null&&(t=!0);var z=Me;if(Me=0,Ct=null,gn(e,d,m,z),l&&mn){f=0;break e}break;default:z=Me,Me=0,Ct=null,gn(e,d,m,z)}}Pv(),f=Ge;break}catch(R){oh(e,R)}while(!0);return t&&e.shellSuspendCounter++,dl=ga=null,_e=a,C.H=n,C.A=i,de===null&&(De=null,me=0,cu()),f}function Pv(){for(;de!==null;)yh(de)}function e0(e,t){var l=_e;_e|=2;var a=hh(),n=mh();De!==e||me!==t?(Lu=null,Bu=zt()+500,pn(e,t)):mn=wn(e,t);e:do try{if(Me!==0&&de!==null){t=de;var i=Ct;t:switch(Me){case 1:Me=0,Ct=null,gn(e,t,i,1);break;case 2:case 9:if(To(i)){Me=0,Ct=null,vh(t);break}t=function(){Me!==2&&Me!==9||De!==e||(Me=7),ll(e)},i.then(t,t);break e;case 3:Me=7;break e;case 4:Me=5;break e;case 7:To(i)?(Me=0,Ct=null,vh(t)):(Me=0,Ct=null,gn(e,t,i,7));break;case 5:var f=null;switch(de.tag){case 26:f=de.memoizedState;case 5:case 27:var d=de;if(f?tm(f):d.stateNode.complete){Me=0,Ct=null;var m=d.sibling;if(m!==null)de=m;else{var z=d.return;z!==null?(de=z,Gu(z)):de=null}break t}}Me=0,Ct=null,gn(e,t,i,5);break;case 6:Me=0,Ct=null,gn(e,t,i,6);break;case 8:ir(),Ge=6;break e;default:throw Error(r(462))}}t0();break}catch(R){oh(e,R)}while(!0);return dl=ga=null,C.H=a,C.A=n,_e=l,de!==null?0:(De=null,me=0,cu(),Ge)}function t0(){for(;de!==null&&!zy();)yh(de)}function yh(e){var t=Ld(e.alternate,e,jl);e.memoizedProps=e.pendingProps,t===null?Gu(e):de=t}function vh(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=Dd(l,t,t.pendingProps,t.type,void 0,me);break;case 11:t=Dd(l,t,t.pendingProps,t.type.render,t.ref,me);break;case 5:Ss(t);default:wd(l,t),t=de=mo(t,jl),t=Ld(l,t,jl)}e.memoizedProps=e.pendingProps,t===null?Gu(e):de=t}function gn(e,t,l,a){dl=ga=null,Ss(t),cn=null,ni=0;var n=t.return;try{if(Xv(e,n,t,l,me)){Ge=1,Nu(e,Lt(l,e.current)),de=null;return}}catch(i){if(n!==null)throw de=n,i;Ge=1,Nu(e,Lt(l,e.current)),de=null;return}t.flags&32768?(ge||a===1?e=!0:mn||(me&536870912)!==0?e=!1:(wl=e=!0,(a===2||a===9||a===3||a===6)&&(a=Nt.current,a!==null&&a.tag===13&&(a.flags|=16384))),ph(t,e)):Gu(t)}function Gu(e){var t=e;do{if((t.flags&32768)!==0){ph(t,wl);return}e=t.return;var l=Kv(t.alternate,t,jl);if(l!==null){de=l;return}if(t=t.sibling,t!==null){de=t;return}de=t=e}while(t!==null);Ge===0&&(Ge=5)}function ph(e,t){do{var l=Jv(e.alternate,e);if(l!==null){l.flags&=32767,de=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){de=e;return}de=e=l}while(e!==null);Ge=6,de=null}function gh(e,t,l,a,n,i,f,d,m){e.cancelPendingCommit=null;do Xu();while(Ie!==0);if((_e&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,i|=kc,Uy(e,l,i,f,d,m),e===De&&(de=De=null,me=0),vn=t,Zl=e,El=l,lr=i,ar=n,ch=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,i0(Vi,function(){return Eh(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=C.T,C.T=null,n=Q.p,Q.p=2,f=_e,_e|=4;try{kv(e,t,l)}finally{_e=f,Q.p=n,C.T=a}}Ie=1,bh(),xh(),Sh()}}function bh(){if(Ie===1){Ie=0;var e=Zl,t=vn,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=C.T,C.T=null;var a=Q.p;Q.p=2;var n=_e;_e|=4;try{Pd(t,e);var i=gr,f=no(e.containerInfo),d=i.focusedElem,m=i.selectionRange;if(f!==d&&d&&d.ownerDocument&&ao(d.ownerDocument.documentElement,d)){if(m!==null&&Xc(d)){var z=m.start,R=m.end;if(R===void 0&&(R=z),"selectionStart"in d)d.selectionStart=z,d.selectionEnd=Math.min(R,d.value.length);else{var q=d.ownerDocument||document,_=q&&q.defaultView||window;if(_.getSelection){var O=_.getSelection(),$=d.textContent.length,ae=Math.min(m.start,$),Re=m.end===void 0?ae:Math.min(m.end,$);!O.extend&&ae>Re&&(f=Re,Re=ae,ae=f);var x=lo(d,ae),v=lo(d,Re);if(x&&v&&(O.rangeCount!==1||O.anchorNode!==x.node||O.anchorOffset!==x.offset||O.focusNode!==v.node||O.focusOffset!==v.offset)){var E=q.createRange();E.setStart(x.node,x.offset),O.removeAllRanges(),ae>Re?(O.addRange(E),O.extend(v.node,v.offset)):(E.setEnd(v.node,v.offset),O.addRange(E))}}}}for(q=[],O=d;O=O.parentNode;)O.nodeType===1&&q.push({element:O,left:O.scrollLeft,top:O.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<q.length;d++){var U=q[d];U.element.scrollLeft=U.left,U.element.scrollTop=U.top}}tc=!!pr,gr=pr=null}finally{_e=n,Q.p=a,C.T=l}}e.current=t,Ie=2}}function xh(){if(Ie===2){Ie=0;var e=Zl,t=vn,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=C.T,C.T=null;var a=Q.p;Q.p=2;var n=_e;_e|=4;try{kd(e,t.alternate,t)}finally{_e=n,Q.p=a,C.T=l}}Ie=3}}function Sh(){if(Ie===4||Ie===3){Ie=0,Ty();var e=Zl,t=vn,l=El,a=ch;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ie=5:(Ie=0,vn=Zl=null,jh(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Xl=null),zc(l),t=t.stateNode,Tt&&typeof Tt.onCommitFiberRoot=="function")try{Tt.onCommitFiberRoot(Yn,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=C.T,n=Q.p,Q.p=2,C.T=null;try{for(var i=e.onRecoverableError,f=0;f<a.length;f++){var d=a[f];i(d.value,{componentStack:d.stack})}}finally{C.T=t,Q.p=n}}(El&3)!==0&&Xu(),ll(e),n=e.pendingLanes,(l&261930)!==0&&(n&42)!==0?e===nr?Si++:(Si=0,nr=e):Si=0,ji(0)}}function jh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,li(t)))}function Xu(){return bh(),xh(),Sh(),Eh()}function Eh(){if(Ie!==5)return!1;var e=Zl,t=lr;lr=0;var l=zc(El),a=C.T,n=Q.p;try{Q.p=32>l?32:l,C.T=null,l=ar,ar=null;var i=Zl,f=El;if(Ie=0,vn=Zl=null,El=0,(_e&6)!==0)throw Error(r(331));var d=_e;if(_e|=4,nh(i.current),th(i,i.current,f,l),_e=d,ji(0,!1),Tt&&typeof Tt.onPostCommitFiberRoot=="function")try{Tt.onPostCommitFiberRoot(Yn,i)}catch{}return!0}finally{Q.p=n,C.T=a,jh(e,t)}}function zh(e,t,l){t=Lt(l,t),t=Hs(e.stateNode,t,2),e=Ql(e,t,2),e!==null&&(Gn(e,2),ll(e))}function Ne(e,t,l){if(e.tag===3)zh(e,e,l);else for(;t!==null;){if(t.tag===3){zh(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Xl===null||!Xl.has(a))){e=Lt(l,e),l=Td(2),a=Ql(t,l,2),a!==null&&(_d(l,a,t,e),Gn(a,2),ll(a));break}}t=t.return}}function cr(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new Wv;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(Ps=!0,n.add(l),e=l0.bind(null,e,t,l),t.then(e,e))}function l0(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,De===e&&(me&l)===l&&(Ge===4||Ge===3&&(me&62914560)===me&&300>zt()-Qu?(_e&2)===0&&pn(e,0):er|=l,yn===me&&(yn=0)),ll(e)}function Th(e,t){t===0&&(t=gf()),e=ya(e,t),e!==null&&(Gn(e,t),ll(e))}function a0(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Th(e,l)}function n0(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(t),Th(e,l)}function i0(e,t){return xc(e,t)}var Zu=null,bn=null,sr=!1,Vu=!1,rr=!1,Kl=0;function ll(e){e!==bn&&e.next===null&&(bn===null?Zu=bn=e:bn=bn.next=e),Vu=!0,sr||(sr=!0,c0())}function ji(e,t){if(!rr&&Vu){rr=!0;do for(var l=!1,a=Zu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var i=0;else{var f=a.suspendedLanes,d=a.pingedLanes;i=(1<<31-_t(42|e)+1)-1,i&=n&~(f&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,Nh(a,i))}else i=me,i=Fi(a,a===De?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||wn(a,i)||(l=!0,Nh(a,i));a=a.next}while(l);rr=!1}}function u0(){_h()}function _h(){Vu=sr=!1;var e=0;Kl!==0&&p0()&&(e=Kl);for(var t=zt(),l=null,a=Zu;a!==null;){var n=a.next,i=Ah(a,t);i===0?(a.next=null,l===null?Zu=n:l.next=n,n===null&&(bn=l)):(l=a,(e!==0||(i&3)!==0)&&(Vu=!0)),a=n}Ie!==0&&Ie!==5||ji(e),Kl!==0&&(Kl=0)}function Ah(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var f=31-_t(i),d=1<<f,m=n[f];m===-1?((d&l)===0||(d&a)!==0)&&(n[f]=Dy(d,t)):m<=t&&(e.expiredLanes|=d),i&=~d}if(t=De,l=me,l=Fi(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(Me===2||Me===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Sc(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||wn(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Sc(a),zc(l)){case 2:case 8:l=vf;break;case 32:l=Vi;break;case 268435456:l=pf;break;default:l=Vi}return a=Mh.bind(null,e),l=xc(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Sc(a),e.callbackPriority=2,e.callbackNode=null,2}function Mh(e,t){if(Ie!==0&&Ie!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Xu()&&e.callbackNode!==l)return null;var a=me;return a=Fi(e,e===De?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(rh(e,a,t),Ah(e,zt()),e.callbackNode!=null&&e.callbackNode===l?Mh.bind(null,e):null)}function Nh(e,t){if(Xu())return null;rh(e,t,!0)}function c0(){b0(function(){(_e&6)!==0?xc(yf,u0):_h()})}function fr(){if(Kl===0){var e=an;e===0&&(e=Ki,Ki<<=1,(Ki&261888)===0&&(Ki=256)),Kl=e}return Kl}function Oh(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Pi(""+e)}function Ch(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function s0(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var i=Oh((n[yt]||null).action),f=a.submitter;f&&(t=(t=f[yt]||null)?Oh(t.formAction):f.getAttribute("formAction"),t!==null&&(i=t,f=null));var d=new au("action","action",null,a,n);e.push({event:d,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Kl!==0){var m=f?Ch(n,f):new FormData(n);Os(l,{pending:!0,data:m,method:n.method,action:i},null,m)}}else typeof i=="function"&&(d.preventDefault(),m=f?Ch(n,f):new FormData(n),Os(l,{pending:!0,data:m,method:n.method,action:i},i,m))},currentTarget:n}]})}}for(var or=0;or<Jc.length;or++){var dr=Jc[or],r0=dr.toLowerCase(),f0=dr[0].toUpperCase()+dr.slice(1);Jt(r0,"on"+f0)}Jt(co,"onAnimationEnd"),Jt(so,"onAnimationIteration"),Jt(ro,"onAnimationStart"),Jt("dblclick","onDoubleClick"),Jt("focusin","onFocus"),Jt("focusout","onBlur"),Jt(_v,"onTransitionRun"),Jt(Av,"onTransitionStart"),Jt(Mv,"onTransitionCancel"),Jt(fo,"onTransitionEnd"),Xa("onMouseEnter",["mouseout","mouseover"]),Xa("onMouseLeave",["mouseout","mouseover"]),Xa("onPointerEnter",["pointerout","pointerover"]),Xa("onPointerLeave",["pointerout","pointerover"]),oa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),oa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),oa("onBeforeInput",["compositionend","keypress","textInput","paste"]),oa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),oa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),oa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ei="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(" "),o0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ei));function Rh(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var f=a.length-1;0<=f;f--){var d=a[f],m=d.instance,z=d.currentTarget;if(d=d.listener,m!==i&&n.isPropagationStopped())break e;i=d,n.currentTarget=z;try{i(n)}catch(R){uu(R)}n.currentTarget=null,i=m}else for(f=0;f<a.length;f++){if(d=a[f],m=d.instance,z=d.currentTarget,d=d.listener,m!==i&&n.isPropagationStopped())break e;i=d,n.currentTarget=z;try{i(n)}catch(R){uu(R)}n.currentTarget=null,i=m}}}}function he(e,t){var l=t[Tc];l===void 0&&(l=t[Tc]=new Set);var a=e+"__bubble";l.has(a)||(Dh(t,e,2,!1),l.add(a))}function hr(e,t,l){var a=0;t&&(a|=4),Dh(l,e,a,t)}var Ku="_reactListening"+Math.random().toString(36).slice(2);function mr(e){if(!e[Ku]){e[Ku]=!0,Tf.forEach(function(l){l!=="selectionchange"&&(o0.has(l)||hr(l,!1,e),hr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ku]||(t[Ku]=!0,hr("selectionchange",!1,t))}}function Dh(e,t,l,a){switch(sm(t)){case 2:var n=L0;break;case 8:n=Y0;break;default:n=Nr}l=n.bind(null,t,l,e),n=void 0,!Uc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function yr(e,t,l,a,n){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var d=a.stateNode.containerInfo;if(d===n)break;if(f===4)for(f=a.return;f!==null;){var m=f.tag;if((m===3||m===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;d!==null;){if(f=Ya(d),f===null)return;if(m=f.tag,m===5||m===6||m===26||m===27){a=i=f;continue e}d=d.parentNode}}a=a.return}Qf(function(){var z=i,R=Rc(l),q=[];e:{var _=oo.get(e);if(_!==void 0){var O=au,$=e;switch(e){case"keypress":if(tu(l)===0)break e;case"keydown":case"keyup":O=nv;break;case"focusin":$="focus",O=Bc;break;case"focusout":$="blur",O=Bc;break;case"beforeblur":case"afterblur":O=Bc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":O=Yf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":O=Ky;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":O=cv;break;case co:case so:case ro:O=Fy;break;case fo:O=rv;break;case"scroll":case"scrollend":O=Zy;break;case"wheel":O=ov;break;case"copy":case"cut":case"paste":O=Wy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":O=Gf;break;case"toggle":case"beforetoggle":O=hv}var ae=(t&4)!==0,Re=!ae&&(e==="scroll"||e==="scrollend"),x=ae?_!==null?_+"Capture":null:_;ae=[];for(var v=z,E;v!==null;){var U=v;if(E=U.stateNode,U=U.tag,U!==5&&U!==26&&U!==27||E===null||x===null||(U=Vn(v,x),U!=null&&ae.push(zi(v,U,E))),Re)break;v=v.return}0<ae.length&&(_=new O(_,$,null,l,R),q.push({event:_,listeners:ae}))}}if((t&7)===0){e:{if(_=e==="mouseover"||e==="pointerover",O=e==="mouseout"||e==="pointerout",_&&l!==Cc&&($=l.relatedTarget||l.fromElement)&&(Ya($)||$[La]))break e;if((O||_)&&(_=R.window===R?R:(_=R.ownerDocument)?_.defaultView||_.parentWindow:window,O?($=l.relatedTarget||l.toElement,O=z,$=$?Ya($):null,$!==null&&(Re=b($),ae=$.tag,$!==Re||ae!==5&&ae!==27&&ae!==6)&&($=null)):(O=null,$=z),O!==$)){if(ae=Yf,U="onMouseLeave",x="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(ae=Gf,U="onPointerLeave",x="onPointerEnter",v="pointer"),Re=O==null?_:Zn(O),E=$==null?_:Zn($),_=new ae(U,v+"leave",O,l,R),_.target=Re,_.relatedTarget=E,U=null,Ya(R)===z&&(ae=new ae(x,v+"enter",$,l,R),ae.target=E,ae.relatedTarget=Re,U=ae),Re=U,O&&$)t:{for(ae=d0,x=O,v=$,E=0,U=x;U;U=ae(U))E++;U=0;for(var le=v;le;le=ae(le))U++;for(;0<E-U;)x=ae(x),E--;for(;0<U-E;)v=ae(v),U--;for(;E--;){if(x===v||v!==null&&x===v.alternate){ae=x;break t}x=ae(x),v=ae(v)}ae=null}else ae=null;O!==null&&Uh(q,_,O,ae,!1),$!==null&&Re!==null&&Uh(q,Re,$,ae,!0)}}e:{if(_=z?Zn(z):window,O=_.nodeName&&_.nodeName.toLowerCase(),O==="select"||O==="input"&&_.type==="file")var Ee=$f;else if(kf(_))if(Wf)Ee=Ev;else{Ee=Sv;var I=xv}else O=_.nodeName,!O||O.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?z&&Oc(z.elementType)&&(Ee=$f):Ee=jv;if(Ee&&(Ee=Ee(e,z))){Ff(q,Ee,l,R);break e}I&&I(e,_,z),e==="focusout"&&z&&_.type==="number"&&z.memoizedProps.value!=null&&Nc(_,"number",_.value)}switch(I=z?Zn(z):window,e){case"focusin":(kf(I)||I.contentEditable==="true")&&(Fa=I,Zc=z,Pn=null);break;case"focusout":Pn=Zc=Fa=null;break;case"mousedown":Vc=!0;break;case"contextmenu":case"mouseup":case"dragend":Vc=!1,io(q,l,R);break;case"selectionchange":if(Tv)break;case"keydown":case"keyup":io(q,l,R)}var fe;if(Yc)e:{switch(e){case"compositionstart":var ye="onCompositionStart";break e;case"compositionend":ye="onCompositionEnd";break e;case"compositionupdate":ye="onCompositionUpdate";break e}ye=void 0}else ka?Kf(e,l)&&(ye="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ye="onCompositionStart");ye&&(Xf&&l.locale!=="ko"&&(ka||ye!=="onCompositionStart"?ye==="onCompositionEnd"&&ka&&(fe=Bf()):(Ol=R,qc="value"in Ol?Ol.value:Ol.textContent,ka=!0)),I=Ju(z,ye),0<I.length&&(ye=new wf(ye,e,null,l,R),q.push({event:ye,listeners:I}),fe?ye.data=fe:(fe=Jf(l),fe!==null&&(ye.data=fe)))),(fe=yv?vv(e,l):pv(e,l))&&(ye=Ju(z,"onBeforeInput"),0<ye.length&&(I=new wf("onBeforeInput","beforeinput",null,l,R),q.push({event:I,listeners:ye}),I.data=fe)),s0(q,e,z,l,R)}Rh(q,t)})}function zi(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Ju(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=Vn(e,l),n!=null&&a.unshift(zi(e,n,i)),n=Vn(e,t),n!=null&&a.push(zi(e,n,i))),e.tag===3)return a;e=e.return}return[]}function d0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Uh(e,t,l,a,n){for(var i=t._reactName,f=[];l!==null&&l!==a;){var d=l,m=d.alternate,z=d.stateNode;if(d=d.tag,m!==null&&m===a)break;d!==5&&d!==26&&d!==27||z===null||(m=z,n?(z=Vn(l,i),z!=null&&f.unshift(zi(l,z,m))):n||(z=Vn(l,i),z!=null&&f.push(zi(l,z,m)))),l=l.return}f.length!==0&&e.push({event:t,listeners:f})}var h0=/\r\n?/g,m0=/\u0000|\uFFFD/g;function qh(e){return(typeof e=="string"?e:""+e).replace(h0,`
|
|
49
|
+
`).replace(m0,"")}function Hh(e,t){return t=qh(t),qh(e)===t}function Ce(e,t,l,a,n,i){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Va(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Va(e,""+a);break;case"className":Wi(e,"class",a);break;case"tabIndex":Wi(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Wi(e,l,a);break;case"style":qf(e,a,i);break;case"data":if(t!=="object"){Wi(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Pi(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.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 i=="function"&&(l==="formAction"?(t!=="input"&&Ce(e,t,"name",n.name,n,null),Ce(e,t,"formEncType",n.formEncType,n,null),Ce(e,t,"formMethod",n.formMethod,n,null),Ce(e,t,"formTarget",n.formTarget,n,null)):(Ce(e,t,"encType",n.encType,n,null),Ce(e,t,"method",n.method,n,null),Ce(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Pi(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=sl);break;case"onScroll":a!=null&&he("scroll",e);break;case"onScrollEnd":a!=null&&he("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.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"){e.removeAttribute("xlink:href");break}l=Pi(""+a),e.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"?e.setAttribute(l,""+a):e.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"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":he("beforetoggle",e),he("toggle",e),$i(e,"popover",a);break;case"xlinkActuate":cl(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":cl(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":cl(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":cl(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":cl(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":cl(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":cl(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":cl(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":cl(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":$i(e,"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=Gy.get(l)||l,$i(e,l,a))}}function vr(e,t,l,a,n,i){switch(l){case"style":qf(e,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"children":typeof a=="string"?Va(e,a):(typeof a=="number"||typeof a=="bigint")&&Va(e,""+a);break;case"onScroll":a!=null&&he("scroll",e);break;case"onScrollEnd":a!=null&&he("scrollend",e);break;case"onClick":a!=null&&(e.onclick=sl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!_f.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),i=e[yt]||null,i=i!=null?i[l]:null,typeof i=="function"&&e.removeEventListener(t,i,n),typeof a=="function")){typeof i!="function"&&i!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):$i(e,l,a)}}}function ct(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":he("error",e),he("load",e);var a=!1,n=!1,i;for(i in l)if(l.hasOwnProperty(i)){var f=l[i];if(f!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:Ce(e,t,i,f,l,null)}}n&&Ce(e,t,"srcSet",l.srcSet,l,null),a&&Ce(e,t,"src",l.src,l,null);return;case"input":he("invalid",e);var d=i=f=n=null,m=null,z=null;for(a in l)if(l.hasOwnProperty(a)){var R=l[a];if(R!=null)switch(a){case"name":n=R;break;case"type":f=R;break;case"checked":m=R;break;case"defaultChecked":z=R;break;case"value":i=R;break;case"defaultValue":d=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(r(137,t));break;default:Ce(e,t,a,R,l,null)}}Cf(e,i,d,m,z,f,n,!1);return;case"select":he("invalid",e),a=f=i=null;for(n in l)if(l.hasOwnProperty(n)&&(d=l[n],d!=null))switch(n){case"value":i=d;break;case"defaultValue":f=d;break;case"multiple":a=d;default:Ce(e,t,n,d,l,null)}t=i,l=f,e.multiple=!!a,t!=null?Za(e,!!a,t,!1):l!=null&&Za(e,!!a,l,!0);return;case"textarea":he("invalid",e),i=n=a=null;for(f in l)if(l.hasOwnProperty(f)&&(d=l[f],d!=null))switch(f){case"value":a=d;break;case"defaultValue":n=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(r(91));break;default:Ce(e,t,f,d,l,null)}Df(e,a,n,i);return;case"option":for(m in l)if(l.hasOwnProperty(m)&&(a=l[m],a!=null))switch(m){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ce(e,t,m,a,l,null)}return;case"dialog":he("beforetoggle",e),he("toggle",e),he("cancel",e),he("close",e);break;case"iframe":case"object":he("load",e);break;case"video":case"audio":for(a=0;a<Ei.length;a++)he(Ei[a],e);break;case"image":he("error",e),he("load",e);break;case"details":he("toggle",e);break;case"embed":case"source":case"link":he("error",e),he("load",e);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(r(137,t));default:Ce(e,t,z,a,l,null)}return;default:if(Oc(t)){for(R in l)l.hasOwnProperty(R)&&(a=l[R],a!==void 0&&vr(e,t,R,a,l,void 0));return}}for(d in l)l.hasOwnProperty(d)&&(a=l[d],a!=null&&Ce(e,t,d,a,l,null))}function y0(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,f=null,d=null,m=null,z=null,R=null;for(O in l){var q=l[O];if(l.hasOwnProperty(O)&&q!=null)switch(O){case"checked":break;case"value":break;case"defaultValue":m=q;default:a.hasOwnProperty(O)||Ce(e,t,O,null,a,q)}}for(var _ in a){var O=a[_];if(q=l[_],a.hasOwnProperty(_)&&(O!=null||q!=null))switch(_){case"type":i=O;break;case"name":n=O;break;case"checked":z=O;break;case"defaultChecked":R=O;break;case"value":f=O;break;case"defaultValue":d=O;break;case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(r(137,t));break;default:O!==q&&Ce(e,t,_,O,a,q)}}Mc(e,f,d,m,z,R,i,n);return;case"select":O=f=d=_=null;for(i in l)if(m=l[i],l.hasOwnProperty(i)&&m!=null)switch(i){case"value":break;case"multiple":O=m;default:a.hasOwnProperty(i)||Ce(e,t,i,null,a,m)}for(n in a)if(i=a[n],m=l[n],a.hasOwnProperty(n)&&(i!=null||m!=null))switch(n){case"value":_=i;break;case"defaultValue":d=i;break;case"multiple":f=i;default:i!==m&&Ce(e,t,n,i,a,m)}t=d,l=f,a=O,_!=null?Za(e,!!l,_,!1):!!a!=!!l&&(t!=null?Za(e,!!l,t,!0):Za(e,!!l,l?[]:"",!1));return;case"textarea":O=_=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:Ce(e,t,d,null,a,n)}for(f in a)if(n=a[f],i=l[f],a.hasOwnProperty(f)&&(n!=null||i!=null))switch(f){case"value":_=n;break;case"defaultValue":O=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(r(91));break;default:n!==i&&Ce(e,t,f,n,a,i)}Rf(e,_,O);return;case"option":for(var $ in l)if(_=l[$],l.hasOwnProperty($)&&_!=null&&!a.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:Ce(e,t,$,null,a,_)}for(m in a)if(_=a[m],O=l[m],a.hasOwnProperty(m)&&_!==O&&(_!=null||O!=null))switch(m){case"selected":e.selected=_&&typeof _!="function"&&typeof _!="symbol";break;default:Ce(e,t,m,_,a,O)}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 ae in l)_=l[ae],l.hasOwnProperty(ae)&&_!=null&&!a.hasOwnProperty(ae)&&Ce(e,t,ae,null,a,_);for(z in a)if(_=a[z],O=l[z],a.hasOwnProperty(z)&&_!==O&&(_!=null||O!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,t));break;default:Ce(e,t,z,_,a,O)}return;default:if(Oc(t)){for(var Re in l)_=l[Re],l.hasOwnProperty(Re)&&_!==void 0&&!a.hasOwnProperty(Re)&&vr(e,t,Re,void 0,a,_);for(R in a)_=a[R],O=l[R],!a.hasOwnProperty(R)||_===O||_===void 0&&O===void 0||vr(e,t,R,_,a,O);return}}for(var x in l)_=l[x],l.hasOwnProperty(x)&&_!=null&&!a.hasOwnProperty(x)&&Ce(e,t,x,null,a,_);for(q in a)_=a[q],O=l[q],!a.hasOwnProperty(q)||_===O||_==null&&O==null||Ce(e,t,q,_,a,O)}function Qh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function v0(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],i=n.transferSize,f=n.initiatorType,d=n.duration;if(i&&d&&Qh(f)){for(f=0,d=n.responseEnd,a+=1;a<l.length;a++){var m=l[a],z=m.startTime;if(z>d)break;var R=m.transferSize,q=m.initiatorType;R&&Qh(q)&&(m=m.responseEnd,f+=R*(m<d?1:(d-z)/(m-z)))}if(--a,t+=8*(i+f)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var pr=null,gr=null;function ku(e){return e.nodeType===9?e:e.ownerDocument}function Bh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Lh(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function br(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xr=null;function p0(){var e=window.event;return e&&e.type==="popstate"?e===xr?!1:(xr=e,!0):(xr=null,!1)}var Yh=typeof setTimeout=="function"?setTimeout:void 0,g0=typeof clearTimeout=="function"?clearTimeout:void 0,wh=typeof Promise=="function"?Promise:void 0,b0=typeof queueMicrotask=="function"?queueMicrotask:typeof wh<"u"?function(e){return wh.resolve(null).then(e).catch(x0)}:Yh;function x0(e){setTimeout(function(){throw e})}function Jl(e){return e==="head"}function Gh(e,t){var l=t,a=0;do{var n=l.nextSibling;if(e.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(n),En(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")Ti(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,Ti(l);for(var i=l.firstChild;i;){var f=i.nextSibling,d=i.nodeName;i[Xn]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=f}}else l==="body"&&Ti(e.ownerDocument.body);l=n}while(l);En(t)}function Xh(e,t){var l=e;e=0;do{var a=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function Sr(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Sr(l),_c(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function S0(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Xn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Zt(e.nextSibling),e===null)break}return null}function j0(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Zt(e.nextSibling),e===null))return null;return e}function Zh(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Zt(e.nextSibling),e===null))return null;return e}function jr(e){return e.data==="$?"||e.data==="$~"}function Er(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function E0(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Zt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var zr=null;function Vh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Zt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function Kh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function Jh(e,t,l){switch(t=ku(l),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function Ti(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);_c(e)}var Vt=new Map,kh=new Set;function Fu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var zl=Q.d;Q.d={f:z0,r:T0,D:_0,C:A0,L:M0,m:N0,X:C0,S:O0,M:R0};function z0(){var e=zl.f(),t=Yu();return e||t}function T0(e){var t=wa(e);t!==null&&t.tag===5&&t.type==="form"?od(t):zl.r(e)}var xn=typeof document>"u"?null:document;function Fh(e,t,l){var a=xn;if(a&&typeof t=="string"&&t){var n=Qt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),kh.has(n)||(kh.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),ct(t,"link",e),et(t),a.head.appendChild(t)))}}function _0(e){zl.D(e),Fh("dns-prefetch",e,null)}function A0(e,t){zl.C(e,t),Fh("preconnect",e,t)}function M0(e,t,l){zl.L(e,t,l);var a=xn;if(a&&e&&t){var n='link[rel="preload"][as="'+Qt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Qt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Qt(l.imageSizes)+'"]')):n+='[href="'+Qt(e)+'"]';var i=n;switch(t){case"style":i=Sn(e);break;case"script":i=jn(e)}Vt.has(i)||(e=S({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Vt.set(i,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(_i(i))||t==="script"&&a.querySelector(Ai(i))||(t=a.createElement("link"),ct(t,"link",e),et(t),a.head.appendChild(t)))}}function N0(e,t){zl.m(e,t);var l=xn;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Qt(a)+'"][href="'+Qt(e)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=jn(e)}if(!Vt.has(i)&&(e=S({rel:"modulepreload",href:e},t),Vt.set(i,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ai(i)))return}a=l.createElement("link"),ct(a,"link",e),et(a),l.head.appendChild(a)}}}function O0(e,t,l){zl.S(e,t,l);var a=xn;if(a&&e){var n=Ga(a).hoistableStyles,i=Sn(e);t=t||"default";var f=n.get(i);if(!f){var d={loading:0,preload:null};if(f=a.querySelector(_i(i)))d.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Vt.get(i))&&Tr(e,l);var m=f=a.createElement("link");et(m),ct(m,"link",e),m._p=new Promise(function(z,R){m.onload=z,m.onerror=R}),m.addEventListener("load",function(){d.loading|=1}),m.addEventListener("error",function(){d.loading|=2}),d.loading|=4,$u(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:d},n.set(i,f)}}}function C0(e,t){zl.X(e,t);var l=xn;if(l&&e){var a=Ga(l).hoistableScripts,n=jn(e),i=a.get(n);i||(i=l.querySelector(Ai(n)),i||(e=S({src:e,async:!0},t),(t=Vt.get(n))&&_r(e,t),i=l.createElement("script"),et(i),ct(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function R0(e,t){zl.M(e,t);var l=xn;if(l&&e){var a=Ga(l).hoistableScripts,n=jn(e),i=a.get(n);i||(i=l.querySelector(Ai(n)),i||(e=S({src:e,async:!0,type:"module"},t),(t=Vt.get(n))&&_r(e,t),i=l.createElement("script"),et(i),ct(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function $h(e,t,l,a){var n=(n=se.current)?Fu(n):null;if(!n)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Sn(l.href),l=Ga(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Sn(l.href);var i=Ga(n).hoistableStyles,f=i.get(e);if(f||(n=n.ownerDocument||n,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,f),(i=n.querySelector(_i(e)))&&!i._p&&(f.instance=i,f.state.loading=5),Vt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Vt.set(e,l),i||D0(n,e,l,f.state))),t&&a===null)throw Error(r(528,""));return f}if(t&&a!==null)throw Error(r(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=jn(l),l=Ga(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Sn(e){return'href="'+Qt(e)+'"'}function _i(e){return'link[rel="stylesheet"]['+e+"]"}function Wh(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function D0(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ct(t,"link",l),et(t),e.head.appendChild(t))}function jn(e){return'[src="'+Qt(e)+'"]'}function Ai(e){return"script[async]"+e}function Ih(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Qt(l.href)+'"]');if(a)return t.instance=a,et(a),a;var n=S({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),et(a),ct(a,"style",n),$u(a,l.precedence,e),t.instance=a;case"stylesheet":n=Sn(l.href);var i=e.querySelector(_i(n));if(i)return t.state.loading|=4,t.instance=i,et(i),i;a=Wh(l),(n=Vt.get(n))&&Tr(a,n),i=(e.ownerDocument||e).createElement("link"),et(i);var f=i;return f._p=new Promise(function(d,m){f.onload=d,f.onerror=m}),ct(i,"link",a),t.state.loading|=4,$u(i,l.precedence,e),t.instance=i;case"script":return i=jn(l.src),(n=e.querySelector(Ai(i)))?(t.instance=n,et(n),n):(a=l,(n=Vt.get(i))&&(a=S({},l),_r(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),et(n),ct(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,$u(a,l.precedence,e));return t.instance}function $u(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,f=0;f<a.length;f++){var d=a[f];if(d.dataset.precedence===t)i=d;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Tr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function _r(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Wu=null;function Ph(e,t,l){if(Wu===null){var a=new Map,n=Wu=new Map;n.set(l,a)}else n=Wu,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var i=l[n];if(!(i[Xn]||i[at]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var f=i.getAttribute(t)||"";f=e+f;var d=a.get(f);d?d.push(i):a.set(f,[i])}}return a}function em(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function U0(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function tm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function q0(e,t,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=Sn(a.href),i=t.querySelector(_i(n));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Iu.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=i,et(i);return}i=t.ownerDocument||t,a=Wh(a),(n=Vt.get(n))&&Tr(a,n),i=i.createElement("link"),et(i);var f=i;f._p=new Promise(function(d,m){f.onload=d,f.onerror=m}),ct(i,"link",a),l.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Iu.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Ar=0;function H0(e,t){return e.stylesheets&&e.count===0&&ec(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&ec(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Ar===0&&(Ar=62500*v0());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ec(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Ar?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Iu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ec(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Pu=null;function ec(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Pu=new Map,t.forEach(Q0,e),Pu=null,Iu.call(e))}function Q0(e,t){if(!(t.state.loading&4)){var l=Pu.get(e);if(l)var a=l.get(null);else{l=new Map,Pu.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var f=n[i];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}n=t.instance,f=n.getAttribute("data-precedence"),i=l.get(f)||a,i===a&&l.set(null,n),l.set(f,n),this.count++,a=Iu.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Mi={$$typeof:V,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function B0(e,t,l,a,n,i,f,d,m){this.tag=1,this.containerInfo=e,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=jc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jc(0),this.hiddenUpdates=jc(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function lm(e,t,l,a,n,i,f,d,m,z,R,q){return e=new B0(e,t,l,f,m,z,R,q,d),t=1,i===!0&&(t|=24),i=Mt(3,null,null,t),e.current=i,i.stateNode=e,t=us(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:a,isDehydrated:l,cache:t},fs(i),e}function am(e){return e?(e=Ia,e):Ia}function nm(e,t,l,a,n,i){n=am(n),a.context===null?a.context=n:a.pendingContext=n,a=Hl(t),a.payload={element:l},i=i===void 0?null:i,i!==null&&(a.callback=i),l=Ql(e,a,t),l!==null&&(St(l,e,t),ui(l,e,t))}function im(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Mr(e,t){im(e,t),(e=e.alternate)&&im(e,t)}function um(e){if(e.tag===13||e.tag===31){var t=ya(e,67108864);t!==null&&St(t,e,67108864),Mr(e,67108864)}}function cm(e){if(e.tag===13||e.tag===31){var t=Dt();t=Ec(t);var l=ya(e,t);l!==null&&St(l,e,t),Mr(e,t)}}var tc=!0;function L0(e,t,l,a){var n=C.T;C.T=null;var i=Q.p;try{Q.p=2,Nr(e,t,l,a)}finally{Q.p=i,C.T=n}}function Y0(e,t,l,a){var n=C.T;C.T=null;var i=Q.p;try{Q.p=8,Nr(e,t,l,a)}finally{Q.p=i,C.T=n}}function Nr(e,t,l,a){if(tc){var n=Or(a);if(n===null)yr(e,t,a,lc,l),rm(e,a);else if(G0(n,e,t,l,a))a.stopPropagation();else if(rm(e,a),t&4&&-1<w0.indexOf(e)){for(;n!==null;){var i=wa(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var f=fa(i.pendingLanes);if(f!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;f;){var m=1<<31-_t(f);d.entanglements[1]|=m,f&=~m}ll(i),(_e&6)===0&&(Bu=zt()+500,ji(0))}}break;case 31:case 13:d=ya(i,2),d!==null&&St(d,i,2),Yu(),Mr(i,2)}if(i=Or(a),i===null&&yr(e,t,a,lc,l),i===n)break;n=i}n!==null&&a.stopPropagation()}else yr(e,t,a,null,l)}}function Or(e){return e=Rc(e),Cr(e)}var lc=null;function Cr(e){if(lc=null,e=Ya(e),e!==null){var t=b(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=M(t),e!==null)return e;e=null}else if(l===31){if(e=N(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return lc=e,null}function sm(e){switch(e){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(_y()){case yf:return 2;case vf:return 8;case Vi:case Ay:return 32;case pf:return 268435456;default:return 32}default:return 32}}var Rr=!1,kl=null,Fl=null,$l=null,Ni=new Map,Oi=new Map,Wl=[],w0="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 rm(e,t){switch(e){case"focusin":case"focusout":kl=null;break;case"dragenter":case"dragleave":Fl=null;break;case"mouseover":case"mouseout":$l=null;break;case"pointerover":case"pointerout":Ni.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Oi.delete(t.pointerId)}}function Ci(e,t,l,a,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},t!==null&&(t=wa(t),t!==null&&um(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function G0(e,t,l,a,n){switch(t){case"focusin":return kl=Ci(kl,e,t,l,a,n),!0;case"dragenter":return Fl=Ci(Fl,e,t,l,a,n),!0;case"mouseover":return $l=Ci($l,e,t,l,a,n),!0;case"pointerover":var i=n.pointerId;return Ni.set(i,Ci(Ni.get(i)||null,e,t,l,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Oi.set(i,Ci(Oi.get(i)||null,e,t,l,a,n)),!0}return!1}function fm(e){var t=Ya(e.target);if(t!==null){var l=b(t);if(l!==null){if(t=l.tag,t===13){if(t=M(l),t!==null){e.blockedOn=t,Ef(e.priority,function(){cm(l)});return}}else if(t===31){if(t=N(l),t!==null){e.blockedOn=t,Ef(e.priority,function(){cm(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ac(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Or(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);Cc=a,l.target.dispatchEvent(a),Cc=null}else return t=wa(l),t!==null&&um(t),e.blockedOn=l,!1;t.shift()}return!0}function om(e,t,l){ac(e)&&l.delete(t)}function X0(){Rr=!1,kl!==null&&ac(kl)&&(kl=null),Fl!==null&&ac(Fl)&&(Fl=null),$l!==null&&ac($l)&&($l=null),Ni.forEach(om),Oi.forEach(om)}function nc(e,t){e.blockedOn===t&&(e.blockedOn=null,Rr||(Rr=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,X0)))}var ic=null;function dm(e){ic!==e&&(ic=e,c.unstable_scheduleCallback(c.unstable_NormalPriority,function(){ic===e&&(ic=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(Cr(a||l)===null)continue;break}var i=wa(l);i!==null&&(e.splice(t,3),t-=3,Os(i,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function En(e){function t(m){return nc(m,e)}kl!==null&&nc(kl,e),Fl!==null&&nc(Fl,e),$l!==null&&nc($l,e),Ni.forEach(t),Oi.forEach(t);for(var l=0;l<Wl.length;l++){var a=Wl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Wl.length&&(l=Wl[0],l.blockedOn===null);)fm(l),l.blockedOn===null&&Wl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],i=l[a+1],f=n[yt]||null;if(typeof i=="function")f||dm(l);else if(f){var d=null;if(i&&i.hasAttribute("formAction")){if(n=i,f=i[yt]||null)d=f.formAction;else if(Cr(n)!==null)continue}else d=f.action;typeof d=="function"?l[a+1]=d:(l.splice(a,3),a-=3),dm(l)}}}function hm(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(f){return n=f})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Dr(e){this._internalRoot=e}uc.prototype.render=Dr.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var l=t.current,a=Dt();nm(l,a,e,t,null,null)},uc.prototype.unmount=Dr.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;nm(e.current,2,null,e,null,null),Yu(),t[La]=null}};function uc(e){this._internalRoot=e}uc.prototype.unstable_scheduleHydration=function(e){if(e){var t=jf();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Wl.length&&t!==0&&t<Wl[l].priority;l++);Wl.splice(l,0,e),l===0&&fm(e)}};var mm=u.version;if(mm!=="19.2.8")throw Error(r(527,mm,"19.2.8"));Q.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=y(t),e=e!==null?A(e):null,e=e===null?null:e.stateNode,e};var Z0={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:C,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cc.isDisabled&&cc.supportsFiber)try{Yn=cc.inject(Z0),Tt=cc}catch{}}return Di.createRoot=function(e,t){if(!h(e))throw Error(r(299));var l=!1,a="",n=Sd,i=jd,f=Ed;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=lm(e,1,!1,null,null,l,a,null,n,i,f,hm),e[La]=t.current,mr(e),new Dr(t)},Di.hydrateRoot=function(e,t,l){if(!h(e))throw Error(r(299));var a=!1,n="",i=Sd,f=jd,d=Ed,m=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(d=l.onRecoverableError),l.formState!==void 0&&(m=l.formState)),t=lm(e,1,!0,t,l??null,a,n,m,i,f,d,hm),t.context=am(null),l=t.current,a=Dt(),a=Ec(a),n=Hl(a),n.callback=null,Ql(l,n,a),l=a,t.current.lanes=l,Gn(t,l),ll(t),e[La]=t.current,mr(e),new uc(t)},Di.version="19.2.8",Di}var _m;function n1(){if(_m)return Qr.exports;_m=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(u){console.error(u)}}return c(),Qr.exports=a1(),Qr.exports}var i1=n1();const Pm=P.createContext(void 0),ey=c=>{const u=P.useContext(Pm);if(!u)throw new Error("No QueryClient set, use QueryClientProvider to set one");return u},u1=({client:c,children:u})=>(P.useEffect(()=>(c.mount(),()=>{c.unmount()}),[c]),s.jsx(Pm.Provider,{value:c,children:u})),c1={setTimeout:(c,u)=>setTimeout(c,u),clearTimeout:c=>clearTimeout(c),setInterval:(c,u)=>setInterval(c,u),clearInterval:c=>clearInterval(c)};var ea,lf,Xm,s1=(Xm=class{constructor(){ne(this,ea,c1);ne(this,lf,!1)}setTimeoutProvider(c){Z(this,ea,c)}setTimeout(c,u){return p(this,ea).setTimeout(c,u)}clearTimeout(c){p(this,ea).clearTimeout(c)}setInterval(c,u){return p(this,ea).setInterval(c,u)}clearInterval(c){p(this,ea).clearInterval(c)}},ea=new WeakMap,lf=new WeakMap,Xm);const Ma=new s1;function r1(c){setTimeout(c,0)}const f1=typeof window>"u"||"Deno"in globalThis;function jt(){}function o1(c,u){return typeof c=="function"?c(u):c}function ty(c){return typeof c=="number"&&c>=0&&c!==1/0}function ly(c,u){return Math.max(c+(u||0)-Date.now(),0)}function Xe(c,u){return typeof c=="function"?c(u):c}function Am(c,u){const{type:o="all",exact:r,fetchStatus:h,predicate:b,queryKey:M,stale:N}=c;if(M){if(r){if(u.queryHash!==nf(M,u.options))return!1}else if(!Qn(u.queryKey,M))return!1}if(o!=="all"){const j=u.isActive();if(o==="active"&&!j||o==="inactive"&&j)return!1}return!(typeof N=="boolean"&&u.isStale()!==N||h&&h!==u.state.fetchStatus||b&&!b(u))}function Mm(c,u){const{exact:o,status:r,predicate:h,mutationKey:b}=c;if(b){if(!u.options.mutationKey)return!1;if(o){if(qi(u.options.mutationKey)!==qi(b))return!1}else if(!Qn(u.options.mutationKey,b))return!1}return!(r&&u.state.status!==r||h&&!h(u))}function nf(c,u){return((u==null?void 0:u.queryKeyHashFn)||qi)(c)}function qi(c){return JSON.stringify(c,(u,o)=>Gr(o)?Object.keys(o).sort().reduce((r,h)=>(r[h]=o[h],r),{}):o)}function Qn(c,u){if(c===u)return!0;if(typeof c!=typeof u)return!1;if(c&&u&&typeof c=="object"&&typeof u=="object"){if(Array.isArray(c)&&Array.isArray(u)){for(let r=0;r<u.length;r++)if(!Qn(c[r],u[r]))return!1;return!0}const o=Object.keys(u);for(const r of o)if(!Qn(c[r],u[r]))return!1;return!0}return!1}const d1=Object.prototype.hasOwnProperty;function ay(c,u,o=0){if(c===u)return c;if(o>500)return u;const r=Nm(c)&&Nm(u);if(!r&&!(Gr(c)&&Gr(u)))return u;const h=(r?c:Object.keys(c)).length,b=r?u:Object.keys(u),M=b.length,N=r?new Array(M):{};let j=0;for(let y=0;y<M;y++){const A=r?y:b[y],S=c[A],T=u[A];if(S===T){N[A]=S,(r?y<h:d1.call(c,A))&&j++;continue}if(S===null||T===null||typeof S!="object"||typeof T!="object"){N[A]=T;continue}const Y=ay(S,T,o+1);N[A]=Y,Y===S&&j++}return h===M&&j===h?c:N}function wr(c,u){if(!u||Object.keys(c).length!==Object.keys(u).length)return!1;for(const o in c)if(c[o]!==u[o])return!1;return!0}function Nm(c){return Array.isArray(c)&&c.length===Object.keys(c).length}function Gr(c){if(!Om(c))return!1;const u=c.constructor;if(u===void 0)return!0;const o=u.prototype;return!(!Om(o)||!o.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(c)!==Object.prototype)}function Om(c){return Object.prototype.toString.call(c)==="[object Object]"}function h1(c){return new Promise(u=>{Ma.setTimeout(u,c)})}function Xr(c,u,o){return typeof o.structuralSharing=="function"?o.structuralSharing(c,u):o.structuralSharing!==!1?ay(c,u):u}function m1(c,u,o=0){const r=[...c,u];return o&&r.length>o?r.slice(1):r}function y1(c,u,o=0){const r=[u,...c];return o&&r.length>o?r.slice(0,-1):r}const uf=Symbol();function ny(c,u){return!c.queryFn&&(u!=null&&u.initialPromise)?()=>u.initialPromise:!c.queryFn||c.queryFn===uf?()=>Promise.reject(new Error(`Missing queryFn: '${c.queryHash}'`)):c.queryFn}function iy(c,u){return typeof c=="function"?c(...u):!!c}function v1(c,u,o){let r=!1,h;return Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h??(h=u()),r||(r=!0,h.aborted?o():h.addEventListener("abort",o,{once:!0})),h)}),c}let p1=()=>f1;const cf=()=>p1();var Gi=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(c){return this.listeners.add(c),this.onSubscribe(),()=>{this.listeners.delete(c),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Oa,ta,zn,Zm,g1=(Zm=class extends Gi{constructor(){super();ne(this,Oa);ne(this,ta);ne(this,zn);Z(this,zn,u=>{if(typeof window<"u"&&window.addEventListener){const o=()=>u();return window.addEventListener("visibilitychange",o,!1),()=>{window.removeEventListener("visibilitychange",o)}}})}onSubscribe(){p(this,ta)||this.setEventListener(p(this,zn))}onUnsubscribe(){var u;this.hasListeners()||((u=p(this,ta))==null||u.call(this),Z(this,ta,void 0))}setEventListener(u){var o;Z(this,zn,u),(o=p(this,ta))==null||o.call(this),Z(this,ta,u(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(u){p(this,Oa)!==u&&(Z(this,Oa,u),this.onFocus())}onFocus(){const u=this.isFocused();this.listeners.forEach(o=>{o(u)})}isFocused(){var u;return typeof p(this,Oa)=="boolean"?p(this,Oa):((u=globalThis.document)==null?void 0:u.visibilityState)!=="hidden"}},Oa=new WeakMap,ta=new WeakMap,zn=new WeakMap,Zm);const sf=new g1,b1=r1;function x1(){let c=[],u=0,o=N=>{N()},r=N=>{N()},h=b1;const b=N=>{u?c.push(N):h(()=>{o(N)})},M=()=>{const N=c;c=[],N.length&&h(()=>{r(()=>{N.forEach(j=>{o(j)})})})};return{batch:N=>{let j;u++;try{j=N()}finally{u--,u||M()}return j},batchCalls:N=>(...j)=>{b(()=>{N(...j)})},schedule:b,setNotifyFunction:N=>{o=N},setBatchNotifyFunction:N=>{r=N},setScheduler:N=>{h=N}}}const st=x1();var Tn,la,_n,Vm,S1=(Vm=class extends Gi{constructor(){super();ne(this,Tn,!0);ne(this,la);ne(this,_n);Z(this,_n,u=>{if(typeof window<"u"&&window.addEventListener){const o=()=>u(!0),r=()=>u(!1);return window.addEventListener("online",o,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",o),window.removeEventListener("offline",r)}}})}onSubscribe(){p(this,la)||this.setEventListener(p(this,_n))}onUnsubscribe(){var u;this.hasListeners()||((u=p(this,la))==null||u.call(this),Z(this,la,void 0))}setEventListener(u){var o;Z(this,_n,u),(o=p(this,la))==null||o.call(this),Z(this,la,u(this.setOnline.bind(this)))}setOnline(u){p(this,Tn)!==u&&(Z(this,Tn,u),this.listeners.forEach(o=>{o(u)}))}isOnline(){return p(this,Tn)}},Tn=new WeakMap,la=new WeakMap,_n=new WeakMap,Vm);const fc=new S1;function j1(c){return Math.min(1e3*2**c,3e4)}function uy(c){return(c??"online")==="online"?fc.isOnline():!0}var Zr=class extends Error{constructor(c){super("CancelledError"),this.revert=c==null?void 0:c.revert,this.silent=c==null?void 0:c.silent}};function cy(c){let u=!1,o=0,r,h="pending",b,M;const N=new Promise((L,V)=>{b=L,M=V});N.catch(jt);const j=()=>h!=="pending",y=L=>{var V;if(!j()){const X=new Zr(L);W(X),(V=c.onCancel)==null||V.call(c,X)}},A=()=>{u=!0},S=()=>{u=!1},T=()=>sf.isFocused()&&(c.networkMode==="always"||fc.isOnline())&&c.canRun(),Y=()=>uy(c.networkMode)&&c.canRun(),G=L=>{j()||(r==null||r(),h="resolved",b(L))},W=L=>{j()||(r==null||r(),h="rejected",M(L))},ue=()=>new Promise(L=>{var V;r=X=>{(j()||T())&&L(X)},(V=c.onPause)==null||V.call(c)}).then(()=>{var L;r=void 0,j()||(L=c.onContinue)==null||L.call(c)}),J=()=>{if(j())return;let L;const V=o===0?c.initialPromise:void 0;try{L=V??c.fn()}catch(X){L=Promise.reject(X)}Promise.resolve(L).then(G).catch(X=>{var F;if(j())return;const B=c.retry??(cf()?0:3),oe=c.retryDelay??j1,D=typeof oe=="function"?oe(o,X):oe,k=B===!0||typeof B=="number"&&o<B||typeof B=="function"&&B(o,X);if(u||!k){W(X);return}o++,(F=c.onFail)==null||F.call(c,o,X),h1(D).then(()=>T()?void 0:ue()).then(()=>{u?W(X):J()})})};return{promise:N,status:()=>h,cancel:y,continue:()=>(r==null||r(),N),cancelRetry:A,continueRetry:S,canStart:Y,start:()=>(Y()?J():ue().then(J),N)}}var Ca,Km,sy=(Km=class{constructor(){ne(this,Ca)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ty(this.gcTime)&&Z(this,Ca,Ma.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(c){this.gcTime=Math.max(this.gcTime||0,c??(cf()?1/0:3e5))}clearGcTimeout(){p(this,Ca)!==void 0&&(Ma.clearTimeout(p(this,Ca)),Z(this,Ca,void 0))}},Ca=new WeakMap,Km);function E1(c){return{onFetch:(u,o)=>{var A,S,T,Y,G;const r=u.options,h=(T=(S=(A=u.fetchOptions)==null?void 0:A.meta)==null?void 0:S.fetchMore)==null?void 0:T.direction,b=((Y=u.state.data)==null?void 0:Y.pages)||[],M=((G=u.state.data)==null?void 0:G.pageParams)||[];let N={pages:[],pageParams:[]},j=0;const y=async()=>{let W=!1;const ue=V=>{v1(V,()=>u.signal,()=>W=!0)},J=ny(u.options,u.fetchOptions),L=async(V,X,B)=>{if(W)return Promise.reject(u.signal.reason);if(X==null&&V.pages.length)return Promise.resolve(V);const D=(()=>{const xe={client:u.client,queryKey:u.queryKey,pageParam:X,direction:B?"backward":"forward",meta:u.options.meta};return ue(xe),xe})(),k=await J(D),{maxPages:F}=u.options,te=B?y1:m1;return{pages:te(V.pages,k,F),pageParams:te(V.pageParams,X,F)}};if(h&&b.length){const V=h==="backward",X=V?z1:Cm,B={pages:b,pageParams:M};N=await L(B,X(r,B),V)}else{const V=c??b.length;do{const X=j===0?M[0]??r.initialPageParam:Cm(r,N);if(j>0&&X==null)break;N=await L(N,X),j++}while(j<V)}return N};u.options.persister?u.fetchFn=()=>{var W,ue;return(ue=(W=u.options).persister)==null?void 0:ue.call(W,y,{client:u.client,queryKey:u.queryKey,meta:u.options.meta,signal:u.signal},o)}:u.fetchFn=y}}}function Cm(c,{pages:u,pageParams:o}){const r=u.length-1;return u.length>0?c.getNextPageParam(u[r],u,o[r],o):void 0}function z1(c,{pages:u,pageParams:o}){var r;return u.length>0?(r=c.getPreviousPageParam)==null?void 0:r.call(c,u[0],u,o[0],o):void 0}var An,Ra,Mn,Kt,Da,Pe,Qi,Ua,$t,Tl,Jm,T1=(Jm=class extends sy{constructor(u){super();ne(this,$t);ne(this,An);ne(this,Ra);ne(this,Mn);ne(this,Kt);ne(this,Da);ne(this,Pe);ne(this,Qi);ne(this,Ua);Z(this,Ua,!1),Z(this,Qi,u.defaultOptions),this.setOptions(u.options),this.observers=[],Z(this,Da,u.client),Z(this,Kt,p(this,Da).getQueryCache()),this.queryKey=u.queryKey,this.queryHash=u.queryHash,Z(this,Ra,Dm(this.options)),this.state=u.state??p(this,Ra),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return p(this,An)}get promise(){var u;return(u=p(this,Pe))==null?void 0:u.promise}setOptions(u){if(this.options={...p(this,Qi),...u},u!=null&&u._type&&Z(this,An,u._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const o=Dm(this.options);o.data!==void 0&&(this.setState(Rm(o.data,o.dataUpdatedAt)),Z(this,Ra,o))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&p(this,Kt).remove(this)}setData(u,o){const r=Xr(this.state.data,u,this.options);return ve(this,$t,Tl).call(this,{data:r,type:"success",dataUpdatedAt:o==null?void 0:o.updatedAt,manual:o==null?void 0:o.manual}),r}setState(u){ve(this,$t,Tl).call(this,{type:"setState",state:u})}cancel(u){var r,h;const o=(r=p(this,Pe))==null?void 0:r.promise;return(h=p(this,Pe))==null||h.cancel(u),o?o.then(jt).catch(jt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return p(this,Ra)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(u=>Xe(u.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===uf||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(u=>Xe(u.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(u=>u.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(u=0){return this.state.data===void 0?!0:u==="static"?!1:this.state.isInvalidated?!0:!ly(this.state.dataUpdatedAt,u)}onFocus(){var u,o;(u=this.observers.find(r=>r.shouldFetchOnWindowFocus()))==null||u.refetch({cancelRefetch:!1}),(o=p(this,Pe))==null||o.continue()}onOnline(){var u,o;(u=this.observers.find(r=>r.shouldFetchOnReconnect()))==null||u.refetch({cancelRefetch:!1}),(o=p(this,Pe))==null||o.continue()}addObserver(u){this.observers.includes(u)||(this.observers.push(u),this.clearGcTimeout(),p(this,Kt).notify({type:"observerAdded",query:this,observer:u}))}removeObserver(u){const o=this.observers.indexOf(u);o!==-1&&(this.observers.splice(o,1),this.observers.length||(p(this,Pe)&&(p(this,Ua)||this.state.fetchStatus==="paused"&&this.state.status==="pending"?p(this,Pe).cancel({revert:!0}):p(this,Pe).cancelRetry()),this.scheduleGc()),p(this,Kt).notify({type:"observerRemoved",query:this,observer:u}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ve(this,$t,Tl).call(this,{type:"invalidate"})}async fetch(u,o){var y,A,S,T,Y,G,W,ue,J,L,V,X;if(this.state.fetchStatus!=="idle"&&((y=p(this,Pe))==null?void 0:y.status())!=="rejected"){if(this.state.data!==void 0&&(o!=null&&o.cancelRefetch))this.cancel({silent:!0});else if(p(this,Pe))return p(this,Pe).continueRetry(),p(this,Pe).promise}if(u&&this.setOptions(u),!this.options.queryFn){const B=this.observers.find(oe=>oe.options.queryFn);B&&this.setOptions(B.options)}const r=new AbortController,h=B=>{Object.defineProperty(B,"signal",{enumerable:!0,get:()=>(Z(this,Ua,!0),r.signal)})},b=()=>{const B=ny(this.options,o),D=(()=>{const k={client:p(this,Da),queryKey:this.queryKey,meta:this.meta};return h(k),k})();return Z(this,Ua,!1),this.options.persister?this.options.persister(B,D,this):B(D)},N=(()=>{const B={fetchOptions:o,options:this.options,queryKey:this.queryKey,client:p(this,Da),state:this.state,fetchFn:b};return h(B),B})();(A=p(this,An)==="infinite"?E1(this.options.pages):this.options.behavior)==null||A.onFetch(N,this),Z(this,Mn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((S=N.fetchOptions)==null?void 0:S.meta))&&ve(this,$t,Tl).call(this,{type:"fetch",meta:(T=N.fetchOptions)==null?void 0:T.meta});const j=Z(this,Pe,cy({initialPromise:o==null?void 0:o.initialPromise,fn:N.fetchFn,onCancel:B=>{B instanceof Zr&&B.revert&&this.setState({...p(this,Mn),fetchStatus:"idle"}),r.abort()},onFail:(B,oe)=>{ve(this,$t,Tl).call(this,{type:"failed",failureCount:B,error:oe})},onPause:()=>{ve(this,$t,Tl).call(this,{type:"pause"})},onContinue:()=>{ve(this,$t,Tl).call(this,{type:"continue"})},retry:N.options.retry,retryDelay:N.options.retryDelay,networkMode:N.options.networkMode,canRun:()=>!0}));try{const B=await j.start();if(B===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(B),(G=(Y=p(this,Kt).config).onSuccess)==null||G.call(Y,B,this),(ue=(W=p(this,Kt).config).onSettled)==null||ue.call(W,B,this.state.error,this),B}catch(B){if(B instanceof Zr){if(B.silent)return p(this,Pe).promise;if(B.revert){if(this.state.data===void 0)throw B;return this.state.data}}throw ve(this,$t,Tl).call(this,{type:"error",error:B}),(L=(J=p(this,Kt).config).onError)==null||L.call(J,B,this),(X=(V=p(this,Kt).config).onSettled)==null||X.call(V,this.state.data,B,this),B}finally{p(this,Pe)===j&&Z(this,Pe,void 0),this.scheduleGc()}}},An=new WeakMap,Ra=new WeakMap,Mn=new WeakMap,Kt=new WeakMap,Da=new WeakMap,Pe=new WeakMap,Qi=new WeakMap,Ua=new WeakMap,$t=new WeakSet,Tl=function(u){const o=r=>{switch(u.type){case"failed":return{...r,fetchFailureCount:u.failureCount,fetchFailureReason:u.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...ry(r.data,this.options),fetchMeta:u.meta??null};case"success":const h={...r,...Rm(u.data,u.dataUpdatedAt),dataUpdateCount:r.dataUpdateCount+1,...!u.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return Z(this,Mn,u.manual?h:void 0),h;case"error":const b=u.error;return{...r,error:b,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:b,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...u.state}}};this.state=o(this.state),st.batch(()=>{this.observers.slice().forEach(r=>{r.onQueryUpdate()}),p(this,Kt).notify({query:this,type:"updated",action:u})})},Jm);function ry(c,u){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:uy(u.networkMode)?"fetching":"paused",...c===void 0&&{error:null,status:"pending"}}}function Rm(c,u){return{data:c,dataUpdatedAt:u??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Dm(c){const u=typeof c.initialData=="function"?c.initialData():c.initialData,o=u!==void 0,r=o?typeof c.initialDataUpdatedAt=="function"?c.initialDataUpdatedAt():c.initialDataUpdatedAt:0;return{data:u,dataUpdateCount:0,dataUpdatedAt:o?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:o?"success":"pending",fetchStatus:"idle"}}var ht,be,Bi,mt,qa,Nn,_l,Li,On,Cn,Ha,Qa,aa,Rn,Ae,Ui,Vr,Kr,Jr,kr,Fr,$r,Wr,Ir,km,_1=(km=class extends Gi{constructor(u,o){super();ne(this,Ae);ne(this,ht);ne(this,be);ne(this,Bi);ne(this,mt);ne(this,qa);ne(this,Nn);ne(this,_l);ne(this,Li);ne(this,On);ne(this,Cn);ne(this,Ha);ne(this,Qa);ne(this,aa);ne(this,Rn,new Set);this.options=o,Z(this,ht,u),Z(this,_l,null),this.bindMethods(),this.setOptions(o)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(p(this,be).addObserver(this),Um(p(this,be),this.options)?ve(this,Ae,Ui).call(this):this.updateResult(),ve(this,Ae,Fr).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Pr(p(this,be),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Pr(p(this,be),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ve(this,Ae,$r).call(this),ve(this,Ae,Wr).call(this),p(this,be).removeObserver(this)}setOptions(u){const o=this.options,r=p(this,be);if(this.options=p(this,ht).defaultQueryOptions(u),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Xe(this.options.enabled,p(this,be))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ve(this,Ae,Ir).call(this),p(this,be).setOptions(this.options),o._defaulted&&!wr(this.options,o)&&p(this,ht).getQueryCache().notify({type:"observerOptionsUpdated",query:p(this,be),observer:this});const h=this.hasListeners();h&&qm(p(this,be),r,this.options,o)&&ve(this,Ae,Ui).call(this),this.updateResult(),h&&(p(this,be)!==r||Xe(this.options.enabled,p(this,be))!==Xe(o.enabled,p(this,be))||Xe(this.options.staleTime,p(this,be))!==Xe(o.staleTime,p(this,be)))&&ve(this,Ae,Kr).call(this);const b=ve(this,Ae,Jr).call(this);h&&(p(this,be)!==r||Xe(this.options.enabled,p(this,be))!==Xe(o.enabled,p(this,be))||b!==p(this,aa))&&ve(this,Ae,kr).call(this,b)}getOptimisticResult(u){const o=p(this,ht).getQueryCache().build(p(this,ht),u),r=this.createResult(o,u);return wr(this.getCurrentResult(),r)||(Z(this,mt,r),Z(this,Nn,this.options),Z(this,qa,p(this,be).state)),r}getCurrentResult(){return p(this,mt)}trackResult(u,o){return new Proxy(u,{get:(r,h)=>(this.trackProp(h),o==null||o(h),Reflect.get(r,h))})}trackProp(u){p(this,Rn).add(u)}getCurrentQuery(){return p(this,be)}refetch({...u}={}){return this.fetch({...u})}fetchOptimistic(u){const o=p(this,ht).defaultQueryOptions(u),r=p(this,ht).getQueryCache().build(p(this,ht),o);let h=()=>{},b;const M=new Promise(N=>{b=N,h=p(this,ht).getQueryCache().subscribe(j=>{j.type==="updated"&&j.query.queryHash===r.queryHash&&r.state.data!==void 0&&(h(),N(this.createResult(r,o)))})});return Promise.race([r.fetch().then(()=>{const N=this.createResult(r,o);return b==null||b(N),N}).finally(()=>{h()}),M])}fetch(u){return ve(this,Ae,Ui).call(this,{...u,cancelRefetch:u.cancelRefetch??!0}).then(()=>(this.updateResult(),p(this,mt)))}createResult(u,o){var oe;const r=p(this,be),h=this.options,b=p(this,mt),M=p(this,qa),N=p(this,Nn),j=u!==r?u.state:p(this,Bi),{state:y}=u;let A={...y},S=!1,T;if(o._optimisticResults){const D=this.hasListeners(),k=!D&&Um(u,o),F=D&&qm(u,r,o,h);(k||F)&&(A={...A,...ry(y.data,u.options)}),o._optimisticResults==="isRestoring"&&(A.fetchStatus="idle")}let{error:Y,errorUpdatedAt:G,status:W}=A;T=A.data;let ue=!1;if(o.placeholderData!==void 0&&T===void 0&&W==="pending"){let D;b!=null&&b.isPlaceholderData&&o.placeholderData===(N==null?void 0:N.placeholderData)?(D=b.data,ue=!0):D=typeof o.placeholderData=="function"?o.placeholderData((oe=p(this,Cn))==null?void 0:oe.state.data,p(this,Cn)):o.placeholderData,D!==void 0&&(W="success",T=Xr(b==null?void 0:b.data,D,o),S=!0)}if(o.select&&T!==void 0&&!ue)if(b&&T===(M==null?void 0:M.data)&&o.select===p(this,Li))T=p(this,On);else try{Z(this,Li,o.select),T=o.select(T),T=Xr(b==null?void 0:b.data,T,o),Z(this,On,T),Z(this,_l,null)}catch(D){Z(this,_l,D)}else T===void 0&&Z(this,_l,null);p(this,_l)&&(Y=p(this,_l),T=p(this,On),G=Date.now(),W="error",S=!1);const J=A.fetchStatus==="fetching",L=W==="pending",V=W==="error",X=L&&J,B=T!==void 0;return{status:W,fetchStatus:A.fetchStatus,isPending:L,isSuccess:W==="success",isError:V,isInitialLoading:X,isLoading:X,data:T,dataUpdatedAt:A.dataUpdatedAt,error:Y,errorUpdatedAt:G,failureCount:A.fetchFailureCount,failureReason:A.fetchFailureReason,errorUpdateCount:A.errorUpdateCount,isFetched:u.isFetched(),isFetchedAfterMount:A.dataUpdateCount>j.dataUpdateCount||A.errorUpdateCount>j.errorUpdateCount,isFetching:J,isRefetching:J&&!L,isLoadingError:V&&!B,isPaused:A.fetchStatus==="paused",isPlaceholderData:S,isRefetchError:V&&B,isStale:rf(u,o),refetch:this.refetch,isEnabled:Xe(o.enabled,u)!==!1}}updateResult(){const u=p(this,mt),o=this.createResult(p(this,be),this.options);if(Z(this,qa,p(this,be).state),Z(this,Nn,this.options),p(this,qa).data!==void 0&&Z(this,Cn,p(this,be)),wr(o,u))return;Z(this,mt,o);const h=(()=>{if(!u)return!0;const{notifyOnChangeProps:b}=this.options,M=typeof b=="function"?b():b;if(M==="all"||!M&&!p(this,Rn).size)return!0;const N=new Set(M??p(this,Rn));return this.options.throwOnError&&N.add("error"),Object.keys(p(this,mt)).some(j=>{const y=j;return p(this,mt)[y]!==u[y]&&N.has(y)})})();st.batch(()=>{h&&this.listeners.forEach(b=>{b(p(this,mt))}),p(this,ht).getQueryCache().notify({query:p(this,be),type:"observerResultsUpdated"})})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ve(this,Ae,Fr).call(this)}},ht=new WeakMap,be=new WeakMap,Bi=new WeakMap,mt=new WeakMap,qa=new WeakMap,Nn=new WeakMap,_l=new WeakMap,Li=new WeakMap,On=new WeakMap,Cn=new WeakMap,Ha=new WeakMap,Qa=new WeakMap,aa=new WeakMap,Rn=new WeakMap,Ae=new WeakSet,Ui=function(u){ve(this,Ae,Ir).call(this);let o=p(this,be).fetch(this.options,u);return u!=null&&u.throwOnError||(o=o.catch(jt)),o},Vr=function(u){return!cf()&&Xe(this.options.enabled,p(this,be))!==!1&&ty(u)},Kr=function(){ve(this,Ae,$r).call(this);const u=Xe(this.options.staleTime,p(this,be));if(p(this,mt).isStale||!ve(this,Ae,Vr).call(this,u))return;const o=ly(p(this,mt).dataUpdatedAt,u)+1;Z(this,Ha,Ma.setTimeout(()=>{p(this,mt).isStale||this.updateResult()},o))},Jr=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(p(this,be)):this.options.refetchInterval)??!1},kr=function(u){ve(this,Ae,Wr).call(this),Z(this,aa,u),!(p(this,aa)===0||!ve(this,Ae,Vr).call(this,p(this,aa)))&&Z(this,Qa,Ma.setInterval(()=>{(this.options.refetchIntervalInBackground||sf.isFocused())&&ve(this,Ae,Ui).call(this)},p(this,aa)))},Fr=function(){ve(this,Ae,Kr).call(this),ve(this,Ae,kr).call(this,ve(this,Ae,Jr).call(this))},$r=function(){p(this,Ha)!==void 0&&(Ma.clearTimeout(p(this,Ha)),Z(this,Ha,void 0))},Wr=function(){p(this,Qa)!==void 0&&(Ma.clearInterval(p(this,Qa)),Z(this,Qa,void 0))},Ir=function(){const u=p(this,ht).getQueryCache().build(p(this,ht),this.options);if(u===p(this,be))return;const o=p(this,be);Z(this,be,u),Z(this,Bi,u.state),this.hasListeners()&&(o==null||o.removeObserver(this),u.addObserver(this))},km);function A1(c,u){return Xe(u.enabled,c)!==!1&&c.state.data===void 0&&!(c.state.status==="error"&&Xe(u.retryOnMount,c)===!1)}function Um(c,u){return A1(c,u)||c.state.data!==void 0&&Pr(c,u,u.refetchOnMount)}function Pr(c,u,o){if(Xe(u.enabled,c)!==!1&&Xe(u.staleTime,c)!=="static"){const r=typeof o=="function"?o(c):o;return r==="always"||r!==!1&&rf(c,u)}return!1}function qm(c,u,o,r){return(c!==u||Xe(r.enabled,c)===!1)&&(!o.suspense||c.state.status!=="error")&&rf(c,o)}function rf(c,u){return Xe(u.enabled,c)!==!1&&c.isStaleByTime(Xe(u.staleTime,c))}var Yi,al,ft,Ba,nl,Pl,Fm,M1=(Fm=class extends sy{constructor(u){super();ne(this,nl);ne(this,Yi);ne(this,al);ne(this,ft);ne(this,Ba);Z(this,Yi,u.client),this.mutationId=u.mutationId,Z(this,ft,u.mutationCache),Z(this,al,[]),this.state=u.state||N1(),this.setOptions(u.options),this.scheduleGc()}setOptions(u){this.options=u,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(u){p(this,al).includes(u)||(p(this,al).push(u),this.clearGcTimeout(),p(this,ft).notify({type:"observerAdded",mutation:this,observer:u}))}removeObserver(u){Z(this,al,p(this,al).filter(o=>o!==u)),this.scheduleGc(),p(this,ft).notify({type:"observerRemoved",mutation:this,observer:u})}optionalRemove(){p(this,al).length||(this.state.status==="pending"?this.scheduleGc():p(this,ft).remove(this))}continue(){var u;return((u=p(this,Ba))==null?void 0:u.continue())??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(u){var N,j,y,A,S,T,Y,G,W,ue,J,L,V,X,B,oe,D,k;const o=()=>{ve(this,nl,Pl).call(this,{type:"continue"})},r={client:p(this,Yi),meta:this.options.meta,mutationKey:this.options.mutationKey},h=Z(this,Ba,cy({fn:()=>this.options.mutationFn?this.options.mutationFn(u,r):Promise.reject(new Error("No mutationFn found")),onFail:(F,te)=>{ve(this,nl,Pl).call(this,{type:"failed",failureCount:F,error:te})},onPause:()=>{ve(this,nl,Pl).call(this,{type:"pause"})},onContinue:o,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>p(this,ft).canRun(this)})),b=this.state.status==="pending",M=!h.canStart();try{if(b)o();else{ve(this,nl,Pl).call(this,{type:"pending",variables:u,isPaused:M}),p(this,ft).config.onMutate&&await p(this,ft).config.onMutate(u,this,r);const te=await((j=(N=this.options).onMutate)==null?void 0:j.call(N,u,r));te!==this.state.context&&ve(this,nl,Pl).call(this,{type:"pending",context:te,variables:u,isPaused:M})}const F=await h.start();return await((A=(y=p(this,ft).config).onSuccess)==null?void 0:A.call(y,F,u,this.state.context,this,r)),await((T=(S=this.options).onSuccess)==null?void 0:T.call(S,F,u,this.state.context,r)),await((G=(Y=p(this,ft).config).onSettled)==null?void 0:G.call(Y,F,null,this.state.variables,this.state.context,this,r)),await((ue=(W=this.options).onSettled)==null?void 0:ue.call(W,F,null,u,this.state.context,r)),ve(this,nl,Pl).call(this,{type:"success",data:F}),F}catch(F){try{await((L=(J=p(this,ft).config).onError)==null?void 0:L.call(J,F,u,this.state.context,this,r))}catch(te){Promise.reject(te)}try{await((X=(V=this.options).onError)==null?void 0:X.call(V,F,u,this.state.context,r))}catch(te){Promise.reject(te)}try{await((oe=(B=p(this,ft).config).onSettled)==null?void 0:oe.call(B,void 0,F,this.state.variables,this.state.context,this,r))}catch(te){Promise.reject(te)}try{await((k=(D=this.options).onSettled)==null?void 0:k.call(D,void 0,F,u,this.state.context,r))}catch(te){Promise.reject(te)}throw ve(this,nl,Pl).call(this,{type:"error",error:F}),F}finally{p(this,Ba)===h&&Z(this,Ba,void 0),p(this,ft).runNext(this)}}},Yi=new WeakMap,al=new WeakMap,ft=new WeakMap,Ba=new WeakMap,nl=new WeakSet,Pl=function(u){const o=r=>{switch(u.type){case"failed":return{...r,failureCount:u.failureCount,failureReason:u.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:u.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:u.isPaused,status:"pending",variables:u.variables,submittedAt:Date.now()};case"success":return{...r,data:u.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:u.error,failureCount:r.failureCount+1,failureReason:u.error,isPaused:!1,status:"error"}}};this.state=o(this.state),st.batch(()=>{p(this,al).forEach(r=>{r.onMutationUpdate(u)}),p(this,ft).notify({mutation:this,type:"updated",action:u})})},Fm);function N1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Al,Wt,wi,$m,O1=($m=class extends Gi{constructor(u={}){super();ne(this,Al);ne(this,Wt);ne(this,wi);this.config=u,Z(this,Al,new Set),Z(this,Wt,new Map),Z(this,wi,0)}build(u,o,r){const h=new M1({client:u,mutationCache:this,mutationId:++sc(this,wi)._,options:u.defaultMutationOptions(o),state:r});return this.add(h),h}add(u){p(this,Al).add(u);const o=rc(u);if(typeof o=="string"){const r=p(this,Wt).get(o);r?r.push(u):p(this,Wt).set(o,[u])}this.notify({type:"added",mutation:u})}remove(u){if(p(this,Al).delete(u)){const o=rc(u);if(typeof o=="string"){const r=p(this,Wt).get(o);if(r)if(r.length>1){const h=r.indexOf(u);h!==-1&&r.splice(h,1)}else r[0]===u&&p(this,Wt).delete(o)}}this.notify({type:"removed",mutation:u})}canRun(u){var r;const o=rc(u);if(typeof o=="string"){const h=(r=p(this,Wt).get(o))==null?void 0:r.find(b=>b.state.status==="pending");return!h||h===u}else return!0}runNext(u){var r,h;const o=rc(u);return typeof o=="string"?((h=(r=p(this,Wt).get(o))==null?void 0:r.find(b=>b!==u&&b.state.isPaused))==null?void 0:h.continue())??Promise.resolve():Promise.resolve()}clear(){st.batch(()=>{p(this,Al).forEach(u=>{this.notify({type:"removed",mutation:u})}),p(this,Al).clear(),p(this,Wt).clear()})}getAll(){return Array.from(p(this,Al))}find(u){const o={exact:!0,...u};return this.getAll().find(r=>Mm(o,r))}findAll(u={}){return this.getAll().filter(o=>Mm(u,o))}notify(u){st.batch(()=>{this.listeners.forEach(o=>{o(u)})})}resumePausedMutations(){const u=this.getAll().filter(o=>o.state.isPaused);return st.batch(()=>Promise.all(u.map(o=>o.continue().catch(jt))))}},Al=new WeakMap,Wt=new WeakMap,wi=new WeakMap,$m);function rc(c){var u;return(u=c.options.scope)==null?void 0:u.id}var il,Wm,C1=(Wm=class extends Gi{constructor(u={}){super();ne(this,il);this.config=u,Z(this,il,new Map)}build(u,o,r){const h=o.queryKey,b=o.queryHash??nf(h,o);let M=this.get(b);return M||(M=new T1({client:u,queryKey:h,queryHash:b,options:u.defaultQueryOptions(o),state:r,defaultOptions:u.getQueryDefaults(h)}),this.add(M)),M}add(u){p(this,il).has(u.queryHash)||(p(this,il).set(u.queryHash,u),this.notify({type:"added",query:u}))}remove(u){const o=p(this,il).get(u.queryHash);o&&(u.destroy(),o===u&&p(this,il).delete(u.queryHash),this.notify({type:"removed",query:u}))}clear(){st.batch(()=>{this.getAll().forEach(u=>{this.remove(u)})})}get(u){return p(this,il).get(u)}getAll(){return[...p(this,il).values()]}find(u){const o={exact:!0,...u};return this.getAll().find(r=>Am(o,r))}findAll(u={}){const o=this.getAll();return Object.keys(u).length>0?o.filter(r=>Am(u,r)):o}notify(u){st.batch(()=>{this.listeners.forEach(o=>{o(u)})})}onFocus(){st.batch(()=>{this.getAll().forEach(u=>{u.onFocus()})})}onOnline(){st.batch(()=>{this.getAll().forEach(u=>{u.onOnline()})})}},il=new WeakMap,Wm),Ye,na,ia,Dn,Un,ua,qn,Hn,Im,R1=(Im=class{constructor(c={}){ne(this,Ye);ne(this,na);ne(this,ia);ne(this,Dn);ne(this,Un);ne(this,ua);ne(this,qn);ne(this,Hn);Z(this,Ye,c.queryCache||new C1),Z(this,na,c.mutationCache||new O1),Z(this,ia,c.defaultOptions||{}),Z(this,Dn,new Map),Z(this,Un,new Map),Z(this,ua,0)}mount(){sc(this,ua)._++,p(this,ua)===1&&(Z(this,qn,sf.subscribe(async c=>{c&&(await this.resumePausedMutations(),p(this,Ye).onFocus())})),Z(this,Hn,fc.subscribe(async c=>{c&&(await this.resumePausedMutations(),p(this,Ye).onOnline())})))}unmount(){var c,u;sc(this,ua)._--,p(this,ua)===0&&((c=p(this,qn))==null||c.call(this),Z(this,qn,void 0),(u=p(this,Hn))==null||u.call(this),Z(this,Hn,void 0))}isFetching(c){return p(this,Ye).findAll({...c,fetchStatus:"fetching"}).length}isMutating(c){return p(this,na).findAll({...c,status:"pending"}).length}getQueryData(c){var o;const u=this.defaultQueryOptions({queryKey:c});return(o=p(this,Ye).get(u.queryHash))==null?void 0:o.state.data}ensureQueryData(c){const u=this.defaultQueryOptions(c),o=p(this,Ye).build(this,u),r=o.state.data;return r===void 0?this.fetchQuery(c):(c.revalidateIfStale&&o.isStaleByTime(Xe(u.staleTime,o))&&this.prefetchQuery(u),Promise.resolve(r))}getQueriesData(c){return p(this,Ye).findAll(c).map(({queryKey:u,state:o})=>[u,o.data])}setQueryData(c,u,o){var M;const r=this.defaultQueryOptions({queryKey:c}),h=(M=p(this,Ye).get(r.queryHash))==null?void 0:M.state.data,b=o1(u,h);if(b!==void 0)return p(this,Ye).build(this,r).setData(b,{...o,manual:!0})}setQueriesData(c,u,o){return st.batch(()=>p(this,Ye).findAll(c).map(({queryKey:r})=>[r,this.setQueryData(r,u,o)]))}getQueryState(c){var o;const u=this.defaultQueryOptions({queryKey:c});return(o=p(this,Ye).get(u.queryHash))==null?void 0:o.state}removeQueries(c){const u=p(this,Ye);st.batch(()=>{u.findAll(c).forEach(o=>{u.remove(o)})})}resetQueries(c,u){const o=p(this,Ye);return st.batch(()=>{const r=o.findAll(c),h=new Set(r);return r.forEach(b=>{b.reset()}),this.refetchQueries({type:"active",predicate:b=>h.has(b)},u)})}cancelQueries(c,u={}){const o={revert:!0,...u},r=st.batch(()=>p(this,Ye).findAll(c).map(h=>h.cancel(o)));return Promise.all(r).then(jt).catch(jt)}invalidateQueries(c,u={}){return st.batch(()=>(p(this,Ye).findAll(c).forEach(o=>{o.invalidate()}),(c==null?void 0:c.refetchType)==="none"?Promise.resolve():this.refetchQueries({...c,type:(c==null?void 0:c.refetchType)??(c==null?void 0:c.type)??"active"},u)))}refetchQueries(c,u={}){const o={...u,cancelRefetch:u.cancelRefetch??!0},r=st.batch(()=>p(this,Ye).findAll(c).filter(h=>!h.isDisabled()&&!h.isStatic()).map(h=>{let b=h.fetch(void 0,o);return o.throwOnError||(b=b.catch(jt)),h.state.fetchStatus==="paused"?Promise.resolve():b}));return Promise.all(r).then(jt)}async query(c){const u=this.defaultQueryOptions(c);u.retry===void 0&&(u.retry=!1);const o=p(this,Ye).build(this,u),r=o.isStaleByTime(Xe(u.staleTime,o))?await o.fetch(u):o.state.data,h=u.select;return h?h(r):r}fetchQuery(c){const u=this.defaultQueryOptions(c);u.retry===void 0&&(u.retry=!1);const o=p(this,Ye).build(this,u);return o.isStaleByTime(Xe(u.staleTime,o))?o.fetch(u):Promise.resolve(o.state.data)}prefetchQuery(c){return this.fetchQuery(c).then(jt).catch(jt)}infiniteQuery(c){return c._type="infinite",this.query(c)}fetchInfiniteQuery(c){return c._type="infinite",this.fetchQuery(c)}prefetchInfiniteQuery(c){return this.fetchInfiniteQuery(c).then(jt).catch(jt)}ensureInfiniteQueryData(c){return c._type="infinite",this.ensureQueryData(c)}resumePausedMutations(){return fc.isOnline()?p(this,na).resumePausedMutations():Promise.resolve()}getQueryCache(){return p(this,Ye)}getMutationCache(){return p(this,na)}getDefaultOptions(){return p(this,ia)}setDefaultOptions(c){Z(this,ia,c)}setQueryDefaults(c,u){p(this,Dn).set(qi(c),{queryKey:c,defaultOptions:u})}getQueryDefaults(c){const u=[...p(this,Dn).values()],o={};return u.forEach(r=>{Qn(c,r.queryKey)&&Object.assign(o,r.defaultOptions)}),o}setMutationDefaults(c,u){p(this,Un).set(qi(c),{mutationKey:c,defaultOptions:u})}getMutationDefaults(c){const u=[...p(this,Un).values()],o={};return u.forEach(r=>{Qn(c,r.mutationKey)&&Object.assign(o,r.defaultOptions)}),o}defaultQueryOptions(c){if(c._defaulted)return c;const u={...p(this,ia).queries,...this.getQueryDefaults(c.queryKey),...c,_defaulted:!0};return u.queryHash||(u.queryHash=nf(u.queryKey,u)),u.refetchOnReconnect===void 0&&(u.refetchOnReconnect=u.networkMode!=="always"),u.throwOnError===void 0&&(u.throwOnError=!!u.suspense),!u.networkMode&&u.persister&&(u.networkMode="offlineFirst"),u.queryFn===uf&&(u.enabled=!1),u}defaultMutationOptions(c){return c!=null&&c._defaulted?c:{...p(this,ia).mutations,...(c==null?void 0:c.mutationKey)&&this.getMutationDefaults(c.mutationKey),...c,_defaulted:!0}}clear(){p(this,Ye).clear(),p(this,na).clear()}},Ye=new WeakMap,na=new WeakMap,ia=new WeakMap,Dn=new WeakMap,Un=new WeakMap,ua=new WeakMap,qn=new WeakMap,Hn=new WeakMap,Im);const fy=P.createContext(!1),D1=()=>P.useContext(fy);fy.Provider;function U1(){let c=!1;return{clearReset:()=>{c=!1},reset:()=>{c=!0},isReset:()=>c}}const q1=P.createContext(U1()),H1=()=>P.useContext(q1),Q1=(c,u,o)=>{const r=o!=null&&o.state.error&&typeof c.throwOnError=="function"?iy(c.throwOnError,[o.state.error,o]):c.throwOnError;(c.suspense||r)&&(u.isReset()||(c.retryOnMount=!1))},B1=c=>{P.useEffect(()=>{c.clearReset()},[c])},L1=({result:c,errorResetBoundary:u,throwOnError:o,query:r,suspense:h})=>c.isError&&!u.isReset()&&!c.isFetching&&r&&(h&&c.data===void 0||iy(o,[c.error,r])),Y1=c=>{if(c.suspense){const o=h=>h==="static"?h:Math.max(h??1e3,1e3),r=c.staleTime;c.staleTime=typeof r=="function"?(...h)=>o(r(...h)):o(r),typeof c.gcTime=="number"&&(c.gcTime=Math.max(c.gcTime,1e3))}},w1=(c,u)=>(c==null?void 0:c.suspense)&&u.isPending,G1=(c,u,o)=>u.fetchOptimistic(c).catch(()=>{o.clearReset()});function X1(c,u,o){const r=D1(),h=H1(),b=ey(),M=b.defaultQueryOptions(c),N=b.getQueryCache().get(M.queryHash),j=c.subscribed!==!1;M._optimisticResults=r?"isRestoring":j?"optimistic":void 0,Y1(M),Q1(M,h,N),B1(h);const[y]=P.useState(()=>new u(b,M)),A=y.getOptimisticResult(M),S=!r&&j;if(P.useSyncExternalStore(P.useCallback(T=>{const Y=S?y.subscribe(st.batchCalls(T)):jt;return y.updateResult(),Y},[y,S]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),P.useEffect(()=>{y.setOptions(M)},[M,y]),w1(M,A))throw G1(M,y,h);if(L1({result:A,errorResetBoundary:h,throwOnError:M.throwOnError,query:N,suspense:M.suspense}))throw A.error;return M.notifyOnChangeProps?A:y.trackResult(A)}function hc(c,u){return X1(c,_1)}/**
|
|
50
|
+
* @license lucide-react v0.468.0 - ISC
|
|
51
|
+
*
|
|
52
|
+
* This source code is licensed under the ISC license.
|
|
53
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
54
|
+
*/const Z1=c=>c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),oy=(...c)=>c.filter((u,o,r)=>!!u&&u.trim()!==""&&r.indexOf(u)===o).join(" ").trim();/**
|
|
55
|
+
* @license lucide-react v0.468.0 - ISC
|
|
56
|
+
*
|
|
57
|
+
* This source code is licensed under the ISC license.
|
|
58
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
59
|
+
*/var V1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
60
|
+
* @license lucide-react v0.468.0 - ISC
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the ISC license.
|
|
63
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/const K1=P.forwardRef(({color:c="currentColor",size:u=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:h="",children:b,iconNode:M,...N},j)=>P.createElement("svg",{ref:j,...V1,width:u,height:u,stroke:c,strokeWidth:r?Number(o)*24/Number(u):o,className:oy("lucide",h),...N},[...M.map(([y,A])=>P.createElement(y,A)),...Array.isArray(b)?b:[b]]));/**
|
|
65
|
+
* @license lucide-react v0.468.0 - ISC
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the ISC license.
|
|
68
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/const Te=(c,u)=>{const o=P.forwardRef(({className:r,...h},b)=>P.createElement(K1,{ref:b,iconNode:u,className:oy(`lucide-${Z1(c)}`,r),...h}));return o.displayName=`${c}`,o};/**
|
|
70
|
+
* @license lucide-react v0.468.0 - ISC
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the ISC license.
|
|
73
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/const J1=Te("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
|
|
75
|
+
* @license lucide-react v0.468.0 - ISC
|
|
76
|
+
*
|
|
77
|
+
* This source code is licensed under the ISC license.
|
|
78
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
79
|
+
*/const Bn=Te("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
|
80
|
+
* @license lucide-react v0.468.0 - ISC
|
|
81
|
+
*
|
|
82
|
+
* This source code is licensed under the ISC license.
|
|
83
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
84
|
+
*/const oc=Te("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
|
|
85
|
+
* @license lucide-react v0.468.0 - ISC
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the ISC license.
|
|
88
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
89
|
+
*/const Xi=Te("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
|
|
90
|
+
* @license lucide-react v0.468.0 - ISC
|
|
91
|
+
*
|
|
92
|
+
* This source code is licensed under the ISC license.
|
|
93
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
94
|
+
*/const k1=Te("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
95
|
+
* @license lucide-react v0.468.0 - ISC
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the ISC license.
|
|
98
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/const F1=Te("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
100
|
+
* @license lucide-react v0.468.0 - ISC
|
|
101
|
+
*
|
|
102
|
+
* This source code is licensed under the ISC license.
|
|
103
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
104
|
+
*/const dy=Te("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
105
|
+
* @license lucide-react v0.468.0 - ISC
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the ISC license.
|
|
108
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/const $1=Te("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
110
|
+
* @license lucide-react v0.468.0 - ISC
|
|
111
|
+
*
|
|
112
|
+
* This source code is licensed under the ISC license.
|
|
113
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
114
|
+
*/const W1=Te("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
|
|
115
|
+
* @license lucide-react v0.468.0 - ISC
|
|
116
|
+
*
|
|
117
|
+
* This source code is licensed under the ISC license.
|
|
118
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
119
|
+
*/const I1=Te("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
|
|
120
|
+
* @license lucide-react v0.468.0 - ISC
|
|
121
|
+
*
|
|
122
|
+
* This source code is licensed under the ISC license.
|
|
123
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
124
|
+
*/const P1=Te("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
|
|
125
|
+
* @license lucide-react v0.468.0 - ISC
|
|
126
|
+
*
|
|
127
|
+
* This source code is licensed under the ISC license.
|
|
128
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
129
|
+
*/const ep=Te("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
|
|
130
|
+
* @license lucide-react v0.468.0 - ISC
|
|
131
|
+
*
|
|
132
|
+
* This source code is licensed under the ISC license.
|
|
133
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
134
|
+
*/const tp=Te("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
|
|
135
|
+
* @license lucide-react v0.468.0 - ISC
|
|
136
|
+
*
|
|
137
|
+
* This source code is licensed under the ISC license.
|
|
138
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
139
|
+
*/const lp=Te("FlaskConical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);/**
|
|
140
|
+
* @license lucide-react v0.468.0 - ISC
|
|
141
|
+
*
|
|
142
|
+
* This source code is licensed under the ISC license.
|
|
143
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
144
|
+
*/const ap=Te("GitBranch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]]);/**
|
|
145
|
+
* @license lucide-react v0.468.0 - ISC
|
|
146
|
+
*
|
|
147
|
+
* This source code is licensed under the ISC license.
|
|
148
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
149
|
+
*/const np=Te("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);/**
|
|
150
|
+
* @license lucide-react v0.468.0 - ISC
|
|
151
|
+
*
|
|
152
|
+
* This source code is licensed under the ISC license.
|
|
153
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
154
|
+
*/const ip=Te("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
155
|
+
* @license lucide-react v0.468.0 - ISC
|
|
156
|
+
*
|
|
157
|
+
* This source code is licensed under the ISC license.
|
|
158
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
159
|
+
*/const up=Te("Layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/**
|
|
160
|
+
* @license lucide-react v0.468.0 - ISC
|
|
161
|
+
*
|
|
162
|
+
* This source code is licensed under the ISC license.
|
|
163
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
+
*/const cp=Te("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
|
|
165
|
+
* @license lucide-react v0.468.0 - ISC
|
|
166
|
+
*
|
|
167
|
+
* This source code is licensed under the ISC license.
|
|
168
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
+
*/const ef=Te("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/**
|
|
170
|
+
* @license lucide-react v0.468.0 - ISC
|
|
171
|
+
*
|
|
172
|
+
* This source code is licensed under the ISC license.
|
|
173
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
+
*/const sp=Te("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|
175
|
+
* @license lucide-react v0.468.0 - ISC
|
|
176
|
+
*
|
|
177
|
+
* This source code is licensed under the ISC license.
|
|
178
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
+
*/const rp=Te("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);/**
|
|
180
|
+
* @license lucide-react v0.468.0 - ISC
|
|
181
|
+
*
|
|
182
|
+
* This source code is licensed under the ISC license.
|
|
183
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
184
|
+
*/const fp=Te("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
185
|
+
* @license lucide-react v0.468.0 - ISC
|
|
186
|
+
*
|
|
187
|
+
* This source code is licensed under the ISC license.
|
|
188
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
189
|
+
*/const Hm=Te("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
|
|
190
|
+
* @license lucide-react v0.468.0 - ISC
|
|
191
|
+
*
|
|
192
|
+
* This source code is licensed under the ISC license.
|
|
193
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
194
|
+
*/const Qm=Te("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
|
195
|
+
* @license lucide-react v0.468.0 - ISC
|
|
196
|
+
*
|
|
197
|
+
* This source code is licensed under the ISC license.
|
|
198
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
199
|
+
*/const op=Te("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
200
|
+
* @license lucide-react v0.468.0 - ISC
|
|
201
|
+
*
|
|
202
|
+
* This source code is licensed under the ISC license.
|
|
203
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
204
|
+
*/const dp=Te("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
205
|
+
* @license lucide-react v0.468.0 - ISC
|
|
206
|
+
*
|
|
207
|
+
* This source code is licensed under the ISC license.
|
|
208
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
209
|
+
*/const hp=Te("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
|
|
210
|
+
* @license lucide-react v0.468.0 - ISC
|
|
211
|
+
*
|
|
212
|
+
* This source code is licensed under the ISC license.
|
|
213
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
214
|
+
*/const ff=Te("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
215
|
+
* @license lucide-react v0.468.0 - ISC
|
|
216
|
+
*
|
|
217
|
+
* This source code is licensed under the ISC license.
|
|
218
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
219
|
+
*/const mp=Te("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
220
|
+
* @license lucide-react v0.468.0 - ISC
|
|
221
|
+
*
|
|
222
|
+
* This source code is licensed under the ISC license.
|
|
223
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
224
|
+
*/const yp=Te("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|
225
|
+
* @license lucide-react v0.468.0 - ISC
|
|
226
|
+
*
|
|
227
|
+
* This source code is licensed under the ISC license.
|
|
228
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
229
|
+
*/const hy=Te("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);let dc;async function vp(){const c=await fetch(new URL("./config.json",document.baseURI),{cache:"no-store"});if(!c.ok)throw new Error("Studio configuration unavailable");const u=await c.json();if(!["local","static"].includes(u.mode)||u.readonly!==!0||typeof u.api_base!="string")throw new Error("Invalid read-only Studio configuration");if(new URL(u.api_base,document.baseURI).origin!==location.origin)throw new Error("Cross-origin data endpoints are not permitted");return dc=u,u}function tf(){return dc}async function of(c,u){const o=dc.api_base.replace(/\/$/,""),r=new URL(o+"/"+c+(dc.mode==="static"?".json":""),document.baseURI),h=await fetch(r,{signal:u,cache:"no-store",headers:{Accept:"application/json"}});if(!h.ok)throw new Error(`HTTP ${h.status}: ${c}`);if(!(h.headers.get("content-type")||"").includes("json"))throw new Error("Expected JSON, not an HTML fallback");return h.json()}async function pp(c){const u=await of("catalog",c);if(u.schema_version!==1||!Array.isArray(u.projects)||u.readonly!==!0)throw new Error("Unsupported catalog contract");return u}async function gp(c,u){var r;const o=await of("projects/"+encodeURIComponent(c),u);if(o.schema_version!==1||((r=o.project)==null?void 0:r.id)!==c||!Array.isArray(o.evidence))throw new Error("Invalid project projection");return o}const bp=c=>of("evolution",c);function xp(c){if(!(typeof c!="string"||!c.trim()))try{const u=new URL(c);return["https:","http:"].includes(u.protocol)?u.href:void 0}catch{return}}function Sp(c){const u=new URL(c,document.baseURI);if(u.origin!==location.origin)throw new Error("Cross-origin report refused");return u.href}function ul(c){return c==null?"":typeof c=="string"?c:Array.isArray(c)?c.map(ul).filter(Boolean).join(" · "):typeof c=="object"?Object.entries(c).map(([u,o])=>`${u}: ${ul(o)}`).join(`
|
|
230
|
+
`):String(c)}function Ln(c,u){if(!c)return"—";const o=new Date(c);return Number.isNaN(o.valueOf())?c:new Intl.DateTimeFormat(u==="zh"?"zh-CN":"en",{year:"numeric",month:"short",day:"numeric"}).format(o)}function mc(c){return String(c||"not_recorded").toLowerCase()}function my(c,u="overview"){location.hash="/project/"+encodeURIComponent(c)+"/"+u}function Na(c,u){return u==="en"?c.title_en:c.title}const jp={executionPlan:"执行计划",suitable_for:"适用对象",not_suitable_for:"不适用对象",required_conditions:"必要条件",queued:"排队中",waiting_for_user:"等待用户",waiting_for_user_data:"等待用户数据",blocked_scientific_gate:"科学门控阻断",interval_invalid:"区间无效",interval_incomplete:"区间不完整",not_reported:"未报告",multiple:"多个主张关系",mixed:"混合",not_applicable:"不适用",not_started:"尚未开始",projects:"研究总览",reports:"报告阅读室",evolution:"系统迭代",guide:"流程导览",workspace:"工作空间",readonly:"只读观察",local:"本地研究",static:"静态快照",search:"搜索研究问题",refresh:"刷新数据",dark:"切换明暗",language:"English",homeTitle:"从问题,走向有依据的决定。",homeLead:"看见证据如何支持、挑战并改变一个决定。",all:"全部研究",examples:"案例文库",projectCount:"研究项目",sources:"文献来源",findings:"证据发现",claims:"研究主张",studies:"研究单元",runs:"运行记录",featured:"从一个真实问题开始",open:"查看研究",readReport:"阅读报告",overview:"研究概览",evidence:"证据工作台",graph:"溯源图谱",activity:"运行与事件",revisions:"版本演变",decision:"当前决定",confidence:"证据确定性",support:"支持",contradict:"挑战",neutral:"中性",unassigned:"未指定主张关系",supported:"证据支持什么",uncertain:"什么仍不确定",contradicted:"什么不被支持",boundary:"适用边界",pilotPlan:"试点与评估",not_recorded:"未记录",adopt:"采用",pilot:"限制性试点",reject:"不采用",insufficient_evidence:"证据不足",high:"高",moderate:"中等",low:"低",insufficient:"不足",example:"案例",manual_curated:"人工整理文献",synthetic:"合成演示数据",local_project:"本地项目",updated:"数据日期",revision:"图谱版本",stale:"决定待重新裁决",noData:"暂无已记录的数据",noResults:"没有匹配的研究",emptyLead:"数据将由现有 Skill 或 CLI 生成;此页不启动或修改研究。",retry:"重试",error:"数据读取失败",loading:"正在读取研究",close:"关闭",details:"查看详情",outcome:"结局指标",relation:"与主张的关系",effect:"观测效应",positive:"正向",negative:"负向",null:"零效应",source:"原始来源",finding:"证据",claim:"主张",filter:"筛选",any:"全部",inspect:"证据详情",noInference:"仅展示已记录的结果,不在前端重新合并效应量。",forest:"效应与不确定性",noCI:"置信区间未报告",noEffect:"未报告可比的数值效应",graphLead:"选中节点,追溯来源与主张的证据关系。",graphSubset:"图中为可阅的局部视图;完整记录在证据工作台。",reset:"重置",zoomIn:"放大",zoomOut:"缩小",recorded:"已记录",running:"运行中",completed:"已完成",active:"活跃",failed:"失败",cancelled:"已取消",events:"事件时间线",artifacts:"产物索引",noHistory:"此案例未附带运行历史",noHistoryLead:"存在报告不代表九个阶段均有执行记录。",selectProject:"选择研究项目",reportTitle:"同一份证据,五种阅读视角。",reportLead:"风格改变表达,不改变来源、数值与结论。",download:"下载独立 HTML",openTab:"在新标签阅读",notGenerated:"尚未生成",reportLoading:"正在载入报告",evolveTitle:"让研究方法本身更好。",evolveLead:"Skill 自进化实验与研究项目的证据迭代分开记录。",guardrails:"科学边界",guideTitle:"每个决定,都有来路。",guideLead:"三个研究入口,一条可溯源的证据链。",diagnostics:"数据诊断",sampleSize:"样本量",method:"研究设计",provenance:"溯源",raw:"原始记录",viewSource:"访问来源",readOnlyNote:"研究由 Agent / CLI 驱动,控制台仅观察。",frame:"问题定义",retrieve:"系统检索",extract:"证据抽取",challenge:"反证挑战",audit:"方法审核",adjudicate:"综合裁决",applicability:"适用边界",intervene:"试点设计",evaluate:"评估更新",skip:"跳到主要内容",noMetrics:"未记录费用或耗时",revisionLead:"证据状态与决定快照分别追踪,旧版本不被覆盖。",related:"相关记录",searchEvidence:"搜索证据、来源或指标",issues:"需关注",clear:"清除筛选"},Bm={executionPlan:"Execution plan",suitable_for:"Suitable for",not_suitable_for:"Not suitable for",required_conditions:"Required conditions",queued:"Queued",waiting_for_user:"Waiting for user",waiting_for_user_data:"Waiting for data",blocked_scientific_gate:"Scientific gate blocked",interval_invalid:"Invalid CI",interval_incomplete:"Incomplete CI",not_reported:"Not reported",multiple:"Multiple claim relations",mixed:"Mixed",not_applicable:"Not applicable",not_started:"Not started",projects:"Research overview",reports:"Report library",evolution:"System evolution",guide:"Research flow",workspace:"Workspace",readonly:"Read-only",local:"Local research",static:"Static snapshot",search:"Search research questions",refresh:"Refresh data",dark:"Toggle appearance",language:"中文",homeTitle:"From questions to defensible decisions.",homeLead:"Follow the evidence that supports, challenges, and changes a decision.",all:"All research",examples:"Case library",projectCount:"Research projects",sources:"Sources",findings:"Findings",claims:"Claims",studies:"Study units",runs:"Runs",featured:"Start with a real question",open:"Explore research",readReport:"Read report",overview:"Overview",evidence:"Evidence workspace",graph:"Provenance graph",activity:"Runs & events",revisions:"Revision history",decision:"Current decision",confidence:"Evidence certainty",support:"Supports",contradict:"Challenges",neutral:"Neutral",unassigned:"Unassigned relation",supported:"What the evidence supports",uncertain:"What remains uncertain",contradicted:"What is not supported",boundary:"Applicability boundary",pilotPlan:"Pilot & evaluation",not_recorded:"Not recorded",adopt:"Adopt",pilot:"Restricted pilot",reject:"Do not adopt",insufficient_evidence:"Insufficient evidence",high:"High",moderate:"Moderate",low:"Low",insufficient:"Insufficient",example:"Case study",manual_curated:"Manually curated literature",synthetic:"Synthetic demonstration",local_project:"Local project",updated:"Data date",revision:"Graph revision",stale:"Re-adjudication needed",noData:"No records available",noResults:"No matching research",emptyLead:"Data is produced by the existing Skill or CLI. This console does not start or modify research.",retry:"Retry",error:"Unable to read data",loading:"Reading research",close:"Close",details:"View details",outcome:"Outcome",relation:"Relation to claim",effect:"Observed effect",positive:"Positive",negative:"Negative",null:"Null",source:"Source",finding:"Finding",claim:"Claim",filter:"Filter",any:"All",inspect:"Evidence detail",noInference:"Recorded results only. Studio does not recompute pooled effect sizes.",forest:"Effects & uncertainty",noCI:"CI not reported",noEffect:"No comparable numeric effect reported",graphLead:"Select a node to trace source-to-claim relationships.",graphSubset:"A readable subgraph is shown. The evidence workspace contains all records.",reset:"Reset",zoomIn:"Zoom in",zoomOut:"Zoom out",recorded:"Recorded",running:"Running",completed:"Completed",active:"Active",failed:"Failed",cancelled:"Cancelled",events:"Event timeline",artifacts:"Artifact index",noHistory:"No execution history attached",noHistoryLead:"A report does not prove that every protocol stage has an execution record.",selectProject:"Select research project",reportTitle:"One evidence base. Five ways to read.",reportLead:"Visual styles change presentation, never sources, numbers or conclusions.",download:"Download HTML",openTab:"Open report in a new tab",notGenerated:"Not generated",reportLoading:"Loading report",evolveTitle:"Make the research process better.",evolveLead:"Skill evolution experiments are separate from project evidence iterations.",guardrails:"Scientific boundaries",guideTitle:"Every decision has a provenance.",guideLead:"Three research entry points. One traceable evidence chain.",diagnostics:"Data diagnostics",sampleSize:"Sample size",method:"Study design",provenance:"Provenance",raw:"Original record",viewSource:"Visit source",readOnlyNote:"Research is driven by Agent / CLI. Studio observes only.",frame:"Frame",retrieve:"Retrieve",extract:"Extract",challenge:"Challenge",audit:"Audit",adjudicate:"Adjudicate",applicability:"Applicability",intervene:"Intervene",evaluate:"Evaluate",skip:"Skip to main content",noMetrics:"Cost and timing not recorded",revisionLead:"Evidence state and decision snapshots are tracked separately. History is never overwritten.",related:"Related records",searchEvidence:"Search findings, sources or outcomes",issues:"Needs attention",clear:"Clear filters"},yy=P.createContext("zh");function Qe(){const c=P.useContext(yy);return{locale:c,t:u=>(c==="zh"?jp:Bm)[u]||Bm[u]||u.replaceAll("_"," ")}}function Je({value:c,quiet:u=!1}){const{t:o}=Qe(),r=mc(c);return s.jsxs("span",{className:`badge ${u?"quiet":r}`,children:[s.jsx("span",{className:"badge-dot"}),o(r)]})}function Et({title:c,children:u}){const{t:o}=Qe();return s.jsxs("div",{className:"empty",children:[s.jsx(np,{size:27,strokeWidth:1.3}),s.jsx("h3",{children:c||o("noData")}),s.jsx("p",{children:u||o("emptyLead")})]})}function df(){const{t:c}=Qe();return s.jsxs("div",{className:"loading",role:"status",children:[s.jsx("span",{className:"loader"}),c("loading"),s.jsx("div",{className:"skeleton"}),s.jsx("div",{className:"skeleton short"})]})}function Hi({error:c,retry:u}){const{t:o}=Qe();return s.jsxs("div",{className:"error-state",role:"alert",children:[s.jsx(dy,{}),s.jsx("h3",{children:o("error")}),s.jsx("p",{children:c.message}),s.jsx("button",{className:"button",onClick:u,children:o("retry")})]})}function yc({eyebrow:c,title:u,lead:o,children:r}){return s.jsxs("header",{className:"page-heading",children:[s.jsxs("div",{children:[s.jsx("p",{className:"eyebrow",children:c}),s.jsx("h1",{children:u}),o&&s.jsx("p",{className:"page-lead",children:o})]}),r]})}function ca({label:c,value:u,detail:o}){return s.jsxs("div",{className:"stat",children:[s.jsx("span",{children:c}),s.jsx("strong",{children:u}),o&&s.jsx("small",{children:o})]})}function vy({value:c,onChange:u,label:o}){return s.jsxs("label",{className:"search-field",children:[s.jsx(ff,{size:16}),s.jsx("input",{type:"search",value:c,onChange:r=>u(r.target.value),placeholder:o,"aria-label":o})]})}function Ut({title:c,kicker:u,children:o,action:r}){return s.jsxs("section",{className:"section",children:[s.jsxs("div",{className:"section-heading",children:[s.jsxs("div",{children:[u&&s.jsx("p",{className:"eyebrow",children:u}),s.jsx("h2",{children:c})]}),r]}),o]})}function py({issues:c}){const{t:u}=Qe();return c.length?s.jsxs("details",{className:"diagnostic",children:[s.jsxs("summary",{children:[s.jsx(dy,{size:15}),u("diagnostics")," ",s.jsx("span",{children:c.length})]}),s.jsx("ul",{children:c.map((o,r)=>s.jsxs("li",{children:[s.jsx("code",{children:o.code})," ",o.message]},r))})]}):null}function It({data:c}){const{t:u}=Qe();if(typeof c=="string")return s.jsx("p",{className:"prose",children:c});const o=Object.entries(c||{}).filter(([,r])=>r!=null&&ul(r)!=="");return o.length?s.jsx("dl",{className:"definition",children:o.map(([r,h])=>s.jsxs("div",{children:[s.jsx("dt",{children:u(r)}),s.jsx("dd",{children:ul(h)})]},r))}):s.jsx("p",{className:"muted",children:u("not_recorded")})}function gy({url:c,children:u}){const{t:o}=Qe(),r=xp(c);return r?s.jsxs("a",{className:"text-link",href:r,target:"_blank",rel:"noopener noreferrer",children:[u||o("viewSource"),s.jsx(oc,{size:14})]}):s.jsx("span",{className:"muted",children:o("not_recorded")})}function Ep({row:c,sources:u,onClose:o}){var N;const r=P.useRef(null),{t:h,locale:b}=Qe();P.useEffect(()=>{var j,y,A;c&&!((j=r.current)!=null&&j.open)&&((y=r.current)==null||y.showModal()),!c&&((A=r.current)!=null&&A.open)&&r.current.close()},[c]);const M=u.find(j=>j.source_id===(c==null?void 0:c.source_id));return s.jsxs("dialog",{ref:r,className:"inspector","aria-label":h("inspect"),onCancel:o,onClose:o,children:[s.jsxs("div",{className:"inspector-top",children:[s.jsx("span",{className:"eyebrow",children:h("inspect")}),s.jsx("button",{className:"icon-button","aria-label":h("close"),onClick:o,children:s.jsx(hy,{size:18})})]}),c&&s.jsxs(s.Fragment,{children:[s.jsx("code",{className:"entity-id",children:c.id||c.source_id||c.claim_id}),s.jsx("h2",{children:b==="zh"?c.title_zh||c.title||c.label:c.title||c.label}),s.jsxs("div",{className:"row-badges",children:[s.jsx(Je,{value:c.relation}),s.jsx(Je,{value:c.effect_direction,quiet:!0})]}),s.jsx("p",{className:"prose",children:b==="zh"?c.claim_zh||c.claim||c.effect:c.claim||c.effect}),s.jsx(It,{data:{outcome:c.outcome_type,sampleSize:c.sample_size,method:c.study_type,provenance:c.source_id,study_id:c.study_id}}),((N=c.audits)==null?void 0:N.length)>0&&s.jsx("section",{className:"source-callout",children:s.jsx(It,{data:{audit:c.audits}})}),M&&s.jsxs("section",{className:"source-callout",children:[s.jsx(Xi,{size:18}),s.jsxs("div",{children:[s.jsx("h3",{children:M.title}),s.jsx(gy,{url:M.canonical_url||M.source_location})]})]}),s.jsxs("details",{className:"raw-record",children:[s.jsx("summary",{children:h("raw")}),s.jsx("pre",{children:JSON.stringify(c,null,2)})]})]})]})}function by({run:c}){const{t:u,locale:o}=Qe();return s.jsxs("details",{className:"run-row",children:[s.jsxs("summary",{children:[s.jsx("span",{className:"run-icon",children:c.status==="completed"?s.jsx($1,{size:18}):s.jsx(W1,{size:18})}),s.jsxs("div",{children:[s.jsx("strong",{children:c.purpose||c.run_id}),s.jsxs("small",{children:[c.run_id," · ",Ln(c.started_at,o)]})]}),s.jsx(Je,{value:c.status})]}),s.jsxs("div",{className:"run-body",children:[s.jsx(It,{data:{execution_backend:c.execution_backend,capabilities:c.capabilities,graph_revision_before:c.graph_revision_before,graph_revision_after:c.graph_revision_after}}),Object.keys(c.gate_report||{}).length>0&&s.jsxs("details",{children:[s.jsx("summary",{children:u("guardrails")}),s.jsx(It,{data:c.gate_report})]}),Object.keys(c.execution_plan||{}).length>0&&s.jsxs("details",{children:[s.jsx("summary",{children:u("executionPlan")}),s.jsx(It,{data:c.execution_plan})]}),s.jsx("div",{className:"stage-track",children:["frame","retrieve","extract","challenge","audit","adjudicate","applicability","intervene","evaluate"].map(r=>{var h,b,M;return s.jsxs("div",{children:[s.jsx("span",{children:u(r)}),s.jsx(Je,{value:(M=(b=(h=c.stage_state)==null?void 0:h.stages)==null?void 0:b[r])==null?void 0:M.status,quiet:!0})]},r)})})]})]})}function zp({events:c}){const{locale:u,t:o}=Qe();return c.length?s.jsx("ol",{className:"event-list",children:c.map(r=>s.jsxs("li",{children:[s.jsx("span",{className:"event-dot"}),s.jsxs("div",{children:[s.jsxs("div",{className:"event-header",children:[s.jsx("strong",{children:o(r.type)}),s.jsx("time",{children:Ln(r.created_at,u)})]}),s.jsxs("small",{className:"muted",children:["#",r.seq," ",r.run_id||""]}),s.jsxs("details",{className:"raw-record",children:[s.jsx("summary",{children:o("details")}),s.jsx("pre",{children:JSON.stringify(r.payload,null,2)})]})]})]},r.seq))}):s.jsx(Et,{})}function Tp({artifacts:c}){const{t:u}=Qe();return c.length?s.jsx("div",{className:"artifact-list",children:c.map(o=>s.jsxs("div",{children:[s.jsx(P1,{size:16}),s.jsxs("div",{children:[s.jsx("strong",{children:o.artifact_type}),s.jsx("code",{children:o.artifact_id})]}),s.jsxs("details",{className:"raw-record",children:[s.jsx("summary",{children:u("details")}),s.jsx("pre",{children:JSON.stringify(o,null,2)})]})]},o.artifact_id))}):s.jsx(Et,{})}function _p({p:c}){return s.jsxs("div",{className:"mini-trace","aria-hidden":"true",children:[s.jsx("div",{className:"trace-column",children:["S","S","S"].slice(0,Math.min(3,c.counts.sources)).map((u,o)=>s.jsx("span",{children:u},o))}),s.jsx("svg",{viewBox:"0 0 150 90",children:s.jsx("path",{d:"M0 10 C70 10 70 45 150 45 M0 45 L150 45 M0 80 C70 80 70 45 150 45"})}),s.jsx("span",{className:"trace-center",children:s.jsx(up,{size:23})}),s.jsx("svg",{viewBox:"0 0 85 90",children:s.jsx("path",{d:"M0 45 L85 45"})}),s.jsx("span",{className:`trace-outcome ${mc(c.decision.action)}`,children:String(c.decision.action||"—").toUpperCase().replaceAll("_"," ")})]})}function Ap({catalog:c}){const{t:u,locale:o}=Qe(),[r,h]=P.useState(""),[b,M]=P.useState("all"),[N,j]=P.useState("recent"),y=P.useMemo(()=>c.projects.filter(T=>(b==="all"||b===T.kind)&&[T.title,T.title_en,T.question,T.domain].join(" ").toLowerCase().includes(r.toLowerCase())).sort((T,Y)=>N==="recent"?(Y.updated_at||"").localeCompare(T.updated_at||""):Na(T,o).localeCompare(Na(Y,o))),[c,r,b,N,o]),A=c.projects.find(T=>T.id==="example--ai-coding-assistant-evidence")||c.projects[0],S=T=>c.projects.reduce((Y,G)=>Y+G.counts[T],0);return s.jsxs(s.Fragment,{children:[s.jsx(yc,{eyebrow:"RESEARCH WORKSPACE",title:u("homeTitle"),lead:u("homeLead")}),s.jsx(py,{issues:c.issues}),s.jsxs("div",{className:"stats-grid",children:[s.jsx(ca,{label:u("projectCount"),value:c.projects.length}),s.jsx(ca,{label:u("findings"),value:S("findings")}),s.jsx(ca,{label:u("sources"),value:S("sources")}),s.jsx(ca,{label:u("local"),value:c.projects.filter(T=>T.kind==="project").length})]}),A&&s.jsxs("section",{className:"feature-grid",children:[s.jsxs("article",{className:"feature-case",children:[s.jsxs("p",{className:"eyebrow",children:[u("featured")," ",s.jsx(oc,{size:14})]}),s.jsx("h2",{children:Na(A,o)}),s.jsxs("div",{className:"row-badges",children:[s.jsx(Je,{value:A.decision.action}),s.jsxs("span",{className:"muted",children:[u("confidence")," ·"," ",u(mc(A.decision.confidence))]})]}),s.jsx(_p,{p:A}),s.jsxs("button",{className:"button primary",onClick:()=>my(A.id),children:[u("open"),s.jsx(Bn,{size:16})]})]}),s.jsxs("aside",{className:"principle-card",children:[s.jsx(mp,{size:26,strokeWidth:1.25}),s.jsx("p",{className:"eyebrow",children:"DECISION INTEGRITY"}),s.jsx("h2",{children:o==="zh"?"证据有边界,决定有依据。":"Evidence has limits. Decisions need reasons."}),s.jsx("p",{children:o==="zh"?"正向结果、反证和未知,都是研究的一部分。":"Positive findings, counter-evidence, and uncertainty all belong in the research."}),s.jsxs("a",{href:"#/guide",className:"text-link",children:[u("guide"),s.jsx(Bn,{size:15})]}),s.jsxs("span",{className:"principle-caption",children:["Optimize the process.",s.jsx("br",{}),"Never the conclusion."]})]})]}),s.jsxs("section",{className:"project-library",children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("h2",{children:u("all")}),s.jsxs("span",{className:"count-label",children:[y.length," / ",c.projects.length]})]}),s.jsxs("div",{className:"library-toolbar",children:[s.jsx("div",{className:"segmented","aria-label":u("filter"),children:[["all","all"],["project","local"],["example","examples"]].map(([T,Y])=>s.jsx("button",{"aria-pressed":b===T,onClick:()=>M(T),children:u(Y)},T))}),s.jsx(vy,{label:u("search"),value:r,onChange:h}),s.jsxs("select",{"aria-label":o==="zh"?"排序":"Sort",value:N,onChange:T=>j(T.target.value),children:[s.jsx("option",{value:"recent",children:u("updated")}),s.jsx("option",{value:"title",children:o==="zh"?"标题":"Title"})]})]}),y.length?s.jsx("div",{className:"project-grid",children:y.map(T=>s.jsxs("article",{className:"project-card",children:[s.jsxs("div",{className:"project-card-top",children:[s.jsx("span",{className:"project-symbol",children:s.jsx(Xi,{size:18})}),s.jsx("span",{className:"origin-label",children:u(T.data_origin)})]}),s.jsxs("a",{className:"project-title",href:`#/project/${encodeURIComponent(T.id)}/overview`,children:[s.jsx("h3",{children:Na(T,o)}),s.jsx(oc,{size:16})]}),s.jsxs("div",{className:"row-badges",children:[s.jsx(Je,{value:T.decision.action}),T.decision.stale&&s.jsx(Je,{value:"stale"})]}),s.jsxs("div",{className:"project-card-footer",children:[s.jsxs("span",{children:[T.counts.findings," ",u("findings")," ",s.jsx("span",{className:"sep",children:"/"})," ",T.counts.sources," ",u("sources")]}),s.jsx("time",{children:Ln(T.updated_at,o)})]})]},T.id))}):s.jsx(Et,{title:u("noResults"),children:s.jsx("button",{className:"button",onClick:()=>{h(""),M("all")},children:u("clear")})})]})]})}function xy({data:c,onSelect:u,compact:o=!1}){const{t:r,locale:h}=Qe(),[b,M]=P.useState(""),[N,j]=P.useState(1),[y,A]=P.useState(1),S=P.useRef(null),[T,Y]=P.useState(!1);P.useEffect(()=>{const D=matchMedia("(prefers-reduced-motion: reduce)");let k=!0;const F=()=>Y(!D.matches&&!document.hidden&&k),te=new IntersectionObserver(([xe])=>{k=xe.isIntersecting,F()});return S.current&&te.observe(S.current),D.addEventListener("change",F),document.addEventListener("visibilitychange",F),F(),()=>{te.disconnect(),D.removeEventListener("change",F),document.removeEventListener("visibilitychange",F)}},[]);const G=["source","finding","claim"],W=o?4:12,ue=P.useMemo(()=>G.flatMap((D,k)=>c.nodes.filter(F=>F.kind===D).slice(0,W).map((F,te,xe)=>({...F,x:o?90+k*210:110+k*260,y:68+(te+.5)*(o?210:Math.max(280,xe.length*45))/xe.length}))),[c,o]),J=o?340:Math.max(380,...G.map(D=>c.nodes.filter(k=>k.kind===D).slice(0,W).length*45+140)),L=new Map(ue.map(D=>[D.id,D])),V=c.edges.filter(D=>L.has(D.source)&&L.has(D.target)),X=new Set([b]),B=new Set;for(const D of[!1,!0]){const k=new Set([b]),F=[b];for(let te=0;te<F.length;te++){const xe=F[te];V.forEach((Be,qt)=>{if((D?Be.target:Be.source)!==xe)return;const lt=D?Be.source:Be.target;B.add(qt),X.add(lt),k.has(lt)||(k.add(lt),F.push(lt))})}}const oe=D=>{M(D.id),o||A(k=>k+1),u==null||u(c.nodes.find(k=>k.id===D.id)||D)};return s.jsxs("div",{ref:S,className:`graph-panel ${o?"compact":""}`,children:[o&&s.jsx("button",{className:"icon-button compact-flow-toggle","aria-label":h==="zh"?y?"暂停连线流动":"播放连线流动":y?"Pause relationship flow":"Play relationship flow","aria-pressed":!!y,onClick:()=>A(D=>D?0:1),children:y?s.jsx(Hm,{size:13}):s.jsx(Qm,{size:13})}),!o&&s.jsxs("div",{className:"graph-toolbar",children:[s.jsx("p",{children:r("graphLead")}),s.jsxs("div",{className:"button-group",children:[s.jsx("button",{className:"icon-button","aria-label":h==="zh"?y?"暂停连线流动":"播放连线流动":y?"Pause relationship flow":"Play relationship flow","aria-pressed":!!y,onClick:()=>A(D=>D?0:1),children:y?s.jsx(Hm,{size:15}):s.jsx(Qm,{size:15})}),s.jsx("button",{className:"icon-button","aria-label":r("zoomOut"),onClick:()=>j(Math.max(.8,N-.2)),children:s.jsx(rp,{size:15})}),s.jsx("button",{className:"icon-button","aria-label":r("reset"),onClick:()=>{j(1),M("")},children:s.jsx(hp,{size:15})}),s.jsx("button",{className:"icon-button","aria-label":r("zoomIn"),onClick:()=>j(Math.min(1.8,N+.2)),children:s.jsx(op,{size:15})})]})]}),s.jsx("div",{className:"graph-scroll",children:s.jsxs("svg",{role:"img","aria-label":r("graph"),viewBox:`0 0 ${o?620:860} ${J}`,style:{minWidth:o?void 0:700*N},children:[s.jsx("defs",{children:s.jsx("pattern",{id:o?"dots-mini":"dots",width:"18",height:"18",patternUnits:"userSpaceOnUse",children:s.jsx("circle",{cx:"1",cy:"1",r:".65",fill:"currentColor",opacity:".13"})})}),s.jsx("rect",{width:"100%",height:"100%",fill:`url(#${o?"dots-mini":"dots"})`}),G.map((D,k)=>s.jsx("text",{x:o?90+k*210:110+k*260,y:"30",textAnchor:"middle",className:"graph-label",children:r(D)},D)),V.map((D,k)=>{const F=L.get(D.source),te=L.get(D.target);return s.jsxs("g",{"aria-hidden":"true",children:[s.jsx("path",{d:`M ${F.x+14} ${F.y} C ${(F.x+te.x)/2} ${F.y}, ${(F.x+te.x)/2} ${te.y}, ${te.x-14} ${te.y}`,fill:"none",className:`graph-edge ${D.relation}`,opacity:!b||B.has(k)?.65:.1}),y>0&&T&&(!b||B.has(k))&&s.jsx("path",{d:`M ${F.x+14} ${F.y} C ${(F.x+te.x)/2} ${F.y}, ${(F.x+te.x)/2} ${te.y}, ${te.x-14} ${te.y}`,pathLength:"100",fill:"none",className:`graph-flow ${D.relation}`,style:{animationDelay:`${k%5*-.6}s`}})]},`${y}-${k}`)}),ue.map(D=>s.jsxs("g",{role:o?void 0:"button",tabIndex:o?void 0:0,"aria-label":`${r(D.kind)} ${D.id}: ${ul(D.label)}`,onClick:()=>oe(D),onKeyDown:k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),oe(D))},className:`graph-node ${D.kind} ${b===D.id?"selected":""}`,opacity:!b||X.has(D.id)?1:.25,children:[s.jsx("title",{children:ul(D.label)}),s.jsx("rect",{className:"graph-focus-ring",x:D.x-22,y:D.y-19,width:"44",height:"38",rx:"9"}),s.jsx("rect",{x:D.x-16,y:D.y-13,width:"32",height:"26",rx:D.kind==="source"?4:13}),s.jsx("text",{x:D.x,y:D.y+3,textAnchor:"middle",className:"node-letter",children:D.kind==="source"?"S":D.kind==="finding"?"F":"C"}),s.jsx("text",{x:D.x,y:D.y+28,textAnchor:"middle",className:"node-id",children:String(D.id).length>21?String(D.id).slice(0,18)+"...":D.id})]},D.id))]})}),!o&&s.jsxs(s.Fragment,{children:[s.jsxs("p",{className:"chart-note",children:[ue.length," / ",c.nodes.length," · ",r("graphSubset")]}),s.jsx("div",{className:"graph-node-index",children:ue.map(D=>s.jsx("button",{className:b===D.id?"active":"",onClick:()=>oe(D),children:D.id},D.id))})]})]})}function Mp({evidence:c}){const{t:u}=Qe(),[o,r]=P.useState(""),h=c.filter(L=>{var V;return typeof((V=L.numeric)==null?void 0:V.value)=="number"&&Number.isFinite(L.numeric.value)}),b=L=>`${L.numeric.metric} | ${L.outcome_type||"not_recorded"} | ${L.timepoint||""} | ${L.numeric.metric==="unspecified"?L.id:""}`,M=[...new Set(h.map(b))],N=M.includes(o)?o:M[0],j=h.filter(L=>b(L)===N);if(!j.length)return s.jsx(Et,{title:u("noEffect"),children:u("noInference")});const y=j.flatMap(L=>[L.numeric.value,...L.numeric.interval_status==="reported"?[L.numeric.ci_lower,L.numeric.ci_upper]:[]]),A=j[0].numeric.metric.toLowerCase().replace(/[\s-]+/g,"_"),S=["or","rr","hr","odds_ratio","risk_ratio","hazard_ratio"].includes(A)?1:["g","d","smd","md","hedges_g","cohens_d","mean_difference","log_odds_ratio","log_or"].includes(A)?0:null,T=S===null?y:[...y,S],Y=Math.min(...T),G=Math.max(...T),W=(G-Y||1)*.14;if(!Number.isFinite(G-Y+2*W))return s.jsx(Et,{title:u("noEffect"),children:u("noInference")});const ue=L=>new Intl.NumberFormat("en",{maximumSignificantDigits:5}).format(L),J=L=>210+(L-Y+W)/(G-Y+2*W)*410;return s.jsxs("div",{className:"forest",children:[s.jsx("div",{className:"filter-bar",children:s.jsxs("label",{children:[u("outcome"),s.jsx("select",{value:N,onChange:L=>r(L.target.value),children:M.map(L=>s.jsx("option",{children:L},L))})]})}),s.jsx("div",{className:"table-scroll",children:s.jsxs("svg",{viewBox:`0 0 820 ${j.length*46+62}`,role:"img","aria-label":u("forest"),className:"forest-svg",children:[S!==null&&s.jsx("line",{x1:J(S),x2:J(S),y1:"8",y2:j.length*46+18,className:"zero-line"}),j.map((L,V)=>{const X=V*46+30,B=L.numeric;return s.jsxs("g",{children:[s.jsx("text",{x:"12",y:X+4,className:"forest-label",children:L.id}),B.interval_status==="reported"&&s.jsxs(s.Fragment,{children:[s.jsx("line",{x1:J(B.ci_lower),x2:J(B.ci_upper),y1:X,y2:X,className:"ci-line"}),s.jsx("line",{x1:J(B.ci_lower),x2:J(B.ci_lower),y1:X-5,y2:X+5,className:"ci-line"}),s.jsx("line",{x1:J(B.ci_upper),x2:J(B.ci_upper),y1:X-5,y2:X+5,className:"ci-line"})]}),s.jsx("circle",{cx:J(B.value),cy:X,r:"5",className:"effect-dot"}),s.jsxs("text",{x:"650",y:X+4,className:"forest-label",children:[ue(B.value)," ",B.interval_status==="reported"?`[${ue(B.ci_lower)}, ${ue(B.ci_upper)}]`:B.interval_status==="not_reported"?u("noCI"):u("interval_"+B.interval_status)]})]},L.id)}),S!==null&&s.jsx("text",{x:J(S),y:j.length*46+42,textAnchor:"middle",className:"forest-label",children:S})]})}),s.jsx("p",{className:"chart-note",children:u("noInference")})]})}const Np={claude:["温暖纸感 · 沉浸阅读","Warm paper / considered reading"],academic:["学术排版 · 严谨引用","Scholarly typography / citations"],datalab:["清晰密度 · 数据探索","Analytical clarity / exploration"],"datalab-dark":["深色工作台 · 专注证据","Dark workbench / focused evidence"],presentation:["重点突出 · 决策阅读","Decision-first / editorial contrast"]};function Op({report:c,selected:u,onClick:o}){var b;const{t:r,locale:h}=Qe();return s.jsxs("button",{className:`theme-card theme-${c.theme} ${u?"selected":""}`,onClick:o,disabled:!c.available,"aria-pressed":u,children:[s.jsxs("div",{className:"theme-miniature","aria-hidden":"true",children:[s.jsx("div",{className:"mini-kicker",children:"EDUEVIDENCE"}),s.jsx("div",{className:"mini-heading"}),s.jsx("div",{className:"mini-heading small"}),s.jsx("div",{className:"mini-rule"}),s.jsxs("div",{className:"mini-decision",children:[s.jsx("span",{}),s.jsx("div",{}),s.jsx("div",{})]}),s.jsxs("div",{className:"mini-lines",children:[s.jsx("i",{}),s.jsx("i",{}),s.jsx("i",{})]})]}),s.jsx("strong",{children:c.title}),s.jsx("span",{children:c.available?((b=Np[c.theme])==null?void 0:b[h==="zh"?0:1])||r("readReport"):r("notGenerated")})]})}function Sy({project:c}){var j;const{t:u}=Qe(),[o,r]=P.useState(((j=c.reports.find(y=>y.available))==null?void 0:j.theme)||"claude");P.useEffect(()=>{var y;return r(((y=c.reports.find(A=>A.available))==null?void 0:y.theme)||"claude")},[c.id]);const h=c.reports.find(y=>y.theme===o&&y.available),b=h!=null&&h.url?Sp(h.url):null,M=hc({queryKey:["report",b],enabled:!!b,staleTime:6e4,queryFn:async({signal:y})=>{const A=await fetch(b,{signal:y});if(!A.ok)throw new Error(`HTTP ${A.status}`);if(!(A.headers.get("content-type")||"").includes("text/html"))throw new Error("Invalid report content type");const S=await A.text();if(!/<html[\s>]/i.test(S))throw new Error("Missing HTML document");if(S.length>16*1024*1024)throw new Error("Report exceeds viewer size limit");return S}});function N(){if(!M.data)return;const y=URL.createObjectURL(new Blob([M.data],{type:"text/html;charset=utf-8"})),A=document.createElement("a");A.href=y,A.download=`EduEvidence-${c.id}-${o}.html`,A.click(),setTimeout(()=>URL.revokeObjectURL(y),1e3)}return s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"theme-gallery",children:c.reports.map(y=>s.jsx(Op,{report:y,selected:o===y.theme,onClick:()=>r(y.theme)},y.theme))}),h&&b?s.jsxs("section",{className:"reader",children:[s.jsxs("div",{className:"reader-toolbar",children:[s.jsxs("span",{children:[s.jsx(tp,{size:16}),h.title]}),s.jsxs("div",{children:[s.jsxs("button",{className:"button small-button",onClick:N,disabled:!M.data,children:[s.jsx(ep,{size:14}),u("download")]}),s.jsxs("a",{className:"button small-button",href:b,target:"_blank",rel:"noopener noreferrer",children:[s.jsx(oc,{size:14}),u("openTab")]})]})]}),M.isPending?s.jsxs("div",{className:"reader-loading",role:"status",children:[s.jsx("span",{className:"loader"}),u("reportLoading")]}):M.isError?s.jsx(Hi,{error:M.error,retry:()=>M.refetch()}):s.jsx("iframe",{title:`${c.title} - ${h.title}`,srcDoc:M.data,sandbox:"allow-scripts allow-popups allow-popups-to-escape-sandbox",referrerPolicy:"no-referrer"},b)]}):s.jsx(Et,{title:u("notGenerated")})]})}function Cp({catalog:c}){var M;const{t:u,locale:o}=Qe(),[r,h]=P.useState(((M=c.projects[0])==null?void 0:M.id)||""),b=c.projects.find(N=>N.id===r);return s.jsxs(s.Fragment,{children:[s.jsx(yc,{eyebrow:"REPORT LIBRARY",title:u("reportTitle"),lead:u("reportLead")}),s.jsxs("label",{className:"project-select",children:[u("selectProject"),s.jsx("select",{value:r,onChange:N=>h(N.target.value),children:c.projects.map(N=>s.jsx("option",{value:N.id,children:Na(N,o)},N.id))})]}),b?s.jsx(Sy,{project:b}):s.jsx(Et,{})]})}const Lm=["overview","evidence","graph","activity","revisions","reports"];function Rp({data:c,onSelect:u}){const{t:o,locale:r}=Qe(),[h,b]=P.useState(""),[M,N]=P.useState(""),[j,y]=P.useState(""),A=c.evidence.filter(S=>(!M||S.relation===M)&&(!j||S.outcome_type===j)&&ul(S).toLowerCase().includes(h.toLowerCase()));return s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"filter-bar",children:[s.jsx(vy,{label:o("searchEvidence"),value:h,onChange:b}),s.jsxs("label",{children:[o("relation"),s.jsxs("select",{value:M,onChange:S=>N(S.target.value),children:[s.jsx("option",{value:"",children:o("any")}),[...new Set(c.evidence.map(S=>S.relation))].map(S=>s.jsx("option",{value:S,children:o(S)},S))]})]}),s.jsxs("label",{children:[o("outcome"),s.jsxs("select",{value:j,onChange:S=>y(S.target.value),children:[s.jsx("option",{value:"",children:o("any")}),[...new Set(c.evidence.map(S=>S.outcome_type).filter(Boolean))].map(S=>s.jsx("option",{children:S},S))]})]}),s.jsxs("span",{className:"count-label",role:"status",children:[A.length," / ",c.evidence.length]})]}),A.length?s.jsx("div",{className:"table-scroll",children:s.jsxs("table",{className:"evidence-table",children:[s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsx("th",{children:o("finding")}),s.jsx("th",{children:o("outcome")}),s.jsx("th",{children:o("effect")}),s.jsx("th",{children:o("relation")}),s.jsx("th",{children:o("sampleSize")})]})}),s.jsx("tbody",{children:A.map(S=>s.jsxs("tr",{children:[s.jsx("td",{children:s.jsxs("button",{className:"evidence-title",onClick:()=>u(S),children:[s.jsx("code",{children:S.id}),s.jsx("strong",{children:r==="zh"&&S.title_zh||S.title}),s.jsxs("small",{children:[S.year||""," ",S.study_type?` / ${S.study_type}`:""]})]})}),s.jsx("td",{children:S.outcome_type||o("not_recorded")}),s.jsx("td",{children:s.jsx(Je,{value:S.effect_direction,quiet:!0})}),s.jsx("td",{children:s.jsx(Je,{value:S.relation})}),s.jsx("td",{className:"numeric-cell",children:S.sample_size??"—"})]},S.id))})]})}):s.jsx(Et,{title:o("noResults")}),s.jsx(Ut,{title:o("forest"),kicker:"RECORDED ESTIMATES",children:s.jsx(Mp,{evidence:c.evidence})}),s.jsx(Ut,{title:o("sources"),kicker:"SOURCE REGISTER",children:s.jsx("div",{className:"sources-grid",children:c.sources.map(S=>s.jsxs("article",{className:"source-item",children:[s.jsx(Xi,{size:17}),s.jsxs("div",{children:[s.jsx("code",{children:S.source_id}),s.jsx("h3",{children:S.title}),s.jsxs("div",{className:"source-meta",children:[s.jsx("span",{children:S.year}),S.doi&&s.jsxs("span",{children:["DOI ",S.doi]}),S.retracted&&s.jsx(Je,{value:"RETRACTED"})]}),s.jsx(gy,{url:S.canonical_url||S.source_location})]})]},S.source_id))})})]})}function Dp({data:c}){const{t:u,locale:o}=Qe(),r=c.project,h=r.decision,b=o==="zh"?c.decision_zh:{},M=b.supported_claims||h.supported||[],N=b.uncertain_claims||h.uncertain||[],j=b.decision_rationale||b.rationale||h.rationale;return s.jsxs(s.Fragment,{children:[s.jsxs("section",{className:"decision-surface",children:[s.jsxs("div",{className:"decision-main",children:[s.jsx("p",{className:"eyebrow",children:u("decision")}),s.jsx("h2",{children:u(mc(h.action))}),s.jsxs("div",{className:"row-badges",children:[s.jsx(Je,{value:h.confidence}),h.stale&&s.jsx(Je,{value:"stale"}),s.jsxs("span",{className:"muted",children:[u("revision")," ",h.graph_revision??"—"]})]}),s.jsx("p",{className:"prose",children:j||u("not_recorded")}),s.jsxs("a",{className:"text-link",href:`#/project/${encodeURIComponent(r.id)}/reports`,children:[u("readReport"),s.jsx(Bn,{size:15})]})]}),s.jsxs("div",{className:"decision-facts",children:[s.jsx(ca,{label:u("findings"),value:r.counts.findings}),s.jsx(ca,{label:u("sources"),value:r.counts.sources}),s.jsx(ca,{label:u("studies"),value:r.counts.studies}),s.jsx(ca,{label:u("claims"),value:r.counts.claims})]})]}),s.jsx("div",{className:"takeaway-grid",children:[[u("supported"),M,"support"],[u("uncertain"),N,"uncertain"]].map(([y,A,S])=>s.jsxs("section",{className:`takeaway ${S}`,children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("h2",{children:String(y)}),s.jsx("span",{className:"count-label",children:A.length})]}),A.length?s.jsx("ol",{children:A.slice(0,3).map((T,Y)=>s.jsx("li",{children:ul(T)},Y))}):s.jsx("p",{className:"muted",children:u("not_recorded")}),A.length>3&&s.jsxs("details",{children:[s.jsx("summary",{children:u("details")}),s.jsx("ol",{start:4,children:A.slice(3).map((T,Y)=>s.jsx("li",{children:ul(T)},Y))})]})]},String(S)))}),s.jsx(Ut,{title:u("boundary"),kicker:"FOR WHOM / WHEN / HOW",children:s.jsx("div",{className:"boundary-box",children:s.jsx(It,{data:b.applicability||c.applicability})})}),s.jsxs("div",{className:"overview-bottom",children:[s.jsx(Ut,{title:u("graph"),kicker:"SOURCE TO CLAIM",action:s.jsxs("a",{href:`#/project/${encodeURIComponent(r.id)}/graph`,className:"text-link",children:[u("open"),s.jsx(Bn,{size:14})]}),children:s.jsx(xy,{data:c.graph,compact:!0})}),s.jsx(Ut,{title:u("runs"),kicker:"EXECUTION RECORDS",children:c.runs.length?c.runs.slice(0,3).map(y=>s.jsx(by,{run:y},y.run_id)):s.jsx(Et,{title:r.kind==="example"?u("noHistory"):void 0,children:u("noHistoryLead")})})]}),s.jsx(Ut,{title:u("pilotPlan"),kicker:"EVIDENCE TO ACTION",children:s.jsxs("div",{className:"takeaway-grid",children:[s.jsxs("details",{className:"boundary-box",children:[s.jsx("summary",{children:u("intervene")}),s.jsx(It,{data:c.intervention})]}),s.jsxs("details",{className:"boundary-box",children:[s.jsx("summary",{children:u("evaluate")}),s.jsx(It,{data:c.evaluation})]})]})})]})}function Up({data:c}){const{t:u,locale:o}=Qe();return s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"page-lead",children:u("revisionLead")}),s.jsxs("div",{className:"takeaway-grid",children:[s.jsx(Ut,{title:u("revision"),kicker:"GRAPH REVISION",children:c.revisions.length?s.jsx("div",{className:"revision-list",children:c.revisions.slice().reverse().map(r=>s.jsxs("details",{className:"snapshot",children:[s.jsxs("summary",{children:[s.jsx(ap,{size:20}),s.jsxs("strong",{children:["Revision ",r.revision]}),r.active&&s.jsx(Je,{value:"active"})]}),s.jsx(It,{data:{reason:r.reason,parent_revision:r.parent_revision,created_at:Ln(r.created_at,o),touched_entities:r.touched_entities}})]},r.revision))}):s.jsx(Et,{})}),s.jsx(Ut,{title:u("decision"),kicker:"DECISION SNAPSHOT",children:c.decisions.length?c.decisions.map(r=>s.jsxs("details",{className:"snapshot",children:[s.jsxs("summary",{children:[s.jsx("code",{children:r.decision_snapshot_id}),s.jsx(Je,{value:r.decision})]}),s.jsxs("p",{className:"muted",children:["Revision ",r.graph_revision," / ",Ln(r.created_at,o)]}),s.jsx(It,{data:{confidence:r.confidence_label,applicability:r.applicability_boundary,missing_evidence:r.missing_evidence}})]},r.decision_snapshot_id)):s.jsx(Et,{})})]}),s.jsxs(Ut,{title:"KnowledgeGap",kicker:"RESEARCH ITERATIONS",children:[c.gaps.length?s.jsx("div",{className:"takeaway-grid",children:c.gaps.map((r,h)=>s.jsxs("article",{className:"boundary-box",children:[s.jsx("code",{children:r.gap_id}),s.jsx("h3",{children:r.title||r.description||r.gap_type}),s.jsx(Je,{value:r.status})]},r.gap_id||h))}):s.jsx(Et,{}),c.iterations.length>0&&s.jsx("div",{className:"revision-list",children:c.iterations.map(r=>s.jsxs("details",{className:"snapshot",children:[s.jsxs("summary",{children:[s.jsx("code",{children:r.iteration_id}),s.jsx(Je,{value:r.status})]}),s.jsx(It,{data:r})]},r.iteration_id))})]})]})}function qp({id:c,tab:u}){const{t:o,locale:r}=Qe(),[h,b]=P.useState(null),[M,N]=P.useState(null),j=hc({queryKey:["project",c],queryFn:({signal:T})=>gp(c,T),refetchInterval:tf().mode==="local"?15e3:!1});if(j.isPending)return s.jsx(df,{});if(j.isError)return s.jsx(Hi,{error:j.error,retry:()=>j.refetch()});const y=j.data,A=y.project,S=Lm.includes(u)?u:"overview";return s.jsxs(s.Fragment,{children:[s.jsxs("a",{href:"#/projects",className:"back-link",children:[s.jsx(J1,{size:14}),o("projects")]}),s.jsxs("header",{className:"project-heading",children:[s.jsxs("div",{className:"row-badges",children:[s.jsx("span",{className:"eyebrow",children:A.kind==="example"?"CASE STUDY":"RESEARCH PROJECT"}),s.jsx(Je,{value:A.data_origin,quiet:!0}),s.jsx(Je,{value:A.status,quiet:!0})]}),s.jsx("h1",{children:Na(A,r)}),s.jsxs("p",{className:"muted",children:[A.project_id||A.id.replace("example--","")," ",s.jsx("span",{className:"sep",children:"/"})," ",o("updated")," ",Ln(A.updated_at,r)," ",s.jsx("span",{className:"sep",children:"/"})," ",o("revision")," ",A.active_revision??"—"]})]}),s.jsx("nav",{className:"project-tabs","aria-label":o("workspace"),children:Lm.map(T=>s.jsx("a",{href:`#/project/${encodeURIComponent(c)}/${T}`,"aria-current":S===T?"page":void 0,children:o(T)},T))}),s.jsx(py,{issues:y.issues}),j.isRefetchError&&s.jsxs("div",{className:"diagnostic",role:"status",children:[o("error")," ·"," ",r==="zh"?"保留上次快照":"Showing the last snapshot"]}),S==="overview"&&s.jsx(Dp,{data:y}),S==="evidence"&&s.jsx(Rp,{data:y,onSelect:b}),S==="graph"&&s.jsxs("div",{className:"graph-workspace",children:[s.jsx(xy,{data:y.graph,onSelect:T=>{N(T);const Y=y.evidence.find(G=>G.id===T.id);Y&&b(Y)}}),s.jsxs("aside",{className:"graph-inspector",children:[s.jsx("p",{className:"eyebrow",children:o("related")}),M?s.jsxs(s.Fragment,{children:[s.jsx("code",{children:M.id}),s.jsx("h3",{children:ul(M.label)}),s.jsx(Je,{value:M.kind,quiet:!0}),y.graph.edges.filter(T=>T.source===M.id||T.target===M.id).map((T,Y)=>s.jsxs("p",{children:[s.jsx("code",{children:T.source}),s.jsx(Bn,{size:12}),s.jsx("code",{children:T.target}),s.jsx("small",{children:o(T.relation)})]},Y))]}):s.jsxs(s.Fragment,{children:[s.jsx(ip,{size:22}),s.jsx("p",{className:"muted",children:o("graphLead")})]})]})]}),S==="activity"&&s.jsxs(s.Fragment,{children:[s.jsx(Ut,{title:o("runs"),kicker:"RUN RECORDS",children:y.runs.length?y.runs.map(T=>s.jsx(by,{run:T},T.run_id)):s.jsx(Et,{title:A.kind==="example"?o("noHistory"):void 0})}),s.jsxs("div",{className:"takeaway-grid",children:[s.jsx(Ut,{title:o("events"),kicker:"RECORDED EVENTS",children:s.jsx(zp,{events:y.events})}),s.jsx(Ut,{title:o("artifacts"),kicker:"IMMUTABLE ARTIFACTS",children:s.jsx(Tp,{artifacts:y.artifacts})})]})]}),S==="revisions"&&s.jsx(Up,{data:y}),S==="reports"&&s.jsx(Sy,{project:A}),s.jsx(Ep,{row:h,sources:y.sources,onClose:()=>b(null)})]})}const Ym=(c,u)=>1-Math.exp(-c/u);function jy(c){const u=P.useRef(null);return P.useEffect(()=>{const o=u.current,r=o.parentElement,h=c(o,r),b=matchMedia("(prefers-reduced-motion: reduce)"),M=matchMedia("(hover: hover) and (pointer: fine)"),N={x:0,y:0,active:!1,enabled:!1};let j=0,y=0;function A(X){j=0;const B=y?Math.min(X-y,50):16;y=X,h.draw(N,B)&&N.enabled&&!document.hidden?S():(y=0,o.dataset.motion="idle")}function S(){!j&&!document.hidden&&(o.dataset.motion="running",j=requestAnimationFrame(A))}function T(){const X=r.getBoundingClientRect();N.enabled=!b.matches&&M.matches&&!document.hidden&&X.right>0&&X.left<innerWidth,N.active=!1,o.dataset.motionMode=N.enabled?"interactive":"static",cancelAnimationFrame(j),j=0,y=0,h.resize(),h.draw({...N,enabled:!1},16),o.dataset.motion="idle"}function Y(X){!N.enabled||X.pointerType==="touch"||(N.x=X.clientX,N.y=X.clientY,N.active=!0,S())}function G(){N.active=!1,S()}function W(X){(X.relatedTarget instanceof HTMLIFrameElement||!X.relatedTarget)&&G()}const ue=new ResizeObserver(T);ue.observe(r);const J=new MutationObserver(T);J.observe(document.documentElement,{attributes:!0,attributeFilter:["data-appearance"]});const L=new MutationObserver(T);L.observe(r,{childList:!0,characterData:!0,subtree:!0});const V=new MutationObserver(T);return V.observe(r,{attributes:!0,attributeFilter:["class"]}),r.addEventListener("pointermove",Y,{passive:!0}),r.addEventListener("pointerleave",G),r.addEventListener("pointerout",W),window.addEventListener("blur",G),window.addEventListener("resize",T),document.addEventListener("visibilitychange",T),b.addEventListener("change",T),M.addEventListener("change",T),T(),()=>{cancelAnimationFrame(j),ue.disconnect(),J.disconnect(),L.disconnect(),V.disconnect(),r.removeEventListener("pointermove",Y),r.removeEventListener("pointerleave",G),r.removeEventListener("pointerout",W),window.removeEventListener("blur",G),window.removeEventListener("resize",T),document.removeEventListener("visibilitychange",T),b.removeEventListener("change",T),M.removeEventListener("change",T)}},[c]),u}function Hp(c,u){const o=c.querySelector("canvas"),r=o.getContext("2d");let h=0,b=0,M=0,N=0,j=0,y="",A=[240,238,233],S=[],T=[],Y=[];function G(){h=u.clientWidth,b=u.clientHeight,j=h/18,M=9,N=Math.ceil(b/22)+1,S=Array(N*M).fill(0),T=Array(N*M).fill(0);const J=Math.min(devicePixelRatio||1,2);o.width=Math.round(h*J),o.height=Math.round(b*J),r==null||r.setTransform(J,0,0,J,0,0),y=getComputedStyle(u).getPropertyValue("--ambient-ink").trim(),A=(getComputedStyle(u).backgroundColor.match(/[\d.]+/g)||["240","238","233"]).slice(0,3).map(Number)}function W(){Y=[];for(const J of u.querySelectorAll(".brand, .sidebar-search, .sidebar-bottom"))Y.push(J.getBoundingClientRect());for(const J of u.querySelectorAll(".nav-label, nav a > span, nav a > svg")){const L=document.createRange();L.selectNodeContents(J);const V=J instanceof SVGElement?J.getBoundingClientRect():L.getBoundingClientRect();Y.push(V)}}function ue(J,L){var D;if(!r)return!1;r.clearRect(0,0,h,b);const V=u.getBoundingClientRect();W();const X=((D=u.querySelector(".brand"))==null?void 0:D.getBoundingClientRect().bottom)??V.top;let B=!1;const oe=Math.min(L,40)/1e3;for(let k=0;k<N;k++)for(let F=0;F<M;F++){const te=k*M+F,xe=(F+.25+k%2*.5)*j*2,Be=k*22+8,qt=Math.hypot(J.x-V.left-xe,J.y-V.top-Be),lt=68,ot=J.enabled&&J.active&&qt<lt?12*(1+Math.cos(Math.PI*qt/lt)):0;if(!J.enabled)S[te]=0,T[te]=0;else{const K=Math.max(1,Math.ceil(oe/.008));for(let ie=0;ie<K;ie++){const se=oe/K;T[te]+=((ot-S[te])*190-T[te]*15)*se,S[te]+=T[te]*se}}Math.abs(ot-S[te])>.02||Math.abs(T[te])>.03?B=!0:(S[te]=ot,T[te]=0);const C=S[te],Q=Be-C,ee=j*.78,pe=ee*.5,Se=4+Math.max(0,C),g=Math.max(.1,Math.min(1,Be/45,(b-Be)/45)),H=Math.min(1.2,Math.max(0,C)/24),w=(K,ie)=>{r.beginPath(),K.forEach(([Ze,Ue],sa)=>sa?r.lineTo(Ze,Ue):r.moveTo(Ze,Ue)),r.closePath();const se=(ie+H*.1)*g,je=y.split(",").map(Number);r.fillStyle=`rgb(${A.map((Ze,Ue)=>Math.round(Ze+(je[Ue]-Ze)*se)).join(",")})`,r.fill(),r.strokeStyle=`rgba(${y},${(.12+H*.16)*g})`,r.lineWidth=.6,r.stroke()};w([[xe-ee,Q],[xe,Q+pe],[xe,Q+pe+Se],[xe-ee,Q+Se]],.04),w([[xe,Q+pe],[xe+ee,Q],[xe+ee,Q+Se],[xe,Q+pe+Se]],.075),w([[xe,Q-pe],[xe+ee,Q],[xe,Q+pe],[xe-ee,Q]],.035)}r.clearRect(0,0,h,Math.max(0,X-V.top+4));for(const k of Y)k.width&&k.height&&r.clearRect(k.left-V.left-9,k.top-V.top-9,k.width+18,k.height+18);return B}return{resize:G,draw:ue}}function Qp(c,u){const o=Array.from(c.children),r=o.map(()=>({x:0,y:0})),h=[90,180,320];let b=0,M=0,N=!1;function j(){M=u.getBoundingClientRect().left,c.style.left=`${Math.max(0,M)}px`}function y(A,S){if(!A.enabled)return b=0,N=!1,c.style.opacity="0",!1;const T=A.active?1:0;if(b=T?Math.min(1,b+S/220):Math.max(0,b-S/500),c.style.opacity=String(b),!b&&!A.active)return N=!1,!1;let Y=b!==T;return r.forEach((G,W)=>{const ue=A.x-M,J=A.y;N||(G.x=ue,G.y=J),G.x+=(ue-G.x)*Ym(S,h[W]),G.y+=(J-G.y)*Ym(S,h[W]),Math.hypot(ue-G.x,J-G.y)>.1&&(Y=!0),o[W].style.transform=`translate3d(${G.x}px,${G.y}px,0)`}),N=!0,Y}return{resize:j,draw:y}}function Bp(){const c=jy(Hp);return s.jsx("div",{ref:c,className:"ambient-field","aria-hidden":"true",children:s.jsx("canvas",{})})}function Lp(){const c=jy(Qp);return s.jsxs("div",{ref:c,className:"ambient-glow","aria-hidden":"true",children:[s.jsx("i",{}),s.jsx("i",{}),s.jsx("i",{})]})}function wm(c,u){try{return localStorage.getItem(c)||u}catch{return u}}function Yp(){const[c,u]=P.useState(location.hash.slice(1)||"/projects");return P.useEffect(()=>{const o=()=>{u(location.hash.slice(1)||"/projects"),window.scrollTo({top:0})};return window.addEventListener("hashchange",o),()=>window.removeEventListener("hashchange",o)},[]),c}function wp(){const{t:c}=Qe(),u=hc({queryKey:["evolution"],queryFn:({signal:o})=>bp(o)});return s.jsxs(s.Fragment,{children:[s.jsx(yc,{eyebrow:"SKILL AUTOEVOLVE",title:c("evolveTitle"),lead:c("evolveLead")}),s.jsxs("div",{className:"policy-strip",children:[s.jsx(ef,{size:18}),s.jsx("span",{children:"Baseline → Hypothesis → Evaluate → Keep / Revert"}),s.jsx(Je,{value:"readonly",quiet:!0})]}),u.isPending?s.jsx(df,{}):u.isError?s.jsx(Hi,{error:u.error,retry:()=>u.refetch()}):u.data.status==="unavailable"?s.jsx(Hi,{error:new Error(c("unavailable")),retry:()=>u.refetch()}):u.data.experiments.length?s.jsx("div",{className:"experiment-list",children:u.data.experiments.slice().reverse().map(o=>s.jsxs("article",{className:"boundary-box",children:[s.jsxs("div",{className:"section-heading",children:[s.jsx("code",{children:o.experiment_id}),s.jsx(Je,{value:o.status})]}),s.jsx("h3",{children:o.hypothesis}),s.jsx("p",{children:o.promotion_reason}),s.jsx("code",{children:o.candidate_commit})]},`${o.session_id}-${o.experiment_id}`))}):s.jsx(Et,{}),s.jsx("p",{className:"chart-note",children:c("readOnlyNote")})]})}function Gp(){const{t:c,locale:u}=Qe(),o=[["01","Evidence Review",u==="zh"?"二手证据综述:从问题定义到可溯源的裁决。":"Review existing evidence, from framing to a traceable decision."],["02","Decision & Pilot",u==="zh"?"将未解决的证据缺口转为有边界的试点方案。":"Translate grounded gaps into bounded pilot designs."],["03","Evaluate & Update",u==="zh"?"新数据经过校验后进入新版本,再次评估决定。":"Validate new empirical data, create a revision, and reconsider the decision."]];return s.jsxs(s.Fragment,{children:[s.jsx(yc,{eyebrow:"THE RESEARCH FLOW",title:c("guideTitle"),lead:c("guideLead")}),s.jsx("div",{className:"flow-grid",children:o.map(([r,h,b])=>s.jsxs("article",{children:[s.jsx("span",{className:"flow-number",children:r}),s.jsx("h2",{children:h}),s.jsx("p",{children:b})]},r))}),s.jsx(Ut,{title:c("guide"),kicker:"NINE SCIENTIFIC STAGES",children:s.jsx("div",{className:"protocol-grid",children:["frame","retrieve","extract","challenge","audit","adjudicate","applicability","intervene","evaluate"].map((r,h)=>s.jsxs("div",{children:[s.jsxs("code",{children:["0",h+1]}),s.jsx("strong",{children:c(r)}),s.jsx("span",{children:r})]},r))})}),s.jsxs("div",{className:"principles",children:[s.jsx("h2",{children:c("guardrails")}),(u==="zh"?["优化研究过程,不追求特定结论。","科学阶段 ≠ 角色 ≠ 能力 ≠ 子代理 ≠ 模型。","子代理只返回待验证产物;主引擎统一提交科学状态。","证据版本与 Skill 自进化版本保持独立。","缺失证据不是零效应;检索未命中只描述本次范围。"]:["Optimize the research process, never the conclusion.","Protocol stage ≠ role ≠ capability ≠ worker ≠ model.","Workers return staging artifacts. Canonical state has a single writer.","Evidence revisions and Skill revisions are separate histories.","Missing evidence is not zero effect. Search failure is scope-bounded."]).map(r=>s.jsxs("p",{children:[s.jsx(k1,{size:16}),r]},r))]})]})}function Xp({catalog:c,open:u,onClose:o}){const{t:r,locale:h}=Qe(),b=P.useRef(null),[M,N]=P.useState("");return P.useEffect(()=>{var j,y,A;u&&!((j=b.current)!=null&&j.open)&&(N(""),(y=b.current)==null||y.showModal()),!u&&((A=b.current)!=null&&A.open)&&b.current.close()},[u]),s.jsxs("dialog",{ref:b,className:"command-palette","aria-label":r("search"),onClose:o,onCancel:o,children:[s.jsxs("div",{className:"command-input",children:[s.jsx(ff,{size:18}),s.jsx("input",{autoFocus:!0,"aria-label":r("search"),placeholder:r("search"),value:M,onChange:j=>N(j.target.value)}),s.jsx("button",{className:"icon-button","aria-label":r("close"),onClick:o,children:s.jsx(hy,{size:17})})]}),s.jsx("div",{className:"command-results",children:c.projects.filter(j=>[j.title,j.title_en].join(" ").toLowerCase().includes(M.toLowerCase())).map(j=>s.jsxs("button",{onClick:()=>{my(j.id),o()},children:[s.jsx(Xi,{size:16}),s.jsx("span",{children:Na(j,h)}),s.jsx(Bn,{size:15})]},j.id))})]})}function Zp(){const[c,u]=P.useState(wm("studio-language","zh")==="en"?"en":"zh"),[o,r]=P.useState(wm("studio-appearance","light")==="dark");return P.useEffect(()=>{document.documentElement.dataset.appearance=o?"dark":"light",document.documentElement.lang=c==="zh"?"zh-CN":"en";try{localStorage.setItem("studio-language",c),localStorage.setItem("studio-appearance",o?"dark":"light")}catch{}},[o,c]),s.jsx(yy.Provider,{value:c,children:s.jsx(Vp,{dark:o,toggleDark:()=>r(h=>!h),toggleLanguage:()=>u(h=>h==="zh"?"en":"zh")})})}function Vp({dark:c,toggleDark:u,toggleLanguage:o}){const{t:r}=Qe(),h=Yp(),[b,M]=P.useState(!1),[N,j]=P.useState(!1),y=ey(),A=hc({queryKey:["catalog"],queryFn:({signal:Y})=>pp(Y),refetchInterval:tf().mode==="local"?15e3:!1});P.useEffect(()=>{M(!1)},[h]),P.useEffect(()=>{const Y=G=>{(G.metaKey||G.ctrlKey)&&G.key==="k"&&(G.preventDefault(),j(W=>!W)),G.key==="Escape"&&M(!1)};return document.addEventListener("keydown",Y),()=>document.removeEventListener("keydown",Y)},[]);const S=h.startsWith("/project/")?"projects":h.split("/")[1]||"projects";let T;if(A.isPending)T=s.jsx(df,{});else if(A.isError)T=s.jsx(Hi,{error:A.error,retry:()=>A.refetch()});else if(h.startsWith("/project/")){const Y=h.split("/");let G="";try{G=decodeURIComponent(Y[2]||"")}catch{}T=s.jsx(qp,{id:G,tab:Y[3]||"overview"},G)}else S==="reports"?T=s.jsx(Cp,{catalog:A.data}):S==="evolution"?T=s.jsx(wp,{}):S==="guide"?T=s.jsx(Gp,{}):T=s.jsx(Ap,{catalog:A.data});return s.jsxs("div",{className:"app-shell",children:[s.jsx("a",{href:"#main-content",className:"skip-link",onClick:Y=>{var G;Y.preventDefault(),(G=document.getElementById("main-content"))==null||G.focus()},children:r("skip")}),s.jsxs("aside",{className:`sidebar ${b?"is-open":""}`,children:[s.jsx(Bp,{}),s.jsxs("a",{className:"brand",href:"#/projects",children:[s.jsxs("span",{className:"brand-mark",children:["e",s.jsx("span",{})]}),s.jsxs("div",{children:[s.jsx("strong",{children:"EduEvidence"}),s.jsx("span",{children:"RESEARCH STUDIO"})]})]}),s.jsxs("button",{className:"sidebar-search",onClick:()=>j(!0),children:[s.jsx(ff,{size:15}),s.jsx("span",{children:r("search")}),s.jsx("kbd",{children:"Ctrl K"})]}),s.jsx("p",{className:"nav-label",children:r("workspace")}),s.jsx("nav",{"aria-label":r("workspace"),children:[["projects",cp],["reports",Xi],["evolution",lp],["guide",I1]].map(([Y,G])=>{const W=Y,ue=G;return s.jsxs("a",{href:`#/${W}`,"aria-current":S===W?"page":void 0,children:[s.jsx(ue,{size:18,strokeWidth:1.65}),s.jsx("span",{children:r(W)}),S===W&&s.jsx("span",{className:"active-dot"})]},W)})}),s.jsxs("div",{className:"sidebar-bottom",children:[s.jsxs("span",{className:"read-only-label",children:[s.jsx(ef,{size:14}),r("readonly")]}),s.jsx("p",{children:r("readOnlyNote")}),s.jsxs("div",{className:"sidebar-version",children:[s.jsx("span",{children:"EduEvidence 6.0"}),s.jsx("span",{children:"v1"})]})]})]}),b&&s.jsx("button",{className:"sidebar-shade","aria-label":r("close"),onClick:()=>M(!1)}),s.jsxs("div",{className:"main-shell",children:[s.jsx(Lp,{}),s.jsxs("header",{className:"topbar",children:[s.jsxs("div",{className:"breadcrumb",children:[s.jsx("button",{className:"icon-button mobile-menu","aria-label":r("workspace"),"aria-expanded":b,onClick:()=>M(!b),children:s.jsx(sp,{size:19})}),s.jsx("span",{children:"Studio"}),s.jsx(F1,{size:13}),s.jsx("strong",{children:r(S)})]}),s.jsxs("div",{className:"topbar-actions",children:[s.jsxs("span",{className:"connection",children:[s.jsx("span",{}),r(tf().mode)]}),s.jsx("button",{className:"icon-button",title:r("refresh"),"aria-label":r("refresh"),disabled:A.isFetching,onClick:()=>y.invalidateQueries(),children:s.jsx(dp,{size:16,className:A.isFetching?"spinning":""})}),s.jsx("button",{className:"icon-button",title:r("dark"),"aria-label":r("dark"),onClick:u,children:c?s.jsx(yp,{size:17}):s.jsx(fp,{size:17})}),s.jsx("button",{className:"language-button",onClick:o,children:r("language")})]})]}),s.jsx("main",{id:"main-content",className:"main-content",tabIndex:-1,children:T}),s.jsxs("footer",{className:"app-footer",children:[s.jsxs("span",{children:[s.jsx(ef,{size:12}),r("readonly")]}),s.jsx("span",{children:"Evidence → Decision → Revision"})]})]}),A.data&&s.jsx(Xp,{catalog:A.data,open:N,onClose:()=>j(!1)})]})}class Kp extends P.Component{constructor(){super(...arguments);vm(this,"state",{error:null})}static getDerivedStateFromError(o){return{error:o}}render(){return this.state.error?s.jsxs("div",{className:"error-state",role:"alert",children:[s.jsx("h1",{children:"Studio unavailable"}),s.jsx("p",{children:this.state.error.message}),s.jsx("button",{onClick:()=>location.reload(),children:"Reload / 重新加载"})]}):this.props.children}}const Jp=new R1({defaultOptions:{queries:{retry:1,refetchOnWindowFocus:!0,staleTime:1e4}}}),Gm=i1.createRoot(document.getElementById("root"));vp().then(()=>Gm.render(s.jsx(I0.StrictMode,{children:s.jsx(Kp,{children:s.jsx(u1,{client:Jp,children:s.jsx(Zp,{})})})}))).catch(c=>Gm.render(s.jsxs("div",{className:"error-state",role:"alert",children:[s.jsx("h1",{children:"Studio configuration unavailable"}),s.jsx("p",{children:String(c.message)}),s.jsx("button",{onClick:()=>location.reload(),children:"Retry"})]})));
|