claude-flow-novice 2.3.1 → 2.3.3
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/dist/scripts/.claude-flow/metrics/agent-metrics.json +1 -0
- package/dist/scripts/.claude-flow/metrics/performance.json +9 -0
- package/dist/scripts/.claude-flow/metrics/task-metrics.json +10 -0
- package/dist/scripts/CLEANUP_OPTIMIZATION_REPORT.json +312 -0
- package/dist/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +387 -0
- package/dist/scripts/CLEANUP_QUICK_START.md +268 -0
- package/dist/scripts/CLEANUP_TEST_RESULTS.md +205 -0
- package/dist/scripts/README.md +339 -0
- package/dist/scripts/ace-query.sh +384 -0
- package/dist/scripts/agent-token-analysis.js +430 -0
- package/dist/scripts/auto-setup.js +332 -0
- package/dist/scripts/build/README.md +167 -0
- package/dist/scripts/build/build-config.js +27 -0
- package/dist/scripts/build/build-prompt-copier.sh +30 -0
- package/dist/scripts/build/performance-monitor.js +869 -0
- package/dist/scripts/build/prepare-publish.js +150 -0
- package/dist/scripts/build/typescript-fixer.js +621 -0
- package/dist/scripts/build/unified-builder.sh +428 -0
- package/dist/scripts/build/update-bin-version.js +32 -0
- package/dist/scripts/build/validate-agents.js +238 -0
- package/dist/scripts/build-index.js +43 -0
- package/dist/scripts/build-orchestrator.js +320 -0
- package/dist/scripts/check-routing-stats.cjs +122 -0
- package/dist/scripts/ci-validation.js +375 -0
- package/dist/scripts/cleanup-blocking-coordination.sh +420 -0
- package/dist/scripts/cleanup-idle-sessions.sh +118 -0
- package/dist/scripts/collect-build-metrics.js +65 -0
- package/dist/scripts/demo/README.md +79 -0
- package/dist/scripts/demo/autoscaling-demo-simplified.js +963 -0
- package/dist/scripts/demo/comprehensive-dashboard-test.js +693 -0
- package/dist/scripts/demo/confidence-log.js +87 -0
- package/dist/scripts/demo/confidence-report.js +82 -0
- package/dist/scripts/demo/demo-multi-swarm-coordination.js +325 -0
- package/dist/scripts/demo/demo-production-deployment.js +399 -0
- package/dist/scripts/demo/demo-visualization-system.js +149 -0
- package/dist/scripts/demo/performance-analysis.cjs +71 -0
- package/dist/scripts/demo/performance-analysis.js +71 -0
- package/dist/scripts/demo/test-autoscaling-demo.js +314 -0
- package/dist/scripts/dependency-optimizer.js +349 -0
- package/dist/scripts/dependency-security-assessment.js +331 -0
- package/dist/scripts/deploy-sdk.sh +176 -0
- package/dist/scripts/deployment-readiness-report.json +179 -0
- package/dist/scripts/dev/README.md +264 -0
- package/dist/scripts/dev/claude-flow-wrapper.sh +35 -0
- package/dist/scripts/dev/claude-monitor.py +419 -0
- package/dist/scripts/dev/claude-sparc.sh +562 -0
- package/dist/scripts/dev/claude-wrapper.sh +17 -0
- package/dist/scripts/dev/demo-phase3-compliance.js +172 -0
- package/dist/scripts/dev/demo-task-system.ts +224 -0
- package/dist/scripts/dev/deployment-validator.js +315 -0
- package/dist/scripts/dev/spawn-claude-terminal.sh +32 -0
- package/dist/scripts/dev/start-portal.sh +506 -0
- package/dist/scripts/dev/start-web-ui.js +15 -0
- package/dist/scripts/dev/stop-portal.sh +311 -0
- package/dist/scripts/dev/validate-examples.ts +288 -0
- package/dist/scripts/dev/validate-phase2.cjs +451 -0
- package/dist/scripts/dev/validate-phase2.js +785 -0
- package/dist/scripts/dev/validate-phase3.cjs +208 -0
- package/dist/scripts/dev/validate-security-remediation.js +1 -0
- package/dist/scripts/ecosystem.config.cjs +90 -0
- package/dist/scripts/enhanced-memory-spiral-killer.sh +221 -0
- package/dist/scripts/fix-js-extensions.js +167 -0
- package/dist/scripts/generate-basic-types.js +73 -0
- package/dist/scripts/generate-changelog.js +318 -0
- package/dist/scripts/git-hooks/pre-commit.sh +143 -0
- package/dist/scripts/health-checks.js +634 -0
- package/dist/scripts/hook-wrapper.sh +54 -0
- package/dist/scripts/install/README.md +375 -0
- package/dist/scripts/install/REDIS_SETUP_VALIDATION.json +245 -0
- package/dist/scripts/install/check-prerequisites.js +303 -0
- package/dist/scripts/install/config-wizard.js +606 -0
- package/dist/scripts/install/dependency-checker.js +385 -0
- package/dist/scripts/install/health-check.js +765 -0
- package/dist/scripts/install/install.js +256 -0
- package/dist/scripts/install/installation-benchmark.js +461 -0
- package/dist/scripts/install/quick-install.js +720 -0
- package/dist/scripts/install/quick-start-wizard.js +295 -0
- package/dist/scripts/install/redis-cli.js +289 -0
- package/dist/scripts/install/redis-install-guides.md +407 -0
- package/dist/scripts/install/redis-setup.js +559 -0
- package/dist/scripts/install/redis-test.js +278 -0
- package/dist/scripts/install/service-manager.js +672 -0
- package/dist/scripts/install/setup.js +832 -0
- package/dist/scripts/install/uninstall.js +526 -0
- package/dist/scripts/install/update.js +461 -0
- package/dist/scripts/install-pre-commit-hook.sh +127 -0
- package/dist/scripts/legacy/README.md +272 -0
- package/dist/scripts/legacy/batch-fix-ts.sh +54 -0
- package/dist/scripts/legacy/build-migration.sh +105 -0
- package/dist/scripts/legacy/build-monitor.js +209 -0
- package/dist/scripts/legacy/build-with-filter.sh +84 -0
- package/dist/scripts/legacy/build-workaround.sh +71 -0
- package/dist/scripts/legacy/fix-ts-advanced.js +358 -0
- package/dist/scripts/legacy/fix-ts-final.sh +50 -0
- package/dist/scripts/legacy/fix-ts-targeted.sh +49 -0
- package/dist/scripts/legacy/fix-typescript-errors.js +305 -0
- package/dist/scripts/legacy/force-build.sh +63 -0
- package/dist/scripts/legacy/optimize-performance.js +400 -0
- package/dist/scripts/legacy/performance-monitor.js +263 -0
- package/dist/scripts/legacy/performance-monitoring.js +532 -0
- package/dist/scripts/legacy/performance-test-runner.js +645 -0
- package/dist/scripts/legacy/quick-fix-ts.js +281 -0
- package/dist/scripts/legacy/safe-build.sh +63 -0
- package/dist/scripts/memory-monitor-coordinator.js +451 -0
- package/dist/scripts/migrate-to-sdk.sh +520 -0
- package/dist/scripts/migration/QUICK-START.md +189 -0
- package/dist/scripts/migration/QUICK-START.md.backup-1760135091363 +189 -0
- package/dist/scripts/migration/README.md +464 -0
- package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +500 -0
- package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +500 -0
- package/dist/scripts/migration/UPDATE-PATHS-README.md +464 -0
- package/dist/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +464 -0
- package/dist/scripts/migration/example-patterns.json +19 -0
- package/dist/scripts/migration/install-arm64.js +78 -0
- package/dist/scripts/migration/install.js +83 -0
- package/dist/scripts/migration/migrate-hooks.js +173 -0
- package/dist/scripts/migration/migration-examples.ts +318 -0
- package/dist/scripts/migration/reorganize-workspace.js +504 -0
- package/dist/scripts/migration/test-update-paths.js +359 -0
- package/dist/scripts/migration/update-paths.js +664 -0
- package/dist/scripts/migration/validate-migration.js +647 -0
- package/dist/scripts/monitor-loop.sh +65 -0
- package/dist/scripts/monitor-memory.sh +47 -0
- package/dist/scripts/monitor-migration.js +339 -0
- package/dist/scripts/monitor.py +43 -0
- package/dist/scripts/monitoring/README.md +178 -0
- package/dist/scripts/monitoring/alert-monitor.sh +220 -0
- package/dist/scripts/monitoring/analyze-resources.sh +199 -0
- package/dist/scripts/monitoring/dashboards/rate-limiting-dashboard.json +211 -0
- package/dist/scripts/monitoring/dynamic-monitor.sh +85 -0
- package/dist/scripts/monitoring/launch-stability-test.sh +184 -0
- package/dist/scripts/monitoring/monitor-test.sh +93 -0
- package/dist/scripts/monitoring/pre-test-validation.sh +208 -0
- package/dist/scripts/monitoring/quick-test-alerting.sh +118 -0
- package/dist/scripts/monitoring/quick-test-rate-limiting.sh +206 -0
- package/dist/scripts/monitoring/rate-limiting-monitor.sh +380 -0
- package/dist/scripts/monitoring/resource-monitor.sh +126 -0
- package/dist/scripts/monitoring/stability-monitor.js +429 -0
- package/dist/scripts/monitoring/test-monitor-quick.sh +54 -0
- package/dist/scripts/monitoring/view-alerts.sh +307 -0
- package/dist/scripts/npm-metrics-collector.js +482 -0
- package/dist/scripts/npm-package-validation.cjs +299 -0
- package/dist/scripts/optimization/build-optimizer.js +438 -0
- package/dist/scripts/optimization/config-validator.js +761 -0
- package/dist/scripts/optimization/test-optimization.js +432 -0
- package/dist/scripts/optimization/unified-activation.js +839 -0
- package/dist/scripts/optimize-package-swarm.js +54 -0
- package/dist/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
- package/dist/scripts/performance/sqlite-enhanced-activation.sh +583 -0
- package/dist/scripts/performance/test-enhanced-backend.sh +504 -0
- package/dist/scripts/performance-monitor.js +644 -0
- package/dist/scripts/performance-test-runner.js +698 -0
- package/dist/scripts/post-deployment-monitoring.js +350 -0
- package/dist/scripts/post-edit-pipeline.js +2091 -0
- package/dist/scripts/post-install-claude-md.js +78 -0
- package/dist/scripts/postinstall.js +165 -0
- package/dist/scripts/pre-publish-validation.cjs +212 -0
- package/dist/scripts/pre-publish-validation.js +429 -0
- package/dist/scripts/redis-lua/cleanup-blocking-coordination.lua +198 -0
- package/dist/scripts/release-announcement.js +425 -0
- package/dist/scripts/release-notification.js +248 -0
- package/dist/scripts/release-rollback.js +376 -0
- package/dist/scripts/release-validation.js +460 -0
- package/dist/scripts/rollback-sdk.sh +66 -0
- package/dist/scripts/run-production-validation.ts +590 -0
- package/dist/scripts/run-stability-validation.sh +687 -0
- package/dist/scripts/security/README.md +339 -0
- package/dist/scripts/security/deployment-validation.cjs +279 -0
- package/dist/scripts/security/envelope-encryption-confidence-report.cjs +422 -0
- package/dist/scripts/security/install-git-hooks.sh +132 -0
- package/dist/scripts/security/install-git-secrets.sh +295 -0
- package/dist/scripts/security/rotate-api-keys.js +469 -0
- package/dist/scripts/security/ruv-swarm-safe.js +74 -0
- package/dist/scripts/security/security-audit.cjs +538 -0
- package/dist/scripts/security/setup-redis-auth.sh +397 -0
- package/dist/scripts/security/validate-envelope-encryption.cjs +340 -0
- package/dist/scripts/security-scan.js +492 -0
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +1 -0
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/performance.json +9 -0
- package/dist/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +10 -0
- package/dist/scripts/switch-api.sh +159 -0
- package/dist/scripts/sync-agents.js +290 -0
- package/dist/scripts/test/50-agent-test.js +625 -0
- package/dist/scripts/test/NEW_STABILITY_TEST_GUIDE.md +407 -0
- package/dist/scripts/test/README.md +236 -0
- package/dist/scripts/test/STABILITY_TEST_EXAMPLE.md +347 -0
- package/dist/scripts/test/STABILITY_TEST_README.md +480 -0
- package/dist/scripts/test/agent-worker.js +309 -0
- package/dist/scripts/test/ai-coordination-test.js +650 -0
- package/dist/scripts/test/ai-mesh-coordination-test.js +416 -0
- package/dist/scripts/test/check-links.ts +274 -0
- package/dist/scripts/test/check-performance-regression.ts +168 -0
- package/dist/scripts/test/cli-agent-coordination-test.js +313 -0
- package/dist/scripts/test/coordinator-multilingual-test.js +396 -0
- package/dist/scripts/test/coordinator-transparency-demo.js +585 -0
- package/dist/scripts/test/coverage-report.ts +692 -0
- package/dist/scripts/test/generate-swarm-tests.js +633 -0
- package/dist/scripts/test/integration-test-validation.cjs +253 -0
- package/dist/scripts/test/load-test-swarm.js +576 -0
- package/dist/scripts/test/mesh-coordination-zero-overlap-test.js +740 -0
- package/dist/scripts/test/multilingual-hello-world-test.js +390 -0
- package/dist/scripts/test/quick-multilingual-demo.js +464 -0
- package/dist/scripts/test/real-agent-test.js +312 -0
- package/dist/scripts/test/run-phase3-compliance-tests.js +427 -0
- package/dist/scripts/test/run-stability-test-examples.sh +292 -0
- package/dist/scripts/test/stability-results/stability-metrics.jsonl +83 -0
- package/dist/scripts/test/stability-results/stability-test-report.json +128 -0
- package/dist/scripts/test/stability-results/stability-test.log +1827 -0
- package/dist/scripts/test/stability-test-50-agents.js +734 -0
- package/dist/scripts/test/test-batch-tasks.ts +29 -0
- package/dist/scripts/test/test-byzantine-resolution.js +246 -0
- package/dist/scripts/test/test-claude-spawn-options.sh +63 -0
- package/dist/scripts/test/test-cli-wizard.js +331 -0
- package/dist/scripts/test/test-comprehensive.js +401 -0
- package/dist/scripts/test/test-coordination-features.ts +238 -0
- package/dist/scripts/test/test-fallback-systems.js +276 -0
- package/dist/scripts/test/test-init-command.ts +302 -0
- package/dist/scripts/test/test-mcp.ts +251 -0
- package/dist/scripts/test/test-runner.ts +568 -0
- package/dist/scripts/test/test-swarm-integration.sh +92 -0
- package/dist/scripts/test/test-swarm.ts +142 -0
- package/dist/scripts/test/validation-summary.ts +408 -0
- package/dist/scripts/test-cleanup-performance.sh +416 -0
- package/dist/scripts/test-dashboard-auth.cjs +203 -0
- package/dist/scripts/test-docker-deployment.sh +207 -0
- package/dist/scripts/test-npm-package.cjs +167 -0
- package/dist/scripts/test-provider-routing.cjs +226 -0
- package/dist/scripts/test-routing-telemetry.cjs +147 -0
- package/dist/scripts/test-runner.cjs +154 -0
- package/dist/scripts/test-zai-10k.cjs +81 -0
- package/dist/scripts/test-zai-api.cjs +191 -0
- package/dist/scripts/test-zai-diagnostic.cjs +151 -0
- package/dist/scripts/test-zai-final.cjs +128 -0
- package/dist/scripts/test-zai-with-env.cjs +85 -0
- package/dist/scripts/toggle-cost-savings.cjs +302 -0
- package/dist/scripts/unified-memory-monitor.js +526 -0
- package/dist/scripts/utils/README.md +261 -0
- package/dist/scripts/utils/clean-build-artifacts.sh +94 -0
- package/dist/scripts/utils/cleanup-root.sh +69 -0
- package/dist/scripts/utils/fix-cliffy-imports.js +307 -0
- package/dist/scripts/utils/fix-duplicate-imports.js +114 -0
- package/dist/scripts/utils/fix-error-handling.cjs +70 -0
- package/dist/scripts/utils/fix-import-paths.js +104 -0
- package/dist/scripts/utils/fix-imports.js +116 -0
- package/dist/scripts/utils/fix-shebang.js +78 -0
- package/dist/scripts/utils/fix-test-modules.js +27 -0
- package/dist/scripts/utils/fix-timezone-issue-246.js +200 -0
- package/dist/scripts/utils/fix-ts-comprehensive.py +182 -0
- package/dist/scripts/utils/fix-ts-targeted-batch.js +250 -0
- package/dist/scripts/utils/remove-benchmark-conflicts.sh +140 -0
- package/dist/scripts/utils/simple-test-fixer.js +190 -0
- package/dist/scripts/utils/validate-metrics-structure.cjs +144 -0
- package/dist/scripts/validate-agent-hooks.js +506 -0
- package/dist/scripts/validate-changelog.js +241 -0
- package/dist/scripts/validate-coordination-cli.js +69 -0
- package/dist/scripts/validate-coordination-toggle-integration.cjs +501 -0
- package/dist/scripts/validate-docker-infrastructure.sh +502 -0
- package/dist/scripts/validate-entry-points.js +300 -0
- package/dist/scripts/validate-memory-monitoring.sh +225 -0
- package/dist/scripts/validate-stage3-performance.ts +377 -0
- package/dist/scripts/validate-template-bundling.js +180 -0
- package/dist/scripts/validation/README.md +33 -0
- package/dist/scripts/validation/acl-security-validation.cjs +214 -0
- package/dist/scripts/validation/acl-security-validation.js +402 -0
- package/dist/scripts/validation/byzantine-verification.js +407 -0
- package/dist/scripts/validation/final-phase-2-consensus.cjs +219 -0
- package/dist/scripts/validation/final-security-validation.js +791 -0
- package/dist/scripts/validation/final-wasm-validation.cjs +840 -0
- package/dist/scripts/validation/integration-test-analysis.js +105 -0
- package/dist/scripts/validation/phase-0-comprehensive-validation.js +474 -0
- package/dist/scripts/validation/phase-0-consensus-report.js +139 -0
- package/dist/scripts/validation/phase-0-final-report.js +112 -0
- package/dist/scripts/validation/phase-0-redis-consensus-report.js +129 -0
- package/dist/scripts/validation/phase-0-validation-improved.js +490 -0
- package/dist/scripts/validation/phase-0-validation-test.js +65 -0
- package/dist/scripts/validation/phase-1-consensus-report.cjs +342 -0
- package/dist/scripts/validation/phase-1-consensus-validation.cjs +551 -0
- package/dist/scripts/validation/phase-1-consensus-validation.js +551 -0
- package/dist/scripts/validation/phase-2-consensus-report.cjs +186 -0
- package/dist/scripts/validation/phase-2-validation.cjs +171 -0
- package/dist/scripts/validation/phase-2-validation.js +171 -0
- package/dist/scripts/validation/phase-4-consensus-report.js +181 -0
- package/dist/scripts/validation/phase-4-final-validation.js +351 -0
- package/dist/scripts/validation/phase-5-consensus-report.cjs +113 -0
- package/dist/scripts/validation/phase-5-consensus-report.js +113 -0
- package/dist/scripts/validation/security-analysis.js +49 -0
- package/dist/scripts/validation/security-validation.js +492 -0
- package/dist/scripts/validation/simple-security-validation.js +464 -0
- package/dist/scripts/verify-installation.js +112 -0
- package/dist/scripts/verify-mcp-server.js +86 -0
- package/dist/scripts/verify-sdk-phase1.cjs +293 -0
- package/dist/src/booster/performance-benchmark.js +1 -1
- package/dist/src/booster/wasm-demo.js +1 -1
- package/dist/src/cli/command-registry.js +2 -2
- package/dist/src/cli/help-formatter.js +109 -137
- package/dist/src/cli/main.js +32 -1
- package/dist/src/cli/simple-cli.js +2121 -2528
- package/dist/src/cli/simple-commands/sparc/refinement.js +3 -3
- package/dist/src/cli/validation-helper.js +49 -98
- package/dist/src/commands/suggest-templates.js +4 -4
- package/dist/src/core/version.js +15 -23
- package/dist/src/memory/swarm-memory.js +470 -603
- package/dist/src/slash-commands/fullstack.js +2 -2
- package/dist/src/slash-commands/parse-epic.js +1 -1
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/prefer-template.js +275 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/quote-props.js +310 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/quotes.js +350 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/radix.js +198 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-atomic-updates.js +331 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-await.js +113 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-jsdoc.js +122 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-unicode-regexp.js +129 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-yield.js +77 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/rest-spread-spacing.js +123 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi-spacing.js +248 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi-style.js +158 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi.js +438 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-imports.js +241 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-keys.js +230 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-vars.js +104 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-before-blocks.js +204 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-before-function-paren.js +167 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-in-parens.js +285 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-infix-ops.js +198 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-unary-ops.js +324 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/spaced-comment.js +385 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/strict.js +277 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/switch-colon-spacing.js +132 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/symbol-description.js +73 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/template-curly-spacing.js +144 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/template-tag-spacing.js +93 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/unicode-bom.js +73 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/use-isnan.js +141 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/ast-utils.js +2282 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/fix-tracker.js +114 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/keywords.js +67 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/lazy-loading-rule-map.js +115 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/patterns/letters.js +36 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/regular-expressions.js +42 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/index.js +11 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-combining-character.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/valid-jsdoc.js +516 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/valid-typeof.js +127 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/vars-on-top.js +157 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/wrap-iife.js +207 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/wrap-regex.js +61 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/yield-star-spacing.js +130 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/yoda.js +353 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/ajv.js +34 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/ast-utils.js +29 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/config-validator.js +347 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/deprecation-warnings.js +58 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/directives.js +15 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/logging.js +30 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/relative-module-resolver.js +50 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/runtime-info.js +167 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/severity.js +49 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/string-utils.js +60 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/traverser.js +195 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/types.js +216 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/index.js +5 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/source-code.js +1055 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/backward-token-cursor.js +58 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/cursor.js +76 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/cursors.js +90 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/decorative-cursor.js +39 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/filter-cursor.js +43 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/forward-token-cursor.js +63 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/index.js +627 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/limit-cursor.js +40 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/padded-token-cursor.js +38 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/skip-cursor.js +42 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/utils.js +107 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/unsupported-api.js +30 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/all-files-ignored.js +16 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/eslintrc-incompat.js +98 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/eslintrc-plugins.js +24 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/extend-config-missing.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/failed-to-read-json.js +11 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/file-not-found.js +10 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/invalid-rule-options.js +17 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/invalid-rule-severity.js +13 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/no-config-found.js +15 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-conflict.js +22 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-invalid.js +16 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-missing.js +19 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/print-config-with-directory-path.js +8 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/shared.js +18 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/whitespace-found.js +11 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/node_modules/brace-expansion/index.js +201 -0
- package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/node_modules/minimatch/minimatch.js +947 -0
- package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/bin/esparse.js +139 -0
- package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/bin/esvalidate.js +236 -0
- package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/dist/esprima.js +6709 -0
- package/dist/src/web/frontend/node_modules/.he-WANrIpvs/he.js +345 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/cli.js +315 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/index.js +27 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/argument.js +147 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/command.js +1944 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/error.js +45 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/help.js +396 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/option.js +208 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/suggestSimilar.js +100 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/htmlminifier.js +1368 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/htmlparser.js +581 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/tokenchain.js +71 -0
- package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/utils.js +31 -0
- package/dist/src/web/frontend/node_modules/.husky-CmW1OijX/lib/bin.js +30 -0
- package/dist/src/web/frontend/node_modules/.husky-CmW1OijX/lib/index.js +67 -0
- package/dist/src/web/frontend/node_modules/.import-local-oKL6wyV0/fixtures/cli.js +7 -0
- package/dist/src/web/frontend/node_modules/.import-local-oKL6wyV0/index.js +24 -0
- package/dist/src/web/frontend/node_modules/.is-docker-Mti2VF6G/cli.js +5 -0
- package/dist/src/web/frontend/node_modules/.is-docker-Mti2VF6G/index.js +29 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/bin/cli.js +31 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/jakefile.js +112 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/api.js +409 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/jake.js +330 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/loader.js +174 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/namespace.js +115 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/package_task.js +406 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/parseargs.js +134 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/program.js +282 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/publish_task.js +290 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/rule.js +311 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/directory_task.js +30 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/file_task.js +126 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/index.js +9 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/task.js +458 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/test_task.js +270 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/file.js +286 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/index.js +297 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/logger.js +24 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/concurrent.js +45 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/file.js +228 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/file_task.js +141 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/helpers.js +80 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakefile.js +352 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/concurrent.jake.js +113 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/publish.jake.js +49 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/required_module.jake.js +10 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/rule.jake.js +222 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/list_tasks.js +15 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/publish_task.js +27 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/rule.js +217 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/selfdep.js +42 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/task_base.js +167 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/jakefile.js +36 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/namespace.js +77 -0
- package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/parseargs.js +169 -0
- package/dist/src/web/frontend/node_modules/.jest-7ip6NMuN/bin/jest.js +13 -0
- package/dist/src/web/frontend/node_modules/.jest-7ip6NMuN/build/jest.js +61 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/bin/jest.js +17 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/cli/args.js +710 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/cli/index.js +265 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/index.js +13 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/errors.js +35 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/generateConfigFile.js +104 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/index.js +246 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/modifyPackageJson.js +28 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/questions.js +76 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/types.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Circus.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Config.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Global.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/TestResult.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Transform.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/index.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/cliui/build/lib/index.js +287 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/cliui/build/lib/string-utils.js +27 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/es2015/index.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/es2015/text.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/index.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/text.js +6 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/ErrorWithStack.js +33 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/clearLine.js +18 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/convertDescriptorToString.js +41 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/createDirectory.js +76 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/createProcessObject.js +126 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/deepCyclicCopy.js +84 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/formatTime.js +24 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/globsToMatcher.js +108 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/index.js +209 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/installCommonGlobals.js +123 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/interopRequireDefault.js +22 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/isInteractive.js +27 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/isPromise.js +20 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/pluralize.js +16 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/preRunMessage.js +48 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/replacePathSepForGlob.js +16 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/requireOrImportModule.js +91 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/setGlobal.js +17 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/specialChars.js +25 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/testPathPatternToRegExp.js +19 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/tryRealpath.js +34 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/string-width/index.js +47 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/wrap-ansi/index.js +216 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/argsert.js +62 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/command.js +382 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/completion-templates.js +47 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/completion.js +128 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/middleware.js +53 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/usage.js +548 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/validation.js +308 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/yargs-factory.js +1143 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/yerror.js +7 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/helpers/index.js +14 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/browser.js +29 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/index.js +59 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/bin/jiti.js +16 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/dist/babel.js +227 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/dist/jiti.js +1 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/lib/index.js +15 -0
- package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/register.js +3 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/bin/js-yaml.js +126 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/dist/js-yaml.js +3874 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/dist/js-yaml.min.js +2 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/index.js +47 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/common.js +59 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/dumper.js +965 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/exception.js +55 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/loader.js +1727 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/core.js +11 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/default.js +22 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/failsafe.js +17 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/json.js +19 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema.js +121 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/snippet.js +101 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/binary.js +125 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/bool.js +35 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/float.js +97 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/int.js +156 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/map.js +8 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/merge.js +12 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/null.js +35 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/omap.js +44 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/pairs.js +53 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/seq.js +8 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/set.js +29 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/str.js +8 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/timestamp.js +88 -0
- package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type.js +66 -0
- package/dist/src/web/frontend/node_modules/.jsesc-HO7WBVtD/jsesc.js +337 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/dist/index.js +1737 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/dist/index.min.js +1 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/cli.js +152 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/index.js +9 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/parse.js +1114 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/register.js +13 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/require.js +4 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/stringify.js +261 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/unicode.js +4 -0
- package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/util.js +35 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/bin/lint-staged.js +164 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/chunkFiles.js +54 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/configFiles.js +30 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/dynamicImport.js +3 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/execGit.js +28 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/figures.js +8 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/file.js +53 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/generateTasks.js +52 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getDiffCommand.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getRenderer.js +64 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getStagedFiles.js +56 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/gitWorkflow.js +359 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/groupFilesByConfig.js +55 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/index.js +160 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/loadConfig.js +127 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/makeCmdTasks.js +52 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/messages.js +98 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/normalizePath.js +50 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/parseGitZOutput.js +11 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/printTaskOutput.js +12 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/readStdin.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveConfig.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveGitRepo.js +66 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveTaskFn.js +185 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/runAll.js +344 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/searchConfigs.js +131 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/state.js +72 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/symbols.js +27 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateBraces.js +91 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateConfig.js +121 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateOptions.js +47 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/version.js +6 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/index.js +225 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/utilities.js +33 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/composer.js +217 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/errors.js +57 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/index.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/log.js +11 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/parser.js +967 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringify.js +128 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/util.js +11 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/visit.js +233 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/index.js +5 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-node.js +105 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/composer.js +222 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/Document.js +337 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/directives.js +178 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/errors.js +62 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/index.js +50 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/log.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst.js +112 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/parser.js +972 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/public-api.js +107 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/tags.js +99 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringify.js +131 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/test-events.js +134 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/util.js +28 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/visit.js +236 -0
- package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/util.js +2 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/cli.js +16 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/custom.js +4 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/index.js +3 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/loose-envify.js +36 -0
- package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/replace.js +65 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/bin/bin.js +13 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/base64-string.js +285 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/lz-string.js +506 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/lz-string.min.js +1 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/reference/lz-string-1.0.2.js +204 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lib/jasmine-1.3.1/jasmine-html.js +681 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lib/jasmine-1.3.1/jasmine.js +2600 -0
- package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lz-string-spec.js +226 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/cli.js +8 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/mime.js +108 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/src/build.js +53 -0
- package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/src/test.js +60 -0
- package/dist/src/web/frontend/node_modules/.mkdirp-idfX6Cn8/bin/cmd.js +33 -0
- package/dist/src/web/frontend/node_modules/.mkdirp-idfX6Cn8/index.js +102 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/abap/abap.js +1342 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/apex/apex.js +347 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/azcli/azcli.js +102 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/bat/bat.js +123 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/bicep/bicep.js +143 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cameligo/cameligo.js +196 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/clojure/clojure.js +782 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/coffee/coffee.js +256 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cpp/cpp.js +418 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/csharp/csharp.js +348 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/csp/csp.js +85 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/css/css.js +212 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cypher/cypher.js +290 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/dart/dart.js +298 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/dockerfile/dockerfile.js +160 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/ecl/ecl.js +482 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/elixir/elixir.js +517 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/flow9/flow9.js +169 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.js +175099 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.de.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.es.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.fr.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.it.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ja.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.js +2026 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ko.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ru.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.zh-cn.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.zh-tw.js +2023 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/language/css/cssMode.js +2069 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/language/css/cssWorker.js +36893 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/browser.js +132 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/canIUse.js +32 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/contextmenu.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/defaultWorkerFactory.js +128 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dnd.js +26 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dom.js +1405 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dompurify/dompurify.js +1640 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/event.js +20 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/fastDomNode.js +250 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/formattedTextRenderer.js +167 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/actionbar/actionViewItems.js +372 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/actionbar/actionbar.js +421 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/aria/aria.js +81 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +1 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/button/button.js +190 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/codicons/codiconStyles.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/contextview/contextview.js +299 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/countBadge/countBadge.js +36 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dialog/dialog.js +1 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dropdown/dropdown.js +139 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +106 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/findinput/findInput.js +295 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/findinput/findInputToggles.js +46 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/scrollbar/abstractScrollbar.js +207 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/abstractTree.js +1644 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/asyncDataTree.js +845 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/compressedObjectTreeModel.js +365 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/dataTree.js +17 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/actions.js +175 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/arrays.js +470 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/arraysFind.js +175 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/assert.js +51 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/async.js +832 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/buffer.js +68 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/cache.js +40 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/cancellation.js +109 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/charCode.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/codicons.js +591 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/collections.js +35 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/color.js +462 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/comparers.js +83 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/dataTransfer.js +129 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/decorators.js +30 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/diff/diff.js +899 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/diff/diffChange.js +32 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/errorMessage.js +68 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/errors.js +150 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/event.js +1185 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/extpath.js +144 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/filters.js +768 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/autorun.js +185 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/base.js +326 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/derived.js +276 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/_.contribution.js +82 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/abap/abap.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/abap/abap.js +1317 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/apex/apex.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/apex/apex.js +322 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/azcli/azcli.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/azcli/azcli.js +77 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bat/bat.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bat/bat.js +98 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bicep/bicep.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bicep/bicep.js +118 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cameligo/cameligo.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cameligo/cameligo.js +171 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/clojure/clojure.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/clojure/clojure.js +757 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/coffee/coffee.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/coffee/coffee.js +231 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cpp/cpp.contribution.js +37 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cpp/cpp.js +393 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csharp/csharp.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csharp/csharp.js +323 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csp/csp.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csp/csp.js +60 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/css/css.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/css/css.js +187 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cypher/cypher.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cypher/cypher.js +265 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dart/dart.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dart/dart.js +273 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dockerfile/dockerfile.js +135 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/ecl/ecl.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/ecl/ecl.js +457 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/elixir/elixir.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/elixir/elixir.js +492 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/flow9/flow9.contribution.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/flow9/flow9.js +144 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/freemarker2/freemarker2.contribution.js +101 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/charWidthReader.js +102 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/domFontInfo.js +25 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/editorConfiguration.js +280 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/elementSizeObserver.js +99 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/fontMeasurements.js +191 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/coreCommands.js +1727 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/dnd.js +76 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorBrowser.js +50 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorDom.js +282 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorExtensions.js +461 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/abstractCodeEditorService.js +127 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/bulkEditService.js +73 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/codeEditorService.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/editorWorkerService.js +454 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/view/domLineBreaksComputer.js +299 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/view/dynamicViewOverlay.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +95 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +462 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +176 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/decorations/decorations.js +200 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +142 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/lines/domReadingContext.js +41 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +396 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/codeEditorContributions.js +130 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/codeEditorWidget.js +1734 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/accessibleDiffViewer.js +531 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/colors.js +9 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/decorations.js +65 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.js +108 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +274 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorDecorations.js +225 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorEditors.js +164 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +91 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorSash.js +69 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +522 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +493 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +30 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js +57 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/multiDiffEditorWidget/colors.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/multiDiffEditorWidget/diffEditorItemTemplate.js +213 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/diffEditor.js +34 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorConfiguration.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorConfigurationSchema.js +284 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorOptions.js +2999 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorZoom.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/fontInfo.js +153 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/characterClassifier.js +56 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/cursorColumns.js +109 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/dimension.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/editOperation.js +33 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/editorColorRegistry.js +85 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/eolCounter.js +42 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursor.js +877 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorAtomicMoveOperations.js +142 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorCollection.js +191 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorColumnSelection.js +90 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorContext.js +13 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorDeleteOperations.js +215 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorMoveCommands.js +651 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorMoveOperations.js +287 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorTypeOperations.js +973 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorWordOperations.js +686 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursorCommon.js +239 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursorEvents.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +118 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +98 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +246 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +220 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/documentDiffProvider.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorAction.js +24 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorCommon.js +11 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorContextKeys.js +76 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorFeatures.js +15 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorTheme.js +21 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/encodedTokenAttributes.js +77 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/autoIndent.js +374 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js +135 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/enterAction.js +63 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/supports/characterPair.js +37 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/supports/electricCharacter.js +52 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +724 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +482 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.js +107 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +343 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +105 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos.js +121 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +189 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +94 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +66 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/decorationProvider.js +1 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/editStack.js +359 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/fixedArray.js +67 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorBaseApi.js +40 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorSimpleWorker.js +523 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorWorker.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorWorkerHost.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousMultilineTokens.js +30 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousMultilineTokensBuilder.js +20 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousTokensEditing.js +125 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousTokensStore.js +204 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +164 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +351 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +49 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/clipboard/browser/clipboard.js +236 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeAction.js +284 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +229 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +43 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +315 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +86 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +64 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +271 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codeLensCache.js +112 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelens.js +104 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelensController.js +472 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelensWidget.js +262 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/color.js +112 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorContributions.js +51 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +242 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +244 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorPickerModel.js +71 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +353 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +54 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/comment/browser/blockCommentCommand.js +146 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/comment/browser/comment.js +146 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +345 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +134 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dnd/browser/dnd.js +195 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dnd/browser/dragAndDropCommand.js +62 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/documentSymbols/browser/documentSymbols.js +23 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +57 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +401 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +181 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +44 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +157 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/edit.js +71 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/editorState/browser/editorState.js +112 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findController.js +990 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findDecorations.js +296 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findModel.js +488 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findOptionsWidget.js +138 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findState.js +243 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findWidget.js +1177 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/folding.js +1093 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +133 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingModel.js +538 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingRanges.js +351 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +49 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/format.js +360 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/formatActions.js +263 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/formattingEdit.js +54 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +149 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/hover/browser/contentHover.js +874 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/inlineCompletions/browser/commandIds.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/inlineCompletions/browser/commands.js +199 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/linesOperations/browser/copyLinesCommand.js +70 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +26 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +153 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +33 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +354 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/smartSelect/browser/bracketSelections.js +146 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/suggest/browser/completionModel.js +224 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +119 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/edcore.main.js +14 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.all.js +63 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.api.js +55 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.main.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.worker.js +25 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/standalone/browser/colorizer.js +118 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/language/css/css.worker.js +36869 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/language/css/cssMode.js +2035 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/browser/accessibilityService.js +88 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/common/accessibility.js +9 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/action.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/actionCommonCategories.js +13 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionList.js +276 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionWidget.js +248 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/common/actionWidget.js +5 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actions/common/actions.js +409 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/audioCues/browser/audioCueService.js +176 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/browser/clipboardService.js +141 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/common/clipboardService.js +6 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/commands/common/commands.js +80 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configuration.js +86 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationModels.js +554 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationRegistry.js +317 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurations.js +41 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/browser/contextKeyService.js +432 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkey.js +1547 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkeys.js +18 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuHandler.js +124 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuService.js +101 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextView.js +7 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextViewService.js +72 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dialogs/common/dialogs.js +2 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dnd/browser/dnd.js +36 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/editor/common/editor.js +17 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/environment/common/environment.js +2 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/extensions/common/extensions.js +47 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/files/common/files.js +9 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +105 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/descriptors.js +11 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/extensions.js +15 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/abstractKeybindingService.js +277 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/baseResolvedKeybinding.js +53 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +354 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/browser/defaultStyles.js +162 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/common/colorRegistry.js +482 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/abap/abap.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/apex/apex.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/azcli/azcli.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bat/bat.js +10 -0
- package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bicep/bicep.js +11 -0
- package/package.json +2 -1
- package/scripts/.claude-flow/metrics/agent-metrics.json +1 -0
- package/scripts/.claude-flow/metrics/performance.json +9 -0
- package/scripts/.claude-flow/metrics/task-metrics.json +10 -0
- package/scripts/CLEANUP_OPTIMIZATION_REPORT.json +312 -0
- package/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +387 -0
- package/scripts/CLEANUP_QUICK_START.md +268 -0
- package/scripts/CLEANUP_TEST_RESULTS.md +205 -0
- package/scripts/README.md +339 -0
- package/scripts/ace-query.sh +384 -0
- package/scripts/agent-token-analysis.js +430 -0
- package/scripts/auto-setup.js +332 -0
- package/scripts/build/README.md +167 -0
- package/scripts/build/build-config.js +27 -0
- package/scripts/build/build-prompt-copier.sh +30 -0
- package/scripts/build/performance-monitor.js +869 -0
- package/scripts/build/prepare-publish.js +150 -0
- package/scripts/build/typescript-fixer.js +621 -0
- package/scripts/build/unified-builder.sh +428 -0
- package/scripts/build/update-bin-version.js +32 -0
- package/scripts/build/validate-agents.js +238 -0
- package/scripts/build-index.js +43 -0
- package/scripts/build-orchestrator.js +320 -0
- package/scripts/check-routing-stats.cjs +122 -0
- package/scripts/ci-validation.js +375 -0
- package/scripts/cleanup-blocking-coordination.sh +420 -0
- package/scripts/cleanup-idle-sessions.sh +118 -0
- package/scripts/collect-build-metrics.js +65 -0
- package/scripts/demo/README.md +79 -0
- package/scripts/demo/autoscaling-demo-simplified.js +963 -0
- package/scripts/demo/comprehensive-dashboard-test.js +693 -0
- package/scripts/demo/confidence-log.js +87 -0
- package/scripts/demo/confidence-report.js +82 -0
- package/scripts/demo/demo-multi-swarm-coordination.js +325 -0
- package/scripts/demo/demo-production-deployment.js +399 -0
- package/scripts/demo/demo-visualization-system.js +149 -0
- package/scripts/demo/performance-analysis.cjs +71 -0
- package/scripts/demo/performance-analysis.js +71 -0
- package/scripts/demo/test-autoscaling-demo.js +314 -0
- package/scripts/dependency-optimizer.js +349 -0
- package/scripts/dependency-security-assessment.js +331 -0
- package/scripts/deploy-sdk.sh +176 -0
- package/scripts/deployment-readiness-report.json +179 -0
- package/scripts/dev/README.md +264 -0
- package/scripts/dev/claude-flow-wrapper.sh +35 -0
- package/scripts/dev/claude-monitor.py +419 -0
- package/scripts/dev/claude-sparc.sh +562 -0
- package/scripts/dev/claude-wrapper.sh +17 -0
- package/scripts/dev/demo-phase3-compliance.js +172 -0
- package/scripts/dev/demo-task-system.ts +224 -0
- package/scripts/dev/deployment-validator.js +315 -0
- package/scripts/dev/spawn-claude-terminal.sh +32 -0
- package/scripts/dev/start-portal.sh +506 -0
- package/scripts/dev/start-web-ui.js +15 -0
- package/scripts/dev/stop-portal.sh +311 -0
- package/scripts/dev/validate-examples.ts +288 -0
- package/scripts/dev/validate-phase2.cjs +451 -0
- package/scripts/dev/validate-phase2.js +785 -0
- package/scripts/dev/validate-phase3.cjs +208 -0
- package/scripts/dev/validate-security-remediation.js +1 -0
- package/scripts/ecosystem.config.cjs +90 -0
- package/scripts/enhanced-memory-spiral-killer.sh +221 -0
- package/scripts/fix-js-extensions.js +167 -0
- package/scripts/generate-basic-types.js +73 -0
- package/scripts/generate-changelog.js +318 -0
- package/scripts/git-hooks/pre-commit.sh +143 -0
- package/scripts/health-checks.js +634 -0
- package/scripts/hook-wrapper.sh +54 -0
- package/scripts/install/README.md +375 -0
- package/scripts/install/REDIS_SETUP_VALIDATION.json +245 -0
- package/scripts/install/check-prerequisites.js +303 -0
- package/scripts/install/config-wizard.js +606 -0
- package/scripts/install/dependency-checker.js +385 -0
- package/scripts/install/health-check.js +765 -0
- package/scripts/install/install.js +256 -0
- package/scripts/install/installation-benchmark.js +461 -0
- package/scripts/install/quick-install.js +720 -0
- package/scripts/install/quick-start-wizard.js +295 -0
- package/scripts/install/redis-cli.js +289 -0
- package/scripts/install/redis-install-guides.md +407 -0
- package/scripts/install/redis-setup.js +559 -0
- package/scripts/install/redis-test.js +278 -0
- package/scripts/install/service-manager.js +672 -0
- package/scripts/install/setup.js +832 -0
- package/scripts/install/uninstall.js +526 -0
- package/scripts/install/update.js +461 -0
- package/scripts/install-pre-commit-hook.sh +127 -0
- package/scripts/legacy/README.md +272 -0
- package/scripts/legacy/batch-fix-ts.sh +54 -0
- package/scripts/legacy/build-migration.sh +105 -0
- package/scripts/legacy/build-monitor.js +209 -0
- package/scripts/legacy/build-with-filter.sh +84 -0
- package/scripts/legacy/build-workaround.sh +71 -0
- package/scripts/legacy/fix-ts-advanced.js +358 -0
- package/scripts/legacy/fix-ts-final.sh +50 -0
- package/scripts/legacy/fix-ts-targeted.sh +49 -0
- package/scripts/legacy/fix-typescript-errors.js +305 -0
- package/scripts/legacy/force-build.sh +63 -0
- package/scripts/legacy/optimize-performance.js +400 -0
- package/scripts/legacy/performance-monitor.js +263 -0
- package/scripts/legacy/performance-monitoring.js +532 -0
- package/scripts/legacy/performance-test-runner.js +645 -0
- package/scripts/legacy/quick-fix-ts.js +281 -0
- package/scripts/legacy/safe-build.sh +63 -0
- package/scripts/memory-monitor-coordinator.js +451 -0
- package/scripts/migrate-to-sdk.sh +520 -0
- package/scripts/migration/QUICK-START.md +189 -0
- package/scripts/migration/QUICK-START.md.backup-1760135091363 +189 -0
- package/scripts/migration/README.md +464 -0
- package/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +500 -0
- package/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +500 -0
- package/scripts/migration/UPDATE-PATHS-README.md +464 -0
- package/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +464 -0
- package/scripts/migration/example-patterns.json +19 -0
- package/scripts/migration/install-arm64.js +78 -0
- package/scripts/migration/install.js +83 -0
- package/scripts/migration/migrate-hooks.js +173 -0
- package/scripts/migration/migration-examples.ts +318 -0
- package/scripts/migration/reorganize-workspace.js +504 -0
- package/scripts/migration/test-update-paths.js +359 -0
- package/scripts/migration/update-paths.js +664 -0
- package/scripts/migration/validate-migration.js +647 -0
- package/scripts/monitor-loop.sh +65 -0
- package/scripts/monitor-memory.sh +47 -0
- package/scripts/monitor-migration.js +339 -0
- package/scripts/monitor.py +43 -0
- package/scripts/monitoring/README.md +178 -0
- package/scripts/monitoring/alert-monitor.sh +220 -0
- package/scripts/monitoring/analyze-resources.sh +199 -0
- package/scripts/monitoring/dashboards/rate-limiting-dashboard.json +211 -0
- package/scripts/monitoring/dynamic-monitor.sh +85 -0
- package/scripts/monitoring/launch-stability-test.sh +184 -0
- package/scripts/monitoring/monitor-test.sh +93 -0
- package/scripts/monitoring/pre-test-validation.sh +208 -0
- package/scripts/monitoring/quick-test-alerting.sh +118 -0
- package/scripts/monitoring/quick-test-rate-limiting.sh +206 -0
- package/scripts/monitoring/rate-limiting-monitor.sh +380 -0
- package/scripts/monitoring/resource-monitor.sh +126 -0
- package/scripts/monitoring/stability-monitor.js +429 -0
- package/scripts/monitoring/test-monitor-quick.sh +54 -0
- package/scripts/monitoring/view-alerts.sh +307 -0
- package/scripts/npm-metrics-collector.js +482 -0
- package/scripts/npm-package-validation.cjs +299 -0
- package/scripts/optimization/build-optimizer.js +438 -0
- package/scripts/optimization/config-validator.js +761 -0
- package/scripts/optimization/test-optimization.js +432 -0
- package/scripts/optimization/unified-activation.js +839 -0
- package/scripts/optimize-package-swarm.js +54 -0
- package/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
- package/scripts/performance/sqlite-enhanced-activation.sh +583 -0
- package/scripts/performance/test-enhanced-backend.sh +504 -0
- package/scripts/performance-monitor.js +644 -0
- package/scripts/performance-test-runner.js +698 -0
- package/scripts/post-deployment-monitoring.js +350 -0
- package/scripts/post-edit-pipeline.js +2091 -0
- package/scripts/post-install-claude-md.js +78 -0
- package/scripts/postinstall.js +165 -0
- package/scripts/pre-publish-validation.cjs +212 -0
- package/scripts/pre-publish-validation.js +429 -0
- package/scripts/redis-lua/cleanup-blocking-coordination.lua +198 -0
- package/scripts/release-announcement.js +425 -0
- package/scripts/release-notification.js +248 -0
- package/scripts/release-rollback.js +376 -0
- package/scripts/release-validation.js +460 -0
- package/scripts/rollback-sdk.sh +66 -0
- package/scripts/run-production-validation.ts +590 -0
- package/scripts/run-stability-validation.sh +687 -0
- package/scripts/security/README.md +339 -0
- package/scripts/security/deployment-validation.cjs +279 -0
- package/scripts/security/envelope-encryption-confidence-report.cjs +422 -0
- package/scripts/security/install-git-hooks.sh +132 -0
- package/scripts/security/install-git-secrets.sh +295 -0
- package/scripts/security/rotate-api-keys.js +469 -0
- package/scripts/security/ruv-swarm-safe.js +74 -0
- package/scripts/security/security-audit.cjs +538 -0
- package/scripts/security/setup-redis-auth.sh +397 -0
- package/scripts/security/validate-envelope-encryption.cjs +340 -0
- package/scripts/security-scan.js +492 -0
- package/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +1 -0
- package/scripts/src/web/frontend/.claude-flow/metrics/performance.json +9 -0
- package/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +10 -0
- package/scripts/switch-api.sh +159 -0
- package/scripts/sync-agents.js +290 -0
- package/scripts/test/50-agent-test.js +625 -0
- package/scripts/test/NEW_STABILITY_TEST_GUIDE.md +407 -0
- package/scripts/test/README.md +236 -0
- package/scripts/test/STABILITY_TEST_EXAMPLE.md +347 -0
- package/scripts/test/STABILITY_TEST_README.md +480 -0
- package/scripts/test/agent-worker.js +309 -0
- package/scripts/test/ai-coordination-test.js +650 -0
- package/scripts/test/ai-mesh-coordination-test.js +416 -0
- package/scripts/test/check-links.ts +274 -0
- package/scripts/test/check-performance-regression.ts +168 -0
- package/scripts/test/cli-agent-coordination-test.js +313 -0
- package/scripts/test/coordinator-multilingual-test.js +396 -0
- package/scripts/test/coordinator-transparency-demo.js +585 -0
- package/scripts/test/coverage-report.ts +692 -0
- package/scripts/test/generate-swarm-tests.js +633 -0
- package/scripts/test/integration-test-validation.cjs +253 -0
- package/scripts/test/load-test-swarm.js +576 -0
- package/scripts/test/mesh-coordination-zero-overlap-test.js +740 -0
- package/scripts/test/multilingual-hello-world-test.js +390 -0
- package/scripts/test/quick-multilingual-demo.js +464 -0
- package/scripts/test/real-agent-test.js +312 -0
- package/scripts/test/run-phase3-compliance-tests.js +427 -0
- package/scripts/test/run-stability-test-examples.sh +292 -0
- package/scripts/test/stability-results/stability-metrics.jsonl +83 -0
- package/scripts/test/stability-results/stability-test-report.json +128 -0
- package/scripts/test/stability-results/stability-test.log +1827 -0
- package/scripts/test/stability-test-50-agents.js +734 -0
- package/scripts/test/test-batch-tasks.ts +29 -0
- package/scripts/test/test-byzantine-resolution.js +246 -0
- package/scripts/test/test-claude-spawn-options.sh +63 -0
- package/scripts/test/test-cli-wizard.js +331 -0
- package/scripts/test/test-comprehensive.js +401 -0
- package/scripts/test/test-coordination-features.ts +238 -0
- package/scripts/test/test-fallback-systems.js +276 -0
- package/scripts/test/test-init-command.ts +302 -0
- package/scripts/test/test-mcp.ts +251 -0
- package/scripts/test/test-runner.ts +568 -0
- package/scripts/test/test-swarm-integration.sh +92 -0
- package/scripts/test/test-swarm.ts +142 -0
- package/scripts/test/validation-summary.ts +408 -0
- package/scripts/test-cleanup-performance.sh +416 -0
- package/scripts/test-dashboard-auth.cjs +203 -0
- package/scripts/test-docker-deployment.sh +207 -0
- package/scripts/test-npm-package.cjs +167 -0
- package/scripts/test-provider-routing.cjs +226 -0
- package/scripts/test-routing-telemetry.cjs +147 -0
- package/scripts/test-runner.cjs +154 -0
- package/scripts/test-zai-10k.cjs +81 -0
- package/scripts/test-zai-api.cjs +191 -0
- package/scripts/test-zai-diagnostic.cjs +151 -0
- package/scripts/test-zai-final.cjs +128 -0
- package/scripts/test-zai-with-env.cjs +85 -0
- package/scripts/toggle-cost-savings.cjs +302 -0
- package/scripts/unified-memory-monitor.js +526 -0
- package/scripts/utils/README.md +261 -0
- package/scripts/utils/clean-build-artifacts.sh +94 -0
- package/scripts/utils/cleanup-root.sh +69 -0
- package/scripts/utils/fix-cliffy-imports.js +307 -0
- package/scripts/utils/fix-duplicate-imports.js +114 -0
- package/scripts/utils/fix-error-handling.cjs +70 -0
- package/scripts/utils/fix-import-paths.js +104 -0
- package/scripts/utils/fix-imports.js +116 -0
- package/scripts/utils/fix-shebang.js +78 -0
- package/scripts/utils/fix-test-modules.js +27 -0
- package/scripts/utils/fix-timezone-issue-246.js +200 -0
- package/scripts/utils/fix-ts-comprehensive.py +182 -0
- package/scripts/utils/fix-ts-targeted-batch.js +250 -0
- package/scripts/utils/remove-benchmark-conflicts.sh +140 -0
- package/scripts/utils/simple-test-fixer.js +190 -0
- package/scripts/utils/validate-metrics-structure.cjs +144 -0
- package/scripts/validate-agent-hooks.js +506 -0
- package/scripts/validate-changelog.js +241 -0
- package/scripts/validate-coordination-cli.js +69 -0
- package/scripts/validate-coordination-toggle-integration.cjs +501 -0
- package/scripts/validate-docker-infrastructure.sh +502 -0
- package/scripts/validate-entry-points.js +300 -0
- package/scripts/validate-memory-monitoring.sh +225 -0
- package/scripts/validate-stage3-performance.ts +377 -0
- package/scripts/validate-template-bundling.js +180 -0
- package/scripts/validation/README.md +33 -0
- package/scripts/validation/acl-security-validation.cjs +214 -0
- package/scripts/validation/acl-security-validation.js +402 -0
- package/scripts/validation/byzantine-verification.js +407 -0
- package/scripts/validation/final-phase-2-consensus.cjs +219 -0
- package/scripts/validation/final-security-validation.js +791 -0
- package/scripts/validation/final-wasm-validation.cjs +840 -0
- package/scripts/validation/integration-test-analysis.js +105 -0
- package/scripts/validation/phase-0-comprehensive-validation.js +474 -0
- package/scripts/validation/phase-0-consensus-report.js +139 -0
- package/scripts/validation/phase-0-final-report.js +112 -0
- package/scripts/validation/phase-0-redis-consensus-report.js +129 -0
- package/scripts/validation/phase-0-validation-improved.js +490 -0
- package/scripts/validation/phase-0-validation-test.js +65 -0
- package/scripts/validation/phase-1-consensus-report.cjs +342 -0
- package/scripts/validation/phase-1-consensus-validation.cjs +551 -0
- package/scripts/validation/phase-1-consensus-validation.js +551 -0
- package/scripts/validation/phase-2-consensus-report.cjs +186 -0
- package/scripts/validation/phase-2-validation.cjs +171 -0
- package/scripts/validation/phase-2-validation.js +171 -0
- package/scripts/validation/phase-4-consensus-report.js +181 -0
- package/scripts/validation/phase-4-final-validation.js +351 -0
- package/scripts/validation/phase-5-consensus-report.cjs +113 -0
- package/scripts/validation/phase-5-consensus-report.js +113 -0
- package/scripts/validation/security-analysis.js +49 -0
- package/scripts/validation/security-validation.js +492 -0
- package/scripts/validation/simple-security-validation.js +464 -0
- package/scripts/verify-installation.js +112 -0
- package/scripts/verify-mcp-server.js +86 -0
- package/scripts/verify-sdk-phase1.cjs +293 -0
|
@@ -0,0 +1,1368 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var CleanCSS = require('clean-css');
|
|
4
|
+
var decode = require('he').decode;
|
|
5
|
+
var HTMLParser = require('./htmlparser').HTMLParser;
|
|
6
|
+
var endTag = require('./htmlparser').endTag;
|
|
7
|
+
var RelateUrl = require('relateurl');
|
|
8
|
+
var TokenChain = require('./tokenchain');
|
|
9
|
+
var Terser = require('terser');
|
|
10
|
+
var utils = require('./utils');
|
|
11
|
+
|
|
12
|
+
function trimWhitespace(str) {
|
|
13
|
+
return str && str.replace(/^[ \n\r\t\f]+/, '').replace(/[ \n\r\t\f]+$/, '');
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function collapseWhitespaceAll(str) {
|
|
17
|
+
// Non-breaking space is specifically handled inside the replacer function here:
|
|
18
|
+
return str && str.replace(/[ \n\r\t\f\xA0]+/g, function(spaces) {
|
|
19
|
+
return spaces === '\t' ? '\t' : spaces.replace(/(^|\xA0+)[^\xA0]+/g, '$1 ');
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function collapseWhitespace(str, options, trimLeft, trimRight, collapseAll) {
|
|
24
|
+
var lineBreakBefore = '', lineBreakAfter = '';
|
|
25
|
+
|
|
26
|
+
if (options.preserveLineBreaks) {
|
|
27
|
+
str = str.replace(/^[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*/, function() {
|
|
28
|
+
lineBreakBefore = '\n';
|
|
29
|
+
return '';
|
|
30
|
+
}).replace(/[ \n\r\t\f]*?[\n\r][ \n\r\t\f]*$/, function() {
|
|
31
|
+
lineBreakAfter = '\n';
|
|
32
|
+
return '';
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (trimLeft) {
|
|
37
|
+
// Non-breaking space is specifically handled inside the replacer function here:
|
|
38
|
+
str = str.replace(/^[ \n\r\t\f\xA0]+/, function(spaces) {
|
|
39
|
+
var conservative = !lineBreakBefore && options.conservativeCollapse;
|
|
40
|
+
if (conservative && spaces === '\t') {
|
|
41
|
+
return '\t';
|
|
42
|
+
}
|
|
43
|
+
return spaces.replace(/^[^\xA0]+/, '').replace(/(\xA0+)[^\xA0]+/g, '$1 ') || (conservative ? ' ' : '');
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if (trimRight) {
|
|
48
|
+
// Non-breaking space is specifically handled inside the replacer function here:
|
|
49
|
+
str = str.replace(/[ \n\r\t\f\xA0]+$/, function(spaces) {
|
|
50
|
+
var conservative = !lineBreakAfter && options.conservativeCollapse;
|
|
51
|
+
if (conservative && spaces === '\t') {
|
|
52
|
+
return '\t';
|
|
53
|
+
}
|
|
54
|
+
return spaces.replace(/[^\xA0]+(\xA0+)/g, ' $1').replace(/[^\xA0]+$/, '') || (conservative ? ' ' : '');
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (collapseAll) {
|
|
59
|
+
// strip non space whitespace then compress spaces to one
|
|
60
|
+
str = collapseWhitespaceAll(str);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return lineBreakBefore + str + lineBreakAfter;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var createMapFromString = utils.createMapFromString;
|
|
67
|
+
// non-empty tags that will maintain whitespace around them
|
|
68
|
+
var inlineTags = createMapFromString('a,abbr,acronym,b,bdi,bdo,big,button,cite,code,del,dfn,em,font,i,ins,kbd,label,mark,math,nobr,object,q,rp,rt,rtc,ruby,s,samp,select,small,span,strike,strong,sub,sup,svg,textarea,time,tt,u,var');
|
|
69
|
+
// non-empty tags that will maintain whitespace within them
|
|
70
|
+
var inlineTextTags = createMapFromString('a,abbr,acronym,b,big,del,em,font,i,ins,kbd,mark,nobr,rp,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var');
|
|
71
|
+
// self-closing tags that will maintain whitespace around them
|
|
72
|
+
var selfClosingInlineTags = createMapFromString('comment,img,input,wbr');
|
|
73
|
+
|
|
74
|
+
function collapseWhitespaceSmart(str, prevTag, nextTag, options) {
|
|
75
|
+
var trimLeft = prevTag && !selfClosingInlineTags(prevTag);
|
|
76
|
+
if (trimLeft && !options.collapseInlineTagWhitespace) {
|
|
77
|
+
trimLeft = prevTag.charAt(0) === '/' ? !inlineTags(prevTag.slice(1)) : !inlineTextTags(prevTag);
|
|
78
|
+
}
|
|
79
|
+
var trimRight = nextTag && !selfClosingInlineTags(nextTag);
|
|
80
|
+
if (trimRight && !options.collapseInlineTagWhitespace) {
|
|
81
|
+
trimRight = nextTag.charAt(0) === '/' ? !inlineTextTags(nextTag.slice(1)) : !inlineTags(nextTag);
|
|
82
|
+
}
|
|
83
|
+
return collapseWhitespace(str, options, trimLeft, trimRight, prevTag && nextTag);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function isConditionalComment(text) {
|
|
87
|
+
return /^\[if\s[^\]]+]|\[endif]$/.test(text);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function isIgnoredComment(text, options) {
|
|
91
|
+
for (var i = 0, len = options.ignoreCustomComments.length; i < len; i++) {
|
|
92
|
+
if (options.ignoreCustomComments[i].test(text)) {
|
|
93
|
+
return true;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function isEventAttribute(attrName, options) {
|
|
100
|
+
var patterns = options.customEventAttributes;
|
|
101
|
+
if (patterns) {
|
|
102
|
+
for (var i = patterns.length; i--;) {
|
|
103
|
+
if (patterns[i].test(attrName)) {
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return false;
|
|
108
|
+
}
|
|
109
|
+
return /^on[a-z]{3,}$/.test(attrName);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function canRemoveAttributeQuotes(value) {
|
|
113
|
+
// https://mathiasbynens.be/notes/unquoted-attribute-values
|
|
114
|
+
return /^[^ \t\n\f\r"'`=<>]+$/.test(value);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function attributesInclude(attributes, attribute) {
|
|
118
|
+
for (var i = attributes.length; i--;) {
|
|
119
|
+
if (attributes[i].name.toLowerCase() === attribute) {
|
|
120
|
+
return true;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function isAttributeRedundant(tag, attrName, attrValue, attrs) {
|
|
127
|
+
attrValue = attrValue ? trimWhitespace(attrValue.toLowerCase()) : '';
|
|
128
|
+
|
|
129
|
+
return (
|
|
130
|
+
tag === 'script' &&
|
|
131
|
+
attrName === 'language' &&
|
|
132
|
+
attrValue === 'javascript' ||
|
|
133
|
+
|
|
134
|
+
tag === 'form' &&
|
|
135
|
+
attrName === 'method' &&
|
|
136
|
+
attrValue === 'get' ||
|
|
137
|
+
|
|
138
|
+
tag === 'input' &&
|
|
139
|
+
attrName === 'type' &&
|
|
140
|
+
attrValue === 'text' ||
|
|
141
|
+
|
|
142
|
+
tag === 'script' &&
|
|
143
|
+
attrName === 'charset' &&
|
|
144
|
+
!attributesInclude(attrs, 'src') ||
|
|
145
|
+
|
|
146
|
+
tag === 'a' &&
|
|
147
|
+
attrName === 'name' &&
|
|
148
|
+
attributesInclude(attrs, 'id') ||
|
|
149
|
+
|
|
150
|
+
tag === 'area' &&
|
|
151
|
+
attrName === 'shape' &&
|
|
152
|
+
attrValue === 'rect'
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// https://mathiasbynens.be/demo/javascript-mime-type
|
|
157
|
+
// https://developer.mozilla.org/en/docs/Web/HTML/Element/script#attr-type
|
|
158
|
+
var executableScriptsMimetypes = utils.createMap([
|
|
159
|
+
'text/javascript',
|
|
160
|
+
'text/ecmascript',
|
|
161
|
+
'text/jscript',
|
|
162
|
+
'application/javascript',
|
|
163
|
+
'application/x-javascript',
|
|
164
|
+
'application/ecmascript',
|
|
165
|
+
'module'
|
|
166
|
+
]);
|
|
167
|
+
|
|
168
|
+
var keepScriptsMimetypes = utils.createMap([
|
|
169
|
+
'module'
|
|
170
|
+
]);
|
|
171
|
+
|
|
172
|
+
function isScriptTypeAttribute(attrValue) {
|
|
173
|
+
attrValue = trimWhitespace(attrValue.split(/;/, 2)[0]).toLowerCase();
|
|
174
|
+
return attrValue === '' || executableScriptsMimetypes(attrValue);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
function keepScriptTypeAttribute(attrValue) {
|
|
178
|
+
attrValue = trimWhitespace(attrValue.split(/;/, 2)[0]).toLowerCase();
|
|
179
|
+
return keepScriptsMimetypes(attrValue);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
function isExecutableScript(tag, attrs) {
|
|
183
|
+
if (tag !== 'script') {
|
|
184
|
+
return false;
|
|
185
|
+
}
|
|
186
|
+
for (var i = 0, len = attrs.length; i < len; i++) {
|
|
187
|
+
var attrName = attrs[i].name.toLowerCase();
|
|
188
|
+
if (attrName === 'type') {
|
|
189
|
+
return isScriptTypeAttribute(attrs[i].value);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return true;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
function isStyleLinkTypeAttribute(attrValue) {
|
|
196
|
+
attrValue = trimWhitespace(attrValue).toLowerCase();
|
|
197
|
+
return attrValue === '' || attrValue === 'text/css';
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
function isStyleSheet(tag, attrs) {
|
|
201
|
+
if (tag !== 'style') {
|
|
202
|
+
return false;
|
|
203
|
+
}
|
|
204
|
+
for (var i = 0, len = attrs.length; i < len; i++) {
|
|
205
|
+
var attrName = attrs[i].name.toLowerCase();
|
|
206
|
+
if (attrName === 'type') {
|
|
207
|
+
return isStyleLinkTypeAttribute(attrs[i].value);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
return true;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
var isSimpleBoolean = createMapFromString('allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible');
|
|
214
|
+
var isBooleanValue = createMapFromString('true,false');
|
|
215
|
+
|
|
216
|
+
function isBooleanAttribute(attrName, attrValue) {
|
|
217
|
+
return isSimpleBoolean(attrName) || attrName === 'draggable' && !isBooleanValue(attrValue);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
function isUriTypeAttribute(attrName, tag) {
|
|
221
|
+
return (
|
|
222
|
+
/^(?:a|area|link|base)$/.test(tag) && attrName === 'href' ||
|
|
223
|
+
tag === 'img' && /^(?:src|longdesc|usemap)$/.test(attrName) ||
|
|
224
|
+
tag === 'object' && /^(?:classid|codebase|data|usemap)$/.test(attrName) ||
|
|
225
|
+
tag === 'q' && attrName === 'cite' ||
|
|
226
|
+
tag === 'blockquote' && attrName === 'cite' ||
|
|
227
|
+
(tag === 'ins' || tag === 'del') && attrName === 'cite' ||
|
|
228
|
+
tag === 'form' && attrName === 'action' ||
|
|
229
|
+
tag === 'input' && (attrName === 'src' || attrName === 'usemap') ||
|
|
230
|
+
tag === 'head' && attrName === 'profile' ||
|
|
231
|
+
tag === 'script' && (attrName === 'src' || attrName === 'for')
|
|
232
|
+
);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
function isNumberTypeAttribute(attrName, tag) {
|
|
236
|
+
return (
|
|
237
|
+
/^(?:a|area|object|button)$/.test(tag) && attrName === 'tabindex' ||
|
|
238
|
+
tag === 'input' && (attrName === 'maxlength' || attrName === 'tabindex') ||
|
|
239
|
+
tag === 'select' && (attrName === 'size' || attrName === 'tabindex') ||
|
|
240
|
+
tag === 'textarea' && /^(?:rows|cols|tabindex)$/.test(attrName) ||
|
|
241
|
+
tag === 'colgroup' && attrName === 'span' ||
|
|
242
|
+
tag === 'col' && attrName === 'span' ||
|
|
243
|
+
(tag === 'th' || tag === 'td') && (attrName === 'rowspan' || attrName === 'colspan')
|
|
244
|
+
);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function isLinkType(tag, attrs, value) {
|
|
248
|
+
if (tag !== 'link') {
|
|
249
|
+
return false;
|
|
250
|
+
}
|
|
251
|
+
for (var i = 0, len = attrs.length; i < len; i++) {
|
|
252
|
+
if (attrs[i].name === 'rel' && attrs[i].value === value) {
|
|
253
|
+
return true;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
function isMediaQuery(tag, attrs, attrName) {
|
|
259
|
+
return attrName === 'media' && (isLinkType(tag, attrs, 'stylesheet') || isStyleSheet(tag, attrs));
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
var srcsetTags = createMapFromString('img,source');
|
|
263
|
+
|
|
264
|
+
function isSrcset(attrName, tag) {
|
|
265
|
+
return attrName === 'srcset' && srcsetTags(tag);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
async function cleanAttributeValue(tag, attrName, attrValue, options, attrs) {
|
|
269
|
+
if (isEventAttribute(attrName, options)) {
|
|
270
|
+
attrValue = trimWhitespace(attrValue).replace(/^javascript:\s*/i, '');
|
|
271
|
+
return await options.minifyJS(attrValue, true);
|
|
272
|
+
}
|
|
273
|
+
else if (attrName === 'class') {
|
|
274
|
+
attrValue = trimWhitespace(attrValue);
|
|
275
|
+
if (options.sortClassName) {
|
|
276
|
+
attrValue = options.sortClassName(attrValue);
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
attrValue = collapseWhitespaceAll(attrValue);
|
|
280
|
+
}
|
|
281
|
+
return attrValue;
|
|
282
|
+
}
|
|
283
|
+
else if (isUriTypeAttribute(attrName, tag)) {
|
|
284
|
+
attrValue = trimWhitespace(attrValue);
|
|
285
|
+
return isLinkType(tag, attrs, 'canonical') ? attrValue : options.minifyURLs(attrValue);
|
|
286
|
+
}
|
|
287
|
+
else if (isNumberTypeAttribute(attrName, tag)) {
|
|
288
|
+
return trimWhitespace(attrValue);
|
|
289
|
+
}
|
|
290
|
+
else if (attrName === 'style') {
|
|
291
|
+
attrValue = trimWhitespace(attrValue);
|
|
292
|
+
if (attrValue) {
|
|
293
|
+
if (/;$/.test(attrValue) && !/&#?[0-9a-zA-Z]+;$/.test(attrValue)) {
|
|
294
|
+
attrValue = attrValue.replace(/\s*;$/, ';');
|
|
295
|
+
}
|
|
296
|
+
attrValue = options.minifyCSS(attrValue, 'inline');
|
|
297
|
+
}
|
|
298
|
+
return attrValue;
|
|
299
|
+
}
|
|
300
|
+
else if (isSrcset(attrName, tag)) {
|
|
301
|
+
// https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-srcset
|
|
302
|
+
attrValue = trimWhitespace(attrValue).split(/\s+,\s*|\s*,\s+/).map(function(candidate) {
|
|
303
|
+
var url = candidate;
|
|
304
|
+
var descriptor = '';
|
|
305
|
+
var match = candidate.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);
|
|
306
|
+
if (match) {
|
|
307
|
+
url = url.slice(0, -match[0].length);
|
|
308
|
+
var num = +match[1].slice(0, -1);
|
|
309
|
+
var suffix = match[1].slice(-1);
|
|
310
|
+
if (num !== 1 || suffix !== 'x') {
|
|
311
|
+
descriptor = ' ' + num + suffix;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
return options.minifyURLs(url) + descriptor;
|
|
315
|
+
}).join(', ');
|
|
316
|
+
}
|
|
317
|
+
else if (isMetaViewport(tag, attrs) && attrName === 'content') {
|
|
318
|
+
attrValue = attrValue.replace(/\s+/g, '').replace(/[0-9]+\.[0-9]+/g, function(numString) {
|
|
319
|
+
// "0.90000" -> "0.9"
|
|
320
|
+
// "1.0" -> "1"
|
|
321
|
+
// "1.0001" -> "1.0001" (unchanged)
|
|
322
|
+
return (+numString).toString();
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
else if (isContentSecurityPolicy(tag, attrs) && attrName.toLowerCase() === 'content') {
|
|
326
|
+
return collapseWhitespaceAll(attrValue);
|
|
327
|
+
}
|
|
328
|
+
else if (options.customAttrCollapse && options.customAttrCollapse.test(attrName)) {
|
|
329
|
+
attrValue = trimWhitespace(attrValue.replace(/ ?[\n\r]+ ?/g, '').replace(/\s{2,}/g, options.conservativeCollapse ? ' ' : ''));
|
|
330
|
+
}
|
|
331
|
+
else if (tag === 'script' && attrName === 'type') {
|
|
332
|
+
attrValue = trimWhitespace(attrValue.replace(/\s*;\s*/g, ';'));
|
|
333
|
+
}
|
|
334
|
+
else if (isMediaQuery(tag, attrs, attrName)) {
|
|
335
|
+
attrValue = trimWhitespace(attrValue);
|
|
336
|
+
return options.minifyCSS(attrValue, 'media');
|
|
337
|
+
}
|
|
338
|
+
return attrValue;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
function isMetaViewport(tag, attrs) {
|
|
342
|
+
if (tag !== 'meta') {
|
|
343
|
+
return false;
|
|
344
|
+
}
|
|
345
|
+
for (var i = 0, len = attrs.length; i < len; i++) {
|
|
346
|
+
if (attrs[i].name === 'name' && attrs[i].value === 'viewport') {
|
|
347
|
+
return true;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
function isContentSecurityPolicy(tag, attrs) {
|
|
353
|
+
if (tag !== 'meta') {
|
|
354
|
+
return false;
|
|
355
|
+
}
|
|
356
|
+
for (var i = 0, len = attrs.length; i < len; i++) {
|
|
357
|
+
if (attrs[i].name.toLowerCase() === 'http-equiv' && attrs[i].value.toLowerCase() === 'content-security-policy') {
|
|
358
|
+
return true;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
function ignoreCSS(id) {
|
|
364
|
+
return '/* clean-css ignore:start */' + id + '/* clean-css ignore:end */';
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// Wrap CSS declarations for CleanCSS > 3.x
|
|
368
|
+
// See https://github.com/jakubpawlowicz/clean-css/issues/418
|
|
369
|
+
function wrapCSS(text, type) {
|
|
370
|
+
switch (type) {
|
|
371
|
+
case 'inline':
|
|
372
|
+
return '*{' + text + '}';
|
|
373
|
+
case 'media':
|
|
374
|
+
return '@media ' + text + '{a{top:0}}';
|
|
375
|
+
default:
|
|
376
|
+
return text;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
function unwrapCSS(text, type) {
|
|
381
|
+
var matches;
|
|
382
|
+
switch (type) {
|
|
383
|
+
case 'inline':
|
|
384
|
+
matches = text.match(/^\*\{([\s\S]*)\}$/);
|
|
385
|
+
break;
|
|
386
|
+
case 'media':
|
|
387
|
+
matches = text.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/);
|
|
388
|
+
break;
|
|
389
|
+
}
|
|
390
|
+
return matches ? matches[1] : text;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
async function cleanConditionalComment(comment, options) {
|
|
394
|
+
return options.processConditionalComments ? await utils.replaceAsync(comment, /^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/, async function(match, prefix, text, suffix) {
|
|
395
|
+
return prefix + await minify(text, options, true) + suffix;
|
|
396
|
+
}) : comment;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
async function processScript(text, options, currentAttrs) {
|
|
400
|
+
for (var i = 0, len = currentAttrs.length; i < len; i++) {
|
|
401
|
+
if (currentAttrs[i].name.toLowerCase() === 'type' &&
|
|
402
|
+
options.processScripts.indexOf(currentAttrs[i].value) > -1) {
|
|
403
|
+
return await minify(text, options);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
return text;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// Tag omission rules from https://html.spec.whatwg.org/multipage/syntax.html#optional-tags
|
|
410
|
+
// with the following deviations:
|
|
411
|
+
// - retain <body> if followed by <noscript>
|
|
412
|
+
// - </rb>, </rt>, </rtc>, </rp> & </tfoot> follow https://www.w3.org/TR/html5/syntax.html#optional-tags
|
|
413
|
+
// - retain all tags which are adjacent to non-standard HTML tags
|
|
414
|
+
var optionalStartTags = createMapFromString('html,head,body,colgroup,tbody');
|
|
415
|
+
var optionalEndTags = createMapFromString('html,head,body,li,dt,dd,p,rb,rt,rtc,rp,optgroup,option,colgroup,caption,thead,tbody,tfoot,tr,td,th');
|
|
416
|
+
var headerTags = createMapFromString('meta,link,script,style,template,noscript');
|
|
417
|
+
var descriptionTags = createMapFromString('dt,dd');
|
|
418
|
+
var pBlockTags = createMapFromString('address,article,aside,blockquote,details,div,dl,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,menu,nav,ol,p,pre,section,table,ul');
|
|
419
|
+
var pInlineTags = createMapFromString('a,audio,del,ins,map,noscript,video');
|
|
420
|
+
var rubyTags = createMapFromString('rb,rt,rtc,rp');
|
|
421
|
+
var rtcTag = createMapFromString('rb,rtc,rp');
|
|
422
|
+
var optionTag = createMapFromString('option,optgroup');
|
|
423
|
+
var tableContentTags = createMapFromString('tbody,tfoot');
|
|
424
|
+
var tableSectionTags = createMapFromString('thead,tbody,tfoot');
|
|
425
|
+
var cellTags = createMapFromString('td,th');
|
|
426
|
+
var topLevelTags = createMapFromString('html,head,body');
|
|
427
|
+
var compactTags = createMapFromString('html,body');
|
|
428
|
+
var looseTags = createMapFromString('head,colgroup,caption');
|
|
429
|
+
var trailingTags = createMapFromString('dt,thead');
|
|
430
|
+
var htmlTags = createMapFromString('a,abbr,acronym,address,applet,area,article,aside,audio,b,base,basefont,bdi,bdo,bgsound,big,blink,blockquote,body,br,button,canvas,caption,center,cite,code,col,colgroup,command,content,data,datalist,dd,del,details,dfn,dialog,dir,div,dl,dt,element,em,embed,fieldset,figcaption,figure,font,footer,form,frame,frameset,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,image,img,input,ins,isindex,kbd,keygen,label,legend,li,link,listing,main,map,mark,marquee,menu,menuitem,meta,meter,multicol,nav,nobr,noembed,noframes,noscript,object,ol,optgroup,option,output,p,param,picture,plaintext,pre,progress,q,rb,rp,rt,rtc,ruby,s,samp,script,section,select,shadow,small,source,spacer,span,strike,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,tt,u,ul,var,video,wbr,xmp');
|
|
431
|
+
|
|
432
|
+
function canRemoveParentTag(optionalStartTag, tag) {
|
|
433
|
+
switch (optionalStartTag) {
|
|
434
|
+
case 'html':
|
|
435
|
+
case 'head':
|
|
436
|
+
return true;
|
|
437
|
+
case 'body':
|
|
438
|
+
return !headerTags(tag);
|
|
439
|
+
case 'colgroup':
|
|
440
|
+
return tag === 'col';
|
|
441
|
+
case 'tbody':
|
|
442
|
+
return tag === 'tr';
|
|
443
|
+
}
|
|
444
|
+
return false;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
function isStartTagMandatory(optionalEndTag, tag) {
|
|
448
|
+
switch (tag) {
|
|
449
|
+
case 'colgroup':
|
|
450
|
+
return optionalEndTag === 'colgroup';
|
|
451
|
+
case 'tbody':
|
|
452
|
+
return tableSectionTags(optionalEndTag);
|
|
453
|
+
}
|
|
454
|
+
return false;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
function canRemovePrecedingTag(optionalEndTag, tag) {
|
|
458
|
+
switch (optionalEndTag) {
|
|
459
|
+
case 'html':
|
|
460
|
+
case 'head':
|
|
461
|
+
case 'body':
|
|
462
|
+
case 'colgroup':
|
|
463
|
+
case 'caption':
|
|
464
|
+
return true;
|
|
465
|
+
case 'li':
|
|
466
|
+
case 'optgroup':
|
|
467
|
+
case 'tr':
|
|
468
|
+
return tag === optionalEndTag;
|
|
469
|
+
case 'dt':
|
|
470
|
+
case 'dd':
|
|
471
|
+
return descriptionTags(tag);
|
|
472
|
+
case 'p':
|
|
473
|
+
return pBlockTags(tag);
|
|
474
|
+
case 'rb':
|
|
475
|
+
case 'rt':
|
|
476
|
+
case 'rp':
|
|
477
|
+
return rubyTags(tag);
|
|
478
|
+
case 'rtc':
|
|
479
|
+
return rtcTag(tag);
|
|
480
|
+
case 'option':
|
|
481
|
+
return optionTag(tag);
|
|
482
|
+
case 'thead':
|
|
483
|
+
case 'tbody':
|
|
484
|
+
return tableContentTags(tag);
|
|
485
|
+
case 'tfoot':
|
|
486
|
+
return tag === 'tbody';
|
|
487
|
+
case 'td':
|
|
488
|
+
case 'th':
|
|
489
|
+
return cellTags(tag);
|
|
490
|
+
}
|
|
491
|
+
return false;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
var reEmptyAttribute = new RegExp(
|
|
495
|
+
'^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(' +
|
|
496
|
+
'?:down|up|over|move|out)|key(?:press|down|up)))$');
|
|
497
|
+
|
|
498
|
+
function canDeleteEmptyAttribute(tag, attrName, attrValue, options) {
|
|
499
|
+
var isValueEmpty = !attrValue || /^\s*$/.test(attrValue);
|
|
500
|
+
if (!isValueEmpty) {
|
|
501
|
+
return false;
|
|
502
|
+
}
|
|
503
|
+
if (typeof options.removeEmptyAttributes === 'function') {
|
|
504
|
+
return options.removeEmptyAttributes(attrName, tag);
|
|
505
|
+
}
|
|
506
|
+
return tag === 'input' && attrName === 'value' || reEmptyAttribute.test(attrName);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
function hasAttrName(name, attrs) {
|
|
510
|
+
for (var i = attrs.length - 1; i >= 0; i--) {
|
|
511
|
+
if (attrs[i].name === name) {
|
|
512
|
+
return true;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
return false;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
function canRemoveElement(tag, attrs) {
|
|
519
|
+
switch (tag) {
|
|
520
|
+
case 'textarea':
|
|
521
|
+
return false;
|
|
522
|
+
case 'audio':
|
|
523
|
+
case 'script':
|
|
524
|
+
case 'video':
|
|
525
|
+
if (hasAttrName('src', attrs)) {
|
|
526
|
+
return false;
|
|
527
|
+
}
|
|
528
|
+
break;
|
|
529
|
+
case 'iframe':
|
|
530
|
+
if (hasAttrName('src', attrs) || hasAttrName('srcdoc', attrs)) {
|
|
531
|
+
return false;
|
|
532
|
+
}
|
|
533
|
+
break;
|
|
534
|
+
case 'object':
|
|
535
|
+
if (hasAttrName('data', attrs)) {
|
|
536
|
+
return false;
|
|
537
|
+
}
|
|
538
|
+
break;
|
|
539
|
+
case 'applet':
|
|
540
|
+
if (hasAttrName('code', attrs)) {
|
|
541
|
+
return false;
|
|
542
|
+
}
|
|
543
|
+
break;
|
|
544
|
+
}
|
|
545
|
+
return true;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
function canCollapseWhitespace(tag) {
|
|
549
|
+
return !/^(?:script|style|pre|textarea)$/.test(tag);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
function canTrimWhitespace(tag) {
|
|
553
|
+
return !/^(?:pre|textarea)$/.test(tag);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
async function normalizeAttr(attr, attrs, tag, options) {
|
|
557
|
+
var attrName = options.name(attr.name),
|
|
558
|
+
attrValue = attr.value;
|
|
559
|
+
|
|
560
|
+
if (options.decodeEntities && attrValue) {
|
|
561
|
+
attrValue = decode(attrValue, { isAttributeValue: true });
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
if (options.removeRedundantAttributes &&
|
|
565
|
+
isAttributeRedundant(tag, attrName, attrValue, attrs) ||
|
|
566
|
+
options.removeScriptTypeAttributes && tag === 'script' &&
|
|
567
|
+
attrName === 'type' && isScriptTypeAttribute(attrValue) && !keepScriptTypeAttribute(attrValue) ||
|
|
568
|
+
options.removeStyleLinkTypeAttributes && (tag === 'style' || tag === 'link') &&
|
|
569
|
+
attrName === 'type' && isStyleLinkTypeAttribute(attrValue)) {
|
|
570
|
+
return;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
if (attrValue) {
|
|
574
|
+
attrValue = await cleanAttributeValue(tag, attrName, attrValue, options, attrs);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
if (options.removeEmptyAttributes &&
|
|
578
|
+
canDeleteEmptyAttribute(tag, attrName, attrValue, options)) {
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (options.decodeEntities && attrValue) {
|
|
583
|
+
attrValue = attrValue.replace(/&(#?[0-9a-zA-Z]+;)/g, '&$1');
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
return {
|
|
587
|
+
attr: attr,
|
|
588
|
+
name: attrName,
|
|
589
|
+
value: attrValue
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
function buildAttr(normalized, hasUnarySlash, options, isLast, uidAttr) {
|
|
594
|
+
var attrName = normalized.name,
|
|
595
|
+
attrValue = normalized.value,
|
|
596
|
+
attr = normalized.attr,
|
|
597
|
+
attrQuote = attr.quote,
|
|
598
|
+
attrFragment,
|
|
599
|
+
emittedAttrValue;
|
|
600
|
+
|
|
601
|
+
if (typeof attrValue !== 'undefined' && (!options.removeAttributeQuotes ||
|
|
602
|
+
~attrValue.indexOf(uidAttr) || !canRemoveAttributeQuotes(attrValue))) {
|
|
603
|
+
if (!options.preventAttributesEscaping) {
|
|
604
|
+
if (typeof options.quoteCharacter === 'undefined') {
|
|
605
|
+
var apos = (attrValue.match(/'/g) || []).length;
|
|
606
|
+
var quot = (attrValue.match(/"/g) || []).length;
|
|
607
|
+
attrQuote = apos < quot ? '\'' : '"';
|
|
608
|
+
}
|
|
609
|
+
else {
|
|
610
|
+
attrQuote = options.quoteCharacter === '\'' ? '\'' : '"';
|
|
611
|
+
}
|
|
612
|
+
if (attrQuote === '"') {
|
|
613
|
+
attrValue = attrValue.replace(/"/g, '"');
|
|
614
|
+
}
|
|
615
|
+
else {
|
|
616
|
+
attrValue = attrValue.replace(/'/g, ''');
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
emittedAttrValue = attrQuote + attrValue + attrQuote;
|
|
620
|
+
if (!isLast && !options.removeTagWhitespace) {
|
|
621
|
+
emittedAttrValue += ' ';
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
// make sure trailing slash is not interpreted as HTML self-closing tag
|
|
625
|
+
else if (isLast && !hasUnarySlash && !/\/$/.test(attrValue)) {
|
|
626
|
+
emittedAttrValue = attrValue;
|
|
627
|
+
}
|
|
628
|
+
else {
|
|
629
|
+
emittedAttrValue = attrValue + ' ';
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
if (typeof attrValue === 'undefined' || options.collapseBooleanAttributes &&
|
|
633
|
+
isBooleanAttribute(attrName.toLowerCase(), attrValue.toLowerCase())) {
|
|
634
|
+
attrFragment = attrName;
|
|
635
|
+
if (!isLast) {
|
|
636
|
+
attrFragment += ' ';
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
else {
|
|
640
|
+
attrFragment = attrName + attr.customAssign + emittedAttrValue;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
return attr.customOpen + attrFragment + attr.customClose;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
function identity(value) {
|
|
647
|
+
return value;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
function processOptions(values) {
|
|
651
|
+
var options = {
|
|
652
|
+
name: function(name) {
|
|
653
|
+
return name.toLowerCase();
|
|
654
|
+
},
|
|
655
|
+
canCollapseWhitespace: canCollapseWhitespace,
|
|
656
|
+
canTrimWhitespace: canTrimWhitespace,
|
|
657
|
+
html5: true,
|
|
658
|
+
ignoreCustomComments: [
|
|
659
|
+
/^!/,
|
|
660
|
+
/^\s*#/
|
|
661
|
+
],
|
|
662
|
+
ignoreCustomFragments: [
|
|
663
|
+
/<%[\s\S]*?%>/,
|
|
664
|
+
/<\?[\s\S]*?\?>/
|
|
665
|
+
],
|
|
666
|
+
includeAutoGeneratedTags: true,
|
|
667
|
+
log: identity,
|
|
668
|
+
minifyCSS: identity,
|
|
669
|
+
minifyJS: identity,
|
|
670
|
+
minifyURLs: identity
|
|
671
|
+
};
|
|
672
|
+
Object.keys(values).forEach(function(key) {
|
|
673
|
+
var value = values[key];
|
|
674
|
+
if (key === 'caseSensitive') {
|
|
675
|
+
if (value) {
|
|
676
|
+
options.name = identity;
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
else if (key === 'log') {
|
|
680
|
+
if (typeof value === 'function') {
|
|
681
|
+
options.log = value;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
else if (key === 'minifyCSS' && typeof value !== 'function') {
|
|
685
|
+
if (!value) {
|
|
686
|
+
return;
|
|
687
|
+
}
|
|
688
|
+
if (typeof value !== 'object') {
|
|
689
|
+
value = {};
|
|
690
|
+
}
|
|
691
|
+
options.minifyCSS = function(text, type) {
|
|
692
|
+
text = text.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/ig, function(match, prefix, quote, url, suffix) {
|
|
693
|
+
return prefix + quote + options.minifyURLs(url) + quote + suffix;
|
|
694
|
+
});
|
|
695
|
+
var cleanCssOutput = new CleanCSS(value).minify(wrapCSS(text, type));
|
|
696
|
+
if (cleanCssOutput.errors.length > 0) {
|
|
697
|
+
cleanCssOutput.errors.forEach(options.log);
|
|
698
|
+
return text;
|
|
699
|
+
}
|
|
700
|
+
return unwrapCSS(cleanCssOutput.styles, type);
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
else if (key === 'minifyJS' && typeof value !== 'function') {
|
|
704
|
+
if (!value) {
|
|
705
|
+
return;
|
|
706
|
+
}
|
|
707
|
+
if (typeof value !== 'object') {
|
|
708
|
+
value = {};
|
|
709
|
+
}
|
|
710
|
+
(value.parse || (value.parse = {})).bare_returns = false;
|
|
711
|
+
options.minifyJS = async function(text, inline) {
|
|
712
|
+
var start = text.match(/^\s*<!--.*/);
|
|
713
|
+
var code = start ? text.slice(start[0].length).replace(/\n\s*-->\s*$/, '') : text;
|
|
714
|
+
value.parse.bare_returns = inline;
|
|
715
|
+
try {
|
|
716
|
+
const result = await Terser.minify(code, value);
|
|
717
|
+
return result.code.replace(/;$/, '');
|
|
718
|
+
}
|
|
719
|
+
catch (error) {
|
|
720
|
+
options.log(error);
|
|
721
|
+
return text;
|
|
722
|
+
}
|
|
723
|
+
};
|
|
724
|
+
}
|
|
725
|
+
else if (key === 'minifyURLs' && typeof value !== 'function') {
|
|
726
|
+
if (!value) {
|
|
727
|
+
return;
|
|
728
|
+
}
|
|
729
|
+
if (typeof value === 'string') {
|
|
730
|
+
value = { site: value };
|
|
731
|
+
}
|
|
732
|
+
else if (typeof value !== 'object') {
|
|
733
|
+
value = {};
|
|
734
|
+
}
|
|
735
|
+
options.minifyURLs = function(text) {
|
|
736
|
+
try {
|
|
737
|
+
return RelateUrl.relate(text, value);
|
|
738
|
+
}
|
|
739
|
+
catch (err) {
|
|
740
|
+
options.log(err);
|
|
741
|
+
return text;
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
else {
|
|
746
|
+
options[key] = value;
|
|
747
|
+
}
|
|
748
|
+
});
|
|
749
|
+
return options;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
function uniqueId(value) {
|
|
753
|
+
var id;
|
|
754
|
+
do {
|
|
755
|
+
id = Math.random().toString(36).replace(/^0\.[0-9]*/, '');
|
|
756
|
+
} while (~value.indexOf(id));
|
|
757
|
+
return id;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
var specialContentTags = createMapFromString('script,style');
|
|
761
|
+
|
|
762
|
+
async function createSortFns(value, options, uidIgnore, uidAttr) {
|
|
763
|
+
var attrChains = options.sortAttributes && Object.create(null);
|
|
764
|
+
var classChain = options.sortClassName && new TokenChain();
|
|
765
|
+
|
|
766
|
+
function attrNames(attrs) {
|
|
767
|
+
return attrs.map(function(attr) {
|
|
768
|
+
return options.name(attr.name);
|
|
769
|
+
});
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
function shouldSkipUID(token, uid) {
|
|
773
|
+
return !uid || token.indexOf(uid) === -1;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
function shouldSkipUIDs(token) {
|
|
777
|
+
return shouldSkipUID(token, uidIgnore) && shouldSkipUID(token, uidAttr);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
async function scan(input) {
|
|
781
|
+
var currentTag, currentType;
|
|
782
|
+
const parser = new HTMLParser(input, {
|
|
783
|
+
start: function(tag, attrs) {
|
|
784
|
+
if (attrChains) {
|
|
785
|
+
if (!attrChains[tag]) {
|
|
786
|
+
attrChains[tag] = new TokenChain();
|
|
787
|
+
}
|
|
788
|
+
attrChains[tag].add(attrNames(attrs).filter(shouldSkipUIDs));
|
|
789
|
+
}
|
|
790
|
+
for (var i = 0, len = attrs.length; i < len; i++) {
|
|
791
|
+
var attr = attrs[i];
|
|
792
|
+
if (classChain && attr.value && options.name(attr.name) === 'class') {
|
|
793
|
+
classChain.add(trimWhitespace(attr.value).split(/[ \t\n\f\r]+/).filter(shouldSkipUIDs));
|
|
794
|
+
}
|
|
795
|
+
else if (options.processScripts && attr.name.toLowerCase() === 'type') {
|
|
796
|
+
currentTag = tag;
|
|
797
|
+
currentType = attr.value;
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
end: function() {
|
|
802
|
+
currentTag = '';
|
|
803
|
+
},
|
|
804
|
+
chars: async function(text) {
|
|
805
|
+
if (options.processScripts && specialContentTags(currentTag) &&
|
|
806
|
+
options.processScripts.indexOf(currentType) > -1) {
|
|
807
|
+
await scan(text);
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
|
|
812
|
+
await parser.parse();
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
var log = options.log;
|
|
816
|
+
options.log = identity;
|
|
817
|
+
options.sortAttributes = false;
|
|
818
|
+
options.sortClassName = false;
|
|
819
|
+
await scan(await minify(value, options));
|
|
820
|
+
options.log = log;
|
|
821
|
+
if (attrChains) {
|
|
822
|
+
var attrSorters = Object.create(null);
|
|
823
|
+
for (var tag in attrChains) {
|
|
824
|
+
attrSorters[tag] = attrChains[tag].createSorter();
|
|
825
|
+
}
|
|
826
|
+
options.sortAttributes = function(tag, attrs) {
|
|
827
|
+
var sorter = attrSorters[tag];
|
|
828
|
+
if (sorter) {
|
|
829
|
+
var attrMap = Object.create(null);
|
|
830
|
+
var names = attrNames(attrs);
|
|
831
|
+
names.forEach(function(name, index) {
|
|
832
|
+
(attrMap[name] || (attrMap[name] = [])).push(attrs[index]);
|
|
833
|
+
});
|
|
834
|
+
sorter.sort(names).forEach(function(name, index) {
|
|
835
|
+
attrs[index] = attrMap[name].shift();
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
if (classChain) {
|
|
841
|
+
var sorter = classChain.createSorter();
|
|
842
|
+
options.sortClassName = function(value) {
|
|
843
|
+
return sorter.sort(value.split(/[ \n\f\r]+/)).join(' ');
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
async function minify(value, options, partialMarkup) {
|
|
849
|
+
if (options.collapseWhitespace) {
|
|
850
|
+
value = collapseWhitespace(value, options, true, true);
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
var buffer = [],
|
|
854
|
+
charsPrevTag,
|
|
855
|
+
currentChars = '',
|
|
856
|
+
hasChars,
|
|
857
|
+
currentTag = '',
|
|
858
|
+
currentAttrs = [],
|
|
859
|
+
stackNoTrimWhitespace = [],
|
|
860
|
+
stackNoCollapseWhitespace = [],
|
|
861
|
+
optionalStartTag = '',
|
|
862
|
+
optionalEndTag = '',
|
|
863
|
+
ignoredMarkupChunks = [],
|
|
864
|
+
ignoredCustomMarkupChunks = [],
|
|
865
|
+
uidIgnore,
|
|
866
|
+
uidAttr,
|
|
867
|
+
uidPattern;
|
|
868
|
+
|
|
869
|
+
// temporarily replace ignored chunks with comments,
|
|
870
|
+
// so that we don't have to worry what's there.
|
|
871
|
+
// for all we care there might be
|
|
872
|
+
// completely-horribly-broken-alien-non-html-emoj-cthulhu-filled content
|
|
873
|
+
value = value.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g, function(match, group1) {
|
|
874
|
+
if (!uidIgnore) {
|
|
875
|
+
uidIgnore = uniqueId(value);
|
|
876
|
+
var pattern = new RegExp('^' + uidIgnore + '([0-9]+)$');
|
|
877
|
+
if (options.ignoreCustomComments) {
|
|
878
|
+
options.ignoreCustomComments = options.ignoreCustomComments.slice();
|
|
879
|
+
}
|
|
880
|
+
else {
|
|
881
|
+
options.ignoreCustomComments = [];
|
|
882
|
+
}
|
|
883
|
+
options.ignoreCustomComments.push(pattern);
|
|
884
|
+
}
|
|
885
|
+
var token = '<!--' + uidIgnore + ignoredMarkupChunks.length + '-->';
|
|
886
|
+
ignoredMarkupChunks.push(group1);
|
|
887
|
+
return token;
|
|
888
|
+
});
|
|
889
|
+
|
|
890
|
+
var customFragments = options.ignoreCustomFragments.map(function(re) {
|
|
891
|
+
return re.source;
|
|
892
|
+
});
|
|
893
|
+
if (customFragments.length) {
|
|
894
|
+
var reCustomIgnore = new RegExp('\\s*(?:' + customFragments.join('|') + ')+\\s*', 'g');
|
|
895
|
+
// temporarily replace custom ignored fragments with unique attributes
|
|
896
|
+
value = value.replace(reCustomIgnore, function(match) {
|
|
897
|
+
if (!uidAttr) {
|
|
898
|
+
uidAttr = uniqueId(value);
|
|
899
|
+
uidPattern = new RegExp('(\\s*)' + uidAttr + '([0-9]+)' + uidAttr + '(\\s*)', 'g');
|
|
900
|
+
if (options.minifyCSS) {
|
|
901
|
+
options.minifyCSS = (function(fn) {
|
|
902
|
+
return function(text, type) {
|
|
903
|
+
text = text.replace(uidPattern, function(match, prefix, index) {
|
|
904
|
+
var chunks = ignoredCustomMarkupChunks[+index];
|
|
905
|
+
return chunks[1] + uidAttr + index + uidAttr + chunks[2];
|
|
906
|
+
});
|
|
907
|
+
var ids = [];
|
|
908
|
+
new CleanCSS().minify(wrapCSS(text, type)).warnings.forEach(function(warning) {
|
|
909
|
+
var match = uidPattern.exec(warning);
|
|
910
|
+
if (match) {
|
|
911
|
+
var id = uidAttr + match[2] + uidAttr;
|
|
912
|
+
text = text.replace(id, ignoreCSS(id));
|
|
913
|
+
ids.push(id);
|
|
914
|
+
}
|
|
915
|
+
});
|
|
916
|
+
text = fn(text, type);
|
|
917
|
+
ids.forEach(function(id) {
|
|
918
|
+
text = text.replace(ignoreCSS(id), id);
|
|
919
|
+
});
|
|
920
|
+
return text;
|
|
921
|
+
};
|
|
922
|
+
})(options.minifyCSS);
|
|
923
|
+
}
|
|
924
|
+
if (options.minifyJS) {
|
|
925
|
+
options.minifyJS = (function(fn) {
|
|
926
|
+
return function(text, type) {
|
|
927
|
+
return fn(text.replace(uidPattern, function(match, prefix, index) {
|
|
928
|
+
var chunks = ignoredCustomMarkupChunks[+index];
|
|
929
|
+
return chunks[1] + uidAttr + index + uidAttr + chunks[2];
|
|
930
|
+
}), type);
|
|
931
|
+
};
|
|
932
|
+
})(options.minifyJS);
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
var token = uidAttr + ignoredCustomMarkupChunks.length + uidAttr;
|
|
936
|
+
ignoredCustomMarkupChunks.push(/^(\s*)[\s\S]*?(\s*)$/.exec(match));
|
|
937
|
+
return '\t' + token + '\t';
|
|
938
|
+
});
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
if (options.sortAttributes && typeof options.sortAttributes !== 'function' ||
|
|
942
|
+
options.sortClassName && typeof options.sortClassName !== 'function') {
|
|
943
|
+
await createSortFns(value, options, uidIgnore, uidAttr);
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
function _canCollapseWhitespace(tag, attrs) {
|
|
947
|
+
return options.canCollapseWhitespace(tag, attrs, canCollapseWhitespace);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
function _canTrimWhitespace(tag, attrs) {
|
|
951
|
+
return options.canTrimWhitespace(tag, attrs, canTrimWhitespace);
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
function removeStartTag() {
|
|
955
|
+
var index = buffer.length - 1;
|
|
956
|
+
while (index > 0 && !/^<[^/!]/.test(buffer[index])) {
|
|
957
|
+
index--;
|
|
958
|
+
}
|
|
959
|
+
buffer.length = Math.max(0, index);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
function removeEndTag() {
|
|
963
|
+
var index = buffer.length - 1;
|
|
964
|
+
while (index > 0 && !/^<\//.test(buffer[index])) {
|
|
965
|
+
index--;
|
|
966
|
+
}
|
|
967
|
+
buffer.length = Math.max(0, index);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
// look for trailing whitespaces, bypass any inline tags
|
|
971
|
+
function trimTrailingWhitespace(index, nextTag) {
|
|
972
|
+
for (var endTag = null; index >= 0 && _canTrimWhitespace(endTag); index--) {
|
|
973
|
+
var str = buffer[index];
|
|
974
|
+
var match = str.match(/^<\/([\w:-]+)>$/);
|
|
975
|
+
if (match) {
|
|
976
|
+
endTag = match[1];
|
|
977
|
+
}
|
|
978
|
+
else if (/>$/.test(str) || (buffer[index] = collapseWhitespaceSmart(str, null, nextTag, options))) {
|
|
979
|
+
break;
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
// look for trailing whitespaces from previously processed text
|
|
985
|
+
// which may not be trimmed due to a following comment or an empty
|
|
986
|
+
// element which has now been removed
|
|
987
|
+
function squashTrailingWhitespace(nextTag) {
|
|
988
|
+
var charsIndex = buffer.length - 1;
|
|
989
|
+
if (buffer.length > 1) {
|
|
990
|
+
var item = buffer[buffer.length - 1];
|
|
991
|
+
if (/^(?:<!|$)/.test(item) && item.indexOf(uidIgnore) === -1) {
|
|
992
|
+
charsIndex--;
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
trimTrailingWhitespace(charsIndex, nextTag);
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
const parser = new HTMLParser(value, {
|
|
999
|
+
partialMarkup: partialMarkup,
|
|
1000
|
+
continueOnParseError: options.continueOnParseError,
|
|
1001
|
+
customAttrAssign: options.customAttrAssign,
|
|
1002
|
+
customAttrSurround: options.customAttrSurround,
|
|
1003
|
+
html5: options.html5,
|
|
1004
|
+
|
|
1005
|
+
start: async function(tag, attrs, unary, unarySlash, autoGenerated) {
|
|
1006
|
+
if (tag.toLowerCase() === 'svg') {
|
|
1007
|
+
options = Object.create(options);
|
|
1008
|
+
options.caseSensitive = true;
|
|
1009
|
+
options.keepClosingSlash = true;
|
|
1010
|
+
options.name = identity;
|
|
1011
|
+
}
|
|
1012
|
+
tag = options.name(tag);
|
|
1013
|
+
currentTag = tag;
|
|
1014
|
+
charsPrevTag = tag;
|
|
1015
|
+
if (!inlineTextTags(tag)) {
|
|
1016
|
+
currentChars = '';
|
|
1017
|
+
}
|
|
1018
|
+
hasChars = false;
|
|
1019
|
+
currentAttrs = attrs;
|
|
1020
|
+
|
|
1021
|
+
var optional = options.removeOptionalTags;
|
|
1022
|
+
if (optional) {
|
|
1023
|
+
var htmlTag = htmlTags(tag);
|
|
1024
|
+
// <html> may be omitted if first thing inside is not comment
|
|
1025
|
+
// <head> may be omitted if first thing inside is an element
|
|
1026
|
+
// <body> may be omitted if first thing inside is not space, comment, <meta>, <link>, <script>, <style> or <template>
|
|
1027
|
+
// <colgroup> may be omitted if first thing inside is <col>
|
|
1028
|
+
// <tbody> may be omitted if first thing inside is <tr>
|
|
1029
|
+
if (htmlTag && canRemoveParentTag(optionalStartTag, tag)) {
|
|
1030
|
+
removeStartTag();
|
|
1031
|
+
}
|
|
1032
|
+
optionalStartTag = '';
|
|
1033
|
+
// end-tag-followed-by-start-tag omission rules
|
|
1034
|
+
if (htmlTag && canRemovePrecedingTag(optionalEndTag, tag)) {
|
|
1035
|
+
removeEndTag();
|
|
1036
|
+
// <colgroup> cannot be omitted if preceding </colgroup> is omitted
|
|
1037
|
+
// <tbody> cannot be omitted if preceding </tbody>, </thead> or </tfoot> is omitted
|
|
1038
|
+
optional = !isStartTagMandatory(optionalEndTag, tag);
|
|
1039
|
+
}
|
|
1040
|
+
optionalEndTag = '';
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
// set whitespace flags for nested tags (eg. <code> within a <pre>)
|
|
1044
|
+
if (options.collapseWhitespace) {
|
|
1045
|
+
if (!stackNoTrimWhitespace.length) {
|
|
1046
|
+
squashTrailingWhitespace(tag);
|
|
1047
|
+
}
|
|
1048
|
+
if (!unary) {
|
|
1049
|
+
if (!_canTrimWhitespace(tag, attrs) || stackNoTrimWhitespace.length) {
|
|
1050
|
+
stackNoTrimWhitespace.push(tag);
|
|
1051
|
+
}
|
|
1052
|
+
if (!_canCollapseWhitespace(tag, attrs) || stackNoCollapseWhitespace.length) {
|
|
1053
|
+
stackNoCollapseWhitespace.push(tag);
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
var openTag = '<' + tag;
|
|
1059
|
+
var hasUnarySlash = unarySlash && options.keepClosingSlash;
|
|
1060
|
+
|
|
1061
|
+
buffer.push(openTag);
|
|
1062
|
+
|
|
1063
|
+
if (options.sortAttributes) {
|
|
1064
|
+
options.sortAttributes(tag, attrs);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
var parts = [];
|
|
1068
|
+
for (var i = attrs.length, isLast = true; --i >= 0;) {
|
|
1069
|
+
var normalized = await normalizeAttr(attrs[i], attrs, tag, options);
|
|
1070
|
+
if (normalized) {
|
|
1071
|
+
parts.unshift(buildAttr(normalized, hasUnarySlash, options, isLast, uidAttr));
|
|
1072
|
+
isLast = false;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
if (parts.length > 0) {
|
|
1076
|
+
buffer.push(' ');
|
|
1077
|
+
buffer.push.apply(buffer, parts);
|
|
1078
|
+
}
|
|
1079
|
+
// start tag must never be omitted if it has any attributes
|
|
1080
|
+
else if (optional && optionalStartTags(tag)) {
|
|
1081
|
+
optionalStartTag = tag;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
buffer.push(buffer.pop() + (hasUnarySlash ? '/' : '') + '>');
|
|
1085
|
+
|
|
1086
|
+
if (autoGenerated && !options.includeAutoGeneratedTags) {
|
|
1087
|
+
removeStartTag();
|
|
1088
|
+
optionalStartTag = '';
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
end: function(tag, attrs, autoGenerated) {
|
|
1092
|
+
if (tag.toLowerCase() === 'svg') {
|
|
1093
|
+
options = Object.getPrototypeOf(options);
|
|
1094
|
+
}
|
|
1095
|
+
tag = options.name(tag);
|
|
1096
|
+
|
|
1097
|
+
// check if current tag is in a whitespace stack
|
|
1098
|
+
if (options.collapseWhitespace) {
|
|
1099
|
+
if (stackNoTrimWhitespace.length) {
|
|
1100
|
+
if (tag === stackNoTrimWhitespace[stackNoTrimWhitespace.length - 1]) {
|
|
1101
|
+
stackNoTrimWhitespace.pop();
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
else {
|
|
1105
|
+
squashTrailingWhitespace('/' + tag);
|
|
1106
|
+
}
|
|
1107
|
+
if (stackNoCollapseWhitespace.length &&
|
|
1108
|
+
tag === stackNoCollapseWhitespace[stackNoCollapseWhitespace.length - 1]) {
|
|
1109
|
+
stackNoCollapseWhitespace.pop();
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
var isElementEmpty = false;
|
|
1114
|
+
if (tag === currentTag) {
|
|
1115
|
+
currentTag = '';
|
|
1116
|
+
isElementEmpty = !hasChars;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
if (options.removeOptionalTags) {
|
|
1120
|
+
// <html>, <head> or <body> may be omitted if the element is empty
|
|
1121
|
+
if (isElementEmpty && topLevelTags(optionalStartTag)) {
|
|
1122
|
+
removeStartTag();
|
|
1123
|
+
}
|
|
1124
|
+
optionalStartTag = '';
|
|
1125
|
+
// </html> or </body> may be omitted if not followed by comment
|
|
1126
|
+
// </head> may be omitted if not followed by space or comment
|
|
1127
|
+
// </p> may be omitted if no more content in non-</a> parent
|
|
1128
|
+
// except for </dt> or </thead>, end tags may be omitted if no more content in parent element
|
|
1129
|
+
if (htmlTags(tag) && optionalEndTag && !trailingTags(optionalEndTag) && (optionalEndTag !== 'p' || !pInlineTags(tag))) {
|
|
1130
|
+
removeEndTag();
|
|
1131
|
+
}
|
|
1132
|
+
optionalEndTag = optionalEndTags(tag) ? tag : '';
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
if (options.removeEmptyElements && isElementEmpty && canRemoveElement(tag, attrs)) {
|
|
1136
|
+
// remove last "element" from buffer
|
|
1137
|
+
removeStartTag();
|
|
1138
|
+
optionalStartTag = '';
|
|
1139
|
+
optionalEndTag = '';
|
|
1140
|
+
}
|
|
1141
|
+
else {
|
|
1142
|
+
if (autoGenerated && !options.includeAutoGeneratedTags) {
|
|
1143
|
+
optionalEndTag = '';
|
|
1144
|
+
}
|
|
1145
|
+
else {
|
|
1146
|
+
buffer.push('</' + tag + '>');
|
|
1147
|
+
}
|
|
1148
|
+
charsPrevTag = '/' + tag;
|
|
1149
|
+
if (!inlineTags(tag)) {
|
|
1150
|
+
currentChars = '';
|
|
1151
|
+
}
|
|
1152
|
+
else if (isElementEmpty) {
|
|
1153
|
+
currentChars += '|';
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
chars: async function(text, prevTag, nextTag) {
|
|
1158
|
+
prevTag = prevTag === '' ? 'comment' : prevTag;
|
|
1159
|
+
nextTag = nextTag === '' ? 'comment' : nextTag;
|
|
1160
|
+
if (options.decodeEntities && text && !specialContentTags(currentTag)) {
|
|
1161
|
+
text = decode(text);
|
|
1162
|
+
}
|
|
1163
|
+
if (options.collapseWhitespace) {
|
|
1164
|
+
if (!stackNoTrimWhitespace.length) {
|
|
1165
|
+
if (prevTag === 'comment') {
|
|
1166
|
+
var prevComment = buffer[buffer.length - 1];
|
|
1167
|
+
if (prevComment.indexOf(uidIgnore) === -1) {
|
|
1168
|
+
if (!prevComment) {
|
|
1169
|
+
prevTag = charsPrevTag;
|
|
1170
|
+
}
|
|
1171
|
+
if (buffer.length > 1 && (!prevComment || !options.conservativeCollapse && / $/.test(currentChars))) {
|
|
1172
|
+
var charsIndex = buffer.length - 2;
|
|
1173
|
+
buffer[charsIndex] = buffer[charsIndex].replace(/\s+$/, function(trailingSpaces) {
|
|
1174
|
+
text = trailingSpaces + text;
|
|
1175
|
+
return '';
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
if (prevTag) {
|
|
1181
|
+
if (prevTag === '/nobr' || prevTag === 'wbr') {
|
|
1182
|
+
if (/^\s/.test(text)) {
|
|
1183
|
+
var tagIndex = buffer.length - 1;
|
|
1184
|
+
while (tagIndex > 0 && buffer[tagIndex].lastIndexOf('<' + prevTag) !== 0) {
|
|
1185
|
+
tagIndex--;
|
|
1186
|
+
}
|
|
1187
|
+
trimTrailingWhitespace(tagIndex - 1, 'br');
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
else if (inlineTextTags(prevTag.charAt(0) === '/' ? prevTag.slice(1) : prevTag)) {
|
|
1191
|
+
text = collapseWhitespace(text, options, /(?:^|\s)$/.test(currentChars));
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
if (prevTag || nextTag) {
|
|
1195
|
+
text = collapseWhitespaceSmart(text, prevTag, nextTag, options);
|
|
1196
|
+
}
|
|
1197
|
+
else {
|
|
1198
|
+
text = collapseWhitespace(text, options, true, true);
|
|
1199
|
+
}
|
|
1200
|
+
if (!text && /\s$/.test(currentChars) && prevTag && prevTag.charAt(0) === '/') {
|
|
1201
|
+
trimTrailingWhitespace(buffer.length - 1, nextTag);
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
if (!stackNoCollapseWhitespace.length && nextTag !== 'html' && !(prevTag && nextTag)) {
|
|
1205
|
+
text = collapseWhitespace(text, options, false, false, true);
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
if (options.processScripts && specialContentTags(currentTag)) {
|
|
1209
|
+
text = await processScript(text, options, currentAttrs);
|
|
1210
|
+
}
|
|
1211
|
+
if (isExecutableScript(currentTag, currentAttrs)) {
|
|
1212
|
+
text = await options.minifyJS(text);
|
|
1213
|
+
}
|
|
1214
|
+
if (isStyleSheet(currentTag, currentAttrs)) {
|
|
1215
|
+
text = options.minifyCSS(text);
|
|
1216
|
+
}
|
|
1217
|
+
if (options.removeOptionalTags && text) {
|
|
1218
|
+
// <html> may be omitted if first thing inside is not comment
|
|
1219
|
+
// <body> may be omitted if first thing inside is not space, comment, <meta>, <link>, <script>, <style> or <template>
|
|
1220
|
+
if (optionalStartTag === 'html' || optionalStartTag === 'body' && !/^\s/.test(text)) {
|
|
1221
|
+
removeStartTag();
|
|
1222
|
+
}
|
|
1223
|
+
optionalStartTag = '';
|
|
1224
|
+
// </html> or </body> may be omitted if not followed by comment
|
|
1225
|
+
// </head>, </colgroup> or </caption> may be omitted if not followed by space or comment
|
|
1226
|
+
if (compactTags(optionalEndTag) || looseTags(optionalEndTag) && !/^\s/.test(text)) {
|
|
1227
|
+
removeEndTag();
|
|
1228
|
+
}
|
|
1229
|
+
optionalEndTag = '';
|
|
1230
|
+
}
|
|
1231
|
+
charsPrevTag = /^\s*$/.test(text) ? prevTag : 'comment';
|
|
1232
|
+
if (options.decodeEntities && text && !specialContentTags(currentTag)) {
|
|
1233
|
+
// Escape any `&` symbols that start either:
|
|
1234
|
+
// 1) a legacy named character reference (i.e. one that doesn't end with `;`)
|
|
1235
|
+
// 2) or any other character reference (i.e. one that does end with `;`)
|
|
1236
|
+
// Note that `&` can be escaped as `&`, without the semi-colon.
|
|
1237
|
+
// https://mathiasbynens.be/notes/ambiguous-ampersands
|
|
1238
|
+
text = text.replace(/&((?:Iacute|aacute|uacute|plusmn|Otilde|otilde|agrave|Agrave|Yacute|yacute|Oslash|oslash|atilde|Atilde|brvbar|ccedil|Ccedil|Ograve|curren|divide|eacute|Eacute|ograve|Oacute|egrave|Egrave|Ugrave|frac12|frac14|frac34|ugrave|oacute|iacute|Ntilde|ntilde|Uacute|middot|igrave|Igrave|iquest|Aacute|cedil|laquo|micro|iexcl|Icirc|icirc|acirc|Ucirc|Ecirc|ocirc|Ocirc|ecirc|ucirc|Aring|aring|AElig|aelig|acute|pound|raquo|Acirc|times|THORN|szlig|thorn|COPY|auml|ordf|ordm|Uuml|macr|uuml|Auml|ouml|Ouml|para|nbsp|euml|quot|QUOT|Euml|yuml|cent|sect|copy|sup1|sup2|sup3|iuml|Iuml|ETH|shy|reg|not|yen|amp|AMP|REG|uml|eth|deg|gt|GT|LT|lt)(?!;)|(?:#?[0-9a-zA-Z]+;))/g, '&$1').replace(/</g, '<');
|
|
1239
|
+
}
|
|
1240
|
+
if (uidPattern && options.collapseWhitespace && stackNoTrimWhitespace.length) {
|
|
1241
|
+
text = text.replace(uidPattern, function(match, prefix, index) {
|
|
1242
|
+
return ignoredCustomMarkupChunks[+index][0];
|
|
1243
|
+
});
|
|
1244
|
+
}
|
|
1245
|
+
currentChars += text;
|
|
1246
|
+
if (text) {
|
|
1247
|
+
hasChars = true;
|
|
1248
|
+
}
|
|
1249
|
+
buffer.push(text);
|
|
1250
|
+
},
|
|
1251
|
+
comment: async function(text, nonStandard) {
|
|
1252
|
+
var prefix = nonStandard ? '<!' : '<!--';
|
|
1253
|
+
var suffix = nonStandard ? '>' : '-->';
|
|
1254
|
+
if (isConditionalComment(text)) {
|
|
1255
|
+
text = prefix + await cleanConditionalComment(text, options) + suffix;
|
|
1256
|
+
}
|
|
1257
|
+
else if (options.removeComments) {
|
|
1258
|
+
if (isIgnoredComment(text, options)) {
|
|
1259
|
+
text = '<!--' + text + '-->';
|
|
1260
|
+
}
|
|
1261
|
+
else {
|
|
1262
|
+
text = '';
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
else {
|
|
1266
|
+
text = prefix + text + suffix;
|
|
1267
|
+
}
|
|
1268
|
+
if (options.removeOptionalTags && text) {
|
|
1269
|
+
// preceding comments suppress tag omissions
|
|
1270
|
+
optionalStartTag = '';
|
|
1271
|
+
optionalEndTag = '';
|
|
1272
|
+
}
|
|
1273
|
+
buffer.push(text);
|
|
1274
|
+
},
|
|
1275
|
+
doctype: function(doctype) {
|
|
1276
|
+
buffer.push(options.useShortDoctype ? '<!doctype' +
|
|
1277
|
+
(options.removeTagWhitespace ? '' : ' ') + 'html>' :
|
|
1278
|
+
collapseWhitespaceAll(doctype));
|
|
1279
|
+
}
|
|
1280
|
+
});
|
|
1281
|
+
|
|
1282
|
+
await parser.parse();
|
|
1283
|
+
|
|
1284
|
+
if (options.removeOptionalTags) {
|
|
1285
|
+
// <html> may be omitted if first thing inside is not comment
|
|
1286
|
+
// <head> or <body> may be omitted if empty
|
|
1287
|
+
if (topLevelTags(optionalStartTag)) {
|
|
1288
|
+
removeStartTag();
|
|
1289
|
+
}
|
|
1290
|
+
// except for </dt> or </thead>, end tags may be omitted if no more content in parent element
|
|
1291
|
+
if (optionalEndTag && !trailingTags(optionalEndTag)) {
|
|
1292
|
+
removeEndTag();
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
if (options.collapseWhitespace) {
|
|
1296
|
+
squashTrailingWhitespace('br');
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
return joinResultSegments(buffer, options, uidPattern ? function(str) {
|
|
1300
|
+
return str.replace(uidPattern, function(match, prefix, index, suffix) {
|
|
1301
|
+
var chunk = ignoredCustomMarkupChunks[+index][0];
|
|
1302
|
+
if (options.collapseWhitespace) {
|
|
1303
|
+
if (prefix !== '\t') {
|
|
1304
|
+
chunk = prefix + chunk;
|
|
1305
|
+
}
|
|
1306
|
+
if (suffix !== '\t') {
|
|
1307
|
+
chunk += suffix;
|
|
1308
|
+
}
|
|
1309
|
+
return collapseWhitespace(chunk, {
|
|
1310
|
+
preserveLineBreaks: options.preserveLineBreaks,
|
|
1311
|
+
conservativeCollapse: !options.trimCustomFragments
|
|
1312
|
+
}, /^[ \n\r\t\f]/.test(chunk), /[ \n\r\t\f]$/.test(chunk));
|
|
1313
|
+
}
|
|
1314
|
+
return chunk;
|
|
1315
|
+
});
|
|
1316
|
+
} : identity, uidIgnore ? function(str) {
|
|
1317
|
+
return str.replace(new RegExp('<!--' + uidIgnore + '([0-9]+)-->', 'g'), function(match, index) {
|
|
1318
|
+
return ignoredMarkupChunks[+index];
|
|
1319
|
+
});
|
|
1320
|
+
} : identity);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
function joinResultSegments(results, options, restoreCustom, restoreIgnore) {
|
|
1324
|
+
var str;
|
|
1325
|
+
var maxLineLength = options.maxLineLength;
|
|
1326
|
+
var noNewlinesBeforeTagClose = options.noNewlinesBeforeTagClose;
|
|
1327
|
+
|
|
1328
|
+
if (maxLineLength) {
|
|
1329
|
+
var line = '', lines = [];
|
|
1330
|
+
while (results.length) {
|
|
1331
|
+
var len = line.length;
|
|
1332
|
+
var end = results[0].indexOf('\n');
|
|
1333
|
+
var isClosingTag = Boolean(results[0].match(endTag));
|
|
1334
|
+
var shouldKeepSameLine = noNewlinesBeforeTagClose && isClosingTag;
|
|
1335
|
+
if (end < 0) {
|
|
1336
|
+
line += restoreIgnore(restoreCustom(results.shift()));
|
|
1337
|
+
}
|
|
1338
|
+
else {
|
|
1339
|
+
line += restoreIgnore(restoreCustom(results[0].slice(0, end)));
|
|
1340
|
+
results[0] = results[0].slice(end + 1);
|
|
1341
|
+
}
|
|
1342
|
+
if (len > 0 && line.length > maxLineLength && !shouldKeepSameLine) {
|
|
1343
|
+
lines.push(line.slice(0, len));
|
|
1344
|
+
line = line.slice(len);
|
|
1345
|
+
}
|
|
1346
|
+
else if (end >= 0) {
|
|
1347
|
+
lines.push(line);
|
|
1348
|
+
line = '';
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
if (line) {
|
|
1352
|
+
lines.push(line);
|
|
1353
|
+
}
|
|
1354
|
+
str = lines.join('\n');
|
|
1355
|
+
}
|
|
1356
|
+
else {
|
|
1357
|
+
str = restoreIgnore(restoreCustom(results.join('')));
|
|
1358
|
+
}
|
|
1359
|
+
return options.collapseWhitespace ? collapseWhitespace(str, options, true, true) : str;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
exports.minify = async function(value, options) {
|
|
1363
|
+
var start = Date.now();
|
|
1364
|
+
options = processOptions(options || {});
|
|
1365
|
+
var result = await minify(value, options);
|
|
1366
|
+
options.log('minified in: ' + (Date.now() - start) + 'ms');
|
|
1367
|
+
return result;
|
|
1368
|
+
};
|