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.
Files changed (1403) hide show
  1. package/dist/scripts/.claude-flow/metrics/agent-metrics.json +1 -0
  2. package/dist/scripts/.claude-flow/metrics/performance.json +9 -0
  3. package/dist/scripts/.claude-flow/metrics/task-metrics.json +10 -0
  4. package/dist/scripts/CLEANUP_OPTIMIZATION_REPORT.json +312 -0
  5. package/dist/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +387 -0
  6. package/dist/scripts/CLEANUP_QUICK_START.md +268 -0
  7. package/dist/scripts/CLEANUP_TEST_RESULTS.md +205 -0
  8. package/dist/scripts/README.md +339 -0
  9. package/dist/scripts/ace-query.sh +384 -0
  10. package/dist/scripts/agent-token-analysis.js +430 -0
  11. package/dist/scripts/auto-setup.js +332 -0
  12. package/dist/scripts/build/README.md +167 -0
  13. package/dist/scripts/build/build-config.js +27 -0
  14. package/dist/scripts/build/build-prompt-copier.sh +30 -0
  15. package/dist/scripts/build/performance-monitor.js +869 -0
  16. package/dist/scripts/build/prepare-publish.js +150 -0
  17. package/dist/scripts/build/typescript-fixer.js +621 -0
  18. package/dist/scripts/build/unified-builder.sh +428 -0
  19. package/dist/scripts/build/update-bin-version.js +32 -0
  20. package/dist/scripts/build/validate-agents.js +238 -0
  21. package/dist/scripts/build-index.js +43 -0
  22. package/dist/scripts/build-orchestrator.js +320 -0
  23. package/dist/scripts/check-routing-stats.cjs +122 -0
  24. package/dist/scripts/ci-validation.js +375 -0
  25. package/dist/scripts/cleanup-blocking-coordination.sh +420 -0
  26. package/dist/scripts/cleanup-idle-sessions.sh +118 -0
  27. package/dist/scripts/collect-build-metrics.js +65 -0
  28. package/dist/scripts/demo/README.md +79 -0
  29. package/dist/scripts/demo/autoscaling-demo-simplified.js +963 -0
  30. package/dist/scripts/demo/comprehensive-dashboard-test.js +693 -0
  31. package/dist/scripts/demo/confidence-log.js +87 -0
  32. package/dist/scripts/demo/confidence-report.js +82 -0
  33. package/dist/scripts/demo/demo-multi-swarm-coordination.js +325 -0
  34. package/dist/scripts/demo/demo-production-deployment.js +399 -0
  35. package/dist/scripts/demo/demo-visualization-system.js +149 -0
  36. package/dist/scripts/demo/performance-analysis.cjs +71 -0
  37. package/dist/scripts/demo/performance-analysis.js +71 -0
  38. package/dist/scripts/demo/test-autoscaling-demo.js +314 -0
  39. package/dist/scripts/dependency-optimizer.js +349 -0
  40. package/dist/scripts/dependency-security-assessment.js +331 -0
  41. package/dist/scripts/deploy-sdk.sh +176 -0
  42. package/dist/scripts/deployment-readiness-report.json +179 -0
  43. package/dist/scripts/dev/README.md +264 -0
  44. package/dist/scripts/dev/claude-flow-wrapper.sh +35 -0
  45. package/dist/scripts/dev/claude-monitor.py +419 -0
  46. package/dist/scripts/dev/claude-sparc.sh +562 -0
  47. package/dist/scripts/dev/claude-wrapper.sh +17 -0
  48. package/dist/scripts/dev/demo-phase3-compliance.js +172 -0
  49. package/dist/scripts/dev/demo-task-system.ts +224 -0
  50. package/dist/scripts/dev/deployment-validator.js +315 -0
  51. package/dist/scripts/dev/spawn-claude-terminal.sh +32 -0
  52. package/dist/scripts/dev/start-portal.sh +506 -0
  53. package/dist/scripts/dev/start-web-ui.js +15 -0
  54. package/dist/scripts/dev/stop-portal.sh +311 -0
  55. package/dist/scripts/dev/validate-examples.ts +288 -0
  56. package/dist/scripts/dev/validate-phase2.cjs +451 -0
  57. package/dist/scripts/dev/validate-phase2.js +785 -0
  58. package/dist/scripts/dev/validate-phase3.cjs +208 -0
  59. package/dist/scripts/dev/validate-security-remediation.js +1 -0
  60. package/dist/scripts/ecosystem.config.cjs +90 -0
  61. package/dist/scripts/enhanced-memory-spiral-killer.sh +221 -0
  62. package/dist/scripts/fix-js-extensions.js +167 -0
  63. package/dist/scripts/generate-basic-types.js +73 -0
  64. package/dist/scripts/generate-changelog.js +318 -0
  65. package/dist/scripts/git-hooks/pre-commit.sh +143 -0
  66. package/dist/scripts/health-checks.js +634 -0
  67. package/dist/scripts/hook-wrapper.sh +54 -0
  68. package/dist/scripts/install/README.md +375 -0
  69. package/dist/scripts/install/REDIS_SETUP_VALIDATION.json +245 -0
  70. package/dist/scripts/install/check-prerequisites.js +303 -0
  71. package/dist/scripts/install/config-wizard.js +606 -0
  72. package/dist/scripts/install/dependency-checker.js +385 -0
  73. package/dist/scripts/install/health-check.js +765 -0
  74. package/dist/scripts/install/install.js +256 -0
  75. package/dist/scripts/install/installation-benchmark.js +461 -0
  76. package/dist/scripts/install/quick-install.js +720 -0
  77. package/dist/scripts/install/quick-start-wizard.js +295 -0
  78. package/dist/scripts/install/redis-cli.js +289 -0
  79. package/dist/scripts/install/redis-install-guides.md +407 -0
  80. package/dist/scripts/install/redis-setup.js +559 -0
  81. package/dist/scripts/install/redis-test.js +278 -0
  82. package/dist/scripts/install/service-manager.js +672 -0
  83. package/dist/scripts/install/setup.js +832 -0
  84. package/dist/scripts/install/uninstall.js +526 -0
  85. package/dist/scripts/install/update.js +461 -0
  86. package/dist/scripts/install-pre-commit-hook.sh +127 -0
  87. package/dist/scripts/legacy/README.md +272 -0
  88. package/dist/scripts/legacy/batch-fix-ts.sh +54 -0
  89. package/dist/scripts/legacy/build-migration.sh +105 -0
  90. package/dist/scripts/legacy/build-monitor.js +209 -0
  91. package/dist/scripts/legacy/build-with-filter.sh +84 -0
  92. package/dist/scripts/legacy/build-workaround.sh +71 -0
  93. package/dist/scripts/legacy/fix-ts-advanced.js +358 -0
  94. package/dist/scripts/legacy/fix-ts-final.sh +50 -0
  95. package/dist/scripts/legacy/fix-ts-targeted.sh +49 -0
  96. package/dist/scripts/legacy/fix-typescript-errors.js +305 -0
  97. package/dist/scripts/legacy/force-build.sh +63 -0
  98. package/dist/scripts/legacy/optimize-performance.js +400 -0
  99. package/dist/scripts/legacy/performance-monitor.js +263 -0
  100. package/dist/scripts/legacy/performance-monitoring.js +532 -0
  101. package/dist/scripts/legacy/performance-test-runner.js +645 -0
  102. package/dist/scripts/legacy/quick-fix-ts.js +281 -0
  103. package/dist/scripts/legacy/safe-build.sh +63 -0
  104. package/dist/scripts/memory-monitor-coordinator.js +451 -0
  105. package/dist/scripts/migrate-to-sdk.sh +520 -0
  106. package/dist/scripts/migration/QUICK-START.md +189 -0
  107. package/dist/scripts/migration/QUICK-START.md.backup-1760135091363 +189 -0
  108. package/dist/scripts/migration/README.md +464 -0
  109. package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +500 -0
  110. package/dist/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +500 -0
  111. package/dist/scripts/migration/UPDATE-PATHS-README.md +464 -0
  112. package/dist/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +464 -0
  113. package/dist/scripts/migration/example-patterns.json +19 -0
  114. package/dist/scripts/migration/install-arm64.js +78 -0
  115. package/dist/scripts/migration/install.js +83 -0
  116. package/dist/scripts/migration/migrate-hooks.js +173 -0
  117. package/dist/scripts/migration/migration-examples.ts +318 -0
  118. package/dist/scripts/migration/reorganize-workspace.js +504 -0
  119. package/dist/scripts/migration/test-update-paths.js +359 -0
  120. package/dist/scripts/migration/update-paths.js +664 -0
  121. package/dist/scripts/migration/validate-migration.js +647 -0
  122. package/dist/scripts/monitor-loop.sh +65 -0
  123. package/dist/scripts/monitor-memory.sh +47 -0
  124. package/dist/scripts/monitor-migration.js +339 -0
  125. package/dist/scripts/monitor.py +43 -0
  126. package/dist/scripts/monitoring/README.md +178 -0
  127. package/dist/scripts/monitoring/alert-monitor.sh +220 -0
  128. package/dist/scripts/monitoring/analyze-resources.sh +199 -0
  129. package/dist/scripts/monitoring/dashboards/rate-limiting-dashboard.json +211 -0
  130. package/dist/scripts/monitoring/dynamic-monitor.sh +85 -0
  131. package/dist/scripts/monitoring/launch-stability-test.sh +184 -0
  132. package/dist/scripts/monitoring/monitor-test.sh +93 -0
  133. package/dist/scripts/monitoring/pre-test-validation.sh +208 -0
  134. package/dist/scripts/monitoring/quick-test-alerting.sh +118 -0
  135. package/dist/scripts/monitoring/quick-test-rate-limiting.sh +206 -0
  136. package/dist/scripts/monitoring/rate-limiting-monitor.sh +380 -0
  137. package/dist/scripts/monitoring/resource-monitor.sh +126 -0
  138. package/dist/scripts/monitoring/stability-monitor.js +429 -0
  139. package/dist/scripts/monitoring/test-monitor-quick.sh +54 -0
  140. package/dist/scripts/monitoring/view-alerts.sh +307 -0
  141. package/dist/scripts/npm-metrics-collector.js +482 -0
  142. package/dist/scripts/npm-package-validation.cjs +299 -0
  143. package/dist/scripts/optimization/build-optimizer.js +438 -0
  144. package/dist/scripts/optimization/config-validator.js +761 -0
  145. package/dist/scripts/optimization/test-optimization.js +432 -0
  146. package/dist/scripts/optimization/unified-activation.js +839 -0
  147. package/dist/scripts/optimize-package-swarm.js +54 -0
  148. package/dist/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
  149. package/dist/scripts/performance/sqlite-enhanced-activation.sh +583 -0
  150. package/dist/scripts/performance/test-enhanced-backend.sh +504 -0
  151. package/dist/scripts/performance-monitor.js +644 -0
  152. package/dist/scripts/performance-test-runner.js +698 -0
  153. package/dist/scripts/post-deployment-monitoring.js +350 -0
  154. package/dist/scripts/post-edit-pipeline.js +2091 -0
  155. package/dist/scripts/post-install-claude-md.js +78 -0
  156. package/dist/scripts/postinstall.js +165 -0
  157. package/dist/scripts/pre-publish-validation.cjs +212 -0
  158. package/dist/scripts/pre-publish-validation.js +429 -0
  159. package/dist/scripts/redis-lua/cleanup-blocking-coordination.lua +198 -0
  160. package/dist/scripts/release-announcement.js +425 -0
  161. package/dist/scripts/release-notification.js +248 -0
  162. package/dist/scripts/release-rollback.js +376 -0
  163. package/dist/scripts/release-validation.js +460 -0
  164. package/dist/scripts/rollback-sdk.sh +66 -0
  165. package/dist/scripts/run-production-validation.ts +590 -0
  166. package/dist/scripts/run-stability-validation.sh +687 -0
  167. package/dist/scripts/security/README.md +339 -0
  168. package/dist/scripts/security/deployment-validation.cjs +279 -0
  169. package/dist/scripts/security/envelope-encryption-confidence-report.cjs +422 -0
  170. package/dist/scripts/security/install-git-hooks.sh +132 -0
  171. package/dist/scripts/security/install-git-secrets.sh +295 -0
  172. package/dist/scripts/security/rotate-api-keys.js +469 -0
  173. package/dist/scripts/security/ruv-swarm-safe.js +74 -0
  174. package/dist/scripts/security/security-audit.cjs +538 -0
  175. package/dist/scripts/security/setup-redis-auth.sh +397 -0
  176. package/dist/scripts/security/validate-envelope-encryption.cjs +340 -0
  177. package/dist/scripts/security-scan.js +492 -0
  178. package/dist/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +1 -0
  179. package/dist/scripts/src/web/frontend/.claude-flow/metrics/performance.json +9 -0
  180. package/dist/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +10 -0
  181. package/dist/scripts/switch-api.sh +159 -0
  182. package/dist/scripts/sync-agents.js +290 -0
  183. package/dist/scripts/test/50-agent-test.js +625 -0
  184. package/dist/scripts/test/NEW_STABILITY_TEST_GUIDE.md +407 -0
  185. package/dist/scripts/test/README.md +236 -0
  186. package/dist/scripts/test/STABILITY_TEST_EXAMPLE.md +347 -0
  187. package/dist/scripts/test/STABILITY_TEST_README.md +480 -0
  188. package/dist/scripts/test/agent-worker.js +309 -0
  189. package/dist/scripts/test/ai-coordination-test.js +650 -0
  190. package/dist/scripts/test/ai-mesh-coordination-test.js +416 -0
  191. package/dist/scripts/test/check-links.ts +274 -0
  192. package/dist/scripts/test/check-performance-regression.ts +168 -0
  193. package/dist/scripts/test/cli-agent-coordination-test.js +313 -0
  194. package/dist/scripts/test/coordinator-multilingual-test.js +396 -0
  195. package/dist/scripts/test/coordinator-transparency-demo.js +585 -0
  196. package/dist/scripts/test/coverage-report.ts +692 -0
  197. package/dist/scripts/test/generate-swarm-tests.js +633 -0
  198. package/dist/scripts/test/integration-test-validation.cjs +253 -0
  199. package/dist/scripts/test/load-test-swarm.js +576 -0
  200. package/dist/scripts/test/mesh-coordination-zero-overlap-test.js +740 -0
  201. package/dist/scripts/test/multilingual-hello-world-test.js +390 -0
  202. package/dist/scripts/test/quick-multilingual-demo.js +464 -0
  203. package/dist/scripts/test/real-agent-test.js +312 -0
  204. package/dist/scripts/test/run-phase3-compliance-tests.js +427 -0
  205. package/dist/scripts/test/run-stability-test-examples.sh +292 -0
  206. package/dist/scripts/test/stability-results/stability-metrics.jsonl +83 -0
  207. package/dist/scripts/test/stability-results/stability-test-report.json +128 -0
  208. package/dist/scripts/test/stability-results/stability-test.log +1827 -0
  209. package/dist/scripts/test/stability-test-50-agents.js +734 -0
  210. package/dist/scripts/test/test-batch-tasks.ts +29 -0
  211. package/dist/scripts/test/test-byzantine-resolution.js +246 -0
  212. package/dist/scripts/test/test-claude-spawn-options.sh +63 -0
  213. package/dist/scripts/test/test-cli-wizard.js +331 -0
  214. package/dist/scripts/test/test-comprehensive.js +401 -0
  215. package/dist/scripts/test/test-coordination-features.ts +238 -0
  216. package/dist/scripts/test/test-fallback-systems.js +276 -0
  217. package/dist/scripts/test/test-init-command.ts +302 -0
  218. package/dist/scripts/test/test-mcp.ts +251 -0
  219. package/dist/scripts/test/test-runner.ts +568 -0
  220. package/dist/scripts/test/test-swarm-integration.sh +92 -0
  221. package/dist/scripts/test/test-swarm.ts +142 -0
  222. package/dist/scripts/test/validation-summary.ts +408 -0
  223. package/dist/scripts/test-cleanup-performance.sh +416 -0
  224. package/dist/scripts/test-dashboard-auth.cjs +203 -0
  225. package/dist/scripts/test-docker-deployment.sh +207 -0
  226. package/dist/scripts/test-npm-package.cjs +167 -0
  227. package/dist/scripts/test-provider-routing.cjs +226 -0
  228. package/dist/scripts/test-routing-telemetry.cjs +147 -0
  229. package/dist/scripts/test-runner.cjs +154 -0
  230. package/dist/scripts/test-zai-10k.cjs +81 -0
  231. package/dist/scripts/test-zai-api.cjs +191 -0
  232. package/dist/scripts/test-zai-diagnostic.cjs +151 -0
  233. package/dist/scripts/test-zai-final.cjs +128 -0
  234. package/dist/scripts/test-zai-with-env.cjs +85 -0
  235. package/dist/scripts/toggle-cost-savings.cjs +302 -0
  236. package/dist/scripts/unified-memory-monitor.js +526 -0
  237. package/dist/scripts/utils/README.md +261 -0
  238. package/dist/scripts/utils/clean-build-artifacts.sh +94 -0
  239. package/dist/scripts/utils/cleanup-root.sh +69 -0
  240. package/dist/scripts/utils/fix-cliffy-imports.js +307 -0
  241. package/dist/scripts/utils/fix-duplicate-imports.js +114 -0
  242. package/dist/scripts/utils/fix-error-handling.cjs +70 -0
  243. package/dist/scripts/utils/fix-import-paths.js +104 -0
  244. package/dist/scripts/utils/fix-imports.js +116 -0
  245. package/dist/scripts/utils/fix-shebang.js +78 -0
  246. package/dist/scripts/utils/fix-test-modules.js +27 -0
  247. package/dist/scripts/utils/fix-timezone-issue-246.js +200 -0
  248. package/dist/scripts/utils/fix-ts-comprehensive.py +182 -0
  249. package/dist/scripts/utils/fix-ts-targeted-batch.js +250 -0
  250. package/dist/scripts/utils/remove-benchmark-conflicts.sh +140 -0
  251. package/dist/scripts/utils/simple-test-fixer.js +190 -0
  252. package/dist/scripts/utils/validate-metrics-structure.cjs +144 -0
  253. package/dist/scripts/validate-agent-hooks.js +506 -0
  254. package/dist/scripts/validate-changelog.js +241 -0
  255. package/dist/scripts/validate-coordination-cli.js +69 -0
  256. package/dist/scripts/validate-coordination-toggle-integration.cjs +501 -0
  257. package/dist/scripts/validate-docker-infrastructure.sh +502 -0
  258. package/dist/scripts/validate-entry-points.js +300 -0
  259. package/dist/scripts/validate-memory-monitoring.sh +225 -0
  260. package/dist/scripts/validate-stage3-performance.ts +377 -0
  261. package/dist/scripts/validate-template-bundling.js +180 -0
  262. package/dist/scripts/validation/README.md +33 -0
  263. package/dist/scripts/validation/acl-security-validation.cjs +214 -0
  264. package/dist/scripts/validation/acl-security-validation.js +402 -0
  265. package/dist/scripts/validation/byzantine-verification.js +407 -0
  266. package/dist/scripts/validation/final-phase-2-consensus.cjs +219 -0
  267. package/dist/scripts/validation/final-security-validation.js +791 -0
  268. package/dist/scripts/validation/final-wasm-validation.cjs +840 -0
  269. package/dist/scripts/validation/integration-test-analysis.js +105 -0
  270. package/dist/scripts/validation/phase-0-comprehensive-validation.js +474 -0
  271. package/dist/scripts/validation/phase-0-consensus-report.js +139 -0
  272. package/dist/scripts/validation/phase-0-final-report.js +112 -0
  273. package/dist/scripts/validation/phase-0-redis-consensus-report.js +129 -0
  274. package/dist/scripts/validation/phase-0-validation-improved.js +490 -0
  275. package/dist/scripts/validation/phase-0-validation-test.js +65 -0
  276. package/dist/scripts/validation/phase-1-consensus-report.cjs +342 -0
  277. package/dist/scripts/validation/phase-1-consensus-validation.cjs +551 -0
  278. package/dist/scripts/validation/phase-1-consensus-validation.js +551 -0
  279. package/dist/scripts/validation/phase-2-consensus-report.cjs +186 -0
  280. package/dist/scripts/validation/phase-2-validation.cjs +171 -0
  281. package/dist/scripts/validation/phase-2-validation.js +171 -0
  282. package/dist/scripts/validation/phase-4-consensus-report.js +181 -0
  283. package/dist/scripts/validation/phase-4-final-validation.js +351 -0
  284. package/dist/scripts/validation/phase-5-consensus-report.cjs +113 -0
  285. package/dist/scripts/validation/phase-5-consensus-report.js +113 -0
  286. package/dist/scripts/validation/security-analysis.js +49 -0
  287. package/dist/scripts/validation/security-validation.js +492 -0
  288. package/dist/scripts/validation/simple-security-validation.js +464 -0
  289. package/dist/scripts/verify-installation.js +112 -0
  290. package/dist/scripts/verify-mcp-server.js +86 -0
  291. package/dist/scripts/verify-sdk-phase1.cjs +293 -0
  292. package/dist/src/booster/performance-benchmark.js +1 -1
  293. package/dist/src/booster/wasm-demo.js +1 -1
  294. package/dist/src/cli/command-registry.js +2 -2
  295. package/dist/src/cli/help-formatter.js +109 -137
  296. package/dist/src/cli/main.js +32 -1
  297. package/dist/src/cli/simple-cli.js +2121 -2528
  298. package/dist/src/cli/simple-commands/sparc/refinement.js +3 -3
  299. package/dist/src/cli/validation-helper.js +49 -98
  300. package/dist/src/commands/suggest-templates.js +4 -4
  301. package/dist/src/core/version.js +15 -23
  302. package/dist/src/memory/swarm-memory.js +470 -603
  303. package/dist/src/slash-commands/fullstack.js +2 -2
  304. package/dist/src/slash-commands/parse-epic.js +1 -1
  305. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/prefer-template.js +275 -0
  306. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/quote-props.js +310 -0
  307. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/quotes.js +350 -0
  308. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/radix.js +198 -0
  309. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-atomic-updates.js +331 -0
  310. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-await.js +113 -0
  311. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-jsdoc.js +122 -0
  312. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-unicode-regexp.js +129 -0
  313. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/require-yield.js +77 -0
  314. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/rest-spread-spacing.js +123 -0
  315. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi-spacing.js +248 -0
  316. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi-style.js +158 -0
  317. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/semi.js +438 -0
  318. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-imports.js +241 -0
  319. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-keys.js +230 -0
  320. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/sort-vars.js +104 -0
  321. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-before-blocks.js +204 -0
  322. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-before-function-paren.js +167 -0
  323. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-in-parens.js +285 -0
  324. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-infix-ops.js +198 -0
  325. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/space-unary-ops.js +324 -0
  326. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/spaced-comment.js +385 -0
  327. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/strict.js +277 -0
  328. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/switch-colon-spacing.js +132 -0
  329. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/symbol-description.js +73 -0
  330. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/template-curly-spacing.js +144 -0
  331. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/template-tag-spacing.js +93 -0
  332. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/unicode-bom.js +73 -0
  333. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/use-isnan.js +141 -0
  334. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/ast-utils.js +2282 -0
  335. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/fix-tracker.js +114 -0
  336. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/keywords.js +67 -0
  337. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/lazy-loading-rule-map.js +115 -0
  338. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/patterns/letters.js +36 -0
  339. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/regular-expressions.js +42 -0
  340. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/index.js +11 -0
  341. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-combining-character.js +13 -0
  342. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-emoji-modifier.js +13 -0
  343. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-regional-indicator-symbol.js +13 -0
  344. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/utils/unicode/is-surrogate-pair.js +14 -0
  345. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/valid-jsdoc.js +516 -0
  346. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/valid-typeof.js +127 -0
  347. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/vars-on-top.js +157 -0
  348. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/wrap-iife.js +207 -0
  349. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/wrap-regex.js +61 -0
  350. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/yield-star-spacing.js +130 -0
  351. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/rules/yoda.js +353 -0
  352. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/ajv.js +34 -0
  353. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/ast-utils.js +29 -0
  354. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/config-validator.js +347 -0
  355. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/deprecation-warnings.js +58 -0
  356. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/directives.js +15 -0
  357. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/logging.js +30 -0
  358. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/relative-module-resolver.js +50 -0
  359. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/runtime-info.js +167 -0
  360. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/severity.js +49 -0
  361. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/string-utils.js +60 -0
  362. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/traverser.js +195 -0
  363. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/shared/types.js +216 -0
  364. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/index.js +5 -0
  365. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/source-code.js +1055 -0
  366. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/backward-token-comment-cursor.js +57 -0
  367. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/backward-token-cursor.js +58 -0
  368. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/cursor.js +76 -0
  369. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/cursors.js +90 -0
  370. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/decorative-cursor.js +39 -0
  371. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/filter-cursor.js +43 -0
  372. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/forward-token-comment-cursor.js +57 -0
  373. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/forward-token-cursor.js +63 -0
  374. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/index.js +627 -0
  375. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/limit-cursor.js +40 -0
  376. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/padded-token-cursor.js +38 -0
  377. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/skip-cursor.js +42 -0
  378. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/source-code/token-store/utils.js +107 -0
  379. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/lib/unsupported-api.js +30 -0
  380. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/all-files-ignored.js +16 -0
  381. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/eslintrc-incompat.js +98 -0
  382. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/eslintrc-plugins.js +24 -0
  383. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/extend-config-missing.js +13 -0
  384. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/failed-to-read-json.js +11 -0
  385. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/file-not-found.js +10 -0
  386. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/invalid-rule-options.js +17 -0
  387. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/invalid-rule-severity.js +13 -0
  388. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/no-config-found.js +15 -0
  389. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-conflict.js +22 -0
  390. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-invalid.js +16 -0
  391. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/plugin-missing.js +19 -0
  392. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/print-config-with-directory-path.js +8 -0
  393. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/shared.js +18 -0
  394. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/messages/whitespace-found.js +11 -0
  395. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/node_modules/brace-expansion/index.js +201 -0
  396. package/dist/src/web/frontend/node_modules/.eslint-60wj8XRy/node_modules/minimatch/minimatch.js +947 -0
  397. package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/bin/esparse.js +139 -0
  398. package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/bin/esvalidate.js +236 -0
  399. package/dist/src/web/frontend/node_modules/.esprima-9BICs9SA/dist/esprima.js +6709 -0
  400. package/dist/src/web/frontend/node_modules/.he-WANrIpvs/he.js +345 -0
  401. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/cli.js +315 -0
  402. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/index.js +27 -0
  403. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/argument.js +147 -0
  404. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/command.js +1944 -0
  405. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/error.js +45 -0
  406. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/help.js +396 -0
  407. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/option.js +208 -0
  408. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/node_modules/commander/lib/suggestSimilar.js +100 -0
  409. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/htmlminifier.js +1368 -0
  410. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/htmlparser.js +581 -0
  411. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/tokenchain.js +71 -0
  412. package/dist/src/web/frontend/node_modules/.html-minifier-terser-wLUyC5Ws/src/utils.js +31 -0
  413. package/dist/src/web/frontend/node_modules/.husky-CmW1OijX/lib/bin.js +30 -0
  414. package/dist/src/web/frontend/node_modules/.husky-CmW1OijX/lib/index.js +67 -0
  415. package/dist/src/web/frontend/node_modules/.import-local-oKL6wyV0/fixtures/cli.js +7 -0
  416. package/dist/src/web/frontend/node_modules/.import-local-oKL6wyV0/index.js +24 -0
  417. package/dist/src/web/frontend/node_modules/.is-docker-Mti2VF6G/cli.js +5 -0
  418. package/dist/src/web/frontend/node_modules/.is-docker-Mti2VF6G/index.js +29 -0
  419. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/bin/cli.js +31 -0
  420. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/jakefile.js +112 -0
  421. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/api.js +409 -0
  422. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/jake.js +330 -0
  423. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/loader.js +174 -0
  424. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/namespace.js +115 -0
  425. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/package_task.js +406 -0
  426. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/parseargs.js +134 -0
  427. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/program.js +282 -0
  428. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/publish_task.js +290 -0
  429. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/rule.js +311 -0
  430. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/directory_task.js +30 -0
  431. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/file_task.js +126 -0
  432. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/index.js +9 -0
  433. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/task/task.js +458 -0
  434. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/test_task.js +270 -0
  435. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/file.js +286 -0
  436. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/index.js +297 -0
  437. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/lib/utils/logger.js +24 -0
  438. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/concurrent.js +45 -0
  439. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/file.js +228 -0
  440. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/file_task.js +141 -0
  441. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/helpers.js +80 -0
  442. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakefile.js +352 -0
  443. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/concurrent.jake.js +113 -0
  444. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/publish.jake.js +49 -0
  445. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/required_module.jake.js +10 -0
  446. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/jakelib/rule.jake.js +222 -0
  447. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/list_tasks.js +15 -0
  448. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/publish_task.js +27 -0
  449. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/rule.js +217 -0
  450. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/selfdep.js +42 -0
  451. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/integration/task_base.js +167 -0
  452. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/jakefile.js +36 -0
  453. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/namespace.js +77 -0
  454. package/dist/src/web/frontend/node_modules/.jake-DrySVVt4/test/unit/parseargs.js +169 -0
  455. package/dist/src/web/frontend/node_modules/.jest-7ip6NMuN/bin/jest.js +13 -0
  456. package/dist/src/web/frontend/node_modules/.jest-7ip6NMuN/build/jest.js +61 -0
  457. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/bin/jest.js +17 -0
  458. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/cli/args.js +710 -0
  459. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/cli/index.js +265 -0
  460. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/index.js +13 -0
  461. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/errors.js +35 -0
  462. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/generateConfigFile.js +104 -0
  463. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/index.js +246 -0
  464. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/modifyPackageJson.js +28 -0
  465. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/questions.js +76 -0
  466. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/build/init/types.js +1 -0
  467. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Circus.js +1 -0
  468. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Config.js +1 -0
  469. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Global.js +1 -0
  470. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/TestResult.js +1 -0
  471. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/Transform.js +1 -0
  472. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/@jest/types/build/index.js +1 -0
  473. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/cliui/build/lib/index.js +287 -0
  474. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/cliui/build/lib/string-utils.js +27 -0
  475. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/es2015/index.js +6 -0
  476. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/es2015/text.js +6 -0
  477. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/index.js +6 -0
  478. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/emoji-regex/text.js +6 -0
  479. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/is-fullwidth-code-point/index.js +50 -0
  480. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/ErrorWithStack.js +33 -0
  481. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/clearLine.js +18 -0
  482. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/convertDescriptorToString.js +41 -0
  483. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/createDirectory.js +76 -0
  484. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/createProcessObject.js +126 -0
  485. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/deepCyclicCopy.js +84 -0
  486. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/formatTime.js +24 -0
  487. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/globsToMatcher.js +108 -0
  488. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/index.js +209 -0
  489. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/installCommonGlobals.js +123 -0
  490. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/interopRequireDefault.js +22 -0
  491. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/isInteractive.js +27 -0
  492. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/isPromise.js +20 -0
  493. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/pluralize.js +16 -0
  494. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/preRunMessage.js +48 -0
  495. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/replacePathSepForGlob.js +16 -0
  496. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/requireOrImportModule.js +91 -0
  497. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/setGlobal.js +17 -0
  498. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/specialChars.js +25 -0
  499. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/testPathPatternToRegExp.js +19 -0
  500. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/jest-util/build/tryRealpath.js +34 -0
  501. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/string-width/index.js +47 -0
  502. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/wrap-ansi/index.js +216 -0
  503. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/argsert.js +62 -0
  504. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/command.js +382 -0
  505. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/completion-templates.js +47 -0
  506. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/completion.js +128 -0
  507. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/middleware.js +53 -0
  508. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/parse-command.js +32 -0
  509. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/typings/common-types.js +9 -0
  510. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
  511. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/usage.js +548 -0
  512. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
  513. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
  514. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/levenshtein.js +26 -0
  515. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
  516. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
  517. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
  518. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/utils/which-module.js +10 -0
  519. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/validation.js +308 -0
  520. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/yargs-factory.js +1143 -0
  521. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/build/lib/yerror.js +7 -0
  522. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs/helpers/index.js +14 -0
  523. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/browser.js +29 -0
  524. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/index.js +59 -0
  525. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
  526. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
  527. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
  528. package/dist/src/web/frontend/node_modules/.jest-cli-gTwVZcyg/node_modules/yargs-parser/build/lib/yargs-parser.js +1037 -0
  529. package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/bin/jiti.js +16 -0
  530. package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/dist/babel.js +227 -0
  531. package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/dist/jiti.js +1 -0
  532. package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/lib/index.js +15 -0
  533. package/dist/src/web/frontend/node_modules/.jiti-pB4fYkW6/register.js +3 -0
  534. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/bin/js-yaml.js +126 -0
  535. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/dist/js-yaml.js +3874 -0
  536. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/dist/js-yaml.min.js +2 -0
  537. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/index.js +47 -0
  538. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/common.js +59 -0
  539. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/dumper.js +965 -0
  540. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/exception.js +55 -0
  541. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/loader.js +1727 -0
  542. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/core.js +11 -0
  543. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/default.js +22 -0
  544. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/failsafe.js +17 -0
  545. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema/json.js +19 -0
  546. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/schema.js +121 -0
  547. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/snippet.js +101 -0
  548. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/binary.js +125 -0
  549. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/bool.js +35 -0
  550. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/float.js +97 -0
  551. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/int.js +156 -0
  552. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/map.js +8 -0
  553. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/merge.js +12 -0
  554. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/null.js +35 -0
  555. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/omap.js +44 -0
  556. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/pairs.js +53 -0
  557. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/seq.js +8 -0
  558. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/set.js +29 -0
  559. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/str.js +8 -0
  560. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type/timestamp.js +88 -0
  561. package/dist/src/web/frontend/node_modules/.js-yaml-jm5u3nWn/lib/type.js +66 -0
  562. package/dist/src/web/frontend/node_modules/.jsesc-HO7WBVtD/jsesc.js +337 -0
  563. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/dist/index.js +1737 -0
  564. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/dist/index.min.js +1 -0
  565. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/cli.js +152 -0
  566. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/index.js +9 -0
  567. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/parse.js +1114 -0
  568. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/register.js +13 -0
  569. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/require.js +4 -0
  570. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/stringify.js +261 -0
  571. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/unicode.js +4 -0
  572. package/dist/src/web/frontend/node_modules/.json5-StjxnzqI/lib/util.js +35 -0
  573. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/bin/lint-staged.js +164 -0
  574. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/chunkFiles.js +54 -0
  575. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/configFiles.js +30 -0
  576. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/dynamicImport.js +3 -0
  577. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/execGit.js +28 -0
  578. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/figures.js +8 -0
  579. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/file.js +53 -0
  580. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/generateTasks.js +52 -0
  581. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getDiffCommand.js +19 -0
  582. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getRenderer.js +64 -0
  583. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/getStagedFiles.js +56 -0
  584. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/gitWorkflow.js +359 -0
  585. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/groupFilesByConfig.js +55 -0
  586. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/index.js +160 -0
  587. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/loadConfig.js +127 -0
  588. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/makeCmdTasks.js +52 -0
  589. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/messages.js +98 -0
  590. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/normalizePath.js +50 -0
  591. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/parseGitZOutput.js +11 -0
  592. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/printTaskOutput.js +12 -0
  593. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/readStdin.js +19 -0
  594. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveConfig.js +15 -0
  595. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveGitRepo.js +66 -0
  596. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/resolveTaskFn.js +185 -0
  597. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/runAll.js +344 -0
  598. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/searchConfigs.js +131 -0
  599. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/state.js +72 -0
  600. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/symbols.js +27 -0
  601. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateBraces.js +91 -0
  602. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateConfig.js +121 -0
  603. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/validateOptions.js +47 -0
  604. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/lib/version.js +6 -0
  605. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/index.js +225 -0
  606. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/utilities.js +33 -0
  607. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  608. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  609. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  610. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
  611. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
  612. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-node.js +102 -0
  613. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
  614. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/composer.js +217 -0
  615. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
  616. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
  617. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
  618. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
  619. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
  620. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +223 -0
  621. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
  622. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
  623. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
  624. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
  625. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
  626. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/Document.js +335 -0
  627. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
  628. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
  629. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
  630. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/doc/directives.js +176 -0
  631. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/errors.js +57 -0
  632. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/index.js +17 -0
  633. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/log.js +11 -0
  634. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Alias.js +114 -0
  635. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
  636. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
  637. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
  638. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
  639. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
  640. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
  641. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
  642. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
  643. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  644. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
  645. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
  646. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
  647. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/cst.js +98 -0
  648. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/lexer.js +717 -0
  649. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
  650. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/parse/parser.js +967 -0
  651. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/public-api.js +102 -0
  652. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
  653. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
  654. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  655. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
  656. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
  657. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  658. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
  659. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
  660. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
  661. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
  662. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/tags.js +96 -0
  663. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
  664. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
  665. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
  666. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
  667. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +64 -0
  668. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
  669. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
  670. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
  671. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
  672. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
  673. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
  674. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringify.js +128 -0
  675. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +143 -0
  676. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  677. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
  678. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +24 -0
  679. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
  680. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
  681. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/util.js +11 -0
  682. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/dist/visit.js +233 -0
  683. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/browser/index.js +5 -0
  684. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-collection.js +90 -0
  685. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-doc.js +45 -0
  686. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-node.js +105 -0
  687. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
  688. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/composer.js +222 -0
  689. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
  690. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
  691. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
  692. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-end.js +39 -0
  693. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
  694. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
  695. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/resolve-props.js +148 -0
  696. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
  697. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
  698. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
  699. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
  700. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/Document.js +337 -0
  701. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/anchors.js +76 -0
  702. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/applyReviver.js +57 -0
  703. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/createNode.js +90 -0
  704. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/doc/directives.js +178 -0
  705. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/errors.js +62 -0
  706. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/index.js +50 -0
  707. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/log.js +19 -0
  708. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Alias.js +116 -0
  709. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Collection.js +151 -0
  710. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Node.js +40 -0
  711. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Pair.js +39 -0
  712. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/Scalar.js +27 -0
  713. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
  714. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
  715. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
  716. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/identity.js +53 -0
  717. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/nodes/toJS.js +39 -0
  718. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
  719. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
  720. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst-visit.js +99 -0
  721. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/cst.js +112 -0
  722. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/lexer.js +719 -0
  723. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/line-counter.js +41 -0
  724. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/parse/parser.js +972 -0
  725. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/public-api.js +107 -0
  726. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/Schema.js +39 -0
  727. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/map.js +19 -0
  728. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/null.js +17 -0
  729. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/seq.js +19 -0
  730. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/common/string.js +16 -0
  731. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/bool.js +21 -0
  732. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/float.js +47 -0
  733. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/int.js +42 -0
  734. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/core/schema.js +25 -0
  735. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/json/schema.js +64 -0
  736. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/tags.js +99 -0
  737. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
  738. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
  739. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
  740. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
  741. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
  742. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
  743. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
  744. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
  745. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
  746. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
  747. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
  748. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringify.js +131 -0
  749. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
  750. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
  751. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
  752. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
  753. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
  754. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
  755. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/test-events.js +134 -0
  756. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/util.js +28 -0
  757. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/dist/visit.js +236 -0
  758. package/dist/src/web/frontend/node_modules/.lint-staged-PLgU0Zyn/node_modules/yaml/util.js +2 -0
  759. package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/cli.js +16 -0
  760. package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/custom.js +4 -0
  761. package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/index.js +3 -0
  762. package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/loose-envify.js +36 -0
  763. package/dist/src/web/frontend/node_modules/.loose-envify-xQmkUywD/replace.js +65 -0
  764. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/bin/bin.js +13 -0
  765. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/base64-string.js +285 -0
  766. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/lz-string.js +506 -0
  767. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/libs/lz-string.min.js +1 -0
  768. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/reference/lz-string-1.0.2.js +204 -0
  769. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lib/jasmine-1.3.1/jasmine-html.js +681 -0
  770. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lib/jasmine-1.3.1/jasmine.js +2600 -0
  771. package/dist/src/web/frontend/node_modules/.lz-string-IeqH9YhA/tests/lz-string-spec.js +226 -0
  772. package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/cli.js +8 -0
  773. package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/mime.js +108 -0
  774. package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/src/build.js +53 -0
  775. package/dist/src/web/frontend/node_modules/.mime-jO6Gv7S9/src/test.js +60 -0
  776. package/dist/src/web/frontend/node_modules/.mkdirp-idfX6Cn8/bin/cmd.js +33 -0
  777. package/dist/src/web/frontend/node_modules/.mkdirp-idfX6Cn8/index.js +102 -0
  778. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/abap/abap.js +1342 -0
  779. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/apex/apex.js +347 -0
  780. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/azcli/azcli.js +102 -0
  781. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/bat/bat.js +123 -0
  782. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/bicep/bicep.js +143 -0
  783. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cameligo/cameligo.js +196 -0
  784. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/clojure/clojure.js +782 -0
  785. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/coffee/coffee.js +256 -0
  786. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cpp/cpp.js +418 -0
  787. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/csharp/csharp.js +348 -0
  788. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/csp/csp.js +85 -0
  789. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/css/css.js +212 -0
  790. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/cypher/cypher.js +290 -0
  791. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/dart/dart.js +298 -0
  792. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/dockerfile/dockerfile.js +160 -0
  793. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/ecl/ecl.js +482 -0
  794. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/elixir/elixir.js +517 -0
  795. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/basic-languages/flow9/flow9.js +169 -0
  796. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.js +175099 -0
  797. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.de.js +2023 -0
  798. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.es.js +2023 -0
  799. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.fr.js +2023 -0
  800. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.it.js +2023 -0
  801. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ja.js +2023 -0
  802. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.js +2026 -0
  803. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ko.js +2023 -0
  804. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.ru.js +2023 -0
  805. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.zh-cn.js +2023 -0
  806. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/editor/editor.main.nls.zh-tw.js +2023 -0
  807. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/language/css/cssMode.js +2069 -0
  808. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/dev/vs/language/css/cssWorker.js +36893 -0
  809. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/browser.js +132 -0
  810. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/canIUse.js +32 -0
  811. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/contextmenu.js +5 -0
  812. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/defaultWorkerFactory.js +128 -0
  813. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dnd.js +26 -0
  814. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dom.js +1405 -0
  815. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/dompurify/dompurify.js +1640 -0
  816. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/event.js +20 -0
  817. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/fastDomNode.js +250 -0
  818. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/formattedTextRenderer.js +167 -0
  819. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/actionbar/actionViewItems.js +372 -0
  820. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/actionbar/actionbar.js +421 -0
  821. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/aria/aria.js +81 -0
  822. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +1 -0
  823. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/button/button.js +190 -0
  824. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/codicons/codiconStyles.js +6 -0
  825. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/contextview/contextview.js +299 -0
  826. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/countBadge/countBadge.js +36 -0
  827. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dialog/dialog.js +1 -0
  828. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dropdown/dropdown.js +139 -0
  829. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +106 -0
  830. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/findinput/findInput.js +295 -0
  831. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/findinput/findInputToggles.js +46 -0
  832. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/scrollbar/abstractScrollbar.js +207 -0
  833. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/abstractTree.js +1644 -0
  834. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/asyncDataTree.js +845 -0
  835. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/compressedObjectTreeModel.js +365 -0
  836. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/browser/ui/tree/dataTree.js +17 -0
  837. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/actions.js +175 -0
  838. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/arrays.js +470 -0
  839. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/arraysFind.js +175 -0
  840. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/assert.js +51 -0
  841. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/async.js +832 -0
  842. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/buffer.js +68 -0
  843. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/cache.js +40 -0
  844. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/cancellation.js +109 -0
  845. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/charCode.js +5 -0
  846. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/codicons.js +591 -0
  847. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/collections.js +35 -0
  848. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/color.js +462 -0
  849. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/comparers.js +83 -0
  850. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/dataTransfer.js +129 -0
  851. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/decorators.js +30 -0
  852. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/diff/diff.js +899 -0
  853. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/diff/diffChange.js +32 -0
  854. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/errorMessage.js +68 -0
  855. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/errors.js +150 -0
  856. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/event.js +1185 -0
  857. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/extpath.js +144 -0
  858. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/filters.js +768 -0
  859. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/autorun.js +185 -0
  860. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/base.js +326 -0
  861. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/base/common/observableInternal/derived.js +276 -0
  862. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/_.contribution.js +82 -0
  863. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/abap/abap.contribution.js +23 -0
  864. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/abap/abap.js +1317 -0
  865. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/apex/apex.contribution.js +24 -0
  866. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/apex/apex.js +322 -0
  867. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/azcli/azcli.contribution.js +23 -0
  868. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/azcli/azcli.js +77 -0
  869. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bat/bat.contribution.js +23 -0
  870. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bat/bat.js +98 -0
  871. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bicep/bicep.contribution.js +23 -0
  872. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/bicep/bicep.js +118 -0
  873. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cameligo/cameligo.contribution.js +23 -0
  874. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cameligo/cameligo.js +171 -0
  875. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/clojure/clojure.contribution.js +23 -0
  876. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/clojure/clojure.js +757 -0
  877. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/coffee/coffee.contribution.js +24 -0
  878. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/coffee/coffee.js +231 -0
  879. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cpp/cpp.contribution.js +37 -0
  880. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cpp/cpp.js +393 -0
  881. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csharp/csharp.contribution.js +23 -0
  882. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csharp/csharp.js +323 -0
  883. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csp/csp.contribution.js +23 -0
  884. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/csp/csp.js +60 -0
  885. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/css/css.contribution.js +24 -0
  886. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/css/css.js +187 -0
  887. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cypher/cypher.contribution.js +23 -0
  888. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/cypher/cypher.js +265 -0
  889. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dart/dart.contribution.js +24 -0
  890. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dart/dart.js +273 -0
  891. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dockerfile/dockerfile.contribution.js +24 -0
  892. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/dockerfile/dockerfile.js +135 -0
  893. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/ecl/ecl.contribution.js +23 -0
  894. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/ecl/ecl.js +457 -0
  895. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/elixir/elixir.contribution.js +23 -0
  896. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/elixir/elixir.js +492 -0
  897. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/flow9/flow9.contribution.js +23 -0
  898. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/flow9/flow9.js +144 -0
  899. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/basic-languages/freemarker2/freemarker2.contribution.js +101 -0
  900. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/charWidthReader.js +102 -0
  901. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/domFontInfo.js +25 -0
  902. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/editorConfiguration.js +280 -0
  903. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/elementSizeObserver.js +99 -0
  904. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/config/fontMeasurements.js +191 -0
  905. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/coreCommands.js +1727 -0
  906. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/dnd.js +76 -0
  907. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorBrowser.js +50 -0
  908. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorDom.js +282 -0
  909. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/editorExtensions.js +461 -0
  910. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/abstractCodeEditorService.js +127 -0
  911. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/bulkEditService.js +73 -0
  912. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/codeEditorService.js +6 -0
  913. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/services/editorWorkerService.js +454 -0
  914. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/view/domLineBreaksComputer.js +299 -0
  915. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/view/dynamicViewOverlay.js +7 -0
  916. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +95 -0
  917. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +462 -0
  918. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +176 -0
  919. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/decorations/decorations.js +200 -0
  920. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +142 -0
  921. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/lines/domReadingContext.js +41 -0
  922. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +396 -0
  923. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/codeEditorContributions.js +130 -0
  924. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/codeEditorWidget.js +1734 -0
  925. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/accessibleDiffViewer.js +531 -0
  926. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/colors.js +9 -0
  927. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/decorations.js +65 -0
  928. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.js +108 -0
  929. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +274 -0
  930. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorDecorations.js +225 -0
  931. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorEditors.js +164 -0
  932. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +91 -0
  933. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorSash.js +69 -0
  934. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +522 -0
  935. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +493 -0
  936. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +30 -0
  937. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js +57 -0
  938. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/multiDiffEditorWidget/colors.js +7 -0
  939. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/browser/widget/multiDiffEditorWidget/diffEditorItemTemplate.js +213 -0
  940. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/diffEditor.js +34 -0
  941. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorConfiguration.js +5 -0
  942. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorConfigurationSchema.js +284 -0
  943. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorOptions.js +2999 -0
  944. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/editorZoom.js +23 -0
  945. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/config/fontInfo.js +153 -0
  946. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/characterClassifier.js +56 -0
  947. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/cursorColumns.js +109 -0
  948. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/dimension.js +5 -0
  949. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/editOperation.js +33 -0
  950. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/editorColorRegistry.js +85 -0
  951. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/core/eolCounter.js +42 -0
  952. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursor.js +877 -0
  953. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorAtomicMoveOperations.js +142 -0
  954. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorCollection.js +191 -0
  955. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorColumnSelection.js +90 -0
  956. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorContext.js +13 -0
  957. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorDeleteOperations.js +215 -0
  958. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorMoveCommands.js +651 -0
  959. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorMoveOperations.js +287 -0
  960. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorTypeOperations.js +973 -0
  961. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursor/cursorWordOperations.js +686 -0
  962. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursorCommon.js +239 -0
  963. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/cursorEvents.js +5 -0
  964. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +118 -0
  965. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +98 -0
  966. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +246 -0
  967. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +220 -0
  968. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/diff/documentDiffProvider.js +5 -0
  969. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorAction.js +24 -0
  970. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorCommon.js +11 -0
  971. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorContextKeys.js +76 -0
  972. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorFeatures.js +15 -0
  973. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/editorTheme.js +21 -0
  974. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/encodedTokenAttributes.js +77 -0
  975. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/autoIndent.js +374 -0
  976. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/defaultDocumentColorsComputer.js +135 -0
  977. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/enterAction.js +63 -0
  978. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/supports/characterPair.js +37 -0
  979. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/languages/supports/electricCharacter.js +52 -0
  980. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +724 -0
  981. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +482 -0
  982. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.js +107 -0
  983. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +343 -0
  984. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +105 -0
  985. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/combineTextEditInfos.js +121 -0
  986. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +189 -0
  987. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider.js +94 -0
  988. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +66 -0
  989. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/decorationProvider.js +1 -0
  990. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/editStack.js +359 -0
  991. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/model/fixedArray.js +67 -0
  992. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorBaseApi.js +40 -0
  993. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorSimpleWorker.js +523 -0
  994. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorWorker.js +6 -0
  995. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/services/editorWorkerHost.js +5 -0
  996. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousMultilineTokens.js +30 -0
  997. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousMultilineTokensBuilder.js +20 -0
  998. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousTokensEditing.js +125 -0
  999. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/common/tokens/contiguousTokensStore.js +204 -0
  1000. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +164 -0
  1001. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +351 -0
  1002. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +49 -0
  1003. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/clipboard/browser/clipboard.js +236 -0
  1004. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeAction.js +284 -0
  1005. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +229 -0
  1006. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +43 -0
  1007. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +315 -0
  1008. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +86 -0
  1009. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +64 -0
  1010. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codeAction/browser/codeActionModel.js +271 -0
  1011. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codeLensCache.js +112 -0
  1012. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelens.js +104 -0
  1013. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelensController.js +472 -0
  1014. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/codelens/browser/codelensWidget.js +262 -0
  1015. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/color.js +112 -0
  1016. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorContributions.js +51 -0
  1017. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorDetector.js +242 -0
  1018. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +244 -0
  1019. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorPickerModel.js +71 -0
  1020. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +353 -0
  1021. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +54 -0
  1022. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/comment/browser/blockCommentCommand.js +146 -0
  1023. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/comment/browser/comment.js +146 -0
  1024. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +345 -0
  1025. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +134 -0
  1026. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dnd/browser/dnd.js +195 -0
  1027. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dnd/browser/dragAndDropCommand.js +62 -0
  1028. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/documentSymbols/browser/documentSymbols.js +23 -0
  1029. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +57 -0
  1030. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +401 -0
  1031. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +181 -0
  1032. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +44 -0
  1033. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +157 -0
  1034. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/dropOrPasteInto/browser/edit.js +71 -0
  1035. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/editorState/browser/editorState.js +112 -0
  1036. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findController.js +990 -0
  1037. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findDecorations.js +296 -0
  1038. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findModel.js +488 -0
  1039. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findOptionsWidget.js +138 -0
  1040. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findState.js +243 -0
  1041. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/find/browser/findWidget.js +1177 -0
  1042. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/folding.js +1093 -0
  1043. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +133 -0
  1044. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingModel.js +538 -0
  1045. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/folding/browser/foldingRanges.js +351 -0
  1046. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +49 -0
  1047. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/format.js +360 -0
  1048. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/formatActions.js +263 -0
  1049. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/format/browser/formattingEdit.js +54 -0
  1050. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +149 -0
  1051. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/hover/browser/contentHover.js +874 -0
  1052. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/inlineCompletions/browser/commandIds.js +7 -0
  1053. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/inlineCompletions/browser/commands.js +199 -0
  1054. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/linesOperations/browser/copyLinesCommand.js +70 -0
  1055. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/quickAccess/browser/commandsQuickAccess.js +26 -0
  1056. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +153 -0
  1057. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +33 -0
  1058. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.js +354 -0
  1059. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/smartSelect/browser/bracketSelections.js +146 -0
  1060. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/suggest/browser/completionModel.js +224 -0
  1061. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +119 -0
  1062. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/edcore.main.js +14 -0
  1063. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.all.js +63 -0
  1064. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.api.js +55 -0
  1065. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.main.js +7 -0
  1066. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/editor.worker.js +25 -0
  1067. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/editor/standalone/browser/colorizer.js +118 -0
  1068. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/language/css/css.worker.js +36869 -0
  1069. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/language/css/cssMode.js +2035 -0
  1070. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/browser/accessibilityService.js +88 -0
  1071. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/accessibility/common/accessibility.js +9 -0
  1072. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/action.js +7 -0
  1073. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/action/common/actionCommonCategories.js +13 -0
  1074. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionList.js +276 -0
  1075. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/browser/actionWidget.js +248 -0
  1076. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actionWidget/common/actionWidget.js +5 -0
  1077. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/actions/common/actions.js +409 -0
  1078. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/audioCues/browser/audioCueService.js +176 -0
  1079. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/browser/clipboardService.js +141 -0
  1080. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/clipboard/common/clipboardService.js +6 -0
  1081. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/commands/common/commands.js +80 -0
  1082. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configuration.js +86 -0
  1083. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationModels.js +554 -0
  1084. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurationRegistry.js +317 -0
  1085. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/configuration/common/configurations.js +41 -0
  1086. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/browser/contextKeyService.js +432 -0
  1087. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkey.js +1547 -0
  1088. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextkey/common/contextkeys.js +18 -0
  1089. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuHandler.js +124 -0
  1090. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextMenuService.js +101 -0
  1091. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextView.js +7 -0
  1092. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/contextview/browser/contextViewService.js +72 -0
  1093. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dialogs/common/dialogs.js +2 -0
  1094. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/dnd/browser/dnd.js +36 -0
  1095. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/editor/common/editor.js +17 -0
  1096. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/environment/common/environment.js +2 -0
  1097. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/extensions/common/extensions.js +47 -0
  1098. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/files/common/files.js +9 -0
  1099. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +105 -0
  1100. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/descriptors.js +11 -0
  1101. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/instantiation/common/extensions.js +15 -0
  1102. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/abstractKeybindingService.js +277 -0
  1103. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/keybinding/common/baseResolvedKeybinding.js +53 -0
  1104. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +354 -0
  1105. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/browser/defaultStyles.js +162 -0
  1106. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/esm/vs/platform/theme/common/colorRegistry.js +482 -0
  1107. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/abap/abap.js +10 -0
  1108. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/apex/apex.js +10 -0
  1109. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/azcli/azcli.js +10 -0
  1110. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bat/bat.js +10 -0
  1111. package/dist/src/web/frontend/node_modules/.monaco-editor-MndU045b/min/vs/basic-languages/bicep/bicep.js +11 -0
  1112. package/package.json +2 -1
  1113. package/scripts/.claude-flow/metrics/agent-metrics.json +1 -0
  1114. package/scripts/.claude-flow/metrics/performance.json +9 -0
  1115. package/scripts/.claude-flow/metrics/task-metrics.json +10 -0
  1116. package/scripts/CLEANUP_OPTIMIZATION_REPORT.json +312 -0
  1117. package/scripts/CLEANUP_PERFORMANCE_OPTIMIZATION.md +387 -0
  1118. package/scripts/CLEANUP_QUICK_START.md +268 -0
  1119. package/scripts/CLEANUP_TEST_RESULTS.md +205 -0
  1120. package/scripts/README.md +339 -0
  1121. package/scripts/ace-query.sh +384 -0
  1122. package/scripts/agent-token-analysis.js +430 -0
  1123. package/scripts/auto-setup.js +332 -0
  1124. package/scripts/build/README.md +167 -0
  1125. package/scripts/build/build-config.js +27 -0
  1126. package/scripts/build/build-prompt-copier.sh +30 -0
  1127. package/scripts/build/performance-monitor.js +869 -0
  1128. package/scripts/build/prepare-publish.js +150 -0
  1129. package/scripts/build/typescript-fixer.js +621 -0
  1130. package/scripts/build/unified-builder.sh +428 -0
  1131. package/scripts/build/update-bin-version.js +32 -0
  1132. package/scripts/build/validate-agents.js +238 -0
  1133. package/scripts/build-index.js +43 -0
  1134. package/scripts/build-orchestrator.js +320 -0
  1135. package/scripts/check-routing-stats.cjs +122 -0
  1136. package/scripts/ci-validation.js +375 -0
  1137. package/scripts/cleanup-blocking-coordination.sh +420 -0
  1138. package/scripts/cleanup-idle-sessions.sh +118 -0
  1139. package/scripts/collect-build-metrics.js +65 -0
  1140. package/scripts/demo/README.md +79 -0
  1141. package/scripts/demo/autoscaling-demo-simplified.js +963 -0
  1142. package/scripts/demo/comprehensive-dashboard-test.js +693 -0
  1143. package/scripts/demo/confidence-log.js +87 -0
  1144. package/scripts/demo/confidence-report.js +82 -0
  1145. package/scripts/demo/demo-multi-swarm-coordination.js +325 -0
  1146. package/scripts/demo/demo-production-deployment.js +399 -0
  1147. package/scripts/demo/demo-visualization-system.js +149 -0
  1148. package/scripts/demo/performance-analysis.cjs +71 -0
  1149. package/scripts/demo/performance-analysis.js +71 -0
  1150. package/scripts/demo/test-autoscaling-demo.js +314 -0
  1151. package/scripts/dependency-optimizer.js +349 -0
  1152. package/scripts/dependency-security-assessment.js +331 -0
  1153. package/scripts/deploy-sdk.sh +176 -0
  1154. package/scripts/deployment-readiness-report.json +179 -0
  1155. package/scripts/dev/README.md +264 -0
  1156. package/scripts/dev/claude-flow-wrapper.sh +35 -0
  1157. package/scripts/dev/claude-monitor.py +419 -0
  1158. package/scripts/dev/claude-sparc.sh +562 -0
  1159. package/scripts/dev/claude-wrapper.sh +17 -0
  1160. package/scripts/dev/demo-phase3-compliance.js +172 -0
  1161. package/scripts/dev/demo-task-system.ts +224 -0
  1162. package/scripts/dev/deployment-validator.js +315 -0
  1163. package/scripts/dev/spawn-claude-terminal.sh +32 -0
  1164. package/scripts/dev/start-portal.sh +506 -0
  1165. package/scripts/dev/start-web-ui.js +15 -0
  1166. package/scripts/dev/stop-portal.sh +311 -0
  1167. package/scripts/dev/validate-examples.ts +288 -0
  1168. package/scripts/dev/validate-phase2.cjs +451 -0
  1169. package/scripts/dev/validate-phase2.js +785 -0
  1170. package/scripts/dev/validate-phase3.cjs +208 -0
  1171. package/scripts/dev/validate-security-remediation.js +1 -0
  1172. package/scripts/ecosystem.config.cjs +90 -0
  1173. package/scripts/enhanced-memory-spiral-killer.sh +221 -0
  1174. package/scripts/fix-js-extensions.js +167 -0
  1175. package/scripts/generate-basic-types.js +73 -0
  1176. package/scripts/generate-changelog.js +318 -0
  1177. package/scripts/git-hooks/pre-commit.sh +143 -0
  1178. package/scripts/health-checks.js +634 -0
  1179. package/scripts/hook-wrapper.sh +54 -0
  1180. package/scripts/install/README.md +375 -0
  1181. package/scripts/install/REDIS_SETUP_VALIDATION.json +245 -0
  1182. package/scripts/install/check-prerequisites.js +303 -0
  1183. package/scripts/install/config-wizard.js +606 -0
  1184. package/scripts/install/dependency-checker.js +385 -0
  1185. package/scripts/install/health-check.js +765 -0
  1186. package/scripts/install/install.js +256 -0
  1187. package/scripts/install/installation-benchmark.js +461 -0
  1188. package/scripts/install/quick-install.js +720 -0
  1189. package/scripts/install/quick-start-wizard.js +295 -0
  1190. package/scripts/install/redis-cli.js +289 -0
  1191. package/scripts/install/redis-install-guides.md +407 -0
  1192. package/scripts/install/redis-setup.js +559 -0
  1193. package/scripts/install/redis-test.js +278 -0
  1194. package/scripts/install/service-manager.js +672 -0
  1195. package/scripts/install/setup.js +832 -0
  1196. package/scripts/install/uninstall.js +526 -0
  1197. package/scripts/install/update.js +461 -0
  1198. package/scripts/install-pre-commit-hook.sh +127 -0
  1199. package/scripts/legacy/README.md +272 -0
  1200. package/scripts/legacy/batch-fix-ts.sh +54 -0
  1201. package/scripts/legacy/build-migration.sh +105 -0
  1202. package/scripts/legacy/build-monitor.js +209 -0
  1203. package/scripts/legacy/build-with-filter.sh +84 -0
  1204. package/scripts/legacy/build-workaround.sh +71 -0
  1205. package/scripts/legacy/fix-ts-advanced.js +358 -0
  1206. package/scripts/legacy/fix-ts-final.sh +50 -0
  1207. package/scripts/legacy/fix-ts-targeted.sh +49 -0
  1208. package/scripts/legacy/fix-typescript-errors.js +305 -0
  1209. package/scripts/legacy/force-build.sh +63 -0
  1210. package/scripts/legacy/optimize-performance.js +400 -0
  1211. package/scripts/legacy/performance-monitor.js +263 -0
  1212. package/scripts/legacy/performance-monitoring.js +532 -0
  1213. package/scripts/legacy/performance-test-runner.js +645 -0
  1214. package/scripts/legacy/quick-fix-ts.js +281 -0
  1215. package/scripts/legacy/safe-build.sh +63 -0
  1216. package/scripts/memory-monitor-coordinator.js +451 -0
  1217. package/scripts/migrate-to-sdk.sh +520 -0
  1218. package/scripts/migration/QUICK-START.md +189 -0
  1219. package/scripts/migration/QUICK-START.md.backup-1760135091363 +189 -0
  1220. package/scripts/migration/README.md +464 -0
  1221. package/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md +500 -0
  1222. package/scripts/migration/TASK-1.3.2-COMPLETION-REPORT.md.backup-1760135091348 +500 -0
  1223. package/scripts/migration/UPDATE-PATHS-README.md +464 -0
  1224. package/scripts/migration/UPDATE-PATHS-README.md.backup-1760135091337 +464 -0
  1225. package/scripts/migration/example-patterns.json +19 -0
  1226. package/scripts/migration/install-arm64.js +78 -0
  1227. package/scripts/migration/install.js +83 -0
  1228. package/scripts/migration/migrate-hooks.js +173 -0
  1229. package/scripts/migration/migration-examples.ts +318 -0
  1230. package/scripts/migration/reorganize-workspace.js +504 -0
  1231. package/scripts/migration/test-update-paths.js +359 -0
  1232. package/scripts/migration/update-paths.js +664 -0
  1233. package/scripts/migration/validate-migration.js +647 -0
  1234. package/scripts/monitor-loop.sh +65 -0
  1235. package/scripts/monitor-memory.sh +47 -0
  1236. package/scripts/monitor-migration.js +339 -0
  1237. package/scripts/monitor.py +43 -0
  1238. package/scripts/monitoring/README.md +178 -0
  1239. package/scripts/monitoring/alert-monitor.sh +220 -0
  1240. package/scripts/monitoring/analyze-resources.sh +199 -0
  1241. package/scripts/monitoring/dashboards/rate-limiting-dashboard.json +211 -0
  1242. package/scripts/monitoring/dynamic-monitor.sh +85 -0
  1243. package/scripts/monitoring/launch-stability-test.sh +184 -0
  1244. package/scripts/monitoring/monitor-test.sh +93 -0
  1245. package/scripts/monitoring/pre-test-validation.sh +208 -0
  1246. package/scripts/monitoring/quick-test-alerting.sh +118 -0
  1247. package/scripts/monitoring/quick-test-rate-limiting.sh +206 -0
  1248. package/scripts/monitoring/rate-limiting-monitor.sh +380 -0
  1249. package/scripts/monitoring/resource-monitor.sh +126 -0
  1250. package/scripts/monitoring/stability-monitor.js +429 -0
  1251. package/scripts/monitoring/test-monitor-quick.sh +54 -0
  1252. package/scripts/monitoring/view-alerts.sh +307 -0
  1253. package/scripts/npm-metrics-collector.js +482 -0
  1254. package/scripts/npm-package-validation.cjs +299 -0
  1255. package/scripts/optimization/build-optimizer.js +438 -0
  1256. package/scripts/optimization/config-validator.js +761 -0
  1257. package/scripts/optimization/test-optimization.js +432 -0
  1258. package/scripts/optimization/unified-activation.js +839 -0
  1259. package/scripts/optimize-package-swarm.js +54 -0
  1260. package/scripts/performance/ACTIVATION_COMMANDS.md +292 -0
  1261. package/scripts/performance/sqlite-enhanced-activation.sh +583 -0
  1262. package/scripts/performance/test-enhanced-backend.sh +504 -0
  1263. package/scripts/performance-monitor.js +644 -0
  1264. package/scripts/performance-test-runner.js +698 -0
  1265. package/scripts/post-deployment-monitoring.js +350 -0
  1266. package/scripts/post-edit-pipeline.js +2091 -0
  1267. package/scripts/post-install-claude-md.js +78 -0
  1268. package/scripts/postinstall.js +165 -0
  1269. package/scripts/pre-publish-validation.cjs +212 -0
  1270. package/scripts/pre-publish-validation.js +429 -0
  1271. package/scripts/redis-lua/cleanup-blocking-coordination.lua +198 -0
  1272. package/scripts/release-announcement.js +425 -0
  1273. package/scripts/release-notification.js +248 -0
  1274. package/scripts/release-rollback.js +376 -0
  1275. package/scripts/release-validation.js +460 -0
  1276. package/scripts/rollback-sdk.sh +66 -0
  1277. package/scripts/run-production-validation.ts +590 -0
  1278. package/scripts/run-stability-validation.sh +687 -0
  1279. package/scripts/security/README.md +339 -0
  1280. package/scripts/security/deployment-validation.cjs +279 -0
  1281. package/scripts/security/envelope-encryption-confidence-report.cjs +422 -0
  1282. package/scripts/security/install-git-hooks.sh +132 -0
  1283. package/scripts/security/install-git-secrets.sh +295 -0
  1284. package/scripts/security/rotate-api-keys.js +469 -0
  1285. package/scripts/security/ruv-swarm-safe.js +74 -0
  1286. package/scripts/security/security-audit.cjs +538 -0
  1287. package/scripts/security/setup-redis-auth.sh +397 -0
  1288. package/scripts/security/validate-envelope-encryption.cjs +340 -0
  1289. package/scripts/security-scan.js +492 -0
  1290. package/scripts/src/web/frontend/.claude-flow/metrics/agent-metrics.json +1 -0
  1291. package/scripts/src/web/frontend/.claude-flow/metrics/performance.json +9 -0
  1292. package/scripts/src/web/frontend/.claude-flow/metrics/task-metrics.json +10 -0
  1293. package/scripts/switch-api.sh +159 -0
  1294. package/scripts/sync-agents.js +290 -0
  1295. package/scripts/test/50-agent-test.js +625 -0
  1296. package/scripts/test/NEW_STABILITY_TEST_GUIDE.md +407 -0
  1297. package/scripts/test/README.md +236 -0
  1298. package/scripts/test/STABILITY_TEST_EXAMPLE.md +347 -0
  1299. package/scripts/test/STABILITY_TEST_README.md +480 -0
  1300. package/scripts/test/agent-worker.js +309 -0
  1301. package/scripts/test/ai-coordination-test.js +650 -0
  1302. package/scripts/test/ai-mesh-coordination-test.js +416 -0
  1303. package/scripts/test/check-links.ts +274 -0
  1304. package/scripts/test/check-performance-regression.ts +168 -0
  1305. package/scripts/test/cli-agent-coordination-test.js +313 -0
  1306. package/scripts/test/coordinator-multilingual-test.js +396 -0
  1307. package/scripts/test/coordinator-transparency-demo.js +585 -0
  1308. package/scripts/test/coverage-report.ts +692 -0
  1309. package/scripts/test/generate-swarm-tests.js +633 -0
  1310. package/scripts/test/integration-test-validation.cjs +253 -0
  1311. package/scripts/test/load-test-swarm.js +576 -0
  1312. package/scripts/test/mesh-coordination-zero-overlap-test.js +740 -0
  1313. package/scripts/test/multilingual-hello-world-test.js +390 -0
  1314. package/scripts/test/quick-multilingual-demo.js +464 -0
  1315. package/scripts/test/real-agent-test.js +312 -0
  1316. package/scripts/test/run-phase3-compliance-tests.js +427 -0
  1317. package/scripts/test/run-stability-test-examples.sh +292 -0
  1318. package/scripts/test/stability-results/stability-metrics.jsonl +83 -0
  1319. package/scripts/test/stability-results/stability-test-report.json +128 -0
  1320. package/scripts/test/stability-results/stability-test.log +1827 -0
  1321. package/scripts/test/stability-test-50-agents.js +734 -0
  1322. package/scripts/test/test-batch-tasks.ts +29 -0
  1323. package/scripts/test/test-byzantine-resolution.js +246 -0
  1324. package/scripts/test/test-claude-spawn-options.sh +63 -0
  1325. package/scripts/test/test-cli-wizard.js +331 -0
  1326. package/scripts/test/test-comprehensive.js +401 -0
  1327. package/scripts/test/test-coordination-features.ts +238 -0
  1328. package/scripts/test/test-fallback-systems.js +276 -0
  1329. package/scripts/test/test-init-command.ts +302 -0
  1330. package/scripts/test/test-mcp.ts +251 -0
  1331. package/scripts/test/test-runner.ts +568 -0
  1332. package/scripts/test/test-swarm-integration.sh +92 -0
  1333. package/scripts/test/test-swarm.ts +142 -0
  1334. package/scripts/test/validation-summary.ts +408 -0
  1335. package/scripts/test-cleanup-performance.sh +416 -0
  1336. package/scripts/test-dashboard-auth.cjs +203 -0
  1337. package/scripts/test-docker-deployment.sh +207 -0
  1338. package/scripts/test-npm-package.cjs +167 -0
  1339. package/scripts/test-provider-routing.cjs +226 -0
  1340. package/scripts/test-routing-telemetry.cjs +147 -0
  1341. package/scripts/test-runner.cjs +154 -0
  1342. package/scripts/test-zai-10k.cjs +81 -0
  1343. package/scripts/test-zai-api.cjs +191 -0
  1344. package/scripts/test-zai-diagnostic.cjs +151 -0
  1345. package/scripts/test-zai-final.cjs +128 -0
  1346. package/scripts/test-zai-with-env.cjs +85 -0
  1347. package/scripts/toggle-cost-savings.cjs +302 -0
  1348. package/scripts/unified-memory-monitor.js +526 -0
  1349. package/scripts/utils/README.md +261 -0
  1350. package/scripts/utils/clean-build-artifacts.sh +94 -0
  1351. package/scripts/utils/cleanup-root.sh +69 -0
  1352. package/scripts/utils/fix-cliffy-imports.js +307 -0
  1353. package/scripts/utils/fix-duplicate-imports.js +114 -0
  1354. package/scripts/utils/fix-error-handling.cjs +70 -0
  1355. package/scripts/utils/fix-import-paths.js +104 -0
  1356. package/scripts/utils/fix-imports.js +116 -0
  1357. package/scripts/utils/fix-shebang.js +78 -0
  1358. package/scripts/utils/fix-test-modules.js +27 -0
  1359. package/scripts/utils/fix-timezone-issue-246.js +200 -0
  1360. package/scripts/utils/fix-ts-comprehensive.py +182 -0
  1361. package/scripts/utils/fix-ts-targeted-batch.js +250 -0
  1362. package/scripts/utils/remove-benchmark-conflicts.sh +140 -0
  1363. package/scripts/utils/simple-test-fixer.js +190 -0
  1364. package/scripts/utils/validate-metrics-structure.cjs +144 -0
  1365. package/scripts/validate-agent-hooks.js +506 -0
  1366. package/scripts/validate-changelog.js +241 -0
  1367. package/scripts/validate-coordination-cli.js +69 -0
  1368. package/scripts/validate-coordination-toggle-integration.cjs +501 -0
  1369. package/scripts/validate-docker-infrastructure.sh +502 -0
  1370. package/scripts/validate-entry-points.js +300 -0
  1371. package/scripts/validate-memory-monitoring.sh +225 -0
  1372. package/scripts/validate-stage3-performance.ts +377 -0
  1373. package/scripts/validate-template-bundling.js +180 -0
  1374. package/scripts/validation/README.md +33 -0
  1375. package/scripts/validation/acl-security-validation.cjs +214 -0
  1376. package/scripts/validation/acl-security-validation.js +402 -0
  1377. package/scripts/validation/byzantine-verification.js +407 -0
  1378. package/scripts/validation/final-phase-2-consensus.cjs +219 -0
  1379. package/scripts/validation/final-security-validation.js +791 -0
  1380. package/scripts/validation/final-wasm-validation.cjs +840 -0
  1381. package/scripts/validation/integration-test-analysis.js +105 -0
  1382. package/scripts/validation/phase-0-comprehensive-validation.js +474 -0
  1383. package/scripts/validation/phase-0-consensus-report.js +139 -0
  1384. package/scripts/validation/phase-0-final-report.js +112 -0
  1385. package/scripts/validation/phase-0-redis-consensus-report.js +129 -0
  1386. package/scripts/validation/phase-0-validation-improved.js +490 -0
  1387. package/scripts/validation/phase-0-validation-test.js +65 -0
  1388. package/scripts/validation/phase-1-consensus-report.cjs +342 -0
  1389. package/scripts/validation/phase-1-consensus-validation.cjs +551 -0
  1390. package/scripts/validation/phase-1-consensus-validation.js +551 -0
  1391. package/scripts/validation/phase-2-consensus-report.cjs +186 -0
  1392. package/scripts/validation/phase-2-validation.cjs +171 -0
  1393. package/scripts/validation/phase-2-validation.js +171 -0
  1394. package/scripts/validation/phase-4-consensus-report.js +181 -0
  1395. package/scripts/validation/phase-4-final-validation.js +351 -0
  1396. package/scripts/validation/phase-5-consensus-report.cjs +113 -0
  1397. package/scripts/validation/phase-5-consensus-report.js +113 -0
  1398. package/scripts/validation/security-analysis.js +49 -0
  1399. package/scripts/validation/security-validation.js +492 -0
  1400. package/scripts/validation/simple-security-validation.js +464 -0
  1401. package/scripts/verify-installation.js +112 -0
  1402. package/scripts/verify-mcp-server.js +86 -0
  1403. package/scripts/verify-sdk-phase1.cjs +293 -0
@@ -0,0 +1,1405 @@
1
+ /*---------------------------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Licensed under the MIT License. See License.txt in the project root for license information.
4
+ *--------------------------------------------------------------------------------------------*/
5
+ import * as browser from './browser.js';
6
+ import { BrowserFeatures } from './canIUse.js';
7
+ import { StandardKeyboardEvent } from './keyboardEvent.js';
8
+ import { StandardMouseEvent } from './mouseEvent.js';
9
+ import { AbstractIdleValue, IntervalTimer, _runWhenIdle } from '../common/async.js';
10
+ import { onUnexpectedError } from '../common/errors.js';
11
+ import * as event from '../common/event.js';
12
+ import * as dompurify from './dompurify/dompurify.js';
13
+ import { Disposable, DisposableStore, toDisposable } from '../common/lifecycle.js';
14
+ import { FileAccess, RemoteAuthorities } from '../common/network.js';
15
+ import * as platform from '../common/platform.js';
16
+ import { hash } from '../common/hash.js';
17
+ import { ensureCodeWindow, mainWindow } from './window.js';
18
+ //# region Multi-Window Support Utilities
19
+ export const { registerWindow, getWindow, getDocument, getWindows, getWindowsCount, getWindowId, getWindowById, hasWindow, onDidRegisterWindow, onWillUnregisterWindow, onDidUnregisterWindow } = (function () {
20
+ const windows = new Map();
21
+ ensureCodeWindow(mainWindow, 1);
22
+ windows.set(mainWindow.vscodeWindowId, { window: mainWindow, disposables: new DisposableStore() });
23
+ const onDidRegisterWindow = new event.Emitter();
24
+ const onDidUnregisterWindow = new event.Emitter();
25
+ const onWillUnregisterWindow = new event.Emitter();
26
+ return {
27
+ onDidRegisterWindow: onDidRegisterWindow.event,
28
+ onWillUnregisterWindow: onWillUnregisterWindow.event,
29
+ onDidUnregisterWindow: onDidUnregisterWindow.event,
30
+ registerWindow(window) {
31
+ if (windows.has(window.vscodeWindowId)) {
32
+ return Disposable.None;
33
+ }
34
+ const disposables = new DisposableStore();
35
+ const registeredWindow = {
36
+ window,
37
+ disposables: disposables.add(new DisposableStore())
38
+ };
39
+ windows.set(window.vscodeWindowId, registeredWindow);
40
+ disposables.add(toDisposable(() => {
41
+ windows.delete(window.vscodeWindowId);
42
+ onDidUnregisterWindow.fire(window);
43
+ }));
44
+ disposables.add(addDisposableListener(window, EventType.BEFORE_UNLOAD, () => {
45
+ onWillUnregisterWindow.fire(window);
46
+ }));
47
+ onDidRegisterWindow.fire(registeredWindow);
48
+ return disposables;
49
+ },
50
+ getWindows() {
51
+ return windows.values();
52
+ },
53
+ getWindowsCount() {
54
+ return windows.size;
55
+ },
56
+ getWindowId(targetWindow) {
57
+ return targetWindow.vscodeWindowId;
58
+ },
59
+ hasWindow(windowId) {
60
+ return windows.has(windowId);
61
+ },
62
+ getWindowById(windowId) {
63
+ return windows.get(windowId);
64
+ },
65
+ getWindow(e) {
66
+ var _a;
67
+ const candidateNode = e;
68
+ if ((_a = candidateNode === null || candidateNode === void 0 ? void 0 : candidateNode.ownerDocument) === null || _a === void 0 ? void 0 : _a.defaultView) {
69
+ return candidateNode.ownerDocument.defaultView.window;
70
+ }
71
+ const candidateEvent = e;
72
+ if (candidateEvent === null || candidateEvent === void 0 ? void 0 : candidateEvent.view) {
73
+ return candidateEvent.view.window;
74
+ }
75
+ return mainWindow;
76
+ },
77
+ getDocument(e) {
78
+ const candidateNode = e;
79
+ return getWindow(candidateNode).document;
80
+ }
81
+ };
82
+ })();
83
+ //#endregion
84
+ export function clearNode(node) {
85
+ while (node.firstChild) {
86
+ node.firstChild.remove();
87
+ }
88
+ }
89
+ class DomListener {
90
+ constructor(node, type, handler, options) {
91
+ this._node = node;
92
+ this._type = type;
93
+ this._handler = handler;
94
+ this._options = (options || false);
95
+ this._node.addEventListener(this._type, this._handler, this._options);
96
+ }
97
+ dispose() {
98
+ if (!this._handler) {
99
+ // Already disposed
100
+ return;
101
+ }
102
+ this._node.removeEventListener(this._type, this._handler, this._options);
103
+ // Prevent leakers from holding on to the dom or handler func
104
+ this._node = null;
105
+ this._handler = null;
106
+ }
107
+ }
108
+ export function addDisposableListener(node, type, handler, useCaptureOrOptions) {
109
+ return new DomListener(node, type, handler, useCaptureOrOptions);
110
+ }
111
+ function _wrapAsStandardMouseEvent(targetWindow, handler) {
112
+ return function (e) {
113
+ return handler(new StandardMouseEvent(targetWindow, e));
114
+ };
115
+ }
116
+ function _wrapAsStandardKeyboardEvent(handler) {
117
+ return function (e) {
118
+ return handler(new StandardKeyboardEvent(e));
119
+ };
120
+ }
121
+ export const addStandardDisposableListener = function addStandardDisposableListener(node, type, handler, useCapture) {
122
+ let wrapHandler = handler;
123
+ if (type === 'click' || type === 'mousedown') {
124
+ wrapHandler = _wrapAsStandardMouseEvent(getWindow(node), handler);
125
+ }
126
+ else if (type === 'keydown' || type === 'keypress' || type === 'keyup') {
127
+ wrapHandler = _wrapAsStandardKeyboardEvent(handler);
128
+ }
129
+ return addDisposableListener(node, type, wrapHandler, useCapture);
130
+ };
131
+ export const addStandardDisposableGenericMouseDownListener = function addStandardDisposableListener(node, handler, useCapture) {
132
+ const wrapHandler = _wrapAsStandardMouseEvent(getWindow(node), handler);
133
+ return addDisposableGenericMouseDownListener(node, wrapHandler, useCapture);
134
+ };
135
+ export const addStandardDisposableGenericMouseUpListener = function addStandardDisposableListener(node, handler, useCapture) {
136
+ const wrapHandler = _wrapAsStandardMouseEvent(getWindow(node), handler);
137
+ return addDisposableGenericMouseUpListener(node, wrapHandler, useCapture);
138
+ };
139
+ export function addDisposableGenericMouseDownListener(node, handler, useCapture) {
140
+ return addDisposableListener(node, platform.isIOS && BrowserFeatures.pointerEvents ? EventType.POINTER_DOWN : EventType.MOUSE_DOWN, handler, useCapture);
141
+ }
142
+ export function addDisposableGenericMouseUpListener(node, handler, useCapture) {
143
+ return addDisposableListener(node, platform.isIOS && BrowserFeatures.pointerEvents ? EventType.POINTER_UP : EventType.MOUSE_UP, handler, useCapture);
144
+ }
145
+ /**
146
+ * Execute the callback the next time the browser is idle, returning an
147
+ * {@link IDisposable} that will cancel the callback when disposed. This wraps
148
+ * [requestIdleCallback] so it will fallback to [setTimeout] if the environment
149
+ * doesn't support it.
150
+ *
151
+ * @param targetWindow The window for which to run the idle callback
152
+ * @param callback The callback to run when idle, this includes an
153
+ * [IdleDeadline] that provides the time alloted for the idle callback by the
154
+ * browser. Not respecting this deadline will result in a degraded user
155
+ * experience.
156
+ * @param timeout A timeout at which point to queue no longer wait for an idle
157
+ * callback but queue it on the regular event loop (like setTimeout). Typically
158
+ * this should not be used.
159
+ *
160
+ * [IdleDeadline]: https://developer.mozilla.org/en-US/docs/Web/API/IdleDeadline
161
+ * [requestIdleCallback]: https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
162
+ * [setTimeout]: https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout
163
+ */
164
+ export function runWhenWindowIdle(targetWindow, callback, timeout) {
165
+ return _runWhenIdle(targetWindow, callback, timeout);
166
+ }
167
+ /**
168
+ * An implementation of the "idle-until-urgent"-strategy as introduced
169
+ * here: https://philipwalton.com/articles/idle-until-urgent/
170
+ */
171
+ export class WindowIdleValue extends AbstractIdleValue {
172
+ constructor(targetWindow, executor) {
173
+ super(targetWindow, executor);
174
+ }
175
+ }
176
+ /**
177
+ * Schedule a callback to be run at the next animation frame.
178
+ * This allows multiple parties to register callbacks that should run at the next animation frame.
179
+ * If currently in an animation frame, `runner` will be executed immediately.
180
+ * @return token that can be used to cancel the scheduled runner (only if `runner` was not executed immediately).
181
+ */
182
+ export let runAtThisOrScheduleAtNextAnimationFrame;
183
+ /**
184
+ * Schedule a callback to be run at the next animation frame.
185
+ * This allows multiple parties to register callbacks that should run at the next animation frame.
186
+ * If currently in an animation frame, `runner` will be executed at the next animation frame.
187
+ * @return token that can be used to cancel the scheduled runner.
188
+ */
189
+ export let scheduleAtNextAnimationFrame;
190
+ export class WindowIntervalTimer extends IntervalTimer {
191
+ cancelAndSet(runner, interval, targetWindow) {
192
+ return super.cancelAndSet(runner, interval, targetWindow);
193
+ }
194
+ }
195
+ class AnimationFrameQueueItem {
196
+ constructor(runner, priority = 0) {
197
+ this._runner = runner;
198
+ this.priority = priority;
199
+ this._canceled = false;
200
+ }
201
+ dispose() {
202
+ this._canceled = true;
203
+ }
204
+ execute() {
205
+ if (this._canceled) {
206
+ return;
207
+ }
208
+ try {
209
+ this._runner();
210
+ }
211
+ catch (e) {
212
+ onUnexpectedError(e);
213
+ }
214
+ }
215
+ // Sort by priority (largest to lowest)
216
+ static sort(a, b) {
217
+ return b.priority - a.priority;
218
+ }
219
+ }
220
+ (function () {
221
+ /**
222
+ * The runners scheduled at the next animation frame
223
+ */
224
+ const NEXT_QUEUE = new Map();
225
+ /**
226
+ * The runners scheduled at the current animation frame
227
+ */
228
+ const CURRENT_QUEUE = new Map();
229
+ /**
230
+ * A flag to keep track if the native requestAnimationFrame was already called
231
+ */
232
+ const animFrameRequested = new Map();
233
+ /**
234
+ * A flag to indicate if currently handling a native requestAnimationFrame callback
235
+ */
236
+ const inAnimationFrameRunner = new Map();
237
+ const animationFrameRunner = (targetWindowId) => {
238
+ var _a;
239
+ animFrameRequested.set(targetWindowId, false);
240
+ const currentQueue = (_a = NEXT_QUEUE.get(targetWindowId)) !== null && _a !== void 0 ? _a : [];
241
+ CURRENT_QUEUE.set(targetWindowId, currentQueue);
242
+ NEXT_QUEUE.set(targetWindowId, []);
243
+ inAnimationFrameRunner.set(targetWindowId, true);
244
+ while (currentQueue.length > 0) {
245
+ currentQueue.sort(AnimationFrameQueueItem.sort);
246
+ const top = currentQueue.shift();
247
+ top.execute();
248
+ }
249
+ inAnimationFrameRunner.set(targetWindowId, false);
250
+ };
251
+ scheduleAtNextAnimationFrame = (targetWindow, runner, priority = 0) => {
252
+ const targetWindowId = getWindowId(targetWindow);
253
+ const item = new AnimationFrameQueueItem(runner, priority);
254
+ let nextQueue = NEXT_QUEUE.get(targetWindowId);
255
+ if (!nextQueue) {
256
+ nextQueue = [];
257
+ NEXT_QUEUE.set(targetWindowId, nextQueue);
258
+ }
259
+ nextQueue.push(item);
260
+ if (!animFrameRequested.get(targetWindowId)) {
261
+ animFrameRequested.set(targetWindowId, true);
262
+ targetWindow.requestAnimationFrame(() => animationFrameRunner(targetWindowId));
263
+ }
264
+ return item;
265
+ };
266
+ runAtThisOrScheduleAtNextAnimationFrame = (targetWindow, runner, priority) => {
267
+ const targetWindowId = getWindowId(targetWindow);
268
+ if (inAnimationFrameRunner.get(targetWindowId)) {
269
+ const item = new AnimationFrameQueueItem(runner, priority);
270
+ let currentQueue = CURRENT_QUEUE.get(targetWindowId);
271
+ if (!currentQueue) {
272
+ currentQueue = [];
273
+ CURRENT_QUEUE.set(targetWindowId, currentQueue);
274
+ }
275
+ currentQueue.push(item);
276
+ return item;
277
+ }
278
+ else {
279
+ return scheduleAtNextAnimationFrame(targetWindow, runner, priority);
280
+ }
281
+ };
282
+ })();
283
+ export function getComputedStyle(el) {
284
+ return getWindow(el).getComputedStyle(el, null);
285
+ }
286
+ export function getClientArea(element, fallback) {
287
+ const elWindow = getWindow(element);
288
+ const elDocument = elWindow.document;
289
+ // Try with DOM clientWidth / clientHeight
290
+ if (element !== elDocument.body) {
291
+ return new Dimension(element.clientWidth, element.clientHeight);
292
+ }
293
+ // If visual view port exits and it's on mobile, it should be used instead of window innerWidth / innerHeight, or document.body.clientWidth / document.body.clientHeight
294
+ if (platform.isIOS && (elWindow === null || elWindow === void 0 ? void 0 : elWindow.visualViewport)) {
295
+ return new Dimension(elWindow.visualViewport.width, elWindow.visualViewport.height);
296
+ }
297
+ // Try innerWidth / innerHeight
298
+ if ((elWindow === null || elWindow === void 0 ? void 0 : elWindow.innerWidth) && elWindow.innerHeight) {
299
+ return new Dimension(elWindow.innerWidth, elWindow.innerHeight);
300
+ }
301
+ // Try with document.body.clientWidth / document.body.clientHeight
302
+ if (elDocument.body && elDocument.body.clientWidth && elDocument.body.clientHeight) {
303
+ return new Dimension(elDocument.body.clientWidth, elDocument.body.clientHeight);
304
+ }
305
+ // Try with document.documentElement.clientWidth / document.documentElement.clientHeight
306
+ if (elDocument.documentElement && elDocument.documentElement.clientWidth && elDocument.documentElement.clientHeight) {
307
+ return new Dimension(elDocument.documentElement.clientWidth, elDocument.documentElement.clientHeight);
308
+ }
309
+ if (fallback) {
310
+ return getClientArea(fallback);
311
+ }
312
+ throw new Error('Unable to figure out browser width and height');
313
+ }
314
+ class SizeUtils {
315
+ // Adapted from WinJS
316
+ // Converts a CSS positioning string for the specified element to pixels.
317
+ static convertToPixels(element, value) {
318
+ return parseFloat(value) || 0;
319
+ }
320
+ static getDimension(element, cssPropertyName, jsPropertyName) {
321
+ const computedStyle = getComputedStyle(element);
322
+ const value = computedStyle ? computedStyle.getPropertyValue(cssPropertyName) : '0';
323
+ return SizeUtils.convertToPixels(element, value);
324
+ }
325
+ static getBorderLeftWidth(element) {
326
+ return SizeUtils.getDimension(element, 'border-left-width', 'borderLeftWidth');
327
+ }
328
+ static getBorderRightWidth(element) {
329
+ return SizeUtils.getDimension(element, 'border-right-width', 'borderRightWidth');
330
+ }
331
+ static getBorderTopWidth(element) {
332
+ return SizeUtils.getDimension(element, 'border-top-width', 'borderTopWidth');
333
+ }
334
+ static getBorderBottomWidth(element) {
335
+ return SizeUtils.getDimension(element, 'border-bottom-width', 'borderBottomWidth');
336
+ }
337
+ static getPaddingLeft(element) {
338
+ return SizeUtils.getDimension(element, 'padding-left', 'paddingLeft');
339
+ }
340
+ static getPaddingRight(element) {
341
+ return SizeUtils.getDimension(element, 'padding-right', 'paddingRight');
342
+ }
343
+ static getPaddingTop(element) {
344
+ return SizeUtils.getDimension(element, 'padding-top', 'paddingTop');
345
+ }
346
+ static getPaddingBottom(element) {
347
+ return SizeUtils.getDimension(element, 'padding-bottom', 'paddingBottom');
348
+ }
349
+ static getMarginLeft(element) {
350
+ return SizeUtils.getDimension(element, 'margin-left', 'marginLeft');
351
+ }
352
+ static getMarginTop(element) {
353
+ return SizeUtils.getDimension(element, 'margin-top', 'marginTop');
354
+ }
355
+ static getMarginRight(element) {
356
+ return SizeUtils.getDimension(element, 'margin-right', 'marginRight');
357
+ }
358
+ static getMarginBottom(element) {
359
+ return SizeUtils.getDimension(element, 'margin-bottom', 'marginBottom');
360
+ }
361
+ }
362
+ export class Dimension {
363
+ constructor(width, height) {
364
+ this.width = width;
365
+ this.height = height;
366
+ }
367
+ with(width = this.width, height = this.height) {
368
+ if (width !== this.width || height !== this.height) {
369
+ return new Dimension(width, height);
370
+ }
371
+ else {
372
+ return this;
373
+ }
374
+ }
375
+ static is(obj) {
376
+ return typeof obj === 'object' && typeof obj.height === 'number' && typeof obj.width === 'number';
377
+ }
378
+ static lift(obj) {
379
+ if (obj instanceof Dimension) {
380
+ return obj;
381
+ }
382
+ else {
383
+ return new Dimension(obj.width, obj.height);
384
+ }
385
+ }
386
+ static equals(a, b) {
387
+ if (a === b) {
388
+ return true;
389
+ }
390
+ if (!a || !b) {
391
+ return false;
392
+ }
393
+ return a.width === b.width && a.height === b.height;
394
+ }
395
+ }
396
+ Dimension.None = new Dimension(0, 0);
397
+ export function getTopLeftOffset(element) {
398
+ // Adapted from WinJS.Utilities.getPosition
399
+ // and added borders to the mix
400
+ let offsetParent = element.offsetParent;
401
+ let top = element.offsetTop;
402
+ let left = element.offsetLeft;
403
+ while ((element = element.parentNode) !== null
404
+ && element !== element.ownerDocument.body
405
+ && element !== element.ownerDocument.documentElement) {
406
+ top -= element.scrollTop;
407
+ const c = isShadowRoot(element) ? null : getComputedStyle(element);
408
+ if (c) {
409
+ left -= c.direction !== 'rtl' ? element.scrollLeft : -element.scrollLeft;
410
+ }
411
+ if (element === offsetParent) {
412
+ left += SizeUtils.getBorderLeftWidth(element);
413
+ top += SizeUtils.getBorderTopWidth(element);
414
+ top += element.offsetTop;
415
+ left += element.offsetLeft;
416
+ offsetParent = element.offsetParent;
417
+ }
418
+ }
419
+ return {
420
+ left: left,
421
+ top: top
422
+ };
423
+ }
424
+ export function size(element, width, height) {
425
+ if (typeof width === 'number') {
426
+ element.style.width = `${width}px`;
427
+ }
428
+ if (typeof height === 'number') {
429
+ element.style.height = `${height}px`;
430
+ }
431
+ }
432
+ /**
433
+ * Returns the position of a dom node relative to the entire page.
434
+ */
435
+ export function getDomNodePagePosition(domNode) {
436
+ const bb = domNode.getBoundingClientRect();
437
+ const window = getWindow(domNode);
438
+ return {
439
+ left: bb.left + window.scrollX,
440
+ top: bb.top + window.scrollY,
441
+ width: bb.width,
442
+ height: bb.height
443
+ };
444
+ }
445
+ /**
446
+ * Returns the effective zoom on a given element before window zoom level is applied
447
+ */
448
+ export function getDomNodeZoomLevel(domNode) {
449
+ let testElement = domNode;
450
+ let zoom = 1.0;
451
+ do {
452
+ const elementZoomLevel = getComputedStyle(testElement).zoom;
453
+ if (elementZoomLevel !== null && elementZoomLevel !== undefined && elementZoomLevel !== '1') {
454
+ zoom *= elementZoomLevel;
455
+ }
456
+ testElement = testElement.parentElement;
457
+ } while (testElement !== null && testElement !== testElement.ownerDocument.documentElement);
458
+ return zoom;
459
+ }
460
+ // Adapted from WinJS
461
+ // Gets the width of the element, including margins.
462
+ export function getTotalWidth(element) {
463
+ const margin = SizeUtils.getMarginLeft(element) + SizeUtils.getMarginRight(element);
464
+ return element.offsetWidth + margin;
465
+ }
466
+ export function getContentWidth(element) {
467
+ const border = SizeUtils.getBorderLeftWidth(element) + SizeUtils.getBorderRightWidth(element);
468
+ const padding = SizeUtils.getPaddingLeft(element) + SizeUtils.getPaddingRight(element);
469
+ return element.offsetWidth - border - padding;
470
+ }
471
+ // Adapted from WinJS
472
+ // Gets the height of the content of the specified element. The content height does not include borders or padding.
473
+ export function getContentHeight(element) {
474
+ const border = SizeUtils.getBorderTopWidth(element) + SizeUtils.getBorderBottomWidth(element);
475
+ const padding = SizeUtils.getPaddingTop(element) + SizeUtils.getPaddingBottom(element);
476
+ return element.offsetHeight - border - padding;
477
+ }
478
+ // Adapted from WinJS
479
+ // Gets the height of the element, including its margins.
480
+ export function getTotalHeight(element) {
481
+ const margin = SizeUtils.getMarginTop(element) + SizeUtils.getMarginBottom(element);
482
+ return element.offsetHeight + margin;
483
+ }
484
+ // ----------------------------------------------------------------------------------------
485
+ export function isAncestor(testChild, testAncestor) {
486
+ return Boolean(testAncestor === null || testAncestor === void 0 ? void 0 : testAncestor.contains(testChild));
487
+ }
488
+ export function findParentWithClass(node, clazz, stopAtClazzOrNode) {
489
+ while (node && node.nodeType === node.ELEMENT_NODE) {
490
+ if (node.classList.contains(clazz)) {
491
+ return node;
492
+ }
493
+ if (stopAtClazzOrNode) {
494
+ if (typeof stopAtClazzOrNode === 'string') {
495
+ if (node.classList.contains(stopAtClazzOrNode)) {
496
+ return null;
497
+ }
498
+ }
499
+ else {
500
+ if (node === stopAtClazzOrNode) {
501
+ return null;
502
+ }
503
+ }
504
+ }
505
+ node = node.parentNode;
506
+ }
507
+ return null;
508
+ }
509
+ export function hasParentWithClass(node, clazz, stopAtClazzOrNode) {
510
+ return !!findParentWithClass(node, clazz, stopAtClazzOrNode);
511
+ }
512
+ export function isShadowRoot(node) {
513
+ return (node && !!node.host && !!node.mode);
514
+ }
515
+ export function isInShadowDOM(domNode) {
516
+ return !!getShadowRoot(domNode);
517
+ }
518
+ export function getShadowRoot(domNode) {
519
+ var _a;
520
+ while (domNode.parentNode) {
521
+ if (domNode === ((_a = domNode.ownerDocument) === null || _a === void 0 ? void 0 : _a.body)) {
522
+ // reached the body
523
+ return null;
524
+ }
525
+ domNode = domNode.parentNode;
526
+ }
527
+ return isShadowRoot(domNode) ? domNode : null;
528
+ }
529
+ /**
530
+ * Returns the active element across all child windows.
531
+ * Use this instead of `document.activeElement` to handle multiple windows.
532
+ */
533
+ export function getActiveElement() {
534
+ let result = getActiveDocument().activeElement;
535
+ while (result === null || result === void 0 ? void 0 : result.shadowRoot) {
536
+ result = result.shadowRoot.activeElement;
537
+ }
538
+ return result;
539
+ }
540
+ /**
541
+ * Returns whether the active element of the `document` that owns
542
+ * the `element` is `element`.
543
+ */
544
+ export function isActiveElement(element) {
545
+ return element.ownerDocument.activeElement === element;
546
+ }
547
+ /**
548
+ * Returns whether the active element of the `document` that owns
549
+ * the `ancestor` is contained in `ancestor`.
550
+ */
551
+ export function isAncestorOfActiveElement(ancestor) {
552
+ return isAncestor(ancestor.ownerDocument.activeElement, ancestor);
553
+ }
554
+ /**
555
+ * Returns the active document across all child windows.
556
+ * Use this instead of `document` when reacting to dom
557
+ * events to handle multiple windows.
558
+ */
559
+ export function getActiveDocument() {
560
+ var _a;
561
+ if (getWindowsCount() <= 1) {
562
+ return document;
563
+ }
564
+ const documents = Array.from(getWindows()).map(({ window }) => window.document);
565
+ return (_a = documents.find(doc => doc.hasFocus())) !== null && _a !== void 0 ? _a : document;
566
+ }
567
+ export function getActiveWindow() {
568
+ var _a, _b;
569
+ const document = getActiveDocument();
570
+ return ((_b = (_a = document.defaultView) === null || _a === void 0 ? void 0 : _a.window) !== null && _b !== void 0 ? _b : mainWindow);
571
+ }
572
+ const globalStylesheets = new Map();
573
+ export function createStyleSheet(container = mainWindow.document.head, beforeAppend, disposableStore) {
574
+ const style = document.createElement('style');
575
+ style.type = 'text/css';
576
+ style.media = 'screen';
577
+ beforeAppend === null || beforeAppend === void 0 ? void 0 : beforeAppend(style);
578
+ container.appendChild(style);
579
+ if (disposableStore) {
580
+ disposableStore.add(toDisposable(() => container.removeChild(style)));
581
+ }
582
+ // With <head> as container, the stylesheet becomes global and is tracked
583
+ // to support auxiliary windows to clone the stylesheet.
584
+ if (container === mainWindow.document.head) {
585
+ const globalStylesheetClones = new Set();
586
+ globalStylesheets.set(style, globalStylesheetClones);
587
+ for (const { window: targetWindow, disposables } of getWindows()) {
588
+ if (targetWindow === mainWindow) {
589
+ continue; // main window is already tracked
590
+ }
591
+ const cloneDisposable = disposables.add(cloneGlobalStyleSheet(style, globalStylesheetClones, targetWindow));
592
+ disposableStore === null || disposableStore === void 0 ? void 0 : disposableStore.add(cloneDisposable);
593
+ }
594
+ }
595
+ return style;
596
+ }
597
+ function cloneGlobalStyleSheet(globalStylesheet, globalStylesheetClones, targetWindow) {
598
+ var _a, _b;
599
+ const disposables = new DisposableStore();
600
+ const clone = globalStylesheet.cloneNode(true);
601
+ targetWindow.document.head.appendChild(clone);
602
+ disposables.add(toDisposable(() => targetWindow.document.head.removeChild(clone)));
603
+ for (const rule of getDynamicStyleSheetRules(globalStylesheet)) {
604
+ (_a = clone.sheet) === null || _a === void 0 ? void 0 : _a.insertRule(rule.cssText, (_b = clone.sheet) === null || _b === void 0 ? void 0 : _b.cssRules.length);
605
+ }
606
+ disposables.add(sharedMutationObserver.observe(globalStylesheet, disposables, { childList: true })(() => {
607
+ clone.textContent = globalStylesheet.textContent;
608
+ }));
609
+ globalStylesheetClones.add(clone);
610
+ disposables.add(toDisposable(() => globalStylesheetClones.delete(clone)));
611
+ return disposables;
612
+ }
613
+ export const sharedMutationObserver = new class {
614
+ constructor() {
615
+ this.mutationObservers = new Map();
616
+ }
617
+ observe(target, disposables, options) {
618
+ let mutationObserversPerTarget = this.mutationObservers.get(target);
619
+ if (!mutationObserversPerTarget) {
620
+ mutationObserversPerTarget = new Map();
621
+ this.mutationObservers.set(target, mutationObserversPerTarget);
622
+ }
623
+ const optionsHash = hash(options);
624
+ let mutationObserverPerOptions = mutationObserversPerTarget.get(optionsHash);
625
+ if (!mutationObserverPerOptions) {
626
+ const onDidMutate = new event.Emitter();
627
+ const observer = new MutationObserver(mutations => onDidMutate.fire(mutations));
628
+ observer.observe(target, options);
629
+ const resolvedMutationObserverPerOptions = mutationObserverPerOptions = {
630
+ users: 1,
631
+ observer,
632
+ onDidMutate: onDidMutate.event
633
+ };
634
+ disposables.add(toDisposable(() => {
635
+ resolvedMutationObserverPerOptions.users -= 1;
636
+ if (resolvedMutationObserverPerOptions.users === 0) {
637
+ onDidMutate.dispose();
638
+ observer.disconnect();
639
+ mutationObserversPerTarget === null || mutationObserversPerTarget === void 0 ? void 0 : mutationObserversPerTarget.delete(optionsHash);
640
+ if ((mutationObserversPerTarget === null || mutationObserversPerTarget === void 0 ? void 0 : mutationObserversPerTarget.size) === 0) {
641
+ this.mutationObservers.delete(target);
642
+ }
643
+ }
644
+ }));
645
+ mutationObserversPerTarget.set(optionsHash, mutationObserverPerOptions);
646
+ }
647
+ else {
648
+ mutationObserverPerOptions.users += 1;
649
+ }
650
+ return mutationObserverPerOptions.onDidMutate;
651
+ }
652
+ };
653
+ let _sharedStyleSheet = null;
654
+ function getSharedStyleSheet() {
655
+ if (!_sharedStyleSheet) {
656
+ _sharedStyleSheet = createStyleSheet();
657
+ }
658
+ return _sharedStyleSheet;
659
+ }
660
+ function getDynamicStyleSheetRules(style) {
661
+ var _a, _b;
662
+ if ((_a = style === null || style === void 0 ? void 0 : style.sheet) === null || _a === void 0 ? void 0 : _a.rules) {
663
+ // Chrome, IE
664
+ return style.sheet.rules;
665
+ }
666
+ if ((_b = style === null || style === void 0 ? void 0 : style.sheet) === null || _b === void 0 ? void 0 : _b.cssRules) {
667
+ // FF
668
+ return style.sheet.cssRules;
669
+ }
670
+ return [];
671
+ }
672
+ export function createCSSRule(selector, cssText, style = getSharedStyleSheet()) {
673
+ var _a, _b;
674
+ if (!style || !cssText) {
675
+ return;
676
+ }
677
+ (_a = style.sheet) === null || _a === void 0 ? void 0 : _a.insertRule(`${selector} {${cssText}}`, 0);
678
+ // Apply rule also to all cloned global stylesheets
679
+ for (const clonedGlobalStylesheet of (_b = globalStylesheets.get(style)) !== null && _b !== void 0 ? _b : []) {
680
+ createCSSRule(selector, cssText, clonedGlobalStylesheet);
681
+ }
682
+ }
683
+ export function removeCSSRulesContainingSelector(ruleName, style = getSharedStyleSheet()) {
684
+ var _a, _b;
685
+ if (!style) {
686
+ return;
687
+ }
688
+ const rules = getDynamicStyleSheetRules(style);
689
+ const toDelete = [];
690
+ for (let i = 0; i < rules.length; i++) {
691
+ const rule = rules[i];
692
+ if (isCSSStyleRule(rule) && rule.selectorText.indexOf(ruleName) !== -1) {
693
+ toDelete.push(i);
694
+ }
695
+ }
696
+ for (let i = toDelete.length - 1; i >= 0; i--) {
697
+ (_a = style.sheet) === null || _a === void 0 ? void 0 : _a.deleteRule(toDelete[i]);
698
+ }
699
+ // Remove rules also from all cloned global stylesheets
700
+ for (const clonedGlobalStylesheet of (_b = globalStylesheets.get(style)) !== null && _b !== void 0 ? _b : []) {
701
+ removeCSSRulesContainingSelector(ruleName, clonedGlobalStylesheet);
702
+ }
703
+ }
704
+ function isCSSStyleRule(rule) {
705
+ return typeof rule.selectorText === 'string';
706
+ }
707
+ export function isMouseEvent(e) {
708
+ // eslint-disable-next-line no-restricted-syntax
709
+ return e instanceof MouseEvent || e instanceof getWindow(e).MouseEvent;
710
+ }
711
+ export function isKeyboardEvent(e) {
712
+ // eslint-disable-next-line no-restricted-syntax
713
+ return e instanceof KeyboardEvent || e instanceof getWindow(e).KeyboardEvent;
714
+ }
715
+ export const EventType = {
716
+ // Mouse
717
+ CLICK: 'click',
718
+ AUXCLICK: 'auxclick',
719
+ DBLCLICK: 'dblclick',
720
+ MOUSE_UP: 'mouseup',
721
+ MOUSE_DOWN: 'mousedown',
722
+ MOUSE_OVER: 'mouseover',
723
+ MOUSE_MOVE: 'mousemove',
724
+ MOUSE_OUT: 'mouseout',
725
+ MOUSE_ENTER: 'mouseenter',
726
+ MOUSE_LEAVE: 'mouseleave',
727
+ MOUSE_WHEEL: 'wheel',
728
+ POINTER_UP: 'pointerup',
729
+ POINTER_DOWN: 'pointerdown',
730
+ POINTER_MOVE: 'pointermove',
731
+ POINTER_LEAVE: 'pointerleave',
732
+ CONTEXT_MENU: 'contextmenu',
733
+ WHEEL: 'wheel',
734
+ // Keyboard
735
+ KEY_DOWN: 'keydown',
736
+ KEY_PRESS: 'keypress',
737
+ KEY_UP: 'keyup',
738
+ // HTML Document
739
+ LOAD: 'load',
740
+ BEFORE_UNLOAD: 'beforeunload',
741
+ UNLOAD: 'unload',
742
+ PAGE_SHOW: 'pageshow',
743
+ PAGE_HIDE: 'pagehide',
744
+ PASTE: 'paste',
745
+ ABORT: 'abort',
746
+ ERROR: 'error',
747
+ RESIZE: 'resize',
748
+ SCROLL: 'scroll',
749
+ FULLSCREEN_CHANGE: 'fullscreenchange',
750
+ WK_FULLSCREEN_CHANGE: 'webkitfullscreenchange',
751
+ // Form
752
+ SELECT: 'select',
753
+ CHANGE: 'change',
754
+ SUBMIT: 'submit',
755
+ RESET: 'reset',
756
+ FOCUS: 'focus',
757
+ FOCUS_IN: 'focusin',
758
+ FOCUS_OUT: 'focusout',
759
+ BLUR: 'blur',
760
+ INPUT: 'input',
761
+ // Local Storage
762
+ STORAGE: 'storage',
763
+ // Drag
764
+ DRAG_START: 'dragstart',
765
+ DRAG: 'drag',
766
+ DRAG_ENTER: 'dragenter',
767
+ DRAG_LEAVE: 'dragleave',
768
+ DRAG_OVER: 'dragover',
769
+ DROP: 'drop',
770
+ DRAG_END: 'dragend',
771
+ // Animation
772
+ ANIMATION_START: browser.isWebKit ? 'webkitAnimationStart' : 'animationstart',
773
+ ANIMATION_END: browser.isWebKit ? 'webkitAnimationEnd' : 'animationend',
774
+ ANIMATION_ITERATION: browser.isWebKit ? 'webkitAnimationIteration' : 'animationiteration'
775
+ };
776
+ export function isEventLike(obj) {
777
+ const candidate = obj;
778
+ return !!(candidate && typeof candidate.preventDefault === 'function' && typeof candidate.stopPropagation === 'function');
779
+ }
780
+ export const EventHelper = {
781
+ stop: (e, cancelBubble) => {
782
+ e.preventDefault();
783
+ if (cancelBubble) {
784
+ e.stopPropagation();
785
+ }
786
+ return e;
787
+ }
788
+ };
789
+ export function saveParentsScrollTop(node) {
790
+ const r = [];
791
+ for (let i = 0; node && node.nodeType === node.ELEMENT_NODE; i++) {
792
+ r[i] = node.scrollTop;
793
+ node = node.parentNode;
794
+ }
795
+ return r;
796
+ }
797
+ export function restoreParentsScrollTop(node, state) {
798
+ for (let i = 0; node && node.nodeType === node.ELEMENT_NODE; i++) {
799
+ if (node.scrollTop !== state[i]) {
800
+ node.scrollTop = state[i];
801
+ }
802
+ node = node.parentNode;
803
+ }
804
+ }
805
+ class FocusTracker extends Disposable {
806
+ static hasFocusWithin(element) {
807
+ if (element instanceof HTMLElement) {
808
+ const shadowRoot = getShadowRoot(element);
809
+ const activeElement = (shadowRoot ? shadowRoot.activeElement : element.ownerDocument.activeElement);
810
+ return isAncestor(activeElement, element);
811
+ }
812
+ else {
813
+ const window = element;
814
+ return isAncestor(window.document.activeElement, window.document);
815
+ }
816
+ }
817
+ constructor(element) {
818
+ super();
819
+ this._onDidFocus = this._register(new event.Emitter());
820
+ this.onDidFocus = this._onDidFocus.event;
821
+ this._onDidBlur = this._register(new event.Emitter());
822
+ this.onDidBlur = this._onDidBlur.event;
823
+ let hasFocus = FocusTracker.hasFocusWithin(element);
824
+ let loosingFocus = false;
825
+ const onFocus = () => {
826
+ loosingFocus = false;
827
+ if (!hasFocus) {
828
+ hasFocus = true;
829
+ this._onDidFocus.fire();
830
+ }
831
+ };
832
+ const onBlur = () => {
833
+ if (hasFocus) {
834
+ loosingFocus = true;
835
+ (element instanceof HTMLElement ? getWindow(element) : element).setTimeout(() => {
836
+ if (loosingFocus) {
837
+ loosingFocus = false;
838
+ hasFocus = false;
839
+ this._onDidBlur.fire();
840
+ }
841
+ }, 0);
842
+ }
843
+ };
844
+ this._refreshStateHandler = () => {
845
+ const currentNodeHasFocus = FocusTracker.hasFocusWithin(element);
846
+ if (currentNodeHasFocus !== hasFocus) {
847
+ if (hasFocus) {
848
+ onBlur();
849
+ }
850
+ else {
851
+ onFocus();
852
+ }
853
+ }
854
+ };
855
+ this._register(addDisposableListener(element, EventType.FOCUS, onFocus, true));
856
+ this._register(addDisposableListener(element, EventType.BLUR, onBlur, true));
857
+ if (element instanceof HTMLElement) {
858
+ this._register(addDisposableListener(element, EventType.FOCUS_IN, () => this._refreshStateHandler()));
859
+ this._register(addDisposableListener(element, EventType.FOCUS_OUT, () => this._refreshStateHandler()));
860
+ }
861
+ }
862
+ }
863
+ /**
864
+ * Creates a new `IFocusTracker` instance that tracks focus changes on the given `element` and its descendants.
865
+ *
866
+ * @param element The `HTMLElement` or `Window` to track focus changes on.
867
+ * @returns An `IFocusTracker` instance.
868
+ */
869
+ export function trackFocus(element) {
870
+ return new FocusTracker(element);
871
+ }
872
+ export function after(sibling, child) {
873
+ sibling.after(child);
874
+ return child;
875
+ }
876
+ export function append(parent, ...children) {
877
+ parent.append(...children);
878
+ if (children.length === 1 && typeof children[0] !== 'string') {
879
+ return children[0];
880
+ }
881
+ }
882
+ export function prepend(parent, child) {
883
+ parent.insertBefore(child, parent.firstChild);
884
+ return child;
885
+ }
886
+ /**
887
+ * Removes all children from `parent` and appends `children`
888
+ */
889
+ export function reset(parent, ...children) {
890
+ parent.innerText = '';
891
+ append(parent, ...children);
892
+ }
893
+ const SELECTOR_REGEX = /([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;
894
+ export var Namespace;
895
+ (function (Namespace) {
896
+ Namespace["HTML"] = "http://www.w3.org/1999/xhtml";
897
+ Namespace["SVG"] = "http://www.w3.org/2000/svg";
898
+ })(Namespace || (Namespace = {}));
899
+ function _$(namespace, description, attrs, ...children) {
900
+ const match = SELECTOR_REGEX.exec(description);
901
+ if (!match) {
902
+ throw new Error('Bad use of emmet');
903
+ }
904
+ const tagName = match[1] || 'div';
905
+ let result;
906
+ if (namespace !== Namespace.HTML) {
907
+ result = document.createElementNS(namespace, tagName);
908
+ }
909
+ else {
910
+ result = document.createElement(tagName);
911
+ }
912
+ if (match[3]) {
913
+ result.id = match[3];
914
+ }
915
+ if (match[4]) {
916
+ result.className = match[4].replace(/\./g, ' ').trim();
917
+ }
918
+ if (attrs) {
919
+ Object.entries(attrs).forEach(([name, value]) => {
920
+ if (typeof value === 'undefined') {
921
+ return;
922
+ }
923
+ if (/^on\w+$/.test(name)) {
924
+ result[name] = value;
925
+ }
926
+ else if (name === 'selected') {
927
+ if (value) {
928
+ result.setAttribute(name, 'true');
929
+ }
930
+ }
931
+ else {
932
+ result.setAttribute(name, value);
933
+ }
934
+ });
935
+ }
936
+ result.append(...children);
937
+ return result;
938
+ }
939
+ export function $(description, attrs, ...children) {
940
+ return _$(Namespace.HTML, description, attrs, ...children);
941
+ }
942
+ $.SVG = function (description, attrs, ...children) {
943
+ return _$(Namespace.SVG, description, attrs, ...children);
944
+ };
945
+ export function setVisibility(visible, ...elements) {
946
+ if (visible) {
947
+ show(...elements);
948
+ }
949
+ else {
950
+ hide(...elements);
951
+ }
952
+ }
953
+ export function show(...elements) {
954
+ for (const element of elements) {
955
+ element.style.display = '';
956
+ element.removeAttribute('aria-hidden');
957
+ }
958
+ }
959
+ export function hide(...elements) {
960
+ for (const element of elements) {
961
+ element.style.display = 'none';
962
+ element.setAttribute('aria-hidden', 'true');
963
+ }
964
+ }
965
+ /**
966
+ * Find a value usable for a dom node size such that the likelihood that it would be
967
+ * displayed with constant screen pixels size is as high as possible.
968
+ *
969
+ * e.g. We would desire for the cursors to be 2px (CSS px) wide. Under a devicePixelRatio
970
+ * of 1.25, the cursor will be 2.5 screen pixels wide. Depending on how the dom node aligns/"snaps"
971
+ * with the screen pixels, it will sometimes be rendered with 2 screen pixels, and sometimes with 3 screen pixels.
972
+ */
973
+ export function computeScreenAwareSize(window, cssPx) {
974
+ const screenPx = window.devicePixelRatio * cssPx;
975
+ return Math.max(1, Math.floor(screenPx)) / window.devicePixelRatio;
976
+ }
977
+ /**
978
+ * Open safely a new window. This is the best way to do so, but you cannot tell
979
+ * if the window was opened or if it was blocked by the browser's popup blocker.
980
+ * If you want to tell if the browser blocked the new window, use {@link windowOpenWithSuccess}.
981
+ *
982
+ * See https://github.com/microsoft/monaco-editor/issues/601
983
+ * To protect against malicious code in the linked site, particularly phishing attempts,
984
+ * the window.opener should be set to null to prevent the linked site from having access
985
+ * to change the location of the current page.
986
+ * See https://mathiasbynens.github.io/rel-noopener/
987
+ */
988
+ export function windowOpenNoOpener(url) {
989
+ // By using 'noopener' in the `windowFeatures` argument, the newly created window will
990
+ // not be able to use `window.opener` to reach back to the current page.
991
+ // See https://stackoverflow.com/a/46958731
992
+ // See https://developer.mozilla.org/en-US/docs/Web/API/Window/open#noopener
993
+ // However, this also doesn't allow us to realize if the browser blocked
994
+ // the creation of the window.
995
+ mainWindow.open(url, '_blank', 'noopener');
996
+ }
997
+ export function animate(targetWindow, fn) {
998
+ const step = () => {
999
+ fn();
1000
+ stepDisposable = scheduleAtNextAnimationFrame(targetWindow, step);
1001
+ };
1002
+ let stepDisposable = scheduleAtNextAnimationFrame(targetWindow, step);
1003
+ return toDisposable(() => stepDisposable.dispose());
1004
+ }
1005
+ RemoteAuthorities.setPreferredWebSchema(/^https:/.test(mainWindow.location.href) ? 'https' : 'http');
1006
+ /**
1007
+ * returns url('...')
1008
+ */
1009
+ export function asCSSUrl(uri) {
1010
+ if (!uri) {
1011
+ return `url('')`;
1012
+ }
1013
+ return `url('${FileAccess.uriToBrowserUri(uri).toString(true).replace(/'/g, '%27')}')`;
1014
+ }
1015
+ export function asCSSPropertyValue(value) {
1016
+ return `'${value.replace(/'/g, '%27')}'`;
1017
+ }
1018
+ export function asCssValueWithDefault(cssPropertyValue, dflt) {
1019
+ if (cssPropertyValue !== undefined) {
1020
+ const variableMatch = cssPropertyValue.match(/^\s*var\((.+)\)$/);
1021
+ if (variableMatch) {
1022
+ const varArguments = variableMatch[1].split(',', 2);
1023
+ if (varArguments.length === 2) {
1024
+ dflt = asCssValueWithDefault(varArguments[1].trim(), dflt);
1025
+ }
1026
+ return `var(${varArguments[0]}, ${dflt})`;
1027
+ }
1028
+ return cssPropertyValue;
1029
+ }
1030
+ return dflt;
1031
+ }
1032
+ // -- sanitize and trusted html
1033
+ /**
1034
+ * Hooks dompurify using `afterSanitizeAttributes` to check that all `href` and `src`
1035
+ * attributes are valid.
1036
+ */
1037
+ export function hookDomPurifyHrefAndSrcSanitizer(allowedProtocols, allowDataImages = false) {
1038
+ // https://github.com/cure53/DOMPurify/blob/main/demos/hooks-scheme-allowlist.html
1039
+ // build an anchor to map URLs to
1040
+ const anchor = document.createElement('a');
1041
+ dompurify.addHook('afterSanitizeAttributes', (node) => {
1042
+ // check all href/src attributes for validity
1043
+ for (const attr of ['href', 'src']) {
1044
+ if (node.hasAttribute(attr)) {
1045
+ const attrValue = node.getAttribute(attr);
1046
+ if (attr === 'href' && attrValue.startsWith('#')) {
1047
+ // Allow fragment links
1048
+ continue;
1049
+ }
1050
+ anchor.href = attrValue;
1051
+ if (!allowedProtocols.includes(anchor.protocol.replace(/:$/, ''))) {
1052
+ if (allowDataImages && attr === 'src' && anchor.href.startsWith('data:')) {
1053
+ continue;
1054
+ }
1055
+ node.removeAttribute(attr);
1056
+ }
1057
+ }
1058
+ }
1059
+ });
1060
+ return toDisposable(() => {
1061
+ dompurify.removeHook('afterSanitizeAttributes');
1062
+ });
1063
+ }
1064
+ /**
1065
+ * List of safe, non-input html tags.
1066
+ */
1067
+ export const basicMarkupHtmlTags = Object.freeze([
1068
+ 'a',
1069
+ 'abbr',
1070
+ 'b',
1071
+ 'bdo',
1072
+ 'blockquote',
1073
+ 'br',
1074
+ 'caption',
1075
+ 'cite',
1076
+ 'code',
1077
+ 'col',
1078
+ 'colgroup',
1079
+ 'dd',
1080
+ 'del',
1081
+ 'details',
1082
+ 'dfn',
1083
+ 'div',
1084
+ 'dl',
1085
+ 'dt',
1086
+ 'em',
1087
+ 'figcaption',
1088
+ 'figure',
1089
+ 'h1',
1090
+ 'h2',
1091
+ 'h3',
1092
+ 'h4',
1093
+ 'h5',
1094
+ 'h6',
1095
+ 'hr',
1096
+ 'i',
1097
+ 'img',
1098
+ 'ins',
1099
+ 'kbd',
1100
+ 'label',
1101
+ 'li',
1102
+ 'mark',
1103
+ 'ol',
1104
+ 'p',
1105
+ 'pre',
1106
+ 'q',
1107
+ 'rp',
1108
+ 'rt',
1109
+ 'ruby',
1110
+ 'samp',
1111
+ 'small',
1112
+ 'small',
1113
+ 'source',
1114
+ 'span',
1115
+ 'strike',
1116
+ 'strong',
1117
+ 'sub',
1118
+ 'summary',
1119
+ 'sup',
1120
+ 'table',
1121
+ 'tbody',
1122
+ 'td',
1123
+ 'tfoot',
1124
+ 'th',
1125
+ 'thead',
1126
+ 'time',
1127
+ 'tr',
1128
+ 'tt',
1129
+ 'u',
1130
+ 'ul',
1131
+ 'var',
1132
+ 'video',
1133
+ 'wbr',
1134
+ ]);
1135
+ const defaultDomPurifyConfig = Object.freeze({
1136
+ ALLOWED_TAGS: ['a', 'button', 'blockquote', 'code', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'input', 'label', 'li', 'p', 'pre', 'select', 'small', 'span', 'strong', 'textarea', 'ul', 'ol'],
1137
+ ALLOWED_ATTR: ['href', 'data-href', 'data-command', 'target', 'title', 'name', 'src', 'alt', 'class', 'id', 'role', 'tabindex', 'style', 'data-code', 'width', 'height', 'align', 'x-dispatch', 'required', 'checked', 'placeholder', 'type', 'start'],
1138
+ RETURN_DOM: false,
1139
+ RETURN_DOM_FRAGMENT: false,
1140
+ RETURN_TRUSTED_TYPE: true
1141
+ });
1142
+ export class ModifierKeyEmitter extends event.Emitter {
1143
+ constructor() {
1144
+ super();
1145
+ this._subscriptions = new DisposableStore();
1146
+ this._keyStatus = {
1147
+ altKey: false,
1148
+ shiftKey: false,
1149
+ ctrlKey: false,
1150
+ metaKey: false
1151
+ };
1152
+ this._subscriptions.add(event.Event.runAndSubscribe(onDidRegisterWindow, ({ window, disposables }) => this.registerListeners(window, disposables), { window: mainWindow, disposables: this._subscriptions }));
1153
+ }
1154
+ registerListeners(window, disposables) {
1155
+ disposables.add(addDisposableListener(window, 'keydown', e => {
1156
+ if (e.defaultPrevented) {
1157
+ return;
1158
+ }
1159
+ const event = new StandardKeyboardEvent(e);
1160
+ // If Alt-key keydown event is repeated, ignore it #112347
1161
+ // Only known to be necessary for Alt-Key at the moment #115810
1162
+ if (event.keyCode === 6 /* KeyCode.Alt */ && e.repeat) {
1163
+ return;
1164
+ }
1165
+ if (e.altKey && !this._keyStatus.altKey) {
1166
+ this._keyStatus.lastKeyPressed = 'alt';
1167
+ }
1168
+ else if (e.ctrlKey && !this._keyStatus.ctrlKey) {
1169
+ this._keyStatus.lastKeyPressed = 'ctrl';
1170
+ }
1171
+ else if (e.metaKey && !this._keyStatus.metaKey) {
1172
+ this._keyStatus.lastKeyPressed = 'meta';
1173
+ }
1174
+ else if (e.shiftKey && !this._keyStatus.shiftKey) {
1175
+ this._keyStatus.lastKeyPressed = 'shift';
1176
+ }
1177
+ else if (event.keyCode !== 6 /* KeyCode.Alt */) {
1178
+ this._keyStatus.lastKeyPressed = undefined;
1179
+ }
1180
+ else {
1181
+ return;
1182
+ }
1183
+ this._keyStatus.altKey = e.altKey;
1184
+ this._keyStatus.ctrlKey = e.ctrlKey;
1185
+ this._keyStatus.metaKey = e.metaKey;
1186
+ this._keyStatus.shiftKey = e.shiftKey;
1187
+ if (this._keyStatus.lastKeyPressed) {
1188
+ this._keyStatus.event = e;
1189
+ this.fire(this._keyStatus);
1190
+ }
1191
+ }, true));
1192
+ disposables.add(addDisposableListener(window, 'keyup', e => {
1193
+ if (e.defaultPrevented) {
1194
+ return;
1195
+ }
1196
+ if (!e.altKey && this._keyStatus.altKey) {
1197
+ this._keyStatus.lastKeyReleased = 'alt';
1198
+ }
1199
+ else if (!e.ctrlKey && this._keyStatus.ctrlKey) {
1200
+ this._keyStatus.lastKeyReleased = 'ctrl';
1201
+ }
1202
+ else if (!e.metaKey && this._keyStatus.metaKey) {
1203
+ this._keyStatus.lastKeyReleased = 'meta';
1204
+ }
1205
+ else if (!e.shiftKey && this._keyStatus.shiftKey) {
1206
+ this._keyStatus.lastKeyReleased = 'shift';
1207
+ }
1208
+ else {
1209
+ this._keyStatus.lastKeyReleased = undefined;
1210
+ }
1211
+ if (this._keyStatus.lastKeyPressed !== this._keyStatus.lastKeyReleased) {
1212
+ this._keyStatus.lastKeyPressed = undefined;
1213
+ }
1214
+ this._keyStatus.altKey = e.altKey;
1215
+ this._keyStatus.ctrlKey = e.ctrlKey;
1216
+ this._keyStatus.metaKey = e.metaKey;
1217
+ this._keyStatus.shiftKey = e.shiftKey;
1218
+ if (this._keyStatus.lastKeyReleased) {
1219
+ this._keyStatus.event = e;
1220
+ this.fire(this._keyStatus);
1221
+ }
1222
+ }, true));
1223
+ disposables.add(addDisposableListener(window.document.body, 'mousedown', () => {
1224
+ this._keyStatus.lastKeyPressed = undefined;
1225
+ }, true));
1226
+ disposables.add(addDisposableListener(window.document.body, 'mouseup', () => {
1227
+ this._keyStatus.lastKeyPressed = undefined;
1228
+ }, true));
1229
+ disposables.add(addDisposableListener(window.document.body, 'mousemove', e => {
1230
+ if (e.buttons) {
1231
+ this._keyStatus.lastKeyPressed = undefined;
1232
+ }
1233
+ }, true));
1234
+ disposables.add(addDisposableListener(window, 'blur', () => {
1235
+ this.resetKeyStatus();
1236
+ }));
1237
+ }
1238
+ get keyStatus() {
1239
+ return this._keyStatus;
1240
+ }
1241
+ /**
1242
+ * Allows to explicitly reset the key status based on more knowledge (#109062)
1243
+ */
1244
+ resetKeyStatus() {
1245
+ this.doResetKeyStatus();
1246
+ this.fire(this._keyStatus);
1247
+ }
1248
+ doResetKeyStatus() {
1249
+ this._keyStatus = {
1250
+ altKey: false,
1251
+ shiftKey: false,
1252
+ ctrlKey: false,
1253
+ metaKey: false
1254
+ };
1255
+ }
1256
+ static getInstance() {
1257
+ if (!ModifierKeyEmitter.instance) {
1258
+ ModifierKeyEmitter.instance = new ModifierKeyEmitter();
1259
+ }
1260
+ return ModifierKeyEmitter.instance;
1261
+ }
1262
+ dispose() {
1263
+ super.dispose();
1264
+ this._subscriptions.dispose();
1265
+ }
1266
+ }
1267
+ export class DragAndDropObserver extends Disposable {
1268
+ constructor(element, callbacks) {
1269
+ super();
1270
+ this.element = element;
1271
+ this.callbacks = callbacks;
1272
+ // A helper to fix issues with repeated DRAG_ENTER / DRAG_LEAVE
1273
+ // calls see https://github.com/microsoft/vscode/issues/14470
1274
+ // when the element has child elements where the events are fired
1275
+ // repeadedly.
1276
+ this.counter = 0;
1277
+ // Allows to measure the duration of the drag operation.
1278
+ this.dragStartTime = 0;
1279
+ this.registerListeners();
1280
+ }
1281
+ registerListeners() {
1282
+ if (this.callbacks.onDragStart) {
1283
+ this._register(addDisposableListener(this.element, EventType.DRAG_START, (e) => {
1284
+ var _a, _b;
1285
+ (_b = (_a = this.callbacks).onDragStart) === null || _b === void 0 ? void 0 : _b.call(_a, e);
1286
+ }));
1287
+ }
1288
+ if (this.callbacks.onDrag) {
1289
+ this._register(addDisposableListener(this.element, EventType.DRAG, (e) => {
1290
+ var _a, _b;
1291
+ (_b = (_a = this.callbacks).onDrag) === null || _b === void 0 ? void 0 : _b.call(_a, e);
1292
+ }));
1293
+ }
1294
+ this._register(addDisposableListener(this.element, EventType.DRAG_ENTER, (e) => {
1295
+ var _a, _b;
1296
+ this.counter++;
1297
+ this.dragStartTime = e.timeStamp;
1298
+ (_b = (_a = this.callbacks).onDragEnter) === null || _b === void 0 ? void 0 : _b.call(_a, e);
1299
+ }));
1300
+ this._register(addDisposableListener(this.element, EventType.DRAG_OVER, (e) => {
1301
+ var _a, _b;
1302
+ e.preventDefault(); // needed so that the drop event fires (https://stackoverflow.com/questions/21339924/drop-event-not-firing-in-chrome)
1303
+ (_b = (_a = this.callbacks).onDragOver) === null || _b === void 0 ? void 0 : _b.call(_a, e, e.timeStamp - this.dragStartTime);
1304
+ }));
1305
+ this._register(addDisposableListener(this.element, EventType.DRAG_LEAVE, (e) => {
1306
+ var _a, _b;
1307
+ this.counter--;
1308
+ if (this.counter === 0) {
1309
+ this.dragStartTime = 0;
1310
+ (_b = (_a = this.callbacks).onDragLeave) === null || _b === void 0 ? void 0 : _b.call(_a, e);
1311
+ }
1312
+ }));
1313
+ this._register(addDisposableListener(this.element, EventType.DRAG_END, (e) => {
1314
+ var _a, _b;
1315
+ this.counter = 0;
1316
+ this.dragStartTime = 0;
1317
+ (_b = (_a = this.callbacks).onDragEnd) === null || _b === void 0 ? void 0 : _b.call(_a, e);
1318
+ }));
1319
+ this._register(addDisposableListener(this.element, EventType.DROP, (e) => {
1320
+ var _a, _b;
1321
+ this.counter = 0;
1322
+ this.dragStartTime = 0;
1323
+ (_b = (_a = this.callbacks).onDrop) === null || _b === void 0 ? void 0 : _b.call(_a, e);
1324
+ }));
1325
+ }
1326
+ }
1327
+ const H_REGEX = /(?<tag>[\w\-]+)?(?:#(?<id>[\w\-]+))?(?<class>(?:\.(?:[\w\-]+))*)(?:@(?<name>(?:[\w\_])+))?/;
1328
+ export function h(tag, ...args) {
1329
+ let attributes;
1330
+ let children;
1331
+ if (Array.isArray(args[0])) {
1332
+ attributes = {};
1333
+ children = args[0];
1334
+ }
1335
+ else {
1336
+ attributes = args[0] || {};
1337
+ children = args[1];
1338
+ }
1339
+ const match = H_REGEX.exec(tag);
1340
+ if (!match || !match.groups) {
1341
+ throw new Error('Bad use of h');
1342
+ }
1343
+ const tagName = match.groups['tag'] || 'div';
1344
+ const el = document.createElement(tagName);
1345
+ if (match.groups['id']) {
1346
+ el.id = match.groups['id'];
1347
+ }
1348
+ const classNames = [];
1349
+ if (match.groups['class']) {
1350
+ for (const className of match.groups['class'].split('.')) {
1351
+ if (className !== '') {
1352
+ classNames.push(className);
1353
+ }
1354
+ }
1355
+ }
1356
+ if (attributes.className !== undefined) {
1357
+ for (const className of attributes.className.split('.')) {
1358
+ if (className !== '') {
1359
+ classNames.push(className);
1360
+ }
1361
+ }
1362
+ }
1363
+ if (classNames.length > 0) {
1364
+ el.className = classNames.join(' ');
1365
+ }
1366
+ const result = {};
1367
+ if (match.groups['name']) {
1368
+ result[match.groups['name']] = el;
1369
+ }
1370
+ if (children) {
1371
+ for (const c of children) {
1372
+ if (c instanceof HTMLElement) {
1373
+ el.appendChild(c);
1374
+ }
1375
+ else if (typeof c === 'string') {
1376
+ el.append(c);
1377
+ }
1378
+ else if ('root' in c) {
1379
+ Object.assign(result, c);
1380
+ el.appendChild(c.root);
1381
+ }
1382
+ }
1383
+ }
1384
+ for (const [key, value] of Object.entries(attributes)) {
1385
+ if (key === 'className') {
1386
+ continue;
1387
+ }
1388
+ else if (key === 'style') {
1389
+ for (const [cssKey, cssValue] of Object.entries(value)) {
1390
+ el.style.setProperty(camelCaseToHyphenCase(cssKey), typeof cssValue === 'number' ? cssValue + 'px' : '' + cssValue);
1391
+ }
1392
+ }
1393
+ else if (key === 'tabIndex') {
1394
+ el.tabIndex = value;
1395
+ }
1396
+ else {
1397
+ el.setAttribute(camelCaseToHyphenCase(key), value.toString());
1398
+ }
1399
+ }
1400
+ result['root'] = el;
1401
+ return result;
1402
+ }
1403
+ function camelCaseToHyphenCase(str) {
1404
+ return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
1405
+ }