From 73e9b72ad4710211f02992e8aa72a5fc5c1b6d7e Mon Sep 17 00:00:00 2001 From: zombieb Date: Sat, 8 Feb 2025 21:19:25 -0500 Subject: [PATCH] User stuff, config structure changes, web panel start, versioncheck fix, api start, recaptcha support for web panel --- .gitignore | 5 +- data/galvanic-corrosion-web/.gitignore | 24 + data/galvanic-corrosion-web/README.md | 50 + data/galvanic-corrosion-web/eslint.config.js | 28 + data/galvanic-corrosion-web/index.html | 13 + data/galvanic-corrosion-web/package-lock.json | 3226 +++++++++++++++++ data/galvanic-corrosion-web/package.json | 29 + data/galvanic-corrosion-web/public/vite.svg | 1 + data/galvanic-corrosion-web/src/App.tsx | 15 + .../src/assets/react.svg | 1 + data/galvanic-corrosion-web/src/index.css | 14 + data/galvanic-corrosion-web/src/main.tsx | 10 + data/galvanic-corrosion-web/src/vite-env.d.ts | 1 + data/galvanic-corrosion-web/tsconfig.app.json | 26 + data/galvanic-corrosion-web/tsconfig.json | 7 + .../galvanic-corrosion-web/tsconfig.node.json | 24 + data/galvanic-corrosion-web/vite.config.ts | 14 + data/rooms.json | 1635 +++++++++ deno.json | 9 +- deno.lock | 24 + src/apiutils.ts | 69 +- src/config.ts | 21 +- src/data/config.ts | 47 +- src/data/content/comsumable.ts | 2 - src/data/recaptcha.ts | 45 + src/data/users.ts | 93 +- src/db.ts | 41 +- src/discord.ts | 7 +- src/dynamicconfig.ts | 4 +- src/main.ts | 20 +- src/routes/api.ts | 4 +- src/routes/api/config.ts | 2 +- src/routes/api/gameconfigs.ts | 7 + src/routes/api/versioncheck.ts | 19 +- src/routes/nameserver.ts | 23 +- src/routes/user.ts | 53 + 36 files changed, 5526 insertions(+), 87 deletions(-) create mode 100644 data/galvanic-corrosion-web/.gitignore create mode 100644 data/galvanic-corrosion-web/README.md create mode 100644 data/galvanic-corrosion-web/eslint.config.js create mode 100644 data/galvanic-corrosion-web/index.html create mode 100644 data/galvanic-corrosion-web/package-lock.json create mode 100644 data/galvanic-corrosion-web/package.json create mode 100644 data/galvanic-corrosion-web/public/vite.svg create mode 100644 data/galvanic-corrosion-web/src/App.tsx create mode 100644 data/galvanic-corrosion-web/src/assets/react.svg create mode 100644 data/galvanic-corrosion-web/src/index.css create mode 100644 data/galvanic-corrosion-web/src/main.tsx create mode 100644 data/galvanic-corrosion-web/src/vite-env.d.ts create mode 100644 data/galvanic-corrosion-web/tsconfig.app.json create mode 100644 data/galvanic-corrosion-web/tsconfig.json create mode 100644 data/galvanic-corrosion-web/tsconfig.node.json create mode 100644 data/galvanic-corrosion-web/vite.config.ts create mode 100644 data/rooms.json create mode 100644 src/data/recaptcha.ts create mode 100644 src/routes/api/gameconfigs.ts create mode 100644 src/routes/user.ts diff --git a/.gitignore b/.gitignore index 1ede7e3..91dc27d 100644 --- a/.gitignore +++ b/.gitignore @@ -131,7 +131,4 @@ dist # galvanic corrosion build/ -config.json -rooms.json -/data/ -firstrun \ No newline at end of file +config.json \ No newline at end of file diff --git a/data/galvanic-corrosion-web/.gitignore b/data/galvanic-corrosion-web/.gitignore new file mode 100644 index 0000000..9b8e145 --- /dev/null +++ b/data/galvanic-corrosion-web/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +./dist +./dist-ssr +./*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/data/galvanic-corrosion-web/README.md b/data/galvanic-corrosion-web/README.md new file mode 100644 index 0000000..74872fd --- /dev/null +++ b/data/galvanic-corrosion-web/README.md @@ -0,0 +1,50 @@ +# React + TypeScript + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh + +## Expanding the ESLint configuration + +If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: + +- Configure the top-level `parserOptions` property like this: + +```js +export default tseslint.config({ + languageOptions: { + // other options... + parserOptions: { + project: ['./tsconfig.node.json', './tsconfig.app.json'], + tsconfigRootDir: import.meta.dirname, + }, + }, +}) +``` + +- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked` +- Optionally add `...tseslint.configs.stylisticTypeChecked` +- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config: + +```js +// eslint.config.js +import react from 'eslint-plugin-react' + +export default tseslint.config({ + // Set the react version + settings: { react: { version: '18.3' } }, + plugins: { + // Add the react plugin + react, + }, + rules: { + // other rules... + // Enable its recommended rules + ...react.configs.recommended.rules, + ...react.configs['jsx-runtime'].rules, + }, +}) +``` diff --git a/data/galvanic-corrosion-web/eslint.config.js b/data/galvanic-corrosion-web/eslint.config.js new file mode 100644 index 0000000..092408a --- /dev/null +++ b/data/galvanic-corrosion-web/eslint.config.js @@ -0,0 +1,28 @@ +import js from '@eslint/js' +import globals from 'globals' +import reactHooks from 'eslint-plugin-react-hooks' +import reactRefresh from 'eslint-plugin-react-refresh' +import tseslint from 'typescript-eslint' + +export default tseslint.config( + { ignores: ['dist'] }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ['**/*.{ts,tsx}'], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + }, + plugins: { + 'react-hooks': reactHooks, + 'react-refresh': reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, + }, +) diff --git a/data/galvanic-corrosion-web/index.html b/data/galvanic-corrosion-web/index.html new file mode 100644 index 0000000..6fc20cd --- /dev/null +++ b/data/galvanic-corrosion-web/index.html @@ -0,0 +1,13 @@ + + + + + + Skibidi + + + +
+ + + diff --git a/data/galvanic-corrosion-web/package-lock.json b/data/galvanic-corrosion-web/package-lock.json new file mode 100644 index 0000000..6b57288 --- /dev/null +++ b/data/galvanic-corrosion-web/package-lock.json @@ -0,0 +1,3226 @@ +{ + "name": "galvanic-corrosion-web", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "galvanic-corrosion-web", + "version": "0.0.0", + "dependencies": { + "react": "^19.0.0", + "react-dom": "^19.0.0" + }, + "devDependencies": { + "@eslint/js": "^9.19.0", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", + "@vitejs/plugin-react": "^4.3.4", + "eslint": "^9.19.0", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-refresh": "^0.4.18", + "globals": "^15.14.0", + "typescript": "~5.7.2", + "typescript-eslint": "^8.22.0", + "vite": "^6.1.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.8.tgz", + "integrity": "sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.8.tgz", + "integrity": "sha512-l+lkXCHS6tQEc5oUpK28xBOZ6+HwaH7YwoYQbLFiYb4nS2/l1tKnZEtEWkD0GuiYdvArf9qBS0XlQGXzPMsNqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.8", + "@babel/helper-compilation-targets": "^7.26.5", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.7", + "@babel/parser": "^7.26.8", + "@babel/template": "^7.26.8", + "@babel/traverse": "^7.26.8", + "@babel/types": "^7.26.8", + "@types/gensync": "^1.0.0", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.8.tgz", + "integrity": "sha512-ef383X5++iZHWAXX0SXQR6ZyQhw/0KtTkrTz61WXRhFM6dhpHulO/RJz79L8S6ugZHJkOOkUrUdxgdF2YiPFnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.26.8", + "@babel/types": "^7.26.8", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.26.5", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.26.5.tgz", + "integrity": "sha512-IXuyn5EkouFJscIDuFF5EsiSolseme1s0CZB+QxVugqJLYmKdxI1VfIBOst0SUu4rnk2Z7kqTwmoO1lp3HIfnA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.26.5", + "@babel/helper-validator-option": "^7.25.9", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.26.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.26.5.tgz", + "integrity": "sha512-RS+jZcRdZdRFzMyr+wcsaqOmld1/EqTghfaBGQQd/WnRdzdlvSZ//kF7U8VQTxf1ynZ4cjUcYgjVGx13ewNPMg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.26.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.7.tgz", + "integrity": "sha512-8NHiL98vsi0mbPQmYAGWwfcFaOy4j2HY49fXJCfuDcdE7fMIsH9a7GdaeXpIBsbT7307WU8KCMp5pUVDNL4f9A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.8.tgz", + "integrity": "sha512-TZIQ25pkSoaKEYYaHbbxkfL36GNsQ6iFiBbeuzAkLnXayKR1yP1zFe+NxuZWWsUyvt8icPU9CCq0sgWGXR1GEw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.26.8" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-self": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.25.9.tgz", + "integrity": "sha512-y8quW6p0WHkEhmErnfe58r7x0A70uKphQm8Sp8cV7tjNQwK56sNVK0M73LK3WuYmsuyrftut4xAkjjgU0twaMg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-transform-react-jsx-source": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.25.9.tgz", + "integrity": "sha512-+iqjT8xmXhhYv4/uiYd8FNQsraMFZIfxVSqxxVSZP0WbbSAWvBXAul0m/zu+7Vv4O/3WtApy9pmaTMiumEZgfg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.26.8.tgz", + "integrity": "sha512-iNKaX3ZebKIsCvJ+0jd6embf+Aulaa3vNBqZ41kM7iTWjx5qzWKXGHiJUW3+nTpQ18SG11hdF8OAzKrpXkb96Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/parser": "^7.26.8", + "@babel/types": "^7.26.8" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.8.tgz", + "integrity": "sha512-nic9tRkjYH0oB2dzr/JoGIm+4Q6SuYeLEiIiZDwBscRMYFJ+tMAz98fuel9ZnbXViA2I0HVSSRRK8DW5fjXStA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.8", + "@babel/parser": "^7.26.8", + "@babel/template": "^7.26.8", + "@babel/types": "^7.26.8", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/types": { + "version": "7.26.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.8.tgz", + "integrity": "sha512-eUuWapzEGWFEpHFxgEaBG8e3n6S8L3MSu0oda755rOfabWPnh0Our1AozNFVUxGFIhbKgd1ksprsoDGMinTOTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.2.tgz", + "integrity": "sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.2.tgz", + "integrity": "sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.2.tgz", + "integrity": "sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.2.tgz", + "integrity": "sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.2.tgz", + "integrity": "sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.2.tgz", + "integrity": "sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.2.tgz", + "integrity": "sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.2.tgz", + "integrity": "sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.2.tgz", + "integrity": "sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.2.tgz", + "integrity": "sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.2.tgz", + "integrity": "sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.2.tgz", + "integrity": "sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.2.tgz", + "integrity": "sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.2.tgz", + "integrity": "sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.2.tgz", + "integrity": "sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.2.tgz", + "integrity": "sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.2.tgz", + "integrity": "sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.24.2.tgz", + "integrity": "sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.2.tgz", + "integrity": "sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.2.tgz", + "integrity": "sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.2.tgz", + "integrity": "sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.2.tgz", + "integrity": "sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.2.tgz", + "integrity": "sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.2.tgz", + "integrity": "sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.2.tgz", + "integrity": "sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.2.tgz", + "integrity": "sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^2.1.6", + "debug": "^4.3.1", + "minimatch": "^3.1.2" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/core": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.11.0.tgz", + "integrity": "sha512-DWUB2pksgNEb6Bz2fggIy1wh6fGgZP4Xyy/Mt0QZPiloKKXerbqq9D3SBQTlCRYOrcRPu4vuz+CGjwdfqxnoWA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", + "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.20.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.20.0.tgz", + "integrity": "sha512-iZA07H9io9Wn836aVTytRaNqh00Sad+EamwOVJT12GTLw1VGMFV/4JaME+JjLtr9fiGaoWgYnS54wrfWsSs4oQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/object-schema": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz", + "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", + "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.10.0", + "levn": "^0.4.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", + "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node": { + "version": "0.16.6", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", + "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.3.0" + }, + "engines": { + "node": ">=18.18.0" + } + }, + "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", + "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", + "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.34.6.tgz", + "integrity": "sha512-+GcCXtOQoWuC7hhX1P00LqjjIiS/iOouHXhMdiDSnq/1DGTox4SpUvO52Xm+div6+106r+TcvOeo/cxvyEyTgg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.34.6.tgz", + "integrity": "sha512-E8+2qCIjciYUnCa1AiVF1BkRgqIGW9KzJeesQqVfyRITGQN+dFuoivO0hnro1DjT74wXLRZ7QF8MIbz+luGaJA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.34.6.tgz", + "integrity": "sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.34.6.tgz", + "integrity": "sha512-PShKVY4u0FDAR7jskyFIYVyHEPCPnIQY8s5OcXkdU8mz3Y7eXDJPdyM/ZWjkYdR2m0izD9HHWA8sGcXn+Qrsyg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.34.6.tgz", + "integrity": "sha512-YSwyOqlDAdKqs0iKuqvRHLN4SrD2TiswfoLfvYXseKbL47ht1grQpq46MSiQAx6rQEN8o8URtpXARCpqabqxGQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.34.6.tgz", + "integrity": "sha512-HEP4CgPAY1RxXwwL5sPFv6BBM3tVeLnshF03HMhJYCNc6kvSqBgTMmsEjb72RkZBAWIqiPUyF1JpEBv5XT9wKQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.34.6.tgz", + "integrity": "sha512-88fSzjC5xeH9S2Vg3rPgXJULkHcLYMkh8faix8DX4h4TIAL65ekwuQMA/g2CXq8W+NJC43V6fUpYZNjaX3+IIg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.34.6.tgz", + "integrity": "sha512-wM4ztnutBqYFyvNeR7Av+reWI/enK9tDOTKNF+6Kk2Q96k9bwhDDOlnCUNRPvromlVXo04riSliMBs/Z7RteEg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.34.6.tgz", + "integrity": "sha512-9RyprECbRa9zEjXLtvvshhw4CMrRa3K+0wcp3KME0zmBe1ILmvcVHnypZ/aIDXpRyfhSYSuN4EPdCCj5Du8FIA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.34.6.tgz", + "integrity": "sha512-qTmklhCTyaJSB05S+iSovfo++EwnIEZxHkzv5dep4qoszUMX5Ca4WM4zAVUMbfdviLgCSQOu5oU8YoGk1s6M9Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.34.6.tgz", + "integrity": "sha512-4Qmkaps9yqmpjY5pvpkfOerYgKNUGzQpFxV6rnS7c/JfYbDSU0y6WpbbredB5cCpLFGJEqYX40WUmxMkwhWCjw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.34.6.tgz", + "integrity": "sha512-Zsrtux3PuaxuBTX/zHdLaFmcofWGzaWW1scwLU3ZbW/X+hSsFbz9wDIp6XvnT7pzYRl9MezWqEqKy7ssmDEnuQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.34.6.tgz", + "integrity": "sha512-aK+Zp+CRM55iPrlyKiU3/zyhgzWBxLVrw2mwiQSYJRobCURb781+XstzvA8Gkjg/hbdQFuDw44aUOxVQFycrAg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.34.6.tgz", + "integrity": "sha512-WoKLVrY9ogmaYPXwTH326+ErlCIgMmsoRSx6bO+l68YgJnlOXhygDYSZe/qbUJCSiCiZAQ+tKm88NcWuUXqOzw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.34.6.tgz", + "integrity": "sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.34.6.tgz", + "integrity": "sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.34.6.tgz", + "integrity": "sha512-3/q1qUsO/tLqGBaD4uXsB6coVGB3usxw3qyeVb59aArCgedSF66MPdgRStUd7vbZOsko/CgVaY5fo2vkvPLWiA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.34.6.tgz", + "integrity": "sha512-oLHxuyywc6efdKVTxvc0135zPrRdtYVjtVD5GUm55I3ODxhU/PwkQFD97z16Xzxa1Fz0AEe4W/2hzRtd+IfpOA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.34.6.tgz", + "integrity": "sha512-0PVwmgzZ8+TZ9oGBmdZoQVXflbvuwzN/HRclujpl4N/q3i+y0lqLw8n1bXA8ru3sApDjlmONaNAuYr38y1Kr9w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", + "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.6", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", + "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/estree": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/gensync": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@types/gensync/-/gensync-1.0.4.tgz", + "integrity": "sha512-C3YYeRQWp2fmq9OryX+FoDy8nXS6scQ7dPptD8LnFDAUNcKWJjXQKDNJD3HVm+kOUsXhTOkpi69vI4EuAr95bA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "19.0.8", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.0.8.tgz", + "integrity": "sha512-9P/o1IGdfmQxrujGbIMDyYaaCykhLKc0NGCtYcECNUr9UAaDe4gwvV9bR6tvd5Br1SG0j+PBpbKr2UYY8CwqSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.0.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.0.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.3.tgz", + "integrity": "sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.0.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.23.0.tgz", + "integrity": "sha512-vBz65tJgRrA1Q5gWlRfvoH+w943dq9K1p1yDBY2pc+a1nbBLZp7fB9+Hk8DaALUbzjqlMfgaqlVPT1REJdkt/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/type-utils": "8.23.0", + "@typescript-eslint/utils": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.23.0.tgz", + "integrity": "sha512-h2lUByouOXFAlMec2mILeELUbME5SZRN/7R9Cw2RD2lRQQY08MWMM+PmVVKKJNK1aIwqTo9t/0CvOxwPbRIE2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.23.0.tgz", + "integrity": "sha512-OGqo7+dXHqI7Hfm+WqkZjKjsiRtFUQHPdGMXzk5mYXhJUedO7e/Y7i8AK3MyLMgZR93TX4bIzYrfyVjLC+0VSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.23.0.tgz", + "integrity": "sha512-iIuLdYpQWZKbiH+RkCGc6iu+VwscP5rCtQ1lyQ7TYuKLrcZoeJVpcLiG8DliXVkUxirW/PWlmS+d6yD51L9jvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "8.23.0", + "@typescript-eslint/utils": "8.23.0", + "debug": "^4.3.4", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.23.0.tgz", + "integrity": "sha512-1sK4ILJbCmZOTt9k4vkoulT6/y5CHJ1qUYxqpF1K/DBAd8+ZUL4LlSCxOssuH5m4rUaaN0uS0HlVPvd45zjduQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.23.0.tgz", + "integrity": "sha512-LcqzfipsB8RTvH8FX24W4UUFk1bl+0yTOf9ZA08XngFwMg4Kj8A+9hwz8Cr/ZS4KwHrmo9PJiLZkOt49vPnuvQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/visitor-keys": "8.23.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.0.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.23.0.tgz", + "integrity": "sha512-uB/+PSo6Exu02b5ZEiVtmY6RVYO7YU5xqgzTIVZwTHvvK3HsL8tZZHFaTLFtRG3CsV4A5mhOv+NZx5BlhXPyIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.23.0", + "@typescript-eslint/types": "8.23.0", + "@typescript-eslint/typescript-estree": "8.23.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.23.0.tgz", + "integrity": "sha512-oWWhcWDLwDfu++BGTZcmXWqpwtkwb5o7fxUIGksMQQDSdPW9prsSnfIOZMlsj4vBOSrcnjIUZMiIjODgGosFhQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.23.0", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.3.4.tgz", + "integrity": "sha512-SCCPBJtYLdE8PX/7ZQAs1QAZ8Jqwih+0VBLum1EGqmCCQal+MIUqLCzj3ZUy8ufbC0cAM4LRlSTm7IQJwWT4ug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.26.0", + "@babel/plugin-transform-react-jsx-self": "^7.25.9", + "@babel/plugin-transform-react-jsx-source": "^7.25.9", + "@types/babel__core": "^7.20.5", + "react-refresh": "^0.14.2" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "peerDependencies": { + "vite": "^4.2.0 || ^5.0.0 || ^6.0.0" + } + }, + "node_modules/acorn": { + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.24.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.4.tgz", + "integrity": "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001688", + "electron-to-chromium": "^1.5.73", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.1" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001699", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001699.tgz", + "integrity": "sha512-b+uH5BakXZ9Do9iK+CkDmctUSEqZl+SP056vc5usa0PL+ev5OHw003rZXcnjNDv3L8P5j6rwT6C0BPKSikW08w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.96", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.96.tgz", + "integrity": "sha512-8AJUW6dh75Fm/ny8+kZKJzI1pgoE8bKLZlzDU2W1ENd+DXKJrx7I7l9hb8UWR4ojlnb5OlixMt00QWiYJoVw1w==", + "dev": true, + "license": "ISC" + }, + "node_modules/esbuild": { + "version": "0.24.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.2.tgz", + "integrity": "sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.24.2", + "@esbuild/android-arm": "0.24.2", + "@esbuild/android-arm64": "0.24.2", + "@esbuild/android-x64": "0.24.2", + "@esbuild/darwin-arm64": "0.24.2", + "@esbuild/darwin-x64": "0.24.2", + "@esbuild/freebsd-arm64": "0.24.2", + "@esbuild/freebsd-x64": "0.24.2", + "@esbuild/linux-arm": "0.24.2", + "@esbuild/linux-arm64": "0.24.2", + "@esbuild/linux-ia32": "0.24.2", + "@esbuild/linux-loong64": "0.24.2", + "@esbuild/linux-mips64el": "0.24.2", + "@esbuild/linux-ppc64": "0.24.2", + "@esbuild/linux-riscv64": "0.24.2", + "@esbuild/linux-s390x": "0.24.2", + "@esbuild/linux-x64": "0.24.2", + "@esbuild/netbsd-arm64": "0.24.2", + "@esbuild/netbsd-x64": "0.24.2", + "@esbuild/openbsd-arm64": "0.24.2", + "@esbuild/openbsd-x64": "0.24.2", + "@esbuild/sunos-x64": "0.24.2", + "@esbuild/win32-arm64": "0.24.2", + "@esbuild/win32-ia32": "0.24.2", + "@esbuild/win32-x64": "0.24.2" + } + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.20.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.20.0.tgz", + "integrity": "sha512-aL4F8167Hg4IvsW89ejnpTwx+B/UQRzJPGgbIOl+4XqffWsahVVsLEWoZvnrVuwpWmnRd7XeXmQI1zlKcFDteA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.19.0", + "@eslint/core": "^0.11.0", + "@eslint/eslintrc": "^3.2.0", + "@eslint/js": "9.20.0", + "@eslint/plugin-kit": "^0.2.5", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.1", + "@types/estree": "^1.0.6", + "@types/json-schema": "^7.0.15", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.2.0", + "eslint-visitor-keys": "^4.2.0", + "espree": "^10.3.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz", + "integrity": "sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.19.tgz", + "integrity": "sha512-eyy8pcr/YxSYjBoqIFSrlbn9i/xvxUFa8CjzAYo9cFjgGXqq1hyjihcpZvxRLalpaWmueWR81xn7vuKmAFijDQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": ">=8.40" + } + }, + "node_modules/eslint-scope": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", + "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", + "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.14.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", + "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.0.tgz", + "integrity": "sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "15.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.14.0.tgz", + "integrity": "sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true, + "license": "MIT" + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", + "dev": true, + "license": "MIT" + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.1.tgz", + "integrity": "sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.8", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/react": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0.tgz", + "integrity": "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.25.0" + }, + "peerDependencies": { + "react": "^19.0.0" + } + }, + "node_modules/react-refresh": { + "version": "0.14.2", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", + "integrity": "sha512-jCvmsr+1IUSMUyzOkRcvnVbX3ZYC6g9TDrDbFuFmRDq7PD4yaGbLKNQL6k2jnArV8hjYxh7hVhAZB6s9HDGpZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "4.34.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.34.6.tgz", + "integrity": "sha512-wc2cBWqJgkU3Iz5oztRkQbfVkbxoz5EhnCGOrnJvnLnQ7O0WhQUYyv18qQI79O8L7DdHrrlJNeCHd4VGpnaXKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.6" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.34.6", + "@rollup/rollup-android-arm64": "4.34.6", + "@rollup/rollup-darwin-arm64": "4.34.6", + "@rollup/rollup-darwin-x64": "4.34.6", + "@rollup/rollup-freebsd-arm64": "4.34.6", + "@rollup/rollup-freebsd-x64": "4.34.6", + "@rollup/rollup-linux-arm-gnueabihf": "4.34.6", + "@rollup/rollup-linux-arm-musleabihf": "4.34.6", + "@rollup/rollup-linux-arm64-gnu": "4.34.6", + "@rollup/rollup-linux-arm64-musl": "4.34.6", + "@rollup/rollup-linux-loongarch64-gnu": "4.34.6", + "@rollup/rollup-linux-powerpc64le-gnu": "4.34.6", + "@rollup/rollup-linux-riscv64-gnu": "4.34.6", + "@rollup/rollup-linux-s390x-gnu": "4.34.6", + "@rollup/rollup-linux-x64-gnu": "4.34.6", + "@rollup/rollup-linux-x64-musl": "4.34.6", + "@rollup/rollup-win32-arm64-msvc": "4.34.6", + "@rollup/rollup-win32-ia32-msvc": "4.34.6", + "@rollup/rollup-win32-x64-msvc": "4.34.6", + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/scheduler": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0.tgz", + "integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-api-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.0.1.tgz", + "integrity": "sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.12" + }, + "peerDependencies": { + "typescript": ">=4.8.4" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/typescript": { + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/typescript-eslint": { + "version": "8.23.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.23.0.tgz", + "integrity": "sha512-/LBRo3HrXr5LxmrdYSOCvoAMm7p2jNizNfbIpCgvG4HMsnoprRUOce/+8VJ9BDYWW68rqIENE/haVLWPeFZBVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.23.0", + "@typescript-eslint/parser": "8.23.0", + "@typescript-eslint/utils": "8.23.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0", + "typescript": ">=4.8.4 <5.8.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.2.tgz", + "integrity": "sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/vite": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.1.0.tgz", + "integrity": "sha512-RjjMipCKVoR4hVfPY6GQTgveinjNuyLw+qruksLDvA5ktI1150VmcMBKmQaEWJhg/j6Uaf6dNCNA0AfdzUb/hQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.24.2", + "postcss": "^8.5.1", + "rollup": "^4.30.1" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", + "jiti": ">=1.21.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "sass-embedded": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/data/galvanic-corrosion-web/package.json b/data/galvanic-corrosion-web/package.json new file mode 100644 index 0000000..ac22e9d --- /dev/null +++ b/data/galvanic-corrosion-web/package.json @@ -0,0 +1,29 @@ +{ + "name": "galvanic-corrosion-web", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc -b && vite build", + "lint": "eslint .", + "preview": "vite preview" + }, + "dependencies": { + "react": "^19.0.0", + "react-dom": "^19.0.0" + }, + "devDependencies": { + "@eslint/js": "^9.19.0", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", + "@vitejs/plugin-react": "^4.3.4", + "eslint": "^9.19.0", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-refresh": "^0.4.18", + "globals": "^15.14.0", + "typescript": "~5.7.2", + "typescript-eslint": "^8.22.0", + "vite": "^6.1.0" + } +} diff --git a/data/galvanic-corrosion-web/public/vite.svg b/data/galvanic-corrosion-web/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/data/galvanic-corrosion-web/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/data/galvanic-corrosion-web/src/App.tsx b/data/galvanic-corrosion-web/src/App.tsx new file mode 100644 index 0000000..7dc74aa --- /dev/null +++ b/data/galvanic-corrosion-web/src/App.tsx @@ -0,0 +1,15 @@ +import { useState } from 'react' +import reactLogo from './assets/react.svg' +import viteLogo from '/vite.svg' + +function App() { + const [count, setCount] = useState(0) + + return ( +
+

Skibidi

+
+ ) +} + +export default App diff --git a/data/galvanic-corrosion-web/src/assets/react.svg b/data/galvanic-corrosion-web/src/assets/react.svg new file mode 100644 index 0000000..6c87de9 --- /dev/null +++ b/data/galvanic-corrosion-web/src/assets/react.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/data/galvanic-corrosion-web/src/index.css b/data/galvanic-corrosion-web/src/index.css new file mode 100644 index 0000000..bd6a1f6 --- /dev/null +++ b/data/galvanic-corrosion-web/src/index.css @@ -0,0 +1,14 @@ +:root { + font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; + line-height: 1.5; + font-weight: 400; + + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; + + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} \ No newline at end of file diff --git a/data/galvanic-corrosion-web/src/main.tsx b/data/galvanic-corrosion-web/src/main.tsx new file mode 100644 index 0000000..bef5202 --- /dev/null +++ b/data/galvanic-corrosion-web/src/main.tsx @@ -0,0 +1,10 @@ +import { StrictMode } from 'react' +import { createRoot } from 'react-dom/client' +import './index.css' +import App from './App.tsx' + +createRoot(document.getElementById('root')!).render( + + + , +) diff --git a/data/galvanic-corrosion-web/src/vite-env.d.ts b/data/galvanic-corrosion-web/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/data/galvanic-corrosion-web/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/data/galvanic-corrosion-web/tsconfig.app.json b/data/galvanic-corrosion-web/tsconfig.app.json new file mode 100644 index 0000000..358ca9b --- /dev/null +++ b/data/galvanic-corrosion-web/tsconfig.app.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo", + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["src"] +} diff --git a/data/galvanic-corrosion-web/tsconfig.json b/data/galvanic-corrosion-web/tsconfig.json new file mode 100644 index 0000000..1ffef60 --- /dev/null +++ b/data/galvanic-corrosion-web/tsconfig.json @@ -0,0 +1,7 @@ +{ + "files": [], + "references": [ + { "path": "./tsconfig.app.json" }, + { "path": "./tsconfig.node.json" } + ] +} diff --git a/data/galvanic-corrosion-web/tsconfig.node.json b/data/galvanic-corrosion-web/tsconfig.node.json new file mode 100644 index 0000000..db0becc --- /dev/null +++ b/data/galvanic-corrosion-web/tsconfig.node.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", + "target": "ES2022", + "lib": ["ES2023"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "isolatedModules": true, + "moduleDetection": "force", + "noEmit": true, + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedSideEffectImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/data/galvanic-corrosion-web/vite.config.ts b/data/galvanic-corrosion-web/vite.config.ts new file mode 100644 index 0000000..ce6a244 --- /dev/null +++ b/data/galvanic-corrosion-web/vite.config.ts @@ -0,0 +1,14 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +// https://vite.dev/config/ +export default defineConfig({ + plugins: [react()], + build: { + rollupOptions: { + input: { + main: resolve(__dirname, 'index.html') + } + } + } +}); \ No newline at end of file diff --git a/data/rooms.json b/data/rooms.json new file mode 100644 index 0000000..9a88db0 --- /dev/null +++ b/data/rooms.json @@ -0,0 +1,1635 @@ +{ + "m_GameObject": { + "m_FileID": 0, + "m_PathID": 0 + }, + "m_Enabled": 1, + "m_Script": { + "m_FileID": 1, + "m_PathID": 334 + }, + "m_Name": "AGRoomRuntimeConfig", + "Locations": [ + { + "Name": "Dorm Room", + "ReplicationId": "76d98498-60a1-430c-ab76-b54a29b7a163", + "SceneName": "dormroom2", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 1, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 0 + }, + { + "Name": "Rec Center", + "ReplicationId": "cbad71af-0831-44d8-b8ef-69edafa841f6", + "SceneName": "reccenter", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 1 + }, + { + "Name": "Charades", + "ReplicationId": "4078dfed-24bb-4db7-863f-578ba48d726b", + "SceneName": "charades", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 5000, + "LocationEnum": 2 + }, + { + "Name": "Lake", + "ReplicationId": "f6f7256c-e438-4299-b99e-d20bef8cf7e0", + "SceneName": "discgolf", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 3001, + "LocationEnum": 3 + }, + { + "Name": "Propulsion", + "ReplicationId": "d9378c9f-80bc-46fb-ad1e-1bed8a674f55", + "SceneName": "Discgolf_Propulsion", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 3000, + "LocationEnum": 4 + }, + { + "Name": "Dodgeball", + "ReplicationId": "3d474b26-26f7-45e9-9a36-9b02847d5e6f", + "SceneName": "dodgeball", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 8000, + "LocationEnum": 5 + }, + { + "Name": "The Lounge", + "ReplicationId": "a067557f-ca32-43e6-b6e5-daaec60b4f5a", + "SceneName": "eventroom", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": false, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 6 + }, + { + "Name": "Paddleball", + "ReplicationId": "d89f74fa-d51e-477a-a425-025a891dd499", + "SceneName": "paddleball", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 7000, + "LocationEnum": 7 + }, + { + "Name": "River", + "ReplicationId": "e122fe98-e7db-49e8-a1b1-105424b6e1f0", + "SceneName": "paintball", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 2003, + "LocationEnum": 8 + }, + { + "Name": "Homestead", + "ReplicationId": "a785267d-c579-42ea-be43-fec1992d1ca7", + "SceneName": "paintball2_open", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 2001, + "LocationEnum": 9 + }, + { + "Name": "Quarry", + "ReplicationId": "ff4c6427-7079-4f59-b22a-69b089420827", + "SceneName": "Paintball_Castle", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 2002, + "LocationEnum": 10 + }, + { + "Name": "Clear Cut", + "ReplicationId": "380d18b5-de9c-49f3-80f7-f4a95c1de161", + "SceneName": "Paintball_ClearCut", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 2000, + "LocationEnum": 11 + }, + { + "Name": "Spillway", + "ReplicationId": "58763055-2dfb-4814-80b8-16fac5c85709", + "SceneName": "Paintball_Dam", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 2004, + "LocationEnum": 12 + }, + { + "Name": "Quest For The Golden Trophy", + "ReplicationId": "91e16e35-f48f-4700-ab8a-a1b79e50e51b", + "SceneName": "Quest_additive", + "RequiredSubSceneNames": [ + "Quest_Foyer" + ], + "LevelRoomSubSceneNames": [ + "Quest_Armory", + "Quest_Hallway1", + "Quest_Hallway2", + "Quest_Hallway3", + "Quest_DeadIsland", + "Quest_Hallway4", + "Quest_Library", + "Quest_Hallway5", + "Quest_Battlefield", + "Quest_Cafeteria" + ], + "MaxPlayers": 4, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 13 + }, + { + "Name": "The Rise Of JumboTron", + "ReplicationId": "acc06e66-c2d0-4361-b0cd-46246a4c455c", + "SceneName": "Quest_Scifi_Additive", + "RequiredSubSceneNames": [ + "Quest_Scifi_Foyer" + ], + "LevelRoomSubSceneNames": [ + "Quest_Scifi_Armory", + "Quest_Scifi_Battlefield1", + "Quest_Scifi_Hallway1", + "Quest_Scifi_Hallway2", + "Quest_Scifi_Reception", + "Quest_Scifi_StadiumConcession", + "Quest_Scifi_StadiumEntry", + "Quest_Scifi_Garage", + "Quest_Scifi_Cargo1", + "Quest_Scifi_Stadium" + ], + "MaxPlayers": 4, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 14 + }, + { + "Name": "Curse of the Crimson Cauldron", + "ReplicationId": "949fa41f-4347-45c0-b7ac-489129174045", + "SceneName": "Quest_Goblin2_additive", + "RequiredSubSceneNames": [ + "Quest_Goblin2_Foyer" + ], + "LevelRoomSubSceneNames": [ + "Quest_Goblin2_Armory", + "Quest_Goblin2_CastleCourtyard", + "Quest_Goblin2_Forest1", + "Quest_Goblin2_GoblinCamp", + "Quest_Goblin2_Forest2", + "Quest_Goblin2_Bog", + "Quest_Goblin2_Mines1", + "Quest_Goblin2_BoilerRoom", + "Quest_Goblin2_BellTowerStairs", + "Quest_Goblin2_BellTowerArena" + ], + "MaxPlayers": 4, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 15 + }, + { + "Name": "The Isle of Lost Skulls", + "ReplicationId": "7e01cfe0-820a-406f-b1b3-0a5bf575235c", + "SceneName": "Quest_Pirate1_additive", + "RequiredSubSceneNames": [ + "Quest_Pirate1_Foyer" + ], + "LevelRoomSubSceneNames": [ + "Quest_Pirate1_Hallway1", + "Quest_Pirate1_Hallway2", + "Quest_Pirate1_ShipDeck", + "Quest_Pirate1_Beach1", + "Quest_Pirate1_Beach2", + "Quest_Pirate1_Caves1", + "Quest_Pirate1_SunkenShip", + "Quest_Pirate1_BossArena" + ], + "MaxPlayers": 3, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 16 + }, + { + "Name": "Soccer", + "ReplicationId": "6d5eea4b-f069-4ed0-9916-0e2f07df0d03", + "SceneName": "soccer", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 6000, + "LocationEnum": 17 + }, + { + "Name": "Art Testing", + "ReplicationId": "42699ed2-0c1b-4f3d-93a2-ce01dfce7a79", + "SceneName": "ArtTesting", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 1, + "IsEditorOnly": true, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 18 + }, + { + "Name": "Performance Hall", + "ReplicationId": "9932f88f-3929-43a0-a012-a40b5128e346", + "SceneName": "PerformanceHall", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 40, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 19 + }, + { + "Name": "PSVR Room Calibration", + "ReplicationId": "f5fbd9c9-e853-4036-9d48-5f68e861af04", + "SceneName": "room_calibration", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 1, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 20 + }, + { + "Name": "Park", + "ReplicationId": "0a864c86-5a71-4e18-8041-8124e4dc9d98", + "SceneName": "Park", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": false, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 21 + }, + { + "Name": "Warehouse", + "ReplicationId": "239e676c-f12f-489f-bf3a-d4c383d692c3", + "SceneName": "Arena_Hangar3", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": 0, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": true, + "TeamOutfitColorEmissionAmount": 0.6, + "CustomTeamColors": [ + { + "Team": 0, + "Color": { + "r": 0.38039216, + "g": 1.0, + "b": 1.0, + "a": 1.0 + }, + "AlternateColor": { + "r": 0.0, + "g": 0.1882353, + "b": 1.0, + "a": 1.0 + } + }, + { + "Team": 1, + "Color": { + "r": 1.0, + "g": 0.11764706, + "b": 0.41960785, + "a": 1.0 + }, + "AlternateColor": { + "r": 1.0, + "g": 0.0, + "b": 0.15686275, + "a": 1.0 + } + } + ] + }, + "GiftContext": 0, + "LocationEnum": 22 + }, + { + "Name": "CyberJunk City", + "ReplicationId": "9d6456ce-6264-48b4-808d-2d96b3d91038", + "SceneName": "Arena_Cyberjunk_City", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 20, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": 0, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": true, + "TeamOutfitColorEmissionAmount": 0.6, + "CustomTeamColors": [ + { + "Team": 1, + "Color": { + "r": 1.0, + "g": 0.58431375, + "b": 0.15294118, + "a": 1.0 + }, + "AlternateColor": { + "r": 1.0, + "g": 0.0, + "b": 0.0, + "a": 1.0 + } + }, + { + "Team": 0, + "Color": { + "r": 0.18431373, + "g": 1.0, + "b": 0.5921569, + "a": 1.0 + }, + "AlternateColor": { + "r": 0.0, + "g": 0.41960785, + "b": 1.0, + "a": 1.0 + } + } + ] + }, + "GiftContext": 0, + "LocationEnum": 23 + }, + { + "Name": "Maker Room", + "ReplicationId": "a75f7547-79eb-47c6-8986-6767abcb4f92", + "SceneName": "Basement", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 40, + "IsEditorOnly": false, + "EmptyOnSandboxClone": false, + "SupportedGameMode": -1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 24 + }, + { + "Name": "Frontier Squads", + "ReplicationId": "253fa009-6e65-4c90-91a1-7137a56a267f", + "SceneName": "RecRoyale_Frontier", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 18, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": 1, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 25 + }, + { + "Name": "Frontier Solos", + "ReplicationId": "b010171f-4875-4e89-baba-61e878cd41e1", + "SceneName": "RecRoyale_Frontier", + "RequiredSubSceneNames": [], + "LevelRoomSubSceneNames": [], + "MaxPlayers": 16, + "IsEditorOnly": false, + "EmptyOnSandboxClone": true, + "SupportedGameMode": 0, + "GameTeamColorSettings": { + "TeamOutfitColorEmissionEnabled": false, + "TeamOutfitColorEmissionAmount": 0.0, + "CustomTeamColors": [] + }, + "GiftContext": 0, + "LocationEnum": 26 + } + ], + "Rooms": [ + { + "Name": "Calibration", + "ReplicationId": "30040e05-b7b9-9f44-eb08-b9f154d2ecfc", + "Description": "PSVR room calibration", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": false, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "fe66923e-4034-4ec4-4bca-11a973bf5515", + "RoomSceneLocationId": "f5fbd9c9-e853-4036-9d48-5f68e861af04", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 1 + } + ] + }, + { + "Name": "DormRoom", + "ReplicationId": "68251132-5662-5c34-08b1-4a830a27955b", + "Description": "Your private room", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": false, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "92084aee-1f44-a3b4-18f1-375601606506", + "RoomSceneLocationId": "76d98498-60a1-430c-ab76-b54a29b7a163", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 1 + } + ] + }, + { + "Name": "RecCenter", + "ReplicationId": "02ed2947-2db9-62c4-49b0-76d70fd432bb", + "Description": "A social hub to meet and mingle with friends new and old.", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": false, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "6016e455-652d-54d4-3838-ecc6c9aa4ca8", + "RoomSceneLocationId": "cbad71af-0831-44d8-b8ef-69edafa841f6", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": true, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 12 + } + ] + }, + { + "Name": "3DCharades", + "ReplicationId": "1080b559-5294-b904-5b82-2d2aa4dea17b", + "Description": "Take turns drawing, acting, and guessing funny phrases with your friends!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": false, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "b7150f3d-393e-ac74-2801-8a834b13e2bc", + "RoomSceneLocationId": "4078dfed-24bb-4db7-863f-578ba48d726b", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": true, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + } + ] + }, + { + "Name": "DiscGolfLake", + "ReplicationId": "9365f155-a900-a864-1aa6-ae0500026994", + "Description": "A leisurely stroll through the grass. Throw your disc into the goal. Sounds easy, right?", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "6cd09971-c9fb-8e44-9b7f-3cb9ff5f6bd0", + "RoomSceneLocationId": "f6f7256c-e438-4299-b99e-d20bef8cf7e0", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 4 + } + ] + }, + { + "Name": "DiscGolfPropulsion", + "ReplicationId": "e002b533-ae3f-0e64-8941-73ed5eb2303c", + "Description": "Throw your disc through hazards and around wind machines on this challenging course!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "e687ebed-6502-ad24-2ae1-d4a1db441d34", + "RoomSceneLocationId": "d9378c9f-80bc-46fb-ad1e-1bed8a674f55", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 4 + } + ] + }, + { + "Name": "Dodgeball", + "ReplicationId": "aa1ecc2e-fad7-57d4-f840-a4b39e911313", + "Description": "Throw dodgeballs to knock out your friends in this gym classic!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "27dd5218-dbea-b444-9b7c-a64e687aae67", + "RoomSceneLocationId": "3d474b26-26f7-45e9-9a36-9b02847d5e6f", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 6 + } + ] + }, + { + "Name": "Paddleball", + "ReplicationId": "8dfa5b25-d0a7-21e4-0a3e-b77e3ba6a8d0", + "Description": "A simple rally game between two players in a plexiglass tube with a zero-g ball.", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": false, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "11512b3c-bf64-acc4-7bf6-139786237328", + "RoomSceneLocationId": "d89f74fa-d51e-477a-a425-025a891dd499", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 2 + } + ] + }, + { + "Name": "Paintball", + "ReplicationId": "42b5faef-e211-4f02-98e1-f4633e18209c", + "Description": "Red and Blue teams splat each other in capture the flag and team battle.", + "Accessibility": 1, + "SupportsLevelVoting": true, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "River", + "ReplicationId": "84545710-2bb4-4867-ad8b-24863a16d1b2", + "RoomSceneLocationId": "e122fe98-e7db-49e8-a1b1-105424b6e1f0", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Homestead", + "ReplicationId": "f6709dc2-af81-46fc-88ba-f88f6c5035aa", + "RoomSceneLocationId": "a785267d-c579-42ea-be43-fec1992d1ca7", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Quarry", + "ReplicationId": "1c549cfb-455b-4f5e-b15e-467702a71240", + "RoomSceneLocationId": "ff4c6427-7079-4f59-b22a-69b089420827", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Clearcut", + "ReplicationId": "28363a22-f0bb-4e46-8346-d76e8ac634f7", + "RoomSceneLocationId": "380d18b5-de9c-49f3-80f7-f4a95c1de161", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Spillway", + "ReplicationId": "7d661e29-f036-4fe9-8e9d-4b919fee638d", + "RoomSceneLocationId": "58763055-2dfb-4814-80b8-16fac5c85709", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + } + ] + }, + { + "Name": "PaintballVR", + "ReplicationId": "6672b30b-108c-cdc4-9873-917bbd882a27", + "Description": "Red and Blue teams splat each other in capture the flag and team battle.", + "Accessibility": 1, + "SupportsLevelVoting": true, + "CloningAllowed": true, + "SupportsScreens": false, + "SupportsWalkVR": false, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "River", + "ReplicationId": "a4d7afc1-ae7a-8e04-1bea-f7d71df384fd", + "RoomSceneLocationId": "e122fe98-e7db-49e8-a1b1-105424b6e1f0", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Homestead", + "ReplicationId": "d686129f-fdf7-1954-a9f6-f0a80d1af234", + "RoomSceneLocationId": "a785267d-c579-42ea-be43-fec1992d1ca7", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Quarry", + "ReplicationId": "a5ba53f2-a7cf-d3b4-8836-80fa08e02a27", + "RoomSceneLocationId": "ff4c6427-7079-4f59-b22a-69b089420827", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Clearcut", + "ReplicationId": "1636a319-9826-bfc4-18f8-ee1b1be6f806", + "RoomSceneLocationId": "380d18b5-de9c-49f3-80f7-f4a95c1de161", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + }, + { + "Name": "Spillway", + "ReplicationId": "9a5a9875-67bb-f444-e804-0e0296d3c19c", + "RoomSceneLocationId": "58763055-2dfb-4814-80b8-16fac5c85709", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + } + ] + }, + { + "Name": "GoldenTrophy", + "ReplicationId": "8b5f720a-29b0-fee4-1aab-a76d99405a21", + "Description": "The goblin king stole Coach's Golden Trophy. Team up and embark on an epic quest to recover it!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "3518de14-8412-96f4-db0a-41abe0196bbe", + "RoomSceneLocationId": "91e16e35-f48f-4700-ab8a-a1b79e50e51b", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": true, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 4 + } + ] + }, + { + "Name": "TheRiseofJumbotron", + "ReplicationId": "0fe6e761-9adc-14e4-2b7c-ecf2e365b80a", + "Description": "Robot invaders threaten the galaxy! Team up with your friends and bring the laser heat!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "4a6968bf-0283-2d34-ca18-29f1145e1f69", + "RoomSceneLocationId": "acc06e66-c2d0-4361-b0cd-46246a4c455c", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": true, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 4 + } + ] + }, + { + "Name": "CrimsonCauldron", + "ReplicationId": "fa6d5c07-c7fa-38a4-eb98-acaee6c8fd7b", + "Description": "Can your band of adventurers brave the enchanted wilds, and lift the curse of the crimson cauldron?", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "4a169c2f-28b2-e9a4-7ab1-61c9c270b1ab", + "RoomSceneLocationId": "949fa41f-4347-45c0-b7ac-489129174045", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": true, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 4 + } + ] + }, + { + "Name": "IsleOfLostSkulls", + "ReplicationId": "51fe6f77-a545-66d4-684c-20505d9472eb", + "Description": "Can your pirate crew get to the Isle, defeat its fearsome guardian, and escape with the gold?", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "02d23e1d-4c1a-15b4-aba5-98458d750417", + "RoomSceneLocationId": "7e01cfe0-820a-406f-b1b3-0a5bf575235c", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": true, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 3 + } + ] + }, + { + "Name": "Soccer", + "ReplicationId": "99e24047-c765-8584-78d0-f55d604ecb00", + "Description": "Teams of three run around slamming themselves into an over-sized soccer ball. Goal!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "9a4b4871-28dc-4b24-8b8f-e0914db002eb", + "RoomSceneLocationId": "6d5eea4b-f069-4ed0-9916-0e2f07df0d03", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 6 + } + ] + }, + { + "Name": "LaserTagHangar", + "ReplicationId": "8cf5a0b5-d683-51f4-2bb7-57821b533cad", + "Description": "Teams battle each other and waves of robots in a classic warehouse arena.", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "8f8fcaf8-7b13-e114-880c-72ee8c9fcb78", + "RoomSceneLocationId": "239e676c-f12f-489f-bf3a-d4c383d692c3", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + } + ] + }, + { + "Name": "LaserTagCyberJunk", + "ReplicationId": "c47969aa-c9ac-85e4-ea35-470f2a11d47f", + "Description": "Teams battle each other and waves of robots in a totally cyber neon future city.", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "d59f7e16-9f27-6924-a899-2739bfc056fe", + "RoomSceneLocationId": "9d6456ce-6264-48b4-808d-2d96b3d91038", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 8 + } + ] + }, + { + "Name": "RecRoyaleSquads", + "ReplicationId": "224046e6-4159-49eb-98cf-1e602849ce54", + "Description": "Squads of three battle it out on Frontier Island. Last squad standing wins!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "1d282c2d-6edc-4910-afb3-48fbb9ad74a4", + "RoomSceneLocationId": "253fa009-6e65-4c90-91a1-7137a56a267f", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": true, + "MaxPlayers": 18 + } + ] + }, + { + "Name": "RecRoyaleVR", + "ReplicationId": "729cddc7-1488-8004-3abc-b7ab05c3ec83", + "Description": "Squads of three battle it out on Frontier Island. Last squad standing wins!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": false, + "SupportsWalkVR": true, + "SupportsTeleportVR": false, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "1edd6d85-40fb-7e34-aa26-8ef754ef654e", + "RoomSceneLocationId": "253fa009-6e65-4c90-91a1-7137a56a267f", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": true, + "MaxPlayers": 18 + } + ] + }, + { + "Name": "RecRoyaleSolos", + "ReplicationId": "f4a10613-c6dc-a574-6abd-17e853cd223c", + "Description": "Battle it out on Frontier Island. Last person standing wins!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "85b43509-77f7-3884-3a6b-9a4e737d6d11", + "RoomSceneLocationId": "b010171f-4875-4e89-baba-61e878cd41e1", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": true, + "MaxPlayers": 16 + } + ] + }, + { + "Name": "Lounge", + "ReplicationId": "94b533d0-08b3-7964-c89c-491906e032b9", + "Description": "A low-key lounge to chill with your friends. Great for private parties!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "c9e928de-ed1f-d564-38af-9bf525ac0feb", + "RoomSceneLocationId": "a067557f-ca32-43e6-b6e5-daaec60b4f5a", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "PerformanceHall", + "ReplicationId": "22ab0d3c-3d7d-70e4-eb5c-c8c47cca1906", + "Description": "A theater for plays, music, comedy and other performances.", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "b55204c1-9a48-6ea4-fbd0-69fb125a68cf", + "RoomSceneLocationId": "9932f88f-3929-43a0-a012-a40b5128e346", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 40 + } + ] + }, + { + "Name": "MakerRoom", + "ReplicationId": "3a2d8a48-2a7e-4344-bb88-254ea105043e", + "Description": "This room is a blank canvas. Make it into whatever you like!", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "aa889faf-91c8-b7d4-5945-ab7e714f7efa", + "RoomSceneLocationId": "a75f7547-79eb-47c6-8986-6767abcb4f92", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 40 + } + ] + }, + { + "Name": "Park", + "ReplicationId": "00788628-81ba-3df4-da7b-142051bdff98", + "Description": "A sprawling park with amphitheater, play fields, and a cave.", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "570a59bf-b4e2-6db4-ca9a-42329563dd30", + "RoomSceneLocationId": "0a864c86-5a71-4e18-8041-8124e4dc9d98", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "ArtTesting", + "ReplicationId": "cc338cd1-9883-0c14-99b3-ab069a360ee3", + "Description": "bla", + "Accessibility": 0, + "SupportsLevelVoting": false, + "CloningAllowed": false, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "33bdd61b-bd99-abe4-6943-3032c741f5e8", + "RoomSceneLocationId": "42699ed2-0c1b-4f3d-93a2-ce01dfce7a79", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 1 + } + ] + }, + { + "Name": "River", + "ReplicationId": "af923b9b-d5fd-4435-919b-d8621de3865e", + "Description": "The original outdoor paintball course. Simple, balanced, classic.", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "dc445d24-01cf-43f9-a7c4-33f432514735", + "RoomSceneLocationId": "e122fe98-e7db-49e8-a1b1-105424b6e1f0", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Homestead", + "ReplicationId": "3369e698-ad83-43cf-bf44-5767da6de2b9", + "Description": "A day on the farm. Great for asymmetrical battles!", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "daaa8763-868d-4081-9e8d-e931c111cc90", + "RoomSceneLocationId": "a785267d-c579-42ea-be43-fec1992d1ca7", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Quarry", + "ReplicationId": "37e59cf8-50c5-4075-8e61-f51515836101", + "Description": "The sun sets on this construction site in the desert. Great for sniping battles!", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "f083ff9a-98af-4d8b-b7ff-5b84a66367d5", + "RoomSceneLocationId": "ff4c6427-7079-4f59-b22a-69b089420827", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Clearcut", + "ReplicationId": "af8b3bdd-4084-488f-aa4a-b78dec436753", + "Description": "The sun rises on this logging camp in the forest. Great for mid-range splatting!", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "c5f45037-8c60-494d-ad62-3e5168560b36", + "RoomSceneLocationId": "380d18b5-de9c-49f3-80f7-f4a95c1de161", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Spillway", + "ReplicationId": "2d250de9-9bb2-4168-96a6-a9a0e14aa2ba", + "Description": "Night shift at the hydroelectric plant. Great for stealthy splatting!", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "d336999f-9db0-42fc-8af5-592e9043102f", + "RoomSceneLocationId": "58763055-2dfb-4814-80b8-16fac5c85709", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Lake", + "ReplicationId": "12131500-c742-437c-8487-b9e1e2edc381", + "Description": "A leisurely trail to the lake and beyond.", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "28253579-64cb-421b-988b-9fea890fd129", + "RoomSceneLocationId": "f6f7256c-e438-4299-b99e-d20bef8cf7e0", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "PropulsionTestRange", + "ReplicationId": "fd06572c-e828-440d-8783-d87c792facdd", + "Description": "The science department left some of their equipment laying around. What will you do with it?", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "cd82c0aa-5dbc-4db3-ade3-30576d3bc473", + "RoomSceneLocationId": "d9378c9f-80bc-46fb-ad1e-1bed8a674f55", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Gym", + "ReplicationId": "cb7ce944-9415-4d6e-aa6a-274390d2f849", + "Description": "A school gymnasium for smaller sporting events.", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "8cecdc5b-d17b-4eba-9dd3-7b0ca54d3fd2", + "RoomSceneLocationId": "3d474b26-26f7-45e9-9a36-9b02847d5e6f", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Stadium", + "ReplicationId": "01fbdc4c-1a74-4843-8fe3-c64fc46b606e", + "Description": "A professional stadium for larger sporting events.", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "b4f8632d-ae8b-4c3d-a433-0687131f8507", + "RoomSceneLocationId": "6d5eea4b-f069-4ed0-9916-0e2f07df0d03", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "Hangar", + "ReplicationId": "4830b10c-0faf-4e73-8244-10cf55a503d9", + "Description": "A late-eighties-style laser tag battle arcade.", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "26330026-ebc7-4d44-8c85-4f38d2ad30a1", + "RoomSceneLocationId": "239e676c-f12f-489f-bf3a-d4c383d692c3", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "CyberJunkCity", + "ReplicationId": "c3f801c2-13dd-aed4-0862-85d095bca56b", + "Description": "A late-2080s-style cyberpunk dystopian laser tag battle arcade", + "Accessibility": 2, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": true, + "SupportsWalkVR": true, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "6e0edd15-b904-f074-3b1f-cec488eba1a3", + "RoomSceneLocationId": "9d6456ce-6264-48b4-808d-2d96b3d91038", + "IsSandbox": true, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": true, + "UseLevelBasedMatchmaking": false, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 20 + } + ] + }, + { + "Name": "DodgeballVR", + "ReplicationId": "c29d7c49-f4df-45cd-9a53-a6a192e44fbd", + "Description": "Throw dodgeballs to knock out your friends in this gym classic!", + "Accessibility": 1, + "SupportsLevelVoting": false, + "CloningAllowed": true, + "SupportsScreens": false, + "SupportsWalkVR": false, + "SupportsTeleportVR": true, + "Scenes": [ + { + "Name": "Home", + "ReplicationId": "bcbda991-93e7-4d05-b2e2-7c9512e4d4f2", + "RoomSceneLocationId": "3d474b26-26f7-45e9-9a36-9b02847d5e6f", + "IsSandbox": false, + "CanMatchmakeInto": true, + "SupportsJoinInProgress": false, + "UseLevelBasedMatchmaking": true, + "UseAgeBasedMatchmaking": false, + "UseRecRoyaleMatchmaking": false, + "MaxPlayers": 6 + } + ] + } + ] +} \ No newline at end of file diff --git a/deno.json b/deno.json index f0403d1..b61b179 100644 --- a/deno.json +++ b/deno.json @@ -1,9 +1,10 @@ { "tasks": { - "compile-win": "deno compile --target x86_64-pc-windows-msvc -o build/GalvanicCorrosion.exe -A src/main.ts", - "compile-linux": "deno compile --target x86_64-unknown-linux-gnu -o build/GalvanicCorrosion -A src/main.ts", + "compile-win": "deno compile --target x86_64-pc-windows-msvc --include data/ -o build/GalvanicCorrosion.exe -A src/main.ts", + "compile-linux": "deno compile --target x86_64-unknown-linux-gnu --include data/ -o build/GalvanicCorrosion -A src/main.ts", "cross-compile": "deno run compile-win && deno run compile-linux", - "start": "deno run -A src/main.ts" + "start": "deno run -A src/main.ts", + "compile-win-run": "deno run compile-win && cd build/ && GalvanicCorrosion.exe" }, "imports": { "@gz/jwt": "jsr:@gz/jwt@^0.1.0", @@ -18,7 +19,7 @@ }, "compilerOptions": { "types": [ - "./src/types" + "./src/types/express.ts" ] } } diff --git a/deno.lock b/deno.lock index 65675e2..027ef84 100644 --- a/deno.lock +++ b/deno.lock @@ -4,7 +4,11 @@ "jsr:@gz/jwt@0.1": "0.1.0", "jsr:@proxnet/undead-logging@^1.2.0": "1.2.0", "jsr:@std/assert@1": "1.0.7", + "jsr:@std/bytes@^1.0.2": "1.0.4", + "jsr:@std/crypto@^1.0.3": "1.0.3", "jsr:@std/internal@^1.0.5": "1.0.5", + "jsr:@std/uuid@*": "1.0.4", + "npm:@types/express@*": "5.0.0", "npm:@types/express@5": "5.0.0", "npm:@types/node@*": "22.5.4", "npm:chalk@^5.3.0": "5.3.0", @@ -29,8 +33,21 @@ "jsr:@std/internal" ] }, + "@std/bytes@1.0.4": { + "integrity": "11a0debe522707c95c7b7ef89b478c13fb1583a7cfb9a85674cd2cc2e3a28abc" + }, + "@std/crypto@1.0.3": { + "integrity": "a2a32f51ddef632d299e3879cd027c630dcd4d1d9a5285d6e6788072f4e51e7f" + }, "@std/internal@1.0.5": { "integrity": "54a546004f769c1ac9e025abd15a76b6671ddc9687e2313b67376125650dc7ba" + }, + "@std/uuid@1.0.4": { + "integrity": "f4233149cc8b4753cc3763fd83a7c4101699491f55c7be78dc7b30281946d7a0", + "dependencies": [ + "jsr:@std/bytes", + "jsr:@std/crypto" + ] } }, "npm": { @@ -668,6 +685,13 @@ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==" } }, + "remote": { + "https://deno.land/x/bcrypt@v0.3.0/mod.ts": "ff09bdae282583cf5f7d87efe37ddcecef7f14f6d12e8b8066a3058db8c6c2f7", + "https://deno.land/x/bcrypt@v0.3.0/src/bcrypt/base64.ts": "b8266450a4f1eb6960f60f2f7986afc4dde6b45bd2d7ee7ba10789e67e17b9f7", + "https://deno.land/x/bcrypt@v0.3.0/src/bcrypt/bcrypt.ts": "65819ce8e32d6e6a68f8753931237c58baa39b2573c1d7fac42f03d51499f242", + "https://deno.land/x/bcrypt@v0.3.0/src/main.ts": "08d201b289c8d9c46f8839c69cd6625b213863db29775c7a200afc3b540e64f8", + "https://deno.land/x/bcrypt@v0.3.0/src/worker.ts": "5a73bdfee9c9e622f47c9733d374b627dce52fb3ec1e74c8226698b3fc57ffac" + }, "workspace": { "dependencies": [ "jsr:@gz/jwt@0.1", diff --git a/src/apiutils.ts b/src/apiutils.ts index 7a02b1b..a574a01 100644 --- a/src/apiutils.ts +++ b/src/apiutils.ts @@ -4,7 +4,7 @@ import Logging from "@proxnet/undead-logging"; const log = new Logging('APIUtils'); -interface AppRouter { +type AppRouter = { path: string, router: express.Router } @@ -57,10 +57,10 @@ export function checkBodyTypes(typeDef: T) { }; } -export function genericResponseFormat(failure: boolean, msg: string | null = null, data = null) { +export function genericResponseFormat(failure: boolean, msg: string | null = null, data: object | null = null) { return { failed: failure, instance: instanceId, message: msg, data: data }; } -export function genericResponse(failure: boolean, msg: string | null = null, data = null) { +export function genericResponse(failure: boolean, msg: string | null = null, data: object | null = null) { return (_rq: express.Request, rs: express.Response) => { rs.json({ failed: failure, instance: instanceId, message: msg, data: data }); }; @@ -102,4 +102,67 @@ export function statusResponse(code: number) { } } +export class RateLimiter { + + #intervalId: number + + #hitLimit: number + + #addressHits: Map = new Map(); + + /** + * @param interval In seconds: rate at which hit counts will be cleared + * @param limit Number of hits (inclusive) before requests are blocked + */ + constructor(interval: number, limit: number) { + + this.#hitLimit = limit; + + this.#intervalId = setInterval(() => { + this.#addressHits.clear(); + }, interval * 1000); + + Deno.addSignalListener('SIGINT', () => { + this.#close(); + }); + + } + + #addressIncrement(address: string) { + const hits = this.#addressHits.get(address); + if (hits) this.#addressHits.set(address, hits + 1); + else this.#addressHits.set(address, 1); + } + + #getAddressHits(address: string) { + const hits = this.#addressHits.get(address); + if (hits) return hits; + else { + this.#addressHits.set(address, 1); + return 1; + } + } + + middle() { + + return (rq: express.Request, rs: express.Response, nxt: express.NextFunction) => { + const address = getSrcIpDefault(rq); + this.#addressIncrement(address); + + const hits = this.#getAddressHits(address); + if (hits && hits > this.#hitLimit) { + rs.statusCode = 429; + rs.json(genericResponseFormat(true, `Rate limit for address ${address} reached. Try again in a moment.`)); + return; + } else nxt(); + } + + } + + #close() { + clearInterval(this.#intervalId); + } + +} + export * as APIUtils from "./apiutils.ts" \ No newline at end of file diff --git a/src/config.ts b/src/config.ts index 65a2ee3..bcb45c2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -41,13 +41,19 @@ type SecretConfiguration = { authSecret: string } +type RecaptchaConfiguration = { + sitekey: string, + secret: string +} + export type GalvanicConfiguration = { redis: RedisConfiguration, web: WebConfiguration, public: PublicConfiguration, logging: LoggingConfiguration, - discord: DiscordConfiguration, - secrets: SecretConfiguration + discord: DiscordConfiguration | null, + secrets: SecretConfiguration, + recaptcha: RecaptchaConfiguration | null } export const defaultConfig: GalvanicConfiguration = { @@ -75,14 +81,11 @@ export const defaultConfig: GalvanicConfiguration = { debug: false, network: false }, - discord: { - token: "replace-me", - guildId: "replace-me", - clientId: "replace-me" - }, + discord: null, secrets: { authSecret: "CHANGE-ME-PLEASE" - } + }, + recaptcha: null } /** The current configuration. Read and parsed only during startup. */ @@ -100,7 +103,7 @@ export function configurationExists() { return fs.existsSync('./config.json'); } -/** Place the default configuration in the current directory. */ +/** Place [or overwrite] the [existing] default configuration in the current directory */ export function generateDefaultConfig() { fs.writeFileSync('./config.json', JSON.stringify(defaultConfig, undefined, ' ')); } diff --git a/src/data/config.ts b/src/data/config.ts index 10bce51..a9d1d8f 100644 --- a/src/data/config.ts +++ b/src/data/config.ts @@ -1,4 +1,5 @@ import { Config } from "../config.ts"; +import { Redis } from "../db.ts"; import { Objectives } from "./objectives.ts"; export type Config = { @@ -10,22 +11,12 @@ export type LevelProgressionItem = { RequiredXp: number } export type PublicConfig = { - MessageOfTheDay: string, - CdnBaseUri: string, - MatchmakingParams: { - PreferFullRoomsFrequency: number, - PreferEmptyRoomsFrequency: number - }, ServerMaintenance: { StartsInMinutes: number }, LevelProgressionMaps: LevelProgressionItem[], DailyObjectives: Objectives.Objective[][], - ConfigTable: Config[], - PhotonConfig: { - CrcCheckEnabled: boolean, - EnableServerTracingAfterDisconnect: boolean - } + ConfigTable: Config[] } export function getConfig() { @@ -41,25 +32,37 @@ export function getConfig() { } const conf: PublicConfig = { - MessageOfTheDay: config.public.motd, - CdnBaseUri: `${config.web.secureNameserverHost ? 'https' : 'http'}://${c.web.nameserverHost}/{0}`, - MatchmakingParams: { - PreferFullRoomsFrequency: 1, - PreferEmptyRoomsFrequency: 0 - }, ServerMaintenance: { StartsInMinutes: 0 }, LevelProgressionMaps: generateLevelProgressionMap(), DailyObjectives: [], - ConfigTable: [], - PhotonConfig: { - CrcCheckEnabled: false, - EnableServerTracingAfterDisconnect: false - } + ConfigTable: [] } return conf; } +export async function getAllGameConfigs() { + try { + const gameConfigs = new Map(); + const val = await Redis.Database.hgetall(Redis.buildKey(Redis.KeyGroups.Config.Root, Redis.KeyGroups.Config.Game)); + + for (const key of Object.keys(val)) + gameConfigs.set(key, val[key]); + + return gameConfigs; + } catch (error) { + console.error("Error fetching game configs:", error); + throw error; + } +} + +export function setGameConfig(key: string, value: string) { + return Redis.Database.hset(Redis.buildKey(Redis.KeyGroups.Config.Root, Redis.KeyGroups.Config.Game)); +} +export function getGameConfig(key: string) { + return Redis.Database.hget(Redis.buildKey(Redis.KeyGroups.Config.Root, Redis.KeyGroups.Config.Game), key); +} + export * as GameConfigs from "./config.ts"; \ No newline at end of file diff --git a/src/data/content/comsumable.ts b/src/data/content/comsumable.ts index 53af09c..69d71d4 100644 --- a/src/data/content/comsumable.ts +++ b/src/data/content/comsumable.ts @@ -48,14 +48,12 @@ export class ConsumableBuilder { IsActive: boolean; constructor(selection: ConsumableSelection, id: number, createdAt: Date, count: number, active: boolean) { - this.Id = id; this.ConsumableItemDesc = selection.guid; this.CreatedAt = createdAt.toUTCString(); this.Count = count; this.UnlockedLevel = 0; // All players have access to every consumable - avatars and equipment are different this.IsActive = active; - } } \ No newline at end of file diff --git a/src/data/recaptcha.ts b/src/data/recaptcha.ts new file mode 100644 index 0000000..e5789a4 --- /dev/null +++ b/src/data/recaptcha.ts @@ -0,0 +1,45 @@ +import Logging from "@proxnet/undead-logging"; +import { Config } from "../config.ts"; + +const log = new Logging("ReCAPTCHA"); + +type SiteVerifyParams = { + secret: string, + response: string, + remoteip?: string +} +type SiteVerifyResponse = { + success: boolean, + challenge_ts: string, + hostname: string, + "error-codes": string[] +} + +class ReCAPTCHABase { + + async siteVerify(response: string, remoteip?: string) { + const config = Config.getConfig(); + if (typeof config == 'undefined') return null; + if (config.recaptcha == null) { + log.e("Tried to verify ReCAPTCHA, but the config is null!"); + return null; + } + + const body: SiteVerifyParams = { + secret: config.recaptcha.secret, + response: response, + remoteip: remoteip + } + const res = await fetch('https://google.com/recaptcha/api/siteverify', { + method: "POST", + body: JSON.stringify(body) + }); + + const resBody = await res.json() as SiteVerifyResponse; + return resBody.success + } + +} + +const Recaptcha = new ReCAPTCHABase(); +export default Recaptcha; \ No newline at end of file diff --git a/src/data/users.ts b/src/data/users.ts index d36af41..3fcf130 100644 --- a/src/data/users.ts +++ b/src/data/users.ts @@ -1,12 +1,101 @@ -interface UserInitOptions { +import * as bcrypt from "bcrypt"; +import { Redis } from "../db.ts"; +import Logging from "@proxnet/undead-logging"; + +const log = new Logging("UserConstruct"); + +type UserInitOptions = { username: string, password: string, } +type UserCreatedObj = { + user: User, + backupcode: string +} + +function randomASCII() { + const codes = crypto.getRandomValues(new Uint8Array(512)); + const filteredCodes = codes.filter(val => (val >= 48 && val <= 57) || (val >= 65 && val <= 90) || (val >= 97 && val <= 122) ); + let str = String.fromCharCode(...filteredCodes); + if (str.length < 32) str = randomASCII(); + return str.substring(0, 32); +} + export class User { - static init() { + static async exists(username: string) { + return (await Redis.Database.exists(Redis.buildKey(Redis.KeyGroups.Usernames, username))) == 1; + } + /** + * Create a user + * @returns A `UserCreatedObj` with a reference to the new user if one was created, else `null` if the username already exists. + */ + static async init(options: UserInitOptions) { + if (await User.exists(options.username)) return null; + + const uuid = crypto.randomUUID(); + const backup = randomASCII(); + Redis.Database.set(Redis.buildKey(Redis.KeyGroups.Usernames, options.username), uuid); + Redis.Database.set(Redis.buildKey(Redis.KeyGroups.Users.Root, uuid, Redis.KeyGroups.Users.Username), options.username); + Redis.Database.set(Redis.buildKey(Redis.KeyGroups.Users.Root, uuid, Redis.KeyGroups.Users.BackupCode), backup); + Redis.Database.set(Redis.buildKey(Redis.KeyGroups.Users.Root, uuid, Redis.KeyGroups.Users.Password), await bcrypt.hash(options.password)); + + const user = new User(uuid); + const res: UserCreatedObj = { + user: user, + backupcode: backup + } + return res; + } + + /** + * Get a User by their username + * @returns A `User` is one was found, else `null` + */ + static async byName(username: string) { + const uuid = await Redis.Database.get(Redis.buildKey(Redis.KeyGroups.Usernames, username)); + if (uuid == null) return null; + else return new User(uuid); + } + + #uuid: string; + + constructor(uuid: string) { + this.#uuid = uuid; + } + + getUuid() { + return this.#uuid; + } + + async validatePassword(password: string) { + const hash = await Redis.Database.get(Redis.buildKey(Redis.KeyGroups.Users.Root, this.#uuid, Redis.KeyGroups.Users.Password)); + if (hash == null) throw new Error(`Hash for user ${this.#uuid} was not found`); + return await bcrypt.compare(password, hash); + } + + async setPassword(password: string) { + const hash = await bcrypt.hash(password); + Redis.Database.set(Redis.buildKey(Redis.KeyGroups.Users.Root, this.#uuid, Redis.KeyGroups.Users.Password), hash); + } + + async getBackupCode() { + return await Redis.Database.get(Redis.buildKey(Redis.KeyGroups.Users.Root, this.#uuid, Redis.KeyGroups.Users.BackupCode)); + } + + async getAssociatedProfiles() { + const list = await Redis.Database.smembers(Redis.buildKey(Redis.KeyGroups.Users.Root, this.#uuid, Redis.KeyGroups.Users.Profiles)); + return new Set(list.filter(val => !Number.isNaN(parseInt(val, 10))).map(val => parseInt(val, 10))); + } + + async removeAssociatedProfile(id: number) { + await Redis.Database.srem(Redis.buildKey(Redis.KeyGroups.Users.Root, this.#uuid, Redis.KeyGroups.Users.Profiles), id); + } + + async addAssociatedProfile(id: number) { + await Redis.Database.sadd(Redis.buildKey(Redis.KeyGroups.Users.Root, this.#uuid, Redis.KeyGroups.Users.Profiles), id); } } \ No newline at end of file diff --git a/src/db.ts b/src/db.ts index c56880c..7ac15c8 100644 --- a/src/db.ts +++ b/src/db.ts @@ -1,8 +1,9 @@ import { Redis } from "ioredis"; import * as Config from "./config.ts"; import Logging from "@proxnet/undead-logging"; +import chalk from "npm:chalk@^5.3.0"; -const log = new Logging("RedisDB"); +const log = new Logging("Redis"); const config = Config.getConfig(); if (typeof config == 'undefined') { @@ -26,10 +27,19 @@ export const Database = new Redis({ db: config?.redis.db, lazyConnect: true }); -export function connectToRedis() { - Database.connect(); +Database.on('connect', async () => { log.i(`Connected to Redis`); -} + + if (Deno.args.includes('--db-flush')) await Database.flushall(() => { + log.w(`${chalk.inverse('The database was flushed.')}`); + }); +}); +Database.on('connecting', () => { + log.i('Connecting to Redis..'); +}); +Database.on('error', (err) => { + log.e(`Redis error: ${err.stack}`); +}); export function buildKey(...args: string[]) { return args.join(':'); @@ -37,16 +47,21 @@ export function buildKey(...args: string[]) { export const KeyGroups = { Config: { Root: "config", - Dynamic: "dynamic" + Dynamic: "dynamic", + Game: "game" }, - Accounts: { - Root: "accounts", - Ids: "ids", - Usernames: "usernames", - DisplayNames: "displaynames", - XP: "scores", - Developers: "developers", - ProfileImages: "images" + Ids: "profile-ids", + Profiles: { + Root: "profiles" + }, + Usernames: "usernames", + Users: { + Root: "users", + Username: "username", + Password: "password", + BackupCode: "backupcode", + Profiles: "profiles", + Meta: "meta" } } export * as Redis from "./db.ts"; \ No newline at end of file diff --git a/src/discord.ts b/src/discord.ts index eebe1b7..024b9eb 100644 --- a/src/discord.ts +++ b/src/discord.ts @@ -19,6 +19,7 @@ client.once(discord.Events.ClientReady, client => { let shuttingDown = false; Deno.addSignalListener('SIGINT', () => { + if (client.readyTimestamp == null) return; if (shuttingDown) return; shuttingDown = true; log.n('Disconnecting from Discord'); @@ -26,8 +27,12 @@ Deno.addSignalListener('SIGINT', () => { }); export function login() { + if (config?.discord?.token == Config.defaultConfig.discord?.token) { + log.i('Discord not configured, ignoring'); + return; + } log.i(`Creating Discord connection..`); - client.login(config?.discord.token); + client.login(config?.discord?.token); } export * as Discord from "./discord.ts"; \ No newline at end of file diff --git a/src/dynamicconfig.ts b/src/dynamicconfig.ts index 0e9d3da..85c5f3b 100644 --- a/src/dynamicconfig.ts +++ b/src/dynamicconfig.ts @@ -5,11 +5,11 @@ export enum ResultType { NotFound } -interface ConfigResult { +type ConfigResult = { Status: ResultType, Data: string | null } -interface ConfigMResult { +type ConfigMResult = { Status: ResultType, Data: (string | null)[] | null } diff --git a/src/main.ts b/src/main.ts index 3a4e1dc..ee09bec 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,8 +2,10 @@ import * as Log from "@proxnet/undead-logging"; import * as Config from "./config.ts"; // @ts-types = 'npm:@types/express' import express from "express"; -import { Redis } from "./db.ts"; +import { Database } from "./db.ts"; import { APIUtils } from "./apiutils.ts"; +import { Discord } from "./discord.ts"; +import { User } from "./data/users.ts"; const log = new Log.default("Main"); @@ -39,14 +41,23 @@ app.use((rq: express.Request, rs: express.Response, nxt: express.NextFunction) = nxt(); }); -app.use('/', APIUtils.genericResponse(false, `${config?.public.serverName} - ${config?.public.motd}`)); +app.get('/', APIUtils.genericResponse(false, `${config?.public.serverName} - ${config?.public.motd}`)); + +app.get('/debug', async (_rq, rs) => { + const user = await User.init({ username: "testuser123", password: "foopass123" }); + log.i(String(user == null)); + + rs.sendStatus(200); +}); // content routes const nameserverRouter = await import('./routes/nameserver.ts'); const apiRouter = await import('./routes/api.ts'); +const userRouter = await import('./routes/user.ts'); app.use(nameserverRouter.route.path, nameserverRouter.route.router); app.use(apiRouter.route.path, apiRouter.route.router); +app.use(userRouter.route.path, userRouter.route.router); app.use((rq: express.Request, rs: express.Response) => { log.e(`${APIUtils.getSrcIpDefault(rq)} 404 ${rq.method} ${rq.url.toString()}`); @@ -55,8 +66,7 @@ app.use((rq: express.Request, rs: express.Response) => { }); try { - log.i(`Connecting to Redis..`); - Redis.connectToRedis(); + Database.connect(); } catch (err) { log.e(`Cannot start: Redis could not be initialized. ${err}`); Deno.exit(1); @@ -81,4 +91,4 @@ try { Deno.exit(1); } -//Discord.login(); do not use for now \ No newline at end of file +Discord.login(); \ No newline at end of file diff --git a/src/routes/api.ts b/src/routes/api.ts index 9536843..3f72d0e 100644 --- a/src/routes/api.ts +++ b/src/routes/api.ts @@ -4,5 +4,5 @@ import { APIUtils } from "../apiutils.ts"; export const route = APIUtils.createRouter('/api'); -route.router.use(VersionCheckRoute.router); -route.router.use(ConfigRoute.router); \ No newline at end of file +route.router.use(VersionCheckRoute.path, VersionCheckRoute.router); +route.router.use(ConfigRoute.path, ConfigRoute.router); \ No newline at end of file diff --git a/src/routes/api/config.ts b/src/routes/api/config.ts index 64cc12f..ad2ed09 100644 --- a/src/routes/api/config.ts +++ b/src/routes/api/config.ts @@ -3,7 +3,7 @@ import { GameConfigs } from "../../data/config.ts"; export const route = APIUtils.createRouter('/config'); -route.router.get('/v2', (rq, rs) => { +route.router.get('/v2', (_rq, rs) => { const config = GameConfigs.getConfig(); if (config == null) rs.sendStatus(500); else rs.json(config); diff --git a/src/routes/api/gameconfigs.ts b/src/routes/api/gameconfigs.ts new file mode 100644 index 0000000..a6aece8 --- /dev/null +++ b/src/routes/api/gameconfigs.ts @@ -0,0 +1,7 @@ +import { APIUtils } from "../../apiutils.ts"; + +export const route = APIUtils.createRouter('/gameconfigs'); + +route.router.get('/v1/all', (_rq, rs) => { + rs.json([]); +}); \ No newline at end of file diff --git a/src/routes/api/versioncheck.ts b/src/routes/api/versioncheck.ts index 0fcde4b..d156cf9 100644 --- a/src/routes/api/versioncheck.ts +++ b/src/routes/api/versioncheck.ts @@ -4,20 +4,29 @@ export const route = APIUtils.createRouter('/versioncheck'); const validVersion = '20191120'; +enum VersionStatus { + UpdateRequired, + ValidForMenu, + ValidForPlay +} type ValidVersionResponse = { - ValidVersion: boolean + VersionStatus: VersionStatus } -route.router.get('/v3', (rq, rs) => { +route.router.get('/v4', (rq, rs) => { const requestedVer = rq.query['v']; - if (typeof requestedVer !== 'string' || requestedVer !== validVersion) { + if (typeof requestedVer == 'undefined') { + rs.statusCode = 400; + rs.json(APIUtils.genericResponseFormat(true, 'One or more query parameters were not found.')); + } + else if (requestedVer !== validVersion) { const res: ValidVersionResponse = { - ValidVersion: false + VersionStatus: VersionStatus.UpdateRequired } rs.json(res); } else { const res: ValidVersionResponse = { - ValidVersion: true + VersionStatus: VersionStatus.ValidForPlay } rs.json(res); } diff --git a/src/routes/nameserver.ts b/src/routes/nameserver.ts index 54604e4..f6212c1 100644 --- a/src/routes/nameserver.ts +++ b/src/routes/nameserver.ts @@ -20,19 +20,18 @@ type NameserverHosts = { Leaderboard: string } -const path = `${protocol}://${config.web.nameserverHost}`; const nameserver: NameserverHosts = { - Auth: path, - API: path, - WWW: path, - Notifications: path, - Images: path, - CDN: path, - Commerce: path, - Matchmaking: path, - Storage: path, - Chat: path, - Leaderboard: path + Auth: `${protocol}://${config.web.nameserverHost}/auth`, + API: `${protocol}://${config.web.nameserverHost}`, + WWW: `${protocol}://${config.web.nameserverHost}`, + Notifications: `${protocol}://${config.web.nameserverHost}/notify`, + Images: `${protocol}://${config.web.nameserverHost}/img`, + CDN: `${protocol}://${config.web.nameserverHost}/cdn`, + Commerce: `${protocol}://${config.web.nameserverHost}/commerce`, + Matchmaking: `${protocol}://${config.web.nameserverHost}/match`, + Storage: `${protocol}://${config.web.nameserverHost}/storage`, + Chat: `${protocol}://${config.web.nameserverHost}/chat`, + Leaderboard: `${protocol}://${config.web.nameserverHost}/leaderboard` } route.router.get('*', (_rq, rs) => { diff --git a/src/routes/user.ts b/src/routes/user.ts new file mode 100644 index 0000000..2ed0cd6 --- /dev/null +++ b/src/routes/user.ts @@ -0,0 +1,53 @@ +import { APIUtils, getSrcIpDefault } from "../apiutils.ts"; +// @ts-types = "npm:@types/express" +import express from "express"; +import { User } from "../data/users.ts"; +import Recaptcha from "../data/recaptcha.ts"; + +export const route = APIUtils.createRouter('/user'); + +type CreateUserBody = { + username: string, + password: string, + recaptcha: string +} + +type CreatedUserResponse = { + uuid: string, + backupcode: string +} + +const rateLimit = new APIUtils.RateLimiter(10, 1); + +route.router.post('/create', + + rateLimit.middle(), + express.json(), + APIUtils.checkBodyTypes({ username: "test", password: "test", recaptcha: "test" }), + + async (rq, rs) => { + const body = rq.body as CreateUserBody; + + const recaptchaStatus = await Recaptcha.siteVerify(body.recaptcha, getSrcIpDefault(rq)); + if (recaptchaStatus) { + const userinit = await User.init({ username: body.username, password: body.password }); + if (userinit == null) { + rs.statusCode = 400; + rs.json(APIUtils.genericResponseFormat(true, "Username is already taken")); + } else { + + const res: CreatedUserResponse = { + uuid: userinit.user.getUuid(), + backupcode: userinit.backupcode + } + rs.json(APIUtils.genericResponseFormat(false, "User created successfully", res)); + + } + } + else { + rs.statusCode = 400; + rs.json(APIUtils.genericResponseFormat(true, "ReCAPTCHA error")); + } + } + +); \ No newline at end of file