Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

test(client): add comprehensive Jest unit test suite with CI coverage reporting (#1039)

Aman Agarwal24fc2cb6b4e3
diff --git a/.github/workflows/pr-tag.yml b/.github/workflows/pr-tag.yml
index b44daa6f..3f70c31f 100644
--- a/.github/workflows/pr-tag.yml
+++ b/.github/workflows/pr-tag.yml
@@ -1,6 +1,6 @@
name: Pull Request Labeler
on:
-- pull_request_target
+- pull_request
jobs:
labeler:
diff --git a/.github/workflows/ui-test.yml b/.github/workflows/ui-test.yml
index 8709ee1b..1041378a 100644
--- a/.github/workflows/ui-test.yml
+++ b/.github/workflows/ui-test.yml
@@ -1,21 +1,116 @@
name: Test OpenLIT
on:
+ push:
+ branches: ["main"]
+ paths:
+ - 'src/client/**'
pull_request:
branches: [main]
- paths:
- - 'src/**'
permissions:
contents: read
+ pull-requests: write
jobs:
+ jest:
+ name: Jest Unit Tests
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: src/client
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Set up Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: '20'
+
+ - name: Install dependencies
+ run: npm ci
+
+ - name: Generate Prisma client
+ run: npx prisma generate
+
+ - name: Run Jest tests
+ run: npm test -- --coverage --ci --coverageReporters=json-summary --coverageReporters=text
+
+ - name: Post coverage comment on PR
+ if: github.event_name == 'pull_request'
+ uses: actions/github-script@v7
+ with:
+ script: |
+ const fs = require('fs');
+ const summary = JSON.parse(
+ fs.readFileSync('src/client/coverage/coverage-summary.json', 'utf8')
+ );
+ const { statements, branches, functions, lines } = summary.total;
+
+ const overall = Math.min(
+ statements.pct, branches.pct, functions.pct, lines.pct
+ );
+
+ const icon = overall > 90 ? '✅' : overall >= 80 ? '⚠️' : '❌';
+ const statusLabel = overall > 90 ? 'Great' : overall >= 80 ? 'Good' : 'Poor';
+
+ const fmt = (pct) =>
+ `${pct > 90 ? '✅' : pct >= 80 ? '⚠️' : '❌'} ${pct}%`;
+
+ const MARKER = '<!-- jest-coverage-report -->';
+ const body = [
+ MARKER,
+ `## ${icon} Jest Coverage — ${statusLabel} (${overall}%)`,
+ '',
+ '| Metric | Coverage |',
+ '|------------|----------|',
+ `| Statements | ${fmt(statements.pct)} |`,
+ `| Branches | ${fmt(branches.pct)} |`,
+ `| Functions | ${fmt(functions.pct)} |`,
+ `| Lines | ${fmt(lines.pct)} |`,
+ '',
+ '> ✅ **Great**: >90% &nbsp;|&nbsp; ⚠️ **Good**: 80–90% &nbsp;|&nbsp; ❌ **Poor**: <80%',
+ ...(overall < 80
+ ? ['', '🚫 **This PR is blocked from merging: coverage is below the 80% threshold.**']
+ : []),
+ ].join('\n');
+
+ const { data: comments } = await github.rest.issues.listComments({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ });
+
+ const existing = comments.find((c) => c.body.includes(MARKER));
+ if (existing) {
+ await github.rest.issues.updateComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ comment_id: existing.id,
+ body,
+ });
+ } else {
+ await github.rest.issues.createComment({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ issue_number: context.issue.number,
+ body,
+ });
+ }
+
+ if (overall < 80) {
+ core.setFailed(
+ `Test coverage ${overall}% is below the required 80% threshold.`
+ );
+ }
+
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- uses: actions/checkout@v5
+ uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
diff --git a/src/client/jest.config.js b/src/client/jest.config.js
new file mode 100644
index 00000000..5ffc687a
--- /dev/null
+++ b/src/client/jest.config.js
@@ -0,0 +1,55 @@
+const nextJest = require('next/jest');
+
+const createJestConfig = nextJest({
+ dir: './',
+});
+
+const config = {
+ coverageProvider: 'v8',
+ testEnvironment: 'jsdom',
+ setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
+ moduleNameMapper: {
+ '^@/(.*)$': '<rootDir>/src/$1',
+ },
+ collectCoverageFrom: [
+ 'src/**/*.{ts,tsx}',
+ '!src/**/*.d.ts',
+ '!src/app/**',
+ '!src/instrumentation.ts',
+ // UI components are not unit-testable without full rendering setup
+ '!src/components/**',
+ // ClickHouse connection pool setup
+ '!src/clickhouse/**',
+ '!src/lib/platform/clickhouse/**',
+ // Complex AI provider adapters and OpenGround internals
+ '!src/lib/platform/openground/**',
+ '!src/lib/platform/openground-clickhouse/**',
+ '!src/lib/platform/manage-dashboard/**',
+ // DB clients/singletons
+ '!src/lib/prisma.ts',
+ '!src/lib/posthog.ts',
+ // TypeScript type definitions only
+ '!src/types/**',
+ // Type-only exports (no runtime code to cover)
+ '!src/middleware/middlewareFactory.ts',
+ '!src/constants/dbConfig.ts',
+ '!src/constants/prompts.ts',
+ '!src/constants/sidebar.tsx',
+ // Complex OS-level operations (cron file management, child process spawning)
+ '!src/helpers/server/cron.ts',
+ // NextAuth session internals (requires full framework context)
+ '!src/lib/session.ts',
+ // Store initialization (individual slices are tested in their own files)
+ '!src/store/index.ts',
+ ],
+ testMatch: [
+ '**/__tests__/**/*.{ts,tsx}',
+ '**/*.test.{ts,tsx}',
+ ],
+ testPathIgnorePatterns: [
+ '/node_modules/',
+ '/.next/',
+ ],
+};
+
+module.exports = createJestConfig(config);
diff --git a/src/client/jest.setup.ts b/src/client/jest.setup.ts
new file mode 100644
index 00000000..7b0828bf
--- /dev/null
+++ b/src/client/jest.setup.ts
@@ -0,0 +1 @@
+import '@testing-library/jest-dom';
diff --git a/src/client/package-lock.json b/src/client/package-lock.json
index a41d289b..8fe671db 100644
--- a/src/client/package-lock.json
+++ b/src/client/package-lock.json
@@ -80,6 +80,9 @@
"zustand": "^4.5.2"
},
"devDependencies": {
+ "@testing-library/jest-dom": "^6.9.1",
+ "@testing-library/react": "^16.3.2",
+ "@types/jest": "^30.0.0",
"@types/lodash": "^4.17.5",
"@types/mustache": "^4.2.6",
"@types/node": "^20.14.2",
@@ -92,12 +95,21 @@
"autoprefixer": "^10.0.1",
"eslint": "^8.57.0",
"eslint-config-next": "^14.1.4",
+ "jest": "^30.2.0",
+ "jest-environment-jsdom": "^30.2.0",
"postcss": "^8",
"prisma": "^5.15.0",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.4"
}
},
+ "node_modules/@adobe/css-tools": {
+ "version": "4.4.4",
+ "resolved": "https://registry.npmjs.org/@adobe/css-tools/-/css-tools-4.4.4.tgz",
+ "integrity": "sha512-Elp+iwUx5rN5+Y8xLt5/GRoG20WGoDCQ/1Fb+1LiGtvwbDavuSk0jhD/eZdckHAuzcDzccnkv+rEjyWfRx18gg==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@ai-sdk/anthropic": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/@ai-sdk/anthropic/-/anthropic-3.0.6.tgz",
@@ -258,6 +270,27 @@
"undici-types": "~5.26.4"
}
},
+ "node_modules/@asamuzakjp/css-color": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@asamuzakjp/css-color/-/css-color-3.2.0.tgz",
+ "integrity": "sha512-K1A6z8tS3XsmCMM86xoWdn7Fkdn9m6RSVtocUrJYIwZnFVkng/PvkEoWtOWmP+Scc6saYWHWZYbndEEXxl24jw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/css-calc": "^2.1.3",
+ "@csstools/css-color-parser": "^3.0.9",
+ "@csstools/css-parser-algorithms": "^3.0.4",
+ "@csstools/css-tokenizer": "^3.0.3",
+ "lru-cache": "^10.4.3"
+ }
+ },
+ "node_modules/@asamuzakjp/css-color/node_modules/lru-cache": {
+ "version": "10.4.3",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
+ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
+ "dev": true,
+ "license": "ISC"
+ },
"node_modules/@aws-crypto/crc32": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-3.0.0.tgz",
@@ -1114,133 +1147,250 @@
}
},
"node_modules/@babel/code-frame": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz",
- "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==",
- "peer": true,
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
+ "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
+ "license": "MIT",
"dependencies": {
- "@babel/highlight": "^7.24.7",
- "picocolors": "^1.0.0"
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
},
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/generator": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.7.tgz",
- "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==",
- "peer": true,
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz",
+ "integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
+ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/types": "^7.24.7",
- "@jridgewell/gen-mapping": "^0.3.5",
- "@jridgewell/trace-mapping": "^0.3.25",
- "jsesc": "^2.5.1"
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helpers": "^7.28.6",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/remapping": "^2.3.5",
+ "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/helper-environment-visitor": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz",
- "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==",
- "peer": true,
+ "node_modules/@babel/core/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/@babel/core/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/@babel/core/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/@babel/generator": {
+ "version": "7.29.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
+ "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
+ "license": "MIT",
"dependencies": {
- "@babel/types": "^7.24.7"
+ "@babel/parser": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
},
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-function-name": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz",
- "integrity": "sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA==",
- "peer": true,
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
+ "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/template": "^7.24.7",
- "@babel/types": "^7.24.7"
+ "@babel/compat-data": "^7.28.6",
+ "@babel/helper-validator-option": "^7.27.1",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
},
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-hoist-variables": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz",
- "integrity": "sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ==",
- "peer": true,
+ "node_modules/@babel/helper-compilation-targets/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": {
- "@babel/types": "^7.24.7"
- },
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets/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/@babel/helper-compilation-targets/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/@babel/helper-globals": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
+ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-module-imports": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz",
- "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==",
- "peer": true,
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
+ "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
+ "license": "MIT",
"dependencies": {
- "@babel/traverse": "^7.24.7",
- "@babel/types": "^7.24.7"
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/helper-split-export-declaration": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz",
- "integrity": "sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA==",
- "peer": true,
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
+ "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/types": "^7.24.7"
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/traverse": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
},
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-plugin-utils": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz",
+ "integrity": "sha512-S9gzZ/bz83GRysI7gAD4wPT/AI3uCnY+9xn+Mx/KPs2JwHJIz1W8PZkg2cqyt3RNOBM8ejcXhV6y8Og7ly/Dug==",
+ "dev": true,
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-string-parser": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz",
- "integrity": "sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg==",
- "peer": true,
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz",
- "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==",
- "peer": true,
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
+ "license": "MIT",
"engines": {
"node": ">=6.9.0"
}
},
- "node_modules/@babel/highlight": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz",
- "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==",
- "peer": true,
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.6.tgz",
+ "integrity": "sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-validator-identifier": "^7.24.7",
- "chalk": "^2.4.2",
- "js-tokens": "^4.0.0",
- "picocolors": "^1.0.0"
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.28.6"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@babel/parser": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.7.tgz",
- "integrity": "sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw==",
- "peer": true,
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.0.tgz",
+ "integrity": "sha512-IyDgFV5GeDUVX4YdF/3CPULtVGSXXMLh1xVIgdCgxApktqnQV0r7/8Nqthg+8YLGaAtdyIlo2qIdZrbCv4+7ww==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.0"
+ },
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -1248,729 +1398,791 @@
"node": ">=6.0.0"
}
},
- "node_modules/@babel/runtime": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz",
- "integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==",
+ "node_modules/@babel/plugin-syntax-async-generators": {
+ "version": "7.8.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
+ "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "regenerator-runtime": "^0.14.0"
+ "@babel/helper-plugin-utils": "^7.8.0"
},
- "engines": {
- "node": ">=6.9.0"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/template": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.7.tgz",
- "integrity": "sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-bigint": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",
+ "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.24.7",
- "@babel/parser": "^7.24.7",
- "@babel/types": "^7.24.7"
+ "@babel/helper-plugin-utils": "^7.8.0"
},
- "engines": {
- "node": ">=6.9.0"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/traverse": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.7.tgz",
- "integrity": "sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-class-properties": {
+ "version": "7.12.13",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
+ "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/code-frame": "^7.24.7",
- "@babel/generator": "^7.24.7",
- "@babel/helper-environment-visitor": "^7.24.7",
- "@babel/helper-function-name": "^7.24.7",
- "@babel/helper-hoist-variables": "^7.24.7",
- "@babel/helper-split-export-declaration": "^7.24.7",
- "@babel/parser": "^7.24.7",
- "@babel/types": "^7.24.7",
- "debug": "^4.3.1",
- "globals": "^11.1.0"
+ "@babel/helper-plugin-utils": "^7.12.13"
},
- "engines": {
- "node": ">=6.9.0"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@babel/types": {
- "version": "7.24.7",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.7.tgz",
- "integrity": "sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-class-static-block": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
+ "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-string-parser": "^7.24.7",
- "@babel/helper-validator-identifier": "^7.24.7",
- "to-fast-properties": "^2.0.0"
+ "@babel/helper-plugin-utils": "^7.14.5"
},
"engines": {
"node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@clickhouse/client": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@clickhouse/client/-/client-1.1.0.tgz",
- "integrity": "sha512-fDG0dUU2nzcsE4XLDL3qUydbHJfuVCHnLuBTEmQfDrNQB9z6/qOtAUoGfAatZ07eEakZ4JAzKWMTU4MW4m0BJg==",
+ "node_modules/@babel/plugin-syntax-import-attributes": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.28.6.tgz",
+ "integrity": "sha512-jiLC0ma9XkQT3TKJ9uYvlakm66Pamywo+qwL+oL8HJOvc6TWdZXVfhqJr8CCzbSGUAbDOzlGHJC1U+vRfLQDvw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@clickhouse/client-common": "1.1.0"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
- "node": ">=16"
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@clickhouse/client-common": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@clickhouse/client-common/-/client-common-1.1.0.tgz",
- "integrity": "sha512-saD6vNg+gIZACT5OSCWn0evLBP+Cs5bBR2Ol24yOQc8AXcw94b1qcDjQEVxms1xzO6heFhZRuPf+YefMNrL3Ig=="
- },
- "node_modules/@dhmk/utils": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/@dhmk/utils/-/utils-4.4.1.tgz",
- "integrity": "sha512-5l9xBJvaIQqbLv6vOhhArL6A/UXdATqFUdrQ7MkD3kMwGoEv1cxrSsNUIzRRjW5G1c7Kng6gu0KZf5D6tFbP9g=="
+ "node_modules/@babel/plugin-syntax-import-meta": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
+ "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "node_modules/@dhmk/zustand-lens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@dhmk/zustand-lens/-/zustand-lens-4.0.0.tgz",
- "integrity": "sha512-xx9Dz/zcsA92cJxBmv8voTJ8hc5/+KNB6y2cWoY7YLv0QsAZGaWghiQhGAYeWmZMKvFtpc7CwSeN8cLLaMdOCw==",
+ "node_modules/@babel/plugin-syntax-json-strings": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
+ "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@dhmk/utils": "^4.3.3"
+ "@babel/helper-plugin-utils": "^7.8.0"
},
"peerDependencies": {
- "zustand": "^4.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emnapi/runtime": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.7.0.tgz",
- "integrity": "sha512-oAYoQnCYaQZKVS53Fq23ceWMRxq5EhQsE0x0RdQ55jT7wagMu5k+fS39v1fiSLrtrLQlXwVINenqhLMtTrV/1Q==",
- "optional": true,
+ "node_modules/@babel/plugin-syntax-jsx": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.28.6.tgz",
+ "integrity": "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "tslib": "^2.4.0"
+ "@babel/helper-plugin-utils": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/babel-plugin": {
- "version": "11.11.0",
- "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz",
- "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-logical-assignment-operators": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
+ "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/helper-module-imports": "^7.16.7",
- "@babel/runtime": "^7.18.3",
- "@emotion/hash": "^0.9.1",
- "@emotion/memoize": "^0.8.1",
- "@emotion/serialize": "^1.1.2",
- "babel-plugin-macros": "^3.1.0",
- "convert-source-map": "^1.5.0",
- "escape-string-regexp": "^4.0.0",
- "find-root": "^1.1.0",
- "source-map": "^0.5.7",
- "stylis": "4.2.0"
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/cache": {
- "version": "11.11.0",
- "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz",
- "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
+ "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@emotion/memoize": "^0.8.1",
- "@emotion/sheet": "^1.2.2",
- "@emotion/utils": "^1.2.1",
- "@emotion/weak-memoize": "^0.3.1",
- "stylis": "4.2.0"
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/hash": {
- "version": "0.9.1",
- "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz",
- "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==",
- "peer": true
+ "node_modules/@babel/plugin-syntax-numeric-separator": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
+ "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
},
- "node_modules/@emotion/is-prop-valid": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz",
- "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-object-rest-spread": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
+ "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@emotion/memoize": "^0.8.1"
+ "@babel/helper-plugin-utils": "^7.8.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/memoize": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz",
- "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==",
- "peer": true
- },
- "node_modules/@emotion/react": {
- "version": "11.11.4",
- "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.4.tgz",
- "integrity": "sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-optional-catch-binding": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
+ "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.11.0",
- "@emotion/cache": "^11.11.0",
- "@emotion/serialize": "^1.1.3",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
- "@emotion/utils": "^1.2.1",
- "@emotion/weak-memoize": "^0.3.1",
- "hoist-non-react-statics": "^3.3.1"
+ "@babel/helper-plugin-utils": "^7.8.0"
},
"peerDependencies": {
- "react": ">=16.8.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@emotion/serialize": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.4.tgz",
- "integrity": "sha512-RIN04MBT8g+FnDwgvIUi8czvr1LU1alUMI05LekWB5DGyTm8cCBMCRpq3GqaiyEDRptEXOyXnvZ58GZYu4kBxQ==",
- "peer": true,
- "dependencies": {
- "@emotion/hash": "^0.9.1",
- "@emotion/memoize": "^0.8.1",
- "@emotion/unitless": "^0.8.1",
- "@emotion/utils": "^1.2.1",
- "csstype": "^3.0.2"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/sheet": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz",
- "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==",
- "peer": true
- },
- "node_modules/@emotion/styled": {
- "version": "11.11.5",
- "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.5.tgz",
- "integrity": "sha512-/ZjjnaNKvuMPxcIiUkf/9SHoG4Q196DRl1w82hQ3WCsjo1IUR8uaGWrC6a87CrYAW0Kb/pK7hk8BnLgLRi9KoQ==",
- "peer": true,
+ "node_modules/@babel/plugin-syntax-optional-chaining": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
+ "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.18.3",
- "@emotion/babel-plugin": "^11.11.0",
- "@emotion/is-prop-valid": "^1.2.2",
- "@emotion/serialize": "^1.1.4",
- "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
- "@emotion/utils": "^1.2.1"
- },
- "peerDependencies": {
- "@emotion/react": "^11.0.0-rc.0",
- "react": ">=16.8.0"
+ "@babel/helper-plugin-utils": "^7.8.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@emotion/unitless": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz",
- "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==",
- "peer": true
- },
- "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz",
- "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==",
- "peer": true,
"peerDependencies": {
- "react": ">=16.8.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@emotion/utils": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz",
- "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==",
- "peer": true
- },
- "node_modules/@emotion/weak-memoize": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz",
- "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==",
- "peer": true
- },
- "node_modules/@eslint-community/eslint-utils": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
- "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
+ "node_modules/@babel/plugin-syntax-private-property-in-object": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
+ "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "eslint-visitor-keys": "^3.3.0"
+ "@babel/helper-plugin-utils": "^7.14.5"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": ">=6.9.0"
},
"peerDependencies": {
- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
- }
- },
- "node_modules/@eslint-community/regexpp": {
- "version": "4.10.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.1.tgz",
- "integrity": "sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==",
- "dev": true,
- "engines": {
- "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@eslint/eslintrc": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
- "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
+ "node_modules/@babel/plugin-syntax-top-level-await": {
+ "version": "7.14.5",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
+ "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "ajv": "^6.12.4",
- "debug": "^4.3.2",
- "espree": "^9.6.0",
- "globals": "^13.19.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"
+ "@babel/helper-plugin-utils": "^7.14.5"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://opencollective.com/eslint"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@eslint/eslintrc/node_modules/globals": {
- "version": "13.24.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
- "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "node_modules/@babel/plugin-syntax-typescript": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz",
+ "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "type-fest": "^0.20.2"
+ "@babel/helper-plugin-utils": "^7.28.6"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.9.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
}
},
- "node_modules/@eslint/js": {
- "version": "8.57.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
- "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
- "dev": true,
+ "node_modules/@babel/runtime": {
+ "version": "7.24.7",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz",
+ "integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==",
+ "dependencies": {
+ "regenerator-runtime": "^0.14.0"
+ },
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": ">=6.9.0"
}
},
- "node_modules/@floating-ui/core": {
- "version": "1.6.2",
- "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.2.tgz",
- "integrity": "sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==",
+ "node_modules/@babel/template": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
+ "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
+ "license": "MIT",
"dependencies": {
- "@floating-ui/utils": "^0.2.0"
+ "@babel/code-frame": "^7.28.6",
+ "@babel/parser": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
}
},
- "node_modules/@floating-ui/dom": {
- "version": "1.6.5",
- "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz",
- "integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==",
+ "node_modules/@babel/traverse": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
+ "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
+ "license": "MIT",
"dependencies": {
- "@floating-ui/core": "^1.0.0",
- "@floating-ui/utils": "^0.2.0"
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-globals": "^7.28.0",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
}
},
- "node_modules/@floating-ui/react-dom": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.0.tgz",
- "integrity": "sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==",
+ "node_modules/@babel/types": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
+ "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
+ "license": "MIT",
"dependencies": {
- "@floating-ui/dom": "^1.0.0"
+ "@babel/helper-string-parser": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5"
},
- "peerDependencies": {
- "react": ">=16.8.0",
- "react-dom": ">=16.8.0"
+ "engines": {
+ "node": ">=6.9.0"
}
},
- "node_modules/@floating-ui/utils": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz",
- "integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw=="
- },
- "node_modules/@humanwhocodes/config-array": {
- "version": "0.11.14",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
- "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
- "deprecated": "Use @eslint/config-array instead",
+ "node_modules/@bcoe/v8-coverage": {
+ "version": "0.2.3",
+ "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
+ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
"dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@clickhouse/client": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@clickhouse/client/-/client-1.1.0.tgz",
+ "integrity": "sha512-fDG0dUU2nzcsE4XLDL3qUydbHJfuVCHnLuBTEmQfDrNQB9z6/qOtAUoGfAatZ07eEakZ4JAzKWMTU4MW4m0BJg==",
"dependencies": {
- "@humanwhocodes/object-schema": "^2.0.2",
- "debug": "^4.3.1",
- "minimatch": "^3.0.5"
+ "@clickhouse/client-common": "1.1.0"
},
"engines": {
- "node": ">=10.10.0"
+ "node": ">=16"
}
},
- "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==",
+ "node_modules/@clickhouse/client-common": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@clickhouse/client-common/-/client-common-1.1.0.tgz",
+ "integrity": "sha512-saD6vNg+gIZACT5OSCWn0evLBP+Cs5bBR2Ol24yOQc8AXcw94b1qcDjQEVxms1xzO6heFhZRuPf+YefMNrL3Ig=="
+ },
+ "node_modules/@csstools/color-helpers": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@csstools/color-helpers/-/color-helpers-5.1.0.tgz",
+ "integrity": "sha512-S11EXWJyy0Mz5SYvRmY8nJYTFFd1LCNV+7cXyAgQtOOuzb4EsgfqDufL+9esx72/eLhsRdGZwaldu/h+E4t4BA==",
"dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT-0",
"engines": {
- "node": ">=12.22"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
+ "node": ">=18"
}
},
- "node_modules/@humanwhocodes/object-schema": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
- "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
- "deprecated": "Use @eslint/object-schema instead",
- "dev": true
- },
- "node_modules/@img/colour": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.0.0.tgz",
- "integrity": "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==",
+ "node_modules/@csstools/css-calc": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@csstools/css-calc/-/css-calc-2.1.4.tgz",
+ "integrity": "sha512-3N8oaj+0juUw/1H3YwmDDJXCgTB1gKU6Hc/bB502u9zR0q2vd786XJH9QfrKIEgFlZmhZiq6epXl4rHqhzsIgQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
+ ],
+ "license": "MIT",
"engines": {
"node": ">=18"
- }
+ },
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
+ }
},
- "node_modules/@img/sharp-darwin-arm64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",
- "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "darwin"
+ "node_modules/@csstools/css-color-parser": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@csstools/css-color-parser/-/css-color-parser-3.1.0.tgz",
+ "integrity": "sha512-nbtKwh3a6xNVIp/VRuXV64yTKnb1IjTAEEh3irzS+HkKjAOYLTGNb9pmVNntZ8iVBHcWDA2Dof0QtPgFI1BaTA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
],
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ "license": "MIT",
+ "dependencies": {
+ "@csstools/color-helpers": "^5.1.0",
+ "@csstools/css-calc": "^2.1.4"
},
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "engines": {
+ "node": ">=18"
},
- "optionalDependencies": {
- "@img/sharp-libvips-darwin-arm64": "1.2.4"
+ "peerDependencies": {
+ "@csstools/css-parser-algorithms": "^3.0.5",
+ "@csstools/css-tokenizer": "^3.0.4"
}
},
- "node_modules/@img/sharp-darwin-x64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",
- "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "darwin"
+ "node_modules/@csstools/css-parser-algorithms": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz",
+ "integrity": "sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
],
+ "license": "MIT",
"engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "node": ">=18"
},
- "optionalDependencies": {
- "@img/sharp-libvips-darwin-x64": "1.2.4"
+ "peerDependencies": {
+ "@csstools/css-tokenizer": "^3.0.4"
}
},
- "node_modules/@img/sharp-libvips-darwin-arm64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",
- "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "darwin"
+ "node_modules/@csstools/css-tokenizer": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz",
+ "integrity": "sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/csstools"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/csstools"
+ }
],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/@img/sharp-libvips-darwin-x64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",
- "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
- }
+ "node_modules/@dhmk/utils": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/@dhmk/utils/-/utils-4.4.1.tgz",
+ "integrity": "sha512-5l9xBJvaIQqbLv6vOhhArL6A/UXdATqFUdrQ7MkD3kMwGoEv1cxrSsNUIzRRjW5G1c7Kng6gu0KZf5D6tFbP9g=="
},
- "node_modules/@img/sharp-libvips-linux-arm": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",
- "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",
- "cpu": [
- "arm"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "node_modules/@dhmk/zustand-lens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@dhmk/zustand-lens/-/zustand-lens-4.0.0.tgz",
+ "integrity": "sha512-xx9Dz/zcsA92cJxBmv8voTJ8hc5/+KNB6y2cWoY7YLv0QsAZGaWghiQhGAYeWmZMKvFtpc7CwSeN8cLLaMdOCw==",
+ "dependencies": {
+ "@dhmk/utils": "^4.3.3"
+ },
+ "peerDependencies": {
+ "zustand": "^4.0.0"
}
},
- "node_modules/@img/sharp-libvips-linux-arm64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",
- "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",
- "cpu": [
- "arm64"
- ],
+ "node_modules/@emnapi/core": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz",
+ "integrity": "sha512-AvT9QFpxK0Zd8J0jopedNm+w/2fIzvtPKPjqyw9jwvBaReTTqPBk9Hixaz7KbjimP+QNz605/XnjFcDAL2pqBg==",
+ "dev": true,
+ "license": "MIT",
"optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.1.0",
+ "tslib": "^2.4.0"
}
},
- "node_modules/@img/sharp-libvips-linux-ppc64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",
- "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",
- "cpu": [
- "ppc64"
- ],
+ "node_modules/@emnapi/runtime": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.7.0.tgz",
+ "integrity": "sha512-oAYoQnCYaQZKVS53Fq23ceWMRxq5EhQsE0x0RdQ55jT7wagMu5k+fS39v1fiSLrtrLQlXwVINenqhLMtTrV/1Q==",
"optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "dependencies": {
+ "tslib": "^2.4.0"
}
},
- "node_modules/@img/sharp-libvips-linux-riscv64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",
- "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",
- "cpu": [
- "riscv64"
- ],
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz",
+ "integrity": "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==",
+ "dev": true,
+ "license": "MIT",
"optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "dependencies": {
+ "tslib": "^2.4.0"
}
},
- "node_modules/@img/sharp-libvips-linux-s390x": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",
- "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",
- "cpu": [
- "s390x"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "node_modules/@emotion/babel-plugin": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz",
+ "integrity": "sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==",
+ "peer": true,
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.16.7",
+ "@babel/runtime": "^7.18.3",
+ "@emotion/hash": "^0.9.1",
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/serialize": "^1.1.2",
+ "babel-plugin-macros": "^3.1.0",
+ "convert-source-map": "^1.5.0",
+ "escape-string-regexp": "^4.0.0",
+ "find-root": "^1.1.0",
+ "source-map": "^0.5.7",
+ "stylis": "4.2.0"
}
},
- "node_modules/@img/sharp-libvips-linux-x64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",
- "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "node_modules/@emotion/cache": {
+ "version": "11.11.0",
+ "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.11.0.tgz",
+ "integrity": "sha512-P34z9ssTCBi3e9EI1ZsWpNHcfY1r09ZO0rZbRO2ob3ZQMnFI35jB536qoXbkdesr5EUhYi22anuEJuyxifaqAQ==",
+ "peer": true,
+ "dependencies": {
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/sheet": "^1.2.2",
+ "@emotion/utils": "^1.2.1",
+ "@emotion/weak-memoize": "^0.3.1",
+ "stylis": "4.2.0"
}
},
- "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",
- "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "node_modules/@emotion/hash": {
+ "version": "0.9.1",
+ "resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz",
+ "integrity": "sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ==",
+ "peer": true
+ },
+ "node_modules/@emotion/is-prop-valid": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz",
+ "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==",
+ "peer": true,
+ "dependencies": {
+ "@emotion/memoize": "^0.8.1"
}
},
- "node_modules/@img/sharp-libvips-linuxmusl-x64": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",
- "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "funding": {
- "url": "https://opencollective.com/libvips"
- }
+ "node_modules/@emotion/memoize": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz",
+ "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==",
+ "peer": true
},
- "node_modules/@img/sharp-linux-arm": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",
- "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",
- "cpu": [
- "arm"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ "node_modules/@emotion/react": {
+ "version": "11.11.4",
+ "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.11.4.tgz",
+ "integrity": "sha512-t8AjMlF0gHpvvxk5mAtCqR4vmxiGHCeJBaQO6gncUSdklELOgtwjerNY2yuJNfwnc6vi16U/+uMF+afIawJ9iw==",
+ "peer": true,
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.11.0",
+ "@emotion/cache": "^11.11.0",
+ "@emotion/serialize": "^1.1.3",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
+ "@emotion/utils": "^1.2.1",
+ "@emotion/weak-memoize": "^0.3.1",
+ "hoist-non-react-statics": "^3.3.1"
},
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "peerDependencies": {
+ "react": ">=16.8.0"
},
- "optionalDependencies": {
- "@img/sharp-libvips-linux-arm": "1.2.4"
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@img/sharp-linux-arm64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",
- "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ "node_modules/@emotion/serialize": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/@emotion/serialize/-/serialize-1.1.4.tgz",
+ "integrity": "sha512-RIN04MBT8g+FnDwgvIUi8czvr1LU1alUMI05LekWB5DGyTm8cCBMCRpq3GqaiyEDRptEXOyXnvZ58GZYu4kBxQ==",
+ "peer": true,
+ "dependencies": {
+ "@emotion/hash": "^0.9.1",
+ "@emotion/memoize": "^0.8.1",
+ "@emotion/unitless": "^0.8.1",
+ "@emotion/utils": "^1.2.1",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@emotion/sheet": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz",
+ "integrity": "sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==",
+ "peer": true
+ },
+ "node_modules/@emotion/styled": {
+ "version": "11.11.5",
+ "resolved": "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.5.tgz",
+ "integrity": "sha512-/ZjjnaNKvuMPxcIiUkf/9SHoG4Q196DRl1w82hQ3WCsjo1IUR8uaGWrC6a87CrYAW0Kb/pK7hk8BnLgLRi9KoQ==",
+ "peer": true,
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "@emotion/babel-plugin": "^11.11.0",
+ "@emotion/is-prop-valid": "^1.2.2",
+ "@emotion/serialize": "^1.1.4",
+ "@emotion/use-insertion-effect-with-fallbacks": "^1.0.1",
+ "@emotion/utils": "^1.2.1"
},
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "peerDependencies": {
+ "@emotion/react": "^11.0.0-rc.0",
+ "react": ">=16.8.0"
},
- "optionalDependencies": {
- "@img/sharp-libvips-linux-arm64": "1.2.4"
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@img/sharp-linux-ppc64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",
- "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",
- "cpu": [
- "ppc64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ "node_modules/@emotion/unitless": {
+ "version": "0.8.1",
+ "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz",
+ "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==",
+ "peer": true
+ },
+ "node_modules/@emotion/use-insertion-effect-with-fallbacks": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.1.tgz",
+ "integrity": "sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==",
+ "peer": true,
+ "peerDependencies": {
+ "react": ">=16.8.0"
+ }
+ },
+ "node_modules/@emotion/utils": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@emotion/utils/-/utils-1.2.1.tgz",
+ "integrity": "sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==",
+ "peer": true
+ },
+ "node_modules/@emotion/weak-memoize": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/@emotion/weak-memoize/-/weak-memoize-0.3.1.tgz",
+ "integrity": "sha512-EsBwpc7hBUJWAsNPBmJy4hxWx12v6bshQsldrVmjxJoc3isbxhOrF2IcCpaXxfvq03NwkI7sbsOLXbYuqF/8Ww==",
+ "peer": true
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
+ "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
+ "dev": true,
+ "dependencies": {
+ "eslint-visitor-keys": "^3.3.0"
},
- "funding": {
- "url": "https://opencollective.com/libvips"
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
- "optionalDependencies": {
- "@img/sharp-libvips-linux-ppc64": "1.2.4"
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
}
},
- "node_modules/@img/sharp-linux-riscv64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",
- "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",
- "cpu": [
- "riscv64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.10.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.1.tgz",
+ "integrity": "sha512-Zm2NGpWELsQAD1xsJzGQpYfvICSsFkEpU0jxBjfdC6uNEWXcHnfs9hScFWtXVDVl+rBQJGrl4g1vcKIejpH9dA==",
+ "dev": true,
"engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/libvips"
- },
- "optionalDependencies": {
- "@img/sharp-libvips-linux-riscv64": "1.2.4"
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
- "node_modules/@img/sharp-linux-s390x": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",
- "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",
- "cpu": [
- "s390x"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
+ "node_modules/@eslint/eslintrc": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
+ "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
+ "dev": true,
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^9.6.0",
+ "globals": "^13.19.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.17.0 || ^20.3.0 || >=21.0.0"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": {
- "url": "https://opencollective.com/libvips"
- },
- "optionalDependencies": {
- "@img/sharp-libvips-linux-s390x": "1.2.4"
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/@img/sharp-linux-x64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",
- "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",
- "cpu": [
- "x64"
- ],
- "optional": true,
- "os": [
- "linux"
- ],
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
"engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ "node": ">=8"
},
"funding": {
- "url": "https://opencollective.com/libvips"
- },
- "optionalDependencies": {
- "@img/sharp-libvips-linux-x64": "1.2.4"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@img/sharp-linuxmusl-arm64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",
- "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",
- "cpu": [
- "arm64"
+ "node_modules/@eslint/js": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
+ "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@floating-ui/core": {
+ "version": "1.6.2",
+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.2.tgz",
+ "integrity": "sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.0"
+ }
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.6.5",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.5.tgz",
+ "integrity": "sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==",
+ "dependencies": {
+ "@floating-ui/core": "^1.0.0",
+ "@floating-ui/utils": "^0.2.0"
+ }
+ },
+ "node_modules/@floating-ui/react-dom": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/react-dom/-/react-dom-2.1.0.tgz",
+ "integrity": "sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==",
+ "dependencies": {
+ "@floating-ui/dom": "^1.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=16.8.0",
+ "react-dom": ">=16.8.0"
+ }
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz",
+ "integrity": "sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw=="
+ },
+ "node_modules/@humanwhocodes/config-array": {
+ "version": "0.11.14",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
+ "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
+ "deprecated": "Use @eslint/config-array instead",
+ "dev": true,
+ "dependencies": {
+ "@humanwhocodes/object-schema": "^2.0.2",
+ "debug": "^4.3.1",
+ "minimatch": "^3.0.5"
+ },
+ "engines": {
+ "node": ">=10.10.0"
+ }
+ },
+ "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,
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/object-schema": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
+ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
+ "deprecated": "Use @eslint/object-schema instead",
+ "dev": true
+ },
+ "node_modules/@img/colour": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.0.0.tgz",
+ "integrity": "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@img/sharp-darwin-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",
+ "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",
+ "cpu": [
+ "arm64"
],
"optional": true,
"os": [
- "linux"
+ "darwin"
],
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
@@ -1979,19 +2191,19 @@
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
- "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"
+ "@img/sharp-libvips-darwin-arm64": "1.2.4"
}
},
- "node_modules/@img/sharp-linuxmusl-x64": {
+ "node_modules/@img/sharp-darwin-x64": {
"version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",
- "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",
+ "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",
"cpu": [
"x64"
],
"optional": true,
"os": [
- "linux"
+ "darwin"
],
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
@@ -2000,494 +2212,289 @@
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
- "@img/sharp-libvips-linuxmusl-x64": "1.2.4"
+ "@img/sharp-libvips-darwin-x64": "1.2.4"
}
},
- "node_modules/@img/sharp-wasm32": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",
- "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",
+ "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",
"cpu": [
- "wasm32"
+ "arm64"
],
"optional": true,
- "dependencies": {
- "@emnapi/runtime": "^1.7.0"
- },
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
+ "os": [
+ "darwin"
+ ],
"funding": {
"url": "https://opencollective.com/libvips"
}
},
- "node_modules/@img/sharp-win32-arm64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",
- "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",
+ "node_modules/@img/sharp-libvips-darwin-x64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",
+ "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",
"cpu": [
- "arm64"
+ "x64"
],
"optional": true,
"os": [
- "win32"
+ "darwin"
],
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
"funding": {
"url": "https://opencollective.com/libvips"
}
},
- "node_modules/@img/sharp-win32-ia32": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",
- "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",
+ "node_modules/@img/sharp-libvips-linux-arm": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",
+ "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",
"cpu": [
- "ia32"
+ "arm"
],
"optional": true,
"os": [
- "win32"
+ "linux"
],
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
"funding": {
"url": "https://opencollective.com/libvips"
}
},
- "node_modules/@img/sharp-win32-x64": {
- "version": "0.34.5",
- "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",
- "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",
+ "node_modules/@img/sharp-libvips-linux-arm64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",
+ "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",
"cpu": [
- "x64"
+ "arm64"
],
"optional": true,
"os": [
- "win32"
+ "linux"
],
- "engines": {
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
- },
"funding": {
"url": "https://opencollective.com/libvips"
}
},
- "node_modules/@isaacs/cliui": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
- "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
- "dependencies": {
- "string-width": "^5.1.2",
- "string-width-cjs": "npm:string-width@^4.2.0",
- "strip-ansi": "^7.0.1",
- "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
- "wrap-ansi": "^8.1.0",
- "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
- "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
- "engines": {
- "node": ">=12"
- },
+ "node_modules/@img/sharp-libvips-linux-ppc64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.2.4.tgz",
+ "integrity": "sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"funding": {
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
+ "url": "https://opencollective.com/libvips"
}
},
- "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
- "dependencies": {
- "ansi-regex": "^6.0.1"
- },
- "engines": {
- "node": ">=12"
- },
+ "node_modules/@img/sharp-libvips-linux-riscv64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.2.4.tgz",
+ "integrity": "sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"funding": {
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
- }
- },
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz",
- "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==",
- "dependencies": {
- "@jridgewell/set-array": "^1.2.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.24"
- },
- "engines": {
- "node": ">=6.0.0"
+ "url": "https://opencollective.com/libvips"
}
},
- "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==",
- "engines": {
- "node": ">=6.0.0"
+ "node_modules/@img/sharp-libvips-linux-s390x": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.2.4.tgz",
+ "integrity": "sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
- "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==",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.4.15",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
- "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg=="
- },
- "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==",
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
- }
- },
- "node_modules/@mistralai/mistralai": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-0.4.0.tgz",
- "integrity": "sha512-KmFzNro1RKxIFh19J3osmUQhucefBBauMXN5fa9doG6dT9OHR/moBvvn+riVlR7c0AVfuxO8Dfa03AyLYYzbyg==",
- "dependencies": {
- "node-fetch": "^2.6.7"
+ "node_modules/@img/sharp-libvips-linux-x64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",
+ "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
- "node_modules/@monaco-editor/loader": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.5.0.tgz",
- "integrity": "sha512-hKoGSM+7aAc7eRTRjpqAZucPmoNOC4UUbknb/VNoTkEIkCPhqV8LfbsgM1webRM7S/z21eHEx9Fkwx8Z/C/+Xw==",
- "dependencies": {
- "state-local": "^1.0.6"
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",
+ "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
- "node_modules/@monaco-editor/react": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.7.0.tgz",
- "integrity": "sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA==",
- "dependencies": {
- "@monaco-editor/loader": "^1.5.0"
- },
- "peerDependencies": {
- "monaco-editor": ">= 0.25.0 < 1",
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",
+ "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
- "node_modules/@mui/base": {
- "version": "5.0.0-beta.40",
- "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.40.tgz",
- "integrity": "sha512-I/lGHztkCzvwlXpjD2+SNmvNQvB4227xBXhISPjEaJUXGImOQ9f3D2Yj/T3KasSI/h0MLWy74X0J6clhPmsRbQ==",
- "peer": true,
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@floating-ui/react-dom": "^2.0.8",
- "@mui/types": "^7.2.14",
- "@mui/utils": "^5.15.14",
- "@popperjs/core": "^2.11.8",
- "clsx": "^2.1.0",
- "prop-types": "^15.8.1"
- },
+ "node_modules/@img/sharp-linux-arm": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",
+ "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",
+ "cpu": [
+ "arm"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=12.0.0"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
- },
- "peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0",
- "react-dom": "^17.0.0 || ^18.0.0"
+ "url": "https://opencollective.com/libvips"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm": "1.2.4"
}
},
- "node_modules/@mui/core-downloads-tracker": {
- "version": "5.15.21",
- "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.21.tgz",
- "integrity": "sha512-dp9lXBaJZzJYeJfQY3Ow4Rb49QaCEdkl2KKYscdQHQm6bMJ+l4XPY3Cd9PCeeJTsHPIDJ60lzXbeRgs6sx/rpw==",
- "peer": true,
+ "node_modules/@img/sharp-linux-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",
+ "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-arm64": "1.2.4"
}
},
- "node_modules/@mui/material": {
- "version": "5.15.21",
- "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.15.21.tgz",
- "integrity": "sha512-nTyCcgduKwHqiuQ/B03EQUa+utSMzn2sQp0QAibsnYe4tvc3zkMbO0amKpl48vhABIY3IvT6w9615BFIgMt0YA==",
- "peer": true,
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/base": "5.0.0-beta.40",
- "@mui/core-downloads-tracker": "^5.15.21",
- "@mui/system": "^5.15.20",
- "@mui/types": "^7.2.14",
- "@mui/utils": "^5.15.20",
- "@types/react-transition-group": "^4.4.10",
- "clsx": "^2.1.0",
- "csstype": "^3.1.3",
- "prop-types": "^15.8.1",
- "react-is": "^18.2.0",
- "react-transition-group": "^4.4.5"
- },
+ "node_modules/@img/sharp-linux-ppc64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.34.5.tgz",
+ "integrity": "sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=12.0.0"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
- },
- "peerDependencies": {
- "@emotion/react": "^11.5.0",
- "@emotion/styled": "^11.3.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0",
- "react-dom": "^17.0.0 || ^18.0.0"
+ "url": "https://opencollective.com/libvips"
},
- "peerDependenciesMeta": {
- "@emotion/react": {
- "optional": true
- },
- "@emotion/styled": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-ppc64": "1.2.4"
}
},
- "node_modules/@mui/private-theming": {
- "version": "5.15.20",
- "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.15.20.tgz",
- "integrity": "sha512-BK8F94AIqSrnaPYXf2KAOjGZJgWfvqAVQ2gVR3EryvQFtuBnG6RwodxrCvd3B48VuMy6Wsk897+lQMUxJyk+6g==",
- "peer": true,
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/utils": "^5.15.20",
- "prop-types": "^15.8.1"
- },
+ "node_modules/@img/sharp-linux-riscv64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.34.5.tgz",
+ "integrity": "sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==",
+ "cpu": [
+ "riscv64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=12.0.0"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
- },
- "peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
+ "url": "https://opencollective.com/libvips"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-riscv64": "1.2.4"
}
},
- "node_modules/@mui/styled-engine": {
- "version": "5.15.14",
- "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.15.14.tgz",
- "integrity": "sha512-RILkuVD8gY6PvjZjqnWhz8fu68dVkqhM5+jYWfB5yhlSQKg+2rHkmEwm75XIeAqI3qwOndK6zELK5H6Zxn4NHw==",
- "peer": true,
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@emotion/cache": "^11.11.0",
- "csstype": "^3.1.3",
- "prop-types": "^15.8.1"
- },
+ "node_modules/@img/sharp-linux-s390x": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.5.tgz",
+ "integrity": "sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==",
+ "cpu": [
+ "s390x"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
"engines": {
- "node": ">=12.0.0"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
- },
- "peerDependencies": {
- "@emotion/react": "^11.4.1",
- "@emotion/styled": "^11.3.0",
- "react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@emotion/react": {
- "optional": true
- },
- "@emotion/styled": {
- "optional": true
- }
- }
- },
- "node_modules/@mui/system": {
- "version": "5.15.20",
- "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.15.20.tgz",
- "integrity": "sha512-LoMq4IlAAhxzL2VNUDBTQxAb4chnBe8JvRINVNDiMtHE2PiPOoHlhOPutSxEbaL5mkECPVWSv6p8JEV+uykwIA==",
- "peer": true,
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@mui/private-theming": "^5.15.20",
- "@mui/styled-engine": "^5.15.14",
- "@mui/types": "^7.2.14",
- "@mui/utils": "^5.15.20",
- "clsx": "^2.1.0",
- "csstype": "^3.1.3",
- "prop-types": "^15.8.1"
- },
- "engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
- },
- "peerDependencies": {
- "@emotion/react": "^11.5.0",
- "@emotion/styled": "^11.3.0",
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@emotion/react": {
- "optional": true
- },
- "@emotion/styled": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@mui/types": {
- "version": "7.2.14",
- "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.14.tgz",
- "integrity": "sha512-MZsBZ4q4HfzBsywtXgM1Ksj6HDThtiwmOKUXH1pKYISI9gAVXCNHNpo7TlGoGrBaYWZTdNoirIN7JsQcQUjmQQ==",
- "peer": true,
- "peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@mui/utils": {
- "version": "5.15.20",
- "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.15.20.tgz",
- "integrity": "sha512-mAbYx0sovrnpAu1zHc3MDIhPqL8RPVC5W5xcO1b7PiSCJPtckIZmBkp8hefamAvUiAV8gpfMOM6Zb+eSisbI2A==",
- "peer": true,
- "dependencies": {
- "@babel/runtime": "^7.23.9",
- "@types/prop-types": "^15.7.11",
- "prop-types": "^15.8.1",
- "react-is": "^18.2.0"
- },
- "engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/mui-org"
- },
- "peerDependencies": {
- "@types/react": "^17.0.0 || ^18.0.0",
- "react": "^17.0.0 || ^18.0.0"
+ "url": "https://opencollective.com/libvips"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@next-auth/prisma-adapter": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/@next-auth/prisma-adapter/-/prisma-adapter-1.0.7.tgz",
- "integrity": "sha512-Cdko4KfcmKjsyHFrWwZ//lfLUbcLqlyFqjd/nYE2m3aZ7tjMNUjpks47iw7NTCnXf+5UWz5Ypyt1dSs1EP5QJw==",
- "peerDependencies": {
- "@prisma/client": ">=2.26.0 || >=3",
- "next-auth": "^4"
- }
- },
- "node_modules/@next/env": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.4.tgz",
- "integrity": "sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg=="
- },
- "node_modules/@next/eslint-plugin-next": {
- "version": "14.1.4",
- "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.4.tgz",
- "integrity": "sha512-n4zYNLSyCo0Ln5b7qxqQeQ34OZKXwgbdcx6kmkQbywr+0k6M3Vinft0T72R6CDAcDrne2IAgSud4uWCzFgc5HA==",
- "dev": true,
- "dependencies": {
- "glob": "10.3.10"
- }
- },
- "node_modules/@next/swc-darwin-arm64": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.4.tgz",
- "integrity": "sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-s390x": "1.2.4"
}
},
- "node_modules/@next/swc-darwin-x64": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.4.tgz",
- "integrity": "sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==",
+ "node_modules/@img/sharp-linux-x64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",
+ "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",
"cpu": [
"x64"
],
"optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@next/swc-linux-arm64-gnu": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.4.tgz",
- "integrity": "sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==",
- "cpu": [
- "arm64"
- ],
- "optional": true,
"os": [
"linux"
],
"engines": {
- "node": ">= 10"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linux-x64": "1.2.4"
}
},
- "node_modules/@next/swc-linux-arm64-musl": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.4.tgz",
- "integrity": "sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==",
+ "node_modules/@img/sharp-linuxmusl-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",
+ "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",
"cpu": [
"arm64"
],
@@ -2496,13 +2503,19 @@
"linux"
],
"engines": {
- "node": ">= 10"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"
}
},
- "node_modules/@next/swc-linux-x64-gnu": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.4.tgz",
- "integrity": "sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==",
+ "node_modules/@img/sharp-linuxmusl-x64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",
+ "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",
"cpu": [
"x64"
],
@@ -2511,28 +2524,37 @@
"linux"
],
"engines": {
- "node": ">= 10"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ },
+ "optionalDependencies": {
+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4"
}
},
- "node_modules/@next/swc-linux-x64-musl": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.4.tgz",
- "integrity": "sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==",
+ "node_modules/@img/sharp-wasm32": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.5.tgz",
+ "integrity": "sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==",
"cpu": [
- "x64"
+ "wasm32"
],
"optional": true,
- "os": [
- "linux"
- ],
+ "dependencies": {
+ "@emnapi/runtime": "^1.7.0"
+ },
"engines": {
- "node": ">= 10"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
- "node_modules/@next/swc-win32-arm64-msvc": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.4.tgz",
- "integrity": "sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==",
+ "node_modules/@img/sharp-win32-arm64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",
+ "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",
"cpu": [
"arm64"
],
@@ -2541,13 +2563,16 @@
"win32"
],
"engines": {
- "node": ">= 10"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
- "node_modules/@next/swc-win32-ia32-msvc": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.4.tgz",
- "integrity": "sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==",
+ "node_modules/@img/sharp-win32-ia32": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.5.tgz",
+ "integrity": "sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==",
"cpu": [
"ia32"
],
@@ -2556,13 +2581,16 @@
"win32"
],
"engines": {
- "node": ">= 10"
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
}
},
- "node_modules/@next/swc-win32-x64-msvc": {
- "version": "14.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.4.tgz",
- "integrity": "sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==",
+ "node_modules/@img/sharp-win32-x64": {
+ "version": "0.34.5",
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",
+ "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",
"cpu": [
"x64"
],
@@ -2571,627 +2599,726 @@
"win32"
],
"engines": {
- "node": ">= 10"
- }
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/libvips"
+ }
},
- "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==",
+ "node_modules/@isaacs/cliui": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
+ "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
"dependencies": {
- "@nodelib/fs.stat": "2.0.5",
- "run-parallel": "^1.1.9"
+ "string-width": "^5.1.2",
+ "string-width-cjs": "npm:string-width@^4.2.0",
+ "strip-ansi": "^7.0.1",
+ "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
+ "wrap-ansi": "^8.1.0",
+ "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
},
"engines": {
- "node": ">= 8"
+ "node": ">=12"
}
},
- "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==",
+ "node_modules/@isaacs/cliui/node_modules/ansi-regex": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
+ "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
"engines": {
- "node": ">= 8"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"
}
},
- "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==",
+ "node_modules/@isaacs/cliui/node_modules/strip-ansi": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
"dependencies": {
- "@nodelib/fs.scandir": "2.1.5",
- "fastq": "^1.6.0"
+ "ansi-regex": "^6.0.1"
},
"engines": {
- "node": ">= 8"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"
}
},
- "node_modules/@opentelemetry/api": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz",
- "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==",
- "license": "Apache-2.0",
+ "node_modules/@istanbuljs/load-nyc-config": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
+ "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "camelcase": "^5.3.1",
+ "find-up": "^4.1.0",
+ "get-package-type": "^0.1.0",
+ "js-yaml": "^3.13.1",
+ "resolve-from": "^5.0.0"
+ },
"engines": {
- "node": ">=8.0.0"
+ "node": ">=8"
}
},
- "node_modules/@panva/hkdf": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@panva/hkdf/-/hkdf-1.1.1.tgz",
- "integrity": "sha512-dhPeilub1NuIG0X5Kvhh9lH4iW3ZsHlnzwgwbOlgwQ2wG1IqFzsgHqmKPk3WzsdWAeaxKJxgM0+W433RmN45GA==",
- "funding": {
- "url": "https://github.com/sponsors/panva"
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "sprintf-js": "~1.0.2"
}
},
- "node_modules/@pkgjs/parseargs": {
- "version": "0.11.0",
- "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
- "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
- "optional": true,
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
"engines": {
- "node": ">=14"
+ "node": ">=8"
}
},
- "node_modules/@popperjs/core": {
- "version": "2.11.8",
- "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
- "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
- "peer": true,
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/popperjs"
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
+ "version": "3.14.2",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz",
+ "integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
}
},
- "node_modules/@posthog/core": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.0.2.tgz",
- "integrity": "sha512-hWk3rUtJl2crQK0WNmwg13n82hnTwB99BT99/XI5gZSvIlYZ1TPmMZE8H2dhJJ98J/rm9vYJ/UXNzw3RV5HTpQ=="
- },
- "node_modules/@prisma/client": {
- "version": "5.15.0",
- "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.15.0.tgz",
- "integrity": "sha512-wPTeTjbd2Q0abOeffN7zCDCbkp9C9cF+e9HPiI64lmpehyq2TepgXE+sY7FXr7Rhbb21prLMnhXX27/E11V09w==",
- "hasInstallScript": true,
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
"engines": {
- "node": ">=16.13"
+ "node": ">=8"
+ }
+ },
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-try": "^2.0.0"
},
- "peerDependencies": {
- "prisma": "*"
+ "engines": {
+ "node": ">=6"
},
- "peerDependenciesMeta": {
- "prisma": {
- "optional": true
- }
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@prisma/debug": {
- "version": "5.15.0",
- "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.15.0.tgz",
- "integrity": "sha512-QpEAOjieLPc/4sMny/WrWqtpIAmBYsgqwWlWwIctqZO0AbhQ9QcT6x2Ut3ojbDo/pFRCCA1Z1+xm2MUy7fAkZA==",
- "devOptional": true
- },
- "node_modules/@prisma/engines": {
- "version": "5.15.0",
- "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.15.0.tgz",
- "integrity": "sha512-hXL5Sn9hh/ZpRKWiyPA5GbvF3laqBHKt6Vo70hYqqOhh5e0ZXDzHcdmxNvOefEFeqxra2DMz2hNbFoPvqrVe1w==",
- "devOptional": true,
- "hasInstallScript": true,
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@prisma/debug": "5.15.0",
- "@prisma/engines-version": "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022",
- "@prisma/fetch-engine": "5.15.0",
- "@prisma/get-platform": "5.15.0"
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@prisma/engines-version": {
- "version": "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022",
- "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022.tgz",
- "integrity": "sha512-3BEgZ41Qb4oWHz9kZNofToRvNeS4LZYaT9pienR1gWkjhky6t6K1NyeWNBkqSj2llgraUNbgMOCQPY4f7Qp5wA==",
- "devOptional": true
+ "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
},
- "node_modules/@prisma/fetch-engine": {
- "version": "5.15.0",
- "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.15.0.tgz",
- "integrity": "sha512-z6AY5yyXxc20Klj7wwnfGP0iIUkVKzybqapT02zLYR/nf9ynaeN8bq73WRmi1TkLYn+DJ5Qy+JGu7hBf1pE78A==",
- "devOptional": true,
- "dependencies": {
- "@prisma/debug": "5.15.0",
- "@prisma/engines-version": "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022",
- "@prisma/get-platform": "5.15.0"
+ "node_modules/@istanbuljs/schema": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
+ "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@prisma/get-platform": {
- "version": "5.15.0",
- "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.15.0.tgz",
- "integrity": "sha512-1GULDkW4+/VQb73vihxCBSc4Chc2x88MA+O40tcZFjmBzG4/fF44PaXFxUqKSFltxU9L9GIMLhh0Gfkk/pUbtg==",
- "devOptional": true,
+ "node_modules/@jest/console": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/console/-/console-30.2.0.tgz",
+ "integrity": "sha512-+O1ifRjkvYIkBqASKWgLxrpEhQAAE7hY77ALLUufSk5717KfOShg6IbqLmdsLMPdUiFvA2kTs0R7YZy+l0IzZQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@prisma/debug": "5.15.0"
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "chalk": "^4.1.2",
+ "jest-message-util": "30.2.0",
+ "jest-util": "30.2.0",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/number": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.0.1.tgz",
- "integrity": "sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==",
+ "node_modules/@jest/core": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/core/-/core-30.2.0.tgz",
+ "integrity": "sha512-03W6IhuhjqTlpzh/ojut/pDB2LPRygyWX8ExpgHtQA8H/3K7+1vKmcINx5UzeOX1se6YEsBsOHQ1CRzf3fOwTQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10"
+ "@jest/console": "30.2.0",
+ "@jest/pattern": "30.0.1",
+ "@jest/reporters": "30.2.0",
+ "@jest/test-result": "30.2.0",
+ "@jest/transform": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "ansi-escapes": "^4.3.2",
+ "chalk": "^4.1.2",
+ "ci-info": "^4.2.0",
+ "exit-x": "^0.2.2",
+ "graceful-fs": "^4.2.11",
+ "jest-changed-files": "30.2.0",
+ "jest-config": "30.2.0",
+ "jest-haste-map": "30.2.0",
+ "jest-message-util": "30.2.0",
+ "jest-regex-util": "30.0.1",
+ "jest-resolve": "30.2.0",
+ "jest-resolve-dependencies": "30.2.0",
+ "jest-runner": "30.2.0",
+ "jest-runtime": "30.2.0",
+ "jest-snapshot": "30.2.0",
+ "jest-util": "30.2.0",
+ "jest-validate": "30.2.0",
+ "jest-watcher": "30.2.0",
+ "micromatch": "^4.0.8",
+ "pretty-format": "30.2.0",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
+ }
}
},
- "node_modules/@radix-ui/primitive": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.1.tgz",
- "integrity": "sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
+ "node_modules/@jest/core/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/@radix-ui/react-accordion": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.1.tgz",
- "integrity": "sha512-bg/l7l5QzUjgsh8kjwDFommzAshnUsuVMV5NM56QVCm+7ZckYdd9P/ExR8xG/Oup0OajVxNLaHJ1tb8mXk+nzQ==",
+ "node_modules/@jest/core/node_modules/jest-config": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-30.2.0.tgz",
+ "integrity": "sha512-g4WkyzFQVWHtu6uqGmQR4CQxz/CH3yDSlhzXMWzNjDx843gYjReZnMRanjRCq5XZFuQrGDxgUaiYWE8BRfVckA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.0",
- "@radix-ui/react-collapsible": "1.1.1",
- "@radix-ui/react-collection": "1.1.0",
- "@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.1",
- "@radix-ui/react-direction": "1.1.0",
- "@radix-ui/react-id": "1.1.0",
- "@radix-ui/react-primitive": "2.0.0",
- "@radix-ui/react-use-controllable-state": "1.1.0"
+ "@babel/core": "^7.27.4",
+ "@jest/get-type": "30.1.0",
+ "@jest/pattern": "30.0.1",
+ "@jest/test-sequencer": "30.2.0",
+ "@jest/types": "30.2.0",
+ "babel-jest": "30.2.0",
+ "chalk": "^4.1.2",
+ "ci-info": "^4.2.0",
+ "deepmerge": "^4.3.1",
+ "glob": "^10.3.10",
+ "graceful-fs": "^4.2.11",
+ "jest-circus": "30.2.0",
+ "jest-docblock": "30.2.0",
+ "jest-environment-node": "30.2.0",
+ "jest-regex-util": "30.0.1",
+ "jest-resolve": "30.2.0",
+ "jest-runner": "30.2.0",
+ "jest-util": "30.2.0",
+ "jest-validate": "30.2.0",
+ "micromatch": "^4.0.8",
+ "parse-json": "^5.2.0",
+ "pretty-format": "30.2.0",
+ "slash": "^3.0.0",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
},
"peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@types/node": "*",
+ "esbuild-register": ">=3.4.0",
+ "ts-node": ">=9.0.0"
},
"peerDependenciesMeta": {
- "@types/react": {
+ "@types/node": {
"optional": true
},
- "@types/react-dom": {
+ "esbuild-register": {
+ "optional": true
+ },
+ "ts-node": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/primitive": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz",
- "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA=="
- },
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.0.tgz",
- "integrity": "sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==",
+ "node_modules/@jest/core/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.0",
- "@radix-ui/react-primitive": "2.0.0",
- "@radix-ui/react-slot": "1.1.0"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-context": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz",
- "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node_modules/@jest/diff-sequences": {
+ "version": "30.0.1",
+ "resolved": "https://registry.npmjs.org/@jest/diff-sequences/-/diff-sequences-30.0.1.tgz",
+ "integrity": "sha512-n5H8QLDJ47QqbCNn5SuFjCRDrOLEZ0h8vAHCK5RL9Ls7Xa8AQLa/YxAc9UjFqoEDM48muwtBGjtMY5cr0PLDCw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-compose-refs": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
- "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "node_modules/@jest/environment": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-30.2.0.tgz",
+ "integrity": "sha512-/QPTL7OBJQ5ac09UDRa3EQes4gt1FTEG/8jZ/4v5IVzx+Cv7dLxlVIvfvSVRiiX2drWyXeBjkMSR8hvOWSog5g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/fake-timers": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "jest-mock": "30.2.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-context": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz",
- "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==",
+ "node_modules/@jest/environment-jsdom-abstract": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/environment-jsdom-abstract/-/environment-jsdom-abstract-30.2.0.tgz",
+ "integrity": "sha512-kazxw2L9IPuZpQ0mEt9lu9Z98SqR74xcagANmMBU16X0lS23yPc0+S6hGLUz8kVRlomZEs/5S/Zlpqwf5yu6OQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "30.2.0",
+ "@jest/fake-timers": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/jsdom": "^21.1.7",
+ "@types/node": "*",
+ "jest-mock": "30.2.0",
+ "jest-util": "30.2.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ },
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "canvas": "^3.0.0",
+ "jsdom": "*"
},
"peerDependenciesMeta": {
- "@types/react": {
+ "canvas": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-direction": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz",
- "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "node_modules/@jest/expect": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-30.2.0.tgz",
+ "integrity": "sha512-V9yxQK5erfzx99Sf+7LbhBwNWEZ9eZay8qQ9+JSC0TrMR1pMDHLMY+BnVPacWU6Jamrh252/IKo4F1Xn/zfiqA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "expect": "30.2.0",
+ "jest-snapshot": "30.2.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-id": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz",
- "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==",
+ "node_modules/@jest/expect-utils": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.2.0.tgz",
+ "integrity": "sha512-1JnRfhqpD8HGpOmQp180Fo9Zt69zNtC+9lR+kT7NVL05tNXIi+QC8Csz7lfidMoVLPD3FnOtcmp0CEFnxExGEA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.0"
+ "@jest/get-type": "30.1.0"
},
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz",
- "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==",
+ "node_modules/@jest/fake-timers": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-30.2.0.tgz",
+ "integrity": "sha512-HI3tRLjRxAbBy0VO8dqqm7Hb2mIa8d5bg/NJkyQcOk7V118ObQML8RC5luTF/Zsg4474a+gDvhce7eTnP4GhYw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@radix-ui/react-slot": "1.1.0"
+ "@jest/types": "30.2.0",
+ "@sinonjs/fake-timers": "^13.0.0",
+ "@types/node": "*",
+ "jest-message-util": "30.2.0",
+ "jest-mock": "30.2.0",
+ "jest-util": "30.2.0"
},
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@jest/get-type": {
+ "version": "30.1.0",
+ "resolved": "https://registry.npmjs.org/@jest/get-type/-/get-type-30.1.0.tgz",
+ "integrity": "sha512-eMbZE2hUnx1WV0pmURZY9XoXPkUYjpc55mb0CrhtdWLtzMQPFvu/rZkTLZFTsdaVQa+Tr4eWAteqcUzoawq/uA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@jest/globals": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-30.2.0.tgz",
+ "integrity": "sha512-b63wmnKPaK+6ZZfpYhz9K61oybvbI1aMcIs80++JI1O1rR1vaxHUCNqo3ITu6NU0d4V34yZFoHMn/uoKr/Rwfw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "30.2.0",
+ "@jest/expect": "30.2.0",
+ "@jest/types": "30.2.0",
+ "jest-mock": "30.2.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz",
- "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "node_modules/@jest/pattern": {
+ "version": "30.0.1",
+ "resolved": "https://registry.npmjs.org/@jest/pattern/-/pattern-30.0.1.tgz",
+ "integrity": "sha512-gWp7NfQW27LaBQz3TITS8L7ZCQ0TLvtmI//4OwlQRx4rnWxcPNIYjxZpDcN4+UlGxgm3jS5QPz8IPTCkb59wZA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*",
+ "jest-regex-util": "30.0.1"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-controllable-state": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz",
- "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==",
+ "node_modules/@jest/reporters": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-30.2.0.tgz",
+ "integrity": "sha512-DRyW6baWPqKMa9CzeiBjHwjd8XeAyco2Vt8XbcLFjiwCOEKOvy82GJ8QQnJE9ofsxCMPjH4MfH8fCWIHHDKpAQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@radix-ui/react-use-callback-ref": "1.1.0"
+ "@bcoe/v8-coverage": "^0.2.3",
+ "@jest/console": "30.2.0",
+ "@jest/test-result": "30.2.0",
+ "@jest/transform": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "@types/node": "*",
+ "chalk": "^4.1.2",
+ "collect-v8-coverage": "^1.0.2",
+ "exit-x": "^0.2.2",
+ "glob": "^10.3.10",
+ "graceful-fs": "^4.2.11",
+ "istanbul-lib-coverage": "^3.0.0",
+ "istanbul-lib-instrument": "^6.0.0",
+ "istanbul-lib-report": "^3.0.0",
+ "istanbul-lib-source-maps": "^5.0.0",
+ "istanbul-reports": "^3.1.3",
+ "jest-message-util": "30.2.0",
+ "jest-util": "30.2.0",
+ "jest-worker": "30.2.0",
+ "slash": "^3.0.0",
+ "string-length": "^4.0.2",
+ "v8-to-istanbul": "^9.0.1"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
},
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
},
"peerDependenciesMeta": {
- "@types/react": {
+ "node-notifier": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz",
- "integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "node_modules/@jest/schemas": {
+ "version": "30.0.5",
+ "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.0.5.tgz",
+ "integrity": "sha512-DmdYgtezMkh3cpU8/1uyXakv3tJRcmcXxBOcO0tbaozPwpmh4YMsnWrQm9ZmZMfa5ocbxzbFk6O4bDPEc/iAnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@sinclair/typebox": "^0.34.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog": {
- "version": "1.1.15",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-alert-dialog/-/react-alert-dialog-1.1.15.tgz",
- "integrity": "sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==",
+ "node_modules/@jest/snapshot-utils": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/snapshot-utils/-/snapshot-utils-30.2.0.tgz",
+ "integrity": "sha512-0aVxM3RH6DaiLcjj/b0KrIBZhSX1373Xci4l3cW5xiUWPctZ59zQ7jj4rqcJQ/Z8JuN/4wX3FpJSa3RssVvCug==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.3",
- "@radix-ui/react-compose-refs": "1.1.2",
- "@radix-ui/react-context": "1.1.2",
- "@radix-ui/react-dialog": "1.1.15",
- "@radix-ui/react-primitive": "2.1.3",
- "@radix-ui/react-slot": "1.2.3"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@jest/types": "30.2.0",
+ "chalk": "^4.1.2",
+ "graceful-fs": "^4.2.11",
+ "natural-compare": "^1.4.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/primitive": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz",
- "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==",
- "license": "MIT"
- },
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-compose-refs": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
- "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "node_modules/@jest/source-map": {
+ "version": "30.0.1",
+ "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-30.0.1.tgz",
+ "integrity": "sha512-MIRWMUUR3sdbP36oyNyhbThLHyJ2eEDClPCiHVbrYAe5g3CHRArIVpBw7cdSB5fr+ofSfIb2Tnsw8iEHL0PYQg==",
+ "dev": true,
"license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "callsites": "^3.1.0",
+ "graceful-fs": "^4.2.11"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-context": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",
- "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",
+ "node_modules/@jest/test-result": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-30.2.0.tgz",
+ "integrity": "sha512-RF+Z+0CCHkARz5HT9mcQCBulb1wgCP3FBvl9VFokMX27acKphwyQsNuWH3c+ojd1LeWBLoTYoxF0zm6S/66mjg==",
+ "dev": true,
"license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "dependencies": {
+ "@jest/console": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/istanbul-lib-coverage": "^2.0.6",
+ "collect-v8-coverage": "^1.0.2"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-dialog": {
- "version": "1.1.15",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz",
- "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==",
+ "node_modules/@jest/test-sequencer": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-30.2.0.tgz",
+ "integrity": "sha512-wXKgU/lk8fKXMu/l5Hog1R61bL4q5GCdT6OJvdAFz1P+QrpoFuLU68eoKuVc4RbrTtNnTL5FByhWdLgOPSph+Q==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.3",
- "@radix-ui/react-compose-refs": "1.1.2",
- "@radix-ui/react-context": "1.1.2",
- "@radix-ui/react-dismissable-layer": "1.1.11",
- "@radix-ui/react-focus-guards": "1.1.3",
- "@radix-ui/react-focus-scope": "1.1.7",
- "@radix-ui/react-id": "1.1.1",
- "@radix-ui/react-portal": "1.1.9",
- "@radix-ui/react-presence": "1.1.5",
- "@radix-ui/react-primitive": "2.1.3",
- "@radix-ui/react-slot": "1.2.3",
- "@radix-ui/react-use-controllable-state": "1.2.2",
- "aria-hidden": "^1.2.4",
- "react-remove-scroll": "^2.6.3"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@jest/test-result": "30.2.0",
+ "graceful-fs": "^4.2.11",
+ "jest-haste-map": "30.2.0",
+ "slash": "^3.0.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-dismissable-layer": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz",
- "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==",
+ "node_modules/@jest/transform": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.2.0.tgz",
+ "integrity": "sha512-XsauDV82o5qXbhalKxD7p4TZYYdwcaEXC77PPD2HixEFF+6YGppjrAAQurTl2ECWcEomHBMMNS9AH3kcCFx8jA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@radix-ui/primitive": "1.1.3",
- "@radix-ui/react-compose-refs": "1.1.2",
- "@radix-ui/react-primitive": "2.1.3",
- "@radix-ui/react-use-callback-ref": "1.1.1",
- "@radix-ui/react-use-escape-keydown": "1.1.1"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@babel/core": "^7.27.4",
+ "@jest/types": "30.2.0",
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "babel-plugin-istanbul": "^7.0.1",
+ "chalk": "^4.1.2",
+ "convert-source-map": "^2.0.0",
+ "fast-json-stable-stringify": "^2.1.0",
+ "graceful-fs": "^4.2.11",
+ "jest-haste-map": "30.2.0",
+ "jest-regex-util": "30.0.1",
+ "jest-util": "30.2.0",
+ "micromatch": "^4.0.8",
+ "pirates": "^4.0.7",
+ "slash": "^3.0.0",
+ "write-file-atomic": "^5.0.1"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-focus-guards": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz",
- "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==",
+ "node_modules/@jest/transform/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/@jest/types": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.2.0.tgz",
+ "integrity": "sha512-H9xg1/sfVvyfU7o3zMfBEjQ1gcsdeTMgqHoYdN79tuLqfTtuu7WckRA1R5whDwOzxaZAeMKTYWqP+WCAi0CHsg==",
+ "dev": true,
"license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "dependencies": {
+ "@jest/pattern": "30.0.1",
+ "@jest/schemas": "30.0.5",
+ "@types/istanbul-lib-coverage": "^2.0.6",
+ "@types/istanbul-reports": "^3.0.4",
+ "@types/node": "*",
+ "@types/yargs": "^17.0.33",
+ "chalk": "^4.1.2"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-focus-scope": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz",
- "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==",
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.2",
- "@radix-ui/react-primitive": "2.1.3",
- "@radix-ui/react-use-callback-ref": "1.1.1"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-id": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz",
- "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==",
+ "node_modules/@jridgewell/remapping": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.1"
- },
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-portal": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz",
- "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==",
+ "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==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
"license": "MIT",
"dependencies": {
- "@radix-ui/react-primitive": "2.1.3",
- "@radix-ui/react-use-layout-effect": "1.1.1"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-presence": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz",
- "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==",
- "license": "MIT",
+ "node_modules/@mistralai/mistralai": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-0.4.0.tgz",
+ "integrity": "sha512-KmFzNro1RKxIFh19J3osmUQhucefBBauMXN5fa9doG6dT9OHR/moBvvn+riVlR7c0AVfuxO8Dfa03AyLYYzbyg==",
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.2",
- "@radix-ui/react-use-layout-effect": "1.1.1"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "node-fetch": "^2.6.7"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-primitive": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",
- "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",
- "license": "MIT",
+ "node_modules/@monaco-editor/loader": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@monaco-editor/loader/-/loader-1.5.0.tgz",
+ "integrity": "sha512-hKoGSM+7aAc7eRTRjpqAZucPmoNOC4UUbknb/VNoTkEIkCPhqV8LfbsgM1webRM7S/z21eHEx9Fkwx8Z/C/+Xw==",
"dependencies": {
- "@radix-ui/react-slot": "1.2.3"
+ "state-local": "^1.0.6"
+ }
+ },
+ "node_modules/@monaco-editor/react": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/@monaco-editor/react/-/react-4.7.0.tgz",
+ "integrity": "sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA==",
+ "dependencies": {
+ "@monaco-editor/loader": "^1.5.0"
},
"peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "monaco-editor": ">= 0.25.0 < 1",
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",
- "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",
- "license": "MIT",
+ "node_modules/@mui/base": {
+ "version": "5.0.0-beta.40",
+ "resolved": "https://registry.npmjs.org/@mui/base/-/base-5.0.0-beta.40.tgz",
+ "integrity": "sha512-I/lGHztkCzvwlXpjD2+SNmvNQvB4227xBXhISPjEaJUXGImOQ9f3D2Yj/T3KasSI/h0MLWy74X0J6clhPmsRbQ==",
+ "peer": true,
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.2"
+ "@babel/runtime": "^7.23.9",
+ "@floating-ui/react-dom": "^2.0.8",
+ "@mui/types": "^7.2.14",
+ "@mui/utils": "^5.15.14",
+ "@popperjs/core": "^2.11.8",
+ "clsx": "^2.1.0",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3199,91 +3326,81 @@
}
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",
- "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",
- "license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node_modules/@mui/core-downloads-tracker": {
+ "version": "5.15.21",
+ "resolved": "https://registry.npmjs.org/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.21.tgz",
+ "integrity": "sha512-dp9lXBaJZzJYeJfQY3Ow4Rb49QaCEdkl2KKYscdQHQm6bMJ+l4XPY3Cd9PCeeJTsHPIDJ60lzXbeRgs6sx/rpw==",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-controllable-state": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz",
- "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==",
- "license": "MIT",
+ "node_modules/@mui/material": {
+ "version": "5.15.21",
+ "resolved": "https://registry.npmjs.org/@mui/material/-/material-5.15.21.tgz",
+ "integrity": "sha512-nTyCcgduKwHqiuQ/B03EQUa+utSMzn2sQp0QAibsnYe4tvc3zkMbO0amKpl48vhABIY3IvT6w9615BFIgMt0YA==",
+ "peer": true,
"dependencies": {
- "@radix-ui/react-use-effect-event": "0.0.2",
- "@radix-ui/react-use-layout-effect": "1.1.1"
+ "@babel/runtime": "^7.23.9",
+ "@mui/base": "5.0.0-beta.40",
+ "@mui/core-downloads-tracker": "^5.15.21",
+ "@mui/system": "^5.15.20",
+ "@mui/types": "^7.2.14",
+ "@mui/utils": "^5.15.20",
+ "@types/react-transition-group": "^4.4.10",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1",
+ "react-is": "^18.2.0",
+ "react-transition-group": "^4.4.5"
},
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "engines": {
+ "node": ">=12.0.0"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-escape-keydown": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz",
- "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==",
- "license": "MIT",
- "dependencies": {
- "@radix-ui/react-use-callback-ref": "1.1.1"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0",
+ "react-dom": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
- "@types/react": {
+ "@emotion/react": {
"optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
- "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
- "license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
+ },
+ "@emotion/styled": {
+ "optional": true
+ },
"@types/react": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-alert-dialog/node_modules/react-remove-scroll": {
- "version": "2.7.2",
- "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz",
- "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==",
- "license": "MIT",
+ "node_modules/@mui/private-theming": {
+ "version": "5.15.20",
+ "resolved": "https://registry.npmjs.org/@mui/private-theming/-/private-theming-5.15.20.tgz",
+ "integrity": "sha512-BK8F94AIqSrnaPYXf2KAOjGZJgWfvqAVQ2gVR3EryvQFtuBnG6RwodxrCvd3B48VuMy6Wsk897+lQMUxJyk+6g==",
+ "peer": true,
"dependencies": {
- "react-remove-scroll-bar": "^2.3.7",
- "react-style-singleton": "^2.2.3",
- "tslib": "^2.1.0",
- "use-callback-ref": "^1.3.3",
- "use-sidecar": "^1.1.3"
+ "@babel/runtime": "^7.23.9",
+ "@mui/utils": "^5.15.20",
+ "prop-types": "^15.8.1"
},
"engines": {
- "node": ">=10"
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3291,79 +3408,85 @@
}
}
},
- "node_modules/@radix-ui/react-arrow": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.3.tgz",
- "integrity": "sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==",
+ "node_modules/@mui/styled-engine": {
+ "version": "5.15.14",
+ "resolved": "https://registry.npmjs.org/@mui/styled-engine/-/styled-engine-5.15.14.tgz",
+ "integrity": "sha512-RILkuVD8gY6PvjZjqnWhz8fu68dVkqhM5+jYWfB5yhlSQKg+2rHkmEwm75XIeAqI3qwOndK6zELK5H6Zxn4NHw==",
+ "peer": true,
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.3"
+ "@babel/runtime": "^7.23.9",
+ "@emotion/cache": "^11.11.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "@emotion/react": "^11.4.1",
+ "@emotion/styled": "^11.3.0",
+ "react": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
- "@types/react": {
+ "@emotion/react": {
"optional": true
},
- "@types/react-dom": {
+ "@emotion/styled": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-avatar": {
- "version": "1.1.10",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.10.tgz",
- "integrity": "sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==",
- "license": "MIT",
+ "node_modules/@mui/system": {
+ "version": "5.15.20",
+ "resolved": "https://registry.npmjs.org/@mui/system/-/system-5.15.20.tgz",
+ "integrity": "sha512-LoMq4IlAAhxzL2VNUDBTQxAb4chnBe8JvRINVNDiMtHE2PiPOoHlhOPutSxEbaL5mkECPVWSv6p8JEV+uykwIA==",
+ "peer": true,
"dependencies": {
- "@radix-ui/react-context": "1.1.2",
- "@radix-ui/react-primitive": "2.1.3",
- "@radix-ui/react-use-callback-ref": "1.1.1",
- "@radix-ui/react-use-is-hydrated": "0.1.0",
- "@radix-ui/react-use-layout-effect": "1.1.1"
+ "@babel/runtime": "^7.23.9",
+ "@mui/private-theming": "^5.15.20",
+ "@mui/styled-engine": "^5.15.14",
+ "@mui/types": "^7.2.14",
+ "@mui/utils": "^5.15.20",
+ "clsx": "^2.1.0",
+ "csstype": "^3.1.3",
+ "prop-types": "^15.8.1"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@emotion/react": "^11.5.0",
+ "@emotion/styled": "^11.3.0",
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
- "@types/react": {
+ "@emotion/react": {
"optional": true
},
- "@types/react-dom": {
+ "@emotion/styled": {
"optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-compose-refs": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
- "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
- "license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
+ },
"@types/react": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",
- "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",
- "license": "MIT",
+ "node_modules/@mui/types": {
+ "version": "7.2.14",
+ "resolved": "https://registry.npmjs.org/@mui/types/-/types-7.2.14.tgz",
+ "integrity": "sha512-MZsBZ4q4HfzBsywtXgM1Ksj6HDThtiwmOKUXH1pKYISI9gAVXCNHNpo7TlGoGrBaYWZTdNoirIN7JsQcQUjmQQ==",
+ "peer": true,
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@types/react": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3371,273 +3494,383 @@
}
}
},
- "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",
- "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",
- "license": "MIT",
+ "node_modules/@mui/utils": {
+ "version": "5.15.20",
+ "resolved": "https://registry.npmjs.org/@mui/utils/-/utils-5.15.20.tgz",
+ "integrity": "sha512-mAbYx0sovrnpAu1zHc3MDIhPqL8RPVC5W5xcO1b7PiSCJPtckIZmBkp8hefamAvUiAV8gpfMOM6Zb+eSisbI2A==",
+ "peer": true,
"dependencies": {
- "@radix-ui/react-slot": "1.2.3"
+ "@babel/runtime": "^7.23.9",
+ "@types/prop-types": "^15.7.11",
+ "prop-types": "^15.8.1",
+ "react-is": "^18.2.0"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/mui-org"
},
"peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@types/react": "^17.0.0 || ^18.0.0",
+ "react": "^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",
- "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",
+ "node_modules/@napi-rs/wasm-runtime": {
+ "version": "0.2.12",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz",
+ "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==",
+ "dev": true,
"license": "MIT",
+ "optional": true,
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.2"
- },
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "@emnapi/core": "^1.4.3",
+ "@emnapi/runtime": "^1.4.3",
+ "@tybys/wasm-util": "^0.10.0"
}
},
- "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",
- "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",
- "license": "MIT",
+ "node_modules/@next-auth/prisma-adapter": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/@next-auth/prisma-adapter/-/prisma-adapter-1.0.7.tgz",
+ "integrity": "sha512-Cdko4KfcmKjsyHFrWwZ//lfLUbcLqlyFqjd/nYE2m3aZ7tjMNUjpks47iw7NTCnXf+5UWz5Ypyt1dSs1EP5QJw==",
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "@prisma/client": ">=2.26.0 || >=3",
+ "next-auth": "^4"
}
},
- "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
- "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
- "license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
+ "node_modules/@next/env": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.4.tgz",
+ "integrity": "sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg=="
},
- "node_modules/@radix-ui/react-checkbox": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.1.0.tgz",
- "integrity": "sha512-3+kSzVfMONtP3B6CvaOrXLVTyGYws7tGmG5kOY0AfyH9sexkLytIwciNwjZhY0RoGOEbxI7bMS21XYB8H5itWQ==",
+ "node_modules/@next/eslint-plugin-next": {
+ "version": "14.1.4",
+ "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-14.1.4.tgz",
+ "integrity": "sha512-n4zYNLSyCo0Ln5b7qxqQeQ34OZKXwgbdcx6kmkQbywr+0k6M3Vinft0T72R6CDAcDrne2IAgSud4uWCzFgc5HA==",
+ "dev": true,
"dependencies": {
- "@radix-ui/primitive": "1.1.0",
- "@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.0",
- "@radix-ui/react-presence": "1.1.0",
- "@radix-ui/react-primitive": "2.0.0",
- "@radix-ui/react-use-controllable-state": "1.1.0",
- "@radix-ui/react-use-previous": "1.1.0",
- "@radix-ui/react-use-size": "1.1.0"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "glob": "10.3.10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/primitive": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz",
- "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA=="
+ "node_modules/@next/swc-darwin-arm64": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.4.tgz",
+ "integrity": "sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-compose-refs": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
- "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node_modules/@next/swc-darwin-x64": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.4.tgz",
+ "integrity": "sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-context": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz",
- "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node_modules/@next/swc-linux-arm64-gnu": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.4.tgz",
+ "integrity": "sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-presence": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.0.tgz",
- "integrity": "sha512-Gq6wuRN/asf9H/E/VzdKoUtT8GC9PQc9z40/vEr0VCJ4u5XvvhWIrSsCB6vD2/cH7ugTdSfYq9fLJCcM00acrQ==",
- "dependencies": {
- "@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-use-layout-effect": "1.1.0"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "node_modules/@next/swc-linux-arm64-musl": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.4.tgz",
+ "integrity": "sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz",
- "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==",
- "dependencies": {
- "@radix-ui/react-slot": "1.1.0"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
+ "node_modules/@next/swc-linux-x64-gnu": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.4.tgz",
+ "integrity": "sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-callback-ref": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz",
- "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node_modules/@next/swc-linux-x64-musl": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.4.tgz",
+ "integrity": "sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-controllable-state": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz",
- "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==",
- "dependencies": {
- "@radix-ui/react-use-callback-ref": "1.1.0"
- },
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node_modules/@next/swc-win32-arm64-msvc": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.4.tgz",
+ "integrity": "sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==",
+ "cpu": [
+ "arm64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz",
- "integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "node_modules/@next/swc-win32-ia32-msvc": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.4.tgz",
+ "integrity": "sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==",
+ "cpu": [
+ "ia32"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-previous": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.0.tgz",
- "integrity": "sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "node_modules/@next/swc-win32-x64-msvc": {
+ "version": "14.2.4",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.4.tgz",
+ "integrity": "sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==",
+ "cpu": [
+ "x64"
+ ],
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "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==",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
},
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
+ "engines": {
+ "node": ">= 8"
}
},
- "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-size": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.0.tgz",
- "integrity": "sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==",
+ "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==",
+ "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==",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.0"
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@opentelemetry/api": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz",
+ "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/@panva/hkdf": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@panva/hkdf/-/hkdf-1.1.1.tgz",
+ "integrity": "sha512-dhPeilub1NuIG0X5Kvhh9lH4iW3ZsHlnzwgwbOlgwQ2wG1IqFzsgHqmKPk3WzsdWAeaxKJxgM0+W433RmN45GA==",
+ "funding": {
+ "url": "https://github.com/sponsors/panva"
+ }
+ },
+ "node_modules/@pkgjs/parseargs": {
+ "version": "0.11.0",
+ "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
+ "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==",
+ "optional": true,
+ "engines": {
+ "node": ">=14"
+ }
+ },
+ "node_modules/@pkgr/core": {
+ "version": "0.2.9",
+ "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz",
+ "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/pkgr"
+ }
+ },
+ "node_modules/@popperjs/core": {
+ "version": "2.11.8",
+ "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
+ "integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
+ "peer": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/popperjs"
+ }
+ },
+ "node_modules/@posthog/core": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.0.2.tgz",
+ "integrity": "sha512-hWk3rUtJl2crQK0WNmwg13n82hnTwB99BT99/XI5gZSvIlYZ1TPmMZE8H2dhJJ98J/rm9vYJ/UXNzw3RV5HTpQ=="
+ },
+ "node_modules/@prisma/client": {
+ "version": "5.15.0",
+ "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.15.0.tgz",
+ "integrity": "sha512-wPTeTjbd2Q0abOeffN7zCDCbkp9C9cF+e9HPiI64lmpehyq2TepgXE+sY7FXr7Rhbb21prLMnhXX27/E11V09w==",
+ "hasInstallScript": true,
+ "engines": {
+ "node": ">=16.13"
},
"peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "prisma": "*"
},
"peerDependenciesMeta": {
- "@types/react": {
+ "prisma": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-collapsible": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.1.tgz",
- "integrity": "sha512-1///SnrfQHJEofLokyczERxQbWfCGQlQ2XsCZMucVs6it+lq9iw4vXy+uDn1edlb58cOZOWSldnfPAYcT4O/Yg==",
+ "node_modules/@prisma/debug": {
+ "version": "5.15.0",
+ "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.15.0.tgz",
+ "integrity": "sha512-QpEAOjieLPc/4sMny/WrWqtpIAmBYsgqwWlWwIctqZO0AbhQ9QcT6x2Ut3ojbDo/pFRCCA1Z1+xm2MUy7fAkZA==",
+ "devOptional": true
+ },
+ "node_modules/@prisma/engines": {
+ "version": "5.15.0",
+ "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.15.0.tgz",
+ "integrity": "sha512-hXL5Sn9hh/ZpRKWiyPA5GbvF3laqBHKt6Vo70hYqqOhh5e0ZXDzHcdmxNvOefEFeqxra2DMz2hNbFoPvqrVe1w==",
+ "devOptional": true,
+ "hasInstallScript": true,
+ "dependencies": {
+ "@prisma/debug": "5.15.0",
+ "@prisma/engines-version": "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022",
+ "@prisma/fetch-engine": "5.15.0",
+ "@prisma/get-platform": "5.15.0"
+ }
+ },
+ "node_modules/@prisma/engines-version": {
+ "version": "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022",
+ "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022.tgz",
+ "integrity": "sha512-3BEgZ41Qb4oWHz9kZNofToRvNeS4LZYaT9pienR1gWkjhky6t6K1NyeWNBkqSj2llgraUNbgMOCQPY4f7Qp5wA==",
+ "devOptional": true
+ },
+ "node_modules/@prisma/fetch-engine": {
+ "version": "5.15.0",
+ "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.15.0.tgz",
+ "integrity": "sha512-z6AY5yyXxc20Klj7wwnfGP0iIUkVKzybqapT02zLYR/nf9ynaeN8bq73WRmi1TkLYn+DJ5Qy+JGu7hBf1pE78A==",
+ "devOptional": true,
+ "dependencies": {
+ "@prisma/debug": "5.15.0",
+ "@prisma/engines-version": "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022",
+ "@prisma/get-platform": "5.15.0"
+ }
+ },
+ "node_modules/@prisma/get-platform": {
+ "version": "5.15.0",
+ "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.15.0.tgz",
+ "integrity": "sha512-1GULDkW4+/VQb73vihxCBSc4Chc2x88MA+O40tcZFjmBzG4/fF44PaXFxUqKSFltxU9L9GIMLhh0Gfkk/pUbtg==",
+ "devOptional": true,
+ "dependencies": {
+ "@prisma/debug": "5.15.0"
+ }
+ },
+ "node_modules/@radix-ui/number": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/number/-/number-1.0.1.tgz",
+ "integrity": "sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ }
+ },
+ "node_modules/@radix-ui/primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.0.1.tgz",
+ "integrity": "sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ }
+ },
+ "node_modules/@radix-ui/react-accordion": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-accordion/-/react-accordion-1.2.1.tgz",
+ "integrity": "sha512-bg/l7l5QzUjgsh8kjwDFommzAshnUsuVMV5NM56QVCm+7ZckYdd9P/ExR8xG/Oup0OajVxNLaHJ1tb8mXk+nzQ==",
"dependencies": {
"@radix-ui/primitive": "1.1.0",
+ "@radix-ui/react-collapsible": "1.1.1",
+ "@radix-ui/react-collection": "1.1.0",
"@radix-ui/react-compose-refs": "1.1.0",
"@radix-ui/react-context": "1.1.1",
+ "@radix-ui/react-direction": "1.1.0",
"@radix-ui/react-id": "1.1.0",
- "@radix-ui/react-presence": "1.1.1",
"@radix-ui/react-primitive": "2.0.0",
- "@radix-ui/react-use-controllable-state": "1.1.0",
- "@radix-ui/react-use-layout-effect": "1.1.0"
+ "@radix-ui/react-use-controllable-state": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
@@ -3654,29 +3887,40 @@
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/primitive": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/primitive": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz",
"integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA=="
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-compose-refs": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection": {
"version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
- "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.0.tgz",
+ "integrity": "sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-context": "1.1.0",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-slot": "1.1.0"
+ },
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-context": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz",
- "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==",
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-context": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz",
+ "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
@@ -3687,13 +3931,10 @@
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-id": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-compose-refs": {
"version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz",
- "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==",
- "dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.0"
- },
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
+ "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
@@ -3704,30 +3945,52 @@
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-context": {
"version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.1.tgz",
- "integrity": "sha512-IeFXVi4YS1K0wVZzXNrbaaUvIJ3qdY+/Ih4eHFhWA9SwGR9UDX7Ck8abvL57C4cv3wwMvUE0OG69Qc3NCcTe/A==",
- "dependencies": {
- "@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-use-layout-effect": "1.1.0"
- },
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz",
+ "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==",
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-direction": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz",
+ "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-id": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz",
+ "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-primitive": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz",
"integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==",
@@ -3749,7 +4012,7 @@
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-callback-ref": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-callback-ref": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz",
"integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==",
@@ -3763,7 +4026,7 @@
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-controllable-state": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-controllable-state": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz",
"integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==",
@@ -3780,7 +4043,7 @@
}
}
},
- "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-layout-effect": {
+ "node_modules/@radix-ui/react-accordion/node_modules/@radix-ui/react-use-layout-effect": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz",
"integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==",
@@ -3794,22 +4057,24 @@
}
}
},
- "node_modules/@radix-ui/react-collection": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.0.3.tgz",
- "integrity": "sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==",
+ "node_modules/@radix-ui/react-alert-dialog": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-alert-dialog/-/react-alert-dialog-1.1.15.tgz",
+ "integrity": "sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-slot": "1.0.2"
+ "@radix-ui/primitive": "1.1.3",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-dialog": "1.1.15",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-slot": "1.2.3"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3820,17 +4085,20 @@
}
}
},
- "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
- "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1"
- },
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/primitive": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.3.tgz",
+ "integrity": "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==",
+ "license": "MIT"
+ },
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3838,16 +4106,14 @@
}
}
},
- "node_modules/@radix-ui/react-compose-refs": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.1.tgz",
- "integrity": "sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-context": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",
+ "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3855,49 +4121,59 @@
}
}
},
- "node_modules/@radix-ui/react-context": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.0.1.tgz",
- "integrity": "sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-dialog": {
+ "version": "1.1.15",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.1.15.tgz",
+ "integrity": "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10"
+ "@radix-ui/primitive": "1.1.3",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-dismissable-layer": "1.1.11",
+ "@radix-ui/react-focus-guards": "1.1.3",
+ "@radix-ui/react-focus-scope": "1.1.7",
+ "@radix-ui/react-id": "1.1.1",
+ "@radix-ui/react-portal": "1.1.9",
+ "@radix-ui/react-presence": "1.1.5",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-slot": "1.2.3",
+ "@radix-ui/react-use-controllable-state": "1.2.2",
+ "aria-hidden": "^1.2.4",
+ "react-remove-scroll": "^2.6.3"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-dialog": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.0.5.tgz",
- "integrity": "sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.1.11.tgz",
+ "integrity": "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-dismissable-layer": "1.0.5",
- "@radix-ui/react-focus-guards": "1.0.1",
- "@radix-ui/react-focus-scope": "1.0.4",
- "@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-portal": "1.0.4",
- "@radix-ui/react-presence": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-slot": "1.0.2",
- "@radix-ui/react-use-controllable-state": "1.0.1",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "2.5.5"
+ "@radix-ui/primitive": "1.1.3",
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1",
+ "@radix-ui/react-use-escape-keydown": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3908,17 +4184,14 @@
}
}
},
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
- "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1"
- },
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.1.3.tgz",
+ "integrity": "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3926,69 +4199,63 @@
}
}
},
- "node_modules/@radix-ui/react-direction": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.0.1.tgz",
- "integrity": "sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.1.7.tgz",
+ "integrity": "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10"
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-dismissable-layer": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.0.5.tgz",
- "integrity": "sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-id": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.1.tgz",
+ "integrity": "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-callback-ref": "1.0.1",
- "@radix-ui/react-use-escape-keydown": "1.0.3"
+ "@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-dropdown-menu": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.0.6.tgz",
- "integrity": "sha512-i6TuFOoWmLWq+M/eCLGd/bQ2HfAX1RJgvrBQ6AQLmzfvsLdefxbWu8G9zczcPFfcSPehz9GcpF6K9QYreFV8hA==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-portal": {
+ "version": "1.1.9",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.1.9.tgz",
+ "integrity": "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-menu": "2.0.6",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-controllable-state": "1.0.1"
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -3999,38 +4266,20 @@
}
}
},
- "node_modules/@radix-ui/react-focus-guards": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.0.1.tgz",
- "integrity": "sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-focus-scope": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.0.4.tgz",
- "integrity": "sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.5.tgz",
+ "integrity": "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-callback-ref": "1.0.1"
+ "@radix-ui/react-compose-refs": "1.1.2",
+ "@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4041,27 +4290,19 @@
}
}
},
- "node_modules/@radix-ui/react-hover-card": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-hover-card/-/react-hover-card-1.0.7.tgz",
- "integrity": "sha512-OcUN2FU0YpmajD/qkph3XzMcK/NmSk9hGWnjV68p6QiZMgILugusgQwnLSDs3oFSJYGKf3Y49zgFedhGh04k9A==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",
+ "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-dismissable-layer": "1.0.5",
- "@radix-ui/react-popper": "1.1.3",
- "@radix-ui/react-portal": "1.0.4",
- "@radix-ui/react-presence": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-controllable-state": "1.0.1"
+ "@radix-ui/react-slot": "1.2.3"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4072,17 +4313,17 @@
}
}
},
- "node_modules/@radix-ui/react-id": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.1.tgz",
- "integrity": "sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",
+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "1.0.1"
+ "@radix-ui/react-compose-refs": "1.1.2"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4090,80 +4331,51 @@
}
}
},
- "node_modules/@radix-ui/react-label": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.0.2.tgz",
- "integrity": "sha512-N5ehvlM7qoTLx7nWPodsPYPgMzA5WM8zZChQg8nyFJKnDO5WHdba1vv5/H6IO5LtJMfD2Q3wh1qHFGNtK0w3bQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.3"
- },
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",
+ "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-menu": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.0.6.tgz",
- "integrity": "sha512-BVkFLS+bUC8HcImkRKPSiVumA1VPOOEC5WBMiT+QAVsPzW1FJzI9KnqgGxVDPBcql5xXrHkD3JOVoXWEXD8SYA==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.2.2.tgz",
+ "integrity": "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-collection": "1.0.3",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-direction": "1.0.1",
- "@radix-ui/react-dismissable-layer": "1.0.5",
- "@radix-ui/react-focus-guards": "1.0.1",
- "@radix-ui/react-focus-scope": "1.0.4",
- "@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-popper": "1.1.3",
- "@radix-ui/react-portal": "1.0.4",
- "@radix-ui/react-presence": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-roving-focus": "1.0.4",
- "@radix-ui/react-slot": "1.0.2",
- "@radix-ui/react-use-callback-ref": "1.0.1",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "2.5.5"
+ "@radix-ui/react-use-effect-event": "0.0.2",
+ "@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
- "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-escape-keydown": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.1.1.tgz",
+ "integrity": "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1"
+ "@radix-ui/react-use-callback-ref": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4171,54 +4383,39 @@
}
}
},
- "node_modules/@radix-ui/react-popover": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.0.7.tgz",
- "integrity": "sha512-shtvVnlsxT6faMnK/a7n0wptwBD23xc1Z5mdrtKLwVEfsEMXodS0r5s0/g5P0hX//EKYZS2sxUjqfzlg52ZSnQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-dismissable-layer": "1.0.5",
- "@radix-ui/react-focus-guards": "1.0.1",
- "@radix-ui/react-focus-scope": "1.0.4",
- "@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-popper": "1.1.3",
- "@radix-ui/react-portal": "1.0.4",
- "@radix-ui/react-presence": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-slot": "1.0.2",
- "@radix-ui/react-use-controllable-state": "1.0.1",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "2.5.5"
- },
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
+ "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
- "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
+ "node_modules/@radix-ui/react-alert-dialog/node_modules/react-remove-scroll": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.7.2.tgz",
+ "integrity": "sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1"
+ "react-remove-scroll-bar": "^2.3.7",
+ "react-style-singleton": "^2.2.3",
+ "tslib": "^2.1.0",
+ "use-callback-ref": "^1.3.3",
+ "use-sidecar": "^1.1.3"
+ },
+ "engines": {
+ "node": ">=10"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4226,22 +4423,13 @@
}
}
},
- "node_modules/@radix-ui/react-popper": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.1.3.tgz",
- "integrity": "sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==",
+ "node_modules/@radix-ui/react-arrow": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-arrow/-/react-arrow-1.0.3.tgz",
+ "integrity": "sha512-wSP+pHsB/jQRaL6voubsQ/ZlrGBHHrOjmBnr19hxYgtS0WvAFwZhK2WP/YY5yF9uKECCEEDGxuLxq1NBK51wFA==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@floating-ui/react-dom": "^2.0.0",
- "@radix-ui/react-arrow": "1.0.3",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-callback-ref": "1.0.1",
- "@radix-ui/react-use-layout-effect": "1.0.1",
- "@radix-ui/react-use-rect": "1.0.1",
- "@radix-ui/react-use-size": "1.0.1",
- "@radix-ui/rect": "1.0.1"
+ "@radix-ui/react-primitive": "1.0.3"
},
"peerDependencies": {
"@types/react": "*",
@@ -4258,19 +4446,23 @@
}
}
},
- "node_modules/@radix-ui/react-portal": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.4.tgz",
- "integrity": "sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==",
+ "node_modules/@radix-ui/react-avatar": {
+ "version": "1.1.10",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-avatar/-/react-avatar-1.1.10.tgz",
+ "integrity": "sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.3"
+ "@radix-ui/react-context": "1.1.2",
+ "@radix-ui/react-primitive": "2.1.3",
+ "@radix-ui/react-use-callback-ref": "1.1.1",
+ "@radix-ui/react-use-is-hydrated": "0.1.0",
+ "@radix-ui/react-use-layout-effect": "1.1.1"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4281,43 +4473,49 @@
}
}
},
- "node_modules/@radix-ui/react-presence": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.1.tgz",
- "integrity": "sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-use-layout-effect": "1.0.1"
- },
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.2.tgz",
+ "integrity": "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-primitive": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.3.tgz",
- "integrity": "sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==",
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-context": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.2.tgz",
+ "integrity": "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-primitive": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.1.3.tgz",
+ "integrity": "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "1.0.2"
+ "@radix-ui/react-slot": "1.2.3"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4328,17 +4526,17 @@
}
}
},
- "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
- "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-slot": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.2.3.tgz",
+ "integrity": "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A==",
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1"
+ "@radix-ui/react-compose-refs": "1.1.2"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4346,51 +4544,49 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.2.0.tgz",
- "integrity": "sha512-yv+oiLaicYMBpqgfpSPw6q+RyXlLdIpQWDHZbUKURxe+nEh53hFXPPlfhfQQtYkS5MMK/5IWIa76SksleQZSzw==",
- "dependencies": {
- "@radix-ui/primitive": "1.1.0",
- "@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.0",
- "@radix-ui/react-direction": "1.1.0",
- "@radix-ui/react-presence": "1.1.0",
- "@radix-ui/react-primitive": "2.0.0",
- "@radix-ui/react-roving-focus": "1.1.0",
- "@radix-ui/react-use-controllable-state": "1.1.0",
- "@radix-ui/react-use-previous": "1.1.0",
- "@radix-ui/react-use-size": "1.1.0"
- },
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.1.tgz",
+ "integrity": "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==",
+ "license": "MIT",
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/primitive": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz",
- "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA=="
+ "node_modules/@radix-ui/react-avatar/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
+ "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-collection": {
+ "node_modules/@radix-ui/react-checkbox": {
"version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.0.tgz",
- "integrity": "sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-checkbox/-/react-checkbox-1.1.0.tgz",
+ "integrity": "sha512-3+kSzVfMONtP3B6CvaOrXLVTyGYws7tGmG5kOY0AfyH9sexkLytIwciNwjZhY0RoGOEbxI7bMS21XYB8H5itWQ==",
"dependencies": {
+ "@radix-ui/primitive": "1.1.0",
"@radix-ui/react-compose-refs": "1.1.0",
"@radix-ui/react-context": "1.1.0",
+ "@radix-ui/react-presence": "1.1.0",
"@radix-ui/react-primitive": "2.0.0",
- "@radix-ui/react-slot": "1.1.0"
+ "@radix-ui/react-use-controllable-state": "1.1.0",
+ "@radix-ui/react-use-previous": "1.1.0",
+ "@radix-ui/react-use-size": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
@@ -4407,7 +4603,12 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-compose-refs": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/primitive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz",
+ "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA=="
+ },
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-compose-refs": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
"integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
@@ -4421,7 +4622,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-context": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-context": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz",
"integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==",
@@ -4435,38 +4636,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-direction": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz",
- "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-id": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz",
- "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==",
- "dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.0"
- },
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-presence": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-presence": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.0.tgz",
"integrity": "sha512-Gq6wuRN/asf9H/E/VzdKoUtT8GC9PQc9z40/vEr0VCJ4u5XvvhWIrSsCB6vD2/cH7ugTdSfYq9fLJCcM00acrQ==",
@@ -4489,7 +4659,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-primitive": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-primitive": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz",
"integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==",
@@ -4511,37 +4681,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.0.tgz",
- "integrity": "sha512-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==",
- "dependencies": {
- "@radix-ui/primitive": "1.1.0",
- "@radix-ui/react-collection": "1.1.0",
- "@radix-ui/react-compose-refs": "1.1.0",
- "@radix-ui/react-context": "1.1.0",
- "@radix-ui/react-direction": "1.1.0",
- "@radix-ui/react-id": "1.1.0",
- "@radix-ui/react-primitive": "2.0.0",
- "@radix-ui/react-use-callback-ref": "1.1.0",
- "@radix-ui/react-use-controllable-state": "1.1.0"
- },
- "peerDependencies": {
- "@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
- "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
- "peerDependenciesMeta": {
- "@types/react": {
- "optional": true
- },
- "@types/react-dom": {
- "optional": true
- }
- }
- },
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-callback-ref": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-callback-ref": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz",
"integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==",
@@ -4555,7 +4695,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-controllable-state": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-controllable-state": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz",
"integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==",
@@ -4572,7 +4712,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-layout-effect": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-layout-effect": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz",
"integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==",
@@ -4586,7 +4726,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-previous": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-previous": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.0.tgz",
"integrity": "sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==",
@@ -4600,7 +4740,7 @@
}
}
},
- "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-size": {
+ "node_modules/@radix-ui/react-checkbox/node_modules/@radix-ui/react-use-size": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.0.tgz",
"integrity": "sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==",
@@ -4617,27 +4757,25 @@
}
}
},
- "node_modules/@radix-ui/react-roving-focus": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.0.4.tgz",
- "integrity": "sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==",
+ "node_modules/@radix-ui/react-collapsible": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.1.1.tgz",
+ "integrity": "sha512-1///SnrfQHJEofLokyczERxQbWfCGQlQ2XsCZMucVs6it+lq9iw4vXy+uDn1edlb58cOZOWSldnfPAYcT4O/Yg==",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-collection": "1.0.3",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-direction": "1.0.1",
- "@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-callback-ref": "1.0.1",
- "@radix-ui/react-use-controllable-state": "1.0.1"
+ "@radix-ui/primitive": "1.1.0",
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-context": "1.1.1",
+ "@radix-ui/react-id": "1.1.0",
+ "@radix-ui/react-presence": "1.1.1",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-controllable-state": "1.1.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4648,91 +4786,49 @@
}
}
},
- "node_modules/@radix-ui/react-scroll-area": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.0.5.tgz",
- "integrity": "sha512-b6PAgH4GQf9QEn8zbT2XUHpW5z8BzqEc7Kl11TwDrvuTrxlkcjTD5qa/bxgKr+nmuXKu4L/W5UZ4mlP/VG/5Gw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/number": "1.0.1",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-direction": "1.0.1",
- "@radix-ui/react-presence": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-callback-ref": "1.0.1",
- "@radix-ui/react-use-layout-effect": "1.0.1"
- },
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/primitive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz",
+ "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA=="
+ },
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
+ "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-select": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.0.0.tgz",
- "integrity": "sha512-RH5b7af4oHtkcHS7pG6Sgv5rk5Wxa7XI8W5gvB1N/yiuDGZxko1ynvOiVhFM7Cis2A8zxF9bTOUVbRDzPepe6w==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/number": "1.0.1",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-collection": "1.0.3",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-direction": "1.0.1",
- "@radix-ui/react-dismissable-layer": "1.0.5",
- "@radix-ui/react-focus-guards": "1.0.1",
- "@radix-ui/react-focus-scope": "1.0.4",
- "@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-popper": "1.1.3",
- "@radix-ui/react-portal": "1.0.4",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-slot": "1.0.2",
- "@radix-ui/react-use-callback-ref": "1.0.1",
- "@radix-ui/react-use-controllable-state": "1.0.1",
- "@radix-ui/react-use-layout-effect": "1.0.1",
- "@radix-ui/react-use-previous": "1.0.1",
- "@radix-ui/react-visually-hidden": "1.0.3",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "2.5.5"
- },
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-context": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.1.tgz",
+ "integrity": "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q==",
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
- "optional": true
}
}
},
- "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
- "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-id": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz",
+ "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.1"
+ "@radix-ui/react-use-layout-effect": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4740,19 +4836,19 @@
}
}
},
- "node_modules/@radix-ui/react-separator": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.0.3.tgz",
- "integrity": "sha512-itYmTy/kokS21aiV5+Z56MZB54KrhPgn6eHDKkFeOLR34HMN2s8PaN47qZZAGnvupcjxHaFZnW4pQEh0BvvVuw==",
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.1.tgz",
+ "integrity": "sha512-IeFXVi4YS1K0wVZzXNrbaaUvIJ3qdY+/Ih4eHFhWA9SwGR9UDX7Ck8abvL57C4cv3wwMvUE0OG69Qc3NCcTe/A==",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.3"
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4763,29 +4859,18 @@
}
}
},
- "node_modules/@radix-ui/react-slider": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.1.2.tgz",
- "integrity": "sha512-NKs15MJylfzVsCagVSWKhGGLNR1W9qWs+HtgbmjjVUB3B9+lb3PYoXxVju3kOrpf0VKyVCtZp+iTwVoqpa1Chw==",
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-primitive": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz",
+ "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==",
"dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/number": "1.0.1",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-collection": "1.0.3",
- "@radix-ui/react-compose-refs": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-direction": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-controllable-state": "1.0.1",
- "@radix-ui/react-use-layout-effect": "1.0.1",
- "@radix-ui/react-use-previous": "1.0.1",
- "@radix-ui/react-use-size": "1.0.1"
+ "@radix-ui/react-slot": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
"@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
},
"peerDependenciesMeta": {
"@types/react": {
@@ -4796,12 +4881,26 @@
}
}
},
- "node_modules/@radix-ui/react-slot": {
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-callback-ref": {
"version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz",
- "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz",
+ "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz",
+ "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==",
"dependencies": {
- "@radix-ui/react-compose-refs": "1.1.0"
+ "@radix-ui/react-use-callback-ref": "1.1.0"
},
"peerDependencies": {
"@types/react": "*",
@@ -4813,10 +4912,10 @@
}
}
},
- "node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs": {
+ "node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-layout-effect": {
"version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
- "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz",
+ "integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==",
"peerDependencies": {
"@types/react": "*",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
@@ -4827,19 +4926,16 @@
}
}
},
- "node_modules/@radix-ui/react-switch": {
+ "node_modules/@radix-ui/react-collection": {
"version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.0.3.tgz",
- "integrity": "sha512-mxm87F88HyHztsI7N+ZUmEoARGkC22YVW5CaC+Byc+HRpuvCrOBPTAnXgf+tZ/7i0Sg/eOePGdMhUKhPaQEqow==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.0.3.tgz",
+ "integrity": "sha512-3SzW+0PW7yBBoQlT8wNcGtaxaD0XSu0uLUFgrtHY08Acx05TaHaOmVLR73c0j/cqpDy53KBMO7s0dx2wmOIDIA==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
"@radix-ui/react-compose-refs": "1.0.1",
"@radix-ui/react-context": "1.0.1",
"@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-use-controllable-state": "1.0.1",
- "@radix-ui/react-use-previous": "1.0.1",
- "@radix-ui/react-use-size": "1.0.1"
+ "@radix-ui/react-slot": "1.0.2"
},
"peerDependencies": {
"@types/react": "*",
@@ -4856,54 +4952,78 @@
}
}
},
- "node_modules/@radix-ui/react-tabs": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.0.4.tgz",
- "integrity": "sha512-egZfYY/+wRNCflXNHx+dePvnz9FbmssDTJBtgRfDY7e8SE5oIo3Py2eCB1ckAbh1Q7cQ/6yJZThJ++sgbxibog==",
+ "node_modules/@radix-ui/react-collection/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
+ "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.1",
- "@radix-ui/react-context": "1.0.1",
- "@radix-ui/react-direction": "1.0.1",
- "@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-presence": "1.0.1",
- "@radix-ui/react-primitive": "1.0.3",
- "@radix-ui/react-roving-focus": "1.0.4",
- "@radix-ui/react-use-controllable-state": "1.0.1"
+ "@radix-ui/react-compose-refs": "1.0.1"
},
"peerDependencies": {
"@types/react": "*",
- "@types/react-dom": "*",
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
+ "react": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
- },
- "@types/react-dom": {
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.1.tgz",
+ "integrity": "sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-tooltip": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.0.7.tgz",
- "integrity": "sha512-lPh5iKNFVQ/jav/j6ZrWq3blfDJ0OH9R6FlNUHPMqdLuQ9vwDgFsRxvl8b7Asuy5c8xmoojHUxKHQSOAvMHxyw==",
+ "node_modules/@radix-ui/react-context": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.0.1.tgz",
+ "integrity": "sha512-ebbrdFoYTcuZ0v4wG5tedGnp9tzcV8awzsxYph7gXUyvnNLuTIcCk1q17JEbnVhXAKG9oX3KtchwiMIAYp9NLg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-dialog": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-1.0.5.tgz",
+ "integrity": "sha512-GjWJX/AUpB703eEBanuBnIWdIXg6NvJFCXcNlSZk4xdszCdhrJgBoUd1cGk67vFO+WdA2pfI/plOpqz/5GUP6Q==",
"dependencies": {
"@babel/runtime": "^7.13.10",
"@radix-ui/primitive": "1.0.1",
"@radix-ui/react-compose-refs": "1.0.1",
"@radix-ui/react-context": "1.0.1",
"@radix-ui/react-dismissable-layer": "1.0.5",
+ "@radix-ui/react-focus-guards": "1.0.1",
+ "@radix-ui/react-focus-scope": "1.0.4",
"@radix-ui/react-id": "1.0.1",
- "@radix-ui/react-popper": "1.1.3",
"@radix-ui/react-portal": "1.0.4",
"@radix-ui/react-presence": "1.0.1",
"@radix-ui/react-primitive": "1.0.3",
"@radix-ui/react-slot": "1.0.2",
"@radix-ui/react-use-controllable-state": "1.0.1",
- "@radix-ui/react-visually-hidden": "1.0.3"
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "2.5.5"
},
"peerDependencies": {
"@types/react": "*",
@@ -4920,7 +5040,7 @@
}
}
},
- "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot": {
+ "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
"integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
@@ -4938,10 +5058,10 @@
}
}
},
- "node_modules/@radix-ui/react-use-callback-ref": {
+ "node_modules/@radix-ui/react-direction": {
"version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.1.tgz",
- "integrity": "sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.0.1.tgz",
+ "integrity": "sha512-RXcvnXgyvYvBEOhCBuddKecVkoMiI10Jcm5cTI7abJRAHYfFxeu+FBQs/DvdxSYucxR5mna0dNsL6QFlds5TMA==",
"dependencies": {
"@babel/runtime": "^7.13.10"
},
@@ -4955,108 +5075,142 @@
}
}
},
- "node_modules/@radix-ui/react-use-controllable-state": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.0.1.tgz",
- "integrity": "sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==",
+ "node_modules/@radix-ui/react-dismissable-layer": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-1.0.5.tgz",
+ "integrity": "sha512-aJeDjQhywg9LBu2t/At58hCvr7pEm0o2Ke1x33B+MhjNmmZ17sy4KImo0KPLgsnc/zN7GPdce8Cnn0SWvwZO7g==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "1.0.1"
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-callback-ref": "1.0.1",
+ "@radix-ui/react-use-escape-keydown": "1.0.3"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-use-effect-event": {
- "version": "0.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz",
- "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==",
- "license": "MIT",
+ "node_modules/@radix-ui/react-dropdown-menu": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dropdown-menu/-/react-dropdown-menu-2.0.6.tgz",
+ "integrity": "sha512-i6TuFOoWmLWq+M/eCLGd/bQ2HfAX1RJgvrBQ6AQLmzfvsLdefxbWu8G9zczcPFfcSPehz9GcpF6K9QYreFV8hA==",
"dependencies": {
- "@radix-ui/react-use-layout-effect": "1.1.1"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-id": "1.0.1",
+ "@radix-ui/react-menu": "2.0.6",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-controllable-state": "1.0.1"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-use-effect-event/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
- "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
- "license": "MIT",
- "peerDependencies": {
- "@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
- },
+ "node_modules/@radix-ui/react-focus-guards": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-guards/-/react-focus-guards-1.0.1.tgz",
+ "integrity": "sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
},
- "node_modules/@radix-ui/react-use-escape-keydown": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.3.tgz",
- "integrity": "sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==",
+ "node_modules/@radix-ui/react-focus-scope": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-focus-scope/-/react-focus-scope-1.0.4.tgz",
+ "integrity": "sha512-sL04Mgvf+FmyvZeYfNu1EPAaaxD+aw7cYeIB9L9Fvq8+urhltTRaEo5ysKOpHuKPclsZcSUMKlN05x4u+CINpA==",
"dependencies": {
"@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
"@radix-ui/react-use-callback-ref": "1.0.1"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-use-is-hydrated": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.0.tgz",
- "integrity": "sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==",
- "license": "MIT",
+ "node_modules/@radix-ui/react-hover-card": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-hover-card/-/react-hover-card-1.0.7.tgz",
+ "integrity": "sha512-OcUN2FU0YpmajD/qkph3XzMcK/NmSk9hGWnjV68p6QiZMgILugusgQwnLSDs3oFSJYGKf3Y49zgFedhGh04k9A==",
"dependencies": {
- "use-sync-external-store": "^1.5.0"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-dismissable-layer": "1.0.5",
+ "@radix-ui/react-popper": "1.1.3",
+ "@radix-ui/react-portal": "1.0.4",
+ "@radix-ui/react-presence": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-controllable-state": "1.0.1"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-use-is-hydrated/node_modules/use-sync-external-store": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz",
- "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==",
- "license": "MIT",
- "peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
- }
- },
- "node_modules/@radix-ui/react-use-layout-effect": {
+ "node_modules/@radix-ui/react-id": {
"version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.1.tgz",
- "integrity": "sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.1.tgz",
+ "integrity": "sha512-tI7sT/kqYp8p96yGWY1OAnLHrqDgzHefRBKQ2YAkBS5ja7QLcZ9Z/uY7bEjPUatf8RomoXM8/1sMj1IJaE5UzQ==",
"dependencies": {
- "@babel/runtime": "^7.13.10"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-layout-effect": "1.0.1"
},
"peerDependencies": {
"@types/react": "*",
@@ -5068,48 +5222,76 @@
}
}
},
- "node_modules/@radix-ui/react-use-previous": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.0.1.tgz",
- "integrity": "sha512-cV5La9DPwiQ7S0gf/0qiD6YgNqM5Fk97Kdrlc5yBcrF3jyEZQwm7vYFqMo4IfeHgJXsRaMvLABFtd0OVEmZhDw==",
+ "node_modules/@radix-ui/react-label": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-label/-/react-label-2.0.2.tgz",
+ "integrity": "sha512-N5ehvlM7qoTLx7nWPodsPYPgMzA5WM8zZChQg8nyFJKnDO5WHdba1vv5/H6IO5LtJMfD2Q3wh1qHFGNtK0w3bQ==",
"dependencies": {
- "@babel/runtime": "^7.13.10"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "1.0.3"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-use-rect": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.1.tgz",
- "integrity": "sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==",
+ "node_modules/@radix-ui/react-menu": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-menu/-/react-menu-2.0.6.tgz",
+ "integrity": "sha512-BVkFLS+bUC8HcImkRKPSiVumA1VPOOEC5WBMiT+QAVsPzW1FJzI9KnqgGxVDPBcql5xXrHkD3JOVoXWEXD8SYA==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/rect": "1.0.1"
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-collection": "1.0.3",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-direction": "1.0.1",
+ "@radix-ui/react-dismissable-layer": "1.0.5",
+ "@radix-ui/react-focus-guards": "1.0.1",
+ "@radix-ui/react-focus-scope": "1.0.4",
+ "@radix-ui/react-id": "1.0.1",
+ "@radix-ui/react-popper": "1.1.3",
+ "@radix-ui/react-portal": "1.0.4",
+ "@radix-ui/react-presence": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-roving-focus": "1.0.4",
+ "@radix-ui/react-slot": "1.0.2",
+ "@radix-ui/react-use-callback-ref": "1.0.1",
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "2.5.5"
},
"peerDependencies": {
"@types/react": "*",
- "react": "^16.8 || ^17.0 || ^18.0"
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
}
}
},
- "node_modules/@radix-ui/react-use-size": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.1.tgz",
- "integrity": "sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==",
+ "node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
+ "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "1.0.1"
+ "@radix-ui/react-compose-refs": "1.0.1"
},
"peerDependencies": {
"@types/react": "*",
@@ -5121,13 +5303,27 @@
}
}
},
- "node_modules/@radix-ui/react-visually-hidden": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.0.3.tgz",
- "integrity": "sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==",
+ "node_modules/@radix-ui/react-popover": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-1.0.7.tgz",
+ "integrity": "sha512-shtvVnlsxT6faMnK/a7n0wptwBD23xc1Z5mdrtKLwVEfsEMXodS0r5s0/g5P0hX//EKYZS2sxUjqfzlg52ZSnQ==",
"dependencies": {
"@babel/runtime": "^7.13.10",
- "@radix-ui/react-primitive": "1.0.3"
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-dismissable-layer": "1.0.5",
+ "@radix-ui/react-focus-guards": "1.0.1",
+ "@radix-ui/react-focus-scope": "1.0.4",
+ "@radix-ui/react-id": "1.0.1",
+ "@radix-ui/react-popper": "1.1.3",
+ "@radix-ui/react-portal": "1.0.4",
+ "@radix-ui/react-presence": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-slot": "1.0.2",
+ "@radix-ui/react-use-controllable-state": "1.0.1",
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "2.5.5"
},
"peerDependencies": {
"@types/react": "*",
@@ -5144,1591 +5340,4119 @@
}
}
},
- "node_modules/@radix-ui/rect": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.1.tgz",
- "integrity": "sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==",
+ "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
+ "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
"dependencies": {
- "@babel/runtime": "^7.13.10"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@rushstack/eslint-patch": {
- "version": "1.10.3",
- "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.10.3.tgz",
- "integrity": "sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==",
- "dev": true
- },
- "node_modules/@smithy/abort-controller": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-3.0.0.tgz",
- "integrity": "sha512-p6GlFGBt9K4MYLu72YuJ523NVR4A8oHlC5M2JO6OmQqN8kAc/uh1JqLE+FizTokrSJGg0CSvC+BrsmGzKtsZKA==",
+ "node_modules/@radix-ui/react-popper": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-1.1.3.tgz",
+ "integrity": "sha512-cKpopj/5RHZWjrbF2846jBNacjQVwkP068DfmgrNJXpvVWrOvlAmE9xSiy5OqeE+Gi8D9fP+oDhUnPqNMY8/5w==",
"dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "@babel/runtime": "^7.13.10",
+ "@floating-ui/react-dom": "^2.0.0",
+ "@radix-ui/react-arrow": "1.0.3",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-callback-ref": "1.0.1",
+ "@radix-ui/react-use-layout-effect": "1.0.1",
+ "@radix-ui/react-use-rect": "1.0.1",
+ "@radix-ui/react-use-size": "1.0.1",
+ "@radix-ui/rect": "1.0.1"
},
- "engines": {
- "node": ">=16.0.0"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/config-resolver": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-3.0.1.tgz",
- "integrity": "sha512-hbkYJc20SBDz2qqLzttjI/EqXemtmWk0ooRznLsiXp3066KQRTvuKHa7U4jCZCJq6Dozqvy0R1/vNESC9inPJg==",
+ "node_modules/@radix-ui/react-portal": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.4.tgz",
+ "integrity": "sha512-Qki+C/EuGUVCQTOTD5vzJzJuMUlewbzuKyUy+/iHM2uwGiru9gZeBJtHAPKAEkB5KWGi9mP/CHKcY0wt1aW45Q==",
"dependencies": {
- "@smithy/node-config-provider": "^3.1.0",
- "@smithy/types": "^3.0.0",
- "@smithy/util-config-provider": "^3.0.0",
- "@smithy/util-middleware": "^3.0.0",
- "tslib": "^2.6.2"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "1.0.3"
},
- "engines": {
- "node": ">=16.0.0"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/core": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/@smithy/core/-/core-2.2.0.tgz",
- "integrity": "sha512-ygLZSSKgt9bR8HAxR9mK+U5obvAJBr6zlQuhN5soYWx/amjDoQN4dTkydTypgKe6rIbUjTILyLU+W5XFwXr4kg==",
- "dependencies": {
- "@smithy/middleware-endpoint": "^3.0.1",
- "@smithy/middleware-retry": "^3.0.3",
- "@smithy/middleware-serde": "^3.0.0",
- "@smithy/protocol-http": "^4.0.0",
- "@smithy/smithy-client": "^3.1.1",
- "@smithy/types": "^3.0.0",
- "@smithy/util-middleware": "^3.0.0",
- "tslib": "^2.6.2"
+ "node_modules/@radix-ui/react-presence": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.1.tgz",
+ "integrity": "sha512-UXLW4UAbIY5ZjcvzjfRFo5gxva8QirC9hF7wRE4U5gz+TP0DbRk+//qyuAQ1McDxBt1xNMBTaciFGvEmJvAZCg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-use-layout-effect": "1.0.1"
},
- "engines": {
- "node": ">=16.0.0"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/credential-provider-imds": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.0.tgz",
- "integrity": "sha512-q4A4d38v8pYYmseu/jTS3Z5I3zXlEOe5Obi+EJreVKgSVyWUHOd7/yaVCinC60QG4MRyCs98tcxBH1IMC0bu7Q==",
+ "node_modules/@radix-ui/react-primitive": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.3.tgz",
+ "integrity": "sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==",
"dependencies": {
- "@smithy/node-config-provider": "^3.1.0",
- "@smithy/property-provider": "^3.1.0",
- "@smithy/types": "^3.0.0",
- "@smithy/url-parser": "^3.0.0",
- "tslib": "^2.6.2"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-slot": "1.0.2"
},
- "engines": {
- "node": ">=16.0.0"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/eventstream-codec": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-1.1.0.tgz",
- "integrity": "sha512-3tEbUb8t8an226jKB6V/Q2XU/J53lCwCzULuBPEaF4JjSh+FlCMp7TmogE/Aij5J9DwlsZ4VAD/IRDuQ/0ZtMw==",
+ "node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
+ "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
"dependencies": {
- "@aws-crypto/crc32": "3.0.0",
- "@smithy/types": "^1.2.0",
- "@smithy/util-hex-encoding": "^1.1.0",
- "tslib": "^2.5.0"
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/eventstream-codec/node_modules/@smithy/types": {
+ "node_modules/@radix-ui/react-radio-group": {
"version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@smithy/types/-/types-1.2.0.tgz",
- "integrity": "sha512-z1r00TvBqF3dh4aHhya7nz1HhvCg4TRmw51fjMrh5do3h+ngSstt/yKlNbHeb9QxJmFbmN8KEVSWgb1bRvfEoA==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-radio-group/-/react-radio-group-1.2.0.tgz",
+ "integrity": "sha512-yv+oiLaicYMBpqgfpSPw6q+RyXlLdIpQWDHZbUKURxe+nEh53hFXPPlfhfQQtYkS5MMK/5IWIa76SksleQZSzw==",
"dependencies": {
- "tslib": "^2.5.0"
+ "@radix-ui/primitive": "1.1.0",
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-context": "1.1.0",
+ "@radix-ui/react-direction": "1.1.0",
+ "@radix-ui/react-presence": "1.1.0",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-roving-focus": "1.1.0",
+ "@radix-ui/react-use-controllable-state": "1.1.0",
+ "@radix-ui/react-use-previous": "1.1.0",
+ "@radix-ui/react-use-size": "1.1.0"
},
- "engines": {
- "node": ">=14.0.0"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/eventstream-codec/node_modules/@smithy/util-hex-encoding": {
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/primitive": {
"version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-1.1.0.tgz",
- "integrity": "sha512-7UtIE9eH0u41zpB60Jzr0oNCQ3hMJUabMcKRUVjmyHTXiWDE4vjSqN6qlih7rCNeKGbioS7f/y2Jgym4QZcKFg==",
+ "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-1.1.0.tgz",
+ "integrity": "sha512-4Z8dn6Upk0qk4P74xBhZ6Hd/w0mPEzOOLxy4xiPXOXqjF7jZS0VAKk7/x/H6FyY2zCkYJqePf1G5KmkmNJ4RBA=="
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-collection": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-collection/-/react-collection-1.1.0.tgz",
+ "integrity": "sha512-GZsZslMJEyo1VKm5L1ZJY8tGDxZNPAoUeQUIbKeJfoi7Q4kmig5AsgLMYYuyYbfjd8fBmFORAIwYAkXMnXZgZw==",
"dependencies": {
- "tslib": "^2.5.0"
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-context": "1.1.0",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-slot": "1.1.0"
},
- "engines": {
- "node": ">=14.0.0"
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/fetch-http-handler": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-3.0.1.tgz",
- "integrity": "sha512-uaH74i5BDj+rBwoQaXioKpI0SHBJFtOVwzrCpxZxphOW0ki5jhj7dXvDMYM2IJem8TpdFvS2iC08sjOblfFGFg==",
- "dependencies": {
- "@smithy/protocol-http": "^4.0.0",
- "@smithy/querystring-builder": "^3.0.0",
- "@smithy/types": "^3.0.0",
- "@smithy/util-base64": "^3.0.0",
- "tslib": "^2.6.2"
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
+ "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/hash-node": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-3.0.0.tgz",
- "integrity": "sha512-84qXstNemP3XS5jcof0el6+bDfjzuvhJPQTEfro3lgtbCtKgzPm3MgiS6ehXVPjeQ5+JS0HqmTz8f/RYfzHVxw==",
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-context": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-1.1.0.tgz",
+ "integrity": "sha512-OKrckBy+sMEgYM/sMmqmErVn0kZqrHPJze+Ql3DzYsDDp0hl0L62nx/2122/Bvps1qz645jlcu2tD9lrRSdf8A==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-direction": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-direction/-/react-direction-1.1.0.tgz",
+ "integrity": "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-id": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.1.0.tgz",
+ "integrity": "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==",
"dependencies": {
- "@smithy/types": "^3.0.0",
- "@smithy/util-buffer-from": "^3.0.0",
- "@smithy/util-utf8": "^3.0.0",
- "tslib": "^2.6.2"
+ "@radix-ui/react-use-layout-effect": "1.1.0"
},
- "engines": {
- "node": ">=16.0.0"
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/invalid-dependency": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-3.0.0.tgz",
- "integrity": "sha512-F6wBBaEFgJzj0s4KUlliIGPmqXemwP6EavgvDqYwCH40O5Xr2iMHvS8todmGVZtuJCorBkXsYLyTu4PuizVq5g==",
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-presence": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.1.0.tgz",
+ "integrity": "sha512-Gq6wuRN/asf9H/E/VzdKoUtT8GC9PQc9z40/vEr0VCJ4u5XvvhWIrSsCB6vD2/cH7ugTdSfYq9fLJCcM00acrQ==",
"dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
}
},
- "node_modules/@smithy/is-array-buffer": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-3.0.0.tgz",
- "integrity": "sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ==",
- "dependencies": {
- "tslib": "^2.6.2"
- },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-primitive": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-2.0.0.tgz",
+ "integrity": "sha512-ZSpFm0/uHa8zTvKBDjLFWLo8dkr4MBsiDLz0g3gMUwqgLHz9rTaRRGYDgvZPtBJgYCBKXkS9fzmoySgr8CO6Cw==",
+ "dependencies": {
+ "@radix-ui/react-slot": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.1.0.tgz",
+ "integrity": "sha512-EA6AMGeq9AEeQDeSH0aZgG198qkfHSbvWTf1HvoDmOB5bBG/qTxjYMWUKMnYiV6J/iP/J8MEFSuB2zRU2n7ODA==",
+ "dependencies": {
+ "@radix-ui/primitive": "1.1.0",
+ "@radix-ui/react-collection": "1.1.0",
+ "@radix-ui/react-compose-refs": "1.1.0",
+ "@radix-ui/react-context": "1.1.0",
+ "@radix-ui/react-direction": "1.1.0",
+ "@radix-ui/react-id": "1.1.0",
+ "@radix-ui/react-primitive": "2.0.0",
+ "@radix-ui/react-use-callback-ref": "1.1.0",
+ "@radix-ui/react-use-controllable-state": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc",
+ "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.1.0.tgz",
+ "integrity": "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.1.0.tgz",
+ "integrity": "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw==",
+ "dependencies": {
+ "@radix-ui/react-use-callback-ref": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.0.tgz",
+ "integrity": "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-previous": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.1.0.tgz",
+ "integrity": "sha512-Z/e78qg2YFnnXcW88A4JmTtm4ADckLno6F7OXotmkQfeuCVaKuYzqAATPhVzl3delXE7CxIV8shofPn3jPc5Og==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-radio-group/node_modules/@radix-ui/react-use-size": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.0.tgz",
+ "integrity": "sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-roving-focus": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-roving-focus/-/react-roving-focus-1.0.4.tgz",
+ "integrity": "sha512-2mUg5Mgcu001VkGy+FfzZyzbmuUWzgWkj3rvv4yu+mLw03+mTzbxZHvfcGyFp2b8EkQeMkpRQ5FiA2Vr2O6TeQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-collection": "1.0.3",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-direction": "1.0.1",
+ "@radix-ui/react-id": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-callback-ref": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-scroll-area": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-scroll-area/-/react-scroll-area-1.0.5.tgz",
+ "integrity": "sha512-b6PAgH4GQf9QEn8zbT2XUHpW5z8BzqEc7Kl11TwDrvuTrxlkcjTD5qa/bxgKr+nmuXKu4L/W5UZ4mlP/VG/5Gw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/number": "1.0.1",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-direction": "1.0.1",
+ "@radix-ui/react-presence": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-callback-ref": "1.0.1",
+ "@radix-ui/react-use-layout-effect": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-select": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-select/-/react-select-2.0.0.tgz",
+ "integrity": "sha512-RH5b7af4oHtkcHS7pG6Sgv5rk5Wxa7XI8W5gvB1N/yiuDGZxko1ynvOiVhFM7Cis2A8zxF9bTOUVbRDzPepe6w==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/number": "1.0.1",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-collection": "1.0.3",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-direction": "1.0.1",
+ "@radix-ui/react-dismissable-layer": "1.0.5",
+ "@radix-ui/react-focus-guards": "1.0.1",
+ "@radix-ui/react-focus-scope": "1.0.4",
+ "@radix-ui/react-id": "1.0.1",
+ "@radix-ui/react-popper": "1.1.3",
+ "@radix-ui/react-portal": "1.0.4",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-slot": "1.0.2",
+ "@radix-ui/react-use-callback-ref": "1.0.1",
+ "@radix-ui/react-use-controllable-state": "1.0.1",
+ "@radix-ui/react-use-layout-effect": "1.0.1",
+ "@radix-ui/react-use-previous": "1.0.1",
+ "@radix-ui/react-visually-hidden": "1.0.3",
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "2.5.5"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-select/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
+ "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-separator": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.0.3.tgz",
+ "integrity": "sha512-itYmTy/kokS21aiV5+Z56MZB54KrhPgn6eHDKkFeOLR34HMN2s8PaN47qZZAGnvupcjxHaFZnW4pQEh0BvvVuw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "1.0.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slider": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slider/-/react-slider-1.1.2.tgz",
+ "integrity": "sha512-NKs15MJylfzVsCagVSWKhGGLNR1W9qWs+HtgbmjjVUB3B9+lb3PYoXxVju3kOrpf0VKyVCtZp+iTwVoqpa1Chw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/number": "1.0.1",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-collection": "1.0.3",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-direction": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-controllable-state": "1.0.1",
+ "@radix-ui/react-use-layout-effect": "1.0.1",
+ "@radix-ui/react-use-previous": "1.0.1",
+ "@radix-ui/react-use-size": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slot": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz",
+ "integrity": "sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw==",
+ "dependencies": {
+ "@radix-ui/react-compose-refs": "1.1.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.1.0.tgz",
+ "integrity": "sha512-b4inOtiaOnYf9KWyO3jAeeCG6FeyfY6ldiEPanbUjWd+xIk5wZeHa8yVwmrJ2vderhu/BQvzCrJI0lHd+wIiqw==",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-switch": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-switch/-/react-switch-1.0.3.tgz",
+ "integrity": "sha512-mxm87F88HyHztsI7N+ZUmEoARGkC22YVW5CaC+Byc+HRpuvCrOBPTAnXgf+tZ/7i0Sg/eOePGdMhUKhPaQEqow==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-use-controllable-state": "1.0.1",
+ "@radix-ui/react-use-previous": "1.0.1",
+ "@radix-ui/react-use-size": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tabs": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tabs/-/react-tabs-1.0.4.tgz",
+ "integrity": "sha512-egZfYY/+wRNCflXNHx+dePvnz9FbmssDTJBtgRfDY7e8SE5oIo3Py2eCB1ckAbh1Q7cQ/6yJZThJ++sgbxibog==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-direction": "1.0.1",
+ "@radix-ui/react-id": "1.0.1",
+ "@radix-ui/react-presence": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-roving-focus": "1.0.4",
+ "@radix-ui/react-use-controllable-state": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-tooltip/-/react-tooltip-1.0.7.tgz",
+ "integrity": "sha512-lPh5iKNFVQ/jav/j6ZrWq3blfDJ0OH9R6FlNUHPMqdLuQ9vwDgFsRxvl8b7Asuy5c8xmoojHUxKHQSOAvMHxyw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "1.0.1",
+ "@radix-ui/react-compose-refs": "1.0.1",
+ "@radix-ui/react-context": "1.0.1",
+ "@radix-ui/react-dismissable-layer": "1.0.5",
+ "@radix-ui/react-id": "1.0.1",
+ "@radix-ui/react-popper": "1.1.3",
+ "@radix-ui/react-portal": "1.0.4",
+ "@radix-ui/react-presence": "1.0.1",
+ "@radix-ui/react-primitive": "1.0.3",
+ "@radix-ui/react-slot": "1.0.2",
+ "@radix-ui/react-use-controllable-state": "1.0.1",
+ "@radix-ui/react-visually-hidden": "1.0.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
+ "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-callback-ref": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-callback-ref/-/react-use-callback-ref-1.0.1.tgz",
+ "integrity": "sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-controllable-state": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-1.0.1.tgz",
+ "integrity": "sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-callback-ref": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-effect-event": {
+ "version": "0.0.2",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-effect-event/-/react-use-effect-event-0.0.2.tgz",
+ "integrity": "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==",
+ "license": "MIT",
+ "dependencies": {
+ "@radix-ui/react-use-layout-effect": "1.1.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-effect-event/node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.1.1.tgz",
+ "integrity": "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-escape-keydown": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-escape-keydown/-/react-use-escape-keydown-1.0.3.tgz",
+ "integrity": "sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-callback-ref": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-is-hydrated": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-is-hydrated/-/react-use-is-hydrated-0.1.0.tgz",
+ "integrity": "sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==",
+ "license": "MIT",
+ "dependencies": {
+ "use-sync-external-store": "^1.5.0"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-is-hydrated/node_modules/use-sync-external-store": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz",
+ "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/@radix-ui/react-use-layout-effect": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.1.tgz",
+ "integrity": "sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-previous": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-previous/-/react-use-previous-1.0.1.tgz",
+ "integrity": "sha512-cV5La9DPwiQ7S0gf/0qiD6YgNqM5Fk97Kdrlc5yBcrF3jyEZQwm7vYFqMo4IfeHgJXsRaMvLABFtd0OVEmZhDw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-rect": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-rect/-/react-use-rect-1.0.1.tgz",
+ "integrity": "sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/rect": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-use-size": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.0.1.tgz",
+ "integrity": "sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-use-layout-effect": "1.0.1"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "react": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/react-visually-hidden": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.0.3.tgz",
+ "integrity": "sha512-D4w41yN5YRKtu464TLnByKzMDG/JlMPHtfZgQAu9v6mNakUqGUI9vUrfQKz8NK41VMm/xbZbh76NUTVtIYqOMA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "1.0.3"
+ },
+ "peerDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*",
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@radix-ui/rect": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.0.1.tgz",
+ "integrity": "sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ }
+ },
+ "node_modules/@rushstack/eslint-patch": {
+ "version": "1.10.3",
+ "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.10.3.tgz",
+ "integrity": "sha512-qC/xYId4NMebE6w/V33Fh9gWxLgURiNYgVNObbJl2LZv0GUUItCcCqC5axQSwRaAgaxl2mELq1rMzlswaQ0Zxg==",
+ "dev": true
+ },
+ "node_modules/@sinclair/typebox": {
+ "version": "0.34.48",
+ "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.48.tgz",
+ "integrity": "sha512-kKJTNuK3AQOrgjjotVxMrCn1sUJwM76wMszfq1kdU4uYVJjvEWuFQ6HgvLt4Xz3fSmZlTOxJ/Ie13KnIcWQXFA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@sinonjs/commons": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz",
+ "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "type-detect": "4.0.8"
+ }
+ },
+ "node_modules/@sinonjs/fake-timers": {
+ "version": "13.0.5",
+ "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-13.0.5.tgz",
+ "integrity": "sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@sinonjs/commons": "^3.0.1"
+ }
+ },
+ "node_modules/@smithy/abort-controller": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-3.0.0.tgz",
+ "integrity": "sha512-p6GlFGBt9K4MYLu72YuJ523NVR4A8oHlC5M2JO6OmQqN8kAc/uh1JqLE+FizTokrSJGg0CSvC+BrsmGzKtsZKA==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/config-resolver": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-3.0.1.tgz",
+ "integrity": "sha512-hbkYJc20SBDz2qqLzttjI/EqXemtmWk0ooRznLsiXp3066KQRTvuKHa7U4jCZCJq6Dozqvy0R1/vNESC9inPJg==",
+ "dependencies": {
+ "@smithy/node-config-provider": "^3.1.0",
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-config-provider": "^3.0.0",
+ "@smithy/util-middleware": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/core": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@smithy/core/-/core-2.2.0.tgz",
+ "integrity": "sha512-ygLZSSKgt9bR8HAxR9mK+U5obvAJBr6zlQuhN5soYWx/amjDoQN4dTkydTypgKe6rIbUjTILyLU+W5XFwXr4kg==",
+ "dependencies": {
+ "@smithy/middleware-endpoint": "^3.0.1",
+ "@smithy/middleware-retry": "^3.0.3",
+ "@smithy/middleware-serde": "^3.0.0",
+ "@smithy/protocol-http": "^4.0.0",
+ "@smithy/smithy-client": "^3.1.1",
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-middleware": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/credential-provider-imds": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-3.1.0.tgz",
+ "integrity": "sha512-q4A4d38v8pYYmseu/jTS3Z5I3zXlEOe5Obi+EJreVKgSVyWUHOd7/yaVCinC60QG4MRyCs98tcxBH1IMC0bu7Q==",
+ "dependencies": {
+ "@smithy/node-config-provider": "^3.1.0",
+ "@smithy/property-provider": "^3.1.0",
+ "@smithy/types": "^3.0.0",
+ "@smithy/url-parser": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/eventstream-codec": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-1.1.0.tgz",
+ "integrity": "sha512-3tEbUb8t8an226jKB6V/Q2XU/J53lCwCzULuBPEaF4JjSh+FlCMp7TmogE/Aij5J9DwlsZ4VAD/IRDuQ/0ZtMw==",
+ "dependencies": {
+ "@aws-crypto/crc32": "3.0.0",
+ "@smithy/types": "^1.2.0",
+ "@smithy/util-hex-encoding": "^1.1.0",
+ "tslib": "^2.5.0"
+ }
+ },
+ "node_modules/@smithy/eventstream-codec/node_modules/@smithy/types": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@smithy/types/-/types-1.2.0.tgz",
+ "integrity": "sha512-z1r00TvBqF3dh4aHhya7nz1HhvCg4TRmw51fjMrh5do3h+ngSstt/yKlNbHeb9QxJmFbmN8KEVSWgb1bRvfEoA==",
+ "dependencies": {
+ "tslib": "^2.5.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@smithy/eventstream-codec/node_modules/@smithy/util-hex-encoding": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-1.1.0.tgz",
+ "integrity": "sha512-7UtIE9eH0u41zpB60Jzr0oNCQ3hMJUabMcKRUVjmyHTXiWDE4vjSqN6qlih7rCNeKGbioS7f/y2Jgym4QZcKFg==",
+ "dependencies": {
+ "tslib": "^2.5.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@smithy/fetch-http-handler": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-3.0.1.tgz",
+ "integrity": "sha512-uaH74i5BDj+rBwoQaXioKpI0SHBJFtOVwzrCpxZxphOW0ki5jhj7dXvDMYM2IJem8TpdFvS2iC08sjOblfFGFg==",
+ "dependencies": {
+ "@smithy/protocol-http": "^4.0.0",
+ "@smithy/querystring-builder": "^3.0.0",
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-base64": "^3.0.0",
+ "tslib": "^2.6.2"
+ }
+ },
+ "node_modules/@smithy/hash-node": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-3.0.0.tgz",
+ "integrity": "sha512-84qXstNemP3XS5jcof0el6+bDfjzuvhJPQTEfro3lgtbCtKgzPm3MgiS6ehXVPjeQ5+JS0HqmTz8f/RYfzHVxw==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-buffer-from": "^3.0.0",
+ "@smithy/util-utf8": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/invalid-dependency": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-3.0.0.tgz",
+ "integrity": "sha512-F6wBBaEFgJzj0s4KUlliIGPmqXemwP6EavgvDqYwCH40O5Xr2iMHvS8todmGVZtuJCorBkXsYLyTu4PuizVq5g==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ }
+ },
+ "node_modules/@smithy/is-array-buffer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-3.0.0.tgz",
+ "integrity": "sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ==",
+ "dependencies": {
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/middleware-content-length": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-3.0.0.tgz",
+ "integrity": "sha512-3C4s4d/iGobgCtk2tnWW6+zSTOBg1PRAm2vtWZLdriwTroFbbWNSr3lcyzHdrQHnEXYCC5K52EbpfodaIUY8sg==",
+ "dependencies": {
+ "@smithy/protocol-http": "^4.0.0",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/middleware-endpoint": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.1.tgz",
+ "integrity": "sha512-lQ/UOdGD4KM5kLZiAl0q8Qy3dPbynvAXKAdXnYlrA1OpaUwr+neSsVokDZpY6ZVb5Yx8jnus29uv6XWpM9P4SQ==",
+ "dependencies": {
+ "@smithy/middleware-serde": "^3.0.0",
+ "@smithy/node-config-provider": "^3.1.0",
+ "@smithy/shared-ini-file-loader": "^3.1.0",
+ "@smithy/types": "^3.0.0",
+ "@smithy/url-parser": "^3.0.0",
+ "@smithy/util-middleware": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/middleware-retry": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-3.0.3.tgz",
+ "integrity": "sha512-Wve1qzJb83VEU/6q+/I0cQdAkDnuzELC6IvIBwDzUEiGpKqXgX1v10FUuZGbRS6Ov/P+HHthcAoHOJZQvZNAkA==",
+ "dependencies": {
+ "@smithy/node-config-provider": "^3.1.0",
+ "@smithy/protocol-http": "^4.0.0",
+ "@smithy/service-error-classification": "^3.0.0",
+ "@smithy/smithy-client": "^3.1.1",
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-middleware": "^3.0.0",
+ "@smithy/util-retry": "^3.0.0",
+ "tslib": "^2.6.2",
+ "uuid": "^9.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/middleware-retry/node_modules/uuid": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
+ "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
+ "funding": [
+ "https://github.com/sponsors/broofa",
+ "https://github.com/sponsors/ctavan"
+ ],
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
+ "node_modules/@smithy/middleware-serde": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-3.0.0.tgz",
+ "integrity": "sha512-I1vKG1foI+oPgG9r7IMY1S+xBnmAn1ISqployvqkwHoSb8VPsngHDTOgYGYBonuOKndaWRUGJZrKYYLB+Ane6w==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/middleware-stack": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-3.0.0.tgz",
+ "integrity": "sha512-+H0jmyfAyHRFXm6wunskuNAqtj7yfmwFB6Fp37enytp2q047/Od9xetEaUbluyImOlGnGpaVGaVfjwawSr+i6Q==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/node-config-provider": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-3.1.0.tgz",
+ "integrity": "sha512-ngfB8QItUfTFTfHMvKuc2g1W60V1urIgZHqD1JNFZC2tTWXahqf2XvKXqcBS7yZqR7GqkQQZy11y/lNOUWzq7Q==",
+ "dependencies": {
+ "@smithy/property-provider": "^3.1.0",
+ "@smithy/shared-ini-file-loader": "^3.1.0",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/node-http-handler": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-3.0.0.tgz",
+ "integrity": "sha512-3trD4r7NOMygwLbUJo4eodyQuypAWr7uvPnebNJ9a70dQhVn+US8j/lCnvoJS6BXfZeF7PkkkI0DemVJw+n+eQ==",
+ "dependencies": {
+ "@smithy/abort-controller": "^3.0.0",
+ "@smithy/protocol-http": "^4.0.0",
+ "@smithy/querystring-builder": "^3.0.0",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/property-provider": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-3.1.0.tgz",
+ "integrity": "sha512-Tj3+oVhqdZgemjCiWjFlADfhvLF4C/uKDuKo7/tlEsRQ9+3emCreR2xndj970QSRSsiCEU8hZW3/8JQu+n5w4Q==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/protocol-http": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-4.0.0.tgz",
+ "integrity": "sha512-qOQZOEI2XLWRWBO9AgIYuHuqjZ2csyr8/IlgFDHDNuIgLAMRx2Bl8ck5U5D6Vh9DPdoaVpuzwWMa0xcdL4O/AQ==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/querystring-builder": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-3.0.0.tgz",
+ "integrity": "sha512-bW8Fi0NzyfkE0TmQphDXr1AmBDbK01cA4C1Z7ggwMAU5RDz5AAv/KmoRwzQAS0kxXNf/D2ALTEgwK0U2c4LtRg==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-uri-escape": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/querystring-parser": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-3.0.0.tgz",
+ "integrity": "sha512-UzHwthk0UEccV4dHzPySnBy34AWw3V9lIqUTxmozQ+wPDAO9csCWMfOLe7V9A2agNYy7xE+Pb0S6K/J23JSzfQ==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/service-error-classification": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-3.0.0.tgz",
+ "integrity": "sha512-3BsBtOUt2Gsnc3X23ew+r2M71WwtpHfEDGhHYHSDg6q1t8FrWh15jT25DLajFV1H+PpxAJ6gqe9yYeRUsmSdFA==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/shared-ini-file-loader": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.0.tgz",
+ "integrity": "sha512-dAM7wSX0NR3qTNyGVN/nwwpEDzfV9T/3AN2eABExWmda5VqZKSsjlINqomO5hjQWGv+IIkoXfs3u2vGSNz8+Rg==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/signature-v4": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-3.0.0.tgz",
+ "integrity": "sha512-kXFOkNX+BQHe2qnLxpMEaCRGap9J6tUGLzc3A9jdn+nD4JdMwCKTJ+zFwQ20GkY+mAXGatyTw3HcoUlR39HwmA==",
+ "dependencies": {
+ "@smithy/is-array-buffer": "^3.0.0",
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-hex-encoding": "^3.0.0",
+ "@smithy/util-middleware": "^3.0.0",
+ "@smithy/util-uri-escape": "^3.0.0",
+ "@smithy/util-utf8": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/smithy-client": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-3.1.1.tgz",
+ "integrity": "sha512-tj4Ku7MpzZR8cmVuPcSbrLFVxmptWktmJMwST/uIEq4sarabEdF8CbmQdYB7uJ/X51Qq2EYwnRsoS7hdR4B7rA==",
+ "dependencies": {
+ "@smithy/middleware-endpoint": "^3.0.1",
+ "@smithy/middleware-stack": "^3.0.0",
+ "@smithy/protocol-http": "^4.0.0",
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-stream": "^3.0.1",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/types": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/types/-/types-3.0.0.tgz",
+ "integrity": "sha512-VvWuQk2RKFuOr98gFhjca7fkBS+xLLURT8bUjk5XQoV0ZLm7WPwWPPY3/AwzTLuUBDeoKDCthfe1AsTUWaSEhw==",
+ "dependencies": {
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/url-parser": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-3.0.0.tgz",
+ "integrity": "sha512-2XLazFgUu+YOGHtWihB3FSLAfCUajVfNBXGGYjOaVKjLAuAxx3pSBY3hBgLzIgB17haf59gOG3imKqTy8mcrjw==",
+ "dependencies": {
+ "@smithy/querystring-parser": "^3.0.0",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ }
+ },
+ "node_modules/@smithy/util-base64": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-3.0.0.tgz",
+ "integrity": "sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ==",
+ "dependencies": {
+ "@smithy/util-buffer-from": "^3.0.0",
+ "@smithy/util-utf8": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-body-length-browser": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-3.0.0.tgz",
+ "integrity": "sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ==",
+ "dependencies": {
+ "tslib": "^2.6.2"
+ }
+ },
+ "node_modules/@smithy/util-body-length-node": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-3.0.0.tgz",
+ "integrity": "sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA==",
+ "dependencies": {
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-buffer-from": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-3.0.0.tgz",
+ "integrity": "sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA==",
+ "dependencies": {
+ "@smithy/is-array-buffer": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-config-provider": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-3.0.0.tgz",
+ "integrity": "sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ==",
+ "dependencies": {
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-defaults-mode-browser": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.3.tgz",
+ "integrity": "sha512-3DFON2bvXJAukJe+qFgPV/rorG7ZD3m4gjCXHD1V5z/tgKQp5MCTCLntrd686tX6tj8Uli3lefWXJudNg5WmCA==",
+ "dependencies": {
+ "@smithy/property-provider": "^3.1.0",
+ "@smithy/smithy-client": "^3.1.1",
+ "@smithy/types": "^3.0.0",
+ "bowser": "^2.11.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/@smithy/util-defaults-mode-node": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.3.tgz",
+ "integrity": "sha512-D0b8GJXecT00baoSQ3Iieu3k3mZ7GY8w1zmg8pdogYrGvWJeLcIclqk2gbkG4K0DaBGWrO6v6r20iwIFfDYrmA==",
+ "dependencies": {
+ "@smithy/config-resolver": "^3.0.1",
+ "@smithy/credential-provider-imds": "^3.1.0",
+ "@smithy/node-config-provider": "^3.1.0",
+ "@smithy/property-provider": "^3.1.0",
+ "@smithy/smithy-client": "^3.1.1",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">= 10.0.0"
+ }
+ },
+ "node_modules/@smithy/util-endpoints": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-2.0.1.tgz",
+ "integrity": "sha512-ZRT0VCOnKlVohfoABMc8lWeQo/JEFuPWctfNRXgTHbyOVssMOLYFUNWukxxiHRGVAhV+n3c0kPW+zUqckjVPEA==",
+ "dependencies": {
+ "@smithy/node-config-provider": "^3.1.0",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-hex-encoding": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-3.0.0.tgz",
+ "integrity": "sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ==",
+ "dependencies": {
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-middleware": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-3.0.0.tgz",
+ "integrity": "sha512-q5ITdOnV2pXHSVDnKWrwgSNTDBAMHLptFE07ua/5Ty5WJ11bvr0vk2a7agu7qRhrCFRQlno5u3CneU5EELK+DQ==",
+ "dependencies": {
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-retry": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-3.0.0.tgz",
+ "integrity": "sha512-nK99bvJiziGv/UOKJlDvFF45F00WgPLKVIGUfAK+mDhzVN2hb/S33uW2Tlhg5PVBoqY7tDVqL0zmu4OxAHgo9g==",
+ "dependencies": {
+ "@smithy/service-error-classification": "^3.0.0",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-stream": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-3.0.1.tgz",
+ "integrity": "sha512-7F7VNNhAsfMRA8I986YdOY5fE0/T1/ZjFF6OLsqkvQVNP3vZ/szYDfGCyphb7ioA09r32K/0qbSFfNFU68aSzA==",
+ "dependencies": {
+ "@smithy/fetch-http-handler": "^3.0.1",
+ "@smithy/node-http-handler": "^3.0.0",
+ "@smithy/types": "^3.0.0",
+ "@smithy/util-base64": "^3.0.0",
+ "@smithy/util-buffer-from": "^3.0.0",
+ "@smithy/util-hex-encoding": "^3.0.0",
+ "@smithy/util-utf8": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-uri-escape": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz",
+ "integrity": "sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg==",
+ "dependencies": {
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-utf8": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-3.0.0.tgz",
+ "integrity": "sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA==",
+ "dependencies": {
+ "@smithy/util-buffer-from": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@smithy/util-waiter": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-3.0.0.tgz",
+ "integrity": "sha512-+fEXJxGDLCoqRKVSmo0auGxaqbiCo+8oph+4auefYjaNxjOLKSY2MxVQfRzo65PaZv4fr+5lWg+au7vSuJJ/zw==",
+ "dependencies": {
+ "@smithy/abort-controller": "^3.0.0",
+ "@smithy/types": "^3.0.0",
+ "tslib": "^2.6.2"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@standard-schema/spec": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
+ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
+ "license": "MIT"
+ },
+ "node_modules/@swc/counter": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
+ "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="
+ },
+ "node_modules/@swc/helpers": {
+ "version": "0.5.5",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz",
+ "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==",
+ "dependencies": {
+ "@swc/counter": "^0.1.3",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@tanstack/react-table": {
+ "version": "8.17.3",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-table/-/react-table-8.17.3.tgz",
+ "integrity": "sha512-5gwg5SvPD3lNAXPuJJz1fOCEZYk9/GeBFH3w/hCgnfyszOIzwkwgp5I7Q4MJtn0WECp84b5STQUDdmvGi8m3nA==",
+ "dependencies": {
+ "@tanstack/table-core": "8.17.3"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": ">=16.8",
+ "react-dom": ">=16.8"
+ }
+ },
+ "node_modules/@tanstack/table-core": {
+ "version": "8.17.3",
+ "resolved": "https://registry.npmjs.org/@tanstack/table-core/-/table-core-8.17.3.tgz",
+ "integrity": "sha512-mPBodDGVL+fl6d90wUREepHa/7lhsghg2A3vFpakEhrhtbIlgNAZiMr7ccTgak5qbHqF14Fwy+W1yFWQt+WmYQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@testing-library/dom": {
+ "version": "10.4.1",
+ "resolved": "https://registry.npmjs.org/@testing-library/dom/-/dom-10.4.1.tgz",
+ "integrity": "sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@babel/code-frame": "^7.10.4",
+ "@babel/runtime": "^7.12.5",
+ "@types/aria-query": "^5.0.1",
+ "aria-query": "5.3.0",
+ "dom-accessibility-api": "^0.5.9",
+ "lz-string": "^1.5.0",
+ "picocolors": "1.1.1",
+ "pretty-format": "^27.0.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@testing-library/dom/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@testing-library/dom/node_modules/pretty-format": {
+ "version": "27.5.1",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
+ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^17.0.1"
+ },
+ "engines": {
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
+ }
+ },
+ "node_modules/@testing-library/dom/node_modules/react-is": {
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true
+ },
+ "node_modules/@testing-library/jest-dom": {
+ "version": "6.9.1",
+ "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.9.1.tgz",
+ "integrity": "sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@adobe/css-tools": "^4.4.0",
+ "aria-query": "^5.0.0",
+ "css.escape": "^1.5.1",
+ "dom-accessibility-api": "^0.6.3",
+ "picocolors": "^1.1.1",
+ "redent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=14",
+ "npm": ">=6",
+ "yarn": ">=1"
+ }
+ },
+ "node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.6.3.tgz",
+ "integrity": "sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@testing-library/react": {
+ "version": "16.3.2",
+ "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.3.2.tgz",
+ "integrity": "sha512-XU5/SytQM+ykqMnAnvB2umaJNIOsLF3PVv//1Ew4CTcpz0/BRyy/af40qqrt7SjKpDdT1saBMc42CUok5gaw+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.12.5"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "@testing-library/dom": "^10.0.0",
+ "@types/react": "^18.0.0 || ^19.0.0",
+ "@types/react-dom": "^18.0.0 || ^19.0.0",
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "@types/react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@textea/json-viewer": {
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/@textea/json-viewer/-/json-viewer-3.4.1.tgz",
+ "integrity": "sha512-8cLptaqOZVw025/iF5Cb+4nX2jjLRlGfKxGd8D6Gm9pOzB/ZDgih+xl9zoWcVXwVlRj85uLae5oorKV8Yc+vog==",
+ "dependencies": {
+ "clsx": "^2.1.0",
+ "copy-to-clipboard": "^3.3.3",
+ "zustand": "^4.5.2"
+ },
+ "peerDependencies": {
+ "@emotion/react": "^11",
+ "@emotion/styled": "^11",
+ "@mui/material": "^5",
+ "react": "^17 || ^18",
+ "react-dom": "^17 || ^18"
+ }
+ },
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
+ "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@types/aria-query": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz",
+ "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true
+ },
+ "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.27.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
+ "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
+ "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.28.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
+ "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.28.2"
+ }
+ },
+ "node_modules/@types/d3-array": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.1.tgz",
+ "integrity": "sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg=="
+ },
+ "node_modules/@types/d3-color": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
+ "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A=="
+ },
+ "node_modules/@types/d3-ease": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",
+ "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA=="
+ },
+ "node_modules/@types/d3-interpolate": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",
+ "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",
+ "dependencies": {
+ "@types/d3-color": "*"
+ }
+ },
+ "node_modules/@types/d3-path": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.0.tgz",
+ "integrity": "sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ=="
+ },
+ "node_modules/@types/d3-scale": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.8.tgz",
+ "integrity": "sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ==",
+ "dependencies": {
+ "@types/d3-time": "*"
+ }
+ },
+ "node_modules/@types/d3-shape": {
+ "version": "3.1.6",
+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.6.tgz",
+ "integrity": "sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA==",
+ "dependencies": {
+ "@types/d3-path": "*"
+ }
+ },
+ "node_modules/@types/d3-time": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.3.tgz",
+ "integrity": "sha512-2p6olUZ4w3s+07q3Tm2dbiMZy5pCDfYwtLXXHUnVzXgQlZ/OyPtUz6OL382BkOuGlLXqfT+wqv8Fw2v8/0geBw=="
+ },
+ "node_modules/@types/d3-timer": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",
+ "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw=="
+ },
+ "node_modules/@types/debug": {
+ "version": "4.1.12",
+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",
+ "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
+ "dependencies": {
+ "@types/ms": "*"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz",
+ "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ=="
+ },
+ "node_modules/@types/estree-jsx": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",
+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",
+ "dependencies": {
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/@types/hast": {
+ "version": "2.3.10",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz",
+ "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==",
+ "dependencies": {
+ "@types/unist": "^2"
+ }
+ },
+ "node_modules/@types/hoist-non-react-statics": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.6.tgz",
+ "integrity": "sha512-lPByRJUer/iN/xa4qpyL0qmL11DqNW81iU/IG1S3uvRUq4oKagz8VCxZjiWkumgt66YT3vOdDgZ0o32sGKtCEw==",
+ "dependencies": {
+ "@types/react": "*",
+ "hoist-non-react-statics": "^3.3.0"
+ }
+ },
+ "node_modules/@types/istanbul-lib-coverage": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz",
+ "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/istanbul-lib-report": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz",
+ "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/istanbul-lib-coverage": "*"
+ }
+ },
+ "node_modules/@types/istanbul-reports": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz",
+ "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/istanbul-lib-report": "*"
+ }
+ },
+ "node_modules/@types/jest": {
+ "version": "30.0.0",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-30.0.0.tgz",
+ "integrity": "sha512-XTYugzhuwqWjws0CVz8QpM36+T+Dz5mTEBKhNs/esGLnCIlGdRy+Dq78NRjd7ls7r8BC8ZRMOrKlkO1hU0JOwA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "expect": "^30.0.0",
+ "pretty-format": "^30.0.0"
+ }
+ },
+ "node_modules/@types/jest/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@types/jest/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/@types/jsdom": {
+ "version": "21.1.7",
+ "resolved": "https://registry.npmjs.org/@types/jsdom/-/jsdom-21.1.7.tgz",
+ "integrity": "sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*",
+ "@types/tough-cookie": "*",
+ "parse5": "^7.0.0"
+ }
+ },
+ "node_modules/@types/json5": {
+ "version": "0.0.29",
+ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
+ "dev": true
+ },
+ "node_modules/@types/lodash": {
+ "version": "4.17.5",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.5.tgz",
+ "integrity": "sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw==",
+ "dev": true
+ },
+ "node_modules/@types/mdast": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",
+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/ms": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="
+ },
+ "node_modules/@types/mustache": {
+ "version": "4.2.6",
+ "resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.6.tgz",
+ "integrity": "sha512-t+8/QWTAhOFlrF1IVZqKnMRJi84EgkIK5Kh0p2JV4OLywUvCwJPFxbJAl7XAow7DVIHsF+xW9f1MVzg0L6Szjw==",
+ "dev": true
+ },
+ "node_modules/@types/node": {
+ "version": "20.14.2",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz",
+ "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==",
+ "dependencies": {
+ "undici-types": "~5.26.4"
+ }
+ },
+ "node_modules/@types/node-fetch": {
+ "version": "2.6.11",
+ "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz",
+ "integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==",
+ "dependencies": {
+ "@types/node": "*",
+ "form-data": "^4.0.0"
+ }
+ },
+ "node_modules/@types/parse-json": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
+ "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==",
+ "peer": true
+ },
+ "node_modules/@types/prop-types": {
+ "version": "15.7.12",
+ "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz",
+ "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q=="
+ },
+ "node_modules/@types/react": {
+ "version": "18.3.3",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz",
+ "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==",
+ "dependencies": {
+ "@types/prop-types": "*",
+ "csstype": "^3.0.2"
+ }
+ },
+ "node_modules/@types/react-beautiful-dnd": {
+ "version": "13.1.8",
+ "resolved": "https://registry.npmjs.org/@types/react-beautiful-dnd/-/react-beautiful-dnd-13.1.8.tgz",
+ "integrity": "sha512-E3TyFsro9pQuK4r8S/OL6G99eq7p8v29sX0PM7oT8Z+PJfZvSQTx4zTQbUJ+QZXioAF0e7TGBEcA1XhYhCweyQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "18.3.0",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz",
+ "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==",
+ "devOptional": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-grid-layout": {
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/@types/react-grid-layout/-/react-grid-layout-1.3.5.tgz",
+ "integrity": "sha512-WH/po1gcEcoR6y857yAnPGug+ZhkF4PaTUxgAbwfeSH/QOgVSakKHBXoPGad/sEznmkiaK3pqHk+etdWisoeBQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-redux": {
+ "version": "7.1.34",
+ "resolved": "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.34.tgz",
+ "integrity": "sha512-GdFaVjEbYv4Fthm2ZLvj1VSCedV7TqE5y1kNwnjSdBOTXuRSgowux6J8TAct15T3CKBr63UMk+2CO7ilRhyrAQ==",
+ "dependencies": {
+ "@types/hoist-non-react-statics": "^3.3.0",
+ "@types/react": "*",
+ "hoist-non-react-statics": "^3.3.0",
+ "redux": "^4.0.0"
+ }
+ },
+ "node_modules/@types/react-syntax-highlighter": {
+ "version": "15.5.13",
+ "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz",
+ "integrity": "sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==",
+ "dev": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-transition-group": {
+ "version": "4.4.10",
+ "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz",
+ "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==",
+ "peer": true,
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/sqlstring": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/@types/sqlstring/-/sqlstring-2.3.2.tgz",
+ "integrity": "sha512-lVRe4Iz9UNgiHelKVo8QlC8fb5nfY8+p+jNQNE+UVsuuVlQnWhyWmQ/wF5pE8Ys6TdjfVpqTG9O9i2vi6E0+Sg==",
+ "dev": true
+ },
+ "node_modules/@types/stack-utils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
+ "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/tough-cookie": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz",
+ "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/unist": {
+ "version": "2.0.10",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz",
+ "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA=="
+ },
+ "node_modules/@types/yargs": {
+ "version": "17.0.35",
+ "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz",
+ "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/yargs-parser": "*"
+ }
+ },
+ "node_modules/@types/yargs-parser": {
+ "version": "21.0.3",
+ "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz",
+ "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz",
+ "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "6.21.0",
+ "@typescript-eslint/types": "6.21.0",
+ "@typescript-eslint/typescript-estree": "6.21.0",
+ "@typescript-eslint/visitor-keys": "6.21.0",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz",
+ "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.21.0",
+ "@typescript-eslint/visitor-keys": "6.21.0"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz",
+ "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==",
+ "dev": true,
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz",
+ "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.21.0",
+ "@typescript-eslint/visitor-keys": "6.21.0",
+ "debug": "^4.3.4",
+ "globby": "^11.1.0",
+ "is-glob": "^4.0.3",
+ "minimatch": "9.0.3",
+ "semver": "^7.5.4",
+ "ts-api-utils": "^1.0.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "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,
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
+ "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "6.21.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz",
+ "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.21.0",
+ "eslint-visitor-keys": "^3.4.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
+ "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
+ "license": "ISC"
+ },
+ "node_modules/@unrs/resolver-binding-android-arm-eabi": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz",
+ "integrity": "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-android-arm64": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz",
+ "integrity": "sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-darwin-arm64": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz",
+ "integrity": "sha512-gPVA1UjRu1Y/IsB/dQEsp2V1pm44Of6+LWvbLc9SDk1c2KhhDRDBUkQCYVWe6f26uJb3fOK8saWMgtX8IrMk3g==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-darwin-x64": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz",
+ "integrity": "sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-freebsd-x64": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz",
+ "integrity": "sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz",
+ "integrity": "sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz",
+ "integrity": "sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm64-gnu": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz",
+ "integrity": "sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-arm64-musl": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz",
+ "integrity": "sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz",
+ "integrity": "sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.11.1.tgz",
+ "integrity": "sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-riscv64-musl": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.11.1.tgz",
+ "integrity": "sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-s390x-gnu": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz",
+ "integrity": "sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-x64-gnu": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.11.1.tgz",
+ "integrity": "sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-linux-x64-musl": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz",
+ "integrity": "sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-wasm32-wasi": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz",
+ "integrity": "sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==",
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@napi-rs/wasm-runtime": "^0.2.11"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@unrs/resolver-binding-win32-arm64-msvc": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz",
+ "integrity": "sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-win32-ia32-msvc": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz",
+ "integrity": "sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@unrs/resolver-binding-win32-x64-msvc": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz",
+ "integrity": "sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@vercel/oidc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@vercel/oidc/-/oidc-3.1.0.tgz",
+ "integrity": "sha512-Fw28YZpRnA3cAHHDlkt7xQHiJ0fcL+NRcIqsocZQUSmbzeIKRpwttJjik5ZGanXP+vlA4SbTg+AbA3bP363l+w==",
+ "license": "Apache-2.0",
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 20"
}
},
- "node_modules/@smithy/middleware-content-length": {
+ "node_modules/abort-controller": {
"version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-3.0.0.tgz",
- "integrity": "sha512-3C4s4d/iGobgCtk2tnWW6+zSTOBg1PRAm2vtWZLdriwTroFbbWNSr3lcyzHdrQHnEXYCC5K52EbpfodaIUY8sg==",
- "dependencies": {
- "@smithy/protocol-http": "^4.0.0",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
- },
- "engines": {
- "node": ">=16.0.0"
- }
- },
- "node_modules/@smithy/middleware-endpoint": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-3.0.1.tgz",
- "integrity": "sha512-lQ/UOdGD4KM5kLZiAl0q8Qy3dPbynvAXKAdXnYlrA1OpaUwr+neSsVokDZpY6ZVb5Yx8jnus29uv6XWpM9P4SQ==",
+ "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
+ "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
"dependencies": {
- "@smithy/middleware-serde": "^3.0.0",
- "@smithy/node-config-provider": "^3.1.0",
- "@smithy/shared-ini-file-loader": "^3.1.0",
- "@smithy/types": "^3.0.0",
- "@smithy/url-parser": "^3.0.0",
- "@smithy/util-middleware": "^3.0.0",
- "tslib": "^2.6.2"
+ "event-target-shim": "^5.0.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=6.5"
}
},
- "node_modules/@smithy/middleware-retry": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-3.0.3.tgz",
- "integrity": "sha512-Wve1qzJb83VEU/6q+/I0cQdAkDnuzELC6IvIBwDzUEiGpKqXgX1v10FUuZGbRS6Ov/P+HHthcAoHOJZQvZNAkA==",
- "dependencies": {
- "@smithy/node-config-provider": "^3.1.0",
- "@smithy/protocol-http": "^4.0.0",
- "@smithy/service-error-classification": "^3.0.0",
- "@smithy/smithy-client": "^3.1.1",
- "@smithy/types": "^3.0.0",
- "@smithy/util-middleware": "^3.0.0",
- "@smithy/util-retry": "^3.0.0",
- "tslib": "^2.6.2",
- "uuid": "^9.0.1"
+ "node_modules/acorn": {
+ "version": "8.11.3",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
+ "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==",
+ "dev": true,
+ "bin": {
+ "acorn": "bin/acorn"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=0.4.0"
}
},
- "node_modules/@smithy/middleware-retry/node_modules/uuid": {
- "version": "9.0.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
- "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
- "funding": [
- "https://github.com/sponsors/broofa",
- "https://github.com/sponsors/ctavan"
- ],
- "bin": {
- "uuid": "dist/bin/uuid"
+ "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,
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
},
- "node_modules/@smithy/middleware-serde": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-3.0.0.tgz",
- "integrity": "sha512-I1vKG1foI+oPgG9r7IMY1S+xBnmAn1ISqployvqkwHoSb8VPsngHDTOgYGYBonuOKndaWRUGJZrKYYLB+Ane6w==",
- "dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
- },
+ "node_modules/agent-base": {
+ "version": "7.1.4",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz",
+ "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 14"
}
},
- "node_modules/@smithy/middleware-stack": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-3.0.0.tgz",
- "integrity": "sha512-+H0jmyfAyHRFXm6wunskuNAqtj7yfmwFB6Fp37enytp2q047/Od9xetEaUbluyImOlGnGpaVGaVfjwawSr+i6Q==",
+ "node_modules/agentkeepalive": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
+ "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==",
"dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "humanize-ms": "^1.2.1"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 8.0.0"
}
},
- "node_modules/@smithy/node-config-provider": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-3.1.0.tgz",
- "integrity": "sha512-ngfB8QItUfTFTfHMvKuc2g1W60V1urIgZHqD1JNFZC2tTWXahqf2XvKXqcBS7yZqR7GqkQQZy11y/lNOUWzq7Q==",
+ "node_modules/ai": {
+ "version": "6.0.11",
+ "resolved": "https://registry.npmjs.org/ai/-/ai-6.0.11.tgz",
+ "integrity": "sha512-uQAGp/5YAZZFcMNxLCg5vPZ4lNKn0NGvBeI+iY9yW2RvkonooMVfHPOum2lgqwugkoBbffzPtR7TXOFFyKJCOg==",
+ "license": "Apache-2.0",
"dependencies": {
- "@smithy/property-provider": "^3.1.0",
- "@smithy/shared-ini-file-loader": "^3.1.0",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "@ai-sdk/gateway": "3.0.8",
+ "@ai-sdk/provider": "3.0.1",
+ "@ai-sdk/provider-utils": "4.0.3",
+ "@opentelemetry/api": "1.9.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.76 || ^4.1.8"
}
},
- "node_modules/@smithy/node-http-handler": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-3.0.0.tgz",
- "integrity": "sha512-3trD4r7NOMygwLbUJo4eodyQuypAWr7uvPnebNJ9a70dQhVn+US8j/lCnvoJS6BXfZeF7PkkkI0DemVJw+n+eQ==",
+ "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,
"dependencies": {
- "@smithy/abort-controller": "^3.0.0",
- "@smithy/protocol-http": "^4.0.0",
- "@smithy/querystring-builder": "^3.0.0",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
},
- "engines": {
- "node": ">=16.0.0"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
}
},
- "node_modules/@smithy/property-provider": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-3.1.0.tgz",
- "integrity": "sha512-Tj3+oVhqdZgemjCiWjFlADfhvLF4C/uKDuKo7/tlEsRQ9+3emCreR2xndj970QSRSsiCEU8hZW3/8JQu+n5w4Q==",
+ "node_modules/ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "type-fest": "^0.21.3"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@smithy/protocol-http": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-4.0.0.tgz",
- "integrity": "sha512-qOQZOEI2XLWRWBO9AgIYuHuqjZ2csyr8/IlgFDHDNuIgLAMRx2Bl8ck5U5D6Vh9DPdoaVpuzwWMa0xcdL4O/AQ==",
- "dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
- },
+ "node_modules/ansi-escapes/node_modules/type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
+ "dev": true,
+ "license": "(MIT OR CC0-1.0)",
"engines": {
- "node": ">=16.0.0"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/@smithy/querystring-builder": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-3.0.0.tgz",
- "integrity": "sha512-bW8Fi0NzyfkE0TmQphDXr1AmBDbK01cA4C1Z7ggwMAU5RDz5AAv/KmoRwzQAS0kxXNf/D2ALTEgwK0U2c4LtRg==",
- "dependencies": {
- "@smithy/types": "^3.0.0",
- "@smithy/util-uri-escape": "^3.0.0",
- "tslib": "^2.6.2"
- },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
"engines": {
- "node": ">=16.0.0"
+ "node": ">=8"
}
},
- "node_modules/@smithy/querystring-parser": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-3.0.0.tgz",
- "integrity": "sha512-UzHwthk0UEccV4dHzPySnBy34AWw3V9lIqUTxmozQ+wPDAO9csCWMfOLe7V9A2agNYy7xE+Pb0S6K/J23JSzfQ==",
+ "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==",
+ "license": "MIT",
"dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "color-convert": "^2.0.1"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/@smithy/service-error-classification": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-3.0.0.tgz",
- "integrity": "sha512-3BsBtOUt2Gsnc3X23ew+r2M71WwtpHfEDGhHYHSDg6q1t8FrWh15jT25DLajFV1H+PpxAJ6gqe9yYeRUsmSdFA==",
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A=="
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
"dependencies": {
- "@smithy/types": "^3.0.0"
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 8"
}
},
- "node_modules/@smithy/shared-ini-file-loader": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.0.tgz",
- "integrity": "sha512-dAM7wSX0NR3qTNyGVN/nwwpEDzfV9T/3AN2eABExWmda5VqZKSsjlINqomO5hjQWGv+IIkoXfs3u2vGSNz8+Rg==",
+ "node_modules/arg": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="
+ },
+ "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
+ },
+ "node_modules/aria-hidden": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.4.tgz",
+ "integrity": "sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==",
"dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "tslib": "^2.0.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=10"
}
},
- "node_modules/@smithy/signature-v4": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-3.0.0.tgz",
- "integrity": "sha512-kXFOkNX+BQHe2qnLxpMEaCRGap9J6tUGLzc3A9jdn+nD4JdMwCKTJ+zFwQ20GkY+mAXGatyTw3HcoUlR39HwmA==",
+ "node_modules/aria-query": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
+ "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
+ "dev": true,
"dependencies": {
- "@smithy/is-array-buffer": "^3.0.0",
- "@smithy/types": "^3.0.0",
- "@smithy/util-hex-encoding": "^3.0.0",
- "@smithy/util-middleware": "^3.0.0",
- "@smithy/util-uri-escape": "^3.0.0",
- "@smithy/util-utf8": "^3.0.0",
- "tslib": "^2.6.2"
- },
- "engines": {
- "node": ">=16.0.0"
+ "dequal": "^2.0.3"
}
},
- "node_modules/@smithy/smithy-client": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-3.1.1.tgz",
- "integrity": "sha512-tj4Ku7MpzZR8cmVuPcSbrLFVxmptWktmJMwST/uIEq4sarabEdF8CbmQdYB7uJ/X51Qq2EYwnRsoS7hdR4B7rA==",
+ "node_modules/array-buffer-byte-length": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz",
+ "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==",
+ "dev": true,
"dependencies": {
- "@smithy/middleware-endpoint": "^3.0.1",
- "@smithy/middleware-stack": "^3.0.0",
- "@smithy/protocol-http": "^4.0.0",
- "@smithy/types": "^3.0.0",
- "@smithy/util-stream": "^3.0.1",
- "tslib": "^2.6.2"
+ "call-bind": "^1.0.5",
+ "is-array-buffer": "^3.0.4"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/types": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/types/-/types-3.0.0.tgz",
- "integrity": "sha512-VvWuQk2RKFuOr98gFhjca7fkBS+xLLURT8bUjk5XQoV0ZLm7WPwWPPY3/AwzTLuUBDeoKDCthfe1AsTUWaSEhw==",
+ "node_modules/array-includes": {
+ "version": "3.1.8",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz",
+ "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==",
+ "dev": true,
"dependencies": {
- "tslib": "^2.6.2"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-object-atoms": "^1.0.0",
+ "get-intrinsic": "^1.2.4",
+ "is-string": "^1.0.7"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/url-parser": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-3.0.0.tgz",
- "integrity": "sha512-2XLazFgUu+YOGHtWihB3FSLAfCUajVfNBXGGYjOaVKjLAuAxx3pSBY3hBgLzIgB17haf59gOG3imKqTy8mcrjw==",
- "dependencies": {
- "@smithy/querystring-parser": "^3.0.0",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "node_modules/array-union": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@smithy/util-base64": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-3.0.0.tgz",
- "integrity": "sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ==",
+ "node_modules/array.prototype.findlast": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",
+ "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",
+ "dev": true,
"dependencies": {
- "@smithy/util-buffer-from": "^3.0.0",
- "@smithy/util-utf8": "^3.0.0",
- "tslib": "^2.6.2"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-shim-unscopables": "^1.0.2"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/util-body-length-browser": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-3.0.0.tgz",
- "integrity": "sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ==",
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz",
+ "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==",
+ "dev": true,
"dependencies": {
- "tslib": "^2.6.2"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.2",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-shim-unscopables": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/util-body-length-node": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-3.0.0.tgz",
- "integrity": "sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA==",
+ "node_modules/array.prototype.flat": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz",
+ "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==",
+ "dev": true,
"dependencies": {
- "tslib": "^2.6.2"
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/util-buffer-from": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-3.0.0.tgz",
- "integrity": "sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA==",
+ "node_modules/array.prototype.flatmap": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz",
+ "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==",
+ "dev": true,
"dependencies": {
- "@smithy/is-array-buffer": "^3.0.0",
- "tslib": "^2.6.2"
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/util-config-provider": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-3.0.0.tgz",
- "integrity": "sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ==",
+ "node_modules/array.prototype.toreversed": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz",
+ "integrity": "sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==",
+ "dev": true,
"dependencies": {
- "tslib": "^2.6.2"
- },
- "engines": {
- "node": ">=16.0.0"
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
}
},
- "node_modules/@smithy/util-defaults-mode-browser": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.3.tgz",
- "integrity": "sha512-3DFON2bvXJAukJe+qFgPV/rorG7ZD3m4gjCXHD1V5z/tgKQp5MCTCLntrd686tX6tj8Uli3lefWXJudNg5WmCA==",
+ "node_modules/array.prototype.tosorted": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
+ "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
+ "dev": true,
"dependencies": {
- "@smithy/property-provider": "^3.1.0",
- "@smithy/smithy-client": "^3.1.1",
- "@smithy/types": "^3.0.0",
- "bowser": "^2.11.0",
- "tslib": "^2.6.2"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.3",
+ "es-errors": "^1.3.0",
+ "es-shim-unscopables": "^1.0.2"
},
"engines": {
- "node": ">= 10.0.0"
+ "node": ">= 0.4"
}
},
- "node_modules/@smithy/util-defaults-mode-node": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.3.tgz",
- "integrity": "sha512-D0b8GJXecT00baoSQ3Iieu3k3mZ7GY8w1zmg8pdogYrGvWJeLcIclqk2gbkG4K0DaBGWrO6v6r20iwIFfDYrmA==",
+ "node_modules/arraybuffer.prototype.slice": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz",
+ "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==",
+ "dev": true,
"dependencies": {
- "@smithy/config-resolver": "^3.0.1",
- "@smithy/credential-provider-imds": "^3.1.0",
- "@smithy/node-config-provider": "^3.1.0",
- "@smithy/property-provider": "^3.1.0",
- "@smithy/smithy-client": "^3.1.1",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "array-buffer-byte-length": "^1.0.1",
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.22.3",
+ "es-errors": "^1.2.1",
+ "get-intrinsic": "^1.2.3",
+ "is-array-buffer": "^3.0.4",
+ "is-shared-array-buffer": "^1.0.2"
},
"engines": {
- "node": ">= 10.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/util-endpoints": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-2.0.1.tgz",
- "integrity": "sha512-ZRT0VCOnKlVohfoABMc8lWeQo/JEFuPWctfNRXgTHbyOVssMOLYFUNWukxxiHRGVAhV+n3c0kPW+zUqckjVPEA==",
+ "node_modules/ast-types-flow": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",
+ "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==",
+ "dev": true
+ },
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
+ },
+ "node_modules/autoprefixer": {
+ "version": "10.4.19",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz",
+ "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
"dependencies": {
- "@smithy/node-config-provider": "^3.1.0",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "browserslist": "^4.23.0",
+ "caniuse-lite": "^1.0.30001599",
+ "fraction.js": "^4.3.7",
+ "normalize-range": "^0.1.2",
+ "picocolors": "^1.0.0",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
},
"engines": {
- "node": ">=16.0.0"
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
}
},
- "node_modules/@smithy/util-hex-encoding": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-3.0.0.tgz",
- "integrity": "sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ==",
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
+ "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
+ "dev": true,
"dependencies": {
- "tslib": "^2.6.2"
+ "possible-typed-array-names": "^1.0.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@smithy/util-middleware": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-3.0.0.tgz",
- "integrity": "sha512-q5ITdOnV2pXHSVDnKWrwgSNTDBAMHLptFE07ua/5Ty5WJ11bvr0vk2a7agu7qRhrCFRQlno5u3CneU5EELK+DQ==",
- "dependencies": {
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
- },
+ "node_modules/axe-core": {
+ "version": "4.7.0",
+ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz",
+ "integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==",
+ "dev": true,
"engines": {
- "node": ">=16.0.0"
+ "node": ">=4"
}
},
- "node_modules/@smithy/util-retry": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-3.0.0.tgz",
- "integrity": "sha512-nK99bvJiziGv/UOKJlDvFF45F00WgPLKVIGUfAK+mDhzVN2hb/S33uW2Tlhg5PVBoqY7tDVqL0zmu4OxAHgo9g==",
+ "node_modules/axobject-query": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz",
+ "integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==",
+ "dev": true,
"dependencies": {
- "@smithy/service-error-classification": "^3.0.0",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
- },
- "engines": {
- "node": ">=16.0.0"
+ "dequal": "^2.0.3"
}
},
- "node_modules/@smithy/util-stream": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-3.0.1.tgz",
- "integrity": "sha512-7F7VNNhAsfMRA8I986YdOY5fE0/T1/ZjFF6OLsqkvQVNP3vZ/szYDfGCyphb7ioA09r32K/0qbSFfNFU68aSzA==",
+ "node_modules/babel-jest": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-30.2.0.tgz",
+ "integrity": "sha512-0YiBEOxWqKkSQWL9nNGGEgndoeL0ZpWrbLMNL5u/Kaxrli3Eaxlt3ZtIDktEvXt4L/R9r3ODr2zKwGM/2BjxVw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@smithy/fetch-http-handler": "^3.0.1",
- "@smithy/node-http-handler": "^3.0.0",
- "@smithy/types": "^3.0.0",
- "@smithy/util-base64": "^3.0.0",
- "@smithy/util-buffer-from": "^3.0.0",
- "@smithy/util-hex-encoding": "^3.0.0",
- "@smithy/util-utf8": "^3.0.0",
- "tslib": "^2.6.2"
+ "@jest/transform": "30.2.0",
+ "@types/babel__core": "^7.20.5",
+ "babel-plugin-istanbul": "^7.0.1",
+ "babel-preset-jest": "30.2.0",
+ "chalk": "^4.1.2",
+ "graceful-fs": "^4.2.11",
+ "slash": "^3.0.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.11.0 || ^8.0.0-0"
}
},
- "node_modules/@smithy/util-uri-escape": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz",
- "integrity": "sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg==",
+ "node_modules/babel-plugin-istanbul": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-7.0.1.tgz",
+ "integrity": "sha512-D8Z6Qm8jCvVXtIRkBnqNHX0zJ37rQcFJ9u8WOS6tkYOsRdHBzypCstaxWiu5ZIlqQtviRYbgnRLSoCEvjqcqbA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "workspaces": [
+ "test/babel-8"
+ ],
"dependencies": {
- "tslib": "^2.6.2"
+ "@babel/helper-plugin-utils": "^7.0.0",
+ "@istanbuljs/load-nyc-config": "^1.0.0",
+ "@istanbuljs/schema": "^0.1.3",
+ "istanbul-lib-instrument": "^6.0.2",
+ "test-exclude": "^6.0.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=12"
}
},
- "node_modules/@smithy/util-utf8": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-3.0.0.tgz",
- "integrity": "sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA==",
+ "node_modules/babel-plugin-jest-hoist": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.2.0.tgz",
+ "integrity": "sha512-ftzhzSGMUnOzcCXd6WHdBGMyuwy15Wnn0iyyWGKgBDLxf9/s5ABuraCSpBX2uG0jUg4rqJnxsLc5+oYBqoxVaA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@smithy/util-buffer-from": "^3.0.0",
- "tslib": "^2.6.2"
+ "@types/babel__core": "^7.20.5"
},
"engines": {
- "node": ">=16.0.0"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/@smithy/util-waiter": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@smithy/util-waiter/-/util-waiter-3.0.0.tgz",
- "integrity": "sha512-+fEXJxGDLCoqRKVSmo0auGxaqbiCo+8oph+4auefYjaNxjOLKSY2MxVQfRzo65PaZv4fr+5lWg+au7vSuJJ/zw==",
+ "node_modules/babel-plugin-macros": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
+ "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
+ "peer": true,
"dependencies": {
- "@smithy/abort-controller": "^3.0.0",
- "@smithy/types": "^3.0.0",
- "tslib": "^2.6.2"
+ "@babel/runtime": "^7.12.5",
+ "cosmiconfig": "^7.0.0",
+ "resolve": "^1.19.0"
},
"engines": {
- "node": ">=16.0.0"
+ "node": ">=10",
+ "npm": ">=6"
}
},
- "node_modules/@standard-schema/spec": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
- "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
- "license": "MIT"
- },
- "node_modules/@swc/counter": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz",
- "integrity": "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="
- },
- "node_modules/@swc/helpers": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz",
- "integrity": "sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==",
+ "node_modules/babel-preset-current-node-syntax": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz",
+ "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@swc/counter": "^0.1.3",
- "tslib": "^2.4.0"
+ "@babel/plugin-syntax-async-generators": "^7.8.4",
+ "@babel/plugin-syntax-bigint": "^7.8.3",
+ "@babel/plugin-syntax-class-properties": "^7.12.13",
+ "@babel/plugin-syntax-class-static-block": "^7.14.5",
+ "@babel/plugin-syntax-import-attributes": "^7.24.7",
+ "@babel/plugin-syntax-import-meta": "^7.10.4",
+ "@babel/plugin-syntax-json-strings": "^7.8.3",
+ "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4",
+ "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
+ "@babel/plugin-syntax-numeric-separator": "^7.10.4",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
+ "@babel/plugin-syntax-optional-chaining": "^7.8.3",
+ "@babel/plugin-syntax-private-property-in-object": "^7.14.5",
+ "@babel/plugin-syntax-top-level-await": "^7.14.5"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0 || ^8.0.0-0"
}
},
- "node_modules/@tanstack/react-table": {
- "version": "8.17.3",
- "resolved": "https://registry.npmjs.org/@tanstack/react-table/-/react-table-8.17.3.tgz",
- "integrity": "sha512-5gwg5SvPD3lNAXPuJJz1fOCEZYk9/GeBFH3w/hCgnfyszOIzwkwgp5I7Q4MJtn0WECp84b5STQUDdmvGi8m3nA==",
+ "node_modules/babel-preset-jest": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-30.2.0.tgz",
+ "integrity": "sha512-US4Z3NOieAQumwFnYdUWKvUKh8+YSnS/gB3t6YBiz0bskpu7Pine8pPCheNxlPEW4wnUkma2a94YuW2q3guvCQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@tanstack/table-core": "8.17.3"
+ "babel-plugin-jest-hoist": "30.2.0",
+ "babel-preset-current-node-syntax": "^1.2.0"
},
"engines": {
- "node": ">=12"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
},
"peerDependencies": {
- "react": ">=16.8",
- "react-dom": ">=16.8"
+ "@babel/core": "^7.11.0 || ^8.0.0-beta.1"
}
},
- "node_modules/@tanstack/table-core": {
- "version": "8.17.3",
- "resolved": "https://registry.npmjs.org/@tanstack/table-core/-/table-core-8.17.3.tgz",
- "integrity": "sha512-mPBodDGVL+fl6d90wUREepHa/7lhsghg2A3vFpakEhrhtbIlgNAZiMr7ccTgak5qbHqF14Fwy+W1yFWQt+WmYQ==",
- "engines": {
- "node": ">=12"
- },
+ "node_modules/bail": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
"funding": {
"type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
- }
- },
- "node_modules/@textea/json-viewer": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/@textea/json-viewer/-/json-viewer-3.4.1.tgz",
- "integrity": "sha512-8cLptaqOZVw025/iF5Cb+4nX2jjLRlGfKxGd8D6Gm9pOzB/ZDgih+xl9zoWcVXwVlRj85uLae5oorKV8Yc+vog==",
- "dependencies": {
- "clsx": "^2.1.0",
- "copy-to-clipboard": "^3.3.3",
- "zustand": "^4.5.2"
- },
- "peerDependencies": {
- "@emotion/react": "^11",
- "@emotion/styled": "^11",
- "@mui/material": "^5",
- "react": "^17 || ^18",
- "react-dom": "^17 || ^18"
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@types/d3-array": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.1.tgz",
- "integrity": "sha512-Y2Jn2idRrLzUfAKV2LyRImR+y4oa2AntrgID95SHJxuMUrkNXmanDSed71sRNZysveJVt1hLLemQZIady0FpEg=="
- },
- "node_modules/@types/d3-color": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
- "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A=="
- },
- "node_modules/@types/d3-ease": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",
- "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA=="
- },
- "node_modules/@types/d3-interpolate": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",
- "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",
- "dependencies": {
- "@types/d3-color": "*"
- }
+ "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=="
},
- "node_modules/@types/d3-path": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.0.tgz",
- "integrity": "sha512-P2dlU/q51fkOc/Gfl3Ul9kicV7l+ra934qBFXCFhrZMOL6du1TM0pm1ThYvENukyOn5h9v+yMJ9Fn5JK4QozrQ=="
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
},
- "node_modules/@types/d3-scale": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.8.tgz",
- "integrity": "sha512-gkK1VVTr5iNiYJ7vWDI+yUFFlszhNMtVeneJ6lUTKPjprsvLLI9/tgEGiXJOnlINJA8FyA88gfnQsHbybVZrYQ==",
- "dependencies": {
- "@types/d3-time": "*"
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.0.tgz",
+ "integrity": "sha512-lIyg0szRfYbiy67j9KN8IyeD7q7hcmqnJ1ddWmNt19ItGpNN64mnllmxUNFIOdOm6by97jlL6wfpTTJrmnjWAA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
}
},
- "node_modules/@types/d3-shape": {
- "version": "3.1.6",
- "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.6.tgz",
- "integrity": "sha512-5KKk5aKGu2I+O6SONMYSNflgiP0WfZIQvVUMan50wHsLG1G94JlxEVnCpQARfTtzytuY0p/9PXXZb3I7giofIA==",
- "dependencies": {
- "@types/d3-path": "*"
+ "node_modules/bcrypt-ts": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/bcrypt-ts/-/bcrypt-ts-5.0.2.tgz",
+ "integrity": "sha512-gDwQ5784AkkfhHACh3jGcg1hUubyZyeq9AtVd5gXkcyHGVOC+mORjRIHSj+fHfqwY5vxwyBLXQpcfk8MpK0ROg==",
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/@types/d3-time": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.3.tgz",
- "integrity": "sha512-2p6olUZ4w3s+07q3Tm2dbiMZy5pCDfYwtLXXHUnVzXgQlZ/OyPtUz6OL382BkOuGlLXqfT+wqv8Fw2v8/0geBw=="
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
},
- "node_modules/@types/d3-timer": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",
- "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw=="
+ "node_modules/bowser": {
+ "version": "2.11.0",
+ "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz",
+ "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA=="
},
- "node_modules/@types/debug": {
- "version": "4.1.12",
- "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz",
- "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==",
+ "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,
"dependencies": {
- "@types/ms": "*"
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
}
},
- "node_modules/@types/estree": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz",
- "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ=="
- },
- "node_modules/@types/estree-jsx": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",
- "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",
+ "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==",
"dependencies": {
- "@types/estree": "*"
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@types/hast": {
- "version": "2.3.10",
- "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz",
- "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==",
+ "node_modules/browserslist": {
+ "version": "4.28.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",
+ "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",
+ "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": {
- "@types/unist": "^2"
+ "baseline-browser-mapping": "^2.9.0",
+ "caniuse-lite": "^1.0.30001759",
+ "electron-to-chromium": "^1.5.263",
+ "node-releases": "^2.0.27",
+ "update-browserslist-db": "^1.2.0"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
- "node_modules/@types/hoist-non-react-statics": {
- "version": "3.3.6",
- "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.6.tgz",
- "integrity": "sha512-lPByRJUer/iN/xa4qpyL0qmL11DqNW81iU/IG1S3uvRUq4oKagz8VCxZjiWkumgt66YT3vOdDgZ0o32sGKtCEw==",
+ "node_modules/bser": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
+ "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
+ "dev": true,
+ "license": "Apache-2.0",
"dependencies": {
- "@types/react": "*",
- "hoist-non-react-statics": "^3.3.0"
+ "node-int64": "^0.4.0"
}
},
- "node_modules/@types/json5": {
- "version": "0.0.29",
- "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
- "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
- "dev": true
- },
- "node_modules/@types/lodash": {
- "version": "4.17.5",
- "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.5.tgz",
- "integrity": "sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw==",
- "dev": true
- },
- "node_modules/@types/mdast": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",
- "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",
+ "node_modules/buffer": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
"dependencies": {
- "@types/unist": "*"
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.2.1"
}
},
- "node_modules/@types/ms": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
- "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA=="
+ "node_modules/buffer-from": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
+ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
+ "dev": true,
+ "license": "MIT"
},
- "node_modules/@types/mustache": {
- "version": "4.2.6",
- "resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.6.tgz",
- "integrity": "sha512-t+8/QWTAhOFlrF1IVZqKnMRJi84EgkIK5Kh0p2JV4OLywUvCwJPFxbJAl7XAow7DVIHsF+xW9f1MVzg0L6Szjw==",
- "dev": true
+ "node_modules/busboy": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
+ "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
+ "dependencies": {
+ "streamsearch": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=10.16.0"
+ }
},
- "node_modules/@types/node": {
- "version": "20.14.2",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz",
- "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==",
+ "node_modules/call-bind": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
+ "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
"dependencies": {
- "undici-types": "~5.26.4"
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "set-function-length": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/@types/node-fetch": {
- "version": "2.6.11",
- "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz",
- "integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==",
+ "node_modules/call-bind-apply-helpers": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
+ "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
"dependencies": {
- "@types/node": "*",
- "form-data": "^4.0.0"
+ "es-errors": "^1.3.0",
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
}
},
- "node_modules/@types/parse-json": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz",
- "integrity": "sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==",
- "peer": true
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "engines": {
+ "node": ">=6"
+ }
},
- "node_modules/@types/prop-types": {
- "version": "15.7.12",
- "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.12.tgz",
- "integrity": "sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q=="
+ "node_modules/camelcase": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
+ "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
},
- "node_modules/@types/react": {
- "version": "18.3.3",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz",
- "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==",
- "dependencies": {
- "@types/prop-types": "*",
- "csstype": "^3.0.2"
+ "node_modules/camelcase-css": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "engines": {
+ "node": ">= 6"
}
},
- "node_modules/@types/react-beautiful-dnd": {
- "version": "13.1.8",
- "resolved": "https://registry.npmjs.org/@types/react-beautiful-dnd/-/react-beautiful-dnd-13.1.8.tgz",
- "integrity": "sha512-E3TyFsro9pQuK4r8S/OL6G99eq7p8v29sX0PM7oT8Z+PJfZvSQTx4zTQbUJ+QZXioAF0e7TGBEcA1XhYhCweyQ==",
- "dev": true,
- "dependencies": {
- "@types/react": "*"
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001775",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001775.tgz",
+ "integrity": "sha512-s3Qv7Lht9zbVKE9XoTyRG6wVDCKdtOFIjBGg3+Yhn6JaytuNKPIjBMTMIY1AnOH3seL5mvF+x33oGAyK3hVt3A==",
+ "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/ccount": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@types/react-dom": {
- "version": "18.3.0",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz",
- "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==",
- "devOptional": true,
+ "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": {
- "@types/react": "*"
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
- "node_modules/@types/react-grid-layout": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/@types/react-grid-layout/-/react-grid-layout-1.3.5.tgz",
- "integrity": "sha512-WH/po1gcEcoR6y857yAnPGug+ZhkF4PaTUxgAbwfeSH/QOgVSakKHBXoPGad/sEznmkiaK3pqHk+etdWisoeBQ==",
+ "node_modules/char-regex": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
+ "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
"dev": true,
- "dependencies": {
- "@types/react": "*"
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
}
},
- "node_modules/@types/react-redux": {
- "version": "7.1.34",
- "resolved": "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.34.tgz",
- "integrity": "sha512-GdFaVjEbYv4Fthm2ZLvj1VSCedV7TqE5y1kNwnjSdBOTXuRSgowux6J8TAct15T3CKBr63UMk+2CO7ilRhyrAQ==",
- "dependencies": {
- "@types/hoist-non-react-statics": "^3.3.0",
- "@types/react": "*",
- "hoist-non-react-statics": "^3.3.0",
- "redux": "^4.0.0"
+ "node_modules/character-entities": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz",
+ "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@types/react-syntax-highlighter": {
- "version": "15.5.13",
- "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz",
- "integrity": "sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==",
- "dev": true,
- "dependencies": {
- "@types/react": "*"
+ "node_modules/character-entities-html4": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@types/react-transition-group": {
- "version": "4.4.10",
- "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz",
- "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==",
- "peer": true,
- "dependencies": {
- "@types/react": "*"
+ "node_modules/character-entities-legacy": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz",
+ "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/@types/sqlstring": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/@types/sqlstring/-/sqlstring-2.3.2.tgz",
- "integrity": "sha512-lVRe4Iz9UNgiHelKVo8QlC8fb5nfY8+p+jNQNE+UVsuuVlQnWhyWmQ/wF5pE8Ys6TdjfVpqTG9O9i2vi6E0+Sg==",
- "dev": true
- },
- "node_modules/@types/unist": {
- "version": "2.0.10",
- "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz",
- "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA=="
+ "node_modules/character-reference-invalid": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz",
+ "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
},
- "node_modules/@typescript-eslint/parser": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz",
- "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==",
- "dev": true,
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
"dependencies": {
- "@typescript-eslint/scope-manager": "6.21.0",
- "@typescript-eslint/types": "6.21.0",
- "@typescript-eslint/typescript-estree": "6.21.0",
- "@typescript-eslint/visitor-keys": "6.21.0",
- "debug": "^4.3.4"
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
},
"engines": {
- "node": "^16.0.0 || >=18.0.0"
+ "node": ">= 8.10.0"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
+ "url": "https://paulmillr.com/funding/"
},
- "peerDependencies": {
- "eslint": "^7.0.0 || ^8.0.0"
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chokidar/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==",
+ "dependencies": {
+ "is-glob": "^4.0.1"
},
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/ci-info": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz",
+ "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/sibiraj-s"
}
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@typescript-eslint/scope-manager": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz",
- "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==",
+ "node_modules/cjs-module-lexer": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.2.0.tgz",
+ "integrity": "sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==",
"dev": true,
+ "license": "MIT"
+ },
+ "node_modules/class-variance-authority": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.0.tgz",
+ "integrity": "sha512-jFI8IQw4hczaL4ALINxqLEXQbWcNjoSkloa4IaufXCJr6QawJyw7tuRysRsrE8w2p/4gGaxKIt/hX3qz/IbD1A==",
"dependencies": {
- "@typescript-eslint/types": "6.21.0",
- "@typescript-eslint/visitor-keys": "6.21.0"
- },
- "engines": {
- "node": "^16.0.0 || >=18.0.0"
+ "clsx": "2.0.0"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
+ "url": "https://joebell.co.uk"
}
},
- "node_modules/@typescript-eslint/types": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz",
- "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==",
+ "node_modules/class-variance-authority/node_modules/clsx": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz",
+ "integrity": "sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/client-only": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
+ "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
+ },
+ "node_modules/cliui": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
+ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
"dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
"engines": {
- "node": "^16.0.0 || >=18.0.0"
+ "node": ">=12"
+ }
+ },
+ "node_modules/cliui/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cliui/node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/@typescript-eslint/typescript-estree": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz",
- "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==",
+ "node_modules/cliui/node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "6.21.0",
- "@typescript-eslint/visitor-keys": "6.21.0",
- "debug": "^4.3.4",
- "globby": "^11.1.0",
- "is-glob": "^4.0.3",
- "minimatch": "9.0.3",
- "semver": "^7.5.4",
- "ts-api-utils": "^1.0.1"
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
},
"engines": {
- "node": "^16.0.0 || >=18.0.0"
+ "node": ">=10"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
- "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,
- "dependencies": {
- "balanced-match": "^1.0.0"
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "engines": {
+ "node": ">=6"
}
},
- "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "9.0.3",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
- "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
- "dev": true,
+ "node_modules/cmdk": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/cmdk/-/cmdk-1.0.0.tgz",
+ "integrity": "sha512-gDzVf0a09TvoJ5jnuPvygTB77+XdOSwEmJ88L6XPFPlv7T3RxbP9jgenfylrAMD0+Le1aO0nVjQUzl2g+vjz5Q==",
"dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
+ "@radix-ui/react-dialog": "1.0.5",
+ "@radix-ui/react-primitive": "1.0.3"
},
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "peerDependencies": {
+ "react": "^18.0.0",
+ "react-dom": "^18.0.0"
}
},
- "node_modules/@typescript-eslint/visitor-keys": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz",
- "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==",
+ "node_modules/co": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
+ "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
"dev": true,
- "dependencies": {
- "@typescript-eslint/types": "6.21.0",
- "eslint-visitor-keys": "^3.4.1"
- },
+ "license": "MIT",
"engines": {
- "node": "^16.0.0 || >=18.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
+ "iojs": ">= 1.0.0",
+ "node": ">= 0.12.0"
}
},
- "node_modules/@ungap/structured-clone": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
- "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ=="
+ "node_modules/cohere-ai": {
+ "version": "7.10.5",
+ "resolved": "https://registry.npmjs.org/cohere-ai/-/cohere-ai-7.10.5.tgz",
+ "integrity": "sha512-mfMiWktE07z0BzhRl0pJSLsNEXMlPPfkxR75PCEc99tuK5auVD2ZLhr37GtByQbN2ToIq34HrfQvMCZFO5V5pA==",
+ "dependencies": {
+ "@aws-sdk/client-sagemaker": "^3.583.0",
+ "@aws-sdk/credential-providers": "^3.583.0",
+ "@aws-sdk/protocol-http": "^3.374.0",
+ "@aws-sdk/signature-v4": "^3.374.0",
+ "form-data": "4.0.0",
+ "form-data-encoder": "^4.0.2",
+ "formdata-node": "^6.0.3",
+ "js-base64": "3.7.2",
+ "node-fetch": "2.7.0",
+ "qs": "6.11.2",
+ "readable-stream": "^4.5.2",
+ "url-join": "4.0.1",
+ "web-streams-polyfill": "^4.0.0"
+ }
},
- "node_modules/@vercel/oidc": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@vercel/oidc/-/oidc-3.1.0.tgz",
- "integrity": "sha512-Fw28YZpRnA3cAHHDlkt7xQHiJ0fcL+NRcIqsocZQUSmbzeIKRpwttJjik5ZGanXP+vlA4SbTg+AbA3bP363l+w==",
- "license": "Apache-2.0",
+ "node_modules/cohere-ai/node_modules/form-data-encoder": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-4.0.2.tgz",
+ "integrity": "sha512-KQVhvhK8ZkWzxKxOr56CPulAhH3dobtuQ4+hNQ+HekH/Wp5gSOafqRAeTphQUJAIk0GBvHZgJ2ZGRWd5kphMuw==",
"engines": {
- "node": ">= 20"
+ "node": ">= 18"
}
},
- "node_modules/abort-controller": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
- "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
- "dependencies": {
- "event-target-shim": "^5.0.0"
- },
+ "node_modules/cohere-ai/node_modules/formdata-node": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-6.0.3.tgz",
+ "integrity": "sha512-8e1++BCiTzUno9v5IZ2J6bv4RU+3UKDmqWUQD0MIMVCd9AdhWkO1gw57oo1mNEX1dMq2EGI+FbWz4B92pscSQg==",
"engines": {
- "node": ">=6.5"
+ "node": ">= 18"
}
},
- "node_modules/acorn": {
- "version": "8.11.3",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz",
- "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==",
- "dev": true,
- "bin": {
- "acorn": "bin/acorn"
- },
+ "node_modules/cohere-ai/node_modules/web-streams-polyfill": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0.tgz",
+ "integrity": "sha512-0zJXHRAYEjM2tUfZ2DiSOHAa2aw1tisnnhU3ufD57R8iefL+DcdJyRBRyJpG+NUimDgbTI/lH+gAE1PAvV3Cgw==",
"engines": {
- "node": ">=0.4.0"
+ "node": ">= 8"
}
},
- "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==",
+ "node_modules/collect-v8-coverage": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz",
+ "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==",
"dev": true,
- "peerDependencies": {
- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
- }
+ "license": "MIT"
},
- "node_modules/agentkeepalive": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz",
- "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==",
+ "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==",
+ "license": "MIT",
"dependencies": {
- "humanize-ms": "^1.2.1"
+ "color-name": "~1.1.4"
},
"engines": {
- "node": ">= 8.0.0"
+ "node": ">=7.0.0"
}
},
- "node_modules/ai": {
- "version": "6.0.11",
- "resolved": "https://registry.npmjs.org/ai/-/ai-6.0.11.tgz",
- "integrity": "sha512-uQAGp/5YAZZFcMNxLCg5vPZ4lNKn0NGvBeI+iY9yW2RvkonooMVfHPOum2lgqwugkoBbffzPtR7TXOFFyKJCOg==",
- "license": "Apache-2.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==",
+ "license": "MIT"
+ },
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"dependencies": {
- "@ai-sdk/gateway": "3.0.8",
- "@ai-sdk/provider": "3.0.1",
- "@ai-sdk/provider-utils": "4.0.3",
- "@opentelemetry/api": "1.9.0"
+ "delayed-stream": "~1.0.0"
},
"engines": {
- "node": ">=18"
- },
- "peerDependencies": {
- "zod": "^3.25.76 || ^4.1.8"
+ "node": ">= 0.8"
}
},
- "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,
- "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"
- },
+ "node_modules/comma-separated-tokens": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz",
+ "integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==",
"funding": {
"type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
"engines": {
- "node": ">=8"
+ "node": ">= 6"
}
},
- "node_modules/ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "peer": true,
- "dependencies": {
- "color-convert": "^1.9.0"
- },
+ "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
+ },
+ "node_modules/convert-source-map": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
+ "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
+ "peer": true
+ },
+ "node_modules/cookie": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
+ "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==",
"engines": {
- "node": ">=4"
+ "node": ">= 0.6"
}
},
- "node_modules/any-promise": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
- "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A=="
+ "node_modules/copy-to-clipboard": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz",
+ "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==",
+ "dependencies": {
+ "toggle-selection": "^1.0.6"
+ }
},
- "node_modules/anymatch": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
- "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "node_modules/core-js": {
+ "version": "3.38.1",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz",
+ "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==",
+ "hasInstallScript": true,
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/core-js"
+ }
+ },
+ "node_modules/cosmiconfig": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
+ "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
+ "peer": true,
"dependencies": {
- "normalize-path": "^3.0.0",
- "picomatch": "^2.0.4"
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
},
"engines": {
- "node": ">= 8"
+ "node": ">=10"
}
},
- "node_modules/arg": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
- "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="
- },
- "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
+ "node_modules/cron-validator": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/cron-validator/-/cron-validator-1.3.1.tgz",
+ "integrity": "sha512-C1HsxuPCY/5opR55G5/WNzyEGDWFVG+6GLrA+fW/sCTcP6A6NTjUP2AK7B8n2PyFs90kDG2qzwm8LMheADku6A=="
},
- "node_modules/aria-hidden": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/aria-hidden/-/aria-hidden-1.2.4.tgz",
- "integrity": "sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==",
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dependencies": {
- "tslib": "^2.0.0"
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
},
"engines": {
- "node": ">=10"
+ "node": ">= 8"
}
},
- "node_modules/aria-query": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
- "integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
- "dev": true,
+ "node_modules/css-box-model": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz",
+ "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==",
"dependencies": {
- "dequal": "^2.0.3"
+ "tiny-invariant": "^1.0.6"
}
},
- "node_modules/array-buffer-byte-length": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz",
- "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==",
+ "node_modules/css.escape": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/css.escape/-/css.escape-1.5.1.tgz",
+ "integrity": "sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==",
"dev": true,
- "dependencies": {
- "call-bind": "^1.0.5",
- "is-array-buffer": "^3.0.4"
+ "license": "MIT"
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+ "bin": {
+ "cssesc": "bin/cssesc"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=4"
}
},
- "node_modules/array-includes": {
- "version": "3.1.8",
- "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz",
- "integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==",
+ "node_modules/cssstyle": {
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.6.0.tgz",
+ "integrity": "sha512-2z+rWdzbbSZv6/rhtvzvqeZQHrBaqgogqt85sqFNbabZOuFbCVFb8kPeEtZjiKkbrm395irpNKiYeFeLiQnFPg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.2",
- "es-object-atoms": "^1.0.0",
- "get-intrinsic": "^1.2.4",
- "is-string": "^1.0.7"
+ "@asamuzakjp/css-color": "^3.2.0",
+ "rrweb-cssom": "^0.8.0"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=18"
}
},
- "node_modules/array-union": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
- "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
- "dev": true,
- "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=="
},
- "node_modules/array.prototype.findlast": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",
- "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",
- "dev": true,
+ "node_modules/d3-array": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",
+ "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",
"dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.2",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.0.0",
- "es-shim-unscopables": "^1.0.2"
+ "internmap": "1 - 2"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=12"
}
},
- "node_modules/array.prototype.findlastindex": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz",
- "integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.2",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.0.0",
- "es-shim-unscopables": "^1.0.2"
- },
+ "node_modules/d3-color": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=12"
}
},
- "node_modules/array.prototype.flat": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz",
- "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "es-shim-unscopables": "^1.0.0"
- },
+ "node_modules/d3-ease": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",
+ "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=12"
}
},
- "node_modules/array.prototype.flatmap": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz",
- "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==",
- "dev": true,
+ "node_modules/d3-format": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz",
+ "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-interpolate": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
"dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "es-shim-unscopables": "^1.0.0"
+ "d3-color": "1 - 3"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=12"
}
},
- "node_modules/array.prototype.toreversed": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/array.prototype.toreversed/-/array.prototype.toreversed-1.1.2.tgz",
- "integrity": "sha512-wwDCoT4Ck4Cz7sLtgUmzR5UV3YF5mFHUlbChCzZBQZ+0m2cl/DH3tKgvphv1nKgFsJ48oCSg6p91q2Vm0I/ZMA==",
- "dev": true,
- "dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "es-shim-unscopables": "^1.0.0"
+ "node_modules/d3-path": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
+ "engines": {
+ "node": ">=12"
}
},
- "node_modules/array.prototype.tosorted": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",
- "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",
- "dev": true,
+ "node_modules/d3-scale": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",
+ "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",
"dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.3",
- "es-errors": "^1.3.0",
- "es-shim-unscopables": "^1.0.2"
+ "d3-array": "2.10.0 - 3",
+ "d3-format": "1 - 3",
+ "d3-interpolate": "1.2.0 - 3",
+ "d3-time": "2.1.1 - 3",
+ "d3-time-format": "2 - 4"
},
"engines": {
- "node": ">= 0.4"
+ "node": ">=12"
}
},
- "node_modules/arraybuffer.prototype.slice": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz",
- "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==",
- "dev": true,
+ "node_modules/d3-shape": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
"dependencies": {
- "array-buffer-byte-length": "^1.0.1",
- "call-bind": "^1.0.5",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.22.3",
- "es-errors": "^1.2.1",
- "get-intrinsic": "^1.2.3",
- "is-array-buffer": "^3.0.4",
- "is-shared-array-buffer": "^1.0.2"
+ "d3-path": "^3.1.0"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=12"
}
},
- "node_modules/ast-types-flow": {
- "version": "0.0.8",
- "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",
- "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==",
- "dev": true
- },
- "node_modules/asynckit": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
- },
- "node_modules/autoprefixer": {
- "version": "10.4.19",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz",
- "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/autoprefixer"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "dependencies": {
- "browserslist": "^4.23.0",
- "caniuse-lite": "^1.0.30001599",
- "fraction.js": "^4.3.7",
- "normalize-range": "^0.1.2",
- "picocolors": "^1.0.0",
- "postcss-value-parser": "^4.2.0"
- },
- "bin": {
- "autoprefixer": "bin/autoprefixer"
+ "node_modules/d3-time": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",
+ "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",
+ "dependencies": {
+ "d3-array": "2 - 3"
},
"engines": {
- "node": "^10 || ^12 || >=14"
- },
- "peerDependencies": {
- "postcss": "^8.1.0"
+ "node": ">=12"
}
},
- "node_modules/available-typed-arrays": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",
- "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",
- "dev": true,
+ "node_modules/d3-time-format": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",
+ "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",
"dependencies": {
- "possible-typed-array-names": "^1.0.0"
+ "d3-time": "1 - 3"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=12"
}
},
- "node_modules/axe-core": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz",
- "integrity": "sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==",
- "dev": true,
+ "node_modules/d3-timer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",
+ "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",
"engines": {
- "node": ">=4"
+ "node": ">=12"
}
},
- "node_modules/axobject-query": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz",
- "integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==",
+ "node_modules/damerau-levenshtein": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
+ "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",
+ "dev": true
+ },
+ "node_modules/data-urls": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-5.0.0.tgz",
+ "integrity": "sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "dequal": "^2.0.3"
+ "whatwg-mimetype": "^4.0.0",
+ "whatwg-url": "^14.0.0"
+ },
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/babel-plugin-macros": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz",
- "integrity": "sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==",
- "peer": true,
+ "node_modules/data-urls/node_modules/tr46": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz",
+ "integrity": "sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@babel/runtime": "^7.12.5",
- "cosmiconfig": "^7.0.0",
- "resolve": "^1.19.0"
+ "punycode": "^2.3.1"
},
"engines": {
- "node": ">=10",
- "npm": ">=6"
+ "node": ">=18"
}
},
- "node_modules/bail": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
- "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node_modules/data-urls/node_modules/webidl-conversions": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
}
},
- "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=="
- },
- "node_modules/base64-js": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
- "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ]
- },
- "node_modules/bcrypt-ts": {
- "version": "5.0.2",
- "resolved": "https://registry.npmjs.org/bcrypt-ts/-/bcrypt-ts-5.0.2.tgz",
- "integrity": "sha512-gDwQ5784AkkfhHACh3jGcg1hUubyZyeq9AtVd5gXkcyHGVOC+mORjRIHSj+fHfqwY5vxwyBLXQpcfk8MpK0ROg==",
+ "node_modules/data-urls/node_modules/whatwg-url": {
+ "version": "14.2.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz",
+ "integrity": "sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "^5.1.0",
+ "webidl-conversions": "^7.0.0"
+ },
"engines": {
"node": ">=18"
}
},
- "node_modules/binary-extensions": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
- "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "node_modules/data-view-buffer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz",
+ "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.6",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
"engines": {
- "node": ">=8"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/bowser": {
- "version": "2.11.0",
- "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz",
- "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA=="
+ "node_modules/data-view-byte-length": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz",
+ "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.7",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
},
- "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==",
+ "node_modules/data-view-byte-offset": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz",
+ "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==",
"dev": true,
"dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
+ "call-bind": "^1.0.6",
+ "es-errors": "^1.3.0",
+ "is-data-view": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "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==",
+ "node_modules/date-fns": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz",
+ "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/kossnocorp"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.3.5",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz",
+ "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==",
"dependencies": {
- "fill-range": "^7.1.1"
+ "ms": "2.1.2"
},
"engines": {
- "node": ">=8"
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
- "node_modules/browserslist": {
- "version": "4.23.1",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.1.tgz",
- "integrity": "sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw==",
+ "node_modules/decimal.js": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.6.0.tgz",
+ "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==",
"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"
+ },
+ "node_modules/decimal.js-light": {
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz",
+ "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg=="
+ },
+ "node_modules/decode-named-character-reference": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.1.0.tgz",
+ "integrity": "sha512-Wy+JTSbFThEOXQIR2L6mxJvEs+veIzpmqD7ynWxMXGpnk3smkHQOp6forLdHsKpAMW9iJpaBBIxz285t1n1C3w==",
"dependencies": {
- "caniuse-lite": "^1.0.30001629",
- "electron-to-chromium": "^1.4.796",
- "node-releases": "^2.0.14",
- "update-browserslist-db": "^1.0.16"
- },
- "bin": {
- "browserslist": "cli.js"
+ "character-entities": "^2.0.0"
},
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/buffer": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
- "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
+ "node_modules/decode-named-character-reference/node_modules/character-entities": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",
+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/dedent": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz",
+ "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "babel-plugin-macros": "^3.1.0"
+ },
+ "peerDependenciesMeta": {
+ "babel-plugin-macros": {
+ "optional": true
}
- ],
- "dependencies": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.2.1"
}
},
- "node_modules/busboy": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
- "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==",
- "dependencies": {
- "streamsearch": "^1.1.0"
- },
+ "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
+ },
+ "node_modules/deepmerge": {
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
+ "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">=10.16.0"
+ "node": ">=0.10.0"
}
},
- "node_modules/call-bind": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
- "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
+ "node_modules/define-data-property": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
"dependencies": {
"es-define-property": "^1.0.0",
"es-errors": "^1.3.0",
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.4",
- "set-function-length": "^1.2.1"
+ "gopd": "^1.0.1"
},
"engines": {
"node": ">= 0.4"
@@ -6737,1805 +9461,1973 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/call-bind-apply-helpers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
- "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "dev": true,
"dependencies": {
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2"
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
},
"engines": {
"node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "node_modules/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
"engines": {
- "node": ">=6"
+ "node": ">=0.4.0"
}
},
- "node_modules/camelcase-css": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
- "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "node_modules/dequal": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
"engines": {
- "node": ">= 6"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001632",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz",
- "integrity": "sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==",
- "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"
- }
- ]
- },
- "node_modules/ccount": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
- "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node": ">=6"
}
},
- "node_modules/chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "peer": true,
- "dependencies": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
- },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"engines": {
- "node": ">=4"
+ "node": ">=8"
}
},
- "node_modules/chalk/node_modules/escape-string-regexp": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
- "peer": true,
+ "node_modules/detect-newline": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
+ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">=0.8.0"
- }
- },
- "node_modules/character-entities": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-1.2.4.tgz",
- "integrity": "sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node": ">=8"
}
},
- "node_modules/character-entities-html4": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
- "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
+ "node_modules/detect-node-es": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
+ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="
},
- "node_modules/character-entities-legacy": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz",
- "integrity": "sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==",
+ "node_modules/devlop": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",
+ "dependencies": {
+ "dequal": "^2.0.0"
+ },
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/character-reference-invalid": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz",
- "integrity": "sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
+ "node_modules/didyoumean": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw=="
},
- "node_modules/chokidar": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
- "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+ "node_modules/dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "dev": true,
"dependencies": {
- "anymatch": "~3.1.2",
- "braces": "~3.0.2",
- "glob-parent": "~5.1.2",
- "is-binary-path": "~2.1.0",
- "is-glob": "~4.0.1",
- "normalize-path": "~3.0.0",
- "readdirp": "~3.6.0"
+ "path-type": "^4.0.0"
},
"engines": {
- "node": ">= 8.10.0"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
+ "node": ">=8"
}
},
- "node_modules/chokidar/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==",
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
"dependencies": {
- "is-glob": "^4.0.1"
+ "esutils": "^2.0.2"
},
"engines": {
- "node": ">= 6"
+ "node": ">=6.0.0"
}
},
- "node_modules/class-variance-authority": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/class-variance-authority/-/class-variance-authority-0.7.0.tgz",
- "integrity": "sha512-jFI8IQw4hczaL4ALINxqLEXQbWcNjoSkloa4IaufXCJr6QawJyw7tuRysRsrE8w2p/4gGaxKIt/hX3qz/IbD1A==",
+ "node_modules/dom-accessibility-api": {
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz",
+ "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true
+ },
+ "node_modules/dom-helpers": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
+ "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
"dependencies": {
- "clsx": "2.0.0"
- },
- "funding": {
- "url": "https://joebell.co.uk"
+ "@babel/runtime": "^7.8.7",
+ "csstype": "^3.0.2"
}
},
- "node_modules/class-variance-authority/node_modules/clsx": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.0.0.tgz",
- "integrity": "sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==",
+ "node_modules/dunder-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
+ "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "dependencies": {
+ "call-bind-apply-helpers": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "gopd": "^1.2.0"
+ },
"engines": {
- "node": ">=6"
+ "node": ">= 0.4"
}
},
- "node_modules/client-only": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",
- "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="
+ "node_modules/eastasianwidth": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
+ "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
},
- "node_modules/clsx": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
- "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
- "engines": {
- "node": ">=6"
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.302",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.302.tgz",
+ "integrity": "sha512-sM6HAN2LyK82IyPBpznDRqlTQAtuSaO+ShzFiWTvoMJLHyZ+Y39r8VMfHzwbU8MVBzQ4Wdn85+wlZl2TLGIlwg==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/embla-carousel": {
+ "version": "8.5.2",
+ "resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.5.2.tgz",
+ "integrity": "sha512-xQ9oVLrun/eCG/7ru3R+I5bJ7shsD8fFwLEY7yPe27/+fDHCNj0OT5EoG5ZbFyOxOcG6yTwW8oTz/dWyFnyGpg=="
+ },
+ "node_modules/embla-carousel-autoplay": {
+ "version": "8.5.2",
+ "resolved": "https://registry.npmjs.org/embla-carousel-autoplay/-/embla-carousel-autoplay-8.5.2.tgz",
+ "integrity": "sha512-27emJ0px3q/c0kCHCjwRrEbYcyYUPfGO3g5IBWF1i7714TTzE6L9P81V6PHLoSMAKJ1aHoT2e7YFOsuFKCbyag==",
+ "peerDependencies": {
+ "embla-carousel": "8.5.2"
}
},
- "node_modules/cmdk": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/cmdk/-/cmdk-1.0.0.tgz",
- "integrity": "sha512-gDzVf0a09TvoJ5jnuPvygTB77+XdOSwEmJ88L6XPFPlv7T3RxbP9jgenfylrAMD0+Le1aO0nVjQUzl2g+vjz5Q==",
+ "node_modules/embla-carousel-react": {
+ "version": "8.5.2",
+ "resolved": "https://registry.npmjs.org/embla-carousel-react/-/embla-carousel-react-8.5.2.tgz",
+ "integrity": "sha512-Tmx+uY3MqseIGdwp0ScyUuxpBgx5jX1f7od4Cm5mDwg/dptEiTKf9xp6tw0lZN2VA9JbnVMl/aikmbc53c6QFA==",
"dependencies": {
- "@radix-ui/react-dialog": "1.0.5",
- "@radix-ui/react-primitive": "1.0.3"
+ "embla-carousel": "8.5.2",
+ "embla-carousel-reactive-utils": "8.5.2"
},
"peerDependencies": {
- "react": "^18.0.0",
- "react-dom": "^18.0.0"
+ "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
}
},
- "node_modules/cohere-ai": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/cohere-ai/-/cohere-ai-7.10.5.tgz",
- "integrity": "sha512-mfMiWktE07z0BzhRl0pJSLsNEXMlPPfkxR75PCEc99tuK5auVD2ZLhr37GtByQbN2ToIq34HrfQvMCZFO5V5pA==",
- "dependencies": {
- "@aws-sdk/client-sagemaker": "^3.583.0",
- "@aws-sdk/credential-providers": "^3.583.0",
- "@aws-sdk/protocol-http": "^3.374.0",
- "@aws-sdk/signature-v4": "^3.374.0",
- "form-data": "4.0.0",
- "form-data-encoder": "^4.0.2",
- "formdata-node": "^6.0.3",
- "js-base64": "3.7.2",
- "node-fetch": "2.7.0",
- "qs": "6.11.2",
- "readable-stream": "^4.5.2",
- "url-join": "4.0.1",
- "web-streams-polyfill": "^4.0.0"
+ "node_modules/embla-carousel-reactive-utils": {
+ "version": "8.5.2",
+ "resolved": "https://registry.npmjs.org/embla-carousel-reactive-utils/-/embla-carousel-reactive-utils-8.5.2.tgz",
+ "integrity": "sha512-QC8/hYSK/pEmqEdU1IO5O+XNc/Ptmmq7uCB44vKplgLKhB/l0+yvYx0+Cv0sF6Ena8Srld5vUErZkT+yTahtDg==",
+ "peerDependencies": {
+ "embla-carousel": "8.5.2"
}
},
- "node_modules/cohere-ai/node_modules/form-data-encoder": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-4.0.2.tgz",
- "integrity": "sha512-KQVhvhK8ZkWzxKxOr56CPulAhH3dobtuQ4+hNQ+HekH/Wp5gSOafqRAeTphQUJAIk0GBvHZgJ2ZGRWd5kphMuw==",
+ "node_modules/emittery": {
+ "version": "0.13.1",
+ "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz",
+ "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 18"
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/emittery?sponsor=1"
}
},
- "node_modules/cohere-ai/node_modules/formdata-node": {
- "version": "6.0.3",
- "resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-6.0.3.tgz",
- "integrity": "sha512-8e1++BCiTzUno9v5IZ2J6bv4RU+3UKDmqWUQD0MIMVCd9AdhWkO1gw57oo1mNEX1dMq2EGI+FbWz4B92pscSQg==",
+ "node_modules/emoji-regex": {
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.17.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz",
+ "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==",
+ "dev": true,
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.2.0"
+ },
"engines": {
- "node": ">= 18"
+ "node": ">=10.13.0"
}
},
- "node_modules/cohere-ai/node_modules/web-streams-polyfill": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0.tgz",
- "integrity": "sha512-0zJXHRAYEjM2tUfZ2DiSOHAa2aw1tisnnhU3ufD57R8iefL+DcdJyRBRyJpG+NUimDgbTI/lH+gAE1PAvV3Cgw==",
+ "node_modules/entities": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-6.0.1.tgz",
+ "integrity": "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
"engines": {
- "node": ">= 8"
+ "node": ">=0.12"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/entities?sponsor=1"
}
},
- "node_modules/color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "peer": true,
+ "node_modules/error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
"dependencies": {
- "color-name": "1.1.3"
+ "is-arrayish": "^0.2.1"
}
},
- "node_modules/color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
- "peer": true
- },
- "node_modules/combined-stream": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
- "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "node_modules/es-abstract": {
+ "version": "1.23.3",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz",
+ "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==",
+ "dev": true,
"dependencies": {
- "delayed-stream": "~1.0.0"
+ "array-buffer-byte-length": "^1.0.1",
+ "arraybuffer.prototype.slice": "^1.0.3",
+ "available-typed-arrays": "^1.0.7",
+ "call-bind": "^1.0.7",
+ "data-view-buffer": "^1.0.1",
+ "data-view-byte-length": "^1.0.1",
+ "data-view-byte-offset": "^1.0.0",
+ "es-define-property": "^1.0.0",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.0.0",
+ "es-set-tostringtag": "^2.0.3",
+ "es-to-primitive": "^1.2.1",
+ "function.prototype.name": "^1.1.6",
+ "get-intrinsic": "^1.2.4",
+ "get-symbol-description": "^1.0.2",
+ "globalthis": "^1.0.3",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.0.3",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.2",
+ "internal-slot": "^1.0.7",
+ "is-array-buffer": "^3.0.4",
+ "is-callable": "^1.2.7",
+ "is-data-view": "^1.0.1",
+ "is-negative-zero": "^2.0.3",
+ "is-regex": "^1.1.4",
+ "is-shared-array-buffer": "^1.0.3",
+ "is-string": "^1.0.7",
+ "is-typed-array": "^1.1.13",
+ "is-weakref": "^1.0.2",
+ "object-inspect": "^1.13.1",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.5",
+ "regexp.prototype.flags": "^1.5.2",
+ "safe-array-concat": "^1.1.2",
+ "safe-regex-test": "^1.0.3",
+ "string.prototype.trim": "^1.2.9",
+ "string.prototype.trimend": "^1.0.8",
+ "string.prototype.trimstart": "^1.0.8",
+ "typed-array-buffer": "^1.0.2",
+ "typed-array-byte-length": "^1.0.1",
+ "typed-array-byte-offset": "^1.0.2",
+ "typed-array-length": "^1.0.6",
+ "unbox-primitive": "^1.0.2",
+ "which-typed-array": "^1.1.15"
},
"engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/comma-separated-tokens": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz",
- "integrity": "sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==",
+ "node": ">= 0.4"
+ },
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/commander": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
- "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "node_modules/es-define-property": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
+ "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
"engines": {
- "node": ">= 6"
+ "node": ">= 0.4"
}
},
- "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
- },
- "node_modules/convert-source-map": {
- "version": "1.9.0",
- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz",
- "integrity": "sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==",
- "peer": true
- },
- "node_modules/cookie": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz",
- "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==",
+ "node_modules/es-errors": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
"engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/copy-to-clipboard": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz",
- "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==",
- "dependencies": {
- "toggle-selection": "^1.0.6"
- }
- },
- "node_modules/core-js": {
- "version": "3.38.1",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz",
- "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==",
- "hasInstallScript": true,
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
+ "node": ">= 0.4"
}
},
- "node_modules/cosmiconfig": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz",
- "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==",
- "peer": true,
+ "node_modules/es-iterator-helpers": {
+ "version": "1.0.19",
+ "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz",
+ "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==",
+ "dev": true,
"dependencies": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.2.1",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.10.0"
+ "call-bind": "^1.0.7",
+ "define-properties": "^1.2.1",
+ "es-abstract": "^1.23.3",
+ "es-errors": "^1.3.0",
+ "es-set-tostringtag": "^2.0.3",
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.4",
+ "globalthis": "^1.0.3",
+ "has-property-descriptors": "^1.0.2",
+ "has-proto": "^1.0.3",
+ "has-symbols": "^1.0.3",
+ "internal-slot": "^1.0.7",
+ "iterator.prototype": "^1.1.2",
+ "safe-array-concat": "^1.1.2"
},
"engines": {
- "node": ">=10"
+ "node": ">= 0.4"
}
},
- "node_modules/cron-validator": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/cron-validator/-/cron-validator-1.3.1.tgz",
- "integrity": "sha512-C1HsxuPCY/5opR55G5/WNzyEGDWFVG+6GLrA+fW/sCTcP6A6NTjUP2AK7B8n2PyFs90kDG2qzwm8LMheADku6A=="
- },
- "node_modules/cross-spawn": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "node_modules/es-object-atoms": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
+ "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
"dependencies": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
+ "es-errors": "^1.3.0"
},
"engines": {
- "node": ">= 8"
+ "node": ">= 0.4"
}
},
- "node_modules/css-box-model": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/css-box-model/-/css-box-model-1.2.1.tgz",
- "integrity": "sha512-a7Vr4Q/kd/aw96bnJG332W9V9LkJO69JRcaCYDUqjp6/z0w6VcZjgAcTbgFxEPfBgdnAwlh3iwu+hLopa+flJw==",
+ "node_modules/es-set-tostringtag": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
+ "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
+ "dev": true,
"dependencies": {
- "tiny-invariant": "^1.0.6"
- }
- },
- "node_modules/cssesc": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
- "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
- "bin": {
- "cssesc": "bin/cssesc"
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.6",
+ "has-tostringtag": "^1.0.2",
+ "hasown": "^2.0.2"
},
"engines": {
- "node": ">=4"
+ "node": ">= 0.4"
}
},
- "node_modules/csstype": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
- "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="
+ "node_modules/es-shim-unscopables": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz",
+ "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==",
+ "dev": true,
+ "dependencies": {
+ "hasown": "^2.0.0"
+ }
},
- "node_modules/d3-array": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",
- "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",
+ "node_modules/es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
"dependencies": {
- "internmap": "1 - 2"
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
},
"engines": {
- "node": ">=12"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/d3-color": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
- "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
+ "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": ">=12"
+ "node": ">=6"
}
},
- "node_modules/d3-ease": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",
- "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",
+ "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==",
"engines": {
- "node": ">=12"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/d3-format": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.0.tgz",
- "integrity": "sha512-YyUI6AEuY/Wpt8KWLgZHsIU86atmikuoOmCfommt0LYHiQSPjvX2AcFc38PX0CBpr2RCyZhjex+NS/LPOv6YqA==",
+ "node_modules/eslint": {
+ "version": "8.57.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
+ "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.4",
+ "@eslint/js": "8.57.0",
+ "@humanwhocodes/config-array": "^0.11.14",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@nodelib/fs.walk": "^1.2.8",
+ "@ungap/structured-clone": "^1.2.0",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.3.2",
+ "doctrine": "^3.0.0",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.3",
+ "espree": "^9.6.1",
+ "esquery": "^1.4.2",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^6.0.1",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "globals": "^13.19.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "is-path-inside": "^3.0.3",
+ "js-yaml": "^4.1.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3",
+ "strip-ansi": "^6.0.1",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
"engines": {
- "node": ">=12"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/d3-interpolate": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
- "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
+ "node_modules/eslint-config-next": {
+ "version": "14.1.4",
+ "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.4.tgz",
+ "integrity": "sha512-cihIahbhYAWwXJwZkAaRPpUi5t9aOi/HdfWXOjZeUOqNWXHD8X22kd1KG58Dc3MVaRx3HoR/oMGk2ltcrqDn8g==",
+ "dev": true,
"dependencies": {
- "d3-color": "1 - 3"
+ "@next/eslint-plugin-next": "14.1.4",
+ "@rushstack/eslint-patch": "^1.3.3",
+ "@typescript-eslint/parser": "^5.4.2 || ^6.0.0",
+ "eslint-import-resolver-node": "^0.3.6",
+ "eslint-import-resolver-typescript": "^3.5.2",
+ "eslint-plugin-import": "^2.28.1",
+ "eslint-plugin-jsx-a11y": "^6.7.1",
+ "eslint-plugin-react": "^7.33.2",
+ "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705"
},
- "engines": {
- "node": ">=12"
+ "peerDependencies": {
+ "eslint": "^7.23.0 || ^8.0.0",
+ "typescript": ">=3.3.1"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
}
},
- "node_modules/d3-path": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
- "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
+ "node_modules/eslint-import-resolver-node": {
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^3.2.7",
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
+ }
+ },
+ "node_modules/eslint-import-resolver-node/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-import-resolver-typescript": {
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz",
+ "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^4.3.4",
+ "enhanced-resolve": "^5.12.0",
+ "eslint-module-utils": "^2.7.4",
+ "fast-glob": "^3.3.1",
+ "get-tsconfig": "^4.5.0",
+ "is-core-module": "^2.11.0",
+ "is-glob": "^4.0.3"
+ },
"engines": {
- "node": ">=12"
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts"
+ },
+ "peerDependencies": {
+ "eslint": "*",
+ "eslint-plugin-import": "*"
}
},
- "node_modules/d3-scale": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",
- "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",
+ "node_modules/eslint-module-utils": {
+ "version": "2.8.1",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz",
+ "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==",
+ "dev": true,
"dependencies": {
- "d3-array": "2.10.0 - 3",
- "d3-format": "1 - 3",
- "d3-interpolate": "1.2.0 - 3",
- "d3-time": "2.1.1 - 3",
- "d3-time-format": "2 - 4"
+ "debug": "^3.2.7"
},
"engines": {
- "node": ">=12"
+ "node": ">=4"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ }
}
},
- "node_modules/d3-shape": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
- "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
+ "node_modules/eslint-module-utils/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-import": {
+ "version": "2.29.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
+ "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
+ "dev": true,
"dependencies": {
- "d3-path": "^3.1.0"
+ "array-includes": "^3.1.7",
+ "array.prototype.findlastindex": "^1.2.3",
+ "array.prototype.flat": "^1.3.2",
+ "array.prototype.flatmap": "^1.3.2",
+ "debug": "^3.2.7",
+ "doctrine": "^2.1.0",
+ "eslint-import-resolver-node": "^0.3.9",
+ "eslint-module-utils": "^2.8.0",
+ "hasown": "^2.0.0",
+ "is-core-module": "^2.13.1",
+ "is-glob": "^4.0.3",
+ "minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.7",
+ "object.groupby": "^1.0.1",
+ "object.values": "^1.1.7",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.15.0"
},
"engines": {
- "node": ">=12"
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
}
},
- "node_modules/d3-time": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",
- "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",
+ "node_modules/eslint-plugin-import/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
"dependencies": {
- "d3-array": "2 - 3"
- },
- "engines": {
- "node": ">=12"
+ "ms": "^2.1.1"
}
},
- "node_modules/d3-time-format": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",
- "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",
+ "node_modules/eslint-plugin-import/node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
"dependencies": {
- "d3-time": "1 - 3"
+ "esutils": "^2.0.2"
},
"engines": {
- "node": ">=12"
+ "node": ">=0.10.0"
}
},
- "node_modules/d3-timer": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",
- "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",
- "engines": {
- "node": ">=12"
+ "node_modules/eslint-plugin-import/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,
+ "bin": {
+ "semver": "bin/semver.js"
}
},
- "node_modules/damerau-levenshtein": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",
- "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",
- "dev": true
- },
- "node_modules/data-view-buffer": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz",
- "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==",
+ "node_modules/eslint-plugin-jsx-a11y": {
+ "version": "6.8.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz",
+ "integrity": "sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.6",
- "es-errors": "^1.3.0",
- "is-data-view": "^1.0.1"
+ "@babel/runtime": "^7.23.2",
+ "aria-query": "^5.3.0",
+ "array-includes": "^3.1.7",
+ "array.prototype.flatmap": "^1.3.2",
+ "ast-types-flow": "^0.0.8",
+ "axe-core": "=4.7.0",
+ "axobject-query": "^3.2.1",
+ "damerau-levenshtein": "^1.0.8",
+ "emoji-regex": "^9.2.2",
+ "es-iterator-helpers": "^1.0.15",
+ "hasown": "^2.0.0",
+ "jsx-ast-utils": "^3.3.5",
+ "language-tags": "^1.0.9",
+ "minimatch": "^3.1.2",
+ "object.entries": "^1.1.7",
+ "object.fromentries": "^2.0.7"
},
"engines": {
- "node": ">= 0.4"
+ "node": ">=4.0"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
}
},
- "node_modules/data-view-byte-length": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz",
- "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==",
+ "node_modules/eslint-plugin-react": {
+ "version": "7.34.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.2.tgz",
+ "integrity": "sha512-2HCmrU+/JNigDN6tg55cRDKCQWicYAPB38JGSFDQt95jDm8rrvSUo7YPkOIm5l6ts1j1zCvysNcasvfTMQzUOw==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.7",
- "es-errors": "^1.3.0",
- "is-data-view": "^1.0.1"
+ "array-includes": "^3.1.8",
+ "array.prototype.findlast": "^1.2.5",
+ "array.prototype.flatmap": "^1.3.2",
+ "array.prototype.toreversed": "^1.1.2",
+ "array.prototype.tosorted": "^1.1.3",
+ "doctrine": "^2.1.0",
+ "es-iterator-helpers": "^1.0.19",
+ "estraverse": "^5.3.0",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.1.2",
+ "object.entries": "^1.1.8",
+ "object.fromentries": "^2.0.8",
+ "object.hasown": "^1.1.4",
+ "object.values": "^1.2.0",
+ "prop-types": "^15.8.1",
+ "resolve": "^2.0.0-next.5",
+ "semver": "^6.3.1",
+ "string.prototype.matchall": "^4.0.11"
},
"engines": {
- "node": ">= 0.4"
+ "node": ">=4"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "peerDependencies": {
+ "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
}
},
- "node_modules/data-view-byte-offset": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz",
- "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==",
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz",
+ "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==",
"dev": true,
- "dependencies": {
- "call-bind": "^1.0.6",
- "es-errors": "^1.3.0",
- "is-data-view": "^1.0.1"
- },
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/date-fns": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-3.6.0.tgz",
- "integrity": "sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/kossnocorp"
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0"
}
},
- "node_modules/debug": {
- "version": "4.3.5",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz",
- "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==",
+ "node_modules/eslint-plugin-react/node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
"dependencies": {
- "ms": "2.1.2"
+ "esutils": "^2.0.2"
},
"engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/decimal.js-light": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz",
- "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg=="
- },
- "node_modules/decode-named-character-reference": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.1.0.tgz",
- "integrity": "sha512-Wy+JTSbFThEOXQIR2L6mxJvEs+veIzpmqD7ynWxMXGpnk3smkHQOp6forLdHsKpAMW9iJpaBBIxz285t1n1C3w==",
- "dependencies": {
- "character-entities": "^2.0.0"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/decode-named-character-reference/node_modules/character-entities": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",
- "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node": ">=0.10.0"
}
},
- "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
- },
- "node_modules/define-data-property": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
- "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
+ "node_modules/eslint-plugin-react/node_modules/resolve": {
+ "version": "2.0.0-next.5",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
+ "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
+ "dev": true,
"dependencies": {
- "es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "gopd": "^1.0.1"
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
},
- "engines": {
- "node": ">= 0.4"
+ "bin": {
+ "resolve": "bin/resolve"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/define-properties": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
- "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "node_modules/eslint-plugin-react/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,
- "dependencies": {
- "define-data-property": "^1.0.1",
- "has-property-descriptors": "^1.0.0",
- "object-keys": "^1.1.1"
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
},
"engines": {
- "node": ">= 0.4"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/delayed-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/dequal": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
- "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
- "engines": {
- "node": ">=6"
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/detect-libc": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
- "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "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,
"engines": {
- "node": ">=8"
- }
- },
- "node_modules/detect-node-es": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz",
- "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="
- },
- "node_modules/devlop": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
- "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",
- "dependencies": {
- "dequal": "^2.0.0"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
},
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/didyoumean": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
- "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw=="
- },
- "node_modules/dir-glob": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
- "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "node_modules/eslint/node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
"dev": true,
"dependencies": {
- "path-type": "^4.0.0"
+ "type-fest": "^0.20.2"
},
"engines": {
"node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/dlv": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
- "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA=="
- },
- "node_modules/doctrine": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
- "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "node_modules/espree": {
+ "version": "9.6.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
+ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
"dev": true,
"dependencies": {
- "esutils": "^2.0.2"
+ "acorn": "^8.9.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^3.4.1"
},
"engines": {
- "node": ">=6.0.0"
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
}
},
- "node_modules/dom-helpers": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz",
- "integrity": "sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==",
- "dependencies": {
- "@babel/runtime": "^7.8.7",
- "csstype": "^3.0.2"
+ "node_modules/esprima": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "bin": {
+ "esparse": "bin/esparse.js",
+ "esvalidate": "bin/esvalidate.js"
+ },
+ "engines": {
+ "node": ">=4"
}
},
- "node_modules/dunder-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
- "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
+ "node_modules/esquery": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
+ "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
+ "dev": true,
"dependencies": {
- "call-bind-apply-helpers": "^1.0.1",
- "es-errors": "^1.3.0",
- "gopd": "^1.2.0"
+ "estraverse": "^5.1.0"
},
"engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/eastasianwidth": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
- "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="
- },
- "node_modules/electron-to-chromium": {
- "version": "1.4.799",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.799.tgz",
- "integrity": "sha512-3D3DwWkRTzrdEpntY0hMLYwj7SeBk1138CkPE8sBDSj3WzrzOiG2rHm3luw8jucpf+WiyLBCZyU9lMHyQI9M9Q==",
- "dev": true
- },
- "node_modules/embla-carousel": {
- "version": "8.5.2",
- "resolved": "https://registry.npmjs.org/embla-carousel/-/embla-carousel-8.5.2.tgz",
- "integrity": "sha512-xQ9oVLrun/eCG/7ru3R+I5bJ7shsD8fFwLEY7yPe27/+fDHCNj0OT5EoG5ZbFyOxOcG6yTwW8oTz/dWyFnyGpg=="
- },
- "node_modules/embla-carousel-autoplay": {
- "version": "8.5.2",
- "resolved": "https://registry.npmjs.org/embla-carousel-autoplay/-/embla-carousel-autoplay-8.5.2.tgz",
- "integrity": "sha512-27emJ0px3q/c0kCHCjwRrEbYcyYUPfGO3g5IBWF1i7714TTzE6L9P81V6PHLoSMAKJ1aHoT2e7YFOsuFKCbyag==",
- "peerDependencies": {
- "embla-carousel": "8.5.2"
+ "node": ">=0.10"
}
},
- "node_modules/embla-carousel-react": {
- "version": "8.5.2",
- "resolved": "https://registry.npmjs.org/embla-carousel-react/-/embla-carousel-react-8.5.2.tgz",
- "integrity": "sha512-Tmx+uY3MqseIGdwp0ScyUuxpBgx5jX1f7od4Cm5mDwg/dptEiTKf9xp6tw0lZN2VA9JbnVMl/aikmbc53c6QFA==",
+ "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,
"dependencies": {
- "embla-carousel": "8.5.2",
- "embla-carousel-reactive-utils": "8.5.2"
+ "estraverse": "^5.2.0"
},
- "peerDependencies": {
- "react": "^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc"
- }
- },
- "node_modules/embla-carousel-reactive-utils": {
- "version": "8.5.2",
- "resolved": "https://registry.npmjs.org/embla-carousel-reactive-utils/-/embla-carousel-reactive-utils-8.5.2.tgz",
- "integrity": "sha512-QC8/hYSK/pEmqEdU1IO5O+XNc/Ptmmq7uCB44vKplgLKhB/l0+yvYx0+Cv0sF6Ena8Srld5vUErZkT+yTahtDg==",
- "peerDependencies": {
- "embla-carousel": "8.5.2"
+ "engines": {
+ "node": ">=4.0"
}
},
- "node_modules/emoji-regex": {
- "version": "9.2.2",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="
- },
- "node_modules/enhanced-resolve": {
- "version": "5.17.0",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz",
- "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==",
+ "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,
- "dependencies": {
- "graceful-fs": "^4.2.4",
- "tapable": "^2.2.0"
- },
"engines": {
- "node": ">=10.13.0"
+ "node": ">=4.0"
}
},
- "node_modules/error-ex": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",
- "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
- "peer": true,
- "dependencies": {
- "is-arrayish": "^0.2.1"
+ "node_modules/estree-util-is-identifier-name": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
+ "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/es-abstract": {
- "version": "1.23.3",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz",
- "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==",
+ "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,
- "dependencies": {
- "array-buffer-byte-length": "^1.0.1",
- "arraybuffer.prototype.slice": "^1.0.3",
- "available-typed-arrays": "^1.0.7",
- "call-bind": "^1.0.7",
- "data-view-buffer": "^1.0.1",
- "data-view-byte-length": "^1.0.1",
- "data-view-byte-offset": "^1.0.0",
- "es-define-property": "^1.0.0",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.0.0",
- "es-set-tostringtag": "^2.0.3",
- "es-to-primitive": "^1.2.1",
- "function.prototype.name": "^1.1.6",
- "get-intrinsic": "^1.2.4",
- "get-symbol-description": "^1.0.2",
- "globalthis": "^1.0.3",
- "gopd": "^1.0.1",
- "has-property-descriptors": "^1.0.2",
- "has-proto": "^1.0.3",
- "has-symbols": "^1.0.3",
- "hasown": "^2.0.2",
- "internal-slot": "^1.0.7",
- "is-array-buffer": "^3.0.4",
- "is-callable": "^1.2.7",
- "is-data-view": "^1.0.1",
- "is-negative-zero": "^2.0.3",
- "is-regex": "^1.1.4",
- "is-shared-array-buffer": "^1.0.3",
- "is-string": "^1.0.7",
- "is-typed-array": "^1.1.13",
- "is-weakref": "^1.0.2",
- "object-inspect": "^1.13.1",
- "object-keys": "^1.1.1",
- "object.assign": "^4.1.5",
- "regexp.prototype.flags": "^1.5.2",
- "safe-array-concat": "^1.1.2",
- "safe-regex-test": "^1.0.3",
- "string.prototype.trim": "^1.2.9",
- "string.prototype.trimend": "^1.0.8",
- "string.prototype.trimstart": "^1.0.8",
- "typed-array-buffer": "^1.0.2",
- "typed-array-byte-length": "^1.0.1",
- "typed-array-byte-offset": "^1.0.2",
- "typed-array-length": "^1.0.6",
- "unbox-primitive": "^1.0.2",
- "which-typed-array": "^1.1.15"
- },
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/event-target-shim": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
+ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
+ "engines": {
+ "node": ">=6"
}
},
- "node_modules/es-define-property": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
- "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
+ "node_modules/eventemitter3": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
+ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="
+ },
+ "node_modules/events": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
"engines": {
- "node": ">= 0.4"
+ "node": ">=0.8.x"
}
},
- "node_modules/es-errors": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
+ "node_modules/eventsource-parser": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.6.tgz",
+ "integrity": "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==",
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=18.0.0"
}
},
- "node_modules/es-iterator-helpers": {
- "version": "1.0.19",
- "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz",
- "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==",
+ "node_modules/execa": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
+ "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.7",
- "define-properties": "^1.2.1",
- "es-abstract": "^1.23.3",
- "es-errors": "^1.3.0",
- "es-set-tostringtag": "^2.0.3",
- "function-bind": "^1.1.2",
- "get-intrinsic": "^1.2.4",
- "globalthis": "^1.0.3",
- "has-property-descriptors": "^1.0.2",
- "has-proto": "^1.0.3",
- "has-symbols": "^1.0.3",
- "internal-slot": "^1.0.7",
- "iterator.prototype": "^1.1.2",
- "safe-array-concat": "^1.1.2"
+ "cross-spawn": "^7.0.3",
+ "get-stream": "^6.0.0",
+ "human-signals": "^2.1.0",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.1",
+ "onetime": "^5.1.2",
+ "signal-exit": "^3.0.3",
+ "strip-final-newline": "^2.0.0"
},
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sindresorhus/execa?sponsor=1"
}
},
- "node_modules/es-object-atoms": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
- "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
- "dependencies": {
- "es-errors": "^1.3.0"
- },
+ "node_modules/execa/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/exit-x": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/exit-x/-/exit-x-0.2.2.tgz",
+ "integrity": "sha512-+I6B/IkJc1o/2tiURyz/ivu/O0nKNEArIUB5O7zBrlDVJr22SCLH3xTeEry428LvFhRzIA1g8izguxJ/gbNcVQ==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">= 0.8.0"
}
},
- "node_modules/es-set-tostringtag": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
- "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
+ "node_modules/expect": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/expect/-/expect-30.2.0.tgz",
+ "integrity": "sha512-u/feCi0GPsI+988gU2FLcsHyAHTU0MX1Wg68NhAnN7z/+C5wqG+CY8J53N9ioe8RXgaoz0nBR/TYMf3AycUuPw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.6",
- "has-tostringtag": "^1.0.2",
- "hasown": "^2.0.2"
+ "@jest/expect-utils": "30.2.0",
+ "@jest/get-type": "30.1.0",
+ "jest-matcher-utils": "30.2.0",
+ "jest-message-util": "30.2.0",
+ "jest-mock": "30.2.0",
+ "jest-util": "30.2.0"
},
"engines": {
- "node": ">= 0.4"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/es-shim-unscopables": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz",
- "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==",
- "dev": true,
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
+ },
+ "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
+ },
+ "node_modules/fast-equals": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-5.0.1.tgz",
+ "integrity": "sha512-WF1Wi8PwwSY7/6Kx0vKXtw8RwuSGoM1bvDaJbu7MxDlR1vovZjIAKrnzyrThgAjm6JDTu0fVgWXDlMGspodfoQ==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
"dependencies": {
- "hasown": "^2.0.0"
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=8.6.0"
}
},
- "node_modules/es-to-primitive": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
- "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
- "dev": true,
+ "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==",
"dependencies": {
- "is-callable": "^1.1.4",
- "is-date-object": "^1.0.1",
- "is-symbol": "^1.0.2"
+ "is-glob": "^4.0.1"
},
"engines": {
- "node": ">= 0.4"
+ "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
+ },
+ "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
+ },
+ "node_modules/fast-xml-parser": {
+ "version": "4.2.5",
+ "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz",
+ "integrity": "sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==",
+ "funding": [
+ {
+ "type": "paypal",
+ "url": "https://paypal.me/naturalintelligence"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/NaturalIntelligence"
+ }
+ ],
+ "dependencies": {
+ "strnum": "^1.0.5"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "bin": {
+ "fxparser": "src/cli/cli.js"
}
},
- "node_modules/escalade": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz",
- "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==",
- "dev": true,
- "engines": {
- "node": ">=6"
+ "node_modules/fastq": {
+ "version": "1.17.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
+ "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
+ "dependencies": {
+ "reusify": "^1.0.4"
}
},
- "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==",
- "engines": {
- "node": ">=10"
+ "node_modules/fault": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz",
+ "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==",
+ "dependencies": {
+ "format": "^0.2.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/eslint": {
- "version": "8.57.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
- "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
+ "node_modules/fb-watchman": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
+ "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",
"dev": true,
+ "license": "Apache-2.0",
"dependencies": {
- "@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.4",
- "@eslint/js": "8.57.0",
- "@humanwhocodes/config-array": "^0.11.14",
- "@humanwhocodes/module-importer": "^1.0.1",
- "@nodelib/fs.walk": "^1.2.8",
- "@ungap/structured-clone": "^1.2.0",
- "ajv": "^6.12.4",
- "chalk": "^4.0.0",
- "cross-spawn": "^7.0.2",
- "debug": "^4.3.2",
- "doctrine": "^3.0.0",
- "escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.3",
- "espree": "^9.6.1",
- "esquery": "^1.4.2",
- "esutils": "^2.0.2",
- "fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^6.0.1",
- "find-up": "^5.0.0",
- "glob-parent": "^6.0.2",
- "globals": "^13.19.0",
- "graphemer": "^1.4.0",
- "ignore": "^5.2.0",
- "imurmurhash": "^0.1.4",
- "is-glob": "^4.0.0",
- "is-path-inside": "^3.0.3",
- "js-yaml": "^4.1.0",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "levn": "^0.4.1",
- "lodash.merge": "^4.6.2",
- "minimatch": "^3.1.2",
- "natural-compare": "^1.4.0",
- "optionator": "^0.9.3",
- "strip-ansi": "^6.0.1",
- "text-table": "^0.2.0"
- },
- "bin": {
- "eslint": "bin/eslint.js"
+ "bser": "2.1.1"
+ }
+ },
+ "node_modules/fflate": {
+ "version": "0.4.8",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz",
+ "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA=="
+ },
+ "node_modules/file-entry-cache": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
+ "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "dev": true,
+ "dependencies": {
+ "flat-cache": "^3.0.4"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": "^10.12.0 || >=12.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==",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
},
- "funding": {
- "url": "https://opencollective.com/eslint"
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/eslint-config-next": {
- "version": "14.1.4",
- "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-14.1.4.tgz",
- "integrity": "sha512-cihIahbhYAWwXJwZkAaRPpUi5t9aOi/HdfWXOjZeUOqNWXHD8X22kd1KG58Dc3MVaRx3HoR/oMGk2ltcrqDn8g==",
+ "node_modules/find-root": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
+ "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
+ "peer": true
+ },
+ "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,
"dependencies": {
- "@next/eslint-plugin-next": "14.1.4",
- "@rushstack/eslint-patch": "^1.3.3",
- "@typescript-eslint/parser": "^5.4.2 || ^6.0.0",
- "eslint-import-resolver-node": "^0.3.6",
- "eslint-import-resolver-typescript": "^3.5.2",
- "eslint-plugin-import": "^2.28.1",
- "eslint-plugin-jsx-a11y": "^6.7.1",
- "eslint-plugin-react": "^7.33.2",
- "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705"
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
},
- "peerDependencies": {
- "eslint": "^7.23.0 || ^8.0.0",
- "typescript": ">=3.3.1"
+ "engines": {
+ "node": ">=10"
},
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/eslint-import-resolver-node": {
- "version": "0.3.9",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
- "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
+ "node_modules/flat-cache": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
+ "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
"dev": true,
"dependencies": {
- "debug": "^3.2.7",
- "is-core-module": "^2.13.0",
- "resolve": "^1.22.4"
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.3",
+ "rimraf": "^3.0.2"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
}
},
- "node_modules/eslint-import-resolver-node/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "node_modules/flatted": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
+ "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
+ "dev": true
+ },
+ "node_modules/for-each": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
"dev": true,
"dependencies": {
- "ms": "^2.1.1"
+ "is-callable": "^1.1.3"
}
},
- "node_modules/eslint-import-resolver-typescript": {
- "version": "3.6.1",
- "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.1.tgz",
- "integrity": "sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==",
- "dev": true,
+ "node_modules/foreground-child": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.0.tgz",
+ "integrity": "sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA==",
"dependencies": {
- "debug": "^4.3.4",
- "enhanced-resolve": "^5.12.0",
- "eslint-module-utils": "^2.7.4",
- "fast-glob": "^3.3.1",
- "get-tsconfig": "^4.5.0",
- "is-core-module": "^2.11.0",
- "is-glob": "^4.0.3"
+ "cross-spawn": "^7.0.0",
+ "signal-exit": "^4.0.1"
},
"engines": {
- "node": "^14.18.0 || >=16.0.0"
+ "node": ">=14"
},
"funding": {
- "url": "https://opencollective.com/unts/projects/eslint-import-resolver-ts"
- },
- "peerDependencies": {
- "eslint": "*",
- "eslint-plugin-import": "*"
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/eslint-module-utils": {
- "version": "2.8.1",
- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz",
- "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==",
- "dev": true,
+ "node_modules/form-data": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"dependencies": {
- "debug": "^3.2.7"
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
},
"engines": {
- "node": ">=4"
+ "node": ">= 6"
+ }
+ },
+ "node_modules/form-data-encoder": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.7.2.tgz",
+ "integrity": "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A=="
+ },
+ "node_modules/format": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz",
+ "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==",
+ "engines": {
+ "node": ">=0.4.x"
+ }
+ },
+ "node_modules/formdata-node": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-4.4.1.tgz",
+ "integrity": "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==",
+ "dependencies": {
+ "node-domexception": "1.0.0",
+ "web-streams-polyfill": "4.0.0-beta.3"
},
- "peerDependenciesMeta": {
- "eslint": {
- "optional": true
- }
+ "engines": {
+ "node": ">= 12.20"
}
},
- "node_modules/eslint-module-utils/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "node_modules/formdata-node/node_modules/web-streams-polyfill": {
+ "version": "4.0.0-beta.3",
+ "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz",
+ "integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==",
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/fraction.js": {
+ "version": "4.3.7",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
+ "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
"dev": true,
- "dependencies": {
- "ms": "^2.1.1"
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "type": "patreon",
+ "url": "https://github.com/sponsors/rawify"
}
},
- "node_modules/eslint-plugin-import": {
- "version": "2.29.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
- "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
+ "dev": true
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "hasInstallScript": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/function.prototype.name": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz",
+ "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==",
"dev": true,
"dependencies": {
- "array-includes": "^3.1.7",
- "array.prototype.findlastindex": "^1.2.3",
- "array.prototype.flat": "^1.3.2",
- "array.prototype.flatmap": "^1.3.2",
- "debug": "^3.2.7",
- "doctrine": "^2.1.0",
- "eslint-import-resolver-node": "^0.3.9",
- "eslint-module-utils": "^2.8.0",
- "hasown": "^2.0.0",
- "is-core-module": "^2.13.1",
- "is-glob": "^4.0.3",
- "minimatch": "^3.1.2",
- "object.fromentries": "^2.0.7",
- "object.groupby": "^1.0.1",
- "object.values": "^1.1.7",
- "semver": "^6.3.1",
- "tsconfig-paths": "^3.15.0"
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "functions-have-names": "^1.2.3"
},
"engines": {
- "node": ">=4"
+ "node": ">= 0.4"
},
- "peerDependencies": {
- "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eslint-plugin-import/node_modules/debug": {
- "version": "3.2.7",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "node_modules/functions-have-names": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
"dev": true,
- "dependencies": {
- "ms": "^2.1.1"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/generic-pool": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-3.9.0.tgz",
+ "integrity": "sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==",
+ "engines": {
+ "node": ">= 4"
}
},
- "node_modules/eslint-plugin-import/node_modules/doctrine": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
- "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "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,
- "dependencies": {
- "esutils": "^2.0.2"
- },
+ "license": "MIT",
"engines": {
- "node": ">=0.10.0"
+ "node": ">=6.9.0"
}
},
- "node_modules/eslint-plugin-import/node_modules/semver": {
- "version": "6.3.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"dev": true,
- "bin": {
- "semver": "bin/semver.js"
+ "license": "ISC",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
}
},
- "node_modules/eslint-plugin-jsx-a11y": {
- "version": "6.8.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.8.0.tgz",
- "integrity": "sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==",
- "dev": true,
+ "node_modules/get-intrinsic": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
+ "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
"dependencies": {
- "@babel/runtime": "^7.23.2",
- "aria-query": "^5.3.0",
- "array-includes": "^3.1.7",
- "array.prototype.flatmap": "^1.3.2",
- "ast-types-flow": "^0.0.8",
- "axe-core": "=4.7.0",
- "axobject-query": "^3.2.1",
- "damerau-levenshtein": "^1.0.8",
- "emoji-regex": "^9.2.2",
- "es-iterator-helpers": "^1.0.15",
- "hasown": "^2.0.0",
- "jsx-ast-utils": "^3.3.5",
- "language-tags": "^1.0.9",
- "minimatch": "^3.1.2",
- "object.entries": "^1.1.7",
- "object.fromentries": "^2.0.7"
+ "call-bind-apply-helpers": "^1.0.2",
+ "es-define-property": "^1.0.1",
+ "es-errors": "^1.3.0",
+ "es-object-atoms": "^1.1.1",
+ "function-bind": "^1.1.2",
+ "get-proto": "^1.0.1",
+ "gopd": "^1.2.0",
+ "has-symbols": "^1.1.0",
+ "hasown": "^2.0.2",
+ "math-intrinsics": "^1.1.0"
},
"engines": {
- "node": ">=4.0"
+ "node": ">= 0.4"
},
- "peerDependencies": {
- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eslint-plugin-react": {
- "version": "7.34.2",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.34.2.tgz",
- "integrity": "sha512-2HCmrU+/JNigDN6tg55cRDKCQWicYAPB38JGSFDQt95jDm8rrvSUo7YPkOIm5l6ts1j1zCvysNcasvfTMQzUOw==",
+ "node_modules/get-nonce": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
+ "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/get-package-type": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
+ "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
"dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/get-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
+ "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
"dependencies": {
- "array-includes": "^3.1.8",
- "array.prototype.findlast": "^1.2.5",
- "array.prototype.flatmap": "^1.3.2",
- "array.prototype.toreversed": "^1.1.2",
- "array.prototype.tosorted": "^1.1.3",
- "doctrine": "^2.1.0",
- "es-iterator-helpers": "^1.0.19",
- "estraverse": "^5.3.0",
- "jsx-ast-utils": "^2.4.1 || ^3.0.0",
- "minimatch": "^3.1.2",
- "object.entries": "^1.1.8",
- "object.fromentries": "^2.0.8",
- "object.hasown": "^1.1.4",
- "object.values": "^1.2.0",
- "prop-types": "^15.8.1",
- "resolve": "^2.0.0-next.5",
- "semver": "^6.3.1",
- "string.prototype.matchall": "^4.0.11"
+ "dunder-proto": "^1.0.1",
+ "es-object-atoms": "^1.0.0"
},
"engines": {
- "node": ">=4"
- },
- "peerDependencies": {
- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8"
+ "node": ">= 0.4"
}
},
- "node_modules/eslint-plugin-react-hooks": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz",
- "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==",
+ "node_modules/get-stream": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz",
+ "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==",
"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"
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/eslint-plugin-react/node_modules/doctrine": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
- "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "node_modules/get-symbol-description": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz",
+ "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==",
"dev": true,
"dependencies": {
- "esutils": "^2.0.2"
+ "call-bind": "^1.0.5",
+ "es-errors": "^1.3.0",
+ "get-intrinsic": "^1.2.4"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eslint-plugin-react/node_modules/resolve": {
- "version": "2.0.0-next.5",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.5.tgz",
- "integrity": "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA==",
+ "node_modules/get-tsconfig": {
+ "version": "4.7.5",
+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.5.tgz",
+ "integrity": "sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==",
"dev": true,
"dependencies": {
- "is-core-module": "^2.13.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
+ "resolve-pkg-maps": "^1.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
}
},
- "node_modules/eslint-plugin-react/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,
+ "node_modules/glob": {
+ "version": "10.3.10",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz",
+ "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==",
+ "dependencies": {
+ "foreground-child": "^3.1.0",
+ "jackspeak": "^2.3.5",
+ "minimatch": "^9.0.1",
+ "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
+ "path-scurry": "^1.10.1"
+ },
"bin": {
- "semver": "bin/semver.js"
+ "glob": "dist/esm/bin.mjs"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/eslint-scope": {
- "version": "7.2.2",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
- "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
- "dev": true,
+ "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==",
"dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^5.2.0"
+ "is-glob": "^4.0.3"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
+ "node": ">=10.13.0"
}
},
- "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,
+ "node_modules/glob/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==",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/glob/node_modules/minimatch": {
+ "version": "9.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
+ "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": ">=16 || 14 >=14.17"
},
"funding": {
- "url": "https://opencollective.com/eslint"
+ "url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/eslint/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==",
+ "node_modules/globalthis": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
+ "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
"dev": true,
"dependencies": {
- "color-convert": "^2.0.1"
+ "define-properties": "^1.2.1",
+ "gopd": "^1.0.1"
},
"engines": {
- "node": ">=8"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eslint/node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "node_modules/globby": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
+ "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
"dev": true,
"dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.2.9",
+ "ignore": "^5.2.0",
+ "merge2": "^1.4.1",
+ "slash": "^3.0.0"
},
"engines": {
"node": ">=10"
},
"funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/eslint/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,
- "dependencies": {
- "color-name": "~1.1.4"
- },
+ "node_modules/gopd": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
+ "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
"engines": {
- "node": ">=7.0.0"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eslint/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==",
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
"dev": true
},
- "node_modules/eslint/node_modules/globals": {
- "version": "13.24.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
- "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "node_modules/has-bigints": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
+ "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
"dev": true,
- "dependencies": {
- "type-fest": "^0.20.2"
- },
- "engines": {
- "node": ">=8"
- },
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/eslint/node_modules/has-flag": {
+ "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/eslint/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,
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
"dependencies": {
- "has-flag": "^4.0.0"
+ "es-define-property": "^1.0.0"
},
- "engines": {
- "node": ">=8"
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/espree": {
- "version": "9.6.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
- "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
+ "node_modules/has-proto": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
+ "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
"dev": true,
- "dependencies": {
- "acorn": "^8.9.0",
- "acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^3.4.1"
+ "engines": {
+ "node": ">= 0.4"
},
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
+ "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://opencollective.com/eslint"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/esquery": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
- "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
+ "node_modules/has-tostringtag": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
+ "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
"dev": true,
"dependencies": {
- "estraverse": "^5.1.0"
+ "has-symbols": "^1.0.3"
},
"engines": {
- "node": ">=0.10"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "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,
+ "node_modules/hasown": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
"dependencies": {
- "estraverse": "^5.2.0"
+ "function-bind": "^1.1.2"
},
"engines": {
- "node": ">=4.0"
+ "node": ">= 0.4"
}
},
- "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,
- "engines": {
- "node": ">=4.0"
+ "node_modules/hast-util-parse-selector": {
+ "version": "2.2.5",
+ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz",
+ "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/estree-util-is-identifier-name": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
- "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",
+ "node_modules/hast-util-to-jsx-runtime": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",
+ "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",
+ "dependencies": {
+ "@types/estree": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "devlop": "^1.0.0",
+ "estree-util-is-identifier-name": "^3.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "mdast-util-mdx-expression": "^2.0.0",
+ "mdast-util-mdx-jsx": "^3.0.0",
+ "mdast-util-mdxjs-esm": "^2.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "style-to-js": "^1.0.0",
+ "unist-util-position": "^5.0.0",
+ "vfile-message": "^4.0.0"
+ },
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
}
},
- "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,
- "engines": {
- "node": ">=0.10.0"
+ "node_modules/hast-util-to-jsx-runtime/node_modules/@types/hast": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
+ "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
+ "dependencies": {
+ "@types/unist": "*"
}
},
- "node_modules/event-target-shim": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
- "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
- "engines": {
- "node": ">=6"
- }
+ "node_modules/hast-util-to-jsx-runtime/node_modules/@types/unist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="
},
- "node_modules/eventemitter3": {
- "version": "4.0.7",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",
- "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw=="
+ "node_modules/hast-util-to-jsx-runtime/node_modules/comma-separated-tokens": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
},
- "node_modules/events": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
- "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==",
- "engines": {
- "node": ">=0.8.x"
+ "node_modules/hast-util-to-jsx-runtime/node_modules/property-information": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz",
+ "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/eventsource-parser": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.6.tgz",
- "integrity": "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==",
- "license": "MIT",
- "engines": {
- "node": ">=18.0.0"
+ "node_modules/hast-util-to-jsx-runtime/node_modules/space-separated-tokens": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/extend": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
- "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
+ "node_modules/hast-util-whitespace": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
},
- "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
+ "node_modules/hast-util-whitespace/node_modules/@types/hast": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
+ "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
+ "dependencies": {
+ "@types/unist": "*"
+ }
},
- "node_modules/fast-equals": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-5.0.1.tgz",
- "integrity": "sha512-WF1Wi8PwwSY7/6Kx0vKXtw8RwuSGoM1bvDaJbu7MxDlR1vovZjIAKrnzyrThgAjm6JDTu0fVgWXDlMGspodfoQ==",
- "engines": {
- "node": ">=6.0.0"
+ "node_modules/hastscript": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-6.0.0.tgz",
+ "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==",
+ "dependencies": {
+ "@types/hast": "^2.0.0",
+ "comma-separated-tokens": "^1.0.0",
+ "hast-util-parse-selector": "^2.0.0",
+ "property-information": "^5.0.0",
+ "space-separated-tokens": "^1.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/fast-glob": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
- "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
- "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.4"
- },
+ "node_modules/highlight.js": {
+ "version": "10.7.3",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz",
+ "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==",
"engines": {
- "node": ">=8.6.0"
+ "node": "*"
}
},
- "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==",
+ "node_modules/hoist-non-react-statics": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
+ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
"dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
+ "react-is": "^16.7.0"
}
},
- "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
- },
- "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
+ "node_modules/hoist-non-react-statics/node_modules/react-is": {
+ "version": "16.13.1",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
- "node_modules/fast-xml-parser": {
- "version": "4.2.5",
- "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.2.5.tgz",
- "integrity": "sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==",
- "funding": [
- {
- "type": "paypal",
- "url": "https://paypal.me/naturalintelligence"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/NaturalIntelligence"
- }
- ],
+ "node_modules/html-encoding-sniffer": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-4.0.0.tgz",
+ "integrity": "sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "strnum": "^1.0.5"
+ "whatwg-encoding": "^3.1.1"
},
- "bin": {
- "fxparser": "src/cli/cli.js"
+ "engines": {
+ "node": ">=18"
}
},
- "node_modules/fastq": {
- "version": "1.17.1",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz",
- "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==",
- "dependencies": {
- "reusify": "^1.0.4"
- }
+ "node_modules/html-escaper": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
+ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
+ "dev": true,
+ "license": "MIT"
},
- "node_modules/fault": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz",
- "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==",
- "dependencies": {
- "format": "^0.2.0"
- },
+ "node_modules/html-url-attributes": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",
+ "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
}
},
- "node_modules/fflate": {
- "version": "0.4.8",
- "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz",
- "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA=="
- },
- "node_modules/file-entry-cache": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
- "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "node_modules/http-proxy-agent": {
+ "version": "7.0.2",
+ "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
+ "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "flat-cache": "^3.0.4"
+ "agent-base": "^7.1.0",
+ "debug": "^4.3.4"
},
"engines": {
- "node": "^10.12.0 || >=12.0.0"
+ "node": ">= 14"
}
},
- "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==",
+ "node_modules/https-proxy-agent": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "to-regex-range": "^5.0.1"
+ "agent-base": "^7.1.2",
+ "debug": "4"
},
"engines": {
- "node": ">=8"
+ "node": ">= 14"
}
},
- "node_modules/find-root": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz",
- "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==",
- "peer": true
- },
- "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==",
+ "node_modules/human-signals": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
+ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
"dev": true,
- "dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
- },
+ "license": "Apache-2.0",
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=10.17.0"
}
},
- "node_modules/flat-cache": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
- "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
+ "node_modules/humanize-ms": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
+ "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",
+ "dependencies": {
+ "ms": "^2.0.0"
+ }
+ },
+ "node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "flatted": "^3.2.9",
- "keyv": "^4.5.3",
- "rimraf": "^3.0.2"
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
},
"engines": {
- "node": "^10.12.0 || >=12.0.0"
+ "node": ">=0.10.0"
}
},
- "node_modules/flatted": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
- "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
- "dev": true
+ "node_modules/ieee754": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
},
- "node_modules/for-each": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
- "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "node_modules/ignore": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
+ "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
"dev": true,
- "dependencies": {
- "is-callable": "^1.1.3"
+ "engines": {
+ "node": ">= 4"
}
},
- "node_modules/foreground-child": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.0.tgz",
- "integrity": "sha512-CrWQNaEl1/6WeZoarcM9LHupTo3RpZO2Pdk1vktwzPiQTsJnAKJmm3TACKeG5UZbWDfaH2AbvYxzP96y0MT7fA==",
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
"dependencies": {
- "cross-spawn": "^7.0.0",
- "signal-exit": "^4.0.1"
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
},
"engines": {
- "node": ">=14"
+ "node": ">=6"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/form-data": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
- "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "node_modules/import-local": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",
+ "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "asynckit": "^0.4.0",
- "combined-stream": "^1.0.8",
- "mime-types": "^2.1.12"
+ "pkg-dir": "^4.2.0",
+ "resolve-cwd": "^3.0.0"
+ },
+ "bin": {
+ "import-local-fixture": "fixtures/cli.js"
},
"engines": {
- "node": ">= 6"
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/form-data-encoder": {
- "version": "1.7.2",
- "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.7.2.tgz",
- "integrity": "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A=="
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.19"
+ }
},
- "node_modules/format": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz",
- "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==",
+ "node_modules/indent-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
+ "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">=0.4.x"
+ "node": ">=8"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
+ "dev": true,
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
}
},
- "node_modules/formdata-node": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-4.4.1.tgz",
- "integrity": "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==",
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true
+ },
+ "node_modules/inline-style-parser": {
+ "version": "0.2.4",
+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz",
+ "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q=="
+ },
+ "node_modules/internal-slot": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz",
+ "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==",
+ "dev": true,
"dependencies": {
- "node-domexception": "1.0.0",
- "web-streams-polyfill": "4.0.0-beta.3"
+ "es-errors": "^1.3.0",
+ "hasown": "^2.0.0",
+ "side-channel": "^1.0.4"
},
"engines": {
- "node": ">= 12.20"
+ "node": ">= 0.4"
}
},
- "node_modules/formdata-node/node_modules/web-streams-polyfill": {
- "version": "4.0.0-beta.3",
- "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz",
- "integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==",
+ "node_modules/internmap": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
+ "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",
"engines": {
- "node": ">= 14"
+ "node": ">=12"
}
},
- "node_modules/fraction.js": {
- "version": "4.3.7",
- "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.3.7.tgz",
- "integrity": "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==",
- "dev": true,
- "engines": {
- "node": "*"
- },
+ "node_modules/is-alphabetical": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz",
+ "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==",
"funding": {
- "type": "patreon",
- "url": "https://github.com/sponsors/rawify"
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true
- },
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ "node_modules/is-alphanumerical": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz",
+ "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==",
+ "dependencies": {
+ "is-alphabetical": "^1.0.0",
+ "is-decimal": "^1.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "node_modules/is-array-buffer": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz",
+ "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/function.prototype.name": {
- "version": "1.1.6",
- "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz",
- "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==",
+ "node_modules/is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg=="
+ },
+ "node_modules/is-async-function": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz",
+ "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.2",
- "define-properties": "^1.2.0",
- "es-abstract": "^1.22.1",
- "functions-have-names": "^1.2.3"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
@@ -8544,38 +11436,37 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/functions-have-names": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
- "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
+ "node_modules/is-bigint": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
"dev": true,
+ "dependencies": {
+ "has-bigints": "^1.0.1"
+ },
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/generic-pool": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-3.9.0.tgz",
- "integrity": "sha512-hymDOu5B53XvN4QT9dBmZxPX4CWhBPPLguTZ9MMFeFa/Kg0xWVfylOVNlJji/E7yTZWFd/q9GO5TxDLq156D7g==",
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
"engines": {
- "node": ">= 4"
+ "node": ">=8"
}
},
- "node_modules/get-intrinsic": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
- "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
+ "node_modules/is-boolean-object": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
+ "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
+ "dev": true,
"dependencies": {
- "call-bind-apply-helpers": "^1.0.2",
- "es-define-property": "^1.0.1",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.1.1",
- "function-bind": "^1.1.2",
- "get-proto": "^1.0.1",
- "gopd": "^1.2.0",
- "has-symbols": "^1.1.0",
- "hasown": "^2.0.2",
- "math-intrinsics": "^1.1.0"
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
@@ -8584,35 +11475,51 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/get-nonce": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz",
- "integrity": "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==",
+ "node_modules/is-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "dev": true,
"engines": {
- "node": ">=6"
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/get-proto": {
+ "node_modules/is-core-module": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "dependencies": {
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-data-view": {
"version": "1.0.1",
- "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
- "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
+ "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz",
+ "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==",
+ "dev": true,
"dependencies": {
- "dunder-proto": "^1.0.1",
- "es-object-atoms": "^1.0.0"
+ "is-typed-array": "^1.1.13"
},
"engines": {
"node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/get-symbol-description": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz",
- "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==",
+ "node_modules/is-date-object": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
"dev": true,
"dependencies": {
- "call-bind": "^1.0.5",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.4"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
@@ -8621,89 +11528,127 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/get-tsconfig": {
- "version": "4.7.5",
- "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.5.tgz",
- "integrity": "sha512-ZCuZCnlqNzjb4QprAzXKdpp/gh6KTxSJuw3IBsPnV/7fV4NxC9ckB+vPTt8w7fJA0TaSD7c55BR47JD6MEDyDw==",
+ "node_modules/is-decimal": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz",
+ "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-finalizationregistry": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz",
+ "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==",
"dev": true,
"dependencies": {
- "resolve-pkg-maps": "^1.0.0"
+ "call-bind": "^1.0.2"
},
"funding": {
- "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/glob": {
- "version": "10.3.10",
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz",
- "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==",
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-generator-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
+ "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/is-generator-function": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
+ "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",
+ "dev": true,
"dependencies": {
- "foreground-child": "^3.1.0",
- "jackspeak": "^2.3.5",
- "minimatch": "^9.0.1",
- "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
- "path-scurry": "^1.10.1"
- },
- "bin": {
- "glob": "dist/esm/bin.mjs"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
- "node": ">=16 || 14 >=14.17"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "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==",
+ "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==",
"dependencies": {
- "is-glob": "^4.0.3"
+ "is-extglob": "^2.1.1"
},
"engines": {
- "node": ">=10.13.0"
+ "node": ">=0.10.0"
}
},
- "node_modules/glob/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==",
- "dependencies": {
- "balanced-match": "^1.0.0"
+ "node_modules/is-hexadecimal": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz",
+ "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/glob/node_modules/minimatch": {
- "version": "9.0.4",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
- "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
- "dependencies": {
- "brace-expansion": "^2.0.1"
+ "node_modules/is-map": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
+ "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
},
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-negative-zero": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",
+ "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",
+ "dev": true,
"engines": {
- "node": ">=16 || 14 >=14.17"
+ "node": ">= 0.4"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "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==",
- "peer": true,
+ "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==",
"engines": {
- "node": ">=4"
+ "node": ">=0.12.0"
}
},
- "node_modules/globalthis": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",
- "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",
+ "node_modules/is-number-object": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
+ "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
"dev": true,
"dependencies": {
- "define-properties": "^1.2.1",
- "gopd": "^1.0.1"
+ "has-tostringtag": "^1.0.0"
},
"engines": {
"node": ">= 0.4"
@@ -8712,30 +11657,42 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/globby": {
- "version": "11.1.0",
- "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
- "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
+ "node_modules/is-path-inside": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
+ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
"dev": true,
- "dependencies": {
- "array-union": "^2.1.0",
- "dir-glob": "^3.0.1",
- "fast-glob": "^3.2.9",
- "ignore": "^5.2.0",
- "merge2": "^1.4.1",
- "slash": "^3.0.0"
- },
"engines": {
- "node": ">=10"
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
+ "engines": {
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/gopd": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
- "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
+ "node_modules/is-potential-custom-element-name": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-regex": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
"engines": {
"node": ">= 0.4"
},
@@ -8743,62 +11700,54 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/graceful-fs": {
- "version": "4.2.11",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
- },
- "node_modules/graphemer": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
- "dev": true
- },
- "node_modules/has-bigints": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
- "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
+ "node_modules/is-set": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
+ "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
"dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
- "peer": true,
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/has-property-descriptors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
- "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
+ "node_modules/is-shared-array-buffer": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz",
+ "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==",
+ "dev": true,
"dependencies": {
- "es-define-property": "^1.0.0"
+ "call-bind": "^1.0.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
},
"funding": {
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/has-proto": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
- "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==",
+ "node_modules/is-stream": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
+ "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=8"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/has-symbols": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
- "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
+ "node_modules/is-string": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
+ "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
"engines": {
"node": ">= 0.4"
},
@@ -8806,13 +11755,13 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/has-tostringtag": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
- "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
+ "node_modules/is-symbol": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
+ "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
"dev": true,
"dependencies": {
- "has-symbols": "^1.0.3"
+ "has-symbols": "^1.0.2"
},
"engines": {
"node": ">= 0.4"
@@ -8821,719 +11770,1051 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/hasown": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
- "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
+ "node_modules/is-typed-array": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz",
+ "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==",
+ "dev": true,
"dependencies": {
- "function-bind": "^1.1.2"
+ "which-typed-array": "^1.1.14"
},
"engines": {
"node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/hast-util-parse-selector": {
- "version": "2.2.5",
- "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz",
- "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ==",
+ "node_modules/is-weakmap": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
+ "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/hast-util-to-jsx-runtime": {
- "version": "2.3.6",
- "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",
- "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",
- "dependencies": {
- "@types/estree": "^1.0.0",
- "@types/hast": "^3.0.0",
- "@types/unist": "^3.0.0",
- "comma-separated-tokens": "^2.0.0",
- "devlop": "^1.0.0",
- "estree-util-is-identifier-name": "^3.0.0",
- "hast-util-whitespace": "^3.0.0",
- "mdast-util-mdx-expression": "^2.0.0",
- "mdast-util-mdx-jsx": "^3.0.0",
- "mdast-util-mdxjs-esm": "^2.0.0",
- "property-information": "^7.0.0",
- "space-separated-tokens": "^2.0.0",
- "style-to-js": "^1.0.0",
- "unist-util-position": "^5.0.0",
- "vfile-message": "^4.0.0"
+ "node_modules/is-weakref": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
+ "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/hast-util-to-jsx-runtime/node_modules/@types/hast": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
- "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
+ "node_modules/is-weakset": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz",
+ "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==",
+ "dev": true,
"dependencies": {
- "@types/unist": "*"
+ "call-bind": "^1.0.7",
+ "get-intrinsic": "^1.2.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/hast-util-to-jsx-runtime/node_modules/@types/unist": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
- "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="
+ "node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
+ "dev": true
},
- "node_modules/hast-util-to-jsx-runtime/node_modules/comma-separated-tokens": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
- "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
+ },
+ "node_modules/istanbul-lib-coverage": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
+ "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/hast-util-to-jsx-runtime/node_modules/property-information": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz",
- "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node_modules/istanbul-lib-instrument": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz",
+ "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@babel/core": "^7.23.9",
+ "@babel/parser": "^7.23.9",
+ "@istanbuljs/schema": "^0.1.3",
+ "istanbul-lib-coverage": "^3.2.0",
+ "semver": "^7.5.4"
+ },
+ "engines": {
+ "node": ">=10"
}
},
- "node_modules/hast-util-to-jsx-runtime/node_modules/space-separated-tokens": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
- "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node_modules/istanbul-lib-report": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
+ "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "istanbul-lib-coverage": "^3.0.0",
+ "make-dir": "^4.0.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
}
},
- "node_modules/hast-util-whitespace": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
- "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "node_modules/istanbul-lib-source-maps": {
+ "version": "5.0.6",
+ "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz",
+ "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==",
+ "dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
- "@types/hast": "^3.0.0"
+ "@jridgewell/trace-mapping": "^0.3.23",
+ "debug": "^4.1.1",
+ "istanbul-lib-coverage": "^3.0.0"
},
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
+ "engines": {
+ "node": ">=10"
}
},
- "node_modules/hast-util-whitespace/node_modules/@types/hast": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
- "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
+ "node_modules/istanbul-reports": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",
+ "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
"dependencies": {
- "@types/unist": "*"
+ "html-escaper": "^2.0.0",
+ "istanbul-lib-report": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
}
},
- "node_modules/hastscript": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-6.0.0.tgz",
- "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==",
+ "node_modules/iterator.prototype": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz",
+ "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==",
+ "dev": true,
"dependencies": {
- "@types/hast": "^2.0.0",
- "comma-separated-tokens": "^1.0.0",
- "hast-util-parse-selector": "^2.0.0",
- "property-information": "^5.0.0",
- "space-separated-tokens": "^1.0.0"
+ "define-properties": "^1.2.1",
+ "get-intrinsic": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "reflect.getprototypeof": "^1.0.4",
+ "set-function-name": "^2.0.1"
+ }
+ },
+ "node_modules/jackspeak": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz",
+ "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==",
+ "dependencies": {
+ "@isaacs/cliui": "^8.0.2"
+ },
+ "engines": {
+ "node": ">=14"
},
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
+ "url": "https://github.com/sponsors/isaacs"
+ },
+ "optionalDependencies": {
+ "@pkgjs/parseargs": "^0.11.0"
}
},
- "node_modules/highlight.js": {
- "version": "10.7.3",
- "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz",
- "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==",
+ "node_modules/jest": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest/-/jest-30.2.0.tgz",
+ "integrity": "sha512-F26gjC0yWN8uAA5m5Ss8ZQf5nDHWGlN/xWZIh8S5SRbsEKBovwZhxGd6LJlbZYxBgCYOtreSUyb8hpXyGC5O4A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/core": "30.2.0",
+ "@jest/types": "30.2.0",
+ "import-local": "^3.2.0",
+ "jest-cli": "30.2.0"
+ },
+ "bin": {
+ "jest": "bin/jest.js"
+ },
"engines": {
- "node": "*"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
+ }
}
},
- "node_modules/hoist-non-react-statics": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
- "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
+ "node_modules/jest-changed-files": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-30.2.0.tgz",
+ "integrity": "sha512-L8lR1ChrRnSdfeOvTrwZMlnWV8G/LLjQ0nG9MBclwWZidA2N5FviRki0Bvh20WRMOX31/JYvzdqTJrk5oBdydQ==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "react-is": "^16.7.0"
+ "execa": "^5.1.1",
+ "jest-util": "30.2.0",
+ "p-limit": "^3.1.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/hoist-non-react-statics/node_modules/react-is": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
- },
- "node_modules/html-url-attributes": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",
- "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",
+ "node_modules/jest-circus": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.2.0.tgz",
+ "integrity": "sha512-Fh0096NC3ZkFx05EP2OXCxJAREVxj1BcW/i6EWqqymcgYKWjyyDpral3fMxVcHXg6oZM7iULer9wGRFvfpl+Tg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "30.2.0",
+ "@jest/expect": "30.2.0",
+ "@jest/test-result": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "chalk": "^4.1.2",
+ "co": "^4.6.0",
+ "dedent": "^1.6.0",
+ "is-generator-fn": "^2.1.0",
+ "jest-each": "30.2.0",
+ "jest-matcher-utils": "30.2.0",
+ "jest-message-util": "30.2.0",
+ "jest-runtime": "30.2.0",
+ "jest-snapshot": "30.2.0",
+ "jest-util": "30.2.0",
+ "p-limit": "^3.1.0",
+ "pretty-format": "30.2.0",
+ "pure-rand": "^7.0.0",
+ "slash": "^3.0.0",
+ "stack-utils": "^2.0.6"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/jest-circus/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
"funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/humanize-ms": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz",
- "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==",
+ "node_modules/jest-circus/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "ms": "^2.0.0"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/ieee754": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
- "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
+ "node_modules/jest-cli": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-30.2.0.tgz",
+ "integrity": "sha512-Os9ukIvADX/A9sLt6Zse3+nmHtHaE6hqOsjQtNiugFTbKRHYIYtZXNGNK9NChseXy7djFPjndX1tL0sCTlfpAA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/core": "30.2.0",
+ "@jest/test-result": "30.2.0",
+ "@jest/types": "30.2.0",
+ "chalk": "^4.1.2",
+ "exit-x": "^0.2.2",
+ "import-local": "^3.2.0",
+ "jest-config": "30.2.0",
+ "jest-util": "30.2.0",
+ "jest-validate": "30.2.0",
+ "yargs": "^17.7.2"
+ },
+ "bin": {
+ "jest": "bin/jest.js"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
}
- ]
+ }
},
- "node_modules/ignore": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz",
- "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==",
+ "node_modules/jest-cli/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 4"
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/import-fresh": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
- "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "node_modules/jest-cli/node_modules/jest-config": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-30.2.0.tgz",
+ "integrity": "sha512-g4WkyzFQVWHtu6uqGmQR4CQxz/CH3yDSlhzXMWzNjDx843gYjReZnMRanjRCq5XZFuQrGDxgUaiYWE8BRfVckA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
+ "@babel/core": "^7.27.4",
+ "@jest/get-type": "30.1.0",
+ "@jest/pattern": "30.0.1",
+ "@jest/test-sequencer": "30.2.0",
+ "@jest/types": "30.2.0",
+ "babel-jest": "30.2.0",
+ "chalk": "^4.1.2",
+ "ci-info": "^4.2.0",
+ "deepmerge": "^4.3.1",
+ "glob": "^10.3.10",
+ "graceful-fs": "^4.2.11",
+ "jest-circus": "30.2.0",
+ "jest-docblock": "30.2.0",
+ "jest-environment-node": "30.2.0",
+ "jest-regex-util": "30.0.1",
+ "jest-resolve": "30.2.0",
+ "jest-runner": "30.2.0",
+ "jest-util": "30.2.0",
+ "jest-validate": "30.2.0",
+ "micromatch": "^4.0.8",
+ "parse-json": "^5.2.0",
+ "pretty-format": "30.2.0",
+ "slash": "^3.0.0",
+ "strip-json-comments": "^3.1.1"
},
"engines": {
- "node": ">=6"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
},
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "peerDependencies": {
+ "@types/node": "*",
+ "esbuild-register": ">=3.4.0",
+ "ts-node": ">=9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "esbuild-register": {
+ "optional": true
+ },
+ "ts-node": {
+ "optional": true
+ }
}
},
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "node_modules/jest-cli/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
"dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
+ },
"engines": {
- "node": ">=0.8.19"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
+ "node_modules/jest-diff": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.2.0.tgz",
+ "integrity": "sha512-dQHFo3Pt4/NLlG5z4PxZ/3yZTZ1C7s9hveiOj+GCN+uT109NC2QgsoVZsVOAvbJ3RgKkvyLGXZV9+piDpWbm6A==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
+ "@jest/diff-sequences": "30.0.1",
+ "@jest/get-type": "30.1.0",
+ "chalk": "^4.1.2",
+ "pretty-format": "30.2.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
- },
- "node_modules/inline-style-parser": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz",
- "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q=="
+ "node_modules/jest-diff/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
},
- "node_modules/internal-slot": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz",
- "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==",
+ "node_modules/jest-diff/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "es-errors": "^1.3.0",
- "hasown": "^2.0.0",
- "side-channel": "^1.0.4"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
},
"engines": {
- "node": ">= 0.4"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/internmap": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
- "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",
+ "node_modules/jest-docblock": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-30.2.0.tgz",
+ "integrity": "sha512-tR/FFgZKS1CXluOQzZvNH3+0z9jXr3ldGSD8bhyuxvlVUwbeLOGynkunvlTMxchC5urrKndYiwCFC0DLVjpOCA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "detect-newline": "^3.1.0"
+ },
"engines": {
- "node": ">=12"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-alphabetical": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-1.0.4.tgz",
- "integrity": "sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node_modules/jest-each": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.2.0.tgz",
+ "integrity": "sha512-lpWlJlM7bCUf1mfmuqTA8+j2lNURW9eNafOy99knBM01i5CQeY5UH1vZjgT9071nDJac1M4XsbyI44oNOdhlDQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/get-type": "30.1.0",
+ "@jest/types": "30.2.0",
+ "chalk": "^4.1.2",
+ "jest-util": "30.2.0",
+ "pretty-format": "30.2.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-alphanumerical": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz",
- "integrity": "sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==",
- "dependencies": {
- "is-alphabetical": "^1.0.0",
- "is-decimal": "^1.0.0"
+ "node_modules/jest-each/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
},
"funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/is-array-buffer": {
- "version": "3.0.4",
- "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz",
- "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==",
+ "node_modules/jest-each/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.2",
- "get-intrinsic": "^1.2.1"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-arrayish": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
- "peer": true
- },
- "node_modules/is-async-function": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.0.0.tgz",
- "integrity": "sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==",
+ "node_modules/jest-environment-jsdom": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-30.2.0.tgz",
+ "integrity": "sha512-zbBTiqr2Vl78pKp/laGBREYzbZx9ZtqPjOK4++lL4BNDhxRnahg51HtoDrk9/VjIy9IthNEWdKVd7H5bqBhiWQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "has-tostringtag": "^1.0.0"
+ "@jest/environment": "30.2.0",
+ "@jest/environment-jsdom-abstract": "30.2.0",
+ "@types/jsdom": "^21.1.7",
+ "@types/node": "*",
+ "jsdom": "^26.1.0"
},
"engines": {
- "node": ">= 0.4"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "peerDependencies": {
+ "canvas": "^3.0.0"
+ },
+ "peerDependenciesMeta": {
+ "canvas": {
+ "optional": true
+ }
}
},
- "node_modules/is-bigint": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
- "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
+ "node_modules/jest-environment-node": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-30.2.0.tgz",
+ "integrity": "sha512-ElU8v92QJ9UrYsKrxDIKCxu6PfNj4Hdcktcn0JX12zqNdqWHB0N+hwOnnBBXvjLd2vApZtuLUGs1QSY+MsXoNA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "has-bigints": "^1.0.1"
+ "@jest/environment": "30.2.0",
+ "@jest/fake-timers": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "jest-mock": "30.2.0",
+ "jest-util": "30.2.0",
+ "jest-validate": "30.2.0"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-binary-path": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
- "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "node_modules/jest-haste-map": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-30.2.0.tgz",
+ "integrity": "sha512-sQA/jCb9kNt+neM0anSj6eZhLZUIhQgwDt7cPGjumgLM4rXsfb9kpnlacmvZz3Q5tb80nS+oG/if+NBKrHC+Xw==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "binary-extensions": "^2.0.0"
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "anymatch": "^3.1.3",
+ "fb-watchman": "^2.0.2",
+ "graceful-fs": "^4.2.11",
+ "jest-regex-util": "30.0.1",
+ "jest-util": "30.2.0",
+ "jest-worker": "30.2.0",
+ "micromatch": "^4.0.8",
+ "walker": "^1.0.8"
},
"engines": {
- "node": ">=8"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "^2.3.3"
}
},
- "node_modules/is-boolean-object": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
- "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
+ "node_modules/jest-leak-detector": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-30.2.0.tgz",
+ "integrity": "sha512-M6jKAjyzjHG0SrQgwhgZGy9hFazcudwCNovY/9HPIicmNSBuockPSedAP9vlPK6ONFJ1zfyH/M2/YYJxOz5cdQ==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
+ "@jest/get-type": "30.1.0",
+ "pretty-format": "30.2.0"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-callable": {
- "version": "1.2.7",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
- "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "node_modules/jest-leak-detector/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/is-core-module": {
- "version": "2.13.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
- "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "node_modules/jest-leak-detector/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "hasown": "^2.0.0"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-data-view": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz",
- "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==",
+ "node_modules/jest-matcher-utils": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.2.0.tgz",
+ "integrity": "sha512-dQ94Nq4dbzmUWkQ0ANAWS9tBRfqCrn0bV9AMYdOi/MHW726xn7eQmMeRTpX2ViC00bpNaWXq+7o4lIQ3AX13Hg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "is-typed-array": "^1.1.13"
+ "@jest/get-type": "30.1.0",
+ "chalk": "^4.1.2",
+ "jest-diff": "30.2.0",
+ "pretty-format": "30.2.0"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-date-object": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
- "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
+ "node_modules/jest-matcher-utils/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
"dev": true,
- "dependencies": {
- "has-tostringtag": "^1.0.0"
- },
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-decimal": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz",
- "integrity": "sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "node_modules/jest-matcher-utils/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
+ },
"engines": {
- "node": ">=0.10.0"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-finalizationregistry": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz",
- "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==",
+ "node_modules/jest-message-util": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-30.2.0.tgz",
+ "integrity": "sha512-y4DKFLZ2y6DxTWD4cDe07RglV88ZiNEdlRfGtqahfbIjfsw1nMCPx49Uev4IA/hWn3sDKyAnSPwoYSsAEdcimw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.2"
+ "@babel/code-frame": "^7.27.1",
+ "@jest/types": "30.2.0",
+ "@types/stack-utils": "^2.0.3",
+ "chalk": "^4.1.2",
+ "graceful-fs": "^4.2.11",
+ "micromatch": "^4.0.8",
+ "pretty-format": "30.2.0",
+ "slash": "^3.0.0",
+ "stack-utils": "^2.0.6"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
"engines": {
- "node": ">=8"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-generator-function": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz",
- "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==",
+ "node_modules/jest-message-util/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
"dev": true,
- "dependencies": {
- "has-tostringtag": "^1.0.0"
- },
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "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==",
+ "node_modules/jest-message-util/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "is-extglob": "^2.1.1"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
},
"engines": {
- "node": ">=0.10.0"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-hexadecimal": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz",
- "integrity": "sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
+ "node_modules/jest-mock": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.2.0.tgz",
+ "integrity": "sha512-JNNNl2rj4b5ICpmAcq+WbLH83XswjPbjH4T7yvGzfAGCPh1rw+xVNbtk+FnRslvt9lkCcdn9i1oAoKUuFsOxRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "jest-util": "30.2.0"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-map": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",
- "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",
+ "node_modules/jest-pnp-resolver": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",
+ "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=6"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "peerDependencies": {
+ "jest-resolve": "*"
+ },
+ "peerDependenciesMeta": {
+ "jest-resolve": {
+ "optional": true
+ }
}
},
- "node_modules/is-negative-zero": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",
- "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",
+ "node_modules/jest-regex-util": {
+ "version": "30.0.1",
+ "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.0.1.tgz",
+ "integrity": "sha512-jHEQgBXAgc+Gh4g0p3bCevgRCVRkB4VB70zhoAE48gxeSr1hfUOsM/C2WoJgVL7Eyg//hudYENbm3Ne+/dRVVA==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.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==",
+ "node_modules/jest-resolve": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-30.2.0.tgz",
+ "integrity": "sha512-TCrHSxPlx3tBY3hWNtRQKbtgLhsXa1WmbJEqBlTBrGafd5fiQFByy2GNCEoGR+Tns8d15GaL9cxEzKOO3GEb2A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "chalk": "^4.1.2",
+ "graceful-fs": "^4.2.11",
+ "jest-haste-map": "30.2.0",
+ "jest-pnp-resolver": "^1.2.3",
+ "jest-util": "30.2.0",
+ "jest-validate": "30.2.0",
+ "slash": "^3.0.0",
+ "unrs-resolver": "^1.7.11"
+ },
"engines": {
- "node": ">=0.12.0"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-number-object": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
- "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
+ "node_modules/jest-resolve-dependencies": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-30.2.0.tgz",
+ "integrity": "sha512-xTOIGug/0RmIe3mmCqCT95yO0vj6JURrn1TKWlNbhiAefJRWINNPgwVkrVgt/YaerPzY3iItufd80v3lOrFJ2w==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "has-tostringtag": "^1.0.0"
+ "jest-regex-util": "30.0.1",
+ "jest-snapshot": "30.2.0"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-path-inside": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
- "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
+ "node_modules/jest-runner": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-30.2.0.tgz",
+ "integrity": "sha512-PqvZ2B2XEyPEbclp+gV6KO/F1FIFSbIwewRgmROCMBo/aZ6J1w8Qypoj2pEOcg3G2HzLlaP6VUtvwCI8dM3oqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/console": "30.2.0",
+ "@jest/environment": "30.2.0",
+ "@jest/test-result": "30.2.0",
+ "@jest/transform": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "chalk": "^4.1.2",
+ "emittery": "^0.13.1",
+ "exit-x": "^0.2.2",
+ "graceful-fs": "^4.2.11",
+ "jest-docblock": "30.2.0",
+ "jest-environment-node": "30.2.0",
+ "jest-haste-map": "30.2.0",
+ "jest-leak-detector": "30.2.0",
+ "jest-message-util": "30.2.0",
+ "jest-resolve": "30.2.0",
+ "jest-runtime": "30.2.0",
+ "jest-util": "30.2.0",
+ "jest-watcher": "30.2.0",
+ "jest-worker": "30.2.0",
+ "p-limit": "^3.1.0",
+ "source-map-support": "0.5.13"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/jest-runtime": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-30.2.0.tgz",
+ "integrity": "sha512-p1+GVX/PJqTucvsmERPMgCPvQJpFt4hFbM+VN3n8TMo47decMUcJbt+rgzwrEme0MQUA/R+1de2axftTHkKckg==",
"dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jest/environment": "30.2.0",
+ "@jest/fake-timers": "30.2.0",
+ "@jest/globals": "30.2.0",
+ "@jest/source-map": "30.0.1",
+ "@jest/test-result": "30.2.0",
+ "@jest/transform": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "chalk": "^4.1.2",
+ "cjs-module-lexer": "^2.1.0",
+ "collect-v8-coverage": "^1.0.2",
+ "glob": "^10.3.10",
+ "graceful-fs": "^4.2.11",
+ "jest-haste-map": "30.2.0",
+ "jest-message-util": "30.2.0",
+ "jest-mock": "30.2.0",
+ "jest-regex-util": "30.0.1",
+ "jest-resolve": "30.2.0",
+ "jest-snapshot": "30.2.0",
+ "jest-util": "30.2.0",
+ "slash": "^3.0.0",
+ "strip-bom": "^4.0.0"
+ },
"engines": {
- "node": ">=8"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-plain-obj": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
- "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
+ "node_modules/jest-runtime/node_modules/strip-bom": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
+ "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
+ "dev": true,
+ "license": "MIT",
"engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": ">=8"
}
},
- "node_modules/is-regex": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
- "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
+ "node_modules/jest-snapshot": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-30.2.0.tgz",
+ "integrity": "sha512-5WEtTy2jXPFypadKNpbNkZ72puZCa6UjSr/7djeecHWOu7iYhSXSnHScT8wBz3Rn8Ena5d5RYRcsyKIeqG1IyA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.2",
- "has-tostringtag": "^1.0.0"
+ "@babel/core": "^7.27.4",
+ "@babel/generator": "^7.27.5",
+ "@babel/plugin-syntax-jsx": "^7.27.1",
+ "@babel/plugin-syntax-typescript": "^7.27.1",
+ "@babel/types": "^7.27.3",
+ "@jest/expect-utils": "30.2.0",
+ "@jest/get-type": "30.1.0",
+ "@jest/snapshot-utils": "30.2.0",
+ "@jest/transform": "30.2.0",
+ "@jest/types": "30.2.0",
+ "babel-preset-current-node-syntax": "^1.2.0",
+ "chalk": "^4.1.2",
+ "expect": "30.2.0",
+ "graceful-fs": "^4.2.11",
+ "jest-diff": "30.2.0",
+ "jest-matcher-utils": "30.2.0",
+ "jest-message-util": "30.2.0",
+ "jest-util": "30.2.0",
+ "pretty-format": "30.2.0",
+ "semver": "^7.7.2",
+ "synckit": "^0.11.8"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-set": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",
- "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",
+ "node_modules/jest-snapshot/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/is-shared-array-buffer": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz",
- "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==",
+ "node_modules/jest-snapshot/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.7"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-string": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
- "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
+ "node_modules/jest-util": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.2.0.tgz",
+ "integrity": "sha512-QKNsM0o3Xe6ISQU869e+DhG+4CK/48aHYdJZGlFQVTjnbvgpcKyxpzk29fGiO7i/J8VENZ+d2iGnSsvmuHywlA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "has-tostringtag": "^1.0.0"
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "chalk": "^4.1.2",
+ "ci-info": "^4.2.0",
+ "graceful-fs": "^4.2.11",
+ "picomatch": "^4.0.2"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-symbol": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
- "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
+ "node_modules/jest-util/node_modules/picomatch": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"dev": true,
- "dependencies": {
- "has-symbols": "^1.0.2"
- },
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=12"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sponsors/jonschlinkert"
}
},
- "node_modules/is-typed-array": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz",
- "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==",
+ "node_modules/jest-validate": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-30.2.0.tgz",
+ "integrity": "sha512-FBGWi7dP2hpdi8nBoWxSsLvBFewKAg0+uSQwBaof4Y4DPgBabXgpSYC5/lR7VmnIlSpASmCi/ntRWPbv7089Pw==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "which-typed-array": "^1.1.14"
+ "@jest/get-type": "30.1.0",
+ "@jest/types": "30.2.0",
+ "camelcase": "^6.3.0",
+ "chalk": "^4.1.2",
+ "leven": "^3.1.0",
+ "pretty-format": "30.2.0"
},
"engines": {
- "node": ">= 0.4"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
+ }
+ },
+ "node_modules/jest-validate/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/is-weakmap": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",
- "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",
+ "node_modules/jest-validate/node_modules/camelcase": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
+ "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
"dev": true,
+ "license": "MIT",
"engines": {
- "node": ">= 0.4"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/is-weakref": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
- "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",
+ "node_modules/jest-validate/node_modules/pretty-format": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.2.0.tgz",
+ "integrity": "sha512-9uBdv/B4EefsuAL+pWqueZyZS2Ba+LxfFeQ9DN14HU4bN8bhaxKdkpjpB6fs9+pSjIBu+FXQHImEg8j/Lw0+vA==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.2"
+ "@jest/schemas": "30.0.5",
+ "ansi-styles": "^5.2.0",
+ "react-is": "^18.3.1"
},
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/is-weakset": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz",
- "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==",
+ "node_modules/jest-watcher": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-30.2.0.tgz",
+ "integrity": "sha512-PYxa28dxJ9g777pGm/7PrbnMeA0Jr7osHP9bS7eJy9DuAjMgdGtxgf0uKMyoIsTWAkIbUW5hSDdJ3urmgXBqxg==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "call-bind": "^1.0.7",
- "get-intrinsic": "^1.2.4"
+ "@jest/test-result": "30.2.0",
+ "@jest/types": "30.2.0",
+ "@types/node": "*",
+ "ansi-escapes": "^4.3.2",
+ "chalk": "^4.1.2",
+ "emittery": "^0.13.1",
+ "jest-util": "30.2.0",
+ "string-length": "^4.0.2"
},
"engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/isarray": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
- "dev": true
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="
- },
- "node_modules/iterator.prototype": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz",
- "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==",
+ "node_modules/jest-worker": {
+ "version": "30.2.0",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-30.2.0.tgz",
+ "integrity": "sha512-0Q4Uk8WF7BUwqXHuAjc23vmopWJw5WH7w2tqBoUOZpOjW/ZnR44GXXd1r82RvnmI2GZge3ivrYXk/BE2+VtW2g==",
"dev": true,
+ "license": "MIT",
"dependencies": {
- "define-properties": "^1.2.1",
- "get-intrinsic": "^1.2.1",
- "has-symbols": "^1.0.3",
- "reflect.getprototypeof": "^1.0.4",
- "set-function-name": "^2.0.1"
+ "@types/node": "*",
+ "@ungap/structured-clone": "^1.3.0",
+ "jest-util": "30.2.0",
+ "merge-stream": "^2.0.0",
+ "supports-color": "^8.1.1"
+ },
+ "engines": {
+ "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
}
},
- "node_modules/jackspeak": {
- "version": "2.3.6",
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz",
- "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==",
+ "node_modules/jest-worker/node_modules/supports-color": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz",
+ "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==",
+ "dev": true,
+ "license": "MIT",
"dependencies": {
- "@isaacs/cliui": "^8.0.2"
+ "has-flag": "^4.0.0"
},
"engines": {
- "node": ">=14"
+ "node": ">=10"
},
"funding": {
- "url": "https://github.com/sponsors/isaacs"
- },
- "optionalDependencies": {
- "@pkgjs/parseargs": "^0.11.0"
+ "url": "https://github.com/chalk/supports-color?sponsor=1"
}
},
"node_modules/jiti": {
@@ -9582,16 +12863,93 @@
"js-yaml": "bin/js-yaml.js"
}
},
+ "node_modules/jsdom": {
+ "version": "26.1.0",
+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-26.1.0.tgz",
+ "integrity": "sha512-Cvc9WUhxSMEo4McES3P7oK3QaXldCfNWp7pl2NNeiIFlCoLr3kfq9kb1fxftiwk1FLV7CvpvDfonxtzUDeSOPg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssstyle": "^4.2.1",
+ "data-urls": "^5.0.0",
+ "decimal.js": "^10.5.0",
+ "html-encoding-sniffer": "^4.0.0",
+ "http-proxy-agent": "^7.0.2",
+ "https-proxy-agent": "^7.0.6",
+ "is-potential-custom-element-name": "^1.0.1",
+ "nwsapi": "^2.2.16",
+ "parse5": "^7.2.1",
+ "rrweb-cssom": "^0.8.0",
+ "saxes": "^6.0.0",
+ "symbol-tree": "^3.2.4",
+ "tough-cookie": "^5.1.1",
+ "w3c-xmlserializer": "^5.0.0",
+ "webidl-conversions": "^7.0.0",
+ "whatwg-encoding": "^3.1.1",
+ "whatwg-mimetype": "^4.0.0",
+ "whatwg-url": "^14.1.1",
+ "ws": "^8.18.0",
+ "xml-name-validator": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "canvas": "^3.0.0"
+ },
+ "peerDependenciesMeta": {
+ "canvas": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/jsdom/node_modules/tr46": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/tr46/-/tr46-5.1.1.tgz",
+ "integrity": "sha512-hdF5ZgjTqgAntKkklYw0R03MG2x/bSzTtkxmIRw/sTNV8YXsCJ1tfLAX23lhxhHJlEf3CRCOCGGWw3vI3GaSPw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "punycode": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/jsdom/node_modules/webidl-conversions": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz",
+ "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/jsdom/node_modules/whatwg-url": {
+ "version": "14.2.0",
+ "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz",
+ "integrity": "sha512-De72GdQZzNTUBBChsXueQUnPKDkg/5A5zp7pFDuQAj5UFoENpiACU0wlCvzpAGnTkj++ihpKwKyYewn/XNUbKw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tr46": "^5.1.0",
+ "webidl-conversions": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/jsesc": {
- "version": "2.5.2",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "peer": true,
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+ "license": "MIT",
"bin": {
"jsesc": "bin/jsesc"
},
"engines": {
- "node": ">=4"
+ "node": ">=6"
}
},
"node_modules/json-buffer": {
@@ -9603,8 +12961,7 @@
"node_modules/json-parse-even-better-errors": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
- "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
- "peer": true
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
},
"node_modules/json-schema": {
"version": "0.4.0",
@@ -9678,6 +13035,16 @@
"node": ">=0.10"
}
},
+ "node_modules/leven": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
+ "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/levn": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
@@ -9783,6 +13150,43 @@
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
+ "node_modules/lz-string": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.5.0.tgz",
+ "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==",
+ "dev": true,
+ "license": "MIT",
+ "peer": true,
+ "bin": {
+ "lz-string": "bin/bin.js"
+ }
+ },
+ "node_modules/make-dir": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
+ "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "semver": "^7.5.3"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/makeerror": {
+ "version": "1.0.12",
+ "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
+ "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tmpl": "1.0.5"
+ }
+ },
"node_modules/math-intrinsics": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
@@ -10069,6 +13473,13 @@
"resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-5.2.1.tgz",
"integrity": "sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q=="
},
+ "node_modules/merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/merge2": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
@@ -10499,9 +13910,10 @@
]
},
"node_modules/micromatch": {
- "version": "4.0.7",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz",
- "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==",
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "license": "MIT",
"dependencies": {
"braces": "^3.0.3",
"picomatch": "^2.3.1"
@@ -10529,6 +13941,26 @@
"node": ">= 0.6"
}
},
+ "node_modules/mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/min-indent": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz",
+ "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/minimatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
@@ -10604,6 +14036,22 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
+ "node_modules/napi-postinstall": {
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz",
+ "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "napi-postinstall": "lib/cli.js"
+ },
+ "engines": {
+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/napi-postinstall"
+ }
+ },
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -10767,11 +14215,19 @@
}
}
},
+ "node_modules/node-int64": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
+ "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/node-releases": {
- "version": "2.0.14",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz",
- "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==",
- "dev": true
+ "version": "2.0.27",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz",
+ "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==",
+ "dev": true,
+ "license": "MIT"
},
"node_modules/normalize-path": {
"version": "3.0.0",
@@ -10790,6 +14246,26 @@
"node": ">=0.10.0"
}
},
+ "node_modules/npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/nwsapi": {
+ "version": "2.2.23",
+ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.23.tgz",
+ "integrity": "sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/oauth": {
"version": "0.9.15",
"resolved": "https://registry.npmjs.org/oauth/-/oauth-0.9.15.tgz",
@@ -10943,6 +14419,22 @@
"wrappy": "1"
}
},
+ "node_modules/onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mimic-fn": "^2.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/openai": {
"version": "4.50.0",
"resolved": "https://registry.npmjs.org/openai/-/openai-4.50.0.tgz",
@@ -11030,6 +14522,16 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
@@ -11062,7 +14564,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
- "peer": true,
"dependencies": {
"@babel/code-frame": "^7.0.0",
"error-ex": "^1.3.1",
@@ -11076,6 +14577,19 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/parse5": {
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.3.0.tgz",
+ "integrity": "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "entities": "^6.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
"node_modules/path-exists": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
@@ -11139,9 +14653,10 @@
}
},
"node_modules/picocolors": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz",
- "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew=="
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "license": "ISC"
},
"node_modules/picomatch": {
"version": "2.3.1",
@@ -11163,13 +14678,83 @@
}
},
"node_modules/pirates": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
- "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "license": "MIT",
"engines": {
"node": ">= 6"
}
},
+ "node_modules/pkg-dir": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "find-up": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pkg-dir/node_modules/find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pkg-dir/node_modules/locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^4.1.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/pkg-dir/node_modules/p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-try": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/pkg-dir/node_modules/p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/possible-typed-array-names": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz",
@@ -11457,6 +15042,23 @@
"node": ">=6"
}
},
+ "node_modules/pure-rand": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-7.0.1.tgz",
+ "integrity": "sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/dubzzz"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ ],
+ "license": "MIT"
+ },
"node_modules/qs": {
"version": "6.11.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.11.2.tgz",
@@ -11596,8 +15198,7 @@
"node_modules/react-is": {
"version": "18.3.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
- "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==",
- "peer": true
+ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg=="
},
"node_modules/react-markdown": {
"version": "10.1.0",
@@ -11865,6 +15466,20 @@
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
},
+ "node_modules/redent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz",
+ "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "indent-string": "^4.0.0",
+ "strip-indent": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/redux": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/redux/-/redux-4.2.1.tgz",
@@ -11978,6 +15593,16 @@
"@types/unist": "*"
}
},
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
+ "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
@@ -11999,6 +15624,29 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/resolve-cwd": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
+ "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "resolve-from": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/resolve-cwd/node_modules/resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
@@ -12062,6 +15710,13 @@
"url": "https://github.com/sponsors/isaacs"
}
},
+ "node_modules/rrweb-cssom": {
+ "version": "0.8.0",
+ "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.8.0.tgz",
+ "integrity": "sha512-guoltQEx+9aMf2gDZ0s62EcV8lsXR+0w8915TC3ITdn2YueuNjdAYh/levpU9nFaoChh9RUS5ZdQMrKfVEN9tw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/run-parallel": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
@@ -12138,6 +15793,26 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/saxes": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/saxes/-/saxes-6.0.0.tgz",
+ "integrity": "sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "xmlchars": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=v12.22.7"
+ }
+ },
"node_modules/scheduler": {
"version": "0.23.2",
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
@@ -12313,6 +15988,27 @@
"node": ">=0.10.0"
}
},
+ "node_modules/source-map-support": {
+ "version": "0.5.13",
+ "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz",
+ "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/source-map-support/node_modules/source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/space-separated-tokens": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz",
@@ -12322,6 +16018,13 @@
"url": "https://github.com/sponsors/wooorm"
}
},
+ "node_modules/sprintf-js": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
+ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
+ "dev": true,
+ "license": "BSD-3-Clause"
+ },
"node_modules/sqlstring": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.3.tgz",
@@ -12330,6 +16033,29 @@
"node": ">= 0.6"
}
},
+ "node_modules/stack-utils": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
+ "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "escape-string-regexp": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/stack-utils/node_modules/escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/state-local": {
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/state-local/-/state-local-1.0.7.tgz",
@@ -12351,6 +16077,20 @@
"safe-buffer": "~5.2.0"
}
},
+ "node_modules/string-length": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
+ "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "char-regex": "^1.0.2",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/string-width": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
@@ -12540,6 +16280,29 @@
"node": ">=4"
}
},
+ "node_modules/strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/strip-indent": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz",
+ "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "min-indent": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/strip-json-comments": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
@@ -12623,15 +16386,16 @@
}
},
"node_modules/supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "peer": true,
+ "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": "^3.0.0"
+ "has-flag": "^4.0.0"
},
"engines": {
- "node": ">=4"
+ "node": ">=8"
}
},
"node_modules/supports-preserve-symlinks-flag": {
@@ -12645,6 +16409,29 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/symbol-tree": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/synckit": {
+ "version": "0.11.12",
+ "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.12.tgz",
+ "integrity": "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@pkgr/core": "^0.2.9"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/synckit"
+ }
+ },
"node_modules/tailwind-merge": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.3.0.tgz",
@@ -12718,6 +16505,43 @@
"node": ">=6"
}
},
+ "node_modules/test-exclude": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
+ "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@istanbuljs/schema": "^0.1.2",
+ "glob": "^7.1.4",
+ "minimatch": "^3.0.4"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/test-exclude/node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
@@ -12753,15 +16577,33 @@
"resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
"integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg=="
},
- "node_modules/to-fast-properties": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==",
- "peer": true,
- "engines": {
- "node": ">=4"
+ "node_modules/tldts": {
+ "version": "6.1.86",
+ "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.86.tgz",
+ "integrity": "sha512-WMi/OQ2axVTf/ykqCQgXiIct+mSQDFdH2fkwhPwgEwvJ1kSzZRiinb0zF2Xb8u4+OqPChmyI6MEu4EezNJz+FQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tldts-core": "^6.1.86"
+ },
+ "bin": {
+ "tldts": "bin/cli.js"
}
},
+ "node_modules/tldts-core": {
+ "version": "6.1.86",
+ "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.86.tgz",
+ "integrity": "sha512-Je6p7pkk+KMzMv2XXKmAE3McmolOQFdxkKw0R8EYNr7sELW46JqnNeTX8ybPiQgvg1ymCoF8LXs5fzFaZvJPTA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tmpl": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
+ "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
+ "dev": true,
+ "license": "BSD-3-Clause"
+ },
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -12778,6 +16620,19 @@
"resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz",
"integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ=="
},
+ "node_modules/tough-cookie": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.1.2.tgz",
+ "integrity": "sha512-FVDYdxtnj0G6Qm/DhNPSb8Ju59ULcup3tuJxkFb5K8Bv2pUXILbf0xZWU8PX8Ov19OXljbUyveOFwRMwkXzO+A==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tldts": "^6.1.32"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
"node_modules/tr46": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
@@ -12847,6 +16702,16 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/type-detect": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
+ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/type-fest": {
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
@@ -13076,10 +16941,45 @@
"resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
"integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="
},
+ "node_modules/unrs-resolver": {
+ "version": "1.11.1",
+ "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.11.1.tgz",
+ "integrity": "sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "dependencies": {
+ "napi-postinstall": "^0.3.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/unrs-resolver"
+ },
+ "optionalDependencies": {
+ "@unrs/resolver-binding-android-arm-eabi": "1.11.1",
+ "@unrs/resolver-binding-android-arm64": "1.11.1",
+ "@unrs/resolver-binding-darwin-arm64": "1.11.1",
+ "@unrs/resolver-binding-darwin-x64": "1.11.1",
+ "@unrs/resolver-binding-freebsd-x64": "1.11.1",
+ "@unrs/resolver-binding-linux-arm-gnueabihf": "1.11.1",
+ "@unrs/resolver-binding-linux-arm-musleabihf": "1.11.1",
+ "@unrs/resolver-binding-linux-arm64-gnu": "1.11.1",
+ "@unrs/resolver-binding-linux-arm64-musl": "1.11.1",
+ "@unrs/resolver-binding-linux-ppc64-gnu": "1.11.1",
+ "@unrs/resolver-binding-linux-riscv64-gnu": "1.11.1",
+ "@unrs/resolver-binding-linux-riscv64-musl": "1.11.1",
+ "@unrs/resolver-binding-linux-s390x-gnu": "1.11.1",
+ "@unrs/resolver-binding-linux-x64-gnu": "1.11.1",
+ "@unrs/resolver-binding-linux-x64-musl": "1.11.1",
+ "@unrs/resolver-binding-wasm32-wasi": "1.11.1",
+ "@unrs/resolver-binding-win32-arm64-msvc": "1.11.1",
+ "@unrs/resolver-binding-win32-ia32-msvc": "1.11.1",
+ "@unrs/resolver-binding-win32-x64-msvc": "1.11.1"
+ }
+ },
"node_modules/update-browserslist-db": {
- "version": "1.0.16",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz",
- "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==",
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
"dev": true,
"funding": [
{
@@ -13095,9 +16995,10 @@
"url": "https://github.com/sponsors/ai"
}
],
+ "license": "MIT",
"dependencies": {
- "escalade": "^3.1.2",
- "picocolors": "^1.0.1"
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
},
"bin": {
"update-browserslist-db": "cli.js"
@@ -13184,6 +17085,28 @@
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
},
+ "node_modules/v8-to-istanbul": {
+ "version": "9.3.0",
+ "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz",
+ "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.12",
+ "@types/istanbul-lib-coverage": "^2.0.1",
+ "convert-source-map": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10.12.0"
+ }
+ },
+ "node_modules/v8-to-istanbul/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/vfile": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",
@@ -13241,6 +17164,29 @@
"d3-timer": "^3.0.1"
}
},
+ "node_modules/w3c-xmlserializer": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz",
+ "integrity": "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "xml-name-validator": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/walker": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
+ "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "makeerror": "1.0.12"
+ }
+ },
"node_modules/web-streams-polyfill": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz",
@@ -13259,6 +17205,30 @@
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
},
+ "node_modules/whatwg-encoding": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz",
+ "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==",
+ "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "iconv-lite": "0.6.3"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/whatwg-mimetype": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz",
+ "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
@@ -13403,36 +17373,6 @@
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
}
},
- "node_modules/wrap-ansi-cjs/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==",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/wrap-ansi-cjs/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==",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/wrap-ansi-cjs/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=="
- },
"node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
@@ -13493,6 +17433,59 @@
"integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
"dev": true
},
+ "node_modules/write-file-atomic": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz",
+ "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "imurmurhash": "^0.1.4",
+ "signal-exit": "^4.0.1"
+ },
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
+ "node_modules/ws": {
+ "version": "8.19.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz",
+ "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/xml-name-validator": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-5.0.0.tgz",
+ "integrity": "sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/xmlchars": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/xtend": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
@@ -13501,6 +17494,16 @@
"node": ">=0.4"
}
},
+ "node_modules/y18n": {
+ "version": "5.0.8",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
@@ -13515,6 +17518,57 @@
"node": ">= 6"
}
},
+ "node_modules/yargs": {
+ "version": "17.7.2",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
+ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cliui": "^8.0.1",
+ "escalade": "^3.1.1",
+ "get-caller-file": "^2.0.5",
+ "require-directory": "^2.1.1",
+ "string-width": "^4.2.3",
+ "y18n": "^5.0.5",
+ "yargs-parser": "^21.1.1"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yargs-parser": {
+ "version": "21.1.1",
+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
+ "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yargs/node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/yargs/node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/yocto-queue": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
diff --git a/src/client/package.json b/src/client/package.json
index d3de7c5d..8c9607fd 100644
--- a/src/client/package.json
+++ b/src/client/package.json
@@ -7,7 +7,10 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
- "seed": "npx prisma db seed"
+ "seed": "npx prisma db seed",
+ "test": "jest",
+ "test:watch": "jest --watch",
+ "test:coverage": "jest --coverage"
},
"dependencies": {
"@ai-sdk/anthropic": "^3.0.6",
@@ -82,6 +85,9 @@
"zustand": "^4.5.2"
},
"devDependencies": {
+ "@testing-library/jest-dom": "^6.9.1",
+ "@testing-library/react": "^16.3.2",
+ "@types/jest": "^30.0.0",
"@types/lodash": "^4.17.5",
"@types/mustache": "^4.2.6",
"@types/node": "^20.14.2",
@@ -94,6 +100,8 @@
"autoprefixer": "^10.0.1",
"eslint": "^8.57.0",
"eslint-config-next": "^14.1.4",
+ "jest": "^30.2.0",
+ "jest-environment-jsdom": "^30.2.0",
"postcss": "^8",
"prisma": "^5.15.0",
"tailwindcss": "^3.4.4",
diff --git a/src/client/src/__tests__/constants/documentation-links.test.ts b/src/client/src/__tests__/constants/documentation-links.test.ts
new file mode 100644
index 00000000..94ddb91f
--- /dev/null
+++ b/src/client/src/__tests__/constants/documentation-links.test.ts
@@ -0,0 +1,53 @@
+import DOCUMENTATION_LINKS from '@/constants/documentation-links';
+
+describe('DOCUMENTATION_LINKS', () => {
+ it('is an object', () => {
+ expect(typeof DOCUMENTATION_LINKS).toBe('object');
+ expect(DOCUMENTATION_LINKS).not.toBeNull();
+ });
+
+ it('has all expected keys', () => {
+ const expectedKeys = [
+ 'promptHub',
+ 'openground',
+ 'vault',
+ 'multipleDb',
+ 'anonymousTelemetry',
+ 'apiReference',
+ 'promptHubApiReference',
+ 'vaultApiReference',
+ ];
+ expectedKeys.forEach((key) => {
+ expect(DOCUMENTATION_LINKS).toHaveProperty(key);
+ });
+ });
+
+ it('all values are non-empty strings', () => {
+ Object.values(DOCUMENTATION_LINKS).forEach((value) => {
+ expect(typeof value).toBe('string');
+ expect(value.length).toBeGreaterThan(0);
+ });
+ });
+
+ it('all values are valid HTTPS URLs', () => {
+ Object.values(DOCUMENTATION_LINKS).forEach((value) => {
+ expect(value).toMatch(/^https:\/\//);
+ });
+ });
+
+ it('promptHub points to the prompt-hub docs', () => {
+ expect(DOCUMENTATION_LINKS.promptHub).toContain('prompt-hub');
+ });
+
+ it('openground points to the openground docs', () => {
+ expect(DOCUMENTATION_LINKS.openground).toContain('openground');
+ });
+
+ it('vault points to the vault docs', () => {
+ expect(DOCUMENTATION_LINKS.vault).toContain('vault');
+ });
+
+ it('apiReference points to the api-reference docs', () => {
+ expect(DOCUMENTATION_LINKS.apiReference).toContain('api-reference');
+ });
+});
diff --git a/src/client/src/__tests__/constants/evaluation.test.ts b/src/client/src/__tests__/constants/evaluation.test.ts
new file mode 100644
index 00000000..a11d131e
--- /dev/null
+++ b/src/client/src/__tests__/constants/evaluation.test.ts
@@ -0,0 +1,62 @@
+import { SUPPORTED_PROVIDERS, SUPPORTED_MODELS } from '@/constants/evaluation';
+
+describe('SUPPORTED_PROVIDERS', () => {
+ it('is an array', () => {
+ expect(Array.isArray(SUPPORTED_PROVIDERS)).toBe(true);
+ });
+
+ it('has at least one provider', () => {
+ expect(SUPPORTED_PROVIDERS.length).toBeGreaterThan(0);
+ });
+
+ it('includes "openai"', () => {
+ expect(SUPPORTED_PROVIDERS).toContain('openai');
+ });
+
+ it('includes "anthropic"', () => {
+ expect(SUPPORTED_PROVIDERS).toContain('anthropic');
+ });
+
+ it('includes "mistral"', () => {
+ expect(SUPPORTED_PROVIDERS).toContain('mistral');
+ });
+
+ it('all values are non-empty strings', () => {
+ SUPPORTED_PROVIDERS.forEach((p) => {
+ expect(typeof p).toBe('string');
+ expect(p.length).toBeGreaterThan(0);
+ });
+ });
+});
+
+describe('SUPPORTED_MODELS', () => {
+ it('is an object', () => {
+ expect(typeof SUPPORTED_MODELS).toBe('object');
+ expect(SUPPORTED_MODELS).not.toBeNull();
+ });
+
+ it('has a models array for each supported provider', () => {
+ SUPPORTED_PROVIDERS.forEach((provider) => {
+ const models = (SUPPORTED_MODELS as Record<string, string[]>)[provider];
+ expect(Array.isArray(models)).toBe(true);
+ expect(models.length).toBeGreaterThan(0);
+ });
+ });
+
+ it('openai models include gpt-4o', () => {
+ expect(SUPPORTED_MODELS.openai).toContain('gpt-4o');
+ });
+
+ it('anthropic models include claude-3-5-sonnet', () => {
+ expect(SUPPORTED_MODELS.anthropic).toContain('claude-3-5-sonnet');
+ });
+
+ it('all model values are non-empty strings', () => {
+ Object.values(SUPPORTED_MODELS).forEach((models) => {
+ models.forEach((model) => {
+ expect(typeof model).toBe('string');
+ expect(model.length).toBeGreaterThan(0);
+ });
+ });
+ });
+});
diff --git a/src/client/src/__tests__/constants/misc.test.ts b/src/client/src/__tests__/constants/misc.test.ts
new file mode 100644
index 00000000..ddcda87c
--- /dev/null
+++ b/src/client/src/__tests__/constants/misc.test.ts
@@ -0,0 +1,35 @@
+import { getChartColors } from '@/constants/chart-colors';
+import { PRIMARY_BACKGROUND } from '@/constants/common-classes';
+
+describe('getChartColors', () => {
+ it('returns array of requested length', () => {
+ const colors = getChartColors(3);
+ expect(colors).toHaveLength(3);
+ });
+
+ it('returns strings (color class names)', () => {
+ const colors = getChartColors(5);
+ colors.forEach((c) => expect(typeof c).toBe('string'));
+ });
+
+ it('returns empty array for length 0', () => {
+ const colors = getChartColors(0);
+ expect(colors).toHaveLength(0);
+ });
+
+ it('returns at most 11 colors (max available)', () => {
+ const colors = getChartColors(20);
+ expect(colors.length).toBeLessThanOrEqual(11);
+ });
+});
+
+describe('PRIMARY_BACKGROUND', () => {
+ it('is a non-empty string', () => {
+ expect(typeof PRIMARY_BACKGROUND).toBe('string');
+ expect(PRIMARY_BACKGROUND.length).toBeGreaterThan(0);
+ });
+
+ it('contains dark mode class', () => {
+ expect(PRIMARY_BACKGROUND).toContain('dark:');
+ });
+});
diff --git a/src/client/src/__tests__/constants/openground.test.ts b/src/client/src/__tests__/constants/openground.test.ts
new file mode 100644
index 00000000..882d8ab3
--- /dev/null
+++ b/src/client/src/__tests__/constants/openground.test.ts
@@ -0,0 +1,69 @@
+import { providersConfig } from '@/constants/openground';
+
+describe('providersConfig', () => {
+ it('is an object with provider entries', () => {
+ expect(typeof providersConfig).toBe('object');
+ expect(Object.keys(providersConfig).length).toBeGreaterThan(0);
+ });
+
+ it('includes openai, anthropic, cohere, mistral, google providers', () => {
+ const keys = Object.keys(providersConfig);
+ expect(keys).toContain('openai');
+ expect(keys).toContain('anthropic');
+ expect(keys).toContain('cohere');
+ expect(keys).toContain('mistral');
+ expect(keys).toContain('google');
+ });
+
+ it('each provider has required fields', () => {
+ Object.values(providersConfig).forEach((provider) => {
+ expect(provider).toHaveProperty('key');
+ expect(provider).toHaveProperty('title');
+ expect(provider).toHaveProperty('config');
+ expect(typeof provider.key).toBe('string');
+ expect(typeof provider.title).toBe('string');
+ expect(Array.isArray(provider.config)).toBe(true);
+ });
+ });
+
+ it('each provider config item has a key and type', () => {
+ Object.values(providersConfig).forEach((provider) => {
+ provider.config.forEach((item: any) => {
+ expect(item).toHaveProperty('key');
+ expect(item).toHaveProperty('type');
+ expect(typeof item.key).toBe('string');
+ expect(typeof item.type).toBe('string');
+ });
+ });
+ });
+
+ it('openai provider has api_key and model config items', () => {
+ const configKeys = providersConfig.openai.config.map((c: any) => c.key);
+ expect(configKeys).toContain('api_key');
+ expect(configKeys).toContain('model');
+ });
+
+ it('openai model config has options array', () => {
+ const modelConfig = providersConfig.openai.config.find((c: any) => c.key === 'model');
+ expect(Array.isArray((modelConfig as any)?.options)).toBe(true);
+ expect((modelConfig as any)?.options.length).toBeGreaterThan(0);
+ });
+
+ it('anthropic default model is claude-3-opus', () => {
+ const modelConfig = providersConfig.anthropic.config.find((c: any) => c.key === 'model');
+ expect((modelConfig as any)?.defaultValue).toContain('claude-3-opus');
+ });
+
+ it('slider configs have limits', () => {
+ Object.values(providersConfig).forEach((provider) => {
+ provider.config
+ .filter((c: any) => c.type === 'slider')
+ .forEach((slider: any) => {
+ expect(slider).toHaveProperty('limits');
+ expect(slider.limits).toHaveProperty('min');
+ expect(slider.limits).toHaveProperty('max');
+ expect(slider.limits).toHaveProperty('step');
+ });
+ });
+ });
+});
diff --git a/src/client/src/__tests__/constants/posthog.test.ts b/src/client/src/__tests__/constants/posthog.test.ts
new file mode 100644
index 00000000..b90093da
--- /dev/null
+++ b/src/client/src/__tests__/constants/posthog.test.ts
@@ -0,0 +1,13 @@
+import { POSTHOG_API_KEY, POSTHOG_API_HOST } from '@/constants/posthog';
+
+describe('posthog constants', () => {
+ it('exports a non-empty POSTHOG_API_KEY', () => {
+ expect(typeof POSTHOG_API_KEY).toBe('string');
+ expect(POSTHOG_API_KEY.length).toBeGreaterThan(0);
+ });
+
+ it('exports a valid POSTHOG_API_HOST URL', () => {
+ expect(typeof POSTHOG_API_HOST).toBe('string');
+ expect(POSTHOG_API_HOST).toContain('posthog.com');
+ });
+});
diff --git a/src/client/src/__tests__/constants/route.test.ts b/src/client/src/__tests__/constants/route.test.ts
new file mode 100644
index 00000000..1230500d
--- /dev/null
+++ b/src/client/src/__tests__/constants/route.test.ts
@@ -0,0 +1,93 @@
+import {
+ DEFAULT_LOGGED_IN_ROUTE,
+ ALLOWED_OPENLIT_ROUTES_WITHOUT_TOKEN,
+ CRON_JOB_ROUTES,
+ ONBOARDING_WHITELIST_ROUTES,
+ ONBOARDING_WHITELIST_API_ROUTES,
+ RESTRICTED_DEMO_ACCOUNT_ROUTES,
+} from '@/constants/route';
+
+describe('DEFAULT_LOGGED_IN_ROUTE', () => {
+ it('is the /home route', () => {
+ expect(DEFAULT_LOGGED_IN_ROUTE).toBe('/home');
+ });
+});
+
+describe('ALLOWED_OPENLIT_ROUTES_WITHOUT_TOKEN', () => {
+ it('is an array', () => {
+ expect(Array.isArray(ALLOWED_OPENLIT_ROUTES_WITHOUT_TOKEN)).toBe(true);
+ });
+
+ it('includes the prompt get-compiled route', () => {
+ expect(ALLOWED_OPENLIT_ROUTES_WITHOUT_TOKEN).toContain('/api/prompt/get-compiled');
+ });
+
+ it('includes the vault get-secrets route', () => {
+ expect(ALLOWED_OPENLIT_ROUTES_WITHOUT_TOKEN).toContain('/api/vault/get-secrets');
+ });
+});
+
+describe('CRON_JOB_ROUTES', () => {
+ it('is an array', () => {
+ expect(Array.isArray(CRON_JOB_ROUTES)).toBe(true);
+ });
+
+ it('includes the evaluation auto route', () => {
+ expect(CRON_JOB_ROUTES).toContain('/api/evaluation/auto');
+ });
+});
+
+describe('ONBOARDING_WHITELIST_ROUTES', () => {
+ it('is an array', () => {
+ expect(Array.isArray(ONBOARDING_WHITELIST_ROUTES)).toBe(true);
+ });
+
+ it('includes the /onboarding route', () => {
+ expect(ONBOARDING_WHITELIST_ROUTES).toContain('/onboarding');
+ });
+});
+
+describe('ONBOARDING_WHITELIST_API_ROUTES', () => {
+ it('has exact and prefix keys', () => {
+ expect(ONBOARDING_WHITELIST_API_ROUTES).toHaveProperty('exact');
+ expect(ONBOARDING_WHITELIST_API_ROUTES).toHaveProperty('prefix');
+ });
+
+ it('exact.GET includes /api/organisation', () => {
+ expect(ONBOARDING_WHITELIST_API_ROUTES.exact.GET).toContain('/api/organisation');
+ });
+
+ it('exact.POST includes /api/organisation', () => {
+ expect(ONBOARDING_WHITELIST_API_ROUTES.exact.POST).toContain('/api/organisation');
+ });
+
+ it('prefix.POST includes /api/organisation/current/', () => {
+ expect(ONBOARDING_WHITELIST_API_ROUTES.prefix.POST).toContain('/api/organisation/current/');
+ });
+
+ it('prefix.DELETE includes /api/organisation/invitation/', () => {
+ expect(ONBOARDING_WHITELIST_API_ROUTES.prefix.DELETE).toContain('/api/organisation/invitation/');
+ });
+});
+
+describe('RESTRICTED_DEMO_ACCOUNT_ROUTES', () => {
+ it('is an object', () => {
+ expect(typeof RESTRICTED_DEMO_ACCOUNT_ROUTES).toBe('object');
+ });
+
+ it('has POST, PUT, and DELETE keys', () => {
+ expect(RESTRICTED_DEMO_ACCOUNT_ROUTES).toHaveProperty('POST');
+ expect(RESTRICTED_DEMO_ACCOUNT_ROUTES).toHaveProperty('PUT');
+ expect(RESTRICTED_DEMO_ACCOUNT_ROUTES).toHaveProperty('DELETE');
+ });
+
+ it('POST restricts /api/db-config and /api/user/profile', () => {
+ expect(RESTRICTED_DEMO_ACCOUNT_ROUTES.POST).toContain('/api/db-config');
+ expect(RESTRICTED_DEMO_ACCOUNT_ROUTES.POST).toContain('/api/user/profile');
+ });
+
+ it('DELETE restricts /api/vault and /api/prompt-hub', () => {
+ expect(RESTRICTED_DEMO_ACCOUNT_ROUTES.DELETE).toContain('/api/vault');
+ expect(RESTRICTED_DEMO_ACCOUNT_ROUTES.DELETE).toContain('/api/prompt-hub');
+ });
+});
diff --git a/src/client/src/__tests__/constants/traces.test.ts b/src/client/src/__tests__/constants/traces.test.ts
new file mode 100644
index 00000000..1fc99c70
--- /dev/null
+++ b/src/client/src/__tests__/constants/traces.test.ts
@@ -0,0 +1,101 @@
+import {
+ TraceMapping,
+ ReverseTraceMapping,
+ SPAN_KIND,
+ SUPPORTED_EVALUATION_OPERATIONS,
+} from '@/constants/traces';
+
+describe('TraceMapping', () => {
+ it('is a non-empty object', () => {
+ expect(typeof TraceMapping).toBe('object');
+ expect(Object.keys(TraceMapping).length).toBeGreaterThan(0);
+ });
+
+ it('each entry has a label and type', () => {
+ Object.values(TraceMapping).forEach((entry) => {
+ expect(entry).toHaveProperty('label');
+ expect(entry).toHaveProperty('type');
+ });
+ });
+
+ it('each entry has a path (string or array)', () => {
+ Object.values(TraceMapping).forEach((entry) => {
+ const isString = typeof entry.path === 'string';
+ const isArray = Array.isArray(entry.path);
+ expect(isString || isArray).toBe(true);
+ });
+ });
+
+ it('has a "time" key with path "Timestamp" and isRoot true', () => {
+ expect(TraceMapping.time.path).toBe('Timestamp');
+ expect(TraceMapping.time.isRoot).toBe(true);
+ });
+
+ it('has a "provider" key with prefix "gen_ai"', () => {
+ expect(TraceMapping.provider.prefix).toBe('gen_ai');
+ expect(TraceMapping.provider.path).toBe('system');
+ });
+
+ it('has a "model" key with prefix "gen_ai" and path "request.model"', () => {
+ expect(TraceMapping.model.prefix).toBe('gen_ai');
+ expect(TraceMapping.model.path).toBe('request.model');
+ });
+
+ it('has a "prompt" key with an array path', () => {
+ expect(Array.isArray(TraceMapping.prompt.path)).toBe(true);
+ });
+
+ it('has a "cost" key with valuePrefix "$"', () => {
+ expect((TraceMapping.cost as any).valuePrefix).toBe('$');
+ });
+
+ it('has "operation" key with prefix "db"', () => {
+ expect(TraceMapping.operation.prefix).toBe('db');
+ });
+});
+
+describe('ReverseTraceMapping', () => {
+ it('is a non-empty object', () => {
+ expect(typeof ReverseTraceMapping).toBe('object');
+ expect(Object.keys(ReverseTraceMapping).length).toBeGreaterThan(0);
+ });
+
+ it('maps "Timestamp" back to "time"', () => {
+ expect(ReverseTraceMapping['Timestamp']).toBe('time');
+ });
+
+ it('maps "system" (gen_ai.system → key "system") back to a TraceMapping key', () => {
+ // The reverse mapping uses the path value as key
+ expect(ReverseTraceMapping['system']).toBeDefined();
+ });
+
+ it('all values are valid keys in TraceMapping', () => {
+ Object.values(ReverseTraceMapping).forEach((key) => {
+ expect(TraceMapping).toHaveProperty(key);
+ });
+ });
+});
+
+describe('SPAN_KIND', () => {
+ it('has SPAN_KIND_INTERNAL', () => {
+ expect(SPAN_KIND.SPAN_KIND_INTERNAL).toBe('SPAN_KIND_INTERNAL');
+ });
+
+ it('has SPAN_KIND_CLIENT', () => {
+ expect(SPAN_KIND.SPAN_KIND_CLIENT).toBe('SPAN_KIND_CLIENT');
+ });
+
+ it('has exactly 2 entries', () => {
+ expect(Object.keys(SPAN_KIND)).toHaveLength(2);
+ });
+});
+
+describe('SUPPORTED_EVALUATION_OPERATIONS', () => {
+ it('is an array', () => {
+ expect(Array.isArray(SUPPORTED_EVALUATION_OPERATIONS)).toBe(true);
+ });
+
+ it('includes "chat"', () => {
+ expect(SUPPORTED_EVALUATION_OPERATIONS).toContain('chat');
+ });
+});
diff --git a/src/client/src/__tests__/helpers/client/database-config.test.ts b/src/client/src/__tests__/helpers/client/database-config.test.ts
new file mode 100644
index 00000000..5aa5d447
--- /dev/null
+++ b/src/client/src/__tests__/helpers/client/database-config.test.ts
@@ -0,0 +1,166 @@
+jest.mock('@/store', () => ({
+ useRootStore: { getState: jest.fn() },
+}));
+jest.mock('@/utils/api', () => ({
+ getData: jest.fn(),
+ deleteData: jest.fn(),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('sonner', () => ({
+ toast: { error: jest.fn(), success: jest.fn() },
+}));
+
+import {
+ fetchDatabaseConfigList,
+ pingActiveDatabaseConfig,
+ changeActiveDatabaseConfig,
+ deleteDatabaseConfig,
+} from '@/helpers/client/database-config';
+import { useRootStore } from '@/store';
+import { getData, deleteData } from '@/utils/api';
+import asaw from '@/utils/asaw';
+import { toast } from 'sonner';
+
+const mockSetIsLoading = jest.fn();
+const mockSetList = jest.fn();
+const mockSetPing = jest.fn();
+
+const makeGetState = (list: any[] = []) => ({
+ databaseConfig: {
+ setIsLoading: mockSetIsLoading,
+ setList: mockSetList,
+ setPing: mockSetPing,
+ list,
+ },
+});
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (useRootStore.getState as jest.Mock).mockReturnValue(makeGetState());
+});
+
+describe('fetchDatabaseConfigList', () => {
+ it('sets loading, fetches list, calls successCb, and updates store', async () => {
+ const data = [{ id: 'db1', name: 'Primary' }];
+ (asaw as jest.Mock).mockResolvedValue([null, data]);
+ const successCb = jest.fn();
+
+ await fetchDatabaseConfigList(successCb);
+
+ expect(mockSetIsLoading).toHaveBeenCalledWith(true);
+ expect(getData).toHaveBeenCalledWith({ method: 'GET', url: '/api/db-config' });
+ expect(successCb).toHaveBeenCalledWith(data);
+ expect(mockSetList).toHaveBeenCalledWith(data);
+ });
+
+ it('calls successCb with empty array on error', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, null]);
+ const successCb = jest.fn();
+ await fetchDatabaseConfigList(successCb);
+ expect(successCb).toHaveBeenCalledWith([]);
+ });
+});
+
+describe('pingActiveDatabaseConfig', () => {
+ it('sets ping to pending then success on ok response', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, null]);
+
+ await pingActiveDatabaseConfig();
+
+ expect(mockSetPing).toHaveBeenNthCalledWith(1, { error: undefined, status: 'pending' });
+ expect(mockSetPing).toHaveBeenNthCalledWith(2, { error: undefined, status: 'success' });
+ });
+
+ it('sets ping to failure when there is an error', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Connection refused', null]);
+
+ await pingActiveDatabaseConfig();
+
+ expect(mockSetPing).toHaveBeenLastCalledWith({
+ error: 'Connection refused',
+ status: 'failure',
+ });
+ });
+
+ it('uses data.err as error when no top-level err', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, { err: 'DB error' }]);
+
+ await pingActiveDatabaseConfig();
+
+ expect(mockSetPing).toHaveBeenLastCalledWith({
+ error: 'DB error',
+ status: 'failure',
+ });
+ });
+});
+
+describe('changeActiveDatabaseConfig', () => {
+ it('calls successCb and updates list on success', async () => {
+ const list = [
+ { id: 'db1', isCurrent: false },
+ { id: 'db2', isCurrent: false },
+ ];
+ (useRootStore.getState as jest.Mock).mockReturnValue(makeGetState(list));
+ (asaw as jest.Mock).mockResolvedValue([null, {}]);
+ const successCb = jest.fn();
+
+ await changeActiveDatabaseConfig('db1', successCb);
+
+ expect(successCb).toHaveBeenCalled();
+ expect(mockSetList).toHaveBeenCalledWith([
+ { id: 'db1', isCurrent: true },
+ { id: 'db2', isCurrent: false },
+ ]);
+ expect(toast.success).toHaveBeenCalled();
+ });
+
+ it('shows error toast and returns early on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ const successCb = jest.fn();
+
+ await changeActiveDatabaseConfig('db1', successCb);
+
+ expect(toast.error).toHaveBeenCalled();
+ expect(successCb).not.toHaveBeenCalled();
+ });
+
+ it('shows error toast when data.err is set (err is null)', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, { err: 'Db config error from response' }]);
+ const successCb = jest.fn();
+
+ await changeActiveDatabaseConfig('db1', successCb);
+
+ expect(toast.error).toHaveBeenCalled();
+ expect(successCb).not.toHaveBeenCalled();
+ });
+});
+
+describe('deleteDatabaseConfig', () => {
+ it('removes the deleted config from store list', async () => {
+ const list = [{ id: 'db1' }, { id: 'db2' }];
+ (useRootStore.getState as jest.Mock).mockReturnValue(makeGetState(list));
+ (asaw as jest.Mock).mockResolvedValue([null, {}]);
+
+ await deleteDatabaseConfig('db1');
+
+ expect(mockSetList).toHaveBeenCalledWith([{ id: 'db2' }]);
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Delete failed', null]);
+
+ await deleteDatabaseConfig('db1');
+
+ expect(toast.error).toHaveBeenCalled();
+ expect(mockSetList).not.toHaveBeenCalled();
+ });
+
+ it('shows error toast when data.err is set (err is null)', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, { err: 'Delete conflict' }]);
+
+ await deleteDatabaseConfig('db1');
+
+ expect(toast.error).toHaveBeenCalled();
+ expect(mockSetList).not.toHaveBeenCalled();
+ });
+});
diff --git a/src/client/src/__tests__/helpers/client/filter.test.ts b/src/client/src/__tests__/helpers/client/filter.test.ts
new file mode 100644
index 00000000..d0346f28
--- /dev/null
+++ b/src/client/src/__tests__/helpers/client/filter.test.ts
@@ -0,0 +1,50 @@
+import { getFilterParamsForDashboard } from '@/helpers/client/filter';
+
+const baseFilter = {
+ timeLimit: { type: '24H', start: new Date('2024-01-01'), end: new Date('2024-01-02') },
+ limit: 25,
+ offset: 0,
+ selectedConfig: { models: ['gpt-4'] },
+ sorting: { type: 'Timestamp', direction: 'desc' as const },
+ refreshRate: '1m' as const,
+};
+
+describe('getFilterParamsForDashboard', () => {
+ it('omits limit from the result', () => {
+ const result = getFilterParamsForDashboard(baseFilter);
+ expect(result).not.toHaveProperty('limit');
+ });
+
+ it('omits offset from the result', () => {
+ const result = getFilterParamsForDashboard(baseFilter);
+ expect(result).not.toHaveProperty('offset');
+ });
+
+ it('omits selectedConfig from the result', () => {
+ const result = getFilterParamsForDashboard(baseFilter);
+ expect(result).not.toHaveProperty('selectedConfig');
+ });
+
+ it('omits sorting from the result', () => {
+ const result = getFilterParamsForDashboard(baseFilter);
+ expect(result).not.toHaveProperty('sorting');
+ });
+
+ it('omits refreshRate from the result', () => {
+ const result = getFilterParamsForDashboard(baseFilter);
+ expect(result).not.toHaveProperty('refreshRate');
+ });
+
+ it('preserves timeLimit in the result', () => {
+ const result = getFilterParamsForDashboard(baseFilter);
+ expect(result).toHaveProperty('timeLimit');
+ expect(result.timeLimit).toEqual(baseFilter.timeLimit);
+ });
+
+ it('does not mutate the original filter', () => {
+ const original = { ...baseFilter };
+ getFilterParamsForDashboard(baseFilter);
+ expect(baseFilter.limit).toBe(original.limit);
+ expect(baseFilter.offset).toBe(original.offset);
+ });
+});
diff --git a/src/client/src/__tests__/helpers/client/fleet-hub.test.ts b/src/client/src/__tests__/helpers/client/fleet-hub.test.ts
new file mode 100644
index 00000000..7589729e
--- /dev/null
+++ b/src/client/src/__tests__/helpers/client/fleet-hub.test.ts
@@ -0,0 +1,43 @@
+import { getAttributeValue } from '@/helpers/client/fleet-hub';
+
+const makeAgent = (attributes: { key: string; value: any }[]) => ({
+ identityAttributes: attributes,
+});
+
+describe('getAttributeValue', () => {
+ it('returns the StringValue for a matching attribute key', () => {
+ const agent = makeAgent([
+ { key: 'service.name', value: { Value: { StringValue: 'my-service' } } },
+ { key: 'host.arch', value: { Value: { StringValue: 'amd64' } } },
+ ]);
+ const result = getAttributeValue(agent as any, 'identityAttributes', 'service.name');
+ expect(result).toBe('my-service');
+ });
+
+ it('returns the default value when key is not found', () => {
+ const agent = makeAgent([
+ { key: 'host.arch', value: { Value: { StringValue: 'amd64' } } },
+ ]);
+ const result = getAttributeValue(agent as any, 'identityAttributes', 'missing.key');
+ expect(result).toBe('N/A');
+ });
+
+ it('uses a custom default value when key is not found', () => {
+ const agent = makeAgent([]);
+ const result = getAttributeValue(
+ agent as any,
+ 'identityAttributes',
+ 'missing.key',
+ 'unknown'
+ );
+ expect(result).toBe('unknown');
+ });
+
+ it('returns value from the correct nested path', () => {
+ const agent = {
+ customPath: [{ key: 'env', value: { Value: { StringValue: 'production' } } }],
+ };
+ const result = getAttributeValue(agent as any, 'customPath', 'env');
+ expect(result).toBe('production');
+ });
+});
diff --git a/src/client/src/__tests__/helpers/client/organisation.test.ts b/src/client/src/__tests__/helpers/client/organisation.test.ts
new file mode 100644
index 00000000..1f1141f0
--- /dev/null
+++ b/src/client/src/__tests__/helpers/client/organisation.test.ts
@@ -0,0 +1,385 @@
+jest.mock('@/store', () => ({
+ useRootStore: {
+ getState: jest.fn(),
+ },
+}));
+jest.mock('@/utils/api', () => ({
+ getData: jest.fn(),
+ postData: jest.fn(),
+ deleteData: jest.fn(),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('sonner', () => ({
+ toast: { error: jest.fn(), success: jest.fn(), warning: jest.fn() },
+}));
+jest.mock('posthog-js', () => ({
+ capture: jest.fn(),
+ default: { capture: jest.fn() },
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ ORGANISATION_SWITCH_FAILED: 'Switch failed',
+ ORGANISATION_SWITCHED: 'Switched!',
+ ORGANISATION_CREATE_FAILED: 'Create failed',
+ ORGANISATION_CREATED: 'Created!',
+ ORGANISATION_UPDATE_FAILED: 'Update failed',
+ ORGANISATION_UPDATED: 'Updated!',
+ ORGANISATION_DELETE_FAILED: 'Delete failed',
+ ORGANISATION_DELETED: 'Deleted!',
+ INVITATION_FAILED: 'Invite failed',
+ INVITATIONS_SENT: 'Invitations sent!',
+ INVITATIONS_PARTIAL_SUCCESS: '{success} sent, {fail} failed',
+ INVITATION_ACCEPTED: 'Invitation accepted!',
+ INVITATION_ACCEPT_FAILED: 'Accept failed',
+ INVITATION_DECLINED: 'Invitation declined!',
+ INVITATION_DECLINE_FAILED: 'Decline failed',
+ INVITATION_CANCEL_FAILED: 'Cancel failed',
+ INVITATION_CANCELLED: 'Invitation cancelled!',
+ MEMBER_REMOVED: 'Member removed!',
+ MEMBER_ROLE_UPDATED: 'Role updated!',
+ MEMBER_ROLE_UPDATE_FAILED: 'Role update failed',
+ SOME_ERROR_OCCURRED: 'Error occurred',
+ })),
+}));
+jest.mock('@/helpers/client/database-config', () => ({
+ fetchDatabaseConfigList: jest.fn().mockResolvedValue(undefined),
+ pingActiveDatabaseConfig: jest.fn().mockResolvedValue(undefined),
+}));
+
+import {
+ fetchOrganisationList,
+ fetchPendingInvitations,
+ changeActiveOrganisation,
+ createOrganisation,
+ updateOrganisation,
+ deleteOrganisation,
+ inviteToOrganisation,
+ acceptInvitation,
+ declineInvitation,
+ removeOrganisationMember,
+ cancelOrganisationInvitation,
+ updateMemberRole,
+} from '@/helpers/client/organisation';
+import { useRootStore } from '@/store';
+import { getData, postData, deleteData } from '@/utils/api';
+import asaw from '@/utils/asaw';
+import { toast } from 'sonner';
+
+const mockSetIsLoading = jest.fn();
+const mockSetList = jest.fn();
+const mockSetCurrent = jest.fn();
+const mockSetPendingInvitations = jest.fn();
+
+const makeGetState = (list: any[] = []) => ({
+ organisation: {
+ setIsLoading: mockSetIsLoading,
+ setList: mockSetList,
+ setCurrent: mockSetCurrent,
+ setPendingInvitations: mockSetPendingInvitations,
+ list,
+ },
+ databaseConfig: {
+ setIsLoading: jest.fn(),
+ setList: jest.fn(),
+ setPing: jest.fn(),
+ list: [],
+ },
+});
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (useRootStore.getState as jest.Mock).mockReturnValue(makeGetState());
+});
+
+describe('fetchOrganisationList', () => {
+ it('sets loading, fetches list, and updates store', async () => {
+ const orgList = [{ id: 'org-1', name: 'Test Org' }];
+ (asaw as jest.Mock).mockResolvedValue([null, orgList]);
+
+ await fetchOrganisationList();
+
+ expect(mockSetIsLoading).toHaveBeenCalledWith(true);
+ expect(getData).toHaveBeenCalledWith({ url: '/api/organisation', method: 'GET' });
+ expect(mockSetList).toHaveBeenCalledWith(orgList);
+ });
+
+ it('stops loading and returns on error', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Network error', null]);
+
+ await fetchOrganisationList();
+
+ expect(mockSetIsLoading).toHaveBeenCalledWith(false);
+ expect(mockSetList).not.toHaveBeenCalled();
+ });
+});
+
+describe('fetchPendingInvitations', () => {
+ it('fetches and sets pending invitations', async () => {
+ const invitations = [{ id: 'inv-1' }];
+ (asaw as jest.Mock).mockResolvedValue([null, invitations]);
+
+ await fetchPendingInvitations();
+
+ expect(getData).toHaveBeenCalledWith({ url: '/api/organisation/invitation', method: 'GET' });
+ expect(mockSetPendingInvitations).toHaveBeenCalledWith(invitations);
+ });
+
+ it('does not set invitations on error', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await fetchPendingInvitations();
+ expect(mockSetPendingInvitations).not.toHaveBeenCalled();
+ });
+});
+
+describe('changeActiveOrganisation', () => {
+ it('updates current org and shows success toast', async () => {
+ const orgList = [{ id: 'org-1', isCurrent: false }, { id: 'org-2', isCurrent: true }];
+ (useRootStore.getState as jest.Mock).mockReturnValue(makeGetState(orgList));
+ (asaw as jest.Mock).mockResolvedValue([null, {}]);
+ const successCb = jest.fn();
+
+ await changeActiveOrganisation('org-1', successCb);
+
+ expect(mockSetCurrent).toHaveBeenCalledWith(orgList[0]);
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast and returns early on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Failed', null]);
+ const successCb = jest.fn();
+
+ await changeActiveOrganisation('org-1', successCb);
+
+ expect(toast.error).toHaveBeenCalled();
+ expect(successCb).not.toHaveBeenCalled();
+ });
+
+ it('shows error toast when data.err is set', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, { err: 'Permission denied' }]);
+ await changeActiveOrganisation('org-1');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('createOrganisation', () => {
+ it('creates org and calls successCb', async () => {
+ const newOrg = { id: 'org-new', name: 'New Org' };
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, newOrg]) // createOrganisation
+ .mockResolvedValueOnce([null, [newOrg]]); // fetchOrganisationList
+ (useRootStore.getState as jest.Mock).mockReturnValue(
+ makeGetState([newOrg])
+ );
+ const successCb = jest.fn();
+
+ await createOrganisation('New Org', successCb);
+
+ expect(postData).toHaveBeenCalledWith({ url: '/api/organisation', data: { name: 'New Org' } });
+ expect(toast.success).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Create error', null]);
+ const result = await createOrganisation('Test');
+ expect(toast.error).toHaveBeenCalled();
+ expect(result).toBeNull();
+ });
+});
+
+describe('updateOrganisation', () => {
+ it('calls API and shows success toast', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, {}]) // update
+ .mockResolvedValueOnce([null, []]); // fetchOrganisationList
+ const successCb = jest.fn();
+
+ await updateOrganisation('org-1', 'Updated Name', successCb);
+
+ expect(getData).toHaveBeenCalledWith(
+ expect.objectContaining({ url: '/api/organisation/org-1', method: 'PUT' })
+ );
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await updateOrganisation('org-1', 'Name');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('deleteOrganisation', () => {
+ it('calls delete API and shows success toast', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, {}]) // delete
+ .mockResolvedValueOnce([null, []]); // fetchOrganisationList
+ const successCb = jest.fn();
+
+ await deleteOrganisation('org-1', successCb);
+
+ expect(deleteData).toHaveBeenCalledWith({ url: '/api/organisation/org-1' });
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await deleteOrganisation('org-1');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('inviteToOrganisation', () => {
+ it('shows success toast when all invitations succeed', async () => {
+ const results = [{ email: '[email protected]', result: 'ok' }];
+ (asaw as jest.Mock).mockResolvedValue([null, results]);
+ const successCb = jest.fn();
+
+ await inviteToOrganisation('org-1', ['[email protected]'], successCb);
+
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast when all invitations fail', async () => {
+ const results = [{ email: '[email protected]', error: 'User not found' }];
+ (asaw as jest.Mock).mockResolvedValue([null, results]);
+ const successCb = jest.fn();
+
+ await inviteToOrganisation('org-1', ['[email protected]'], successCb);
+
+ expect(toast.error).toHaveBeenCalled();
+ expect(successCb).not.toHaveBeenCalled();
+ });
+
+ it('shows warning toast for partial success', async () => {
+ const results = [
+ { email: '[email protected]', result: 'ok' },
+ { email: '[email protected]', error: 'Not found' },
+ ];
+ (asaw as jest.Mock).mockResolvedValue([null, results]);
+ const successCb = jest.fn();
+
+ await inviteToOrganisation('org-1', ['[email protected]', '[email protected]'], successCb);
+
+ expect(toast.warning).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on network error', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Network error', null]);
+ await inviteToOrganisation('org-1', ['[email protected]']);
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('acceptInvitation', () => {
+ it('accepts invitation and calls successCb', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, {}]) // accept
+ .mockResolvedValueOnce([null, []]) // fetchOrganisationList
+ .mockResolvedValueOnce([null, []]); // fetchPendingInvitations
+ const successCb = jest.fn();
+
+ await acceptInvitation('inv-1', successCb);
+
+ expect(postData).toHaveBeenCalledWith(
+ expect.objectContaining({ url: '/api/organisation/invitation/inv-1' })
+ );
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await acceptInvitation('inv-1');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('declineInvitation', () => {
+ it('declines invitation and calls successCb', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, {}]) // decline
+ .mockResolvedValueOnce([null, []]); // fetchPendingInvitations
+ const successCb = jest.fn();
+
+ await declineInvitation('inv-1', successCb);
+
+ expect(deleteData).toHaveBeenCalledWith({ url: '/api/organisation/invitation/inv-1' });
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await declineInvitation('inv-1');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('removeOrganisationMember', () => {
+ it('removes member and calls successCb', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, {}]);
+ const successCb = jest.fn();
+
+ await removeOrganisationMember('org-1', 'user-1', successCb);
+
+ expect(deleteData).toHaveBeenCalledWith({
+ url: '/api/organisation/org-1/members/user-1',
+ });
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await removeOrganisationMember('org-1', 'user-1');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('cancelOrganisationInvitation', () => {
+ it('cancels invitation and calls successCb', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, {}]);
+ const successCb = jest.fn();
+
+ await cancelOrganisationInvitation('inv-1', successCb);
+
+ expect(deleteData).toHaveBeenCalledWith({
+ url: '/api/organisation/invitation/inv-1?cancel=true',
+ });
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await cancelOrganisationInvitation('inv-1');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
+
+describe('updateMemberRole', () => {
+ it('updates role and calls successCb', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, {}]);
+ const successCb = jest.fn();
+
+ await updateMemberRole('org-1', 'user-1', 'admin', successCb);
+
+ expect(getData).toHaveBeenCalledWith(
+ expect.objectContaining({ url: '/api/organisation/org-1/members/user-1', method: 'PATCH' })
+ );
+ expect(toast.success).toHaveBeenCalled();
+ expect(successCb).toHaveBeenCalled();
+ });
+
+ it('shows error toast on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Error', null]);
+ await updateMemberRole('org-1', 'user-1', 'admin');
+ expect(toast.error).toHaveBeenCalled();
+ });
+});
diff --git a/src/client/src/__tests__/helpers/client/trace.test.ts b/src/client/src/__tests__/helpers/client/trace.test.ts
new file mode 100644
index 00000000..19b6baa3
--- /dev/null
+++ b/src/client/src/__tests__/helpers/client/trace.test.ts
@@ -0,0 +1,363 @@
+import {
+ integerParser,
+ floatParser,
+ getTraceMappingKeyFullPath,
+ getExtraTabsContentTypes,
+ getNormalizedTraceAttribute,
+ normalizeTrace,
+ findSpanInHierarchyLodash,
+ getSpanDurationDisplay,
+ getSpanCostFormatted,
+ getSpanTooltipText,
+} from '@/helpers/client/trace';
+import { TraceMapping } from '@/constants/traces';
+
+describe('integerParser', () => {
+ it('parses a string integer', () => {
+ expect(integerParser('42')).toBe(42);
+ });
+
+ it('returns 0 for empty string', () => {
+ expect(integerParser('')).toBe(0);
+ });
+
+ it('applies offset multiplier', () => {
+ expect(integerParser('5', 10)).toBe(50);
+ });
+
+ it('truncates decimals', () => {
+ expect(integerParser('3.9')).toBe(3);
+ });
+
+ it('handles undefined/null by treating as 0', () => {
+ expect(integerParser(undefined as any)).toBe(0);
+ });
+});
+
+describe('floatParser', () => {
+ it('parses a string float', () => {
+ expect(floatParser('3.14')).toBeCloseTo(3.14);
+ });
+
+ it('returns 0 for empty string', () => {
+ expect(floatParser('')).toBe(0);
+ });
+
+ it('applies offset multiplier', () => {
+ expect(floatParser('2.5', 2)).toBeCloseTo(5.0);
+ });
+
+ it('handles undefined/null by treating as 0', () => {
+ expect(floatParser(undefined as any)).toBe(0);
+ });
+});
+
+// Keys with array prefix/path added at runtime to cover dead-code-looking branches
+const ARRAY_PREFIX_KEY = '_test_array_prefix' as any;
+const ARRAY_PATH_WITH_PREFIX_KEY = '_test_array_path_prefix' as any;
+
+describe('getTraceMappingKeyFullPath', () => {
+ it('returns the path string for a root key with no prefix', () => {
+ // 'time' has path: "Timestamp", isRoot: true, no prefix
+ const result = getTraceMappingKeyFullPath('time');
+ expect(result).toBe('Timestamp');
+ });
+
+ it('returns joined dot-path for a prefixed key', () => {
+ // 'provider' has path: "system", prefix: "gen_ai"
+ const result = getTraceMappingKeyFullPath('provider');
+ expect(result).toBe('gen_ai.system');
+ });
+
+ it('joins array paths with dots when no prefix', () => {
+ // 'prompt' has path: ["Events.Attributes", "0", "gen_ai.prompt"], isRoot: true
+ const result = getTraceMappingKeyFullPath('prompt');
+ expect(result).toBe('Events.Attributes.0.gen_ai.prompt');
+ });
+
+ it('returns array when shouldReturnArray is true for prefixed key', () => {
+ // 'model' has path: "request.model", prefix: "gen_ai"
+ const result = getTraceMappingKeyFullPath('model', true);
+ expect(Array.isArray(result)).toBe(true);
+ const arr = result as string[];
+ expect(arr[0]).toBe('gen_ai');
+ expect(arr[1]).toBe('request.model');
+ });
+
+ it('returns path as-is for array path with shouldReturnArray true and no prefix', () => {
+ // 'prompt' has array path, no prefix
+ const result = getTraceMappingKeyFullPath('prompt', true);
+ expect(Array.isArray(result)).toBe(true);
+ });
+
+ describe('array prefix and path branches (runtime-patched TraceMapping)', () => {
+ beforeAll(() => {
+ (TraceMapping as any)[ARRAY_PREFIX_KEY] = {
+ prefix: ['gen_ai', 'extra'],
+ path: 'value',
+ label: 'Test',
+ type: 'string',
+ isRoot: false,
+ };
+ (TraceMapping as any)[ARRAY_PATH_WITH_PREFIX_KEY] = {
+ prefix: 'gen_ai',
+ path: ['request', 'model'],
+ label: 'Test2',
+ type: 'string',
+ isRoot: false,
+ };
+ });
+
+ afterAll(() => {
+ delete (TraceMapping as any)[ARRAY_PREFIX_KEY];
+ delete (TraceMapping as any)[ARRAY_PATH_WITH_PREFIX_KEY];
+ });
+
+ it('handles array prefix with shouldReturnArray=true (covers lines 81-82)', () => {
+ const result = getTraceMappingKeyFullPath(ARRAY_PREFIX_KEY, true);
+ expect(Array.isArray(result)).toBe(true);
+ const arr = result as string[];
+ expect(arr).toContain('gen_ai');
+ expect(arr).toContain('extra');
+ expect(arr).toContain('value');
+ });
+
+ it('handles array prefix with shouldReturnArray=false (covers lines 96-97)', () => {
+ const result = getTraceMappingKeyFullPath(ARRAY_PREFIX_KEY);
+ expect(typeof result).toBe('string');
+ expect(result as string).toBe('gen_ai.extra.value');
+ });
+
+ it('handles string prefix with array path and shouldReturnArray=true (covers lines 87-88)', () => {
+ const result = getTraceMappingKeyFullPath(ARRAY_PATH_WITH_PREFIX_KEY, true);
+ expect(Array.isArray(result)).toBe(true);
+ const arr = result as string[];
+ expect(arr).toContain('gen_ai');
+ expect(arr).toContain('request');
+ expect(arr).toContain('model');
+ });
+
+ it('handles string prefix with array path and shouldReturnArray=false (covers lines 102-106)', () => {
+ const result = getTraceMappingKeyFullPath(ARRAY_PATH_WITH_PREFIX_KEY);
+ expect(typeof result).toBe('string');
+ expect(result as string).toBe('gen_ai.request.model');
+ });
+ });
+});
+
+describe('getExtraTabsContentTypes', () => {
+ it('returns ["Evaluation"] for chat operation type', () => {
+ const trace = { type: 'chat' } as any;
+ expect(getExtraTabsContentTypes(trace)).toContain('Evaluation');
+ });
+
+ it('returns empty array for unsupported operation types', () => {
+ const trace = { type: 'embedding' } as any;
+ expect(getExtraTabsContentTypes(trace)).toEqual([]);
+ });
+
+ it('returns empty array when type is undefined', () => {
+ const trace = {} as any;
+ expect(getExtraTabsContentTypes(trace)).toEqual([]);
+ });
+});
+
+describe('getNormalizedTraceAttribute', () => {
+ it('parses integer type attributes', () => {
+ // promptTokens has type: "integer"
+ const result = getNormalizedTraceAttribute('promptTokens', '100');
+ expect(result).toBe(100);
+ });
+
+ it('parses float type attributes', () => {
+ // requestDuration has type: "float" with offset: 10e-10
+ const result = getNormalizedTraceAttribute('requestDuration', '1.5');
+ expect(typeof result).toBe('string');
+ // result is (1.5 * 10e-10).toFixed(10) — a small number string
+ expect(parseFloat(result as string)).toBeGreaterThanOrEqual(0);
+ });
+
+ it('parses round type attributes', () => {
+ // cost has type: "round"
+ const result = getNormalizedTraceAttribute('cost', 0.0012345);
+ expect(typeof result).toBe('string');
+ });
+
+ it('parses date type attributes', () => {
+ // time has type: "date"
+ const result = getNormalizedTraceAttribute('time', '2024-01-15T10:30:00.000Z');
+ expect(typeof result).toBe('string');
+ expect(result as string).toContain('2024');
+ });
+
+ it('appends Z suffix when date string does not end with Z (covers line 36)', () => {
+ // date without Z suffix — the "Z" branch of the ternary
+ const result = getNormalizedTraceAttribute('time', '2024-01-15 10:30:00');
+ expect(typeof result).toBe('string');
+ expect(result as string).toContain('2024');
+ });
+
+ it('returns string value for text type (no special type)', () => {
+ // provider has type: "string"
+ const result = getNormalizedTraceAttribute('provider', 'openai');
+ expect(result).toBe('openai');
+ });
+
+ it('returns defaultValue "-" when traceValue is falsy for a key with defaultValue', () => {
+ // cost has defaultValue: "-"
+ const result = getNormalizedTraceAttribute('cost', '');
+ expect(result).toBe('-');
+ });
+
+ it('returns defaultValue "-" when traceValue is null for a key with defaultValue', () => {
+ // promptTokens has defaultValue: "-"
+ const result = getNormalizedTraceAttribute('promptTokens', null);
+ expect(result).toBe('-');
+ });
+
+ it('returns undefined when traceValue is falsy for a key with no defaultValue', () => {
+ // provider has no defaultValue field
+ const result = getNormalizedTraceAttribute('provider', '');
+ expect(result).toBeUndefined();
+ });
+});
+
+describe('normalizeTrace', () => {
+ it('maps TraceRow fields to TransformedTraceRow', () => {
+ const trace = {
+ SpanId: 'span-1',
+ Timestamp: '2024-01-15T10:30:00.000Z',
+ SpanAttributes: {
+ 'gen_ai.system': 'openai',
+ 'gen_ai.request.model': 'gpt-4',
+ 'gen_ai.usage.prompt_tokens': '100',
+ 'gen_ai.usage.completion_tokens': '50',
+ },
+ } as any;
+
+ const result = normalizeTrace(trace);
+ expect(result).toHaveProperty('provider');
+ expect(result).toHaveProperty('model');
+ expect(result.provider).toBe('openai');
+ expect(result.model).toBe('gpt-4');
+ });
+
+ it('fills in defaultValues for missing attributes', () => {
+ const trace = {
+ SpanId: 'span-2',
+ Timestamp: '2024-01-15T10:30:00.000Z',
+ SpanAttributes: {},
+ } as any;
+
+ const result = normalizeTrace(trace);
+ // Keys with defaultValue get '-', keys without defaultValue get undefined
+ expect(result.cost).toBe('-');
+ expect(result.promptTokens).toBe('-');
+ });
+});
+
+describe('getSpanDurationDisplay', () => {
+ const makeSpan = (Duration: string) => ({ Duration, SpanId: 's', SpanName: 'test', Cost: 0, children: [] } as any);
+
+ it('returns formatted duration string', () => {
+ const result = getSpanDurationDisplay(makeSpan('1500000000'));
+ expect(typeof result).toBe('string');
+ expect(result).toContain('s');
+ });
+
+ it('returns "0.00s" for zero duration', () => {
+ const result = getSpanDurationDisplay(makeSpan('0'));
+ expect(result).toMatch(/0\.00/);
+ });
+});
+
+describe('getSpanCostFormatted', () => {
+ const makeSpan = (Cost: number | null) => ({ Cost, SpanId: 's', SpanName: 'test', Duration: '0', children: [] } as any);
+
+ it('returns formatted cost string when cost > 0', () => {
+ const result = getSpanCostFormatted(makeSpan(0.001234));
+ expect(result).toBe('$0.001234');
+ });
+
+ it('returns null when cost is 0', () => {
+ expect(getSpanCostFormatted(makeSpan(0))).toBeNull();
+ });
+
+ it('returns null when cost is null', () => {
+ expect(getSpanCostFormatted(makeSpan(null))).toBeNull();
+ });
+
+ it('returns null when cost is negative', () => {
+ expect(getSpanCostFormatted(makeSpan(-1))).toBeNull();
+ });
+
+ it('uses custom precision', () => {
+ const result = getSpanCostFormatted(makeSpan(0.1), 2);
+ expect(result).toBe('$0.10');
+ });
+});
+
+describe('getSpanTooltipText', () => {
+ const makeSpan = (SpanName: string, Cost: number | null, Duration: string) =>
+ ({ SpanName, Cost, Duration, SpanId: 's', children: [] } as any);
+
+ it('includes cost in tooltip when cost > 0', () => {
+ const result = getSpanTooltipText(makeSpan('my-span', 0.005, '1500000000'));
+ expect(result).toContain('my-span');
+ expect(result).toContain('Cost');
+ expect(result).toContain('Duration');
+ });
+
+ it('omits cost from tooltip when cost is null', () => {
+ const result = getSpanTooltipText(makeSpan('my-span', null, '1500000000'));
+ expect(result).toContain('my-span');
+ expect(result).toContain('Duration');
+ expect(result).not.toContain('Cost');
+ });
+
+ it('omits cost from tooltip when cost is 0', () => {
+ const result = getSpanTooltipText(makeSpan('no-cost', 0, '0'));
+ expect(result).not.toContain('Cost');
+ });
+});
+
+describe('findSpanInHierarchyLodash', () => {
+ const hierarchy = {
+ SpanId: 'root',
+ children: [
+ {
+ SpanId: 'child-1',
+ children: [
+ { SpanId: 'grandchild-1', children: [] },
+ ],
+ },
+ { SpanId: 'child-2', children: [] },
+ ],
+ } as any;
+
+ it('finds the root span', () => {
+ const result = findSpanInHierarchyLodash(hierarchy, 'root');
+ expect(result?.SpanId).toBe('root');
+ });
+
+ it('finds a direct child span', () => {
+ const result = findSpanInHierarchyLodash(hierarchy, 'child-2');
+ expect(result?.SpanId).toBe('child-2');
+ });
+
+ it('finds a grandchild span', () => {
+ const result = findSpanInHierarchyLodash(hierarchy, 'grandchild-1');
+ expect(result).toBeDefined();
+ });
+
+ it('returns undefined when span not found', () => {
+ const result = findSpanInHierarchyLodash(hierarchy, 'nonexistent');
+ expect(result).toBeUndefined();
+ });
+
+ it('returns undefined for leaf node with no children', () => {
+ const leaf = { SpanId: 'leaf', children: [] } as any;
+ const result = findSpanInHierarchyLodash(leaf, 'other');
+ expect(result).toBeUndefined();
+ });
+});
diff --git a/src/client/src/__tests__/helpers/client/user.test.ts b/src/client/src/__tests__/helpers/client/user.test.ts
new file mode 100644
index 00000000..1ccc2391
--- /dev/null
+++ b/src/client/src/__tests__/helpers/client/user.test.ts
@@ -0,0 +1,49 @@
+// Mock external dependencies
+jest.mock('@/store', () => ({
+ useRootStore: {
+ getState: jest.fn(),
+ },
+}));
+jest.mock('@/utils/api', () => ({
+ getData: jest.fn(),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('next-auth/react', () => ({
+ signOut: jest.fn(),
+}));
+
+import { fetchAndPopulateCurrentUserStore } from '@/helpers/client/user';
+import { useRootStore } from '@/store';
+import { getData } from '@/utils/api';
+import asaw from '@/utils/asaw';
+import { signOut } from 'next-auth/react';
+
+const mockSetUser = jest.fn();
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (useRootStore.getState as jest.Mock).mockReturnValue({
+ user: { set: mockSetUser },
+ });
+});
+
+describe('fetchAndPopulateCurrentUserStore', () => {
+ it('fetches user profile and sets it in the store', async () => {
+ const user = { id: 'u1', email: '[email protected]' };
+ (asaw as jest.Mock).mockResolvedValue([null, user]);
+
+ await fetchAndPopulateCurrentUserStore();
+
+ expect(getData).toHaveBeenCalledWith({ url: '/api/user/profile', method: 'GET' });
+ expect(mockSetUser).toHaveBeenCalledWith(user);
+ expect(signOut).not.toHaveBeenCalled();
+ });
+
+ it('calls signOut when there is an error', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Network error', null]);
+
+ await fetchAndPopulateCurrentUserStore();
+
+ expect(signOut).toHaveBeenCalled();
+ });
+});
diff --git a/src/client/src/__tests__/helpers/server/openground.test.ts b/src/client/src/__tests__/helpers/server/openground.test.ts
new file mode 100644
index 00000000..b0883255
--- /dev/null
+++ b/src/client/src/__tests__/helpers/server/openground.test.ts
@@ -0,0 +1,103 @@
+import { generateOpengroundStats, parseOpengroundData } from '@/helpers/server/openground';
+
+describe('generateOpengroundStats', () => {
+ it('returns empty stats object when inputs cause errors', () => {
+ // Passing invalid/mismatched data triggers the silent catch, returns {}
+ const result = generateOpengroundStats({}, {});
+ expect(typeof result).toBe('object');
+ });
+
+ it('extracts prompt from requestMeta', () => {
+ // Build responseMeta as an array with selectedProviders property
+ const responseMeta: any[] = [];
+ (responseMeta as any).selectedProviders = [];
+ const requestMeta = { prompt: 'Hello', selectedProviders: [] };
+
+ const result = generateOpengroundStats(requestMeta, responseMeta);
+ expect(result.prompt).toBe('Hello');
+ });
+
+ it('collects errors from responseMeta entries', () => {
+ const responseMeta: any[] = [['error1', null], [null, { evaluationData: {} }]];
+ (responseMeta as any).selectedProviders = [{ provider: 'openai' }, { provider: 'anthropic' }];
+ const requestMeta = { prompt: 'test', selectedProviders: [{ provider: 'openai' }, { provider: 'anthropic' }] };
+
+ const result = generateOpengroundStats(requestMeta, responseMeta);
+ expect(result.errors).toEqual(['error1']);
+ });
+
+ it('sets the first provider as minCostProvider (only first comparison uses Infinity)', () => {
+ // After the first assignment, stats.minCostProvider becomes a string ('openai'),
+ // so subsequent comparisons (string > number) evaluate to false via NaN coercion.
+ // As a result, only the first provider with evaluationData becomes minCostProvider.
+ const responseMeta: any[] = [
+ [null, { evaluationData: { cost: 0.05, responseTime: 100, completionTokens: 50 } }],
+ [null, { evaluationData: { cost: 0.02, responseTime: 200, completionTokens: 30 } }],
+ ];
+ (responseMeta as any).selectedProviders = [{ provider: 'openai' }, { provider: 'anthropic' }];
+ const requestMeta = {
+ prompt: 'test',
+ selectedProviders: [{ provider: 'openai' }, { provider: 'anthropic' }],
+ };
+
+ const result = generateOpengroundStats(requestMeta, responseMeta);
+ expect(result.minCostProvider).toBe('openai');
+ expect(result.minCost).toBe(0.05);
+ });
+
+ it('tracks minimum response time provider', () => {
+ const responseMeta: any[] = [
+ [null, { evaluationData: { cost: 0.05, responseTime: 50, completionTokens: 50 } }],
+ [null, { evaluationData: { cost: 0.02, responseTime: 200, completionTokens: 30 } }],
+ ];
+ (responseMeta as any).selectedProviders = [{ provider: 'openai' }, { provider: 'anthropic' }];
+ const requestMeta = {
+ prompt: 'test',
+ selectedProviders: [{ provider: 'openai' }, { provider: 'anthropic' }],
+ };
+
+ const result = generateOpengroundStats(requestMeta, responseMeta);
+ expect(result.minResponseTimeProvider).toBe('openai');
+ expect(result.minResponseTime).toBe(50);
+ });
+});
+
+describe('parseOpengroundData', () => {
+ it('parses valid JSON fields into objects', () => {
+ const data = {
+ responseMeta: '{"providers":["openai"]}',
+ requestMeta: '{"prompt":"hello"}',
+ stats: '{"totalCost":0.01}',
+ name: 'my-run',
+ };
+
+ const result = parseOpengroundData(data);
+ expect(result.responseMeta).toEqual({ providers: ['openai'] });
+ expect(result.requestMeta).toEqual({ prompt: 'hello' });
+ expect(result.stats).toEqual({ totalCost: 0.01 });
+ expect(result.name).toBe('my-run');
+ });
+
+ it('returns the original data when JSON parsing fails', () => {
+ const data = {
+ responseMeta: 'not-valid-json',
+ requestMeta: '{}',
+ stats: '{}',
+ };
+
+ const result = parseOpengroundData(data);
+ expect(result).toBe(data);
+ });
+
+ it('handles nested JSON correctly', () => {
+ const nested = { level1: { level2: { value: 42 } } };
+ const data = {
+ responseMeta: JSON.stringify(nested),
+ requestMeta: '{}',
+ stats: '{}',
+ };
+
+ const result = parseOpengroundData(data);
+ expect(result.responseMeta).toEqual(nested);
+ });
+});
diff --git a/src/client/src/__tests__/helpers/server/openlit.test.ts b/src/client/src/__tests__/helpers/server/openlit.test.ts
new file mode 100644
index 00000000..586efccd
--- /dev/null
+++ b/src/client/src/__tests__/helpers/server/openlit.test.ts
@@ -0,0 +1,193 @@
+// js-tiktoken uses WASM + TextEncoder which is not available in jsdom
+jest.mock('js-tiktoken', () => ({
+ encodingForModel: jest.fn((model: string) => {
+ if (model === 'not-a-real-model-xyz') throw new Error(`Unknown model: ${model}`);
+ return {
+ // Approximate: 1 token per 4 chars
+ encode: (text: string) => Array.from({ length: Math.ceil(text.length / 4) }),
+ };
+ }),
+}));
+
+import OpenLitHelper from '@/helpers/server/openlit';
+
+describe('OpenLitHelper', () => {
+ describe('PROMPT_TOKEN_FACTOR', () => {
+ it('is 1000', () => {
+ expect(OpenLitHelper.PROMPT_TOKEN_FACTOR).toBe(1000);
+ });
+ });
+
+ describe('openaiTokens', () => {
+ it('returns token count for a simple string with a known model', () => {
+ const count = OpenLitHelper.openaiTokens('Hello, world!', 'gpt-3.5-turbo');
+ expect(typeof count).toBe('number');
+ expect(count).toBeGreaterThan(0);
+ });
+
+ it('returns more tokens for longer text', () => {
+ const short = OpenLitHelper.openaiTokens('Hi', 'gpt-3.5-turbo');
+ const long = OpenLitHelper.openaiTokens(
+ 'This is a much longer sentence with many more words.',
+ 'gpt-3.5-turbo'
+ );
+ expect(long).toBeGreaterThan(short);
+ });
+
+ it('throws for an unknown model', () => {
+ expect(() =>
+ OpenLitHelper.openaiTokens('hello', 'not-a-real-model-xyz')
+ ).toThrow();
+ });
+ });
+
+ describe('generalTokens', () => {
+ it('returns a positive integer for non-empty text', () => {
+ const count = OpenLitHelper.generalTokens('Hello, world!');
+ expect(typeof count).toBe('number');
+ expect(count).toBeGreaterThan(0);
+ });
+
+ it('returns 0 or small number for empty string', () => {
+ const count = OpenLitHelper.generalTokens('');
+ expect(count).toBeGreaterThanOrEqual(0);
+ });
+ });
+
+ describe('getChatModelCost', () => {
+ beforeEach(() => {
+ OpenLitHelper.pricingInfo = {
+ chat: {
+ 'gpt-4': { promptPrice: 0.03, completionPrice: 0.06 },
+ },
+ };
+ });
+
+ it('calculates cost correctly', () => {
+ // 100 prompt tokens, 50 completion tokens with gpt-4 pricing
+ const cost = OpenLitHelper.getChatModelCost('gpt-4', 100, 50);
+ // (100/1000)*0.03 + (50/1000)*0.06 = 0.003 + 0.003 = 0.006
+ expect(parseFloat(cost)).toBeCloseTo(0.006, 5);
+ });
+
+ it('returns "0" when model is not in pricing info', () => {
+ const cost = OpenLitHelper.getChatModelCost('unknown-model', 100, 50);
+ expect(cost).toBe('0');
+ });
+
+ it('returns "0" when pricingInfo is null', () => {
+ OpenLitHelper.pricingInfo = null;
+ const cost = OpenLitHelper.getChatModelCost('gpt-4', 100, 50);
+ expect(cost).toBe('0');
+ });
+ });
+
+ describe('getEmbedModelCost', () => {
+ beforeEach(() => {
+ OpenLitHelper.pricingInfo = {
+ embeddings: {
+ 'text-embedding-ada-002': 0.0001,
+ },
+ };
+ });
+
+ it('calculates embedding cost correctly', () => {
+ // 500 tokens * 0.0001 / 1000 = 0.00005
+ const cost = OpenLitHelper.getEmbedModelCost('text-embedding-ada-002', 500);
+ expect(cost).toBeCloseTo(0.00005, 7);
+ });
+
+ it('returns NaN for unknown model (undefined price, no exception thrown)', () => {
+ const cost = OpenLitHelper.getEmbedModelCost('unknown-embed-model', 100);
+ expect(Number.isNaN(cost)).toBe(true);
+ });
+
+ it('returns 0 when pricingInfo is null', () => {
+ OpenLitHelper.pricingInfo = null;
+ const cost = OpenLitHelper.getEmbedModelCost('text-embedding-ada-002', 100);
+ expect(cost).toBe(0);
+ });
+ });
+
+ describe('getImageModelCost', () => {
+ beforeEach(() => {
+ OpenLitHelper.pricingInfo = {
+ images: {
+ 'dall-e-3': {
+ hd: { '1024x1024': 0.08 },
+ standard: { '1024x1024': 0.04 },
+ },
+ },
+ };
+ });
+
+ it('returns the correct cost for a model/quality/size combination', () => {
+ const cost = OpenLitHelper.getImageModelCost('dall-e-3', '1024x1024', 'hd' as any);
+ expect(cost).toBe(0.08);
+ });
+
+ it('returns 0 for unknown model', () => {
+ const cost = OpenLitHelper.getImageModelCost('unknown-model', '1024x1024', 'hd' as any);
+ expect(cost).toBe(0);
+ });
+ });
+
+ describe('getAudioModelCost', () => {
+ beforeEach(() => {
+ OpenLitHelper.pricingInfo = {
+ audio: {
+ 'tts-1': 0.015,
+ },
+ };
+ });
+
+ it('calculates audio cost by prompt length', () => {
+ const prompt = 'Hello, world!'; // 13 chars
+ const cost = OpenLitHelper.getAudioModelCost('tts-1', prompt);
+ // (13 / 1000) * 0.015 = 0.000195
+ expect(cost).toBeCloseTo(0.000195, 6);
+ });
+
+ it('returns NaN for unknown model (undefined price, no exception thrown)', () => {
+ const cost = OpenLitHelper.getAudioModelCost('unknown-tts', 'hello');
+ expect(Number.isNaN(cost)).toBe(true);
+ });
+
+ it('returns 0 and logs error when pricingInfo is null (covers catch block lines 72-74)', () => {
+ OpenLitHelper.pricingInfo = null;
+ const cost = OpenLitHelper.getAudioModelCost('tts-1', 'hello');
+ expect(cost).toBe(0);
+ });
+ });
+
+ describe('fetchPricingInfo', () => {
+ afterEach(() => {
+ jest.restoreAllMocks();
+ });
+
+ it('sets pricingInfo from a successful response', async () => {
+ const mockData = { chat: { 'gpt-4': { promptPrice: 0.03, completionPrice: 0.06 } } };
+ global.fetch = jest.fn().mockResolvedValue({
+ ok: true,
+ json: jest.fn().mockResolvedValue(mockData),
+ });
+ await OpenLitHelper.fetchPricingInfo();
+ expect(OpenLitHelper.pricingInfo).toEqual(mockData);
+ });
+
+ it('returns {} on non-ok HTTP response', async () => {
+ global.fetch = jest.fn().mockResolvedValue({
+ ok: false,
+ status: 404,
+ });
+ const result = await OpenLitHelper.fetchPricingInfo();
+ expect(result).toEqual({});
+ });
+
+ it('returns {} on network error', async () => {
+ global.fetch = jest.fn().mockRejectedValue(new Error('Network error'));
+ const result = await OpenLitHelper.fetchPricingInfo();
+ expect(result).toEqual({});
+ });
+ });
+});
diff --git a/src/client/src/__tests__/helpers/server/platform.test.ts b/src/client/src/__tests__/helpers/server/platform.test.ts
new file mode 100644
index 00000000..ecf3a6ec
--- /dev/null
+++ b/src/client/src/__tests__/helpers/server/platform.test.ts
@@ -0,0 +1,517 @@
+import {
+ validateMetricsRequest,
+ validateMetricsRequestType,
+ getFilterWhereCondition,
+ getFilterPreviousParams,
+ getFilterWhereConditionForGPU,
+ dateTruncGroupingLogic,
+} from '@/helpers/server/platform';
+import { addDays, addMonths } from 'date-fns';
+
+// ─── validateMetricsRequest ────────────────────────────────────────────────────
+
+const withTimeLimit = {
+ timeLimit: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
+};
+
+describe('validateMetricsRequest', () => {
+ describe('types requiring only timeLimit', () => {
+ const timeLimitTypes = [
+ 'REQUEST_PER_TIME',
+ 'GET_ALL',
+ 'TOTAL_COST',
+ 'AVERAGE_REQUEST_COST',
+ 'COST_BY_APPLICATION',
+ 'COST_BY_ENVIRONMENT',
+ 'MODEL_PER_TIME',
+ 'GENERATION_BY_CATEGORY',
+ 'TOKENS_PER_TIME',
+ 'GENERATION_BY_ENDPOINT',
+ 'AVERAGE_MEMORY_USAGE',
+ 'MEMORY_PER_TIME',
+ 'AVERAGE_TEMPERATURE',
+ 'TEMPERATURE_PER_TIME',
+ 'AVERAGE_POWER_DRAW',
+ 'POWER_PER_TIME',
+ 'FANSPEED_PER_TIME',
+ 'GENERATION_BY_OPERATION',
+ 'GENERATION_BY_SYSTEM',
+ 'GENERATION_BY_ENVIRONMENT',
+ 'GENERATION_BY_APPLICATION',
+ 'GET_TOTAL_EVALUATION_DETECTED',
+ ] as const;
+
+ timeLimitTypes.forEach((type) => {
+ it(`${type}: succeeds with valid timeLimit`, () => {
+ const result = validateMetricsRequest(
+ withTimeLimit,
+ validateMetricsRequestType[type]
+ );
+ expect(result.success).toBe(true);
+ });
+
+ it(`${type}: fails when timeLimit.start is missing`, () => {
+ const result = validateMetricsRequest(
+ { timeLimit: { end: new Date() } },
+ validateMetricsRequestType[type]
+ );
+ expect(result.success).toBe(false);
+ expect(result.err).toMatch(/Start date|End date/i);
+ });
+
+ it(`${type}: fails when timeLimit is absent`, () => {
+ const result = validateMetricsRequest({}, validateMetricsRequestType[type]);
+ expect(result.success).toBe(false);
+ });
+ });
+ });
+
+ describe('TOP_MODELS', () => {
+ it('fails when timeLimit is missing', () => {
+ const result = validateMetricsRequest(
+ { top: 5 },
+ validateMetricsRequestType.TOP_MODELS
+ );
+ expect(result.success).toBe(false);
+ expect(result.err).toMatch(/Start date|End date/i);
+ });
+
+ it('fails when top is missing', () => {
+ const result = validateMetricsRequest(
+ withTimeLimit,
+ validateMetricsRequestType.TOP_MODELS
+ );
+ expect(result.success).toBe(false);
+ expect(result.err).toContain('top models');
+ });
+
+ it('succeeds with valid timeLimit and top', () => {
+ const result = validateMetricsRequest(
+ { ...withTimeLimit, top: 10 },
+ validateMetricsRequestType.TOP_MODELS
+ );
+ expect(result.success).toBe(true);
+ });
+ });
+
+ describe('AVERAGE_REQUEST_TOKEN', () => {
+ it('fails when timeLimit is missing', () => {
+ const result = validateMetricsRequest(
+ { type: 'input' },
+ validateMetricsRequestType.AVERAGE_REQUEST_TOKEN
+ );
+ expect(result.success).toBe(false);
+ });
+
+ it('fails when type is missing', () => {
+ const result = validateMetricsRequest(
+ withTimeLimit,
+ validateMetricsRequestType.AVERAGE_REQUEST_TOKEN
+ );
+ expect(result.success).toBe(false);
+ expect(result.err).toContain('Type of token');
+ });
+
+ it('succeeds with valid timeLimit and type', () => {
+ const result = validateMetricsRequest(
+ { ...withTimeLimit, type: 'input' },
+ validateMetricsRequestType.AVERAGE_REQUEST_TOKEN
+ );
+ expect(result.success).toBe(true);
+ });
+ });
+
+ describe('AVERAGE_REQUEST_DURATION / TOTAL_REQUESTS', () => {
+ (['AVERAGE_REQUEST_DURATION', 'TOTAL_REQUESTS'] as const).forEach((type) => {
+ it(`${type}: fails when timeLimit is missing`, () => {
+ const result = validateMetricsRequest(
+ { operationType: 'llm' },
+ validateMetricsRequestType[type]
+ );
+ expect(result.success).toBe(false);
+ });
+
+ it(`${type}: fails when operationType is missing`, () => {
+ const result = validateMetricsRequest(
+ withTimeLimit,
+ validateMetricsRequestType[type]
+ );
+ expect(result.success).toBe(false);
+ expect(result.err).toContain('Operation type');
+ });
+
+ it(`${type}: succeeds with timeLimit and operationType`, () => {
+ const result = validateMetricsRequest(
+ { ...withTimeLimit, operationType: 'llm' },
+ validateMetricsRequestType[type]
+ );
+ expect(result.success).toBe(true);
+ });
+ });
+ });
+
+ it('returns success for unrecognised type (default case)', () => {
+ const result = validateMetricsRequest({}, 'UNKNOWN_TYPE' as any);
+ expect(result.success).toBe(true);
+ });
+});
+
+// ─── getFilterWhereCondition ───────────────────────────────────────────────────
+
+describe('getFilterWhereCondition', () => {
+ const start = new Date('2024-01-01T00:00:00Z');
+ const end = new Date('2024-01-31T00:00:00Z');
+ const timeLimit = { start, end };
+
+ it('always includes StatusCode clause', () => {
+ const result = getFilterWhereCondition({} as any);
+ expect(result).toContain('StatusCode IN');
+ });
+
+ it('uses custom statusCode when provided', () => {
+ const result = getFilterWhereCondition({
+ statusCode: ['STATUS_CODE_ERROR'],
+ } as any);
+ expect(result).toContain("'STATUS_CODE_ERROR'");
+ });
+
+ it('includes Timestamp range when timeLimit is provided', () => {
+ const result = getFilterWhereCondition({ timeLimit } as any);
+ expect(result).toContain('Timestamp >=');
+ expect(result).toContain('Timestamp <=');
+ expect(result).toContain('parseDateTimeBestEffort');
+ });
+
+ it('skips Timestamp range when timeLimit is absent', () => {
+ const result = getFilterWhereCondition({} as any);
+ expect(result).not.toContain('Timestamp >=');
+ });
+
+ it('adds model filter when filterSelectedConfig is true and models provided', () => {
+ const result = getFilterWhereCondition(
+ { timeLimit, selectedConfig: { models: ['gpt-4', 'gpt-3.5-turbo'] } } as any,
+ true
+ );
+ expect(result).toContain("'gpt-4'");
+ expect(result).toContain("'gpt-3.5-turbo'");
+ });
+
+ it('does not add model filter when filterSelectedConfig is false', () => {
+ const result = getFilterWhereCondition(
+ { timeLimit, selectedConfig: { models: ['gpt-4'] } } as any,
+ false
+ );
+ expect(result).not.toContain("'gpt-4'");
+ });
+
+ it('adds provider filter when filterSelectedConfig is true', () => {
+ const result = getFilterWhereCondition(
+ { timeLimit, selectedConfig: { providers: ['openai', 'anthropic'] } } as any,
+ true
+ );
+ expect(result).toContain("'openai'");
+ expect(result).toContain("'anthropic'");
+ });
+
+ it('adds traceType filter when filterSelectedConfig is true', () => {
+ const result = getFilterWhereCondition(
+ { timeLimit, selectedConfig: { traceTypes: ['chat', 'embedding'] } } as any,
+ true
+ );
+ expect(result).toContain("'chat'");
+ expect(result).toContain("'embedding'");
+ });
+
+ it('adds cost filter when maxCost is provided', () => {
+ const result = getFilterWhereCondition(
+ { timeLimit, selectedConfig: { maxCost: 0.05 } } as any,
+ true
+ );
+ expect(result).toContain('BETWEEN 0 AND');
+ });
+
+ it('adds applicationName filter when provided', () => {
+ const result = getFilterWhereCondition(
+ { timeLimit, selectedConfig: { applicationNames: ['my-app'] } } as any,
+ true
+ );
+ expect(result).toContain("'my-app'");
+ });
+
+ it('adds environment filter when provided', () => {
+ const result = getFilterWhereCondition(
+ { timeLimit, selectedConfig: { environments: ['production'] } } as any,
+ true
+ );
+ expect(result).toContain("'production'");
+ });
+
+ it('adds SpanAttributes custom filter (covers lines 250-252)', () => {
+ const result = getFilterWhereCondition(
+ {
+ timeLimit: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
+ selectedConfig: {
+ customFilters: [{ attributeType: 'SpanAttributes', key: 'gen_ai.system', value: 'openai' }],
+ },
+ } as any,
+ true
+ );
+ expect(result).toContain("SpanAttributes['gen_ai.system'] = 'openai'");
+ });
+
+ it('adds ResourceAttributes custom filter (covers lines 253-255)', () => {
+ const result = getFilterWhereCondition(
+ {
+ timeLimit: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
+ selectedConfig: {
+ customFilters: [{ attributeType: 'ResourceAttributes', key: 'service.name', value: 'my-service' }],
+ },
+ } as any,
+ true
+ );
+ expect(result).toContain("ResourceAttributes['service.name'] = 'my-service'");
+ });
+
+ it('adds Field custom filter and strips unsafe chars (covers lines 256-261)', () => {
+ const result = getFilterWhereCondition(
+ {
+ timeLimit: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
+ selectedConfig: {
+ customFilters: [{ attributeType: 'Field', key: 'SpanName', value: 'my-span' }],
+ },
+ } as any,
+ true
+ );
+ expect(result).toContain("SpanName = 'my-span'");
+ });
+
+ it('skips custom filter entry when key or value is empty (covers the key && value guard)', () => {
+ const result = getFilterWhereCondition(
+ {
+ timeLimit: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
+ selectedConfig: {
+ customFilters: [
+ { attributeType: 'SpanAttributes', key: '', value: 'openai' },
+ { attributeType: 'SpanAttributes', key: 'gen_ai.system', value: '' },
+ ],
+ },
+ } as any,
+ true
+ );
+ expect(result).not.toContain("SpanAttributes[''");
+ });
+
+ it('skips Field custom filter when safeKey is empty after sanitization (covers the safeKey guard)', () => {
+ const result = getFilterWhereCondition(
+ {
+ timeLimit: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
+ selectedConfig: {
+ customFilters: [{ attributeType: 'Field', key: '!!!', value: 'value' }],
+ },
+ } as any,
+ true
+ );
+ // key '!!!' becomes '' after stripping non-alphanumeric, so condition is not added
+ expect(result).not.toContain("= 'value'");
+ });
+
+ it("escapes single quotes in custom filter values (SQL injection protection)", () => {
+ const result = getFilterWhereCondition(
+ {
+ timeLimit: { start: new Date('2024-01-01'), end: new Date('2024-01-31') },
+ selectedConfig: {
+ customFilters: [{ attributeType: 'SpanAttributes', key: 'gen_ai.system', value: "it's" }],
+ },
+ } as any,
+ true
+ );
+ expect(result).toContain("= 'it''s'");
+ });
+
+ it('adds notOrEmpty conditions', () => {
+ const result = getFilterWhereCondition({
+ notOrEmpty: [{ key: 'SpanAttributes' }, { key: 'ServiceName' }],
+ } as any);
+ expect(result).toContain('notEmpty(SpanAttributes)');
+ expect(result).toContain('notEmpty(ServiceName)');
+ expect(result).toContain(' OR ');
+ });
+
+ it('adds notEmpty conditions', () => {
+ const result = getFilterWhereCondition({
+ notEmpty: [{ key: 'TraceId' }],
+ } as any);
+ expect(result).toContain('notEmpty(TraceId)');
+ });
+
+ it('adds vectordb operationType filter', () => {
+ const result = getFilterWhereCondition({
+ operationType: 'vectordb',
+ } as any);
+ expect(result).toContain("= 'vectordb'");
+ });
+
+ it('adds not-vectordb operationType filter for non-vectordb type', () => {
+ const result = getFilterWhereCondition({
+ operationType: 'llm',
+ } as any);
+ expect(result).toContain("!= 'vectordb'");
+ });
+
+ it('joins multiple conditions with AND', () => {
+ const result = getFilterWhereCondition({ timeLimit } as any);
+ expect(result).toContain(' AND ');
+ });
+
+ it('returns empty string on exception (null filter)', () => {
+ const result = getFilterWhereCondition(null as any);
+ // Should not throw; returns whatever was built before the error
+ expect(typeof result).toBe('string');
+ });
+});
+
+// ─── getFilterPreviousParams ───────────────────────────────────────────────────
+
+describe('getFilterPreviousParams', () => {
+ const makeFilter = (type: string, start: Date, end: Date) => ({
+ timeLimit: { type, start: start.toISOString(), end: end.toISOString() },
+ });
+
+ it('24H: shifts start and end back 1 day', () => {
+ const start = new Date('2024-02-02T00:00:00Z');
+ const end = new Date('2024-02-03T00:00:00Z');
+ const result = getFilterPreviousParams(makeFilter('24H', start, end) as any);
+ expect(new Date(result.timeLimit.start).toISOString()).toBe(
+ addDays(start, -1).toISOString()
+ );
+ expect(new Date(result.timeLimit.end).toISOString()).toBe(
+ addDays(end, -1).toISOString()
+ );
+ });
+
+ it('7D: shifts start back 7 days and end back 1 day', () => {
+ const start = new Date('2024-02-01T00:00:00Z');
+ const end = new Date('2024-02-08T00:00:00Z');
+ const result = getFilterPreviousParams(makeFilter('7D', start, end) as any);
+ expect(new Date(result.timeLimit.start).toISOString()).toBe(
+ addDays(start, -7).toISOString()
+ );
+ expect(new Date(result.timeLimit.end).toISOString()).toBe(
+ addDays(end, -1).toISOString()
+ );
+ });
+
+ it('1M: shifts start and end back 1 month', () => {
+ const start = new Date('2024-02-01T00:00:00Z');
+ const end = new Date('2024-03-01T00:00:00Z');
+ const result = getFilterPreviousParams(makeFilter('1M', start, end) as any);
+ expect(new Date(result.timeLimit.start).toISOString()).toBe(
+ addMonths(start, -1).toISOString()
+ );
+ expect(new Date(result.timeLimit.end).toISOString()).toBe(
+ addMonths(end, -1).toISOString()
+ );
+ });
+
+ it('3M: shifts start and end back 3 months', () => {
+ const start = new Date('2024-01-01T00:00:00Z');
+ const end = new Date('2024-04-01T00:00:00Z');
+ const result = getFilterPreviousParams(makeFilter('3M', start, end) as any);
+ expect(new Date(result.timeLimit.start).toISOString()).toBe(
+ addMonths(start, -3).toISOString()
+ );
+ expect(new Date(result.timeLimit.end).toISOString()).toBe(
+ addMonths(end, -3).toISOString()
+ );
+ });
+
+ it('CUSTOM: shifts start and end back by diff days', () => {
+ const start = new Date('2024-02-01T00:00:00Z');
+ const end = new Date('2024-02-11T00:00:00Z'); // 10-day range
+ const result = getFilterPreviousParams(makeFilter('CUSTOM', start, end) as any);
+ expect(new Date(result.timeLimit.start).toISOString()).toBe(
+ addDays(start, -10).toISOString()
+ );
+ expect(new Date(result.timeLimit.end).toISOString()).toBe(
+ addDays(end, -10).toISOString()
+ );
+ });
+
+ it('default (unknown type): returns the same filter unchanged', () => {
+ const start = new Date('2024-01-01T00:00:00Z');
+ const end = new Date('2024-01-31T00:00:00Z');
+ const filter = makeFilter('UNKNOWN', start, end);
+ const result = getFilterPreviousParams(filter as any);
+ expect(result.timeLimit.start).toBe(filter.timeLimit.start);
+ expect(result.timeLimit.end).toBe(filter.timeLimit.end);
+ });
+
+ it('returns original filter on exception', () => {
+ const filter = null;
+ const result = getFilterPreviousParams(filter as any);
+ expect(result).toBeNull();
+ });
+
+ it('returns unchanged filter when timeLimit is absent (covers || {} fallback on line 310)', () => {
+ const filter = { selectedConfig: {} };
+ const result = getFilterPreviousParams(filter as any);
+ // No timeLimit → no time shift, returned as-is
+ expect(result).toEqual(filter);
+ });
+});
+
+// ─── getFilterWhereConditionForGPU ─────────────────────────────────────────────
+
+describe('getFilterWhereConditionForGPU', () => {
+ it('includes TimeUnix range when timeLimit is provided', () => {
+ const filter = {
+ timeLimit: {
+ start: new Date('2024-01-01'),
+ end: new Date('2024-01-31'),
+ },
+ };
+ const result = getFilterWhereConditionForGPU(filter as any);
+ expect(result).toContain('TimeUnix >=');
+ expect(result).toContain('TimeUnix <=');
+ expect(result).toContain('parseDateTimeBestEffort');
+ });
+
+ it('returns empty string when timeLimit is absent', () => {
+ const result = getFilterWhereConditionForGPU({} as any);
+ expect(result).toBe('');
+ });
+
+ it('returns empty string when start or end is missing', () => {
+ const result = getFilterWhereConditionForGPU({
+ timeLimit: { start: new Date() },
+ } as any);
+ expect(result).toBe('');
+ });
+
+ it('returns empty string without throwing when filter is null (covers catch block on line 371)', () => {
+ const result = getFilterWhereConditionForGPU(null as any);
+ expect(result).toBe('');
+ });
+});
+
+// ─── dateTruncGroupingLogic ────────────────────────────────────────────────────
+
+describe('dateTruncGroupingLogic', () => {
+ it('returns "month" when difference is >= 1 year', () => {
+ const start = new Date('2022-01-01');
+ const end = new Date('2023-06-01'); // > 1 year
+ expect(dateTruncGroupingLogic(end, start)).toBe('month');
+ });
+
+ it('returns "hour" when difference is <= 1 day', () => {
+ const start = new Date('2024-01-01T00:00:00Z');
+ const end = new Date('2024-01-01T12:00:00Z'); // 12 hours
+ expect(dateTruncGroupingLogic(end, start)).toBe('hour');
+ });
+
+ it('returns "day" for differences between 1 day and 1 year', () => {
+ const start = new Date('2024-01-01');
+ const end = new Date('2024-06-01'); // ~5 months
+ expect(dateTruncGroupingLogic(end, start)).toBe('day');
+ });
+});
diff --git a/src/client/src/__tests__/helpers/server/prompt.test.ts b/src/client/src/__tests__/helpers/server/prompt.test.ts
new file mode 100644
index 00000000..652bc23d
--- /dev/null
+++ b/src/client/src/__tests__/helpers/server/prompt.test.ts
@@ -0,0 +1,54 @@
+import { verifyPromptInput, validatePromptCompiledInput } from '@/helpers/server/prompt';
+
+describe('verifyPromptInput', () => {
+ it('returns failure when name is empty', () => {
+ const result = verifyPromptInput({ name: '', prompt: 'Hello' } as any);
+ expect(result.success).toBe(false);
+ expect(result.err).toMatch(/name/i);
+ });
+
+ it('returns failure when prompt is empty', () => {
+ const result = verifyPromptInput({ name: 'MyPrompt', prompt: '' } as any);
+ expect(result.success).toBe(false);
+ expect(result.err).toMatch(/prompt/i);
+ });
+
+ it('returns success when both name and prompt are provided', () => {
+ const result = verifyPromptInput({ name: 'MyPrompt', prompt: 'Say hello' } as any);
+ expect(result.success).toBe(true);
+ expect((result as any).err).toBeUndefined();
+ });
+});
+
+describe('validatePromptCompiledInput', () => {
+ it('returns failure when apiKey is missing', () => {
+ const result = validatePromptCompiledInput({ id: 'abc' } as any);
+ expect(result.success).toBe(false);
+ expect(result.err).toMatch(/api key/i);
+ });
+
+ it('returns failure when both id and name are missing', () => {
+ const result = validatePromptCompiledInput({ apiKey: 'key123' } as any);
+ expect(result.success).toBe(false);
+ expect(result.err).toMatch(/id and name/i);
+ });
+
+ it('returns success when apiKey and id are provided', () => {
+ const result = validatePromptCompiledInput({ apiKey: 'key123', id: 'prompt-1' } as any);
+ expect(result.success).toBe(true);
+ });
+
+ it('returns success when apiKey and name are provided', () => {
+ const result = validatePromptCompiledInput({ apiKey: 'key123', name: 'my-prompt' } as any);
+ expect(result.success).toBe(true);
+ });
+
+ it('returns success when apiKey, id, and name are all provided', () => {
+ const result = validatePromptCompiledInput({
+ apiKey: 'key123',
+ id: 'prompt-1',
+ name: 'my-prompt',
+ } as any);
+ expect(result.success).toBe(true);
+ });
+});
diff --git a/src/client/src/__tests__/helpers/server/trace.test.ts b/src/client/src/__tests__/helpers/server/trace.test.ts
new file mode 100644
index 00000000..7c6e20e8
--- /dev/null
+++ b/src/client/src/__tests__/helpers/server/trace.test.ts
@@ -0,0 +1,70 @@
+import { buildHierarchy } from '@/helpers/server/trace';
+
+describe('buildHierarchy', () => {
+ it('returns null for an empty array', () => {
+ expect(buildHierarchy([])).toBeNull();
+ });
+
+ it('returns a single root span with no children', () => {
+ const data = [{ SpanId: 'root', ParentSpanId: '', name: 'root-span' }];
+ const result = buildHierarchy(data);
+ expect(result).not.toBeNull();
+ expect(result.SpanId).toBe('root');
+ expect(result.children).toHaveLength(0);
+ });
+
+ it('builds a parent-child hierarchy', () => {
+ const data = [
+ { SpanId: 'root', ParentSpanId: '' },
+ { SpanId: 'child1', ParentSpanId: 'root' },
+ { SpanId: 'child2', ParentSpanId: 'root' },
+ ];
+ const result = buildHierarchy(data);
+ expect(result.SpanId).toBe('root');
+ expect(result.children).toHaveLength(2);
+ const childIds = result.children.map((c: any) => c.SpanId);
+ expect(childIds).toContain('child1');
+ expect(childIds).toContain('child2');
+ });
+
+ it('builds a multi-level hierarchy', () => {
+ const data = [
+ { SpanId: 'root', ParentSpanId: '' },
+ { SpanId: 'child', ParentSpanId: 'root' },
+ { SpanId: 'grandchild', ParentSpanId: 'child' },
+ ];
+ const result = buildHierarchy(data);
+ expect(result.SpanId).toBe('root');
+ expect(result.children[0].SpanId).toBe('child');
+ expect(result.children[0].children[0].SpanId).toBe('grandchild');
+ });
+
+ it('preserves span properties in the hierarchy', () => {
+ const data = [
+ { SpanId: 'root', ParentSpanId: '', Duration: 100, ServiceName: 'api' },
+ { SpanId: 'child', ParentSpanId: 'root', Duration: 50, ServiceName: 'db' },
+ ];
+ const result = buildHierarchy(data);
+ expect(result.Duration).toBe(100);
+ expect(result.children[0].Duration).toBe(50);
+ });
+
+ it('handles spans with unknown parents gracefully', () => {
+ const data = [
+ { SpanId: 'root', ParentSpanId: '' },
+ { SpanId: 'orphan', ParentSpanId: 'nonexistent-parent' },
+ ];
+ const result = buildHierarchy(data);
+ expect(result.SpanId).toBe('root');
+ expect(result.children).toHaveLength(0);
+ });
+
+ it('identifies root by empty ParentSpanId', () => {
+ const data = [
+ { SpanId: 'child', ParentSpanId: 'root' },
+ { SpanId: 'root', ParentSpanId: '' },
+ ];
+ const result = buildHierarchy(data);
+ expect(result.SpanId).toBe('root');
+ });
+});
diff --git a/src/client/src/__tests__/helpers/server/vault.test.ts b/src/client/src/__tests__/helpers/server/vault.test.ts
new file mode 100644
index 00000000..b1eb362f
--- /dev/null
+++ b/src/client/src/__tests__/helpers/server/vault.test.ts
@@ -0,0 +1,58 @@
+import { verifySecretInput, normalizeSecretDataForSDK } from '@/helpers/server/vault';
+
+describe('verifySecretInput', () => {
+ it('returns failure when key is an empty string', () => {
+ const result = verifySecretInput({ key: '' });
+ expect(result.success).toBe(false);
+ expect(result.err).toBeTruthy();
+ });
+
+ it('returns success when key is present', () => {
+ const result = verifySecretInput({ key: 'MY_SECRET' });
+ expect(result.success).toBe(true);
+ expect(result.err).toBeUndefined();
+ });
+
+ it('returns success when both key and value are provided', () => {
+ const result = verifySecretInput({ key: 'API_KEY', value: 'abc123' });
+ expect(result.success).toBe(true);
+ });
+
+ it('returns success when key is provided without value', () => {
+ const result = verifySecretInput({ key: 'MY_KEY' });
+ expect(result.success).toBe(true);
+ });
+});
+
+describe('normalizeSecretDataForSDK', () => {
+ it('converts an array of secrets to a key-value object', () => {
+ const secrets = [
+ { key: 'API_KEY', value: 'abc123' },
+ { key: 'DB_URL', value: 'postgres://localhost/db' },
+ ];
+
+ const result = normalizeSecretDataForSDK(secrets);
+ expect(result).toEqual({
+ API_KEY: 'abc123',
+ DB_URL: 'postgres://localhost/db',
+ });
+ });
+
+ it('returns an empty object for an empty array', () => {
+ expect(normalizeSecretDataForSDK([])).toEqual({});
+ });
+
+ it('handles a single secret', () => {
+ const result = normalizeSecretDataForSDK([{ key: 'TOKEN', value: 'xyz' }]);
+ expect(result).toEqual({ TOKEN: 'xyz' });
+ });
+
+ it('later duplicates overwrite earlier ones', () => {
+ const secrets = [
+ { key: 'KEY', value: 'first' },
+ { key: 'KEY', value: 'second' },
+ ];
+ const result = normalizeSecretDataForSDK(secrets);
+ expect(result.KEY).toBe('second');
+ });
+});
diff --git a/src/client/src/__tests__/helpers/server/widget.test.ts b/src/client/src/__tests__/helpers/server/widget.test.ts
new file mode 100644
index 00000000..48461d01
--- /dev/null
+++ b/src/client/src/__tests__/helpers/server/widget.test.ts
@@ -0,0 +1,206 @@
+jest.mock('@/utils/sanitizer', () => ({
+ __esModule: true,
+ default: {
+ sanitizeObject: jest.fn((obj: any) => JSON.parse(JSON.stringify(obj))),
+ },
+}));
+
+import Sanitizer from '@/utils/sanitizer';
+import {
+ escapeSingleQuotes,
+ normalizeWidgetToServer,
+ normalizeWidgetToClient,
+ sanitizeWidget,
+ unsanitizeWidget,
+} from '@/helpers/server/widget';
+
+describe('escapeSingleQuotes', () => {
+ it('wraps single-quoted substrings in double single-quotes', () => {
+ expect(escapeSingleQuotes("hello 'world'")).toBe("hello ''world''");
+ });
+
+ it('returns the string unchanged when there are no single quotes', () => {
+ expect(escapeSingleQuotes('no quotes here')).toBe('no quotes here');
+ });
+
+ it('handles empty string', () => {
+ expect(escapeSingleQuotes('')).toBe('');
+ });
+
+ it('handles multiple quoted substrings', () => {
+ expect(escapeSingleQuotes("'foo' and 'bar'")).toBe("''foo'' and ''bar''");
+ });
+
+ it('doubles already-doubled adjacent single quotes', () => {
+ // The regex matches each '' pair and replaces it with ''''
+ const input = "it''s fine";
+ expect(escapeSingleQuotes(input)).toBe("it''''s fine");
+ });
+});
+
+describe('normalizeWidgetToServer', () => {
+ it('serializes properties to JSON string', () => {
+ const widget = {
+ id: 'w1',
+ properties: { width: 100, height: 200 },
+ config: { query: 'SELECT 1' },
+ } as any;
+ const result = normalizeWidgetToServer(widget);
+ expect(result.properties).toBe(JSON.stringify({ width: 100, height: 200 }));
+ });
+
+ it('serializes config to JSON string', () => {
+ const widget = {
+ id: 'w1',
+ properties: { x: 1 },
+ config: { query: 'SELECT 1' },
+ } as any;
+ const result = normalizeWidgetToServer(widget);
+ expect(result.config).toBe(JSON.stringify({ query: 'SELECT 1' }));
+ });
+
+ it('preserves null properties as-is', () => {
+ const widget = { id: 'w1', properties: null, config: null } as any;
+ const result = normalizeWidgetToServer(widget);
+ expect(result.properties).toBeNull();
+ expect(result.config).toBeNull();
+ });
+
+ it('preserves other widget fields', () => {
+ const widget = {
+ id: 'w1',
+ name: 'My Widget',
+ properties: {},
+ config: {},
+ } as any;
+ const result = normalizeWidgetToServer(widget);
+ expect(result.id).toBe('w1');
+ expect(result.name).toBe('My Widget');
+ });
+});
+
+describe('normalizeWidgetToClient', () => {
+ it('parses JSON string properties into object', () => {
+ const widget = {
+ id: 'w1',
+ properties: '{"width":100}',
+ config: '{"query":"SELECT 1"}',
+ } as any;
+ const result = normalizeWidgetToClient(widget);
+ expect(result.properties).toEqual({ width: 100 });
+ });
+
+ it('parses JSON string config into object', () => {
+ const widget = {
+ id: 'w1',
+ properties: '{"x":1}',
+ config: '{"query":"SELECT 1"}',
+ } as any;
+ const result = normalizeWidgetToClient(widget);
+ expect(result.config).toEqual({ query: 'SELECT 1' });
+ });
+
+ it('preserves other widget fields', () => {
+ const widget = {
+ id: 'w2',
+ name: 'Test',
+ properties: '{}',
+ config: '{}',
+ } as any;
+ const result = normalizeWidgetToClient(widget);
+ expect(result.id).toBe('w2');
+ expect(result.name).toBe('Test');
+ });
+});
+
+describe('unsanitizeWidget', () => {
+ it('replaces actual newlines with escaped newlines in config', () => {
+ const widget = { id: 'w1', config: 'SELECT\n1', properties: '' } as any;
+ const result = unsanitizeWidget(widget);
+ expect(result.config).toBe('SELECT\\n1');
+ });
+
+ it('replaces tabs with escaped tabs in config', () => {
+ const widget = { id: 'w1', config: 'SELECT\t1', properties: '' } as any;
+ const result = unsanitizeWidget(widget);
+ expect(result.config).toBe('SELECT\\t1');
+ });
+
+ it('does not modify properties', () => {
+ const widget = { id: 'w1', config: '', properties: 'test\nvalue' } as any;
+ const result = unsanitizeWidget(widget);
+ expect(result.properties).toBe('test\nvalue');
+ });
+
+ it('leaves config unchanged when there are no newlines or tabs', () => {
+ const widget = { id: 'w1', config: 'SELECT 1 FROM table', properties: '' } as any;
+ const result = unsanitizeWidget(widget);
+ expect(result.config).toBe('SELECT 1 FROM table');
+ });
+});
+
+describe('sanitizeWidget', () => {
+ beforeEach(() => {
+ (Sanitizer.sanitizeObject as jest.Mock).mockImplementation((obj: any) =>
+ JSON.parse(JSON.stringify(obj))
+ );
+ });
+
+ it('calls Sanitizer.sanitizeObject with the widget', () => {
+ const widget = { id: 'w1', config: { query: 'SELECT 1' }, properties: {} } as any;
+ sanitizeWidget(widget);
+ expect(Sanitizer.sanitizeObject).toHaveBeenCalledWith(widget);
+ });
+
+ it('replaces double single-quotes with single quotes in query', () => {
+ const widget = { id: 'w1', config: { query: "it''s fine" }, properties: {} } as any;
+ const result = sanitizeWidget(widget);
+ expect(result.config.query).toContain("it's fine");
+ });
+
+ it('replaces escaped single-quotes with single quotes in query', () => {
+ const widget = { id: 'w1', config: { query: "it\\'s fine" }, properties: {} } as any;
+ const result = sanitizeWidget(widget);
+ expect(result.config.query).toContain("it's fine");
+ });
+
+ it('replaces escaped newlines with actual newlines in query', () => {
+ const widget = { id: 'w1', config: { query: 'line1\\nline2' }, properties: {} } as any;
+ const result = sanitizeWidget(widget);
+ expect(result.config.query).toBe('line1\nline2');
+ });
+
+ it('replaces escaped tabs with actual tabs in query', () => {
+ const widget = { id: 'w1', config: { query: 'col1\\tcol2' }, properties: {} } as any;
+ const result = sanitizeWidget(widget);
+ expect(result.config.query).toBe('col1\tcol2');
+ });
+
+ it('replaces double single-quotes with single quotes in content', () => {
+ const widget = { id: 'w1', config: { content: "it''s fine" }, properties: {} } as any;
+ const result = sanitizeWidget(widget);
+ expect(result.config.content).toContain("it's fine");
+ });
+
+ it('replaces escaped newlines and tabs in content', () => {
+ const widget = {
+ id: 'w1',
+ config: { content: 'line1\\nline2\\tend' },
+ properties: {},
+ } as any;
+ const result = sanitizeWidget(widget);
+ expect(result.config.content).toBe('line1\nline2\tend');
+ });
+
+ it('returns sanitized widget unchanged when config has no query or content', () => {
+ const widget = { id: 'w1', config: { title: 'test' }, properties: {} } as any;
+ const result = sanitizeWidget(widget);
+ expect(result.config.title).toBe('test');
+ });
+
+ it('returns sanitized widget unchanged when config is absent', () => {
+ const widget = { id: 'w1', properties: {} } as any;
+ const result = sanitizeWidget(widget);
+ expect(result).not.toHaveProperty('config');
+ });
+});
diff --git a/src/client/src/__tests__/lib/db-config.test.ts b/src/client/src/__tests__/lib/db-config.test.ts
new file mode 100644
index 00000000..32bd5fd0
--- /dev/null
+++ b/src/client/src/__tests__/lib/db-config.test.ts
@@ -0,0 +1,460 @@
+jest.mock('@/lib/prisma', () => ({
+ __esModule: true,
+ default: {
+ databaseConfig: {
+ findUnique: jest.fn(),
+ findFirst: jest.fn(),
+ create: jest.fn(),
+ update: jest.fn(),
+ updateMany: jest.fn(),
+ upsert: jest.fn(),
+ delete: jest.fn(),
+ },
+ databaseConfigUser: {
+ findFirst: jest.fn(),
+ findMany: jest.fn(),
+ create: jest.fn(),
+ createMany: jest.fn(),
+ update: jest.fn(),
+ delete: jest.fn(),
+ count: jest.fn(),
+ },
+ databaseConfigInvitedUser: {
+ findMany: jest.fn(),
+ create: jest.fn(),
+ },
+ user: {
+ findUnique: jest.fn(),
+ },
+ },
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/lib/organisation', () => ({
+ getCurrentOrganisation: jest.fn(),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ })),
+}));
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/clickhouse/migrations', () => ({
+ __esModule: true,
+ default: jest.fn(),
+}));
+jest.mock('@/utils/log', () => ({
+ consoleLog: jest.fn(),
+}));
+
+import {
+ getDBConfigByUser,
+ getDBConfigById,
+ upsertDBConfig,
+ deleteDBConfig,
+ setCurrentDBConfig,
+ shareDBConfig,
+ moveSharedDBConfigToDBUser,
+} from '@/lib/db-config';
+import prisma from '@/lib/prisma';
+import { getCurrentUser } from '@/lib/session';
+import { getCurrentOrganisation } from '@/lib/organisation';
+import asaw from '@/utils/asaw';
+
+const mockUser = { id: 'u1', email: '[email protected]' };
+const mockOrg = { id: 'org1', name: 'Test Org' };
+const mockDbConfig = {
+ id: 'db1',
+ name: 'Test DB',
+ host: 'localhost',
+ port: '8123',
+ username: 'admin',
+ password: 'pass',
+ database: 'default',
+ organisationId: 'org1',
+ createdByUserId: 'u1',
+ createdAt: new Date(),
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (getCurrentUser as jest.Mock).mockResolvedValue(mockUser);
+ (getCurrentOrganisation as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.databaseConfigUser.findMany as jest.Mock).mockResolvedValue([]);
+ (prisma.databaseConfigUser.findFirst as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfig.findFirst as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfig.findUnique as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfigUser.count as jest.Mock).mockResolvedValue(0);
+});
+
+describe('getDBConfigByUser', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getDBConfigByUser()).rejects.toThrow('Unauthorized');
+ });
+
+ it('returns empty array when no db configs', async () => {
+ const result = await getDBConfigByUser();
+ expect(result).toEqual([]);
+ });
+
+ it('returns configs with permissions and isCurrent flag', async () => {
+ const mockUserConfig = {
+ databaseConfigId: 'db1',
+ isCurrent: true,
+ databaseConfig: mockDbConfig,
+ canEdit: true,
+ canDelete: true,
+ canShare: false,
+ };
+ (prisma.databaseConfigUser.findMany as jest.Mock)
+ .mockResolvedValueOnce([]) // orphaned configs query
+ .mockResolvedValueOnce([mockUserConfig]); // user configs query
+ const result = await getDBConfigByUser();
+ expect(result).toHaveLength(1);
+ expect(result[0].isCurrent).toBe(true);
+ expect(result[0].permissions.canEdit).toBe(true);
+ expect(result[0].permissions.canShare).toBe(false);
+ });
+
+ it('returns currentOnly config when currentOnly=true', async () => {
+ (prisma.databaseConfigUser.findFirst as jest.Mock).mockResolvedValue({
+ databaseConfig: mockDbConfig,
+ });
+ const result = await getDBConfigByUser(true);
+ expect(result).toEqual(mockDbConfig);
+ });
+
+ it('returns undefined when no current config (currentOnly=true)', async () => {
+ const result = await getDBConfigByUser(true);
+ expect(result).toBeUndefined();
+ });
+
+ it('auto-migrates orphaned configs when org exists', async () => {
+ (prisma.databaseConfigUser.findMany as jest.Mock)
+ .mockResolvedValueOnce([{ databaseConfigId: 'db-orphan' }]) // orphaned
+ .mockResolvedValueOnce([]); // user configs
+ (prisma.databaseConfig.updateMany as jest.Mock).mockResolvedValue({ count: 1 });
+ await getDBConfigByUser();
+ expect(prisma.databaseConfig.updateMany).toHaveBeenCalledWith(
+ expect.objectContaining({ data: { organisationId: 'org1' } })
+ );
+ });
+
+ it('does not auto-migrate when no current org', async () => {
+ (getCurrentOrganisation as jest.Mock).mockResolvedValue(null);
+ await getDBConfigByUser();
+ expect(prisma.databaseConfig.updateMany).not.toHaveBeenCalled();
+ });
+});
+
+describe('getDBConfigById', () => {
+ it('returns the db config by id', async () => {
+ (prisma.databaseConfig.findUnique as jest.Mock).mockResolvedValue(mockDbConfig);
+ const result = await getDBConfigById({ id: 'db1' });
+ expect(result).toEqual(mockDbConfig);
+ expect(prisma.databaseConfig.findUnique).toHaveBeenCalledWith({ where: { id: 'db1' } });
+ });
+
+ it('returns null when not found', async () => {
+ const result = await getDBConfigById({ id: 'nonexistent' });
+ expect(result).toBeNull();
+ });
+});
+
+describe('upsertDBConfig', () => {
+ const validConfig = {
+ name: 'My DB',
+ username: 'admin',
+ host: 'localhost',
+ port: '8123',
+ database: 'default',
+ };
+
+ it('throws when name is missing', async () => {
+ await expect(
+ upsertDBConfig({ username: 'a', host: 'b', port: '1', database: 'd' })
+ ).rejects.toThrow('No name provided');
+ });
+
+ it('throws when username is missing', async () => {
+ await expect(
+ upsertDBConfig({ name: 'a', host: 'b', port: '1', database: 'd' })
+ ).rejects.toThrow('No username provided');
+ });
+
+ it('throws when host is missing', async () => {
+ await expect(
+ upsertDBConfig({ name: 'a', username: 'b', port: '1', database: 'd' })
+ ).rejects.toThrow('No host provided');
+ });
+
+ it('throws when port is missing', async () => {
+ await expect(
+ upsertDBConfig({ name: 'a', username: 'b', host: 'c', database: 'd' })
+ ).rejects.toThrow('No port provided');
+ });
+
+ it('throws when database is missing', async () => {
+ await expect(
+ upsertDBConfig({ name: 'a', username: 'b', host: 'c', port: '1' })
+ ).rejects.toThrow('No database provided');
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(upsertDBConfig(validConfig)).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when db name already exists', async () => {
+ (prisma.databaseConfig.findFirst as jest.Mock).mockResolvedValue({ id: 'other-db' });
+ await expect(upsertDBConfig(validConfig)).rejects.toThrow('DB config Name already exists');
+ });
+
+ it('creates new config with org (org upsert path)', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, { id: 'new-db', organisationId: 'org1' }]);
+ (prisma.databaseConfig.findUnique as jest.Mock).mockResolvedValue({ organisationId: 'org1' });
+ (prisma.databaseConfigUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await upsertDBConfig(validConfig);
+ expect(result).toBe('Added db details successfully');
+ });
+
+ it('creates config without org (no-org create path)', async () => {
+ (getCurrentOrganisation as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfig.findFirst as jest.Mock)
+ .mockResolvedValueOnce(null) // name uniqueness check
+ .mockResolvedValueOnce(null); // check if existing (no-org path)
+ (prisma.databaseConfig.create as jest.Mock).mockResolvedValue({ id: 'new-db' });
+ (prisma.databaseConfig.findUnique as jest.Mock).mockResolvedValue({ organisationId: null });
+ (prisma.databaseConfigUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await upsertDBConfig(validConfig);
+ expect(result).toBe('Added db details successfully');
+ expect(prisma.databaseConfig.create).toHaveBeenCalled();
+ });
+
+ it('updates existing config without org (no-org update path)', async () => {
+ (getCurrentOrganisation as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfig.findFirst as jest.Mock)
+ .mockResolvedValueOnce(null) // name uniqueness check
+ .mockResolvedValueOnce({ id: 'existing-db' }); // existing no-org config
+ (prisma.databaseConfig.update as jest.Mock).mockResolvedValue({ id: 'existing-db' });
+ (prisma.databaseConfig.findUnique as jest.Mock).mockResolvedValue({ organisationId: null });
+ (prisma.databaseConfigUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await upsertDBConfig(validConfig);
+ expect(result).toBe('Added db details successfully');
+ expect(prisma.databaseConfig.update).toHaveBeenCalled();
+ });
+
+ it('updates config when id is provided', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { canEdit: true, canDelete: true, canShare: true }]) // checkPermissionForDbAction
+ .mockResolvedValueOnce([null, { id: 'db1' }]); // upsert with id
+
+ const result = await upsertDBConfig(validConfig, 'db1');
+ expect(result).toBe('Updated db details successfully');
+ });
+
+ it('throws when upsert fails', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([new Error('DB error'), null]);
+ await expect(upsertDBConfig(validConfig)).rejects.toThrow('DB error');
+ });
+
+ it('throws when user lacks edit permission (covers line 509 in checkPermissionForDbAction)', async () => {
+ // checkPermissionForDbAction(userId, id, "EDIT") internally calls asaw(prisma.findFirst)
+ // mock that inner asaw to return a config with canEdit=false
+ (asaw as jest.Mock).mockResolvedValueOnce([null, { canEdit: false, canDelete: true, canShare: true }]);
+ await expect(upsertDBConfig(validConfig, 'db1')).rejects.toThrow(
+ "User doesn't have permission to edit the database config"
+ );
+ });
+});
+
+describe('deleteDBConfig', () => {
+ beforeEach(() => {
+ (asaw as jest.Mock).mockResolvedValue([null, { canDelete: true }]);
+ (prisma.databaseConfigUser.delete as jest.Mock).mockResolvedValue({});
+ (prisma.databaseConfig.delete as jest.Mock).mockResolvedValue({});
+ });
+
+ it('deletes the db config and user link', async () => {
+ const result = await deleteDBConfig('db1');
+ expect(result).toBe('Deleted successfully!');
+ expect(prisma.databaseConfig.delete).toHaveBeenCalledWith({ where: { id: 'db1' } });
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(deleteDBConfig('db1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when user lacks delete permission', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, { canDelete: false }]);
+ await expect(deleteDBConfig('db1')).rejects.toThrow(
+ "User doesn't have permission to delete the database config"
+ );
+ });
+
+ it('throws when db config not found', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, null]);
+ await expect(deleteDBConfig('nonexistent')).rejects.toThrow(
+ "Database config doesn't exist"
+ );
+ });
+
+ it('throws when checkPermission returns error', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Permission error', null]);
+ await expect(deleteDBConfig('db1')).rejects.toThrow('Permission error');
+ });
+});
+
+describe('setCurrentDBConfig', () => {
+ it('sets a new current db config (unsets old current)', async () => {
+ (prisma.databaseConfigUser.findFirst as jest.Mock).mockResolvedValue({
+ databaseConfig: { id: 'old-db' },
+ });
+ (prisma.databaseConfigUser.update as jest.Mock).mockResolvedValue({});
+
+ const result = await setCurrentDBConfig('new-db');
+ expect(result).toBe('Current DB config set successfully!');
+ expect(prisma.databaseConfigUser.update).toHaveBeenCalledTimes(2);
+ });
+
+ it('sets current db config when no existing current', async () => {
+ (prisma.databaseConfigUser.findFirst as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfigUser.update as jest.Mock).mockResolvedValue({});
+
+ const result = await setCurrentDBConfig('new-db');
+ expect(result).toBe('Current DB config set successfully!');
+ expect(prisma.databaseConfigUser.update).toHaveBeenCalledTimes(1);
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(setCurrentDBConfig('db1')).rejects.toThrow('Unauthorized');
+ });
+});
+
+describe('shareDBConfig', () => {
+ it('throws when no id or empty shareArray', async () => {
+ await expect(shareDBConfig({ id: '', shareArray: [] })).rejects.toThrow(
+ 'No user to share!'
+ );
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(
+ shareDBConfig({ id: 'db1', shareArray: [{ email: '[email protected]' }] })
+ ).rejects.toThrow('Unauthorized');
+ });
+
+ it('shares with existing user who has no access', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { canShare: true, canEdit: true, canDelete: true }]) // checkPermissionForDbAction
+ .mockResolvedValueOnce([null, { id: 'u2', email: '[email protected]' }]) // user.findUnique
+ .mockResolvedValueOnce([null, null]); // databaseConfigUser.findFirst (no existing)
+ (prisma.databaseConfig.findUnique as jest.Mock).mockResolvedValue({ organisationId: null });
+ (prisma.databaseConfigUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await shareDBConfig({
+ id: 'db1',
+ shareArray: [{ email: '[email protected]' }],
+ });
+ expect(result).toHaveLength(1);
+ expect(result[0][1]).toEqual({ success: true });
+ });
+
+ it('returns error when user already has access', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { canShare: true }]) // checkPermissionForDbAction
+ .mockResolvedValueOnce([null, { id: 'u2' }]) // user.findUnique
+ .mockResolvedValueOnce([null, { id: 'existing-link' }]); // already has access
+
+ const result = await shareDBConfig({
+ id: 'db1',
+ shareArray: [{ email: '[email protected]' }],
+ });
+ expect(result[0][0]).toContain('Already shared');
+ expect(result[0][1]).toEqual({ success: false });
+ });
+
+ it('creates invitation for non-existing user', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { canShare: true, canEdit: true, canDelete: true }]) // checkPermissionForDbAction
+ .mockResolvedValueOnce([null, null]) // user.findUnique (not found)
+ .mockResolvedValueOnce([null, {}]); // databaseConfigInvitedUser.create
+
+ const result = await shareDBConfig({
+ id: 'db1',
+ shareArray: [{ email: '[email protected]' }],
+ });
+ expect(result[0][1]).toEqual({ success: true });
+ });
+
+ it('returns failure when invitation create fails', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { canShare: true, canEdit: false, canDelete: false }])
+ .mockResolvedValueOnce([null, null]) // user not found
+ .mockResolvedValueOnce(['Create failed', null]); // invitation create error
+
+ const result = await shareDBConfig({
+ id: 'db1',
+ shareArray: [{ email: '[email protected]' }],
+ });
+ expect(result[0][1]).toEqual({ success: false });
+ });
+});
+
+describe('moveSharedDBConfigToDBUser', () => {
+ it('returns early when error from findMany', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['DB error', null]);
+ const result = await moveSharedDBConfigToDBUser('[email protected]', 'u1');
+ expect(result).toBeUndefined();
+ });
+
+ it('returns early when no shared configs', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, []]);
+ const result = await moveSharedDBConfigToDBUser('[email protected]', 'u1');
+ expect(result).toBeUndefined();
+ });
+
+ it('creates user entries from shared configs (has current config)', async () => {
+ const sharedConfigs = [
+ { databaseConfigId: 'db1', canDelete: false, canEdit: false, canShare: false },
+ ];
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, sharedConfigs])
+ .mockResolvedValueOnce([null, {}]); // createMany
+ (prisma.databaseConfigUser.count as jest.Mock).mockResolvedValue(1); // has current
+
+ await moveSharedDBConfigToDBUser('[email protected]', 'u1');
+ expect(asaw).toHaveBeenCalledTimes(2);
+ });
+
+ it('sets first db config as current when user has no current', async () => {
+ const sharedConfigs = [
+ { databaseConfigId: 'db1', canDelete: false, canEdit: false, canShare: false },
+ ];
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, sharedConfigs])
+ .mockResolvedValueOnce([null, {}]); // createMany
+ (prisma.databaseConfigUser.count as jest.Mock).mockResolvedValue(0); // no current
+ (prisma.databaseConfigUser.findFirst as jest.Mock).mockResolvedValue({
+ databaseConfigId: 'db1',
+ });
+ (prisma.databaseConfigUser.update as jest.Mock).mockResolvedValue({});
+
+ await moveSharedDBConfigToDBUser('[email protected]', 'u1');
+ expect(prisma.databaseConfigUser.update).toHaveBeenCalled();
+ });
+});
diff --git a/src/client/src/__tests__/lib/organisation.test.ts b/src/client/src/__tests__/lib/organisation.test.ts
new file mode 100644
index 00000000..ed30a8db
--- /dev/null
+++ b/src/client/src/__tests__/lib/organisation.test.ts
@@ -0,0 +1,949 @@
+jest.mock('@/lib/prisma', () => ({
+ __esModule: true,
+ default: {
+ organisation: {
+ findUnique: jest.fn(),
+ create: jest.fn(),
+ update: jest.fn(),
+ delete: jest.fn(),
+ },
+ organisationUser: {
+ findFirst: jest.fn(),
+ findMany: jest.fn(),
+ findUnique: jest.fn(),
+ create: jest.fn(),
+ update: jest.fn(),
+ updateMany: jest.fn(),
+ delete: jest.fn(),
+ count: jest.fn(),
+ },
+ organisationInvitedUser: {
+ findUnique: jest.fn(),
+ findMany: jest.fn(),
+ create: jest.fn(),
+ delete: jest.fn(),
+ },
+ databaseConfigUser: {
+ findFirst: jest.fn(),
+ findMany: jest.fn(),
+ findUnique: jest.fn(),
+ create: jest.fn(),
+ deleteMany: jest.fn(),
+ },
+ databaseConfig: {
+ findMany: jest.fn(),
+ updateMany: jest.fn(),
+ },
+ user: {
+ findUnique: jest.fn(),
+ update: jest.fn(),
+ },
+ $transaction: jest.fn(),
+ },
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ NOT_ORGANISATION_MEMBER: 'Not a member',
+ ORGANISATION_NOT_FOUND: 'Org not found',
+ ORGANISATION_ONLY_CREATOR_CAN_DELETE: 'Only creator can delete',
+ ORGANISATION_CANNOT_DELETE_WITH_MEMBERS: 'Cannot delete with members',
+ ONLY_ADMIN_CAN_UPDATE_ORGANISATION: 'Only admin can update',
+ ORGANISATION_NOTHING_TO_UPDATE: 'Nothing to update',
+ ONLY_ADMIN_CAN_INVITE: 'Only admin can invite',
+ USER_ALREADY_ORGANISATION_MEMBER: 'Already a member',
+ USER_ALREADY_INVITED: 'Already invited',
+ INVITATION_NOT_FOUND: 'Invitation not found',
+ INVITATION_NOT_FOR_YOU: 'Invitation not for you',
+ ONLY_ADMIN_CAN_REMOVE_MEMBERS: 'Only admin can remove',
+ CANNOT_LEAVE_WITH_MEMBERS: 'Cannot leave with members',
+ CREATOR_CANNOT_LEAVE_ALONE: 'Creator cannot leave',
+ CANNOT_REMOVE_ADMIN_OR_OWNER: 'Cannot remove admin/owner',
+ ONLY_ADMIN_OR_OWNER_CAN_UPDATE_ROLES: 'Only admin/owner can update',
+ INVALID_MEMBER_ROLE: 'Invalid role',
+ CANNOT_CHANGE_OWNER_ROLE: 'Cannot change owner role',
+ CANNOT_CHANGE_ADMIN_ROLE: 'Cannot change admin role',
+ ONLY_ADMIN_CAN_CANCEL_INVITATION: 'Only admin can cancel',
+ })),
+}));
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+
+import {
+ createOrganisation,
+ getOrganisationsByUser,
+ getCurrentOrganisation,
+ setCurrentOrganisation,
+ updateOrganisation,
+ deleteOrganisation,
+ inviteUserToOrganisation,
+ getPendingInvitationsForUser,
+ acceptInvitation,
+ declineInvitation,
+ moveInvitationsToMembership,
+ removeUserFromOrganisation,
+ getOrganisationMembers,
+ updateMemberRole,
+ getOrganisationPendingInvites,
+ cancelInvitation,
+ getOrganisationById,
+} from '@/lib/organisation';
+import prisma from '@/lib/prisma';
+import { getCurrentUser } from '@/lib/session';
+import { throwIfError } from '@/utils/error';
+import getMessage from '@/constants/messages';
+
+const mockUser = { id: 'u1', email: '[email protected]' };
+const mockOrg = {
+ id: 'org1',
+ name: 'Test Org',
+ slug: 'test-org-abc123',
+ createdByUserId: 'u1',
+ _count: { members: 1 },
+};
+
+beforeEach(() => {
+ // Use resetAllMocks to guarantee clean state (clears all mocks including default implementations)
+ jest.resetAllMocks();
+ // Re-apply throwIfError implementation after reset
+ (throwIfError as jest.Mock).mockImplementation((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ });
+ // Re-apply getMessage mock after reset
+ (getMessage as jest.Mock).mockReturnValue({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ NOT_ORGANISATION_MEMBER: 'Not a member',
+ ORGANISATION_NOT_FOUND: 'Org not found',
+ ORGANISATION_ONLY_CREATOR_CAN_DELETE: 'Only creator can delete',
+ ORGANISATION_CANNOT_DELETE_WITH_MEMBERS: 'Cannot delete with members',
+ ONLY_ADMIN_CAN_UPDATE_ORGANISATION: 'Only admin can update',
+ ORGANISATION_NOTHING_TO_UPDATE: 'Nothing to update',
+ ONLY_ADMIN_CAN_INVITE: 'Only admin can invite',
+ USER_ALREADY_ORGANISATION_MEMBER: 'Already a member',
+ USER_ALREADY_INVITED: 'Already invited',
+ INVITATION_NOT_FOUND: 'Invitation not found',
+ INVITATION_NOT_FOR_YOU: 'Invitation not for you',
+ ONLY_ADMIN_CAN_REMOVE_MEMBERS: 'Only admin can remove',
+ CANNOT_LEAVE_WITH_MEMBERS: 'Cannot leave with members',
+ CREATOR_CANNOT_LEAVE_ALONE: 'Creator cannot leave',
+ CANNOT_REMOVE_ADMIN_OR_OWNER: 'Cannot remove admin/owner',
+ ONLY_ADMIN_OR_OWNER_CAN_UPDATE_ROLES: 'Only admin/owner can update',
+ INVALID_MEMBER_ROLE: 'Invalid role',
+ CANNOT_CHANGE_OWNER_ROLE: 'Cannot change owner role',
+ CANNOT_CHANGE_ADMIN_ROLE: 'Cannot change admin role',
+ ONLY_ADMIN_CAN_CANCEL_INVITATION: 'Only admin can cancel',
+ });
+ (getCurrentUser as jest.Mock).mockResolvedValue(mockUser);
+ // Default: no existing slug (unique slug generation)
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(null);
+ // Default: findUnique on organisationUser returns null (not a member by default)
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue(null);
+ // Default: findMany returns empty arrays
+ (prisma.organisationUser.findMany as jest.Mock).mockResolvedValue([]);
+ (prisma.databaseConfigUser.findMany as jest.Mock).mockResolvedValue([]);
+ // Default: databaseConfig.findMany returns [] (no org configs)
+ (prisma.databaseConfig.findMany as jest.Mock).mockResolvedValue([]);
+ // Default: $transaction resolves
+ (prisma.$transaction as jest.Mock).mockResolvedValue([]);
+ // Default: user.findUnique returns null
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(null);
+ // Default: invited user operations return null/[]
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue(null);
+ (prisma.organisationInvitedUser.findMany as jest.Mock).mockResolvedValue([]);
+});
+
+describe('createOrganisation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(createOrganisation('My Org')).rejects.toThrow('Unauthorized');
+ });
+
+ it('creates organisation and adds creator as owner', async () => {
+ (prisma.organisation.create as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await createOrganisation('My Org');
+ expect(result).toEqual(mockOrg);
+ expect(prisma.organisation.create).toHaveBeenCalledWith(
+ expect.objectContaining({
+ data: expect.objectContaining({ name: 'My Org', createdByUserId: 'u1' }),
+ })
+ );
+ expect(prisma.organisationUser.create).toHaveBeenCalledWith(
+ expect.objectContaining({
+ data: expect.objectContaining({ role: 'owner' }),
+ })
+ );
+ });
+
+ it('throws when slug generation exhausts retries', async () => {
+ // Every slug already exists
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({ id: 'existing' });
+ await expect(createOrganisation('My Org')).rejects.toThrow(
+ 'Unable to generate a unique organisation slug'
+ );
+ });
+
+ it('migrates orphaned DB configs to new org on creation', async () => {
+ (prisma.organisation.create as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+
+ // migrateUserConfigsToOrganisation: orphaned configs exist
+ (prisma.databaseConfigUser.findMany as jest.Mock)
+ .mockResolvedValueOnce([{ databaseConfigId: 'cfg1' }]) // userConfigLinks
+ .mockResolvedValueOnce([{ userId: 'u3' }]); // sharedUserLinks
+ (prisma.databaseConfig.updateMany as jest.Mock).mockResolvedValue({});
+
+ // For the shared user u3:
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValueOnce(null); // no existing membership
+ (prisma.organisationUser.findFirst as jest.Mock).mockResolvedValueOnce(null); // no current org
+ // shareOrganisationDatabaseConfigs for u3: no configs in the org yet
+ (prisma.databaseConfig.findMany as jest.Mock).mockResolvedValue([]);
+ (prisma.user.update as jest.Mock).mockResolvedValue({});
+
+ const result = await createOrganisation('My Org');
+ expect(result).toBeDefined();
+ expect(prisma.databaseConfig.updateMany).toHaveBeenCalled();
+ expect(prisma.organisationUser.create).toHaveBeenCalledTimes(2); // owner + u3 member
+ });
+
+ it('updates existing membership when shared user has no current org', async () => {
+ (prisma.organisation.create as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+
+ // migrateUserConfigsToOrganisation:
+ (prisma.databaseConfigUser.findMany as jest.Mock)
+ .mockResolvedValueOnce([{ databaseConfigId: 'cfg1' }])
+ .mockResolvedValueOnce([{ userId: 'u4' }]);
+ (prisma.databaseConfig.updateMany as jest.Mock).mockResolvedValue({});
+
+ // u4 already a member BUT has no current org
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValueOnce({ id: 'ou4' }); // existing membership
+ (prisma.organisationUser.findFirst as jest.Mock).mockResolvedValueOnce(null); // no current org
+ (prisma.organisationUser.update as jest.Mock).mockResolvedValue({});
+ (prisma.databaseConfig.findMany as jest.Mock).mockResolvedValue([]);
+ (prisma.user.update as jest.Mock).mockResolvedValue({});
+
+ const result = await createOrganisation('My Org');
+ expect(result).toBeDefined();
+ expect(prisma.organisationUser.update).toHaveBeenCalledWith(
+ expect.objectContaining({ data: { isCurrent: true } })
+ );
+ });
+});
+
+describe('getOrganisationsByUser', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getOrganisationsByUser()).rejects.toThrow('Unauthorized');
+ });
+
+ it('returns mapped organisations', async () => {
+ (prisma.organisationUser.findMany as jest.Mock).mockResolvedValue([
+ {
+ organisation: {
+ id: 'org1',
+ name: 'Test Org',
+ slug: 'test-org',
+ createdByUserId: 'u1',
+ _count: { members: 2 },
+ },
+ isCurrent: true,
+ },
+ ]);
+
+ const result = await getOrganisationsByUser();
+ expect(result).toHaveLength(1);
+ expect(result[0].id).toBe('org1');
+ expect(result[0].isCurrent).toBe(true);
+ expect(result[0].memberCount).toBe(2);
+ });
+
+ it('returns empty array when user has no orgs', async () => {
+ (prisma.organisationUser.findMany as jest.Mock).mockResolvedValue([]);
+ const result = await getOrganisationsByUser();
+ expect(result).toEqual([]);
+ });
+});
+
+describe('getCurrentOrganisation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getCurrentOrganisation()).rejects.toThrow('Unauthorized');
+ });
+
+ it('returns null when no current org', async () => {
+ (prisma.organisationUser.findFirst as jest.Mock).mockResolvedValue(null);
+ const result = await getCurrentOrganisation();
+ expect(result).toBeNull();
+ });
+
+ it('returns current org details', async () => {
+ (prisma.organisationUser.findFirst as jest.Mock).mockResolvedValue({
+ organisation: {
+ id: 'org1',
+ name: 'Test Org',
+ slug: 'test-org',
+ createdByUserId: 'u1',
+ _count: { members: 3 },
+ },
+ });
+
+ const result = await getCurrentOrganisation();
+ expect(result).not.toBeNull();
+ expect(result!.id).toBe('org1');
+ expect(result!.memberCount).toBe(3);
+ expect(result!.isCurrent).toBe(true);
+ });
+});
+
+describe('setCurrentOrganisation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(setCurrentOrganisation('org1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when user is not a member', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(setCurrentOrganisation('org1')).rejects.toThrow('Not a member');
+ });
+
+ it('sets current organisation via transaction', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ id: 'ou1' });
+ (prisma.$transaction as jest.Mock).mockResolvedValue([{}, {}]);
+
+ const result = await setCurrentOrganisation('org1');
+ expect(result).toEqual({ success: true });
+ expect(prisma.$transaction).toHaveBeenCalled();
+ });
+});
+
+describe('updateOrganisation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(updateOrganisation('org1', { name: 'New Name' })).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when user is not admin/owner', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'member' });
+ await expect(updateOrganisation('org1', { name: 'New Name' })).rejects.toThrow(
+ 'Only admin can update'
+ );
+ });
+
+ it('throws when nothing to update', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'owner' });
+ await expect(updateOrganisation('org1', {})).rejects.toThrow('Nothing to update');
+ });
+
+ it('updates organisation name', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'owner' });
+ (prisma.organisation.update as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ name: 'New Name',
+ });
+
+ const result = await updateOrganisation('org1', { name: 'New Name' });
+ expect(result).toEqual({ id: 'org1', name: 'New Name' });
+ expect(prisma.organisation.update).toHaveBeenCalledWith(
+ expect.objectContaining({ data: { name: 'New Name' } })
+ );
+ });
+});
+
+describe('deleteOrganisation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(deleteOrganisation('org1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when organisation not found', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(deleteOrganisation('org1')).rejects.toThrow('Org not found');
+ });
+
+ it('throws when user is not the creator', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ ...mockOrg,
+ createdByUserId: 'other-user',
+ });
+ await expect(deleteOrganisation('org1')).rejects.toThrow('Only creator can delete');
+ });
+
+ it('throws when org has multiple members', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ ...mockOrg,
+ _count: { members: 3 },
+ });
+ await expect(deleteOrganisation('org1')).rejects.toThrow(
+ 'Cannot delete with members'
+ );
+ });
+
+ it('deletes organisation successfully', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ isCurrent: false });
+ (prisma.organisation.delete as jest.Mock).mockResolvedValue({});
+
+ const result = await deleteOrganisation('org1');
+ expect(result).toEqual({ success: true });
+ expect(prisma.organisation.delete).toHaveBeenCalledWith({ where: { id: 'org1' } });
+ });
+
+ it('sets another org as current after deleting current org', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ isCurrent: true });
+ (prisma.organisation.delete as jest.Mock).mockResolvedValue({});
+ (prisma.organisationUser.findFirst as jest.Mock).mockResolvedValue({ id: 'ou2' });
+ (prisma.organisationUser.update as jest.Mock).mockResolvedValue({});
+
+ await deleteOrganisation('org1');
+ expect(prisma.organisationUser.update).toHaveBeenCalledWith(
+ expect.objectContaining({ data: { isCurrent: true } })
+ );
+ });
+});
+
+describe('inviteUserToOrganisation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(inviteUserToOrganisation('org1', '[email protected]')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when user is not admin/owner', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'member' });
+ await expect(inviteUserToOrganisation('org1', '[email protected]')).rejects.toThrow(
+ 'Only admin can invite'
+ );
+ });
+
+ it('throws when email is empty after trimming', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'owner' });
+ await expect(inviteUserToOrganisation('org1', ' ')).rejects.toThrow(
+ 'Email cannot be empty'
+ );
+ });
+
+ it('throws when email is invalid', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'owner' });
+ await expect(inviteUserToOrganisation('org1', 'not-an-email')).rejects.toThrow(
+ 'Invalid email format'
+ );
+ });
+
+ it('creates invitation for non-existing user', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'owner' });
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(null);
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue(null);
+ (prisma.organisationInvitedUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await inviteUserToOrganisation('org1', '[email protected]');
+ expect(result).toEqual({ added: false, invited: true });
+ });
+
+ it('adds existing user directly as member', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'owner' }) // hasAdminOrOwnerRole
+ .mockResolvedValueOnce(null); // existingMembership check
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue({ id: 'u2', email: '[email protected]' });
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await inviteUserToOrganisation('org1', '[email protected]');
+ expect(result).toEqual({ added: true, invited: false });
+ });
+
+ it('throws when user already a member', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'owner' }) // hasAdminOrOwnerRole
+ .mockResolvedValueOnce({ id: 'ou1' }); // existingMembership
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue({ id: 'u2' });
+ await expect(inviteUserToOrganisation('org1', '[email protected]')).rejects.toThrow(
+ 'Already a member'
+ );
+ });
+
+ it('throws when user already invited', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'owner' });
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(null);
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({ id: 'inv1' });
+ await expect(inviteUserToOrganisation('org1', '[email protected]')).rejects.toThrow(
+ 'Already invited'
+ );
+ });
+});
+
+describe('getPendingInvitationsForUser', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getPendingInvitationsForUser()).rejects.toThrow('Unauthorized');
+ });
+
+ it('returns pending invitations', async () => {
+ (prisma.organisationInvitedUser.findMany as jest.Mock).mockResolvedValue([
+ {
+ id: 'inv1',
+ organisationId: 'org1',
+ invitedByUserId: 'u2',
+ createdAt: new Date(),
+ organisation: { name: 'Test Org' },
+ },
+ ]);
+
+ const result = await getPendingInvitationsForUser();
+ expect(result).toHaveLength(1);
+ expect(result[0].id).toBe('inv1');
+ expect(result[0].organisationName).toBe('Test Org');
+ });
+});
+
+describe('acceptInvitation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(acceptInvitation('inv1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when invitation not found', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(acceptInvitation('inv1')).rejects.toThrow('Invitation not found');
+ });
+
+ it('throws when invitation is not for current user', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({
+ id: 'inv1',
+ email: '[email protected]',
+ organisationId: 'org1',
+ });
+ await expect(acceptInvitation('inv1')).rejects.toThrow('Invitation not for you');
+ });
+
+ it('accepts invitation and creates membership', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({
+ id: 'inv1',
+ email: '[email protected]',
+ organisationId: 'org1',
+ });
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+ (prisma.organisationInvitedUser.delete as jest.Mock).mockResolvedValue({});
+
+ const result = await acceptInvitation('inv1');
+ expect(result).toEqual({ success: true });
+ expect(prisma.organisationUser.create).toHaveBeenCalledWith(
+ expect.objectContaining({
+ data: expect.objectContaining({ role: 'member', userId: 'u1' }),
+ })
+ );
+ expect(prisma.organisationInvitedUser.delete).toHaveBeenCalled();
+ });
+
+ it('shares existing org database configs with new member on acceptance', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({
+ id: 'inv2',
+ email: '[email protected]',
+ organisationId: 'org1',
+ });
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+ (prisma.organisationInvitedUser.delete as jest.Mock).mockResolvedValue({});
+
+ // shareOrganisationDatabaseConfigs: returns configs to share
+ (prisma.databaseConfig.findMany as jest.Mock).mockResolvedValue([
+ { id: 'cfg1' },
+ ]);
+ // existingCurrentConfig → null (user has no current config in this org)
+ (prisma.databaseConfigUser.findFirst as jest.Mock).mockResolvedValue(null);
+ // existingAccess → null (user doesn't have access yet)
+ (prisma.databaseConfigUser.findUnique as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfigUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await acceptInvitation('inv2');
+ expect(result).toEqual({ success: true });
+ expect(prisma.databaseConfigUser.create).toHaveBeenCalledWith(
+ expect.objectContaining({
+ data: expect.objectContaining({ databaseConfigId: 'cfg1', userId: 'u1', isCurrent: true }),
+ })
+ );
+ });
+
+ it('does not assign isCurrent when user already has a current db config in org', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({
+ id: 'inv3',
+ email: '[email protected]',
+ organisationId: 'org1',
+ });
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+ (prisma.organisationInvitedUser.delete as jest.Mock).mockResolvedValue({});
+
+ (prisma.databaseConfig.findMany as jest.Mock).mockResolvedValue([{ id: 'cfg2' }]);
+ // existingCurrentConfig → already has a current one
+ (prisma.databaseConfigUser.findFirst as jest.Mock).mockResolvedValue({ id: 'existing-dcu' });
+ (prisma.databaseConfigUser.findUnique as jest.Mock).mockResolvedValue(null);
+ (prisma.databaseConfigUser.create as jest.Mock).mockResolvedValue({});
+
+ const result = await acceptInvitation('inv3');
+ expect(result).toEqual({ success: true });
+ expect(prisma.databaseConfigUser.create).toHaveBeenCalledWith(
+ expect.objectContaining({
+ data: expect.objectContaining({ isCurrent: false }),
+ })
+ );
+ });
+});
+
+describe('declineInvitation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(declineInvitation('inv1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when invitation not found', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(declineInvitation('inv1')).rejects.toThrow('Invitation not found');
+ });
+
+ it('declines invitation and deletes it', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({
+ id: 'inv1',
+ email: '[email protected]',
+ organisationId: 'org1',
+ });
+ (prisma.organisationInvitedUser.delete as jest.Mock).mockResolvedValue({});
+
+ const result = await declineInvitation('inv1');
+ expect(result).toEqual({ success: true });
+ expect(prisma.organisationInvitedUser.delete).toHaveBeenCalledWith({
+ where: { id: 'inv1' },
+ });
+ });
+});
+
+describe('moveInvitationsToMembership', () => {
+ it('handles no invitations gracefully', async () => {
+ (prisma.organisationInvitedUser.findMany as jest.Mock).mockResolvedValue([]);
+ await expect(moveInvitationsToMembership('[email protected]', 'u1')).resolves.toBeUndefined();
+ });
+
+ it('creates memberships and deletes invitations', async () => {
+ (prisma.organisationInvitedUser.findMany as jest.Mock).mockResolvedValue([
+ { id: 'inv1', organisationId: 'org1' },
+ ]);
+ (prisma.organisationUser.create as jest.Mock).mockResolvedValue({});
+ (prisma.organisationInvitedUser.delete as jest.Mock).mockResolvedValue({});
+
+ await moveInvitationsToMembership('[email protected]', 'u1');
+ expect(prisma.organisationUser.create).toHaveBeenCalledTimes(1);
+ expect(prisma.organisationInvitedUser.delete).toHaveBeenCalledTimes(1);
+ });
+});
+
+describe('removeUserFromOrganisation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(removeUserFromOrganisation('org1', 'u2')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when organisation not found', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(removeUserFromOrganisation('org1', 'u2')).rejects.toThrow('Org not found');
+ });
+
+ it('throws when creator tries to leave with other members', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'u1',
+ });
+ (prisma.organisationUser.count as jest.Mock).mockResolvedValue(3);
+ await expect(removeUserFromOrganisation('org1', 'u1')).rejects.toThrow(
+ 'Cannot leave with members'
+ );
+ });
+
+ it('throws when creator tries to leave as sole member', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'u1',
+ });
+ (prisma.organisationUser.count as jest.Mock).mockResolvedValue(1);
+ await expect(removeUserFromOrganisation('org1', 'u1')).rejects.toThrow(
+ 'Creator cannot leave'
+ );
+ });
+
+ it('removes other user when current user is admin', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'owner-id',
+ });
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'admin' }) // current user's role via findUnique
+ .mockResolvedValueOnce({ isCurrent: false }); // membership of target user
+ // getUserRoleInOrganisation calls findUnique for current user and target user
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'admin' }) // currentUserRole
+ .mockResolvedValueOnce({ role: 'member' }) // targetUserRole
+ .mockResolvedValueOnce({ isCurrent: false }); // membership check at end
+ (prisma.databaseConfigUser.deleteMany as jest.Mock).mockResolvedValue({});
+ (prisma.organisationUser.delete as jest.Mock).mockResolvedValue({});
+
+ const result = await removeUserFromOrganisation('org1', 'u2');
+ expect(result).toEqual({ success: true });
+ });
+
+ it('removes self (non-creator member)', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u2', email: '[email protected]' });
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'u1', // different from u2
+ });
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ isCurrent: false });
+ (prisma.databaseConfigUser.deleteMany as jest.Mock).mockResolvedValue({});
+ (prisma.organisationUser.delete as jest.Mock).mockResolvedValue({});
+
+ const result = await removeUserFromOrganisation('org1', 'u2');
+ expect(result).toEqual({ success: true });
+ });
+
+ it('throws when admin tries to remove another admin', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'owner-id',
+ });
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'admin' }) // currentUserRole (getUserRoleInOrganisation)
+ .mockResolvedValueOnce({ role: 'admin' }); // targetUserRole (getUserRoleInOrganisation)
+
+ await expect(removeUserFromOrganisation('org1', 'u2')).rejects.toThrow(
+ 'Cannot remove admin/owner'
+ );
+ });
+
+ it('throws when trying to remove the organisation creator', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'creator-id',
+ });
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'owner' }) // currentUserRole
+ .mockResolvedValueOnce({ role: 'member' }); // targetUserRole
+
+ await expect(removeUserFromOrganisation('org1', 'creator-id')).rejects.toThrow(
+ 'Cannot remove admin/owner'
+ );
+ });
+
+ it('sets another org as current when removing user from their current org', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u2', email: '[email protected]' });
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'u1',
+ });
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ isCurrent: true });
+ (prisma.databaseConfigUser.deleteMany as jest.Mock).mockResolvedValue({});
+ (prisma.organisationUser.delete as jest.Mock).mockResolvedValue({});
+ (prisma.organisationUser.findFirst as jest.Mock).mockResolvedValue({ id: 'ou3' });
+ (prisma.organisationUser.update as jest.Mock).mockResolvedValue({});
+
+ const result = await removeUserFromOrganisation('org1', 'u2');
+ expect(result).toEqual({ success: true });
+ expect(prisma.organisationUser.update).toHaveBeenCalledWith(
+ expect.objectContaining({ data: { isCurrent: true } })
+ );
+ });
+
+ it('handles no remaining orgs after removing user from current org', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u2', email: '[email protected]' });
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'u1',
+ });
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ isCurrent: true });
+ (prisma.databaseConfigUser.deleteMany as jest.Mock).mockResolvedValue({});
+ (prisma.organisationUser.delete as jest.Mock).mockResolvedValue({});
+ (prisma.organisationUser.findFirst as jest.Mock).mockResolvedValue(null); // no remaining orgs
+
+ const result = await removeUserFromOrganisation('org1', 'u2');
+ expect(result).toEqual({ success: true });
+ // update should NOT have been called (no remaining org to set as current)
+ expect(prisma.organisationUser.update).not.toHaveBeenCalled();
+ });
+});
+
+describe('getOrganisationMembers', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getOrganisationMembers('org1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when user is not a member', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(getOrganisationMembers('org1')).rejects.toThrow('Not a member');
+ });
+
+ it('returns mapped members', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ id: 'ou1' });
+ (prisma.organisationUser.findMany as jest.Mock).mockResolvedValue([
+ {
+ user: { id: 'u1', email: '[email protected]', name: 'User', image: null },
+ role: 'owner',
+ createdAt: new Date(),
+ },
+ ]);
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ createdByUserId: 'u1',
+ });
+
+ const result = await getOrganisationMembers('org1');
+ expect(result).toHaveLength(1);
+ expect(result[0].id).toBe('u1');
+ expect(result[0].isCreator).toBe(true);
+ });
+});
+
+describe('updateMemberRole', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(updateMemberRole('org1', 'u2', 'admin')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when organisation not found', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(updateMemberRole('org1', 'u2', 'admin')).rejects.toThrow('Org not found');
+ });
+
+ it('throws when invalid role provided', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(mockOrg);
+ await expect(updateMemberRole('org1', 'u2', 'superadmin')).rejects.toThrow('Invalid role');
+ });
+
+ it('throws when trying to change owner role', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ ...mockOrg,
+ createdByUserId: 'u2',
+ });
+ await expect(updateMemberRole('org1', 'u2', 'member')).rejects.toThrow(
+ 'Cannot change owner role'
+ );
+ });
+
+ it('updates member role successfully', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'owner' }) // currentUserRole
+ .mockResolvedValueOnce({ role: 'member' }); // targetUserRole
+ (prisma.organisationUser.update as jest.Mock).mockResolvedValue({});
+
+ const result = await updateMemberRole('org1', 'u2', 'admin');
+ expect(result).toEqual({ success: true });
+ });
+
+ it('throws when admin tries to change role of another admin', async () => {
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(mockOrg);
+ (prisma.organisationUser.findUnique as jest.Mock)
+ .mockResolvedValueOnce({ role: 'admin' }) // currentUserRole (admin, not owner)
+ .mockResolvedValueOnce({ role: 'admin' }); // targetUserRole (also admin)
+
+ await expect(updateMemberRole('org1', 'u2', 'member')).rejects.toThrow(
+ 'Cannot change admin role'
+ );
+ });
+});
+
+describe('getOrganisationPendingInvites', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getOrganisationPendingInvites('org1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when user is not a member', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(getOrganisationPendingInvites('org1')).rejects.toThrow('Not a member');
+ });
+
+ it('returns pending invites', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ id: 'ou1' });
+ (prisma.organisationInvitedUser.findMany as jest.Mock).mockResolvedValue([
+ { id: 'inv1', email: '[email protected]', createdAt: new Date() },
+ ]);
+
+ const result = await getOrganisationPendingInvites('org1');
+ expect(result).toHaveLength(1);
+ expect(result[0].email).toBe('[email protected]');
+ });
+});
+
+describe('cancelInvitation', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(cancelInvitation('inv1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when invitation not found', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(cancelInvitation('inv1')).rejects.toThrow('Invitation not found');
+ });
+
+ it('throws when user is not admin/owner', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({
+ id: 'inv1',
+ organisationId: 'org1',
+ organisation: { id: 'org1' },
+ });
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'member' });
+ await expect(cancelInvitation('inv1')).rejects.toThrow('Only admin can cancel');
+ });
+
+ it('cancels invitation successfully', async () => {
+ (prisma.organisationInvitedUser.findUnique as jest.Mock).mockResolvedValue({
+ id: 'inv1',
+ organisationId: 'org1',
+ organisation: { id: 'org1' },
+ });
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ role: 'owner' });
+ (prisma.organisationInvitedUser.delete as jest.Mock).mockResolvedValue({});
+
+ const result = await cancelInvitation('inv1');
+ expect(result).toEqual({ success: true });
+ });
+});
+
+describe('getOrganisationById', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getOrganisationById('org1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when user is not a member', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(getOrganisationById('org1')).rejects.toThrow('Not a member');
+ });
+
+ it('returns null when organisation not found', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ isCurrent: true });
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue(null);
+
+ const result = await getOrganisationById('org1');
+ expect(result).toBeNull();
+ });
+
+ it('returns organisation details', async () => {
+ (prisma.organisationUser.findUnique as jest.Mock).mockResolvedValue({ isCurrent: true });
+ (prisma.organisation.findUnique as jest.Mock).mockResolvedValue({
+ id: 'org1',
+ name: 'Test Org',
+ slug: 'test-org',
+ createdByUserId: 'u1',
+ _count: { members: 2 },
+ });
+
+ const result = await getOrganisationById('org1');
+ expect(result).not.toBeNull();
+ expect(result!.id).toBe('org1');
+ expect(result!.memberCount).toBe(2);
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/api-keys/api-keys.test.ts b/src/client/src/__tests__/lib/platform/api-keys/api-keys.test.ts
new file mode 100644
index 00000000..3b6a45bc
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/api-keys/api-keys.test.ts
@@ -0,0 +1,104 @@
+jest.mock('@/lib/prisma', () => ({
+ __esModule: true,
+ default: {
+ aPIKeys: {
+ create: jest.fn(),
+ findFirst: jest.fn(),
+ findMany: jest.fn(),
+ update: jest.fn(),
+ },
+ },
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/lib/db-config', () => ({
+ getDBConfigByUser: jest.fn(),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ DATABASE_CONFIG_NOT_FOUND: 'DB config not found',
+ })),
+}));
+
+import { generateAPIKey, getAPIKeyInfo, getAllAPIKeys, deleteAPIKey } from '@/lib/platform/api-keys/index';
+import { getCurrentUser } from '@/lib/session';
+import { getDBConfigByUser } from '@/lib/db-config';
+import asaw from '@/utils/asaw';
+import prisma from '@/lib/prisma';
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('generateAPIKey', () => {
+ it('generates a key and saves it to the db', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'user-1', email: '[email protected]' });
+ (asaw as jest.Mock).mockResolvedValue([null, { id: 'db-1' }]);
+ (prisma.aPIKeys.create as jest.Mock).mockResolvedValue({});
+
+ const result = await generateAPIKey('my-key');
+ expect(prisma.aPIKeys.create).toHaveBeenCalledTimes(1);
+ expect(result.apiKey).toMatch(/^openlit-/);
+ expect(result.databaseConfigId).toBe('db-1');
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(generateAPIKey('key')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when dbConfig is not found', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'user-1' });
+ (asaw as jest.Mock).mockResolvedValue([null, null]);
+ await expect(generateAPIKey('key')).rejects.toThrow('DB config not found');
+ });
+});
+
+describe('getAPIKeyInfo', () => {
+ it('calls prisma findFirst with apiKey filter', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, { id: 'key-1' }]);
+ (prisma.aPIKeys.findFirst as jest.Mock).mockResolvedValue({ id: 'key-1' });
+ await getAPIKeyInfo({ apiKey: 'openlit-abc123' });
+ expect(prisma.aPIKeys.findFirst).toHaveBeenCalledWith(
+ expect.objectContaining({ where: expect.objectContaining({ AND: expect.any(Array) }) })
+ );
+ });
+});
+
+describe('getAllAPIKeys', () => {
+ it('returns API keys for the current db config', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { id: 'db-1' }])
+ .mockResolvedValueOnce([null, [{ name: 'key1', apiKey: 'openlit-abc' }]]);
+ (prisma.aPIKeys.findMany as jest.Mock).mockResolvedValue([{ name: 'key1' }]);
+
+ const result = await getAllAPIKeys();
+ expect(prisma.aPIKeys.findMany).toHaveBeenCalledTimes(1);
+ });
+
+ it('throws when dbConfig is not found', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, null]);
+ await expect(getAllAPIKeys()).rejects.toThrow('DB config not found');
+ });
+});
+
+describe('deleteAPIKey', () => {
+ it('marks API key as deleted', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, {}]);
+ (prisma.aPIKeys.update as jest.Mock).mockResolvedValue({});
+ await deleteAPIKey('key-id-1');
+ expect(prisma.aPIKeys.update).toHaveBeenCalledWith({
+ where: { id: 'key-id-1' },
+ data: { isDeleted: true },
+ });
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/common.test.ts b/src/client/src/__tests__/lib/platform/common.test.ts
new file mode 100644
index 00000000..51c2987a
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/common.test.ts
@@ -0,0 +1,279 @@
+jest.mock('@/lib/db-config', () => ({
+ getDBConfigByUser: jest.fn(),
+ getDBConfigById: jest.fn(),
+}));
+jest.mock('@/lib/platform/clickhouse/clickhouse-client', () => ({
+ __esModule: true,
+ default: jest.fn(),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+
+import { dataCollector } from '@/lib/platform/common';
+import createClickhousePool from '@/lib/platform/clickhouse/clickhouse-client';
+import asaw from '@/utils/asaw';
+
+const mockDbConfig = { id: 'db-1', host: 'localhost', port: '8123' };
+
+function makeClient(overrides: Partial<any> = {}) {
+ return {
+ query: jest.fn().mockResolvedValue({ json: jest.fn().mockResolvedValue([]) }),
+ insert: jest.fn().mockResolvedValue({ query_id: 'qid' }),
+ exec: jest.fn().mockResolvedValue({ query_id: 'qid' }),
+ command: jest.fn().mockResolvedValue({ query_id: 'qid' }),
+ ...overrides,
+ };
+}
+
+beforeEach(() => {
+ jest.resetAllMocks(); // Resets mockResolvedValueOnce queues between tests
+});
+
+describe('dataCollector', () => {
+ describe('when DB config fetch fails', () => {
+ it('returns err object when getDBConfigByUser fails', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['Connection error', null]);
+ const result = await dataCollector({ query: 'SELECT 1' });
+ expect(result.err).toBe('Connection error');
+ expect(result.data).toEqual([]);
+ });
+
+ it('uses getDBConfigById when dbConfigId is provided', async () => {
+ (asaw as jest.Mock).mockResolvedValue(['DB config error', null]);
+ const result = await dataCollector({ query: 'SELECT 1' }, 'query', 'db-config-id');
+ expect(result.err).toBe('DB config error');
+ });
+ });
+
+ describe('query mode', () => {
+ it('returns error when no query provided', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient]);
+
+ const result = await dataCollector({}, 'query');
+ expect(result.err).toBe('No query specified!');
+ });
+
+ it('returns error when pool client is null', async () => {
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig]) // getDBConfigByUser
+ .mockResolvedValueOnce([null, null]); // pool.acquire returns null
+
+ const result = await dataCollector({ query: 'SELECT 1' });
+ // null client: either 'not available' or 'ClickHouse Query Error' from catch
+ expect(result.err).toBeDefined();
+ });
+
+ it('returns err when pool.acquire fails', async () => {
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce(['acquire failed', null]);
+
+ const result = await dataCollector({ query: 'SELECT 1' });
+ expect(result.err).toBe('acquire failed');
+ });
+
+ it('executes query and returns json data on success', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ const mockResultObj = { json: jest.fn() };
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig]) // getDBConfigByUser
+ .mockResolvedValueOnce([null, mockClient]) // pool.acquire
+ .mockResolvedValueOnce([null, mockResultObj]) // client.query
+ .mockResolvedValueOnce([null, [{ col: 1 }]]); // result.json
+
+ const result = await dataCollector({ query: 'SELECT 1' });
+ expect(result.data).toEqual([{ col: 1 }]);
+ expect(result.err).toBeNull();
+ });
+
+ it('applies readonly setting when enable_readonly is true', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ const mockResultObj = { json: jest.fn() };
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce([null, mockResultObj])
+ .mockResolvedValueOnce([null, []]);
+
+ const result = await dataCollector({ query: 'SELECT 1', enable_readonly: true });
+ expect(result.data).toEqual([]);
+ });
+
+ it('returns error fallback when client.query call fails', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce(['query failed', null]); // client.query fails, result is null
+
+ const result = await dataCollector({ query: 'SELECT 1' });
+ expect(result.err).toBeTruthy();
+ });
+ });
+
+ describe('insert mode', () => {
+ it('returns error when no table provided', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient]);
+
+ const result = await dataCollector({ values: [{ col: 1 }] }, 'insert');
+ expect(result.err).toBe('No table specified!');
+ });
+
+ it('performs insert and returns data on success', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ const insertResult = { query_id: 'qid-123' };
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce([null, insertResult]); // client.insert succeeds
+
+ const result = await dataCollector({ table: 'test_table', values: [{ col: 1 }] }, 'insert');
+ expect(result.data).toBe(insertResult);
+ });
+
+ it('returns error fallback when insert fails', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce(['insert failed', null]);
+
+ const result = await dataCollector({ table: 'test_table', values: [{ col: 1 }] }, 'insert');
+ expect(result.err).toBeTruthy();
+ });
+ });
+
+ describe('exec mode', () => {
+ it('returns error when no query provided', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient]);
+
+ const result = await dataCollector({}, 'exec');
+ expect(result.err).toBe('No query specified!');
+ });
+
+ it('performs exec and returns data on success', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ const execResult = { query_id: 'exec-qid' };
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce([null, execResult]);
+
+ const result = await dataCollector({ query: 'CREATE TABLE t (c UInt8)' }, 'exec');
+ expect(result.data).toBe(execResult);
+ });
+
+ it('returns error fallback when exec fails', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce(['exec failed', null]);
+
+ const result = await dataCollector({ query: 'CREATE TABLE t (c UInt8)' }, 'exec');
+ expect(result.err).toBeTruthy();
+ });
+ });
+
+ describe('command mode', () => {
+ it('returns error when no query provided', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient]);
+
+ const result = await dataCollector({}, 'command');
+ expect(result.err).toBe('No query specified!');
+ });
+
+ it('returns success message when command result has query_id', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce([null, { query_id: 'cmd-qid' }]);
+
+ const result = await dataCollector({ query: 'DROP TABLE IF EXISTS t' }, 'command');
+ expect(result.data).toBe('Query executed successfully!');
+ });
+
+ it('returns error fallback when command result has no query_id', async () => {
+ const mockClient = makeClient();
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce([null, {}]); // no query_id
+
+ const result = await dataCollector({ query: 'DROP TABLE IF EXISTS t' }, 'command');
+ expect(result.err).toBeTruthy();
+ });
+ });
+
+ describe('error handling', () => {
+ it('returns ClickHouse error when createClickhousePool throws', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, mockDbConfig]);
+ (createClickhousePool as jest.Mock).mockImplementation(() => {
+ throw new Error('Connection refused');
+ });
+
+ const result = await dataCollector({ query: 'SELECT 1' });
+ expect(result.err).toContain('ClickHouse Query Error');
+ expect(result.err).toContain('Connection refused');
+ });
+ });
+
+ describe('ping mode', () => {
+ it('returns err when ping query fails', async () => {
+ const mockClient = makeClient({
+ query: jest.fn().mockResolvedValue(null),
+ });
+ const mockPool = { acquire: jest.fn(), release: jest.fn() };
+ (createClickhousePool as jest.Mock).mockReturnValue(mockPool);
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDbConfig])
+ .mockResolvedValueOnce([null, mockClient])
+ .mockResolvedValueOnce(['ping failed', null]);
+
+ const result = await dataCollector({ query: 'SELECT 1' }, 'ping');
+ expect(result.err).toBe('ping failed');
+ });
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/cron-log/cron-log.test.ts b/src/client/src/__tests__/lib/platform/cron-log/cron-log.test.ts
new file mode 100644
index 00000000..5f9deee7
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/cron-log/cron-log.test.ts
@@ -0,0 +1,149 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn(),
+}));
+jest.mock('@/lib/platform/cron-log/table-details', () => ({
+ OPENLIT_CRON_LOG_TABLE_NAME: 'openlit_cron_logs',
+}));
+
+import { insertCronLog, getCronLogs, getLastRunCronLogByCronId, getLastFailureCronLogBySpanId } from '@/lib/platform/cron-log/index';
+import { dataCollector } from '@/lib/platform/common';
+
+const mockInsertData = { data: null, err: null };
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+});
+
+describe('insertCronLog', () => {
+ it('calls dataCollector with insert params', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue(mockInsertData);
+ const data = {
+ cronId: 'cron-1',
+ cronType: 'evaluation',
+ runStatus: 'success',
+ meta: {},
+ errorStacktrace: {},
+ startedAt: new Date('2024-01-01T00:00:00Z'),
+ finishedAt: new Date('2024-01-01T00:01:00Z'),
+ duration: 60,
+ };
+ await insertCronLog(data as any, 'db-1');
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [params, mode] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(params.table).toBe('openlit_cron_logs');
+ expect(params.values).toHaveLength(1);
+ expect(mode).toBe('insert');
+ });
+
+ it('uses fallback defaults for missing optional fields (meta, errorStacktrace, duration)', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue(mockInsertData);
+ const data = {
+ cronId: 'cron-2',
+ cronType: 'evaluation',
+ runStatus: 'failure',
+ startedAt: new Date('2024-01-01T00:00:00Z'),
+ finishedAt: new Date('2024-01-01T00:01:00Z'),
+ // meta, errorStacktrace, duration intentionally omitted
+ };
+ await insertCronLog(data as any, 'db-1');
+ const [params] = (dataCollector as jest.Mock).mock.calls[0];
+ const value = params.values[0];
+ expect(value.meta).toEqual({});
+ expect(value.error_stacktrace).toEqual({});
+ expect(value.duration).toBe(0);
+ });
+});
+
+describe('getCronLogs', () => {
+ it('returns data and pagination when no filters', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 3 }], err: null })
+ .mockResolvedValueOnce({ data: [{ cronId: 'c1' }], err: null });
+
+ const result = await getCronLogs();
+ expect(dataCollector).toHaveBeenCalledTimes(2);
+ expect(result.data).toEqual([{ cronId: 'c1' }]);
+ expect(result.pagination.total).toBe(3);
+ });
+
+ it('adds WHERE conditions when filters provided', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 1 }], err: null })
+ .mockResolvedValueOnce({ data: [], err: null });
+
+ await getCronLogs({
+ cronId: 'c1',
+ cronType: 'evaluation',
+ runStatus: 'success' as any,
+ page: 2,
+ limit: 5,
+ });
+
+ const { query: countQuery } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(countQuery).toContain("cron_id = 'c1'");
+ expect(countQuery).toContain("cron_type = 'evaluation'");
+ expect(countQuery).toContain("run_status = 'success'");
+ });
+
+ it('adds startDate and endDate WHERE conditions when provided (covers lines 54-62)', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 2 }], err: null })
+ .mockResolvedValueOnce({ data: [], err: null });
+
+ const startDate = new Date('2024-01-01T00:00:00Z');
+ const endDate = new Date('2024-01-31T23:59:59Z');
+
+ await getCronLogs({ startDate, endDate } as any);
+
+ const { query: countQuery } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(countQuery).toContain('parseDateTimeBestEffort');
+ expect(countQuery).toContain(startDate.toISOString());
+ expect(countQuery).toContain(endDate.toISOString());
+ });
+
+ it('throws when count query errors', async () => {
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: null, err: 'DB error' });
+ await expect(getCronLogs()).rejects.toBe('DB error');
+ });
+
+ it('throws when logs query errors', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 1 }], err: null })
+ .mockResolvedValueOnce({ data: null, err: 'Logs error' });
+ await expect(getCronLogs()).rejects.toBe('Logs error');
+ });
+});
+
+describe('getLastRunCronLogByCronId', () => {
+ it('returns startedAt when a successful run exists', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({
+ data: [{ startedAt: new Date('2024-01-15') }],
+ err: null,
+ });
+ const result = await getLastRunCronLogByCronId('cron-1');
+ expect(result).toEqual(new Date('2024-01-15'));
+ });
+
+ it('returns null when data is null', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: null, err: null });
+ const result = await getLastRunCronLogByCronId('cron-1');
+ expect(result).toBeNull();
+ });
+
+ it('returns null when error', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: null, err: 'err' });
+ const result = await getLastRunCronLogByCronId('cron-1');
+ expect(result).toBeNull();
+ });
+});
+
+describe('getLastFailureCronLogBySpanId', () => {
+ it('calls dataCollector with spanId query', async () => {
+ await getLastFailureCronLogBySpanId('span-1');
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('span-1');
+ expect(query).toContain('FAILURE');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/cron-log/table-details.test.ts b/src/client/src/__tests__/lib/platform/cron-log/table-details.test.ts
new file mode 100644
index 00000000..09383890
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/cron-log/table-details.test.ts
@@ -0,0 +1,8 @@
+import { OPENLIT_CRON_LOG_TABLE_NAME } from '@/lib/platform/cron-log/table-details';
+
+describe('cron-log table-details', () => {
+ it('exports the correct cron log table name', () => {
+ expect(typeof OPENLIT_CRON_LOG_TABLE_NAME).toBe('string');
+ expect(OPENLIT_CRON_LOG_TABLE_NAME.length).toBeGreaterThan(0);
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/evaluation/evaluation-config.test.ts b/src/client/src/__tests__/lib/platform/evaluation/evaluation-config.test.ts
new file mode 100644
index 00000000..eda42003
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/evaluation/evaluation-config.test.ts
@@ -0,0 +1,386 @@
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ EVALUATION_CONFIG_NOT_FOUND: 'Eval config not found',
+ EVALUATION_VAULT_SECRET_NOT_FOUND: 'Vault secret not found',
+ DATABASE_CONFIG_NOT_FOUND: 'DB config not found',
+ EVALUATION_CONFIG_SET_ERROR: 'Eval config set error',
+ CRON_JOB_UPDATION_ERROR: 'Cron job error',
+ })),
+}));
+jest.mock('@/lib/db-config', () => ({
+ getDBConfigByUser: jest.fn(),
+}));
+jest.mock('@/lib/prisma', () => ({
+ __esModule: true,
+ default: {
+ evaluationConfigs: {
+ findFirst: jest.fn(),
+ update: jest.fn(),
+ create: jest.fn(),
+ },
+ },
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/lib/platform/vault', () => ({
+ getSecretById: jest.fn(),
+}));
+jest.mock('@/helpers/server/cron', () => {
+ return {
+ __esModule: true,
+ default: jest.fn().mockImplementation(() => ({
+ validateCronSchedule: jest.fn(),
+ updateCrontab: jest.fn().mockResolvedValue(undefined),
+ deleteCronJob: jest.fn().mockResolvedValue(undefined),
+ })),
+ };
+});
+jest.mock('@/utils/json', () => ({
+ jsonParse: jest.fn((v: string) => {
+ try { return JSON.parse(v); } catch { return {}; }
+ }),
+ jsonStringify: jest.fn((v: unknown) => JSON.stringify(v)),
+}));
+jest.mock('lodash', () => ({
+ merge: jest.fn((a: any, b: any) => ({ ...a, ...b })),
+}));
+jest.mock('crypto', () => ({
+ randomUUID: jest.fn(() => 'test-uuid-1234'),
+}));
+jest.mock('path', () => ({
+ join: jest.fn((...args: string[]) => args.join('/')),
+ dirname: jest.fn((p: string) => p.split('/').slice(0, -1).join('/')),
+}));
+
+import { getEvaluationConfig, setEvaluationConfig, getEvaluationConfigById } from '@/lib/platform/evaluation/config';
+import { getDBConfigByUser } from '@/lib/db-config';
+import prisma from '@/lib/prisma';
+import asaw from '@/utils/asaw';
+import { throwIfError } from '@/utils/error';
+import { getSecretById } from '@/lib/platform/vault';
+import Cron from '@/helpers/server/cron';
+import getMessage from '@/constants/messages';
+import { randomUUID } from 'crypto';
+
+const mockDBConfig = { id: 'db-1', name: 'test-db' };
+
+// Factory function to always get a fresh copy, preventing cross-test mutation
+// (the source mutates updatedConfig.vaultId directly on the object reference)
+const makeMockEvalConfig = () => ({
+ id: 'eval-cfg-1',
+ vaultId: 'vault-1',
+ databaseConfigId: 'db-1',
+ auto: false,
+ recurringTime: '0 * * * *',
+ meta: '{}',
+ provider: 'openai',
+ model: 'gpt-4',
+});
+
+const mockSecret = { id: 'secret-1', key: 'OPENAI_API_KEY', value: 'sk-xxx' };
+
+beforeEach(() => {
+ jest.resetAllMocks();
+
+ // Re-apply getMessage implementation after resetAllMocks clears the factory
+ (getMessage as jest.Mock).mockReturnValue({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ EVALUATION_CONFIG_NOT_FOUND: 'Eval config not found',
+ EVALUATION_VAULT_SECRET_NOT_FOUND: 'Vault secret not found',
+ DATABASE_CONFIG_NOT_FOUND: 'DB config not found',
+ EVALUATION_CONFIG_SET_ERROR: 'Eval config set error',
+ CRON_JOB_UPDATION_ERROR: 'Cron job error',
+ });
+
+ // Re-apply throwIfError implementation after resetAllMocks
+ (throwIfError as jest.Mock).mockImplementation((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ });
+
+ // Re-apply randomUUID implementation after resetAllMocks
+ (randomUUID as jest.Mock).mockReturnValue('test-uuid-1234');
+
+ // Default Cron mock factory re-applied after reset
+ (Cron as jest.Mock).mockImplementation(() => ({
+ validateCronSchedule: jest.fn(),
+ updateCrontab: jest.fn().mockResolvedValue(undefined),
+ deleteCronJob: jest.fn().mockResolvedValue(undefined),
+ }));
+
+ // Default getSecretById response
+ (getSecretById as jest.Mock).mockResolvedValue({ data: [mockSecret] });
+});
+
+// ---------------------------------------------------------------------------
+// getEvaluationConfig
+// ---------------------------------------------------------------------------
+
+describe('getEvaluationConfig', () => {
+ it('uses the provided dbConfig and skips getDBConfigByUser', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, makeMockEvalConfig()]);
+
+ const result = await getEvaluationConfig(mockDBConfig as any);
+
+ expect(getDBConfigByUser).not.toHaveBeenCalled();
+ expect(result.id).toBe('eval-cfg-1');
+ expect(result.secret).toEqual(mockSecret);
+ });
+
+ it('calls getDBConfigByUser when no dbConfig is provided', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig]) // getDBConfigByUser
+ .mockResolvedValueOnce([null, makeMockEvalConfig()]); // prisma.evaluationConfigs.findFirst
+
+ const result = await getEvaluationConfig();
+
+ expect(asaw).toHaveBeenCalledTimes(2);
+ expect(result.id).toBe('eval-cfg-1');
+ });
+
+ it('throws EVALUATION_CONFIG_NOT_FOUND when config has no id', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig])
+ .mockResolvedValueOnce([null, null]); // no config found
+
+ await expect(getEvaluationConfig()).rejects.toThrow('Eval config not found');
+ });
+
+ it('throws EVALUATION_VAULT_SECRET_NOT_FOUND when secret not found and validateVaultId=true', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig])
+ .mockResolvedValueOnce([null, makeMockEvalConfig()]);
+ (getSecretById as jest.Mock).mockResolvedValue({ data: [] }); // no secret
+
+ await expect(getEvaluationConfig(undefined, true, true)).rejects.toThrow(
+ 'Vault secret not found'
+ );
+ });
+
+ it('returns config with empty vaultId when secret not found and validateVaultId=false', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig])
+ .mockResolvedValueOnce([null, makeMockEvalConfig()]);
+ (getSecretById as jest.Mock).mockResolvedValue({ data: [] }); // no secret
+
+ const result = await getEvaluationConfig(undefined, true, false);
+
+ expect(result.vaultId).toBe('');
+ expect(result.secret).toEqual({});
+ });
+
+ it('returns full config with secret when all succeeds', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig])
+ .mockResolvedValueOnce([null, makeMockEvalConfig()]);
+ (getSecretById as jest.Mock).mockResolvedValue({ data: [mockSecret] });
+
+ const result = await getEvaluationConfig();
+
+ expect(result).toMatchObject({
+ id: 'eval-cfg-1',
+ vaultId: 'vault-1',
+ databaseConfigId: 'db-1',
+ secret: mockSecret,
+ });
+ });
+});
+
+// ---------------------------------------------------------------------------
+// setEvaluationConfig
+// ---------------------------------------------------------------------------
+
+describe('setEvaluationConfig', () => {
+ it('throws DATABASE_CONFIG_NOT_FOUND when dbConfig not found', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, null]); // no dbConfig
+
+ await expect(
+ setEvaluationConfig({ auto: false } as any, 'http://api.example.com')
+ ).rejects.toThrow('DB config not found');
+ });
+
+ it('create path: creates new config when no id provided', async () => {
+ const newConfig = { auto: false, recurringTime: '', meta: '{}' };
+ const createdRecord = { id: 'new-cfg-1', ...newConfig, databaseConfigId: 'db-1' };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig]) // getDBConfigByUser
+ .mockResolvedValueOnce([null, createdRecord]); // prisma.evaluationConfigs.create
+
+ const result = await setEvaluationConfig(newConfig as any, 'http://api.example.com');
+
+ expect(prisma.evaluationConfigs.create).toHaveBeenCalledTimes(1);
+ expect(prisma.evaluationConfigs.create).toHaveBeenCalledWith(
+ expect.objectContaining({
+ data: expect.objectContaining({ databaseConfigId: 'db-1' }),
+ })
+ );
+ expect(result).toEqual(createdRecord);
+ });
+
+ it('update path: updates existing config when id is provided', async () => {
+ const previousConfig = makeMockEvalConfig();
+ const inputConfig = { id: 'eval-cfg-1', auto: false, recurringTime: '', meta: '{}' };
+ const updatedRecord = { ...previousConfig, auto: false };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig]) // getDBConfigByUser
+ .mockResolvedValueOnce([null, previousConfig]) // prisma.evaluationConfigs.findFirst (load previous)
+ .mockResolvedValueOnce([null, updatedRecord]); // prisma.evaluationConfigs.update
+
+ const result = await setEvaluationConfig(inputConfig as any, 'http://api.example.com');
+
+ expect(prisma.evaluationConfigs.findFirst).toHaveBeenCalledWith(
+ expect.objectContaining({ where: { id: 'eval-cfg-1' } })
+ );
+ expect(prisma.evaluationConfigs.update).toHaveBeenCalledTimes(1);
+ expect(result).toEqual(updatedRecord);
+ });
+
+ it('throws EVALUATION_CONFIG_SET_ERROR when prisma create fails', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig]) // getDBConfigByUser
+ .mockResolvedValueOnce(['DB write error', null]); // prisma.evaluationConfigs.create fails
+
+ await expect(
+ setEvaluationConfig({ auto: false, meta: '{}' } as any, 'http://api.example.com')
+ ).rejects.toThrow('Eval config set error');
+ });
+
+ it('auto=true: calls updateCrontab with correct parameters', async () => {
+ const autoConfig = {
+ auto: true,
+ recurringTime: '0 * * * *',
+ meta: '{}',
+ };
+ const createdRecord = { id: 'new-cfg-1', ...autoConfig, databaseConfigId: 'db-1' };
+
+ const mockUpdateCrontab = jest.fn().mockResolvedValue(undefined);
+ const mockValidateCronSchedule = jest.fn();
+ (Cron as jest.Mock).mockImplementation(() => ({
+ validateCronSchedule: mockValidateCronSchedule,
+ updateCrontab: mockUpdateCrontab,
+ deleteCronJob: jest.fn().mockResolvedValue(undefined),
+ }));
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig])
+ .mockResolvedValueOnce([null, createdRecord]);
+
+ await setEvaluationConfig(autoConfig as any, 'http://api.example.com');
+
+ expect(mockValidateCronSchedule).toHaveBeenCalledWith('0 * * * *');
+ expect(mockUpdateCrontab).toHaveBeenCalledWith(
+ expect.objectContaining({
+ cronId: 'test-uuid-1234',
+ cronSchedule: '0 * * * *',
+ cronEnvVars: expect.objectContaining({
+ EVALUATION_CONFIG_ID: 'new-cfg-1',
+ API_URL: 'http://api.example.com',
+ }),
+ })
+ );
+ });
+
+ it('auto=false: calls deleteCronJob with the cronJobId', async () => {
+ const manualConfig = { auto: false, recurringTime: '', meta: '{}' };
+ const createdRecord = { id: 'new-cfg-1', ...manualConfig, databaseConfigId: 'db-1' };
+
+ const mockDeleteCronJob = jest.fn().mockResolvedValue(undefined);
+ (Cron as jest.Mock).mockImplementation(() => ({
+ validateCronSchedule: jest.fn(),
+ updateCrontab: jest.fn().mockResolvedValue(undefined),
+ deleteCronJob: mockDeleteCronJob,
+ }));
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig])
+ .mockResolvedValueOnce([null, createdRecord]);
+
+ await setEvaluationConfig(manualConfig as any, 'http://api.example.com');
+
+ expect(mockDeleteCronJob).toHaveBeenCalledWith('test-uuid-1234');
+ });
+
+ it('rethrows when Cron throws an error during updateCrontab', async () => {
+ const autoConfig = { auto: true, recurringTime: '0 * * * *', meta: '{}' };
+ const createdRecord = { id: 'new-cfg-1', ...autoConfig, databaseConfigId: 'db-1' };
+ const cronError = new Error('Cron system unavailable');
+
+ (Cron as jest.Mock).mockImplementation(() => ({
+ validateCronSchedule: jest.fn(),
+ updateCrontab: jest.fn().mockRejectedValue(cronError),
+ deleteCronJob: jest.fn().mockResolvedValue(undefined),
+ }));
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, mockDBConfig])
+ .mockResolvedValueOnce([null, createdRecord]);
+
+ await expect(
+ setEvaluationConfig(autoConfig as any, 'http://api.example.com')
+ ).rejects.toThrow('Cron system unavailable');
+ });
+});
+
+// ---------------------------------------------------------------------------
+// getEvaluationConfigById
+// ---------------------------------------------------------------------------
+
+describe('getEvaluationConfigById', () => {
+ it('throws EVALUATION_CONFIG_NOT_FOUND when config not found', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, null]); // no config
+
+ await expect(getEvaluationConfigById('missing-id')).rejects.toThrow(
+ 'Eval config not found'
+ );
+ });
+
+ it('throws EVALUATION_CONFIG_NOT_FOUND when prisma returns an error', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce(['DB error', null]);
+
+ await expect(getEvaluationConfigById('eval-cfg-1')).rejects.toThrow(
+ 'Eval config not found'
+ );
+ });
+
+ it('returns config with secret when found', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, makeMockEvalConfig()]);
+ (getSecretById as jest.Mock).mockResolvedValue({ data: [mockSecret] });
+
+ const result = await getEvaluationConfigById('eval-cfg-1');
+
+ expect(result).toMatchObject({
+ id: 'eval-cfg-1',
+ vaultId: 'vault-1',
+ databaseConfigId: 'db-1',
+ secret: mockSecret,
+ });
+ expect(getSecretById).toHaveBeenCalledWith('vault-1', 'db-1', true);
+ });
+
+ it('includes vault value when excludeVaultValue=false', async () => {
+ const secretWithValue = { ...mockSecret, value: 'sk-actual-key' };
+ (asaw as jest.Mock).mockResolvedValueOnce([null, makeMockEvalConfig()]);
+ (getSecretById as jest.Mock).mockResolvedValue({ data: [secretWithValue] });
+
+ const result = await getEvaluationConfigById('eval-cfg-1', false);
+
+ expect(getSecretById).toHaveBeenCalledWith('vault-1', 'db-1', false);
+ expect(result.secret).toEqual(secretWithValue);
+ });
+
+ it('returns empty secret object when secret data is empty', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, makeMockEvalConfig()]);
+ (getSecretById as jest.Mock).mockResolvedValue({ data: [] });
+
+ const result = await getEvaluationConfigById('eval-cfg-1');
+
+ expect(result.secret).toEqual({});
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/evaluation/evaluation.test.ts b/src/client/src/__tests__/lib/platform/evaluation/evaluation.test.ts
new file mode 100644
index 00000000..9326102a
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/evaluation/evaluation.test.ts
@@ -0,0 +1,450 @@
+jest.mock('child_process', () => ({
+ spawn: jest.fn(),
+}));
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn(),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+jest.mock('@/lib/platform/evaluation/table-details', () => ({
+ OPENLIT_EVALUATION_TABLE_NAME: 'openlit_evaluation',
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/utils/sanitizer', () => ({
+ __esModule: true,
+ default: {
+ sanitizeValue: jest.fn((v: string) => v),
+ },
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ EVALUATION_CONFIG_NOT_FOUND: 'Eval config not found',
+ TRACE_NOT_FOUND: 'Trace not found',
+ EVALUATION_VAULT_SECRET_NOT_FOUND: 'Vault secret not found',
+ DATABASE_CONFIG_NOT_FOUND: 'DB config not found',
+ TRACE_FETCHING_ERROR: 'Trace fetch error',
+ })),
+}));
+jest.mock('@/lib/platform/evaluation/config', () => ({
+ getEvaluationConfig: jest.fn(),
+ getEvaluationConfigById: jest.fn(),
+}));
+jest.mock('@/lib/platform/cron-log', () => ({
+ getLastRunCronLogByCronId: jest.fn(),
+ getLastFailureCronLogBySpanId: jest.fn(),
+ insertCronLog: jest.fn(),
+}));
+jest.mock('@/lib/db-config', () => ({
+ getDBConfigById: jest.fn(),
+}));
+jest.mock('@/lib/platform/request', () => ({
+ getRequestViaSpanId: jest.fn(),
+}));
+jest.mock('@/helpers/server/platform', () => ({
+ getFilterPreviousParams: jest.fn((p) => ({ ...p, timeLimit: { start: '2024-01-01', end: '2024-01-07' } })),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('@/helpers/server/trace', () => ({
+ getTraceMappingKeyFullPath: jest.fn((key: string, _full?: boolean) => `SpanAttributes.${key}`),
+}));
+jest.mock('@/constants/traces', () => ({
+ SUPPORTED_EVALUATION_OPERATIONS: ['llm', 'chat'],
+}));
+jest.mock('@/utils/log', () => ({
+ consoleLog: jest.fn(),
+}));
+jest.mock('date-fns', () => ({
+ differenceInSeconds: jest.fn(() => 5),
+}));
+
+import { getEvaluationsForSpanId, getEvaluationDetectedByType, autoEvaluate, setEvaluationsForSpanId } from '@/lib/platform/evaluation/index';
+import { dataCollector } from '@/lib/platform/common';
+import { getCurrentUser } from '@/lib/session';
+import { getEvaluationConfig, getEvaluationConfigById } from '@/lib/platform/evaluation/config';
+import { getLastRunCronLogByCronId, getLastFailureCronLogBySpanId, insertCronLog } from '@/lib/platform/cron-log';
+import { getDBConfigById } from '@/lib/db-config';
+import asaw from '@/utils/asaw';
+import { spawn } from 'child_process';
+
+// Helper to create a mock spawn process that calls callbacks synchronously
+// (synchronous calls are required for V8 coverage to capture the production callback bodies)
+function makeMockSpawnProcess(exitCode: number, stdout: string, stderr: string = '') {
+ let stdoutDataCb: Function | null = null;
+ let stderrDataCb: Function | null = null;
+
+ const mockProcess = {
+ stdout: {
+ on: jest.fn((event: string, cb: Function) => {
+ if (event === 'data') stdoutDataCb = cb;
+ }),
+ },
+ stderr: {
+ on: jest.fn((event: string, cb: Function) => {
+ if (event === 'data') stderrDataCb = cb;
+ }),
+ },
+ on: jest.fn((event: string, cb: Function) => {
+ if (event === 'close') {
+ // Send data synchronously before calling close — stdout.on('data') is registered first
+ if (stdout && stdoutDataCb) stdoutDataCb(Buffer.from(stdout));
+ if (stderr && stderrDataCb) stderrDataCb(Buffer.from(stderr));
+ cb(exitCode);
+ }
+ }),
+ };
+ return mockProcess;
+}
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ // Reset mocks that may have unconsumed mockResolvedValueOnce queues from previous tests
+ (dataCollector as jest.Mock).mockReset();
+ (asaw as jest.Mock).mockReset();
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]' });
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (getLastFailureCronLogBySpanId as jest.Mock).mockResolvedValue({ data: [] });
+ (insertCronLog as jest.Mock).mockResolvedValue({ err: null });
+ (getLastRunCronLogByCronId as jest.Mock).mockResolvedValue(null);
+});
+
+describe('getEvaluationsForSpanId', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getEvaluationsForSpanId('span-1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('returns error when dataCollector fails', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: null, err: 'DB error' });
+ const result = await getEvaluationsForSpanId('span-1');
+ expect(result.err).toBe('DB error');
+ });
+
+ it('returns first evaluation record when data found', async () => {
+ const evalRecord = { spanId: 'span-1', evaluations: [], id: 'eval-1', createdAt: new Date() };
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [evalRecord], err: null });
+
+ const result = await getEvaluationsForSpanId('span-1');
+ expect(result.data).toEqual(evalRecord);
+ });
+
+ it('returns config id when no evaluation data and config exists', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (asaw as jest.Mock).mockResolvedValueOnce([null, { id: 'cfg-1' }]);
+
+ const result = await getEvaluationsForSpanId('span-1');
+ expect(result.config).toBe('cfg-1');
+ });
+
+ it('returns configErr when evaluation config not found', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (asaw as jest.Mock).mockResolvedValueOnce([null, { id: null }]);
+
+ const result = await getEvaluationsForSpanId('span-1');
+ expect(result.configErr).toBe('Eval config not found');
+ });
+
+ it('returns configErr when getEvaluationConfig throws', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (asaw as jest.Mock).mockResolvedValueOnce(['Config error', null]);
+
+ const result = await getEvaluationsForSpanId('span-1');
+ expect(result.configErr).toBe('Config error');
+ });
+
+ it('returns last failure error when present', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (asaw as jest.Mock).mockResolvedValueOnce([null, { id: 'cfg-1' }]);
+ (getLastFailureCronLogBySpanId as jest.Mock).mockResolvedValue({
+ data: [{ errorStacktrace: { 'span-1': 'Python error occurred' } }],
+ });
+
+ const result = await getEvaluationsForSpanId('span-1');
+ expect(result.err).toBe('Python error occurred');
+ });
+});
+
+describe('getEvaluationDetectedByType', () => {
+ const params = {
+ timeLimit: { start: '2024-01-01', end: '2024-01-31' },
+ environment: 'production',
+ applicationName: 'my-app',
+ };
+
+ it('calls dataCollector with query containing eval type', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ total: 5 }] });
+
+ const result = await getEvaluationDetectedByType(params as any, 'toxicity');
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('toxicity');
+ expect(query).toContain('openlit_evaluation');
+ });
+
+ it('calls dataCollector with correct verdict filter', async () => {
+ await getEvaluationDetectedByType(params as any, 'bias');
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("verdict = 'yes'");
+ expect(query).toContain('bias');
+ });
+});
+
+describe('autoEvaluate', () => {
+ const autoEvalConfig = {
+ cronId: 'cron-1',
+ evaluationConfigId: 'eval-cfg-1',
+ };
+
+ it('returns error when evaluation config not found', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce([null, { id: null }]); // getEvaluationConfigById
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.err).toBe('Eval config not found');
+ expect(result.success).toBe(false);
+ });
+
+ it('returns error when evaluation config fetch fails', async () => {
+ (asaw as jest.Mock).mockResolvedValueOnce(['Config error', null]);
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.success).toBe(false);
+ });
+
+ it('returns error when database config not found', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { id: 'eval-cfg-1', databaseConfigId: 'db-1' }]) // getEvaluationConfigById
+ .mockResolvedValueOnce([null, { id: null }]); // getDBConfigById returns no id
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.err).toBe('DB config not found');
+ expect(result.success).toBe(false);
+ });
+
+ it('returns error when dataCollector fails', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { id: 'eval-cfg-1', databaseConfigId: 'db-1' }])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: null, err: 'Query failed' });
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.success).toBe(false);
+ });
+
+ it('returns success when no traces to evaluate', async () => {
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: {} }])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.success).toBe(true);
+ expect(insertCronLog).toHaveBeenCalled();
+ });
+
+ it('includes lastRunTime in query when cron log exists', async () => {
+ (getLastRunCronLogByCronId as jest.Mock).mockResolvedValue({ finishedAt: '2024-01-01T00:00:00Z' });
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: {} }])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+
+ await autoEvaluate(autoEvalConfig as any);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('parseDateTimeBestEffort');
+ });
+
+ it('processes traces via Python spawn and handles success', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace = { SpanId: 'span-1', Timestamp: '2024-01-01', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [trace], err: null }) // fetch traces
+ .mockResolvedValueOnce({ data: true, err: null }); // storeEvaluation
+
+ const mockProcess = makeMockSpawnProcess(0, '{"success":true,"result":[{"evaluation":"toxicity","score":0.1,"classification":"low","explanation":"ok","verdict":"no"}]}');
+ (spawn as jest.Mock).mockReturnValue(mockProcess);
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.success).toBe(true);
+ expect(spawn).toHaveBeenCalled();
+ });
+
+ it('handles spawn process error event (covers error callback body)', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace = { SpanId: 'span-2', Timestamp: '2024-01-01', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: [trace], err: null });
+
+ // Synchronous error callback so V8 coverage captures lines 175-179
+ const mockProcess = {
+ stdout: { on: jest.fn() },
+ stderr: { on: jest.fn() },
+ on: jest.fn((event: string, cb: Function) => {
+ if (event === 'error') {
+ cb(new Error('Python not found'));
+ }
+ }),
+ };
+ (spawn as jest.Mock).mockReturnValue(mockProcess);
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result).toBeDefined();
+ });
+
+ it('handles spawn non-zero exit code (covers else branch lines 206-212)', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace = { SpanId: 'span-3', Timestamp: '2024-01-01', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: [trace], err: null });
+
+ const mockProcess = makeMockSpawnProcess(1, '', 'Python script error');
+ (spawn as jest.Mock).mockReturnValue(mockProcess);
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result).toBeDefined();
+ });
+
+ it('handles spawn throwing (covers catch block lines 219-220)', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace = { SpanId: 'span-4', Timestamp: '2024-01-01', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: [trace], err: null });
+
+ (spawn as jest.Mock).mockImplementation(() => { throw new Error('spawn not available'); });
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result).toBeDefined();
+ });
+
+ it('records SUCCESS status when all traces evaluate successfully (covers line 337)', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace = { SpanId: 'span-ok', Timestamp: '2024-01-01', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [trace], err: null }) // fetch traces
+ .mockResolvedValue({ data: true, err: null }); // storeEvaluation
+
+ const successOutput = '{"success":true,"result":[{"evaluation":"toxicity","score":0.1,"classification":"low","explanation":"ok","verdict":"no"}]}';
+ const mockProcess = makeMockSpawnProcess(0, successOutput);
+ (spawn as jest.Mock).mockReturnValue(mockProcess);
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.success).toBe(true);
+ expect(insertCronLog).toHaveBeenCalled();
+ });
+
+ it('records PARTIAL_SUCCESS status when some traces fail (covers line 336)', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace1 = { SpanId: 'span-ok2', Timestamp: '2024-01-01', SpanAttributes: {} };
+ const trace2 = { SpanId: 'span-fail', Timestamp: '2024-01-02', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [trace1, trace2], err: null }) // fetch traces
+ .mockResolvedValue({ data: true, err: null }); // storeEvaluation
+
+ const successOutput = '{"success":true,"result":[{"evaluation":"toxicity","score":0.1,"classification":"low","explanation":"ok","verdict":"no"}]}';
+ let callCount = 0;
+ (spawn as jest.Mock).mockImplementation(() => {
+ callCount++;
+ if (callCount === 1) {
+ return makeMockSpawnProcess(0, successOutput); // first trace succeeds
+ }
+ return makeMockSpawnProcess(1, '', 'error'); // second trace fails
+ });
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.success).toBe(true);
+ });
+
+ it('handles storeEvaluation error (covers lines 123-125)', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace = { SpanId: 'span-store-err', Timestamp: '2024-01-01', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ const successOutput = '{"success":true,"result":[{"evaluation":"toxicity","score":0.1,"classification":"low","explanation":"ok","verdict":"no"}]}';
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [trace], err: null }) // fetch traces
+ .mockResolvedValue({ data: null, err: 'Insert failed' }); // storeEvaluation fails
+
+ const mockProcess = makeMockSpawnProcess(0, successOutput);
+ (spawn as jest.Mock).mockReturnValue(mockProcess);
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result.success).toBe(true); // autoEvaluate still succeeds even if storeEvaluation logs error
+ });
+
+ it('handles spawn close with no JSON match (covers lines 199-200)', async () => {
+ const evalConfig = { id: 'eval-cfg-1', databaseConfigId: 'db-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } };
+ const trace = { SpanId: 'span-no-json', Timestamp: '2024-01-01', SpanAttributes: {} };
+
+ (asaw as jest.Mock)
+ .mockResolvedValueOnce([null, evalConfig])
+ .mockResolvedValueOnce([null, { id: 'db-1' }]);
+
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: [trace], err: null });
+
+ // Spawn exits with code 0 but output has no JSON object
+ const mockProcess = makeMockSpawnProcess(0, 'no valid json here');
+ (spawn as jest.Mock).mockReturnValue(mockProcess);
+
+ const result = await autoEvaluate(autoEvalConfig as any);
+ expect(result).toBeDefined();
+ });
+});
+
+describe('setEvaluationsForSpanId', () => {
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(setEvaluationsForSpanId('span-1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when span not found', async () => {
+ const { getRequestViaSpanId } = require('@/lib/platform/request');
+ (getRequestViaSpanId as jest.Mock).mockResolvedValue({ record: {} });
+ (asaw as jest.Mock).mockResolvedValueOnce([null, { id: 'cfg-1' }]);
+ await expect(setEvaluationsForSpanId('missing-span')).rejects.toThrow('Trace not found');
+ });
+
+ it('calls getEvaluationConfig and getEvaluationConfigForTrace when span is found (covers lines 142-143)', async () => {
+ const { getRequestViaSpanId } = require('@/lib/platform/request');
+ const { getEvaluationConfig } = require('@/lib/platform/evaluation/config');
+ (getRequestViaSpanId as jest.Mock).mockResolvedValue({ record: { SpanId: 'span-1' } });
+ (getEvaluationConfig as jest.Mock).mockResolvedValue({ id: 'cfg-1', provider: 'openai', model: 'gpt-4', secret: { value: 'sk-1' } });
+ // Spawn fails immediately so the function can complete
+ (spawn as jest.Mock).mockImplementation(() => { throw new Error('no python'); });
+
+ const result = await setEvaluationsForSpanId('span-1');
+ expect(result).toBeDefined();
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/evaluation/table-details.test.ts b/src/client/src/__tests__/lib/platform/evaluation/table-details.test.ts
new file mode 100644
index 00000000..06f40b82
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/evaluation/table-details.test.ts
@@ -0,0 +1,7 @@
+import { OPENLIT_EVALUATION_TABLE_NAME } from '@/lib/platform/evaluation/table-details';
+
+describe('evaluation table-details', () => {
+ it('exports the correct evaluation table name', () => {
+ expect(OPENLIT_EVALUATION_TABLE_NAME).toBe('openlit_evaluation');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/fleet-hub/fleet-hub.test.ts b/src/client/src/__tests__/lib/platform/fleet-hub/fleet-hub.test.ts
new file mode 100644
index 00000000..1aeecba7
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/fleet-hub/fleet-hub.test.ts
@@ -0,0 +1,115 @@
+jest.mock('@/utils/asaw', () => jest.fn());
+
+import { getAllAgents, getAgentByInstanceId, updateAgentConfig, updateTlsConnection } from '@/lib/platform/fleet-hub/index';
+import asaw from '@/utils/asaw';
+
+// Use fake timers to skip the 2-second delay in updateAgentConfig
+jest.useFakeTimers();
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ // fleet-hub uses asaw(fetch(...)) – need global.fetch to avoid ReferenceError
+ global.fetch = jest.fn();
+});
+
+describe('getAllAgents', () => {
+ it('returns agents data on success', async () => {
+ const mockData = [{ id: 'agent-1', name: 'Collector' }];
+ const mockResponse = { json: jest.fn().mockResolvedValue(mockData), ok: true };
+ (asaw as jest.Mock).mockResolvedValue([null, mockResponse]);
+
+ const result = await getAllAgents();
+ expect(result.data).toEqual(mockData);
+ expect(result.err).toBeUndefined();
+ });
+
+ it('returns err on fetch failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue([new Error('Network error'), null]);
+ const result = await getAllAgents();
+ expect(result.err).toBeDefined();
+ });
+});
+
+describe('getAgentByInstanceId', () => {
+ it('returns agent data for given id', async () => {
+ const mockAgent = { id: 'agent-1', config: {} };
+ const mockResponse = { json: jest.fn().mockResolvedValue(mockAgent) };
+ (asaw as jest.Mock).mockResolvedValue([null, mockResponse]);
+
+ const result = await getAgentByInstanceId('agent-1');
+ expect(result.data).toEqual(mockAgent);
+ });
+
+ it('returns err on fetch failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue([new Error('Network error'), null]);
+ const result = await getAgentByInstanceId('agent-1');
+ expect(result.err).toBeDefined();
+ });
+});
+
+describe('updateAgentConfig', () => {
+ it('returns data on success (after timer resolves)', async () => {
+ const mockResponse = { ok: true };
+ (asaw as jest.Mock).mockResolvedValue([null, mockResponse]);
+
+ // Use jest.advanceTimersByTimeAsync to properly handle async setTimeout
+ const promise = updateAgentConfig('agent-1', '{"key":"value"}');
+ await jest.advanceTimersByTimeAsync(2001);
+ const result = await promise;
+ expect(result.data).toBeDefined();
+ expect(result.err).toBeUndefined();
+ });
+
+ it('returns err on fetch error', async () => {
+ const mockError = new Error('Connection refused');
+ mockError.message = 'Connection refused';
+ (asaw as jest.Mock).mockResolvedValue([mockError, null]);
+
+ const result = await updateAgentConfig('agent-1', '{}');
+ expect(result.err).toBe('Connection refused');
+ expect(result.status).toBe(500);
+ });
+
+ it('returns HTTP error when response is not ok', async () => {
+ const mockResponse = { ok: false, status: 400, statusText: 'Bad Request', text: jest.fn().mockResolvedValue('Invalid config') };
+ (asaw as jest.Mock).mockResolvedValue([null, mockResponse]);
+
+ const result = await updateAgentConfig('agent-1', 'invalid');
+ expect(result.err).toContain('Invalid config');
+ expect(result.status).toBe(400);
+ });
+
+ it('uses "Failed to save configuration" fallback when err has no message', async () => {
+ const errWithoutMessage = {};
+ (asaw as jest.Mock).mockResolvedValue([errWithoutMessage, null]);
+
+ const result = await updateAgentConfig('agent-1', '{}');
+ expect(result.err).toBe('Failed to save configuration');
+ expect(result.status).toBe(500);
+ });
+
+ it('uses HTTP status fallback when errorText is empty', async () => {
+ const mockResponse = { ok: false, status: 503, statusText: 'Service Unavailable', text: jest.fn().mockResolvedValue('') };
+ (asaw as jest.Mock).mockResolvedValue([null, mockResponse]);
+
+ const result = await updateAgentConfig('agent-1', '{}');
+ expect(result.err).toContain('503');
+ expect(result.status).toBe(503);
+ });
+});
+
+describe('updateTlsConnection', () => {
+ it('returns data on success', async () => {
+ const mockResponse = { ok: true };
+ (asaw as jest.Mock).mockResolvedValue([null, mockResponse]);
+
+ const result = await updateTlsConnection('agent-1', '1.2');
+ expect(result.data).toBeDefined();
+ });
+
+ it('returns err on failure', async () => {
+ (asaw as jest.Mock).mockResolvedValue([new Error('Connection error'), null]);
+ const result = await updateTlsConnection('agent-1', '1.2');
+ expect(result.err).toBeDefined();
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/gpu/gpu.test.ts b/src/client/src/__tests__/lib/platform/gpu/gpu.test.ts
new file mode 100644
index 00000000..95f82377
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/gpu/gpu.test.ts
@@ -0,0 +1,78 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_GPUS_TABLE_NAME: 'otel_metrics_gauge',
+}));
+
+import { getAverageUtilization, getUtilizationParamsPerTime } from '@/lib/platform/gpu/utilization';
+import { getAveragePowerDraw, getPowerParamsPerTime } from '@/lib/platform/gpu/power';
+import { getMemoryParamsPerTime, getAverageMemoryUsage } from '@/lib/platform/gpu/memory';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: {
+ start: new Date('2024-01-01'),
+ end: new Date('2024-01-31'),
+ type: '1M',
+ },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('GPU utilization', () => {
+ it('getAverageUtilization calls dataCollector with utilization query', async () => {
+ const result = await getAverageUtilization(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('utilization');
+ expect(query).toContain('otel_metrics_gauge');
+ expect(result).toEqual({ data: [] });
+ });
+
+ it('getUtilizationParamsPerTime calls dataCollector with time-series query', async () => {
+ await getUtilizationParamsPerTime(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('request_time');
+ expect(query).toContain('GROUP BY');
+ });
+});
+
+describe('GPU power', () => {
+ it('getAveragePowerDraw calls dataCollector with power query', async () => {
+ await getAveragePowerDraw(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('power_draw');
+ expect(query).toContain('gpu.power.draw');
+ });
+
+ it('getPowerParamsPerTime calls dataCollector with time-series query', async () => {
+ await getPowerParamsPerTime(baseParams);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('power_draw');
+ expect(query).toContain('power_limit');
+ expect(query).toContain('request_time');
+ });
+});
+
+describe('GPU memory', () => {
+ it('getAverageMemoryUsage calls dataCollector with memory query', async () => {
+ await getAverageMemoryUsage(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('memory_used');
+ expect(query).toContain('gpu.memory.used');
+ });
+
+ it('getMemoryParamsPerTime calls dataCollector with time-series memory query', async () => {
+ await getMemoryParamsPerTime(baseParams);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('memory_available');
+ expect(query).toContain('memory_total');
+ expect(query).toContain('memory_used');
+ expect(query).toContain('memory_free');
+ expect(query).toContain('request_time');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/gpu/temperature-fanspeed.test.ts b/src/client/src/__tests__/lib/platform/gpu/temperature-fanspeed.test.ts
new file mode 100644
index 00000000..3fe12dae
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/gpu/temperature-fanspeed.test.ts
@@ -0,0 +1,51 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_GPUS_TABLE_NAME: 'otel_metrics_gauge',
+}));
+
+import { getAverageTemperature, getAverageTemperatureParamsPerTime } from '@/lib/platform/gpu/temperature';
+import { getFanspeedParamsPerTime } from '@/lib/platform/gpu/fanspeed';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: {
+ start: new Date('2024-01-01'),
+ end: new Date('2024-01-31'),
+ type: '1M',
+ },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('GPU temperature', () => {
+ it('getAverageTemperature calls dataCollector with temperature query', async () => {
+ const result = await getAverageTemperature(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('temperature');
+ expect(query).toContain('gpu.temperature');
+ expect(result).toEqual({ data: [] });
+ });
+
+ it('getAverageTemperatureParamsPerTime calls dataCollector with time-series query', async () => {
+ await getAverageTemperatureParamsPerTime(baseParams);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('temperature');
+ expect(query).toContain('request_time');
+ expect(query).toContain('ORDER BY');
+ });
+});
+
+describe('GPU fan speed', () => {
+ it('getFanspeedParamsPerTime calls dataCollector with fan speed query', async () => {
+ const result = await getFanspeedParamsPerTime(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('fan_speed');
+ expect(query).toContain('gpu.fan_speed');
+ expect(query).toContain('request_time');
+ expect(result).toEqual({ data: [] });
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/llm/category.test.ts b/src/client/src/__tests__/lib/platform/llm/category.test.ts
new file mode 100644
index 00000000..700d9aea
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/llm/category.test.ts
@@ -0,0 +1,31 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+
+import { getResultGenerationByCategories } from '@/lib/platform/llm/category';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: { start: '2024-01-01', end: '2024-01-31', type: '1M' },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('getResultGenerationByCategories', () => {
+ it('calls dataCollector and returns result', async () => {
+ const result = await getResultGenerationByCategories(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ expect(result).toEqual({ data: [] });
+ });
+
+ it('query contains category and GROUP BY', async () => {
+ await getResultGenerationByCategories(baseParams);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('category');
+ expect(query).toContain('GROUP BY');
+ expect(query).toContain('otel_traces');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/llm/cost.test.ts b/src/client/src/__tests__/lib/platform/llm/cost.test.ts
new file mode 100644
index 00000000..15e9a63b
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/llm/cost.test.ts
@@ -0,0 +1,63 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+
+import { getTotalCost, getAverageCost, getCostByApplication, getCostByEnvironment } from '@/lib/platform/llm/cost';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: { start: '2024-01-01', end: '2024-01-31', type: '1M' },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('getTotalCost', () => {
+ it('calls dataCollector and returns result', async () => {
+ const result = await getTotalCost(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('total_usage_cost');
+ expect(query).toContain('otel_traces');
+ expect(result).toEqual({ data: [] });
+ });
+
+ it('query includes JOIN for current/previous comparison', async () => {
+ await getTotalCost(baseParams);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('JOIN');
+ expect(query).toContain('previous_total_usage_cost');
+ });
+});
+
+describe('getAverageCost', () => {
+ it('calls dataCollector with average query', async () => {
+ await getAverageCost(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('average_usage_cost');
+ expect(query).toContain('JOIN');
+ });
+});
+
+describe('getCostByApplication', () => {
+ it('calls dataCollector with GROUP BY applicationName', async () => {
+ await getCostByApplication(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('applicationName');
+ expect(query).toContain('GROUP BY');
+ });
+});
+
+describe('getCostByEnvironment', () => {
+ it('calls dataCollector with GROUP BY environment', async () => {
+ await getCostByEnvironment(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('environment');
+ expect(query).toContain('GROUP BY');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/llm/endpoint.test.ts b/src/client/src/__tests__/lib/platform/llm/endpoint.test.ts
new file mode 100644
index 00000000..b2f3631e
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/llm/endpoint.test.ts
@@ -0,0 +1,31 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+
+import { getResultGenerationByEndpoint } from '@/lib/platform/llm/endpoint';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: { start: '2024-01-01', end: '2024-01-31', type: '1M' },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('getResultGenerationByEndpoint', () => {
+ it('calls dataCollector and returns result', async () => {
+ const result = await getResultGenerationByEndpoint(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ expect(result).toEqual({ data: [] });
+ });
+
+ it('query contains provider and GROUP BY', async () => {
+ await getResultGenerationByEndpoint(baseParams);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('provider');
+ expect(query).toContain('GROUP BY');
+ expect(query).toContain('otel_traces');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/llm/model.test.ts b/src/client/src/__tests__/lib/platform/llm/model.test.ts
new file mode 100644
index 00000000..3c6cd8fb
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/llm/model.test.ts
@@ -0,0 +1,48 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+
+import { getTopModels, getModelsPerTime } from '@/lib/platform/llm/model';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: {
+ start: new Date('2024-01-01'),
+ end: new Date('2024-01-31'),
+ type: '1M',
+ },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('getTopModels', () => {
+ it('calls dataCollector with LIMIT and GROUP BY model', async () => {
+ await getTopModels({ ...baseParams, top: 5 });
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('model_count');
+ expect(query).toContain('GROUP BY');
+ expect(query).toContain('LIMIT 5');
+ });
+
+ it('respects top parameter', async () => {
+ await getTopModels({ ...baseParams, top: 10 });
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('LIMIT 10');
+ });
+});
+
+describe('getModelsPerTime', () => {
+ it('calls dataCollector with time-series model query', async () => {
+ await getModelsPerTime(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('models');
+ expect(query).toContain('model_counts');
+ expect(query).toContain('request_time');
+ expect(query).toContain('GROUP BY');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/llm/token.test.ts b/src/client/src/__tests__/lib/platform/llm/token.test.ts
new file mode 100644
index 00000000..30e1be6d
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/llm/token.test.ts
@@ -0,0 +1,57 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+
+import { getAverageTokensPerRequest, getTokensPerTime } from '@/lib/platform/llm/token';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: {
+ start: new Date('2024-01-01'),
+ end: new Date('2024-01-31'),
+ type: '1M',
+ },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('getAverageTokensPerRequest', () => {
+ it('builds a JOIN query for type=total', async () => {
+ await getAverageTokensPerRequest({ ...baseParams, type: 'total' });
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('total_tokens');
+ expect(query).toContain('JOIN');
+ expect(query).toContain('previous_total_tokens');
+ });
+
+ it('builds a simple query for type=prompt', async () => {
+ await getAverageTokensPerRequest({ ...baseParams, type: 'prompt' });
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('total_tokens');
+ expect(query).not.toContain('JOIN');
+ });
+
+ it('builds a simple query for type=completion', async () => {
+ await getAverageTokensPerRequest({ ...baseParams, type: 'completion' });
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('total_tokens');
+ expect(query).not.toContain('JOIN');
+ });
+});
+
+describe('getTokensPerTime', () => {
+ it('calls dataCollector with time-series token query', async () => {
+ await getTokensPerTime(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('totaltokens');
+ expect(query).toContain('prompttokens');
+ expect(query).toContain('completiontokens');
+ expect(query).toContain('GROUP BY');
+ expect(query).toContain('request_time');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/prompt/compiled.test.ts b/src/client/src/__tests__/lib/platform/prompt/compiled.test.ts
new file mode 100644
index 00000000..cd16045c
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/prompt/compiled.test.ts
@@ -0,0 +1,156 @@
+jest.mock('@/lib/platform/api-keys', () => ({
+ getAPIKeyInfo: jest.fn(),
+}));
+jest.mock('@/helpers/server/prompt', () => ({
+ validatePromptCompiledInput: jest.fn(),
+}));
+jest.mock('@/lib/platform/prompt/index', () => ({
+ getSpecificPrompt: jest.fn(),
+}));
+jest.mock('@/lib/platform/prompt/version', () => ({
+ updateDownloadDetails: jest.fn(),
+}));
+jest.mock('@/utils/object', () => ({
+ objectEntries: jest.fn((obj: Record<string, unknown>) => Object.entries(obj)),
+}));
+jest.mock('@/utils/json', () => ({
+ jsonParse: jest.fn((v: string) => {
+ try { return JSON.parse(v); } catch { return {}; }
+ }),
+}));
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ MALFORMED_INPUTS: 'Malformed inputs',
+ NO_API_KEY: 'No API key',
+ NO_PROMPT: 'No prompt',
+ })),
+}));
+jest.mock('@/utils/string', () => ({
+ unescapeString: jest.fn((s: string) => s),
+}));
+
+import { getCompiledPrompt } from '@/lib/platform/prompt/compiled';
+import { getAPIKeyInfo } from '@/lib/platform/api-keys';
+import { validatePromptCompiledInput } from '@/helpers/server/prompt';
+import { getSpecificPrompt } from '@/lib/platform/prompt/index';
+import { updateDownloadDetails } from '@/lib/platform/prompt/version';
+
+const mockApiInfo = { id: 'key-1', databaseConfigId: 'db-1' };
+// Use factory to prevent mutation of shared object across tests
+const makeMockPromptData = () => ({
+ promptId: 'p1',
+ versionId: 'v1',
+ version: '1.0.0',
+ prompt: 'Hello {{name}}, your role is {{role}}',
+ metaProperties: '{"key":"val"}',
+ tags: '["tag1"]',
+});
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (validatePromptCompiledInput as jest.Mock).mockReturnValue({ success: true, err: null });
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, mockApiInfo]);
+ (getSpecificPrompt as jest.Mock).mockResolvedValue({ err: null, data: [makeMockPromptData()] });
+ (updateDownloadDetails as jest.Mock).mockResolvedValue(true);
+});
+
+describe('getCompiledPrompt', () => {
+ const validInput = {
+ apiKey: 'ak-test',
+ id: 'p1',
+ name: 'my-prompt',
+ version: '1.0.0',
+ variables: { name: 'Alice', role: 'admin' },
+ };
+
+ it('returns compiled prompt with variables substituted', async () => {
+ const result = await getCompiledPrompt(validInput as any);
+ expect(result.compiledPrompt).toBe('Hello Alice, your role is admin');
+ });
+
+ it('parses metaProperties and tags', async () => {
+ const result = await getCompiledPrompt(validInput as any);
+ expect(result.metaProperties).toEqual({ key: 'val' });
+ expect(result.tags).toEqual(['tag1']);
+ });
+
+ it('calls updateDownloadDetails with correct args', async () => {
+ await getCompiledPrompt(validInput as any);
+ expect(updateDownloadDetails).toHaveBeenCalledWith(
+ expect.objectContaining({
+ versionId: 'v1',
+ promptId: 'p1',
+ metaProperties: expect.objectContaining({ apiKeyId: 'key-1' }),
+ downloadSource: 'api',
+ }),
+ 'db-1'
+ );
+ });
+
+ it('uses custom downloadSource when provided', async () => {
+ await getCompiledPrompt({ ...validInput, downloadSource: 'sdk' } as any);
+ expect(updateDownloadDetails).toHaveBeenCalledWith(
+ expect.objectContaining({ downloadSource: 'sdk' }),
+ 'db-1'
+ );
+ });
+
+ it('merges downloadMetaProperties into metaProperties for download', async () => {
+ await getCompiledPrompt({ ...validInput, downloadMetaProperties: { custom: 'value' } } as any);
+ expect(updateDownloadDetails).toHaveBeenCalledWith(
+ expect.objectContaining({
+ metaProperties: expect.objectContaining({ custom: 'value', apiKeyId: 'key-1' }),
+ }),
+ 'db-1'
+ );
+ });
+
+ it('returns raw prompt without substitution when shouldCompile=false', async () => {
+ const result = await getCompiledPrompt({ ...validInput, shouldCompile: false } as any);
+ expect(result.compiledPrompt).toBe('Hello {{name}}, your role is {{role}}');
+ });
+
+ it('throws MALFORMED_INPUTS when validation fails', async () => {
+ (validatePromptCompiledInput as jest.Mock).mockReturnValue({ success: false, err: 'Malformed inputs' });
+ await expect(getCompiledPrompt(validInput as any)).rejects.toThrow('Malformed inputs');
+ });
+
+ it('throws NO_API_KEY when getAPIKeyInfo returns an error', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue(['No API key', null]);
+ await expect(getCompiledPrompt(validInput as any)).rejects.toThrow('No API key');
+ });
+
+ it('throws NO_API_KEY when apiInfo has no databaseConfigId', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, { id: 'key-1', databaseConfigId: null }]);
+ await expect(getCompiledPrompt(validInput as any)).rejects.toThrow('No API key');
+ });
+
+ it('throws when getSpecificPrompt returns error', async () => {
+ (getSpecificPrompt as jest.Mock).mockResolvedValue({ err: 'DB error', data: null });
+ await expect(getCompiledPrompt(validInput as any)).rejects.toThrow();
+ });
+
+ it('throws NO_PROMPT when prompt data is empty', async () => {
+ (getSpecificPrompt as jest.Mock).mockResolvedValue({ err: null, data: [] });
+ await expect(getCompiledPrompt(validInput as any)).rejects.toThrow('No prompt');
+ });
+
+ it('calls getSpecificPrompt with id, name, version from input', async () => {
+ await getCompiledPrompt(validInput as any);
+ expect(getSpecificPrompt).toHaveBeenCalledWith(
+ { id: 'p1', name: 'my-prompt', version: '1.0.0' },
+ 'db-1'
+ );
+ });
+
+ it('handles empty variables object gracefully', async () => {
+ const result = await getCompiledPrompt({ ...validInput, variables: {} } as any);
+ expect(result.compiledPrompt).toBe('Hello {{name}}, your role is {{role}}');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/prompt/prompt-index.test.ts b/src/client/src/__tests__/lib/platform/prompt/prompt-index.test.ts
new file mode 100644
index 00000000..0e3259d6
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/prompt/prompt-index.test.ts
@@ -0,0 +1,573 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn(),
+}));
+jest.mock('@/lib/platform/prompt/table-details', () => ({
+ OPENLIT_PROMPTS_TABLE_NAME: 'openlit_prompts',
+ OPENLIT_PROMPT_VERSIONS_TABLE_NAME: 'openlit_prompt_versions',
+ OPENLIT_PROMPT_VERSION_DOWNLOADS_TABLE_NAME: 'openlit_prompt_version_downloads',
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ PROMPT_NAME_TAKEN: 'Prompt name taken',
+ PROMPT_SAVED: 'Prompt saved!',
+ PROMPT_NOT_CREATED: 'Prompt not created',
+ VERSION_NOT_CREATED: 'Version not created',
+ PROMPT_DELETED: 'Prompt deleted!',
+ PROMPT_NOT_DELETED: 'Prompt not deleted',
+ })),
+}));
+jest.mock('@/utils/sanitizer', () => ({
+ __esModule: true,
+ default: {
+ sanitizeValue: jest.fn((v: string) => v),
+ sanitizeObject: jest.fn((o: object) => o),
+ },
+}));
+jest.mock('@/helpers/server/prompt', () => ({
+ verifyPromptInput: jest.fn(() => ({ success: true })),
+}));
+jest.mock('@/utils/json', () => ({
+ jsonStringify: jest.fn((v: unknown) => JSON.stringify(v)),
+}));
+jest.mock('@/utils/log', () => ({
+ consoleLog: jest.fn(),
+}));
+
+import {
+ createPrompt,
+ getPrompts,
+ getSpecificPrompt,
+ getPromptDetails,
+ deletePrompt,
+} from '@/lib/platform/prompt/index';
+import { dataCollector } from '@/lib/platform/common';
+import { getCurrentUser } from '@/lib/session';
+import { verifyPromptInput } from '@/helpers/server/prompt';
+
+// ---------------------------------------------------------------------------
+// Shared test data
+// ---------------------------------------------------------------------------
+const VALID_PROMPT_INPUT = {
+ name: 'my-prompt',
+ prompt: 'Hello {{name}}',
+ version: '1.0.0',
+ status: 'PUBLISHED' as const,
+ tags: ['tag1'],
+ metaProperties: { key: 'value' },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]' });
+});
+
+// ===========================================================================
+// createPrompt
+// ===========================================================================
+describe('createPrompt', () => {
+ // Happy-path setup:
+ // call 1 → checkNameValidity → getPromptByName: data:[] (name available)
+ // call 2 → insert prompt: { err: null }
+ // call 3 → getPromptByName (after insert): data:[{ id:'p1', name:'my-prompt' }]
+ // call 4 → insert version: { err: null, data: { query_id: 'qid-1' } }
+ function mockHappyPath() {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null }) // 1. checkNameValidity
+ .mockResolvedValueOnce({ err: null }) // 2. insert prompt
+ .mockResolvedValueOnce({ data: [{ id: 'p1', name: 'my-prompt' }], err: null }) // 3. getPromptByName
+ .mockResolvedValueOnce({ err: null, data: { query_id: 'qid-v1' } }); // 4. insert version
+ }
+
+ it('creates a prompt and returns promptId and success message', async () => {
+ mockHappyPath();
+ const result = await createPrompt(VALID_PROMPT_INPUT);
+ expect(result).toEqual({ data: { promptId: 'p1' }, message: 'Prompt saved!' });
+ expect(dataCollector).toHaveBeenCalledTimes(4);
+ });
+
+ it('calls getCurrentUser for auth check', async () => {
+ mockHappyPath();
+ await createPrompt(VALID_PROMPT_INPUT);
+ expect(getCurrentUser).toHaveBeenCalledTimes(1);
+ });
+
+ it('sanitizes the input object', async () => {
+ const Sanitizer = require('@/utils/sanitizer').default;
+ mockHappyPath();
+ await createPrompt(VALID_PROMPT_INPUT);
+ expect(Sanitizer.sanitizeObject).toHaveBeenCalledWith(VALID_PROMPT_INPUT);
+ });
+
+ it('verifies prompt input shape via verifyPromptInput', async () => {
+ mockHappyPath();
+ await createPrompt(VALID_PROMPT_INPUT);
+ expect(verifyPromptInput).toHaveBeenCalledWith(VALID_PROMPT_INPUT);
+ });
+
+ it('inserts prompt into openlit_prompts with correct values', async () => {
+ mockHappyPath();
+ await createPrompt(VALID_PROMPT_INPUT);
+ // Call index 1 (0-based) is the prompt insert
+ const [insertParams, mode] = (dataCollector as jest.Mock).mock.calls[1];
+ expect(mode).toBe('insert');
+ expect(insertParams.table).toBe('openlit_prompts');
+ expect(insertParams.values[0]).toMatchObject({
+ name: 'my-prompt',
+ created_by: '[email protected]',
+ });
+ });
+
+ it('inserts version into openlit_prompt_versions with correct values', async () => {
+ mockHappyPath();
+ await createPrompt(VALID_PROMPT_INPUT);
+ // Call index 3 is the version insert
+ const [versionParams, mode] = (dataCollector as jest.Mock).mock.calls[3];
+ expect(mode).toBe('insert');
+ expect(versionParams.table).toBe('openlit_prompt_versions');
+ expect(versionParams.values[0]).toMatchObject({
+ prompt_id: 'p1',
+ updated_by: '[email protected]',
+ version: '1.0.0',
+ status: 'PUBLISHED',
+ prompt: 'Hello {{name}}',
+ });
+ });
+
+ it('throws UNAUTHORIZED_USER when no user is logged in', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(createPrompt(VALID_PROMPT_INPUT)).rejects.toThrow('Unauthorized');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('throws when verifyPromptInput fails', async () => {
+ (verifyPromptInput as jest.Mock).mockReturnValueOnce({ success: false, err: 'Name required' });
+ await expect(createPrompt({ ...VALID_PROMPT_INPUT, name: '' })).rejects.toThrow('Name required');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('throws PROMPT_NAME_TAKEN when prompt name already exists', async () => {
+ // checkNameValidity finds an existing prompt
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: [{ id: 'existing', name: 'my-prompt' }] });
+ await expect(createPrompt(VALID_PROMPT_INPUT)).rejects.toThrow('Prompt name taken');
+ // Only 1 call made (the name check) — insert was never reached
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ });
+
+ it('throws when prompt insert dataCollector returns an error', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null }) // checkNameValidity: available
+ .mockResolvedValueOnce({ err: 'Insert error' }); // prompt insert fails
+ await expect(createPrompt(VALID_PROMPT_INPUT)).rejects.toThrow('Insert error');
+ });
+
+ it('throws PROMPT_NOT_CREATED when getPromptByName returns no id after insert', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null }) // checkNameValidity
+ .mockResolvedValueOnce({ err: null }) // insert prompt succeeds
+ .mockResolvedValueOnce({ data: [], err: null }); // getPromptByName: no record
+ await expect(createPrompt(VALID_PROMPT_INPUT)).rejects.toThrow('Prompt not created');
+ });
+
+ it('throws VERSION_NOT_CREATED when version insert returns no query_id', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null })
+ .mockResolvedValueOnce({ err: null })
+ .mockResolvedValueOnce({ data: [{ id: 'p1', name: 'my-prompt' }], err: null })
+ .mockResolvedValueOnce({ err: null, data: null }); // no query_id
+ await expect(createPrompt(VALID_PROMPT_INPUT)).rejects.toThrow('Version not created');
+ });
+
+ it('throws VERSION_NOT_CREATED with version error message when version insert returns an error', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null })
+ .mockResolvedValueOnce({ err: null })
+ .mockResolvedValueOnce({ data: [{ id: 'p1', name: 'my-prompt' }], err: null })
+ .mockResolvedValueOnce({ err: 'Version DB error', data: null });
+ await expect(createPrompt(VALID_PROMPT_INPUT)).rejects.toThrow('Version DB error');
+ });
+
+ it('returns promptId from the fetched prompt record', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null })
+ .mockResolvedValueOnce({ err: null })
+ .mockResolvedValueOnce({ data: [{ id: 'prompt-abc', name: 'my-prompt' }], err: null })
+ .mockResolvedValueOnce({ err: null, data: { query_id: 'qid-1' } });
+ const result = await createPrompt(VALID_PROMPT_INPUT);
+ expect(result.data.promptId).toBe('prompt-abc');
+ });
+});
+
+// ===========================================================================
+// getPrompts
+// ===========================================================================
+describe('getPrompts', () => {
+ it('returns dataCollector result', async () => {
+ const mockData = [{ promptId: 'p1', name: 'my-prompt', totalVersions: 2 }];
+ (dataCollector as jest.Mock).mockResolvedValue({ data: mockData, err: null });
+ const result = await getPrompts();
+ expect(result).toEqual({ data: mockData, err: null });
+ });
+
+ it('calls dataCollector exactly once with a SELECT query', async () => {
+ await getPrompts();
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('SELECT');
+ });
+
+ it('queries from openlit_prompts table', async () => {
+ await getPrompts();
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('openlit_prompts');
+ });
+
+ it('joins with openlit_prompt_versions and openlit_prompt_version_downloads', async () => {
+ await getPrompts();
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('openlit_prompt_versions');
+ expect(query).toContain('openlit_prompt_version_downloads');
+ });
+
+ it('orders results by created_at DESC', async () => {
+ await getPrompts();
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('created_at DESC');
+ });
+
+ it('calls getCurrentUser for auth check', async () => {
+ await getPrompts();
+ expect(getCurrentUser).toHaveBeenCalledTimes(1);
+ });
+
+ it('throws UNAUTHORIZED_USER when no user is logged in', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getPrompts()).rejects.toThrow('Unauthorized');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+});
+
+// ===========================================================================
+// getSpecificPrompt
+// ===========================================================================
+describe('getSpecificPrompt', () => {
+ it('calls dataCollector with a SELECT query', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ promptId: 'p1' }], err: null });
+ await getSpecificPrompt({ id: 'p1' });
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('SELECT');
+ });
+
+ it('adds id condition to WHERE clause when id is provided', async () => {
+ await getSpecificPrompt({ id: 'prompt-1' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("p.id = 'prompt-1'");
+ });
+
+ it('adds name condition to WHERE clause when name is provided', async () => {
+ await getSpecificPrompt({ name: 'my-prompt' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("p.name = 'my-prompt'");
+ });
+
+ it('adds version condition to WHERE clause when version is provided', async () => {
+ await getSpecificPrompt({ version: '2.0.0' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("v.version = '2.0.0'");
+ });
+
+ it('combines multiple conditions with AND', async () => {
+ await getSpecificPrompt({ name: 'my-prompt', version: '1.0.0' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("p.name = 'my-prompt'");
+ expect(query).toContain("v.version = '1.0.0'");
+ expect(query).toContain('AND');
+ });
+
+ it('queries from openlit_prompts joined with openlit_prompt_versions', async () => {
+ await getSpecificPrompt({ id: 'p1' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('openlit_prompts');
+ expect(query).toContain('openlit_prompt_versions');
+ });
+
+ it('orders by version DESC', async () => {
+ await getSpecificPrompt({ id: 'p1' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('v.version DESC');
+ });
+
+ it('uses "query" mode when calling dataCollector', async () => {
+ await getSpecificPrompt({ id: 'p1' });
+ const [, mode] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(mode).toBe('query');
+ });
+
+ it('forwards dbConfigId as third argument to dataCollector', async () => {
+ await getSpecificPrompt({ id: 'p1' }, 'db-cfg-99');
+ const [, , dbConfigId] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(dbConfigId).toBe('db-cfg-99');
+ });
+
+ it('sanitizes the input parameters', async () => {
+ const Sanitizer = require('@/utils/sanitizer').default;
+ await getSpecificPrompt({ id: 'p1', name: 'test' });
+ expect(Sanitizer.sanitizeObject).toHaveBeenCalledWith({ id: 'p1', name: 'test' });
+ });
+
+ it('does NOT call getCurrentUser (no auth required)', async () => {
+ await getSpecificPrompt({ id: 'p1' });
+ expect(getCurrentUser).not.toHaveBeenCalled();
+ });
+
+ it('returns raw dataCollector result', async () => {
+ const mockResult = { data: [{ promptId: 'p1', name: 'my-prompt', prompt: 'Hi!' }], err: null };
+ (dataCollector as jest.Mock).mockResolvedValue(mockResult);
+ const result = await getSpecificPrompt({ id: 'p1' });
+ expect(result).toEqual(mockResult);
+ });
+});
+
+// ===========================================================================
+// getPromptDetails
+// ===========================================================================
+describe('getPromptDetails', () => {
+ // getPromptDetails runs Promise.all with two dataCollector calls.
+ function mockBothQueries(
+ versionDataResult: object,
+ versionsListResult: object
+ ) {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce(versionDataResult)
+ .mockResolvedValueOnce(versionsListResult);
+ }
+
+ it('calls dataCollector twice (via Promise.all)', async () => {
+ mockBothQueries(
+ { data: [{ promptId: 'p1', name: 'test', prompt: 'Hello' }], err: null },
+ { data: [{ versionId: 'v1', version: '1.0.0' }], err: null }
+ );
+ await getPromptDetails('p1');
+ expect(dataCollector).toHaveBeenCalledTimes(2);
+ });
+
+ it('calls getCurrentUser for auth check', async () => {
+ mockBothQueries({ data: [], err: null }, { data: [], err: null });
+ await getPromptDetails('p1');
+ expect(getCurrentUser).toHaveBeenCalledTimes(1);
+ });
+
+ it('throws UNAUTHORIZED_USER when no user', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getPromptDetails('p1')).rejects.toThrow('Unauthorized');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('returns combined data with versions list attached to first record', async () => {
+ const versionRecord = { promptId: 'p1', name: 'my-prompt', prompt: 'Hi!', version: '1.0.0' };
+ const versionsList = [
+ { versionId: 'v1', version: '1.0.0', status: 'PUBLISHED' },
+ { versionId: 'v2', version: '2.0.0', status: 'DRAFT' },
+ ];
+ mockBothQueries(
+ { data: [versionRecord], err: null },
+ { data: versionsList, err: null }
+ );
+ const result = await getPromptDetails('p1');
+ expect(result.data[0]).toMatchObject({ promptId: 'p1', name: 'my-prompt' });
+ expect(result.data[0].versions).toEqual(versionsList);
+ });
+
+ it('returns { data: [null], err: null } when versionData has no records', async () => {
+ mockBothQueries(
+ { data: [], err: null },
+ { data: [{ versionId: 'v1' }], err: null }
+ );
+ const result = await getPromptDetails('p1');
+ expect(result.data[0]).toBeNull();
+ expect(result.err).toBeNull();
+ });
+
+ it('returns err from versionData when first query fails', async () => {
+ mockBothQueries(
+ { data: null, err: 'Version query failed' },
+ { data: [], err: null }
+ );
+ const result = await getPromptDetails('p1');
+ expect(result.err).toBe('Version query failed');
+ });
+
+ it('returns err from versionsList when second query fails', async () => {
+ mockBothQueries(
+ { data: [{ promptId: 'p1', name: 'test' }], err: null },
+ { data: null, err: 'Versions list failed' }
+ );
+ const result = await getPromptDetails('p1');
+ expect(result.err).toBe('Versions list failed');
+ });
+
+ it('includes promptId in both dataCollector queries', async () => {
+ mockBothQueries({ data: [], err: null }, { data: [], err: null });
+ await getPromptDetails('prompt-xyz');
+ const [firstCall] = (dataCollector as jest.Mock).mock.calls[0];
+ const [secondCall] = (dataCollector as jest.Mock).mock.calls[1];
+ expect(firstCall.query).toContain('prompt-xyz');
+ expect(secondCall.query).toContain('prompt-xyz');
+ });
+
+ it('both calls use "query" mode', async () => {
+ mockBothQueries({ data: [], err: null }, { data: [], err: null });
+ await getPromptDetails('p1');
+ expect((dataCollector as jest.Mock).mock.calls[0][1]).toBe('query');
+ expect((dataCollector as jest.Mock).mock.calls[1][1]).toBe('query');
+ });
+
+ it('applies version filter in first query when version parameter is provided', async () => {
+ mockBothQueries({ data: [], err: null }, { data: [], err: null });
+ await getPromptDetails('p1', { version: '2.0.0' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("version='2.0.0'");
+ expect(query).toContain("status != 'DRAFT'");
+ });
+
+ it('does not apply version filter when no version parameter is given', async () => {
+ mockBothQueries({ data: [], err: null }, { data: [], err: null });
+ await getPromptDetails('p1');
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).not.toContain("status != 'DRAFT'");
+ });
+
+ it('sets versions to empty array when versionsList data is null', async () => {
+ const versionRecord = { promptId: 'p1', name: 'my-prompt', prompt: 'Hi!' };
+ mockBothQueries(
+ { data: [versionRecord], err: null },
+ { data: null, err: null }
+ );
+ const result = await getPromptDetails('p1');
+ expect(result.data[0].versions).toEqual([]);
+ });
+
+ it('sanitizes the parameters object', async () => {
+ const Sanitizer = require('@/utils/sanitizer').default;
+ mockBothQueries({ data: [], err: null }, { data: [], err: null });
+ await getPromptDetails('p1', { version: '1.0.0' });
+ expect(Sanitizer.sanitizeObject).toHaveBeenCalledWith({ version: '1.0.0' });
+ });
+});
+
+// ===========================================================================
+// deletePrompt
+// ===========================================================================
+describe('deletePrompt', () => {
+ it('returns [undefined, success message] when all three deletes succeed', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ const result = await deletePrompt('p1');
+ expect(result).toEqual([undefined, 'Prompt deleted!']);
+ });
+
+ it('calls dataCollector three times via Promise.all', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt('p1');
+ expect(dataCollector).toHaveBeenCalledTimes(3);
+ });
+
+ it('deletes from openlit_prompts with the correct id', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt('prompt-id-1');
+ const promptDeleteCall = (dataCollector as jest.Mock).mock.calls.find(([{ query }]) =>
+ query.includes('openlit_prompts') && !query.includes('openlit_prompt_versions')
+ );
+ expect(promptDeleteCall).toBeDefined();
+ expect(promptDeleteCall[0].query).toContain("WHERE id = 'prompt-id-1'");
+ });
+
+ it('deletes from openlit_prompt_versions with prompt_id', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt('prompt-id-1');
+ const versionDeleteCall = (dataCollector as jest.Mock).mock.calls.find(([{ query }]) =>
+ query.includes('openlit_prompt_versions') && !query.includes('openlit_prompt_version_downloads')
+ );
+ expect(versionDeleteCall).toBeDefined();
+ expect(versionDeleteCall[0].query).toContain("WHERE prompt_id = 'prompt-id-1'");
+ });
+
+ it('deletes from openlit_prompt_version_downloads with prompt_id', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt('prompt-id-1');
+ const downloadsDeleteCall = (dataCollector as jest.Mock).mock.calls.find(([{ query }]) =>
+ query.includes('openlit_prompt_version_downloads')
+ );
+ expect(downloadsDeleteCall).toBeDefined();
+ expect(downloadsDeleteCall[0].query).toContain("WHERE prompt_id = 'prompt-id-1'");
+ });
+
+ it('uses "exec" mode for all dataCollector calls', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt('p1');
+ for (const call of (dataCollector as jest.Mock).mock.calls) {
+ expect(call[1]).toBe('exec');
+ }
+ });
+
+ it('returns [PROMPT_NOT_DELETED] when any delete fails', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ err: null })
+ .mockResolvedValueOnce({ err: 'DB error' })
+ .mockResolvedValueOnce({ err: null });
+ const result = await deletePrompt('p1');
+ expect(result).toEqual(['Prompt not deleted']);
+ });
+
+ it('returns [PROMPT_NOT_DELETED] when all deletes fail', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: 'Connection refused' });
+ const result = await deletePrompt('p1');
+ expect(result).toEqual(['Prompt not deleted']);
+ });
+
+ it('returns [PROMPT_NOT_DELETED] when only the first delete fails', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ err: 'First error' })
+ .mockResolvedValueOnce({ err: null })
+ .mockResolvedValueOnce({ err: null });
+ const result = await deletePrompt('p1');
+ expect(result).toEqual(['Prompt not deleted']);
+ });
+
+ it('throws UNAUTHORIZED_USER when no user is logged in', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(deletePrompt('p1')).rejects.toThrow('Unauthorized');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('sanitizes the promptId parameter', async () => {
+ const Sanitizer = require('@/utils/sanitizer').default;
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt(' p1 ');
+ expect(Sanitizer.sanitizeValue).toHaveBeenCalledWith(' p1 ');
+ });
+
+ it('calls getCurrentUser once for auth', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt('p1');
+ expect(getCurrentUser).toHaveBeenCalledTimes(1);
+ });
+
+ it('all DELETE queries contain DELETE FROM keyword', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ await deletePrompt('p1');
+ for (const [{ query }] of (dataCollector as jest.Mock).mock.calls) {
+ expect(query.toUpperCase()).toContain('DELETE FROM');
+ }
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/prompt/prompt.test.ts b/src/client/src/__tests__/lib/platform/prompt/prompt.test.ts
new file mode 100644
index 00000000..bd4663f4
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/prompt/prompt.test.ts
@@ -0,0 +1,184 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn(),
+}));
+jest.mock('@/lib/platform/prompt/table-details', () => ({
+ OPENLIT_PROMPTS_TABLE_NAME: 'openlit_prompts',
+ OPENLIT_PROMPT_VERSIONS_TABLE_NAME: 'openlit_prompt_versions',
+ OPENLIT_PROMPT_VERSION_DOWNLOADS_TABLE_NAME: 'openlit_prompt_version_downloads',
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ PROMPT_NAME_TAKEN: 'Prompt name taken',
+ PROMPT_NOT_CREATED: 'Prompt not created',
+ VERSION_NOT_SAVED: 'Version not saved',
+ VERSION_SAVED: 'Version saved!',
+ DOWNLOAD_INFO_NOT_SAVED: 'Download info not saved',
+ })),
+}));
+jest.mock('@/utils/sanitizer', () => ({
+ __esModule: true,
+ default: {
+ sanitizeValue: jest.fn((v: string) => v),
+ sanitizeObject: jest.fn((o: object) => o),
+ },
+}));
+jest.mock('@/helpers/server/prompt', () => ({
+ verifyPromptInput: jest.fn(() => ({ success: true })),
+}));
+jest.mock('@/utils/json', () => ({
+ jsonStringify: jest.fn((v: unknown) => JSON.stringify(v)),
+}));
+jest.mock('@/utils/log', () => ({
+ consoleLog: jest.fn(),
+}));
+
+import { getPromptByName, checkNameValidity } from '@/lib/platform/prompt/index';
+import { upsertPromptVersion, updateDownloadDetails } from '@/lib/platform/prompt/version';
+import { dataCollector } from '@/lib/platform/common';
+import { getCurrentUser } from '@/lib/session';
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]' });
+});
+
+describe('getPromptByName', () => {
+ it('queries by name and returns first record', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ id: 'p1', name: 'my-prompt' }] });
+ const result = await getPromptByName({ name: 'my-prompt' });
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain("name='my-prompt'");
+ expect(result).toEqual({ id: 'p1', name: 'my-prompt' });
+ });
+
+ it('returns undefined when not found', async () => {
+ const result = await getPromptByName({ name: 'unknown' });
+ expect(result).toBeUndefined();
+ });
+});
+
+describe('checkNameValidity', () => {
+ it('returns isValid=true when no existing prompt', async () => {
+ const result = await checkNameValidity({ name: 'new-prompt' });
+ expect(result.isValid).toBe(true);
+ });
+
+ it('returns isValid=false when prompt name exists', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ id: 'p1' }] });
+ const result = await checkNameValidity({ name: 'taken' });
+ expect(result.isValid).toBe(false);
+ });
+});
+
+describe('upsertPromptVersion', () => {
+ it('creates a new version (insert path)', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: { query_id: 'qid-1' } });
+ const result = await upsertPromptVersion({
+ promptId: 'p1',
+ version: '1.0.0',
+ status: 'published',
+ prompt: 'Hello {{name}}',
+ tags: [],
+ metaProperties: {},
+ } as any);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [params, mode] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(mode).toBe('insert');
+ expect(params.table).toBe('openlit_prompt_versions');
+ expect(result).toBe('Version saved!');
+ });
+
+ it('updates an existing version (update path)', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: { query_id: 'qid-1' } });
+ await upsertPromptVersion({
+ promptId: 'p1',
+ versionId: 'v1',
+ version: '1.0.1',
+ status: 'published',
+ prompt: 'Updated prompt',
+ tags: [],
+ metaProperties: {},
+ } as any);
+ const [{ query }, mode] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(mode).toBe('exec');
+ expect(query).toContain('ALTER TABLE');
+ expect(query).toContain("WHERE version_id = 'v1'");
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(
+ upsertPromptVersion({ promptId: 'p1' } as any)
+ ).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when dataCollector fails (no query_id)', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: null });
+ await expect(
+ upsertPromptVersion({ promptId: 'p1' } as any)
+ ).rejects.toThrow();
+ });
+
+ it('uses versionErr.toString() in error message when versionErr is a string (covers line 73)', async () => {
+ // versionErr is a string → typeof versionErr?.toString === "function" → true → versionErr.toString() called
+ (dataCollector as jest.Mock).mockResolvedValue({ err: 'Version DB error', data: null });
+ await expect(
+ upsertPromptVersion({ promptId: 'p1' } as any)
+ ).rejects.toThrow('Version DB error');
+ });
+
+ it('uses versionErr.toString() in error message when versionErr is an Error object (covers line 73)', async () => {
+ const err = new Error('Version object error');
+ (dataCollector as jest.Mock).mockResolvedValue({ err, data: null });
+ await expect(
+ upsertPromptVersion({ promptId: 'p1' } as any)
+ ).rejects.toThrow('Version object error');
+ });
+});
+
+describe('updateDownloadDetails', () => {
+ it('inserts download details and returns true', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: { query_id: 'qid-1' } });
+ const result = await updateDownloadDetails({
+ promptId: 'p1',
+ versionId: 'v1',
+ metaProperties: {},
+ downloadSource: 'sdk',
+ } as any);
+ expect(result).toBe(true);
+ const [params, mode] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(mode).toBe('insert');
+ expect(params.table).toBe('openlit_prompt_version_downloads');
+ });
+
+ it('returns true even when dataCollector fails (just logs)', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: 'DB error', data: null });
+ const result = await updateDownloadDetails({
+ promptId: 'p1',
+ versionId: 'v1',
+ } as any);
+ expect(result).toBe(true);
+ });
+
+ it('logs DOWNLOAD_INFO_NOT_SAVED when err is null but data has no query_id (covers line 105 fallback)', async () => {
+ // err is falsy, data is null → err || getMessage().DOWNLOAD_INFO_NOT_SAVED
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: null });
+ const result = await updateDownloadDetails({
+ promptId: 'p1',
+ versionId: 'v1',
+ } as any);
+ expect(result).toBe(true);
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/prompt/table-details.test.ts b/src/client/src/__tests__/lib/platform/prompt/table-details.test.ts
new file mode 100644
index 00000000..8b46ba6b
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/prompt/table-details.test.ts
@@ -0,0 +1,19 @@
+import {
+ OPENLIT_PROMPTS_TABLE_NAME,
+ OPENLIT_PROMPT_VERSIONS_TABLE_NAME,
+ OPENLIT_PROMPT_VERSION_DOWNLOADS_TABLE_NAME,
+} from '@/lib/platform/prompt/table-details';
+
+describe('prompt table-details', () => {
+ it('exports the correct prompts table name', () => {
+ expect(OPENLIT_PROMPTS_TABLE_NAME).toBe('openlit_prompts');
+ });
+
+ it('exports the correct prompt versions table name', () => {
+ expect(OPENLIT_PROMPT_VERSIONS_TABLE_NAME).toBe('openlit_prompt_versions');
+ });
+
+ it('exports the correct prompt version downloads table name', () => {
+ expect(OPENLIT_PROMPT_VERSION_DOWNLOADS_TABLE_NAME).toBe('openlit_prompt_version_downloads');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/request/request.test.ts b/src/client/src/__tests__/lib/platform/request/request.test.ts
new file mode 100644
index 00000000..ff5edd99
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/request/request.test.ts
@@ -0,0 +1,246 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn(),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+
+import {
+ getRequestPerTime,
+ getTotalRequests,
+ getAverageRequestDuration,
+ getRequestsConfig,
+ getRequests,
+ getRequestViaSpanId,
+ getRequestViaTraceId,
+ getHeirarchyViaSpanId,
+ getRequestExist,
+ getAttributeKeys,
+} from '@/lib/platform/request/index';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: {
+ start: new Date('2024-01-01'),
+ end: new Date('2024-01-31'),
+ type: '1M',
+ },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+});
+
+describe('getRequestPerTime', () => {
+ it('calls dataCollector with time-series request query', async () => {
+ await getRequestPerTime(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('total');
+ expect(query).toContain('request_time');
+ expect(query).toContain('GROUP BY');
+ });
+});
+
+describe('getTotalRequests', () => {
+ it('builds JOIN query for current/previous comparison', async () => {
+ await getTotalRequests(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('total_requests');
+ expect(query).toContain('JOIN');
+ expect(query).toContain('previous_total_requests');
+ });
+});
+
+describe('getAverageRequestDuration', () => {
+ it('builds JOIN query for duration comparison', async () => {
+ await getAverageRequestDuration(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('average_duration');
+ expect(query).toContain('JOIN');
+ expect(query).toContain('previous_average_duration');
+ });
+});
+
+describe('getRequestsConfig', () => {
+ it('queries providers, models, traceTypes, applicationNames, environments', async () => {
+ await getRequestsConfig(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('providers');
+ expect(query).toContain('models');
+ expect(query).toContain('totalRows');
+ });
+});
+
+describe('getRequests', () => {
+ it('calls dataCollector twice (count + data) and returns records', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 42 }], err: null })
+ .mockResolvedValueOnce({ data: [{ SpanId: 'abc' }], err: null });
+
+ const result = await getRequests({ ...baseParams, limit: 10, offset: 0 });
+ expect(dataCollector).toHaveBeenCalledTimes(2);
+ expect(result.total).toBe(42);
+ expect(result.records).toEqual([{ SpanId: 'abc' }]);
+ });
+
+ it('returns err when count query fails', async () => {
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: null, err: 'DB error' });
+ const result = await getRequests(baseParams);
+ expect(result.err).toBe('DB error');
+ });
+
+ it('applies sorting when provided', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 5 }], err: null })
+ .mockResolvedValueOnce({ data: [], err: null });
+
+ await getRequests({
+ ...baseParams,
+ sorting: { type: 'Timestamp', direction: 'ASC' },
+ });
+ const { query } = (dataCollector as jest.Mock).mock.calls[1][0];
+ expect(query).toContain('ORDER BY Timestamp ASC');
+ });
+
+ it('applies toFloat64OrZero ORDER BY for cost sorting', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 5 }], err: null })
+ .mockResolvedValueOnce({ data: [], err: null });
+
+ await getRequests({
+ ...baseParams,
+ sorting: { type: 'gen_ai.usage.cost', direction: 'DESC' },
+ });
+ const { query } = (dataCollector as jest.Mock).mock.calls[1][0];
+ expect(query).toContain('toFloat64OrZero(gen_ai.usage.cost)');
+ });
+
+ it('applies toInt32OrZero ORDER BY for tokens sorting', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ total: 5 }], err: null })
+ .mockResolvedValueOnce({ data: [], err: null });
+
+ await getRequests({
+ ...baseParams,
+ sorting: { type: 'gen_ai.usage.prompt_tokens', direction: 'ASC' },
+ });
+ const { query } = (dataCollector as jest.Mock).mock.calls[1][0];
+ expect(query).toContain('toInt32OrZero(gen_ai.usage.prompt_tokens)');
+ });
+});
+
+describe('getRequestViaSpanId', () => {
+ it('queries by SpanId and returns record', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({
+ data: [{ SpanId: 'span-1', SpanName: 'test' }],
+ err: null,
+ });
+ const result = await getRequestViaSpanId('span-1');
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain("SpanId='span-1'");
+ expect(result.record).toEqual({ SpanId: 'span-1', SpanName: 'test' });
+ });
+});
+
+describe('getRequestViaTraceId', () => {
+ it('queries by TraceId and returns record', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({
+ data: [{ TraceId: 'trace-1' }],
+ err: null,
+ });
+ const result = await getRequestViaTraceId('trace-1');
+ expect(result.record).toEqual({ TraceId: 'trace-1' });
+ });
+});
+
+describe('getHeirarchyViaSpanId', () => {
+ it('returns error when no upward data found', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ const result = await getHeirarchyViaSpanId('span-1');
+ expect(result.err).toBe('Error in fetching heirarchy');
+ });
+
+ it('executes downward query when upward span is found and returns hierarchy', async () => {
+ const rootSpan = { SpanId: 'root-span', ParentSpanId: '', TraceId: 't1' };
+ const childSpan = { SpanId: 'child-span', ParentSpanId: 'root-span', TraceId: 't1' };
+
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [rootSpan], err: null }) // upward query
+ .mockResolvedValueOnce({ data: [rootSpan, childSpan], err: null }); // downward query
+
+ const result = await getHeirarchyViaSpanId('child-span');
+ expect(dataCollector).toHaveBeenCalledTimes(2);
+ expect(result.err).toBeNull();
+ expect(result.record).toBeDefined();
+ });
+
+ it('returns hierarchy error when downward query returns empty data', async () => {
+ const rootSpan = { SpanId: 'root-span', ParentSpanId: '', TraceId: 't1' };
+
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [rootSpan], err: null })
+ .mockResolvedValueOnce({ data: [], err: 'DB error' });
+
+ const result = await getHeirarchyViaSpanId('child-span');
+ expect(dataCollector).toHaveBeenCalledTimes(2);
+ // err from downward query is propagated
+ expect(result.err).toBeTruthy();
+ });
+});
+
+describe('getRequestExist', () => {
+ it('calls dataCollector with total count query', async () => {
+ await getRequestExist();
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('total_requests');
+ expect(query).toContain('otel_traces');
+ });
+});
+
+describe('getAttributeKeys', () => {
+ it('returns spanAttributeKeys and resourceAttributeKeys on success', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [{ key: 'gen_ai.system' }, { key: 'gen_ai.request.model' }], err: null })
+ .mockResolvedValueOnce({ data: [{ key: 'service.name' }], err: null });
+
+ const result = await getAttributeKeys(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(2);
+ expect(result.spanAttributeKeys).toEqual(['gen_ai.system', 'gen_ai.request.model']);
+ expect(result.resourceAttributeKeys).toEqual(['service.name']);
+ expect(result.err).toBeNull();
+ });
+
+ it('returns empty arrays when data is null', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: null, err: null })
+ .mockResolvedValueOnce({ data: null, err: null });
+
+ const result = await getAttributeKeys(baseParams);
+ expect(result.spanAttributeKeys).toEqual([]);
+ expect(result.resourceAttributeKeys).toEqual([]);
+ });
+
+ it('propagates error from span query', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: null, err: 'span error' })
+ .mockResolvedValueOnce({ data: [], err: null });
+
+ const result = await getAttributeKeys(baseParams);
+ expect(result.err).toBe('span error');
+ });
+
+ it('queries use DISTINCT arrayJoin(mapKeys(...))', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null })
+ .mockResolvedValueOnce({ data: [], err: null });
+
+ await getAttributeKeys(baseParams);
+ const [call1, call2] = (dataCollector as jest.Mock).mock.calls;
+ expect(call1[0].query).toContain('SpanAttributes');
+ expect(call2[0].query).toContain('ResourceAttributes');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/vault/table-details.test.ts b/src/client/src/__tests__/lib/platform/vault/table-details.test.ts
new file mode 100644
index 00000000..45bbbfbe
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/vault/table-details.test.ts
@@ -0,0 +1,7 @@
+import { OPENLIT_VAULT_TABLE_NAME } from '@/lib/platform/vault/table-details';
+
+describe('vault table-details', () => {
+ it('exports the correct vault table name', () => {
+ expect(OPENLIT_VAULT_TABLE_NAME).toBe('openlit_vault');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/vault/vault.test.ts b/src/client/src/__tests__/lib/platform/vault/vault.test.ts
new file mode 100644
index 00000000..bfab80e2
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/vault/vault.test.ts
@@ -0,0 +1,367 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn(),
+}));
+jest.mock('@/lib/platform/vault/table-details', () => ({
+ OPENLIT_VAULT_TABLE_NAME: 'openlit_vault',
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/utils/error', () => ({
+ throwIfError: jest.fn((condition: boolean, msg: string) => {
+ if (condition) throw new Error(msg);
+ }),
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ SECRET_NAME_TAKEN: 'Secret name taken',
+ SECRET_SAVED: 'Secret saved!',
+ SECRET_NOT_SAVED: 'Secret not saved',
+ SECRET_DELETED: 'Secret deleted!',
+ SECRET_NOT_DELETED: 'Secret not deleted',
+ NO_API_KEY: 'No API key',
+ NO_PROMPT: 'No prompt',
+ })),
+}));
+jest.mock('@/utils/sanitizer', () => ({
+ __esModule: true,
+ default: {
+ sanitizeValue: jest.fn((v: string) => v),
+ sanitizeObject: jest.fn((o: object) => o),
+ },
+}));
+jest.mock('@/helpers/server/vault', () => ({
+ verifySecretInput: jest.fn(() => ({ success: true })),
+ normalizeSecretDataForSDK: jest.fn((data: any[]) => data),
+}));
+jest.mock('@/utils/json', () => ({
+ jsonStringify: jest.fn((v: unknown) => JSON.stringify(v)),
+}));
+jest.mock('@/lib/platform/api-keys', () => ({
+ getAPIKeyInfo: jest.fn(),
+}));
+
+import { getSecretByName, checkNameValidity, deleteSecret, getSecrets, getSecretById, upsertSecret, getSecretsFromDatabaseId } from '@/lib/platform/vault/index';
+import { dataCollector } from '@/lib/platform/common';
+import { getCurrentUser } from '@/lib/session';
+import { getAPIKeyInfo } from '@/lib/platform/api-keys';
+
+beforeEach(() => {
+ jest.clearAllMocks();
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [], err: null });
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]' });
+});
+
+describe('getSecretByName', () => {
+ it('calls dataCollector with SELECT query and returns first record', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ id: 'v1', key: 'my-secret' }] });
+ const result = await getSecretByName({ key: 'my-secret' });
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain("key='my-secret'");
+ expect(result).toEqual({ id: 'v1', key: 'my-secret' });
+ });
+
+ it('returns undefined when no secret found', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [] });
+ const result = await getSecretByName({ key: 'unknown' });
+ expect(result).toBeUndefined();
+ });
+});
+
+describe('checkNameValidity', () => {
+ it('returns isValid=true when no existing secret', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [] });
+ const result = await checkNameValidity({ key: 'new-key' });
+ expect(result.isValid).toBe(true);
+ });
+
+ it('returns isValid=false when secret name already exists', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ id: 'v1', key: 'taken' }] });
+ const result = await checkNameValidity({ key: 'taken' });
+ expect(result.isValid).toBe(false);
+ });
+});
+
+describe('deleteSecret', () => {
+ it('returns success message when delete succeeds', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null });
+ const result = await deleteSecret('secret-id-1');
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('DELETE FROM');
+ expect(query).toContain('secret-id-1');
+ expect(result[0]).toBeUndefined(); // no error
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(deleteSecret('secret-id-1')).rejects.toThrow('Unauthorized');
+ });
+
+ it('returns error message when delete fails', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: 'DB error' });
+ const result = await deleteSecret('secret-id-1');
+ expect(result[0]).toBeDefined(); // error message
+ });
+});
+
+describe('getSecrets', () => {
+ it('calls dataCollector with SELECT query', async () => {
+ await getSecrets({});
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('SELECT');
+ expect(query).toContain('openlit_vault');
+ });
+
+ it('adds WHERE clause when key filter is provided', async () => {
+ await getSecrets({ key: 'my-key' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("v.key = 'my-key'");
+ });
+
+ it('adds hasAny tags filter when tags are provided (covers lines 133-135)', async () => {
+ await getSecrets({ tags: ['tagA', 'tagB'] });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('hasAny');
+ expect(query).toContain('tagA');
+ expect(query).toContain('tagB');
+ });
+
+ it('includes value in SELECT when selectValue is true', async () => {
+ await getSecrets({}, { selectValue: true });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).not.toContain('EXCEPT value');
+ });
+
+ it('excludes value in SELECT by default', async () => {
+ await getSecrets({});
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('EXCEPT value');
+ });
+
+ it('throws when user not authenticated (no databaseConfigId)', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(getSecrets({ key: 'my-key' })).rejects.toThrow('Unauthorized');
+ });
+
+ it('bypasses auth check when databaseConfigId is provided', async () => {
+ await expect(getSecrets({ databaseConfigId: 'db-1' })).resolves.toBeDefined();
+ expect(getCurrentUser).not.toHaveBeenCalled();
+ });
+});
+
+describe('getSecretById', () => {
+ it('calls dataCollector with id filter', async () => {
+ await getSecretById('v1');
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("v.id = 'v1'");
+ expect(query).toContain('EXCEPT value');
+ });
+
+ it('includes value when excludeVaultValue is false', async () => {
+ await getSecretById('v1', undefined, false);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).not.toContain('EXCEPT value');
+ });
+});
+
+import { verifySecretInput, normalizeSecretDataForSDK } from '@/helpers/server/vault';
+
+describe('upsertSecret', () => {
+ describe('INSERT path (no id provided)', () => {
+ it('inserts a new secret and returns success message', async () => {
+ // dataCollector: 1st call for checkNameValidity (getSecretByName), 2nd for insert
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null }) // checkNameValidity -> not taken
+ .mockResolvedValueOnce({ err: null }); // insert
+ const result = await upsertSecret({ key: 'MY_SECRET', value: 'abc123', tags: [] });
+ expect(getCurrentUser).toHaveBeenCalledTimes(1);
+ expect(dataCollector).toHaveBeenCalledTimes(2);
+ // Second call must be the insert
+ const [insertParams, insertMode] = (dataCollector as jest.Mock).mock.calls[1];
+ expect(insertMode).toBe('insert');
+ expect(insertParams.table).toBe('openlit_vault');
+ expect(insertParams.values[0]).toMatchObject({ key: 'MY_SECRET', value: 'abc123' });
+ expect(result).toEqual({ data: {}, message: 'Secret saved!' });
+ });
+
+ it('throws UNAUTHORIZED_USER when no user', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(upsertSecret({ key: 'k', value: 'v' })).rejects.toThrow('Unauthorized');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('throws when verifySecretInput fails', async () => {
+ (verifySecretInput as jest.Mock).mockReturnValueOnce({ success: false, err: 'Key required' });
+ await expect(upsertSecret({ key: '', value: 'v' })).rejects.toThrow('Key required');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('throws SECRET_NAME_TAKEN when name is already taken', async () => {
+ // checkNameValidity returns existing record
+ (dataCollector as jest.Mock).mockResolvedValueOnce({ data: [{ id: 'existing-1', key: 'MY_SECRET' }] });
+ await expect(upsertSecret({ key: 'MY_SECRET', value: 'v' })).rejects.toThrow('Secret name taken');
+ });
+
+ it('throws when insert dataCollector returns an error', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null }) // checkNameValidity -> available
+ .mockResolvedValueOnce({ err: 'Insert failed' }); // insert fails
+ await expect(upsertSecret({ key: 'k', value: 'v' })).rejects.toThrow('Insert failed');
+ });
+
+ it('includes tags in insert values when provided', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null })
+ .mockResolvedValueOnce({ err: null });
+ await upsertSecret({ key: 'k', value: 'v', tags: ['tagA', 'tagB'] });
+ const [insertParams] = (dataCollector as jest.Mock).mock.calls[1];
+ expect(insertParams.values[0].tags).toEqual(['tagA', 'tagB']);
+ });
+
+ it('records created_by as the current user email', async () => {
+ (dataCollector as jest.Mock)
+ .mockResolvedValueOnce({ data: [], err: null })
+ .mockResolvedValueOnce({ err: null });
+ await upsertSecret({ key: 'k', value: 'v' });
+ const [insertParams] = (dataCollector as jest.Mock).mock.calls[1];
+ expect(insertParams.values[0].created_by).toBe('[email protected]');
+ });
+ });
+
+ describe('UPDATE path (id provided)', () => {
+ it('updates an existing secret and returns success string', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({
+ err: null,
+ data: { query_id: 'qid-upd-1' },
+ });
+ const result = await upsertSecret({ id: 'secret-id-1', key: 'NEW_KEY', value: 'new-val', tags: ['t1'] });
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }, mode] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(mode).toBe('exec');
+ expect(query).toContain('ALTER TABLE');
+ expect(query).toContain('openlit_vault');
+ expect(query).toContain("WHERE id = 'secret-id-1'");
+ expect(query).toContain("updated_by = '[email protected]'");
+ expect(result).toBe('Secret saved!');
+ });
+
+ it('includes key in UPDATE set clause when key is provided', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: { query_id: 'qid-1' } });
+ await upsertSecret({ id: 'sid', key: 'UPDATED_KEY' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("key = 'UPDATED_KEY'");
+ });
+
+ it('includes value in UPDATE set clause when value is provided', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: { query_id: 'qid-1' } });
+ await upsertSecret({ id: 'sid', value: 'new-value' });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("value = 'new-value'");
+ });
+
+ it('includes tags in UPDATE set clause when tags are provided', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: { query_id: 'qid-1' } });
+ await upsertSecret({ id: 'sid', tags: ['a', 'b'] });
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('tags =');
+ });
+
+ it('skips checkNameValidity when id is provided', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: { query_id: 'qid-1' } });
+ await upsertSecret({ id: 'sid', key: 'k' });
+ // Only one dataCollector call: the exec update (no name-validity check)
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ });
+
+ it('throws UNAUTHORIZED_USER when no user', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(upsertSecret({ id: 'sid', key: 'k' })).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws SECRET_NOT_SAVED when dataCollector returns an error', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: 'DB write error', data: null });
+ await expect(upsertSecret({ id: 'sid', key: 'k' })).rejects.toThrow('DB write error');
+ });
+
+ it('throws SECRET_NOT_SAVED when query_id is missing from response', async () => {
+ (dataCollector as jest.Mock).mockResolvedValue({ err: null, data: null });
+ await expect(upsertSecret({ id: 'sid', key: 'k' })).rejects.toThrow('Secret not saved');
+ });
+ });
+});
+
+describe('getSecretsFromDatabaseId', () => {
+ it('returns normalized secrets for a valid API key', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, { databaseConfigId: 'db-1', id: 'key-1' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ key: 'MY_SECRET', value: 'abc' }], err: null });
+ (normalizeSecretDataForSDK as jest.Mock).mockReturnValue({ MY_SECRET: 'abc' });
+
+ const result = await getSecretsFromDatabaseId({ apiKey: 'openlit-xyz' });
+
+ expect(getAPIKeyInfo).toHaveBeenCalledWith({ apiKey: 'openlit-xyz' });
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain('SELECT');
+ // selectValue=true so no EXCEPT value
+ expect(query).not.toContain('EXCEPT value');
+ expect(normalizeSecretDataForSDK).toHaveBeenCalledWith([{ key: 'MY_SECRET', value: 'abc' }]);
+ expect(result).toEqual({ MY_SECRET: 'abc' });
+ });
+
+ it('throws NO_API_KEY when getAPIKeyInfo returns an error', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue(['Invalid key', null]);
+ await expect(getSecretsFromDatabaseId({ apiKey: 'bad-key' })).rejects.toThrow('Invalid key');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('throws NO_API_KEY when apiInfo has no databaseConfigId', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, { id: 'key-1' }]);
+ await expect(getSecretsFromDatabaseId({ apiKey: 'some-key' })).rejects.toThrow('No API key');
+ expect(dataCollector).not.toHaveBeenCalled();
+ });
+
+ it('throws NO_API_KEY when apiInfo is null', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, null]);
+ await expect(getSecretsFromDatabaseId({ apiKey: 'some-key' })).rejects.toThrow('No API key');
+ });
+
+ it('throws NO_PROMPT when getSecrets returns an error', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, { databaseConfigId: 'db-1' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: null, err: 'Query failed' });
+ await expect(getSecretsFromDatabaseId({ apiKey: 'valid-key' })).rejects.toThrow('Query failed');
+ });
+
+ it('throws NO_PROMPT when getSecrets returns no data', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, { databaseConfigId: 'db-1' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: null, err: null });
+ await expect(getSecretsFromDatabaseId({ apiKey: 'valid-key' })).rejects.toThrow('No prompt');
+ });
+
+ it('passes through filters (key, tags) to getSecrets query', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, { databaseConfigId: 'db-2' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ key: 'X', value: '1' }], err: null });
+ (normalizeSecretDataForSDK as jest.Mock).mockReturnValue({ X: '1' });
+
+ await getSecretsFromDatabaseId({ apiKey: 'valid-key', key: 'X' });
+
+ const [{ query }] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(query).toContain("v.key = 'X'");
+ });
+
+ it('forwards databaseConfigId from apiInfo to getSecrets', async () => {
+ (getAPIKeyInfo as jest.Mock).mockResolvedValue([null, { databaseConfigId: 'db-99' }]);
+ (dataCollector as jest.Mock).mockResolvedValue({ data: [{ key: 'K', value: 'V' }], err: null });
+ (normalizeSecretDataForSDK as jest.Mock).mockReturnValue({ K: 'V' });
+
+ await getSecretsFromDatabaseId({ apiKey: 'valid-key' });
+
+ // dataCollector third arg is databaseConfigId
+ const [,, dbConfigId] = (dataCollector as jest.Mock).mock.calls[0];
+ expect(dbConfigId).toBe('db-99');
+ });
+});
diff --git a/src/client/src/__tests__/lib/platform/vector/vector.test.ts b/src/client/src/__tests__/lib/platform/vector/vector.test.ts
new file mode 100644
index 00000000..b0d0b393
--- /dev/null
+++ b/src/client/src/__tests__/lib/platform/vector/vector.test.ts
@@ -0,0 +1,60 @@
+jest.mock('@/lib/platform/common', () => ({
+ dataCollector: jest.fn().mockResolvedValue({ data: [] }),
+ OTEL_TRACES_TABLE_NAME: 'otel_traces',
+}));
+
+import { getResultGenerationByApplication } from '@/lib/platform/vector/application';
+import { getResultGenerationByEnvironment } from '@/lib/platform/vector/environment';
+import { getResultGenerationByOperation } from '@/lib/platform/vector/operation';
+import { getResultGenerationBySystem } from '@/lib/platform/vector/system';
+import { dataCollector } from '@/lib/platform/common';
+
+const baseParams = {
+ timeLimit: { start: '2024-01-01', end: '2024-01-31', type: '1M' },
+};
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('getResultGenerationByApplication', () => {
+ it('calls dataCollector with applicationName GROUP BY query', async () => {
+ const result = await getResultGenerationByApplication(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('applicationName');
+ expect(query).toContain('GROUP BY');
+ expect(query).toContain('otel_traces');
+ expect(result).toEqual({ data: [] });
+ });
+});
+
+describe('getResultGenerationByEnvironment', () => {
+ it('calls dataCollector with environment GROUP BY query', async () => {
+ await getResultGenerationByEnvironment(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('environment');
+ expect(query).toContain('GROUP BY');
+ });
+});
+
+describe('getResultGenerationByOperation', () => {
+ it('calls dataCollector with operation GROUP BY query', async () => {
+ await getResultGenerationByOperation(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('operation');
+ expect(query).toContain('GROUP BY');
+ });
+});
+
+describe('getResultGenerationBySystem', () => {
+ it('calls dataCollector with system GROUP BY query', async () => {
+ await getResultGenerationBySystem(baseParams);
+ expect(dataCollector).toHaveBeenCalledTimes(1);
+ const { query } = (dataCollector as jest.Mock).mock.calls[0][0];
+ expect(query).toContain('system');
+ expect(query).toContain('GROUP BY');
+ });
+});
diff --git a/src/client/src/__tests__/lib/user.test.ts b/src/client/src/__tests__/lib/user.test.ts
new file mode 100644
index 00000000..d9bde51d
--- /dev/null
+++ b/src/client/src/__tests__/lib/user.test.ts
@@ -0,0 +1,210 @@
+jest.mock('@/lib/prisma', () => ({
+ __esModule: true,
+ default: {
+ user: {
+ findUnique: jest.fn(),
+ create: jest.fn(),
+ update: jest.fn(),
+ },
+ },
+}));
+jest.mock('@/lib/session', () => ({
+ getCurrentUser: jest.fn(),
+}));
+jest.mock('@/utils/asaw', () => jest.fn());
+jest.mock('@/lib/db-config', () => ({
+ moveSharedDBConfigToDBUser: jest.fn().mockResolvedValue(undefined),
+}));
+jest.mock('@/lib/organisation', () => ({
+ moveInvitationsToMembership: jest.fn().mockResolvedValue(undefined),
+}));
+jest.mock('@/constants/messages', () => ({
+ __esModule: true,
+ default: jest.fn(() => ({
+ UNAUTHORIZED_USER: 'Unauthorized',
+ })),
+}));
+jest.mock('bcrypt-ts', () => ({
+ compare: jest.fn(),
+ genSaltSync: jest.fn(() => '$2b$10$salt'),
+ hashSync: jest.fn((pw: string) => `hashed:${pw}`),
+}));
+
+import {
+ getUserByEmail,
+ getUserById,
+ createNewUser,
+ updateUser,
+ updateUserProfile,
+ doesPasswordMatches,
+} from '@/lib/user';
+import prisma from '@/lib/prisma';
+import { getCurrentUser } from '@/lib/session';
+import asaw from '@/utils/asaw';
+import { compare } from 'bcrypt-ts';
+
+beforeEach(() => {
+ jest.clearAllMocks();
+});
+
+describe('getUserByEmail', () => {
+ it('returns user (without password) for valid email', async () => {
+ const user = { id: 'u1', email: '[email protected]', password: 'hashed' };
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(user);
+
+ const result = await getUserByEmail({ email: '[email protected]' });
+ expect(prisma.user.findUnique).toHaveBeenCalledWith({
+ where: { email: '[email protected]' }, // lowercase normalized
+ });
+ expect((result as any).password).toBeUndefined();
+ expect(result.email).toBe('[email protected]');
+ });
+
+ it('throws when user not found', async () => {
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(null);
+ await expect(getUserByEmail({ email: '[email protected]' })).rejects.toThrow(
+ 'No user with this email exists'
+ );
+ });
+
+ it('throws when no email provided', async () => {
+ await expect(getUserByEmail({ email: undefined })).rejects.toThrow(
+ 'No email Provided'
+ );
+ });
+
+ it('includes password when selectPassword=true', async () => {
+ const user = { id: 'u1', email: '[email protected]', password: 'hashed' };
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(user);
+ const result = await getUserByEmail({ email: '[email protected]', selectPassword: true });
+ expect((result as any).password).toBe('hashed');
+ });
+});
+
+describe('getUserById', () => {
+ it('returns null when no id provided', async () => {
+ const result = await getUserById({ id: undefined });
+ expect(result).toBeNull();
+ expect(prisma.user.findUnique).not.toHaveBeenCalled();
+ });
+
+ it('returns null when user not found', async () => {
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(null);
+ const result = await getUserById({ id: 'nonexistent' });
+ expect(result).toBeNull();
+ });
+
+ it('returns user without password', async () => {
+ const user = { id: 'u1', email: '[email protected]', password: 'hashed' };
+ (prisma.user.findUnique as jest.Mock).mockResolvedValue(user);
+ const result = await getUserById({ id: 'u1' });
+ expect((result as any).password).toBeUndefined();
+ });
+});
+
+describe('createNewUser', () => {
+ it('creates user when email is not taken', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, null]); // getUserByEmail not found
+ const createdUser = { id: 'u1', email: '[email protected]', password: 'hashed' };
+ (prisma.user.create as jest.Mock).mockResolvedValue(createdUser);
+
+ const result = await createNewUser({ email: '[email protected]', password: 'pass123' });
+ expect(prisma.user.create).toHaveBeenCalledWith(
+ expect.objectContaining({
+ data: expect.objectContaining({
+ email: '[email protected]',
+ hasCompletedOnboarding: false,
+ }),
+ })
+ );
+ expect((result as any).password).toBeUndefined();
+ });
+
+ it('throws when user already exists', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, { id: 'u1', email: '[email protected]' }]);
+ await expect(
+ createNewUser({ email: '[email protected]', password: 'pass' })
+ ).rejects.toThrow('User already exists');
+ });
+
+ it('throws when prisma.user.create returns no id', async () => {
+ (asaw as jest.Mock).mockResolvedValue([null, null]);
+ (prisma.user.create as jest.Mock).mockResolvedValue({ id: null });
+ await expect(createNewUser({ email: '[email protected]', password: 'pass' })).rejects.toThrow(
+ 'Cannot create a user!'
+ );
+ });
+});
+
+describe('updateUser', () => {
+ it('calls prisma.user.update with provided where/data', async () => {
+ (prisma.user.update as jest.Mock).mockResolvedValue({ id: 'u1' });
+ await updateUser({ data: { name: 'Alice' }, where: { id: 'u1' } });
+ expect(prisma.user.update).toHaveBeenCalledWith({
+ where: { id: 'u1' },
+ data: { name: 'Alice' },
+ });
+ });
+
+ it('throws when where is empty', async () => {
+ await expect(updateUser({ data: { name: 'Alice' }, where: {} })).rejects.toThrow(
+ 'No where clause defined'
+ );
+ });
+});
+
+describe('updateUserProfile', () => {
+ it('updates name without password change', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]', password: 'hashed' });
+ (prisma.user.update as jest.Mock).mockResolvedValue({ id: 'u1', name: 'Bob' });
+
+ await updateUserProfile({ name: 'Bob' });
+ expect(prisma.user.update).toHaveBeenCalledWith(
+ expect.objectContaining({ data: expect.objectContaining({ name: 'Bob' }) })
+ );
+ });
+
+ it('throws when user is not authenticated', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue(null);
+ await expect(updateUserProfile({ name: 'Bob' })).rejects.toThrow('Unauthorized');
+ });
+
+ it('throws when nothing to update', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]', password: 'hashed' });
+ await expect(updateUserProfile({})).rejects.toThrow('Nothing to update!');
+ });
+
+ it('updates password when passwords match', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]', password: '$hashed' });
+ (compare as jest.Mock).mockResolvedValue(true);
+ (prisma.user.update as jest.Mock).mockResolvedValue({ id: 'u1' });
+
+ await updateUserProfile({ currentPassword: 'old', newPassword: 'new' });
+ expect(prisma.user.update).toHaveBeenCalledWith(
+ expect.objectContaining({ data: expect.objectContaining({ password: expect.any(String) }) })
+ );
+ });
+
+ it('throws when current password is wrong', async () => {
+ (getCurrentUser as jest.Mock).mockResolvedValue({ id: 'u1', email: '[email protected]', password: '$hashed' });
+ (compare as jest.Mock).mockResolvedValue(false);
+
+ await expect(
+ updateUserProfile({ currentPassword: 'wrong', newPassword: 'new' })
+ ).rejects.toThrow('Wrong current password!');
+ });
+});
+
+describe('doesPasswordMatches', () => {
+ it('returns true when passwords match', async () => {
+ (compare as jest.Mock).mockResolvedValue(true);
+ const result = await doesPasswordMatches('password', '$hashed');
+ expect(result).toBe(true);
+ });
+
+ it('returns false when passwords do not match', async () => {
+ (compare as jest.Mock).mockResolvedValue(false);
+ const result = await doesPasswordMatches('wrong', '$hashed');
+ expect(result).toBe(false);
+ });
+});
diff --git a/src/client/src/__tests__/lib/utils.test.ts b/src/client/src/__tests__/lib/utils.test.ts
new file mode 100644
index 00000000..e1eec9a8
--- /dev/null
+++ b/src/client/src/__tests__/lib/utils.test.ts
@@ -0,0 +1,38 @@
+import { cn } from '@/lib/utils';
+
+describe('cn (className utility)', () => {
+ it('merges class names', () => {
+ expect(cn('foo', 'bar')).toBe('foo bar');
+ });
+
+ it('handles conditional classes', () => {
+ expect(cn('base', false && 'hidden', 'visible')).toBe('base visible');
+ });
+
+ it('resolves tailwind conflicts (later class wins)', () => {
+ // tailwind-merge: p-2 overrides p-4 when applied later
+ expect(cn('p-4', 'p-2')).toBe('p-2');
+ });
+
+ it('handles undefined and null values', () => {
+ expect(cn('foo', undefined, null, 'bar')).toBe('foo bar');
+ });
+
+ it('handles object syntax', () => {
+ expect(cn({ 'text-red-500': true, 'text-blue-500': false })).toBe(
+ 'text-red-500'
+ );
+ });
+
+ it('handles array syntax', () => {
+ expect(cn(['foo', 'bar'])).toBe('foo bar');
+ });
+
+ it('returns empty string when no classes provided', () => {
+ expect(cn()).toBe('');
+ });
+
+ it('merges duplicate tailwind utilities correctly', () => {
+ expect(cn('mt-2 mt-4')).toBe('mt-4');
+ });
+});
diff --git a/src/client/src/__tests__/middleware/chain.test.ts b/src/client/src/__tests__/middleware/chain.test.ts
new file mode 100644
index 00000000..8c980fba
--- /dev/null
+++ b/src/client/src/__tests__/middleware/chain.test.ts
@@ -0,0 +1,62 @@
+import { chain } from '@/middleware/chain';
+import { NextResponse } from 'next/server';
+
+// Mock next/server
+jest.mock('next/server', () => ({
+ NextResponse: {
+ next: jest.fn(),
+ },
+}));
+
+describe('chain', () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('returns NextResponse.next when given an empty array', () => {
+ const result = chain([]);
+ expect(result).toBe(NextResponse.next);
+ });
+
+ it('calls the first middleware factory with the next handler', () => {
+ const innerHandler = jest.fn();
+ const factory = jest.fn(() => innerHandler);
+
+ const result = chain([factory]);
+
+ expect(factory).toHaveBeenCalledWith(NextResponse.next);
+ expect(result).toBe(innerHandler);
+ });
+
+ it('chains two middleware factories in order', () => {
+ const handler1 = jest.fn();
+ const handler2 = jest.fn();
+ const factory1 = jest.fn(() => handler1);
+ const factory2 = jest.fn(() => handler2);
+
+ const result = chain([factory1, factory2]);
+
+ // factory2 is called first (it wraps NextResponse.next)
+ expect(factory2).toHaveBeenCalledWith(NextResponse.next);
+ // factory1 is called with factory2's result
+ expect(factory1).toHaveBeenCalledWith(handler2);
+ // The outermost handler is what chain returns
+ expect(result).toBe(handler1);
+ });
+
+ it('chains three middleware factories in order', () => {
+ const handlers = [jest.fn(), jest.fn(), jest.fn()];
+ const factories = handlers.map((h) => jest.fn(() => h));
+
+ const result = chain(factories);
+
+ // Innermost factory wraps NextResponse.next
+ expect(factories[2]).toHaveBeenCalledWith(NextResponse.next);
+ // Middle factory wraps innermost handler
+ expect(factories[1]).toHaveBeenCalledWith(handlers[2]);
+ // Outer factory wraps middle handler
+ expect(factories[0]).toHaveBeenCalledWith(handlers[1]);
+ // Result is outermost handler
+ expect(result).toBe(handlers[0]);
+ });
+});
diff --git a/src/client/src/__tests__/middleware/check-auth.test.ts b/src/client/src/__tests__/middleware/check-auth.test.ts
new file mode 100644
index 00000000..33ccdec3
--- /dev/null
+++ b/src/client/src/__tests__/middleware/check-auth.test.ts
@@ -0,0 +1,220 @@
+import { NextResponse } from 'next/server';
+
+jest.mock('next/server', () => ({
+ NextResponse: {
+ next: jest.fn(() => ({ type: 'next' })),
+ redirect: jest.fn((url) => ({ type: 'redirect', url: url.toString() })),
+ json: jest.fn((body, init) => ({ type: 'json', body, init })),
+ },
+}));
+
+jest.mock('next-auth/middleware', () => ({
+ withAuth: jest.fn((fn, opts) => fn),
+}));
+
+jest.mock('next-auth/jwt', () => ({
+ getToken: jest.fn(),
+}));
+
+import checkAuth from '@/middleware/check-auth';
+import { getToken } from 'next-auth/jwt';
+import { withAuth } from 'next-auth/middleware';
+
+const makeRequest = (
+ method: string,
+ pathname: string,
+ search: string = '',
+ headers: Record<string, string> = {}
+) => ({
+ method,
+ nextUrl: { pathname, search },
+ url: `http://localhost${pathname}`,
+ headers: { get: (key: string) => headers[key] || null },
+});
+
+const makeFetchEvent = () => ({} as any);
+
+describe('checkAuth', () => {
+ const nextHandler = jest.fn(() => ({ type: 'next' }));
+ let middleware: any;
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ middleware = checkAuth(nextHandler);
+ });
+
+ it('passes through _next static routes', async () => {
+ const req = makeRequest('GET', '/_next/static/chunk.js');
+ await middleware(req as any, makeFetchEvent());
+ expect(nextHandler).toHaveBeenCalledWith(req, expect.anything());
+ });
+
+ it('passes through /static routes', async () => {
+ const req = makeRequest('GET', '/static/logo.png');
+ await middleware(req as any, makeFetchEvent());
+ expect(nextHandler).toHaveBeenCalledWith(req, expect.anything());
+ });
+
+ it('passes through /images routes', async () => {
+ const req = makeRequest('GET', '/images/banner.png');
+ await middleware(req as any, makeFetchEvent());
+ expect(nextHandler).toHaveBeenCalledWith(req, expect.anything());
+ });
+
+ describe('auth page (/login)', () => {
+ it('redirects authenticated user to default route', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: true });
+ const req = makeRequest('GET', '/login');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.redirect).toHaveBeenCalled();
+ });
+
+ it('redirects authenticated user without onboarding to /onboarding', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: false });
+ const req = makeRequest('GET', '/login');
+ await middleware(req as any, makeFetchEvent());
+ const redirectCall = (NextResponse.redirect as jest.Mock).mock.calls[0][0];
+ expect(redirectCall.toString()).toContain('/onboarding');
+ });
+
+ it('allows unauthenticated access to login page', async () => {
+ (getToken as jest.Mock).mockResolvedValue(null);
+ const req = makeRequest('GET', '/login');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ });
+ });
+
+ describe('API routes', () => {
+ it('allows authenticated API call', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: true });
+ const req = makeRequest('GET', '/api/some-endpoint');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ });
+
+ it('returns 403 for authenticated user without onboarding on restricted API', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: false });
+ const req = makeRequest('GET', '/api/some-restricted-endpoint');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.json).toHaveBeenCalledWith(
+ expect.objectContaining({ error: expect.any(String) }),
+ { status: 403 }
+ );
+ });
+
+ it('allows CRON job route with valid token header', async () => {
+ (getToken as jest.Mock).mockResolvedValue(null);
+ const req = makeRequest('GET', '/api/evaluation/auto', '', { 'X-CRON-JOB': 'secret-token' });
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ });
+ });
+
+ describe('unauthenticated access to protected pages', () => {
+ it('redirects to login with callbackUrl', async () => {
+ (getToken as jest.Mock).mockResolvedValue(null);
+ const req = makeRequest('GET', '/dashboard');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.redirect).toHaveBeenCalled();
+ const redirectCall = (NextResponse.redirect as jest.Mock).mock.calls[0][0];
+ expect(redirectCall.toString()).toContain('/login');
+ expect(redirectCall.toString()).toContain('callbackUrl');
+ });
+
+ it('includes search params in callbackUrl', async () => {
+ (getToken as jest.Mock).mockResolvedValue(null);
+ const req = makeRequest('GET', '/dashboard', '?tab=settings');
+ await middleware(req as any, makeFetchEvent());
+ const redirectCall = (NextResponse.redirect as jest.Mock).mock.calls[0][0];
+ expect(redirectCall.toString()).toContain('dashboard');
+ });
+ });
+
+ describe('authenticated user without onboarding on pages', () => {
+ it('redirects to /onboarding for non-whitelisted pages', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: false });
+ const req = makeRequest('GET', '/dashboard');
+ await middleware(req as any, makeFetchEvent());
+ const redirectCall = (NextResponse.redirect as jest.Mock).mock.calls[0][0];
+ expect(redirectCall.toString()).toContain('/onboarding');
+ });
+ });
+
+ describe('error handling', () => {
+ it('redirects to login when getToken throws an error', async () => {
+ (getToken as jest.Mock).mockRejectedValue(new Error('Invalid token'));
+ const req = makeRequest('GET', '/dashboard');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.redirect).toHaveBeenCalled();
+ });
+
+ it('includes search params in callbackUrl when error occurs', async () => {
+ (getToken as jest.Mock).mockRejectedValue(new Error('Invalid token'));
+ const req = makeRequest('GET', '/dashboard', '?ref=abc');
+ await middleware(req as any, makeFetchEvent());
+ const redirectCall = (NextResponse.redirect as jest.Mock).mock.calls[0][0];
+ expect(redirectCall.toString()).toContain('callbackUrl');
+ });
+
+ it('allows access to login page even when getToken throws', async () => {
+ (getToken as jest.Mock).mockRejectedValue(new Error('Invalid token'));
+ const req = makeRequest('GET', '/login');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ });
+ });
+
+ describe('authenticated user with completed onboarding on regular pages', () => {
+ it('allows access and returns next()', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: true });
+ const req = makeRequest('GET', '/dashboard');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ });
+ });
+
+ describe('onboarding-whitelisted API routes (exact match)', () => {
+ it('allows GET to /api/organisation without onboarding', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: false });
+ const req = makeRequest('GET', '/api/organisation');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ expect(NextResponse.json).not.toHaveBeenCalled();
+ });
+
+ it('allows POST to /api/organisation without onboarding', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: false });
+ const req = makeRequest('POST', '/api/organisation');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ });
+ });
+
+ describe('onboarding-whitelisted API routes (prefix match)', () => {
+ it('allows POST to /api/organisation/current/123 without onboarding', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: false });
+ const req = makeRequest('POST', '/api/organisation/current/123');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ expect(NextResponse.json).not.toHaveBeenCalled();
+ });
+
+ it('allows DELETE to /api/organisation/invitation/456 without onboarding', async () => {
+ (getToken as jest.Mock).mockResolvedValue({ hasCompletedOnboarding: false });
+ const req = makeRequest('DELETE', '/api/organisation/invitation/456');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.next).toHaveBeenCalled();
+ });
+ });
+
+ describe('withAuth callbacks.authorized', () => {
+ it('is called by withAuth and always returns true', async () => {
+ const capturedOpts = (withAuth as jest.Mock).mock.calls[0]?.[1];
+ if (capturedOpts?.callbacks?.authorized) {
+ const result = await capturedOpts.callbacks.authorized();
+ expect(result).toBe(true);
+ }
+ });
+ });
+});
diff --git a/src/client/src/__tests__/middleware/check-demo-account.test.ts b/src/client/src/__tests__/middleware/check-demo-account.test.ts
new file mode 100644
index 00000000..15d94c19
--- /dev/null
+++ b/src/client/src/__tests__/middleware/check-demo-account.test.ts
@@ -0,0 +1,103 @@
+import { NextResponse } from 'next/server';
+
+// Mock next/server
+jest.mock('next/server', () => ({
+ NextResponse: {
+ next: jest.fn(),
+ json: jest.fn((body, init) => ({ body, init })),
+ },
+}));
+
+// Mock next-auth/jwt
+jest.mock('next-auth/jwt', () => ({
+ getToken: jest.fn(),
+}));
+
+import checkDemoAccount from '@/middleware/check-demo-account';
+import { getToken } from 'next-auth/jwt';
+
+const makeRequest = (method: string, pathname: string) => ({
+ method,
+ nextUrl: { pathname },
+});
+
+const makeFetchEvent = () => ({} as any);
+
+describe('checkDemoAccount', () => {
+ const nextHandler = jest.fn();
+ let middleware: ReturnType<typeof checkDemoAccount>;
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ middleware = checkDemoAccount(nextHandler);
+ });
+
+ afterEach(() => {
+ delete process.env.DEMO_ACCOUNT_EMAIL;
+ });
+
+ it('calls next() when DEMO_ACCOUNT_EMAIL is not set', async () => {
+ delete process.env.DEMO_ACCOUNT_EMAIL;
+ const req = makeRequest('POST', '/api/db-config');
+ await middleware(req as any, makeFetchEvent());
+ expect(nextHandler).toHaveBeenCalledWith(req, expect.anything());
+ });
+
+ it('calls next() when the route is not in RESTRICTED_DEMO_ACCOUNT_ROUTES', async () => {
+ process.env.DEMO_ACCOUNT_EMAIL = '[email protected]';
+ (getToken as jest.Mock).mockResolvedValue({ email: '[email protected]' });
+ const req = makeRequest('GET', '/api/organisation');
+ await middleware(req as any, makeFetchEvent());
+ expect(nextHandler).toHaveBeenCalled();
+ });
+
+ it('calls next() when the token email does not match demo email', async () => {
+ process.env.DEMO_ACCOUNT_EMAIL = '[email protected]';
+ (getToken as jest.Mock).mockResolvedValue({ email: '[email protected]' });
+ const req = makeRequest('POST', '/api/db-config');
+ await middleware(req as any, makeFetchEvent());
+ expect(nextHandler).toHaveBeenCalled();
+ });
+
+ it('returns 403 when demo user accesses a restricted route', async () => {
+ process.env.DEMO_ACCOUNT_EMAIL = '[email protected]';
+ (getToken as jest.Mock).mockResolvedValue({ email: '[email protected]' });
+ const req = makeRequest('POST', '/api/db-config');
+ const result = await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.json).toHaveBeenCalledWith(
+ 'This Action is not allowed for demo accounts!',
+ { status: 403 }
+ );
+ expect(nextHandler).not.toHaveBeenCalled();
+ });
+
+ it('is case-insensitive for email comparison', async () => {
+ process.env.DEMO_ACCOUNT_EMAIL = '[email protected]';
+ (getToken as jest.Mock).mockResolvedValue({ email: '[email protected]' });
+ const req = makeRequest('DELETE', '/api/vault');
+ const result = await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.json).toHaveBeenCalledWith(
+ expect.any(String),
+ { status: 403 }
+ );
+ });
+
+ it('checks DELETE restricted routes correctly', async () => {
+ process.env.DEMO_ACCOUNT_EMAIL = '[email protected]';
+ (getToken as jest.Mock).mockResolvedValue({ email: '[email protected]' });
+ const req = makeRequest('DELETE', '/api/api-key');
+ await middleware(req as any, makeFetchEvent());
+ expect(NextResponse.json).toHaveBeenCalledWith(
+ expect.any(String),
+ { status: 403 }
+ );
+ });
+
+ it('calls next() for PUT on an unrestricted route', async () => {
+ process.env.DEMO_ACCOUNT_EMAIL = '[email protected]';
+ (getToken as jest.Mock).mockResolvedValue({ email: '[email protected]' });
+ const req = makeRequest('PUT', '/api/something-else');
+ await middleware(req as any, makeFetchEvent());
+ expect(nextHandler).toHaveBeenCalled();
+ });
+});
diff --git a/src/client/src/__tests__/middleware/middleware.test.ts b/src/client/src/__tests__/middleware/middleware.test.ts
new file mode 100644
index 00000000..2183ae33
--- /dev/null
+++ b/src/client/src/__tests__/middleware/middleware.test.ts
@@ -0,0 +1,41 @@
+jest.mock('@/middleware/chain', () => ({
+ chain: jest.fn((middlewares: any[]) => ({ type: 'chained', middlewares })),
+}));
+jest.mock('@/middleware/check-auth', () => ({
+ __esModule: true,
+ default: jest.fn(),
+}));
+jest.mock('@/middleware/check-demo-account', () => ({
+ __esModule: true,
+ default: jest.fn(),
+}));
+
+import { chain } from '@/middleware/chain';
+import checkAuth from '@/middleware/check-auth';
+import checkDemoAccount from '@/middleware/check-demo-account';
+
+// Re-import middleware module after mocks are registered
+import { middleware, config } from '@/middleware';
+
+describe('middleware', () => {
+ it('composes checkDemoAccount and checkAuth via chain', () => {
+ expect(chain).toHaveBeenCalledWith([checkDemoAccount, checkAuth]);
+ });
+
+ it('exports a middleware function', () => {
+ expect(middleware).toBeDefined();
+ });
+
+ it('exports a config with matcher array', () => {
+ expect(Array.isArray(config.matcher)).toBe(true);
+ expect(config.matcher.length).toBeGreaterThan(0);
+ });
+
+ it('matcher includes /api/:path* route', () => {
+ expect(config.matcher).toContain('/api/:path*');
+ });
+
+ it('matcher includes /login route', () => {
+ expect(config.matcher).toContain('/login');
+ });
+});
diff --git a/src/client/src/__tests__/selectors/dashboards.test.ts b/src/client/src/__tests__/selectors/dashboards.test.ts
new file mode 100644
index 00000000..d3267437
--- /dev/null
+++ b/src/client/src/__tests__/selectors/dashboards.test.ts
@@ -0,0 +1,35 @@
+jest.mock('@/store', () => ({
+ useRootStore: jest.fn(),
+}));
+
+import { useDashboardPageSearch, useSetDashboardPageSearch } from '@/selectors/dashboards';
+import { useRootStore } from '@/store';
+
+describe('useDashboardPageSearch', () => {
+ it('returns dashboards.page.search from store', () => {
+ const mockSearch = 'my query';
+ (useRootStore as jest.Mock).mockReturnValue({
+ dashboards: { page: { search: mockSearch }, setPageSearch: jest.fn() },
+ });
+ const result = useDashboardPageSearch();
+ expect(result).toBe(mockSearch);
+ });
+
+ it('returns empty string when search is empty', () => {
+ (useRootStore as jest.Mock).mockReturnValue({
+ dashboards: { page: { search: '' }, setPageSearch: jest.fn() },
+ });
+ expect(useDashboardPageSearch()).toBe('');
+ });
+});
+
+describe('useSetDashboardPageSearch', () => {
+ it('returns dashboards.setPageSearch from store', () => {
+ const mockSetPageSearch = jest.fn();
+ (useRootStore as jest.Mock).mockReturnValue({
+ dashboards: { page: { search: '' }, setPageSearch: mockSetPageSearch },
+ });
+ const result = useSetDashboardPageSearch();
+ expect(result).toBe(mockSetPageSearch);
+ });
+});
diff --git a/src/client/src/__tests__/selectors/database-config.test.ts b/src/client/src/__tests__/selectors/database-config.test.ts
new file mode 100644
index 00000000..252d47f2
--- /dev/null
+++ b/src/client/src/__tests__/selectors/database-config.test.ts
@@ -0,0 +1,88 @@
+import {
+ getPingDetails,
+ getPingStatus,
+ getDatabaseConfigList,
+ getDatabaseConfigListIsLoading,
+ setPing,
+ setDatabaseConfigList,
+ setDatabaseConfigListIsLoading,
+} from '@/selectors/database-config';
+
+const makeState = (overrides: Record<string, any> = {}) =>
+ ({
+ databaseConfig: {
+ ping: { status: 'success', error: undefined },
+ isLoading: false,
+ list: [{ id: 'db1', name: 'Primary' }],
+ setPing: jest.fn(),
+ setList: jest.fn(),
+ setIsLoading: jest.fn(),
+ ...overrides,
+ },
+ } as any);
+
+describe('getPingDetails', () => {
+ it('returns the ping object', () => {
+ const state = makeState();
+ expect(getPingDetails(state)).toEqual({ status: 'success', error: undefined });
+ });
+});
+
+describe('getPingStatus', () => {
+ it('returns the ping status string', () => {
+ expect(getPingStatus(makeState())).toBe('success');
+ });
+
+ it('returns pending status', () => {
+ const state = makeState({ ping: { status: 'pending' } });
+ expect(getPingStatus(state)).toBe('pending');
+ });
+
+ it('returns failure status', () => {
+ const state = makeState({ ping: { status: 'failure', error: 'Connection refused' } });
+ expect(getPingStatus(state)).toBe('failure');
+ });
+});
+
+describe('getDatabaseConfigList', () => {
+ it('returns the list of database configs', () => {
+ const state = makeState();
+ expect(getDatabaseConfigList(state)).toEqual([{ id: 'db1', name: 'Primary' }]);
+ });
+
+ it('returns undefined when list is not loaded', () => {
+ const state = makeState({ list: undefined });
+ expect(getDatabaseConfigList(state)).toBeUndefined();
+ });
+});
+
+describe('getDatabaseConfigListIsLoading', () => {
+ it('returns false when not loading', () => {
+ expect(getDatabaseConfigListIsLoading(makeState())).toBe(false);
+ });
+
+ it('returns true when loading', () => {
+ expect(getDatabaseConfigListIsLoading(makeState({ isLoading: true }))).toBe(true);
+ });
+});
+
+describe('setPing', () => {
+ it('returns the setPing function', () => {
+ const state = makeState();
+ expect(setPing(state)).toBe(state.databaseConfig.setPing);
+ });
+});
+
+describe('setDatabaseConfigList', () => {
+ it('returns the setList function', () => {
+ const state = makeState();
+ expect(setDatabaseConfigList(state)).toBe(state.databaseConfig.setList);
+ });
+});
+
+describe('setDatabaseConfigListIsLoading', () => {
+ it('returns the setIsLoading function', () => {
+ const state = makeState();
+ expect(setDatabaseConfigListIsLoading(state)).toBe(state.databaseConfig.setIsLoading);
+ });
+});
diff --git a/src/client/src/__tests__/selectors/filter.test.ts b/src/client/src/__tests__/selectors/filter.test.ts
new file mode 100644
index 00000000..dc9ea991
--- /dev/null
+++ b/src/client/src/__tests__/selectors/filter.test.ts
@@ -0,0 +1,113 @@
+jest.mock('@/store', () => ({
+ useRootStore: jest.fn(),
+}));
+
+import {
+ getFilterDetails,
+ getUpdateFilter,
+ getFilterConfig,
+ getUpdateConfig,
+ getAttributeKeys,
+ getUpdateAttributeKeys,
+ useFilters,
+} from '@/selectors/filter';
+import { useRootStore } from '@/store';
+
+const mockFilterDetails = {
+ timeLimit: { type: '24H', start: new Date(), end: new Date() },
+ limit: 25,
+ offset: 0,
+ selectedConfig: {},
+ sorting: { type: 'Timestamp', direction: 'desc' as const },
+ refreshRate: '1m' as const,
+};
+
+const makeState = (overrides: Record<string, any> = {}) =>
+ ({
+ filter: {
+ details: mockFilterDetails,
+ config: undefined,
+ updateFilter: jest.fn(),
+ updateConfig: jest.fn(),
+ ...overrides,
+ },
+ } as any);
+
+describe('getFilterDetails', () => {
+ it('returns filter details from state', () => {
+ const state = makeState();
+ expect(getFilterDetails(state)).toBe(state.filter.details);
+ });
+
+ it('includes timeLimit, limit and offset', () => {
+ const state = makeState();
+ const details = getFilterDetails(state);
+ expect(details).toHaveProperty('timeLimit');
+ expect(details).toHaveProperty('limit');
+ expect(details).toHaveProperty('offset');
+ });
+});
+
+describe('getUpdateFilter', () => {
+ it('returns the updateFilter function from state', () => {
+ const state = makeState();
+ expect(getUpdateFilter(state)).toBe(state.filter.updateFilter);
+ });
+});
+
+describe('getFilterConfig', () => {
+ it('returns undefined config when not set', () => {
+ const state = makeState();
+ expect(getFilterConfig(state)).toBeUndefined();
+ });
+
+ it('returns config when set', () => {
+ const config = { models: ['gpt-4'], providers: ['openai'] };
+ const state = makeState({ config });
+ expect(getFilterConfig(state)).toEqual(config);
+ });
+});
+
+describe('getUpdateConfig', () => {
+ it('returns the updateConfig function from state', () => {
+ const state = makeState();
+ expect(getUpdateConfig(state)).toBe(state.filter.updateConfig);
+ });
+});
+
+describe('getAttributeKeys', () => {
+ it('returns attributeKeys from state', () => {
+ const attributeKeys = { spanAttributeKeys: ['gen_ai.system'], resourceAttributeKeys: [] };
+ const state = makeState({ attributeKeys });
+ expect(getAttributeKeys(state as any)).toBe(attributeKeys);
+ });
+
+ it('returns undefined when attributeKeys not set', () => {
+ const state = makeState();
+ expect(getAttributeKeys(state as any)).toBeUndefined();
+ });
+});
+
+describe('getUpdateAttributeKeys', () => {
+ it('returns the updateAttributeKeys function from state', () => {
+ const updateAttributeKeys = jest.fn();
+ const state = makeState({ updateAttributeKeys });
+ expect(getUpdateAttributeKeys(state as any)).toBe(updateAttributeKeys);
+ });
+});
+
+describe('useFilters', () => {
+ it('calls useRootStore and returns filter slice', () => {
+ const mockFilter = {
+ details: mockFilterDetails,
+ config: undefined,
+ updateFilter: jest.fn(),
+ updateConfig: jest.fn(),
+ };
+ (useRootStore as jest.Mock).mockImplementation((selector: (s: any) => any) => {
+ return selector({ filter: mockFilter });
+ });
+ const result = useFilters();
+ expect(result).toBe(mockFilter);
+ });
+});
diff --git a/src/client/src/__tests__/selectors/openground.test.ts b/src/client/src/__tests__/selectors/openground.test.ts
new file mode 100644
index 00000000..f23ea775
--- /dev/null
+++ b/src/client/src/__tests__/selectors/openground.test.ts
@@ -0,0 +1,126 @@
+import {
+ getSelectedProviders,
+ getPrompt,
+ getIsLoading,
+ setProviderConfig,
+ addProvider,
+ removeProvider,
+ setPrompt,
+ resetOpenground,
+ getEvaluatedResponse,
+ setEvaluatedLoading,
+ setEvaluatedData,
+} from '@/selectors/openground';
+
+const makeState = (overrides: Record<string, any> = {}) =>
+ ({
+ openground: {
+ selectedProviders: [{ id: 'openai', model: 'gpt-4' }],
+ prompt: 'Hello, world!',
+ isLoading: false,
+ evaluatedResponse: { score: 0.95 },
+ setProviderConfig: jest.fn(),
+ addProvider: jest.fn(),
+ removeProvider: jest.fn(),
+ setPrompt: jest.fn(),
+ reset: jest.fn(),
+ setEvaluatedLoading: jest.fn(),
+ setEvaluatedData: jest.fn(),
+ ...overrides,
+ },
+ } as any);
+
+describe('getSelectedProviders', () => {
+ it('returns the selected providers array', () => {
+ const state = makeState();
+ expect(getSelectedProviders(state)).toEqual([{ id: 'openai', model: 'gpt-4' }]);
+ });
+
+ it('returns empty array when no providers selected', () => {
+ const state = makeState({ selectedProviders: [] });
+ expect(getSelectedProviders(state)).toEqual([]);
+ });
+});
+
+describe('getPrompt', () => {
+ it('returns the current prompt', () => {
+ const state = makeState();
+ expect(getPrompt(state)).toBe('Hello, world!');
+ });
+
+ it('returns empty string when prompt is empty', () => {
+ const state = makeState({ prompt: '' });
+ expect(getPrompt(state)).toBe('');
+ });
+});
+
+describe('getIsLoading', () => {
+ it('returns false when not loading', () => {
+ expect(getIsLoading(makeState())).toBe(false);
+ });
+
+ it('returns true when loading', () => {
+ expect(getIsLoading(makeState({ isLoading: true }))).toBe(true);
+ });
+});
+
+describe('setProviderConfig', () => {
+ it('returns the setProviderConfig function', () => {
+ const state = makeState();
+ expect(setProviderConfig(state)).toBe(state.openground.setProviderConfig);
+ });
+});
+
+describe('addProvider', () => {
+ it('returns the addProvider function', () => {
+ const state = makeState();
+ expect(addProvider(state)).toBe(state.openground.addProvider);
+ });
+});
+
+describe('removeProvider', () => {
+ it('returns the removeProvider function', () => {
+ const state = makeState();
+ expect(removeProvider(state)).toBe(state.openground.removeProvider);
+ });
+});
+
+describe('setPrompt', () => {
+ it('returns the setPrompt function', () => {
+ const state = makeState();
+ expect(setPrompt(state)).toBe(state.openground.setPrompt);
+ });
+});
+
+describe('resetOpenground', () => {
+ it('returns the reset function', () => {
+ const state = makeState();
+ expect(resetOpenground(state)).toBe(state.openground.reset);
+ });
+});
+
+describe('getEvaluatedResponse', () => {
+ it('returns the evaluatedResponse', () => {
+ const state = makeState();
+ expect(getEvaluatedResponse(state)).toEqual({ score: 0.95 });
+ });
+
+ it('returns undefined when no evaluated response', () => {
+ const state = makeState({ evaluatedResponse: undefined });
+ expect(getEvaluatedResponse(state)).toBeUndefined();
+ });
+});
+
+describe('setEvaluatedLoading', () => {
+ it('returns the setEvaluatedLoading function', () => {
+ const state = makeState();
+ expect(setEvaluatedLoading(state)).toBe(state.openground.setEvaluatedLoading);
+ });
+});
+
+describe('setEvaluatedData', () => {
+ it('returns the setEvaluatedData function', () => {
+ const state = makeState();
+ expect(setEvaluatedData(state)).toBe(state.openground.setEvaluatedData);
+ });
+});
diff --git a/src/client/src/__tests__/selectors/organisation.test.ts b/src/client/src/__tests__/selectors/organisation.test.ts
new file mode 100644
index 00000000..8daeb630
--- /dev/null
+++ b/src/client/src/__tests__/selectors/organisation.test.ts
@@ -0,0 +1,78 @@
+import {
+ getOrganisationList,
+ getCurrentOrganisation,
+ getOrganisationPendingInvitations,
+ getOrganisationIsLoading,
+ getPendingInvitationsCount,
+} from '@/selectors/organisation';
+
+const makeState = (overrides: Record<string, any> = {}) =>
+ ({
+ organisation: {
+ list: [
+ { id: 'org1', name: 'Acme', isCurrent: true },
+ { id: 'org2', name: 'Globex', isCurrent: false },
+ ],
+ current: { id: 'org1', name: 'Acme', isCurrent: true },
+ pendingInvitations: [{ id: 'inv1' }, { id: 'inv2' }],
+ isLoading: false,
+ ...overrides,
+ },
+ } as any);
+
+describe('getOrganisationList', () => {
+ it('returns all organisations', () => {
+ const state = makeState();
+ expect(getOrganisationList(state)).toHaveLength(2);
+ });
+
+ it('returns undefined when list is not loaded', () => {
+ const state = makeState({ list: undefined });
+ expect(getOrganisationList(state)).toBeUndefined();
+ });
+});
+
+describe('getCurrentOrganisation', () => {
+ it('returns the current organisation', () => {
+ const state = makeState();
+ expect(getCurrentOrganisation(state)).toEqual({ id: 'org1', name: 'Acme', isCurrent: true });
+ });
+
+ it('returns undefined when no current org', () => {
+ const state = makeState({ current: undefined });
+ expect(getCurrentOrganisation(state)).toBeUndefined();
+ });
+});
+
+describe('getOrganisationPendingInvitations', () => {
+ it('returns pending invitations array', () => {
+ const state = makeState();
+ expect(getOrganisationPendingInvitations(state)).toHaveLength(2);
+ });
+
+ it('returns empty array when no invitations', () => {
+ const state = makeState({ pendingInvitations: [] });
+ expect(getOrganisationPendingInvitations(state)).toEqual([]);
+ });
+});
+
+describe('getOrganisationIsLoading', () => {
+ it('returns false when not loading', () => {
+ expect(getOrganisationIsLoading(makeState())).toBe(false);
+ });
+
+ it('returns true when loading', () => {
+ expect(getOrganisationIsLoading(makeState({ isLoading: true }))).toBe(true);
+ });
+});
+
+describe('getPendingInvitationsCount', () => {
+ it('returns the count of pending invitations', () => {
+ expect(getPendingInvitationsCount(makeState())).toBe(2);
+ });
+
+ it('returns 0 when there are no pending invitations', () => {
+ const state = makeState({ pendingInvitations: [] });
+ expect(getPendingInvitationsCount(state)).toBe(0);
+ });
+});
diff --git a/src/client/src/__tests__/selectors/page.test.ts b/src/client/src/__tests__/selectors/page.test.ts
new file mode 100644
index 00000000..0333b96d
--- /dev/null
+++ b/src/client/src/__tests__/selectors/page.test.ts
@@ -0,0 +1,82 @@
+jest.mock('@/store', () => ({
+ useRootStore: jest.fn(),
+}));
+
+import {
+ getDashboardType,
+ getVisibilityColumnsOfPage,
+ setPageData,
+ usePageHeader,
+} from '@/selectors/page';
+import { useRootStore } from '@/store';
+
+const makeState = (overrides: Record<string, any> = {}) =>
+ ({
+ page: {
+ dashboard: { type: 'llm' },
+ request: { visibilityColumns: { id: true, time: true, requestDuration: false } },
+ exception: { visibilityColumns: { id: true, time: false } },
+ fleethub: { visibilityColumns: { id: true } },
+ setData: jest.fn(),
+ header: { title: 'Home', breadcrumbs: [] },
+ setHeader: jest.fn(),
+ ...overrides,
+ },
+ } as any);
+
+describe('getDashboardType', () => {
+ it('returns the dashboard type', () => {
+ expect(getDashboardType(makeState())).toBe('llm');
+ });
+
+ it('returns vector type when set', () => {
+ const state = makeState({ dashboard: { type: 'vector' } });
+ expect(getDashboardType(state)).toBe('vector');
+ });
+
+ it('returns gpu type when set', () => {
+ const state = makeState({ dashboard: { type: 'gpu' } });
+ expect(getDashboardType(state)).toBe('gpu');
+ });
+});
+
+describe('getVisibilityColumnsOfPage', () => {
+ it('returns visibility columns for the request page', () => {
+ const state = makeState();
+ const columns = getVisibilityColumnsOfPage(state, 'request');
+ expect(columns).toEqual({ id: true, time: true, requestDuration: false });
+ });
+
+ it('returns visibility columns for the exception page', () => {
+ const state = makeState();
+ const columns = getVisibilityColumnsOfPage(state, 'exception');
+ expect(columns).toEqual({ id: true, time: false });
+ });
+
+ it('returns visibility columns for the fleethub page', () => {
+ const state = makeState();
+ const columns = getVisibilityColumnsOfPage(state, 'fleethub');
+ expect(columns).toEqual({ id: true });
+ });
+});
+
+describe('setPageData', () => {
+ it('returns the setData function from state', () => {
+ const state = makeState();
+ expect(setPageData(state)).toBe(state.page.setData);
+ });
+});
+
+describe('usePageHeader', () => {
+ it('calls useRootStore twice and returns header and setHeader', () => {
+ const mockHeader = { title: 'Dashboard', breadcrumbs: [] };
+ const mockSetHeader = jest.fn();
+ (useRootStore as jest.Mock)
+ .mockReturnValueOnce(mockHeader)
+ .mockReturnValueOnce(mockSetHeader);
+ const result = usePageHeader();
+ expect(result.header).toBe(mockHeader);
+ expect(result.setHeader).toBe(mockSetHeader);
+ expect(useRootStore).toHaveBeenCalledTimes(2);
+ });
+});
diff --git a/src/client/src/__tests__/selectors/user.test.ts b/src/client/src/__tests__/selectors/user.test.ts
new file mode 100644
index 00000000..7ee96cb7
--- /dev/null
+++ b/src/client/src/__tests__/selectors/user.test.ts
@@ -0,0 +1,64 @@
+import {
+ getUserDetails,
+ getIsUserFetched,
+ setUser,
+ resetUser,
+ getCurrentUserId,
+} from '@/selectors/user';
+
+const makeState = (overrides: Record<string, any> = {}) =>
+ ({
+ user: {
+ details: { id: 'u1', email: '[email protected]', name: 'Alice' },
+ isFetched: true,
+ set: jest.fn(),
+ reset: jest.fn(),
+ ...overrides,
+ },
+ } as any);
+
+describe('getUserDetails', () => {
+ it('returns the user details from state', () => {
+ const state = makeState();
+ expect(getUserDetails(state)).toEqual(state.user.details);
+ });
+
+ it('returns undefined when details are not set', () => {
+ const state = makeState({ details: undefined });
+ expect(getUserDetails(state)).toBeUndefined();
+ });
+});
+
+describe('getIsUserFetched', () => {
+ it('returns true when user is fetched', () => {
+ expect(getIsUserFetched(makeState())).toBe(true);
+ });
+
+ it('returns false when user is not fetched', () => {
+ expect(getIsUserFetched(makeState({ isFetched: false }))).toBe(false);
+ });
+});
+
+describe('setUser', () => {
+ it('returns the set function from state', () => {
+ const state = makeState();
+ expect(setUser(state)).toBe(state.user.set);
+ });
+});
+
+describe('resetUser', () => {
+ it('returns the reset function from state', () => {
+ const state = makeState();
+ expect(resetUser(state)).toBe(state.user.reset);
+ });
+});
+
+describe('getCurrentUserId', () => {
+ it('returns the user id when details exist', () => {
+ expect(getCurrentUserId(makeState())).toBe('u1');
+ });
+
+ it('returns undefined when details are not set', () => {
+ expect(getCurrentUserId(makeState({ details: undefined }))).toBeUndefined();
+ });
+});
diff --git a/src/client/src/__tests__/store/dashboards.test.ts b/src/client/src/__tests__/store/dashboards.test.ts
new file mode 100644
index 00000000..75f20ed3
--- /dev/null
+++ b/src/client/src/__tests__/store/dashboards.test.ts
@@ -0,0 +1,33 @@
+import { create } from 'zustand';
+import { withLenses } from '@dhmk/zustand-lens';
+import { dashboardStoreSlice } from '@/store/dashboards';
+
+const createStore = () =>
+ create<any>()(withLenses({ dashboards: dashboardStoreSlice }));
+
+describe('dashboardStoreSlice', () => {
+ let store: ReturnType<typeof createStore>;
+
+ beforeEach(() => {
+ store = createStore();
+ });
+
+ describe('initial state', () => {
+ it('has empty page search', () => {
+ expect(store.getState().dashboards.page.search).toBe('');
+ });
+ });
+
+ describe('setPageSearch', () => {
+ it('updates the page search string', () => {
+ store.getState().dashboards.setPageSearch('my dashboard');
+ expect(store.getState().dashboards.page.search).toBe('my dashboard');
+ });
+
+ it('can clear the search string', () => {
+ store.getState().dashboards.setPageSearch('something');
+ store.getState().dashboards.setPageSearch('');
+ expect(store.getState().dashboards.page.search).toBe('');
+ });
+ });
+});
diff --git a/src/client/src/__tests__/store/database-config.test.ts b/src/client/src/__tests__/store/database-config.test.ts
new file mode 100644
index 00000000..158ad012
--- /dev/null
+++ b/src/client/src/__tests__/store/database-config.test.ts
@@ -0,0 +1,76 @@
+import { create } from 'zustand';
+import { withLenses } from '@dhmk/zustand-lens';
+import { databaseConfigStoreSlice } from '@/store/database-config';
+
+const createStore = () =>
+ create<any>()(withLenses({ databaseConfig: databaseConfigStoreSlice }));
+
+describe('databaseConfigStoreSlice', () => {
+ let store: ReturnType<typeof createStore>;
+
+ beforeEach(() => {
+ store = createStore();
+ });
+
+ describe('initial state', () => {
+ it('has ping status "pending"', () => {
+ expect(store.getState().databaseConfig.ping.status).toBe('pending');
+ });
+
+ it('has isLoading false', () => {
+ expect(store.getState().databaseConfig.isLoading).toBe(false);
+ });
+
+ it('has no list', () => {
+ expect(store.getState().databaseConfig.list).toBeUndefined();
+ });
+ });
+
+ describe('setPing', () => {
+ it('sets ping status to success', () => {
+ store.getState().databaseConfig.setPing({ status: 'success', error: undefined });
+ expect(store.getState().databaseConfig.ping.status).toBe('success');
+ expect(store.getState().databaseConfig.ping.error).toBeUndefined();
+ });
+
+ it('sets ping status to failure with error', () => {
+ store
+ .getState()
+ .databaseConfig.setPing({ status: 'failure', error: 'Connection refused' });
+ expect(store.getState().databaseConfig.ping.status).toBe('failure');
+ expect(store.getState().databaseConfig.ping.error).toBe('Connection refused');
+ });
+ });
+
+ describe('setList', () => {
+ it('sets the list and sets isLoading to false', () => {
+ const list = [{ id: 'db1', name: 'Primary', isCurrent: true }];
+ store.getState().databaseConfig.setList(list);
+ expect(store.getState().databaseConfig.list).toEqual(list);
+ expect(store.getState().databaseConfig.isLoading).toBe(false);
+ });
+
+ it('handles empty list', () => {
+ store.getState().databaseConfig.setList([]);
+ expect(store.getState().databaseConfig.list).toEqual([]);
+ });
+ });
+
+ describe('setIsLoading', () => {
+ it('sets isLoading to true when called with true', () => {
+ store.getState().databaseConfig.setIsLoading(true);
+ expect(store.getState().databaseConfig.isLoading).toBe(true);
+ });
+
+ it('sets isLoading to false when called with false', () => {
+ store.getState().databaseConfig.setIsLoading(true);
+ store.getState().databaseConfig.setIsLoading(false);
+ expect(store.getState().databaseConfig.isLoading).toBe(false);
+ });
+
+ it('sets isLoading to false when called with undefined', () => {
+ store.getState().databaseConfig.setIsLoading(undefined);
+ expect(store.getState().databaseConfig.isLoading).toBe(false);
+ });
+ });
+});
diff --git a/src/client/src/__tests__/store/filter-actions.test.ts b/src/client/src/__tests__/store/filter-actions.test.ts
new file mode 100644
index 00000000..0a170204
--- /dev/null
+++ b/src/client/src/__tests__/store/filter-actions.test.ts
@@ -0,0 +1,130 @@
+import { create } from 'zustand';
+import { withLenses } from '@dhmk/zustand-lens';
+import { filterStoreSlice } from '@/store/filter';
+
+const createStore = () => create<any>()(withLenses({ filter: filterStoreSlice }));
+
+describe('filterStoreSlice actions', () => {
+ let store: ReturnType<typeof createStore>;
+
+ beforeEach(() => {
+ store = createStore();
+ });
+
+ describe('initial state', () => {
+ it('has timeLimit type "24H"', () => {
+ expect(store.getState().filter.details.timeLimit.type).toBe('24H');
+ });
+
+ it('has default limit 25', () => {
+ expect(store.getState().filter.details.limit).toBe(25);
+ });
+
+ it('has offset 0', () => {
+ expect(store.getState().filter.details.offset).toBe(0);
+ });
+
+ it('has refreshRate "1m"', () => {
+ expect(store.getState().filter.details.refreshRate).toBe('1m');
+ });
+
+ it('has default Timestamp desc sorting', () => {
+ expect(store.getState().filter.details.sorting).toEqual({
+ type: 'Timestamp',
+ direction: 'desc',
+ });
+ });
+
+ it('has undefined config', () => {
+ expect(store.getState().filter.config).toBeUndefined();
+ });
+ });
+
+ describe('updateFilter', () => {
+ it('updates limit and resets offset to 0', () => {
+ store.getState().filter.updateFilter('offset', 50);
+ store.getState().filter.updateFilter('limit', 50);
+ expect(store.getState().filter.details.limit).toBe(50);
+ expect(store.getState().filter.details.offset).toBe(0);
+ });
+
+ it('updates selectedConfig and resets offset to 0', () => {
+ store.getState().filter.updateFilter('offset', 50);
+ store.getState().filter.updateFilter('selectedConfig', { models: ['gpt-4'] });
+ expect(store.getState().filter.details.selectedConfig).toEqual({ models: ['gpt-4'] });
+ expect(store.getState().filter.details.offset).toBe(0);
+ });
+
+ it('updates sorting and resets offset to 0', () => {
+ store.getState().filter.updateFilter('offset', 25);
+ store.getState().filter.updateFilter('sorting', { type: 'Cost', direction: 'asc' });
+ expect(store.getState().filter.details.sorting).toEqual({ type: 'Cost', direction: 'asc' });
+ expect(store.getState().filter.details.offset).toBe(0);
+ });
+
+ it('updates offset directly (offset case)', () => {
+ store.getState().filter.updateFilter('offset', 25);
+ expect(store.getState().filter.details.offset).toBe(25);
+ });
+
+ it('updates timeLimit.type, resets selectedConfig and config', () => {
+ store.getState().filter.updateConfig({ models: ['gpt-4'] });
+ store.getState().filter.updateFilter('selectedConfig', { models: ['gpt-4'] });
+ store.getState().filter.updateFilter('timeLimit.type', '7D');
+ const { details, config } = store.getState().filter;
+ expect(details.timeLimit.type).toBe('7D');
+ expect(details.selectedConfig).toEqual({});
+ expect(config).toBeUndefined();
+ });
+
+ it('page-change resets offset, limit, and sorting to defaults', () => {
+ store.getState().filter.updateFilter('limit', 100);
+ store.getState().filter.updateFilter('offset', 50);
+ store.getState().filter.updateFilter('sorting', { type: 'Cost', direction: 'asc' });
+ store.getState().filter.updateFilter('page-change', null);
+ const { offset, limit, sorting } = store.getState().filter.details;
+ expect(offset).toBe(0);
+ expect(limit).toBe(25);
+ expect(sorting).toEqual({ type: 'Timestamp', direction: 'desc' });
+ });
+
+ it('updates refreshRate (default case — no extra side effects)', () => {
+ store.getState().filter.updateFilter('refreshRate', '5m');
+ expect(store.getState().filter.details.refreshRate).toBe('5m');
+ });
+
+ it('clears selectedConfig when extraParams.clearFilter is true', () => {
+ store.getState().filter.updateFilter('selectedConfig', { models: ['gpt-4'] });
+ store.getState().filter.updateFilter('refreshRate', '30s', { clearFilter: true });
+ expect(store.getState().filter.details.selectedConfig).toEqual({});
+ });
+ });
+
+ describe('updateConfig', () => {
+ it('sets the filter config', () => {
+ const config = { models: ['gpt-4'], providers: ['openai'] };
+ store.getState().filter.updateConfig(config);
+ expect(store.getState().filter.config).toEqual(config);
+ });
+
+ it('can overwrite config', () => {
+ store.getState().filter.updateConfig({ models: ['gpt-4'] });
+ store.getState().filter.updateConfig({ models: ['claude-3'] });
+ expect((store.getState().filter.config as any)?.models).toEqual(['claude-3']);
+ });
+ });
+
+ describe('updateAttributeKeys', () => {
+ it('sets attributeKeys in store', () => {
+ const attributeKeys = { spanAttributeKeys: ['gen_ai.system', 'gen_ai.request.model'], resourceAttributeKeys: ['service.name'] };
+ store.getState().filter.updateAttributeKeys(attributeKeys);
+ expect(store.getState().filter.attributeKeys).toEqual(attributeKeys);
+ });
+
+ it('can overwrite attributeKeys', () => {
+ store.getState().filter.updateAttributeKeys({ spanAttributeKeys: ['a'], resourceAttributeKeys: [] });
+ store.getState().filter.updateAttributeKeys({ spanAttributeKeys: ['b', 'c'], resourceAttributeKeys: ['d'] });
+ expect(store.getState().filter.attributeKeys).toEqual({ spanAttributeKeys: ['b', 'c'], resourceAttributeKeys: ['d'] });
+ });
+ });
+});
diff --git a/src/client/src/__tests__/store/filter.test.ts b/src/client/src/__tests__/store/filter.test.ts
new file mode 100644
index 00000000..039f8ccf
--- /dev/null
+++ b/src/client/src/__tests__/store/filter.test.ts
@@ -0,0 +1,102 @@
+import {
+ getTimeLimitObject,
+ TIME_RANGE_TYPE,
+ REFRESH_RATE_TYPE,
+ DEFAULT_TIME_RANGE,
+} from '@/store/filter';
+import { addDays, addWeeks, addMonths } from 'date-fns';
+
+describe('TIME_RANGE_TYPE', () => {
+ it('has all expected time range keys', () => {
+ expect(TIME_RANGE_TYPE).toHaveProperty('24H', '24H');
+ expect(TIME_RANGE_TYPE).toHaveProperty('7D', '7D');
+ expect(TIME_RANGE_TYPE).toHaveProperty('1M', '1M');
+ expect(TIME_RANGE_TYPE).toHaveProperty('3M', '3M');
+ expect(TIME_RANGE_TYPE).toHaveProperty('CUSTOM', 'CUSTOM');
+ });
+
+ it('has exactly 5 time range options', () => {
+ expect(Object.keys(TIME_RANGE_TYPE)).toHaveLength(5);
+ });
+});
+
+describe('REFRESH_RATE_TYPE', () => {
+ it('has all expected refresh rate keys', () => {
+ expect(REFRESH_RATE_TYPE).toHaveProperty('Never', 'Never');
+ expect(REFRESH_RATE_TYPE).toHaveProperty('30s', '30s');
+ expect(REFRESH_RATE_TYPE).toHaveProperty('1m', '1m');
+ expect(REFRESH_RATE_TYPE).toHaveProperty('5m', '5m');
+ expect(REFRESH_RATE_TYPE).toHaveProperty('15m', '15m');
+ });
+});
+
+describe('DEFAULT_TIME_RANGE', () => {
+ it('defaults to 24H', () => {
+ expect(DEFAULT_TIME_RANGE).toBe('24H');
+ });
+});
+
+describe('getTimeLimitObject', () => {
+ const TOLERANCE_MS = 5000; // 5 second tolerance for timing
+
+ it('returns start ~1 day ago and end ~now for 24H', () => {
+ const before = Date.now();
+ const result = getTimeLimitObject('24H', '') as { start: Date; end: Date };
+ const after = Date.now();
+
+ expect(result.start).toBeInstanceOf(Date);
+ expect(result.end).toBeInstanceOf(Date);
+
+ const expectedStart = addDays(new Date(), -1);
+ expect(Math.abs(result.start.getTime() - expectedStart.getTime())).toBeLessThan(TOLERANCE_MS);
+ expect(result.end.getTime()).toBeGreaterThanOrEqual(before);
+ expect(result.end.getTime()).toBeLessThanOrEqual(after + TOLERANCE_MS);
+ });
+
+ it('returns start ~7 days ago and end ~now for 7D', () => {
+ const result = getTimeLimitObject('7D', '') as { start: Date; end: Date };
+ const expectedStart = addWeeks(new Date(), -1);
+ expect(Math.abs(result.start.getTime() - expectedStart.getTime())).toBeLessThan(TOLERANCE_MS);
+ });
+
+ it('returns start ~1 month ago for 1M', () => {
+ const result = getTimeLimitObject('1M', '') as { start: Date; end: Date };
+ const expectedStart = addMonths(new Date(), -1);
+ expect(Math.abs(result.start.getTime() - expectedStart.getTime())).toBeLessThan(TOLERANCE_MS);
+ });
+
+ it('returns start ~3 months ago for 3M', () => {
+ const result = getTimeLimitObject('3M', '') as { start: Date; end: Date };
+ const expectedStart = addMonths(new Date(), -3);
+ expect(Math.abs(result.start.getTime() - expectedStart.getTime())).toBeLessThan(TOLERANCE_MS);
+ });
+
+ it('uses provided start and end for CUSTOM range', () => {
+ const start = new Date('2024-01-01');
+ const end = new Date('2024-01-31');
+ const result = getTimeLimitObject('CUSTOM', '', { start, end }) as {
+ start: Date;
+ end: Date;
+ };
+ expect(result.start).toEqual(start);
+ expect(result.end).toEqual(end);
+ });
+
+ it('returns empty object for CUSTOM when start/end are missing', () => {
+ const result = getTimeLimitObject('CUSTOM', '', {}) as Record<string, unknown>;
+ expect(result.start).toBeUndefined();
+ expect(result.end).toBeUndefined();
+ });
+
+ it('nests result under the given key prefix', () => {
+ const result = getTimeLimitObject('24H', 'timeLimit.') as Record<string, unknown>;
+ expect(result).toHaveProperty('timeLimit');
+ expect((result as any).timeLimit).toHaveProperty('start');
+ expect((result as any).timeLimit).toHaveProperty('end');
+ });
+
+ it('returns empty object for unknown time range', () => {
+ const result = getTimeLimitObject('UNKNOWN', '') as Record<string, unknown>;
+ expect(Object.keys(result)).toHaveLength(0);
+ });
+});
diff --git a/src/client/src/__tests__/store/openground.test.ts b/src/client/src/__tests__/store/openground.test.ts
new file mode 100644
index 00000000..96dbf738
--- /dev/null
+++ b/src/client/src/__tests__/store/openground.test.ts
@@ -0,0 +1,228 @@
+import { create } from 'zustand';
+import { withLenses } from '@dhmk/zustand-lens';
+import { opengroundStoreSlice } from '@/store/openground';
+
+const createStore = () =>
+ create<any>()(withLenses({ openground: opengroundStoreSlice }));
+
+describe('opengroundStoreSlice', () => {
+ let store: ReturnType<typeof createStore>;
+
+ beforeEach(() => {
+ store = createStore();
+ // Mock fetch to prevent network calls from loadAvailableProviders
+ global.fetch = jest.fn().mockResolvedValue({ ok: false });
+ });
+
+ afterEach(() => {
+ jest.restoreAllMocks();
+ });
+
+ describe('initial state', () => {
+ it('has empty selectedProviders', () => {
+ expect(store.getState().openground.selectedProviders).toEqual([]);
+ });
+
+ it('has empty prompt', () => {
+ expect(store.getState().openground.prompt).toBe('');
+ });
+
+ it('has isLoading false', () => {
+ expect(store.getState().openground.isLoading).toBe(false);
+ });
+
+ it('has evaluatedResponse with isLoading false', () => {
+ expect(store.getState().openground.evaluatedResponse.isLoading).toBe(false);
+ });
+ });
+
+ describe('addProvider', () => {
+ it('adds a provider to selectedProviders', () => {
+ store.getState().openground.addProvider('openai', { api_key: 'sk-test' });
+ const providers = store.getState().openground.selectedProviders;
+ expect(providers).toHaveLength(1);
+ expect(providers[0].provider).toBe('openai');
+ expect(providers[0].config).toEqual({ api_key: 'sk-test' });
+ });
+
+ it('adds multiple providers', () => {
+ store.getState().openground.addProvider('openai', {});
+ store.getState().openground.addProvider('anthropic', {});
+ expect(store.getState().openground.selectedProviders).toHaveLength(2);
+ });
+
+ it('defaults config to empty object', () => {
+ store.getState().openground.addProvider('openai');
+ expect(store.getState().openground.selectedProviders[0].config).toEqual({});
+ });
+ });
+
+ describe('removeProvider', () => {
+ it('removes a provider by index', () => {
+ store.getState().openground.addProvider('openai', {});
+ store.getState().openground.addProvider('anthropic', {});
+ store.getState().openground.removeProvider(0);
+ const providers = store.getState().openground.selectedProviders;
+ expect(providers).toHaveLength(1);
+ expect(providers[0].provider).toBe('anthropic');
+ });
+
+ it('removes the last provider', () => {
+ store.getState().openground.addProvider('openai', {});
+ store.getState().openground.removeProvider(0);
+ expect(store.getState().openground.selectedProviders).toHaveLength(0);
+ });
+ });
+
+ describe('setProviderConfig', () => {
+ it('sets a config value at the given path', () => {
+ store.getState().openground.addProvider('openai', { model: 'gpt-3.5-turbo' });
+ store.getState().openground.setProviderConfig('[0].config.model', 'gpt-4');
+ expect(store.getState().openground.selectedProviders[0].config.model).toBe('gpt-4');
+ });
+ });
+
+ describe('setPrompt', () => {
+ it('updates the prompt', () => {
+ store.getState().openground.setPrompt('Hello, AI!');
+ expect(store.getState().openground.prompt).toBe('Hello, AI!');
+ });
+
+ it('can clear the prompt', () => {
+ store.getState().openground.setPrompt('Hello!');
+ store.getState().openground.setPrompt('');
+ expect(store.getState().openground.prompt).toBe('');
+ });
+ });
+
+ describe('setEvaluatedLoading', () => {
+ it('sets evaluatedResponse.isLoading to true', () => {
+ store.getState().openground.setEvaluatedLoading(true);
+ expect(store.getState().openground.evaluatedResponse.isLoading).toBe(true);
+ });
+
+ it('sets evaluatedResponse.isLoading back to false', () => {
+ store.getState().openground.setEvaluatedLoading(true);
+ store.getState().openground.setEvaluatedLoading(false);
+ expect(store.getState().openground.evaluatedResponse.isLoading).toBe(false);
+ });
+ });
+
+ describe('setEvaluatedData', () => {
+ it('sets evaluatedResponse data and resets isLoading', () => {
+ store.getState().openground.setEvaluatedLoading(true);
+ const data = [{ provider: 'openai', response: 'Hello' }];
+ store.getState().openground.setEvaluatedData(data);
+ const { evaluatedResponse } = store.getState().openground;
+ expect(evaluatedResponse.data).toEqual(data);
+ expect(evaluatedResponse.isLoading).toBe(false);
+ });
+ });
+
+ describe('setPromptSource', () => {
+ it('updates the promptSource', () => {
+ const source = { type: 'hub', content: 'Use this template', variables: { name: 'Alice' } };
+ store.getState().openground.setPromptSource(source);
+ expect(store.getState().openground.promptSource).toEqual(source);
+ });
+ });
+
+ describe('setPromptVariable', () => {
+ it('sets a variable in promptSource.variables', () => {
+ store.getState().openground.setPromptVariable('name', 'Alice');
+ expect(store.getState().openground.promptSource.variables.name).toBe('Alice');
+ });
+
+ it('merges variables without overwriting others', () => {
+ store.getState().openground.setPromptVariable('name', 'Alice');
+ store.getState().openground.setPromptVariable('role', 'admin');
+ const { variables } = store.getState().openground.promptSource;
+ expect(variables.name).toBe('Alice');
+ expect(variables.role).toBe('admin');
+ });
+ });
+
+ describe('addProviderNew / removeProviderNew / setProviderConfigNew / updateProviderModel', () => {
+ it('addProviderNew adds a provider to selectedProvidersNew', () => {
+ store.getState().openground.addProviderNew('openai', 'gpt-4', true);
+ const providers = store.getState().openground.selectedProvidersNew;
+ expect(providers).toHaveLength(1);
+ expect(providers[0]).toMatchObject({ provider: 'openai', model: 'gpt-4', hasVaultConfig: true });
+ });
+
+ it('removeProviderNew removes by index', () => {
+ store.getState().openground.addProviderNew('openai', 'gpt-4', false);
+ store.getState().openground.addProviderNew('anthropic', 'claude-3', false);
+ store.getState().openground.removeProviderNew(0);
+ expect(store.getState().openground.selectedProvidersNew).toHaveLength(1);
+ expect(store.getState().openground.selectedProvidersNew[0].provider).toBe('anthropic');
+ });
+
+ it('setProviderConfigNew merges config at index', () => {
+ store.getState().openground.addProviderNew('openai', 'gpt-4', false);
+ store.getState().openground.setProviderConfigNew(0, { api_key: 'sk-test' });
+ expect(store.getState().openground.selectedProvidersNew[0].config).toMatchObject({
+ api_key: 'sk-test',
+ });
+ });
+
+ it('setProviderConfigNew does nothing for invalid index', () => {
+ store.getState().openground.addProviderNew('openai', 'gpt-4', false);
+ store.getState().openground.setProviderConfigNew(5, { api_key: 'sk-test' });
+ expect(store.getState().openground.selectedProvidersNew).toHaveLength(1);
+ });
+
+ it('updateProviderModel updates model at index', () => {
+ store.getState().openground.addProviderNew('openai', 'gpt-3.5-turbo', false);
+ store.getState().openground.updateProviderModel(0, 'gpt-4');
+ expect(store.getState().openground.selectedProvidersNew[0].model).toBe('gpt-4');
+ });
+
+ it('updateProviderModel does nothing for invalid index', () => {
+ store.getState().openground.addProviderNew('openai', 'gpt-4', false);
+ store.getState().openground.updateProviderModel(99, 'new-model');
+ expect(store.getState().openground.selectedProvidersNew[0].model).toBe('gpt-4');
+ });
+ });
+
+ describe('reset', () => {
+ it('resets selectedProviders, prompt, isLoading, and evaluatedResponse', () => {
+ store.getState().openground.addProvider('openai', {});
+ store.getState().openground.setPrompt('Test prompt');
+ store.getState().openground.setEvaluatedLoading(true);
+ store.getState().openground.reset();
+ const { selectedProviders, prompt, isLoading, evaluatedResponse } =
+ store.getState().openground;
+ expect(selectedProviders).toEqual([]);
+ expect(prompt).toBe('');
+ expect(isLoading).toBe(false);
+ expect(evaluatedResponse.isLoading).toBe(false);
+ });
+ });
+
+ describe('loadAvailableProviders', () => {
+ it('updates availableProviders when fetch succeeds', async () => {
+ const providers = [{ name: 'openai' }, { name: 'anthropic' }];
+ global.fetch = jest.fn().mockResolvedValue({
+ ok: true,
+ json: jest.fn().mockResolvedValue(providers),
+ });
+ await store.getState().openground.loadAvailableProviders();
+ expect(store.getState().openground.availableProviders).toEqual(providers);
+ });
+
+ it('does not update availableProviders when fetch returns ok=false', async () => {
+ global.fetch = jest.fn().mockResolvedValue({ ok: false });
+ await store.getState().openground.loadAvailableProviders();
+ expect(store.getState().openground.availableProviders).toEqual([]);
+ });
+
+ it('handles fetch network error gracefully', async () => {
+ global.fetch = jest.fn().mockRejectedValue(new Error('Network error'));
+ await expect(
+ store.getState().openground.loadAvailableProviders()
+ ).resolves.toBeUndefined();
+ expect(store.getState().openground.availableProviders).toEqual([]);
+ });
+ });
+});
diff --git a/src/client/src/__tests__/store/organisation.test.ts b/src/client/src/__tests__/store/organisation.test.ts
new file mode 100644
index 00000000..d6c8a3c3
--- /dev/null
+++ b/src/client/src/__tests__/store/organisation.test.ts
@@ -0,0 +1,122 @@
+import { create } from 'zustand';
+import { withLenses } from '@dhmk/zustand-lens';
+import { organisationStoreSlice } from '@/store/organisation';
+
+const createStore = () => create<any>()(withLenses({ organisation: organisationStoreSlice }));
+
+describe('organisationStoreSlice', () => {
+ let store: ReturnType<typeof createStore>;
+
+ beforeEach(() => {
+ store = createStore();
+ });
+
+ describe('initial state', () => {
+ it('has undefined list', () => {
+ expect(store.getState().organisation.list).toBeUndefined();
+ });
+
+ it('has undefined current', () => {
+ expect(store.getState().organisation.current).toBeUndefined();
+ });
+
+ it('has empty pendingInvitations', () => {
+ expect(store.getState().organisation.pendingInvitations).toEqual([]);
+ });
+
+ it('has isLoading false', () => {
+ expect(store.getState().organisation.isLoading).toBe(false);
+ });
+ });
+
+ describe('setList', () => {
+ it('sets the list and derives current from isCurrent flag', () => {
+ const orgs = [
+ { id: 'org1', name: 'Acme', isCurrent: true },
+ { id: 'org2', name: 'Globex', isCurrent: false },
+ ];
+ store.getState().organisation.setList(orgs);
+ const { list, current, isLoading } = store.getState().organisation;
+ expect(list).toEqual(orgs);
+ expect(current?.id).toBe('org1');
+ expect(isLoading).toBe(false);
+ });
+
+ it('sets current to undefined when no org has isCurrent true', () => {
+ const orgs = [
+ { id: 'org1', name: 'Acme', isCurrent: false },
+ { id: 'org2', name: 'Globex', isCurrent: false },
+ ];
+ store.getState().organisation.setList(orgs);
+ expect(store.getState().organisation.current).toBeUndefined();
+ });
+
+ it('handles empty list', () => {
+ store.getState().organisation.setList([]);
+ expect(store.getState().organisation.list).toEqual([]);
+ expect(store.getState().organisation.current).toBeUndefined();
+ });
+ });
+
+ describe('setCurrent', () => {
+ it('updates list to mark the selected org as isCurrent', () => {
+ const orgs = [
+ { id: 'org1', name: 'Acme', isCurrent: true },
+ { id: 'org2', name: 'Globex', isCurrent: false },
+ ];
+ store.getState().organisation.setList(orgs);
+ store.getState().organisation.setCurrent({ id: 'org2', name: 'Globex', isCurrent: false });
+ const { list, current } = store.getState().organisation;
+ expect(list?.find((o: any) => o.id === 'org1')?.isCurrent).toBe(false);
+ expect(list?.find((o: any) => o.id === 'org2')?.isCurrent).toBe(true);
+ expect(current?.id).toBe('org2');
+ });
+
+ it('works when list is empty (no crash)', () => {
+ expect(() => {
+ store.getState().organisation.setCurrent({ id: 'org1' });
+ }).not.toThrow();
+ });
+ });
+
+ describe('setPendingInvitations', () => {
+ it('updates pending invitations', () => {
+ const invites = [{ id: 'inv1' }, { id: 'inv2' }];
+ store.getState().organisation.setPendingInvitations(invites);
+ expect(store.getState().organisation.pendingInvitations).toEqual(invites);
+ });
+
+ it('can clear pending invitations', () => {
+ store.getState().organisation.setPendingInvitations([{ id: 'inv1' }]);
+ store.getState().organisation.setPendingInvitations([]);
+ expect(store.getState().organisation.pendingInvitations).toEqual([]);
+ });
+ });
+
+ describe('setIsLoading', () => {
+ it('sets isLoading to true', () => {
+ store.getState().organisation.setIsLoading(true);
+ expect(store.getState().organisation.isLoading).toBe(true);
+ });
+
+ it('sets isLoading back to false', () => {
+ store.getState().organisation.setIsLoading(true);
+ store.getState().organisation.setIsLoading(false);
+ expect(store.getState().organisation.isLoading).toBe(false);
+ });
+ });
+
+ describe('reset', () => {
+ it('resets all fields to initial state', () => {
+ store.getState().organisation.setList([{ id: 'org1', name: 'Acme', isCurrent: true }]);
+ store.getState().organisation.setPendingInvitations([{ id: 'inv1' }]);
+ store.getState().organisation.setIsLoading(true);
+ store.getState().organisation.reset();
+ const { list, current, pendingInvitations, isLoading } = store.getState().organisation;
+ expect(list).toBeUndefined();
+ expect(current).toBeUndefined();
+ expect(pendingInvitations).toEqual([]);
+ expect(isLoading).toBe(false);
+ });
+ });
+});
diff --git a/src/client/src/__tests__/store/page.test.ts b/src/client/src/__tests__/store/page.test.ts
new file mode 100644
index 00000000..3a12aaa0
--- /dev/null
+++ b/src/client/src/__tests__/store/page.test.ts
@@ -0,0 +1,74 @@
+import { create } from 'zustand';
+import { withLenses } from '@dhmk/zustand-lens';
+import { pageStoreSlice } from '@/store/page';
+
+const createStore = () => create<any>()(withLenses({ page: pageStoreSlice }));
+
+describe('pageStoreSlice', () => {
+ let store: ReturnType<typeof createStore>;
+
+ beforeEach(() => {
+ store = createStore();
+ });
+
+ describe('initial state', () => {
+ it('has dashboard type "llm"', () => {
+ expect(store.getState().page.dashboard.type).toBe('llm');
+ });
+
+ it('has visibilityColumns for request', () => {
+ const cols = store.getState().page.request.visibilityColumns;
+ expect(cols).toHaveProperty('id', true);
+ expect(cols).toHaveProperty('time', true);
+ });
+
+ it('has empty header', () => {
+ expect(store.getState().page.header.title).toBe('');
+ expect(store.getState().page.header.breadcrumbs).toEqual([]);
+ });
+ });
+
+ describe('setHeader', () => {
+ it('updates the header title and breadcrumbs', () => {
+ store.getState().page.setHeader({
+ title: 'Dashboard',
+ breadcrumbs: [{ title: 'Home', href: '/' }],
+ });
+ const { header } = store.getState().page;
+ expect(header.title).toBe('Dashboard');
+ expect(header.breadcrumbs).toEqual([{ title: 'Home', href: '/' }]);
+ });
+
+ it('updates description when provided', () => {
+ store.getState().page.setHeader({
+ title: 'Traces',
+ description: 'View all traces',
+ breadcrumbs: [],
+ });
+ expect(store.getState().page.header.description).toBe('View all traces');
+ });
+ });
+
+ describe('setData', () => {
+ it('updates a nested key in the dashboard page', () => {
+ store.getState().page.setData('dashboard', 'type', 'vector');
+ expect(store.getState().page.dashboard.type).toBe('vector');
+ });
+
+ it('updates a visibility column in the request page', () => {
+ store.getState().page.setData('request', 'visibilityColumns.time', false);
+ expect(store.getState().page.request.visibilityColumns.time).toBe(false);
+ });
+
+ it('updates a visibility column in the exception page', () => {
+ store.getState().page.setData('exception', 'visibilityColumns.spanName', false);
+ expect(store.getState().page.exception.visibilityColumns.spanName).toBe(false);
+ });
+
+ it('does not mutate other pages when setting data for one page', () => {
+ const requestBefore = store.getState().page.request;
+ store.getState().page.setData('dashboard', 'type', 'gpu');
+ expect(store.getState().page.request).toEqual(requestBefore);
+ });
+ });
+});
diff --git a/src/client/src/__tests__/store/user.test.ts b/src/client/src/__tests__/store/user.test.ts
new file mode 100644
index 00000000..b9d1938f
--- /dev/null
+++ b/src/client/src/__tests__/store/user.test.ts
@@ -0,0 +1,49 @@
+import { create } from 'zustand';
+import { withLenses } from '@dhmk/zustand-lens';
+import { userStoreSlice } from '@/store/user';
+
+const createStore = () => create<any>()(withLenses({ user: userStoreSlice }));
+
+describe('userStoreSlice', () => {
+ let store: ReturnType<typeof createStore>;
+
+ beforeEach(() => {
+ store = createStore();
+ });
+
+ describe('initial state', () => {
+ it('has undefined details', () => {
+ expect(store.getState().user.details).toBeUndefined();
+ });
+
+ it('has isFetched false', () => {
+ expect(store.getState().user.isFetched).toBe(false);
+ });
+ });
+
+ describe('set', () => {
+ it('sets user details and marks as fetched', () => {
+ const user = { id: 'u1', email: '[email protected]', name: 'Alice' };
+ store.getState().user.set(user);
+ expect(store.getState().user.details).toEqual(user);
+ expect(store.getState().user.isFetched).toBe(true);
+ });
+
+ it('can update user details', () => {
+ const user1 = { id: 'u1', email: '[email protected]' };
+ const user2 = { id: 'u2', email: '[email protected]' };
+ store.getState().user.set(user1);
+ store.getState().user.set(user2);
+ expect(store.getState().user.details?.email).toBe('[email protected]');
+ });
+ });
+
+ describe('reset', () => {
+ it('clears details and sets isFetched to false', () => {
+ store.getState().user.set({ id: 'u1', email: '[email protected]' });
+ store.getState().user.reset();
+ expect(store.getState().user.details).toBeUndefined();
+ expect(store.getState().user.isFetched).toBe(false);
+ });
+ });
+});
diff --git a/src/client/src/__tests__/utils/api.test.ts b/src/client/src/__tests__/utils/api.test.ts
new file mode 100644
index 00000000..dfb38e70
--- /dev/null
+++ b/src/client/src/__tests__/utils/api.test.ts
@@ -0,0 +1,109 @@
+import { getData, postData, deleteData } from '@/utils/api';
+
+const makeFetchResponse = (ok: boolean, body: unknown) => ({
+ ok,
+ json: jest.fn().mockResolvedValue(body),
+});
+
+describe('getData', () => {
+ beforeEach(() => {
+ global.fetch = jest.fn();
+ });
+
+ it('makes a POST request by default', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, { result: 'ok' }));
+ await getData({ url: '/api/test' });
+ expect(global.fetch).toHaveBeenCalledWith('/api/test', expect.objectContaining({ method: 'POST' }));
+ });
+
+ it('makes a GET request when specified', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, {}));
+ await getData({ url: '/api/test', method: 'GET' });
+ expect(global.fetch).toHaveBeenCalledWith('/api/test', expect.objectContaining({ method: 'GET' }));
+ });
+
+ it('returns parsed JSON on success', async () => {
+ const payload = { id: 1, name: 'Alice' };
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, payload));
+ const result = await getData({ url: '/api/test', method: 'GET' });
+ expect(result).toEqual(payload);
+ });
+
+ it('throws when response is not ok', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(false, 'Not Found'));
+ await expect(getData({ url: '/api/test', method: 'GET' })).rejects.toThrow();
+ });
+
+ it('sends body when provided', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, {}));
+ await getData({ url: '/api/test', body: '{"x":1}' });
+ expect(global.fetch).toHaveBeenCalledWith('/api/test', expect.objectContaining({ body: '{"x":1}' }));
+ });
+
+ it('sends JSON body and Content-Type header when data is provided', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, {}));
+ await getData({ url: '/api/test', data: { key: 'value' } });
+ const [, options] = (global.fetch as jest.Mock).mock.calls[0];
+ expect(options.headers).toEqual({ 'Content-Type': 'application/json' });
+ expect(options.body).toBe(JSON.stringify({ key: 'value' }));
+ });
+
+ it('makes a PUT request when specified', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, {}));
+ await getData({ url: '/api/test', method: 'PUT', data: { x: 1 } });
+ expect(global.fetch).toHaveBeenCalledWith('/api/test', expect.objectContaining({ method: 'PUT' }));
+ });
+});
+
+describe('postData', () => {
+ beforeEach(() => {
+ global.fetch = jest.fn();
+ });
+
+ it('makes a POST request with JSON body', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, { ok: true }));
+ const data = { name: 'test' };
+ await postData({ url: '/api/items', data });
+ const [url, options] = (global.fetch as jest.Mock).mock.calls[0];
+ expect(url).toBe('/api/items');
+ expect(options.method).toBe('POST');
+ expect(options.headers).toEqual({ 'Content-Type': 'application/json' });
+ expect(options.body).toBe(JSON.stringify(data));
+ });
+
+ it('returns parsed JSON on success', async () => {
+ const response = { created: true, id: '42' };
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, response));
+ const result = await postData({ url: '/api/items', data: {} });
+ expect(result).toEqual(response);
+ });
+
+ it('throws when response is not ok', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(false, 'Bad Request'));
+ await expect(postData({ url: '/api/items', data: {} })).rejects.toThrow();
+ });
+});
+
+describe('deleteData', () => {
+ beforeEach(() => {
+ global.fetch = jest.fn();
+ });
+
+ it('makes a DELETE request to the given URL', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, { deleted: true }));
+ await deleteData({ url: '/api/items/1' });
+ expect(global.fetch).toHaveBeenCalledWith('/api/items/1', { method: 'DELETE' });
+ });
+
+ it('returns parsed JSON on success', async () => {
+ const response = { deleted: true };
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(true, response));
+ const result = await deleteData({ url: '/api/items/1' });
+ expect(result).toEqual(response);
+ });
+
+ it('throws when response is not ok', async () => {
+ (global.fetch as jest.Mock).mockResolvedValue(makeFetchResponse(false, 'Not Found'));
+ await expect(deleteData({ url: '/api/items/1' })).rejects.toThrow();
+ });
+});
diff --git a/src/client/src/__tests__/utils/asaw.test.ts b/src/client/src/__tests__/utils/asaw.test.ts
new file mode 100644
index 00000000..3ae2159a
--- /dev/null
+++ b/src/client/src/__tests__/utils/asaw.test.ts
@@ -0,0 +1,35 @@
+import asaw from '@/utils/asaw';
+
+describe('asaw', () => {
+ it('returns [null, result] on successful promise', async () => {
+ const result = await asaw(Promise.resolve(42));
+ expect(result).toEqual([null, 42]);
+ });
+
+ it('returns [errorString] on rejected promise', async () => {
+ const result = await asaw(Promise.reject(new Error('Something went wrong')));
+ expect(result).toEqual(['Error: Something went wrong']);
+ });
+
+ it('handles resolved object values', async () => {
+ const data = { name: 'Alice', age: 30 };
+ const result = await asaw(Promise.resolve(data));
+ expect(result).toEqual([null, data]);
+ });
+
+ it('handles resolved array values', async () => {
+ const result = await asaw(Promise.resolve([1, 2, 3]));
+ expect(result).toEqual([null, [1, 2, 3]]);
+ });
+
+ it('handles resolved null values', async () => {
+ const result = await asaw(Promise.resolve(null));
+ expect(result).toEqual([null, null]);
+ });
+
+ it('stringifies the error on rejection', async () => {
+ const customError = new TypeError('type mismatch');
+ const result = await asaw(Promise.reject(customError));
+ expect(result[0]).toBe('TypeError: type mismatch');
+ });
+});
diff --git a/src/client/src/__tests__/utils/breadcrumbs.test.ts b/src/client/src/__tests__/utils/breadcrumbs.test.ts
new file mode 100644
index 00000000..23ccb59c
--- /dev/null
+++ b/src/client/src/__tests__/utils/breadcrumbs.test.ts
@@ -0,0 +1,254 @@
+import {
+ generatePageHeader,
+ updatePageHeaderWithData,
+ extractRouteParams,
+} from '@/utils/breadcrumbs';
+
+describe('extractRouteParams', () => {
+ it('returns empty object when pathname does not match regex', () => {
+ const result = extractRouteParams('/no-match', /^\/does-not-match$/);
+ expect(result).toEqual({});
+ });
+
+ it('extracts id from prompt-hub pathname', () => {
+ const result = extractRouteParams(
+ '/prompt-hub/my-prompt-id',
+ /^\/prompt-hub\/[^/]+$/
+ );
+ expect(result.id).toBe('my-prompt-id');
+ });
+
+ it('extracts id from vault pathname', () => {
+ const result = extractRouteParams('/vault/my-secret', /^\/vault\/[^/]+$/);
+ expect(result.id).toBe('my-secret');
+ });
+
+ it('extracts id from openground pathname', () => {
+ const result = extractRouteParams(
+ '/openground/some-run',
+ /^\/openground\/[^/]+$/
+ );
+ expect(result.id).toBe('some-run');
+ });
+
+ it('extracts uuid when regex source contains escaped brackets (\\[0-9a-f\\])', () => {
+ // Use a regex whose .source includes \[0-9a-f\] to trigger the UUID extraction branch
+ const regex = new RegExp('.+\\[0-9a-f\\].+');
+ const pathname = '/d/[0-9a-f]/123e4567-e89b-12d3-a456-426614174000';
+ const result = extractRouteParams(pathname, regex);
+ expect(result.id).toBe('123e4567-e89b-12d3-a456-426614174000');
+ });
+
+ it('returns empty id when regex source has escaped brackets but pathname has no UUID', () => {
+ const regex = new RegExp('.+\\[0-9a-f\\].+');
+ const pathname = '/d/[0-9a-f]/no-uuid-here';
+ const result = extractRouteParams(pathname, regex);
+ expect(result.id).toBeUndefined();
+ });
+});
+
+describe('generatePageHeader', () => {
+ it('generates correct header for /home', () => {
+ const header = generatePageHeader('/home');
+ expect(header.title).toBe('Home');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates correct header for /dashboard', () => {
+ const header = generatePageHeader('/dashboard');
+ expect(header.title).toBe('Dashboard');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates header with breadcrumbs for individual dashboard view', () => {
+ const header = generatePageHeader(
+ '/d/123e4567-e89b-12d3-a456-426614174000'
+ );
+ expect(header.title).toBe('Dashboard');
+ expect(header.breadcrumbs).toEqual([
+ { title: 'Dashboards', href: '/dashboards' },
+ ]);
+ });
+
+ it('generates correct header for /requests', () => {
+ const header = generatePageHeader('/requests');
+ expect(header.title).toBe('Requests');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates correct header for /exceptions', () => {
+ const header = generatePageHeader('/exceptions');
+ expect(header.title).toBe('Exceptions');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates correct header for /prompt-hub', () => {
+ const header = generatePageHeader('/prompt-hub');
+ expect(header.title).toBe('Prompt Hub');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates breadcrumbs for /prompt-hub/:id', () => {
+ const header = generatePageHeader('/prompt-hub/abc-123');
+ expect(header.title).toBe('Prompt Details');
+ expect(header.breadcrumbs).toEqual([
+ { title: 'Prompt Hub', href: '/prompt-hub' },
+ ]);
+ });
+
+ it('generates correct header for /vault', () => {
+ const header = generatePageHeader('/vault');
+ expect(header.title).toBe('Vault');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates breadcrumbs for /vault/:id', () => {
+ const header = generatePageHeader('/vault/my-secret');
+ expect(header.title).toBe('Vault Item');
+ expect(header.breadcrumbs).toEqual([
+ { title: 'Vault', href: '/vault' },
+ ]);
+ });
+
+ it('generates correct header for /settings/profile', () => {
+ const header = generatePageHeader('/settings/profile');
+ expect(header.title).toBe('User Profile');
+ expect(header.breadcrumbs).toEqual([
+ { title: 'Settings', href: '/settings' },
+ ]);
+ });
+
+ it('generates correct header for /settings/api-keys', () => {
+ const header = generatePageHeader('/settings/api-keys');
+ expect(header.title).toBe('API Keys');
+ expect(header.breadcrumbs).toContainEqual({
+ title: 'Settings',
+ href: '/settings',
+ });
+ });
+
+ it('generates breadcrumbs for /dashboards/board', () => {
+ const header = generatePageHeader('/dashboards/board');
+ expect(header.title).toBe('Board');
+ expect(header.breadcrumbs).toContainEqual({ title: 'Dashboards', href: '/dashboards' });
+ });
+
+ it('generates breadcrumbs for /dashboards/explorer', () => {
+ const header = generatePageHeader('/dashboards/explorer');
+ expect(header.title).toBe('Explorer');
+ expect(header.breadcrumbs).toContainEqual({ title: 'Dashboards', href: '/dashboards' });
+ });
+
+ it('generates breadcrumbs for /dashboards/widget', () => {
+ const header = generatePageHeader('/dashboards/widget');
+ expect(header.title).toBe('Widget');
+ expect(header.breadcrumbs).toContainEqual({ title: 'Dashboards', href: '/dashboards' });
+ });
+
+ it('generates correct header for /openground', () => {
+ const header = generatePageHeader('/openground');
+ expect(header.title).toBe('Openground');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates correct title for /openground/new', () => {
+ const header = generatePageHeader('/openground/new');
+ expect(typeof header.title).toBe('string');
+ expect(header.breadcrumbs.length).toBeGreaterThan(0);
+ });
+
+ it('generates correct title for /openground/models', () => {
+ const header = generatePageHeader('/openground/models');
+ expect(typeof header.title).toBe('string');
+ expect(header.breadcrumbs.length).toBeGreaterThan(0);
+ });
+
+ it('generates title for /openground/:id (non-special path)', () => {
+ const header = generatePageHeader('/openground/run-123');
+ expect(typeof header.title).toBe('string');
+ expect(header.breadcrumbs.length).toBeGreaterThan(0);
+ });
+
+ it('generates correct header for /settings', () => {
+ const header = generatePageHeader('/settings');
+ expect(header.title).toBe('Settings');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates breadcrumbs for /settings/evaluation', () => {
+ const header = generatePageHeader('/settings/evaluation');
+ expect(header.title).toBe('Evaluation Settings');
+ expect(header.breadcrumbs).toContainEqual({ title: 'Settings', href: '/settings' });
+ });
+
+ it('generates breadcrumbs for /settings/database-config', () => {
+ const header = generatePageHeader('/settings/database-config');
+ expect(header.title).toBe('Database Config');
+ expect(header.breadcrumbs).toContainEqual({ title: 'Settings', href: '/settings' });
+ });
+
+ it('generates breadcrumbs for /fleet-hub/:id', () => {
+ const header = generatePageHeader('/fleet-hub/agent-1');
+ expect(header.title).toBe('Fleet Hub');
+ expect(header.breadcrumbs).toContainEqual({ title: 'Fleet Hub', href: '/fleet-hub' });
+ });
+
+ it('falls back gracefully for unknown routes', () => {
+ const header = generatePageHeader('/some-unknown-route');
+ expect(header.title).toBe('Some unknown route');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('capitalizes first letter in fallback title', () => {
+ const header = generatePageHeader('/my-feature');
+ expect(header.title[0]).toBe(header.title[0].toUpperCase());
+ });
+
+ it('returns "Page" fallback title for root path with no segments', () => {
+ const header = generatePageHeader('/');
+ expect(header.title).toBe('Page');
+ expect(header.breadcrumbs).toEqual([]);
+ });
+
+ it('generates breadcrumbs for /prompt-hub/:id without params (no id extracted)', () => {
+ // Covers the "Prompt" branch in prompt-hub title when params.id is absent
+ // This is reached when title fn is called with no params
+ const header = generatePageHeader('/prompt-hub/abc');
+ expect(typeof header.title).toBe('string');
+ });
+});
+
+describe('updatePageHeaderWithData', () => {
+ const baseHeader = {
+ title: 'Original Title',
+ breadcrumbs: [{ title: 'Home', href: '/' }],
+ };
+
+ it('updates the title when provided', () => {
+ const updated = updatePageHeaderWithData(baseHeader, { title: 'New Title' });
+ expect(updated.title).toBe('New Title');
+ });
+
+ it('keeps the original title when no title provided', () => {
+ const updated = updatePageHeaderWithData(baseHeader, {});
+ expect(updated.title).toBe('Original Title');
+ });
+
+ it('adds description when provided', () => {
+ const updated = updatePageHeaderWithData(baseHeader, {
+ description: 'A description',
+ });
+ expect(updated.description).toBe('A description');
+ });
+
+ it('keeps original description when no description provided', () => {
+ const headerWithDesc = { ...baseHeader, description: 'Old description' };
+ const updated = updatePageHeaderWithData(headerWithDesc, {});
+ expect(updated.description).toBe('Old description');
+ });
+
+ it('preserves breadcrumbs from the original header', () => {
+ const updated = updatePageHeaderWithData(baseHeader, { title: 'New' });
+ expect(updated.breadcrumbs).toEqual(baseHeader.breadcrumbs);
+ });
+});
diff --git a/src/client/src/__tests__/utils/date.test.ts b/src/client/src/__tests__/utils/date.test.ts
new file mode 100644
index 00000000..4ee24f37
--- /dev/null
+++ b/src/client/src/__tests__/utils/date.test.ts
@@ -0,0 +1,36 @@
+import { formatDate } from '@/utils/date';
+
+describe('formatDate', () => {
+ const isoDate = '2024-06-15T10:30:00Z';
+
+ it('formats a date string without time by default', () => {
+ const result = formatDate(isoDate);
+ expect(result).toMatch(/Jun/i);
+ expect(result).toMatch(/2024/);
+ expect(result).toMatch(/15/);
+ });
+
+ it('does not include time when options.time is false', () => {
+ const result = formatDate(isoDate, { time: false });
+ // Should not contain colons (time separators)
+ const colonCount = (result.match(/:/g) || []).length;
+ expect(colonCount).toBe(0);
+ });
+
+ it('includes time when options.time is true', () => {
+ const result = formatDate(isoDate, { time: true });
+ // Should contain at least one colon for time
+ expect(result).toMatch(/:/);
+ });
+
+ it('returns a non-empty string for valid dates', () => {
+ const result = formatDate('2023-01-01T00:00:00Z');
+ expect(typeof result).toBe('string');
+ expect(result.length).toBeGreaterThan(0);
+ });
+
+ it('handles year-only date string', () => {
+ const result = formatDate('2020-01-01');
+ expect(result).toMatch(/2020/);
+ });
+});
diff --git a/src/client/src/__tests__/utils/error.test.ts b/src/client/src/__tests__/utils/error.test.ts
new file mode 100644
index 00000000..23dd9e6c
--- /dev/null
+++ b/src/client/src/__tests__/utils/error.test.ts
@@ -0,0 +1,19 @@
+import { throwIfError } from '@/utils/error';
+
+describe('throwIfError', () => {
+ it('throws an Error with the given message when condition is true', () => {
+ expect(() => throwIfError(true, 'test error')).toThrow('test error');
+ });
+
+ it('throws an instance of Error', () => {
+ expect(() => throwIfError(true, 'boom')).toThrow(Error);
+ });
+
+ it('does not throw when condition is false', () => {
+ expect(() => throwIfError(false, 'test error')).not.toThrow();
+ });
+
+ it('does not throw for various falsy conditions', () => {
+ expect(() => throwIfError(false, 'msg')).not.toThrow();
+ });
+});
diff --git a/src/client/src/__tests__/utils/hooks/hooks.test.ts b/src/client/src/__tests__/utils/hooks/hooks.test.ts
new file mode 100644
index 00000000..098598bf
--- /dev/null
+++ b/src/client/src/__tests__/utils/hooks/hooks.test.ts
@@ -0,0 +1,277 @@
+jest.mock('next/navigation', () => ({
+ usePathname: jest.fn(() => '/'),
+}));
+jest.mock('@/selectors/page', () => ({
+ usePageHeader: jest.fn(),
+}));
+jest.mock('@/utils/breadcrumbs', () => ({
+ generatePageHeader: jest.fn((pathname: string) => ({ title: `Page ${pathname}`, breadcrumbs: [] })),
+ updatePageHeaderWithData: jest.fn(
+ (base: any, data: any) => ({ ...base, ...data })
+ ),
+}));
+jest.mock('@/utils/api', () => ({
+ getData: jest.fn(),
+}));
+jest.mock('sonner', () => ({
+ toast: { error: jest.fn() },
+}));
+jest.mock('tiny-cookie', () => ({
+ get: jest.fn(),
+ set: jest.fn(),
+}));
+
+import { renderHook, act } from '@testing-library/react';
+import { usePathname } from 'next/navigation';
+import { usePageHeader } from '@/selectors/page';
+import { generatePageHeader, updatePageHeaderWithData } from '@/utils/breadcrumbs';
+import { getData } from '@/utils/api';
+import { toast } from 'sonner';
+import { get as cookieGet, set as cookieSet } from 'tiny-cookie';
+import { useBreadcrumbs, useDynamicBreadcrumbs, useCustomBreadcrumbs } from '@/utils/hooks/useBreadcrumbs';
+import useClickhousePing from '@/utils/hooks/useClickhousePing';
+import useTheme from '@/utils/hooks/useTheme';
+
+// ----------------------------------------------------------------
+// useBreadcrumbs
+// ----------------------------------------------------------------
+describe('useBreadcrumbs', () => {
+ const mockSetHeader = jest.fn();
+ const mockHeader = { title: 'Home', breadcrumbs: [] };
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ (usePageHeader as jest.Mock).mockReturnValue({ header: mockHeader, setHeader: mockSetHeader });
+ (usePathname as jest.Mock).mockReturnValue('/dashboard');
+ });
+
+ it('calls generatePageHeader with current pathname', () => {
+ renderHook(() => useBreadcrumbs());
+ expect(generatePageHeader).toHaveBeenCalledWith('/dashboard');
+ });
+
+ it('calls setHeader with generated page header', () => {
+ renderHook(() => useBreadcrumbs());
+ expect(mockSetHeader).toHaveBeenCalledWith({ title: 'Page /dashboard', breadcrumbs: [] });
+ });
+
+ it('returns header and setHeader from usePageHeader', () => {
+ const { result } = renderHook(() => useBreadcrumbs());
+ expect(result.current.header).toBe(mockHeader);
+ expect(result.current.setHeader).toBe(mockSetHeader);
+ });
+
+ it('re-runs effect when pathname changes', () => {
+ (usePathname as jest.Mock).mockReturnValue('/settings');
+ renderHook(() => useBreadcrumbs());
+ expect(generatePageHeader).toHaveBeenCalledWith('/settings');
+ });
+});
+
+describe('useDynamicBreadcrumbs', () => {
+ const mockSetHeader = jest.fn();
+ const mockHeader = { title: 'Page /', breadcrumbs: [] };
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ (usePageHeader as jest.Mock).mockReturnValue({ header: mockHeader, setHeader: mockSetHeader });
+ (usePathname as jest.Mock).mockReturnValue('/requests');
+ });
+
+ it('calls generatePageHeader and then updatePageHeaderWithData', () => {
+ renderHook(() => useDynamicBreadcrumbs({ title: 'Custom Title' }));
+ expect(generatePageHeader).toHaveBeenCalledWith('/requests');
+ expect(updatePageHeaderWithData).toHaveBeenCalledWith(
+ { title: 'Page /requests', breadcrumbs: [] },
+ { title: 'Custom Title' }
+ );
+ });
+
+ it('calls setHeader with the updated header', () => {
+ renderHook(() => useDynamicBreadcrumbs({ title: 'Dynamic', description: 'desc' }));
+ expect(mockSetHeader).toHaveBeenCalledWith(
+ expect.objectContaining({ title: 'Dynamic' })
+ );
+ });
+
+ it('returns header and setHeader', () => {
+ const { result } = renderHook(() => useDynamicBreadcrumbs({}));
+ expect(result.current.header).toBe(mockHeader);
+ expect(result.current.setHeader).toBe(mockSetHeader);
+ });
+});
+
+describe('useCustomBreadcrumbs', () => {
+ const mockSetHeader = jest.fn();
+ const mockHeader = { title: 'Home', breadcrumbs: [] };
+ const customHeader = { title: 'Custom', description: 'My page', breadcrumbs: [] };
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ (usePageHeader as jest.Mock).mockReturnValue({ header: mockHeader, setHeader: mockSetHeader });
+ });
+
+ it('calls setHeader with the custom header', () => {
+ renderHook(() => useCustomBreadcrumbs(customHeader));
+ expect(mockSetHeader).toHaveBeenCalledWith(customHeader);
+ });
+
+ it('returns header and setHeader from usePageHeader', () => {
+ const { result } = renderHook(() => useCustomBreadcrumbs(customHeader));
+ expect(result.current.header).toBe(mockHeader);
+ expect(result.current.setHeader).toBe(mockSetHeader);
+ });
+});
+
+// ----------------------------------------------------------------
+// useClickhousePing
+// ----------------------------------------------------------------
+describe('useClickhousePing', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('sets isSuccess=true on successful ping', async () => {
+ (getData as jest.Mock).mockResolvedValue({ err: null });
+ const { result } = renderHook(() => useClickhousePing());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ expect(result.current.isSuccess).toBe(true);
+ expect(result.current.isLoading).toBe(false);
+ expect(result.current.error).toBe('');
+ });
+
+ it('sets error when response has err', async () => {
+ (getData as jest.Mock).mockResolvedValue({ err: 'Connection refused' });
+ const { result } = renderHook(() => useClickhousePing());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ expect(result.current.isSuccess).toBe(false);
+ expect(result.current.error).toBe('Connection refused');
+ expect(toast.error).toHaveBeenCalledWith('Connection refused', { id: 'PING' });
+ expect(result.current.isLoading).toBe(false);
+ });
+
+ it('sets error when getData throws', async () => {
+ (getData as jest.Mock).mockRejectedValue(new Error('Network failure'));
+ const { result } = renderHook(() => useClickhousePing());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ expect(result.current.isSuccess).toBe(false);
+ expect(result.current.error).toContain('Network failure');
+ expect(result.current.isLoading).toBe(false);
+ });
+
+ it('starts with isLoading=true', () => {
+ (getData as jest.Mock).mockResolvedValue(new Promise(() => {}));
+ const { result } = renderHook(() => useClickhousePing());
+ expect(result.current.isLoading).toBe(true);
+ });
+});
+
+// ----------------------------------------------------------------
+// useTheme
+// ----------------------------------------------------------------
+describe('useTheme', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ (cookieGet as jest.Mock).mockReturnValue('light');
+ document.documentElement.classList.remove('dark', 'light');
+ });
+
+ it('initializes theme from cookie', async () => {
+ (cookieGet as jest.Mock).mockReturnValue('dark');
+ const { result } = renderHook(() => useTheme());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ expect(result.current.theme).toBe('dark');
+ });
+
+ it('toggles from light to dark', async () => {
+ (cookieGet as jest.Mock).mockReturnValue('light');
+ const { result } = renderHook(() => useTheme());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ // Update cookie mock so effect re-read returns the toggled value
+ (cookieGet as jest.Mock).mockReturnValue('dark');
+ await act(async () => {
+ result.current.toggleTheme();
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ expect(cookieSet).toHaveBeenCalledWith('theme', 'dark');
+ expect(result.current.theme).toBe('dark');
+ });
+
+ it('toggles to specific theme when parameter provided', async () => {
+ (cookieGet as jest.Mock).mockReturnValue('light');
+ const { result } = renderHook(() => useTheme());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ // Update cookie mock so effect re-read returns the toggled value
+ (cookieGet as jest.Mock).mockReturnValue('dark');
+ await act(async () => {
+ result.current.toggleTheme('dark');
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ expect(cookieSet).toHaveBeenCalledWith('theme', 'dark');
+ expect(result.current.theme).toBe('dark');
+ });
+
+ it('updates document classList when toggling', async () => {
+ (cookieGet as jest.Mock).mockReturnValue('light');
+ const { result } = renderHook(() => useTheme());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ act(() => {
+ result.current.toggleTheme();
+ });
+
+ expect(document.documentElement.classList.contains('dark')).toBe(true);
+ });
+
+ it('returns toggleTheme function', () => {
+ const { result } = renderHook(() => useTheme());
+ expect(typeof result.current.toggleTheme).toBe('function');
+ });
+
+ it('toggles from dark to light (covers dark branch)', async () => {
+ (cookieGet as jest.Mock).mockReturnValue('dark');
+ const { result } = renderHook(() => useTheme());
+
+ await act(async () => {
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ (cookieGet as jest.Mock).mockReturnValue('light');
+ await act(async () => {
+ result.current.toggleTheme();
+ await new Promise((r) => setTimeout(r, 0));
+ });
+
+ expect(cookieSet).toHaveBeenCalledWith('theme', 'light');
+ expect(result.current.theme).toBe('light');
+ });
+});
diff --git a/src/client/src/__tests__/utils/hooks/useFetchWrapper.test.tsx b/src/client/src/__tests__/utils/hooks/useFetchWrapper.test.tsx
new file mode 100644
index 00000000..3772ac8d
--- /dev/null
+++ b/src/client/src/__tests__/utils/hooks/useFetchWrapper.test.tsx
@@ -0,0 +1,211 @@
+import { renderHook, act } from '@testing-library/react';
+import useFetchWrapper from '@/utils/hooks/useFetchWrapper';
+import * as api from '@/utils/api';
+
+jest.mock('@/utils/api');
+
+const mockGetData = api.getData as jest.MockedFunction<typeof api.getData>;
+const mockDeleteData = api.deleteData as jest.MockedFunction<typeof api.deleteData>;
+
+describe('useFetchWrapper', () => {
+ beforeEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('initializes with default state', () => {
+ const { result } = renderHook(() => useFetchWrapper());
+ expect(result.current.data).toBeNull();
+ expect(result.current.isLoading).toBe(false);
+ expect(result.current.error).toBeNull();
+ expect(result.current.isFetched).toBe(false);
+ expect(typeof result.current.fireRequest).toBe('function');
+ });
+
+ it('sets data on successful GET request', async () => {
+ const mockData = { items: [1, 2, 3] };
+ mockGetData.mockResolvedValue(mockData);
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test',
+ requestType: 'GET',
+ });
+ });
+
+ expect(result.current.data).toEqual(mockData);
+ expect(result.current.error).toBeNull();
+ expect(result.current.isFetched).toBe(true);
+ expect(result.current.isLoading).toBe(false);
+ });
+
+ it('calls successCb with response data', async () => {
+ const mockData = { result: 'success' };
+ mockGetData.mockResolvedValue(mockData);
+ const successCb = jest.fn();
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test',
+ requestType: 'GET',
+ successCb,
+ });
+ });
+
+ expect(successCb).toHaveBeenCalledWith(mockData);
+ });
+
+ it('extracts nested data via responseDataKey', async () => {
+ const mockData = { nested: { value: 42 } };
+ mockGetData.mockResolvedValue(mockData);
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test',
+ requestType: 'GET',
+ responseDataKey: 'nested',
+ });
+ });
+
+ expect(result.current.data).toEqual({ value: 42 });
+ });
+
+ it('handles response with err field', async () => {
+ const mockErrorResponse = { err: 'Something went wrong' };
+ mockGetData.mockResolvedValue(mockErrorResponse);
+ const failureCb = jest.fn();
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test',
+ requestType: 'GET',
+ failureCb,
+ });
+ });
+
+ expect(result.current.data).toBeNull();
+ expect(result.current.error).toBe('Something went wrong');
+ expect(failureCb).toHaveBeenCalledWith('Something went wrong');
+ });
+
+ it('handles thrown errors from the API call', async () => {
+ mockGetData.mockRejectedValue(new Error('Network failure'));
+ const failureCb = jest.fn();
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test',
+ requestType: 'GET',
+ failureCb,
+ });
+ });
+
+ expect(result.current.data).toBeNull();
+ expect(result.current.error).toBeTruthy();
+ expect(result.current.isFetched).toBe(true);
+ expect(failureCb).toHaveBeenCalled();
+ });
+
+ it('handles POST request the same as GET', async () => {
+ const mockData = { created: true };
+ mockGetData.mockResolvedValue(mockData);
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/items',
+ requestType: 'POST',
+ body: JSON.stringify({ name: 'Test' }),
+ });
+ });
+
+ expect(mockGetData).toHaveBeenCalledWith({
+ body: JSON.stringify({ name: 'Test' }),
+ url: '/api/items',
+ method: 'POST',
+ });
+ expect(result.current.data).toEqual(mockData);
+ });
+
+ it('calls deleteData for DELETE requests', async () => {
+ const mockData = { deleted: true };
+ mockDeleteData.mockResolvedValue(mockData);
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test/1',
+ requestType: 'DELETE',
+ });
+ });
+
+ expect(mockDeleteData).toHaveBeenCalledWith({ url: '/api/test/1' });
+ expect(result.current.data).toEqual(mockData);
+ });
+
+ it('handles thrown string error (covers line 54)', async () => {
+ mockGetData.mockRejectedValue('plain string error');
+ const failureCb = jest.fn();
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test',
+ requestType: 'GET',
+ failureCb,
+ });
+ });
+
+ expect(result.current.error).toBeTruthy();
+ expect(failureCb).toHaveBeenCalled();
+ });
+
+ it('uses .error property when thrown object has no .message (covers line 56)', async () => {
+ const errorObj = { error: 'api error message' };
+ mockGetData.mockRejectedValue(errorObj);
+ const failureCb = jest.fn();
+
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({
+ url: '/api/test',
+ requestType: 'GET',
+ failureCb,
+ });
+ });
+
+ expect(result.current.error).toBeTruthy();
+ expect(failureCb).toHaveBeenCalled();
+ });
+
+ it('resets error to null on new request', async () => {
+ // First request fails
+ mockGetData.mockRejectedValueOnce(new Error('fail'));
+ const { result } = renderHook(() => useFetchWrapper());
+
+ await act(async () => {
+ await result.current.fireRequest({ url: '/api/test', requestType: 'GET' });
+ });
+ expect(result.current.error).toBeTruthy();
+
+ // Second request succeeds
+ mockGetData.mockResolvedValue({ ok: true });
+ await act(async () => {
+ await result.current.fireRequest({ url: '/api/test', requestType: 'GET' });
+ });
+ expect(result.current.error).toBeNull();
+ });
+});
diff --git a/src/client/src/__tests__/utils/json.test.ts b/src/client/src/__tests__/utils/json.test.ts
new file mode 100644
index 00000000..237b8f70
--- /dev/null
+++ b/src/client/src/__tests__/utils/json.test.ts
@@ -0,0 +1,55 @@
+import { jsonStringify, jsonParse } from '@/utils/json';
+
+describe('jsonStringify', () => {
+ it('serializes a plain object', () => {
+ expect(jsonStringify({ a: 1, b: 'hello' })).toBe('{"a":1,"b":"hello"}');
+ });
+
+ it('serializes an array', () => {
+ expect(jsonStringify([1, 2, 3])).toBe('[1,2,3]');
+ });
+
+ it('serializes null', () => {
+ expect(jsonStringify(null)).toBe('null');
+ });
+
+ it('serializes a number', () => {
+ expect(jsonStringify(42)).toBe('42');
+ });
+
+ it('serializes a string', () => {
+ expect(jsonStringify('hello')).toBe('"hello"');
+ });
+
+ it('returns empty string for a circular reference', () => {
+ const obj: any = { a: 1 };
+ obj.self = obj;
+ expect(jsonStringify(obj)).toBe('');
+ });
+});
+
+describe('jsonParse', () => {
+ it('parses a valid JSON object string', () => {
+ expect(jsonParse('{"a":1,"b":"hello"}')).toEqual({ a: 1, b: 'hello' });
+ });
+
+ it('parses a valid JSON array string', () => {
+ expect(jsonParse('[1,2,3]')).toEqual([1, 2, 3]);
+ });
+
+ it('parses null', () => {
+ expect(jsonParse('null')).toBeNull();
+ });
+
+ it('returns undefined for invalid JSON', () => {
+ expect(jsonParse('not valid json')).toBeUndefined();
+ });
+
+ it('returns undefined for empty string', () => {
+ expect(jsonParse('')).toBeUndefined();
+ });
+
+ it('parses nested objects', () => {
+ expect(jsonParse('{"outer":{"inner":42}}')).toEqual({ outer: { inner: 42 } });
+ });
+});
diff --git a/src/client/src/__tests__/utils/log.test.ts b/src/client/src/__tests__/utils/log.test.ts
new file mode 100644
index 00000000..91e9a604
--- /dev/null
+++ b/src/client/src/__tests__/utils/log.test.ts
@@ -0,0 +1,28 @@
+import { consoleLog } from '@/utils/log';
+
+describe('consoleLog', () => {
+ let consoleSpy: jest.SpyInstance;
+
+ beforeEach(() => {
+ consoleSpy = jest.spyOn(console, 'log').mockImplementation(() => {});
+ });
+
+ afterEach(() => {
+ consoleSpy.mockRestore();
+ });
+
+ it('calls console.log', () => {
+ consoleLog('hello');
+ expect(consoleSpy).toHaveBeenCalled();
+ });
+
+ it('calls console.log with multiple arguments wrapped in an array', () => {
+ consoleLog('a', 'b', 'c');
+ expect(consoleSpy).toHaveBeenCalledWith(['a', 'b', 'c']);
+ });
+
+ it('calls console.log once per invocation', () => {
+ consoleLog('test');
+ expect(consoleSpy).toHaveBeenCalledTimes(1);
+ });
+});
diff --git a/src/client/src/__tests__/utils/noop.test.ts b/src/client/src/__tests__/utils/noop.test.ts
new file mode 100644
index 00000000..927a4618
--- /dev/null
+++ b/src/client/src/__tests__/utils/noop.test.ts
@@ -0,0 +1,19 @@
+import { noop } from '@/utils/noop';
+
+describe('noop', () => {
+ it('is a function', () => {
+ expect(typeof noop).toBe('function');
+ });
+
+ it('returns undefined', () => {
+ expect(noop()).toBeUndefined();
+ });
+
+ it('does not throw when called', () => {
+ expect(() => noop()).not.toThrow();
+ });
+
+ it('accepts any arguments without error', () => {
+ expect(() => (noop as any)(1, 'two', { three: 3 })).not.toThrow();
+ });
+});
diff --git a/src/client/src/__tests__/utils/object.test.ts b/src/client/src/__tests__/utils/object.test.ts
new file mode 100644
index 00000000..420657f2
--- /dev/null
+++ b/src/client/src/__tests__/utils/object.test.ts
@@ -0,0 +1,46 @@
+import { objectKeys, objectEntries } from '@/utils/object';
+
+describe('objectKeys', () => {
+ it('returns keys of an object', () => {
+ const obj = { a: 1, b: 2, c: 3 };
+ expect(objectKeys(obj)).toEqual(['a', 'b', 'c']);
+ });
+
+ it('returns an empty array for an empty object', () => {
+ expect(objectKeys({})).toEqual([]);
+ });
+
+ it('returns typed keys', () => {
+ const obj = { name: 'Alice', age: 30 };
+ const keys = objectKeys(obj);
+ expect(keys).toContain('name');
+ expect(keys).toContain('age');
+ expect(keys).toHaveLength(2);
+ });
+
+ it('handles objects with symbol keys (only returns string keys)', () => {
+ const obj = { x: 1, y: 2 };
+ const keys = objectKeys(obj);
+ expect(keys).toEqual(['x', 'y']);
+ });
+});
+
+describe('objectEntries', () => {
+ it('returns [key, value] pairs of an object', () => {
+ const obj = { a: 1, b: 2 };
+ expect(objectEntries(obj)).toEqual([['a', 1], ['b', 2]]);
+ });
+
+ it('returns an empty array for an empty object', () => {
+ expect(objectEntries({})).toEqual([]);
+ });
+
+ it('handles objects with mixed value types', () => {
+ const obj = { name: 'Alice', active: true, count: 42 };
+ const entries = objectEntries(obj);
+ expect(entries).toHaveLength(3);
+ expect(entries).toContainEqual(['name', 'Alice']);
+ expect(entries).toContainEqual(['active', true]);
+ expect(entries).toContainEqual(['count', 42]);
+ });
+});
diff --git a/src/client/src/__tests__/utils/parser.test.ts b/src/client/src/__tests__/utils/parser.test.ts
new file mode 100644
index 00000000..0b193fee
--- /dev/null
+++ b/src/client/src/__tests__/utils/parser.test.ts
@@ -0,0 +1,51 @@
+import { parseQueryStringToObject, constructURL } from '@/utils/parser';
+
+describe('parseQueryStringToObject', () => {
+ it('parses a simple query string into an object', () => {
+ expect(parseQueryStringToObject('a=1&b=2')).toEqual({ a: '1', b: '2' });
+ });
+
+ it('returns an empty object for an empty string', () => {
+ expect(parseQueryStringToObject('')).toEqual({});
+ });
+
+ it('parses a single key-value pair', () => {
+ expect(parseQueryStringToObject('key=value')).toEqual({ key: 'value' });
+ });
+
+ it('handles multiple params', () => {
+ const result = parseQueryStringToObject('name=Alice&age=30&active=true');
+ expect(result).toEqual({ name: 'Alice', age: '30', active: 'true' });
+ });
+
+ it('handles params with encoded characters', () => {
+ const result = parseQueryStringToObject('q=hello%20world');
+ expect(result.q).toBe('hello%20world');
+ });
+});
+
+describe('constructURL', () => {
+ it('prepends http:// to a bare hostname', () => {
+ expect(constructURL('localhost', '8080')).toBe('http://localhost:8080');
+ });
+
+ it('keeps http:// prefix if already present', () => {
+ expect(constructURL('http://localhost', '8080')).toBe('http://localhost:8080');
+ });
+
+ it('keeps https:// prefix if already present', () => {
+ expect(constructURL('https://example.com', '443')).toBe('https://example.com:443');
+ });
+
+ it('omits port when port is empty string', () => {
+ expect(constructURL('https://example.com', '')).toBe('https://example.com');
+ });
+
+ it('handles domain without protocol and without port', () => {
+ expect(constructURL('example.com', '')).toBe('http://example.com');
+ });
+
+ it('constructs URL with domain and port', () => {
+ expect(constructURL('example.com', '3000')).toBe('http://example.com:3000');
+ });
+});
diff --git a/src/client/src/__tests__/utils/sanitizer.test.ts b/src/client/src/__tests__/utils/sanitizer.test.ts
new file mode 100644
index 00000000..4620cedc
--- /dev/null
+++ b/src/client/src/__tests__/utils/sanitizer.test.ts
@@ -0,0 +1,85 @@
+import Sanitizer from '@/utils/sanitizer';
+
+describe('Sanitizer.sanitizeValue', () => {
+ it('returns null as-is', () => {
+ expect(Sanitizer.sanitizeValue(null)).toBeNull();
+ });
+
+ it('returns undefined as-is', () => {
+ expect(Sanitizer.sanitizeValue(undefined)).toBeUndefined();
+ });
+
+ it('returns booleans unchanged', () => {
+ expect(Sanitizer.sanitizeValue(true)).toBe(true);
+ expect(Sanitizer.sanitizeValue(false)).toBe(false);
+ });
+
+ it('returns plain strings without modification', () => {
+ expect(Sanitizer.sanitizeValue('hello')).toBe('hello');
+ });
+
+ it('escapes single quotes in strings with backslash', () => {
+ const result = Sanitizer.sanitizeValue("O'Brien");
+ // sqlstring escapes single quotes to backslash-quote
+ expect(result).toBe("O\\'Brien");
+ });
+
+ it('escapes SQL injection attempts in strings', () => {
+ const input = "'; DROP TABLE users; --";
+ const result = Sanitizer.sanitizeValue(input);
+ // The result should differ from the original (injection characters are escaped)
+ expect(result).not.toBe(input);
+ expect(typeof result).toBe('string');
+ });
+
+ it('handles numbers by escaping them', () => {
+ const result = Sanitizer.sanitizeValue(42);
+ // sqlstring.escape returns numbers as their value, possibly as string
+ expect(String(result)).toBe('42');
+ });
+
+ it('handles empty string', () => {
+ expect(Sanitizer.sanitizeValue('')).toBe('');
+ });
+});
+
+describe('Sanitizer.sanitizeObject', () => {
+ it('sanitizes string values in a flat object', () => {
+ const input = { name: "Alice", message: "O'Brien" };
+ const result = Sanitizer.sanitizeObject(input);
+ expect(result.name).toBe('Alice');
+ expect(result.message).toBe("O\\'Brien");
+ });
+
+ it('preserves boolean values', () => {
+ const input = { active: true, disabled: false };
+ const result = Sanitizer.sanitizeObject(input);
+ expect(result.active).toBe(true);
+ expect(result.disabled).toBe(false);
+ });
+
+ it('sanitizes nested objects recursively', () => {
+ const input = { user: { name: "Bob's" } };
+ const result = Sanitizer.sanitizeObject(input);
+ expect(result.user.name).toBe("Bob\\'s");
+ });
+
+ it('sanitizes arrays of strings', () => {
+ const input = { tags: ["hello", "O'Brien"] };
+ const result = Sanitizer.sanitizeObject(input);
+ expect(result.tags[0]).toBe('hello');
+ expect(result.tags[1]).toBe("O\\'Brien");
+ });
+
+ it('sanitizes arrays of objects', () => {
+ const input = { items: [{ label: "Tom's" }] };
+ const result = Sanitizer.sanitizeObject(input);
+ expect(result.items[0].label).toBe("Tom\\'s");
+ });
+
+ it('returns an object with the same keys', () => {
+ const input = { a: 'foo', b: 'bar' };
+ const result = Sanitizer.sanitizeObject(input);
+ expect(Object.keys(result)).toEqual(['a', 'b']);
+ });
+});
diff --git a/src/client/src/__tests__/utils/string.test.ts b/src/client/src/__tests__/utils/string.test.ts
new file mode 100644
index 00000000..2a1d7c13
--- /dev/null
+++ b/src/client/src/__tests__/utils/string.test.ts
@@ -0,0 +1,53 @@
+import { unescapeString, convertToTitleCase } from '@/utils/string';
+
+describe('unescapeString', () => {
+ it('replaces \\n escape sequences with actual newlines', () => {
+ expect(unescapeString('hello\\nworld')).toBe('hello\nworld');
+ });
+
+ it('handles multiple \\n occurrences', () => {
+ expect(unescapeString('line1\\nline2\\nline3')).toBe('line1\nline2\nline3');
+ });
+
+ it('returns string unchanged when no \\n present', () => {
+ expect(unescapeString('hello world')).toBe('hello world');
+ });
+
+ it('handles empty string', () => {
+ expect(unescapeString('')).toBe('');
+ });
+
+ it('does not replace actual newlines (only escaped)', () => {
+ expect(unescapeString('hello\nworld')).toBe('hello\nworld');
+ });
+});
+
+describe('convertToTitleCase', () => {
+ it('converts underscores to spaces and capitalizes words', () => {
+ expect(convertToTitleCase('hello_world')).toBe('Hello World');
+ });
+
+ it('converts hyphens to spaces and capitalizes words', () => {
+ expect(convertToTitleCase('hello-world')).toBe('Hello World');
+ });
+
+ it('handles mixed separators', () => {
+ expect(convertToTitleCase('foo_bar-baz')).toBe('Foo Bar Baz');
+ });
+
+ it('handles single word', () => {
+ expect(convertToTitleCase('hello')).toBe('Hello');
+ });
+
+ it('handles already title-cased string', () => {
+ expect(convertToTitleCase('Hello World')).toBe('Hello World');
+ });
+
+ it('handles empty string', () => {
+ expect(convertToTitleCase('')).toBe('');
+ });
+
+ it('converts multi-word snake_case to Title Case', () => {
+ expect(convertToTitleCase('open_telemetry_sdk')).toBe('Open Telemetry Sdk');
+ });
+});
diff --git a/src/client/src/store/filter.ts b/src/client/src/store/filter.ts
index bbd1bf25..647efd96 100644
--- a/src/client/src/store/filter.ts
+++ b/src/client/src/store/filter.ts
@@ -127,7 +127,7 @@ export const filterStoreSlice: FilterStore = lens((setStore, getStore) => ({
details: {
...merge(getStore().details, object),
selectedConfig:
- extraParams?.clearFilter
+ extraParams?.clearFilter || resetConfig
? {}
: object.selectedConfig
? object.selectedConfig