Skip to content

Modern Docker Management, Designed for Everyone

feat: user authentication (#86)

Kyle Mendell0ab0df363890
diff --git a/.github/eslint-matcher.json b/.github/eslint-matcher.json
new file mode 100644
index 000000000..2ccb80d22
--- /dev/null
+++ b/.github/eslint-matcher.json
@@ -0,0 +1,21 @@
+{
+ "problemMatcher": [
+ {
+ "owner": "eslint",
+ "pattern": [
+ {
+ "regexp": "^([^\\s].*)$",
+ "file": 1
+ },
+ {
+ "regexp": "^\\s+(\\d+):(\\d+)\\s+(error|warning|info)\\s+(.*)\\s\\s+(.*)$",
+ "line": 1,
+ "column": 2,
+ "severity": 3,
+ "message": 4,
+ "code": 5
+ }
+ ]
+ }
+ ]
+}
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 16afa18c3..833e8c58f 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -9,13 +9,13 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
-name: "CodeQL Advanced"
+name: 'CodeQL Advanced'
on:
push:
- branches: [ "main" ]
+ branches: ['main']
pull_request:
- branches: [ "main" ]
+ branches: ['main']
schedule:
- cron: '27 12 * * 5'
@@ -43,10 +43,10 @@ jobs:
fail-fast: false
matrix:
include:
- - language: actions
- build-mode: none
- - language: javascript-typescript
- build-mode: none
+ - language: actions
+ build-mode: none
+ - language: javascript-typescript
+ build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
@@ -56,45 +56,45 @@ jobs:
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- - name: Checkout repository
- uses: actions/checkout@v4
+ - name: Checkout repository
+ uses: actions/checkout@v4
- # Add any setup steps before running the `github/codeql-action/init` action.
- # This includes steps like installing compilers or runtimes (`actions/setup-node`
- # or others). This is typically only required for manual builds.
- # - name: Setup runtime (example)
- # uses: actions/setup-example@v1
+ # Add any setup steps before running the `github/codeql-action/init` action.
+ # This includes steps like installing compilers or runtimes (`actions/setup-node`
+ # or others). This is typically only required for manual builds.
+ # - name: Setup runtime (example)
+ # uses: actions/setup-example@v1
- # Initializes the CodeQL tools for scanning.
- - name: Initialize CodeQL
- uses: github/codeql-action/init@v3
- with:
- languages: ${{ matrix.language }}
- build-mode: ${{ matrix.build-mode }}
- # If you wish to specify custom queries, you can do so here or in a config file.
- # By default, queries listed here will override any specified in a config file.
- # Prefix the list here with "+" to use these queries and those in the config file.
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v3
+ with:
+ languages: ${{ matrix.language }}
+ build-mode: ${{ matrix.build-mode }}
+ # If you wish to specify custom queries, you can do so here or in a config file.
+ # By default, queries listed here will override any specified in a config file.
+ # Prefix the list here with "+" to use these queries and those in the config file.
- # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
- # queries: security-extended,security-and-quality
+ # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
+ # queries: security-extended,security-and-quality
- # If the analyze step fails for one of the languages you are analyzing with
- # "We were unable to automatically build your code", modify the matrix above
- # to set the build mode to "manual" for that language. Then modify this step
- # to build your code.
- # ℹ️ Command-line programs to run using the OS shell.
- # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- - if: matrix.build-mode == 'manual'
- shell: bash
- run: |
- echo 'If you are using a "manual" build mode for one or more of the' \
- 'languages you are analyzing, replace this with the commands to build' \
- 'your code, for example:'
- echo ' make bootstrap'
- echo ' make release'
- exit 1
+ # If the analyze step fails for one of the languages you are analyzing with
+ # "We were unable to automatically build your code", modify the matrix above
+ # to set the build mode to "manual" for that language. Then modify this step
+ # to build your code.
+ # ℹ️ Command-line programs to run using the OS shell.
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
+ - if: matrix.build-mode == 'manual'
+ shell: bash
+ run: |
+ echo 'If you are using a "manual" build mode for one or more of the' \
+ 'languages you are analyzing, replace this with the commands to build' \
+ 'your code, for example:'
+ echo ' make bootstrap'
+ echo ' make release'
+ exit 1
- - name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v3
- with:
- category: "/language:${{matrix.language}}"
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v3
+ with:
+ category: '/language:${{matrix.language}}'
diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml
index 81a2c14da..1cbb27539 100644
--- a/.github/workflows/eslint.yml
+++ b/.github/workflows/eslint.yml
@@ -28,6 +28,9 @@ jobs:
- name: Install dependencies
run: npm ci
+ - name: Setup problem matcher
+ run: echo "::add-matcher::.github/eslint-matcher.json"
+
- name: Lint with ESLint
uses: reviewdog/action-eslint@2fee6dd72a5419ff4113f694e2068d2a03bb35dd
with:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index be5143bc6..9da5d4827 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,28 +2,29 @@
### Features
-* add container resource card ([37ec736](https://github.com/ofkm/arcane/commit/37ec736c4bb0c58bb2bf65681e04ad5e4bd280a1))
-* add create container logic ([#53](https://github.com/ofkm/arcane/issues/53)) ([23b6e86](https://github.com/ofkm/arcane/commit/23b6e861a337a0fe8ec85443a82a1506f898517c))
-* add in-use/unused badge on volumes and images ([75ea68b](https://github.com/ofkm/arcane/commit/75ea68b04164f734af5d9fdc560fd983620d6a96))
-* mass-delete images, volumes, and networks ([#69](https://github.com/ofkm/arcane/issues/69)) ([b56303e](https://github.com/ofkm/arcane/commit/b56303e60e6d3a57aec4826f29df8811458c534c))
-* settings page overhaul ([#48](https://github.com/ofkm/arcane/issues/48)) ([f5ac649](https://github.com/ofkm/arcane/commit/f5ac649f004f6abfdae3d3db9441d63c8bf200c9))
+- add container resource card ([37ec736](https://github.com/ofkm/arcane/commit/37ec736c4bb0c58bb2bf65681e04ad5e4bd280a1))
+- add create container logic ([#53](https://github.com/ofkm/arcane/issues/53)) ([23b6e86](https://github.com/ofkm/arcane/commit/23b6e861a337a0fe8ec85443a82a1506f898517c))
+- add in-use/unused badge on volumes and images ([75ea68b](https://github.com/ofkm/arcane/commit/75ea68b04164f734af5d9fdc560fd983620d6a96))
+- mass-delete images, volumes, and networks ([#69](https://github.com/ofkm/arcane/issues/69)) ([b56303e](https://github.com/ofkm/arcane/commit/b56303e60e6d3a57aec4826f29df8811458c534c))
+- settings page overhaul ([#48](https://github.com/ofkm/arcane/issues/48)) ([f5ac649](https://github.com/ofkm/arcane/commit/f5ac649f004f6abfdae3d3db9441d63c8bf200c9))
### Bug Fixes
-* add api endpoints for stacks and container actions ([#73](https://github.com/ofkm/arcane/issues/73)) ([6844e35](https://github.com/ofkm/arcane/commit/6844e35153e674ae82e7e39c39041e0710cef955))
-* add link to container details in table column ([72bd842](https://github.com/ofkm/arcane/commit/72bd8425439fdbca4cf44af2035869d0e5dc9406))
-* custom badge colors and look ([a1e59bd](https://github.com/ofkm/arcane/commit/a1e59bd895fa681332b13dd8a6e668ef885a5c14))
-* disable checkbox if stack is external ([93884eb](https://github.com/ofkm/arcane/commit/93884ebeaffec8412f1e4ab6371b6d2c19cf596d))
-* image pulling not repecting user defined tag ([41af290](https://github.com/ofkm/arcane/commit/41af2909f79b8e6e5d4fc7bc0a0e26193ad59dd0))
-* remove badges on detail pages ([1da4c79](https://github.com/ofkm/arcane/commit/1da4c791f22a03214953a3786bfa1bb9dc54f062))
-* remove badges on detail pages ([4404bd2](https://github.com/ofkm/arcane/commit/4404bd268b61b79118198b52899585f05f21b2ab))
-* remove docker connected label from sidebar ([13d9060](https://github.com/ofkm/arcane/commit/13d90601af75c0df2ae7eefc389778b567ff5ddb))
-* restore yaml editor functionality ([f0484ec](https://github.com/ofkm/arcane/commit/f0484ecca5ca399769d73ca7ac6c164c4b5b3bc9))
-* show docker engine version in card ([8e5fc5b](https://github.com/ofkm/arcane/commit/8e5fc5b3eea8db26f11ebfe951402093addd97f6))
-* show total image size in dashboard card ([9e4749c](https://github.com/ofkm/arcane/commit/9e4749ccd42538e3b44b2e919322daff8da40220))
-* stacks not saving on edit ([ba13d7b](https://github.com/ofkm/arcane/commit/ba13d7bbda14349d5f25cafa74ce74284448bc38))
-* unused badge color and layout ([67e5bc5](https://github.com/ofkm/arcane/commit/67e5bc552f814af8d4e77a26f415c58a65c4de4f))
-* use new status badge instead of custom-badge ([90303a6](https://github.com/ofkm/arcane/commit/90303a64a749bcc9754ce8cdaa3a1597c5dbbe9b))
+- add api endpoints for stacks and container actions ([#73](https://github.com/ofkm/arcane/issues/73)) ([6844e35](https://github.com/ofkm/arcane/commit/6844e35153e674ae82e7e39c39041e0710cef955))
+- add link to container details in table column ([72bd842](https://github.com/ofkm/arcane/commit/72bd8425439fdbca4cf44af2035869d0e5dc9406))
+- custom badge colors and look ([a1e59bd](https://github.com/ofkm/arcane/commit/a1e59bd895fa681332b13dd8a6e668ef885a5c14))
+- disable checkbox if stack is external ([93884eb](https://github.com/ofkm/arcane/commit/93884ebeaffec8412f1e4ab6371b6d2c19cf596d))
+- image pulling not repecting user defined tag ([41af290](https://github.com/ofkm/arcane/commit/41af2909f79b8e6e5d4fc7bc0a0e26193ad59dd0))
+- remove badges on detail pages ([1da4c79](https://github.com/ofkm/arcane/commit/1da4c791f22a03214953a3786bfa1bb9dc54f062))
+- remove badges on detail pages ([4404bd2](https://github.com/ofkm/arcane/commit/4404bd268b61b79118198b52899585f05f21b2ab))
+- remove docker connected label from sidebar ([13d9060](https://github.com/ofkm/arcane/commit/13d90601af75c0df2ae7eefc389778b567ff5ddb))
+- restore yaml editor functionality ([f0484ec](https://github.com/ofkm/arcane/commit/f0484ecca5ca399769d73ca7ac6c164c4b5b3bc9))
+- show docker engine version in card ([8e5fc5b](https://github.com/ofkm/arcane/commit/8e5fc5b3eea8db26f11ebfe951402093addd97f6))
+- show total image size in dashboard card ([9e4749c](https://github.com/ofkm/arcane/commit/9e4749ccd42538e3b44b2e919322daff8da40220))
+- stacks not saving on edit ([ba13d7b](https://github.com/ofkm/arcane/commit/ba13d7bbda14349d5f25cafa74ce74284448bc38))
+- unused badge color and layout ([67e5bc5](https://github.com/ofkm/arcane/commit/67e5bc552f814af8d4e77a26f415c58a65c4de4f))
+- use new status badge instead of custom-badge ([90303a6](https://github.com/ofkm/arcane/commit/90303a64a749bcc9754ce8cdaa3a1597c5dbbe9b))
+
## [0.2.0](https://github.com/ofkm/arcane/compare/v0.1.1...v0.2.0) (2025-04-23)
### Features
diff --git a/Dockerfile b/Dockerfile
index 58e4c194a..7110e8579 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -40,7 +40,7 @@ RUN mkdir -p /app/data && chmod 755 /app/data
# Copy only necessary files from builder
COPY --from=builder /app/build ./build
COPY --from=builder /app/static ./static
-COPY --chown=arcane:arcane app-settings.json /app/data/app-settings.json.default
+# COPY --chown=arcane:arcane app-settings.json /app/data/app-settings.json.default
# Copy entrypoint script
COPY --chmod=755 scripts/docker/entrypoint.sh /usr/local/bin/entrypoint.sh
diff --git a/docker-compose.yml b/docker-compose.yml
index 240522437..14ce54efa 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -7,7 +7,6 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./arcane-data:/app/data
- # - ./arcane-data/app-settings.json:/app/app-settings.json
environment:
- PUID=1000
diff --git a/docs/docs/getting-started/configuration.md b/docs/docs/getting-started/configuration.md
index 3dc7ead28..c4a403ff3 100644
--- a/docs/docs/getting-started/configuration.md
+++ b/docs/docs/getting-started/configuration.md
@@ -5,36 +5,24 @@ title: Configuration
# Configuring Arcane
-Arcane offers several ways to configure its behavior, primarily through a JSON configuration file or environment variables when running in Docker.
-
-## Configuration File (`app-settings.json`)
-
-The main configuration for Arcane is managed through the `app-settings.json` file located in the application's data directory (typically `/app/data` inside the container).
-
-Here's the example structure and settings:
-
-```json
-// filepath: /app/data/app-settings.json
-{
- "dockerHost": "unix:///var/run/docker.sock",
- "autoUpdate": false,
- "autoUpdateInterval": 60,
- "pollingEnabled": false,
- "pollingInterval": 10,
- "pruneMode": "all",
- "stacksDirectory": "/app/data/stacks",
- "auth.sessionTimeout": 60,
- "externalServices": {},
- "auth": {
- "localAuthEnabled": true,
- "sessionTimeout": 60
- }
-}
-```
+Arcane offers several ways to configure its behavior, with the recommended approach being through the web UI. Configuration is stored securely using encryption.
+
+## Configuration Storage
+
+Arcane stores its configuration in an encrypted format in `settings.dat` located in the application's data directory (typically `/app/data/settings` inside the container). Due to the encryption, **directly editing this file is not possible or recommended**.
+
+## Recommended Configuration Method: Web UI
-**_While you can mount a config file, Its recommended to use the Arcane UI to configure the settings._**
+The recommended way to configure Arcane is through the built-in web interface:
-### Configuration Options
+1. Access the Arcane web interface
+2. Navigate to the Settings page
+3. Update your configuration as needed
+4. Save your changes
+
+This approach ensures all settings are properly validated and securely stored.
+
+## Configuration Options
- **`dockerHost`** (`string`)
@@ -42,32 +30,61 @@ Here's the example structure and settings:
- **Default:** `"unix:///var/run/docker.sock"` (Connects via the standard Unix socket)
- **Examples:**
- Unix Socket: `"unix:///var/run/docker.sock"`
+ - Windows: `"npipe:////./pipe/docker_engine"`
- TCP Host: `"tcp://192.168.1.100:2375"` (Ensure your Docker daemon is configured to listen on TCP)
-- **`autoRefresh`** (`boolean`)
+- **`autoUpdate`** (`boolean`)
+
+ - Enables automatic updating of containers when new images are available.
+ - **Default:** `false`
+
+- **`autoUpdateInterval`** (`number`)
- - Determines if the Arcane UI should automatically refresh data periodically.
+ - Interval in minutes between checks for container updates when `autoUpdate` is enabled.
+ - **Default:** `60` (1 hour)
+ - **Range:** 5-1440 minutes (1 day)
+
+- **`pollingEnabled`** (`boolean`)
+
+ - Enables periodic polling of the Docker daemon for container status updates.
- **Default:** `true`
- - Set to `false` to disable automatic refreshing. You will need to manually refresh pages to see updates.
- **`pollingInterval`** (`number`)
- - Specifies the interval (in seconds) at which Arcane polls the Docker daemon for updates when `autoRefresh` is enabled.
- - **Default:** `5` (seconds)
- - A lower value provides more real-time updates but increases load on the Docker daemon. A higher value reduces load but makes the UI less responsive to changes.
+ - Interval in minutes between Docker status polls.
+ - **Default:** `10`
+ - **Range:** 5-60 minutes
+
+- **`pruneMode`** (`string`)
+
+ - Controls how image pruning operates.
+ - **Values:** `"all"` (removes all unused images) or `"dangling"` (removes only untagged images)
+ - **Default:** `"all"`
- **`stacksDirectory`** (`string`)
- - Defines the directory where Arcane looks for Docker Compose stack files.
+
+ - Defines the directory where Arcane stores and manages Docker Compose stack files.
- **Default:** `"/app/data/stacks"`
- - Ensure this directory exists and is accessible by Arcane if you plan to use the stack management features.
+
+- **`auth`** (object)
+
+ - **`localAuthEnabled`** (`boolean`): Enables/disables local authentication.
+ - **Default:** `true`
+ - **`sessionTimeout`** (`number`): Session timeout in minutes.
+ - **Default:** `60`
+ - **`passwordPolicy`** (`string`): Password complexity requirements.
+ - **Default:** `"medium"`
+
+- **`registryCredentials`** (array)
+ - List of registry credentials for pulling private images.
## Configuration with Docker
-When running Arcane using Docker or Docker Compose (as shown in the example [`docker-compose.yml`](https://github.com/ofkm/arcane/blob/main/docker-compose.yml)), you can manage configuration in a few ways:
+When running Arcane using Docker or Docker Compose, you configure the application by:
### 1. Mounting the Data Directory
-This is the recommended approach as it persists all application data, including the configuration file.
+This is the recommended approach as it persists all application data, including the encrypted configuration.
```yaml
# docker-compose.yml excerpt
@@ -80,29 +97,14 @@ services:
# ... other settings
```
-With this setup, you can edit the `app-settings.json` file within the `./arcane-data` directory on your host machine. If the file doesn't exist when the container starts, Arcane might create it with default values.
+With this setup, configuration changes made through the UI are persisted across container restarts.
-### 2. Mounting the Configuration File Directly (Less Common)
+### 2. Environment Variables (Permissions)
-You can mount only the configuration file, but this means other data (like stack definitions) won't be persisted unless you mount those directories separately.
+The `docker-compose.yml` example includes environment variables for setting correct file permissions:
-```yaml
-# docker-compose.yml excerpt
-services:
- arcane:
- # ... other settings
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- - ./my-custom-settings.json:/app/app-settings.json # Mount specific config file
- # ... other settings
-```
-
-### 3. Environment Variables (Permissions)
-
-The `docker-compose.yml` example also shows environment variables primarily used for setting correct file permissions within the container, especially when mounting volumes:
-
-- **`PUID`** / **`PGID`**: Set these to the user ID and group ID of the user on your host machine that should own the files in the mounted volumes (e.g., `./arcane-data`). Use `id -u` and `id -g` on your host to find these values.
-- **`DOCKER_GID`**: Set this to the group ID of the `docker` group on your host machine. This allows the Arcane container process (running as the specified `PUID`/`PGID`) to access the Docker socket (`/var/run/docker.sock`). Find this using `getent group docker | cut -d: -f3` on your host.
+- **`PUID`** / **`PGID`**: Set these to the user ID and group ID of the user on your host machine.
+- **`DOCKER_GID`**: Set this to the group ID of the `docker` group on your host machine.
```yaml
# docker-compose.yml excerpt
@@ -116,4 +118,12 @@ services:
# ... other settings
```
-Choose the configuration method that best suits your deployment strategy. For most Docker users, mounting the entire `/app/data` directory is the most straightforward way to manage configuration and persist data.
+## Important Notes
+
+- **Direct file editing not supported:** Due to encryption, you cannot manually edit the `settings.dat` file.
+- **First-run setup:** On first run, Arcane will create default settings and generate encryption keys.
+- **Backup considerations:** When backing up your Arcane installation, ensure you include the entire data directory to preserve both settings and encryption keys.
+
+## Initial Setup
+
+When you first access Arcane, you'll be guided through a setup process where you can configure these settings. You can modify them later at any time through the Settings page in the web UI.
diff --git a/docs/docs/getting-started/quickstart.md b/docs/docs/getting-started/quickstart.md
index 92d5d26dd..30ba76e90 100644
--- a/docs/docs/getting-started/quickstart.md
+++ b/docs/docs/getting-started/quickstart.md
@@ -9,9 +9,8 @@ This guide provides the fastest way to get Arcane up and running using Docker Co
## Prerequisites
-- **Docker Engine:** Installed and running.
-- **Docker Compose:** Installed.
-- **Git:** Installed (for cloning the repository).
+- **Docker and Docker Compose:** Installed and running.
+- **Git:** Installed (optional only for cloning the repository).
## Steps
diff --git a/package-lock.json b/package-lock.json
index 15c18f0fc..05158851f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6223 +1,4256 @@
{
- "name": "arcane",
- "version": "0.3.0",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {
- "": {
- "name": "arcane",
- "version": "0.3.0",
- "dependencies": {
- "@codemirror/lang-yaml": "^6.1.2",
- "@tanstack/table-core": "^8.21.3",
- "codemirror": "^6.0.1",
- "dockerode": "^4.0.6",
- "dockerode-compose": "^1.4.0",
- "js-yaml": "^4.1.0",
- "nanoid": "^5.1.5",
- "prettier": "^3.5.3",
- "prettier-plugin-svelte": "^3.3.3",
- "proper-lockfile": "^4.1.2",
- "redis": "^4.7.0",
- "svelte-codemirror-editor": "^1.4.1",
- "thememirror": "^2.0.1"
- },
- "devDependencies": {
- "@eslint/compat": "^1.2.5",
- "@eslint/js": "^9.18.0",
- "@lucide/svelte": "^0.503.0",
- "@sveltejs/adapter-node": "^5.2.12",
- "@sveltejs/kit": "^2.16.0",
- "@sveltejs/vite-plugin-svelte": "^5.0.0",
- "@tailwindcss/vite": "^4.0.0",
- "@types/dockerode": "^3.3.38",
- "@types/dockerode-compose": "^1.4.1",
- "@types/js-yaml": "^4.0.9",
- "@types/proper-lockfile": "^4.1.4",
- "bits-ui": "^1.4.2",
- "clsx": "^2.1.1",
- "eslint": "^9.25.1",
- "eslint-plugin-svelte": "^3.0.0",
- "formsnap": "^2.0.1",
- "globals": "^16.0.0",
- "mode-watcher": "^1.0.2",
- "svelte": "^5.28.2",
- "svelte-check": "^4.0.0",
- "svelte-sonner": "^0.3.28",
- "sveltekit-superforms": "^2.25.0",
- "tailwind-merge": "^3.2.0",
- "tailwind-variants": "^1.0.0",
- "tailwindcss": "^4.0.0",
- "tailwindcss-animate": "^1.0.7",
- "typescript": "^5.5.0",
- "typescript-eslint": "^8.31.1",
- "vite": "^6.3.3",
- "zod": "^3.24.3"
- }
- },
- "node_modules/@ampproject/remapping": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz",
- "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
- "license": "Apache-2.0",
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.5",
- "@jridgewell/trace-mapping": "^0.3.24"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@ark/schema": {
- "version": "0.46.0",
- "resolved": "https://registry.npmjs.org/@ark/schema/-/schema-0.46.0.tgz",
- "integrity": "sha512-c2UQdKgP2eqqDArfBqQIJppxJHvNNXuQPeuSPlDML4rjw+f1cu0qAlzOG4b8ujgm9ctIDWwhpyw6gjG5ledIVQ==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@ark/util": "0.46.0"
- }
- },
- "node_modules/@ark/util": {
- "version": "0.46.0",
- "resolved": "https://registry.npmjs.org/@ark/util/-/util-0.46.0.tgz",
- "integrity": "sha512-JPy/NGWn/lvf1WmGCPw2VGpBg5utZraE84I7wli18EDF3p3zc/e9WolT35tINeZO3l7C77SjqRJeAUoT0CvMRg==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/@babel/runtime": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.0.tgz",
- "integrity": "sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "regenerator-runtime": "^0.14.0"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@balena/dockerignore": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@balena/dockerignore/-/dockerignore-1.0.2.tgz",
- "integrity": "sha512-wMue2Sy4GAVTk6Ic4tJVcnfdau+gx2EnG7S+uAEe+TWJFqE4YoWN4/H8MSLj4eYJKxGg26lZwboEniNiNwZQ6Q==",
- "license": "Apache-2.0"
- },
- "node_modules/@codemirror/autocomplete": {
- "version": "6.18.6",
- "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.18.6.tgz",
- "integrity": "sha512-PHHBXFomUs5DF+9tCOM/UoW6XQ4R44lLNNhRaW9PKPTU0D7lIjRg3ElxaJnTwsl/oHiR93WSXDBrekhoUGCPtg==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/language": "^6.0.0",
- "@codemirror/state": "^6.0.0",
- "@codemirror/view": "^6.17.0",
- "@lezer/common": "^1.0.0"
- }
- },
- "node_modules/@codemirror/commands": {
- "version": "6.8.1",
- "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.8.1.tgz",
- "integrity": "sha512-KlGVYufHMQzxbdQONiLyGQDUW0itrLZwq3CcY7xpv9ZLRHqzkBSoteocBHtMCoY7/Ci4xhzSrToIeLg7FxHuaw==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/language": "^6.0.0",
- "@codemirror/state": "^6.4.0",
- "@codemirror/view": "^6.27.0",
- "@lezer/common": "^1.1.0"
- }
- },
- "node_modules/@codemirror/lang-yaml": {
- "version": "6.1.2",
- "resolved": "https://registry.npmjs.org/@codemirror/lang-yaml/-/lang-yaml-6.1.2.tgz",
- "integrity": "sha512-dxrfG8w5Ce/QbT7YID7mWZFKhdhsaTNOYjOkSIMt1qmC4VQnXSDSYVHHHn8k6kJUfIhtLo8t1JJgltlxWdsITw==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/autocomplete": "^6.0.0",
- "@codemirror/language": "^6.0.0",
- "@codemirror/state": "^6.0.0",
- "@lezer/common": "^1.2.0",
- "@lezer/highlight": "^1.2.0",
- "@lezer/lr": "^1.0.0",
- "@lezer/yaml": "^1.0.0"
- }
- },
- "node_modules/@codemirror/language": {
- "version": "6.11.0",
- "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.11.0.tgz",
- "integrity": "sha512-A7+f++LodNNc1wGgoRDTt78cOwWm9KVezApgjOMp1W4hM0898nsqBXwF+sbePE7ZRcjN7Sa1Z5m2oN27XkmEjQ==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/state": "^6.0.0",
- "@codemirror/view": "^6.23.0",
- "@lezer/common": "^1.1.0",
- "@lezer/highlight": "^1.0.0",
- "@lezer/lr": "^1.0.0",
- "style-mod": "^4.0.0"
- }
- },
- "node_modules/@codemirror/lint": {
- "version": "6.8.5",
- "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.5.tgz",
- "integrity": "sha512-s3n3KisH7dx3vsoeGMxsbRAgKe4O1vbrnKBClm99PU0fWxmxsx5rR2PfqQgIt+2MMJBHbiJ5rfIdLYfB9NNvsA==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/state": "^6.0.0",
- "@codemirror/view": "^6.35.0",
- "crelt": "^1.0.5"
- }
- },
- "node_modules/@codemirror/search": {
- "version": "6.5.10",
- "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.10.tgz",
- "integrity": "sha512-RMdPdmsrUf53pb2VwflKGHEe1XVM07hI7vV2ntgw1dmqhimpatSJKva4VA9h4TLUDOD4EIF02201oZurpnEFsg==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/state": "^6.0.0",
- "@codemirror/view": "^6.0.0",
- "crelt": "^1.0.5"
- }
- },
- "node_modules/@codemirror/state": {
- "version": "6.5.2",
- "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.5.2.tgz",
- "integrity": "sha512-FVqsPqtPWKVVL3dPSxy8wEF/ymIEuVzF1PK3VbUgrxXpJUSHQWWZz4JMToquRxnkw+36LTamCZG2iua2Ptq0fA==",
- "license": "MIT",
- "dependencies": {
- "@marijn/find-cluster-break": "^1.0.0"
- }
- },
- "node_modules/@codemirror/view": {
- "version": "6.36.5",
- "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.36.5.tgz",
- "integrity": "sha512-cd+FZEUlu3GQCYnguYm3EkhJ8KJVisqqUsCOKedBoAt/d9c76JUUap6U0UrpElln5k6VyrEOYliMuDAKIeDQLg==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/state": "^6.5.0",
- "style-mod": "^4.1.0",
- "w3c-keyname": "^2.2.4"
- }
- },
- "node_modules/@esbuild/aix-ppc64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz",
- "integrity": "sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "aix"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/android-arm": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.2.tgz",
- "integrity": "sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/android-arm64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz",
- "integrity": "sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/android-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.2.tgz",
- "integrity": "sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz",
- "integrity": "sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/darwin-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz",
- "integrity": "sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz",
- "integrity": "sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz",
- "integrity": "sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-arm": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz",
- "integrity": "sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-arm64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz",
- "integrity": "sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-ia32": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz",
- "integrity": "sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-loong64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz",
- "integrity": "sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz",
- "integrity": "sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q==",
- "cpu": [
- "mips64el"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz",
- "integrity": "sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz",
- "integrity": "sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-s390x": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz",
- "integrity": "sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz",
- "integrity": "sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/netbsd-arm64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz",
- "integrity": "sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "netbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz",
- "integrity": "sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "netbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz",
- "integrity": "sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz",
- "integrity": "sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/sunos-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz",
- "integrity": "sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "sunos"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/win32-arm64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz",
- "integrity": "sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/win32-ia32": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz",
- "integrity": "sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/win32-x64": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz",
- "integrity": "sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@eslint-community/eslint-utils": {
- "version": "4.6.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.6.1.tgz",
- "integrity": "sha512-KTsJMmobmbrFLe3LDh0PC2FXpcSYJt/MLjlkh/9LEnmKYLSYmT/0EW9JWANjeoemiuZrmogti0tW5Ch+qNUYDw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "eslint-visitor-keys": "^3.4.3"
- },
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- },
- "peerDependencies": {
- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
- }
- },
- "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
- "version": "3.4.3",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
- "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/@eslint-community/regexpp": {
- "version": "4.12.1",
- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
- "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
- }
- },
- "node_modules/@eslint/compat": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/@eslint/compat/-/compat-1.2.8.tgz",
- "integrity": "sha512-LqCYHdWL/QqKIJuZ/ucMAv8d4luKGs4oCPgpt8mWztQAtPrHfXKQ/XAUc8ljCHAfJCn6SvkpTcGt5Tsh8saowA==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "peerDependencies": {
- "eslint": "^9.10.0"
- },
- "peerDependenciesMeta": {
- "eslint": {
- "optional": true
- }
- }
- },
- "node_modules/@eslint/config-array": {
- "version": "0.20.0",
- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.20.0.tgz",
- "integrity": "sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@eslint/object-schema": "^2.1.6",
- "debug": "^4.3.1",
- "minimatch": "^3.1.2"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/config-helpers": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.1.tgz",
- "integrity": "sha512-RI17tsD2frtDu/3dmI7QRrD4bedNKPM08ziRYaC5AhkGrzIAJelm9kJU1TznK+apx6V+cqRz8tfpEeG3oIyjxw==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/core": {
- "version": "0.13.0",
- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.13.0.tgz",
- "integrity": "sha512-yfkgDw1KR66rkT5A8ci4irzDysN7FRpq3ttJolR88OqQikAWqwA8j5VZyas+vjyBNFIJ7MfybJ9plMILI2UrCw==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@types/json-schema": "^7.0.15"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/eslintrc": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",
- "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ajv": "^6.12.4",
- "debug": "^4.3.2",
- "espree": "^10.0.1",
- "globals": "^14.0.0",
- "ignore": "^5.2.0",
- "import-fresh": "^3.2.1",
- "js-yaml": "^4.1.0",
- "minimatch": "^3.1.2",
- "strip-json-comments": "^3.1.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/@eslint/eslintrc/node_modules/globals": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
- "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@eslint/js": {
- "version": "9.25.1",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.25.1.tgz",
- "integrity": "sha512-dEIwmjntEx8u3Uvv+kr3PDeeArL8Hw07H9kyYxCjnM9pBjfEhk6uLXSchxxzgiwtRhhzVzqmUSDFBOi1TuZ7qg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/object-schema": {
- "version": "2.1.6",
- "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz",
- "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/plugin-kit": {
- "version": "0.2.8",
- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.8.tgz",
- "integrity": "sha512-ZAoA40rNMPwSm+AeHpCq8STiNAwzWLJuP8Xv4CHIc9wv/PSuExjMrmjfYNj682vW0OOiZ1HKxzvjQr9XZIisQA==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@eslint/core": "^0.13.0",
- "levn": "^0.4.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@exodus/schemasafe": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@exodus/schemasafe/-/schemasafe-1.3.0.tgz",
- "integrity": "sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/@floating-ui/core": {
- "version": "1.6.9",
- "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz",
- "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@floating-ui/utils": "^0.2.9"
- }
- },
- "node_modules/@floating-ui/dom": {
- "version": "1.6.13",
- "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz",
- "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@floating-ui/core": "^1.6.0",
- "@floating-ui/utils": "^0.2.9"
- }
- },
- "node_modules/@floating-ui/utils": {
- "version": "0.2.9",
- "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz",
- "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@gcornut/valibot-json-schema": {
- "version": "0.31.0",
- "resolved": "https://registry.npmjs.org/@gcornut/valibot-json-schema/-/valibot-json-schema-0.31.0.tgz",
- "integrity": "sha512-3xGptCurm23e7nuPQkdrE5rEs1FeTPHhAUsBuwwqG4/YeZLwJOoYZv+fmsppUEfo5y9lzUwNQrNqLS/q7HMc7g==",
- "dev": true,
- "optional": true,
- "dependencies": {
- "valibot": "~0.31.0"
- },
- "bin": {
- "valibot-json-schema": "bin/index.js"
- },
- "optionalDependencies": {
- "@types/json-schema": ">= 7.0.14",
- "esbuild": ">= 0.18.20",
- "esbuild-runner": ">= 2.2.2"
- }
- },
- "node_modules/@gcornut/valibot-json-schema/node_modules/valibot": {
- "version": "0.31.1",
- "resolved": "https://registry.npmjs.org/valibot/-/valibot-0.31.1.tgz",
- "integrity": "sha512-2YYIhPrnVSz/gfT2/iXVTrSj92HwchCt9Cga/6hX4B26iCz9zkIsGTS0HjDYTZfTi1Un0X6aRvhBi1cfqs/i0Q==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/@grpc/grpc-js": {
- "version": "1.13.3",
- "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.3.tgz",
- "integrity": "sha512-FTXHdOoPbZrBjlVLHuKbDZnsTxXv2BlHF57xw6LuThXacXvtkahEPED0CKMk6obZDf65Hv4k3z62eyPNpvinIg==",
- "license": "Apache-2.0",
- "dependencies": {
- "@grpc/proto-loader": "^0.7.13",
- "@js-sdsl/ordered-map": "^4.4.2"
- },
- "engines": {
- "node": ">=12.10.0"
- }
- },
- "node_modules/@grpc/proto-loader": {
- "version": "0.7.15",
- "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.15.tgz",
- "integrity": "sha512-tMXdRCfYVixjuFK+Hk0Q1s38gV9zDiDJfWL3h1rv4Qc39oILCu1TRTDt7+fGUI8K4G1Fj125Hx/ru3azECWTyQ==",
- "license": "Apache-2.0",
- "dependencies": {
- "lodash.camelcase": "^4.3.0",
- "long": "^5.0.0",
- "protobufjs": "^7.2.5",
- "yargs": "^17.7.2"
- },
- "bin": {
- "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@hapi/hoek": {
- "version": "9.3.0",
- "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
- "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==",
- "dev": true,
- "license": "BSD-3-Clause",
- "optional": true
- },
- "node_modules/@hapi/topo": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz",
- "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==",
- "dev": true,
- "license": "BSD-3-Clause",
- "optional": true,
- "dependencies": {
- "@hapi/hoek": "^9.0.0"
- }
- },
- "node_modules/@humanfs/core": {
- "version": "0.19.1",
- "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
- "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": ">=18.18.0"
- }
- },
- "node_modules/@humanfs/node": {
- "version": "0.16.6",
- "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz",
- "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@humanfs/core": "^0.19.1",
- "@humanwhocodes/retry": "^0.3.0"
- },
- "engines": {
- "node": ">=18.18.0"
- }
- },
- "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",
- "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": ">=18.18"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
- }
- },
- "node_modules/@humanwhocodes/module-importer": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
- "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": ">=12.22"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
- }
- },
- "node_modules/@humanwhocodes/retry": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz",
- "integrity": "sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": ">=18.18"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/nzakas"
- }
- },
- "node_modules/@internationalized/date": {
- "version": "3.8.0",
- "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.8.0.tgz",
- "integrity": "sha512-J51AJ0fEL68hE4CwGPa6E0PO6JDaVLd8aln48xFCSy7CZkZc96dGEGmLs2OEEbBxcsVZtfrqkXJwI2/MSG8yKw==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@swc/helpers": "^0.5.0"
- }
- },
- "node_modules/@jridgewell/gen-mapping": {
- "version": "0.3.8",
- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz",
- "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/set-array": "^1.2.1",
- "@jridgewell/sourcemap-codec": "^1.4.10",
- "@jridgewell/trace-mapping": "^0.3.24"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/resolve-uri": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",
- "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
- "license": "MIT",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/set-array": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz",
- "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==",
- "license": "MIT",
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@jridgewell/sourcemap-codec": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz",
- "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
- "license": "MIT"
- },
- "node_modules/@jridgewell/trace-mapping": {
- "version": "0.3.25",
- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz",
- "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
- }
- },
- "node_modules/@js-sdsl/ordered-map": {
- "version": "4.4.2",
- "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz",
- "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==",
- "license": "MIT",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/js-sdsl"
- }
- },
- "node_modules/@lezer/common": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.2.3.tgz",
- "integrity": "sha512-w7ojc8ejBqr2REPsWxJjrMFsA/ysDCFICn8zEOR9mrqzOu2amhITYuLD8ag6XZf0CFXDrhKqw7+tW8cX66NaDA==",
- "license": "MIT"
- },
- "node_modules/@lezer/highlight": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.1.tgz",
- "integrity": "sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==",
- "license": "MIT",
- "dependencies": {
- "@lezer/common": "^1.0.0"
- }
- },
- "node_modules/@lezer/lr": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.2.tgz",
- "integrity": "sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==",
- "license": "MIT",
- "dependencies": {
- "@lezer/common": "^1.0.0"
- }
- },
- "node_modules/@lezer/yaml": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/@lezer/yaml/-/yaml-1.0.3.tgz",
- "integrity": "sha512-GuBLekbw9jDBDhGur82nuwkxKQ+a3W5H0GfaAthDXcAu+XdpS43VlnxA9E9hllkpSP5ellRDKjLLj7Lu9Wr6xA==",
- "license": "MIT",
- "dependencies": {
- "@lezer/common": "^1.2.0",
- "@lezer/highlight": "^1.0.0",
- "@lezer/lr": "^1.4.0"
- }
- },
- "node_modules/@lucide/svelte": {
- "version": "0.503.0",
- "resolved": "https://registry.npmjs.org/@lucide/svelte/-/svelte-0.503.0.tgz",
- "integrity": "sha512-Y7Q8pHnX2YG8Ef4a/VnYFN9tTAJS33MiS78vQtPiyp5iiWuBlTMoViMiRUxQb7U9Ro46RdJ0kpCADvvha3Z2rA==",
- "dev": true,
- "license": "ISC",
- "peerDependencies": {
- "svelte": "^5"
- }
- },
- "node_modules/@marijn/find-cluster-break": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@marijn/find-cluster-break/-/find-cluster-break-1.0.2.tgz",
- "integrity": "sha512-l0h88YhZFyKdXIFNfSWpyjStDjGHwZ/U7iobcK1cQQD8sejsONdQtTVU+1wVN1PBw40PiiHB1vA5S7VTfQiP9g==",
- "license": "MIT"
- },
- "node_modules/@nodelib/fs.scandir": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
- "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "2.0.5",
- "run-parallel": "^1.1.9"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.stat": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
- "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.walk": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
- "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.scandir": "2.1.5",
- "fastq": "^1.6.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@polka/url": {
- "version": "1.0.0-next.29",
- "resolved": "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.29.tgz",
- "integrity": "sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@poppinss/macroable": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/@poppinss/macroable/-/macroable-1.0.4.tgz",
- "integrity": "sha512-ct43jurbe7lsUX5eIrj4ijO3j/6zIPp7CDnFWXDs7UPAbw1Pu1iH3oAmFdP4jcskKJBURH5M9oTtyeiUXyHX8Q==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=18.16.0"
- }
- },
- "node_modules/@protobufjs/aspromise": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
- "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/base64": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
- "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/codegen": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz",
- "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/eventemitter": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
- "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/fetch": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
- "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==",
- "license": "BSD-3-Clause",
- "dependencies": {
- "@protobufjs/aspromise": "^1.1.1",
- "@protobufjs/inquire": "^1.1.0"
- }
- },
- "node_modules/@protobufjs/float": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
- "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/inquire": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz",
- "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/path": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
- "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/pool": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
- "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/utf8": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz",
- "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@redis/bloom": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@redis/bloom/-/bloom-1.2.0.tgz",
- "integrity": "sha512-HG2DFjYKbpNmVXsa0keLHp/3leGJz1mjh09f2RLGGLQZzSHpkmZWuwJbAvo3QcRY8p80m5+ZdXZdYOSBLlp7Cg==",
- "license": "MIT",
- "peerDependencies": {
- "@redis/client": "^1.0.0"
- }
- },
- "node_modules/@redis/client": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/@redis/client/-/client-1.6.0.tgz",
- "integrity": "sha512-aR0uffYI700OEEH4gYnitAnv3vzVGXCFvYfdpu/CJKvk4pHfLPEy/JSZyrpQ+15WhXe1yJRXLtfQ84s4mEXnPg==",
- "license": "MIT",
- "dependencies": {
- "cluster-key-slot": "1.1.2",
- "generic-pool": "3.9.0",
- "yallist": "4.0.0"
- },
- "engines": {
- "node": ">=14"
- }
- },
- "node_modules/@redis/graph": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@redis/graph/-/graph-1.1.1.tgz",
- "integrity": "sha512-FEMTcTHZozZciLRl6GiiIB4zGm5z5F3F6a6FZCyrfxdKOhFlGkiAqlexWMBzCi4DcRoyiOsuLfW+cjlGWyExOw==",
- "license": "MIT",
- "peerDependencies": {
- "@redis/client": "^1.0.0"
- }
- },
- "node_modules/@redis/json": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/@redis/json/-/json-1.0.7.tgz",
- "integrity": "sha512-6UyXfjVaTBTJtKNG4/9Z8PSpKE6XgSyEb8iwaqDcy+uKrd/DGYHTWkUdnQDyzm727V7p21WUMhsqz5oy65kPcQ==",
- "license": "MIT",
- "peerDependencies": {
- "@redis/client": "^1.0.0"
- }
- },
- "node_modules/@redis/search": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/@redis/search/-/search-1.2.0.tgz",
- "integrity": "sha512-tYoDBbtqOVigEDMAcTGsRlMycIIjwMCgD8eR2t0NANeQmgK/lvxNAvYyb6bZDD4frHRhIHkJu2TBRvB0ERkOmw==",
- "license": "MIT",
- "peerDependencies": {
- "@redis/client": "^1.0.0"
- }
- },
- "node_modules/@redis/time-series": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@redis/time-series/-/time-series-1.1.0.tgz",
- "integrity": "sha512-c1Q99M5ljsIuc4YdaCwfUEXsofakb9c8+Zse2qxTadu8TalLXuAESzLvFAvNVbkmSlvlzIQOLpBCmWI9wTOt+g==",
- "license": "MIT",
- "peerDependencies": {
- "@redis/client": "^1.0.0"
- }
- },
- "node_modules/@rollup/plugin-commonjs": {
- "version": "28.0.3",
- "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-28.0.3.tgz",
- "integrity": "sha512-pyltgilam1QPdn+Zd9gaCfOLcnjMEJ9gV+bTw6/r73INdvzf1ah9zLIJBm+kW7R6IUFIQ1YO+VqZtYxZNWFPEQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@rollup/pluginutils": "^5.0.1",
- "commondir": "^1.0.1",
- "estree-walker": "^2.0.2",
- "fdir": "^6.2.0",
- "is-reference": "1.2.1",
- "magic-string": "^0.30.3",
- "picomatch": "^4.0.2"
- },
- "engines": {
- "node": ">=16.0.0 || 14 >= 14.17"
- },
- "peerDependencies": {
- "rollup": "^2.68.0||^3.0.0||^4.0.0"
- },
- "peerDependenciesMeta": {
- "rollup": {
- "optional": true
- }
- }
- },
- "node_modules/@rollup/plugin-json": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.1.0.tgz",
- "integrity": "sha512-EGI2te5ENk1coGeADSIwZ7G2Q8CJS2sF120T7jLw4xFw9n7wIOXHo+kIYRAoVpJAN+kmqZSoO3Fp4JtoNF4ReA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@rollup/pluginutils": "^5.1.0"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
- },
- "peerDependenciesMeta": {
- "rollup": {
- "optional": true
- }
- }
- },
- "node_modules/@rollup/plugin-node-resolve": {
- "version": "16.0.1",
- "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-16.0.1.tgz",
- "integrity": "sha512-tk5YCxJWIG81umIvNkSod2qK5KyQW19qcBF/B78n1bjtOON6gzKoVeSzAE8yHCZEDmqkHKkxplExA8KzdJLJpA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@rollup/pluginutils": "^5.0.1",
- "@types/resolve": "1.20.2",
- "deepmerge": "^4.2.2",
- "is-module": "^1.0.0",
- "resolve": "^1.22.1"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "rollup": "^2.78.0||^3.0.0||^4.0.0"
- },
- "peerDependenciesMeta": {
- "rollup": {
- "optional": true
- }
- }
- },
- "node_modules/@rollup/pluginutils": {
- "version": "5.1.4",
- "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.4.tgz",
- "integrity": "sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/estree": "^1.0.0",
- "estree-walker": "^2.0.2",
- "picomatch": "^4.0.2"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
- },
- "peerDependenciesMeta": {
- "rollup": {
- "optional": true
- }
- }
- },
- "node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.0.tgz",
- "integrity": "sha512-+Fbls/diZ0RDerhE8kyC6hjADCXA1K4yVNlH0EYfd2XjyH0UGgzaQ8MlT0pCXAThfxv3QUAczHaL+qSv1E4/Cg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@rollup/rollup-android-arm64": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.0.tgz",
- "integrity": "sha512-PPA6aEEsTPRz+/4xxAmaoWDqh67N7wFbgFUJGMnanCFs0TV99M0M8QhhaSCks+n6EbQoFvLQgYOGXxlMGQe/6w==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.0.tgz",
- "integrity": "sha512-GwYOcOakYHdfnjjKwqpTGgn5a6cUX7+Ra2HeNj/GdXvO2VJOOXCiYYlRFU4CubFM67EhbmzLOmACKEfvp3J1kQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.0.tgz",
- "integrity": "sha512-CoLEGJ+2eheqD9KBSxmma6ld01czS52Iw0e2qMZNpPDlf7Z9mj8xmMemxEucinev4LgHalDPczMyxzbq+Q+EtA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.0.tgz",
- "integrity": "sha512-r7yGiS4HN/kibvESzmrOB/PxKMhPTlz+FcGvoUIKYoTyGd5toHp48g1uZy1o1xQvybwwpqpe010JrcGG2s5nkg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
- },
- "node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.0.tgz",
- "integrity": "sha512-mVDxzlf0oLzV3oZOr0SMJ0lSDd3xC4CmnWJ8Val8isp9jRGl5Dq//LLDSPFrasS7pSm6m5xAcKaw3sHXhBjoRw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.0.tgz",
- "integrity": "sha512-y/qUMOpJxBMy8xCXD++jeu8t7kzjlOCkoxxajL58G62PJGBZVl/Gwpm7JK9+YvlB701rcQTzjUZ1JgUoPTnoQA==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.0.tgz",
- "integrity": "sha512-GoCsPibtVdJFPv/BOIvBKO/XmwZLwaNWdyD8TKlXuqp0veo2sHE+A/vpMQ5iSArRUz/uaoj4h5S6Pn0+PdhRjg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.0.tgz",
- "integrity": "sha512-L5ZLphTjjAD9leJzSLI7rr8fNqJMlGDKlazW2tX4IUF9P7R5TMQPElpH82Q7eNIDQnQlAyiNVfRPfP2vM5Avvg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.0.tgz",
- "integrity": "sha512-ATZvCRGCDtv1Y4gpDIXsS+wfFeFuLwVxyUBSLawjgXK2tRE6fnsQEkE4csQQYWlBlsFztRzCnBvWVfcae/1qxQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-loongarch64-gnu": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.0.tgz",
- "integrity": "sha512-wG9e2XtIhd++QugU5MD9i7OnpaVb08ji3P1y/hNbxrQ3sYEelKJOq1UJ5dXczeo6Hj2rfDEL5GdtkMSVLa/AOg==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.0.tgz",
- "integrity": "sha512-vgXfWmj0f3jAUvC7TZSU/m/cOE558ILWDzS7jBhiCAFpY2WEBn5jqgbqvmzlMjtp8KlLcBlXVD2mkTSEQE6Ixw==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.0.tgz",
- "integrity": "sha512-uJkYTugqtPZBS3Z136arevt/FsKTF/J9dEMTX/cwR7lsAW4bShzI2R0pJVw+hcBTWF4dxVckYh72Hk3/hWNKvA==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.0.tgz",
- "integrity": "sha512-rKmSj6EXQRnhSkE22+WvrqOqRtk733x3p5sWpZilhmjnkHkpeCgWsFFo0dGnUGeA+OZjRl3+VYq+HyCOEuwcxQ==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.0.tgz",
- "integrity": "sha512-SpnYlAfKPOoVsQqmTFJ0usx0z84bzGOS9anAC0AZ3rdSo3snecihbhFTlJZ8XMwzqAcodjFU4+/SM311dqE5Sw==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.0.tgz",
- "integrity": "sha512-RcDGMtqF9EFN8i2RYN2W+64CdHruJ5rPqrlYw+cgM3uOVPSsnAQps7cpjXe9be/yDp8UC7VLoCoKC8J3Kn2FkQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.0.tgz",
- "integrity": "sha512-HZvjpiUmSNx5zFgwtQAV1GaGazT2RWvqeDi0hV+AtC8unqqDSsaFjPxfsO6qPtKRRg25SisACWnJ37Yio8ttaw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.0.tgz",
- "integrity": "sha512-UtZQQI5k/b8d7d3i9AZmA/t+Q4tk3hOC0tMOMSq2GlMYOfxbesxG4mJSeDp0EHs30N9bsfwUvs3zF4v/RzOeTQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.0.tgz",
- "integrity": "sha512-+m03kvI2f5syIqHXCZLPVYplP8pQch9JHyXKZ3AGMKlg8dCyr2PKHjwRLiW53LTrN/Nc3EqHOKxUxzoSPdKddA==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.0.tgz",
- "integrity": "sha512-lpPE1cLfP5oPzVjKMx10pgBmKELQnFJXHgvtHCtuJWOv8MxqdEIMNtgHgBFf7Ea2/7EuVwa9fodWUfXAlXZLZQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@sideway/address": {
- "version": "4.1.5",
- "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz",
- "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==",
- "dev": true,
- "license": "BSD-3-Clause",
- "optional": true,
- "dependencies": {
- "@hapi/hoek": "^9.0.0"
- }
- },
- "node_modules/@sideway/formula": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz",
- "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==",
- "dev": true,
- "license": "BSD-3-Clause",
- "optional": true
- },
- "node_modules/@sideway/pinpoint": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz",
- "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==",
- "dev": true,
- "license": "BSD-3-Clause",
- "optional": true
- },
- "node_modules/@sinclair/typebox": {
- "version": "0.34.33",
- "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.33.tgz",
- "integrity": "sha512-5HAV9exOMcXRUxo+9iYB5n09XxzCXnfy4VTNW4xnDv+FgjzAGY989C28BIdljKqmF+ZltUwujE3aossvcVtq6g==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/@standard-schema/spec": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.0.0.tgz",
- "integrity": "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/@sveltejs/acorn-typescript": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.5.tgz",
- "integrity": "sha512-IwQk4yfwLdibDlrXVE04jTZYlLnwsTT2PIOQQGNLWfjavGifnk1JD1LcZjZaBTRcxZu2FfPfNLOE04DSu9lqtQ==",
- "license": "MIT",
- "peerDependencies": {
- "acorn": "^8.9.0"
- }
- },
- "node_modules/@sveltejs/adapter-node": {
- "version": "5.2.12",
- "resolved": "https://registry.npmjs.org/@sveltejs/adapter-node/-/adapter-node-5.2.12.tgz",
- "integrity": "sha512-0bp4Yb3jKIEcZWVcJC/L1xXp9zzJS4hDwfb4VITAkfT4OVdkspSHsx7YhqJDbb2hgLl6R9Vs7VQR+fqIVOxPUQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@rollup/plugin-commonjs": "^28.0.1",
- "@rollup/plugin-json": "^6.1.0",
- "@rollup/plugin-node-resolve": "^16.0.0",
- "rollup": "^4.9.5"
- },
- "peerDependencies": {
- "@sveltejs/kit": "^2.4.0"
- }
- },
- "node_modules/@sveltejs/kit": {
- "version": "2.20.7",
- "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.20.7.tgz",
- "integrity": "sha512-dVbLMubpJJSLI4OYB+yWYNHGAhgc2bVevWuBjDj8jFUXIJOAnLwYP3vsmtcgoxNGUXoq0rHS5f7MFCsryb6nzg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/cookie": "^0.6.0",
- "cookie": "^0.6.0",
- "devalue": "^5.1.0",
- "esm-env": "^1.2.2",
- "import-meta-resolve": "^4.1.0",
- "kleur": "^4.1.5",
- "magic-string": "^0.30.5",
- "mrmime": "^2.0.0",
- "sade": "^1.8.1",
- "set-cookie-parser": "^2.6.0",
- "sirv": "^3.0.0"
- },
- "bin": {
- "svelte-kit": "svelte-kit.js"
- },
- "engines": {
- "node": ">=18.13"
- },
- "peerDependencies": {
- "@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0",
- "svelte": "^4.0.0 || ^5.0.0-next.0",
- "vite": "^5.0.3 || ^6.0.0"
- }
- },
- "node_modules/@sveltejs/vite-plugin-svelte": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-5.0.3.tgz",
- "integrity": "sha512-MCFS6CrQDu1yGwspm4qtli0e63vaPCehf6V7pIMP15AsWgMKrqDGCPFF/0kn4SP0ii4aySu4Pa62+fIRGFMjgw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@sveltejs/vite-plugin-svelte-inspector": "^4.0.1",
- "debug": "^4.4.0",
- "deepmerge": "^4.3.1",
- "kleur": "^4.1.5",
- "magic-string": "^0.30.15",
- "vitefu": "^1.0.4"
- },
- "engines": {
- "node": "^18.0.0 || ^20.0.0 || >=22"
- },
- "peerDependencies": {
- "svelte": "^5.0.0",
- "vite": "^6.0.0"
- }
- },
- "node_modules/@sveltejs/vite-plugin-svelte-inspector": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte-inspector/-/vite-plugin-svelte-inspector-4.0.1.tgz",
- "integrity": "sha512-J/Nmb2Q2y7mck2hyCX4ckVHcR5tu2J+MtBEQqpDrrgELZ2uvraQcK/ioCV61AqkdXFgriksOKIceDcQmqnGhVw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "debug": "^4.3.7"
- },
- "engines": {
- "node": "^18.0.0 || ^20.0.0 || >=22"
- },
- "peerDependencies": {
- "@sveltejs/vite-plugin-svelte": "^5.0.0",
- "svelte": "^5.0.0",
- "vite": "^6.0.0"
- }
- },
- "node_modules/@swc/helpers": {
- "version": "0.5.17",
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz",
- "integrity": "sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "tslib": "^2.8.0"
- }
- },
- "node_modules/@tailwindcss/node": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.4.tgz",
- "integrity": "sha512-MT5118zaiO6x6hNA04OWInuAiP1YISXql8Z+/Y8iisV5nuhM8VXlyhRuqc2PEviPszcXI66W44bCIk500Oolhw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "enhanced-resolve": "^5.18.1",
- "jiti": "^2.4.2",
- "lightningcss": "1.29.2",
- "tailwindcss": "4.1.4"
- }
- },
- "node_modules/@tailwindcss/oxide": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.1.4.tgz",
- "integrity": "sha512-p5wOpXyOJx7mKh5MXh5oKk+kqcz8T+bA3z/5VWWeQwFrmuBItGwz8Y2CHk/sJ+dNb9B0nYFfn0rj/cKHZyjahQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 10"
- },
- "optionalDependencies": {
- "@tailwindcss/oxide-android-arm64": "4.1.4",
- "@tailwindcss/oxide-darwin-arm64": "4.1.4",
- "@tailwindcss/oxide-darwin-x64": "4.1.4",
- "@tailwindcss/oxide-freebsd-x64": "4.1.4",
- "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.4",
- "@tailwindcss/oxide-linux-arm64-gnu": "4.1.4",
- "@tailwindcss/oxide-linux-arm64-musl": "4.1.4",
- "@tailwindcss/oxide-linux-x64-gnu": "4.1.4",
- "@tailwindcss/oxide-linux-x64-musl": "4.1.4",
- "@tailwindcss/oxide-wasm32-wasi": "4.1.4",
- "@tailwindcss/oxide-win32-arm64-msvc": "4.1.4",
- "@tailwindcss/oxide-win32-x64-msvc": "4.1.4"
- }
- },
- "node_modules/@tailwindcss/oxide-android-arm64": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.1.4.tgz",
- "integrity": "sha512-xMMAe/SaCN/vHfQYui3fqaBDEXMu22BVwQ33veLc8ep+DNy7CWN52L+TTG9y1K397w9nkzv+Mw+mZWISiqhmlA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-darwin-arm64": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.1.4.tgz",
- "integrity": "sha512-JGRj0SYFuDuAGilWFBlshcexev2hOKfNkoX+0QTksKYq2zgF9VY/vVMq9m8IObYnLna0Xlg+ytCi2FN2rOL0Sg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-darwin-x64": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.1.4.tgz",
- "integrity": "sha512-sdDeLNvs3cYeWsEJ4H1DvjOzaGios4QbBTNLVLVs0XQ0V95bffT3+scptzYGPMjm7xv4+qMhCDrkHwhnUySEzA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-freebsd-x64": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.1.4.tgz",
- "integrity": "sha512-VHxAqxqdghM83HslPhRsNhHo91McsxRJaEnShJOMu8mHmEj9Ig7ToHJtDukkuLWLzLboh2XSjq/0zO6wgvykNA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.1.4.tgz",
- "integrity": "sha512-OTU/m/eV4gQKxy9r5acuesqaymyeSCnsx1cFto/I1WhPmi5HDxX1nkzb8KYBiwkHIGg7CTfo/AcGzoXAJBxLfg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.1.4.tgz",
- "integrity": "sha512-hKlLNvbmUC6z5g/J4H+Zx7f7w15whSVImokLPmP6ff1QqTVE+TxUM9PGuNsjHvkvlHUtGTdDnOvGNSEUiXI1Ww==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.1.4.tgz",
- "integrity": "sha512-X3As2xhtgPTY/m5edUtddmZ8rCruvBvtxYLMw9OsZdH01L2gS2icsHRwxdU0dMItNfVmrBezueXZCHxVeeb7Aw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.1.4.tgz",
- "integrity": "sha512-2VG4DqhGaDSmYIu6C4ua2vSLXnJsb/C9liej7TuSO04NK+JJJgJucDUgmX6sn7Gw3Cs5ZJ9ZLrnI0QRDOjLfNQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-linux-x64-musl": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.1.4.tgz",
- "integrity": "sha512-v+mxVgH2kmur/X5Mdrz9m7TsoVjbdYQT0b4Z+dr+I4RvreCNXyCFELZL/DO0M1RsidZTrm6O1eMnV6zlgEzTMQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.1.4.tgz",
- "integrity": "sha512-2TLe9ir+9esCf6Wm+lLWTMbgklIjiF0pbmDnwmhR9MksVOq+e8aP3TSsXySnBDDvTTVd/vKu1aNttEGj3P6l8Q==",
- "bundleDependencies": [
- "@napi-rs/wasm-runtime",
- "@emnapi/core",
- "@emnapi/runtime",
- "@tybys/wasm-util",
- "@emnapi/wasi-threads",
- "tslib"
- ],
- "cpu": [
- "wasm32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/core": "^1.4.0",
- "@emnapi/runtime": "^1.4.0",
- "@emnapi/wasi-threads": "^1.0.1",
- "@napi-rs/wasm-runtime": "^0.2.8",
- "@tybys/wasm-util": "^0.9.0",
- "tslib": "^2.8.0"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": {
- "version": "1.4.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/wasi-threads": "1.0.1",
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": {
- "version": "1.4.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": {
- "version": "1.0.1",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": {
- "version": "0.2.8",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/core": "^1.4.0",
- "@emnapi/runtime": "^1.4.0",
- "@tybys/wasm-util": "^0.9.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": {
- "version": "0.9.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": {
- "version": "2.8.0",
- "dev": true,
- "inBundle": true,
- "license": "0BSD",
- "optional": true
- },
- "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.4.tgz",
- "integrity": "sha512-VlnhfilPlO0ltxW9/BgfLI5547PYzqBMPIzRrk4W7uupgCt8z6Trw/tAj6QUtF2om+1MH281Pg+HHUJoLesmng==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.1.4.tgz",
- "integrity": "sha512-+7S63t5zhYjslUGb8NcgLpFXD+Kq1F/zt5Xv5qTv7HaFTG/DHyHD9GA6ieNAxhgyA4IcKa/zy7Xx4Oad2/wuhw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@tailwindcss/vite": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.1.4.tgz",
- "integrity": "sha512-4UQeMrONbvrsXKXXp/uxmdEN5JIJ9RkH7YVzs6AMxC/KC1+Np7WZBaNIco7TEjlkthqxZbt8pU/ipD+hKjm80A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@tailwindcss/node": "4.1.4",
- "@tailwindcss/oxide": "4.1.4",
- "tailwindcss": "4.1.4"
- },
- "peerDependencies": {
- "vite": "^5.2.0 || ^6"
- }
- },
- "node_modules/@tanstack/table-core": {
- "version": "8.21.3",
- "resolved": "https://registry.npmjs.org/@tanstack/table-core/-/table-core-8.21.3.tgz",
- "integrity": "sha512-ldZXEhOBb8Is7xLs01fR3YEc3DERiz5silj8tnGkFZytt1abEvl/GhUmCE0PMLaMPTa3Jk4HbKmRlHmu+gCftg==",
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/tannerlinsley"
- }
- },
- "node_modules/@types/cookie": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz",
- "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/docker-modem": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/@types/docker-modem/-/docker-modem-3.0.6.tgz",
- "integrity": "sha512-yKpAGEuKRSS8wwx0joknWxsmLha78wNMe9R2S3UNsVOkZded8UqOrV8KoeDXoXsjndxwyF3eIhyClGbO1SEhEg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/node": "*",
- "@types/ssh2": "*"
- }
- },
- "node_modules/@types/dockerode": {
- "version": "3.3.38",
- "resolved": "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.3.38.tgz",
- "integrity": "sha512-nnrcfUe2iR+RyOuz0B4bZgQwD9djQa9ADEjp7OAgBs10pYT0KSCtplJjcmBDJz0qaReX5T7GbE5i4VplvzUHvA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/docker-modem": "*",
- "@types/node": "*",
- "@types/ssh2": "*"
- }
- },
- "node_modules/@types/dockerode-compose": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/@types/dockerode-compose/-/dockerode-compose-1.4.1.tgz",
- "integrity": "sha512-AouE5+t2bghPrCxWGabBGqvXQDF1Hym0NCuCVDzI3vI5KbucWyLBPUIwZK+a9qb3v2Wr9VvBJzHrHLS5r1VM/w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/dockerode": "*"
- }
- },
- "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==",
- "license": "MIT"
- },
- "node_modules/@types/js-yaml": {
- "version": "4.0.9",
- "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz",
- "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/json-schema": {
- "version": "7.0.15",
- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
- "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/node": {
- "version": "22.14.1",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz",
- "integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==",
- "license": "MIT",
- "dependencies": {
- "undici-types": "~6.21.0"
- }
- },
- "node_modules/@types/proper-lockfile": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/@types/proper-lockfile/-/proper-lockfile-4.1.4.tgz",
- "integrity": "sha512-uo2ABllncSqg9F1D4nugVl9v93RmjxF6LJzQLMLDdPaXCUIDPeOJ21Gbqi43xNKzBi/WQ0Q0dICqufzQbMjipQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/retry": "*"
- }
- },
- "node_modules/@types/resolve": {
- "version": "1.20.2",
- "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz",
- "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/retry": {
- "version": "0.12.5",
- "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.5.tgz",
- "integrity": "sha512-3xSjTp3v03X/lSQLkczaN9UIEwJMoMCA1+Nb5HfbJEQWogdeQIyVtTvxPXDQjZ5zws8rFQfVfRdz03ARihPJgw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/ssh2": {
- "version": "1.15.5",
- "resolved": "https://registry.npmjs.org/@types/ssh2/-/ssh2-1.15.5.tgz",
- "integrity": "sha512-N1ASjp/nXH3ovBHddRJpli4ozpk6UdDYIX4RJWFa9L1YKnzdhTlVmiGHm4DZnj/jLbqZpes4aeR30EFGQtvhQQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/node": "^18.11.18"
- }
- },
- "node_modules/@types/ssh2/node_modules/@types/node": {
- "version": "18.19.86",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.86.tgz",
- "integrity": "sha512-fifKayi175wLyKyc5qUfyENhQ1dCNI1UNjp653d8kuYcPQN5JhX3dGuP/XmvPTg/xRBn1VTLpbmi+H/Mr7tLfQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "undici-types": "~5.26.4"
- }
- },
- "node_modules/@types/ssh2/node_modules/undici-types": {
- "version": "5.26.5",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/validator": {
- "version": "13.15.0",
- "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.15.0.tgz",
- "integrity": "sha512-nh7nrWhLr6CBq9ldtw0wx+z9wKnnv/uTVLA9g/3/TcOYxbpOSZE+MhKPmWqU+K0NvThjhv12uD8MuqijB0WzEA==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/@typeschema/class-validator": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/@typeschema/class-validator/-/class-validator-0.3.0.tgz",
- "integrity": "sha512-OJSFeZDIQ8EK1HTljKLT5CItM2wsbgczLN8tMEfz3I1Lmhc5TBfkZ0eikFzUC16tI3d1Nag7um6TfCgp2I2Bww==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@typeschema/core": "0.14.0"
- },
- "peerDependencies": {
- "class-validator": "^0.14.1"
- },
- "peerDependenciesMeta": {
- "class-validator": {
- "optional": true
- }
- }
- },
- "node_modules/@typeschema/core": {
- "version": "0.14.0",
- "resolved": "https://registry.npmjs.org/@typeschema/core/-/core-0.14.0.tgz",
- "integrity": "sha512-Ia6PtZHcL3KqsAWXjMi5xIyZ7XMH4aSnOQes8mfMLx+wGFGtGRNlwe6Y7cYvX+WfNK67OL0/HSe9t8QDygV0/w==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "peerDependencies": {
- "@types/json-schema": "^7.0.15"
- },
- "peerDependenciesMeta": {
- "@types/json-schema": {
- "optional": true
- }
- }
- },
- "node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.31.1.tgz",
- "integrity": "sha512-oUlH4h1ABavI4F0Xnl8/fOtML/eu8nI2A1nYd+f+55XI0BLu+RIqKoCiZKNo6DtqZBEQm5aNKA20G3Z5w3R6GQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.31.1",
- "@typescript-eslint/type-utils": "8.31.1",
- "@typescript-eslint/utils": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1",
- "graphemer": "^1.4.0",
- "ignore": "^5.3.1",
- "natural-compare": "^1.4.0",
- "ts-api-utils": "^2.0.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.9.0"
- }
- },
- "node_modules/@typescript-eslint/parser": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.31.1.tgz",
- "integrity": "sha512-oU/OtYVydhXnumd0BobL9rkJg7wFJ9bFFPmSmB/bf/XWN85hlViji59ko6bSKBXyseT9V8l+CN1nwmlbiN0G7Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/scope-manager": "8.31.1",
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/typescript-estree": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1",
- "debug": "^4.3.4"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.9.0"
- }
- },
- "node_modules/@typescript-eslint/scope-manager": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.31.1.tgz",
- "integrity": "sha512-BMNLOElPxrtNQMIsFHE+3P0Yf1z0dJqV9zLdDxN/xLlWMlXK/ApEsVEKzpizg9oal8bAT5Sc7+ocal7AC1HCVw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@typescript-eslint/type-utils": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.31.1.tgz",
- "integrity": "sha512-fNaT/m9n0+dpSp8G/iOQ05GoHYXbxw81x+yvr7TArTuZuCA6VVKbqWYVZrV5dVagpDTtj/O8k5HBEE/p/HM5LA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/typescript-estree": "8.31.1",
- "@typescript-eslint/utils": "8.31.1",
- "debug": "^4.3.4",
- "ts-api-utils": "^2.0.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.9.0"
- }
- },
- "node_modules/@typescript-eslint/types": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.31.1.tgz",
- "integrity": "sha512-SfepaEFUDQYRoA70DD9GtytljBePSj17qPxFHA/h3eg6lPTqGJ5mWOtbXCk1YrVU1cTJRd14nhaXWFu0l2troQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.31.1.tgz",
- "integrity": "sha512-kaA0ueLe2v7KunYOyWYtlf/QhhZb7+qh4Yw6Ni5kgukMIG+iP773tjgBiLWIXYumWCwEq3nLW+TUywEp8uEeag==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/visitor-keys": "8.31.1",
- "debug": "^4.3.4",
- "fast-glob": "^3.3.2",
- "is-glob": "^4.0.3",
- "minimatch": "^9.0.4",
- "semver": "^7.6.0",
- "ts-api-utils": "^2.0.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4 <5.9.0"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/@typescript-eslint/utils": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.31.1.tgz",
- "integrity": "sha512-2DSI4SNfF5T4oRveQ4nUrSjUqjMND0nLq9rEkz0gfGr3tg0S5KB6DhwR+WZPCjzkZl3cH+4x2ce3EsL50FubjQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.4.0",
- "@typescript-eslint/scope-manager": "8.31.1",
- "@typescript-eslint/types": "8.31.1",
- "@typescript-eslint/typescript-estree": "8.31.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.9.0"
- }
- },
- "node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.31.1.tgz",
- "integrity": "sha512-I+/rgqOVBn6f0o7NDTmAPWWC6NuqhV174lfYvAm9fUaWeiefLdux9/YI3/nLugEn9L8fcSi0XmpKi/r5u0nmpw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/types": "8.31.1",
- "eslint-visitor-keys": "^4.2.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@vinejs/compiler": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/@vinejs/compiler/-/compiler-3.0.0.tgz",
- "integrity": "sha512-v9Lsv59nR56+bmy2p0+czjZxsLHwaibJ+SV5iK9JJfehlJMa501jUJQqqz4X/OqKXrxtE3uTQmSqjUqzF3B2mw==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=18.0.0"
- }
- },
- "node_modules/@vinejs/vine": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/@vinejs/vine/-/vine-3.0.1.tgz",
- "integrity": "sha512-ZtvYkYpZOYdvbws3uaOAvTFuvFXoQGAtmzeiXu+XSMGxi5GVsODpoI9Xu9TplEMuD/5fmAtBbKb9cQHkWkLXDQ==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@poppinss/macroable": "^1.0.4",
- "@types/validator": "^13.12.2",
- "@vinejs/compiler": "^3.0.0",
- "camelcase": "^8.0.0",
- "dayjs": "^1.11.13",
- "dlv": "^1.1.3",
- "normalize-url": "^8.0.1",
- "validator": "^13.12.0"
- },
- "engines": {
- "node": ">=18.16.0"
- }
- },
- "node_modules/acorn": {
- "version": "8.14.1",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz",
- "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==",
- "license": "MIT",
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/acorn-jsx": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
- "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
- }
- },
- "node_modules/ajv": {
- "version": "6.12.6",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
- "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "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": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/argparse": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "license": "Python-2.0"
- },
- "node_modules/aria-query": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",
- "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",
- "license": "Apache-2.0",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/arktype": {
- "version": "2.1.20",
- "resolved": "https://registry.npmjs.org/arktype/-/arktype-2.1.20.tgz",
- "integrity": "sha512-IZCEEXaJ8g+Ijd59WtSYwtjnqXiwM8sWQ5EjGamcto7+HVN9eK0C4p0zDlCuAwWhpqr6fIBkxPuYDl4/Mcj/+Q==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@ark/schema": "0.46.0",
- "@ark/util": "0.46.0"
- }
- },
- "node_modules/asn1": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz",
- "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==",
- "license": "MIT",
- "dependencies": {
- "safer-buffer": "~2.1.0"
- }
- },
- "node_modules/axobject-query": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",
- "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",
- "license": "Apache-2.0",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/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"
- }
- ],
- "license": "MIT"
- },
- "node_modules/bcrypt-pbkdf": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
- "integrity": "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w==",
- "license": "BSD-3-Clause",
- "dependencies": {
- "tweetnacl": "^0.14.3"
- }
- },
- "node_modules/bits-ui": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/bits-ui/-/bits-ui-1.4.2.tgz",
- "integrity": "sha512-qFLjpvs79keWidXl7NxH+wuj5CktabN0miEukMf9cpQcmIRw+F/7HSswKpf7NgISRetkAFCihsENfZ6ApCZZAA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@floating-ui/core": "^1.6.4",
- "@floating-ui/dom": "^1.6.7",
- "@internationalized/date": "^3.5.6",
- "esm-env": "^1.1.2",
- "runed": "^0.23.2",
- "svelte-toolbelt": "^0.7.1",
- "tabbable": "^6.2.0"
- },
- "engines": {
- "node": ">=18",
- "pnpm": ">=8.7.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/huntabyte"
- },
- "peerDependencies": {
- "svelte": "^5.11.0"
- }
- },
- "node_modules/bits-ui/node_modules/runed": {
- "version": "0.23.4",
- "resolved": "https://registry.npmjs.org/runed/-/runed-0.23.4.tgz",
- "integrity": "sha512-9q8oUiBYeXIDLWNK5DfCWlkL0EW3oGbk845VdKlPeia28l751VpfesaB/+7pI6rnbx1I6rqoZ2fZxptOJLxILA==",
- "dev": true,
- "funding": [
- "https://github.com/sponsors/huntabyte",
- "https://github.com/sponsors/tglide"
- ],
- "dependencies": {
- "esm-env": "^1.0.0"
- },
- "peerDependencies": {
- "svelte": "^5.7.0"
- }
- },
- "node_modules/bl": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
- "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
- "license": "MIT",
- "dependencies": {
- "buffer": "^5.5.0",
- "inherits": "^2.0.4",
- "readable-stream": "^3.4.0"
- }
- },
- "node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/braces": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
- "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fill-range": "^7.1.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/buffer": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
- "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "base64-js": "^1.3.1",
- "ieee754": "^1.1.13"
- }
- },
- "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",
- "optional": true
- },
- "node_modules/buildcheck": {
- "version": "0.0.6",
- "resolved": "https://registry.npmjs.org/buildcheck/-/buildcheck-0.0.6.tgz",
- "integrity": "sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A==",
- "optional": true,
- "engines": {
- "node": ">=10.0.0"
- }
- },
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/camelcase": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-8.0.0.tgz",
- "integrity": "sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=16"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/chokidar": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",
- "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "readdirp": "^4.0.1"
- },
- "engines": {
- "node": ">= 14.16.0"
- },
- "funding": {
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/chownr": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
- "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
- "license": "ISC"
- },
- "node_modules/class-validator": {
- "version": "0.14.1",
- "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.14.1.tgz",
- "integrity": "sha512-2VEG9JICxIqTpoK1eMzZqaV+u/EiwEJkMGzTrZf6sU/fwsnOITVgYJ8yojSy6CaXtO9V0Cc6ZQZ8h8m4UBuLwQ==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@types/validator": "^13.11.8",
- "libphonenumber-js": "^1.10.53",
- "validator": "^13.9.0"
- }
- },
- "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==",
- "license": "ISC",
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/clsx": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
- "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/cluster-key-slot": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz",
- "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==",
- "license": "Apache-2.0",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/codemirror": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz",
- "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==",
- "license": "MIT",
- "dependencies": {
- "@codemirror/autocomplete": "^6.0.0",
- "@codemirror/commands": "^6.0.0",
- "@codemirror/language": "^6.0.0",
- "@codemirror/lint": "^6.0.0",
- "@codemirror/search": "^6.0.0",
- "@codemirror/state": "^6.0.0",
- "@codemirror/view": "^6.0.0"
- }
- },
- "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": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "license": "MIT"
- },
- "node_modules/commondir": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
- "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/concat-map": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/cookie": {
- "version": "0.6.0",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
- "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cpu-features": {
- "version": "0.0.10",
- "resolved": "https://registry.npmjs.org/cpu-features/-/cpu-features-0.0.10.tgz",
- "integrity": "sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA==",
- "hasInstallScript": true,
- "optional": true,
- "dependencies": {
- "buildcheck": "~0.0.6",
- "nan": "^2.19.0"
- },
- "engines": {
- "node": ">=10.0.0"
- }
- },
- "node_modules/crelt": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz",
- "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==",
- "license": "MIT"
- },
- "node_modules/cross-spawn": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/cssesc": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
- "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "cssesc": "bin/cssesc"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/dayjs": {
- "version": "1.11.13",
- "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",
- "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/debug": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
- "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
- "license": "MIT",
- "dependencies": {
- "ms": "^2.1.3"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/deep-is": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/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": ">=0.10.0"
- }
- },
- "node_modules/detect-libc": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
- "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/devalue": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.1.1.tgz",
- "integrity": "sha512-maua5KUiapvEwiEAe+XnlZ3Rh0GD+qI1J/nb9vrJc3muPXvcF/8gXYTWF76+5DAqHyDUtOIImEuo0YKE9mshVw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/dlv": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
- "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/docker-modem": {
- "version": "5.0.6",
- "resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-5.0.6.tgz",
- "integrity": "sha512-ens7BiayssQz/uAxGzH8zGXCtiV24rRWXdjNha5V4zSOcxmAZsfGVm/PPFbwQdqEkDnhG+SyR9E3zSHUbOKXBQ==",
- "license": "Apache-2.0",
- "dependencies": {
- "debug": "^4.1.1",
- "readable-stream": "^3.5.0",
- "split-ca": "^1.0.1",
- "ssh2": "^1.15.0"
- },
- "engines": {
- "node": ">= 8.0"
- }
- },
- "node_modules/dockerode": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/dockerode/-/dockerode-4.0.6.tgz",
- "integrity": "sha512-FbVf3Z8fY/kALB9s+P9epCpWhfi/r0N2DgYYcYpsAUlaTxPjdsitsFobnltb+lyCgAIvf9C+4PSWlTnHlJMf1w==",
- "license": "Apache-2.0",
- "dependencies": {
- "@balena/dockerignore": "^1.0.2",
- "@grpc/grpc-js": "^1.11.1",
- "@grpc/proto-loader": "^0.7.13",
- "docker-modem": "^5.0.6",
- "protobufjs": "^7.3.2",
- "tar-fs": "~2.1.2",
- "uuid": "^10.0.0"
- },
- "engines": {
- "node": ">= 8.0"
- }
- },
- "node_modules/dockerode-compose": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/dockerode-compose/-/dockerode-compose-1.4.0.tgz",
- "integrity": "sha512-6x5ZlK06H+cgoTR4ffucqN5kWVvxNvxwTLcHQUZcegCJBEDGrdzXMOEGDMsxbHwiLtLo2dNwG0eZK7B2RfEWSw==",
- "license": "Apache-2.0",
- "dependencies": {
- "dockerode": "^4.0.0",
- "js-yaml": "^4.0.0",
- "tar-fs": "^2.1.1"
- }
- },
- "node_modules/effect": {
- "version": "3.14.11",
- "resolved": "https://registry.npmjs.org/effect/-/effect-3.14.11.tgz",
- "integrity": "sha512-PPfiu7QRtmmrgH6VWZp/rY1S8SSLJofx5betRuTPGG868G3f0C7yvPOa6SZPLG5ra2yCd1Vfm7cdeI26ZVGGlA==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@standard-schema/spec": "^1.0.0",
- "fast-check": "^3.23.1"
- }
- },
- "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==",
- "license": "MIT"
- },
- "node_modules/end-of-stream": {
- "version": "1.4.4",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
- "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
- "license": "MIT",
- "dependencies": {
- "once": "^1.4.0"
- }
- },
- "node_modules/enhanced-resolve": {
- "version": "5.18.1",
- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.1.tgz",
- "integrity": "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "graceful-fs": "^4.2.4",
- "tapable": "^2.2.0"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/esbuild": {
- "version": "0.25.2",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.2.tgz",
- "integrity": "sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
- "bin": {
- "esbuild": "bin/esbuild"
- },
- "engines": {
- "node": ">=18"
- },
- "optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.2",
- "@esbuild/android-arm": "0.25.2",
- "@esbuild/android-arm64": "0.25.2",
- "@esbuild/android-x64": "0.25.2",
- "@esbuild/darwin-arm64": "0.25.2",
- "@esbuild/darwin-x64": "0.25.2",
- "@esbuild/freebsd-arm64": "0.25.2",
- "@esbuild/freebsd-x64": "0.25.2",
- "@esbuild/linux-arm": "0.25.2",
- "@esbuild/linux-arm64": "0.25.2",
- "@esbuild/linux-ia32": "0.25.2",
- "@esbuild/linux-loong64": "0.25.2",
- "@esbuild/linux-mips64el": "0.25.2",
- "@esbuild/linux-ppc64": "0.25.2",
- "@esbuild/linux-riscv64": "0.25.2",
- "@esbuild/linux-s390x": "0.25.2",
- "@esbuild/linux-x64": "0.25.2",
- "@esbuild/netbsd-arm64": "0.25.2",
- "@esbuild/netbsd-x64": "0.25.2",
- "@esbuild/openbsd-arm64": "0.25.2",
- "@esbuild/openbsd-x64": "0.25.2",
- "@esbuild/sunos-x64": "0.25.2",
- "@esbuild/win32-arm64": "0.25.2",
- "@esbuild/win32-ia32": "0.25.2",
- "@esbuild/win32-x64": "0.25.2"
- }
- },
- "node_modules/esbuild-runner": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/esbuild-runner/-/esbuild-runner-2.2.2.tgz",
- "integrity": "sha512-fRFVXcmYVmSmtYm2mL8RlUASt2TDkGh3uRcvHFOKNr/T58VrfVeKD9uT9nlgxk96u0LS0ehS/GY7Da/bXWKkhw==",
- "dev": true,
- "license": "Apache License 2.0",
- "optional": true,
- "dependencies": {
- "source-map-support": "0.5.21",
- "tslib": "2.4.0"
- },
- "bin": {
- "esr": "bin/esr.js"
- },
- "peerDependencies": {
- "esbuild": "*"
- }
- },
- "node_modules/esbuild-runner/node_modules/tslib": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
- "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==",
- "dev": true,
- "license": "0BSD",
- "optional": true
- },
- "node_modules/escalade": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
- "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-string-regexp": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/eslint": {
- "version": "9.25.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.25.1.tgz",
- "integrity": "sha512-E6Mtz9oGQWDCpV12319d59n4tx9zOTXSTmc8BLVxBx+G/0RdM5MvEEJLU9c0+aleoePYYgVTOsRblx433qmhWQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.12.1",
- "@eslint/config-array": "^0.20.0",
- "@eslint/config-helpers": "^0.2.1",
- "@eslint/core": "^0.13.0",
- "@eslint/eslintrc": "^3.3.1",
- "@eslint/js": "9.25.1",
- "@eslint/plugin-kit": "^0.2.8",
- "@humanfs/node": "^0.16.6",
- "@humanwhocodes/module-importer": "^1.0.1",
- "@humanwhocodes/retry": "^0.4.2",
- "@types/estree": "^1.0.6",
- "@types/json-schema": "^7.0.15",
- "ajv": "^6.12.4",
- "chalk": "^4.0.0",
- "cross-spawn": "^7.0.6",
- "debug": "^4.3.2",
- "escape-string-regexp": "^4.0.0",
- "eslint-scope": "^8.3.0",
- "eslint-visitor-keys": "^4.2.0",
- "espree": "^10.3.0",
- "esquery": "^1.5.0",
- "esutils": "^2.0.2",
- "fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^8.0.0",
- "find-up": "^5.0.0",
- "glob-parent": "^6.0.2",
- "ignore": "^5.2.0",
- "imurmurhash": "^0.1.4",
- "is-glob": "^4.0.0",
- "json-stable-stringify-without-jsonify": "^1.0.1",
- "lodash.merge": "^4.6.2",
- "minimatch": "^3.1.2",
- "natural-compare": "^1.4.0",
- "optionator": "^0.9.3"
- },
- "bin": {
- "eslint": "bin/eslint.js"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://eslint.org/donate"
- },
- "peerDependencies": {
- "jiti": "*"
- },
- "peerDependenciesMeta": {
- "jiti": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-plugin-svelte": {
- "version": "3.5.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.5.1.tgz",
- "integrity": "sha512-Qn1slddZHfqYiDO6IN8/iN3YL+VuHlgYjm30FT+hh0Jf/TX0jeZMTJXQMajFm5f6f6hURi+XO8P+NPYD+T4jkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.4.1",
- "@jridgewell/sourcemap-codec": "^1.5.0",
- "esutils": "^2.0.3",
- "known-css-properties": "^0.35.0",
- "postcss": "^8.4.49",
- "postcss-load-config": "^3.1.4",
- "postcss-safe-parser": "^7.0.0",
- "semver": "^7.6.3",
- "svelte-eslint-parser": "^1.1.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ota-meshi"
- },
- "peerDependencies": {
- "eslint": "^8.57.1 || ^9.0.0",
- "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0"
- },
- "peerDependenciesMeta": {
- "svelte": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-scope": {
- "version": "8.3.0",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.3.0.tgz",
- "integrity": "sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ==",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "esrecurse": "^4.3.0",
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/eslint-visitor-keys": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
- "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
- "dev": true,
- "license": "Apache-2.0",
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/esm-env": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.2.2.tgz",
- "integrity": "sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==",
- "license": "MIT"
- },
- "node_modules/espree": {
- "version": "10.3.0",
- "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz",
- "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "acorn": "^8.14.0",
- "acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^4.2.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/esquery": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
- "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
- "dev": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "estraverse": "^5.1.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/esrap": {
- "version": "1.4.6",
- "resolved": "https://registry.npmjs.org/esrap/-/esrap-1.4.6.tgz",
- "integrity": "sha512-F/D2mADJ9SHY3IwksD4DAXjTt7qt7GWUf3/8RhCNWmC/67tyb55dpimHmy7EplakFaflV0R/PC+fdSPqrRHAQw==",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.4.15"
- }
- },
- "node_modules/esrecurse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/estraverse": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/estree-walker": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
- "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fast-check": {
- "version": "3.23.2",
- "resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.23.2.tgz",
- "integrity": "sha512-h5+1OzzfCC3Ef7VbtKdcv7zsstUQwUDlYpUTvjeUsJAssPgLn7QzbboPtL5ro04Mq0rPOsMzl7q5hIbRs2wD1A==",
- "dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/dubzzz"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/fast-check"
- }
- ],
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "pure-rand": "^6.1.0"
- },
- "engines": {
- "node": ">=8.0.0"
- }
- },
- "node_modules/fast-deep-equal": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/fast-glob": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
- "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.8"
- },
- "engines": {
- "node": ">=8.6.0"
- }
- },
- "node_modules/fast-glob/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/fast-json-stable-stringify": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/fast-levenshtein": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/fastq": {
- "version": "1.19.1",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
- "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "reusify": "^1.0.4"
- }
- },
- "node_modules/fdir": {
- "version": "6.4.4",
- "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz",
- "integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "picomatch": "^3 || ^4"
- },
- "peerDependenciesMeta": {
- "picomatch": {
- "optional": true
- }
- }
- },
- "node_modules/file-entry-cache": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
- "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "flat-cache": "^4.0.0"
- },
- "engines": {
- "node": ">=16.0.0"
- }
- },
- "node_modules/fill-range": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
- "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/find-up": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
- "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/flat-cache": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
- "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "flatted": "^3.2.9",
- "keyv": "^4.5.4"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/flatted": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/formsnap": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/formsnap/-/formsnap-2.0.1.tgz",
- "integrity": "sha512-iJSe4YKd/W6WhLwKDVJU9FQeaJRpEFuolhju7ZXlRpUVyDdqFdMP8AUBICgnVvQPyP41IPAlBa/v0Eo35iE6wQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "svelte-toolbelt": "^0.5.0"
- },
- "engines": {
- "node": ">=18",
- "pnpm": ">=8.7.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/huntabyte"
- },
- "peerDependencies": {
- "svelte": "^5.0.0",
- "sveltekit-superforms": "^2.19.0"
- }
- },
- "node_modules/formsnap/node_modules/svelte-toolbelt": {
- "version": "0.5.0",
- "resolved": "https://registry.npmjs.org/svelte-toolbelt/-/svelte-toolbelt-0.5.0.tgz",
- "integrity": "sha512-t3tenZcnfQoIeRuQf/jBU7bvTeT3TGkcEE+1EUr5orp0lR7NEpprflpuie3x9Dn0W9nOKqs3HwKGJeeN5Ok1sQ==",
- "dev": true,
- "funding": [
- "https://github.com/sponsors/huntabyte"
- ],
- "dependencies": {
- "clsx": "^2.1.1",
- "style-to-object": "^1.0.8"
- },
- "engines": {
- "node": ">=18",
- "pnpm": ">=8.7.0"
- },
- "peerDependencies": {
- "svelte": "^5.0.0-next.126"
- }
- },
- "node_modules/fs-constants": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
- "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==",
- "license": "MIT"
- },
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
- "dev": true,
- "license": "MIT",
- "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==",
- "license": "MIT",
- "engines": {
- "node": ">= 4"
- }
- },
- "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==",
- "license": "ISC",
- "engines": {
- "node": "6.* || 8.* || >= 10.*"
- }
- },
- "node_modules/glob-parent": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
- "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/globals": {
- "version": "16.0.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-16.0.0.tgz",
- "integrity": "sha512-iInW14XItCXET01CQFqudPOWP2jYMl7T+QRQT+UNcR/iQncN/F0UNpgd76iFkBPgNQb4+X3LV9tLJYzwh+Gl3A==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "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==",
- "license": "ISC"
- },
- "node_modules/graphemer": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/hasown": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
- "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "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"
- }
- ],
- "license": "BSD-3-Clause"
- },
- "node_modules/ignore": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
- "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/import-fresh": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
- "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/import-meta-resolve": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz",
- "integrity": "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.8.19"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "license": "ISC"
- },
- "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==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/is-core-module": {
- "version": "2.16.1",
- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
- "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "hasown": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-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==",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-module": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
- "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/is-reference": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",
- "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/estree": "*"
- }
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/jiti": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz",
- "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "jiti": "lib/jiti-cli.mjs"
- }
- },
- "node_modules/joi": {
- "version": "17.13.3",
- "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz",
- "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==",
- "dev": true,
- "license": "BSD-3-Clause",
- "optional": true,
- "dependencies": {
- "@hapi/hoek": "^9.3.0",
- "@hapi/topo": "^5.1.0",
- "@sideway/address": "^4.1.5",
- "@sideway/formula": "^3.0.1",
- "@sideway/pinpoint": "^2.0.0"
- }
- },
- "node_modules/js-yaml": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
- "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "license": "MIT",
- "dependencies": {
- "argparse": "^2.0.1"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
- }
- },
- "node_modules/json-buffer": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/json-schema-to-ts": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/json-schema-to-ts/-/json-schema-to-ts-3.1.1.tgz",
- "integrity": "sha512-+DWg8jCJG2TEnpy7kOm/7/AxaYoaRbjVB4LFZLySZlWn8exGs3A4OLJR966cVvU26N7X9TWxl+Jsw7dzAqKT6g==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@babel/runtime": "^7.18.3",
- "ts-algebra": "^2.0.0"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/json-stable-stringify-without-jsonify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/keyv": {
- "version": "4.5.4",
- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "json-buffer": "3.0.1"
- }
- },
- "node_modules/kleur": {
- "version": "4.1.5",
- "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
- "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/known-css-properties": {
- "version": "0.35.0",
- "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.35.0.tgz",
- "integrity": "sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/levn": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "prelude-ls": "^1.2.1",
- "type-check": "~0.4.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/libphonenumber-js": {
- "version": "1.12.7",
- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.7.tgz",
- "integrity": "sha512-0nYZSNj/QEikyhcM5RZFXGlCB/mr4PVamnT1C2sKBnDDTYndrvbybYjvg+PMqAndQHlLbwQ3socolnL3WWTUFA==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/lightningcss": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.29.2.tgz",
- "integrity": "sha512-6b6gd/RUXKaw5keVdSEtqFVdzWnU5jMxTUjA2bVcMNPLwSQ08Sv/UodBVtETLCn7k4S1Ibxwh7k68IwLZPgKaA==",
- "dev": true,
- "license": "MPL-2.0",
- "dependencies": {
- "detect-libc": "^2.0.3"
- },
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- },
- "optionalDependencies": {
- "lightningcss-darwin-arm64": "1.29.2",
- "lightningcss-darwin-x64": "1.29.2",
- "lightningcss-freebsd-x64": "1.29.2",
- "lightningcss-linux-arm-gnueabihf": "1.29.2",
- "lightningcss-linux-arm64-gnu": "1.29.2",
- "lightningcss-linux-arm64-musl": "1.29.2",
- "lightningcss-linux-x64-gnu": "1.29.2",
- "lightningcss-linux-x64-musl": "1.29.2",
- "lightningcss-win32-arm64-msvc": "1.29.2",
- "lightningcss-win32-x64-msvc": "1.29.2"
- }
- },
- "node_modules/lightningcss-darwin-arm64": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.29.2.tgz",
- "integrity": "sha512-cK/eMabSViKn/PG8U/a7aCorpeKLMlK0bQeNHmdb7qUnBkNPnL+oV5DjJUo0kqWsJUapZsM4jCfYItbqBDvlcA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-darwin-x64": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.29.2.tgz",
- "integrity": "sha512-j5qYxamyQw4kDXX5hnnCKMf3mLlHvG44f24Qyi2965/Ycz829MYqjrVg2H8BidybHBp9kom4D7DR5VqCKDXS0w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-freebsd-x64": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.29.2.tgz",
- "integrity": "sha512-wDk7M2tM78Ii8ek9YjnY8MjV5f5JN2qNVO+/0BAGZRvXKtQrBC4/cn4ssQIpKIPP44YXw6gFdpUF+Ps+RGsCwg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-linux-arm-gnueabihf": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.29.2.tgz",
- "integrity": "sha512-IRUrOrAF2Z+KExdExe3Rz7NSTuuJ2HvCGlMKoquK5pjvo2JY4Rybr+NrKnq0U0hZnx5AnGsuFHjGnNT14w26sg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-linux-arm64-gnu": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.29.2.tgz",
- "integrity": "sha512-KKCpOlmhdjvUTX/mBuaKemp0oeDIBBLFiU5Fnqxh1/DZ4JPZi4evEH7TKoSBFOSOV3J7iEmmBaw/8dpiUvRKlQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-linux-arm64-musl": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.29.2.tgz",
- "integrity": "sha512-Q64eM1bPlOOUgxFmoPUefqzY1yV3ctFPE6d/Vt7WzLW4rKTv7MyYNky+FWxRpLkNASTnKQUaiMJ87zNODIrrKQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-linux-x64-gnu": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.29.2.tgz",
- "integrity": "sha512-0v6idDCPG6epLXtBH/RPkHvYx74CVziHo6TMYga8O2EiQApnUPZsbR9nFNrg2cgBzk1AYqEd95TlrsL7nYABQg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-linux-x64-musl": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.29.2.tgz",
- "integrity": "sha512-rMpz2yawkgGT8RULc5S4WiZopVMOFWjiItBT7aSfDX4NQav6M44rhn5hjtkKzB+wMTRlLLqxkeYEtQ3dd9696w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-win32-arm64-msvc": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.29.2.tgz",
- "integrity": "sha512-nL7zRW6evGQqYVu/bKGK+zShyz8OVzsCotFgc7judbt6wnB2KbiKKJwBE4SGoDBQ1O94RjW4asrCjQL4i8Fhbw==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lightningcss-win32-x64-msvc": {
- "version": "1.29.2",
- "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.29.2.tgz",
- "integrity": "sha512-EdIUW3B2vLuHmv7urfzMI/h2fmlnOQBk1xlsDxkN1tCWKjNFjfLhGxYk8C8mzpSfr+A6jFFIi8fU6LbQGsRWjA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MPL-2.0",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">= 12.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/parcel"
- }
- },
- "node_modules/lilconfig": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz",
- "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/locate-character": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz",
- "integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==",
- "license": "MIT"
- },
- "node_modules/locate-path": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "p-locate": "^5.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/lodash.camelcase": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
- "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==",
- "license": "MIT"
- },
- "node_modules/lodash.merge": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/long": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz",
- "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==",
- "license": "Apache-2.0"
- },
- "node_modules/magic-string": {
- "version": "0.30.17",
- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz",
- "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/sourcemap-codec": "^1.5.0"
- }
- },
- "node_modules/memoize-weak": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/memoize-weak/-/memoize-weak-1.0.2.tgz",
- "integrity": "sha512-gj39xkrjEw7nCn4nJ1M5ms6+MyMlyiGmttzsqAUsAKn6bYKwuTHh/AO3cKPF8IBrTIYTxb0wWXFs3E//Y8VoWQ==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/merge2": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
- "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/micromatch": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "braces": "^3.0.3",
- "picomatch": "^2.3.1"
- },
- "engines": {
- "node": ">=8.6"
- }
- },
- "node_modules/micromatch/node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/mkdirp-classic": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
- "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==",
- "license": "MIT"
- },
- "node_modules/mode-watcher": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/mode-watcher/-/mode-watcher-1.0.2.tgz",
- "integrity": "sha512-b3ghU4F4kZeRHHPlsVeCltBgYRHNr7HNyT9JTlvIIvuob7Vulu7iKCfaKNU4FGugBIFWyK5q4bDhqCeZy3Cuxw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "runed": "^0.25.0",
- "svelte-toolbelt": "^0.7.1"
- },
- "peerDependencies": {
- "svelte": "^5.27.0"
- }
- },
- "node_modules/mri": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
- "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/mrmime": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz",
- "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "license": "MIT"
- },
- "node_modules/nan": {
- "version": "2.22.2",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.22.2.tgz",
- "integrity": "sha512-DANghxFkS1plDdRsX0X9pm0Z6SJNN6gBdtXfanwoZ8hooC5gosGFSBGRYHUVPz1asKA/kMRqDRdHrluZ61SpBQ==",
- "license": "MIT",
- "optional": true
- },
- "node_modules/nanoid": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.1.5.tgz",
- "integrity": "sha512-Ir/+ZpE9fDsNH0hQ3C68uyThDXzYcim2EqcZ8zn8Chtt1iylPT9xXJB0kPCnqzgcEGikO9RxSrh63MsmVCU7Fw==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "bin": {
- "nanoid": "bin/nanoid.js"
- },
- "engines": {
- "node": "^18 || >=20"
- }
- },
- "node_modules/natural-compare": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/normalize-url": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz",
- "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=14.16"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/once": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
- "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
- "license": "ISC",
- "dependencies": {
- "wrappy": "1"
- }
- },
- "node_modules/optionator": {
- "version": "0.9.4",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
- "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "deep-is": "^0.1.3",
- "fast-levenshtein": "^2.0.6",
- "levn": "^0.4.1",
- "prelude-ls": "^1.2.1",
- "type-check": "^0.4.0",
- "word-wrap": "^1.2.5"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/p-limit": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
- "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "yocto-queue": "^0.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/p-locate": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
- "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "p-limit": "^3.0.2"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "callsites": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-key": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/picocolors": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
- "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/picomatch": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
- "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/postcss": {
- "version": "8.5.3",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz",
- "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "nanoid": "^3.3.8",
- "picocolors": "^1.1.1",
- "source-map-js": "^1.2.1"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- }
- },
- "node_modules/postcss-load-config": {
- "version": "3.1.4",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz",
- "integrity": "sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "lilconfig": "^2.0.5",
- "yaml": "^1.10.2"
- },
- "engines": {
- "node": ">= 10"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- "peerDependencies": {
- "postcss": ">=8.0.9",
- "ts-node": ">=9.0.0"
- },
- "peerDependenciesMeta": {
- "postcss": {
- "optional": true
- },
- "ts-node": {
- "optional": true
- }
- }
- },
- "node_modules/postcss-load-config/node_modules/yaml": {
- "version": "1.10.2",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz",
- "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
- "dev": true,
- "license": "ISC",
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/postcss-safe-parser": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.1.tgz",
- "integrity": "sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "engines": {
- "node": ">=18.0"
- },
- "peerDependencies": {
- "postcss": "^8.4.31"
- }
- },
- "node_modules/postcss-scss": {
- "version": "4.0.9",
- "resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-4.0.9.tgz",
- "integrity": "sha512-AjKOeiwAitL/MXxQW2DliT28EKukvvbEWx3LBmJIRN8KfBGZbRTxNYW0kSqi1COiTZ57nZ9NW06S6ux//N1c9A==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss-scss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "engines": {
- "node": ">=12.0"
- },
- "peerDependencies": {
- "postcss": "^8.4.29"
- }
- },
- "node_modules/postcss-selector-parser": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.0.tgz",
- "integrity": "sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "cssesc": "^3.0.0",
- "util-deprecate": "^1.0.2"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/postcss/node_modules/nanoid": {
- "version": "3.3.11",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
- "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "bin": {
- "nanoid": "bin/nanoid.cjs"
- },
- "engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
- }
- },
- "node_modules/prelude-ls": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/prettier": {
- "version": "3.5.3",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
- "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
- "license": "MIT",
- "bin": {
- "prettier": "bin/prettier.cjs"
- },
- "engines": {
- "node": ">=14"
- },
- "funding": {
- "url": "https://github.com/prettier/prettier?sponsor=1"
- }
- },
- "node_modules/prettier-plugin-svelte": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.3.3.tgz",
- "integrity": "sha512-yViK9zqQ+H2qZD1w/bH7W8i+bVfKrD8GIFjkFe4Thl6kCT9SlAsXVNmt3jCvQOCsnOhcvYgsoVlRV/Eu6x5nNw==",
- "license": "MIT",
- "peerDependencies": {
- "prettier": "^3.0.0",
- "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0"
- }
- },
- "node_modules/proper-lockfile": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz",
- "integrity": "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==",
- "license": "MIT",
- "dependencies": {
- "graceful-fs": "^4.2.4",
- "retry": "^0.12.0",
- "signal-exit": "^3.0.2"
- }
- },
- "node_modules/property-expr": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.6.tgz",
- "integrity": "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/protobufjs": {
- "version": "7.5.0",
- "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.0.tgz",
- "integrity": "sha512-Z2E/kOY1QjoMlCytmexzYfDm/w5fKAiRwpSzGtdnXW1zC88Z2yXazHHrOtwCzn+7wSxyE8PYM4rvVcMphF9sOA==",
- "hasInstallScript": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "@protobufjs/aspromise": "^1.1.2",
- "@protobufjs/base64": "^1.1.2",
- "@protobufjs/codegen": "^2.0.4",
- "@protobufjs/eventemitter": "^1.1.0",
- "@protobufjs/fetch": "^1.1.0",
- "@protobufjs/float": "^1.0.2",
- "@protobufjs/inquire": "^1.1.0",
- "@protobufjs/path": "^1.1.2",
- "@protobufjs/pool": "^1.1.0",
- "@protobufjs/utf8": "^1.1.0",
- "@types/node": ">=13.7.0",
- "long": "^5.0.0"
- },
- "engines": {
- "node": ">=12.0.0"
- }
- },
- "node_modules/pump": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz",
- "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==",
- "license": "MIT",
- "dependencies": {
- "end-of-stream": "^1.1.0",
- "once": "^1.3.1"
- }
- },
- "node_modules/punycode": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
- "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/pure-rand": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz",
- "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==",
- "dev": true,
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/dubzzz"
- },
- {
- "type": "opencollective",
- "url": "https://opencollective.com/fast-check"
- }
- ],
- "license": "MIT",
- "optional": true
- },
- "node_modules/queue-microtask": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
- "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
- "node_modules/readable-stream": {
- "version": "3.6.2",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
- "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
- "license": "MIT",
- "dependencies": {
- "inherits": "^2.0.3",
- "string_decoder": "^1.1.1",
- "util-deprecate": "^1.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/readdirp": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",
- "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 14.18.0"
- },
- "funding": {
- "type": "individual",
- "url": "https://paulmillr.com/funding/"
- }
- },
- "node_modules/redis": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/redis/-/redis-4.7.0.tgz",
- "integrity": "sha512-zvmkHEAdGMn+hMRXuMBtu4Vo5P6rHQjLoHftu+lBqq8ZTA3RCVC/WzD790bkKKiNFp7d5/9PcSD19fJyyRvOdQ==",
- "license": "MIT",
- "workspaces": [
- "./packages/*"
- ],
- "dependencies": {
- "@redis/bloom": "1.2.0",
- "@redis/client": "1.6.0",
- "@redis/graph": "1.1.1",
- "@redis/json": "1.0.7",
- "@redis/search": "1.2.0",
- "@redis/time-series": "1.1.0"
- }
- },
- "node_modules/regenerator-runtime": {
- "version": "0.14.1",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
- "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "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==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/resolve": {
- "version": "1.22.10",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
- "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "is-core-module": "^2.16.0",
- "path-parse": "^1.0.7",
- "supports-preserve-symlinks-flag": "^1.0.0"
- },
- "bin": {
- "resolve": "bin/resolve"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/retry": {
- "version": "0.12.0",
- "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz",
- "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==",
- "license": "MIT",
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/reusify": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
- "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "iojs": ">=1.0.0",
- "node": ">=0.10.0"
- }
- },
- "node_modules/rollup": {
- "version": "4.40.0",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.0.tgz",
- "integrity": "sha512-Noe455xmA96nnqH5piFtLobsGbCij7Tu+tb3c1vYjNbTkfzGqXqQXG3wJaYXkRZuQ0vEYN4bhwg7QnIrqB5B+w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/estree": "1.0.7"
- },
- "bin": {
- "rollup": "dist/bin/rollup"
- },
- "engines": {
- "node": ">=18.0.0",
- "npm": ">=8.0.0"
- },
- "optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.40.0",
- "@rollup/rollup-android-arm64": "4.40.0",
- "@rollup/rollup-darwin-arm64": "4.40.0",
- "@rollup/rollup-darwin-x64": "4.40.0",
- "@rollup/rollup-freebsd-arm64": "4.40.0",
- "@rollup/rollup-freebsd-x64": "4.40.0",
- "@rollup/rollup-linux-arm-gnueabihf": "4.40.0",
- "@rollup/rollup-linux-arm-musleabihf": "4.40.0",
- "@rollup/rollup-linux-arm64-gnu": "4.40.0",
- "@rollup/rollup-linux-arm64-musl": "4.40.0",
- "@rollup/rollup-linux-loongarch64-gnu": "4.40.0",
- "@rollup/rollup-linux-powerpc64le-gnu": "4.40.0",
- "@rollup/rollup-linux-riscv64-gnu": "4.40.0",
- "@rollup/rollup-linux-riscv64-musl": "4.40.0",
- "@rollup/rollup-linux-s390x-gnu": "4.40.0",
- "@rollup/rollup-linux-x64-gnu": "4.40.0",
- "@rollup/rollup-linux-x64-musl": "4.40.0",
- "@rollup/rollup-win32-arm64-msvc": "4.40.0",
- "@rollup/rollup-win32-ia32-msvc": "4.40.0",
- "@rollup/rollup-win32-x64-msvc": "4.40.0",
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/run-parallel": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
- "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "queue-microtask": "^1.2.2"
- }
- },
- "node_modules/runed": {
- "version": "0.25.0",
- "resolved": "https://registry.npmjs.org/runed/-/runed-0.25.0.tgz",
- "integrity": "sha512-7+ma4AG9FT2sWQEA0Egf6mb7PBT2vHyuHail1ie8ropfSjvZGtEAx8YTmUjv/APCsdRRxEVvArNjALk9zFSOrg==",
- "dev": true,
- "funding": [
- "https://github.com/sponsors/huntabyte",
- "https://github.com/sponsors/tglide"
- ],
- "dependencies": {
- "esm-env": "^1.0.0"
- },
- "peerDependencies": {
- "svelte": "^5.7.0"
- }
- },
- "node_modules/sade": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
- "integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "mri": "^1.1.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/safe-buffer": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
- "license": "MIT"
- },
- "node_modules/semver": {
- "version": "7.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
- "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
- "dev": true,
- "license": "ISC",
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/set-cookie-parser": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz",
- "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/shebang-command": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "shebang-regex": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/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==",
- "license": "ISC"
- },
- "node_modules/sirv": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/sirv/-/sirv-3.0.1.tgz",
- "integrity": "sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@polka/url": "^1.0.0-next.24",
- "mrmime": "^2.0.0",
- "totalist": "^3.0.0"
- },
- "engines": {
- "node": ">=18"
- }
- },
- "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",
- "optional": true,
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/source-map-js": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
- "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
- "dev": true,
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/source-map-support": {
- "version": "0.5.21",
- "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
- "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "buffer-from": "^1.0.0",
- "source-map": "^0.6.0"
- }
- },
- "node_modules/split-ca": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/split-ca/-/split-ca-1.0.1.tgz",
- "integrity": "sha512-Q5thBSxp5t8WPTTJQS59LrGqOZqOsrhDGDVm8azCqIBjSBd7nd9o2PM+mDulQQkh8h//4U6hFZnc/mul8t5pWQ==",
- "license": "ISC"
- },
- "node_modules/ssh2": {
- "version": "1.16.0",
- "resolved": "https://registry.npmjs.org/ssh2/-/ssh2-1.16.0.tgz",
- "integrity": "sha512-r1X4KsBGedJqo7h8F5c4Ybpcr5RjyP+aWIG007uBPRjmdQWfEiVLzSK71Zji1B9sKxwaCvD8y8cwSkYrlLiRRg==",
- "hasInstallScript": true,
- "dependencies": {
- "asn1": "^0.2.6",
- "bcrypt-pbkdf": "^1.0.2"
- },
- "engines": {
- "node": ">=10.16.0"
- },
- "optionalDependencies": {
- "cpu-features": "~0.0.10",
- "nan": "^2.20.0"
- }
- },
- "node_modules/string_decoder": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
- "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "~5.2.0"
- }
- },
- "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==",
- "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/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "license": "MIT",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "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",
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/style-mod": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.2.tgz",
- "integrity": "sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==",
- "license": "MIT"
- },
- "node_modules/style-to-object": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.8.tgz",
- "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "inline-style-parser": "0.2.4"
- }
- },
- "node_modules/superstruct": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/superstruct/-/superstruct-2.0.2.tgz",
- "integrity": "sha512-uV+TFRZdXsqXTL2pRvujROjdZQ4RAlBUS5BTh9IGm+jTqQntYThciG/qu57Gs69yjnVUSqdxF9YLmSnpupBW9A==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/supports-preserve-symlinks-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/svelte": {
- "version": "5.28.2",
- "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.2.tgz",
- "integrity": "sha512-FbWBxgWOpQfhKvoGJv/TFwzqb4EhJbwCD17dB0tEpQiw1XyUEKZJtgm4nA4xq3LLsMo7hu5UY/BOFmroAxKTMg==",
- "license": "MIT",
- "dependencies": {
- "@ampproject/remapping": "^2.3.0",
- "@jridgewell/sourcemap-codec": "^1.5.0",
- "@sveltejs/acorn-typescript": "^1.0.5",
- "@types/estree": "^1.0.5",
- "acorn": "^8.12.1",
- "aria-query": "^5.3.1",
- "axobject-query": "^4.1.0",
- "clsx": "^2.1.1",
- "esm-env": "^1.2.1",
- "esrap": "^1.4.6",
- "is-reference": "^3.0.3",
- "locate-character": "^3.0.0",
- "magic-string": "^0.30.11",
- "zimmerframe": "^1.1.2"
- },
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/svelte-check": {
- "version": "4.1.6",
- "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.1.6.tgz",
- "integrity": "sha512-P7w/6tdSfk3zEVvfsgrp3h3DFC75jCdZjTQvgGJtjPORs1n7/v2VMPIoty3PWv7jnfEm3x0G/p9wH4pecTb0Wg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jridgewell/trace-mapping": "^0.3.25",
- "chokidar": "^4.0.1",
- "fdir": "^6.2.0",
- "picocolors": "^1.0.0",
- "sade": "^1.7.4"
- },
- "bin": {
- "svelte-check": "bin/svelte-check"
- },
- "engines": {
- "node": ">= 18.0.0"
- },
- "peerDependencies": {
- "svelte": "^4.0.0 || ^5.0.0-next.0",
- "typescript": ">=5.0.0"
- }
- },
- "node_modules/svelte-codemirror-editor": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/svelte-codemirror-editor/-/svelte-codemirror-editor-1.4.1.tgz",
- "integrity": "sha512-Pv350iro0Y/AZTT/y2OLaonheQqAwl50Hdfipa2Jv1Z04TSP5kPUyxQnRjqxeRW7DXOX9s5Nd11tHdBl9iYSzw==",
- "license": "MIT",
- "peerDependencies": {
- "codemirror": "^6.0.0",
- "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0"
- }
- },
- "node_modules/svelte-eslint-parser": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-1.1.2.tgz",
- "integrity": "sha512-vqFBRamDKo1l70KMfxxXj1/0Cco5TfMDnqaAjgz6D8PyoMhfMcDOLRkAwPg8WkMyZjMtQL3wW66TZ0x59iqO2w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "eslint-scope": "^8.2.0",
- "eslint-visitor-keys": "^4.0.0",
- "espree": "^10.0.0",
- "postcss": "^8.4.49",
- "postcss-scss": "^4.0.9",
- "postcss-selector-parser": "^7.0.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ota-meshi"
- },
- "peerDependencies": {
- "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0"
- },
- "peerDependenciesMeta": {
- "svelte": {
- "optional": true
- }
- }
- },
- "node_modules/svelte-sonner": {
- "version": "0.3.28",
- "resolved": "https://registry.npmjs.org/svelte-sonner/-/svelte-sonner-0.3.28.tgz",
- "integrity": "sha512-K3AmlySeFifF/cKgsYNv5uXqMVNln0NBAacOYgmkQStLa/UoU0LhfAACU6Gr+YYC8bOCHdVmFNoKuDbMEsppJg==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0-next.1"
- }
- },
- "node_modules/svelte-toolbelt": {
- "version": "0.7.1",
- "resolved": "https://registry.npmjs.org/svelte-toolbelt/-/svelte-toolbelt-0.7.1.tgz",
- "integrity": "sha512-HcBOcR17Vx9bjaOceUvxkY3nGmbBmCBBbuWLLEWO6jtmWH8f/QoWmbyUfQZrpDINH39en1b8mptfPQT9VKQ1xQ==",
- "dev": true,
- "funding": [
- "https://github.com/sponsors/huntabyte"
- ],
- "dependencies": {
- "clsx": "^2.1.1",
- "runed": "^0.23.2",
- "style-to-object": "^1.0.8"
- },
- "engines": {
- "node": ">=18",
- "pnpm": ">=8.7.0"
- },
- "peerDependencies": {
- "svelte": "^5.0.0"
- }
- },
- "node_modules/svelte-toolbelt/node_modules/runed": {
- "version": "0.23.4",
- "resolved": "https://registry.npmjs.org/runed/-/runed-0.23.4.tgz",
- "integrity": "sha512-9q8oUiBYeXIDLWNK5DfCWlkL0EW3oGbk845VdKlPeia28l751VpfesaB/+7pI6rnbx1I6rqoZ2fZxptOJLxILA==",
- "dev": true,
- "funding": [
- "https://github.com/sponsors/huntabyte",
- "https://github.com/sponsors/tglide"
- ],
- "dependencies": {
- "esm-env": "^1.0.0"
- },
- "peerDependencies": {
- "svelte": "^5.7.0"
- }
- },
- "node_modules/svelte/node_modules/is-reference": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.3.tgz",
- "integrity": "sha512-ixkJoqQvAP88E6wLydLGGqCJsrFUnqoH6HnaczB8XmDH1oaWU+xxdptvikTgaEhtZ53Ky6YXiBuUI2WXLMCwjw==",
- "license": "MIT",
- "dependencies": {
- "@types/estree": "^1.0.6"
- }
- },
- "node_modules/sveltekit-superforms": {
- "version": "2.25.0",
- "resolved": "https://registry.npmjs.org/sveltekit-superforms/-/sveltekit-superforms-2.25.0.tgz",
- "integrity": "sha512-QIzoPaoLJKDnMtQIC1XmgBYdZi/n6exU34KhCmxq1dl+kvLC49S2n3DeHUiVnVpVvWc41dgdSEQgzhiJyjlNMg==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ciscoheat"
- },
- {
- "type": "ko-fi",
- "url": "https://ko-fi.com/ciscoheat"
- },
- {
- "type": "paypal",
- "url": "https://www.paypal.com/donate/?hosted_button_id=NY7F5ALHHSVQS"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "devalue": "^5.1.1",
- "memoize-weak": "^1.0.2",
- "ts-deepmerge": "^7.0.2"
- },
- "optionalDependencies": {
- "@exodus/schemasafe": "^1.3.0",
- "@gcornut/valibot-json-schema": "^0.31.0",
- "@sinclair/typebox": "^0.34.28",
- "@typeschema/class-validator": "^0.3.0",
- "@vinejs/vine": "^3.0.0",
- "arktype": "^2.1.9",
- "class-validator": "^0.14.1",
- "effect": "^3.13.7",
- "joi": "^17.13.3",
- "json-schema-to-ts": "^3.1.1",
- "superstruct": "^2.0.2",
- "valibot": "1.0.0-rc.3",
- "yup": "^1.6.1",
- "zod": "^3.24.2",
- "zod-to-json-schema": "^3.24.3"
- },
- "peerDependencies": {
- "@exodus/schemasafe": "^1.3.0",
- "@sinclair/typebox": "^0.34.28",
- "@sveltejs/kit": "1.x || 2.x",
- "@typeschema/class-validator": "^0.3.0",
- "@vinejs/vine": "^1.8.0 || ^2.0.0 || ^3.0.0",
- "arktype": ">=2.0.0-rc.23",
- "class-validator": "^0.14.1",
- "effect": "^3.13.7",
- "joi": "^17.13.1",
- "superstruct": "^2.0.2",
- "svelte": "3.x || 4.x || >=5.0.0-next.51",
- "valibot": ">=1.0.0-rc.3",
- "yup": "^1.4.0",
- "zod": "^3.24.2"
- },
- "peerDependenciesMeta": {
- "@exodus/schemasafe": {
- "optional": true
- },
- "@sinclair/typebox": {
- "optional": true
- },
- "@typeschema/class-validator": {
- "optional": true
- },
- "@vinejs/vine": {
- "optional": true
- },
- "arktype": {
- "optional": true
- },
- "class-validator": {
- "optional": true
- },
- "effect": {
- "optional": true
- },
- "joi": {
- "optional": true
- },
- "superstruct": {
- "optional": true
- },
- "valibot": {
- "optional": true
- },
- "yup": {
- "optional": true
- },
- "zod": {
- "optional": true
- }
- }
- },
- "node_modules/tabbable": {
- "version": "6.2.0",
- "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz",
- "integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/tailwind-merge": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.2.0.tgz",
- "integrity": "sha512-FQT/OVqCD+7edmmJpsgCsY820RTD5AkBryuG5IUqR5YQZSdj5xlH5nLgH7YPths7WsLPSpSBNneJdM8aS8aeFA==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/dcastil"
- }
- },
- "node_modules/tailwind-variants": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/tailwind-variants/-/tailwind-variants-1.0.0.tgz",
- "integrity": "sha512-2WSbv4ulEEyuBKomOunut65D8UZwxrHoRfYnxGcQNnHqlSCp2+B7Yz2W+yrNDrxRodOXtGD/1oCcKGNBnUqMqA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "tailwind-merge": "3.0.2"
- },
- "engines": {
- "node": ">=16.x",
- "pnpm": ">=7.x"
- },
- "peerDependencies": {
- "tailwindcss": "*"
- }
- },
- "node_modules/tailwind-variants/node_modules/tailwind-merge": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.0.2.tgz",
- "integrity": "sha512-l7z+OYZ7mu3DTqrL88RiKrKIqO3NcpEO8V/Od04bNpvk0kiIFndGEoqfuzvj4yuhRkHKjRkII2z+KS2HfPcSxw==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/dcastil"
- }
- },
- "node_modules/tailwindcss": {
- "version": "4.1.4",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.1.4.tgz",
- "integrity": "sha512-1ZIUqtPITFbv/DxRmDr5/agPqJwF69d24m9qmM1939TJehgY539CtzeZRjbLt5G6fSy/7YqqYsfvoTEw9xUI2A==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/tailwindcss-animate": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/tailwindcss-animate/-/tailwindcss-animate-1.0.7.tgz",
- "integrity": "sha512-bl6mpH3T7I3UFxuvDEXLxy/VuFxBk5bbzplh7tXI68mwMokNYd1t9qPBHlnyTwfa4JGC4zP516I1hYYtQ/vspA==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "tailwindcss": ">=3.0.0 || insiders"
- }
- },
- "node_modules/tapable": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",
- "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/tar-fs": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.2.tgz",
- "integrity": "sha512-EsaAXwxmx8UB7FRKqeozqEPop69DXcmYwTQwXvyAPF352HJsPdkVhvTaDPYqfNgruveJIJy3TA2l+2zj8LJIJA==",
- "license": "MIT",
- "dependencies": {
- "chownr": "^1.1.1",
- "mkdirp-classic": "^0.5.2",
- "pump": "^3.0.0",
- "tar-stream": "^2.1.4"
- }
- },
- "node_modules/tar-stream": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
- "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
- "license": "MIT",
- "dependencies": {
- "bl": "^4.0.3",
- "end-of-stream": "^1.4.1",
- "fs-constants": "^1.0.0",
- "inherits": "^2.0.3",
- "readable-stream": "^3.1.1"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/thememirror": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/thememirror/-/thememirror-2.0.1.tgz",
- "integrity": "sha512-d5i6FVvWWPkwrm4cHLI3t9AT1OrkAt7Ig8dtdYSofgF7C/eiyNuq6zQzSTusWTde3jpW9WLvA9J/fzNKMUsd0w==",
- "license": "MIT",
- "peerDependencies": {
- "@codemirror/language": "^6.0.0",
- "@codemirror/state": "^6.0.0",
- "@codemirror/view": "^6.0.0"
- }
- },
- "node_modules/tiny-case": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/tiny-case/-/tiny-case-1.0.3.tgz",
- "integrity": "sha512-Eet/eeMhkO6TX8mnUteS9zgPbUMQa4I6Kkp5ORiBD5476/m+PIRiumP5tmh5ioJpH7k51Kehawy2UDfsnxxY8Q==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/tinyglobby": {
- "version": "0.2.13",
- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz",
- "integrity": "sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fdir": "^6.4.4",
- "picomatch": "^4.0.2"
- },
- "engines": {
- "node": ">=12.0.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/SuperchupuDev"
- }
- },
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/toposort": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz",
- "integrity": "sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/totalist": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz",
- "integrity": "sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/ts-algebra": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ts-algebra/-/ts-algebra-2.0.0.tgz",
- "integrity": "sha512-FPAhNPFMrkwz76P7cdjdmiShwMynZYN6SgOujD1urY4oNm80Ou9oMdmbR45LotcKOXoy7wSmHkRFE6Mxbrhefw==",
- "dev": true,
- "license": "MIT",
- "optional": true
- },
- "node_modules/ts-api-utils": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
- "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18.12"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4"
- }
- },
- "node_modules/ts-deepmerge": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/ts-deepmerge/-/ts-deepmerge-7.0.2.tgz",
- "integrity": "sha512-akcpDTPuez4xzULo5NwuoKwYRtjQJ9eoNfBACiBMaXwNAx7B1PKfe5wqUFJuW5uKzQ68YjDFwPaWHDG1KnFGsA==",
- "dev": true,
- "license": "ISC",
- "engines": {
- "node": ">=14.13.1"
- }
- },
- "node_modules/tslib": {
- "version": "2.8.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
- "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
- "dev": true,
- "license": "0BSD"
- },
- "node_modules/tweetnacl": {
- "version": "0.14.5",
- "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
- "integrity": "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA==",
- "license": "Unlicense"
- },
- "node_modules/type-check": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
- "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "prelude-ls": "^1.2.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/type-fest": {
- "version": "2.19.0",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
- "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==",
- "dev": true,
- "license": "(MIT OR CC0-1.0)",
- "optional": true,
- "engines": {
- "node": ">=12.20"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/typescript": {
- "version": "5.8.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
- "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==",
- "dev": true,
- "license": "Apache-2.0",
- "bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
- },
- "engines": {
- "node": ">=14.17"
- }
- },
- "node_modules/typescript-eslint": {
- "version": "8.31.1",
- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.31.1.tgz",
- "integrity": "sha512-j6DsEotD/fH39qKzXTQRwYYWlt7D+0HmfpOK+DVhwJOFLcdmn92hq3mBb7HlKJHbjjI/gTOqEcc9d6JfpFf/VA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/eslint-plugin": "8.31.1",
- "@typescript-eslint/parser": "8.31.1",
- "@typescript-eslint/utils": "8.31.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.9.0"
- }
- },
- "node_modules/undici-types": {
- "version": "6.21.0",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
- "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
- "license": "MIT"
- },
- "node_modules/uri-js": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
- "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/util-deprecate": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
- "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
- "license": "MIT"
- },
- "node_modules/uuid": {
- "version": "10.0.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz",
- "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==",
- "funding": [
- "https://github.com/sponsors/broofa",
- "https://github.com/sponsors/ctavan"
- ],
- "license": "MIT",
- "bin": {
- "uuid": "dist/bin/uuid"
- }
- },
- "node_modules/valibot": {
- "version": "1.0.0-rc.3",
- "resolved": "https://registry.npmjs.org/valibot/-/valibot-1.0.0-rc.3.tgz",
- "integrity": "sha512-LT0REa7Iqx4QGcaHLiTiTkcmJqJ9QdpOy89HALFFBJgejTS64GQFRIbDF7e4f6pauQbo/myfKGmWXCLhMeM6+g==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "peerDependencies": {
- "typescript": ">=5"
- },
- "peerDependenciesMeta": {
- "typescript": {
- "optional": true
- }
- }
- },
- "node_modules/validator": {
- "version": "13.15.0",
- "resolved": "https://registry.npmjs.org/validator/-/validator-13.15.0.tgz",
- "integrity": "sha512-36B2ryl4+oL5QxZ3AzD0t5SsMNGvTtQHpjgFO5tbNxfXbMFkY822ktCDe1MnlqV3301QQI9SLHDNJokDI+Z9pA==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/vite": {
- "version": "6.3.3",
- "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.3.tgz",
- "integrity": "sha512-5nXH+QsELbFKhsEfWLkHrvgRpTdGJzqOZ+utSdmPTvwHmvU6ITTm3xx+mRusihkcI8GeC7lCDyn3kDtiki9scw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "esbuild": "^0.25.0",
- "fdir": "^6.4.4",
- "picomatch": "^4.0.2",
- "postcss": "^8.5.3",
- "rollup": "^4.34.9",
- "tinyglobby": "^0.2.13"
- },
- "bin": {
- "vite": "bin/vite.js"
- },
- "engines": {
- "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
- },
- "funding": {
- "url": "https://github.com/vitejs/vite?sponsor=1"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.3"
- },
- "peerDependencies": {
- "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
- "jiti": ">=1.21.0",
- "less": "*",
- "lightningcss": "^1.21.0",
- "sass": "*",
- "sass-embedded": "*",
- "stylus": "*",
- "sugarss": "*",
- "terser": "^5.16.0",
- "tsx": "^4.8.1",
- "yaml": "^2.4.2"
- },
- "peerDependenciesMeta": {
- "@types/node": {
- "optional": true
- },
- "jiti": {
- "optional": true
- },
- "less": {
- "optional": true
- },
- "lightningcss": {
- "optional": true
- },
- "sass": {
- "optional": true
- },
- "sass-embedded": {
- "optional": true
- },
- "stylus": {
- "optional": true
- },
- "sugarss": {
- "optional": true
- },
- "terser": {
- "optional": true
- },
- "tsx": {
- "optional": true
- },
- "yaml": {
- "optional": true
- }
- }
- },
- "node_modules/vitefu": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.0.6.tgz",
- "integrity": "sha512-+Rex1GlappUyNN6UfwbVZne/9cYC4+R2XDk9xkNXBKMw6HQagdX9PgZ8V2v1WUSK1wfBLp7qbI1+XSNIlB1xmA==",
- "dev": true,
- "license": "MIT",
- "workspaces": [
- "tests/deps/*",
- "tests/projects/*"
- ],
- "peerDependencies": {
- "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
- },
- "peerDependenciesMeta": {
- "vite": {
- "optional": true
- }
- }
- },
- "node_modules/w3c-keyname": {
- "version": "2.2.8",
- "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",
- "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==",
- "license": "MIT"
- },
- "node_modules/which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "node-which": "bin/node-which"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/word-wrap": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
- "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/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==",
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
- "node_modules/wrappy": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
- "license": "ISC"
- },
- "node_modules/y18n": {
- "version": "5.0.8",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
- "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
- "license": "ISC",
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/yallist": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
- "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
- "license": "ISC"
- },
- "node_modules/yaml": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz",
- "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==",
- "dev": true,
- "license": "ISC",
- "optional": true,
- "peer": true,
- "bin": {
- "yaml": "bin.mjs"
- },
- "engines": {
- "node": ">= 14"
- }
- },
- "node_modules/yargs": {
- "version": "17.7.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
- "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
- "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==",
- "license": "ISC",
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/yocto-queue": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/yup": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/yup/-/yup-1.6.1.tgz",
- "integrity": "sha512-JED8pB50qbA4FOkDol0bYF/p60qSEDQqBD0/qeIrUCG1KbPBIQ776fCUNb9ldbPcSTxA69g/47XTo4TqWiuXOA==",
- "dev": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "property-expr": "^2.0.5",
- "tiny-case": "^1.0.3",
- "toposort": "^2.0.2",
- "type-fest": "^2.19.0"
- }
- },
- "node_modules/zimmerframe": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/zimmerframe/-/zimmerframe-1.1.2.tgz",
- "integrity": "sha512-rAbqEGa8ovJy4pyBxZM70hg4pE6gDgaQ0Sl9M3enG3I0d6H4XSAM3GeNGLKnsBpuijUow064sf7ww1nutC5/3w==",
- "license": "MIT"
- },
- "node_modules/zod": {
- "version": "3.24.3",
- "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.3.tgz",
- "integrity": "sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/colinhacks"
- }
- },
- "node_modules/zod-to-json-schema": {
- "version": "3.24.5",
- "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.5.tgz",
- "integrity": "sha512-/AuWwMP+YqiPbsJx5D6TfgRTc4kTLjsh5SOcd4bLsfUg2RcEXrFMJl1DGgdHy2aCfsIA/cr/1JM0xcB2GZji8g==",
- "dev": true,
- "license": "ISC",
- "optional": true,
- "peerDependencies": {
- "zod": "^3.24.1"
- }
- }
- }
+ "name": "arcane",
+ "version": "0.3.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "arcane",
+ "version": "0.3.0",
+ "dependencies": {
+ "@codemirror/lang-yaml": "^6.1.2",
+ "@tanstack/table-core": "^8.21.3",
+ "bcryptjs": "^3.0.2",
+ "codemirror": "^6.0.1",
+ "dockerode": "^4.0.6",
+ "dockerode-compose": "^1.4.0",
+ "js-yaml": "^4.1.0",
+ "nanoid": "^5.1.5",
+ "prettier": "^3.5.3",
+ "prettier-plugin-svelte": "^3.3.3",
+ "proper-lockfile": "^4.1.2",
+ "svelte-codemirror-editor": "^1.4.1",
+ "thememirror": "^2.0.1"
+ },
+ "devDependencies": {
+ "@eslint/compat": "^1.2.5",
+ "@eslint/js": "^9.18.0",
+ "@lucide/svelte": "^0.503.0",
+ "@sveltejs/adapter-node": "^5.2.12",
+ "@sveltejs/kit": "^2.16.0",
+ "@sveltejs/vite-plugin-svelte": "^5.0.0",
+ "@tailwindcss/vite": "^4.0.0",
+ "@types/bcryptjs": "^2.4.6",
+ "@types/dockerode": "^3.3.38",
+ "@types/dockerode-compose": "^1.4.1",
+ "@types/js-yaml": "^4.0.9",
+ "@types/proper-lockfile": "^4.1.4",
+ "bits-ui": "^1.4.2",
+ "clsx": "^2.1.1",
+ "eslint": "^9.25.1",
+ "eslint-plugin-svelte": "^3.0.0",
+ "formsnap": "^2.0.1",
+ "globals": "^16.0.0",
+ "mode-watcher": "^1.0.2",
+ "svelte": "^5.28.2",
+ "svelte-check": "^4.0.0",
+ "svelte-sonner": "^0.3.28",
+ "sveltekit-superforms": "^2.25.0",
+ "tailwind-merge": "^3.2.0",
+ "tailwind-variants": "^1.0.0",
+ "tailwindcss": "^4.0.0",
+ "tailwindcss-animate": "^1.0.7",
+ "typescript": "^5.5.0",
+ "typescript-eslint": "^8.31.1",
+ "vite": "^6.3.3",
+ "zod": "^3.24.3"
+ }
+ },
+ "node_modules/@ampproject/remapping": {
+ "version": "2.3.0",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@ark/schema": {
+ "version": "0.46.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@ark/util": "0.46.0"
+ }
+ },
+ "node_modules/@ark/util": {
+ "version": "0.46.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.27.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "regenerator-runtime": "^0.14.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@balena/dockerignore": {
+ "version": "1.0.2",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@codemirror/autocomplete": {
+ "version": "6.18.6",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.17.0",
+ "@lezer/common": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/commands": {
+ "version": "6.8.1",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.4.0",
+ "@codemirror/view": "^6.27.0",
+ "@lezer/common": "^1.1.0"
+ }
+ },
+ "node_modules/@codemirror/lang-yaml": {
+ "version": "6.1.2",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.2.0",
+ "@lezer/lr": "^1.0.0",
+ "@lezer/yaml": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/language": {
+ "version": "6.11.0",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.23.0",
+ "@lezer/common": "^1.1.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.0.0",
+ "style-mod": "^4.0.0"
+ }
+ },
+ "node_modules/@codemirror/lint": {
+ "version": "6.8.5",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.35.0",
+ "crelt": "^1.0.5"
+ }
+ },
+ "node_modules/@codemirror/search": {
+ "version": "6.5.10",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0",
+ "crelt": "^1.0.5"
+ }
+ },
+ "node_modules/@codemirror/state": {
+ "version": "6.5.2",
+ "license": "MIT",
+ "dependencies": {
+ "@marijn/find-cluster-break": "^1.0.0"
+ }
+ },
+ "node_modules/@codemirror/view": {
+ "version": "6.36.5",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/state": "^6.5.0",
+ "style-mod": "^4.1.0",
+ "w3c-keyname": "^2.2.4"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.25.2",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.6.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-visitor-keys": "^3.4.3"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.12.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/compat": {
+ "version": "1.2.8",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "peerDependencies": {
+ "eslint": "^9.10.0"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@eslint/config-array": {
+ "version": "0.20.0",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.6",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.2"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.2.1",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.13.0",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "14.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "9.25.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.6",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.2.8",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.13.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@exodus/schemasafe": {
+ "version": "1.3.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@floating-ui/core": {
+ "version": "1.6.9",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/utils": "^0.2.9"
+ }
+ },
+ "node_modules/@floating-ui/dom": {
+ "version": "1.6.13",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/core": "^1.6.0",
+ "@floating-ui/utils": "^0.2.9"
+ }
+ },
+ "node_modules/@floating-ui/utils": {
+ "version": "0.2.9",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@gcornut/valibot-json-schema": {
+ "version": "0.31.0",
+ "dev": true,
+ "optional": true,
+ "dependencies": {
+ "valibot": "~0.31.0"
+ },
+ "bin": {
+ "valibot-json-schema": "bin/index.js"
+ },
+ "optionalDependencies": {
+ "@types/json-schema": ">= 7.0.14",
+ "esbuild": ">= 0.18.20",
+ "esbuild-runner": ">= 2.2.2"
+ }
+ },
+ "node_modules/@gcornut/valibot-json-schema/node_modules/valibot": {
+ "version": "0.31.1",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@grpc/grpc-js": {
+ "version": "1.13.3",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@grpc/proto-loader": "^0.7.13",
+ "@js-sdsl/ordered-map": "^4.4.2"
+ },
+ "engines": {
+ "node": ">=12.10.0"
+ }
+ },
+ "node_modules/@grpc/proto-loader": {
+ "version": "0.7.15",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "lodash.camelcase": "^4.3.0",
+ "long": "^5.0.0",
+ "protobufjs": "^7.2.5",
+ "yargs": "^17.7.2"
+ },
+ "bin": {
+ "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@hapi/hoek": {
+ "version": "9.3.0",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true
+ },
+ "node_modules/@hapi/topo": {
+ "version": "5.1.0",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true,
+ "dependencies": {
+ "@hapi/hoek": "^9.0.0"
+ }
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.6",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.3.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {
+ "version": "0.3.1",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.2",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@internationalized/date": {
+ "version": "3.8.0",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@swc/helpers": "^0.5.0"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.8",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/set-array": "^1.2.1",
+ "@jridgewell/sourcemap-codec": "^1.4.10",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.2",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/set-array": {
+ "version": "1.2.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.5.0",
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.25",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@js-sdsl/ordered-map": {
+ "version": "4.4.2",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/js-sdsl"
+ }
+ },
+ "node_modules/@lezer/common": {
+ "version": "1.2.3",
+ "license": "MIT"
+ },
+ "node_modules/@lezer/highlight": {
+ "version": "1.2.1",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.0.0"
+ }
+ },
+ "node_modules/@lezer/lr": {
+ "version": "1.4.2",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.0.0"
+ }
+ },
+ "node_modules/@lezer/yaml": {
+ "version": "1.0.3",
+ "license": "MIT",
+ "dependencies": {
+ "@lezer/common": "^1.2.0",
+ "@lezer/highlight": "^1.0.0",
+ "@lezer/lr": "^1.4.0"
+ }
+ },
+ "node_modules/@lucide/svelte": {
+ "version": "0.503.0",
+ "dev": true,
+ "license": "ISC",
+ "peerDependencies": {
+ "svelte": "^5"
+ }
+ },
+ "node_modules/@marijn/find-cluster-break": {
+ "version": "1.0.2",
+ "license": "MIT"
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@polka/url": {
+ "version": "1.0.0-next.29",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@poppinss/macroable": {
+ "version": "1.0.4",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=18.16.0"
+ }
+ },
+ "node_modules/@protobufjs/aspromise": {
+ "version": "1.1.2",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/base64": {
+ "version": "1.1.2",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/codegen": {
+ "version": "2.0.4",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/eventemitter": {
+ "version": "1.1.0",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/fetch": {
+ "version": "1.1.0",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@protobufjs/aspromise": "^1.1.1",
+ "@protobufjs/inquire": "^1.1.0"
+ }
+ },
+ "node_modules/@protobufjs/float": {
+ "version": "1.0.2",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/inquire": {
+ "version": "1.1.0",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/path": {
+ "version": "1.1.2",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/pool": {
+ "version": "1.1.0",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@protobufjs/utf8": {
+ "version": "1.1.0",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@rollup/plugin-commonjs": {
+ "version": "28.0.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.1",
+ "commondir": "^1.0.1",
+ "estree-walker": "^2.0.2",
+ "fdir": "^6.2.0",
+ "is-reference": "1.2.1",
+ "magic-string": "^0.30.3",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=16.0.0 || 14 >= 14.17"
+ },
+ "peerDependencies": {
+ "rollup": "^2.68.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-json": {
+ "version": "6.1.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/plugin-node-resolve": {
+ "version": "16.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rollup/pluginutils": "^5.0.1",
+ "@types/resolve": "1.20.2",
+ "deepmerge": "^4.2.2",
+ "is-module": "^1.0.0",
+ "resolve": "^1.22.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^2.78.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/pluginutils": {
+ "version": "5.1.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0",
+ "estree-walker": "^2.0.2",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "rollup": "^1.20.0||^2.0.0||^3.0.0||^4.0.0"
+ },
+ "peerDependenciesMeta": {
+ "rollup": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rollup/rollup-darwin-arm64": {
+ "version": "4.40.0",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@sideway/address": {
+ "version": "4.1.5",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true,
+ "dependencies": {
+ "@hapi/hoek": "^9.0.0"
+ }
+ },
+ "node_modules/@sideway/formula": {
+ "version": "3.0.1",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true
+ },
+ "node_modules/@sideway/pinpoint": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true
+ },
+ "node_modules/@sinclair/typebox": {
+ "version": "0.34.33",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@standard-schema/spec": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@sveltejs/acorn-typescript": {
+ "version": "1.0.5",
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^8.9.0"
+ }
+ },
+ "node_modules/@sveltejs/adapter-node": {
+ "version": "5.2.12",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rollup/plugin-commonjs": "^28.0.1",
+ "@rollup/plugin-json": "^6.1.0",
+ "@rollup/plugin-node-resolve": "^16.0.0",
+ "rollup": "^4.9.5"
+ },
+ "peerDependencies": {
+ "@sveltejs/kit": "^2.4.0"
+ }
+ },
+ "node_modules/@sveltejs/kit": {
+ "version": "2.20.7",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/cookie": "^0.6.0",
+ "cookie": "^0.6.0",
+ "devalue": "^5.1.0",
+ "esm-env": "^1.2.2",
+ "import-meta-resolve": "^4.1.0",
+ "kleur": "^4.1.5",
+ "magic-string": "^0.30.5",
+ "mrmime": "^2.0.0",
+ "sade": "^1.8.1",
+ "set-cookie-parser": "^2.6.0",
+ "sirv": "^3.0.0"
+ },
+ "bin": {
+ "svelte-kit": "svelte-kit.js"
+ },
+ "engines": {
+ "node": ">=18.13"
+ },
+ "peerDependencies": {
+ "@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0",
+ "svelte": "^4.0.0 || ^5.0.0-next.0",
+ "vite": "^5.0.3 || ^6.0.0"
+ }
+ },
+ "node_modules/@sveltejs/vite-plugin-svelte": {
+ "version": "5.0.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@sveltejs/vite-plugin-svelte-inspector": "^4.0.1",
+ "debug": "^4.4.0",
+ "deepmerge": "^4.3.1",
+ "kleur": "^4.1.5",
+ "magic-string": "^0.30.15",
+ "vitefu": "^1.0.4"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22"
+ },
+ "peerDependencies": {
+ "svelte": "^5.0.0",
+ "vite": "^6.0.0"
+ }
+ },
+ "node_modules/@sveltejs/vite-plugin-svelte-inspector": {
+ "version": "4.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.7"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22"
+ },
+ "peerDependencies": {
+ "@sveltejs/vite-plugin-svelte": "^5.0.0",
+ "svelte": "^5.0.0",
+ "vite": "^6.0.0"
+ }
+ },
+ "node_modules/@swc/helpers": {
+ "version": "0.5.17",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "tslib": "^2.8.0"
+ }
+ },
+ "node_modules/@tailwindcss/node": {
+ "version": "4.1.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "enhanced-resolve": "^5.18.1",
+ "jiti": "^2.4.2",
+ "lightningcss": "1.29.2",
+ "tailwindcss": "4.1.4"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.1.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.1.4",
+ "@tailwindcss/oxide-darwin-arm64": "4.1.4",
+ "@tailwindcss/oxide-darwin-x64": "4.1.4",
+ "@tailwindcss/oxide-freebsd-x64": "4.1.4",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.4",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.1.4",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.1.4",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.1.4",
+ "@tailwindcss/oxide-linux-x64-musl": "4.1.4",
+ "@tailwindcss/oxide-wasm32-wasi": "4.1.4",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.1.4",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.1.4"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.1.4",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/vite": {
+ "version": "4.1.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@tailwindcss/node": "4.1.4",
+ "@tailwindcss/oxide": "4.1.4",
+ "tailwindcss": "4.1.4"
+ },
+ "peerDependencies": {
+ "vite": "^5.2.0 || ^6"
+ }
+ },
+ "node_modules/@tanstack/table-core": {
+ "version": "8.21.3",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
+ "node_modules/@types/bcryptjs": {
+ "version": "2.4.6",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/cookie": {
+ "version": "0.6.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/docker-modem": {
+ "version": "3.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*",
+ "@types/ssh2": "*"
+ }
+ },
+ "node_modules/@types/dockerode": {
+ "version": "3.3.38",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/docker-modem": "*",
+ "@types/node": "*",
+ "@types/ssh2": "*"
+ }
+ },
+ "node_modules/@types/dockerode-compose": {
+ "version": "1.4.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/dockerode": "*"
+ }
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.7",
+ "license": "MIT"
+ },
+ "node_modules/@types/js-yaml": {
+ "version": "4.0.9",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "22.14.1",
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~6.21.0"
+ }
+ },
+ "node_modules/@types/proper-lockfile": {
+ "version": "4.1.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/retry": "*"
+ }
+ },
+ "node_modules/@types/resolve": {
+ "version": "1.20.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/retry": {
+ "version": "0.12.5",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/ssh2": {
+ "version": "1.15.5",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "^18.11.18"
+ }
+ },
+ "node_modules/@types/ssh2/node_modules/@types/node": {
+ "version": "18.19.86",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~5.26.4"
+ }
+ },
+ "node_modules/@types/ssh2/node_modules/undici-types": {
+ "version": "5.26.5",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@types/validator": {
+ "version": "13.15.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/@typeschema/class-validator": {
+ "version": "0.3.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@typeschema/core": "0.14.0"
+ },
+ "peerDependencies": {
+ "class-validator": "^0.14.1"
+ },
+ "peerDependenciesMeta": {
+ "class-validator": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@typeschema/core": {
+ "version": "0.14.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "peerDependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "peerDependenciesMeta": {
+ "@types/json-schema": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.10.0",
+ "@typescript-eslint/scope-manager": "8.31.1",
+ "@typescript-eslint/type-utils": "8.31.1",
+ "@typescript-eslint/utils": "8.31.1",
+ "@typescript-eslint/visitor-keys": "8.31.1",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.3.1",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.0.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.31.1",
+ "@typescript-eslint/types": "8.31.1",
+ "@typescript-eslint/typescript-estree": "8.31.1",
+ "@typescript-eslint/visitor-keys": "8.31.1",
+ "debug": "^4.3.4"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.31.1",
+ "@typescript-eslint/visitor-keys": "8.31.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/typescript-estree": "8.31.1",
+ "@typescript-eslint/utils": "8.31.1",
+ "debug": "^4.3.4",
+ "ts-api-utils": "^2.0.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.31.1",
+ "@typescript-eslint/visitor-keys": "8.31.1",
+ "debug": "^4.3.4",
+ "fast-glob": "^3.3.2",
+ "is-glob": "^4.0.3",
+ "minimatch": "^9.0.4",
+ "semver": "^7.6.0",
+ "ts-api-utils": "^2.0.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "2.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "9.0.5",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.4.0",
+ "@typescript-eslint/scope-manager": "8.31.1",
+ "@typescript-eslint/types": "8.31.1",
+ "@typescript-eslint/typescript-estree": "8.31.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.31.1",
+ "eslint-visitor-keys": "^4.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@vinejs/compiler": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
+ "node_modules/@vinejs/vine": {
+ "version": "3.0.1",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@poppinss/macroable": "^1.0.4",
+ "@types/validator": "^13.12.2",
+ "@vinejs/compiler": "^3.0.0",
+ "camelcase": "^8.0.0",
+ "dayjs": "^1.11.13",
+ "dlv": "^1.1.3",
+ "normalize-url": "^8.0.1",
+ "validator": "^13.12.0"
+ },
+ "engines": {
+ "node": ">=18.16.0"
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.14.1",
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "license": "Python-2.0"
+ },
+ "node_modules/aria-query": {
+ "version": "5.3.2",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/arktype": {
+ "version": "2.1.20",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@ark/schema": "0.46.0",
+ "@ark/util": "0.46.0"
+ }
+ },
+ "node_modules/asn1": {
+ "version": "0.2.6",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": "~2.1.0"
+ }
+ },
+ "node_modules/axobject-query": {
+ "version": "4.1.0",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/bcrypt-pbkdf": {
+ "version": "1.0.2",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "tweetnacl": "^0.14.3"
+ }
+ },
+ "node_modules/bcryptjs": {
+ "version": "3.0.2",
+ "license": "BSD-3-Clause",
+ "bin": {
+ "bcrypt": "bin/bcrypt"
+ }
+ },
+ "node_modules/bits-ui": {
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/bits-ui/-/bits-ui-1.4.2.tgz",
+ "integrity": "sha512-qFLjpvs79keWidXl7NxH+wuj5CktabN0miEukMf9cpQcmIRw+F/7HSswKpf7NgISRetkAFCihsENfZ6ApCZZAA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@floating-ui/core": "^1.6.4",
+ "@floating-ui/dom": "^1.6.7",
+ "@internationalized/date": "^3.5.6",
+ "esm-env": "^1.1.2",
+ "runed": "^0.23.2",
+ "svelte-toolbelt": "^0.7.1",
+ "tabbable": "^6.2.0"
+ },
+ "engines": {
+ "node": ">=18",
+ "pnpm": ">=8.7.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/huntabyte"
+ },
+ "peerDependencies": {
+ "svelte": "^5.11.0"
+ }
+ },
+ "node_modules/bits-ui/node_modules/runed": {
+ "version": "0.23.4",
+ "dev": true,
+ "funding": [
+ "https://github.com/sponsors/huntabyte",
+ "https://github.com/sponsors/tglide"
+ ],
+ "dependencies": {
+ "esm-env": "^1.0.0"
+ },
+ "peerDependencies": {
+ "svelte": "^5.7.0"
+ }
+ },
+ "node_modules/bl": {
+ "version": "4.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/buffer": {
+ "version": "5.7.1",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/buffer-from": {
+ "version": "1.1.2",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/buildcheck": {
+ "version": "0.0.6",
+ "optional": true,
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/camelcase": {
+ "version": "8.0.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "4.0.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "readdirp": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 14.16.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/chownr": {
+ "version": "1.1.4",
+ "license": "ISC"
+ },
+ "node_modules/class-validator": {
+ "version": "0.14.1",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@types/validator": "^13.11.8",
+ "libphonenumber-js": "^1.10.53",
+ "validator": "^13.9.0"
+ }
+ },
+ "node_modules/cliui": {
+ "version": "8.0.1",
+ "license": "ISC",
+ "dependencies": {
+ "string-width": "^4.2.0",
+ "strip-ansi": "^6.0.1",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/codemirror": {
+ "version": "6.0.1",
+ "license": "MIT",
+ "dependencies": {
+ "@codemirror/autocomplete": "^6.0.0",
+ "@codemirror/commands": "^6.0.0",
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/lint": "^6.0.0",
+ "@codemirror/search": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "license": "MIT"
+ },
+ "node_modules/commondir": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cookie": {
+ "version": "0.6.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/cpu-features": {
+ "version": "0.0.10",
+ "hasInstallScript": true,
+ "optional": true,
+ "dependencies": {
+ "buildcheck": "~0.0.6",
+ "nan": "^2.19.0"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/crelt": {
+ "version": "1.0.6",
+ "license": "MIT"
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/dayjs": {
+ "version": "1.11.13",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/debug": {
+ "version": "4.4.0",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/deepmerge": {
+ "version": "4.3.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.0.3",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/devalue": {
+ "version": "5.1.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/docker-modem": {
+ "version": "5.0.6",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "debug": "^4.1.1",
+ "readable-stream": "^3.5.0",
+ "split-ca": "^1.0.1",
+ "ssh2": "^1.15.0"
+ },
+ "engines": {
+ "node": ">= 8.0"
+ }
+ },
+ "node_modules/dockerode": {
+ "version": "4.0.6",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@balena/dockerignore": "^1.0.2",
+ "@grpc/grpc-js": "^1.11.1",
+ "@grpc/proto-loader": "^0.7.13",
+ "docker-modem": "^5.0.6",
+ "protobufjs": "^7.3.2",
+ "tar-fs": "~2.1.2",
+ "uuid": "^10.0.0"
+ },
+ "engines": {
+ "node": ">= 8.0"
+ }
+ },
+ "node_modules/dockerode-compose": {
+ "version": "1.4.0",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "dockerode": "^4.0.0",
+ "js-yaml": "^4.0.0",
+ "tar-fs": "^2.1.1"
+ }
+ },
+ "node_modules/effect": {
+ "version": "3.14.11",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@standard-schema/spec": "^1.0.0",
+ "fast-check": "^3.23.1"
+ }
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "license": "MIT"
+ },
+ "node_modules/end-of-stream": {
+ "version": "1.4.4",
+ "license": "MIT",
+ "dependencies": {
+ "once": "^1.4.0"
+ }
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.18.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.25.2",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "optionalDependencies": {
+ "@esbuild/aix-ppc64": "0.25.2",
+ "@esbuild/android-arm": "0.25.2",
+ "@esbuild/android-arm64": "0.25.2",
+ "@esbuild/android-x64": "0.25.2",
+ "@esbuild/darwin-arm64": "0.25.2",
+ "@esbuild/darwin-x64": "0.25.2",
+ "@esbuild/freebsd-arm64": "0.25.2",
+ "@esbuild/freebsd-x64": "0.25.2",
+ "@esbuild/linux-arm": "0.25.2",
+ "@esbuild/linux-arm64": "0.25.2",
+ "@esbuild/linux-ia32": "0.25.2",
+ "@esbuild/linux-loong64": "0.25.2",
+ "@esbuild/linux-mips64el": "0.25.2",
+ "@esbuild/linux-ppc64": "0.25.2",
+ "@esbuild/linux-riscv64": "0.25.2",
+ "@esbuild/linux-s390x": "0.25.2",
+ "@esbuild/linux-x64": "0.25.2",
+ "@esbuild/netbsd-arm64": "0.25.2",
+ "@esbuild/netbsd-x64": "0.25.2",
+ "@esbuild/openbsd-arm64": "0.25.2",
+ "@esbuild/openbsd-x64": "0.25.2",
+ "@esbuild/sunos-x64": "0.25.2",
+ "@esbuild/win32-arm64": "0.25.2",
+ "@esbuild/win32-ia32": "0.25.2",
+ "@esbuild/win32-x64": "0.25.2"
+ }
+ },
+ "node_modules/esbuild-runner": {
+ "version": "2.2.2",
+ "dev": true,
+ "license": "Apache License 2.0",
+ "optional": true,
+ "dependencies": {
+ "source-map-support": "0.5.21",
+ "tslib": "2.4.0"
+ },
+ "bin": {
+ "esr": "bin/esr.js"
+ },
+ "peerDependencies": {
+ "esbuild": "*"
+ }
+ },
+ "node_modules/esbuild-runner/node_modules/tslib": {
+ "version": "2.4.0",
+ "dev": true,
+ "license": "0BSD",
+ "optional": true
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.25.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.20.0",
+ "@eslint/config-helpers": "^0.2.1",
+ "@eslint/core": "^0.13.0",
+ "@eslint/eslintrc": "^3.3.1",
+ "@eslint/js": "9.25.1",
+ "@eslint/plugin-kit": "^0.2.8",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "@types/json-schema": "^7.0.15",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.3.0",
+ "eslint-visitor-keys": "^4.2.0",
+ "espree": "^10.3.0",
+ "esquery": "^1.5.0",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^8.0.0",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-plugin-svelte": {
+ "version": "3.5.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.4.1",
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "esutils": "^2.0.3",
+ "known-css-properties": "^0.35.0",
+ "postcss": "^8.4.49",
+ "postcss-load-config": "^3.1.4",
+ "postcss-safe-parser": "^7.0.0",
+ "semver": "^7.6.3",
+ "svelte-eslint-parser": "^1.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ota-meshi"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.1 || ^9.0.0",
+ "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "svelte": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.3.0",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "4.2.0",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esm-env": {
+ "version": "1.2.2",
+ "license": "MIT"
+ },
+ "node_modules/espree": {
+ "version": "10.3.0",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.14.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.6.0",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrap": {
+ "version": "1.4.6",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.4.15"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "2.0.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fast-check": {
+ "version": "3.23.2",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/dubzzz"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ ],
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "pure-rand": "^6.1.0"
+ },
+ "engines": {
+ "node": ">=8.0.0"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fastq": {
+ "version": "1.19.1",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.4.4",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/file-entry-cache": {
+ "version": "8.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flat-cache": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.1.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "4.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.4"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.3.3",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/formsnap": {
+ "version": "2.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "svelte-toolbelt": "^0.5.0"
+ },
+ "engines": {
+ "node": ">=18",
+ "pnpm": ">=8.7.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/huntabyte"
+ },
+ "peerDependencies": {
+ "svelte": "^5.0.0",
+ "sveltekit-superforms": "^2.19.0"
+ }
+ },
+ "node_modules/formsnap/node_modules/svelte-toolbelt": {
+ "version": "0.5.0",
+ "dev": true,
+ "funding": [
+ "https://github.com/sponsors/huntabyte"
+ ],
+ "dependencies": {
+ "clsx": "^2.1.1",
+ "style-to-object": "^1.0.8"
+ },
+ "engines": {
+ "node": ">=18",
+ "pnpm": ">=8.7.0"
+ },
+ "peerDependencies": {
+ "svelte": "^5.0.0-next.126"
+ }
+ },
+ "node_modules/fs-constants": {
+ "version": "1.0.0",
+ "license": "MIT"
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-caller-file": {
+ "version": "2.0.5",
+ "license": "ISC",
+ "engines": {
+ "node": "6.* || 8.* || >= 10.*"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/globals": {
+ "version": "16.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "license": "ISC"
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ieee754": {
+ "version": "1.2.1",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/ignore": {
+ "version": "5.3.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/import-meta-resolve": {
+ "version": "4.1.0",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "license": "ISC"
+ },
+ "node_modules/inline-style-parser": {
+ "version": "0.2.4",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-core-module": {
+ "version": "2.16.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-module": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-reference": {
+ "version": "1.2.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/jiti": {
+ "version": "2.4.2",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jiti": "lib/jiti-cli.mjs"
+ }
+ },
+ "node_modules/joi": {
+ "version": "17.13.3",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true,
+ "dependencies": {
+ "@hapi/hoek": "^9.3.0",
+ "@hapi/topo": "^5.1.0",
+ "@sideway/address": "^4.1.5",
+ "@sideway/formula": "^3.0.1",
+ "@sideway/pinpoint": "^2.0.0"
+ }
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-to-ts": {
+ "version": "3.1.1",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "ts-algebra": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/kleur": {
+ "version": "4.1.5",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/known-css-properties": {
+ "version": "0.35.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/libphonenumber-js": {
+ "version": "1.12.7",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/lightningcss": {
+ "version": "1.29.2",
+ "dev": true,
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-darwin-arm64": "1.29.2",
+ "lightningcss-darwin-x64": "1.29.2",
+ "lightningcss-freebsd-x64": "1.29.2",
+ "lightningcss-linux-arm-gnueabihf": "1.29.2",
+ "lightningcss-linux-arm64-gnu": "1.29.2",
+ "lightningcss-linux-arm64-musl": "1.29.2",
+ "lightningcss-linux-x64-gnu": "1.29.2",
+ "lightningcss-linux-x64-musl": "1.29.2",
+ "lightningcss-win32-arm64-msvc": "1.29.2",
+ "lightningcss-win32-x64-msvc": "1.29.2"
+ }
+ },
+ "node_modules/lightningcss-darwin-arm64": {
+ "version": "1.29.2",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lilconfig": {
+ "version": "2.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/locate-character": {
+ "version": "3.0.0",
+ "license": "MIT"
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.camelcase": {
+ "version": "4.3.0",
+ "license": "MIT"
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/long": {
+ "version": "5.3.2",
+ "license": "Apache-2.0"
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.17",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0"
+ }
+ },
+ "node_modules/memoize-weak": {
+ "version": "1.0.2",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.8",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "braces": "^3.0.3",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/micromatch/node_modules/picomatch": {
+ "version": "2.3.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/mkdirp-classic": {
+ "version": "0.5.3",
+ "license": "MIT"
+ },
+ "node_modules/mode-watcher": {
+ "version": "1.0.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "runed": "^0.25.0",
+ "svelte-toolbelt": "^0.7.1"
+ },
+ "peerDependencies": {
+ "svelte": "^5.27.0"
+ }
+ },
+ "node_modules/mri": {
+ "version": "1.2.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/mrmime": {
+ "version": "2.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.3",
+ "license": "MIT"
+ },
+ "node_modules/nan": {
+ "version": "2.22.2",
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/nanoid": {
+ "version": "5.1.5",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.js"
+ },
+ "engines": {
+ "node": "^18 || >=20"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/normalize-url": {
+ "version": "8.0.1",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=14.16"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "license": "ISC",
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.3",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.8",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "3.1.4",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^2.0.5",
+ "yaml": "^1.10.2"
+ },
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ "peerDependencies": {
+ "postcss": ">=8.0.9",
+ "ts-node": ">=9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "postcss": {
+ "optional": true
+ },
+ "ts-node": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/postcss-load-config/node_modules/yaml": {
+ "version": "1.10.2",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/postcss-safe-parser": {
+ "version": "7.0.1",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss-safe-parser"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.31"
+ }
+ },
+ "node_modules/postcss-scss": {
+ "version": "4.0.9",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss-scss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.29"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "7.1.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss/node_modules/nanoid": {
+ "version": "3.3.11",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/prettier": {
+ "version": "3.5.3",
+ "license": "MIT",
+ "bin": {
+ "prettier": "bin/prettier.cjs"
+ },
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/prettier/prettier?sponsor=1"
+ }
+ },
+ "node_modules/prettier-plugin-svelte": {
+ "version": "3.3.3",
+ "license": "MIT",
+ "peerDependencies": {
+ "prettier": "^3.0.0",
+ "svelte": "^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0"
+ }
+ },
+ "node_modules/proper-lockfile": {
+ "version": "4.1.2",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "retry": "^0.12.0",
+ "signal-exit": "^3.0.2"
+ }
+ },
+ "node_modules/property-expr": {
+ "version": "2.0.6",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/protobufjs": {
+ "version": "7.5.0",
+ "hasInstallScript": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "@protobufjs/aspromise": "^1.1.2",
+ "@protobufjs/base64": "^1.1.2",
+ "@protobufjs/codegen": "^2.0.4",
+ "@protobufjs/eventemitter": "^1.1.0",
+ "@protobufjs/fetch": "^1.1.0",
+ "@protobufjs/float": "^1.0.2",
+ "@protobufjs/inquire": "^1.1.0",
+ "@protobufjs/path": "^1.1.2",
+ "@protobufjs/pool": "^1.1.0",
+ "@protobufjs/utf8": "^1.1.0",
+ "@types/node": ">=13.7.0",
+ "long": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/pump": {
+ "version": "3.0.2",
+ "license": "MIT",
+ "dependencies": {
+ "end-of-stream": "^1.1.0",
+ "once": "^1.3.1"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/pure-rand": {
+ "version": "6.1.0",
+ "dev": true,
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://github.com/sponsors/dubzzz"
+ },
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/fast-check"
+ }
+ ],
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/readable-stream": {
+ "version": "3.6.2",
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "4.1.2",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 14.18.0"
+ },
+ "funding": {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/regenerator-runtime": {
+ "version": "0.14.1",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/require-directory": {
+ "version": "2.1.1",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.22.10",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-core-module": "^2.16.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/retry": {
+ "version": "0.12.0",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "4.40.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "1.0.7"
+ },
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=18.0.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "@rollup/rollup-android-arm-eabi": "4.40.0",
+ "@rollup/rollup-android-arm64": "4.40.0",
+ "@rollup/rollup-darwin-arm64": "4.40.0",
+ "@rollup/rollup-darwin-x64": "4.40.0",
+ "@rollup/rollup-freebsd-arm64": "4.40.0",
+ "@rollup/rollup-freebsd-x64": "4.40.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.40.0",
+ "@rollup/rollup-linux-arm-musleabihf": "4.40.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.40.0",
+ "@rollup/rollup-linux-arm64-musl": "4.40.0",
+ "@rollup/rollup-linux-loongarch64-gnu": "4.40.0",
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.40.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.40.0",
+ "@rollup/rollup-linux-riscv64-musl": "4.40.0",
+ "@rollup/rollup-linux-s390x-gnu": "4.40.0",
+ "@rollup/rollup-linux-x64-gnu": "4.40.0",
+ "@rollup/rollup-linux-x64-musl": "4.40.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.40.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.40.0",
+ "@rollup/rollup-win32-x64-msvc": "4.40.0",
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/runed": {
+ "version": "0.25.0",
+ "dev": true,
+ "funding": [
+ "https://github.com/sponsors/huntabyte",
+ "https://github.com/sponsors/tglide"
+ ],
+ "dependencies": {
+ "esm-env": "^1.0.0"
+ },
+ "peerDependencies": {
+ "svelte": "^5.7.0"
+ }
+ },
+ "node_modules/sade": {
+ "version": "1.8.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "mri": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/safer-buffer": {
+ "version": "2.1.2",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "7.7.1",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/set-cookie-parser": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/signal-exit": {
+ "version": "3.0.7",
+ "license": "ISC"
+ },
+ "node_modules/sirv": {
+ "version": "3.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@polka/url": "^1.0.0-next.24",
+ "mrmime": "^2.0.0",
+ "totalist": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/source-map": {
+ "version": "0.6.1",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "optional": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/source-map-support": {
+ "version": "0.5.21",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "buffer-from": "^1.0.0",
+ "source-map": "^0.6.0"
+ }
+ },
+ "node_modules/split-ca": {
+ "version": "1.0.1",
+ "license": "ISC"
+ },
+ "node_modules/ssh2": {
+ "version": "1.16.0",
+ "hasInstallScript": true,
+ "dependencies": {
+ "asn1": "^0.2.6",
+ "bcrypt-pbkdf": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=10.16.0"
+ },
+ "optionalDependencies": {
+ "cpu-features": "~0.0.10",
+ "nan": "^2.20.0"
+ }
+ },
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "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/strip-ansi": {
+ "version": "6.0.1",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/style-mod": {
+ "version": "4.1.2",
+ "license": "MIT"
+ },
+ "node_modules/style-to-object": {
+ "version": "1.0.8",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "inline-style-parser": "0.2.4"
+ }
+ },
+ "node_modules/superstruct": {
+ "version": "2.0.2",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/svelte": {
+ "version": "5.28.2",
+ "license": "MIT",
+ "dependencies": {
+ "@ampproject/remapping": "^2.3.0",
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@sveltejs/acorn-typescript": "^1.0.5",
+ "@types/estree": "^1.0.5",
+ "acorn": "^8.12.1",
+ "aria-query": "^5.3.1",
+ "axobject-query": "^4.1.0",
+ "clsx": "^2.1.1",
+ "esm-env": "^1.2.1",
+ "esrap": "^1.4.6",
+ "is-reference": "^3.0.3",
+ "locate-character": "^3.0.0",
+ "magic-string": "^0.30.11",
+ "zimmerframe": "^1.1.2"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/svelte-check": {
+ "version": "4.1.6",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.25",
+ "chokidar": "^4.0.1",
+ "fdir": "^6.2.0",
+ "picocolors": "^1.0.0",
+ "sade": "^1.7.4"
+ },
+ "bin": {
+ "svelte-check": "bin/svelte-check"
+ },
+ "engines": {
+ "node": ">= 18.0.0"
+ },
+ "peerDependencies": {
+ "svelte": "^4.0.0 || ^5.0.0-next.0",
+ "typescript": ">=5.0.0"
+ }
+ },
+ "node_modules/svelte-codemirror-editor": {
+ "version": "1.4.1",
+ "license": "MIT",
+ "peerDependencies": {
+ "codemirror": "^6.0.0",
+ "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0"
+ }
+ },
+ "node_modules/svelte-eslint-parser": {
+ "version": "1.1.2",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "eslint-scope": "^8.2.0",
+ "eslint-visitor-keys": "^4.0.0",
+ "espree": "^10.0.0",
+ "postcss": "^8.4.49",
+ "postcss-scss": "^4.0.9",
+ "postcss-selector-parser": "^7.0.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ota-meshi"
+ },
+ "peerDependencies": {
+ "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "svelte": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/svelte-sonner": {
+ "version": "0.3.28",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "svelte": "^3.0.0 || ^4.0.0 || ^5.0.0-next.1"
+ }
+ },
+ "node_modules/svelte-toolbelt": {
+ "version": "0.7.1",
+ "dev": true,
+ "funding": [
+ "https://github.com/sponsors/huntabyte"
+ ],
+ "dependencies": {
+ "clsx": "^2.1.1",
+ "runed": "^0.23.2",
+ "style-to-object": "^1.0.8"
+ },
+ "engines": {
+ "node": ">=18",
+ "pnpm": ">=8.7.0"
+ },
+ "peerDependencies": {
+ "svelte": "^5.0.0"
+ }
+ },
+ "node_modules/svelte-toolbelt/node_modules/runed": {
+ "version": "0.23.4",
+ "dev": true,
+ "funding": [
+ "https://github.com/sponsors/huntabyte",
+ "https://github.com/sponsors/tglide"
+ ],
+ "dependencies": {
+ "esm-env": "^1.0.0"
+ },
+ "peerDependencies": {
+ "svelte": "^5.7.0"
+ }
+ },
+ "node_modules/svelte/node_modules/is-reference": {
+ "version": "3.0.3",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.6"
+ }
+ },
+ "node_modules/sveltekit-superforms": {
+ "version": "2.25.0",
+ "resolved": "https://registry.npmjs.org/sveltekit-superforms/-/sveltekit-superforms-2.25.0.tgz",
+ "integrity": "sha512-QIzoPaoLJKDnMtQIC1XmgBYdZi/n6exU34KhCmxq1dl+kvLC49S2n3DeHUiVnVpVvWc41dgdSEQgzhiJyjlNMg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ciscoheat"
+ },
+ {
+ "type": "ko-fi",
+ "url": "https://ko-fi.com/ciscoheat"
+ },
+ {
+ "type": "paypal",
+ "url": "https://www.paypal.com/donate/?hosted_button_id=NY7F5ALHHSVQS"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devalue": "^5.1.1",
+ "memoize-weak": "^1.0.2",
+ "ts-deepmerge": "^7.0.2"
+ },
+ "optionalDependencies": {
+ "@exodus/schemasafe": "^1.3.0",
+ "@gcornut/valibot-json-schema": "^0.31.0",
+ "@sinclair/typebox": "^0.34.28",
+ "@typeschema/class-validator": "^0.3.0",
+ "@vinejs/vine": "^3.0.0",
+ "arktype": "^2.1.9",
+ "class-validator": "^0.14.1",
+ "effect": "^3.13.7",
+ "joi": "^17.13.3",
+ "json-schema-to-ts": "^3.1.1",
+ "superstruct": "^2.0.2",
+ "valibot": "1.0.0-rc.3",
+ "yup": "^1.6.1",
+ "zod": "^3.24.2",
+ "zod-to-json-schema": "^3.24.3"
+ },
+ "peerDependencies": {
+ "@exodus/schemasafe": "^1.3.0",
+ "@sinclair/typebox": "^0.34.28",
+ "@sveltejs/kit": "1.x || 2.x",
+ "@typeschema/class-validator": "^0.3.0",
+ "@vinejs/vine": "^1.8.0 || ^2.0.0 || ^3.0.0",
+ "arktype": ">=2.0.0-rc.23",
+ "class-validator": "^0.14.1",
+ "effect": "^3.13.7",
+ "joi": "^17.13.1",
+ "superstruct": "^2.0.2",
+ "svelte": "3.x || 4.x || >=5.0.0-next.51",
+ "valibot": ">=1.0.0-rc.3",
+ "yup": "^1.4.0",
+ "zod": "^3.24.2"
+ },
+ "peerDependenciesMeta": {
+ "@exodus/schemasafe": {
+ "optional": true
+ },
+ "@sinclair/typebox": {
+ "optional": true
+ },
+ "@typeschema/class-validator": {
+ "optional": true
+ },
+ "@vinejs/vine": {
+ "optional": true
+ },
+ "arktype": {
+ "optional": true
+ },
+ "class-validator": {
+ "optional": true
+ },
+ "effect": {
+ "optional": true
+ },
+ "joi": {
+ "optional": true
+ },
+ "superstruct": {
+ "optional": true
+ },
+ "valibot": {
+ "optional": true
+ },
+ "yup": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/tabbable": {
+ "version": "6.2.0",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tailwind-merge": {
+ "version": "3.2.0",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/dcastil"
+ }
+ },
+ "node_modules/tailwind-variants": {
+ "version": "1.0.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "tailwind-merge": "3.0.2"
+ },
+ "engines": {
+ "node": ">=16.x",
+ "pnpm": ">=7.x"
+ },
+ "peerDependencies": {
+ "tailwindcss": "*"
+ }
+ },
+ "node_modules/tailwind-variants/node_modules/tailwind-merge": {
+ "version": "3.0.2",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/dcastil"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "4.1.4",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/tailwindcss-animate": {
+ "version": "1.0.7",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "tailwindcss": ">=3.0.0 || insiders"
+ }
+ },
+ "node_modules/tapable": {
+ "version": "2.2.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/tar-fs": {
+ "version": "2.1.2",
+ "license": "MIT",
+ "dependencies": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.1.4"
+ }
+ },
+ "node_modules/tar-stream": {
+ "version": "2.2.0",
+ "license": "MIT",
+ "dependencies": {
+ "bl": "^4.0.3",
+ "end-of-stream": "^1.4.1",
+ "fs-constants": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/thememirror": {
+ "version": "2.0.1",
+ "license": "MIT",
+ "peerDependencies": {
+ "@codemirror/language": "^6.0.0",
+ "@codemirror/state": "^6.0.0",
+ "@codemirror/view": "^6.0.0"
+ }
+ },
+ "node_modules/tiny-case": {
+ "version": "1.0.3",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.13",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/toposort": {
+ "version": "2.0.2",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/totalist": {
+ "version": "3.0.1",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/ts-algebra": {
+ "version": "2.0.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true
+ },
+ "node_modules/ts-api-utils": {
+ "version": "2.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "node_modules/ts-deepmerge": {
+ "version": "7.0.2",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">=14.13.1"
+ }
+ },
+ "node_modules/tslib": {
+ "version": "2.8.1",
+ "dev": true,
+ "license": "0BSD"
+ },
+ "node_modules/tweetnacl": {
+ "version": "0.14.5",
+ "license": "Unlicense"
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "2.19.0",
+ "dev": true,
+ "license": "(MIT OR CC0-1.0)",
+ "optional": true,
+ "engines": {
+ "node": ">=12.20"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.8.3",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/typescript-eslint": {
+ "version": "8.31.1",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/eslint-plugin": "8.31.1",
+ "@typescript-eslint/parser": "8.31.1",
+ "@typescript-eslint/utils": "8.31.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0",
+ "typescript": ">=4.8.4 <5.9.0"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "6.21.0",
+ "license": "MIT"
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "license": "MIT"
+ },
+ "node_modules/uuid": {
+ "version": "10.0.0",
+ "funding": [
+ "https://github.com/sponsors/broofa",
+ "https://github.com/sponsors/ctavan"
+ ],
+ "license": "MIT",
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
+ "node_modules/valibot": {
+ "version": "1.0.0-rc.3",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "peerDependencies": {
+ "typescript": ">=5"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/validator": {
+ "version": "13.15.0",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "engines": {
+ "node": ">= 0.10"
+ }
+ },
+ "node_modules/vite": {
+ "version": "6.3.3",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "esbuild": "^0.25.0",
+ "fdir": "^6.4.4",
+ "picomatch": "^4.0.2",
+ "postcss": "^8.5.3",
+ "rollup": "^4.34.9",
+ "tinyglobby": "^0.2.13"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^18.0.0 || ^20.0.0 || >=22.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0",
+ "jiti": ">=1.21.0",
+ "less": "*",
+ "lightningcss": "^1.21.0",
+ "sass": "*",
+ "sass-embedded": "*",
+ "stylus": "*",
+ "sugarss": "*",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "lightningcss": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/vitefu": {
+ "version": "1.0.6",
+ "dev": true,
+ "license": "MIT",
+ "workspaces": [
+ "tests/deps/*",
+ "tests/projects/*"
+ ],
+ "peerDependencies": {
+ "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
+ },
+ "peerDependenciesMeta": {
+ "vite": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/w3c-keyname": {
+ "version": "2.2.8",
+ "license": "MIT"
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "license": "ISC"
+ },
+ "node_modules/y18n": {
+ "version": "5.0.8",
+ "license": "ISC",
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/yaml": {
+ "version": "2.7.1",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "peer": true,
+ "bin": {
+ "yaml": "bin.mjs"
+ },
+ "engines": {
+ "node": ">= 14"
+ }
+ },
+ "node_modules/yargs": {
+ "version": "17.7.2",
+ "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",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/yup": {
+ "version": "1.6.1",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "property-expr": "^2.0.5",
+ "tiny-case": "^1.0.3",
+ "toposort": "^2.0.2",
+ "type-fest": "^2.19.0"
+ }
+ },
+ "node_modules/zimmerframe": {
+ "version": "1.1.2",
+ "license": "MIT"
+ },
+ "node_modules/zod": {
+ "version": "3.24.3",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/zod-to-json-schema": {
+ "version": "3.24.5",
+ "dev": true,
+ "license": "ISC",
+ "optional": true,
+ "peerDependencies": {
+ "zod": "^3.24.1"
+ }
+ }
+ }
}
diff --git a/package.json b/package.json
index fab850ee1..158f96835 100644
--- a/package.json
+++ b/package.json
@@ -1,63 +1,64 @@
{
- "name": "arcane",
- "private": true,
- "version": "0.3.0",
- "type": "module",
- "scripts": {
- "dev": "vite dev",
- "build": "vite build",
- "preview": "vite preview",
- "prepare": "svelte-kit sync || echo ''",
- "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
- "format": "prettier --write .",
- "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
- "lint": "eslint ."
- },
- "devDependencies": {
- "@eslint/compat": "^1.2.5",
- "@eslint/js": "^9.18.0",
- "@lucide/svelte": "^0.503.0",
- "@sveltejs/adapter-node": "^5.2.12",
- "@sveltejs/kit": "^2.16.0",
- "@sveltejs/vite-plugin-svelte": "^5.0.0",
- "@tailwindcss/vite": "^4.0.0",
- "@types/dockerode": "^3.3.38",
- "@types/dockerode-compose": "^1.4.1",
- "@types/js-yaml": "^4.0.9",
- "@types/proper-lockfile": "^4.1.4",
- "bits-ui": "^1.4.2",
- "clsx": "^2.1.1",
- "eslint": "^9.25.1",
- "eslint-plugin-svelte": "^3.0.0",
- "formsnap": "^2.0.1",
- "globals": "^16.0.0",
- "mode-watcher": "^1.0.2",
- "svelte": "^5.28.2",
- "svelte-check": "^4.0.0",
- "svelte-sonner": "^0.3.28",
- "sveltekit-superforms": "^2.25.0",
- "tailwind-merge": "^3.2.0",
- "tailwind-variants": "^1.0.0",
- "tailwindcss": "^4.0.0",
- "tailwindcss-animate": "^1.0.7",
- "typescript": "^5.5.0",
- "typescript-eslint": "^8.31.1",
- "vite": "^6.3.3",
- "zod": "^3.24.3"
- },
- "dependencies": {
- "@codemirror/lang-yaml": "^6.1.2",
- "@tanstack/table-core": "^8.21.3",
- "codemirror": "^6.0.1",
- "dockerode": "^4.0.6",
- "dockerode-compose": "^1.4.0",
- "js-yaml": "^4.1.0",
- "nanoid": "^5.1.5",
- "prettier": "^3.5.3",
- "prettier-plugin-svelte": "^3.3.3",
- "proper-lockfile": "^4.1.2",
- "redis": "^4.7.0",
- "svelte-codemirror-editor": "^1.4.1",
- "thememirror": "^2.0.1"
- }
+ "name": "arcane",
+ "private": true,
+ "version": "0.3.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite dev --port 3000",
+ "build": "vite build",
+ "preview": "vite preview --port 3000",
+ "prepare": "svelte-kit sync || echo ''",
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
+ "format": "prettier --write .",
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
+ "lint": "eslint ./src"
+ },
+ "devDependencies": {
+ "@eslint/compat": "^1.2.5",
+ "@eslint/js": "^9.18.0",
+ "@lucide/svelte": "^0.503.0",
+ "@sveltejs/adapter-node": "^5.2.12",
+ "@sveltejs/kit": "^2.16.0",
+ "@sveltejs/vite-plugin-svelte": "^5.0.0",
+ "@tailwindcss/vite": "^4.0.0",
+ "@types/bcryptjs": "^2.4.6",
+ "@types/dockerode": "^3.3.38",
+ "@types/dockerode-compose": "^1.4.1",
+ "@types/js-yaml": "^4.0.9",
+ "@types/proper-lockfile": "^4.1.4",
+ "bits-ui": "^1.4.2",
+ "clsx": "^2.1.1",
+ "eslint": "^9.25.1",
+ "eslint-plugin-svelte": "^3.0.0",
+ "formsnap": "^2.0.1",
+ "globals": "^16.0.0",
+ "mode-watcher": "^1.0.2",
+ "svelte": "^5.28.2",
+ "svelte-check": "^4.0.0",
+ "svelte-sonner": "^0.3.28",
+ "sveltekit-superforms": "^2.25.0",
+ "tailwind-merge": "^3.2.0",
+ "tailwind-variants": "^1.0.0",
+ "tailwindcss": "^4.0.0",
+ "tailwindcss-animate": "^1.0.7",
+ "typescript": "^5.5.0",
+ "typescript-eslint": "^8.31.1",
+ "vite": "^6.3.3",
+ "zod": "^3.24.3"
+ },
+ "dependencies": {
+ "@codemirror/lang-yaml": "^6.1.2",
+ "@tanstack/table-core": "^8.21.3",
+ "bcryptjs": "^3.0.2",
+ "codemirror": "^6.0.1",
+ "dockerode": "^4.0.6",
+ "dockerode-compose": "^1.4.0",
+ "js-yaml": "^4.1.0",
+ "nanoid": "^5.1.5",
+ "prettier": "^3.5.3",
+ "prettier-plugin-svelte": "^3.3.3",
+ "proper-lockfile": "^4.1.2",
+ "svelte-codemirror-editor": "^1.4.1",
+ "thememirror": "^2.0.1"
+ }
}
diff --git a/scripts/create-admin.ts b/scripts/create-admin.ts
new file mode 100644
index 000000000..018a79a55
--- /dev/null
+++ b/scripts/create-admin.ts
@@ -0,0 +1,55 @@
+// npx tsx scripts/create-admin.ts
+// npx tsx scripts/create-admin.ts mypassword
+
+import fs from 'node:fs/promises';
+import path from 'node:path';
+import bcrypt from 'bcryptjs';
+import crypto from 'node:crypto';
+import { fileURLToPath } from 'url';
+
+// Get the directory of the current script
+const __dirname = path.dirname(fileURLToPath(import.meta.url));
+const projectRoot = path.resolve(__dirname, '..');
+
+// Determine data directory based on environment
+const dataDir = process.env.NODE_ENV === 'production' ? path.join(projectRoot, 'data') : path.join(projectRoot, '.dev-data');
+
+const usersDir = path.join(dataDir, 'users');
+
+async function createAdminUser() {
+ try {
+ console.log(`Using data directory: ${dataDir}`);
+
+ // Create user directory if it doesn't exist
+ await fs.mkdir(usersDir, { recursive: true });
+
+ // Generate password hash
+ const password = process.argv[2] || crypto.randomBytes(12).toString('hex');
+ const passwordHash = await bcrypt.hash(password, 12);
+
+ const userId = crypto.randomUUID();
+ const adminUser = {
+ id: userId,
+ username: 'admin',
+ passwordHash,
+ displayName: 'Administrator',
+ email: 'arcane@local',
+ roles: ['admin'],
+ createdAt: new Date().toISOString()
+ };
+
+ // Write the user file
+ const userFilePath = path.join(usersDir, `${userId}.json`);
+ await fs.writeFile(userFilePath, JSON.stringify(adminUser, null, 2));
+
+ console.log(`✅ Admin user created successfully at ${userFilePath}`);
+ console.log(`Username: admin`);
+ console.log(`Password: ${password}`);
+ console.log(`IMPORTANT: Change this password after first login!`);
+ } catch (error) {
+ console.error('❌ Failed to create admin user:', error);
+ }
+}
+
+// Run the function
+createAdminUser();
diff --git a/src/app.d.ts b/src/app.d.ts
index 48ccaa5b1..2a2f0075a 100644
--- a/src/app.d.ts
+++ b/src/app.d.ts
@@ -1,11 +1,14 @@
import type { VolumeInspectInfo as OriginalVolumeInspectInfo } from 'dockerode';
+import type { User } from '$lib/types/user.type';
+import type { UserSession } from '$lib/types/session.type';
-// See https://svelte.dev/docs/kit/types#app.d.ts
-// for information about these interfaces
declare global {
namespace App {
// interface Error {}
- // interface Locals {}
+ interface Locals {
+ user?: User | null;
+ session?: UserSession | null;
+ }
// interface PageData {}
// interface PageState {}
// interface Platform {}
diff --git a/src/hooks.server.ts b/src/hooks.server.ts
index 5b6494a72..6560d6bfb 100644
--- a/src/hooks.server.ts
+++ b/src/hooks.server.ts
@@ -1,14 +1,109 @@
+import { redirect, type Handle } from '@sveltejs/kit';
import { initComposeService } from '$lib/services/docker/stack-service';
import { initAutoUpdateScheduler } from '$lib/services/docker/scheduler-service';
+import { getSession } from '$lib/services/session-service';
+import { getUserByUsername } from '$lib/services/user-service';
+import { getSettings } from '$lib/services/settings-service';
+import { checkFirstRun } from '$lib/utils/onboarding.utils';
// Initialize needed services
try {
- await Promise.all([initComposeService(), initAutoUpdateScheduler()]);
+ await Promise.all([checkFirstRun(), initComposeService(), initAutoUpdateScheduler()]);
} catch (err) {
console.error('Critical service init failed, exiting:', err);
process.exit(1);
}
-export async function handle({ event, resolve }) {
+// Protected paths that require specific permissions
+const protectedPathPermissions: Record<string, string[]> = {
+ '/containers': ['containers:view'],
+ '/containers/create': ['containers:manage'],
+ '/settings': ['settings:view']
+ // Add other path patterns as needed
+};
+
+export const handle: Handle = async ({ event, resolve }) => {
+ const { cookies, url } = event;
+ const path = url.pathname;
+
+ // Define paths that don't require authentication
+ const publicPaths = ['/auth/login', '/img'];
+ const isPublicPath = publicPaths.some((p) => path.startsWith(p));
+
+ // Always allow access to public paths
+ if (isPublicPath) {
+ return await resolve(event);
+ }
+
+ // For all other paths, we need authentication
+ const sessionId = cookies.get('session_id');
+ if (!sessionId) {
+ throw redirect(302, `/auth/login?redirect=${encodeURIComponent(path)}`);
+ }
+
+ // Cache the session in event.locals
+ if (!event.locals.session) {
+ event.locals.session = await getSession(sessionId);
+ }
+
+ const session = event.locals.session;
+
+ if (!session) {
+ // Invalid or expired session
+ cookies.delete('session_id', { path: '/' });
+ throw redirect(302, `/auth/login?redirect=${encodeURIComponent(path)}`);
+ }
+
+ // Cache the user in event.locals
+ if (!event.locals.user) {
+ event.locals.user = await getUserByUsername(session.username);
+ }
+
+ const user = event.locals.user;
+
+ if (!user) {
+ cookies.delete('session_id', { path: '/' });
+ throw redirect(302, `/auth/login?error=invalid-session`);
+ }
+
+ // Get settings
+ const settings = await getSettings();
+
+ // Helper functions to determine path types
+ const isOnboardingPath = path.startsWith('/onboarding');
+ const isApiRoute = path.startsWith('/api/');
+
+ // Critical check: For ANY non-onboarding path, redirect to onboarding if not completed
+ // This is the key change to prevent bypassing onboarding
+ if (!isOnboardingPath && !isApiRoute && !settings?.onboarding?.completed) {
+ throw redirect(302, '/onboarding/welcome');
+ }
+
+ // During onboarding, only allow API calls needed for onboarding
+ // Optional enhancement to allow specific API calls during onboarding
+ if (isApiRoute && !settings?.onboarding?.completed) {
+ // Only allow these specific API endpoints during onboarding
+ const allowedApiDuringOnboarding = ['/api/settings', '/api/users/password'];
+ const isAllowedApi = allowedApiDuringOnboarding.some((api) => path.startsWith(api));
+
+ if (!isAllowedApi) {
+ throw redirect(302, '/onboarding/welcome');
+ }
+ }
+
+ // Continue with permission checks as before
+ if (settings?.auth?.rbacEnabled) {
+ // Check each protected path pattern
+ for (const [pathPattern, requiredPermissions] of Object.entries(protectedPathPermissions)) {
+ if (path.startsWith(pathPattern)) {
+ const hasPermission = requiredPermissions.some((perm) => user.roles.includes(perm));
+ if (!hasPermission) {
+ throw redirect(302, '/auth/unauthorized');
+ }
+ }
+ }
+ }
+
+ // Proceed to resolve the route with the authenticated user
return await resolve(event);
-}
+};
diff --git a/src/lib/components/action-buttons.svelte b/src/lib/components/action-buttons.svelte
index a44aa3b4a..39a1e9376 100644
--- a/src/lib/components/action-buttons.svelte
+++ b/src/lib/components/action-buttons.svelte
@@ -3,6 +3,7 @@
import { Play, StopCircle, RotateCcw, Download, Trash2, Loader2, RefreshCcwDot } from '@lucide/svelte';
import ConfirmDialog from './confirm-dialog.svelte';
import { invalidateAll } from '$app/navigation';
+ import type { ApiResponse } from '$lib/types/api-response.type';
import { toast } from 'svelte-sonner';
type TargetType = 'container' | 'stack';
@@ -70,7 +71,7 @@
try {
const response = await fetch(endpoint, { method });
// Gracefully fallback when there is no JSON body
- let result: any = {};
+ let result: ApiResponse = {};
if (response.headers.get('content-type')?.includes('application/json')) {
result = await response.json();
}
@@ -80,9 +81,10 @@
toast.success(`${type.charAt(0).toUpperCase() + type.slice(1)} ${action}ed successfully`);
await invalidateAll();
onActionComplete();
- } catch (error: any) {
+ } catch (error: Error | unknown) {
console.error(`Error ${action}ing ${type}:`, error);
- toast.error(`Failed to ${action} ${type}: ${error.message}`);
+ const errorMessage = error instanceof Error ? error.message : String(error);
+ toast.error(`Failed to ${action} ${type}: ${errorMessage}`);
} finally {
loadingStateSetter(false);
}
diff --git a/src/lib/components/confirm-dialog.svelte b/src/lib/components/confirm-dialog.svelte
index 81197c7cd..154dc4224 100644
--- a/src/lib/components/confirm-dialog.svelte
+++ b/src/lib/components/confirm-dialog.svelte
@@ -14,7 +14,7 @@
cancelLabel = $bindable('Cancel'),
variant = $bindable<ButtonVariant>('destructive' as ButtonVariant),
open = $bindable(false),
- onConfirm = $bindable((force?: boolean) => {}),
+ onConfirm = $bindable((_force?: boolean) => {}),
itemType = $bindable<'container' | 'stack' | string | undefined>(undefined),
isRunning = $bindable<boolean | undefined>(undefined)
} = $props();
diff --git a/src/lib/components/dialogs/user-form-dialog.svelte b/src/lib/components/dialogs/user-form-dialog.svelte
new file mode 100644
index 000000000..11c555892
--- /dev/null
+++ b/src/lib/components/dialogs/user-form-dialog.svelte
@@ -0,0 +1,150 @@
+<script lang="ts">
+ import { createEventDispatcher } from 'svelte';
+ import * as Dialog from '$lib/components/ui/dialog/index.js';
+ import { Button } from '$lib/components/ui/button/index.js';
+ import { Input } from '$lib/components/ui/input/index.js';
+ import { Label } from '$lib/components/ui/label/index.js';
+ import * as Select from '$lib/components/ui/select/index.js';
+ import { Loader2, UserPlus, Save } from '@lucide/svelte';
+ import type { User } from '$lib/types/user.type';
+ import { preventDefault } from '$lib/utils/form.utils';
+
+ let {
+ open = $bindable(false),
+ userToEdit = $bindable<User | null>(null),
+ roles = []
+ }: {
+ open?: boolean;
+ userToEdit?: User | null;
+ roles: { id: string; name: string }[];
+ } = $props();
+
+ const dispatch = createEventDispatcher();
+
+ let username = $state('');
+ let password = $state('');
+ let displayName = $state('');
+ let email = $state('');
+ let selectedRole = $state('user');
+ let isSaving = $state(false);
+ let error = $state<string | null>(null);
+
+ let isEditMode = $derived(!!userToEdit);
+ let dialogTitle = $derived(isEditMode ? 'Edit User' : 'Create User');
+ let submitButtonText = $derived(isEditMode ? 'Save Changes' : 'Create User');
+ let SubmitIcon = $derived(isEditMode ? Save : UserPlus);
+
+ $effect(() => {
+ if (open) {
+ error = null;
+ if (userToEdit) {
+ username = userToEdit.username;
+ password = '';
+ displayName = userToEdit.displayName || '';
+ email = userToEdit.email || '';
+ selectedRole = userToEdit.roles?.[0] || 'user';
+ } else {
+ username = '';
+ password = '';
+ displayName = '';
+ email = '';
+ selectedRole = 'user';
+ }
+ }
+ });
+
+ async function handleSubmit() {
+ if (isSaving) return;
+ isSaving = true;
+ error = null;
+
+ const userData: Partial<User> & { password?: string } = {
+ username,
+ displayName,
+ email,
+ roles: [selectedRole]
+ };
+
+ if (!isEditMode || (isEditMode && password)) {
+ userData.password = password;
+ }
+
+ try {
+ dispatch('submit', { user: userData, isEditMode, userId: userToEdit?.id });
+ } catch (err: unknown) {
+ const errorMessage = err instanceof Error ? err.message : 'An unexpected error occurred.';
+ error = errorMessage;
+ }
+ }
+
+ export function resetSavingState() {
+ isSaving = false;
+ }
+
+ export function setSaveError(errorMessage: string) {
+ error = errorMessage;
+ isSaving = false;
+ }
+</script>
+
+<Dialog.Root bind:open>
+ <Dialog.Content class="sm:max-w-[425px]">
+ <Dialog.Header>
+ <Dialog.Title>{dialogTitle}</Dialog.Title>
+ {#if !isEditMode}
+ <Dialog.Description>Enter the details for the new user.</Dialog.Description>
+ {/if}
+ </Dialog.Header>
+
+ <form class="grid gap-4 py-4" onsubmit={preventDefault(handleSubmit)}>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="username" class="text-right">Username</Label>
+ <Input id="username" bind:value={username} required class="col-span-3" disabled={isEditMode} />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="password" class="text-right">Password</Label>
+ <Input id="password" type="password" bind:value={password} required={!isEditMode} placeholder={isEditMode ? 'Leave blank to keep current' : 'Required'} class="col-span-3" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="displayName" class="text-right">Display Name</Label>
+ <Input id="displayName" bind:value={displayName} class="col-span-3" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="email" class="text-right">Email</Label>
+ <Input id="email" type="email" bind:value={email} class="col-span-3" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="role" class="text-right">Role</Label>
+ <Select.Root name="role" type="single" bind:value={selectedRole} disabled={isSaving}>
+ <Select.Trigger class="col-span-3">
+ <span>{roles.find((r) => r.id === selectedRole)?.name || 'Select a role'}</span>
+ </Select.Trigger>
+ <Select.Content>
+ <Select.Group>
+ {#each roles as role (role.id)}
+ <Select.Item value={role.id}>{role.name}</Select.Item>
+ {/each}
+ </Select.Group>
+ </Select.Content>
+ </Select.Root>
+ </div>
+
+ {#if error}
+ <p class="text-sm text-destructive text-center col-span-4">{error}</p>
+ {/if}
+
+ <Dialog.Footer>
+ <Button type="button" variant="outline" onclick={() => (open = false)} disabled={isSaving}>Cancel</Button>
+ <Button type="submit" disabled={isSaving}>
+ {#if isSaving}
+ <Loader2 class="mr-2 h-4 w-4 animate-spin" />
+ Saving...
+ {:else}
+ <SubmitIcon class="mr-2 h-4 w-4" />
+ {submitButtonText}
+ {/if}
+ </Button>
+ </Dialog.Footer>
+ </form>
+ </Dialog.Content>
+</Dialog.Root>
diff --git a/src/lib/components/docker/ImageRow.svelte b/src/lib/components/docker/ImageRow.svelte
index da6f59280..1888e2b9a 100644
--- a/src/lib/components/docker/ImageRow.svelte
+++ b/src/lib/components/docker/ImageRow.svelte
@@ -8,7 +8,6 @@
repo: string;
tag: string;
size: string;
- created?: string;
};
}
diff --git a/src/lib/components/navbar.svelte b/src/lib/components/navbar.svelte
index e505fe123..4db656021 100644
--- a/src/lib/components/navbar.svelte
+++ b/src/lib/components/navbar.svelte
@@ -87,7 +87,7 @@
<!-- Navigation links -->
<nav class={cn('p-2 flex-1 overflow-y-auto overflow-x-hidden', isCollapsed && 'py-2 px-1')}>
- {#each items as item}
+ {#each items as item (item.href)}
{@const isActive = page.url.pathname === item.href || (page.url.pathname.startsWith(item.href) && item.href !== '/')}
{@const Icon = item.icon}
diff --git a/src/lib/components/table-cells/user-email-cell.svelte b/src/lib/components/table-cells/user-email-cell.svelte
new file mode 100644
index 000000000..ddb591729
--- /dev/null
+++ b/src/lib/components/table-cells/user-email-cell.svelte
@@ -0,0 +1,13 @@
+<script lang="ts">
+ import { Mail } from '@lucide/svelte';
+ interface Props {
+ email?: string;
+ }
+
+ let { email = '' }: Props = $props();
+</script>
+
+<div class="flex items-center gap-1.5">
+ <Mail class="h-3.5 w-3.5 text-muted-foreground" />
+ <span>{email || 'No email'}</span>
+</div>
diff --git a/src/lib/components/table-cells/user-name-cell.svelte b/src/lib/components/table-cells/user-name-cell.svelte
new file mode 100644
index 000000000..dadf8bd66
--- /dev/null
+++ b/src/lib/components/table-cells/user-name-cell.svelte
@@ -0,0 +1,19 @@
+<script lang="ts">
+ import { User } from '@lucide/svelte';
+ interface Props {
+ displayName?: string;
+ username?: string;
+ }
+
+ let { displayName = '', username = '' }: Props = $props();
+</script>
+
+<div class="flex items-start gap-2">
+ <div class="bg-primary/10 rounded-full p-2 flex-shrink-0">
+ <User class="h-4 w-4 text-primary" />
+ </div>
+ <div>
+ <div class="font-medium">{displayName || username}</div>
+ <div class="text-xs text-muted-foreground">{username}</div>
+ </div>
+</div>
diff --git a/src/lib/components/table-cells/user-roles.cell.svelte b/src/lib/components/table-cells/user-roles.cell.svelte
new file mode 100644
index 000000000..631c055f4
--- /dev/null
+++ b/src/lib/components/table-cells/user-roles.cell.svelte
@@ -0,0 +1,15 @@
+<script lang="ts">
+ import StatusBadge from '../badges/status-badge.svelte';
+ interface Props {
+ roles?: string[];
+ }
+
+ let { roles = [] }: Props = $props();
+</script>
+
+<div class="flex flex-wrap">
+ {#each roles as role (role)}
+ {@const isAdmin = role === 'admin'}
+ <StatusBadge text={isAdmin ? 'Admin' : 'User'} variant={isAdmin ? 'amber' : 'blue'} />
+ {/each}
+</div>
diff --git a/src/lib/components/table-cells/user-table-actions.svelte b/src/lib/components/table-cells/user-table-actions.svelte
new file mode 100644
index 000000000..ac7ffd0de
--- /dev/null
+++ b/src/lib/components/table-cells/user-table-actions.svelte
@@ -0,0 +1,45 @@
+<script lang="ts">
+ import { Ellipsis, Pencil, UserX } from '@lucide/svelte';
+ import * as DropdownMenu from '$lib/components/ui/dropdown-menu/index.js';
+ import { Button } from '$lib/components/ui/button/index.js';
+ import type { User } from '$lib/types/user.type';
+
+ interface Props {
+ userId: string;
+ username: string;
+ user: User;
+ onRemove: (userId: string, username: string) => void;
+ onEdit: (user: User) => void;
+ }
+
+ let { userId, user, username, onRemove, onEdit }: Props = $props();
+
+ function handleRemove() {
+ onRemove(userId, username);
+ }
+
+ function handleEdit() {
+ onEdit(user);
+ }
+</script>
+
+<DropdownMenu.Root>
+ <DropdownMenu.Trigger>
+ <Button variant="ghost" size="icon" class="h-8 w-8">
+ <Ellipsis class="h-4 w-4" />
+ <span class="sr-only">Open menu</span>
+ </Button>
+ </DropdownMenu.Trigger>
+ <DropdownMenu.Content align="end">
+ <DropdownMenu.Group>
+ <DropdownMenu.Item onclick={handleEdit}>
+ <Pencil class="h-4 w-4" />
+ Edit
+ </DropdownMenu.Item>
+ <DropdownMenu.Item onclick={handleRemove} class="text-red-500 focus:!text-red-700">
+ <UserX class="h-4 w-4" />
+ Remove User
+ </DropdownMenu.Item>
+ </DropdownMenu.Group>
+ </DropdownMenu.Content>
+</DropdownMenu.Root>
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
new file mode 100644
index 000000000..0bd4ecf30
--- /dev/null
+++ b/src/lib/constants.ts
@@ -0,0 +1 @@
+export const isDev = process.env.NODE_ENV === 'development';
diff --git a/src/lib/services/docker/auto-update-service.ts b/src/lib/services/docker/auto-update-service.ts
index d02925a08..4fdbcc3d9 100644
--- a/src/lib/services/docker/auto-update-service.ts
+++ b/src/lib/services/docker/auto-update-service.ts
@@ -81,11 +81,12 @@ export async function checkAndUpdateContainers(): Promise<{
} else {
console.log(`Auto-update: Container ${container.name} (${containerId}) is up-to-date.`);
}
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Auto-update error for container ${containerId}:`, error);
+ const msg = error instanceof Error ? error.message : String(error);
results.errors.push({
id: containerId,
- error: error.message || 'Unknown error during auto-update'
+ error: msg
});
// Ensure the lock is released even on error
updatingContainers.delete(containerId);
@@ -141,11 +142,12 @@ export async function checkAndUpdateStacks(): Promise<{
updatingStacks.delete(stack.id);
}
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Auto-update error for stack ${stack.id}:`, error);
+ const msg = error instanceof Error ? error.message : String(error);
results.errors.push({
id: stack.id,
- error: error.message || 'Unknown error during auto-update'
+ error: msg
});
updatingStacks.delete(stack.id);
}
@@ -183,7 +185,7 @@ async function checkContainerImageUpdate(container: ServiceContainer): Promise<b
// Compare image IDs - if different, update is available
return freshImage.id !== container.imageId;
- } catch (error) {
+ } catch (error: unknown) {
console.error(`Error checking for image update for ${container.name}:`, error);
return false;
}
@@ -267,15 +269,15 @@ async function checkStackImagesUpdate(stack: Stack): Promise<boolean> {
} else {
console.log(`Image ${imageRef} is up-to-date.`);
}
- } catch (error: any) {
- console.error(`Error checking/pulling image update for ${imageRef} in stack ${stack.name}:`, error.message || error);
- // Continue checking other images even if one fails
+ } catch (error: unknown) {
+ console.error(`Error checking/pulling image update for ${imageRef} in stack ${stack.name}:`, error);
+ // continue to next image
}
} // End of loop through imageRefs
return updateFound; // Return true only if at least one update was found
- } catch (error: any) {
- console.error(`Error processing stack updates for ${stack.name}:`, error.message || error);
+ } catch (error: unknown) {
+ console.error(`Error processing stack updates for ${stack.name}:`, error);
return false; // Return false if there's an error processing the stack itself
}
}
diff --git a/src/lib/services/docker/container-service.ts b/src/lib/services/docker/container-service.ts
index 865b3d626..7c5173206 100644
--- a/src/lib/services/docker/container-service.ts
+++ b/src/lib/services/docker/container-service.ts
@@ -1,8 +1,8 @@
import { getDockerClient, dockerHost } from './core';
import type { ContainerConfig, ContainerCreate } from '$lib/types/docker';
import type { ServiceContainer } from '$lib/types/docker/container.type';
-// Import custom errors
-import { NotFoundError, ConflictError, DockerApiError, ContainerStateError } from '$lib/types/errors';
+// Import custom errors - remove unused ContainerStateError
+import { NotFoundError, ConflictError, DockerApiError } from '$lib/types/errors';
import type Docker from 'dockerode';
/**
@@ -33,7 +33,7 @@ export async function listContainers(all = true): Promise<ServiceContainer[]> {
ports: c.Ports
})
);
- } catch (error: any) {
+ } catch (error: unknown) {
console.error('Docker Service: Error listing containers:', error);
throw new Error(`Failed to list Docker containers using host "${dockerHost}".`);
}
@@ -68,9 +68,9 @@ export async function getContainer(containerId: string) {
mounts: inspectData.Mounts,
labels: inspectData.Config.Labels
};
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Docker Service: Error getting container ${containerId}:`, error);
- if (error.statusCode === 404) {
+ if (error instanceof Error && 'statusCode' in error && (error as any).statusCode === 404) {
return null;
}
throw new Error(`Failed to get container details for ${containerId} using host "${dockerHost}".`);
@@ -88,9 +88,10 @@ export async function startContainer(containerId: string): Promise<void> {
const docker = getDockerClient();
const container = docker.getContainer(containerId);
await container.start();
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Docker Service: Error starting container ${containerId}:`, error);
- throw new Error(`Failed to start container ${containerId} using host "${dockerHost}". ${error.message || ''}`);
+ const errorMessage = error instanceof Error ? error.message : String(error);
+ throw new Error(`Failed to start container ${containerId} using host "${dockerHost}". ${errorMessage}`);
}
}
@@ -105,9 +106,10 @@ export async function stopContainer(containerId: string): Promise<void> {
const docker = getDockerClient();
const container = docker.getContainer(containerId);
await container.stop();
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Docker Service: Error stopping container ${containerId}:`, error);
- throw new Error(`Failed to stop container ${containerId} using host "${dockerHost}". ${error.message || ''}`);
+ const errorMessage = error instanceof Error ? error.message : String(error);
+ throw new Error(`Failed to stop container ${containerId} using host "${dockerHost}". ${errorMessage}`);
}
}
@@ -121,9 +123,10 @@ export async function restartContainer(containerId: string): Promise<void> {
const docker = getDockerClient();
const container = docker.getContainer(containerId);
await container.restart();
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Docker Service: Error restarting container ${containerId}:`, error);
- throw new Error(`Failed to restart container ${containerId} using host "${dockerHost}". ${error.message || ''}`);
+ const errorMessage = error instanceof Error ? error.message : String(error);
+ throw new Error(`Failed to restart container ${containerId} using host "${dockerHost}". ${errorMessage}`);
}
}
@@ -149,20 +152,28 @@ export async function removeContainer(containerId: string, force = false): Promi
await container.remove({ force });
console.log(`Docker Service: Container ${containerId} removed successfully (force=${force}).`);
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Docker Service: Error removing container ${containerId} (force=${force}):`, error);
- // Use custom error types for better handling in the API layer
- if (error.statusCode === 404) {
- throw new NotFoundError(`Container ${containerId} not found.`);
- }
- // 409 Conflict typically means trying to remove a running container without force
- if (error.statusCode === 409) {
- throw new ConflictError(`Cannot remove running container ${containerId}. Stop it first or use the force option.`);
+ // Type guard and handle custom error types
+ if (error instanceof Error && 'statusCode' in error) {
+ const dockerError = error as Error & { statusCode: number };
+
+ // Use custom error types for better handling in the API layer
+ if (dockerError.statusCode === 404) {
+ throw new NotFoundError(`Container ${containerId} not found.`);
+ }
+ // 409 Conflict typically means trying to remove a running container without force
+ if (dockerError.statusCode === 409) {
+ throw new ConflictError(`Cannot remove running container ${containerId}. Stop it first or use the force option.`);
+ }
+
+ // Throw a more specific Docker API error for other cases
+ throw new DockerApiError(`Failed to remove container ${containerId}: ${dockerError.message || 'Unknown Docker error'}`, dockerError.statusCode);
}
- // Throw a more specific Docker API error for other cases
- throw new DockerApiError(`Failed to remove container ${containerId}: ${error.message || 'Unknown Docker error'}`, error.statusCode);
+ // Generic error case
+ throw new DockerApiError(`Failed to remove container ${containerId}: ${error instanceof Error ? error.message : String(error)}`, 500);
}
}
@@ -218,9 +229,10 @@ export async function getContainerLogs(
}
return logString;
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Docker Service: Error getting logs for container ${containerId}:`, error);
- throw new Error(`Failed to get logs for container ${containerId} using host "${dockerHost}". ${error.message || ''}`);
+ const errorMessage = error instanceof Error ? error.message : String(error);
+ throw new Error(`Failed to get logs for container ${containerId} using host "${dockerHost}". ${errorMessage}`);
}
}
@@ -268,7 +280,7 @@ export async function createContainer(config: ContainerConfig) {
// Set up port bindings if provided
if (config.ports?.length) {
- const exposedPorts: Record<string, {}> = {};
+ const exposedPorts: Record<string, Record<string, never>> = {};
const portBindings: Record<string, Array<{ HostPort: string }>> = {};
for (const p of config.ports) {
const key = `${p.containerPort}/tcp`;
@@ -324,19 +336,26 @@ export async function createContainer(config: ContainerConfig) {
status: containerInfo.State.Running ? 'running' : 'stopped',
created: containerInfo.Created
};
- } catch (error: any) {
+ } catch (error: unknown) {
console.error('Error creating container:', error);
- if (error.message && error.message.includes('IPAMConfig')) {
- throw new Error(`Failed to create container: Invalid IP address configuration for network "${config.network}". ${error.message}`);
- }
- // Add more specific error handling for resource limits if needed
- if (error.message && error.message.includes('NanoCpus')) {
- throw new Error(`Invalid CPU limit specified: ${error.message}`);
- }
- if (error.message && error.message.includes('Memory')) {
- throw new Error(`Invalid Memory limit specified: ${error.message}`);
+
+ if (error instanceof Error) {
+ const errorMessage = error.message || '';
+
+ if (errorMessage.includes('IPAMConfig')) {
+ throw new Error(`Failed to create container: Invalid IP address configuration for network "${config.network}". ${errorMessage}`);
+ }
+ // Add more specific error handling for resource limits if needed
+ if (errorMessage.includes('NanoCpus')) {
+ throw new Error(`Invalid CPU limit specified: ${errorMessage}`);
+ }
+ if (errorMessage.includes('Memory')) {
+ throw new Error(`Invalid Memory limit specified: ${errorMessage}`);
+ }
+ throw new Error(`Failed to create container with image "${config.image}": ${errorMessage}`);
}
- throw new Error(`Failed to create container with image "${config.image}": ${error.message}`);
+
+ throw new Error(`Failed to create container with image "${config.image}": Unknown error`);
}
}
@@ -355,8 +374,8 @@ export async function getContainerStats(containerId: string): Promise<Docker.Con
// Check if container exists first (inspect is a good way)
try {
await container.inspect();
- } catch (inspectError: any) {
- if (inspectError.statusCode === 404) {
+ } catch (inspectError: unknown) {
+ if (inspectError instanceof Error && 'statusCode' in inspectError && (inspectError as any).statusCode === 404) {
throw new NotFoundError(`Container ${containerId} not found when trying to get stats.`);
}
// Rethrow other inspect errors
@@ -375,16 +394,20 @@ export async function getContainerStats(containerId: string): Promise<Docker.Con
}
return stats as Docker.ContainerStats;
- } catch (error: any) {
+ } catch (error: unknown) {
// Handle cases where stats fails because the container isn't running (often a 404 or 500 from Docker API)
- if (error.statusCode === 404) {
- // Could be container not found OR container not running (Docker API might return 404 for stats on stopped container)
- console.warn(`Docker Service: Container ${containerId} not found or not running when fetching stats.`);
- return null; // Return null if not running or not found
- }
- if (error.statusCode === 500 && error.message?.includes('is not running')) {
- console.warn(`Docker Service: Container ${containerId} is not running when fetching stats.`);
- return null; // Return null if not running
+ if (error instanceof Error && 'statusCode' in error) {
+ const dockerError = error as Error & { statusCode: number; message?: string };
+
+ if (dockerError.statusCode === 404) {
+ // Could be container not found OR container not running (Docker API might return 404 for stats on stopped container)
+ console.warn(`Docker Service: Container ${containerId} not found or not running when fetching stats.`);
+ return null; // Return null if not running or not found
+ }
+ if (dockerError.statusCode === 500 && dockerError.message?.includes('is not running')) {
+ console.warn(`Docker Service: Container ${containerId} is not running when fetching stats.`);
+ return null; // Return null if not running
+ }
}
// Handle specific NotFoundError from the inspect check
@@ -394,7 +417,9 @@ export async function getContainerStats(containerId: string): Promise<Docker.Con
console.error(`Docker Service: Error getting stats for container ${containerId}:`, error);
// Throw a DockerApiError for unexpected issues
- throw new DockerApiError(`Failed to get stats for container ${containerId}: ${error.message || 'Unknown Docker error'}`, error.statusCode);
+ const statusCode = error instanceof Error && 'statusCode' in error ? (error as any).statusCode : 500;
+ const message = error instanceof Error ? error.message : String(error);
+ throw new DockerApiError(`Failed to get stats for container ${containerId}: ${message || 'Unknown Docker error'}`, statusCode);
}
}
@@ -467,10 +492,10 @@ export async function recreateContainer(containerId: string): Promise<ServiceCon
try {
console.log(`Recreating container ${containerId}: Stopping...`);
await stopContainer(containerId);
- } catch (stopError: any) {
+ } catch (stopError: unknown) {
// Ignore "already stopped" errors
- if (stopError.statusCode !== 304 && stopError.statusCode !== 404) {
- console.warn(`Could not stop container ${containerId} before removal: ${stopError.message}`);
+ if (stopError instanceof Error && 'statusCode' in stopError && (stopError as any).statusCode !== 304 && (stopError as any).statusCode !== 404) {
+ console.warn(`Could not stop container ${containerId} before removal: ${stopError instanceof Error ? stopError.message : 'Unknown error'}`);
}
}
@@ -497,8 +522,12 @@ export async function recreateContainer(containerId: string): Promise<ServiceCon
}
return newServiceContainer;
- } catch (error: any) {
+ } catch (error: unknown) {
console.error(`Failed to recreate container ${containerId}:`, error);
- throw new DockerApiError(`Failed to recreate container ${originalContainer?.name || containerId}: ${error.message || 'Unknown error'}`, error.statusCode);
+
+ const statusCode = error instanceof Error && 'statusCode' in error ? (error as any).statusCode : 500;
+ const message = error instanceof Error ? error.message : String(error);
+
+ throw new DockerApiError(`Failed to recreate container ${originalContainer?.name || containerId}: ${message || 'Unknown error'}`, statusCode);
}
}
diff --git a/src/lib/services/docker/system-service.ts b/src/lib/services/docker/system-service.ts
index 338993be9..2651976f9 100644
--- a/src/lib/services/docker/system-service.ts
+++ b/src/lib/services/docker/system-service.ts
@@ -1,7 +1,7 @@
import { getDockerClient } from '$lib/services/docker/core';
import type { PruneResult } from '$lib/types/docker/prune.type';
-import { getSettings } from '$lib/services/settings-service'; // Import getSettings
-import type { SettingsData } from '$lib/types/settings'; // Import SettingsData type
+import { getSettings } from '$lib/services/settings-service';
+import type { Settings } from '$lib/types/settings.type';
type PruneType = 'containers' | 'images' | 'networks' | 'volumes';
type PruneServiceResult = PruneResult & { type: PruneType; error?: string };
@@ -16,7 +16,7 @@ export async function pruneSystem(types: PruneType[]): Promise<PruneServiceResul
const results: PruneServiceResult[] = [];
// Fetch settings first
- let pruneMode: SettingsData['pruneMode'] = 'dangling'; // Default prune mode
+ let pruneMode: Settings['pruneMode'] = 'dangling'; // Default prune mode
try {
// Fetch settings INSIDE the function
const currentSettings = await getSettings();
diff --git a/src/lib/services/encryption-service.ts b/src/lib/services/encryption-service.ts
new file mode 100644
index 000000000..5e6cbbd96
--- /dev/null
+++ b/src/lib/services/encryption-service.ts
@@ -0,0 +1,83 @@
+import crypto from 'node:crypto';
+import fs from 'node:fs/promises';
+import path from 'node:path';
+import { promisify } from 'node:util';
+import { KEY_FILE, ensureDirectory } from './paths-service';
+
+const PBKDF2_ITERATIONS = 100000;
+const SALT_LENGTH = 32;
+const KEY_LENGTH = 32; // 256 bits
+
+// Promisify pbkdf2 for async use
+const pbkdf2Async = promisify(crypto.pbkdf2);
+
+// Get or generate a secret key for the application
+export async function getSecretKey(): Promise<Buffer> {
+ try {
+ // Try to read existing key
+ await fs.access(KEY_FILE);
+ const keyData = await fs.readFile(KEY_FILE);
+ return keyData;
+ } catch (error) {
+ // Check specifically for "file not found" error
+ if (error instanceof Error && 'code' in error && error.code === 'ENOENT') {
+ // No key exists, generate one
+ console.log('Generating new encryption key...');
+ const key = crypto.randomBytes(KEY_LENGTH);
+
+ // Ensure directory exists - use imported path module
+ await ensureDirectory(path.dirname(KEY_FILE), 0o700);
+
+ // Save with restricted permissions
+ await fs.writeFile(KEY_FILE, key, { mode: 0o600 }); // Only owner can read/write
+ return key;
+ }
+
+ // Rethrow any other errors (permissions, disk failures, etc.)
+ console.error('Error accessing encryption key:', error);
+ throw error;
+ }
+}
+
+// Encrypt any data
+export async function encrypt(data: any): Promise<string> {
+ const secretKey = await getSecretKey();
+ const iv = crypto.randomBytes(16);
+ const salt = crypto.randomBytes(SALT_LENGTH);
+
+ // Derive key from master key and salt (asynchronously)
+ const key = await pbkdf2Async(secretKey, salt, PBKDF2_ITERATIONS, KEY_LENGTH, 'sha256');
+
+ const cipher = crypto.createCipheriv('aes-256-gcm', key, iv);
+
+ let encrypted = cipher.update(JSON.stringify(data), 'utf8', 'hex');
+ encrypted += cipher.final('hex');
+
+ const authTag = cipher.getAuthTag();
+
+ // Format: salt:iv:authTag:encrypted
+ return salt.toString('hex') + ':' + iv.toString('hex') + ':' + authTag.toString('hex') + ':' + encrypted;
+}
+
+// Decrypt data
+export async function decrypt(encryptedData: string): Promise<any> {
+ const secretKey = await getSecretKey();
+ const parts = encryptedData.split(':');
+ if (parts.length !== 4) throw new Error('Invalid encrypted data format');
+
+ const salt = Buffer.from(parts[0], 'hex');
+ const iv = Buffer.from(parts[1], 'hex');
+ const authTag = Buffer.from(parts[2], 'hex');
+ const encrypted = parts[3];
+
+ // Derive the same key using the stored salt (asynchronously)
+ const key = await pbkdf2Async(secretKey, salt, PBKDF2_ITERATIONS, KEY_LENGTH, 'sha256');
+
+ const decipher = crypto.createDecipheriv('aes-256-gcm', key, iv);
+ decipher.setAuthTag(authTag);
+
+ let decrypted = decipher.update(encrypted, 'hex', 'utf8');
+ decrypted += decipher.final('utf8');
+
+ return JSON.parse(decrypted);
+}
diff --git a/src/lib/services/paths-service.ts b/src/lib/services/paths-service.ts
new file mode 100644
index 000000000..09ee9580e
--- /dev/null
+++ b/src/lib/services/paths-service.ts
@@ -0,0 +1,22 @@
+import path from 'node:path';
+import fs from 'node:fs/promises';
+import { isDev } from '$lib/constants';
+
+// Configure paths based on environment
+export const BASE_PATH = isDev ? path.resolve(process.cwd(), '.dev-data') : '/app/data';
+
+export const SETTINGS_FILE = path.join(BASE_PATH, 'app-settings.json');
+export const SETTINGS_DIR = path.join(BASE_PATH, 'settings');
+export const KEY_FILE = path.join(BASE_PATH, '.secret_key');
+export const SESSIONS_DIR = path.join(BASE_PATH, 'sessions');
+export const USER_DIR = path.join(BASE_PATH, 'users');
+
+export const STACKS_DIR = path.join(BASE_PATH, 'stacks');
+
+export async function ensureDirectory(dir: string, mode = 0o755): Promise<void> {
+ try {
+ await fs.mkdir(dir, { recursive: true, mode });
+ } catch (error) {
+ throw error;
+ }
+}
diff --git a/src/lib/services/session-service.ts b/src/lib/services/session-service.ts
new file mode 100644
index 000000000..eb95142d7
--- /dev/null
+++ b/src/lib/services/session-service.ts
@@ -0,0 +1,184 @@
+import fs from 'fs/promises';
+import path from 'path';
+import crypto from 'crypto';
+import { encrypt, decrypt } from './encryption-service';
+import { SESSIONS_DIR, ensureDirectory } from './paths-service';
+import type { UserSession } from '$lib/types/session.type';
+
+// Create a Map to store sessions in memory
+const sessions = new Map<string, string>();
+
+// Create a session directory if it doesn't exist
+async function ensureSessionDir() {
+ await ensureDirectory(SESSIONS_DIR, 0o700);
+}
+
+// Create a new session with encryption
+export async function createSession(userId: string, username: string): Promise<string> {
+ const sessionId = crypto.randomBytes(32).toString('hex');
+
+ // Get session timeout from settings
+ const { auth } = await import('$lib/services/settings-service').then((m) => m.getSettings());
+ const sessionTimeout = auth?.sessionTimeout ?? 60; // minutes
+ const expiryTime = Date.now() + sessionTimeout * 60 * 1000;
+
+ // Create session data with explicit expiry time
+ const sessionData: UserSession = {
+ userId,
+ username,
+ createdAt: Date.now(),
+ lastAccessed: Date.now(),
+ expires: expiryTime
+ };
+
+ // Encrypt session data before storing
+ const encryptedData = await encryptSessionData(sessionData);
+
+ // Store encrypted data
+ sessions.set(sessionId, encryptedData);
+
+ // Also save to disk for persistence across restarts
+ await saveSessionToDisk(sessionId, encryptedData);
+
+ return sessionId;
+}
+
+// Helper function to encrypt session data
+async function encryptSessionData(data: UserSession): Promise<string> {
+ return encrypt(data);
+}
+
+// Helper function to decrypt session data
+async function decryptSessionData(encryptedData: string): Promise<UserSession> {
+ return await decrypt(encryptedData);
+}
+
+// Get a session by ID
+export async function getSession(sessionId: string): Promise<UserSession | null> {
+ // Check in-memory store
+ const encryptedData = sessions.get(sessionId);
+ if (encryptedData) {
+ try {
+ // Decrypt the session data
+ const sessionData = await decryptSessionData(encryptedData);
+
+ // Get current settings for session timeout
+ const { auth } = await import('$lib/services/settings-service').then((m) => m.getSettings());
+ const sessionTimeout = auth?.sessionTimeout ?? 60; // minutes
+ const maxAge = sessionTimeout * 60 * 1000; // Convert to milliseconds
+
+ // Check if session has expired - first check explicit expiry if it exists
+ if (sessionData.expires && Date.now() > sessionData.expires) {
+ // Session explicitly expired
+ sessions.delete(sessionId);
+ await removeSessionFromDisk(sessionId);
+ return null;
+ }
+
+ // Fall back to lastAccessed-based expiry if no explicit expires field
+ if (!sessionData.expires && Date.now() - sessionData.lastAccessed > maxAge) {
+ // Session expired based on activity
+ sessions.delete(sessionId);
+ await removeSessionFromDisk(sessionId);
+ return null;
+ }
+
+ // Update last accessed time and possibly extend expiry
+ sessionData.lastAccessed = Date.now();
+
+ // Update expiry based on current settings (sliding expiration)
+ sessionData.expires = Date.now() + maxAge;
+
+ // Re-encrypt with updated timestamp and store
+ const updatedEncrypted = await encryptSessionData(sessionData);
+ sessions.set(sessionId, updatedEncrypted);
+ await saveSessionToDisk(sessionId, updatedEncrypted);
+
+ return sessionData;
+ } catch (error) {
+ console.error('Error decrypting session:', error);
+ return null;
+ }
+ }
+
+ // Try to load from disk
+ try {
+ const encryptedFromDisk = await loadSessionFromDisk(sessionId);
+ if (encryptedFromDisk) {
+ // Store in memory for future access
+ sessions.set(sessionId, encryptedFromDisk);
+ // Now process as if it was found in memory
+ return await getSession(sessionId);
+ }
+ } catch (error) {
+ console.error('Error loading session from disk:', error);
+ }
+
+ return null;
+}
+
+// Delete a session by ID
+export async function deleteSession(sessionId: string): Promise<void> {
+ // Remove from memory store
+ sessions.delete(sessionId);
+ await removeSessionFromDisk(sessionId);
+}
+
+// Purge expired sessions (maintenance task)
+export async function purgeExpiredSessions(): Promise<number> {
+ try {
+ await ensureSessionDir();
+ const files = await fs.readdir(SESSIONS_DIR);
+ let purgedCount = 0;
+
+ for (const file of files) {
+ if (!file.endsWith('.dat')) continue;
+
+ const filePath = path.join(SESSIONS_DIR, file);
+ try {
+ const encryptedData = await fs.readFile(filePath, 'utf-8');
+ const sessionData = await decryptSessionData(encryptedData);
+
+ // Check if session has expired - prefer explicit expiry time
+ if ((sessionData.expires && Date.now() > sessionData.expires) || (!sessionData.expires && Date.now() - sessionData.lastAccessed > 24 * 60 * 60 * 1000)) {
+ await fs.unlink(filePath);
+ purgedCount++;
+ }
+ } catch (error) {
+ // Skip problematic files
+ }
+ }
+
+ return purgedCount;
+ } catch (error) {
+ console.error('Error purging sessions:', error);
+ return 0;
+ }
+}
+
+// Save session to disk
+async function saveSessionToDisk(sessionId: string, encryptedData: string): Promise<void> {
+ await ensureSessionDir();
+ const sessionFile = path.join(SESSIONS_DIR, `${sessionId}.dat`);
+ await fs.writeFile(sessionFile, encryptedData, { mode: 0o600 });
+}
+
+// Helper function to load session from disk
+async function loadSessionFromDisk(sessionId: string): Promise<string | null> {
+ const filePath = path.join(SESSIONS_DIR, `${sessionId}.dat`);
+ try {
+ return await fs.readFile(filePath, 'utf-8');
+ } catch {
+ return null;
+ }
+}
+
+// Helper function to remove session from disk
+async function removeSessionFromDisk(sessionId: string): Promise<void> {
+ const filePath = path.join(SESSIONS_DIR, `${sessionId}.dat`);
+ try {
+ await fs.unlink(filePath);
+ } catch {
+ // Ignore errors
+ }
+}
diff --git a/src/lib/services/settings-service.ts b/src/lib/services/settings-service.ts
index f057145f6..348552688 100644
--- a/src/lib/services/settings-service.ts
+++ b/src/lib/services/settings-service.ts
@@ -1,63 +1,53 @@
import fs from 'fs/promises';
import path from 'path';
import proper from 'proper-lockfile';
-import type { SettingsData } from '$lib/types/settings';
+import type { Settings } from '$lib/types/settings.type';
+import { encrypt, decrypt } from './encryption-service';
+import { SETTINGS_DIR, STACKS_DIR, ensureDirectory } from './paths-service';
// Determine if we're in development or production
const isDev = process.env.NODE_ENV === 'development';
-// Configure paths based on environment
-const BASE_PATH = isDev ? path.resolve(process.cwd(), '.dev-data') : '/app/data';
-
-const SETTINGS_FILE = path.join(BASE_PATH, 'app-settings.json');
-const SETTINGS_FOLDER = path.join(BASE_PATH, 'settings');
-
// Default settings - also adapt paths for development environment
-export const DEFAULT_SETTINGS: SettingsData = {
+export const DEFAULT_SETTINGS: Settings = {
dockerHost: isDev ? (process.platform === 'win32' ? 'npipe:////./pipe/docker_engine' : 'unix:///var/run/docker.sock') : 'unix:///var/run/docker.sock',
autoUpdate: false,
autoUpdateInterval: 5,
pollingEnabled: true,
pollingInterval: 10,
pruneMode: 'all',
- stacksDirectory: path.resolve(BASE_PATH, 'stacks'),
- externalServices: {
- valkey: {
- enabled: false,
- host: 'localhost',
- port: 6379,
- username: '',
- password: '',
- keyPrefix: 'arcane:settings:'
- }
+ stacksDirectory: STACKS_DIR,
+ registryCredentials: [],
+ auth: {
+ localAuthEnabled: true,
+ sessionTimeout: 60,
+ passwordPolicy: 'medium',
+ rbacEnabled: false
}
};
-// Path getter functions
-export function getBasePath(): string {
- return BASE_PATH;
-}
-
-export function getSettingsFilePath(): string {
- return SETTINGS_FILE;
-}
-
-export function getStacksDirectory(): string {
- return DEFAULT_SETTINGS.stacksDirectory;
-}
-
-// Log configured paths on startup
-console.log(`Settings service configured with:
-- Environment: ${isDev ? 'Development' : 'Production'}
-- Settings file: ${SETTINGS_FILE}
-- Settings folder: ${SETTINGS_FOLDER}
-- Default stacks directory: ${DEFAULT_SETTINGS.stacksDirectory}
-`);
-
-// Make sure directories exist
-async function ensureDirs() {
- await fs.mkdir(path.dirname(SETTINGS_FILE), { recursive: true });
- await fs.mkdir(SETTINGS_FOLDER, { recursive: true });
+// Ensure settings directory exists with proper permissions
+async function ensureSettingsDir() {
+ try {
+ await ensureDirectory(SETTINGS_DIR, 0o700); // Only owner can access
+
+ // Only apply chmod on non-Windows platforms
+ // Windows doesn't fully support POSIX permissions
+ if (process.platform !== 'win32') {
+ try {
+ // Ensure correct permissions even if directory already existed
+ await fs.chmod(SETTINGS_DIR, 0o700);
+ } catch (chmodError: unknown) {
+ // Ignore specific errors related to unsupported operations
+ if (chmodError && typeof chmodError === 'object' && 'code' in chmodError && chmodError.code !== 'EINVAL' && chmodError.code !== 'ENOTSUP') {
+ console.warn('Non-critical error setting permissions:', chmodError);
+ }
+ }
+ }
+ } catch (error) {
+ console.error('Error ensuring settings directory with proper permissions:', error);
+ throw error;
+ }
}
/**
@@ -68,14 +58,14 @@ export async function ensureStacksDirectory(): Promise<string> {
const settings = await getSettings();
const stacksDir = settings.stacksDirectory;
- await fs.mkdir(stacksDir, { recursive: true });
+ await ensureDirectory(stacksDir);
return stacksDir;
} catch (err) {
console.error('Error ensuring stacks directory:', err);
// Fall back to default
try {
- await fs.mkdir(DEFAULT_SETTINGS.stacksDirectory, { recursive: true });
- return DEFAULT_SETTINGS.stacksDirectory;
+ await ensureDirectory(STACKS_DIR);
+ return STACKS_DIR;
} catch (innerErr) {
console.error('Failed to create default stacks directory:', innerErr);
throw new Error('Unable to create stacks directory');
@@ -85,10 +75,10 @@ export async function ensureStacksDirectory(): Promise<string> {
// Save a setting to its own file
async function saveSetting(key: string, value: any): Promise<void> {
- const filePath = path.join(SETTINGS_FOLDER, `${key}.json`);
+ const filePath = path.join(SETTINGS_DIR, `${key}.json`);
// Make sure the directory exists
- await fs.mkdir(path.dirname(filePath), { recursive: true });
+ await ensureDirectory(path.dirname(filePath));
try {
// Create the file if it doesn't exist
@@ -113,124 +103,91 @@ async function saveSetting(key: string, value: any): Promise<void> {
}
}
-// Get a setting from its own file
-async function getSetting(key: string): Promise<any | null> {
- const filePath = path.join(SETTINGS_FOLDER, `${key}.json`);
-
- try {
- const data = await fs.readFile(filePath, 'utf-8');
- return JSON.parse(data);
- } catch (error) {
- return null;
- }
-}
-
// Get all settings
-export async function getSettings(): Promise<SettingsData> {
+export async function getSettings(): Promise<Settings> {
try {
- await ensureDirs();
+ await ensureSettingsDir();
+ const filePath = path.join(SETTINGS_DIR, 'settings.dat');
- // Try to load the main settings file first (as override)
- let fileSettings: Partial<SettingsData> = {};
try {
- const data = await fs.readFile(SETTINGS_FILE, 'utf-8');
- fileSettings = JSON.parse(data);
-
- // If in development and paths are production paths, convert them
- if (isDev) {
- // Convert any absolute /app/data paths to local development paths
- if (fileSettings.stacksDirectory && fileSettings.stacksDirectory.startsWith('/app/data')) {
- fileSettings.stacksDirectory = fileSettings.stacksDirectory.replace('/app/data', BASE_PATH);
- }
- }
- } catch (error) {
- console.log('No main settings file found');
+ await fs.access(filePath);
+ } catch {
+ // Settings file doesn't exist, return default settings
+ return getDefaultSettings();
}
- // Load individual settings
- const individualSettings: Record<string, any> = {};
- try {
- const files = await fs.readdir(SETTINGS_FOLDER);
- for (const file of files) {
- if (file.endsWith('.json')) {
- const key = file.replace('.json', '');
- const value = await getSetting(key);
- if (value !== null) {
- individualSettings[key] = value;
- }
- }
- }
- } catch (error) {
- console.error('Error reading individual settings:', error);
- }
+ const rawData = await fs.readFile(filePath, 'utf8');
+ const settingsData = JSON.parse(rawData);
- // Merge in order: defaults < individual < file
- const mergedSettings = {
- ...DEFAULT_SETTINGS,
- ...individualSettings,
- ...fileSettings
- };
+ // Decrypt sensitive data if available
+ if (settingsData._encrypted) {
+ // Use destructuring to separate _encrypted from the rest of the settings
+ const { _encrypted, ...nonSensitiveSettings } = settingsData;
+ const decryptedData = await decrypt(_encrypted);
- // Ensure stacks directory exists
- await fs.mkdir(mergedSettings.stacksDirectory, { recursive: true });
+ // Merge the non-sensitive settings with decrypted data
+ return { ...nonSensitiveSettings, ...decryptedData };
+ }
- return mergedSettings;
+ // Fallback for old format settings
+ return settingsData;
} catch (error) {
console.error('Error loading settings:', error);
- return DEFAULT_SETTINGS;
+ return getDefaultSettings();
}
}
// Save all settings
-export async function saveSettings(settings: SettingsData): Promise<void> {
- await ensureDirs();
+export async function saveSettings(settings: Settings): Promise<void> {
+ await ensureSettingsDir();
+ const filePath = path.join(SETTINGS_DIR, 'settings.dat');
+ // Create the file if it doesn't exist
try {
- // In development mode, ensure paths are relative to the current environment
- let settingsToSave = { ...settings };
-
- // If we're in development and the stacks directory is still a production path
- if (isDev && settingsToSave.stacksDirectory?.startsWith('/app/data')) {
- settingsToSave.stacksDirectory = settingsToSave.stacksDirectory.replace('/app/data', BASE_PATH);
- }
+ await fs.access(filePath);
+ } catch {
+ // File doesn't exist, create an empty file
+ await fs.writeFile(filePath, '{}', { mode: 0o600 });
+ }
- // Save each setting to its own file for granular access
- const flatSettings = flattenObject(settingsToSave);
- for (const [key, value] of Object.entries(flatSettings)) {
- await saveSetting(key, value);
- }
+ // Acquire a lock on the settings file
+ let release;
+ try {
+ release = await proper.lock(filePath, {
+ retries: 5, // Try up to 5 times
+ stale: 10000, // Consider lock stale after 10 seconds
+ onCompromised: (err) => {
+ console.error('Lock was compromised:', err);
+ }
+ });
- // Also save the complete settings as a snapshot
- await fs.writeFile(SETTINGS_FILE, JSON.stringify(settingsToSave, null, 2));
+ // Separate sensitive and non-sensitive settings
+ const { auth, registryCredentials, ...nonSensitiveSettings } = settings;
- // Ensure the stacks directory exists
- await fs.mkdir(settingsToSave.stacksDirectory, { recursive: true });
+ // Create a settings object with encrypted sensitive data
+ const dataToSave = {
+ ...nonSensitiveSettings,
+ _encrypted: await encrypt({ auth, registryCredentials })
+ };
- console.log('Settings saved successfully');
+ // Write the settings with proper permissions
+ await fs.writeFile(filePath, JSON.stringify(dataToSave, null, 2), { mode: 0o600 });
} catch (error) {
- console.error('Error saving settings:', error);
- throw new Error('Failed to save settings');
- }
-}
-
-// Helper function to flatten nested objects
-function flattenObject(obj: any, prefix = ''): Record<string, any> {
- return Object.keys(obj).reduce((acc: Record<string, any>, k: string) => {
- const pre = prefix.length ? `${prefix}.` : '';
- if (typeof obj[k] === 'object' && obj[k] !== null && !Array.isArray(obj[k])) {
- Object.assign(acc, flattenObject(obj[k], `${pre}${k}`));
- } else {
- acc[`${pre}${k}`] = obj[k];
+ console.error('Error saving settings with lock:', error);
+ const errorMessage = error instanceof Error ? error.message : String(error);
+ throw new Error(`Failed to save settings: ${errorMessage}`);
+ } finally {
+ // Always release the lock if we acquired it
+ if (release) {
+ try {
+ await release();
+ } catch (releaseError) {
+ console.error('Error releasing lock:', releaseError);
+ }
}
- return acc;
- }, {});
+ }
}
-// Helper to parse JSON values
-function tryParse(value: string): any {
- try {
- return JSON.parse(value);
- } catch {
- return value;
- }
+function getDefaultSettings(): Settings {
+ return DEFAULT_SETTINGS;
}
diff --git a/src/lib/services/user-service.ts b/src/lib/services/user-service.ts
new file mode 100644
index 000000000..c79ad3b9d
--- /dev/null
+++ b/src/lib/services/user-service.ts
@@ -0,0 +1,144 @@
+import fs from 'fs/promises';
+import path from 'path';
+import bcrypt from 'bcryptjs';
+import crypto from 'node:crypto';
+import { nanoid } from 'nanoid';
+import { encrypt, decrypt } from './encryption-service';
+import { USER_DIR, ensureDirectory } from './paths-service';
+import type { User } from '$lib/types/user.type';
+
+// Ensure user directory exists
+async function ensureUserDir() {
+ await ensureDirectory(USER_DIR, 0o700);
+}
+
+// Get user by username
+export async function getUserByUsername(username: string): Promise<User | null> {
+ try {
+ await ensureUserDir();
+
+ // List all user files
+ const files = await fs.readdir(USER_DIR);
+
+ // Find user by username (case insensitive)
+ for (const file of files) {
+ if (!file.endsWith('.dat')) continue;
+
+ const encryptedData = await fs.readFile(path.join(USER_DIR, file), 'utf-8');
+ const user = (await decrypt(encryptedData)) as User;
+
+ if (user.username.toLowerCase() === username.toLowerCase()) {
+ return user;
+ }
+ }
+
+ return null;
+ } catch (error) {
+ console.error('Error getting user:', error);
+ return null;
+ }
+}
+
+// Get user by ID with decryption
+export async function getUserById(id: string): Promise<User | null> {
+ try {
+ await ensureUserDir();
+
+ const filePath = path.join(USER_DIR, `${id}.dat`);
+
+ // Check if file exists
+ await fs.access(filePath);
+
+ // Read and decrypt
+ const encryptedData = await fs.readFile(filePath, 'utf8');
+ const user = (await decrypt(encryptedData)) as User;
+
+ return user;
+ } catch (error) {
+ // File doesn't exist or decryption failed
+ return null;
+ }
+}
+
+// Save user with encryption
+export async function saveUser(user: User): Promise<User> {
+ await ensureUserDir();
+
+ // Generate ID if it doesn't exist
+ if (!user.id) {
+ user.id = nanoid();
+ user.createdAt = new Date().toISOString();
+ }
+
+ const filePath = path.join(USER_DIR, `${user.id}.dat`); // Changed extension
+
+ // Encrypt user data
+ const encryptedData = await encrypt(user);
+
+ try {
+ // Create/overwrite the file
+ await fs.writeFile(filePath, encryptedData, { mode: 0o600 }); // Only owner can read/write
+ } catch (error) {
+ console.error('Error saving encrypted user data:', error);
+ throw error;
+ }
+
+ return user;
+}
+
+// Verify a password
+export async function verifyPassword(user: User, password: string): Promise<boolean> {
+ return await bcrypt.compare(password, user.passwordHash);
+}
+
+// Hash a password with stronger settings
+export async function hashPassword(password: string): Promise<string> {
+ // Use a higher cost factor for bcrypt
+ return await bcrypt.hash(password, 14); // Increased from 12
+}
+
+// Add a key stretching function for additional security
+export async function deriveKeyFromPassword(password: string, salt: string): Promise<string> {
+ return new Promise((resolve, reject) => {
+ crypto.pbkdf2(
+ password,
+ salt,
+ 150000, // High iteration count for key stretching
+ 64, // 512-bit key
+ 'sha512',
+ (err, derivedKey) => {
+ if (err) reject(err);
+ else resolve(derivedKey.toString('hex'));
+ }
+ );
+ });
+}
+
+// List users with decryption
+export async function listUsers(): Promise<User[]> {
+ try {
+ await ensureUserDir();
+
+ const files = await fs.readdir(USER_DIR);
+ const userFiles = files.filter((file) => file.endsWith('.dat'));
+
+ const users = await Promise.all(
+ userFiles.map(async (file) => {
+ try {
+ const filePath = path.join(USER_DIR, file);
+ const encryptedData = await fs.readFile(filePath, 'utf8');
+ return (await decrypt(encryptedData)) as User;
+ } catch (error) {
+ console.error(`Error reading user file ${file}:`, error);
+ return null;
+ }
+ })
+ );
+
+ // Filter out any null results from failed reads
+ return users.filter((user): user is User => user !== null);
+ } catch (error) {
+ console.error('Error listing users:', error);
+ return [];
+ }
+}
diff --git a/src/lib/services/valkey-service.ts b/src/lib/services/valkey-service.ts
deleted file mode 100644
index c8fb0369e..000000000
--- a/src/lib/services/valkey-service.ts
+++ /dev/null
@@ -1,141 +0,0 @@
-import { createClient, type RedisClientType } from 'redis';
-import { getSettings } from './settings-service';
-
-let client: RedisClientType | null = null;
-let isConnected = false;
-
-type ValKeyConfig = {
- host: string;
- port: number;
- password?: string;
- username?: string;
-};
-
-const DEFAULT_CONFIG: ValKeyConfig = {
- host: 'localhost',
- port: 6379
-};
-
-/**
- * Initialize the Valkey client connection
- */
-export async function initValKeyClient(config: ValKeyConfig = DEFAULT_CONFIG): Promise<void> {
- try {
- // Close any existing connection
- if (client) {
- await client.quit();
- isConnected = false;
- }
-
- // Create connection URL
- const url = `redis://${config.username ? `${config.username}:${config.password}@` : ''}${config.host}:${config.port}`;
-
- client = createClient({
- url,
- socket: {
- reconnectStrategy: (retries: number): number => Math.min(retries * 50, 1000)
- }
- });
-
- client.on('error', (err: Error) => {
- console.error('Valkey/Redis Client Error:', err);
- isConnected = false;
- });
-
- client.on('connect', () => {
- console.log('Connected to Valkey/Redis server');
- isConnected = true;
- });
-
- await client.connect();
- } catch (error) {
- console.error('Failed to initialize Valkey connection:', error);
- isConnected = false;
- }
-}
-
-/**
- * Initialize Valkey client based on application settings
- */
-export async function initValKeyFromSettings(): Promise<boolean> {
- try {
- const settings = await getSettings();
-
- // If Valkey is not enabled in settings, return false
- if (!settings.externalServices?.valkey?.enabled) {
- return false;
- }
-
- const valkeySettings = settings.externalServices.valkey;
-
- await initValKeyClient({
- host: valkeySettings.host,
- port: valkeySettings.port,
- username: valkeySettings.username,
- password: valkeySettings.password
- });
-
- return isConnected;
- } catch (error) {
- console.error('Failed to initialize Valkey from settings:', error);
- return false;
- }
-}
-
-/**
- * Check if the client is connected
- */
-export function isValKeyConnected(): boolean {
- return isConnected && client !== null;
-}
-
-/**
- * Get a value from Valkey
- */
-export async function getValue(key: string): Promise<string | null> {
- if (!isConnected || !client) return null;
-
- try {
- return await client.get(key);
- } catch (error) {
- console.error(`Error retrieving key ${key} from Valkey:`, error);
- return null;
- }
-}
-
-/**
- * Set a value in Valkey
- */
-export async function setValue(key: string, value: string): Promise<boolean> {
- if (!isConnected || !client) return false;
-
- try {
- await client.set(key, value);
- return true;
- } catch (error) {
- console.error(`Error setting key ${key} in Valkey:`, error);
- return false;
- }
-}
-
-/**
- * Get all values matching a pattern
- */
-export async function getKeysValues(pattern: string): Promise<Record<string, string>> {
- if (!isConnected || !client) return {};
-
- try {
- const keys = await client.keys(pattern);
- const result: Record<string, string> = {};
-
- for (const key of keys) {
- const value = await client.get(key);
- if (value) result[key] = value;
- }
-
- return result;
- } catch (error) {
- console.error(`Error retrieving keys matching ${pattern} from Valkey:`, error);
- return {};
- }
-}
diff --git a/src/lib/stores/settings-store.ts b/src/lib/stores/settings-store.ts
new file mode 100644
index 000000000..5e0474b3e
--- /dev/null
+++ b/src/lib/stores/settings-store.ts
@@ -0,0 +1,95 @@
+import { writable, get as getStore } from 'svelte/store';
+import type { Settings } from '$lib/types/settings.type';
+
+// Deep clone utility function that properly handles various data types
+function deepClone<T>(obj: T): T {
+ if (obj === null || typeof obj !== 'object') {
+ return obj;
+ }
+
+ // Handle Date objects
+ if (obj instanceof Date) {
+ return new Date(obj.getTime()) as unknown as T;
+ }
+
+ // Handle arrays
+ if (Array.isArray(obj)) {
+ return obj.map((item) => deepClone(item)) as unknown as T;
+ }
+
+ // Handle objects
+ const clonedObj = {} as T;
+ for (const key in obj) {
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
+ clonedObj[key] = deepClone(obj[key]);
+ }
+ }
+
+ return clonedObj;
+}
+
+// Initialize with default values
+export const settingsStore = writable<Settings>({
+ dockerHost: '',
+ stacksDirectory: '',
+ autoUpdate: false,
+ autoUpdateInterval: 60,
+ pollingEnabled: false,
+ pollingInterval: 10,
+ pruneMode: 'all',
+ registryCredentials: [],
+ auth: {
+ localAuthEnabled: true,
+ sessionTimeout: 30,
+ passwordPolicy: 'medium',
+ rbacEnabled: false
+ }
+});
+
+// Function to update settings from server data
+export function updateSettingsStore(serverData: Partial<Settings>) {
+ // Create a deep clone to prevent direct references
+ const dataToUpdate = deepClone(serverData);
+
+ settingsStore.update((current) => {
+ // Merge settings carefully
+ return {
+ ...current,
+ ...dataToUpdate,
+ // Handle nested objects like auth
+ auth: {
+ ...(current.auth || {}),
+ ...(dataToUpdate.auth || {})
+ }
+ };
+ });
+}
+
+export function getSettings(): Settings {
+ return getStore(settingsStore);
+}
+
+// Helper to save settings to the server
+export async function saveSettingsToServer(): Promise<boolean> {
+ try {
+ const settings = getSettings();
+
+ const response = await fetch('/api/settings', {
+ method: 'PUT',
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ body: JSON.stringify(settings)
+ });
+
+ if (!response.ok) {
+ const data = await response.json();
+ throw new Error(data.error || `HTTP error! status: ${response.status}`);
+ }
+
+ return true;
+ } catch (error) {
+ console.error('Failed to save settings:', error);
+ throw error;
+ }
+}
diff --git a/src/lib/types/api-response.type.ts b/src/lib/types/api-response.type.ts
new file mode 100644
index 000000000..9455ab638
--- /dev/null
+++ b/src/lib/types/api-response.type.ts
@@ -0,0 +1,6 @@
+export type ApiResponse = {
+ success?: boolean;
+ message?: string;
+ error?: string;
+ [key: string]: unknown;
+};
diff --git a/src/lib/types/session.type.ts b/src/lib/types/session.type.ts
new file mode 100644
index 000000000..7fbd9d63f
--- /dev/null
+++ b/src/lib/types/session.type.ts
@@ -0,0 +1,7 @@
+export type UserSession = {
+ userId: string;
+ username: string;
+ createdAt: number;
+ lastAccessed: number;
+ expires?: number;
+};
diff --git a/src/lib/types/settings.ts b/src/lib/types/settings.ts
deleted file mode 100644
index 2dc8afe3e..000000000
--- a/src/lib/types/settings.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-export interface SettingsData {
- dockerHost: string;
- autoUpdate: boolean;
- autoUpdateInterval: number;
- pollingEnabled: boolean;
- pollingInterval: number;
- stacksDirectory: string;
- pruneMode: 'all' | 'dangling';
- registryCredentials?: Array<{
- url: string;
- username: string;
- password: string;
- }>;
- externalServices: {
- valkey?: {
- enabled: boolean;
- host: string;
- port: number;
- username?: string;
- password?: string;
- keyPrefix: string;
- };
- // Other services can be added here in the future
- };
-}
diff --git a/src/lib/types/settings.type.ts b/src/lib/types/settings.type.ts
new file mode 100644
index 000000000..b1446ac79
--- /dev/null
+++ b/src/lib/types/settings.type.ts
@@ -0,0 +1,30 @@
+export interface AuthSettings {
+ localAuthEnabled: boolean;
+ sessionTimeout: number;
+ passwordPolicy: 'low' | 'medium' | 'high';
+ rbacEnabled: boolean;
+}
+
+export interface RegistryCredential {
+ url: string;
+ username: string;
+ password: string;
+}
+
+export interface Onboarding {
+ completed?: boolean;
+ completedAt?: string;
+}
+
+export interface Settings {
+ dockerHost: string;
+ stacksDirectory: string;
+ autoUpdate: boolean;
+ autoUpdateInterval: number;
+ pollingEnabled: boolean;
+ pollingInterval: number;
+ pruneMode: 'all' | 'dangling';
+ registryCredentials: RegistryCredential[];
+ auth: AuthSettings;
+ onboarding?: Onboarding;
+}
diff --git a/src/lib/types/table-columns/user-table-columns.ts b/src/lib/types/table-columns/user-table-columns.ts
new file mode 100644
index 000000000..f403b0e24
--- /dev/null
+++ b/src/lib/types/table-columns/user-table-columns.ts
@@ -0,0 +1,56 @@
+import type { ColumnDef } from '@tanstack/table-core';
+import type { User } from '$lib/types/user.type';
+import { renderComponent } from '$lib/components/ui/data-table/index.js';
+import UserCell from '$lib/components/table-cells/user-name-cell.svelte';
+import EmailCell from '$lib/components/table-cells/user-email-cell.svelte';
+import RolesCell from '$lib/components/table-cells/user-roles.cell.svelte';
+import UserTableActions from '$lib/components/table-cells/user-table-actions.svelte';
+
+// Column definitions for the user management table
+export const userTableColumns = (onRemoveUser: (userId: string, username: string) => void, onEdit: (user: User) => void): ColumnDef<User>[] => [
+ {
+ id: 'user',
+ header: 'User',
+ accessorFn: (row) => row.username,
+ cell: ({ row }) => {
+ return renderComponent(UserCell, {
+ displayName: row.original.displayName,
+ username: row.original.username
+ });
+ }
+ },
+ {
+ id: 'email',
+ header: 'Email',
+ accessorKey: 'email',
+ cell: ({ row }) => {
+ return renderComponent(EmailCell, {
+ email: row.original.email
+ });
+ }
+ },
+ {
+ id: 'roles',
+ header: 'Roles',
+ accessorFn: (row) => row.roles.join(', '),
+ cell: ({ row }) => {
+ return renderComponent(RolesCell, {
+ roles: row.original.roles
+ });
+ }
+ },
+ {
+ id: 'actions',
+ header: '',
+ cell: ({ row }) => {
+ return renderComponent(UserTableActions, {
+ userId: row.original.id,
+ username: row.original.username,
+ user: row.original,
+ onRemove: onRemoveUser,
+ onEdit: onEdit
+ });
+ },
+ enableSorting: false
+ }
+];
diff --git a/src/lib/types/user.type.ts b/src/lib/types/user.type.ts
new file mode 100644
index 000000000..33521a10f
--- /dev/null
+++ b/src/lib/types/user.type.ts
@@ -0,0 +1,12 @@
+export type User = {
+ id: string;
+ username: string;
+ passwordHash: string;
+ displayName?: string;
+ email?: string;
+ roles: string[];
+ createdAt: string;
+ lastLogin?: string;
+ requirePasswordChange?: boolean;
+ updatedAt?: string;
+};
diff --git a/src/lib/utils/onboarding.utils.ts b/src/lib/utils/onboarding.utils.ts
new file mode 100644
index 000000000..f471c73e7
--- /dev/null
+++ b/src/lib/utils/onboarding.utils.ts
@@ -0,0 +1,33 @@
+import { listUsers, saveUser, hashPassword } from '$lib/services/user-service';
+
+// First-run check to create admin user if needed
+export async function checkFirstRun() {
+ try {
+ // getBasePath from settings-service should already handle dev vs prod
+ const users = await listUsers();
+
+ if (users.length === 0) {
+ console.log('No users found. Creating default admin user...');
+
+ // Create a default admin user
+ const passwordHash = await hashPassword('arcane-admin'); // Default password
+
+ await saveUser({
+ id: crypto.randomUUID(),
+ username: 'arcane',
+ passwordHash,
+ displayName: 'Arcane Admin',
+ email: 'arcane@local',
+ roles: ['admin'],
+ createdAt: new Date().toISOString()
+ });
+
+ console.log('Default admin user created successfully');
+ console.log('Username: arcane');
+ console.log('Password: arcane-admin');
+ console.log('IMPORTANT: Please change this password immediately after first login!');
+ }
+ } catch (error) {
+ console.error('Error during first-run check:', error);
+ }
+}
diff --git a/src/routes/+layout.server.ts b/src/routes/+layout.server.ts
index 5b9f746be..6a5075bb3 100644
--- a/src/routes/+layout.server.ts
+++ b/src/routes/+layout.server.ts
@@ -8,7 +8,7 @@ import type { LayoutServerLoad } from './$types';
let versionInformation: AppVersionInformation;
let versionInformationLastUpdated: number;
-export const load = (async () => {
+export const load = (async (locals) => {
// If update checks are disabled via env var, return only current version
const updateCheckDisabled = env.UPDATE_CHECK_DISABLED === 'true';
@@ -16,7 +16,8 @@ export const load = (async () => {
return {
versionInformation: {
currentVersion
- } as AppVersionInformation
+ } as AppVersionInformation,
+ user: locals.locals.user || null
};
}
@@ -36,6 +37,7 @@ export const load = (async () => {
}
return {
- versionInformation
+ versionInformation,
+ user: locals.locals.user || null
};
}) satisfies LayoutServerLoad;
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 0724b6eba..54cc3a34e 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -4,13 +4,19 @@
import { ModeWatcher } from 'mode-watcher';
import Nav from '$lib/components/navbar.svelte';
import { Toaster } from '$lib/components/ui/sonner/index.js';
- import { navigating } from '$app/state';
+ import { navigating, page } from '$app/state';
let { children, data } = $props();
const versionInformation = data.versionInformation;
+ const user = $derived(data.user); // Access the user from data
const isNavigating = $derived(navigating !== null);
+ const isAuthenticated = $derived(!!user); // Check if user exists
+
+ const isOnboardingPage = $derived(page.url.pathname.startsWith('/onboarding'));
+ // Only show sidebar when authenticated AND not in onboarding
+ const showSidebar = $derived(isAuthenticated && !isOnboardingPage);
</script>
<svelte:head><title>Arcane</title></svelte:head>
@@ -20,11 +26,14 @@
<!-- Apply a loading state to the page during navigation -->
{#if isNavigating}
- <!-- add a loading indicator heret -->
+ <!-- add a loading indicator here -->
{/if}
<div class="flex min-h-screen bg-background">
- <Nav {versionInformation} />
+ <!-- Only show sidebar when authenticated -->
+ {#if showSidebar}
+ <Nav {versionInformation} />
+ {/if}
<main class="flex-1">
<section class="p-6">
diff --git a/src/routes/api/settings/+server.ts b/src/routes/api/settings/+server.ts
new file mode 100644
index 000000000..02dc0b042
--- /dev/null
+++ b/src/routes/api/settings/+server.ts
@@ -0,0 +1,204 @@
+import { json } from '@sveltejs/kit';
+import type { RequestHandler } from './$types';
+import { getSettings, saveSettings } from '$lib/services/settings-service';
+import type { Settings } from '$lib/types/settings.type';
+import { initComposeService } from '$lib/services/docker/stack-service';
+import { initAutoUpdateScheduler, stopAutoUpdateScheduler } from '$lib/services/docker/scheduler-service';
+
+export const GET: RequestHandler = async () => {
+ try {
+ const settings = await getSettings();
+ return json({ success: true, settings });
+ } catch (error: any) {
+ console.error('API Error fetching settings:', error);
+ return json(
+ {
+ success: false,
+ error: error.message || 'Failed to fetch settings'
+ },
+ { status: 500 }
+ );
+ }
+};
+
+export const PUT: RequestHandler = async ({ request }) => {
+ try {
+ const body = await request.json();
+ const currentSettings = await getSettings();
+
+ // Validate required fields
+ if (!body.dockerHost) {
+ return json(
+ {
+ success: false,
+ error: 'Docker host cannot be empty.'
+ },
+ { status: 400 }
+ );
+ }
+
+ if (!body.stacksDirectory) {
+ return json(
+ {
+ success: false,
+ error: 'Stacks directory cannot be empty.'
+ },
+ { status: 400 }
+ );
+ }
+
+ // Normalize boolean values (handle string representation from form data)
+ const booleanFields = ['autoUpdate', 'pollingEnabled'];
+ const nestedAuthBooleanFields = ['localAuthEnabled', 'rbacEnabled'];
+
+ // Handle top-level boolean fields
+ booleanFields.forEach((field) => {
+ if (field in body) {
+ // Convert string "true"/"false" to actual boolean if needed
+ if (typeof body[field] === 'string') {
+ body[field] = body[field] === 'true';
+ }
+ }
+ });
+
+ // Handle nested auth boolean fields
+ if (body.auth) {
+ nestedAuthBooleanFields.forEach((field) => {
+ if (field in body.auth) {
+ // Convert string "true"/"false" to actual boolean if needed
+ if (typeof body.auth[field] === 'string') {
+ body.auth[field] = body.auth[field] === 'true';
+ }
+ }
+ });
+ }
+
+ // Validate polling interval if polling is enabled
+ if (body.pollingEnabled) {
+ const pollingInterval = parseInt(body.pollingInterval, 10);
+ if (isNaN(pollingInterval) || pollingInterval < 5 || pollingInterval > 60) {
+ return json(
+ {
+ success: false,
+ error: 'Polling interval must be between 5 and 60 minutes.'
+ },
+ { status: 400 }
+ );
+ }
+ body.pollingInterval = pollingInterval; // Ensure it's a number
+ }
+
+ // Validate auto-update interval if enabled
+ if (body.autoUpdate) {
+ const autoUpdateInterval = parseInt(body.autoUpdateInterval, 10);
+ if (isNaN(autoUpdateInterval) || autoUpdateInterval < 5) {
+ body.autoUpdateInterval = 60; // Default to 60 minutes
+ } else {
+ const validatedAutoUpdateInterval = Math.min(Math.max(autoUpdateInterval, 5), 1440);
+ body.autoUpdateInterval = validatedAutoUpdateInterval;
+ }
+ }
+
+ // Ensure nested objects exist if they are partially updated
+ if (!body.externalServices) body.externalServices = {};
+ if (!body.auth) body.auth = {};
+
+ // Handle registry credentials
+ if (body.registryCredentials && typeof body.registryCredentials === 'string') {
+ try {
+ body.registryCredentials = JSON.parse(body.registryCredentials);
+ } catch (e) {
+ console.error('Error parsing registry credentials', e);
+ // Use current registry credentials
+ body.registryCredentials = currentSettings.registryCredentials;
+ }
+ }
+
+ // Handle authentication settings
+ if (body.authentication && typeof body.authentication === 'string') {
+ try {
+ body.authentication = JSON.parse(body.authentication);
+ } catch (e) {
+ console.error('Error parsing authentication settings', e);
+ // Use current authentication settings
+ body.authentication = currentSettings.auth;
+ }
+ }
+
+ // Handle Auth settings
+ if (body.auth !== undefined) {
+ body.auth = {
+ localAuthEnabled: body.auth.localAuthEnabled ?? currentSettings.auth?.localAuthEnabled ?? true,
+ sessionTimeout: body.auth.sessionTimeout ?? currentSettings.auth?.sessionTimeout ?? 60
+ };
+ } else if (currentSettings.auth) {
+ // Keep current auth settings if not provided in update
+ body.auth = currentSettings.auth;
+ }
+
+ // Add onboarding to accepted fields
+ // Validate and normalize onboarding status
+ if (body.onboarding) {
+ if (typeof body.onboarding.completed === 'string') {
+ body.onboarding.completed = body.onboarding.completed === 'true';
+ }
+
+ // Ensure completedAt is a valid date string
+ if (!body.onboarding.completedAt) {
+ body.onboarding.completedAt = new Date().toISOString();
+ }
+ }
+
+ // Merge settings
+ const updatedSettings: Settings = {
+ ...currentSettings,
+ ...body
+ };
+
+ // Handle special cases for pruning settings
+ if (body.pruneMode) {
+ updatedSettings.pruneMode = body.pruneMode as 'all' | 'dangling';
+ }
+
+ // Save updated settings
+ await saveSettings(updatedSettings);
+
+ // Handle Docker connection changes
+ const dockerHostChanged = currentSettings.dockerHost !== updatedSettings.dockerHost;
+ const stacksDirChanged = currentSettings.stacksDirectory !== updatedSettings.stacksDirectory;
+
+ if (dockerHostChanged || stacksDirChanged) {
+ // Reinitialize compose service with new settings
+ await initComposeService();
+ }
+
+ // Handle auto-update changes
+ const autoUpdateChanged = currentSettings.autoUpdate !== updatedSettings.autoUpdate || currentSettings.autoUpdateInterval !== updatedSettings.autoUpdateInterval;
+
+ if (autoUpdateChanged) {
+ if (updatedSettings.autoUpdate) {
+ // Stop any existing scheduler and start with new settings
+ await stopAutoUpdateScheduler();
+ await initAutoUpdateScheduler();
+ } else {
+ // Stop the auto-update scheduler if disabled
+ await stopAutoUpdateScheduler();
+ }
+ }
+
+ return json({
+ success: true,
+ message: 'Settings updated successfully',
+ settings: updatedSettings
+ });
+ } catch (error: any) {
+ console.error('API Error updating settings:', error);
+ return json(
+ {
+ success: false,
+ error: error.message || 'Failed to update settings'
+ },
+ { status: 500 }
+ );
+ }
+};
diff --git a/src/routes/api/users/+server.ts b/src/routes/api/users/+server.ts
new file mode 100644
index 000000000..d64696348
--- /dev/null
+++ b/src/routes/api/users/+server.ts
@@ -0,0 +1,103 @@
+import { json } from '@sveltejs/kit';
+import type { RequestHandler } from './$types';
+import { getUserByUsername, hashPassword, saveUser, listUsers } from '$lib/services/user-service';
+import type { User } from '$lib/types/user.type';
+import { getSettings } from '$lib/services/settings-service';
+
+// GET users endpoint
+export const GET: RequestHandler = async ({ locals }) => {
+ try {
+ // Check authentication - only admins can list users
+ if (!locals.user || !locals.user.roles.includes('admin')) {
+ return json({ error: 'Unauthorized' }, { status: 403 });
+ }
+
+ const users = await listUsers();
+
+ // Remove sensitive data before sending
+ const sanitizedUsers = users.map((user) => {
+ const { passwordHash, ...rest } = user;
+ return rest;
+ });
+
+ return json({ users: sanitizedUsers });
+ } catch (error) {
+ console.error('Error listing users:', error);
+ return json({ error: 'Failed to list users' }, { status: 500 });
+ }
+};
+
+export const POST: RequestHandler = async ({ request, locals }) => {
+ try {
+ // Only admins should be able to create users
+ const currentUser = locals.user as User;
+
+ if (!currentUser || !currentUser.roles.includes('admin')) {
+ return json({ error: 'Unauthorized' }, { status: 403 });
+ }
+
+ const userData = await request.json();
+ const { username, password, displayName, email, roles } = userData;
+
+ // Validate input
+ if (!username || !password) {
+ return json({ error: 'Username and password are required' }, { status: 400 });
+ }
+
+ // Check if username already exists
+ const existingUser = await getUserByUsername(username);
+
+ if (existingUser) {
+ return json({ error: 'Username already exists' }, { status: 409 });
+ }
+
+ // Get password policy from settings
+ const settings = await getSettings();
+ const policy = settings.auth?.passwordPolicy || 'medium';
+
+ // Validate password according to policy
+ if (!validatePassword(password, policy)) {
+ return json({ error: 'Password does not meet requirements' }, { status: 400 });
+ }
+
+ // Create the user
+ const passwordHash = await hashPassword(password);
+
+ const newUser: User = {
+ id: '', // Will be generated in saveUser
+ username,
+ passwordHash,
+ displayName: displayName || username,
+ email,
+ roles: roles || ['user'],
+ createdAt: new Date().toISOString()
+ };
+
+ const savedUser = await saveUser(newUser);
+
+ // Return sanitized user (remove sensitive fields)
+ const { passwordHash: _, ...sanitizedUser } = savedUser;
+
+ return json({
+ success: true,
+ user: sanitizedUser
+ });
+ } catch (error) {
+ console.error('Error creating user:', error);
+ return json({ error: 'Failed to create user' }, { status: 500 });
+ }
+};
+
+// Validate password based on policy
+function validatePassword(password: string, policy: 'low' | 'medium' | 'high'): boolean {
+ switch (policy) {
+ case 'low':
+ return password.length >= 8;
+ case 'medium':
+ return password.length >= 10 && /[A-Z]/.test(password) && /[0-9]/.test(password);
+ case 'high':
+ return password.length >= 12 && /[A-Z]/.test(password) && /[0-9]/.test(password) && /[^A-Za-z0-9]/.test(password);
+ default:
+ return true;
+ }
+}
diff --git a/src/routes/api/users/[id]/+server.ts b/src/routes/api/users/[id]/+server.ts
new file mode 100644
index 000000000..f9103949b
--- /dev/null
+++ b/src/routes/api/users/[id]/+server.ts
@@ -0,0 +1,104 @@
+import { json } from '@sveltejs/kit';
+import type { RequestHandler } from './$types';
+import { getUserById, saveUser, hashPassword } from '$lib/services/user-service';
+import type { User } from '$lib/types/user.type';
+import { getSettings } from '$lib/services/settings-service';
+import fs from 'fs/promises';
+import path from 'node:path';
+import { BASE_PATH } from '$lib/services/paths-service';
+
+// Get USER_DIR from base path
+const USER_DIR = path.join(BASE_PATH, 'users');
+
+// PUT endpoint for updating a user
+export const PUT: RequestHandler = async ({ params, request, locals }) => {
+ try {
+ // Only admins or the user themselves can update
+ if (!locals.user) {
+ return json({ error: 'Unauthorized' }, { status: 401 });
+ }
+
+ const userIdToUpdate = params.id;
+ const requestingUser = locals.user as User;
+
+ // Check if user is admin or updating their own profile
+ if (!requestingUser.roles.includes('admin') && requestingUser.id !== userIdToUpdate) {
+ return json({ error: 'Forbidden' }, { status: 403 });
+ }
+
+ const existingUser = await getUserById(userIdToUpdate);
+ if (!existingUser) {
+ return json({ error: 'User not found' }, { status: 404 });
+ }
+
+ const updateData = await request.json();
+ const { password, displayName, email, roles } = updateData;
+
+ // Prepare updated user object
+ const updatedUser: User = { ...existingUser };
+
+ if (displayName !== undefined) updatedUser.displayName = displayName;
+ if (email !== undefined) updatedUser.email = email;
+ if (roles !== undefined && requestingUser.roles.includes('admin')) {
+ // Only admins can change roles
+ const ALLOWED = ['admin', 'user', 'viewer'];
+ updatedUser.roles = Array.isArray(roles) ? roles.filter((r) => ALLOWED.includes(r)) : updatedUser.roles;
+ }
+
+ // Handle password change
+ if (password) {
+ // Get password policy from settings
+ const settings = await getSettings();
+ const policy = settings.auth?.passwordPolicy || 'medium';
+
+ // Validate password according to policy
+ // if (!validatePassword(password, policy)) {
+ // return json({ error: 'Password does not meet requirements' }, { status: 400 });
+ // }
+ updatedUser.passwordHash = await hashPassword(password);
+ updatedUser.requirePasswordChange = false; // Reset flag if password is changed
+ }
+
+ const savedUser = await saveUser(updatedUser);
+
+ // Return sanitized user
+ const { passwordHash: _, ...sanitizedUser } = savedUser;
+ return json({ success: true, user: sanitizedUser });
+ } catch (error) {
+ console.error('Error updating user:', error);
+ return json({ error: 'Failed to update user' }, { status: 500 });
+ }
+};
+
+// DELETE endpoint
+export const DELETE: RequestHandler = async ({ params, locals }) => {
+ try {
+ // Only admins should be able to delete users
+ if (!locals.user || !locals.user.roles.includes('admin')) {
+ return json({ error: 'Unauthorized' }, { status: 403 });
+ }
+
+ const userId = params.id;
+
+ // Don't allow deleting yourself
+ if (userId === locals.user.id) {
+ return json({ error: 'Cannot delete your own account' }, { status: 400 });
+ }
+
+ const userFile = path.join(USER_DIR, `${userId}.dat`);
+
+ try {
+ await fs.access(userFile);
+ } catch {
+ return json({ error: 'User not found' }, { status: 404 });
+ }
+
+ // Delete the user file
+ await fs.unlink(userFile);
+
+ return json({ success: true });
+ } catch (error) {
+ console.error('Error deleting user:', error);
+ return json({ error: 'Failed to delete user' }, { status: 500 });
+ }
+};
diff --git a/src/routes/api/users/password/+server.ts b/src/routes/api/users/password/+server.ts
new file mode 100644
index 000000000..48ed53445
--- /dev/null
+++ b/src/routes/api/users/password/+server.ts
@@ -0,0 +1,49 @@
+import { json } from '@sveltejs/kit';
+import type { RequestHandler } from './$types';
+import { getUserByUsername, saveUser } from '$lib/services/user-service';
+import { verifyPassword, hashPassword } from '$lib/services/user-service';
+
+export const POST: RequestHandler = async ({ request, locals }) => {
+ try {
+ const currentUser = locals.user;
+
+ if (!currentUser) {
+ return json({ error: 'Not authenticated' }, { status: 401 });
+ }
+
+ const { currentPassword, newPassword } = await request.json();
+
+ if (!currentPassword || !newPassword) {
+ return json({ error: 'Both current and new passwords are required' }, { status: 400 });
+ }
+
+ // Get fresh user data
+ const user = await getUserByUsername(currentUser.username);
+
+ if (!user) {
+ return json({ error: 'User not found' }, { status: 404 });
+ }
+
+ // Verify current password
+ const validPassword = await verifyPassword(user, currentPassword);
+
+ if (!validPassword) {
+ return json({ error: 'Current password is incorrect' }, { status: 400 });
+ }
+
+ // Hash new password
+ const passwordHash = await hashPassword(newPassword);
+
+ // Update user with new password hash
+ await saveUser({
+ ...user,
+ passwordHash,
+ updatedAt: new Date().toISOString()
+ });
+
+ return json({ success: true });
+ } catch (error) {
+ console.error('Error changing password:', error);
+ return json({ error: 'Failed to change password' }, { status: 500 });
+ }
+};
diff --git a/src/routes/auth/login/+page.server.ts b/src/routes/auth/login/+page.server.ts
new file mode 100644
index 000000000..436dee3a0
--- /dev/null
+++ b/src/routes/auth/login/+page.server.ts
@@ -0,0 +1,90 @@
+import { fail, redirect } from '@sveltejs/kit';
+import type { Actions, PageServerLoad } from './$types';
+import { getUserByUsername, verifyPassword } from '$lib/services/user-service';
+import { createSession } from '$lib/services/session-service';
+import { getSettings } from '$lib/services/settings-service';
+
+// Define a proper ActionData type
+interface LoginActionData {
+ error?: string;
+ username?: string;
+ [key: string]: unknown;
+}
+
+export const load: PageServerLoad = async ({ url, cookies }) => {
+ // Check if already logged in
+ const sessionId = cookies.get('session_id');
+ if (sessionId) {
+ // Check if onboarding is needed for logged-in users
+ const settings = await getSettings();
+
+ if (!settings.onboarding?.completed) {
+ throw redirect(302, '/onboarding/welcome');
+ } else {
+ throw redirect(302, '/');
+ }
+ }
+
+ // Pass the redirect URL from the query string to the form
+ const redirectTo = url.searchParams.get('redirect') || '/';
+ return { redirectTo };
+};
+
+export const actions: Actions = {
+ login: async ({ request, cookies, getClientAddress, url }) => {
+ const data = await request.formData();
+ const username = data.get('username') as string;
+ const password = data.get('password') as string;
+
+ if (!username || !password) {
+ return fail(400, { error: 'Username and password are required' });
+ }
+
+ // Get user
+ const user = await getUserByUsername(username);
+
+ if (!user) {
+ return fail(400, {
+ error: 'Invalid username or password',
+ username
+ } as LoginActionData);
+ }
+
+ // Verify password
+ const validPassword = await verifyPassword(user, password);
+
+ if (!validPassword) {
+ return fail(400, {
+ error: 'Invalid username or password',
+ username
+ } as LoginActionData);
+ }
+
+ // Create session
+ const ip = getClientAddress();
+ const userAgent = request.headers.get('user-agent') || undefined;
+ const sessionId = await createSession(user.id, user.username);
+
+ // Set session cookie with enhanced security
+ const settings = await getSettings();
+ const sessionTimeout = settings.auth?.sessionTimeout || 60; // minutes
+
+ cookies.set('session_id', sessionId, {
+ path: '/',
+ httpOnly: true,
+ secure: true, // Always use secure cookies
+ maxAge: sessionTimeout * 60, // Convert to seconds
+ sameSite: 'strict', // Enhanced from 'lax'
+ partitioned: true // Use partitioned cookies for added security in supported browsers
+ });
+
+ // Check if onboarding is needed
+ if (!settings.onboarding?.completed) {
+ throw redirect(302, '/onboarding/welcome');
+ }
+
+ // Get redirect URL from query params or go to home
+ const redirectTo = url.searchParams.get('redirect') || '/';
+ throw redirect(302, redirectTo);
+ }
+};
diff --git a/src/routes/auth/login/+page.svelte b/src/routes/auth/login/+page.svelte
new file mode 100644
index 000000000..f6e4f8d50
--- /dev/null
+++ b/src/routes/auth/login/+page.svelte
@@ -0,0 +1,81 @@
+<script lang="ts">
+ import { enhance } from '$app/forms';
+ import { Button } from '$lib/components/ui/button/index.js';
+ import { Input } from '$lib/components/ui/input/index.js';
+ import { Label } from '$lib/components/ui/label/index.js';
+ import * as Alert from '$lib/components/ui/alert/index.js';
+ import { AlertCircle } from '@lucide/svelte';
+ import type { PageData } from './$types';
+ import { goto } from '$app/navigation';
+
+ // Define a proper type for form data
+ type ActionData = {
+ error?: string;
+ username?: string;
+ };
+
+ let { data, form }: { data: PageData; form: ActionData | null } = $props();
+
+ let loading = $state(false);
+</script>
+
+<div class="flex max-h-screen flex-col justify-center my-auto py-12 sm:px-6 lg:px-8">
+ <div class="mx-auto w-full max-w-md">
+ <img class="h-40 w-auto mx-auto" src="/img/arcane.png" alt="Arcane" />
+ <h2 class="mt-2 text-center text-2xl font-bold leading-9 tracking-tight">Sign in to Arcane</h2>
+ </div>
+
+ <div class="mt-10 mx-auto w-full max-w-[480px]">
+ <div class="bg-card px-6 py-5 shadow sm:rounded-lg sm:px-12">
+ {#if form?.error}
+ <Alert.Root class="mb-4" variant="destructive">
+ <AlertCircle class="h-4 w-4 mr-2" />
+ <Alert.Title>Authentication Failed</Alert.Title>
+ <Alert.Description>{form.error}</Alert.Description>
+ </Alert.Root>
+ {/if}
+
+ <form
+ class="space-y-6"
+ method="POST"
+ action="?/login"
+ use:enhance={() => {
+ loading = true;
+ return async ({ result, update }) => {
+ loading = false;
+ // Handle other result states like error
+ if (result.type === 'error') {
+ console.error('An unexpected error occurred during login');
+ } else if (result.type === 'success') {
+ goto(data.redirectTo);
+ }
+ await update();
+ };
+ }}
+ >
+ <div>
+ <Label for="username" class="block text-sm font-medium leading-6">Username</Label>
+ <div class="mt-2">
+ <Input id="username" name="username" type="text" autocomplete="username" required value={form?.username ?? ''} />
+ </div>
+ </div>
+
+ <div>
+ <Label for="password" class="block text-sm font-medium leading-6">Password</Label>
+ <div class="mt-2">
+ <Input id="password" name="password" type="password" autocomplete="current-password" required />
+ </div>
+ </div>
+
+ <div>
+ <Button type="submit" class="w-full" disabled={loading} aria-busy={loading}>
+ {#if loading}
+ <span class="loading loading-spinner loading-xs mr-2"></span>
+ {/if}
+ Sign in
+ </Button>
+ </div>
+ </form>
+ </div>
+ </div>
+</div>
diff --git a/src/routes/containers/[id]/+page.svelte b/src/routes/containers/[id]/+page.svelte
index 854881d3e..6bf134042 100644
--- a/src/routes/containers/[id]/+page.svelte
+++ b/src/routes/containers/[id]/+page.svelte
@@ -7,11 +7,11 @@
import { enhance } from '$app/forms';
import { invalidateAll } from '$app/navigation';
import * as Alert from '$lib/components/ui/alert/index.js';
- import { Separator } from '$lib/components/ui/separator/index.js';
import { Badge } from '$lib/components/ui/badge/index.js';
import ActionButtons from '$lib/components/action-buttons.svelte';
import { formatDate, formatLogLine, formatBytes } from '$lib/utils';
import type Docker from 'dockerode';
+ import type { ContainerInspectInfo } from 'dockerode';
import StatusBadge from '$lib/components/badges/status-badge.svelte';
import * as Tabs from '$lib/components/ui/tabs/index.js';
@@ -24,7 +24,7 @@
let removing = $state(false);
let isRefreshing = $state(false);
- let formattedLogs = $derived(logs ? logs.split('\n').map(formatLogLine).join('\n') : '');
+ let formattedLogLines = $derived(logs ? logs.split('\n').map(formatLogLine) : []);
let logsContainer = $state<HTMLDivElement | undefined>(undefined);
@@ -54,27 +54,22 @@
// --- End Stats Calculation ---
// --- Helper to find Primary IP Address ---
- // Type is any to avoid TypeScript errors, but ideally should be replaced with a proper type definition for networkSettings.
- const getPrimaryIpAddress = (networkSettings: any | undefined | null): string => {
+ const getPrimaryIpAddress = (networkSettings: ContainerInspectInfo['NetworkSettings'] | undefined | null): string => {
if (!networkSettings) return 'N/A';
- // 1. Check top-level IPAddress (common for bridge)
if (networkSettings.IPAddress) {
return networkSettings.IPAddress;
}
- // 2. Check IPs within the Networks object (common for ipvlan, macvlan, custom bridges)
if (networkSettings.Networks) {
for (const networkName in networkSettings.Networks) {
const network = networkSettings.Networks[networkName];
if (network?.IPAddress) {
- // Return the first valid IP found in the networks list
return network.IPAddress;
}
}
}
- // 3. Fallback if no IP found
return 'N/A';
};
@@ -90,7 +85,10 @@
$effect(() => {
if (logsContainer && logs) {
- logsContainer.scrollTop = logsContainer.scrollHeight;
+ const shouldScroll = logsContainer.scrollHeight - logsContainer.scrollTop <= logsContainer.clientHeight + 50;
+ if (shouldScroll) {
+ logsContainer.scrollTop = logsContainer.scrollHeight;
+ }
}
});
@@ -138,7 +136,6 @@
{#if container}
<div class="flex gap-2 flex-wrap">
- <!-- Use ActionButtons for container actions -->
<form
method="POST"
action={container.state?.Running ? '?/stop' : '?/start'}
@@ -179,7 +176,6 @@
{/if}
{#if container}
- <!-- NEW: Tabbed Interface -->
<Tabs.Root value={activeTab} onValueChange={(val) => (activeTab = val)} class="space-y-4">
<Tabs.List>
<Tabs.Trigger value="overview">Overview</Tabs.Trigger>
@@ -192,7 +188,6 @@
<!-- Overview Tab -->
<Tabs.Content value="overview" class="space-y-6">
- <!-- Container Details Card -->
<Card.Root class="border shadow-sm">
<Card.Header>
<Card.Title>Container Details</Card.Title>
@@ -200,7 +195,6 @@
</Card.Header>
<Card.Content>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
- <!-- Image -->
<div class="flex items-start gap-3">
<div class="bg-blue-500/10 p-2 rounded-full h-10 w-10 flex items-center justify-center flex-shrink-0">
<HardDrive class="h-5 w-5 text-blue-500" />
@@ -215,7 +209,6 @@
</div>
</div>
- <!-- Created -->
<div class="flex items-start gap-3">
<div class="bg-green-500/10 p-2 rounded-full h-10 w-10 flex items-center justify-center flex-shrink-0">
<Clock class="h-5 w-5 text-green-500" />
@@ -228,7 +221,6 @@
</div>
</div>
- <!-- IP Address -->
<div class="flex items-start gap-3">
<div class="bg-purple-500/10 p-2 rounded-full h-10 w-10 flex items-center justify-center flex-shrink-0">
<Network class="h-5 w-5 text-purple-500" />
@@ -241,7 +233,6 @@
</div>
</div>
- <!-- Command -->
<div class="flex items-start gap-3">
<div class="bg-amber-500/10 p-2 rounded-full h-10 w-10 flex items-center justify-center flex-shrink-0">
<Terminal class="h-5 w-5 text-amber-500" />
@@ -257,7 +248,6 @@
</Card.Content>
</Card.Root>
- <!-- Advanced Container Info -->
<Card.Root class="border shadow-sm">
<Card.Header>
<Card.Title>Container Configuration</Card.Title>
@@ -265,13 +255,11 @@
</Card.Header>
<Card.Content>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 text-sm">
- <!-- Container ID -->
<div>
<span class="font-semibold">Container ID:</span>
<div class="font-mono mt-1 text-xs break-all">{container.id}</div>
</div>
- <!-- Working Directory -->
{#if container.config?.WorkingDir}
<div>
<span class="font-semibold">Working Directory:</span>
@@ -279,7 +267,6 @@
</div>
{/if}
- <!-- User -->
{#if container.config?.User}
<div>
<span class="font-semibold">User:</span>
@@ -287,7 +274,6 @@
</div>
{/if}
- <!-- Health Check section -->
{#if container.state?.Health}
<div class="col-span-full">
<span class="font-semibold">Health Status:</span>
@@ -308,7 +294,6 @@
<!-- Configuration Tab -->
<Tabs.Content value="config" class="space-y-6">
- <!-- Environment Variables -->
<Card.Root class="border shadow-sm">
<Card.Header>
<Card.Title>Environment Variables</Card.Title>
@@ -317,7 +302,7 @@
<Card.Content class="max-h-[360px] overflow-y-auto">
{#if container.config?.Env && container.config.Env.length > 0}
<div class="space-y-2">
- {#each container.config.Env as env}
+ {#each container.config.Env as env, index (index)}
<div class="text-xs flex overflow-hidden">
{#if env.includes('=')}
{@const [key, ...valueParts] = env.split('=')}
@@ -338,7 +323,6 @@
</Card.Content>
</Card.Root>
- <!-- Ports -->
<Card.Root class="border shadow-sm">
<Card.Header>
<Card.Title>Ports</Card.Title>
@@ -347,7 +331,7 @@
<Card.Content>
{#if container.networkSettings?.Ports && Object.keys(container.networkSettings.Ports).length > 0}
<div class="space-y-2">
- {#each Object.entries(container.networkSettings.Ports) as [containerPort, hostBindings], i}
+ {#each Object.entries(container.networkSettings.Ports) as [containerPort, hostBindings] (containerPort)}
<div class="flex flex-col sm:flex-row sm:items-center justify-between rounded-md bg-muted/40 p-2 px-3 gap-1">
<div class="font-mono text-sm truncate" title={containerPort}>
{containerPort}
@@ -355,7 +339,7 @@
<div class="flex flex-wrap items-center gap-2">
<span class="text-xs text-muted-foreground">→</span>
{#if hostBindings && hostBindings.length > 0}
- {#each hostBindings as binding}
+ {#each hostBindings as binding (binding.HostIp + ':' + binding.HostPort)}
<Badge variant="outline" class="font-mono truncate max-w-[150px]" title="{binding.HostIp || '0.0.0.0'}:{binding.HostPort}">
{binding.HostIp || '0.0.0.0'}:{binding.HostPort}
</Badge>
@@ -373,7 +357,6 @@
</Card.Content>
</Card.Root>
- <!-- Labels -->
<Card.Root class="border shadow-sm">
<Card.Header>
<Card.Title>Labels</Card.Title>
@@ -382,7 +365,7 @@
<Card.Content class="max-h-[360px] overflow-y-auto">
{#if container.labels && Object.keys(container.labels).length > 0}
<div class="space-y-2">
- {#each Object.entries(container.labels) as [key, value]}
+ {#each Object.entries(container.labels) as [key, value] (key)}
<div class="text-xs flex overflow-hidden">
<div class="flex w-full">
<span class="font-semibold mr-2 min-w-[120px] max-w-[180px] truncate flex-shrink-0" title={key}>{key}:</span>
@@ -400,7 +383,6 @@
<!-- Networks Tab -->
<Tabs.Content value="network" class="space-y-6">
- <!-- Networks -->
<Card.Root class="border shadow-sm">
<Card.Header>
<Card.Title>Connected Networks</Card.Title>
@@ -409,7 +391,7 @@
<Card.Content>
{#if container.networkSettings?.Networks && Object.keys(container.networkSettings.Networks).length > 0}
<div class="space-y-4">
- {#each Object.entries(container.networkSettings.Networks) as [networkName, networkConfig]}
+ {#each Object.entries(container.networkSettings.Networks) as [networkName, networkConfig] (networkName)}
<div class="rounded-md bg-muted/40 p-3">
<div class="text-sm font-medium">{networkName}</div>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-x-4 gap-y-2 mt-2">
@@ -454,7 +436,6 @@
<!-- Storage Tab -->
<Tabs.Content value="storage" class="space-y-6">
- <!-- Volumes/Mounts -->
<Card.Root class="border shadow-sm">
<Card.Header>
<Card.Title>Volumes & Mounts</Card.Title>
@@ -463,43 +444,17 @@
<Card.Content>
{#if container.mounts && container.mounts.length > 0}
<div class="space-y-4">
- <!-- Mount Type Summary -->
- <div class="flex flex-wrap gap-2 pb-2">
- {#if container.mounts.filter((m) => m.Type === 'bind').length > 0}
- <Badge variant="outline" class="bg-blue-500/10 text-blue-600 border-blue-200">
- {container.mounts.filter((m) => m.Type === 'bind').length} bind
- {container.mounts.filter((m) => m.Type === 'bind').length === 1 ? 'mount' : 'mounts'}
- </Badge>
- {/if}
- {#if container.mounts.filter((m) => m.Type === 'volume').length > 0}
- <Badge variant="outline" class="bg-purple-500/10 text-purple-600 border-purple-200">
- {container.mounts.filter((m) => m.Type === 'volume').length}
- {container.mounts.filter((m) => m.Type === 'volume').length === 1 ? 'volume' : 'volumes'}
- </Badge>
- {/if}
- {#if container.mounts.filter((m) => m.Type === 'tmpfs').length > 0}
- <Badge variant="outline" class="bg-amber-500/10 text-amber-600 border-amber-200">
- {container.mounts.filter((m) => m.Type === 'tmpfs').length} tmpfs
- {container.mounts.filter((m) => m.Type === 'tmpfs').length === 1 ? 'mount' : 'mounts'}
- </Badge>
- {/if}
- </div>
-
- <!-- Mount List -->
- {#each container.mounts as mount}
+ {#each container.mounts as mount (mount.Destination)}
<div class="rounded-md overflow-hidden border border-muted">
- <!-- Mount Header -->
<div
class={`p-3 flex items-center justify-between gap-2
${mount.Type === 'volume' ? 'bg-purple-500/5 border-b border-purple-200/30' : mount.Type === 'bind' ? 'bg-blue-500/5 border-b border-blue-200/30' : 'bg-amber-500/5 border-b border-amber-200/30'}`}
>
- <!-- Mount Type Icon & Info -->
<div class="flex items-center gap-2">
<div
class={`p-1.5 rounded-md
${mount.Type === 'volume' ? 'bg-purple-500/10' : mount.Type === 'bind' ? 'bg-blue-500/10' : 'bg-amber-500/10'}`}
>
- <!-- Display appropriate icon based on mount type -->
{#if mount.Type === 'volume'}
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="text-purple-600">
<path d="M21 9v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h10"></path>
@@ -530,16 +485,13 @@
</div>
</div>
- <!-- Access Badge -->
<Badge variant={mount.RW ? 'outline' : 'secondary'}>
{mount.RW ? 'Read/Write' : 'Read Only'}
</Badge>
</div>
- <!-- Mount Details -->
<div class="bg-card p-3">
<div class="grid gap-3 text-sm">
- <!-- Destination Path -->
<div class="flex items-start gap-2">
<div class="min-w-[80px] text-xs font-semibold pt-0.5 text-muted-foreground">CONTAINER</div>
<div class="font-mono text-xs bg-muted/50 py-1 px-2 rounded break-all flex-1">
@@ -547,7 +499,6 @@
</div>
</div>
- <!-- Source Path -->
<div class="flex items-start gap-2">
<div class="min-w-[80px] text-xs font-semibold pt-0.5 text-muted-foreground">
{mount.Type === 'volume' ? 'VOLUME' : mount.Type === 'bind' ? 'HOST' : 'SOURCE'}
@@ -557,7 +508,6 @@
</div>
</div>
- <!-- Additional Info -->
{#if mount.Driver || mount.Mode || (mount.Propagation && mount.Propagation !== 'rprivate')}
<div class="pt-1 grid grid-cols-2 gap-x-4 gap-y-1 text-xs text-muted-foreground">
{#if mount.Driver}
@@ -603,7 +553,6 @@
<!-- Logs Tab -->
<Tabs.Content value="logs" class="space-y-6">
- <!-- Logs Card -->
<Card.Root class="border shadow-sm">
<Card.Header>
<div class="flex flex-col sm:flex-row justify-between items-start sm:items-center w-full gap-4">
@@ -620,12 +569,14 @@
<Card.Content>
<div class="bg-muted/50 text-foreground p-4 rounded-md font-mono text-xs h-[500px] overflow-auto whitespace-pre-wrap border" bind:this={logsContainer} id="logs-container" style="word-break: break-all;">
- {#if logs}
- {@html formattedLogs}
+ {#if formattedLogLines.length > 0}
+ {#each formattedLogLines as line, index (index)}
+ {@html line}
+ {/each}
{:else}
<div class="flex flex-col items-center justify-center h-full text-center">
<Terminal class="h-8 w-8 text-muted-foreground mb-3 opacity-40" />
- <p class="text-muted-foreground italic">No logs available. The container may not have started yet.</p>
+ <p class="text-muted-foreground italic">No logs available. The container may not have started yet or produces no output.</p>
</div>
{/if}
</div>
@@ -639,7 +590,6 @@
<!-- Metrics Tab -->
<Tabs.Content value="stats" class="space-y-6">
- <!-- Stats Card -->
<Card.Root class="border shadow-sm">
<Card.Header>
<div class="flex justify-between items-center">
@@ -656,7 +606,6 @@
<Card.Content>
{#if stats && container.state?.Running}
<div class="space-y-6">
- <!-- CPU Usage -->
<div>
<div class="flex justify-between items-center mb-2">
<span class="text-sm font-medium flex items-center gap-2"><Cpu class="h-4 w-4 text-muted-foreground" /> CPU Usage</span>
@@ -667,7 +616,6 @@
</div>
</div>
- <!-- Memory Usage -->
<div>
<div class="flex justify-between items-center mb-2">
<span class="text-sm font-medium flex items-center gap-2"><MemoryStick class="h-4 w-4 text-muted-foreground" /> Memory Usage</span>
@@ -678,7 +626,6 @@
</div>
</div>
- <!-- Network I/O -->
<div>
<h4 class="text-sm font-medium mb-2 flex items-center gap-2">
<Network class="h-4 w-4 text-muted-foreground" /> Network I/O
@@ -695,7 +642,6 @@
</div>
</div>
- <!-- Block I/O -->
{#if stats.blkio_stats && stats.blkio_stats.io_service_bytes_recursive && stats.blkio_stats.io_service_bytes_recursive.length > 0}
<div>
<h4 class="text-sm font-medium mb-2">Block I/O</h4>
@@ -716,7 +662,6 @@
</div>
{/if}
- <!-- Process Count -->
{#if stats.pids_stats && stats.pids_stats.current !== undefined}
<div class="text-sm">
<span class="font-medium">Process count:</span>
diff --git a/src/routes/containers/create-container-dialog.svelte b/src/routes/containers/create-container-dialog.svelte
index d455bca54..a388a6825 100644
--- a/src/routes/containers/create-container-dialog.svelte
+++ b/src/routes/containers/create-container-dialog.svelte
@@ -30,7 +30,7 @@
onSubmit?: (data: ContainerConfig) => void;
}
- let { open = $bindable(false), isCreating = false, volumes = [], networks = [], images = [], onSubmit = (data: ContainerConfig) => {} }: Props = $props();
+ let { open = $bindable(false), isCreating = false, volumes = [], networks = [], images = [], onSubmit = (_data: ContainerConfig) => {} }: Props = $props();
// Internal state
let containerName = $state('');
@@ -141,18 +141,6 @@
});
});
- // We can still keep this function for the submission check
- function validatePort(index: number, type: 'host' | 'container'): void {
- const port = type === 'host' ? ports[index].hostPort : ports[index].containerPort;
- const validation = validatePortNumber(port);
-
- if (type === 'host') {
- ports[index].hostError = validation.error;
- } else {
- ports[index].containerError = validation.error;
- }
- }
-
// Add/remove functions for arrays
function addPort() {
ports = [...ports, { hostPort: '', containerPort: '' }];
@@ -328,7 +316,7 @@
</Select.Trigger>
<Select.Content>
<Select.Group>
- {#each images as image}
+ {#each images as image (image.id)}
<Select.Item value={image.repo + ':' + image.tag}>
{image.repo + ':' + image.tag}
</Select.Item>
@@ -345,7 +333,7 @@
<span>{selectedRestartPolicyLabel}</span>
</Select.Trigger>
<Select.Content>
- {#each restartPolicyOptions as option}
+ {#each restartPolicyOptions as option (option.value)}
<Select.Item label={option.label} value={option.value}>{option.label}</Select.Item>
{/each}
</Select.Content>
@@ -357,7 +345,7 @@
<!-- Port Mappings -->
<Tabs.Content value="ports">
<div class="space-y-4">
- {#each ports as port, index}
+ {#each ports as port, index (index)}
<div class="flex space-x-3 items-end">
<div class="flex-1 grid grid-cols-2 gap-4">
<div>
@@ -397,7 +385,7 @@
<!-- Volume Mounts -->
<Tabs.Content value="volumes">
<div class="space-y-4">
- {#each volumeMounts as mount, index}
+ {#each volumeMounts as mount, index (index)}
<div class="flex space-x-3 items-end">
<div class="flex-1 grid grid-cols-2 gap-4">
<div>
@@ -407,7 +395,7 @@
<span>{mount.source || 'Select volume'}</span>
</Select.Trigger>
<Select.Content>
- {#each volumes as volume}
+ {#each volumes as volume (volume.name)}
<Select.Item value={volume.name}>
{volume.name}
</Select.Item>
@@ -434,7 +422,7 @@
<!-- Environment Variables -->
<Tabs.Content value="env">
<div class="space-y-4">
- {#each envVars as env, index}
+ {#each envVars as env, index (index)}
<div class="flex space-x-3 items-end">
<div class="flex-1 grid grid-cols-2 gap-4">
<div>
@@ -559,7 +547,7 @@
<!-- Labels -->
<div class="space-y-4 border-b pb-6">
<h3 class="text-lg font-medium">Labels</h3>
- {#each labels as label, index}
+ {#each labels as label, index (index)}
<div class="flex space-x-3 items-end">
<div class="flex-1 grid grid-cols-2 gap-4">
<div>
diff --git a/src/routes/networks/NetworkActions.svelte b/src/routes/networks/NetworkActions.svelte
index d2182f38f..fe5899f61 100644
--- a/src/routes/networks/NetworkActions.svelte
+++ b/src/routes/networks/NetworkActions.svelte
@@ -41,9 +41,10 @@
toast.success(`Network "${name}" deleted successfully.`);
isConfirmDeleteDialogOpen = false; // Close dialog
await invalidateAll(); // Refresh the list on the parent page
- } catch (err: any) {
+ } catch (err) {
console.error(`Failed to delete network ${id}:`, err);
- toast.error(`Failed to delete network "${name}": ${err.message}`);
+ const message = err instanceof Error ? err.message : String(err); // Get message safely
+ toast.error(`Failed to delete network "${name}": ${message}`);
// Keep dialog open on error? Optional.
// isConfirmDeleteDialogOpen = false;
} finally {
diff --git a/src/routes/networks/[networkId]/+page.server.ts b/src/routes/networks/[networkId]/+page.server.ts
index 3eebe49c4..75fedfbf4 100644
--- a/src/routes/networks/[networkId]/+page.server.ts
+++ b/src/routes/networks/[networkId]/+page.server.ts
@@ -1,7 +1,7 @@
import type { PageServerLoad, Actions } from './$types';
-import { getNetwork, removeNetwork } from '$lib/services/docker/network-service'; // #file:/Users/kylemendell/dev/ofkm/arcane/src/lib/services/docker/network-service.ts
+import { getNetwork, removeNetwork } from '$lib/services/docker/network-service';
import { error, fail, redirect } from '@sveltejs/kit';
-import { NotFoundError, ConflictError, DockerApiError } from '$lib/types/errors'; // #file:/Users/kylemendell/dev/ofkm/arcane/src/lib/types/errors.ts
+import { NotFoundError, ConflictError, DockerApiError } from '$lib/types/errors';
export const load: PageServerLoad = async ({ params }) => {
const networkId = params.networkId;
@@ -9,38 +9,34 @@ export const load: PageServerLoad = async ({ params }) => {
try {
const network = await getNetwork(networkId);
- // Note: NetworkInspectInfo contains container info directly in network.Containers
return {
network
};
- } catch (err: any) {
+ } catch (err: unknown) {
console.error(`Failed to load network ${networkId}:`, err);
if (err instanceof NotFoundError) {
error(404, { message: err.message });
} else {
- error(err.status || 500, {
- message: err.message || `Failed to load network details for "${networkId}".`
+ const statusCode = err && typeof err === 'object' && 'status' in err ? (err as { status: number }).status : 500;
+ error(statusCode, {
+ message: err instanceof Error ? err.message : `Failed to load network details for "${networkId}".`
});
}
}
};
-// Add action for removing the network from its details page
export const actions: Actions = {
remove: async ({ params }) => {
const networkId = params.networkId;
try {
await removeNetwork(networkId);
- // Redirect back to the main networks list after successful removal
redirect(303, '/networks');
- } catch (err: any) {
+ } catch (err: unknown) {
console.error(`Failed to remove network ${networkId}:`, err);
- // Handle specific errors from removeNetwork
if (err instanceof NotFoundError || err instanceof ConflictError || err instanceof DockerApiError) {
- return fail(err.status || 500, { error: err.message });
+ return fail('status' in err ? err.status : 500, { error: err.message });
}
- // Fallback for unexpected errors
- return fail(500, { error: err.message || 'An unexpected error occurred during removal.' });
+ return fail(500, { error: err instanceof Error ? err.message : 'An unexpected error occurred during removal.' });
}
}
};
diff --git a/src/routes/networks/[networkId]/+page.svelte b/src/routes/networks/[networkId]/+page.svelte
index e8564d584..28f6b5986 100644
--- a/src/routes/networks/[networkId]/+page.svelte
+++ b/src/routes/networks/[networkId]/+page.svelte
@@ -57,7 +57,7 @@
</script>
<!-- Confirmation Dialog for Remove -->
-<ConfirmDialog bind:open={showRemoveConfirm} title="Confirm Network Removal" description={`Are you sure you want to remove network "${network?.Name}" (${shortId})? This action cannot be undone. Ensure no containers are connected.`} confirmLabel="Remove" variant="destructive" onConfirm={handleRemoveConfirm} itemType={'network'} isRunning={inUse} />
+<ConfirmDialog bind:open={showRemoveConfirm} title="Confirm Network Removal" description={`Are you sure you want to remove network "${network?.Name}" (${shortId})? This action cannot be undone. Ensure no containers are connected.`} confirmLabel="Remove" variant="destructive" onConfirm={handleRemoveConfirm} itemType="network" isRunning={inUse} />
<div class="space-y-6 pb-8">
<!-- Breadcrumb Navigation -->
@@ -236,7 +236,7 @@
<Card.Title>IPAM Configuration</Card.Title>
</Card.Header>
<Card.Content class="space-y-4">
- {#each network.IPAM.Config as config, i}
+ {#each network.IPAM.Config as config, i (i)}
<div class="space-y-1">
{#if config.Subnet}
<p class="text-sm"><span class="font-medium text-muted-foreground">Subnet:</span> <span class="font-mono text-xs">{config.Subnet}</span></p>
@@ -250,7 +250,7 @@
{#if config.AuxiliaryAddresses && Object.keys(config.AuxiliaryAddresses).length > 0}
<p class="text-sm font-medium text-muted-foreground mt-1">Auxiliary Addresses:</p>
<ul class="list-disc list-inside pl-4">
- {#each Object.entries(config.AuxiliaryAddresses) as [name, addr]}
+ {#each Object.entries(config.AuxiliaryAddresses) as [name, addr] (name)}
<li class="text-xs font-mono">{name}: {addr}</li>
{/each}
</ul>
@@ -265,7 +265,7 @@
{/if}
{#if network.IPAM.Options && Object.keys(network.IPAM.Options).length > 0}
<p class="text-sm font-medium text-muted-foreground mt-2">IPAM Options:</p>
- {#each Object.entries(network.IPAM.Options) as [key, value]}
+ {#each Object.entries(network.IPAM.Options) as [key, value] (key)}
<p class="text-xs font-mono pl-4">{key}: {value}</p>
{/each}
{/if}
@@ -280,7 +280,7 @@
<Card.Title class="flex items-center gap-2"><Container class="h-5 w-5 text-muted-foreground" /> Connected Containers ({connectedContainers.length})</Card.Title>
</Card.Header>
<Card.Content class="space-y-2">
- {#each connectedContainers as container}
+ {#each connectedContainers as container (container.Name)}
<div class="text-sm flex flex-col sm:flex-row sm:items-center">
<span class="font-medium w-full sm:w-1/3 break-all">
<a href="/containers/{container.Name}" class="hover:underline text-primary">{container.Name}</a>
@@ -304,7 +304,7 @@
<Card.Title class="flex items-center gap-2"><Tag class="h-5 w-5 text-muted-foreground" /> Labels</Card.Title>
</Card.Header>
<Card.Content class="space-y-2">
- {#each Object.entries(network.Labels) as [key, value]}
+ {#each Object.entries(network.Labels) as [key, value] (key)}
<div class="text-sm flex flex-col sm:flex-row sm:items-center">
<span class="font-medium text-muted-foreground w-full sm:w-1/4 break-all">{key}:</span>
<span class="font-mono text-xs sm:text-sm break-all w-full sm:w-3/4">{value}</span>
@@ -324,7 +324,7 @@
<Card.Title>Options</Card.Title>
</Card.Header>
<Card.Content class="space-y-2">
- {#each Object.entries(network.Options) as [key, value]}
+ {#each Object.entries(network.Options) as [key, value] (key)}
<div class="text-sm flex flex-col sm:flex-row sm:items-center">
<span class="font-medium text-muted-foreground w-full sm:w-1/4 break-all">{key}:</span>
<span class="font-mono text-xs sm:text-sm break-all w-full sm:w-3/4">{value}</span>
diff --git a/src/routes/onboarding/+layout.svelte b/src/routes/onboarding/+layout.svelte
new file mode 100644
index 000000000..944cc20df
--- /dev/null
+++ b/src/routes/onboarding/+layout.svelte
@@ -0,0 +1,49 @@
+<script lang="ts">
+ import '../../app.css';
+ import { page } from '$app/state';
+ import { CheckCircle2, Settings, Key } from '@lucide/svelte';
+ interface Props {
+ children?: import('svelte').Snippet;
+ }
+
+ let { children }: Props = $props();
+
+ const steps = [
+ { id: 'welcome', label: 'Welcome', path: '/onboarding/welcome', icon: CheckCircle2 },
+ { id: 'password', label: 'Admin Password', path: '/onboarding/password', icon: Key },
+ { id: 'settings', label: 'Initial Setup', path: '/onboarding/settings', icon: Settings },
+ { id: 'complete', label: 'Complete', path: '/onboarding/complete', icon: CheckCircle2 }
+ ];
+
+ let currentStep = $derived(steps.findIndex((step) => page.url.pathname === step.path));
+</script>
+
+<div class="min-h-screen flex flex-col">
+ <header class="pb-6 px-8 border-b">
+ <div class="flex items-center">
+ <img src="/img/arcane.png" alt="Arcane" class="h-12" />
+ <h1 class="ml-4 text-2xl font-bold">Arcane Setup</h1>
+ </div>
+ </header>
+
+ <div class="container mx-auto px-4 py-6">
+ <div class="flex items-center justify-between mb-8">
+ {#each steps as step, i (step.id)}
+ <div class="flex flex-col items-center">
+ <div class={`rounded-full w-10 h-10 flex items-center justify-center ${i <= currentStep ? 'bg-primary text-primary-foreground' : 'bg-muted text-muted-foreground'}`}>
+ <step.icon class="h-5 w-5" />
+ </div>
+ <span class={`text-sm mt-2 ${i <= currentStep ? 'text-foreground' : 'text-muted-foreground'}`}>{step.label}</span>
+ </div>
+
+ {#if i < steps.length - 1}
+ <div class={`h-1 flex-1 ${i < currentStep ? 'bg-primary' : 'bg-muted'}`}></div>
+ {/if}
+ {/each}
+ </div>
+ </div>
+
+ <main class="flex-1 container mx-auto px-4 py-6">
+ {@render children?.()}
+ </main>
+</div>
diff --git a/src/routes/onboarding/complete/+page.svelte b/src/routes/onboarding/complete/+page.svelte
new file mode 100644
index 000000000..935c9aeb5
--- /dev/null
+++ b/src/routes/onboarding/complete/+page.svelte
@@ -0,0 +1,21 @@
+<script lang="ts">
+ import { Button } from '$lib/components/ui/button/index.js';
+ import { CheckCircle } from '@lucide/svelte';
+</script>
+
+<div class="max-w-2xl mx-auto text-center">
+ <div class="mb-6 flex justify-center">
+ <div class="rounded-full bg-green-100 p-4 dark:bg-green-900/20">
+ <CheckCircle class="h-12 w-12 text-green-600 dark:text-green-400" />
+ </div>
+ </div>
+
+ <h1 class="text-3xl font-bold mb-6">Setup Complete!</h1>
+
+ <div class="prose dark:prose-invert max-w-xl mx-auto mb-8">
+ <p>Congratulations! You've successfully completed the initial setup for Arcane.</p>
+ <p>You can now start using the application to manage your Docker containers and compose stacks.</p>
+ </div>
+
+ <Button href="/" size="lg">Go to Dashboard</Button>
+</div>
diff --git a/src/routes/onboarding/password/+page.svelte b/src/routes/onboarding/password/+page.svelte
new file mode 100644
index 000000000..3aca10426
--- /dev/null
+++ b/src/routes/onboarding/password/+page.svelte
@@ -0,0 +1,101 @@
+<script lang="ts">
+ import { Button } from '$lib/components/ui/button/index.js';
+ import { Input } from '$lib/components/ui/input/index.js';
+ import { Label } from '$lib/components/ui/label/index.js';
+ import * as Alert from '$lib/components/ui/alert/index.js';
+ import { AlertCircle, ChevronRight } from '@lucide/svelte';
+ import { preventDefault } from '$lib/utils/form.utils';
+
+ let password = '';
+ let confirmPassword = '';
+ let error = '';
+ let loading = false;
+
+ async function handleSubmit() {
+ loading = true;
+ error = '';
+
+ // Validate passwords
+ if (!password || password.length < 8) {
+ error = 'Password must be at least 8 characters long';
+ loading = false;
+ return;
+ }
+
+ if (password !== confirmPassword) {
+ error = 'Passwords do not match';
+ loading = false;
+ return;
+ }
+
+ try {
+ // Call API to change password
+ const response = await fetch('/api/users/password', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ body: JSON.stringify({
+ currentPassword: 'arcane-admin', // Default password
+ newPassword: password
+ })
+ });
+
+ if (!response.ok) {
+ const data = await response.json();
+ throw new Error(data.error || 'Failed to change password');
+ }
+
+ // Redirect to next step
+ window.location.href = '/onboarding/settings';
+ } catch (err) {
+ error = err instanceof Error ? err.message : 'An unexpected error occurred';
+ } finally {
+ loading = false;
+ }
+ }
+</script>
+
+<div class="max-w-lg mx-auto">
+ <h1 class="text-3xl font-bold mb-8 text-center">Change Admin Password</h1>
+
+ <div class="mb-8 space-y-2">
+ <p class="text-center text-lg">For security reasons, please change the default admin password.</p>
+ <p class="text-center text-muted-foreground">
+ Your account currently uses the default password: <code class="bg-muted/30 px-1.5 py-0.5 rounded">arcane-admin</code>
+ </p>
+ </div>
+
+ {#if error}
+ <Alert.Root class="mb-8" variant="destructive">
+ <AlertCircle class="h-5 w-5 mr-2" />
+ <Alert.Title>Error</Alert.Title>
+ <Alert.Description>{error}</Alert.Description>
+ </Alert.Root>
+ {/if}
+
+ <form class="space-y-8" onsubmit={preventDefault(handleSubmit)}>
+ <div class="space-y-6">
+ <div class="space-y-4">
+ <Label for="password" class="text-base block mb-2">New Password</Label>
+ <Input id="password" type="password" bind:value={password} placeholder="Enter new password" class="h-12 px-4 bg-muted/10" required />
+ </div>
+
+ <div class="space-y-4">
+ <Label for="confirmPassword" class="text-base block mb-2">Confirm Password</Label>
+ <Input id="confirmPassword" type="password" bind:value={confirmPassword} placeholder="Confirm new password" class="h-12 px-4 bg-muted/10" required />
+ </div>
+ </div>
+
+ <div class="flex justify-between pt-8">
+ <Button href="/onboarding/welcome" variant="outline" class="h-12 px-6">Back</Button>
+ <Button type="submit" disabled={loading} class="h-12 px-8 flex items-center gap-2">
+ {#if loading}
+ <span class="inline-block w-4 h-4 border-2 border-t-transparent border-white rounded-full animate-spin"></span>
+ {/if}
+ Continue
+ <ChevronRight class="h-4 w-4 ml-1" />
+ </Button>
+ </div>
+ </form>
+</div>
diff --git a/src/routes/onboarding/settings/+page.svelte b/src/routes/onboarding/settings/+page.svelte
new file mode 100644
index 000000000..f4488b3f6
--- /dev/null
+++ b/src/routes/onboarding/settings/+page.svelte
@@ -0,0 +1,144 @@
+<script lang="ts">
+ import { Button } from '$lib/components/ui/button/index.js';
+ import { Input } from '$lib/components/ui/input/index.js';
+ import { Label } from '$lib/components/ui/label/index.js';
+ import { Switch } from '$lib/components/ui/switch/index.js';
+ import * as Alert from '$lib/components/ui/alert/index.js';
+ import * as Card from '$lib/components/ui/card/index.js';
+ import { AlertCircle, ChevronRight } from '@lucide/svelte';
+ import { settingsStore, saveSettingsToServer, updateSettingsStore } from '$lib/stores/settings-store';
+ import { preventDefault } from '$lib/utils/form.utils';
+ import { goto } from '$app/navigation';
+ import { isDev } from '$lib/constants';
+
+ let error = $state('');
+ let loading = $state(false);
+
+ // Initialize settings
+ let dockerHost = $derived($settingsStore.dockerHost || 'unix:///var/run/docker.sock');
+ let pollingEnabled = $derived($settingsStore.pollingEnabled !== undefined ? $settingsStore.pollingEnabled : true);
+ let pollingInterval = $derived($settingsStore.pollingInterval || 10);
+ let autoUpdate = $derived($settingsStore.autoUpdate !== undefined ? $settingsStore.autoUpdate : false);
+
+ // Get the appropriate stacks directory based on environment
+ const defaultStacksDirectory = isDev ? './.dev-data/stacks' : '/app/data/stacks';
+
+ async function handleSubmit() {
+ loading = true;
+ error = '';
+
+ try {
+ const currentSettings = { ...$settingsStore };
+
+ const settingsPayload = {
+ dockerHost,
+ stacksDirectory: currentSettings.stacksDirectory || defaultStacksDirectory,
+ pollingEnabled,
+ pollingInterval: parseInt(pollingInterval.toString()),
+ autoUpdate,
+ autoUpdateInterval: 60,
+ pruneMode: 'all' as 'all' | 'dangling',
+ registryCredentials: [],
+ auth: {
+ ...(currentSettings.auth || {}),
+ localAuthEnabled: true,
+ sessionTimeout: 30,
+ passwordPolicy: 'medium' as 'medium' | 'low' | 'high',
+ rbacEnabled: false
+ },
+ onboarding: {
+ completed: true,
+ completedAt: new Date().toISOString()
+ }
+ };
+
+ // Update the store
+ updateSettingsStore(settingsPayload);
+
+ await saveSettingsToServer();
+
+ goto('/onboarding/complete');
+ } catch (err) {
+ error = err instanceof Error ? err.message : 'An unexpected error occurred';
+ console.error('Error saving settings:', err);
+ } finally {
+ loading = false;
+ }
+ }
+</script>
+
+<div class="max-w-2xl mx-auto">
+ <h1 class="text-3xl font-bold mb-4">Initial Setup</h1>
+
+ <p class="mb-6 text-muted-foreground">Configure basic settings for Arcane. You can change these later from the Settings page.</p>
+
+ {#if error}
+ <Alert.Root class="mb-6" variant="destructive">
+ <AlertCircle class="h-4 w-4 mr-2" />
+ <Alert.Title>Error</Alert.Title>
+ <Alert.Description>{error}</Alert.Description>
+ </Alert.Root>
+ {/if}
+
+ <form class="space-y-5" onsubmit={preventDefault(handleSubmit)}>
+ <Card.Root class="border shadow-sm">
+ <Card.Header class="py-4">
+ <Card.Title>Docker Connection</Card.Title>
+ <Card.Description>Configure how Arcane connects to Docker</Card.Description>
+ </Card.Header>
+ <Card.Content class="pt-0 pb-4">
+ <div class="space-y-3">
+ <Label for="dockerHost" class="text-base block mb-2">Docker Host</Label>
+ <Input id="dockerHost" bind:value={dockerHost} placeholder="unix:///var/run/docker.sock" class="h-12 px-4 bg-muted/10" />
+ <p class="text-xs text-muted-foreground">
+ Examples: Unix: <code class="bg-muted/30 px-1 py-0.5 rounded">unix:///var/run/docker.sock</code>
+ Windows: <code class="bg-muted/30 px-1 py-0.5 rounded">npipe:////./pipe/docker_engine</code>
+ </p>
+ </div>
+ </Card.Content>
+ </Card.Root>
+
+ <Card.Root class="border shadow-sm">
+ <Card.Header class="py-4">
+ <Card.Title>Monitoring & Updates</Card.Title>
+ <Card.Description>Configure how Arcane monitors containers</Card.Description>
+ </Card.Header>
+ <Card.Content class="space-y-4 pt-0 pb-4">
+ <div class="flex items-center justify-between rounded-lg border p-4">
+ <div>
+ <Label for="pollingSwitch" class="font-medium">Container Status Polling</Label>
+ <p class="text-sm text-muted-foreground">Periodically check container status</p>
+ </div>
+ <Switch id="pollingSwitch" checked={pollingEnabled} onCheckedChange={(checked) => (pollingEnabled = checked)} />
+ </div>
+
+ {#if pollingEnabled}
+ <div class="px-4">
+ <Label for="pollingInterval" class="text-base block mb-2">Polling Interval (minutes)</Label>
+ <Input id="pollingInterval" type="number" bind:value={pollingInterval} min="5" max="60" class="h-12 px-4 bg-muted/10" />
+ <p class="text-xs text-muted-foreground mt-1">Set between 5-60 minutes.</p>
+ </div>
+ {/if}
+
+ <div class="flex items-center justify-between rounded-lg border p-4">
+ <div>
+ <Label for="autoUpdateSwitch" class="font-medium">Auto Update Containers</Label>
+ <p class="text-sm text-muted-foreground">Update containers when newer images are available</p>
+ </div>
+ <Switch id="autoUpdateSwitch" checked={autoUpdate} onCheckedChange={(checked) => (autoUpdate = checked)} />
+ </div>
+ </Card.Content>
+ </Card.Root>
+
+ <div class="flex justify-between pt-4">
+ <Button href="/onboarding/password" variant="outline" class="h-12 px-6">Back</Button>
+ <Button type="submit" disabled={loading} class="h-12 px-8 flex items-center gap-2">
+ {#if loading}
+ <span class="inline-block w-4 h-4 border-2 border-t-transparent border-white rounded-full animate-spin"></span>
+ {/if}
+ Continue
+ <ChevronRight class="h-4 w-4" />
+ </Button>
+ </div>
+ </form>
+</div>
diff --git a/src/routes/onboarding/welcome/+page.svelte b/src/routes/onboarding/welcome/+page.svelte
new file mode 100644
index 000000000..75be5db66
--- /dev/null
+++ b/src/routes/onboarding/welcome/+page.svelte
@@ -0,0 +1,48 @@
+<script lang="ts">
+ import { Button } from '$lib/components/ui/button';
+ import { CheckCircle2, ChevronRight } from '@lucide/svelte';
+</script>
+
+<div class="max-w-3xl mx-auto">
+ <h1 class="text-3xl font-bold mb-6">Welcome to Arcane</h1>
+
+ <div class="mb-8 space-y-6">
+ <p class="text-xl">Thank you for installing Arcane! Let's get you set up with a few quick steps.</p>
+
+ <div class="space-y-4">
+ <p class="text-lg font-medium">This wizard will help you:</p>
+
+ <div class="space-y-3">
+ <div class="flex items-start gap-3">
+ <div class="rounded-full bg-primary/10 p-1 mt-0.5">
+ <CheckCircle2 class="h-4 w-4 text-primary" />
+ </div>
+ <p>Change the default admin password for security</p>
+ </div>
+
+ <div class="flex items-start gap-3">
+ <div class="rounded-full bg-primary/10 p-1 mt-0.5">
+ <CheckCircle2 class="h-4 w-4 text-primary" />
+ </div>
+ <p>Configure your Docker connection</p>
+ </div>
+
+ <div class="flex items-start gap-3">
+ <div class="rounded-full bg-primary/10 p-1 mt-0.5">
+ <CheckCircle2 class="h-4 w-4 text-primary" />
+ </div>
+ <p>Set basic application preferences</p>
+ </div>
+ </div>
+
+ <p>This will only take a few minutes to complete.</p>
+ </div>
+ </div>
+
+ <div class="flex justify-end mt-8">
+ <Button href="/onboarding/password" class="flex items-center gap-2">
+ Get Started
+ <ChevronRight class="h-4 w-4" />
+ </Button>
+ </div>
+</div>
diff --git a/src/routes/settings/+page.server.ts b/src/routes/settings/+page.server.ts
index 800951967..672c45d75 100644
--- a/src/routes/settings/+page.server.ts
+++ b/src/routes/settings/+page.server.ts
@@ -1,116 +1,21 @@
-import type { PageServerLoad, Actions } from './$types';
-import { fail } from '@sveltejs/kit';
-import { getSettings, saveSettings } from '$lib/services/settings-service';
-import type { SettingsData } from '$lib/types/settings';
+import type { PageServerLoad } from './$types';
+import { getSettings } from '$lib/services/settings-service';
+import { listUsers } from '$lib/services/user-service';
-export const load: PageServerLoad = async ({ locals }) => {
+export const load: PageServerLoad = async () => {
const settings = await getSettings();
+ const users = await listUsers();
const csrf = crypto.randomUUID();
+ const sanitizedUsers = users.map((user) => {
+ const { passwordHash: _passwordHash, ...rest } = user;
+ return rest;
+ });
+
return {
settings,
- csrf
+ csrf,
+ users: sanitizedUsers
};
};
-
-export const actions: Actions = {
- default: async ({ request }) => {
- let formData = new FormData();
- try {
- formData = await request.formData();
- const settings = await getSettings();
-
- // Get all form values
- const dockerHost = formData.get('dockerHost') as string;
-
- // Explicitly check for the "on" value for both toggle switches
- const autoUpdate = formData.get('autoUpdate') === 'on';
- const autoUpdateInterval = Number.parseInt(formData.get('autoUpdateInterval') as string, 10) || 60;
-
- // Validate interval range
- const validatedAutoUpdateInterval = Math.min(Math.max(autoUpdateInterval, 5), 1440);
-
- const pollingEnabled = formData.get('pollingEnabled') === 'on';
-
- const pollingIntervalStr = formData.get('pollingInterval') as string;
- const stacksDirectory = (formData.get('stacksDirectory') as string) || '';
-
- // --- Read pruneMode from form data ---
- const pruneModeValue = formData.get('pruneMode');
- // Validate the value, default to current setting or 'all' if invalid/missing
- const pruneMode: 'all' | 'dangling' = pruneModeValue === 'all' || pruneModeValue === 'dangling' ? pruneModeValue : settings.pruneMode || 'all'; // Fallback to current or default
-
- if (!dockerHost) {
- return fail(400, {
- error: 'Docker host cannot be empty.',
- values: Object.fromEntries(formData)
- });
- }
-
- if (!stacksDirectory) {
- return fail(400, {
- error: 'Stacks directory cannot be empty.',
- values: Object.fromEntries(formData)
- });
- }
-
- // Process polling interval only if polling is enabled
- let pollingInterval = settings.pollingInterval || 10;
- if (pollingEnabled) {
- const parsedInterval = parseInt(pollingIntervalStr, 10);
- if (!isNaN(parsedInterval) && parsedInterval >= 5 && parsedInterval <= 60) {
- pollingInterval = parsedInterval;
- } else if (pollingIntervalStr) {
- // Only show error if the user actually entered a value
- return fail(400, {
- error: 'Polling interval must be between 5 and 60 minutes.',
- values: {
- ...Object.fromEntries(formData),
- pollingEnabled: 'on', // Make sure we retain the enabled state
- autoUpdate: formData.get('autoUpdate') // Preserve autoUpdate state as well
- }
- });
- }
- }
-
- // Extract Valkey settings
- const valkeyEnabled = formData.get('valkeyEnabled') === 'on';
- const externalServices = {
- ...settings.externalServices,
- valkey: {
- enabled: valkeyEnabled,
- host: formData.get('valkeyHost')?.toString() || 'localhost',
- port: parseInt(formData.get('valkeyPort')?.toString() || '6379', 10),
- username: formData.get('valkeyUsername')?.toString() || '',
- password: formData.get('valkeyPassword')?.toString() || '',
- keyPrefix: formData.get('valkeyKeyPrefix')?.toString() || 'arcane:settings:'
- }
- };
-
- const updatedSettings: SettingsData = {
- ...settings,
- dockerHost,
- autoUpdate,
- pollingEnabled,
- pollingInterval,
- autoUpdateInterval: validatedAutoUpdateInterval,
- stacksDirectory,
- pruneMode: pruneMode,
- externalServices
- };
-
- // Save updated settings
- await saveSettings(updatedSettings);
-
- return { success: true };
- } catch (error: any) {
- console.error('Error updating settings:', error);
- const formValues = Object.fromEntries(formData);
- return fail(500, {
- error: error.message || 'Failed to save settings.',
- values: formValues
- });
- }
- }
-};
diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index 75ccf0d7b..13761a368 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -1,67 +1,60 @@
<script lang="ts">
- import { run } from 'svelte/legacy';
- import { enhance } from '$app/forms';
import * as Tabs from '$lib/components/ui/tabs/index.js';
import { Button } from '$lib/components/ui/button/index.js';
import { Save, RefreshCw } from '@lucide/svelte';
- import type { ActionData, PageData } from './$types';
+ import type { PageData } from './$types';
import { toast } from 'svelte-sonner';
+ import { invalidateAll } from '$app/navigation';
import AppSettings from './tabs/app-settings.svelte';
import UserManagement from './tabs/user-management.svelte';
import Authentication from './tabs/authentication.svelte';
- import RbacSettings from './tabs/rbac-settings.svelte';
- import ExternalServices from './tabs/external-services.svelte';
+ import { saveSettingsToServer, updateSettingsStore } from '$lib/stores/settings-store';
- interface Props {
- data: PageData;
- form: ActionData;
- }
+ let { data } = $props<{ data: PageData }>();
- let { data, form }: Props = $props();
+ $effect(() => {
+ if (data.settings) {
+ updateSettingsStore(data.settings);
+ }
+ });
- // Track active tab
let activeTab = $state('app-settings');
let saving = $state(false);
+ let error = $state<string | null>(null);
- // Keep the tab IDs consistent with the trigger values
const tabs = [
{ id: 'app-settings', label: 'General', component: AppSettings },
- {
- id: 'user-management',
- label: 'User Management',
- component: UserManagement
- },
- {
- id: 'authentication',
- label: 'Authentication',
- component: Authentication
- },
- { id: 'rbac', label: 'RBAC', component: RbacSettings },
- {
- id: 'external-services',
- label: 'External Services',
- component: ExternalServices
- }
+ { id: 'user-management', label: 'User Management', component: UserManagement },
+ { id: 'authentication', label: 'Authentication', component: Authentication }
];
- run(() => {
- if (form?.success) {
+ async function saveSettings() {
+ if (saving) return;
+ saving = true;
+ error = null;
+
+ try {
+ await saveSettingsToServer();
toast.success('Settings saved successfully');
- } else if (form?.error) {
- toast.error(form.error);
+ await invalidateAll();
+ } catch (err: unknown) {
+ console.error('Error saving settings:', err);
+ error = err instanceof Error ? err.message : 'An error occurred while saving settings';
+ if (error) toast.error(error);
+ } finally {
+ saving = false;
}
- });
+ }
</script>
<div class="space-y-6">
- <!-- Header -->
<div class="flex flex-col sm:flex-row justify-between sm:items-center gap-4">
<div>
<h1 class="text-3xl font-bold tracking-tight">Settings</h1>
<p class="text-sm text-muted-foreground mt-1">Configure Arcane's settings and permissions</p>
</div>
- <Button type="submit" form="settings-form" disabled={saving} class="h-10">
+ <Button onclick={saveSettings} disabled={saving} class="h-10">
{#if saving}
<RefreshCw class="mr-2 h-4 w-4 animate-spin" />
Saving...
@@ -72,38 +65,22 @@
</Button>
</div>
- <!-- Tabs Navigation -->
<Tabs.Root value={activeTab} onValueChange={(val) => (activeTab = val)} class="w-full">
- <Tabs.List class="grid grid-cols-5 sm:grid-cols-5 md:w-full md:max-w-3xl mb-4">
- {#each tabs as tab}
+ <Tabs.List class="grid grid-cols-3 md:w-full md:max-w-3xl mb-4">
+ {#each tabs as tab, i (tab.id)}
<Tabs.Trigger value={tab.id} class="whitespace-nowrap">
{tab.label}
</Tabs.Trigger>
{/each}
</Tabs.List>
- <!-- Tab Contents -->
- <form
- method="POST"
- action="?"
- id="settings-form"
- class="space-y-6"
- use:enhance={() => {
- saving = true;
- return async ({ update }) => {
- saving = false;
- await update();
- };
- }}
- >
- <!-- Add a hidden input with a CSRF token -->
- <input type="hidden" name="csrf_token" value={data.csrf} />
-
- {#each tabs as tab}
+ <div id="settings-container">
+ <input type="hidden" id="csrf_token" value={data.csrf} />
+ {#each tabs as tab, i (tab.id)}
<Tabs.Content value={tab.id} class="space-y-4">
- <tab.component {data} {form} />
+ <tab.component {data} />
</Tabs.Content>
{/each}
- </form>
+ </div>
</Tabs.Root>
</div>
diff --git a/src/routes/settings/tabs/app-settings.svelte b/src/routes/settings/tabs/app-settings.svelte
index 69def3066..e072a695f 100644
--- a/src/routes/settings/tabs/app-settings.svelte
+++ b/src/routes/settings/tabs/app-settings.svelte
@@ -2,52 +2,65 @@
import * as Card from '$lib/components/ui/card/index.js';
import { Input } from '$lib/components/ui/input/index.js';
import { Switch } from '$lib/components/ui/switch/index.js';
- import { Save, RefreshCw, Key, Plus, Trash2, ImageMinus } from '@lucide/svelte';
+ import { RefreshCw, Key, Plus, Trash2, ImageMinus, Server } from '@lucide/svelte';
import * as RadioGroup from '$lib/components/ui/radio-group/index.js';
import { Label } from '$lib/components/ui/label/index.js';
- import type { ActionData, PageData } from '../$types';
+ import type { PageData } from '../$types';
+ import { Button } from '$lib/components/ui/button/index.js';
+ import { settingsStore } from '$lib/stores/settings-store';
- let { data, form } = $props<{ data: PageData; form: ActionData }>();
+ let { data } = $props<{ data: PageData }>();
- let settings = $derived(data.settings);
-
- // Update form values from form.values if there was an error, otherwise from settings
- let dockerHost = $derived(form?.values?.dockerHost || settings?.dockerHost || '');
-
- let pollingEnabled = $derived(form?.values?.pollingEnabled !== undefined ? form.values.pollingEnabled === 'on' : settings?.pollingEnabled || false);
-
- let pollingInterval = $derived(form?.values?.pollingInterval !== undefined ? Number(form.values.pollingInterval) : settings?.pollingInterval || 10);
- let autoUpdateInterval = $derived(form?.values?.autoUpdateInterval !== undefined ? Number(form.values.autoUpdateInterval) : settings?.autoUpdateInterval || 10);
-
- let stacksDirectory = $derived(form?.values?.stacksDirectory || settings?.stacksDirectory || '');
- let autoUpdate = $derived(form?.values?.autoUpdate !== undefined ? form.values.autoUpdate === 'on' : settings?.autoUpdate || false);
-
- let pruneMode = $derived<'all' | 'dangling'>(form?.values?.pruneMode || settings?.pruneMode || 'all');
-
- let registryCredentials = $derived(typeof form?.values?.registryCredentials === 'string' ? JSON.parse(form.values.registryCredentials) : form?.values?.registryCredentials || settings?.registryCredentials || []);
+ $effect(() => {
+ if (data.settings) {
+ settingsStore.update((current) => ({
+ ...current,
+ ...data.settings
+ }));
+ }
+ });
const defaultRegistry = { url: '', username: '', password: '' };
function addRegistry() {
- registryCredentials = [...registryCredentials, { ...defaultRegistry }];
+ settingsStore.update((current) => ({
+ ...current,
+ registryCredentials: [...(current.registryCredentials || []), { ...defaultRegistry }]
+ }));
}
function removeRegistry(index: number) {
- registryCredentials = registryCredentials.filter((_: unknown, i: number) => i !== index);
+ settingsStore.update((current) => ({
+ ...current,
+ registryCredentials: (current.registryCredentials || []).filter((_, i) => i !== index)
+ }));
+ }
+
+ function updateRegistry(index: number, field: string, value: string) {
+ settingsStore.update((current) => {
+ const updatedCredentials = [...(current.registryCredentials || [])];
+ updatedCredentials[index] = {
+ ...updatedCredentials[index],
+ [field]: value
+ };
+ return {
+ ...current,
+ registryCredentials: updatedCredentials
+ };
+ });
}
</script>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
- <!-- Docker Connection Card -->
<Card.Root class="border shadow-sm">
<Card.Header class="pb-3">
<div class="flex items-center gap-2">
<div class="bg-blue-500/10 p-2 rounded-full">
- <Save class="h-5 w-5 text-blue-500" />
+ <Server class="h-5 w-5 text-blue-500" />
</div>
<div>
<Card.Title>Docker Settings</Card.Title>
- <Card.Description>Configure your Docker connection</Card.Description>
+ <Card.Description>Configure Docker connection and registry credentials</Card.Description>
</div>
</div>
</Card.Header>
@@ -55,22 +68,75 @@
<div class="space-y-4">
<div class="space-y-2">
<label for="dockerHost" class="text-sm font-medium">Docker Host</label>
- <Input type="text" id="dockerHost" name="dockerHost" bind:value={dockerHost} placeholder="unix:///var/run/docker.sock" required />
+ <Input type="text" id="dockerHost" name="dockerHost" bind:value={$settingsStore.dockerHost} placeholder="unix:///var/run/docker.sock" required />
<p class="text-xs text-muted-foreground">For local Docker: unix:///var/run/docker.sock (Unix) or npipe:////./pipe/docker_engine (Windows)</p>
</div>
<div class="space-y-2">
<label for="stacksDirectory" class="text-sm font-medium">Stacks Directory</label>
- <Input type="text" id="stacksDirectory" name="stacksDirectory" bind:value={stacksDirectory} placeholder="/app/data/stacks" required />
+ <Input type="text" id="stacksDirectory" name="stacksDirectory" bind:value={$settingsStore.stacksDirectory} placeholder="/app/data/stacks" required />
<p class="text-xs text-muted-foreground">Directory where Docker Compose stacks will be stored inside the container.</p>
<p class="text-xs font-bold text-destructive">Changing this setting will not move existing stacks!</p>
</div>
+
+ <div class="pt-4 border-t mt-4">
+ <div class="flex items-center gap-2 mb-3">
+ <div class="bg-green-500/10 p-2 rounded-full">
+ <Key class="h-5 w-5 text-green-500" />
+ </div>
+ <div>
+ <h3 class="font-medium">Docker Registry Credentials</h3>
+ <p class="text-sm text-muted-foreground">Configure access to private Docker registries</p>
+ </div>
+ </div>
+
+ <div class="space-y-2">
+ <p class="text-sm text-muted-foreground">Add credentials for private registries like Docker Hub, GitHub Container Registry (ghcr.io), or other private repositories.</p>
+
+ {#if $settingsStore.registryCredentials.length === 0}
+ <div class="text-center py-4 text-muted-foreground text-sm border rounded-md">No registry credentials configured yet</div>
+ {:else}
+ <div class="space-y-4">
+ {#each $settingsStore.registryCredentials as registry, index (index)}
+ <div class="border rounded-md p-4 space-y-3 bg-muted/20">
+ <div class="flex justify-between items-center">
+ <h4 class="font-medium">Registry #{index + 1}</h4>
+ <Button variant="ghost" size="icon" class="text-destructive hover:text-destructive/80 h-7 w-7" type="button" onclick={() => removeRegistry(index)}>
+ <Trash2 class="h-4 w-4" />
+ <span class="sr-only">Remove Registry</span>
+ </Button>
+ </div>
+
+ <div class="space-y-2">
+ <label for={`registry-url-${index}`} class="text-sm font-medium">Registry URL</label>
+ <Input type="text" id={`registry-url-${index}`} value={registry.url} oninput={(e: Event) => updateRegistry(index, 'url', (e.target as HTMLInputElement).value)} placeholder="ghcr.io, registry.hub.docker.com, etc." required />
+ </div>
+
+ <div class="space-y-2">
+ <label for={`registry-username-${index}`} class="text-sm font-medium">Username</label>
+ <Input type="text" id={`registry-username-${index}`} value={registry.username} oninput={(e: Event) => updateRegistry(index, 'username', (e.target as HTMLInputElement).value)} placeholder="Username" required />
+ </div>
+
+ <div class="space-y-2">
+ <label for={`registry-password-${index}`} class="text-sm font-medium">Password / Access Token</label>
+ <Input type="password" id={`registry-password-${index}`} value={registry.password} oninput={(e: Event) => updateRegistry(index, 'password', (e.target as HTMLInputElement).value)} placeholder="Password or access token" required />
+ <p class="text-xs text-muted-foreground">For GitHub, use a personal access token with the appropriate scopes.</p>
+ </div>
+ </div>
+ {/each}
+ </div>
+ {/if}
+
+ <Button variant="outline" class="w-full mt-4 flex items-center justify-center gap-2" onclick={addRegistry}>
+ <Plus class="h-4 w-4" /> Add Registry Credentials
+ </Button>
+ </div>
+ </div>
</div>
</Card.Content>
</Card.Root>
<div class="space-y-6">
- <!-- Polling Settings Card -->
<Card.Root class="border shadow-sm">
<Card.Header class="pb-3">
<div class="flex items-center gap-2">
@@ -89,18 +155,32 @@
<label for="pollingEnabledSwitch" class="text-base font-medium">Check for New Images</label>
<p class="text-sm text-muted-foreground">Periodically check for newer versions of container images</p>
</div>
- <Switch id="pollingEnabledSwitch" name="pollingEnabled" bind:checked={pollingEnabled} />
+ <Switch
+ id="pollingEnabledSwitch"
+ name="pollingEnabled"
+ checked={$settingsStore.pollingEnabled}
+ onCheckedChange={(checked) => {
+ settingsStore.update((current) => ({ ...current, pollingEnabled: checked }));
+ }}
+ />
</div>
- {#if pollingEnabled}
+ {#if $settingsStore.pollingEnabled}
<div class="space-y-2 px-1">
<label for="pollingInterval" class="text-sm font-medium"> Polling Interval (minutes) </label>
- <Input id="pollingInterval" name="pollingInterval" type="number" bind:value={pollingInterval} min="5" max="60" />
- {#if form?.error && form.values?.pollingInterval && (parseInt(String(form.values.pollingInterval), 10) < 5 || parseInt(String(form.values.pollingInterval), 10) > 60)}
- <p class="text-sm text-destructive">Must be between 5 and 60 minutes.</p>
- {:else}
- <p class="text-xs text-muted-foreground">Set between 5-60 minutes.</p>
- {/if}
+ <Input
+ id="pollingInterval"
+ type="number"
+ value={$settingsStore.pollingInterval}
+ oninput={(e: Event) =>
+ settingsStore.update((cur) => ({
+ ...cur,
+ pollingInterval: +(e.target as HTMLInputElement).value
+ }))}
+ min="5"
+ max="60"
+ />
+ <p class="text-xs text-muted-foreground">Set between 5-60 minutes.</p>
</div>
<div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
@@ -108,13 +188,30 @@
<Label for="autoUpdateSwitch" class="text-base font-medium">Auto Update Containers</Label>
<p class="text-sm text-muted-foreground">Automatically update containers when newer images are available</p>
</div>
- <Switch id="autoUpdateSwitch" name="autoUpdate" bind:checked={autoUpdate} />
+ <Switch
+ id="autoUpdateSwitch"
+ checked={$settingsStore.autoUpdate}
+ onCheckedChange={(checked) => {
+ settingsStore.update((current) => ({ ...current, autoUpdate: checked }));
+ }}
+ />
</div>
- {#if autoUpdate}
+ {#if $settingsStore.autoUpdate}
<div class="space-y-2 mt-4">
<Label for="autoUpdateInterval" class="text-base font-medium">Auto-update check interval (minutes)</Label>
- <Input id="autoUpdateInterval" name="autoUpdateInterval" type="number" min="5" max="1440" bind:value={autoUpdateInterval} />
+ <Input
+ id="autoUpdateInterval"
+ type="number"
+ value={$settingsStore.autoUpdateInterval}
+ oninput={(e: Event) =>
+ settingsStore.update((cur) => ({
+ ...cur,
+ autoUpdateInterval: +(e.target as HTMLInputElement).value
+ }))}
+ min="5"
+ max="1440"
+ />
<p class="text-sm text-muted-foreground">How often Arcane will check for container and stack updates (minimum 5 minutes, maximum 24 hours)</p>
</div>
{/if}
@@ -122,7 +219,6 @@
</Card.Content>
</Card.Root>
- <!-- Prune Settings Card -->
<Card.Root class="border shadow-sm">
<Card.Header class="pb-3">
<div class="flex items-center gap-2">
@@ -138,7 +234,14 @@
<Card.Content class="space-y-4">
<div>
<Label for="pruneMode" class="text-base font-medium block mb-2">Prune Action Behavior</Label>
- <RadioGroup.Root bind:value={pruneMode} name="pruneMode" class="flex flex-col space-y-1" id="pruneMode">
+ <RadioGroup.Root
+ value={$settingsStore.pruneMode}
+ onValueChange={(val) => {
+ settingsStore.update((current) => ({ ...current, pruneMode: val as 'all' | 'dangling' }));
+ }}
+ class="flex flex-col space-y-1"
+ id="pruneMode"
+ >
<div class="flex items-center space-x-2">
<RadioGroup.Item value="all" id="prune-all" />
<Label for="prune-all" class="font-normal">All Unused Images (like `docker image prune -a`)</Label>
@@ -153,70 +256,4 @@
</Card.Content>
</Card.Root>
</div>
-
- <!-- Docker Registry Credentials Card -->
- <Card.Root class="border shadow-sm lg:col-span-2">
- <Card.Header class="pb-3">
- <div class="flex items-center gap-2">
- <div class="bg-green-500/10 p-2 rounded-full">
- <Key class="h-5 w-5 text-green-500" />
- </div>
- <div>
- <Card.Title>Docker Registry Credentials</Card.Title>
- <Card.Description>Configure access to private Docker registries</Card.Description>
- </div>
- </div>
- </Card.Header>
- <Card.Content>
- <div class="space-y-4">
- <div class="space-y-2">
- <p class="text-sm text-muted-foreground">Add credentials for private registries like Docker Hub, GitHub Container Registry (ghcr.io), or other private repositories.</p>
-
- {#if registryCredentials.length === 0}
- <div class="text-center py-4 text-muted-foreground text-sm border rounded-md">No registry credentials configured yet</div>
- {:else}
- <div class="space-y-4">
- {#each registryCredentials as registry, index}
- <div class="border rounded-md p-4 space-y-3">
- <div class="flex justify-between items-center">
- <h4 class="font-medium">Registry #{index + 1}</h4>
- <button type="button" class="text-destructive hover:text-destructive/80" onclick={() => removeRegistry(index)}>
- <Trash2 class="h-4 w-4" />
- </button>
- </div>
-
- <div class="space-y-2">
- <label for={`registry-url-${index}`} class="text-sm font-medium">Registry URL</label>
- <Input type="text" id={`registry-url-${index}`} name={`registryCredentials[${index}].url`} bind:value={registry.url} placeholder="ghcr.io, registry.hub.docker.com, etc." required />
- </div>
-
- <div class="space-y-2">
- <label for={`registry-username-${index}`} class="text-sm font-medium">Username</label>
- <Input type="text" id={`registry-username-${index}`} name={`registryCredentials[${index}].username`} bind:value={registry.username} placeholder="Username" required />
- </div>
-
- <div class="space-y-2">
- <label for={`registry-password-${index}`} class="text-sm font-medium">Password / Access Token</label>
- <Input type="password" id={`registry-password-${index}`} name={`registryCredentials[${index}].password`} bind:value={registry.password} placeholder="Password or access token" required />
- <p class="text-xs text-muted-foreground">For GitHub, use a personal access token with the appropriate scopes.</p>
- </div>
- </div>
- {/each}
- </div>
- {/if}
-
- <button type="button" class="w-full mt-4 flex items-center justify-center gap-2 border border-dashed rounded-md py-2 text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-muted/30" onclick={addRegistry}>
- <Plus class="h-4 w-4" /> Add Registry Credentials
- </button>
-
- <p class="text-xs text-muted-foreground mt-2">
- Common registry URLs:
- <span class="font-medium">registry.hub.docker.com</span> (Docker Hub),
- <span class="font-medium">ghcr.io</span> (GitHub Container Registry),
- <span class="font-medium">[account].dkr.ecr.[region].amazonaws.com</span> (AWS ECR)
- </p>
- </div>
- </div>
- </Card.Content>
- </Card.Root>
</div>
diff --git a/src/routes/settings/tabs/authentication.svelte b/src/routes/settings/tabs/authentication.svelte
index d0a0ec7e3..19cf35ee0 100644
--- a/src/routes/settings/tabs/authentication.svelte
+++ b/src/routes/settings/tabs/authentication.svelte
@@ -1,24 +1,16 @@
<script lang="ts">
+ import type { PageData } from '../$types';
import * as Card from '$lib/components/ui/card/index.js';
import { Button } from '$lib/components/ui/button/index.js';
import { Input } from '$lib/components/ui/input/index.js';
import { Switch } from '$lib/components/ui/switch/index.js';
- import { Lock, Key, Shield } from '@lucide/svelte';
- import type { ActionData, PageData } from '../$types';
- import * as Form from '$lib/components/ui/form/index.js';
+ import { Lock, Key } from '@lucide/svelte';
+ import { settingsStore } from '$lib/stores/settings-store';
- let { data, form } = $props<{ data: PageData; form: ActionData }>();
-
- // Authentication settings
- let enableLocalAuth = $state(true);
- let enableOAuth = $state(false);
- let enableLDAP = $state(false);
- let sessionTimeout = $state(60);
- let passwordPolicy = $state('medium');
+ let { data } = $props<{ data: PageData }>();
</script>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
- <!-- General Auth Settings -->
<Card.Root class="border shadow-sm">
<Card.Header class="pb-3">
<div class="flex items-center gap-2">
@@ -33,37 +25,31 @@
</Card.Header>
<Card.Content>
<div class="space-y-4">
- <!-- Local Auth -->
<div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
<div class="space-y-0.5">
<label for="localAuthSwitch" class="text-base font-medium">Local Authentication</label>
<p class="text-sm text-muted-foreground">Username and password stored in the system</p>
+ <p class="text-xs text-muted-foreground mt-1">This setting cannot be changed currently</p>
</div>
- <Switch id="localAuthSwitch" name="enableLocalAuth" bind:checked={enableLocalAuth} />
- </div>
-
- <!-- OAuth -->
- <div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
- <div class="space-y-0.5">
- <label for="oauthSwitch" class="text-base font-medium">OAuth/OpenID Connect</label>
- <p class="text-sm text-muted-foreground">Single sign-on with external providers</p>
- </div>
- <Switch id="oauthSwitch" name="enableOAuth" bind:checked={enableOAuth} />
- </div>
-
- <!-- LDAP -->
- <div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
- <div class="space-y-0.5">
- <label for="ldapSwitch" class="text-base font-medium">LDAP/Active Directory</label>
- <p class="text-sm text-muted-foreground">Authentication via directory service</p>
- </div>
- <Switch id="ldapSwitch" name="enableLDAP" bind:checked={enableLDAP} />
+ <Switch
+ id="localAuthSwitch"
+ checked={$settingsStore.auth?.localAuthEnabled ?? true}
+ disabled={true}
+ onCheckedChange={(checked) => {
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...(current.auth || {}),
+ localAuthEnabled: checked
+ }
+ }));
+ }}
+ />
</div>
</div>
</Card.Content>
</Card.Root>
- <!-- Session Settings -->
<div class="space-y-6">
<Card.Root class="border shadow-sm">
<Card.Header class="pb-3">
@@ -81,22 +67,75 @@
<div class="space-y-4">
<div class="space-y-2">
<label for="sessionTimeout" class="text-sm font-medium">Session Timeout (minutes)</label>
- <Input type="number" id="sessionTimeout" name="sessionTimeout" bind:value={sessionTimeout} min="15" max="1440" />
+ <Input
+ type="number"
+ id="sessionTimeout"
+ name="sessionTimeout"
+ value={$settingsStore.auth?.sessionTimeout ?? 60}
+ min="15"
+ max="1440"
+ oninput={(event) => {
+ const target = event.target as HTMLInputElement;
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...(current.auth ?? {}),
+ sessionTimeout: parseInt(target.value)
+ }
+ }));
+ }}
+ />
<p class="text-xs text-muted-foreground">Time until inactive sessions are automatically logged out (15-1440 minutes)</p>
</div>
<div class="space-y-2">
<label for="passwordPolicy" class="text-sm font-medium">Password Policy</label>
<div class="grid grid-cols-3 gap-2">
- <Button variant={passwordPolicy === 'low' ? 'default' : 'outline'} class="w-full" onclick={() => (passwordPolicy = 'low')}>Basic</Button>
- <Button variant={passwordPolicy === 'medium' ? 'default' : 'outline'} class="w-full" onclick={() => (passwordPolicy = 'medium')}>Standard</Button>
- <Button variant={passwordPolicy === 'high' ? 'default' : 'outline'} class="w-full" onclick={() => (passwordPolicy = 'high')}>Strong</Button>
+ <Button
+ variant={$settingsStore.auth?.passwordPolicy === 'low' ? 'default' : 'outline'}
+ class="w-full"
+ onclick={() => {
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...current.auth,
+ passwordPolicy: 'low'
+ }
+ }));
+ }}>Basic</Button
+ >
+ <Button
+ variant={$settingsStore.auth?.passwordPolicy === 'medium' ? 'default' : 'outline'}
+ class="w-full"
+ onclick={() => {
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...current.auth,
+ passwordPolicy: 'medium'
+ }
+ }));
+ }}>Standard</Button
+ >
+ <Button
+ variant={$settingsStore.auth?.passwordPolicy === 'high' ? 'default' : 'outline'}
+ class="w-full"
+ onclick={() => {
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...current.auth,
+ passwordPolicy: 'high'
+ }
+ }));
+ }}>Strong</Button
+ >
</div>
- <input type="hidden" id="passwordPolicy" name="passwordPolicy" value={passwordPolicy} />
+ <input type="hidden" id="passwordPolicy" name="passwordPolicy" value={$settingsStore.auth?.passwordPolicy} />
<p class="text-xs text-muted-foreground mt-1">
- {#if passwordPolicy === 'low'}
+ {#if $settingsStore.auth?.passwordPolicy === 'low'}
Basic: Minimum 8 characters
- {:else if passwordPolicy === 'medium'}
+ {:else if $settingsStore.auth?.passwordPolicy === 'medium'}
Standard: Minimum 10 characters, requires mixed case and numbers
{:else}
Strong: Minimum 12 characters, requires mixed case, numbers and special characters
@@ -106,39 +145,5 @@
</div>
</Card.Content>
</Card.Root>
-
- <!-- 2FA Settings -->
- <Card.Root class="border shadow-sm">
- <Card.Header class="pb-3">
- <div class="flex items-center gap-2">
- <div class="bg-emerald-500/10 p-2 rounded-full">
- <Shield class="h-5 w-5 text-emerald-500" />
- </div>
- <div>
- <Card.Title>Two-Factor Authentication</Card.Title>
- <Card.Description>Extra security layer</Card.Description>
- </div>
- </div>
- </Card.Header>
- <Card.Content>
- <div class="space-y-4">
- <div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
- <div class="space-y-0.5">
- <label for="require2faSwitch" class="text-base font-medium">Require 2FA</label>
- <p class="text-sm text-muted-foreground">Force all users to set up two-factor authentication</p>
- </div>
- <Switch id="require2faSwitch" name="require2fa" />
- </div>
-
- <div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
- <div class="space-y-0.5">
- <label for="allowTotpSwitch" class="text-base font-medium">Allow App-Based 2FA</label>
- <p class="text-sm text-muted-foreground">Allow authentication apps (TOTP)</p>
- </div>
- <Switch id="allowTotpSwitch" name="allowTotp" checked />
- </div>
- </div>
- </Card.Content>
- </Card.Root>
</div>
</div>
diff --git a/src/routes/settings/tabs/external-services.svelte b/src/routes/settings/tabs/external-services.svelte
index 81322d5b6..6ca87c8f7 100644
--- a/src/routes/settings/tabs/external-services.svelte
+++ b/src/routes/settings/tabs/external-services.svelte
@@ -1,103 +1,22 @@
<script lang="ts">
import * as Card from '$lib/components/ui/card/index.js';
- import { Input } from '$lib/components/ui/input/index.js';
- import { Switch } from '$lib/components/ui/switch/index.js';
- import { Database, CircuitBoard } from '@lucide/svelte';
- import type { ActionData, PageData } from '../$types';
+ import { Key } from '@lucide/svelte';
+ import type { PageData } from '../$types';
- let { data, form } = $props<{ data: PageData; form: ActionData }>();
-
- let settings = $derived(data.settings);
-
- // Valkey settings
- let valkeyEnabled = $derived(form?.values?.valkeyEnabled !== undefined ? form.values.valkeyEnabled === 'on' : settings?.externalServices?.valkey?.enabled || false);
-
- let valkeyHost = $derived(form?.values?.valkeyHost || settings?.externalServices?.valkey?.host || 'localhost');
-
- let valkeyPort = $derived(form?.values?.valkeyPort !== undefined ? form.values.valkeyPort : settings?.externalServices?.valkey?.port || 6379);
-
- let valkeyUsername = $derived(form?.values?.valkeyUsername || settings?.externalServices?.valkey?.username || '');
-
- let valkeyPassword = $derived(form?.values?.valkeyPassword || settings?.externalServices?.valkey?.password || '');
-
- let valkeyKeyPrefix = $derived(form?.values?.valkeyKeyPrefix || settings?.externalServices?.valkey?.keyPrefix || 'arcane:settings:');
+ let { data } = $props<{ data: PageData }>();
</script>
-<div class="grid grid-cols-1 lg:grid-cols-1 gap-6">
- <!-- External Services Header -->
+<div class="grid grid-cols-1 gap-6">
<div class="space-y-2">
<h2 class="text-2xl font-bold tracking-tight">External Services</h2>
<p class="text-muted-foreground">Configure connections to external services for enhanced functionality.</p>
</div>
- <!-- Valkey/Redis Card -->
- <Card.Root class="border shadow-sm">
- <Card.Header class="pb-3">
- <div class="flex items-center gap-2">
- <div class="bg-purple-500/10 p-2 rounded-full">
- <Database class="h-5 w-5 text-purple-500" />
- </div>
- <div>
- <Card.Title>Valkey/Redis Integration</Card.Title>
- <Card.Description>Connect to Valkey or Redis for distributed caching and state management</Card.Description>
- </div>
- </div>
- </Card.Header>
- <Card.Content>
- <div class="space-y-4">
- <div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
- <div class="space-y-0.5">
- <label for="valkeyEnabledSwitch" class="text-base font-medium">Enable Valkey/Redis</label>
- <p class="text-sm text-muted-foreground">Use Valkey/Redis for enhanced performance and reliability</p>
- </div>
- <Switch id="valkeyEnabledSwitch" name="valkeyEnabled" bind:checked={valkeyEnabled} />
- </div>
-
- {#if valkeyEnabled}
- <div class="grid grid-cols-1 md:grid-cols-2 gap-4 p-4 border rounded-lg">
- <div class="space-y-2">
- <label for="valkeyHost" class="text-sm font-medium">Server Host</label>
- <Input type="text" id="valkeyHost" name="valkeyHost" bind:value={valkeyHost} placeholder="localhost" required />
- </div>
-
- <div class="space-y-2">
- <label for="valkeyPort" class="text-sm font-medium">Server Port</label>
- <Input type="number" id="valkeyPort" name="valkeyPort" bind:value={valkeyPort} placeholder="6379" required />
- </div>
-
- <div class="space-y-2">
- <label for="valkeyUsername" class="text-sm font-medium">Username</label>
- <Input type="text" id="valkeyUsername" name="valkeyUsername" bind:value={valkeyUsername} placeholder="(optional)" />
- </div>
-
- <div class="space-y-2">
- <label for="valkeyPassword" class="text-sm font-medium">Password</label>
- <Input type="password" id="valkeyPassword" name="valkeyPassword" bind:value={valkeyPassword} placeholder="(optional)" />
- </div>
-
- <div class="space-y-2 md:col-span-2">
- <label for="valkeyKeyPrefix" class="text-sm font-medium">Key Prefix</label>
- <Input type="text" id="valkeyKeyPrefix" name="valkeyKeyPrefix" bind:value={valkeyKeyPrefix} placeholder="arcane:settings:" />
- <p class="text-xs text-muted-foreground">Prefix used for keys when storing values in Valkey/Redis</p>
- </div>
-
- <div class="md:col-span-2 p-3 rounded-md bg-blue-50 text-blue-800 border border-blue-200">
- <p class="text-sm">
- <span class="font-medium">Usage:</span> When enabled, Valkey/Redis will be used for caching and distributed state management, improving performance.
- </p>
- </div>
- </div>
- {/if}
- </div>
- </Card.Content>
- </Card.Root>
-
- <!-- Placeholder for future services -->
<Card.Root class="border shadow-sm border-dashed">
<Card.Header class="pb-3">
<div class="flex items-center gap-2">
<div class="bg-gray-500/10 p-2 rounded-full">
- <CircuitBoard class="h-5 w-5 text-gray-500" />
+ <Key class="h-5 w-5 text-gray-500" />
</div>
<div>
<Card.Title>Additional Services</Card.Title>
diff --git a/src/routes/settings/tabs/rbac-settings.svelte b/src/routes/settings/tabs/rbac-settings.svelte
index c710bd245..ab3cf4a1a 100644
--- a/src/routes/settings/tabs/rbac-settings.svelte
+++ b/src/routes/settings/tabs/rbac-settings.svelte
@@ -3,12 +3,12 @@
import { Button } from '$lib/components/ui/button/index.js';
import { Input } from '$lib/components/ui/input/index.js';
import { Shield, Plus, Users, Settings } from '@lucide/svelte';
- import type { ActionData, PageData } from '../$types';
- import * as DropdownMenu from '$lib/components/ui/dropdown-menu/index.js';
+ import type { PageData } from '../$types';
+ import Switch from '$lib/components/ui/switch/switch.svelte';
+ import { settingsStore } from '$lib/stores/settings-store';
- let { data, form } = $props<{ data: PageData; form: ActionData }>();
+ let { data } = $props<{ data: PageData }>();
- // Sample roles for demonstration
const roles = [
{
id: 1,
@@ -61,8 +61,30 @@
let selectedRole = $state(roles[0]);
</script>
+<div class="mb-6">
+ <div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
+ <div class="space-y-0.5">
+ <label for="rbacEnabledSwitch" class="text-base font-medium">Enable Role-Based Access Control</label>
+ <p class="text-sm text-muted-foreground">Control user permissions with customizable roles</p>
+ </div>
+ <Switch
+ id="rbacEnabledSwitch"
+ name="rbacEnabled"
+ checked={$settingsStore.auth?.rbacEnabled}
+ onCheckedChange={(checked) => {
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...current.auth,
+ rbacEnabled: checked
+ }
+ }));
+ }}
+ />
+ </div>
+</div>
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
- <!-- Roles List -->
<div class="lg:col-span-1">
<Card.Root class="border shadow-sm h-full">
<Card.Header class="pb-3">
@@ -80,7 +102,7 @@
</Card.Header>
<Card.Content>
<div class="space-y-2">
- {#each roles as role}
+ {#each roles as role (role.id)}
<button
class="w-full text-left p-3 rounded-md border transition-colors flex items-center justify-between
{selectedRole.id === role.id ? 'bg-primary text-primary-foreground border-primary' : 'hover:bg-muted/50'}"
@@ -100,7 +122,6 @@
</Card.Root>
</div>
- <!-- Role Details -->
<div class="lg:col-span-2">
<Card.Root class="border shadow-sm">
<Card.Header class="pb-3">
@@ -138,11 +159,11 @@
<div>
<h3 class="text-sm font-medium mb-3">Permissions</h3>
<div class="border rounded-md divide-y">
- {#each permissionCategories as category}
+ {#each permissionCategories as category (category.name)}
<div class="p-3">
<h4 class="font-medium mb-2">{category.name}</h4>
<div class="grid grid-cols-1 sm:grid-cols-2 gap-2">
- {#each category.permissions as permission}
+ {#each category.permissions as permission (permission)}
<label class="flex items-center space-x-2 text-sm">
<input type="checkbox" class="rounded border-gray-300 text-primary focus:ring-primary" checked={selectedRole.permissions.includes(permission)} />
<span>{permission.split(':')[1]}</span>
diff --git a/src/routes/settings/tabs/user-management.svelte b/src/routes/settings/tabs/user-management.svelte
index 8dcdd814b..a2191bd59 100644
--- a/src/routes/settings/tabs/user-management.svelte
+++ b/src/routes/settings/tabs/user-management.svelte
@@ -1,93 +1,170 @@
<script lang="ts">
import * as Card from '$lib/components/ui/card/index.js';
import { Button } from '$lib/components/ui/button/index.js';
- import { Input } from '$lib/components/ui/input/index.js';
- import { UserPlus, User, Search, MoreHorizontal, Trash } from '@lucide/svelte';
- import type { ActionData, PageData } from '../$types';
- import * as DropdownMenu from '$lib/components/ui/dropdown-menu/index.js';
-
- let { data, form } = $props<{ data: PageData; form: ActionData }>();
-
- // Sample users for demonstration
- const users = [
- { id: 1, name: 'Admin User', email: '[email protected]', role: 'Admin' },
- { id: 2, name: 'Regular User', email: '[email protected]', role: 'User' },
- { id: 3, name: 'Viewer', email: '[email protected]', role: 'Viewer' }
+ import { toast } from 'svelte-sonner';
+ import { UserPlus, UserCheck } from '@lucide/svelte';
+ import type { PageData } from '../$types';
+ import type { UniversalTableProps } from '$lib/types/table-types';
+ import UniversalTable from '$lib/components/universal-table.svelte';
+ import { userTableColumns } from '$lib/types/table-columns/user-table-columns';
+ import type { User } from '$lib/types/user.type';
+ import UserFormDialog from '$lib/components/dialogs/user-form-dialog.svelte';
+
+ // Get data from server
+ let { data } = $props<{ data: PageData }>();
+
+ let users = $state<User[]>(data.users || []);
+
+ $effect(() => {
+ users = data.users || [];
+ });
+
+ // Dialog state
+ let isUserDialogOpen = $state(false);
+ let userToEdit = $state<User | null>(null);
+ let userDialogRef: UserFormDialog | null = $state(null);
+
+ // Available roles
+ const roles = [
+ { id: 'admin', name: 'Administrator' },
+ { id: 'user', name: 'Standard User' },
+ { id: 'viewer', name: 'Viewer (read-only)' }
];
- let searchQuery = $state('');
+ // Function to open dialog for creating
+ function openCreateUserDialog() {
+ userToEdit = null;
+ isUserDialogOpen = true;
+ }
+
+ // Function to open dialog for editing
+ function openEditUserDialog(user: User) {
+ userToEdit = user;
+ isUserDialogOpen = true;
+ }
+
+ // Handle submission from the dialog
+ async function handleDialogSubmit(event: CustomEvent) {
+ const { user: userData, isEditMode, userId } = event.detail;
+
+ const url = isEditMode ? `/api/users/${userId}` : '/api/users';
+ const method = isEditMode ? 'PUT' : 'POST';
+
+ try {
+ const response = await fetch(url, {
+ method: method,
+ headers: {
+ 'Content-Type': 'application/json'
+ },
+ body: JSON.stringify(userData)
+ });
+
+ const result = await response.json();
+
+ if (response.ok) {
+ if (isEditMode) {
+ users = users.map((u) => (u.id === userId ? { ...u, ...result.user } : u));
+ toast.success('User updated successfully');
+ } else {
+ users = [...users, result.user];
+ toast.success('User created successfully');
+ }
+ isUserDialogOpen = false;
+ } else {
+ userDialogRef?.setSaveError(result.error || `Failed to ${isEditMode ? 'update' : 'create'} user`);
+ }
+ } catch (error) {
+ console.error(`Error ${isEditMode ? 'updating' : 'creating'} user:`, error);
+ userDialogRef?.setSaveError(`An unexpected error occurred.`);
+ } finally {
+ userDialogRef?.resetSavingState();
+ }
+ }
+
+ // Handle user removal via API
+ async function handleRemoveUser(userId: string, username: string) {
+ if (!confirm(`Are you sure you want to remove user "${username}"?`)) {
+ return;
+ }
+
+ try {
+ const response = await fetch(`/api/users/${userId}`, {
+ method: 'DELETE'
+ });
+
+ if (response.ok) {
+ users = users.filter((user) => user.id !== userId);
+ toast.success(`User ${username} removed successfully`);
+ } else {
+ const result = await response.json();
+ toast.error(result.error || 'Failed to remove user');
+ }
+ } catch (error) {
+ console.error('Error removing user:', error);
+ toast.error('An unexpected error occurred');
+ }
+ }
+
+ // Configure the table columns, passing edit handler
+ const columns = userTableColumns(handleRemoveUser, openEditUserDialog);
+
+ // Create table props
+ const tableProps: UniversalTableProps<User> = {
+ columns,
+ get data() {
+ return users;
+ },
+ features: {
+ sorting: true,
+ filtering: true,
+ selection: false
+ },
+ display: {
+ filterPlaceholder: 'Filter users...',
+ noResultsMessage: 'No users found'
+ },
+ pagination: {
+ pageSize: 10,
+ pageSizeOptions: [5, 10, 15, 20]
+ },
+ sort: {
+ defaultSort: {
+ id: 'user',
+ desc: false
+ }
+ }
+ };
</script>
-<div class="space-y-6">
- <Card.Root class="border shadow-sm">
- <Card.Header class="pb-3">
- <div class="flex items-center justify-between">
- <div class="flex items-center gap-2">
- <div class="bg-green-500/10 p-2 rounded-full">
- <User class="h-5 w-5 text-green-500" />
- </div>
- <div>
- <Card.Title>User Management</Card.Title>
- <Card.Description>Manage system users</Card.Description>
- </div>
+<UserFormDialog bind:open={isUserDialogOpen} bind:userToEdit {roles} on:submit={handleDialogSubmit} bind:this={userDialogRef} />
+
+<div class="grid grid-cols-1 gap-6 h-full">
+ <!-- User List Card -->
+ <Card.Root class="border shadow-sm flex flex-col">
+ <Card.Header class="pb-3 flex flex-row items-center justify-between space-y-0">
+ <div class="flex items-center gap-2">
+ <div class="bg-blue-500/10 p-2 rounded-full">
+ <UserCheck class="h-5 w-5 text-blue-500" />
+ </div>
+ <div>
+ <Card.Title>User Accounts</Card.Title>
+ <Card.Description>Manage local user accounts</Card.Description>
</div>
- <Button variant="default" size="sm">
- <UserPlus class="h-4 w-4 mr-2" />
- Add User
- </Button>
</div>
+ <!-- Add Create User Button -->
+ <Button size="sm" onclick={openCreateUserDialog}>
+ <UserPlus class="mr-2 h-4 w-4" />
+ Create User
+ </Button>
</Card.Header>
- <Card.Content>
- <div class="space-y-4">
- <!-- Search -->
- <div class="relative">
- <Search class="absolute left-2.5 top-2.5 h-4 w-4 text-muted-foreground" />
- <Input type="search" placeholder="Search users..." class="pl-8" bind:value={searchQuery} />
+ <Card.Content class="flex-1 flex flex-col">
+ {#if users.length > 0}
+ <div class="flex-1 flex flex-col h-full">
+ <UniversalTable {...tableProps} />
</div>
-
- <!-- Users Table -->
- <div class="border rounded-md">
- <table class="w-full">
- <thead>
- <tr class="border-b bg-muted/50">
- <th class="text-left p-2 pl-4 font-medium">Name</th>
- <th class="text-left p-2 font-medium">Email</th>
- <th class="text-left p-2 font-medium">Role</th>
- <th class="text-right p-2 pr-4 font-medium">Actions</th>
- </tr>
- </thead>
- <tbody>
- {#each users.filter((u) => u.name.toLowerCase().includes(searchQuery.toLowerCase()) || u.email.toLowerCase().includes(searchQuery.toLowerCase())) as user}
- <tr class="border-b last:border-0">
- <td class="p-2 pl-4">{user.name}</td>
- <td class="p-2">{user.email}</td>
- <td class="p-2">{user.role}</td>
- <td class="p-2 pr-4 text-right">
- <DropdownMenu.Root>
- <DropdownMenu.Trigger>
- <Button variant="ghost" size="icon" class="h-8 w-8">
- <MoreHorizontal class="h-4 w-4" />
- <span class="sr-only">Open menu</span>
- </Button>
- </DropdownMenu.Trigger>
- <DropdownMenu.Content align="end">
- <DropdownMenu.Item>Edit User</DropdownMenu.Item>
- <DropdownMenu.Item>Change Password</DropdownMenu.Item>
- <DropdownMenu.Item>Modify Roles</DropdownMenu.Item>
- <DropdownMenu.Separator />
- <DropdownMenu.Item class="text-destructive">
- <Trash class="h-4 w-4 mr-2" />
- Delete User
- </DropdownMenu.Item>
- </DropdownMenu.Content>
- </DropdownMenu.Root>
- </td>
- </tr>
- {/each}
- </tbody>
- </table>
- </div>
- </div>
+ {:else}
+ <div class="text-center py-8 text-muted-foreground italic">No local users found</div>
+ {/if}
</Card.Content>
</Card.Root>
</div>
diff --git a/src/routes/stacks/+page.server.ts b/src/routes/stacks/+page.server.ts
index 346ae966d..61b4e316b 100644
--- a/src/routes/stacks/+page.server.ts
+++ b/src/routes/stacks/+page.server.ts
@@ -1,16 +1,10 @@
-import { error } from '@sveltejs/kit';
import { loadComposeStacks, discoverExternalStacks } from '$lib/services/docker/stack-service';
+import type { PageServerLoad } from './$types';
-/** @type {import('./$types').PageServerLoad} */
-export async function load() {
+export const load: PageServerLoad = async () => {
try {
- // Get managed stacks
const managedStacks = await loadComposeStacks();
-
- // Discover external stacks
const externalStacks = await discoverExternalStacks();
-
- // Combine both, ensuring no duplicates by ID
const combinedStacks = [...managedStacks];
for (const externalStack of externalStacks) {
@@ -22,7 +16,7 @@ export async function load() {
return {
stacks: combinedStacks
};
- } catch (err) {
+ } catch (err: unknown) {
console.error('Failed to load stacks:', err);
const errorMessage = err instanceof Error ? err.message : String(err);
return {
@@ -30,4 +24,4 @@ export async function load() {
error: 'Failed to load Docker Compose stacks: ' + errorMessage
};
}
-}
+};
diff --git a/src/routes/stacks/+page.svelte b/src/routes/stacks/+page.svelte
index 7a5aebb4b..b0c82aa81 100644
--- a/src/routes/stacks/+page.svelte
+++ b/src/routes/stacks/+page.svelte
@@ -16,11 +16,8 @@
let selectedIds = $state([]);
let isRefreshing = $state(false);
- let isRemoving = $state(false);
- let deleteDialogOpen = $state(false);
- let id = $state(''); // Store the ID of the stack to be deleted
+ let id = $state('');
- // Message Dialog state
let dialogOpen = $state(false);
let dialogProps = $state({
type: 'info' as const,
@@ -38,7 +35,6 @@
message: ''
});
- // Calculate stack stats
const totalStacks = $derived(stacks?.length || 0);
const runningStacks = $derived(stacks?.filter((s) => s.status === 'running').length || 0);
const partialStacks = $derived(stacks?.filter((s) => s.status === 'partially running').length || 0);
@@ -73,7 +69,6 @@
</script>
<div class="space-y-6">
- <!-- Header with refresh and create buttons -->
<div class="flex flex-col sm:flex-row justify-between sm:items-center gap-4">
<div>
<h1 class="text-3xl font-bold tracking-tight">Stacks</h1>
@@ -94,7 +89,6 @@
</Alert.Root>
{/if}
- <!-- Stack stats summary -->
<div class="grid grid-cols-1 sm:grid-cols-3 gap-4">
<Card.Root>
<Card.Content class="p-4 flex items-center justify-between">
@@ -133,7 +127,6 @@
</Card.Root>
</div>
- <!-- Main stacks table -->
<Card.Root class="border shadow-sm">
<Card.Header class="px-6">
<div class="flex items-center justify-between">
@@ -181,9 +174,8 @@
method="POST"
action={`/stacks/${id}?/remove`}
use:enhance={() => {
- isRemoving = true;
- deleteDialogOpen = false;
- deleteDialogOpen = false;
+ let isRemoving = true;
+ let deleteDialogOpen = false;
return async ({ result }) => {
if (result.type === 'success' && result.data) {
@@ -212,7 +204,6 @@
isRemoving = false;
if (result.type === 'success') {
- // Force navigation to the stacks page after successful deletion
window.location.href = '/stacks';
} else {
console.error('Error removing stack:', result);
@@ -220,9 +211,7 @@
}
};
}}
- >
- <!-- Button remains the same -->
- </form>
+ ></form>
<UniversalModal bind:open={dialogOpen} type={dialogProps.type} title={dialogProps.title} message={dialogProps.message} okText={dialogProps.okText} cancelText={dialogProps.cancelText} showCancel={dialogProps.showCancel} />
diff --git a/src/routes/stacks/ImportExternalStack.svelte b/src/routes/stacks/ImportExternalStack.svelte
index b32bff5c9..394e32766 100644
--- a/src/routes/stacks/ImportExternalStack.svelte
+++ b/src/routes/stacks/ImportExternalStack.svelte
@@ -4,7 +4,7 @@
import { Import, Loader2 } from '@lucide/svelte';
import { invalidateAll } from '$app/navigation';
- const { id, name, isExternal } = $props();
+ const { id, name, isExternal } = $props<{ id: string; name: string; isExternal: boolean }>();
let stack = $derived({ id, name, isExternal });
let importing = $state(false);
@@ -16,7 +16,7 @@
action="/stacks/import"
use:enhance={() => {
importing = true;
- return async ({ result }) => {
+ return async () => {
await invalidateAll();
importing = false;
};
diff --git a/src/routes/stacks/StackActions.svelte b/src/routes/stacks/StackActions.svelte
index 781a2d906..284fe4fda 100644
--- a/src/routes/stacks/StackActions.svelte
+++ b/src/routes/stacks/StackActions.svelte
@@ -5,6 +5,7 @@
import { Button } from '$lib/components/ui/button/index.js';
import * as Dialog from '$lib/components/ui/dialog/index.js';
import { Play, CircleStop, Trash2, Settings, RefreshCw, Loader2, AlertTriangle, Import } from '@lucide/svelte';
+ import type { ActionResult } from '@sveltejs/kit';
interface Props {
id: string;
@@ -17,46 +18,37 @@
const isRunning = status === 'running' || status === 'partially running';
- // Loading states
let isStarting = $state(false);
let isStopping = $state(false);
let isRestarting = $state(false);
let isRemoving = $state(false);
let isImporting = $state(false);
- // Delete dialog state
let deleteDialogOpen = $state(false);
- // Check if we're on the stack detail page or the stacks list page
let isStackDetailPage = $derived($page.route.id === '/stacks/[stackId]');
- // Handle form submission with proper redirection
const handleDeleteSubmit = () => {
isRemoving = true;
deleteDialogOpen = false;
- return async ({ result }: { result: { type: string; data?: { redirectTo?: string } } }) => {
+ return async ({ result }: { result: ActionResult }) => {
if (result.type === 'success') {
if (isStackDetailPage && result.data?.redirectTo) {
- // Only redirect if we're on the stack detail page
goto(result.data.redirectTo);
} else {
- // Otherwise just refresh the data
await invalidateAll();
}
} else {
- // Handle errors
console.error('Error removing stack:', result);
- // Show error message
}
isRemoving = false;
};
};
- // Handle import functionality
const handleImport = () => {
isImporting = true;
- return async ({}) => {
+ return async () => {
await invalidateAll();
isImporting = false;
};
@@ -65,7 +57,6 @@
<div class="flex items-center gap-2 justify-end">
{#if isExternal}
- <!-- Show import button for external stacks -->
<form method="POST" action="/api/stacks/import" use:enhance={handleImport}>
<input type="hidden" name="stackId" value={id} />
<input type="hidden" name="stackName" value={name} />
@@ -80,14 +71,13 @@
</Button>
</form>
{:else}
- <!-- Show regular action buttons for managed stacks -->
{#if isRunning}
<form
method="POST"
action="/stacks/{id}?/stop"
use:enhance={() => {
isStopping = true;
- return async ({ result }) => {
+ return async () => {
await invalidateAll();
isStopping = false;
};
@@ -107,7 +97,7 @@
action="/stacks/{id}?/start"
use:enhance={() => {
isStarting = true;
- return async ({ result }) => {
+ return async () => {
await invalidateAll();
isStarting = false;
};
@@ -128,7 +118,7 @@
action="/stacks/{id}?/restart"
use:enhance={() => {
isRestarting = true;
- return async ({ result }) => {
+ return async () => {
await invalidateAll();
isRestarting = false;
};
@@ -154,7 +144,6 @@
</Button>
{/if}
- <!-- Delete confirmation dialog -->
{#if !isExternal}
<Dialog.Root bind:open={deleteDialogOpen}>
<Dialog.Content class="sm:max-w-[425px]">
diff --git a/src/routes/stacks/[stackId]/+page.server.ts b/src/routes/stacks/[stackId]/+page.server.ts
index cd6975055..b78ddfd47 100644
--- a/src/routes/stacks/[stackId]/+page.server.ts
+++ b/src/routes/stacks/[stackId]/+page.server.ts
@@ -1,18 +1,15 @@
-import { error } from '@sveltejs/kit';
import { getStack, updateStack, startStack, stopStack, restartStack, removeStack, fullyRedeployStack } from '$lib/services/docker/stack-service';
+import type { PageServerLoad, Actions } from './$types';
-/** @type {import('./$types').PageServerLoad} */
-export async function load({ params }) {
+export const load: PageServerLoad = async ({ params }) => {
const { stackId } = params;
try {
const stack = await getStack(stackId);
- // Pre-populate the editor state values for SSR
return {
stack,
error: null,
- // These will be available directly in the svelte component's data prop
editorState: {
name: stack.name || '',
composeContent: stack.composeContent || '',
@@ -21,7 +18,7 @@ export async function load({ params }) {
autoUpdate: stack.meta?.autoUpdate || false
}
};
- } catch (err) {
+ } catch (err: unknown) {
console.error(`Error loading stack ${stackId}:`, err);
const errorMessage = err instanceof Error ? err.message : String(err);
return {
@@ -36,10 +33,9 @@ export async function load({ params }) {
}
};
}
-}
+};
-/** @type {import('./$types').Actions} */
-export const actions = {
+export const actions: Actions = {
update: async ({ params, request }) => {
const { stackId } = params;
const formData = await request.formData();
@@ -54,7 +50,7 @@ export const actions = {
success: true,
message: 'Stack updated successfully'
};
- } catch (err) {
+ } catch (err: unknown) {
console.error('Error updating stack:', err);
return {
success: false,
@@ -67,7 +63,7 @@ export const actions = {
try {
await startStack(params.stackId);
return { success: true };
- } catch (err) {
+ } catch (err: unknown) {
console.error('Error starting stack:', err);
return {
success: false,
@@ -80,7 +76,7 @@ export const actions = {
try {
await stopStack(params.stackId);
return { success: true };
- } catch (err) {
+ } catch (err: unknown) {
console.error('Error stopping stack:', err);
return {
success: false,
@@ -93,7 +89,7 @@ export const actions = {
try {
await restartStack(params.stackId);
return { success: true };
- } catch (err) {
+ } catch (err: unknown) {
console.error('Error restarting stack:', err);
return {
success: false,
@@ -106,12 +102,10 @@ export const actions = {
try {
const success = await removeStack(params.stackId);
if (success) {
- // Redirect can be handled differently, maybe client-side after success
- // Or use SvelteKit's redirect helper if needed server-side
return { success: true, message: 'Stack removal initiated' };
}
return { success: false, error: 'Failed to remove stack' };
- } catch (err) {
+ } catch (err: unknown) {
console.error('Error removing stack:', err);
return {
success: false,
@@ -124,7 +118,7 @@ export const actions = {
try {
await fullyRedeployStack(params.stackId);
return { success: true, message: 'Stack redeployment initiated' };
- } catch (err) {
+ } catch (err: unknown) {
console.error('Error redeploying stack:', err);
return {
success: false,
diff --git a/src/routes/stacks/[stackId]/+page.svelte b/src/routes/stacks/[stackId]/+page.svelte
index 5272c3a87..4df459085 100644
--- a/src/routes/stacks/[stackId]/+page.svelte
+++ b/src/routes/stacks/[stackId]/+page.svelte
@@ -17,7 +17,7 @@
import YamlEditor from '$lib/components/yaml-editor.svelte';
import { Switch } from '$lib/components/ui/switch/index.js';
- let { data }: { data: PageData; form: ActionData } = $props();
+ let { data }: { data: PageData } = $props();
let { stack, editorState } = $derived(data);
let depoloying = $state(false);
@@ -75,9 +75,10 @@
originalAutoUpdate = editorState.autoUpdate;
await invalidateAll();
- } catch (error: any) {
+ } catch (error: unknown) {
console.error('Error saving stack:', error);
- toast.error(`Failed to update stack: ${error.message}`);
+ const message = error instanceof Error ? error.message : String(error);
+ toast.error(`Failed to update stack: ${message}`);
} finally {
saving = false;
}
@@ -246,7 +247,7 @@
<Card.Content>
<div class="space-y-2">
{#if stack.services && stack.services.length > 0}
- {#each stack.services as service}
+ {#each stack.services as service (service.id || service.name)}
{@const status = service.state?.Status || 'unknown'}
{@const variant = statusVariantMap[status.toLowerCase()] || 'gray'}
<a href={service.id ? `/containers/${service.id}` : undefined} class={`flex items-center justify-between p-3 border rounded-md ${service.id ? 'hover:bg-muted/50 transition-colors cursor-pointer' : 'cursor-default'}`}>
diff --git a/src/routes/stacks/new/+page.svelte b/src/routes/stacks/new/+page.svelte
index 157fd0bbf..92683ee59 100644
--- a/src/routes/stacks/new/+page.svelte
+++ b/src/routes/stacks/new/+page.svelte
@@ -13,8 +13,8 @@
let saving = $state(false);
let apiError = $state<string | null>(null);
- function preventDefault(fn: (event: Event) => any) {
- return function (this: any, event: Event) {
+ function preventDefault(fn: (event: Event) => void) {
+ return function (this: unknown, event: Event) {
event.preventDefault();
fn.call(this, event);
};
@@ -60,9 +60,10 @@ volumes:
toast.success(result.message || `Stack "${result.stack.name}" created.`);
await invalidateAll();
goto(`/stacks/${result.stack.id}`);
- } catch (err: any) {
+ } catch (err: unknown) {
console.error('Failed to create stack:', err);
- apiError = err.message || 'An unknown error occurred.';
+ const message = err instanceof Error ? err.message : 'An unknown error occurred.';
+ apiError = message;
toast.error(`Failed to create stack: ${apiError}`);
} finally {
saving = false;
diff --git a/src/routes/volumes/+page.server.ts b/src/routes/volumes/+page.server.ts
index 31d8cc806..8070b3aeb 100644
--- a/src/routes/volumes/+page.server.ts
+++ b/src/routes/volumes/+page.server.ts
@@ -30,11 +30,12 @@ export const load: PageServerLoad = async (): Promise<VolumePageData> => {
return {
volumes: enhancedVolumes
};
- } catch (err: any) {
+ } catch (err: unknown) {
console.error('Failed to load volumes:', err);
+ const message = err instanceof Error ? err.message : 'Failed to connect to Docker or list volumes.';
return {
volumes: [],
- error: err.message || 'Failed to connect to Docker or list volumes.'
+ error: message
};
}
};
diff --git a/src/routes/volumes/+page.svelte b/src/routes/volumes/+page.svelte
index e849e8fb3..aa3fe8622 100644
--- a/src/routes/volumes/+page.svelte
+++ b/src/routes/volumes/+page.svelte
@@ -16,7 +16,6 @@
let { error } = $state(data);
let volumes = $state(data.volumes);
let selectedIds = $state<string[]>([]);
- let isRefreshing = $state(false);
let isCreateDialogOpen = $state(false);
let isCreatingVolume = $state(false);
let isDeletingSelected = $state(false);
@@ -52,21 +51,23 @@
isCreateDialogOpen = false;
await refreshData();
- } catch (err: any) {
+ } catch (err: unknown) {
console.error('Failed to create volume:', err);
- toast.error(`Failed to create volume: ${err.message}`);
+ const message = err instanceof Error ? err.message : String(err);
+ toast.error(`Failed to create volume: ${message}`);
} finally {
isCreatingVolume = false;
}
}
async function refreshData() {
- isRefreshing = true;
try {
await invalidateAll();
volumes = data.volumes;
- } finally {
- isRefreshing = false;
+ } catch (err: unknown) {
+ console.error('Failed to refresh volume data:', err);
+ const message = err instanceof Error ? err.message : String(err);
+ toast.error(`Failed to refresh volumes: ${message}`);
}
}
@@ -88,9 +89,10 @@
throw new Error(result.error || `HTTP error! status: ${response.status}`);
}
return { name, success: true };
- } catch (err: any) {
+ } catch (err: unknown) {
console.error(`Failed to delete volume "${name}":`, err);
- return { name, success: false, error: err.message };
+ const message = err instanceof Error ? err.message : String(err);
+ return { name, success: false, error: message };
}
});
@@ -132,9 +134,7 @@
<h1 class="text-3xl font-bold tracking-tight">Volumes</h1>
<p class="text-sm text-muted-foreground mt-1">Manage persistent data storage for containers</p>
</div>
- <div class="flex gap-2">
- <!-- put buttons here -->
- </div>
+ <div class="flex gap-2"></div>
</div>
{#if error}
diff --git a/src/routes/volumes/VolumeActions.svelte b/src/routes/volumes/VolumeActions.svelte
index 37c6f9cca..7d1a19114 100644
--- a/src/routes/volumes/VolumeActions.svelte
+++ b/src/routes/volumes/VolumeActions.svelte
@@ -36,9 +36,10 @@
toast.success(`Volume "${name}" deleted successfully.`);
await invalidateAll();
- } catch (err: any) {
+ } catch (err: unknown) {
console.error(`Failed to delete volume "${name}":`, err);
- toast.error(`Failed to delete volume: ${err.message}`);
+ const message = err instanceof Error ? err.message : String(err);
+ toast.error(`Failed to delete volume: ${message}`);
} finally {
isDeleting = false;
}
@@ -48,7 +49,7 @@
const removeDescription = $derived(`Are you sure you want to delete volume "${name}"? This action cannot be undone.`);
</script>
-<ConfirmDialog bind:open={showRemoveConfirm} itemType={'volume'} isRunning={inUse} title="Confirm Volume Removal" description={removeDescription} confirmLabel="Delete" variant="destructive" onConfirm={handleRemoveConfirm} />
+<ConfirmDialog bind:open={showRemoveConfirm} itemType="volume" isRunning={inUse} title="Confirm Volume Removal" description={removeDescription} confirmLabel="Delete" variant="destructive" onConfirm={handleRemoveConfirm} />
<DropdownMenu.Root>
<DropdownMenu.Trigger>
diff --git a/src/routes/volumes/[volumeName]/+page.server.ts b/src/routes/volumes/[volumeName]/+page.server.ts
index 42f5ba039..12d5c7c8a 100644
--- a/src/routes/volumes/[volumeName]/+page.server.ts
+++ b/src/routes/volumes/[volumeName]/+page.server.ts
@@ -1,53 +1,51 @@
import type { PageServerLoad, Actions } from './$types';
-import { getVolume, removeVolume, isVolumeInUse } from '$lib/services/docker/volume-service'; // #file:/Users/kylemendell/dev/ofkm/arcane/src/lib/services/docker/volume-service.ts
+import { getVolume, removeVolume, isVolumeInUse } from '$lib/services/docker/volume-service';
import { error, fail, redirect } from '@sveltejs/kit';
-import { NotFoundError, ConflictError, DockerApiError } from '$lib/types/errors'; // #file:/Users/kylemendell/dev/ofkm/arcane/src/lib/types/errors.ts
+import { NotFoundError, ConflictError, DockerApiError } from '$lib/types/errors';
export const load: PageServerLoad = async ({ params }) => {
const volumeName = params.volumeName;
try {
- // Fetch volume details and check if it's in use in parallel
const [volume, inUse] = await Promise.all([
getVolume(volumeName),
- isVolumeInUse(volumeName).catch((err) => {
+ isVolumeInUse(volumeName).catch((err: unknown) => {
console.error(`Failed to check if volume ${volumeName} is in use:`, err);
- return true; // Assume in use if check fails, for safety
+ return true;
})
]);
return {
volume,
- inUse // Pass the in-use status to the page
+ inUse
};
- } catch (err: any) {
+ } catch (err: unknown) {
console.error(`Failed to load volume ${volumeName}:`, err);
if (err instanceof NotFoundError) {
error(404, { message: err.message });
+ } else if (err instanceof DockerApiError) {
+ error(err.status || 500, { message: err.message });
+ } else if (err instanceof Error) {
+ error(500, { message: err.message || `Failed to load volume details for "${volumeName}".` });
} else {
- error(err.status || 500, {
- message: err.message || `Failed to load volume details for "${volumeName}".`
- });
+ error(500, { message: `An unexpected error occurred while loading volume "${volumeName}".` });
}
}
};
-// Add action for removing the volume from its details page
export const actions: Actions = {
remove: async ({ params, url }) => {
const volumeName = params.volumeName;
const force = url.searchParams.get('force') === 'true';
try {
await removeVolume(volumeName, force);
- // Redirect back to the main volumes list after successful removal
redirect(303, '/volumes');
- } catch (err: any) {
- // Handle specific errors from removeVolume
+ } catch (err: unknown) {
if (err instanceof NotFoundError || err instanceof ConflictError || err instanceof DockerApiError) {
return fail(err.status || 500, { error: err.message });
}
- // Fallback for unexpected errors
- return fail(500, { error: err.message || 'An unexpected error occurred during removal.' });
+ const message = err instanceof Error ? err.message : 'An unexpected error occurred during removal.';
+ return fail(500, { error: message });
}
}
};
diff --git a/src/routes/volumes/[volumeName]/+page.svelte b/src/routes/volumes/[volumeName]/+page.svelte
index 04601adf5..512df8fbf 100644
--- a/src/routes/volumes/[volumeName]/+page.svelte
+++ b/src/routes/volumes/[volumeName]/+page.svelte
@@ -174,7 +174,7 @@
<Card.Title class="flex items-center gap-2"><Tag class="h-5 w-5 text-muted-foreground" /> Labels</Card.Title>
</Card.Header>
<Card.Content class="space-y-2">
- {#each Object.entries(volume.Labels) as [key, value]}
+ {#each Object.entries(volume.Labels) as [key, value] (key)}
<div class="text-sm flex flex-col sm:flex-row sm:items-center">
<span class="font-medium text-muted-foreground w-full sm:w-1/4 break-all">{key}:</span>
<span class="font-mono text-xs sm:text-sm break-all w-full sm:w-3/4">{value}</span>
@@ -193,7 +193,7 @@
<Card.Title>Driver Options</Card.Title>
</Card.Header>
<Card.Content class="space-y-2">
- {#each Object.entries(volume.Options) as [key, value]}
+ {#each Object.entries(volume.Options) as [key, value] (key)}
<div class="text-sm flex flex-col sm:flex-row sm:items-center">
<span class="font-medium text-muted-foreground w-full sm:w-1/4 break-all">{key}:</span>
<span class="font-mono text-xs sm:text-sm break-all w-full sm:w-3/4">{value}</span>
diff --git a/src/routes/volumes/create-volume-dialog.svelte b/src/routes/volumes/create-volume-dialog.svelte
index b17446545..628d0bd42 100644
--- a/src/routes/volumes/create-volume-dialog.svelte
+++ b/src/routes/volumes/create-volume-dialog.svelte
@@ -1,6 +1,5 @@
<script lang="ts">
- import { preventDefault } from 'svelte/legacy';
-
+ import { preventDefault } from '$lib/utils/form.utils';
import { Button } from '$lib/components/ui/button/index.js';
import * as Dialog from '$lib/components/ui/dialog/index.js';
import { Input } from '$lib/components/ui/input/index.js';
@@ -10,29 +9,31 @@
import * as Accordion from '$lib/components/ui/accordion/index.js';
import * as Select from '$lib/components/ui/select/index.js';
- // Functions for events
export function onClose() {
open = false;
}
+ type VolumeSubmitData = {
+ name: string;
+ driver?: string;
+ driverOpts?: Record<string, string>;
+ labels?: Record<string, string>;
+ };
+
interface Props {
- // Simple boolean prop for open state
open?: boolean;
isCreating?: boolean;
- onSubmit?: any;
+ // Fixed: Use specific function type instead of any
+ onSubmit?: (data: VolumeSubmitData) => void;
}
- let { open = $bindable(false), isCreating = false, onSubmit = (data: { name: string; driver?: string; driverOpts?: Record<string, string>; labels?: Record<string, string> }) => {} }: Props = $props();
+ let { open = $bindable(false), isCreating = false, onSubmit = (_data: VolumeSubmitData) => {} }: Props = $props();
- // Internal state
let volumeName = $state('');
let driver = $state('local');
- let showAdvanced = $state(false);
-
let driverOptsText = $state('');
let labelsText = $state('');
- // Available volume drivers
const drivers = [
{ label: 'Local', value: 'local' },
{ label: 'NFS', value: 'nfs' },
@@ -52,7 +53,7 @@
if (!trimmed || !trimmed.includes('=')) continue;
const [key, ...valueParts] = trimmed.split('=');
- const value = valueParts.join('='); // Handle values that might contain =
+ const value = valueParts.join('=');
if (key.trim()) {
result[key.trim()] = value.trim();
@@ -85,7 +86,6 @@
</Dialog.Header>
<form onsubmit={preventDefault(handleSubmit)} class="grid gap-4 py-4">
- <!-- Basic volume settings -->
<div class="grid grid-cols-4 items-center gap-4">
<Label for="volume-name" class="text-right">Name</Label>
<Input id="volume-name" bind:value={volumeName} class="col-span-3" placeholder="e.g., my-app-data" required disabled={isCreating} />
@@ -99,7 +99,7 @@
<span>{drivers.find((d) => d.value === driver)?.label || 'Select a driver'}</span>
</Select.Trigger>
<Select.Content>
- {#each drivers as driverOption}
+ {#each drivers as driverOption (driverOption.value)}
<Select.Item value={driverOption.value}>
{driverOption.label}
</Select.Item>
@@ -109,7 +109,6 @@
</div>
</div>
- <!-- Advanced settings -->
<Accordion.Root type="single">
<Accordion.Item value="advanced">
<Accordion.Trigger>Advanced Settings</Accordion.Trigger>