Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

Initial release: Locally Uncensored v1.0.0

PurpleDoubleD1e4bba11d0b8
diff --git a/.env.example b/.env.example
new file mode 100644
index 00000000..7adc68c4
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,2 @@
+# Path to your ComfyUI installation (optional, for image/video generation)
+# COMFYUI_PATH=C:\path\to\your\ComfyUI
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..ad7fba2f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,33 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+dist
+dist-ssr
+*.local
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+.DS_Store
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+
+# Environment
+.env
+
+# Claude Code
+.claude/
+
+# OS
+Thumbs.db
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..9b10026a
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2025 purpledoubled
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..949004da
--- /dev/null
+++ b/README.md
@@ -0,0 +1,148 @@
+# Locally Uncensored
+
+**Private, local AI chat & media generation. No cloud. No censorship. No data collection.**
+
+A beautiful, feature-rich web app for running uncensored AI models entirely on your own hardware. Chat with abliterated LLMs via Ollama and generate images/videos with ComfyUI — all offline, all private.
+
+---
+
+## Features
+
+- **Uncensored AI Chat** — Run abliterated models locally with full control
+- **25+ Personas** — From Helpful Assistant to Roast Master, choose your AI personality
+- **Image Generation** — Text-to-image via ComfyUI with full parameter control
+- **Video Generation** — Text-to-video support with frame and FPS settings
+- **Thinking Display** — See the AI's reasoning process in collapsible blocks
+- **Model Manager** — Install, manage, and switch between models with one click
+- **Discover Models** — Browse and install uncensored models from the Ollama registry
+- **Dark/Light Mode** — Beautiful UI with glassmorphism design
+- **100% Local** — Everything runs on your machine, nothing leaves your network
+- **Conversation History** — All chats saved locally in your browser
+
+## Tech Stack
+
+- **Frontend**: React 19, TypeScript, Tailwind CSS 4, Framer Motion
+- **State**: Zustand with localStorage persistence
+- **AI Backend**: Ollama (text), ComfyUI (images/video)
+- **Build**: Vite 8
+
+## Quick Start
+
+### One-Command Setup (Windows)
+
+```bash
+git clone https://github.com/PurpleDoubleD/locally-uncensored.git
+cd locally-uncensored
+setup.bat
+```
+
+That's it. The setup script automatically:
+1. Installs Node.js, Git, and Ollama (if missing)
+2. Installs all dependencies
+3. Downloads a recommended uncensored AI model (~5.7 GB)
+4. Creates a desktop shortcut
+5. Starts the app in your browser
+
+### Manual Installation
+
+**Prerequisites:** [Node.js](https://nodejs.org/) 18+, [Ollama](https://ollama.com/)
+
+```bash
+git clone https://github.com/PurpleDoubleD/locally-uncensored.git
+cd locally-uncensored
+npm install
+npm run dev
+```
+
+Open **http://localhost:5173** — the app recommends models on first launch.
+
+### Image/Video Generation (Optional)
+
+1. Install [ComfyUI](https://github.com/comfyanonymous/ComfyUI)
+2. Create a `.env` file in the project root:
+ ```
+ COMFYUI_PATH=C:\path\to\your\ComfyUI
+ ```
+3. Click **Start ComfyUI** in the Create tab, or start it manually
+4. Download image models (e.g., SDXL checkpoints) into ComfyUI's `models/checkpoints` folder
+
+### One-Click Start (Windows)
+
+Use `start.bat` to launch everything together:
+```batch
+start.bat
+```
+
+## Recommended Models
+
+### Text (Ollama)
+
+| Model | Size | VRAM | Best For |
+|-------|------|------|----------|
+| Llama 3.1 8B Abliterated | 5.7 GB | 6 GB | Fast all-rounder |
+| Qwen3 8B Abliterated | 5.2 GB | 6 GB | Coding |
+| Mistral Nemo 12B Abliterated | 6.8 GB | 8 GB | Multilingual |
+| DeepSeek R1 8B Abliterated | 5 GB | 6 GB | Reasoning |
+| Qwen3 14B Abliterated | 9 GB | 12 GB | High intelligence |
+
+### Image (ComfyUI)
+
+| Model | VRAM | Notes |
+|-------|------|-------|
+| Juggernaut XL V9 | 8 GB | Best photorealistic |
+| FLUX.1 Schnell | 10-12 GB | State-of-the-art |
+| Pony Diffusion V6 XL | 8 GB | Anime/stylized |
+
+## Configuration
+
+### Environment Variables
+
+Create a `.env` file (see `.env.example`):
+
+```env
+# Path to your ComfyUI installation (optional)
+COMFYUI_PATH=C:\path\to\your\ComfyUI
+```
+
+### In-App Settings
+
+- **Temperature** — Controls randomness (0 = deterministic, 1 = creative)
+- **Top P / Top K** — Fine-tune token sampling
+- **Max Tokens** — Limit response length (0 = unlimited)
+- **Theme** — Dark or Light mode
+
+## Project Structure
+
+```
+src/
+ api/ # Ollama & ComfyUI API clients
+ components/ # React components
+ chat/ # Chat UI (messages, input, markdown)
+ create/ # Image/Video generation UI
+ models/ # Model management
+ personas/ # Persona selection
+ settings/ # App settings
+ ui/ # Reusable UI components
+ hooks/ # Custom React hooks
+ stores/ # Zustand state management
+ types/ # TypeScript definitions
+ lib/ # Constants & utilities
+```
+
+## Contributing
+
+Contributions are welcome! Feel free to open issues and pull requests.
+
+1. Fork the repository
+2. Create your feature branch (`git checkout -b feature/amazing-feature`)
+3. Commit your changes (`git commit -m 'Add amazing feature'`)
+4. Push to the branch (`git push origin feature/amazing-feature`)
+5. Open a Pull Request
+
+## License
+
+This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
+
+---
+
+**Built with privacy in mind. Your data stays on your machine.**
diff --git a/eslint.config.js b/eslint.config.js
new file mode 100644
index 00000000..5e6b472f
--- /dev/null
+++ b/eslint.config.js
@@ -0,0 +1,23 @@
+import js from '@eslint/js'
+import globals from 'globals'
+import reactHooks from 'eslint-plugin-react-hooks'
+import reactRefresh from 'eslint-plugin-react-refresh'
+import tseslint from 'typescript-eslint'
+import { defineConfig, globalIgnores } from 'eslint/config'
+
+export default defineConfig([
+ globalIgnores(['dist']),
+ {
+ files: ['**/*.{ts,tsx}'],
+ extends: [
+ js.configs.recommended,
+ tseslint.configs.recommended,
+ reactHooks.configs.flat.recommended,
+ reactRefresh.configs.vite,
+ ],
+ languageOptions: {
+ ecmaVersion: 2020,
+ globals: globals.browser,
+ },
+ },
+])
diff --git a/index.html b/index.html
new file mode 100644
index 00000000..e1c9cb64
--- /dev/null
+++ b/index.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Locally Uncensored</title>
+ </head>
+ <body>
+ <div id="root"></div>
+ <script type="module" src="/src/main.tsx"></script>
+ </body>
+</html>
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 00000000..01640537
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,5538 @@
+{
+ "name": "uncensored-ai",
+ "version": "0.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "uncensored-ai",
+ "version": "0.0.0",
+ "dependencies": {
+ "@react-three/drei": "^10.7.7",
+ "@react-three/fiber": "^9.5.0",
+ "@tailwindcss/vite": "^4.2.2",
+ "@types/react-syntax-highlighter": "^15.5.13",
+ "@types/uuid": "^10.0.0",
+ "framer-motion": "^12.38.0",
+ "lucide-react": "^1.0.1",
+ "react": "^19.2.4",
+ "react-dom": "^19.2.4",
+ "react-markdown": "^10.1.0",
+ "react-syntax-highlighter": "^16.1.1",
+ "remark-gfm": "^4.0.1",
+ "tailwindcss": "^4.2.2",
+ "three": "^0.183.2",
+ "uuid": "^13.0.0",
+ "zustand": "^5.0.12"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.39.4",
+ "@types/node": "^24.12.0",
+ "@types/react": "^19.2.14",
+ "@types/react-dom": "^19.2.3",
+ "@vitejs/plugin-react": "^6.0.1",
+ "eslint": "^9.39.4",
+ "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-refresh": "^0.5.2",
+ "globals": "^17.4.0",
+ "typescript": "~5.9.3",
+ "typescript-eslint": "^8.57.0",
+ "vite": "^8.0.1"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
+ "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz",
+ "integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
+ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helpers": "^7.28.6",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/remapping": "^2.3.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.29.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
+ "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
+ "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.28.6",
+ "@babel/helper-validator-option": "^7.27.1",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
+ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
+ "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
+ "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/traverse": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.2.tgz",
+ "integrity": "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz",
+ "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.0"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/runtime": {
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",
+ "integrity": "sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
+ "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.28.6",
+ "@babel/parser": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
+ "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-globals": "^7.28.0",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
+ "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@dimforge/rapier3d-compat": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/@dimforge/rapier3d-compat/-/rapier3d-compat-0.12.0.tgz",
+ "integrity": "sha512-uekIGetywIgopfD97oDL5PfeezkFpNhwlzlaEYNOA0N6ghdsOvh/HYjSMek5Q2O1PYvRSDFcqFVJl4r4ZBwOow==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@emnapi/core": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.1.tgz",
+ "integrity": "sha512-mukuNALVsoix/w1BJwFzwXBN/dHeejQtuVzcDsfOEsdpCumXb/E9j8w11h5S54tT1xhifGfbbSm/ICrObRb3KA==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.2.0",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.1.tgz",
+ "integrity": "sha512-VYi5+ZVLhpgK4hQ0TAjiQiZ6ol0oe4mBx7mVv7IflsiEp0OWoVsp/+f9Vc1hOhE0TtkORVrI1GvzyreqpgWtkA==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.0.tgz",
+ "integrity": "sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",
+ "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",
+ "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.2",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz",
+ "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/config-array": {
+ "version": "0.21.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",
+ "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.7",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.5"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",
+ "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",
+ "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",
+ "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.5",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
+ "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.14.0",
+ "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.1",
+ "minimatch": "^3.1.5",
+ "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.39.4",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
+ "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",
+ "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",
+ "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.7",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz",
+ "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.4.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.0",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "node_modules/@jridgewell/remapping": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",
+ "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.5",
+ "@jridgewell/trace-mapping": "^0.3.24"
+ }
+ },
+ "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/sourcemap-codec": {
+ "version": "1.5.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
+ "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
+ "license": "MIT"
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.31",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",
+ "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.1.0",
+ "@jridgewell/sourcemap-codec": "^1.4.14"
+ }
+ },
+ "node_modules/@mediapipe/tasks-vision": {
+ "version": "0.10.17",
+ "resolved": "https://registry.npmjs.org/@mediapipe/tasks-vision/-/tasks-vision-0.10.17.tgz",
+ "integrity": "sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/@monogrid/gainmap-js": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/@monogrid/gainmap-js/-/gainmap-js-3.4.0.tgz",
+ "integrity": "sha512-2Z0FATFHaoYJ8b+Y4y4Hgfn3FRFwuU5zRrk+9dFWp4uGAdHGqVEdP7HP+gLA3X469KXHmfupJaUbKo1b/aDKIg==",
+ "license": "MIT",
+ "dependencies": {
+ "promise-worker-transferable": "^1.0.4"
+ },
+ "peerDependencies": {
+ "three": ">= 0.159.0"
+ }
+ },
+ "node_modules/@napi-rs/wasm-runtime": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.1.tgz",
+ "integrity": "sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.7.1",
+ "@emnapi/runtime": "^1.7.1",
+ "@tybys/wasm-util": "^0.10.1"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@oxc-project/types": {
+ "version": "0.122.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.122.0.tgz",
+ "integrity": "sha512-oLAl5kBpV4w69UtFZ9xqcmTi+GENWOcPF7FCrczTiBbmC0ibXxCwyvZGbO39rCVEuLGAZM84DH0pUIyyv/YJzA==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/Boshen"
+ }
+ },
+ "node_modules/@react-three/drei": {
+ "version": "10.7.7",
+ "resolved": "https://registry.npmjs.org/@react-three/drei/-/drei-10.7.7.tgz",
+ "integrity": "sha512-ff+J5iloR0k4tC++QtD/j9u3w5fzfgFAWDtAGQah9pF2B1YgOq/5JxqY0/aVoQG5r3xSZz0cv5tk2YuBob4xEQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.26.0",
+ "@mediapipe/tasks-vision": "0.10.17",
+ "@monogrid/gainmap-js": "^3.0.6",
+ "@use-gesture/react": "^10.3.1",
+ "camera-controls": "^3.1.0",
+ "cross-env": "^7.0.3",
+ "detect-gpu": "^5.0.56",
+ "glsl-noise": "^0.0.0",
+ "hls.js": "^1.5.17",
+ "maath": "^0.10.8",
+ "meshline": "^3.3.1",
+ "stats-gl": "^2.2.8",
+ "stats.js": "^0.17.0",
+ "suspend-react": "^0.1.3",
+ "three-mesh-bvh": "^0.8.3",
+ "three-stdlib": "^2.35.6",
+ "troika-three-text": "^0.52.4",
+ "tunnel-rat": "^0.1.2",
+ "use-sync-external-store": "^1.4.0",
+ "utility-types": "^3.11.0",
+ "zustand": "^5.0.1"
+ },
+ "peerDependencies": {
+ "@react-three/fiber": "^9.0.0",
+ "react": "^19",
+ "react-dom": "^19",
+ "three": ">=0.159"
+ },
+ "peerDependenciesMeta": {
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@react-three/fiber": {
+ "version": "9.5.0",
+ "resolved": "https://registry.npmjs.org/@react-three/fiber/-/fiber-9.5.0.tgz",
+ "integrity": "sha512-FiUzfYW4wB1+PpmsE47UM+mCads7j2+giRBltfwH7SNhah95rqJs3ltEs9V3pP8rYdS0QlNne+9Aj8dS/SiaIA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.17.8",
+ "@types/webxr": "*",
+ "base64-js": "^1.5.1",
+ "buffer": "^6.0.3",
+ "its-fine": "^2.0.0",
+ "react-use-measure": "^2.1.7",
+ "scheduler": "^0.27.0",
+ "suspend-react": "^0.1.3",
+ "use-sync-external-store": "^1.4.0",
+ "zustand": "^5.0.3"
+ },
+ "peerDependencies": {
+ "expo": ">=43.0",
+ "expo-asset": ">=8.4",
+ "expo-file-system": ">=11.0",
+ "expo-gl": ">=11.0",
+ "react": ">=19 <19.3",
+ "react-dom": ">=19 <19.3",
+ "react-native": ">=0.78",
+ "three": ">=0.156"
+ },
+ "peerDependenciesMeta": {
+ "expo": {
+ "optional": true
+ },
+ "expo-asset": {
+ "optional": true
+ },
+ "expo-file-system": {
+ "optional": true
+ },
+ "expo-gl": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ },
+ "react-native": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@rolldown/binding-android-arm64": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.11.tgz",
+ "integrity": "sha512-SJ+/g+xNnOh6NqYxD0V3uVN4W3VfnrGsC9/hoglicgTNfABFG9JjISvkkU0dNY84MNHLWyOgxP9v9Y9pX4S7+A==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-darwin-arm64": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.11.tgz",
+ "integrity": "sha512-7WQgR8SfOPwmDZGFkThUvsmd/nwAWv91oCO4I5LS7RKrssPZmOt7jONN0cW17ydGC1n/+puol1IpoieKqQidmg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-darwin-x64": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.11.tgz",
+ "integrity": "sha512-39Ks6UvIHq4rEogIfQBoBRusj0Q0nPVWIvqmwBLaT6aqQGIakHdESBVOPRRLacy4WwUPIx4ZKzfZ9PMW+IeyUQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-freebsd-x64": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.11.tgz",
+ "integrity": "sha512-jfsm0ZHfhiqrvWjJAmzsqiIFPz5e7mAoCOPBNTcNgkiid/LaFKiq92+0ojH+nmJmKYkre4t71BWXUZDNp7vsag==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-arm-gnueabihf": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.11.tgz",
+ "integrity": "sha512-zjQaUtSyq1nVe3nxmlSCuR96T1LPlpvmJ0SZy0WJFEsV4kFbXcq2u68L4E6O0XeFj4aex9bEauqjW8UQBeAvfQ==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-arm64-gnu": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.11.tgz",
+ "integrity": "sha512-WMW1yE6IOnehTcFE9eipFkm3XN63zypWlrJQ2iF7NrQ9b2LDRjumFoOGJE8RJJTJCTBAdmLMnJ8uVitACUUo1Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-arm64-musl": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.11.tgz",
+ "integrity": "sha512-jfndI9tsfm4APzjNt6QdBkYwre5lRPUgHeDHoI7ydKUuJvz3lZeCfMsI56BZj+7BYqiKsJm7cfd/6KYV7ubrBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-ppc64-gnu": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.11.tgz",
+ "integrity": "sha512-ZlFgw46NOAGMgcdvdYwAGu2Q+SLFA9LzbJLW+iyMOJyhj5wk6P3KEE9Gct4xWwSzFoPI7JCdYmYMzVtlgQ+zfw==",
+ "cpu": [
+ "ppc64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-s390x-gnu": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.11.tgz",
+ "integrity": "sha512-hIOYmuT6ofM4K04XAZd3OzMySEO4K0/nc9+jmNcxNAxRi6c5UWpqfw3KMFV4MVFWL+jQsSh+bGw2VqmaPMTLyw==",
+ "cpu": [
+ "s390x"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-x64-gnu": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.11.tgz",
+ "integrity": "sha512-qXBQQO9OvkjjQPLdUVr7Nr2t3QTZI7s4KZtfw7HzBgjbmAPSFwSv4rmET9lLSgq3rH/ndA3ngv3Qb8l2njoPNA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-x64-musl": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.11.tgz",
+ "integrity": "sha512-/tpFfoSTzUkH9LPY+cYbqZBDyyX62w5fICq9qzsHLL8uTI6BHip3Q9Uzft0wylk/i8OOwKik8OxW+QAhDmzwmg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-openharmony-arm64": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.11.tgz",
+ "integrity": "sha512-mcp3Rio2w72IvdZG0oQ4bM2c2oumtwHfUfKncUM6zGgz0KgPz4YmDPQfnXEiY5t3+KD/i8HG2rOB/LxdmieK2g==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "openharmony"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-wasm32-wasi": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.11.tgz",
+ "integrity": "sha512-LXk5Hii1Ph9asuGRjBuz8TUxdc1lWzB7nyfdoRgI0WGPZKmCxvlKk8KfYysqtr4MfGElu/f/pEQRh8fcEgkrWw==",
+ "cpu": [
+ "wasm32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@napi-rs/wasm-runtime": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@rolldown/binding-win32-arm64-msvc": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.11.tgz",
+ "integrity": "sha512-dDwf5otnx0XgRY1yqxOC4ITizcdzS/8cQ3goOWv3jFAo4F+xQYni+hnMuO6+LssHHdJW7+OCVL3CoU4ycnh35Q==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-win32-x64-msvc": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.11.tgz",
+ "integrity": "sha512-LN4/skhSggybX71ews7dAj6r2geaMJfm3kMbK2KhFMg9B10AZXnKoLCVVgzhMHL0S+aKtr4p8QbAW8k+w95bAA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-rc.7",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.7.tgz",
+ "integrity": "sha512-qujRfC8sFVInYSPPMLQByRh7zhwkGFS4+tyMQ83srV1qrxL4g8E2tyxVVyxd0+8QeBM1mIk9KbWxkegRr76XzA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@tailwindcss/node": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.2.2.tgz",
+ "integrity": "sha512-pXS+wJ2gZpVXqFaUEjojq7jzMpTGf8rU6ipJz5ovJV6PUGmlJ+jvIwGrzdHdQ80Sg+wmQxUFuoW1UAAwHNEdFA==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/remapping": "^2.3.5",
+ "enhanced-resolve": "^5.19.0",
+ "jiti": "^2.6.1",
+ "lightningcss": "1.32.0",
+ "magic-string": "^0.30.21",
+ "source-map-js": "^1.2.1",
+ "tailwindcss": "4.2.2"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.2.2.tgz",
+ "integrity": "sha512-qEUA07+E5kehxYp9BVMpq9E8vnJuBHfJEC0vPC5e7iL/hw7HR61aDKoVoKzrG+QKp56vhNZe4qwkRmMC0zDLvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.2.2",
+ "@tailwindcss/oxide-darwin-arm64": "4.2.2",
+ "@tailwindcss/oxide-darwin-x64": "4.2.2",
+ "@tailwindcss/oxide-freebsd-x64": "4.2.2",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.2.2",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.2.2",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.2.2",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.2.2",
+ "@tailwindcss/oxide-linux-x64-musl": "4.2.2",
+ "@tailwindcss/oxide-wasm32-wasi": "4.2.2",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.2.2",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.2.2"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-android-arm64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.2.2.tgz",
+ "integrity": "sha512-dXGR1n+P3B6748jZO/SvHZq7qBOqqzQ+yFrXpoOWWALWndF9MoSKAT3Q0fYgAzYzGhxNYOoysRvYlpixRBBoDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.2.2.tgz",
+ "integrity": "sha512-iq9Qjr6knfMpZHj55/37ouZeykwbDqF21gPFtfnhCCKGDcPI/21FKC9XdMO/XyBM7qKORx6UIhGgg6jLl7BZlg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-x64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.2.2.tgz",
+ "integrity": "sha512-BlR+2c3nzc8f2G639LpL89YY4bdcIdUmiOOkv2GQv4/4M0vJlpXEa0JXNHhCHU7VWOKWT/CjqHdTP8aUuDJkuw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-freebsd-x64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.2.2.tgz",
+ "integrity": "sha512-YUqUgrGMSu2CDO82hzlQ5qSb5xmx3RUrke/QgnoEx7KvmRJHQuZHZmZTLSuuHwFf0DJPybFMXMYf+WJdxHy/nQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.2.2.tgz",
+ "integrity": "sha512-FPdhvsW6g06T9BWT0qTwiVZYE2WIFo2dY5aCSpjG/S/u1tby+wXoslXS0kl3/KXnULlLr1E3NPRRw0g7t2kgaQ==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.2.2.tgz",
+ "integrity": "sha512-4og1V+ftEPXGttOO7eCmW7VICmzzJWgMx+QXAJRAhjrSjumCwWqMfkDrNu1LXEQzNAwz28NCUpucgQPrR4S2yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.2.2.tgz",
+ "integrity": "sha512-oCfG/mS+/+XRlwNjnsNLVwnMWYH7tn/kYPsNPh+JSOMlnt93mYNCKHYzylRhI51X+TbR+ufNhhKKzm6QkqX8ag==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.2.2.tgz",
+ "integrity": "sha512-rTAGAkDgqbXHNp/xW0iugLVmX62wOp2PoE39BTCGKjv3Iocf6AFbRP/wZT/kuCxC9QBh9Pu8XPkv/zCZB2mcMg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.2.2.tgz",
+ "integrity": "sha512-XW3t3qwbIwiSyRCggeO2zxe3KWaEbM0/kW9e8+0XpBgyKU4ATYzcVSMKteZJ1iukJ3HgHBjbg9P5YPRCVUxlnQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.2.2.tgz",
+ "integrity": "sha512-eKSztKsmEsn1O5lJ4ZAfyn41NfG7vzCg496YiGtMDV86jz1q/irhms5O0VrY6ZwTUkFy/EKG3RfWgxSI3VbZ8Q==",
+ "bundleDependencies": [
+ "@napi-rs/wasm-runtime",
+ "@emnapi/core",
+ "@emnapi/runtime",
+ "@tybys/wasm-util",
+ "@emnapi/wasi-threads",
+ "tslib"
+ ],
+ "cpu": [
+ "wasm32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.8.1",
+ "@emnapi/runtime": "^1.8.1",
+ "@emnapi/wasi-threads": "^1.1.0",
+ "@napi-rs/wasm-runtime": "^1.1.1",
+ "@tybys/wasm-util": "^0.10.1",
+ "tslib": "^2.8.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.2.tgz",
+ "integrity": "sha512-qPmaQM4iKu5mxpsrWZMOZRgZv1tOZpUm+zdhhQP0VhJfyGGO3aUKdbh3gDZc/dPLQwW4eSqWGrrcWNBZWUWaXQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.2.2.tgz",
+ "integrity": "sha512-1T/37VvI7WyH66b+vqHj/cLwnCxt7Qt3WFu5Q8hk65aOvlwAhs7rAp1VkulBJw/N4tMirXjVnylTR72uI0HGcA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/vite": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.2.2.tgz",
+ "integrity": "sha512-mEiF5HO1QqCLXoNEfXVA1Tzo+cYsrqV7w9Juj2wdUFyW07JRenqMG225MvPwr3ZD9N1bFQj46X7r33iHxLUW0w==",
+ "license": "MIT",
+ "dependencies": {
+ "@tailwindcss/node": "4.2.2",
+ "@tailwindcss/oxide": "4.2.2",
+ "tailwindcss": "4.2.2"
+ },
+ "peerDependencies": {
+ "vite": "^5.2.0 || ^6 || ^7 || ^8"
+ }
+ },
+ "node_modules/@tweenjs/tween.js": {
+ "version": "23.1.3",
+ "resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-23.1.3.tgz",
+ "integrity": "sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==",
+ "license": "MIT"
+ },
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
+ "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@types/debug": {
+ "version": "4.1.13",
+ "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz",
+ "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/ms": "*"
+ }
+ },
+ "node_modules/@types/draco3d": {
+ "version": "1.4.10",
+ "resolved": "https://registry.npmjs.org/@types/draco3d/-/draco3d-1.4.10.tgz",
+ "integrity": "sha512-AX22jp8Y7wwaBgAixaSvkoG4M/+PlAcm3Qs4OW8yT9DM4xUpWKeFhLueTAyZF39pviAdcDdeJoACapiAceqNcw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
+ "license": "MIT"
+ },
+ "node_modules/@types/estree-jsx": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",
+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "*"
+ }
+ },
+ "node_modules/@types/hast": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz",
+ "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "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/mdast": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",
+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "*"
+ }
+ },
+ "node_modules/@types/ms": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",
+ "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/node": {
+ "version": "24.12.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz",
+ "integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",
+ "devOptional": true,
+ "license": "MIT",
+ "dependencies": {
+ "undici-types": "~7.16.0"
+ }
+ },
+ "node_modules/@types/offscreencanvas": {
+ "version": "2019.7.3",
+ "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.7.3.tgz",
+ "integrity": "sha512-ieXiYmgSRXUDeOntE1InxjWyvEelZGP63M+cGuquuRLuIKKT1osnkXjxev9B7d1nXSug5vpunx+gNlbVxMlC9A==",
+ "license": "MIT"
+ },
+ "node_modules/@types/prismjs": {
+ "version": "1.26.6",
+ "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.6.tgz",
+ "integrity": "sha512-vqlvI7qlMvcCBbVe0AKAb4f97//Hy0EBTaiW8AalRnG/xAN5zOiWWyrNqNXeq8+KAuvRewjCVY1+IPxk4RdNYw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/react": {
+ "version": "19.2.14",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",
+ "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
+ "license": "MIT",
+ "dependencies": {
+ "csstype": "^3.2.2"
+ }
+ },
+ "node_modules/@types/react-dom": {
+ "version": "19.2.3",
+ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
+ "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "^19.2.0"
+ }
+ },
+ "node_modules/@types/react-reconciler": {
+ "version": "0.28.9",
+ "resolved": "https://registry.npmjs.org/@types/react-reconciler/-/react-reconciler-0.28.9.tgz",
+ "integrity": "sha512-HHM3nxyUZ3zAylX8ZEyrDNd2XZOnQ0D5XfunJF5FLQnZbHHYq4UWvW1QfelQNXv1ICNkwYhfxjwfnqivYB6bFg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/react-syntax-highlighter": {
+ "version": "15.5.13",
+ "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz",
+ "integrity": "sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/react": "*"
+ }
+ },
+ "node_modules/@types/stats.js": {
+ "version": "0.17.4",
+ "resolved": "https://registry.npmjs.org/@types/stats.js/-/stats.js-0.17.4.tgz",
+ "integrity": "sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/three": {
+ "version": "0.183.1",
+ "resolved": "https://registry.npmjs.org/@types/three/-/three-0.183.1.tgz",
+ "integrity": "sha512-f2Pu5Hrepfgavttdye3PsH5RWyY/AvdZQwIVhrc4uNtvF7nOWJacQKcoVJn0S4f0yYbmAE6AR+ve7xDcuYtMGw==",
+ "license": "MIT",
+ "dependencies": {
+ "@dimforge/rapier3d-compat": "~0.12.0",
+ "@tweenjs/tween.js": "~23.1.3",
+ "@types/stats.js": "*",
+ "@types/webxr": ">=0.5.17",
+ "@webgpu/types": "*",
+ "fflate": "~0.8.2",
+ "meshoptimizer": "~1.0.1"
+ }
+ },
+ "node_modules/@types/unist": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",
+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",
+ "license": "MIT"
+ },
+ "node_modules/@types/uuid": {
+ "version": "10.0.0",
+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz",
+ "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==",
+ "license": "MIT"
+ },
+ "node_modules/@types/webxr": {
+ "version": "0.5.24",
+ "resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.24.tgz",
+ "integrity": "sha512-h8fgEd/DpoS9CBrjEQXR+dIDraopAEfu4wYVNY2tEPwk60stPWhvZMf4Foo5FakuQ7HFZoa8WceaWFervK2Ovg==",
+ "license": "MIT"
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.57.2.tgz",
+ "integrity": "sha512-NZZgp0Fm2IkD+La5PR81sd+g+8oS6JwJje+aRWsDocxHkjyRw0J5L5ZTlN3LI1LlOcGL7ph3eaIUmTXMIjLk0w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.12.2",
+ "@typescript-eslint/scope-manager": "8.57.2",
+ "@typescript-eslint/type-utils": "8.57.2",
+ "@typescript-eslint/utils": "8.57.2",
+ "@typescript-eslint/visitor-keys": "8.57.2",
+ "ignore": "^7.0.5",
+ "natural-compare": "^1.4.0",
+ "ts-api-utils": "^2.4.0"
+ },
+ "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.57.2",
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
+ "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/@typescript-eslint/parser": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.57.2.tgz",
+ "integrity": "sha512-30ScMRHIAD33JJQkgfGW1t8CURZtjc2JpTrq5n2HFhOefbAhb7ucc7xJwdWcrEtqUIYJ73Nybpsggii6GtAHjA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "8.57.2",
+ "@typescript-eslint/types": "8.57.2",
+ "@typescript-eslint/typescript-estree": "8.57.2",
+ "@typescript-eslint/visitor-keys": "8.57.2",
+ "debug": "^4.4.3"
+ },
+ "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 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/project-service": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.57.2.tgz",
+ "integrity": "sha512-FuH0wipFywXRTHf+bTTjNyuNQQsQC3qh/dYzaM4I4W0jrCqjCVuUh99+xd9KamUfmCGPvbO8NDngo/vsnNVqgw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/tsconfig-utils": "^8.57.2",
+ "@typescript-eslint/types": "^8.57.2",
+ "debug": "^4.4.3"
+ },
+ "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 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.57.2.tgz",
+ "integrity": "sha512-snZKH+W4WbWkrBqj4gUNRIGb/jipDW3qMqVJ4C9rzdFc+wLwruxk+2a5D+uoFcKPAqyqEnSb4l2ULuZf95eSkw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.57.2",
+ "@typescript-eslint/visitor-keys": "8.57.2"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/tsconfig-utils": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.57.2.tgz",
+ "integrity": "sha512-3Lm5DSM+DCowsUOJC+YqHHnKEfFh5CoGkj5Z31NQSNF4l5wdOwqGn99wmwN/LImhfY3KJnmordBq/4+VDe2eKw==",
+ "dev": true,
+ "license": "MIT",
+ "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 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.57.2.tgz",
+ "integrity": "sha512-Co6ZCShm6kIbAM/s+oYVpKFfW7LBc6FXoPXjTRQ449PPNBY8U0KZXuevz5IFuuUj2H9ss40atTaf9dlGLzbWZg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.57.2",
+ "@typescript-eslint/typescript-estree": "8.57.2",
+ "@typescript-eslint/utils": "8.57.2",
+ "debug": "^4.4.3",
+ "ts-api-utils": "^2.4.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/types": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.57.2.tgz",
+ "integrity": "sha512-/iZM6FnM4tnx9csuTxspMW4BOSegshwX5oBDznJ7S4WggL7Vczz5d2W11ecc4vRrQMQHXRSxzrCsyG5EsPPTbA==",
+ "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.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.57.2.tgz",
+ "integrity": "sha512-2MKM+I6g8tJxfSmFKOnHv2t8Sk3T6rF20A1Puk0svLK+uVapDZB/4pfAeB7nE83uAZrU6OxW+HmOd5wHVdXwXA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/project-service": "8.57.2",
+ "@typescript-eslint/tsconfig-utils": "8.57.2",
+ "@typescript-eslint/types": "8.57.2",
+ "@typescript-eslint/visitor-keys": "8.57.2",
+ "debug": "^4.4.3",
+ "minimatch": "^10.2.2",
+ "semver": "^7.7.3",
+ "tinyglobby": "^0.2.15",
+ "ts-api-utils": "^2.4.0"
+ },
+ "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 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
+ "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
+ "integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^4.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
+ "version": "10.2.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
+ "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "brace-expansion": "^5.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
+ "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.57.2.tgz",
+ "integrity": "sha512-krRIbvPK1ju1WBKIefiX+bngPs+odIQUtR7kymzPfo1POVw3jlF+nLkmexdSSd4UCbDcQn+wMBATOOmpBbqgKg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.9.1",
+ "@typescript-eslint/scope-manager": "8.57.2",
+ "@typescript-eslint/types": "8.57.2",
+ "@typescript-eslint/typescript-estree": "8.57.2"
+ },
+ "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 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.57.2.tgz",
+ "integrity": "sha512-zhahknjobV2FiD6Ee9iLbS7OV9zi10rG26odsQdfBO/hjSzUQbkIYgda+iNKK1zNiW2ey+Lf8MU5btN17V3dUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/types": "8.57.2",
+ "eslint-visitor-keys": "^5.0.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ }
+ },
+ "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",
+ "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^20.19.0 || ^22.13.0 || >=24"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
+ "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
+ "license": "ISC"
+ },
+ "node_modules/@use-gesture/core": {
+ "version": "10.3.1",
+ "resolved": "https://registry.npmjs.org/@use-gesture/core/-/core-10.3.1.tgz",
+ "integrity": "sha512-WcINiDt8WjqBdUXye25anHiNxPc0VOrlT8F6LLkU6cycrOGUDyY/yyFmsg3k8i5OLvv25llc0QC45GhR/C8llw==",
+ "license": "MIT"
+ },
+ "node_modules/@use-gesture/react": {
+ "version": "10.3.1",
+ "resolved": "https://registry.npmjs.org/@use-gesture/react/-/react-10.3.1.tgz",
+ "integrity": "sha512-Yy19y6O2GJq8f7CHf7L0nxL8bf4PZCPaVOCgJrusOeFHY1LvHgYXnmnXg6N5iwAnbgbZCDjo60SiM6IPJi9C5g==",
+ "license": "MIT",
+ "dependencies": {
+ "@use-gesture/core": "10.3.1"
+ },
+ "peerDependencies": {
+ "react": ">= 16.8.0"
+ }
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.1.tgz",
+ "integrity": "sha512-l9X/E3cDb+xY3SWzlG1MOGt2usfEHGMNIaegaUGFsLkb3RCn/k8/TOXBcab+OndDI4TBtktT8/9BwwW8Vi9KUQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rolldown/pluginutils": "1.0.0-rc.7"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "peerDependencies": {
+ "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0",
+ "babel-plugin-react-compiler": "^1.0.0",
+ "vite": "^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@rolldown/plugin-babel": {
+ "optional": true
+ },
+ "babel-plugin-react-compiler": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@webgpu/types": {
+ "version": "0.1.69",
+ "resolved": "https://registry.npmjs.org/@webgpu/types/-/types-0.1.69.tgz",
+ "integrity": "sha512-RPmm6kgRbI8e98zSD3RVACvnuktIja5+yLgDAkTmxLr90BEwdTXRQWNLF3ETTTyH/8mKhznZuN5AveXYFEsMGQ==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/acorn": {
+ "version": "8.16.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
+ "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.14.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
+ "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0"
+ },
+ "node_modules/bail": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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/baseline-browser-mapping": {
+ "version": "2.10.10",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.10.tgz",
+ "integrity": "sha512-sUoJ3IMxx4AyRqO4MLeHlnGDkyXRoUG0/AI9fjK+vS72ekpV0yWVY7O0BVjmBcRtkNcsAO2QDZ4tdKKGoI6YaQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/bidi-js": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/bidi-js/-/bidi-js-1.0.3.tgz",
+ "integrity": "sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==",
+ "license": "MIT",
+ "dependencies": {
+ "require-from-string": "^2.0.2"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+ "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.28.1",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz",
+ "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "baseline-browser-mapping": "^2.9.0",
+ "caniuse-lite": "^1.0.30001759",
+ "electron-to-chromium": "^1.5.263",
+ "node-releases": "^2.0.27",
+ "update-browserslist-db": "^1.2.0"
+ },
+ "bin": {
+ "browserslist": "cli.js"
+ },
+ "engines": {
+ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
+ }
+ },
+ "node_modules/buffer": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
+ "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.2.1"
+ }
+ },
+ "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/camera-controls": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/camera-controls/-/camera-controls-3.1.2.tgz",
+ "integrity": "sha512-xkxfpG2ECZ6Ww5/9+kf4mfg1VEYAoe9aDSY+IwF0UEs7qEzwy0aVRfs2grImIECs/PoBtWFrh7RXsQkwG922JA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=22.0.0",
+ "npm": ">=10.5.1"
+ },
+ "peerDependencies": {
+ "three": ">=0.126.1"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001781",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001781.tgz",
+ "integrity": "sha512-RdwNCyMsNBftLjW6w01z8bKEvT6e/5tpPVEgtn22TiLGlstHOVecsX2KHFkD5e/vRnIE4EGzpuIODb3mtswtkw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/ccount": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",
+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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/character-entities": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",
+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-html4": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",
+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-entities-legacy": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",
+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/character-reference-invalid": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz",
+ "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/comma-separated-tokens": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cross-env": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
+ "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
+ "license": "MIT",
+ "dependencies": {
+ "cross-spawn": "^7.0.1"
+ },
+ "bin": {
+ "cross-env": "src/bin/cross-env.js",
+ "cross-env-shell": "src/bin/cross-env-shell.js"
+ },
+ "engines": {
+ "node": ">=10.14",
+ "npm": ">=6",
+ "yarn": ">=1"
+ }
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "license": "MIT"
+ },
+ "node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
+ "license": "MIT",
+ "dependencies": {
+ "ms": "^2.1.3"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/decode-named-character-reference": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz",
+ "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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/dequal": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/detect-gpu": {
+ "version": "5.0.70",
+ "resolved": "https://registry.npmjs.org/detect-gpu/-/detect-gpu-5.0.70.tgz",
+ "integrity": "sha512-bqerEP1Ese6nt3rFkwPnGbsUF9a4q+gMmpTVVOEzoCyeCc+y7/RvJnQZJx1JwhgQI5Ntg0Kgat8Uu7XpBqnz1w==",
+ "license": "MIT",
+ "dependencies": {
+ "webgl-constants": "^1.1.1"
+ }
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/devlop": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",
+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",
+ "license": "MIT",
+ "dependencies": {
+ "dequal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/draco3d": {
+ "version": "1.5.7",
+ "resolved": "https://registry.npmjs.org/draco3d/-/draco3d-1.5.7.tgz",
+ "integrity": "sha512-m6WCKt/erDXcw+70IJXnG7M3awwQPAsZvJGX5zY7beBqpELw6RDGkYVU0W43AFxye4pDZ5i2Lbyc/NNGqwjUVQ==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.322",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.322.tgz",
+ "integrity": "sha512-vFU34OcrvMcH66T+dYC3G4nURmgfDVewMIu6Q2urXpumAPSMmzvcn04KVVV8Opikq8Vs5nUbO/8laNhNRqSzYw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.20.1",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.1.tgz",
+ "integrity": "sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.3.0"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",
+ "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.8.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.21.2",
+ "@eslint/config-helpers": "^0.4.2",
+ "@eslint/core": "^0.17.0",
+ "@eslint/eslintrc": "^3.3.5",
+ "@eslint/js": "9.39.4",
+ "@eslint/plugin-kit": "^0.4.1",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "ajv": "^6.14.0",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.4.0",
+ "eslint-visitor-keys": "^4.2.1",
+ "espree": "^10.4.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.5",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz",
+ "integrity": "sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.24.4",
+ "@babel/parser": "^7.24.4",
+ "hermes-parser": "^0.25.1",
+ "zod": "^3.25.0 || ^4.0.0",
+ "zod-validation-error": "^3.5.0 || ^4.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-react-refresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.2.tgz",
+ "integrity": "sha512-hmgTH57GfzoTFjVN0yBwTggnsVUF2tcqi7RJZHqi9lIezSs4eFyAMktA68YD4r5kNw1mxyY4dmkyoFDb3FIqrA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "eslint": "^9 || ^10"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
+ "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.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
+ "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estree-util-is-identifier-name": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",
+ "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/extend": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",
+ "license": "MIT"
+ },
+ "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-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/fault": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz",
+ "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==",
+ "license": "MIT",
+ "dependencies": {
+ "format": "^0.2.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fflate": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
+ "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==",
+ "license": "MIT"
+ },
+ "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/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.4.2",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
+ "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/format": {
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz",
+ "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==",
+ "engines": {
+ "node": ">=0.4.x"
+ }
+ },
+ "node_modules/framer-motion": {
+ "version": "12.38.0",
+ "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-12.38.0.tgz",
+ "integrity": "sha512-rFYkY/pigbcswl1XQSb7q424kSTQ8q6eAC+YUsSKooHQYuLdzdHjrt6uxUC+PRAO++q5IS7+TamgIw1AphxR+g==",
+ "license": "MIT",
+ "dependencies": {
+ "motion-dom": "^12.38.0",
+ "motion-utils": "^12.36.0",
+ "tslib": "^2.4.0"
+ },
+ "peerDependencies": {
+ "@emotion/is-prop-valid": "*",
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@emotion/is-prop-valid": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/globals": {
+ "version": "17.4.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz",
+ "integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/glsl-noise": {
+ "version": "0.0.0",
+ "resolved": "https://registry.npmjs.org/glsl-noise/-/glsl-noise-0.0.0.tgz",
+ "integrity": "sha512-b/ZCF6amfAUb7dJM/MxRs7AetQEahYzJ8PtgfrmEdtw6uyGOr+ZSGtgjFm6mfsBkxJ4d2W7kg+Nlqzqvn3Bc0w==",
+ "license": "MIT"
+ },
+ "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/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/hast-util-parse-selector": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz",
+ "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-to-jsx-runtime": {
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",
+ "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/unist": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "devlop": "^1.0.0",
+ "estree-util-is-identifier-name": "^3.0.0",
+ "hast-util-whitespace": "^3.0.0",
+ "mdast-util-mdx-expression": "^2.0.0",
+ "mdast-util-mdx-jsx": "^3.0.0",
+ "mdast-util-mdxjs-esm": "^2.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0",
+ "style-to-js": "^1.0.0",
+ "unist-util-position": "^5.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hast-util-whitespace": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",
+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hastscript": {
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz",
+ "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "comma-separated-tokens": "^2.0.0",
+ "hast-util-parse-selector": "^4.0.0",
+ "property-information": "^7.0.0",
+ "space-separated-tokens": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/hermes-estree": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz",
+ "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/hermes-parser": {
+ "version": "0.25.1",
+ "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz",
+ "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hermes-estree": "0.25.1"
+ }
+ },
+ "node_modules/highlight.js": {
+ "version": "10.7.3",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.7.3.tgz",
+ "integrity": "sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/highlightjs-vue": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/highlightjs-vue/-/highlightjs-vue-1.0.0.tgz",
+ "integrity": "sha512-PDEfEF102G23vHmPhLyPboFCD+BkMGu+GuJe2d9/eH4FsCwvgBpnc9n0pGE+ffKdph38s6foEZiEjdgHdzp+IA==",
+ "license": "CC0-1.0"
+ },
+ "node_modules/hls.js": {
+ "version": "1.6.15",
+ "resolved": "https://registry.npmjs.org/hls.js/-/hls.js-1.6.15.tgz",
+ "integrity": "sha512-E3a5VwgXimGHwpRGV+WxRTKeSp2DW5DI5MWv34ulL3t5UNmyJWCQ1KmLEHbYzcfThfXG8amBL+fCYPneGHC4VA==",
+ "license": "Apache-2.0"
+ },
+ "node_modules/html-url-attributes": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",
+ "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "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/immediate": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz",
+ "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==",
+ "license": "MIT"
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/inline-style-parser": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz",
+ "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==",
+ "license": "MIT"
+ },
+ "node_modules/is-alphabetical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz",
+ "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-alphanumerical": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz",
+ "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==",
+ "license": "MIT",
+ "dependencies": {
+ "is-alphabetical": "^2.0.0",
+ "is-decimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-decimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",
+ "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-hexadecimal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",
+ "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/is-plain-obj": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-promise": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
+ "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==",
+ "license": "MIT"
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "license": "ISC"
+ },
+ "node_modules/its-fine": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/its-fine/-/its-fine-2.0.0.tgz",
+ "integrity": "sha512-KLViCmWx94zOvpLwSlsx6yOCeMhZYaxrJV87Po5k/FoZzcPSahvK5qJ7fYhS61sZi5ikmh2S3Hz55A2l3U69ng==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/react-reconciler": "^0.28.9"
+ },
+ "peerDependencies": {
+ "react": "^19.0.0"
+ }
+ },
+ "node_modules/jiti": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",
+ "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",
+ "license": "MIT",
+ "bin": {
+ "jiti": "lib/jiti-cli.mjs"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/lie": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz",
+ "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==",
+ "license": "MIT",
+ "dependencies": {
+ "immediate": "~3.0.5"
+ }
+ },
+ "node_modules/lightningcss": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
+ "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-android-arm64": "1.32.0",
+ "lightningcss-darwin-arm64": "1.32.0",
+ "lightningcss-darwin-x64": "1.32.0",
+ "lightningcss-freebsd-x64": "1.32.0",
+ "lightningcss-linux-arm-gnueabihf": "1.32.0",
+ "lightningcss-linux-arm64-gnu": "1.32.0",
+ "lightningcss-linux-arm64-musl": "1.32.0",
+ "lightningcss-linux-x64-gnu": "1.32.0",
+ "lightningcss-linux-x64-musl": "1.32.0",
+ "lightningcss-win32-arm64-msvc": "1.32.0",
+ "lightningcss-win32-x64-msvc": "1.32.0"
+ }
+ },
+ "node_modules/lightningcss-android-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",
+ "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-darwin-arm64": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",
+ "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",
+ "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",
+ "cpu": [
+ "x64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",
+ "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",
+ "cpu": [
+ "x64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",
+ "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",
+ "cpu": [
+ "arm"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",
+ "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",
+ "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",
+ "cpu": [
+ "arm64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",
+ "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",
+ "cpu": [
+ "x64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",
+ "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",
+ "cpu": [
+ "x64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",
+ "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",
+ "cpu": [
+ "arm64"
+ ],
+ "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.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/longest-streak": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",
+ "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/lowlight": {
+ "version": "1.20.0",
+ "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.20.0.tgz",
+ "integrity": "sha512-8Ktj+prEb1RoCPkEOrPMYUN/nCggB7qAWe3a7OpMjWQkh3l2RD5wKRQ+o8Q8YuI9RG/xs95waaI/E6ym/7NsTw==",
+ "license": "MIT",
+ "dependencies": {
+ "fault": "^1.0.0",
+ "highlight.js": "~10.7.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/lru-cache": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
+ "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "yallist": "^3.0.2"
+ }
+ },
+ "node_modules/lucide-react": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-1.0.1.tgz",
+ "integrity": "sha512-lih7tKEczCYOQjVEzpFuxEuNzlwf+1yhvlMlEkGWJM3va8Pugv8bYXc/pRtcjPncaP7k84X0Pt/71ufxvqEPtQ==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/maath": {
+ "version": "0.10.8",
+ "resolved": "https://registry.npmjs.org/maath/-/maath-0.10.8.tgz",
+ "integrity": "sha512-tRvbDF0Pgqz+9XUa4jjfgAQ8/aPKmQdWXilFu2tMy4GWj4NOsx99HlULO4IeREfbO3a0sA145DZYyvXPkybm0g==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@types/three": ">=0.134.0",
+ "three": ">=0.134.0"
+ }
+ },
+ "node_modules/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/markdown-table": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",
+ "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/mdast-util-find-and-replace": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz",
+ "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "escape-string-regexp": "^5.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",
+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/mdast-util-from-markdown": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz",
+ "integrity": "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark": "^4.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",
+ "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==",
+ "license": "MIT",
+ "dependencies": {
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-gfm-autolink-literal": "^2.0.0",
+ "mdast-util-gfm-footnote": "^2.0.0",
+ "mdast-util-gfm-strikethrough": "^2.0.0",
+ "mdast-util-gfm-table": "^2.0.0",
+ "mdast-util-gfm-task-list-item": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-autolink-literal": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz",
+ "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-find-and-replace": "^3.0.0",
+ "micromark-util-character": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-strikethrough": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz",
+ "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-table": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",
+ "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "markdown-table": "^3.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-gfm-task-list-item": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",
+ "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdx-expression": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz",
+ "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdx-jsx": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz",
+ "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "ccount": "^2.0.0",
+ "devlop": "^1.1.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "parse-entities": "^4.0.0",
+ "stringify-entities": "^4.0.0",
+ "unist-util-stringify-position": "^4.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-mdxjs-esm": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz",
+ "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/estree-jsx": "^1.0.0",
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "mdast-util-to-markdown": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-phrasing": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",
+ "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-hast": {
+ "version": "13.2.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",
+ "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "@ungap/structured-clone": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "trim-lines": "^3.0.0",
+ "unist-util-position": "^5.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-markdown": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz",
+ "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "@types/unist": "^3.0.0",
+ "longest-streak": "^3.0.0",
+ "mdast-util-phrasing": "^4.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-decode-string": "^2.0.0",
+ "unist-util-visit": "^5.0.0",
+ "zwitch": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/mdast-util-to-string": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",
+ "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/meshline": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/meshline/-/meshline-3.3.1.tgz",
+ "integrity": "sha512-/TQj+JdZkeSUOl5Mk2J7eLcYTLiQm2IDzmlSvYm7ov15anEcDJ92GHqqazxTSreeNgfnYu24kiEvvv0WlbCdFQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "three": ">=0.137"
+ }
+ },
+ "node_modules/meshoptimizer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-1.0.1.tgz",
+ "integrity": "sha512-Vix+QlA1YYT3FwmBBZ+49cE5y/b+pRrcXKqGpS5ouh33d3lSp2PoTpCw19E0cKDFWalembrHnIaZetf27a+W2g==",
+ "license": "MIT"
+ },
+ "node_modules/micromark": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz",
+ "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "@types/debug": "^4.0.0",
+ "debug": "^4.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-core-commonmark": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz",
+ "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "devlop": "^1.0.0",
+ "micromark-factory-destination": "^2.0.0",
+ "micromark-factory-label": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-factory-title": "^2.0.0",
+ "micromark-factory-whitespace": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-html-tag-name": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-subtokenize": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-extension-gfm": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",
+ "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-extension-gfm-autolink-literal": "^2.0.0",
+ "micromark-extension-gfm-footnote": "^2.0.0",
+ "micromark-extension-gfm-strikethrough": "^2.0.0",
+ "micromark-extension-gfm-table": "^2.0.0",
+ "micromark-extension-gfm-tagfilter": "^2.0.0",
+ "micromark-extension-gfm-task-list-item": "^2.0.0",
+ "micromark-util-combine-extensions": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-autolink-literal": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",
+ "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-footnote": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",
+ "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-core-commonmark": "^2.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-normalize-identifier": "^2.0.0",
+ "micromark-util-sanitize-uri": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-strikethrough": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",
+ "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-classify-character": "^2.0.0",
+ "micromark-util-resolve-all": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-table": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz",
+ "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-tagfilter": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",
+ "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-extension-gfm-task-list-item": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",
+ "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/micromark-factory-destination": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",
+ "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-label": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",
+ "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-space": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz",
+ "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-title": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",
+ "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-factory-whitespace": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",
+ "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-factory-space": "^2.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-character": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",
+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-chunked": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",
+ "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-classify-character": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",
+ "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-combine-extensions": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",
+ "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-numeric-character-reference": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",
+ "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-decode-string": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",
+ "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "decode-named-character-reference": "^1.0.0",
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-decode-numeric-character-reference": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-encode": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",
+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-html-tag-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",
+ "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-normalize-identifier": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",
+ "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-resolve-all": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",
+ "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-sanitize-uri": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",
+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "micromark-util-character": "^2.0.0",
+ "micromark-util-encode": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-subtokenize": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",
+ "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "devlop": "^1.0.0",
+ "micromark-util-chunked": "^2.0.0",
+ "micromark-util-symbol": "^2.0.0",
+ "micromark-util-types": "^2.0.0"
+ }
+ },
+ "node_modules/micromark-util-symbol": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",
+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/micromark-util-types": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",
+ "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",
+ "funding": [
+ {
+ "type": "GitHub Sponsors",
+ "url": "https://github.com/sponsors/unifiedjs"
+ },
+ {
+ "type": "OpenCollective",
+ "url": "https://opencollective.com/unified"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/motion-dom": {
+ "version": "12.38.0",
+ "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-12.38.0.tgz",
+ "integrity": "sha512-pdkHLD8QYRp8VfiNLb8xIBJis1byQ9gPT3Jnh2jqfFtAsWUA3dEepDlsWe/xMpO8McV+VdpKVcp+E+TGJEtOoA==",
+ "license": "MIT",
+ "dependencies": {
+ "motion-utils": "^12.36.0"
+ }
+ },
+ "node_modules/motion-utils": {
+ "version": "12.36.0",
+ "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-12.36.0.tgz",
+ "integrity": "sha512-eHWisygbiwVvf6PZ1vhaHCLamvkSbPIeAYxWUuL3a2PD/TROgE7FvfHWTIH4vMl798QLfMw15nRqIaRDXTlYRg==",
+ "license": "MIT"
+ },
+ "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/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.36",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.36.tgz",
+ "integrity": "sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/parse-entities": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",
+ "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^2.0.0",
+ "character-entities-legacy": "^3.0.0",
+ "character-reference-invalid": "^2.0.0",
+ "decode-named-character-reference": "^1.0.0",
+ "is-alphanumerical": "^2.0.0",
+ "is-decimal": "^2.0.0",
+ "is-hexadecimal": "^2.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/parse-entities/node_modules/@types/unist": {
+ "version": "2.0.11",
+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",
+ "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",
+ "license": "MIT"
+ },
+ "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==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
+ "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.8",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",
+ "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",
+ "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.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/potpack": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz",
+ "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==",
+ "license": "ISC"
+ },
+ "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/prismjs": {
+ "version": "1.30.0",
+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz",
+ "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/promise-worker-transferable": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/promise-worker-transferable/-/promise-worker-transferable-1.0.4.tgz",
+ "integrity": "sha512-bN+0ehEnrXfxV2ZQvU2PetO0n4gqBD4ulq3MI1WOPLgr7/Mg9yRQkX5+0v1vagr74ZTsl7XtzlaYDo2EuCeYJw==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "is-promise": "^2.1.0",
+ "lie": "^3.0.2"
+ }
+ },
+ "node_modules/property-information": {
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz",
+ "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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/react": {
+ "version": "19.2.4",
+ "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz",
+ "integrity": "sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "19.2.4",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.4.tgz",
+ "integrity": "sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==",
+ "license": "MIT",
+ "dependencies": {
+ "scheduler": "^0.27.0"
+ },
+ "peerDependencies": {
+ "react": "^19.2.4"
+ }
+ },
+ "node_modules/react-markdown": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz",
+ "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "devlop": "^1.0.0",
+ "hast-util-to-jsx-runtime": "^2.0.0",
+ "html-url-attributes": "^3.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-rehype": "^11.0.0",
+ "unified": "^11.0.0",
+ "unist-util-visit": "^5.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ },
+ "peerDependencies": {
+ "@types/react": ">=18",
+ "react": ">=18"
+ }
+ },
+ "node_modules/react-syntax-highlighter": {
+ "version": "16.1.1",
+ "resolved": "https://registry.npmjs.org/react-syntax-highlighter/-/react-syntax-highlighter-16.1.1.tgz",
+ "integrity": "sha512-PjVawBGy80C6YbC5DDZJeUjBmC7skaoEUdvfFQediQHgCL7aKyVHe57SaJGfQsloGDac+gCpTfRdtxzWWKmCXA==",
+ "license": "MIT",
+ "dependencies": {
+ "@babel/runtime": "^7.28.4",
+ "highlight.js": "^10.4.1",
+ "highlightjs-vue": "^1.0.0",
+ "lowlight": "^1.17.0",
+ "prismjs": "^1.30.0",
+ "refractor": "^5.0.0"
+ },
+ "engines": {
+ "node": ">= 16.20.2"
+ },
+ "peerDependencies": {
+ "react": ">= 0.14.0"
+ }
+ },
+ "node_modules/react-use-measure": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/react-use-measure/-/react-use-measure-2.1.7.tgz",
+ "integrity": "sha512-KrvcAo13I/60HpwGO5jpW7E9DfusKyLPLvuHlUyP5zqnmAPhNc6qTRjUQrdTADl0lpPpDVU2/Gg51UlOGHXbdg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">=16.13",
+ "react-dom": ">=16.13"
+ },
+ "peerDependenciesMeta": {
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/refractor": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/refractor/-/refractor-5.0.0.tgz",
+ "integrity": "sha512-QXOrHQF5jOpjjLfiNk5GFnWhRXvxjUVnlFxkeDmewR5sXkr3iM46Zo+CnRR8B+MDVqkULW4EcLVcRBNOPXHosw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/prismjs": "^1.0.0",
+ "hastscript": "^9.0.0",
+ "parse-entities": "^4.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/remark-gfm": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",
+ "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-gfm": "^3.0.0",
+ "micromark-extension-gfm": "^3.0.0",
+ "remark-parse": "^11.0.0",
+ "remark-stringify": "^11.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-parse": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",
+ "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-from-markdown": "^2.0.0",
+ "micromark-util-types": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-rehype": {
+ "version": "11.1.2",
+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",
+ "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/hast": "^3.0.0",
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-hast": "^13.0.0",
+ "unified": "^11.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/remark-stringify": {
+ "version": "11.0.0",
+ "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",
+ "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/mdast": "^4.0.0",
+ "mdast-util-to-markdown": "^2.0.0",
+ "unified": "^11.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/rolldown": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.11.tgz",
+ "integrity": "sha512-NRjoKMusSjfRbSYiH3VSumlkgFe7kYAa3pzVOsVYVFY3zb5d7nS+a3KGQ7hJKXuYWbzJKPVQ9Wxq2UvyK+ENpw==",
+ "license": "MIT",
+ "dependencies": {
+ "@oxc-project/types": "=0.122.0",
+ "@rolldown/pluginutils": "1.0.0-rc.11"
+ },
+ "bin": {
+ "rolldown": "bin/cli.mjs"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "optionalDependencies": {
+ "@rolldown/binding-android-arm64": "1.0.0-rc.11",
+ "@rolldown/binding-darwin-arm64": "1.0.0-rc.11",
+ "@rolldown/binding-darwin-x64": "1.0.0-rc.11",
+ "@rolldown/binding-freebsd-x64": "1.0.0-rc.11",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.11",
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.11",
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.11",
+ "@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.11",
+ "@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.11",
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.11",
+ "@rolldown/binding-linux-x64-musl": "1.0.0-rc.11",
+ "@rolldown/binding-openharmony-arm64": "1.0.0-rc.11",
+ "@rolldown/binding-wasm32-wasi": "1.0.0-rc.11",
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.11",
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.11"
+ }
+ },
+ "node_modules/rolldown/node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-rc.11",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.11.tgz",
+ "integrity": "sha512-xQO9vbwBecJRv9EUcQ/y0dzSTJgA7Q6UVN7xp6B81+tBGSLVAK03yJ9NkJaUA7JFD91kbjxRSC/mDnmvXzbHoQ==",
+ "license": "MIT"
+ },
+ "node_modules/scheduler": {
+ "version": "0.27.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
+ "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",
+ "license": "MIT"
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "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==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/space-separated-tokens": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",
+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/stats-gl": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/stats-gl/-/stats-gl-2.4.2.tgz",
+ "integrity": "sha512-g5O9B0hm9CvnM36+v7SFl39T7hmAlv541tU81ME8YeSb3i1CIP5/QdDeSB3A0la0bKNHpxpwxOVRo2wFTYEosQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/three": "*",
+ "three": "^0.170.0"
+ },
+ "peerDependencies": {
+ "@types/three": "*",
+ "three": "*"
+ }
+ },
+ "node_modules/stats-gl/node_modules/three": {
+ "version": "0.170.0",
+ "resolved": "https://registry.npmjs.org/three/-/three-0.170.0.tgz",
+ "integrity": "sha512-FQK+LEpYc0fBD+J8g6oSEyyNzjp+Q7Ks1C568WWaoMRLW+TkNNWmenWeGgJjV105Gd+p/2ql1ZcjYvNiPZBhuQ==",
+ "license": "MIT"
+ },
+ "node_modules/stats.js": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/stats.js/-/stats.js-0.17.0.tgz",
+ "integrity": "sha512-hNKz8phvYLPEcRkeG1rsGmV5ChMjKDAWU7/OJJdDErPBNChQXxCo3WZurGpnWc6gZhAzEPFad1aVgyOANH1sMw==",
+ "license": "MIT"
+ },
+ "node_modules/stringify-entities": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",
+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",
+ "license": "MIT",
+ "dependencies": {
+ "character-entities-html4": "^2.0.0",
+ "character-entities-legacy": "^3.0.0"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "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-to-js": {
+ "version": "1.1.21",
+ "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",
+ "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==",
+ "license": "MIT",
+ "dependencies": {
+ "style-to-object": "1.0.14"
+ }
+ },
+ "node_modules/style-to-object": {
+ "version": "1.0.14",
+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz",
+ "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==",
+ "license": "MIT",
+ "dependencies": {
+ "inline-style-parser": "0.2.7"
+ }
+ },
+ "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/suspend-react": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/suspend-react/-/suspend-react-0.1.3.tgz",
+ "integrity": "sha512-aqldKgX9aZqpoDp3e8/BZ8Dm7x1pJl+qI3ZKxDN0i/IQTWUwBx/ManmlVJ3wowqbno6c2bmiIfs+Um6LbsjJyQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": ">=17.0"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.2.2.tgz",
+ "integrity": "sha512-KWBIxs1Xb6NoLdMVqhbhgwZf2PGBpPEiwOqgI4pFIYbNTfBXiKYyWoTsXgBQ9WFg/OlhnvHaY+AEpW7wSmFo2Q==",
+ "license": "MIT"
+ },
+ "node_modules/tapable": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.2.tgz",
+ "integrity": "sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ }
+ },
+ "node_modules/three": {
+ "version": "0.183.2",
+ "resolved": "https://registry.npmjs.org/three/-/three-0.183.2.tgz",
+ "integrity": "sha512-di3BsL2FEQ1PA7Hcvn4fyJOlxRRgFYBpMTcyOgkwJIaDOdJMebEFPA+t98EvjuljDx4hNulAGwF6KIjtwI5jgQ==",
+ "license": "MIT"
+ },
+ "node_modules/three-mesh-bvh": {
+ "version": "0.8.3",
+ "resolved": "https://registry.npmjs.org/three-mesh-bvh/-/three-mesh-bvh-0.8.3.tgz",
+ "integrity": "sha512-4G5lBaF+g2auKX3P0yqx+MJC6oVt6sB5k+CchS6Ob0qvH0YIhuUk1eYr7ktsIpY+albCqE80/FVQGV190PmiAg==",
+ "license": "MIT",
+ "peerDependencies": {
+ "three": ">= 0.159.0"
+ }
+ },
+ "node_modules/three-stdlib": {
+ "version": "2.36.1",
+ "resolved": "https://registry.npmjs.org/three-stdlib/-/three-stdlib-2.36.1.tgz",
+ "integrity": "sha512-XyGQrFmNQ5O/IoKm556ftwKsBg11TIb301MB5dWNicziQBEs2g3gtOYIf7pFiLa0zI2gUwhtCjv9fmjnxKZ1Cg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/draco3d": "^1.4.0",
+ "@types/offscreencanvas": "^2019.6.4",
+ "@types/webxr": "^0.5.2",
+ "draco3d": "^1.4.1",
+ "fflate": "^0.6.9",
+ "potpack": "^1.0.1"
+ },
+ "peerDependencies": {
+ "three": ">=0.128.0"
+ }
+ },
+ "node_modules/three-stdlib/node_modules/fflate": {
+ "version": "0.6.10",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.10.tgz",
+ "integrity": "sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg==",
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.15",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
+ "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/trim-lines": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",
+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/troika-three-text": {
+ "version": "0.52.4",
+ "resolved": "https://registry.npmjs.org/troika-three-text/-/troika-three-text-0.52.4.tgz",
+ "integrity": "sha512-V50EwcYGruV5rUZ9F4aNsrytGdKcXKALjEtQXIOBfhVoZU9VAqZNIoGQ3TMiooVqFAbR1w15T+f+8gkzoFzawg==",
+ "license": "MIT",
+ "dependencies": {
+ "bidi-js": "^1.0.2",
+ "troika-three-utils": "^0.52.4",
+ "troika-worker-utils": "^0.52.0",
+ "webgl-sdf-generator": "1.1.1"
+ },
+ "peerDependencies": {
+ "three": ">=0.125.0"
+ }
+ },
+ "node_modules/troika-three-utils": {
+ "version": "0.52.4",
+ "resolved": "https://registry.npmjs.org/troika-three-utils/-/troika-three-utils-0.52.4.tgz",
+ "integrity": "sha512-NORAStSVa/BDiG52Mfudk4j1FG4jC4ILutB3foPnfGbOeIs9+G5vZLa0pnmnaftZUGm4UwSoqEpWdqvC7zms3A==",
+ "license": "MIT",
+ "peerDependencies": {
+ "three": ">=0.125.0"
+ }
+ },
+ "node_modules/troika-worker-utils": {
+ "version": "0.52.0",
+ "resolved": "https://registry.npmjs.org/troika-worker-utils/-/troika-worker-utils-0.52.0.tgz",
+ "integrity": "sha512-W1CpvTHykaPH5brv5VHLfQo9D1OYuo0cSBEUQFFT/nBUzM8iD6Lq2/tgG/f1OelbAS1WtaTPQzE5uM49egnngw==",
+ "license": "MIT"
+ },
+ "node_modules/trough": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",
+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ },
+ "node_modules/ts-api-utils": {
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",
+ "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.12"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.8.4"
+ }
+ },
+ "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==",
+ "license": "0BSD"
+ },
+ "node_modules/tunnel-rat": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/tunnel-rat/-/tunnel-rat-0.1.2.tgz",
+ "integrity": "sha512-lR5VHmkPhzdhrM092lI2nACsLO4QubF0/yoOhzX7c+wIpbN1GjHNzCc91QlpxBi+cnx8vVJ+Ur6vL5cEoQPFpQ==",
+ "license": "MIT",
+ "dependencies": {
+ "zustand": "^4.3.2"
+ }
+ },
+ "node_modules/tunnel-rat/node_modules/zustand": {
+ "version": "4.5.7",
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz",
+ "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==",
+ "license": "MIT",
+ "dependencies": {
+ "use-sync-external-store": "^1.2.2"
+ },
+ "engines": {
+ "node": ">=12.7.0"
+ },
+ "peerDependencies": {
+ "@types/react": ">=16.8",
+ "immer": ">=9.0.6",
+ "react": ">=16.8"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "immer": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.9.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/typescript-eslint": {
+ "version": "8.57.2",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.57.2.tgz",
+ "integrity": "sha512-VEPQ0iPgWO/sBaZOU1xo4nuNdODVOajPnTIbog2GKYr31nIlZ0fWPoCQgGfF3ETyBl1vn63F/p50Um9Z4J8O8A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@typescript-eslint/eslint-plugin": "8.57.2",
+ "@typescript-eslint/parser": "8.57.2",
+ "@typescript-eslint/typescript-estree": "8.57.2",
+ "@typescript-eslint/utils": "8.57.2"
+ },
+ "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 || ^10.0.0",
+ "typescript": ">=4.8.4 <6.0.0"
+ }
+ },
+ "node_modules/undici-types": {
+ "version": "7.16.0",
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
+ "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/unified": {
+ "version": "11.0.5",
+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",
+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "bail": "^2.0.0",
+ "devlop": "^1.0.0",
+ "extend": "^3.0.0",
+ "is-plain-obj": "^4.0.0",
+ "trough": "^2.0.0",
+ "vfile": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-is": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",
+ "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-position": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",
+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-stringify-position": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",
+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz",
+ "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0",
+ "unist-util-visit-parents": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/unist-util-visit-parents": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz",
+ "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-is": "^6.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/update-browserslist-db": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/browserslist"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "escalade": "^3.2.0",
+ "picocolors": "^1.1.1"
+ },
+ "bin": {
+ "update-browserslist-db": "cli.js"
+ },
+ "peerDependencies": {
+ "browserslist": ">= 4.21.0"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/use-sync-external-store": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
+ "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/utility-types": {
+ "version": "3.11.0",
+ "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz",
+ "integrity": "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/uuid": {
+ "version": "13.0.0",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz",
+ "integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==",
+ "funding": [
+ "https://github.com/sponsors/broofa",
+ "https://github.com/sponsors/ctavan"
+ ],
+ "license": "MIT",
+ "bin": {
+ "uuid": "dist-node/bin/uuid"
+ }
+ },
+ "node_modules/vfile": {
+ "version": "6.0.3",
+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",
+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "vfile-message": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vfile-message": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",
+ "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/unist": "^3.0.0",
+ "unist-util-stringify-position": "^4.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/unified"
+ }
+ },
+ "node_modules/vite": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.2.tgz",
+ "integrity": "sha512-1gFhNi+bHhRE/qKZOJXACm6tX4bA3Isy9KuKF15AgSRuRazNBOJfdDemPBU16/mpMxApDPrWvZ08DcLPEoRnuA==",
+ "license": "MIT",
+ "dependencies": {
+ "lightningcss": "^1.32.0",
+ "picomatch": "^4.0.3",
+ "postcss": "^8.5.8",
+ "rolldown": "1.0.0-rc.11",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "@vitejs/devtools": "^0.1.0",
+ "esbuild": "^0.27.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "@vitejs/devtools": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "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/webgl-constants": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/webgl-constants/-/webgl-constants-1.1.1.tgz",
+ "integrity": "sha512-LkBXKjU5r9vAW7Gcu3T5u+5cvSvh5WwINdr0C+9jpzVB41cjQAP5ePArDtk/WHYdVj0GefCgM73BA7FlIiNtdg=="
+ },
+ "node_modules/webgl-sdf-generator": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/webgl-sdf-generator/-/webgl-sdf-generator-1.1.1.tgz",
+ "integrity": "sha512-9Z0JcMTFxeE+b2x1LJTdnaT8rT8aEp7MVxkNwoycNmJWwPdzoXzMh0BjJSh/AEFP+KPYZUli814h8bJZFIZ2jA==",
+ "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==",
+ "license": "ISC",
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/word-wrap": {
+ "version": "1.2.5",
+ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
+ "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/yallist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
+ "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/zod": {
+ "version": "4.3.6",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
+ "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/zod-validation-error": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",
+ "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.0 || ^4.0.0"
+ }
+ },
+ "node_modules/zustand": {
+ "version": "5.0.12",
+ "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.12.tgz",
+ "integrity": "sha512-i77ae3aZq4dhMlRhJVCYgMLKuSiZAaUPAct2AksxQ+gOtimhGMdXljRT21P5BNpeT4kXlLIckvkPM029OljD7g==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.20.0"
+ },
+ "peerDependencies": {
+ "@types/react": ">=18.0.0",
+ "immer": ">=9.0.6",
+ "react": ">=18.0.0",
+ "use-sync-external-store": ">=1.2.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "immer": {
+ "optional": true
+ },
+ "react": {
+ "optional": true
+ },
+ "use-sync-external-store": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/zwitch": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",
+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",
+ "license": "MIT",
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/wooorm"
+ }
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 00000000..e3771462
--- /dev/null
+++ b/package.json
@@ -0,0 +1,52 @@
+{
+ "name": "locally-uncensored",
+ "version": "1.0.0",
+ "private": false,
+ "description": "Private, local AI chat & image/video generation. No cloud, no censorship, no data collection. Powered by Ollama & ComfyUI.",
+ "license": "MIT",
+ "author": "purpledoubled",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/purpledoubled/locally-uncensored.git"
+ },
+ "keywords": ["ai", "local", "ollama", "comfyui", "uncensored", "private", "chat", "image-generation", "video-generation"],
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "tsc -b && vite build",
+ "lint": "eslint .",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "@react-three/drei": "^10.7.7",
+ "@react-three/fiber": "^9.5.0",
+ "@tailwindcss/vite": "^4.2.2",
+ "@types/react-syntax-highlighter": "^15.5.13",
+ "@types/uuid": "^10.0.0",
+ "framer-motion": "^12.38.0",
+ "lucide-react": "^1.0.1",
+ "react": "^19.2.4",
+ "react-dom": "^19.2.4",
+ "react-markdown": "^10.1.0",
+ "react-syntax-highlighter": "^16.1.1",
+ "remark-gfm": "^4.0.1",
+ "tailwindcss": "^4.2.2",
+ "three": "^0.183.2",
+ "uuid": "^13.0.0",
+ "zustand": "^5.0.12"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.39.4",
+ "@types/node": "^24.12.0",
+ "@types/react": "^19.2.14",
+ "@types/react-dom": "^19.2.3",
+ "@vitejs/plugin-react": "^6.0.1",
+ "eslint": "^9.39.4",
+ "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-refresh": "^0.5.2",
+ "globals": "^17.4.0",
+ "typescript": "~5.9.3",
+ "typescript-eslint": "^8.57.0",
+ "vite": "^8.0.1"
+ }
+}
diff --git a/public/favicon.svg b/public/favicon.svg
new file mode 100644
index 00000000..6893eb13
--- /dev/null
+++ b/public/favicon.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="48" height="46" fill="none" viewBox="0 0 48 46"><path fill="#863bff" d="M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z" style="fill:#863bff;fill:color(display-p3 .5252 .23 1);fill-opacity:1"/><mask id="a" width="48" height="46" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z" style="fill:#000;fill-opacity:1"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#ede6ff" rx="5.508" ry="14.704" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -4.47 31.516)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#ede6ff" rx="10.399" ry="29.851" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -39.328 7.883)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#7e14ff" rx="5.508" ry="30.487" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -25.913 -14.639)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.814 -32.644 -3.334)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#7e14ff" rx="5.508" ry="30.599" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="matrix(.00324 1 1 -.00324 -34.34 30.47)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#ede6ff" rx="14.072" ry="22.078" style="fill:#ede6ff;fill:color(display-p3 .9275 .9033 1);fill-opacity:1" transform="rotate(93.35 24.506 48.493)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#7e14ff" rx="3.47" ry="21.501" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(89.009 28.708 47.59)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx=".387" cy="8.972" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(39.51 .387 8.972)"/></g><g filter="url(#k)"><ellipse cx="47.523" cy="-6.092" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 47.523 -6.092)"/></g><g filter="url(#l)"><ellipse cx="41.412" cy="6.333" fill="#47bfff" rx="5.971" ry="9.665" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 41.412 6.333)"/></g><g filter="url(#m)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#n)"><ellipse cx="-1.879" cy="38.332" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 -1.88 38.332)"/></g><g filter="url(#o)"><ellipse cx="35.651" cy="29.907" fill="#7e14ff" rx="4.407" ry="29.108" style="fill:#7e14ff;fill:color(display-p3 .4922 .0767 1);fill-opacity:1" transform="rotate(37.892 35.651 29.907)"/></g><g filter="url(#p)"><ellipse cx="38.418" cy="32.4" fill="#47bfff" rx="5.971" ry="15.297" style="fill:#47bfff;fill:color(display-p3 .2799 .748 1);fill-opacity:1" transform="rotate(37.892 38.418 32.4)"/></g></g><defs><filter id="b" width="60.045" height="41.654" x="-19.77" y="16.149" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-54.613" y="-7.533" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-49.64" y="2.03" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-45.045" y="20.029" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-43.513" y="21.178" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="g" width="74.749" height="58.852" x="15.756" y="-17.901" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="7.659"/></filter><filter id="h" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="i" width="61.377" height="25.362" x="23.548" y="2.284" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="j" width="56.045" height="63.649" x="-27.636" y="-22.853" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="k" width="54.814" height="64.646" x="20.116" y="-38.415" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="l" width="33.541" height="35.313" x="24.641" y="-11.323" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="m" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="n" width="54.814" height="64.646" x="-29.286" y="6.009" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="o" width="54.814" height="64.646" x="8.244" y="-2.416" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter><filter id="p" width="39.409" height="43.623" x="18.713" y="10.588" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17158" stdDeviation="4.596"/></filter></defs></svg>
\ No newline at end of file
diff --git a/public/icons.svg b/public/icons.svg
new file mode 100644
index 00000000..e9522193
--- /dev/null
+++ b/public/icons.svg
@@ -0,0 +1,24 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <symbol id="bluesky-icon" viewBox="0 0 16 17">
+ <g clip-path="url(#bluesky-clip)"><path fill="#08060d" d="M7.75 7.735c-.693-1.348-2.58-3.86-4.334-5.097-1.68-1.187-2.32-.981-2.74-.79C.188 2.065.1 2.812.1 3.251s.241 3.602.398 4.13c.52 1.744 2.367 2.333 4.07 2.145-2.495.37-4.71 1.278-1.805 4.512 3.196 3.309 4.38-.71 4.987-2.746.608 2.036 1.307 5.91 4.93 2.746 2.72-2.746.747-4.143-1.747-4.512 1.702.189 3.55-.4 4.07-2.145.156-.528.397-3.691.397-4.13s-.088-1.186-.575-1.406c-.42-.19-1.06-.395-2.741.79-1.755 1.24-3.64 3.752-4.334 5.099"/></g>
+ <defs><clipPath id="bluesky-clip"><path fill="#fff" d="M.1.85h15.3v15.3H.1z"/></clipPath></defs>
+ </symbol>
+ <symbol id="discord-icon" viewBox="0 0 20 19">
+ <path fill="#08060d" d="M16.224 3.768a14.5 14.5 0 0 0-3.67-1.153c-.158.286-.343.67-.47.976a13.5 13.5 0 0 0-4.067 0c-.128-.306-.317-.69-.476-.976A14.4 14.4 0 0 0 3.868 3.77C1.546 7.28.916 10.703 1.231 14.077a14.7 14.7 0 0 0 4.5 2.306q.545-.748.965-1.587a9.5 9.5 0 0 1-1.518-.74q.191-.14.372-.293c2.927 1.369 6.107 1.369 8.999 0q.183.152.372.294-.723.437-1.52.74.418.838.963 1.588a14.6 14.6 0 0 0 4.504-2.308c.37-3.911-.63-7.302-2.644-10.309m-9.13 8.234c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.894 0 1.614.82 1.599 1.82.001 1-.705 1.82-1.6 1.82m5.91 0c-.878 0-1.599-.82-1.599-1.82 0-.998.705-1.82 1.6-1.82.893 0 1.614.82 1.599 1.82 0 1-.706 1.82-1.6 1.82"/>
+ </symbol>
+ <symbol id="documentation-icon" viewBox="0 0 21 20">
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="m15.5 13.333 1.533 1.322c.645.555.967.833.967 1.178s-.322.623-.967 1.179L15.5 18.333m-3.333-5-1.534 1.322c-.644.555-.966.833-.966 1.178s.322.623.966 1.179l1.534 1.321"/>
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M17.167 10.836v-4.32c0-1.41 0-2.117-.224-2.68-.359-.906-1.118-1.621-2.08-1.96-.599-.21-1.349-.21-2.848-.21-2.623 0-3.935 0-4.983.369-1.684.591-3.013 1.842-3.641 3.428C3 6.449 3 7.684 3 10.154v2.122c0 2.558 0 3.838.706 4.726q.306.383.713.671c.76.536 1.79.64 3.581.66"/>
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M3 10a2.78 2.78 0 0 1 2.778-2.778c.555 0 1.209.097 1.748-.047.48-.129.854-.503.982-.982.145-.54.048-1.194.048-1.749a2.78 2.78 0 0 1 2.777-2.777"/>
+ </symbol>
+ <symbol id="github-icon" viewBox="0 0 19 19">
+ <path fill="#08060d" fill-rule="evenodd" d="M9.356 1.85C5.05 1.85 1.57 5.356 1.57 9.694a7.84 7.84 0 0 0 5.324 7.44c.387.079.528-.168.528-.376 0-.182-.013-.805-.013-1.454-2.165.467-2.616-.935-2.616-.935-.349-.91-.864-1.143-.864-1.143-.71-.48.051-.48.051-.48.787.051 1.2.805 1.2.805.695 1.194 1.817.857 2.268.649.064-.507.27-.857.49-1.052-1.728-.182-3.545-.857-3.545-3.87 0-.857.31-1.558.8-2.104-.078-.195-.349-1 .077-2.078 0 0 .657-.208 2.14.805a7.5 7.5 0 0 1 1.946-.26c.657 0 1.328.092 1.946.26 1.483-1.013 2.14-.805 2.14-.805.426 1.078.155 1.883.078 2.078.502.546.799 1.247.799 2.104 0 3.013-1.818 3.675-3.558 3.87.284.247.528.714.528 1.454 0 1.052-.012 1.896-.012 2.156 0 .208.142.455.528.377a7.84 7.84 0 0 0 5.324-7.441c.013-4.338-3.48-7.844-7.773-7.844" clip-rule="evenodd"/>
+ </symbol>
+ <symbol id="social-icon" viewBox="0 0 20 20">
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M12.5 6.667a4.167 4.167 0 1 0-8.334 0 4.167 4.167 0 0 0 8.334 0"/>
+ <path fill="none" stroke="#aa3bff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.35" d="M2.5 16.667a5.833 5.833 0 0 1 8.75-5.053m3.837.474.513 1.035c.07.144.257.282.414.309l.93.155c.596.1.736.536.307.965l-.723.73a.64.64 0 0 0-.152.531l.207.903c.164.715-.213.991-.84.618l-.872-.52a.63.63 0 0 0-.577 0l-.872.52c-.624.373-1.003.094-.84-.618l.207-.903a.64.64 0 0 0-.152-.532l-.723-.729c-.426-.43-.289-.864.306-.964l.93-.156a.64.64 0 0 0 .412-.31l.513-1.034c.28-.562.735-.562 1.012 0"/>
+ </symbol>
+ <symbol id="x-icon" viewBox="0 0 19 19">
+ <path fill="#08060d" fill-rule="evenodd" d="M1.893 1.98c.052.072 1.245 1.769 2.653 3.77l2.892 4.114c.183.261.333.48.333.486s-.068.089-.152.183l-.522.593-.765.867-3.597 4.087c-.375.426-.734.834-.798.905a1 1 0 0 0-.118.148c0 .01.236.017.664.017h.663l.729-.83c.4-.457.796-.906.879-.999a692 692 0 0 0 1.794-2.038c.034-.037.301-.34.594-.675l.551-.624.345-.392a7 7 0 0 1 .34-.374c.006 0 .93 1.306 2.052 2.903l2.084 2.965.045.063h2.275c1.87 0 2.273-.003 2.266-.021-.008-.02-1.098-1.572-3.894-5.547-2.013-2.862-2.28-3.246-2.273-3.266.008-.019.282-.332 2.085-2.38l2-2.274 1.567-1.782c.022-.028-.016-.03-.65-.03h-.674l-.3.342a871 871 0 0 1-1.782 2.025c-.067.075-.405.458-.75.852a100 100 0 0 1-.803.91c-.148.172-.299.344-.99 1.127-.304.343-.32.358-.345.327-.015-.019-.904-1.282-1.976-2.808L6.365 1.85H1.8zm1.782.91 8.078 11.294c.772 1.08 1.413 1.973 1.425 1.984.016.017.241.02 1.05.017l1.03-.004-2.694-3.766L7.796 5.75 5.722 2.852l-1.039-.004-1.039-.004z" clip-rule="evenodd"/>
+ </symbol>
+</svg>
diff --git a/setup.bat b/setup.bat
new file mode 100644
index 00000000..2ff2c581
--- /dev/null
+++ b/setup.bat
@@ -0,0 +1,127 @@
+@echo off
+title Locally Uncensored - Setup
+
+:: Enable ANSI/VT100 in CMD
+for /f %%a in ('echo prompt $E^| cmd') do set "ESC=%%a"
+
+echo.
+echo.
+echo %ESC%[95m ## ####### ###### ### ## ## ## ##%ESC%[0m
+echo %ESC%[95m ## ## ## ## ## ## ## ## ## ## ##%ESC%[0m
+echo %ESC%[35m ## ## ## ## ## ## ## ## ####%ESC%[0m
+echo %ESC%[35m ## ## ## ## ## ## ## ## ##%ESC%[0m
+echo %ESC%[35m ## ## ## ## ######### ## ## ##%ESC%[0m
+echo %ESC%[95m ## ## ## ## ## ## ## ## ## ##%ESC%[0m
+echo %ESC%[95m ######## ####### ###### ## ## ######## ######## ##%ESC%[0m
+echo.
+echo %ESC%[95m ## ## ## ## ###### ######## ## ## ###### ####### ######## ######## ########%ESC%[0m
+echo %ESC%[95m ## ## ### ## ## ## ## ### ## ## ## ## ## ## ## ## ## ##%ESC%[0m
+echo %ESC%[35m ## ## #### ## ## ## #### ## ## ## ## ## ## ## ## ##%ESC%[0m
+echo %ESC%[35m ## ## ## ## ## ## ###### ## ## ## ###### ## ## ######## ###### ## ##%ESC%[0m
+echo %ESC%[35m ## ## ## #### ## ## ## #### ## ## ## ## ## ## ## ##%ESC%[0m
+echo %ESC%[95m ## ## ## ### ## ## ## ## ### ## ## ## ## ## ## ## ## ##%ESC%[0m
+echo %ESC%[95m ####### ## ## ###### ######## ## ## ###### ####### ## ## ######## ########%ESC%[0m
+echo.
+echo %ESC%[90m Private, local AI. No cloud. No censorship. No data collection.%ESC%[0m
+echo %ESC%[95m =================================================================%ESC%[0m
+echo.
+echo %ESC%[97m Automatic Setup%ESC%[0m
+echo.
+
+:: --- Step 1: Check Node.js ---
+where node >nul 2>nul
+if %errorlevel% neq 0 (
+ echo %ESC%[93m[1/5]%ESC%[0m Installing Node.js...
+ winget install OpenJS.NodeJS.LTS --accept-package-agreements --accept-source-agreements >nul 2>nul
+ if %errorlevel% neq 0 (
+ echo %ESC%[91m[!]%ESC%[0m Could not install Node.js. Get it from https://nodejs.org/
+ timeout /t 10
+ exit /b 1
+ )
+ echo %ESC%[92m[+]%ESC%[0m Node.js installed. Restarting...
+ start "" cmd /c "cd /d "%~dp0" && setup.bat"
+ exit /b 0
+) else (
+ for /f "tokens=*" %%i in ('node --version') do echo %ESC%[92m[+]%ESC%[0m Node.js %%i
+)
+
+:: --- Step 2: Check Git ---
+where git >nul 2>nul
+if %errorlevel% neq 0 (
+ echo %ESC%[93m[2/5]%ESC%[0m Installing Git...
+ winget install Git.Git --accept-package-agreements --accept-source-agreements >nul 2>nul
+ if %errorlevel% neq 0 (
+ echo %ESC%[91m[!]%ESC%[0m Could not install Git. Get it from https://git-scm.com/
+ timeout /t 10
+ exit /b 1
+ )
+ echo %ESC%[92m[+]%ESC%[0m Git installed. Restarting...
+ start "" cmd /c "cd /d "%~dp0" && setup.bat"
+ exit /b 0
+) else (
+ echo %ESC%[92m[+]%ESC%[0m Git
+)
+
+:: --- Step 3: Check Ollama ---
+where ollama >nul 2>nul
+if %errorlevel% neq 0 (
+ echo %ESC%[93m[3/5]%ESC%[0m Installing Ollama...
+ winget install Ollama.Ollama --accept-package-agreements --accept-source-agreements >nul 2>nul
+ if %errorlevel% neq 0 (
+ echo %ESC%[91m[!]%ESC%[0m Could not install Ollama. Get it from https://ollama.com/
+ timeout /t 10
+ exit /b 1
+ )
+ echo %ESC%[92m[+]%ESC%[0m Ollama
+) else (
+ echo %ESC%[92m[+]%ESC%[0m Ollama
+)
+
+:: Start Ollama silently
+tasklist /FI "IMAGENAME eq ollama.exe" 2>NUL | find /I "ollama.exe" >NUL
+if %errorlevel% neq 0 (
+ start "" /b ollama serve >nul 2>nul
+ timeout /t 3 /nobreak >nul
+)
+
+:: --- Step 4: Install dependencies ---
+echo.
+echo %ESC%[93m[4/5]%ESC%[0m Installing dependencies...
+cd /d "%~dp0"
+call npm install --loglevel=error >nul 2>nul
+if %errorlevel% neq 0 (
+ echo %ESC%[91m[!]%ESC%[0m npm install failed.
+ timeout /t 10
+ exit /b 1
+)
+echo %ESC%[92m[+]%ESC%[0m Dependencies installed
+
+:: --- Step 5: Check AI models ---
+echo.
+ollama list 2>nul | findstr /v "NAME" | findstr "." >nul 2>nul
+if %errorlevel% neq 0 (
+ echo %ESC%[93m[5/5]%ESC%[0m No AI model found.
+ echo %ESC%[93m Downloading Llama 3.1 8B Uncensored (~5.7 GB)...%ESC%[0m
+ echo %ESC%[90m This is a one-time download. Grab a coffee.%ESC%[0m
+ echo.
+ ollama pull mannix/llama3.1-8b-abliterated:q5_K_M
+ echo.
+ echo %ESC%[92m[+]%ESC%[0m AI model installed
+) else (
+ echo %ESC%[92m[+]%ESC%[0m AI models found
+)
+
+:: --- Create desktop shortcut ---
+powershell -NoProfile -Command "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut([System.IO.Path]::Combine([Environment]::GetFolderPath('Desktop'), 'Locally Uncensored.lnk')); $s.TargetPath = '%~dp0start.bat'; $s.WorkingDirectory = '%~dp0'; $s.Description = 'Locally Uncensored - Private AI Chat'; $s.WindowStyle = 7; $s.Save()" >nul 2>nul
+
+echo.
+echo %ESC%[92m =================================================================%ESC%[0m
+echo.
+echo %ESC%[97m Setup complete!%ESC%[0m %ESC%[90mOpening in your browser...%ESC%[0m
+echo.
+
+:: Start dev server in background, open browser, close terminal
+start "" /b cmd /c "cd /d "%~dp0" && npm run dev >nul 2>nul"
+timeout /t 3 /nobreak >nul
+start "" http://localhost:5173
+exit
diff --git a/setup.ps1 b/setup.ps1
new file mode 100644
index 00000000..1bbbe529
--- /dev/null
+++ b/setup.ps1
@@ -0,0 +1,107 @@
+# Locally Uncensored - Setup (PowerShell Wrapper)
+# This launches setup.bat in cmd.exe where it works correctly.
+
+$Host.UI.RawUI.WindowTitle = "Locally Uncensored - Setup"
+
+Write-Host ""
+Write-Host ""
+Write-Host " ## ####### ###### ### ## ## ## ##" -ForegroundColor Magenta
+Write-Host " ## ## ## ## ## ## ## ## ## ## ##" -ForegroundColor Magenta
+Write-Host " ## ## ## ## ## ## ## ## ####" -ForegroundColor Magenta
+Write-Host " ## ## ## ## ## ## ## ## ##" -ForegroundColor DarkMagenta
+Write-Host " ## ## ## ## ######### ## ## ##" -ForegroundColor DarkMagenta
+Write-Host " ## ## ## ## ## ## ## ## ## ##" -ForegroundColor DarkMagenta
+Write-Host " ######## ####### ###### ## ## ######## ######## ##" -ForegroundColor Magenta
+Write-Host ""
+Write-Host " ## ## ## ## ###### ######## ## ## ###### ####### ######## ######## ########" -ForegroundColor Magenta
+Write-Host " ## ## ### ## ## ## ## ### ## ## ## ## ## ## ## ## ## ##" -ForegroundColor Magenta
+Write-Host " ## ## #### ## ## ## #### ## ## ## ## ## ## ## ## ##" -ForegroundColor Magenta
+Write-Host " ## ## ## ## ## ## ###### ## ## ## ###### ## ## ######## ###### ## ##" -ForegroundColor DarkMagenta
+Write-Host " ## ## ## #### ## ## ## #### ## ## ## ## ## ## ## ##" -ForegroundColor DarkMagenta
+Write-Host " ## ## ## ### ## ## ## ## ### ## ## ## ## ## ## ## ## ##" -ForegroundColor DarkMagenta
+Write-Host " ####### ## ## ###### ######## ## ## ###### ####### ## ## ######## ########" -ForegroundColor Magenta
+Write-Host ""
+Write-Host " Private, local AI. No cloud. No censorship. No data collection." -ForegroundColor DarkGray
+Write-Host " =================================================================" -ForegroundColor Magenta
+Write-Host ""
+
+# Check Node.js
+if (Get-Command node -ErrorAction SilentlyContinue) {
+ $v = node --version
+ Write-Host " [+] Node.js $v" -ForegroundColor Green
+} else {
+ Write-Host " [::] Installing Node.js..." -ForegroundColor Yellow
+ winget install OpenJS.NodeJS.LTS --accept-package-agreements --accept-source-agreements
+ Write-Host " [+] Node.js installed. Please restart PowerShell and run .\setup.ps1 again." -ForegroundColor Green
+ Read-Host "Press Enter to exit"
+ exit
+}
+
+# Check Git
+if (Get-Command git -ErrorAction SilentlyContinue) {
+ Write-Host " [+] Git" -ForegroundColor Green
+} else {
+ Write-Host " [::] Installing Git..." -ForegroundColor Yellow
+ winget install Git.Git --accept-package-agreements --accept-source-agreements
+ Write-Host " [+] Git installed. Please restart PowerShell and run .\setup.ps1 again." -ForegroundColor Green
+ Read-Host "Press Enter to exit"
+ exit
+}
+
+# Check Ollama
+if (Get-Command ollama -ErrorAction SilentlyContinue) {
+ Write-Host " [+] Ollama" -ForegroundColor Green
+} else {
+ Write-Host " [::] Installing Ollama..." -ForegroundColor Yellow
+ winget install Ollama.Ollama --accept-package-agreements --accept-source-agreements
+ Write-Host " [+] Ollama installed" -ForegroundColor Green
+}
+
+# Start Ollama if not running
+$ollamaRunning = Get-Process -Name "ollama" -ErrorAction SilentlyContinue
+if (-not $ollamaRunning) {
+ Start-Process -FilePath "ollama" -ArgumentList "serve" -WindowStyle Hidden
+ Start-Sleep -Seconds 3
+}
+
+# Install dependencies
+Write-Host ""
+Write-Host " [::] Installing dependencies..." -ForegroundColor Yellow
+Set-Location $PSScriptRoot
+npm install --loglevel=error 2>&1 | Out-Null
+Write-Host " [+] Dependencies installed" -ForegroundColor Green
+
+# Check AI models
+Write-Host ""
+$models = ollama list 2>$null
+if ($models -match "abliterated|llama|qwen|mistral|deepseek|gemma|phi") {
+ Write-Host " [+] AI models found" -ForegroundColor Green
+} else {
+ Write-Host " [::] No AI model found." -ForegroundColor Yellow
+ Write-Host " [::] Downloading Llama 3.1 8B Uncensored (~5.7 GB)..." -ForegroundColor Yellow
+ Write-Host " This is a one-time download. Grab a coffee." -ForegroundColor DarkGray
+ Write-Host ""
+ ollama pull mannix/llama3.1-8b-abliterated:q5_K_M
+ Write-Host ""
+ Write-Host " [+] AI model installed" -ForegroundColor Green
+}
+
+# Create desktop shortcut
+$ws = New-Object -ComObject WScript.Shell
+$shortcut = $ws.CreateShortcut([System.IO.Path]::Combine([Environment]::GetFolderPath('Desktop'), 'Locally Uncensored.lnk'))
+$shortcut.TargetPath = Join-Path $PSScriptRoot "start.bat"
+$shortcut.WorkingDirectory = $PSScriptRoot
+$shortcut.Description = "Locally Uncensored - Private AI Chat"
+$shortcut.WindowStyle = 7
+$shortcut.Save()
+
+Write-Host ""
+Write-Host " ________________________________________________" -ForegroundColor Green
+Write-Host ""
+Write-Host " Setup complete! Opening in your browser..." -ForegroundColor White
+Write-Host ""
+
+# Start dev server in background, open browser
+Start-Process -FilePath "cmd" -ArgumentList "/c cd /d `"$PSScriptRoot`" && npm run dev" -WindowStyle Hidden
+Start-Sleep -Seconds 3
+Start-Process "http://localhost:5173"
diff --git a/src/App.tsx b/src/App.tsx
new file mode 100644
index 00000000..9b5623ac
--- /dev/null
+++ b/src/App.tsx
@@ -0,0 +1,7 @@
+import { AppShell } from './components/layout/AppShell'
+
+function App() {
+ return <AppShell />
+}
+
+export default App
diff --git a/src/api/comfyui.ts b/src/api/comfyui.ts
new file mode 100644
index 00000000..41fbe5e3
--- /dev/null
+++ b/src/api/comfyui.ts
@@ -0,0 +1,178 @@
+export interface ComfyUIModel {
+ name: string
+ type: 'checkpoint' | 'lora' | 'vae'
+}
+
+export interface GenerateParams {
+ prompt: string
+ negativePrompt: string
+ model: string
+ sampler: string
+ steps: number
+ cfgScale: number
+ width: number
+ height: number
+ seed: number
+ batchSize?: number
+}
+
+export interface VideoParams extends GenerateParams {
+ frames: number
+ fps: number
+}
+
+export interface ComfyUIOutput {
+ filename: string
+ subfolder: string
+ type: string
+}
+
+export async function checkComfyConnection(): Promise<boolean> {
+ try {
+ const res = await fetch('/comfyui/system_stats')
+ return res.ok
+ } catch {
+ return false
+ }
+}
+
+export async function getCheckpoints(): Promise<string[]> {
+ try {
+ const res = await fetch('/comfyui/object_info/CheckpointLoaderSimple')
+ const data = await res.json()
+ return data?.CheckpointLoaderSimple?.input?.required?.ckpt_name?.[0] || []
+ } catch {
+ return []
+ }
+}
+
+export async function getSamplers(): Promise<string[]> {
+ try {
+ const res = await fetch('/comfyui/object_info/KSampler')
+ const data = await res.json()
+ return data?.KSampler?.input?.required?.sampler_name?.[0] || []
+ } catch {
+ return ['euler', 'euler_ancestral', 'dpmpp_2m', 'dpmpp_sde', 'ddim']
+ }
+}
+
+export async function getSchedulers(): Promise<string[]> {
+ try {
+ const res = await fetch('/comfyui/object_info/KSampler')
+ const data = await res.json()
+ return data?.KSampler?.input?.required?.scheduler?.[0] || []
+ } catch {
+ return ['normal', 'karras', 'exponential', 'sgm_uniform']
+ }
+}
+
+export async function submitWorkflow(workflow: Record<string, any>): Promise<string> {
+ const res = await fetch('/comfyui/prompt', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ prompt: workflow }),
+ })
+ if (!res.ok) throw new Error('Failed to submit workflow')
+ const data = await res.json()
+ return data.prompt_id
+}
+
+export async function getHistory(promptId: string): Promise<any> {
+ const res = await fetch(`/comfyui/history/${promptId}`)
+ if (!res.ok) return null
+ const data = await res.json()
+ return data[promptId] || null
+}
+
+export function getImageUrl(filename: string, subfolder: string = '', type: string = 'output'): string {
+ return `/comfyui/view?filename=${encodeURIComponent(filename)}&subfolder=${encodeURIComponent(subfolder)}&type=${type}`
+}
+
+export function buildTxt2ImgWorkflow(params: GenerateParams): Record<string, any> {
+ return {
+ '1': {
+ class_type: 'CheckpointLoaderSimple',
+ inputs: { ckpt_name: params.model },
+ },
+ '2': {
+ class_type: 'CLIPTextEncode',
+ inputs: { text: params.prompt, clip: ['1', 1] },
+ },
+ '3': {
+ class_type: 'CLIPTextEncode',
+ inputs: { text: params.negativePrompt || '', clip: ['1', 1] },
+ },
+ '4': {
+ class_type: 'EmptyLatentImage',
+ inputs: { width: params.width, height: params.height, batch_size: params.batchSize || 1 },
+ },
+ '5': {
+ class_type: 'KSampler',
+ inputs: {
+ model: ['1', 0],
+ positive: ['2', 0],
+ negative: ['3', 0],
+ latent_image: ['4', 0],
+ seed: params.seed === -1 ? Math.floor(Math.random() * 2147483647) : params.seed,
+ steps: params.steps,
+ cfg: params.cfgScale,
+ sampler_name: params.sampler,
+ scheduler: 'normal',
+ denoise: 1.0,
+ },
+ },
+ '6': {
+ class_type: 'VAEDecode',
+ inputs: { samples: ['5', 0], vae: ['1', 2] },
+ },
+ '7': {
+ class_type: 'SaveImage',
+ inputs: { images: ['6', 0], filename_prefix: 'locally_uncensored' },
+ },
+ }
+}
+
+export function buildTxt2VidWorkflow(params: VideoParams): Record<string, any> {
+ // Wan2.1 Text-to-Video workflow
+ return {
+ '1': {
+ class_type: 'CheckpointLoaderSimple',
+ inputs: { ckpt_name: params.model },
+ },
+ '2': {
+ class_type: 'CLIPTextEncode',
+ inputs: { text: params.prompt, clip: ['1', 1] },
+ },
+ '3': {
+ class_type: 'CLIPTextEncode',
+ inputs: { text: params.negativePrompt || '', clip: ['1', 1] },
+ },
+ '4': {
+ class_type: 'EmptyLatentImage',
+ inputs: { width: params.width, height: params.height, batch_size: params.frames },
+ },
+ '5': {
+ class_type: 'KSampler',
+ inputs: {
+ model: ['1', 0],
+ positive: ['2', 0],
+ negative: ['3', 0],
+ latent_image: ['4', 0],
+ seed: params.seed === -1 ? Math.floor(Math.random() * 2147483647) : params.seed,
+ steps: params.steps,
+ cfg: params.cfgScale,
+ sampler_name: params.sampler,
+ scheduler: 'normal',
+ denoise: 1.0,
+ },
+ },
+ '6': {
+ class_type: 'VAEDecode',
+ inputs: { samples: ['5', 0], vae: ['1', 2] },
+ },
+ '7': {
+ class_type: 'SaveImage',
+ inputs: { images: ['6', 0], filename_prefix: 'locally_uncensored_vid' },
+ },
+ }
+}
diff --git a/src/api/discover.ts b/src/api/discover.ts
new file mode 100644
index 00000000..6a26e9fe
--- /dev/null
+++ b/src/api/discover.ts
@@ -0,0 +1,76 @@
+export interface DiscoverModel {
+ name: string
+ description: string
+ pulls: string
+ tags: string[]
+ updated: string
+}
+
+export async function fetchAbliteratedModels(): Promise<DiscoverModel[]> {
+ try {
+ const res = await fetch('/ollama-search?q=abliterated&p=1')
+ const html = await res.text()
+
+ const models: DiscoverModel[] = []
+ const parser = new DOMParser()
+ const doc = parser.parseFromString(html, 'text/html')
+
+ // Parse model cards from search results
+ const items = doc.querySelectorAll('[x-test-search-response-title]')
+ items.forEach((item) => {
+ const container = item.closest('a') || item.parentElement?.closest('a')
+ const name = item.textContent?.trim() || ''
+ const href = container?.getAttribute('href') || ''
+
+ // Get sibling info
+ const parent = item.closest('div')?.parentElement
+ const spans = parent?.querySelectorAll('span') || []
+ let pulls = ''
+ let updated = ''
+
+ spans.forEach((span) => {
+ const text = span.textContent?.trim() || ''
+ if (text.includes('Pull') || text.includes('K') || text.includes('M')) {
+ if (!pulls) pulls = text
+ }
+ if (text.includes('ago') || text.includes('month') || text.includes('week') || text.includes('day')) {
+ updated = text
+ }
+ })
+
+ if (name && href) {
+ models.push({
+ name: href.startsWith('/') ? href.slice(1) : name,
+ description: '',
+ pulls,
+ tags: [],
+ updated,
+ })
+ }
+ })
+
+ // Fallback: if parsing fails, return curated list
+ if (models.length === 0) {
+ return getCuratedModels()
+ }
+
+ return models
+ } catch {
+ return getCuratedModels()
+ }
+}
+
+function getCuratedModels(): DiscoverModel[] {
+ return [
+ { name: 'mannix/llama3.1-8b-abliterated', description: 'Llama 3.1 8B with safety filters removed', pulls: '200K+', tags: ['8B', 'Q5_K_M'], updated: 'Popular' },
+ { name: 'huihui_ai/qwen2.5-abliterated', description: 'Qwen 2.5 abliterated series', pulls: '50K+', tags: ['7B', '14B', '32B'], updated: 'Popular' },
+ { name: 'richardyoung/qwen3-14b-abliterated', description: 'Qwen3 14B with 80% reduced refusals', pulls: '4K+', tags: ['14B', 'Q4_K_M'], updated: 'Recent' },
+ { name: 'huihui_ai/qwen3-abliterated', description: 'Qwen3 abliterated series', pulls: '30K+', tags: ['8B', '30B'], updated: 'Popular' },
+ { name: 'huihui_ai/gemma3-abliterated', description: 'Google Gemma 3 abliterated', pulls: '20K+', tags: ['4B', '12B', '27B'], updated: 'Recent' },
+ { name: 'huihui_ai/llama3.3-abliterated', description: 'Llama 3.3 70B abliterated', pulls: '15K+', tags: ['70B'], updated: 'Popular' },
+ { name: 'huihui_ai/deepseek-r1-abliterated', description: 'DeepSeek R1 abliterated reasoning', pulls: '40K+', tags: ['8B', '14B', '32B', '70B'], updated: 'Recent' },
+ { name: 'huihui_ai/mistral-small-abliterated', description: 'Mistral Small 24B abliterated', pulls: '10K+', tags: ['24B'], updated: 'Recent' },
+ { name: 'krith/mistral-nemo-instruct-2407-abliterated', description: 'Mistral Nemo 12B abliterated', pulls: '5K+', tags: ['12B'], updated: 'Popular' },
+ { name: 'huihui_ai/phi4-abliterated', description: 'Microsoft Phi-4 abliterated', pulls: '8K+', tags: ['14B'], updated: 'Recent' },
+ ]
+}
diff --git a/src/api/ollama.ts b/src/api/ollama.ts
new file mode 100644
index 00000000..d02b266d
--- /dev/null
+++ b/src/api/ollama.ts
@@ -0,0 +1,63 @@
+import type { OllamaModel } from '../types/models'
+
+export async function listModels(): Promise<OllamaModel[]> {
+ const res = await fetch('/api/tags')
+ if (!res.ok) throw new Error('Failed to fetch models')
+ const data = await res.json()
+ return (data.models || []).map((m: any) => ({ ...m, type: 'text' as const }))
+}
+
+export async function showModel(name: string) {
+ const res = await fetch('/api/show', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ name }),
+ })
+ if (!res.ok) throw new Error('Failed to show model')
+ return res.json()
+}
+
+export async function chatStream(
+ model: string,
+ messages: { role: string; content: string }[],
+ options: { temperature?: number; top_p?: number; top_k?: number; num_predict?: number } = {},
+ signal?: AbortSignal
+): Promise<Response> {
+ const res = await fetch('/api/chat', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ model, messages, options, stream: true }),
+ signal,
+ })
+ if (!res.ok) throw new Error('Failed to start chat')
+ return res
+}
+
+export async function pullModel(name: string, signal?: AbortSignal): Promise<Response> {
+ const res = await fetch('/api/pull', {
+ method: 'POST',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ name, stream: true }),
+ signal,
+ })
+ if (!res.ok) throw new Error('Failed to pull model')
+ return res
+}
+
+export async function deleteModel(name: string): Promise<void> {
+ const res = await fetch('/api/delete', {
+ method: 'DELETE',
+ headers: { 'Content-Type': 'application/json' },
+ body: JSON.stringify({ name }),
+ })
+ if (!res.ok) throw new Error('Failed to delete model')
+}
+
+export async function checkConnection(): Promise<boolean> {
+ try {
+ await fetch('/api/tags')
+ return true
+ } catch {
+ return false
+ }
+}
diff --git a/src/api/stream.ts b/src/api/stream.ts
new file mode 100644
index 00000000..a728b512
--- /dev/null
+++ b/src/api/stream.ts
@@ -0,0 +1,38 @@
+export async function* parseNDJSONStream<T>(response: Response): AsyncGenerator<T> {
+ const reader = response.body?.getReader()
+ if (!reader) throw new Error('No response body')
+
+ const decoder = new TextDecoder()
+ let buffer = ''
+
+ try {
+ while (true) {
+ const { done, value } = await reader.read()
+ if (done) break
+
+ buffer += decoder.decode(value, { stream: true })
+ const lines = buffer.split('\n')
+ buffer = lines.pop() || ''
+
+ for (const line of lines) {
+ const trimmed = line.trim()
+ if (!trimmed) continue
+ try {
+ yield JSON.parse(trimmed) as T
+ } catch {
+ // skip malformed lines
+ }
+ }
+ }
+
+ if (buffer.trim()) {
+ try {
+ yield JSON.parse(buffer.trim()) as T
+ } catch {
+ // skip
+ }
+ }
+ } finally {
+ reader.releaseLock()
+ }
+}
diff --git a/src/assets/hero.png b/src/assets/hero.png
new file mode 100644
index 00000000..cc51a3d2
Binary files /dev/null and b/src/assets/hero.png differ
diff --git a/src/assets/react.svg b/src/assets/react.svg
new file mode 100644
index 00000000..6c87de9b
--- /dev/null
+++ b/src/assets/react.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
\ No newline at end of file
diff --git a/src/assets/vite.svg b/src/assets/vite.svg
new file mode 100644
index 00000000..5101b674
--- /dev/null
+++ b/src/assets/vite.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="77" height="47" fill="none" aria-labelledby="vite-logo-title" viewBox="0 0 77 47"><title id="vite-logo-title">Vite</title><style>.parenthesis{fill:#000}@media (prefers-color-scheme:dark){.parenthesis{fill:#fff}}</style><path fill="#9135ff" d="M40.151 45.71c-.663.844-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.493c-.92 0-1.457-1.04-.92-1.788l7.479-10.471c1.07-1.498 0-3.578-1.842-3.578H15.443c-.92 0-1.456-1.04-.92-1.788l9.696-13.576c.213-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.472c-1.07 1.497 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.087.89 1.83L40.153 45.712z"/><mask id="a" width="48" height="47" x="14" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M40.047 45.71c-.663.843-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.389c-.92 0-1.457-1.04-.92-1.788l7.479-10.472c1.07-1.497 0-3.578-1.842-3.578H15.34c-.92 0-1.456-1.04-.92-1.788l9.696-13.575c.213-.297.556-.474.92-.474H53.93c.92 0 1.456 1.04.92 1.788L47.37 13.03c-1.07 1.498 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.088.89 1.831L40.049 45.712z"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#eee6ff" rx="5.508" ry="14.704" transform="rotate(269.814 20.96 11.29)scale(-1 1)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#eee6ff" rx="10.399" ry="29.851" transform="rotate(89.814 -16.902 -8.275)scale(1 -1)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#8900ff" rx="5.508" ry="30.487" transform="rotate(89.814 -19.197 -7.127)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.928 4.177)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.738 5.52)scale(1 -1)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#eee6ff" rx="14.072" ry="22.078" transform="rotate(93.35 31.245 55.578)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx="14.592" cy="9.743" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(39.51 14.592 9.743)"/></g><g filter="url(#k)"><ellipse cx="61.728" cy="-5.321" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 61.728 -5.32)"/></g><g filter="url(#l)"><ellipse cx="55.618" cy="7.104" fill="#00c2ff" rx="5.971" ry="9.665" transform="rotate(37.892 55.618 7.104)"/></g><g filter="url(#m)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#n)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#o)"><ellipse cx="49.857" cy="30.678" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 49.857 30.678)"/></g><g filter="url(#p)"><ellipse cx="52.623" cy="33.171" fill="#00c2ff" rx="5.971" ry="15.297" transform="rotate(37.892 52.623 33.17)"/></g></g><path d="M6.919 0c-9.198 13.166-9.252 33.575 0 46.789h6.215c-9.25-13.214-9.196-33.623 0-46.789zm62.424 0h-6.215c9.198 13.166 9.252 33.575 0 46.789h6.215c9.25-13.214 9.196-33.623 0-46.789" class="parenthesis"/><defs><filter id="b" width="60.045" height="41.654" x="-5.564" y="16.92" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-40.407" y="-6.762" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-35.435" y="2.801" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-30.84" y="20.8" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-29.307" y="21.949" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="g" width="74.749" height="58.852" x="29.961" y="-17.13" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="h" width="61.377" height="25.362" x="37.754" y="3.055" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="i" width="61.377" height="25.362" x="37.754" y="3.055" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="j" width="56.045" height="63.649" x="-13.43" y="-22.082" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="k" width="54.814" height="64.646" x="34.321" y="-37.644" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="l" width="33.541" height="35.313" x="38.847" y="-10.552" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="m" width="54.814" height="64.646" x="-15.081" y="6.78" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="n" width="54.814" height="64.646" x="-15.081" y="6.78" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="o" width="54.814" height="64.646" x="22.45" y="-1.645" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="p" width="39.409" height="43.623" x="32.919" y="11.36" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter></defs></svg>
diff --git a/src/components/chat/ChatInput.tsx b/src/components/chat/ChatInput.tsx
new file mode 100644
index 00000000..4c624f16
--- /dev/null
+++ b/src/components/chat/ChatInput.tsx
@@ -0,0 +1,75 @@
+import { useState, useRef, useEffect } from 'react'
+import { motion } from 'framer-motion'
+import { Send, Square } from 'lucide-react'
+
+interface Props {
+ onSend: (content: string) => void
+ onStop: () => void
+ isGenerating: boolean
+}
+
+export function ChatInput({ onSend, onStop, isGenerating }: Props) {
+ const [input, setInput] = useState('')
+ const textareaRef = useRef<HTMLTextAreaElement>(null)
+
+ useEffect(() => {
+ if (textareaRef.current) {
+ textareaRef.current.style.height = 'auto'
+ textareaRef.current.style.height = Math.min(textareaRef.current.scrollHeight, 200) + 'px'
+ }
+ }, [input])
+
+ const handleSend = () => {
+ const trimmed = input.trim()
+ if (!trimmed || isGenerating) return
+ onSend(trimmed)
+ setInput('')
+ if (textareaRef.current) {
+ textareaRef.current.style.height = 'auto'
+ }
+ }
+
+ const handleKeyDown = (e: React.KeyboardEvent) => {
+ if (e.key === 'Enter' && !e.shiftKey) {
+ e.preventDefault()
+ handleSend()
+ }
+ }
+
+ return (
+ <div className="p-3 border-t border-gray-200 dark:border-white/5">
+ <div className="flex items-end gap-2.5 glass-card rounded-xl px-3 py-2.5">
+ <textarea
+ ref={textareaRef}
+ value={input}
+ onChange={(e) => setInput(e.target.value)}
+ onKeyDown={handleKeyDown}
+ placeholder="Type a message..."
+ rows={1}
+ className="flex-1 bg-transparent resize-none text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none text-[0.8rem] leading-relaxed max-h-[200px]"
+ />
+ {isGenerating ? (
+ <motion.button
+ onClick={onStop}
+ className="p-2 rounded-lg bg-red-100 dark:bg-red-500/20 border border-red-300 dark:border-red-500/40 text-red-600 dark:text-red-400 hover:bg-red-200 dark:hover:bg-red-500/30 transition-all shrink-0"
+ whileTap={{ scale: 0.9 }}
+ >
+ <Square size={15} />
+ </motion.button>
+ ) : (
+ <motion.button
+ onClick={handleSend}
+ disabled={!input.trim()}
+ className="p-2 rounded-lg bg-gray-800 dark:bg-white/10 border border-gray-700 dark:border-white/15 text-white hover:bg-gray-700 dark:hover:bg-white/15 disabled:opacity-30 disabled:cursor-not-allowed transition-all shrink-0"
+ whileTap={{ scale: 0.9 }}
+ >
+ <Send size={15} />
+ </motion.button>
+ )}
+ </div>
+ <p className="text-[0.65rem] text-gray-400 dark:text-gray-600 mt-1.5 text-center">
+ Enter to send · Shift+Enter for new line
+ </p>
+ </div>
+ )
+}
diff --git a/src/components/chat/ChatView.tsx b/src/components/chat/ChatView.tsx
new file mode 100644
index 00000000..f4e56b73
--- /dev/null
+++ b/src/components/chat/ChatView.tsx
@@ -0,0 +1,51 @@
+import { useChat } from '../../hooks/useChat'
+import { useChatStore } from '../../stores/chatStore'
+import { useModelStore } from '../../stores/modelStore'
+import { MessageList } from './MessageList'
+import { ChatInput } from './ChatInput'
+import { PersonaPanel } from '../personas/PersonaPanel'
+import { ModelRecommendation } from '../models/ModelRecommendation'
+import { Cpu } from 'lucide-react'
+
+export function ChatView() {
+ const { sendMessage, stopGeneration, isGenerating } = useChat()
+ const activeConversationId = useChatStore((s) => s.activeConversationId)
+ const activeModel = useModelStore((s) => s.activeModel)
+ const models = useModelStore((s) => s.models)
+
+ if (!activeConversationId) {
+ const hasModels = models.length > 0
+
+ return (
+ <div className="h-full flex flex-col">
+ <div className="flex-1 flex flex-col items-center justify-center p-8 overflow-y-auto scrollbar-thin">
+ <div className="w-16 h-16 rounded-2xl bg-gray-100 dark:bg-white/5 border border-gray-200 dark:border-white/10 flex items-center justify-center mb-4">
+ <Cpu size={32} className="text-gray-400" />
+ </div>
+ <h1 className="text-2xl font-bold mb-2 text-gray-900 dark:text-white">Locally Uncensored</h1>
+ <p className="text-gray-500 mb-6 text-center max-w-md text-sm">
+ Private, local AI. Choose a persona and start chatting.
+ </p>
+
+ {!hasModels && <ModelRecommendation />}
+
+ {hasModels && !activeModel && (
+ <div className="text-sm text-yellow-600 dark:text-yellow-400 bg-yellow-50 dark:bg-yellow-500/10 border border-yellow-200 dark:border-yellow-500/20 rounded-lg px-4 py-2 mb-6">
+ Select a model from the dropdown above to start chatting.
+ </div>
+ )}
+
+ <PersonaPanel />
+ </div>
+ <ChatInput onSend={sendMessage} onStop={stopGeneration} isGenerating={isGenerating} />
+ </div>
+ )
+ }
+
+ return (
+ <div className="h-full flex flex-col">
+ <MessageList isGenerating={isGenerating} />
+ <ChatInput onSend={sendMessage} onStop={stopGeneration} isGenerating={isGenerating} />
+ </div>
+ )
+}
diff --git a/src/components/chat/CodeBlock.tsx b/src/components/chat/CodeBlock.tsx
new file mode 100644
index 00000000..73c20592
--- /dev/null
+++ b/src/components/chat/CodeBlock.tsx
@@ -0,0 +1,46 @@
+import { useState } from 'react'
+import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'
+import { oneDark } from 'react-syntax-highlighter/dist/esm/styles/prism'
+import { Copy, Check } from 'lucide-react'
+
+interface Props {
+ code: string
+ language?: string
+}
+
+export function CodeBlock({ code, language }: Props) {
+ const [copied, setCopied] = useState(false)
+
+ const handleCopy = () => {
+ navigator.clipboard.writeText(code)
+ setCopied(true)
+ setTimeout(() => setCopied(false), 2000)
+ }
+
+ return (
+ <div className="relative group rounded-lg overflow-hidden my-3 border border-white/5">
+ <div className="flex items-center justify-between px-4 py-1.5 bg-white/5 border-b border-white/5">
+ <span className="text-xs text-gray-400 font-mono">{language || 'code'}</span>
+ <button
+ onClick={handleCopy}
+ className="flex items-center gap-1 text-xs text-gray-400 hover:text-white transition-colors"
+ >
+ {copied ? <Check size={14} /> : <Copy size={14} />}
+ {copied ? 'Copied' : 'Copy'}
+ </button>
+ </div>
+ <SyntaxHighlighter
+ language={language || 'text'}
+ style={oneDark}
+ customStyle={{
+ margin: 0,
+ padding: '1rem',
+ background: 'rgba(0, 0, 0, 0.3)',
+ fontSize: '0.85rem',
+ }}
+ >
+ {code}
+ </SyntaxHighlighter>
+ </div>
+ )
+}
diff --git a/src/components/chat/MarkdownRenderer.tsx b/src/components/chat/MarkdownRenderer.tsx
new file mode 100644
index 00000000..020bf1a1
--- /dev/null
+++ b/src/components/chat/MarkdownRenderer.tsx
@@ -0,0 +1,80 @@
+import ReactMarkdown from 'react-markdown'
+import remarkGfm from 'remark-gfm'
+import { CodeBlock } from './CodeBlock'
+import type { Components } from 'react-markdown'
+
+interface Props {
+ content: string
+}
+
+const components: Components = {
+ code({ className, children, ...props }) {
+ const match = /language-(\w+)/.exec(className || '')
+ const isBlock = match || (typeof children === 'string' && children.includes('\n'))
+
+ if (isBlock) {
+ return <CodeBlock code={String(children).replace(/\n$/, '')} language={match?.[1]} />
+ }
+
+ return (
+ <code className="bg-white/10 px-1.5 py-0.5 rounded text-gray-200 text-sm font-mono" {...props}>
+ {children}
+ </code>
+ )
+ },
+ p({ children }) {
+ return <p className="mb-3 leading-relaxed">{children}</p>
+ },
+ h1({ children }) {
+ return <h1 className="text-xl font-bold mb-3 text-white">{children}</h1>
+ },
+ h2({ children }) {
+ return <h2 className="text-lg font-bold mb-2 text-white">{children}</h2>
+ },
+ h3({ children }) {
+ return <h3 className="text-base font-semibold mb-2 text-white">{children}</h3>
+ },
+ ul({ children }) {
+ return <ul className="list-disc list-inside mb-3 space-y-1">{children}</ul>
+ },
+ ol({ children }) {
+ return <ol className="list-decimal list-inside mb-3 space-y-1">{children}</ol>
+ },
+ blockquote({ children }) {
+ return (
+ <blockquote className="border-l-2 border-white/20 pl-4 my-3 text-gray-400 italic">
+ {children}
+ </blockquote>
+ )
+ },
+ table({ children }) {
+ return (
+ <div className="overflow-x-auto my-3">
+ <table className="w-full border-collapse border border-white/10 text-sm">{children}</table>
+ </div>
+ )
+ },
+ th({ children }) {
+ return <th className="border border-white/10 px-3 py-2 bg-white/5 text-left font-semibold">{children}</th>
+ },
+ td({ children }) {
+ return <td className="border border-white/10 px-3 py-2">{children}</td>
+ },
+ a({ href, children }) {
+ return (
+ <a href={href} target="_blank" rel="noopener noreferrer" className="text-blue-400 hover:underline">
+ {children}
+ </a>
+ )
+ },
+}
+
+export function MarkdownRenderer({ content }: Props) {
+ return (
+ <div className="markdown-content text-gray-200">
+ <ReactMarkdown remarkPlugins={[remarkGfm]} components={components}>
+ {content}
+ </ReactMarkdown>
+ </div>
+ )
+}
diff --git a/src/components/chat/MessageBubble.tsx b/src/components/chat/MessageBubble.tsx
new file mode 100644
index 00000000..5aa44561
--- /dev/null
+++ b/src/components/chat/MessageBubble.tsx
@@ -0,0 +1,69 @@
+import { motion } from 'framer-motion'
+import { User, Bot, Copy, Check } from 'lucide-react'
+import { useState } from 'react'
+import { MarkdownRenderer } from './MarkdownRenderer'
+import { ThinkingBlock } from './ThinkingBlock'
+import type { Message } from '../../types/chat'
+
+interface Props {
+ message: Message
+}
+
+export function MessageBubble({ message }: Props) {
+ const [copied, setCopied] = useState(false)
+ const isUser = message.role === 'user'
+
+ const handleCopy = () => {
+ navigator.clipboard.writeText(message.content)
+ setCopied(true)
+ setTimeout(() => setCopied(false), 2000)
+ }
+
+ return (
+ <motion.div
+ className={`flex gap-2.5 px-3 py-2 group ${isUser ? 'flex-row-reverse' : ''}`}
+ initial={{ opacity: 0, y: 10 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ duration: 0.2 }}
+ >
+ <div
+ className={`w-7 h-7 rounded-lg flex items-center justify-center shrink-0 ${isUser
+ ? 'bg-gray-200 dark:bg-white/10 border border-gray-300 dark:border-white/15'
+ : 'bg-gray-100 dark:bg-[#2f2f2f] border border-gray-200 dark:border-white/10'
+ }`}
+ >
+ {isUser ? <User size={13} className="text-gray-600 dark:text-gray-300" /> : <Bot size={13} className="text-gray-500 dark:text-gray-400" />}
+ </div>
+
+ <div className="max-w-[80%] space-y-1.5">
+ {/* Thinking block (collapsible, lighter blue, italic, smaller) */}
+ {!isUser && message.thinking && (
+ <ThinkingBlock thinking={message.thinking} />
+ )}
+
+ {/* Main answer bubble */}
+ <div
+ className={`rounded-xl px-3 py-2 relative ${isUser
+ ? 'bg-gray-100 dark:bg-[#2f2f2f] border border-gray-200 dark:border-white/10'
+ : 'bg-white dark:bg-[#2a2a2a] border border-gray-200 dark:border-white/5'
+ }`}
+ >
+ {isUser ? (
+ <p className="text-[0.8rem] leading-relaxed text-gray-800 dark:text-gray-200 whitespace-pre-wrap">{message.content}</p>
+ ) : (
+ <div className="text-[0.8rem] leading-relaxed">
+ <MarkdownRenderer content={message.content} />
+ </div>
+ )}
+
+ <button
+ onClick={handleCopy}
+ className="absolute top-1.5 right-1.5 p-0.5 rounded opacity-0 group-hover:opacity-100 hover:bg-gray-200 dark:hover:bg-white/10 text-gray-400 hover:text-gray-700 dark:hover:text-white transition-all"
+ >
+ {copied ? <Check size={12} /> : <Copy size={12} />}
+ </button>
+ </div>
+ </div>
+ </motion.div>
+ )
+}
diff --git a/src/components/chat/MessageList.tsx b/src/components/chat/MessageList.tsx
new file mode 100644
index 00000000..fe350b0e
--- /dev/null
+++ b/src/components/chat/MessageList.tsx
@@ -0,0 +1,33 @@
+import { useChatStore } from '../../stores/chatStore'
+import { useAutoScroll } from '../../hooks/useAutoScroll'
+import { MessageBubble } from './MessageBubble'
+import { TypingIndicator } from './TypingIndicator'
+
+interface Props {
+ isGenerating: boolean
+}
+
+export function MessageList({ isGenerating }: Props) {
+ const conversation = useChatStore((s) => {
+ if (!s.activeConversationId) return undefined
+ return s.conversations.find((c) => c.id === s.activeConversationId)
+ })
+
+ const lastMessage = conversation?.messages[conversation.messages.length - 1]
+ const scrollRef = useAutoScroll(lastMessage?.content)
+
+ if (!conversation) return null
+
+ return (
+ <div ref={scrollRef} className="flex-1 overflow-y-auto scrollbar-thin py-4">
+ {conversation.messages
+ .filter((m) => m.role !== 'system')
+ .map((message) => (
+ <MessageBubble key={message.id} message={message} />
+ ))}
+ {isGenerating && lastMessage?.role === 'assistant' && lastMessage.content === '' && (
+ <TypingIndicator />
+ )}
+ </div>
+ )
+}
diff --git a/src/components/chat/ThinkingBlock.tsx b/src/components/chat/ThinkingBlock.tsx
new file mode 100644
index 00000000..01eb9397
--- /dev/null
+++ b/src/components/chat/ThinkingBlock.tsx
@@ -0,0 +1,59 @@
+import { useState } from 'react'
+import { motion, AnimatePresence } from 'framer-motion'
+import { ChevronDown, Brain } from 'lucide-react'
+import { MarkdownRenderer } from './MarkdownRenderer'
+
+interface Props {
+ thinking: string
+}
+
+export function ThinkingBlock({ thinking }: Props) {
+ const [open, setOpen] = useState(false)
+
+ if (!thinking) return null
+
+ return (
+ <motion.div
+ className="mb-2"
+ initial={{ opacity: 0, y: 6 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ duration: 0.2 }}
+ >
+ <div className="rounded-xl bg-blue-50 dark:bg-blue-500/8 border border-blue-200/50 dark:border-blue-400/15 overflow-hidden">
+ {/* Toggle header */}
+ <button
+ onClick={() => setOpen(!open)}
+ className="w-full flex items-center gap-2 px-3 py-2 text-left hover:bg-blue-100/50 dark:hover:bg-blue-500/10 transition-colors"
+ >
+ <Brain size={13} className="text-blue-400 dark:text-blue-300/70 shrink-0" />
+ <span className="text-[0.7rem] font-medium text-blue-500 dark:text-blue-300/80 tracking-wide">
+ Thinking
+ </span>
+ <ChevronDown
+ size={12}
+ className={`text-blue-400 dark:text-blue-300/60 ml-auto transition-transform duration-200 ${open ? 'rotate-180' : ''}`}
+ />
+ </button>
+
+ {/* Collapsible content */}
+ <AnimatePresence>
+ {open && (
+ <motion.div
+ initial={{ height: 0, opacity: 0 }}
+ animate={{ height: 'auto', opacity: 1 }}
+ exit={{ height: 0, opacity: 0 }}
+ transition={{ duration: 0.2 }}
+ className="overflow-hidden"
+ >
+ <div className="px-3 pb-3 pt-1">
+ <div className="text-[0.72rem] leading-relaxed italic text-blue-600/70 dark:text-blue-200/50 font-light">
+ <MarkdownRenderer content={thinking} />
+ </div>
+ </div>
+ </motion.div>
+ )}
+ </AnimatePresence>
+ </div>
+ </motion.div>
+ )
+}
diff --git a/src/components/chat/TypingIndicator.tsx b/src/components/chat/TypingIndicator.tsx
new file mode 100644
index 00000000..911a5d87
--- /dev/null
+++ b/src/components/chat/TypingIndicator.tsx
@@ -0,0 +1,16 @@
+import { motion } from 'framer-motion'
+
+export function TypingIndicator() {
+ return (
+ <div className="flex gap-1 px-3 py-1.5">
+ {[0, 1, 2].map((i) => (
+ <motion.div
+ key={i}
+ className="w-1.5 h-1.5 rounded-full bg-gray-300"
+ animate={{ opacity: [0.3, 1, 0.3], scale: [0.8, 1.2, 0.8] }}
+ transition={{ duration: 1.2, repeat: Infinity, delay: i * 0.2 }}
+ />
+ ))}
+ </div>
+ )
+}
diff --git a/src/components/create/CreateView.tsx b/src/components/create/CreateView.tsx
new file mode 100644
index 00000000..02806ea8
--- /dev/null
+++ b/src/components/create/CreateView.tsx
@@ -0,0 +1,129 @@
+import { useEffect, useState, useCallback, useRef } from 'react'
+import { Image, Video, WifiOff, Play, Loader2, CheckCircle } from 'lucide-react'
+import { useCreate } from '../../hooks/useCreate'
+import { useCreateStore } from '../../stores/createStore'
+import { PromptInput } from './PromptInput'
+import { ParamPanel } from './ParamPanel'
+import { OutputDisplay } from './OutputDisplay'
+import { Gallery } from './Gallery'
+
+export function CreateView() {
+ const { connected, checkpoints, samplerList, checkConnection, fetchModels, generate, cancel } = useCreate()
+ const { mode, setMode } = useCreateStore()
+
+ const [starting, setStarting] = useState(false)
+ const pollRef = useRef<ReturnType<typeof setInterval> | null>(null)
+
+ const tryConnect = useCallback(async () => {
+ const ok = await checkConnection()
+ if (ok) fetchModels()
+ return ok
+ }, [checkConnection, fetchModels])
+
+ useEffect(() => {
+ tryConnect()
+ }, [tryConnect])
+
+ useEffect(() => {
+ return () => {
+ if (pollRef.current) clearInterval(pollRef.current)
+ }
+ }, [])
+
+ const startComfyUI = async () => {
+ setStarting(true)
+ try {
+ await fetch('/local-api/start-comfyui')
+ } catch { /* ignore */ }
+
+ let attempts = 0
+ pollRef.current = setInterval(async () => {
+ attempts++
+ const ok = await checkConnection()
+ if (ok) {
+ if (pollRef.current) clearInterval(pollRef.current)
+ setStarting(false)
+ fetchModels()
+ }
+ if (attempts > 30) {
+ if (pollRef.current) clearInterval(pollRef.current)
+ setStarting(false)
+ }
+ }, 3000)
+ }
+
+ return (
+ <div className="h-full flex flex-col">
+ {/* Connection status */}
+ {connected === false && !starting && (
+ <div className="flex items-center justify-between px-4 py-3 bg-red-50 dark:bg-red-500/10 border-b border-red-200 dark:border-red-500/20">
+ <div className="flex items-center gap-2 text-red-600 dark:text-red-400 text-sm">
+ <WifiOff size={16} />
+ <span>ComfyUI is not running on port 8188.</span>
+ </div>
+ <button
+ onClick={startComfyUI}
+ className="flex items-center gap-1.5 px-4 py-1.5 rounded-lg bg-green-600 hover:bg-green-700 text-white text-sm font-medium transition-colors"
+ >
+ <Play size={14} /> Start ComfyUI
+ </button>
+ </div>
+ )}
+
+ {starting && (
+ <div className="flex items-center gap-3 px-4 py-3 bg-yellow-50 dark:bg-yellow-500/10 border-b border-yellow-200 dark:border-yellow-500/20 text-yellow-700 dark:text-yellow-400 text-sm">
+ <Loader2 size={16} className="animate-spin" />
+ <span>Starting ComfyUI... This may take up to 30 seconds.</span>
+ </div>
+ )}
+
+ {connected === true && (
+ <div className="flex items-center gap-2 px-4 py-2 bg-green-50 dark:bg-green-500/10 border-b border-green-200 dark:border-green-500/20 text-green-600 dark:text-green-400 text-sm">
+ <CheckCircle size={16} />
+ <span>ComfyUI connected — {checkpoints.length} model{checkpoints.length !== 1 ? 's' : ''} found</span>
+ </div>
+ )}
+
+ <div className="flex-1 flex overflow-hidden">
+ {/* Main content */}
+ <div className="flex-1 flex flex-col overflow-hidden p-4 gap-4">
+ {/* Top section: Mode switcher + Prompt (~25%) */}
+ <div className="space-y-3">
+ <div className="flex gap-1 p-1 bg-gray-100 dark:bg-white/5 rounded-lg w-fit">
+ <button
+ onClick={() => setMode('image')}
+ className={`flex items-center gap-1.5 px-3 py-1.5 rounded-md text-sm font-medium transition-all ${
+ mode === 'image' ? 'bg-white dark:bg-white/10 text-gray-900 dark:text-white shadow-sm' : 'text-gray-500 hover:text-gray-700 dark:hover:text-gray-300'
+ }`}
+ >
+ <Image size={14} /> Image
+ </button>
+ <button
+ onClick={() => setMode('video')}
+ className={`flex items-center gap-1.5 px-3 py-1.5 rounded-md text-sm font-medium transition-all ${
+ mode === 'video' ? 'bg-white dark:bg-white/10 text-gray-900 dark:text-white shadow-sm' : 'text-gray-500 hover:text-gray-700 dark:hover:text-gray-300'
+ }`}
+ >
+ <Video size={14} /> Video
+ </button>
+ </div>
+
+ <PromptInput onGenerate={generate} onCancel={cancel} />
+ </div>
+
+ {/* Output area (~75%) — centered in a distinct card */}
+ <div className="flex-1 min-h-0 rounded-xl border border-gray-200 dark:border-white/10 bg-gray-50 dark:bg-[#1a1a1a] overflow-hidden flex flex-col">
+ <OutputDisplay />
+ <Gallery />
+ </div>
+ </div>
+
+ {/* Parameter sidebar */}
+ <div className="w-64 border-l border-gray-200 dark:border-white/5 bg-gray-50 dark:bg-[#1a1a1a] p-4 overflow-y-auto scrollbar-thin hidden lg:block">
+ <h3 className="text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-4">Parameters</h3>
+ <ParamPanel checkpoints={checkpoints} samplerList={samplerList} />
+ </div>
+ </div>
+ </div>
+ )
+}
diff --git a/src/components/create/Gallery.tsx b/src/components/create/Gallery.tsx
new file mode 100644
index 00000000..2f8242cd
--- /dev/null
+++ b/src/components/create/Gallery.tsx
@@ -0,0 +1,74 @@
+import { motion } from 'framer-motion'
+import { Trash2, Download } from 'lucide-react'
+import { getImageUrl } from '../../api/comfyui'
+import { useCreateStore, type GalleryItem } from '../../stores/createStore'
+
+interface Props {
+ onSelect?: (item: GalleryItem) => void
+}
+
+export function Gallery({ onSelect }: Props) {
+ const { gallery, removeFromGallery } = useCreateStore()
+
+ if (gallery.length === 0) return null
+
+ return (
+ <div className="border-t border-gray-200 dark:border-white/5 p-4">
+ <div className="flex items-center justify-between mb-3">
+ <h3 className="text-sm font-medium text-gray-600 dark:text-gray-400">Gallery ({gallery.length})</h3>
+ </div>
+ <div className="flex gap-2 overflow-x-auto scrollbar-thin pb-2">
+ {gallery.map((item, i) => {
+ const url = getImageUrl(item.filename, item.subfolder)
+ return (
+ <motion.div
+ key={item.id}
+ className="relative group shrink-0 cursor-pointer"
+ initial={{ opacity: 0, scale: 0.9 }}
+ animate={{ opacity: 1, scale: 1 }}
+ transition={{ delay: i * 0.03 }}
+ onClick={() => onSelect?.(item)}
+ >
+ {item.type === 'video' ? (
+ <video
+ src={url}
+ className="w-20 h-20 object-cover rounded-lg border border-gray-200 dark:border-white/10"
+ muted
+ />
+ ) : (
+ <img
+ src={url}
+ alt={item.prompt}
+ className="w-20 h-20 object-cover rounded-lg border border-gray-200 dark:border-white/10"
+ />
+ )}
+ <div className="absolute inset-0 bg-black/50 rounded-lg opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center gap-1">
+ <button
+ onClick={(e) => {
+ e.stopPropagation()
+ const a = document.createElement('a')
+ a.href = url
+ a.download = item.filename
+ a.click()
+ }}
+ className="p-1 rounded bg-white/20 text-white hover:bg-white/30"
+ >
+ <Download size={12} />
+ </button>
+ <button
+ onClick={(e) => {
+ e.stopPropagation()
+ removeFromGallery(item.id)
+ }}
+ className="p-1 rounded bg-red-500/50 text-white hover:bg-red-500/70"
+ >
+ <Trash2 size={12} />
+ </button>
+ </div>
+ </motion.div>
+ )
+ })}
+ </div>
+ </div>
+ )
+}
diff --git a/src/components/create/OutputDisplay.tsx b/src/components/create/OutputDisplay.tsx
new file mode 100644
index 00000000..0002247f
--- /dev/null
+++ b/src/components/create/OutputDisplay.tsx
@@ -0,0 +1,97 @@
+import { motion } from 'framer-motion'
+import { Download, Maximize2 } from 'lucide-react'
+import { getImageUrl } from '../../api/comfyui'
+import { useCreateStore, type GalleryItem } from '../../stores/createStore'
+import { ProgressBar } from '../ui/ProgressBar'
+
+interface Props {
+ onFullscreen?: (item: GalleryItem) => void
+}
+
+export function OutputDisplay({ onFullscreen }: Props) {
+ const { isGenerating, progress, gallery } = useCreateStore()
+ const latest = gallery[0]
+
+ if (isGenerating) {
+ return (
+ <div className="flex-1 flex flex-col items-center justify-center p-8">
+ <div className="w-full max-w-sm space-y-4">
+ <motion.div
+ className="w-16 h-16 mx-auto rounded-2xl bg-gray-100 dark:bg-white/5 flex items-center justify-center"
+ animate={{ rotate: 360 }}
+ transition={{ duration: 2, repeat: Infinity, ease: 'linear' }}
+ >
+ <span className="text-2xl">🎨</span>
+ </motion.div>
+ <p className="text-center text-gray-500 text-sm">Generating...</p>
+ <ProgressBar progress={progress} />
+ </div>
+ </div>
+ )
+ }
+
+ if (!latest) {
+ return (
+ <div className="flex-1 flex items-center justify-center p-8">
+ <div className="text-center">
+ <div className="w-16 h-16 mx-auto rounded-2xl bg-gray-100 dark:bg-white/5 flex items-center justify-center mb-4">
+ <span className="text-2xl">🖼️</span>
+ </div>
+ <p className="text-gray-500 text-sm">Your creations will appear here</p>
+ </div>
+ </div>
+ )
+ }
+
+ const url = getImageUrl(latest.filename, latest.subfolder)
+
+ const handleDownload = () => {
+ const a = document.createElement('a')
+ a.href = url
+ a.download = latest.filename
+ a.click()
+ }
+
+ return (
+ <div className="flex-1 flex flex-col items-center justify-center p-4 relative group">
+ <motion.div
+ initial={{ opacity: 0, scale: 0.95 }}
+ animate={{ opacity: 1, scale: 1 }}
+ className="relative max-w-full max-h-full"
+ >
+ {latest.type === 'video' ? (
+ <video
+ src={url}
+ controls
+ autoPlay
+ loop
+ className="max-w-full max-h-[60vh] rounded-xl border border-gray-200 dark:border-white/10"
+ />
+ ) : (
+ <img
+ src={url}
+ alt={latest.prompt}
+ className="max-w-full max-h-[60vh] rounded-xl border border-gray-200 dark:border-white/10 object-contain"
+ />
+ )}
+ <div className="absolute top-2 right-2 flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity">
+ {onFullscreen && (
+ <button
+ onClick={() => onFullscreen(latest)}
+ className="p-2 rounded-lg bg-black/50 text-white hover:bg-black/70 transition-colors"
+ >
+ <Maximize2 size={14} />
+ </button>
+ )}
+ <button
+ onClick={handleDownload}
+ className="p-2 rounded-lg bg-black/50 text-white hover:bg-black/70 transition-colors"
+ >
+ <Download size={14} />
+ </button>
+ </div>
+ </motion.div>
+ <p className="text-xs text-gray-400 mt-2 truncate max-w-md">{latest.prompt}</p>
+ </div>
+ )
+}
diff --git a/src/components/create/ParamPanel.tsx b/src/components/create/ParamPanel.tsx
new file mode 100644
index 00000000..9b4dffbd
--- /dev/null
+++ b/src/components/create/ParamPanel.tsx
@@ -0,0 +1,104 @@
+import { useCreateStore } from '../../stores/createStore'
+import { SliderControl } from '../settings/SliderControl'
+import { Dice5 } from 'lucide-react'
+
+interface Props {
+ checkpoints: string[]
+ samplerList: string[]
+}
+
+const SIZE_PRESETS = [
+ { label: '512', w: 512, h: 512 },
+ { label: '768', w: 768, h: 768 },
+ { label: '1024', w: 1024, h: 1024 },
+ { label: '768x1344', w: 768, h: 1344 },
+ { label: '1344x768', w: 1344, h: 768 },
+]
+
+export function ParamPanel({ checkpoints, samplerList }: Props) {
+ const store = useCreateStore()
+
+ const selectClass = 'w-full px-3 py-2 rounded-lg bg-gray-100 dark:bg-white/5 border border-gray-300 dark:border-white/10 text-gray-900 dark:text-white text-sm focus:outline-none focus:border-gray-400 dark:focus:border-white/20 appearance-none cursor-pointer'
+
+ return (
+ <div className="space-y-4">
+ {/* Model */}
+ <div>
+ <label className="text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-1.5 block">Model</label>
+ <select value={store.model} onChange={(e) => store.setModel(e.target.value)} className={selectClass}>
+ {checkpoints.length === 0 && <option value="">No models found</option>}
+ {checkpoints.map((c) => (
+ <option key={c} value={c}>{c.replace(/\.[^.]+$/, '')}</option>
+ ))}
+ </select>
+ </div>
+
+ {/* Sampler */}
+ <div>
+ <label className="text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-1.5 block">Sampler</label>
+ <select value={store.sampler} onChange={(e) => store.setSampler(e.target.value)} className={selectClass}>
+ {samplerList.map((s) => (
+ <option key={s} value={s}>{s}</option>
+ ))}
+ </select>
+ </div>
+
+ {/* Steps */}
+ <SliderControl label="Steps" value={store.steps} min={1} max={50} step={1} onChange={store.setSteps} />
+
+ {/* CFG Scale */}
+ <SliderControl label="CFG Scale" value={store.cfgScale} min={1} max={20} step={0.5} onChange={store.setCfgScale} />
+
+ {/* Size Presets */}
+ <div>
+ <label className="text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-1.5 block">
+ Size ({store.width}x{store.height})
+ </label>
+ <div className="flex flex-wrap gap-1.5">
+ {SIZE_PRESETS.map((preset) => (
+ <button
+ key={preset.label}
+ onClick={() => { store.setWidth(preset.w); store.setHeight(preset.h) }}
+ className={`px-2 py-1 rounded text-xs transition-all ${
+ store.width === preset.w && store.height === preset.h
+ ? 'bg-gray-800 dark:bg-white/15 text-white'
+ : 'bg-gray-100 dark:bg-white/5 text-gray-500 hover:bg-gray-200 dark:hover:bg-white/10'
+ }`}
+ >
+ {preset.label}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* Seed */}
+ <div>
+ <label className="text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider mb-1.5 block">Seed</label>
+ <div className="flex gap-2">
+ <input
+ type="number"
+ value={store.seed}
+ onChange={(e) => store.setSeed(parseInt(e.target.value) || -1)}
+ className="flex-1 px-3 py-2 rounded-lg bg-gray-100 dark:bg-white/5 border border-gray-300 dark:border-white/10 text-gray-900 dark:text-white text-sm focus:outline-none font-mono"
+ placeholder="-1 = random"
+ />
+ <button
+ onClick={() => store.setSeed(-1)}
+ className="p-2 rounded-lg bg-gray-100 dark:bg-white/5 border border-gray-300 dark:border-white/10 text-gray-500 hover:text-gray-900 dark:hover:text-white transition-colors"
+ title="Random seed"
+ >
+ <Dice5 size={16} />
+ </button>
+ </div>
+ </div>
+
+ {/* Video params */}
+ {store.mode === 'video' && (
+ <>
+ <SliderControl label="Frames" value={store.frames} min={8} max={120} step={1} onChange={store.setFrames} />
+ <SliderControl label="FPS" value={store.fps} min={4} max={30} step={1} onChange={store.setFps} />
+ </>
+ )}
+ </div>
+ )
+}
diff --git a/src/components/create/PromptInput.tsx b/src/components/create/PromptInput.tsx
new file mode 100644
index 00000000..750587a9
--- /dev/null
+++ b/src/components/create/PromptInput.tsx
@@ -0,0 +1,83 @@
+import { useState } from 'react'
+import { motion } from 'framer-motion'
+import { Sparkles, Square, ChevronDown, ChevronUp } from 'lucide-react'
+import { useCreateStore } from '../../stores/createStore'
+
+interface Props {
+ onGenerate: () => void
+ onCancel: () => void
+}
+
+export function PromptInput({ onGenerate, onCancel }: Props) {
+ const { prompt, negativePrompt, isGenerating, setPrompt, setNegativePrompt } = useCreateStore()
+ const [showNegative, setShowNegative] = useState(false)
+
+ const handleKeyDown = (e: React.KeyboardEvent) => {
+ if (e.key === 'Enter' && (e.ctrlKey || e.metaKey)) {
+ e.preventDefault()
+ onGenerate()
+ }
+ }
+
+ return (
+ <div className="space-y-3">
+ <div className="glass-card rounded-xl p-4">
+ <textarea
+ value={prompt}
+ onChange={(e) => setPrompt(e.target.value)}
+ onKeyDown={handleKeyDown}
+ placeholder="Describe what you want to create..."
+ rows={3}
+ className="w-full bg-transparent resize-none text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none text-sm leading-relaxed"
+ disabled={isGenerating}
+ />
+ <div className="flex items-center justify-between mt-2 pt-2 border-t border-gray-200 dark:border-white/5">
+ <button
+ onClick={() => setShowNegative(!showNegative)}
+ className="flex items-center gap-1 text-xs text-gray-400 hover:text-gray-600 dark:hover:text-gray-300 transition-colors"
+ >
+ {showNegative ? <ChevronUp size={14} /> : <ChevronDown size={14} />}
+ Negative prompt
+ </button>
+ {isGenerating ? (
+ <motion.button
+ onClick={onCancel}
+ className="flex items-center gap-2 px-4 py-2 rounded-lg bg-red-100 dark:bg-red-500/20 border border-red-300 dark:border-red-500/30 text-red-600 dark:text-red-400 text-sm font-medium"
+ whileTap={{ scale: 0.95 }}
+ >
+ <Square size={14} /> Cancel
+ </motion.button>
+ ) : (
+ <motion.button
+ onClick={onGenerate}
+ disabled={!prompt.trim()}
+ className="flex items-center gap-2 px-4 py-2 rounded-lg bg-gray-800 dark:bg-white/10 text-white text-sm font-medium disabled:opacity-30 disabled:cursor-not-allowed hover:bg-gray-700 dark:hover:bg-white/15 transition-all"
+ whileTap={{ scale: 0.95 }}
+ >
+ <Sparkles size={14} /> Generate
+ </motion.button>
+ )}
+ </div>
+ </div>
+
+ {showNegative && (
+ <motion.div
+ initial={{ opacity: 0, height: 0 }}
+ animate={{ opacity: 1, height: 'auto' }}
+ className="glass-card rounded-xl p-4"
+ >
+ <textarea
+ value={negativePrompt}
+ onChange={(e) => setNegativePrompt(e.target.value)}
+ placeholder="What to avoid (e.g. blurry, low quality, watermark)..."
+ rows={2}
+ className="w-full bg-transparent resize-none text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none text-sm leading-relaxed"
+ disabled={isGenerating}
+ />
+ </motion.div>
+ )}
+
+ <p className="text-xs text-gray-400 text-center">Ctrl+Enter to generate</p>
+ </div>
+ )
+}
diff --git a/src/components/layout/AppShell.tsx b/src/components/layout/AppShell.tsx
new file mode 100644
index 00000000..f0284929
--- /dev/null
+++ b/src/components/layout/AppShell.tsx
@@ -0,0 +1,42 @@
+import { useEffect } from 'react'
+import { Header } from './Header'
+import { Sidebar } from './Sidebar'
+import { ChatView } from '../chat/ChatView'
+import { ModelManager } from '../models/ModelManager'
+import { SettingsPage } from '../settings/SettingsPage'
+import { CreateView } from '../create/CreateView'
+import { Onboarding } from '../onboarding/Onboarding'
+import { useUIStore } from '../../stores/uiStore'
+import { useSettingsStore } from '../../stores/settingsStore'
+
+export function AppShell() {
+ const { currentView } = useUIStore()
+ const { settings } = useSettingsStore()
+ const onboardingDone = useSettingsStore((s) => s.settings.onboardingDone)
+
+ useEffect(() => {
+ document.documentElement.classList.toggle('dark', settings.theme === 'dark')
+ document.documentElement.classList.toggle('light', settings.theme === 'light')
+ }, [settings.theme])
+
+ if (!onboardingDone) {
+ return <Onboarding />
+ }
+
+ return (
+ <div className="h-screen w-screen overflow-hidden bg-white dark:bg-[#212121] text-gray-900 dark:text-white">
+ <div className="h-full flex flex-col">
+ <Header />
+ <div className="flex-1 flex overflow-hidden">
+ <Sidebar />
+ <main className="flex-1 overflow-hidden">
+ {currentView === 'chat' && <ChatView />}
+ {currentView === 'models' && <ModelManager />}
+ {currentView === 'settings' && <SettingsPage />}
+ {currentView === 'create' && <CreateView />}
+ </main>
+ </div>
+ </div>
+ </div>
+ )
+}
diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx
new file mode 100644
index 00000000..f2eb1171
--- /dev/null
+++ b/src/components/layout/Header.tsx
@@ -0,0 +1,76 @@
+import { Menu, Settings, Cpu, Sun, Moon, MessageSquare, Film, Layers } from 'lucide-react'
+import { useUIStore } from '../../stores/uiStore'
+import { useSettingsStore } from '../../stores/settingsStore'
+import { ModelSelector } from '../models/ModelSelector'
+
+export function Header() {
+ const { currentView, toggleSidebar, setView } = useUIStore()
+ const { settings, updateSettings } = useSettingsStore()
+
+ const toggleTheme = () => {
+ updateSettings({ theme: settings.theme === 'dark' ? 'light' : 'dark' })
+ }
+
+ return (
+ <header className="h-14 flex items-center justify-between px-4 border-b border-gray-200 dark:border-white/5 bg-white dark:bg-[#2f2f2f] z-20">
+ {/* Left: Sidebar + Logo */}
+ <div className="flex items-center gap-3">
+ <button
+ onClick={toggleSidebar}
+ className="p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
+ >
+ <Menu size={20} />
+ </button>
+ <button
+ onClick={() => setView('chat')}
+ className="flex items-center gap-2 text-gray-800 dark:text-gray-200 hover:opacity-80 transition"
+ >
+ <Cpu size={20} />
+ <span className="font-bold text-sm tracking-wider hidden sm:inline">LOCALLY UNCENSORED</span>
+ </button>
+ </div>
+
+ {/* Center: Model Selector */}
+ <ModelSelector />
+
+ {/* Right: Actions */}
+ <div className="flex items-center gap-1">
+ <button
+ onClick={toggleTheme}
+ className="p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
+ title={settings.theme === 'dark' ? 'Light Mode' : 'Dark Mode'}
+ >
+ {settings.theme === 'dark' ? <Sun size={18} /> : <Moon size={18} />}
+ </button>
+ <button
+ onClick={() => setView('chat')}
+ className={`p-2 rounded-lg transition-colors ${currentView === 'chat' ? 'bg-blue-100 dark:bg-blue-500/15 text-blue-600 dark:text-blue-300' : 'hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white'}`}
+ title="Text Chat"
+ >
+ <MessageSquare size={18} />
+ </button>
+ <button
+ onClick={() => setView('create')}
+ className={`p-2 rounded-lg transition-colors ${currentView === 'create' ? 'bg-purple-100 dark:bg-purple-500/15 text-purple-600 dark:text-purple-300' : 'hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white'}`}
+ title="Create Images & Videos"
+ >
+ <Film size={18} />
+ </button>
+ <button
+ onClick={() => setView('models')}
+ className={`p-2 rounded-lg transition-colors ${currentView === 'models' ? 'bg-blue-100 dark:bg-blue-500/15 text-blue-600 dark:text-blue-300' : 'hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white'}`}
+ title="Model Manager"
+ >
+ <Layers size={18} />
+ </button>
+ <button
+ onClick={() => setView('settings')}
+ className={`p-2 rounded-lg transition-colors ${currentView === 'settings' ? 'bg-gray-200 dark:bg-white/15 text-gray-900 dark:text-white' : 'hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white'}`}
+ title="Settings"
+ >
+ <Settings size={18} />
+ </button>
+ </div>
+ </header>
+ )
+}
diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx
new file mode 100644
index 00000000..d39045c8
--- /dev/null
+++ b/src/components/layout/Sidebar.tsx
@@ -0,0 +1,146 @@
+import { useState } from 'react'
+import { motion, AnimatePresence } from 'framer-motion'
+import { Plus, Search, MessageSquare, Trash2, Edit3, Check, X } from 'lucide-react'
+import { useChatStore } from '../../stores/chatStore'
+import { useUIStore } from '../../stores/uiStore'
+import { useModelStore } from '../../stores/modelStore'
+import { useSettingsStore } from '../../stores/settingsStore'
+import { formatDate, truncate } from '../../lib/formatters'
+
+export function Sidebar() {
+ const { conversations, activeConversationId, createConversation, deleteConversation, renameConversation, setActiveConversation } = useChatStore()
+ const { sidebarOpen, setView } = useUIStore()
+ const { activeModel } = useModelStore()
+ const { getActivePersona } = useSettingsStore()
+ const [search, setSearch] = useState('')
+ const [editingId, setEditingId] = useState<string | null>(null)
+ const [editTitle, setEditTitle] = useState('')
+
+ const filtered = search
+ ? conversations.filter(
+ (c) =>
+ c.title.toLowerCase().includes(search.toLowerCase()) ||
+ c.messages.some((m) => m.content.toLowerCase().includes(search.toLowerCase()))
+ )
+ : conversations
+
+ const handleNewChat = () => {
+ const persona = getActivePersona()
+ if (activeModel) {
+ createConversation(activeModel, persona?.systemPrompt || '')
+ setView('chat')
+ }
+ }
+
+ const handleRename = (id: string) => {
+ if (editTitle.trim()) {
+ renameConversation(id, editTitle.trim())
+ }
+ setEditingId(null)
+ }
+
+ return (
+ <AnimatePresence>
+ {sidebarOpen && (
+ <motion.aside
+ className="w-72 h-full border-r border-gray-200 dark:border-white/5 bg-gray-50 dark:bg-[#171717] flex flex-col z-20 overflow-hidden"
+ initial={{ width: 0, opacity: 0 }}
+ animate={{ width: 288, opacity: 1 }}
+ exit={{ width: 0, opacity: 0 }}
+ transition={{ duration: 0.2 }}
+ >
+ <div className="p-3 space-y-3">
+ <button
+ onClick={handleNewChat}
+ className="w-full flex items-center gap-2 px-3 py-2.5 rounded-lg bg-gray-200 dark:bg-white/10 border border-gray-300 dark:border-white/15 text-gray-800 dark:text-white hover:bg-gray-300 dark:hover:bg-white/15 transition-all"
+ >
+ <Plus size={18} />
+ <span className="text-sm font-medium">New Chat</span>
+ </button>
+
+ <div className="relative">
+ <Search size={16} className="absolute left-3 top-1/2 -translate-y-1/2 text-gray-500" />
+ <input
+ type="text"
+ placeholder="Search conversations..."
+ value={search}
+ onChange={(e) => setSearch(e.target.value)}
+ className="w-full pl-9 pr-3 py-2 rounded-lg bg-gray-100 dark:bg-white/5 border border-gray-300 dark:border-white/10 text-sm text-gray-900 dark:text-white placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none focus:border-gray-400 dark:focus:border-white/30"
+ />
+ </div>
+ </div>
+
+ <div className="flex-1 overflow-y-auto px-2 space-y-0.5 scrollbar-thin">
+ {filtered.map((conv) => (
+ <motion.div
+ key={conv.id}
+ className={`group flex items-center gap-2 px-3 py-2.5 rounded-lg cursor-pointer transition-all ${
+ conv.id === activeConversationId
+ ? 'bg-gray-200 dark:bg-white/10 border border-gray-300 dark:border-white/15'
+ : 'hover:bg-gray-100 dark:hover:bg-white/5 border border-transparent'
+ }`}
+ onClick={() => {
+ setActiveConversation(conv.id)
+ setView('chat')
+ }}
+ layout
+ >
+ <MessageSquare size={16} className="text-gray-500 shrink-0" />
+ <div className="flex-1 min-w-0">
+ {editingId === conv.id ? (
+ <div className="flex items-center gap-1">
+ <input
+ value={editTitle}
+ onChange={(e) => setEditTitle(e.target.value)}
+ onKeyDown={(e) => e.key === 'Enter' && handleRename(conv.id)}
+ className="w-full bg-white/10 rounded px-1 py-0.5 text-sm text-white focus:outline-none"
+ autoFocus
+ onClick={(e) => e.stopPropagation()}
+ />
+ <button onClick={(e) => { e.stopPropagation(); handleRename(conv.id) }} className="text-green-400"><Check size={14} /></button>
+ <button onClick={(e) => { e.stopPropagation(); setEditingId(null) }} className="text-gray-400"><X size={14} /></button>
+ </div>
+ ) : (
+ <>
+ <p className="text-sm text-gray-800 dark:text-white truncate">{truncate(conv.title, 30)}</p>
+ <p className="text-xs text-gray-500">{formatDate(conv.updatedAt)}</p>
+ </>
+ )}
+ </div>
+ {editingId !== conv.id && (
+ <div className="flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity">
+ <button
+ onClick={(e) => {
+ e.stopPropagation()
+ setEditingId(conv.id)
+ setEditTitle(conv.title)
+ }}
+ className="p-1 rounded hover:bg-white/10 text-gray-400"
+ >
+ <Edit3 size={12} />
+ </button>
+ <button
+ onClick={(e) => {
+ e.stopPropagation()
+ deleteConversation(conv.id)
+ }}
+ className="p-1 rounded hover:bg-red-500/20 text-gray-400 hover:text-red-400"
+ >
+ <Trash2 size={12} />
+ </button>
+ </div>
+ )}
+ </motion.div>
+ ))}
+
+ {filtered.length === 0 && (
+ <p className="text-center text-gray-500 text-sm py-8">
+ {search ? 'No results found' : 'No conversations yet'}
+ </p>
+ )}
+ </div>
+ </motion.aside>
+ )}
+ </AnimatePresence>
+ )
+}
diff --git a/src/components/models/DiscoverModels.tsx b/src/components/models/DiscoverModels.tsx
new file mode 100644
index 00000000..4c86ac7c
--- /dev/null
+++ b/src/components/models/DiscoverModels.tsx
@@ -0,0 +1,145 @@
+import { useState, useEffect } from 'react'
+import { motion } from 'framer-motion'
+import { Download, RefreshCw, ExternalLink, Search } from 'lucide-react'
+import { fetchAbliteratedModels, type DiscoverModel } from '../../api/discover'
+import { useModels } from '../../hooks/useModels'
+import { GlassCard } from '../ui/GlassCard'
+import { GlowButton } from '../ui/GlowButton'
+import { ProgressBar } from '../ui/ProgressBar'
+import { formatBytes } from '../../lib/formatters'
+
+export function DiscoverModels() {
+ const [models, setModels] = useState<DiscoverModel[]>([])
+ const [loading, setLoading] = useState(true)
+ const [search, setSearch] = useState('')
+ const { pullModel, isPulling, pullProgress, models: installedModels } = useModels()
+
+ const loadModels = async () => {
+ setLoading(true)
+ const result = await fetchAbliteratedModels()
+ setModels(result)
+ setLoading(false)
+ }
+
+ useEffect(() => {
+ loadModels()
+ }, [])
+
+ const filtered = search
+ ? models.filter((m) => m.name.toLowerCase().includes(search.toLowerCase()))
+ : models
+
+ const isInstalled = (name: string) => {
+ return installedModels.some((m) => m.name.startsWith(name.split(':')[0]))
+ }
+
+ const progress =
+ pullProgress?.total && pullProgress?.completed
+ ? (pullProgress.completed / pullProgress.total) * 100
+ : 0
+
+ return (
+ <div className="space-y-4">
+ <div className="flex items-center justify-between">
+ <h2 className="text-lg font-semibold text-white">Discover Uncensored Models</h2>
+ <GlowButton variant="secondary" onClick={loadModels} disabled={loading}>
+ <RefreshCw size={16} className={loading ? 'animate-spin' : ''} />
+ </GlowButton>
+ </div>
+
+ <p className="text-sm text-gray-500">
+ Latest abliterated (uncensored) models from the Ollama registry. Click to install.
+ </p>
+
+ <div className="relative">
+ <Search size={16} className="absolute left-3 top-1/2 -translate-y-1/2 text-gray-500" />
+ <input
+ value={search}
+ onChange={(e) => setSearch(e.target.value)}
+ placeholder="Filter models..."
+ className="w-full pl-9 pr-3 py-2 rounded-lg bg-white/5 border border-white/10 text-sm text-white placeholder-gray-500 focus:outline-none focus:border-white/30"
+ />
+ </div>
+
+ {isPulling && pullProgress && (
+ <GlassCard className="p-3">
+ <p className="text-sm text-gray-300 mb-2">{pullProgress.status}</p>
+ {pullProgress.total && pullProgress.completed !== undefined && (
+ <>
+ <ProgressBar progress={progress} />
+ <p className="text-xs text-gray-500 mt-1">
+ {formatBytes(pullProgress.completed || 0)} / {formatBytes(pullProgress.total)}
+ </p>
+ </>
+ )}
+ </GlassCard>
+ )}
+
+ {loading ? (
+ <div className="text-center py-8 text-gray-500">Loading models...</div>
+ ) : (
+ <div className="grid grid-cols-1 md:grid-cols-2 gap-3">
+ {filtered.map((model, i) => (
+ <motion.div
+ key={model.name}
+ initial={{ opacity: 0, y: 10 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ delay: i * 0.03 }}
+ >
+ <GlassCard className="p-3">
+ <div className="flex items-start justify-between gap-2">
+ <div className="flex-1 min-w-0">
+ <h3 className="text-sm font-medium text-white truncate">{model.name}</h3>
+ {model.description && (
+ <p className="text-xs text-gray-500 mt-0.5">{model.description}</p>
+ )}
+ <div className="flex items-center gap-2 mt-1.5 flex-wrap">
+ {model.tags.map((tag) => (
+ <span key={tag} className="text-[10px] px-1.5 py-0.5 rounded bg-white/5 text-gray-400">
+ {tag}
+ </span>
+ ))}
+ {model.pulls && (
+ <span className="text-[10px] text-gray-500">{model.pulls} pulls</span>
+ )}
+ {model.updated && (
+ <span className="text-[10px] text-gray-600">{model.updated}</span>
+ )}
+ </div>
+ </div>
+ <div className="flex items-center gap-1 shrink-0">
+ {isInstalled(model.name) ? (
+ <span className="text-xs text-green-400 px-2 py-1">Installed</span>
+ ) : (
+ <button
+ onClick={() => pullModel(model.name)}
+ disabled={isPulling}
+ className="p-2 rounded-lg bg-white/10 hover:bg-white/15 text-white disabled:opacity-30 transition-all"
+ title="Install model"
+ >
+ <Download size={14} />
+ </button>
+ )}
+ <a
+ href={`https://ollama.com/${model.name}`}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="p-2 rounded-lg hover:bg-white/10 text-gray-500 transition-all"
+ title="View on Ollama"
+ >
+ <ExternalLink size={14} />
+ </a>
+ </div>
+ </div>
+ </GlassCard>
+ </motion.div>
+ ))}
+ </div>
+ )}
+
+ {!loading && filtered.length === 0 && (
+ <p className="text-center text-gray-500 py-4">No models found</p>
+ )}
+ </div>
+ )
+}
diff --git a/src/components/models/ModelCard.tsx b/src/components/models/ModelCard.tsx
new file mode 100644
index 00000000..62165752
--- /dev/null
+++ b/src/components/models/ModelCard.tsx
@@ -0,0 +1,70 @@
+import { Trash2, Info, MessageSquare, Image, Video } from 'lucide-react'
+import { GlassCard } from '../ui/GlassCard'
+import { formatBytes } from '../../lib/formatters'
+import type { AIModel } from '../../types/models'
+
+interface Props {
+ model: AIModel
+ isActive: boolean
+ onSelect: () => void
+ onDelete: () => void
+ onInfo: () => void
+}
+
+const TYPE_CONFIG = {
+ text: { label: 'Text', icon: MessageSquare, color: 'bg-blue-500/15 text-blue-300' },
+ image: { label: 'Image', icon: Image, color: 'bg-purple-500/15 text-purple-300' },
+ video: { label: 'Video', icon: Video, color: 'bg-green-500/15 text-green-300' },
+}
+
+export function ModelCard({ model, isActive, onSelect, onDelete, onInfo }: Props) {
+ const typeInfo = TYPE_CONFIG[model.type] || TYPE_CONFIG.text
+ const TypeIcon = typeInfo.icon
+
+ return (
+ <GlassCard hover className={`cursor-pointer ${isActive ? 'border-white/15' : ''}`}>
+ <div onClick={onSelect}>
+ <div className="flex items-start justify-between mb-2">
+ <h3 className="font-semibold text-gray-900 dark:text-white text-sm truncate flex-1">{model.name}</h3>
+ {isActive && (
+ <span className="text-xs bg-gray-200 dark:bg-white/10 text-gray-700 dark:text-white px-2 py-0.5 rounded-full ml-2 shrink-0">
+ Active
+ </span>
+ )}
+ </div>
+ <div className="space-y-1 text-xs text-gray-500 dark:text-gray-400">
+ <div className="flex items-center gap-1.5 mb-1">
+ <span className={`text-[10px] px-1.5 py-0.5 rounded font-medium flex items-center gap-1 ${typeInfo.color}`}>
+ <TypeIcon size={10} /> {typeInfo.label}
+ </span>
+ </div>
+ {model.size > 0 && <p>Size: {formatBytes(model.size)}</p>}
+ {model.type === 'text' && 'details' in model && (
+ <>
+ <p>Family: {model.details?.family || 'unknown'}</p>
+ <p>Parameters: {model.details?.parameter_size || 'unknown'}</p>
+ <p>Quantization: {model.details?.quantization_level || 'unknown'}</p>
+ </>
+ )}
+ {(model.type === 'image' || model.type === 'video') && 'architecture' in model && (
+ <p>Format: {model.format || 'safetensors'}</p>
+ )}
+ </div>
+ </div>
+ <div className="flex items-center gap-2 mt-3 pt-3 border-t border-gray-200 dark:border-white/5">
+ <button
+ onClick={(e) => { e.stopPropagation(); onInfo() }}
+ className="flex items-center gap-1 text-xs text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
+ >
+ <Info size={14} /> Details
+ </button>
+ <button
+ onClick={(e) => { e.stopPropagation(); onDelete() }}
+ className="flex items-center gap-1 text-xs text-gray-500 dark:text-gray-400 hover:text-red-400 transition-colors ml-auto"
+ >
+ <Trash2 size={14} /> Delete
+ </button>
+ </div>
+ </GlassCard>
+ )
+}
diff --git a/src/components/models/ModelManager.tsx b/src/components/models/ModelManager.tsx
new file mode 100644
index 00000000..f7daa7cc
--- /dev/null
+++ b/src/components/models/ModelManager.tsx
@@ -0,0 +1,186 @@
+import { useState, useEffect } from 'react'
+import { motion } from 'framer-motion'
+import { Download, ArrowLeft, RefreshCw, MessageSquare, Image, Video, Layers } from 'lucide-react'
+import { useModels } from '../../hooks/useModels'
+import { useUIStore } from '../../stores/uiStore'
+import { ModelCard } from './ModelCard'
+import { PullModelDialog } from './PullModelDialog'
+import { DiscoverModels } from './DiscoverModels'
+import { Modal } from '../ui/Modal'
+import { GlowButton } from '../ui/GlowButton'
+import { showModel } from '../../api/ollama'
+import type { ModelCategory, AIModel } from '../../types/models'
+
+const CATEGORY_TABS: { key: ModelCategory; label: string; icon: typeof Layers }[] = [
+ { key: 'all', label: 'All', icon: Layers },
+ { key: 'text', label: 'Text', icon: MessageSquare },
+ { key: 'image', label: 'Image', icon: Image },
+ { key: 'video', label: 'Video', icon: Video },
+]
+
+export function ModelManager() {
+ const { models, activeModel, setActiveModel, fetchModels, removeModel, categoryFilter, setCategoryFilter } = useModels()
+ const { setView } = useUIStore()
+ const [pullOpen, setPullOpen] = useState(false)
+ const [infoOpen, setInfoOpen] = useState(false)
+ const [modelInfo, setModelInfo] = useState<any>(null)
+ const [confirmDelete, setConfirmDelete] = useState<string | null>(null)
+ const [tab, setTab] = useState<'installed' | 'discover'>('installed')
+
+ useEffect(() => {
+ fetchModels()
+ }, [fetchModels])
+
+ const handleInfo = async (name: string) => {
+ try {
+ const info = await showModel(name)
+ setModelInfo({ name, ...info })
+ setInfoOpen(true)
+ } catch {
+ // ignore
+ }
+ }
+
+ const handleDelete = async (name: string) => {
+ await removeModel(name)
+ setConfirmDelete(null)
+ }
+
+ const filteredModels = categoryFilter === 'all'
+ ? models
+ : models.filter((m: AIModel) => m.type === categoryFilter)
+
+ return (
+ <div className="h-full overflow-y-auto scrollbar-thin p-6">
+ <div className="max-w-4xl mx-auto">
+ <div className="flex items-center justify-between mb-6">
+ <div className="flex items-center gap-3">
+ <button
+ onClick={() => setView('chat')}
+ className="p-2 rounded-lg hover:bg-gray-100 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
+ >
+ <ArrowLeft size={20} />
+ </button>
+ <h1 className="text-xl font-bold text-gray-900 dark:text-white">Model Manager</h1>
+ </div>
+ <div className="flex items-center gap-2">
+ <GlowButton variant="secondary" onClick={fetchModels}>
+ <RefreshCw size={16} />
+ </GlowButton>
+ <GlowButton onClick={() => setPullOpen(true)} className="flex items-center gap-2">
+ <Download size={16} /> Pull Model
+ </GlowButton>
+ </div>
+ </div>
+
+ {/* Main tabs: Installed / Discover */}
+ <div className="flex gap-1 mb-4 p-1 bg-gray-100 dark:bg-white/5 rounded-lg w-fit">
+ <button
+ onClick={() => setTab('installed')}
+ className={`px-4 py-2 rounded-md text-sm font-medium transition-all ${
+ tab === 'installed'
+ ? 'bg-white dark:bg-white/10 text-gray-900 dark:text-white shadow-sm'
+ : 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-white'
+ }`}
+ >
+ Installed ({models.length})
+ </button>
+ <button
+ onClick={() => setTab('discover')}
+ className={`px-4 py-2 rounded-md text-sm font-medium transition-all ${
+ tab === 'discover'
+ ? 'bg-white dark:bg-white/10 text-gray-900 dark:text-white shadow-sm'
+ : 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-white'
+ }`}
+ >
+ Discover Uncensored
+ </button>
+ </div>
+
+ {/* Category filter tabs */}
+ {tab === 'installed' && (
+ <div className="flex gap-0.5 mb-6 p-1 bg-gray-100 dark:bg-white/5 rounded-lg w-fit">
+ {CATEGORY_TABS.map((catTab) => {
+ const Icon = catTab.icon
+ const count = catTab.key === 'all' ? models.length : models.filter((m) => m.type === catTab.key).length
+ return (
+ <button
+ key={catTab.key}
+ onClick={() => setCategoryFilter(catTab.key)}
+ className={`flex items-center gap-1.5 px-3 py-1.5 rounded-md text-xs font-medium transition-all ${
+ categoryFilter === catTab.key
+ ? 'bg-white dark:bg-white/10 text-gray-900 dark:text-white shadow-sm'
+ : 'text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 hover:bg-white/5'
+ }`}
+ >
+ <Icon size={12} />
+ {catTab.label} ({count})
+ </button>
+ )
+ })}
+ </div>
+ )}
+
+ {tab === 'installed' && (
+ <>
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
+ {filteredModels.map((model, i) => (
+ <motion.div
+ key={model.name}
+ initial={{ opacity: 0, y: 20 }}
+ animate={{ opacity: 1, y: 0 }}
+ transition={{ delay: i * 0.05 }}
+ >
+ <ModelCard
+ model={model}
+ isActive={model.name === activeModel}
+ onSelect={() => setActiveModel(model.name)}
+ onDelete={() => setConfirmDelete(model.name)}
+ onInfo={() => handleInfo(model.name)}
+ />
+ </motion.div>
+ ))}
+ </div>
+
+ {filteredModels.length === 0 && (
+ <div className="text-center py-16">
+ <p className="text-gray-500 mb-4">
+ {categoryFilter === 'all'
+ ? 'No models installed'
+ : `No ${categoryFilter === 'text' ? 'Text' : categoryFilter === 'image' ? 'Image' : 'Video'} models installed`}
+ </p>
+ <GlowButton onClick={() => setTab('discover')}>Discover uncensored models</GlowButton>
+ </div>
+ )}
+ </>
+ )}
+
+ {tab === 'discover' && <DiscoverModels />}
+ </div>
+
+ <PullModelDialog open={pullOpen} onClose={() => setPullOpen(false)} />
+
+ <Modal open={!!confirmDelete} onClose={() => setConfirmDelete(null)} title="Delete Model">
+ <p className="text-gray-600 dark:text-gray-300 mb-4">
+ Are you sure you want to delete <span className="text-gray-900 dark:text-white font-mono">{confirmDelete}</span>?
+ </p>
+ <div className="flex gap-3">
+ <GlowButton variant="secondary" onClick={() => setConfirmDelete(null)} className="flex-1">
+ Cancel
+ </GlowButton>
+ <GlowButton variant="danger" onClick={() => confirmDelete && handleDelete(confirmDelete)} className="flex-1">
+ Delete
+ </GlowButton>
+ </div>
+ </Modal>
+
+ <Modal open={infoOpen} onClose={() => setInfoOpen(false)} title={modelInfo?.name || 'Model Info'}>
+ {modelInfo && (
+ <pre className="text-xs text-gray-600 dark:text-gray-300 bg-gray-100 dark:bg-black/30 rounded-lg p-4 overflow-auto max-h-96 scrollbar-thin font-mono">
+ {JSON.stringify(modelInfo, null, 2)}
+ </pre>
+ )}
+ </Modal>
+ </div>
+ )
+}
diff --git a/src/components/models/ModelRecommendation.tsx b/src/components/models/ModelRecommendation.tsx
new file mode 100644
index 00000000..c1f54fe6
--- /dev/null
+++ b/src/components/models/ModelRecommendation.tsx
@@ -0,0 +1,201 @@
+import { useState, useEffect } from 'react'
+import { motion, AnimatePresence } from 'framer-motion'
+import { Cpu, Download, X, Zap, Brain, Image, Video } from 'lucide-react'
+import { useModels } from '../../hooks/useModels'
+import { GlassCard } from '../ui/GlassCard'
+import { GlowButton } from '../ui/GlowButton'
+import { ProgressBar } from '../ui/ProgressBar'
+
+interface SystemInfo {
+ vram: number | null
+ ram: number | null
+ gpu: string | null
+}
+
+interface Recommendation {
+ name: string
+ pullName: string
+ description: string
+ vramNeeded: string
+ category: 'text' | 'image' | 'video'
+ icon: typeof Brain
+}
+
+function getRecommendations(sys: SystemInfo): Recommendation[] {
+ const vram = sys.vram || 0
+ const recs: Recommendation[] = []
+
+ // Text models
+ if (vram >= 10) {
+ recs.push({
+ name: 'Mistral Nemo 12B (Uncensored)',
+ pullName: 'krith/mistral-nemo-instruct-2407-abliterated:IQ4_XS',
+ description: 'Very smart, uncensored, fits your GPU',
+ vramNeeded: '~7 GB VRAM',
+ category: 'text',
+ icon: Brain,
+ })
+ }
+ if (vram >= 6) {
+ recs.push({
+ name: 'Llama 3.1 8B (Uncensored)',
+ pullName: 'mannix/llama3.1-8b-abliterated:q5_K_M',
+ description: 'Fast & uncensored, ideal to get started',
+ vramNeeded: '~5.5 GB VRAM',
+ category: 'text',
+ icon: Zap,
+ })
+ }
+ if (vram >= 8) {
+ recs.push({
+ name: 'DeepSeek R1 8B (Uncensored)',
+ pullName: 'huihui_ai/deepseek-r1-abliterated:8b',
+ description: 'Thinks before it answers, uncensored',
+ vramNeeded: '~6 GB VRAM',
+ category: 'text',
+ icon: Brain,
+ })
+ }
+
+ // Image models (ComfyUI)
+ if (vram >= 8) {
+ recs.push({
+ name: 'SDXL / Juggernaut XL',
+ pullName: '',
+ description: 'Photorealistic, uncensored. Install in ComfyUI.',
+ vramNeeded: '~8 GB VRAM',
+ category: 'image',
+ icon: Image,
+ })
+ }
+
+ // Video models
+ if (vram >= 10) {
+ recs.push({
+ name: 'Wan2.2 1.3B (Video)',
+ pullName: '',
+ description: 'Text-to-Video, 480p. Install in ComfyUI.',
+ vramNeeded: '~8-10 GB VRAM',
+ category: 'video',
+ icon: Video,
+ })
+ }
+
+ return recs
+}
+
+export function ModelRecommendation() {
+ const { models, pullModel, isPulling, pullProgress } = useModels()
+ const [dismissed, setDismissed] = useState(false)
+ const [systemInfo, setSystemInfo] = useState<SystemInfo>({ vram: null, ram: null, gpu: null })
+ const [loading, setLoading] = useState(true)
+
+ // Check if we should show this at all
+ const hasTextModels = models.some((m) => m.type === 'text')
+
+ useEffect(() => {
+ // Try to detect system info via Ollama's ps endpoint
+ async function detectSystem() {
+ try {
+ // We'll use a simple heuristic based on known GPU info
+ // Since we can't directly query GPU from browser, use stored info or defaults
+ const stored = localStorage.getItem('system-info')
+ if (stored) {
+ setSystemInfo(JSON.parse(stored))
+ } else {
+ // Default: assume 8GB VRAM (most common consumer GPU)
+ const info: SystemInfo = { vram: 8, ram: 16, gpu: null }
+ setSystemInfo(info)
+ }
+ } catch {
+ setSystemInfo({ vram: 8, ram: 16, gpu: null })
+ }
+ setLoading(false)
+ }
+ detectSystem()
+ }, [])
+
+ if (loading || dismissed || hasTextModels) return null
+
+ const recommendations = getRecommendations(systemInfo)
+ const textRecs = recommendations.filter((r) => r.category === 'text')
+
+ const progress = pullProgress?.total && pullProgress?.completed
+ ? (pullProgress.completed / pullProgress.total) * 100
+ : 0
+
+ return (
+ <AnimatePresence>
+ <motion.div
+ initial={{ opacity: 0, y: 20 }}
+ animate={{ opacity: 1, y: 0 }}
+ exit={{ opacity: 0, y: -20 }}
+ className="max-w-2xl mx-auto p-6"
+ >
+ <GlassCard className="p-6 relative">
+ <button
+ onClick={() => setDismissed(true)}
+ className="absolute top-3 right-3 p-1 rounded-lg text-gray-500 hover:text-gray-300 hover:bg-white/10 transition-colors"
+ >
+ <X size={16} />
+ </button>
+
+ <div className="flex items-center gap-3 mb-4">
+ <div className="w-10 h-10 rounded-xl bg-blue-500/10 flex items-center justify-center">
+ <Cpu size={20} className="text-blue-400" />
+ </div>
+ <div>
+ <h2 className="text-lg font-bold text-gray-900 dark:text-white">Welcome to Locally Uncensored</h2>
+ <p className="text-sm text-gray-500">
+ {systemInfo.gpu ? `${systemInfo.gpu} (${systemInfo.vram} GB VRAM)` : 'No model installed — here are some recommendations:'}
+ </p>
+ </div>
+ </div>
+
+ {isPulling && pullProgress && (
+ <div className="mb-4 p-3 rounded-lg bg-gray-100 dark:bg-white/5">
+ <p className="text-sm text-gray-600 dark:text-gray-300 mb-2">{pullProgress.status}</p>
+ {pullProgress.total && pullProgress.completed !== undefined && (
+ <ProgressBar progress={progress} />
+ )}
+ </div>
+ )}
+
+ <div className="space-y-3">
+ <h3 className="text-sm font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider">Recommended Text Models</h3>
+ {textRecs.map((rec) => {
+ const Icon = rec.icon
+ return (
+ <div
+ key={rec.pullName}
+ className="flex items-center gap-3 p-3 rounded-lg bg-gray-50 dark:bg-white/5 hover:bg-gray-100 dark:hover:bg-white/8 transition-colors"
+ >
+ <div className="w-8 h-8 rounded-lg bg-blue-500/10 flex items-center justify-center shrink-0">
+ <Icon size={16} className="text-blue-400" />
+ </div>
+ <div className="flex-1 min-w-0">
+ <p className="text-sm font-medium text-gray-900 dark:text-white">{rec.name}</p>
+ <p className="text-xs text-gray-500">{rec.description} — {rec.vramNeeded}</p>
+ </div>
+ {rec.pullName && (
+ <GlowButton
+ onClick={() => pullModel(rec.pullName)}
+ disabled={isPulling}
+ className="shrink-0 flex items-center gap-1 text-xs"
+ >
+ <Download size={14} /> Install
+ </GlowButton>
+ )}
+ </div>
+ )
+ })}
+ </div>
+
+ <p className="text-xs text-gray-500 mt-4 text-center">
+ You can install more models in the Model Manager anytime.
+ </p>
+ </GlassCard>
+ </motion.div>
+ </AnimatePresence>
+ )
+}
diff --git a/src/components/models/ModelSelector.tsx b/src/components/models/ModelSelector.tsx
new file mode 100644
index 00000000..3e4082dd
--- /dev/null
+++ b/src/components/models/ModelSelector.tsx
@@ -0,0 +1,105 @@
+import { useState, useRef, useEffect } from 'react'
+import { motion, AnimatePresence } from 'framer-motion'
+import { ChevronDown, Check, MessageSquare, Image, Video } from 'lucide-react'
+import { useModels } from '../../hooks/useModels'
+import { formatBytes } from '../../lib/formatters'
+import type { AIModel } from '../../types/models'
+
+const TYPE_BADGE: Record<string, { label: string; color: string }> = {
+ text: { label: 'Text', color: 'bg-blue-500/15 text-blue-300' },
+ image: { label: 'Image', color: 'bg-purple-500/15 text-purple-300' },
+ video: { label: 'Video', color: 'bg-green-500/15 text-green-300' },
+}
+
+export function ModelSelector() {
+ const { models, activeModel, setActiveModel, fetchModels } = useModels()
+ const [open, setOpen] = useState(false)
+ const ref = useRef<HTMLDivElement>(null)
+
+ useEffect(() => {
+ fetchModels()
+ }, [fetchModels])
+
+ useEffect(() => {
+ const handler = (e: MouseEvent) => {
+ if (ref.current && !ref.current.contains(e.target as Node)) {
+ setOpen(false)
+ }
+ }
+ document.addEventListener('mousedown', handler)
+ return () => document.removeEventListener('mousedown', handler)
+ }, [])
+
+ const activeModelShort = activeModel?.split(':')[0] || 'Select Model'
+ const activeModelObj = models.find((m) => m.name === activeModel)
+
+ return (
+ <div ref={ref} className="relative">
+ <button
+ onClick={() => setOpen(!open)}
+ className="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-gray-100 dark:bg-white/5 border border-gray-300 dark:border-white/10 hover:bg-gray-200 dark:hover:bg-white/10 transition-all text-sm"
+ >
+ {activeModelObj && (
+ <span className={`text-[10px] px-1.5 py-0.5 rounded font-medium ${TYPE_BADGE[activeModelObj.type]?.color || TYPE_BADGE.text.color}`}>
+ {TYPE_BADGE[activeModelObj.type]?.label || 'Text'}
+ </span>
+ )}
+ <span className="text-gray-700 dark:text-gray-300 max-w-[180px] truncate">{activeModelShort}</span>
+ <ChevronDown size={14} className={`text-gray-400 transition-transform ${open ? 'rotate-180' : ''}`} />
+ </button>
+
+ <AnimatePresence>
+ {open && (
+ <motion.div
+ className="absolute top-full mt-2 left-1/2 -translate-x-1/2 w-80 rounded-xl overflow-hidden z-50 bg-white dark:bg-[#2a2a2a] border border-gray-200 dark:border-white/10 shadow-xl"
+ initial={{ opacity: 0, y: -10 }}
+ animate={{ opacity: 1, y: 0 }}
+ exit={{ opacity: 0, y: -10 }}
+ transition={{ duration: 0.15 }}
+ >
+ <div className="p-2 max-h-72 overflow-y-auto scrollbar-thin">
+ {models.length === 0 && (
+ <p className="text-sm text-gray-500 text-center py-4">No models installed</p>
+ )}
+ {models.map((model: AIModel) => {
+ const badge = TYPE_BADGE[model.type] || TYPE_BADGE.text
+ return (
+ <button
+ key={model.name}
+ onClick={() => {
+ setActiveModel(model.name)
+ setOpen(false)
+ }}
+ className={`w-full flex items-center gap-3 px-3 py-2.5 rounded-lg text-left transition-all ${
+ model.name === activeModel
+ ? 'bg-gray-100 dark:bg-white/10 text-gray-900 dark:text-white'
+ : 'hover:bg-gray-50 dark:hover:bg-white/5 text-gray-700 dark:text-gray-300'
+ }`}
+ >
+ <div className="flex-1 min-w-0">
+ <p className="text-sm font-medium truncate">{model.name}</p>
+ <div className="flex items-center gap-2 mt-0.5">
+ <span className={`text-[10px] px-1.5 py-0.5 rounded font-medium ${badge.color}`}>
+ {badge.label}
+ </span>
+ {model.type === 'text' && 'details' in model && (
+ <span className="text-[10px] text-gray-400">
+ {model.details?.parameter_size} · {model.details?.quantization_level}
+ </span>
+ )}
+ {model.size > 0 && (
+ <span className="text-[10px] text-gray-400">{formatBytes(model.size)}</span>
+ )}
+ </div>
+ </div>
+ {model.name === activeModel && <Check size={16} className="text-blue-500 shrink-0" />}
+ </button>
+ )
+ })}
+ </div>
+ </motion.div>
+ )}
+ </AnimatePresence>
+ </div>
+ )
+}
diff --git a/src/components/models/PullModelDialog.tsx b/src/components/models/PullModelDialog.tsx
new file mode 100644
index 00000000..872fb156
--- /dev/null
+++ b/src/components/models/PullModelDialog.tsx
@@ -0,0 +1,64 @@
+import { useState } from 'react'
+import { Download } from 'lucide-react'
+import { Modal } from '../ui/Modal'
+import { GlowButton } from '../ui/GlowButton'
+import { ProgressBar } from '../ui/ProgressBar'
+import { useModels } from '../../hooks/useModels'
+import { formatBytes } from '../../lib/formatters'
+
+interface Props {
+ open: boolean
+ onClose: () => void
+}
+
+export function PullModelDialog({ open, onClose }: Props) {
+ const [modelName, setModelName] = useState('')
+ const { pullModel, isPulling, pullProgress } = useModels()
+
+ const handlePull = () => {
+ if (!modelName.trim() || isPulling) return
+ pullModel(modelName.trim())
+ }
+
+ const progress =
+ pullProgress?.total && pullProgress?.completed
+ ? (pullProgress.completed / pullProgress.total) * 100
+ : 0
+
+ return (
+ <Modal open={open} onClose={onClose} title="Pull Model">
+ <div className="space-y-4">
+ <div>
+ <label className="text-sm text-gray-400 mb-1 block">Model Name</label>
+ <input
+ value={modelName}
+ onChange={(e) => setModelName(e.target.value)}
+ onKeyDown={(e) => e.key === 'Enter' && handlePull()}
+ placeholder="e.g. llama3.1:8b or mannix/llama3.1-8b-abliterated"
+ className="w-full px-3 py-2 rounded-lg bg-white/5 border border-white/10 text-white placeholder-gray-500 focus:outline-none focus:border-white/20 text-sm"
+ disabled={isPulling}
+ />
+ </div>
+
+ {isPulling && pullProgress && (
+ <div className="space-y-2">
+ <p className="text-sm text-gray-300">{pullProgress.status}</p>
+ {pullProgress.total && pullProgress.completed !== undefined && (
+ <>
+ <ProgressBar progress={progress} />
+ <p className="text-xs text-gray-500">
+ {formatBytes(pullProgress.completed || 0)} / {formatBytes(pullProgress.total)}
+ </p>
+ </>
+ )}
+ </div>
+ )}
+
+ <GlowButton onClick={handlePull} disabled={!modelName.trim() || isPulling} className="w-full flex items-center justify-center gap-2">
+ <Download size={16} />
+ {isPulling ? 'Downloading...' : 'Pull Model'}
+ </GlowButton>
+ </div>
+ </Modal>
+ )
+}
diff --git a/src/components/onboarding/Onboarding.tsx b/src/components/onboarding/Onboarding.tsx
new file mode 100644
index 00000000..c435e688
--- /dev/null
+++ b/src/components/onboarding/Onboarding.tsx
@@ -0,0 +1,252 @@
+import { useState } from 'react'
+import { motion, AnimatePresence } from 'framer-motion'
+import { Cpu, Sun, Moon, ArrowRight, Download, Check, ChevronRight } from 'lucide-react'
+import { useSettingsStore } from '../../stores/settingsStore'
+import { useModels } from '../../hooks/useModels'
+import { ONBOARDING_MODELS, type OnboardingModel } from '../../lib/constants'
+import { ProgressBar } from '../ui/ProgressBar'
+import { formatBytes } from '../../lib/formatters'
+
+type Step = 'welcome' | 'theme' | 'models' | 'done'
+
+export function Onboarding() {
+ const [step, setStep] = useState<Step>('welcome')
+ const [selectedModels, setSelectedModels] = useState<string[]>([])
+ const { settings, updateSettings } = useSettingsStore()
+ const { pullModel, isPulling, pullProgress, models: installedModels } = useModels()
+ const [pullingModel, setPullingModel] = useState<string | null>(null)
+ const [pulledModels, setPulledModels] = useState<string[]>([])
+
+ const isDark = settings.theme === 'dark'
+ const bgClass = isDark ? 'bg-[#212121] text-white' : 'bg-white text-gray-900'
+ const cardClass = isDark ? 'bg-[#2f2f2f] border-white/10' : 'bg-gray-50 border-gray-200'
+
+ const toggleModel = (name: string) => {
+ setSelectedModels((prev) =>
+ prev.includes(name) ? prev.filter((m) => m !== name) : [...prev, name]
+ )
+ }
+
+ const handlePullSelected = async () => {
+ for (const name of selectedModels) {
+ if (pulledModels.includes(name)) continue
+ setPullingModel(name)
+ await pullModel(name)
+ setPulledModels((prev) => [...prev, name])
+ }
+ setPullingModel(null)
+ setStep('done')
+ }
+
+ const finish = () => {
+ updateSettings({ onboardingDone: true })
+ }
+
+ const progress =
+ pullProgress?.total && pullProgress?.completed
+ ? (pullProgress.completed / pullProgress.total) * 100
+ : 0
+
+ return (
+ <div className={`h-screen w-screen flex items-center justify-center p-4 ${bgClass}`}>
+ <AnimatePresence mode="wait">
+ {/* Step 1: Welcome */}
+ {step === 'welcome' && (
+ <motion.div
+ key="welcome"
+ className="max-w-md w-full text-center space-y-6"
+ initial={{ opacity: 0, y: 20 }}
+ animate={{ opacity: 1, y: 0 }}
+ exit={{ opacity: 0, y: -20 }}
+ >
+ <div className={`w-20 h-20 rounded-2xl flex items-center justify-center mx-auto ${isDark ? 'bg-white/10' : 'bg-gray-100'}`}>
+ <Cpu size={40} className={isDark ? 'text-gray-300' : 'text-gray-600'} />
+ </div>
+ <h1 className="text-3xl font-bold">Locally Uncensored</h1>
+ <p className={isDark ? 'text-gray-400' : 'text-gray-500'}>
+ Private, local AI chat. No servers, no tracking, everything stays on your machine.
+ </p>
+ <button
+ onClick={() => setStep('theme')}
+ className={`mx-auto flex items-center gap-2 px-6 py-3 rounded-xl font-medium transition-all ${
+ isDark ? 'bg-white text-black hover:bg-gray-200' : 'bg-gray-900 text-white hover:bg-gray-800'
+ }`}
+ >
+ Get Started <ArrowRight size={18} />
+ </button>
+ </motion.div>
+ )}
+
+ {/* Step 2: Theme */}
+ {step === 'theme' && (
+ <motion.div
+ key="theme"
+ className="max-w-md w-full text-center space-y-6"
+ initial={{ opacity: 0, y: 20 }}
+ animate={{ opacity: 1, y: 0 }}
+ exit={{ opacity: 0, y: -20 }}
+ >
+ <h2 className="text-2xl font-bold">Choose your theme</h2>
+ <p className={isDark ? 'text-gray-400' : 'text-gray-500'}>You can change this later in settings.</p>
+ <div className="flex gap-4 justify-center">
+ <button
+ onClick={() => updateSettings({ theme: 'light' })}
+ className={`flex flex-col items-center gap-3 p-6 rounded-xl border-2 transition-all w-40 ${
+ !isDark ? 'border-gray-900 bg-gray-50' : 'border-white/10 hover:border-white/20'
+ }`}
+ >
+ <Sun size={32} className={isDark ? 'text-gray-400' : 'text-yellow-500'} />
+ <span className="font-medium">Light</span>
+ </button>
+ <button
+ onClick={() => updateSettings({ theme: 'dark' })}
+ className={`flex flex-col items-center gap-3 p-6 rounded-xl border-2 transition-all w-40 ${
+ isDark ? 'border-white bg-white/10' : 'border-gray-200 hover:border-gray-400'
+ }`}
+ >
+ <Moon size={32} className={isDark ? 'text-white' : 'text-gray-600'} />
+ <span className="font-medium">Dark</span>
+ </button>
+ </div>
+ <button
+ onClick={() => setStep('models')}
+ className={`mx-auto flex items-center gap-2 px-6 py-3 rounded-xl font-medium transition-all ${
+ isDark ? 'bg-white text-black hover:bg-gray-200' : 'bg-gray-900 text-white hover:bg-gray-800'
+ }`}
+ >
+ Next <ArrowRight size={18} />
+ </button>
+ </motion.div>
+ )}
+
+ {/* Step 3: Models */}
+ {step === 'models' && (
+ <motion.div
+ key="models"
+ className="max-w-2xl w-full space-y-4"
+ initial={{ opacity: 0, y: 20 }}
+ animate={{ opacity: 1, y: 0 }}
+ exit={{ opacity: 0, y: -20 }}
+ >
+ <div className="text-center mb-6">
+ <h2 className="text-2xl font-bold mb-2">Choose your models</h2>
+ <p className={isDark ? 'text-gray-400' : 'text-gray-500'}>
+ Select uncensored models to install. You can add more later.
+ </p>
+ </div>
+
+ {isPulling && pullingModel && (
+ <div className={`p-4 rounded-xl border ${cardClass}`}>
+ <p className="text-sm mb-2">
+ Installing <span className="font-mono font-medium">{pullingModel}</span>...
+ </p>
+ <p className={`text-xs mb-2 ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>{pullProgress?.status}</p>
+ {pullProgress?.total && pullProgress?.completed !== undefined && (
+ <ProgressBar progress={progress} />
+ )}
+ </div>
+ )}
+
+ <div className="grid grid-cols-1 sm:grid-cols-2 gap-3 max-h-[50vh] overflow-y-auto scrollbar-thin pr-1">
+ {ONBOARDING_MODELS.map((model) => {
+ const selected = selectedModels.includes(model.name)
+ const pulled = pulledModels.includes(model.name) || installedModels.some((m) => m.name === model.name)
+ return (
+ <button
+ key={model.name}
+ onClick={() => !pulled && !isPulling && toggleModel(model.name)}
+ disabled={pulled || isPulling}
+ className={`text-left p-4 rounded-xl border transition-all ${
+ pulled
+ ? isDark ? 'bg-green-500/10 border-green-500/30' : 'bg-green-50 border-green-300'
+ : selected
+ ? isDark ? 'bg-white/10 border-white/30' : 'bg-gray-100 border-gray-900'
+ : isDark ? 'border-white/10 hover:border-white/20' : 'border-gray-200 hover:border-gray-400'
+ } ${isPulling ? 'opacity-60' : ''}`}
+ >
+ <div className="flex items-start justify-between gap-2">
+ <div>
+ <div className="flex items-center gap-2">
+ <span className="font-medium text-sm">{model.label}</span>
+ {model.recommended && (
+ <span className={`text-[10px] px-1.5 py-0.5 rounded ${isDark ? 'bg-white/10 text-gray-300' : 'bg-gray-200 text-gray-600'}`}>
+ Recommended
+ </span>
+ )}
+ </div>
+ <p className={`text-xs mt-1 ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>{model.description}</p>
+ <p className={`text-xs mt-1 ${isDark ? 'text-gray-500' : 'text-gray-400'}`}>
+ {model.size} · VRAM: {model.vram}
+ </p>
+ </div>
+ {pulled ? (
+ <Check size={18} className="text-green-400 shrink-0 mt-1" />
+ ) : selected ? (
+ <div className={`w-5 h-5 rounded flex items-center justify-center shrink-0 mt-1 ${isDark ? 'bg-white' : 'bg-gray-900'}`}>
+ <Check size={14} className={isDark ? 'text-black' : 'text-white'} />
+ </div>
+ ) : (
+ <div className={`w-5 h-5 rounded border shrink-0 mt-1 ${isDark ? 'border-white/20' : 'border-gray-300'}`} />
+ )}
+ </div>
+ </button>
+ )
+ })}
+ </div>
+
+ <div className="flex items-center gap-3 pt-2">
+ {selectedModels.length > 0 && !isPulling ? (
+ <button
+ onClick={handlePullSelected}
+ className={`flex-1 flex items-center justify-center gap-2 px-6 py-3 rounded-xl font-medium transition-all ${
+ isDark ? 'bg-white text-black hover:bg-gray-200' : 'bg-gray-900 text-white hover:bg-gray-800'
+ }`}
+ >
+ <Download size={18} /> Install {selectedModels.length} model{selectedModels.length > 1 ? 's' : ''}
+ </button>
+ ) : !isPulling ? (
+ <button
+ onClick={() => setStep('done')}
+ className={`flex-1 flex items-center justify-center gap-2 px-6 py-3 rounded-xl font-medium transition-all ${
+ isDark ? 'bg-white/10 text-white hover:bg-white/15' : 'bg-gray-100 text-gray-700 hover:bg-gray-200'
+ }`}
+ >
+ Skip for now <ChevronRight size={18} />
+ </button>
+ ) : null}
+ </div>
+ </motion.div>
+ )}
+
+ {/* Step 4: Done */}
+ {step === 'done' && (
+ <motion.div
+ key="done"
+ className="max-w-md w-full text-center space-y-6"
+ initial={{ opacity: 0, y: 20 }}
+ animate={{ opacity: 1, y: 0 }}
+ exit={{ opacity: 0, y: -20 }}
+ >
+ <div className={`w-20 h-20 rounded-2xl flex items-center justify-center mx-auto ${isDark ? 'bg-green-500/10' : 'bg-green-50'}`}>
+ <Check size={40} className="text-green-400" />
+ </div>
+ <h2 className="text-2xl font-bold">You're all set!</h2>
+ <p className={isDark ? 'text-gray-400' : 'text-gray-500'}>
+ {pulledModels.length > 0
+ ? `${pulledModels.length} model${pulledModels.length > 1 ? 's' : ''} installed. Start chatting!`
+ : 'You can install models anytime from the Model Manager.'}
+ </p>
+ <button
+ onClick={finish}
+ className={`mx-auto flex items-center gap-2 px-6 py-3 rounded-xl font-medium transition-all ${
+ isDark ? 'bg-white text-black hover:bg-gray-200' : 'bg-gray-900 text-white hover:bg-gray-800'
+ }`}
+ >
+ Start Chatting <ArrowRight size={18} />
+ </button>
+ </motion.div>
+ )}
+ </AnimatePresence>
+ </div>
+ )
+}
diff --git a/src/components/personas/PersonaCard.tsx b/src/components/personas/PersonaCard.tsx
new file mode 100644
index 00000000..7b7fffe4
--- /dev/null
+++ b/src/components/personas/PersonaCard.tsx
@@ -0,0 +1,35 @@
+import { motion } from 'framer-motion'
+import { Bot, Code, Feather, BarChart3, Zap, User } from 'lucide-react'
+
+const iconMap: Record<string, typeof Bot> = { Bot, Code, Feather, BarChart3, Zap, User }
+
+interface Props {
+ name: string
+ icon: string
+ isActive: boolean
+ onClick: () => void
+}
+
+export function PersonaCard({ name, icon, isActive, onClick }: Props) {
+ const Icon = iconMap[icon] || Bot
+
+ return (
+ <motion.button
+ onClick={onClick}
+ className={`flex flex-col items-center justify-center gap-1.5 rounded-xl border transition-all cursor-pointer w-full aspect-square ${
+ isActive
+ ? 'bg-gray-200 dark:bg-white/10 border-gray-400 dark:border-white/20'
+ : 'bg-gray-50 dark:bg-white/[0.03] border-gray-200 dark:border-white/[0.06] hover:bg-gray-100 dark:hover:bg-white/[0.06]'
+ }`}
+ whileHover={{ scale: 1.03 }}
+ whileTap={{ scale: 0.97 }}
+ >
+ <div className={`w-8 h-8 rounded-lg flex items-center justify-center shrink-0 ${isActive ? 'bg-gray-300 dark:bg-white/10' : 'bg-gray-100 dark:bg-white/5'}`}>
+ <Icon size={16} className={isActive ? 'text-gray-700 dark:text-gray-300' : 'text-gray-400'} />
+ </div>
+ <span className={`text-[10px] font-medium leading-tight text-center line-clamp-2 px-1 ${isActive ? 'text-gray-800 dark:text-white' : 'text-gray-500 dark:text-gray-400'}`}>
+ {name}
+ </span>
+ </motion.button>
+ )
+}
diff --git a/src/components/personas/PersonaPanel.tsx b/src/components/personas/PersonaPanel.tsx
new file mode 100644
index 00000000..3c578d11
--- /dev/null
+++ b/src/components/personas/PersonaPanel.tsx
@@ -0,0 +1,46 @@
+import { useState } from 'react'
+import { Plus, Trash2 } from 'lucide-react'
+import { useSettingsStore } from '../../stores/settingsStore'
+import { PersonaCard } from './PersonaCard'
+import { SystemPromptEditor } from './SystemPromptEditor'
+
+export function PersonaPanel() {
+ const { personas, activePersonaId, setActivePersona, removePersona } = useSettingsStore()
+ const [showEditor, setShowEditor] = useState(false)
+
+ return (
+ <div className="w-full max-w-2xl">
+ <div className="grid grid-cols-3 sm:grid-cols-4 md:grid-cols-5 gap-2 mb-4 max-h-[300px] overflow-y-auto scrollbar-thin pr-1">
+ {personas.map((persona) => (
+ <div key={persona.id} className="relative group">
+ <PersonaCard
+ name={persona.name}
+ icon={persona.icon}
+ isActive={persona.id === activePersonaId}
+ onClick={() => setActivePersona(persona.id)}
+ />
+ {!persona.isBuiltIn && (
+ <button
+ onClick={() => removePersona(persona.id)}
+ className="absolute -top-1 -right-1 w-5 h-5 rounded-full bg-red-500/80 text-white flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity"
+ >
+ <Trash2 size={10} />
+ </button>
+ )}
+ </div>
+ ))}
+ <button
+ onClick={() => setShowEditor(!showEditor)}
+ className="flex flex-col items-center gap-2 p-4 rounded-xl border border-dashed border-white/10 hover:border-white/15 transition-all cursor-pointer"
+ >
+ <div className="w-10 h-10 rounded-lg flex items-center justify-center bg-white/5">
+ <Plus size={20} className="text-gray-500" />
+ </div>
+ <span className="text-xs text-gray-500">Custom</span>
+ </button>
+ </div>
+
+ {showEditor && <SystemPromptEditor />}
+ </div>
+ )
+}
diff --git a/src/components/personas/SystemPromptEditor.tsx b/src/components/personas/SystemPromptEditor.tsx
new file mode 100644
index 00000000..956d1dba
--- /dev/null
+++ b/src/components/personas/SystemPromptEditor.tsx
@@ -0,0 +1,44 @@
+import { useState } from 'react'
+import { v4 as uuid } from 'uuid'
+import { GlowButton } from '../ui/GlowButton'
+import { useSettingsStore } from '../../stores/settingsStore'
+
+export function SystemPromptEditor() {
+ const { addPersona } = useSettingsStore()
+ const [name, setName] = useState('')
+ const [prompt, setPrompt] = useState('')
+
+ const handleSave = () => {
+ if (!name.trim() || !prompt.trim()) return
+ addPersona({
+ id: uuid(),
+ name: name.trim(),
+ icon: 'User',
+ systemPrompt: prompt.trim(),
+ isBuiltIn: false,
+ })
+ setName('')
+ setPrompt('')
+ }
+
+ return (
+ <div className="space-y-3">
+ <input
+ value={name}
+ onChange={(e) => setName(e.target.value)}
+ placeholder="Persona name..."
+ className="w-full px-3 py-2 rounded-lg bg-white/5 border border-white/10 text-white placeholder-gray-500 focus:outline-none focus:border-white/20 text-sm"
+ />
+ <textarea
+ value={prompt}
+ onChange={(e) => setPrompt(e.target.value)}
+ placeholder="System prompt..."
+ rows={4}
+ className="w-full px-3 py-2 rounded-lg bg-white/5 border border-white/10 text-white placeholder-gray-500 focus:outline-none focus:border-white/20 text-sm resize-none"
+ />
+ <GlowButton onClick={handleSave} disabled={!name.trim() || !prompt.trim()} className="w-full">
+ Save Persona
+ </GlowButton>
+ </div>
+ )
+}
diff --git a/src/components/settings/ApiConfig.tsx b/src/components/settings/ApiConfig.tsx
new file mode 100644
index 00000000..1fabbe76
--- /dev/null
+++ b/src/components/settings/ApiConfig.tsx
@@ -0,0 +1,47 @@
+import { useState } from 'react'
+import { Wifi, WifiOff } from 'lucide-react'
+import { GlowButton } from '../ui/GlowButton'
+import { checkConnection } from '../../api/ollama'
+
+interface Props {
+ endpoint: string
+ onChange: (endpoint: string) => void
+}
+
+export function ApiConfig({ endpoint, onChange }: Props) {
+ const [status, setStatus] = useState<'idle' | 'connected' | 'failed'>('idle')
+ const [testing, setTesting] = useState(false)
+
+ const handleTest = async () => {
+ setTesting(true)
+ const ok = await checkConnection()
+ setStatus(ok ? 'connected' : 'failed')
+ setTesting(false)
+ }
+
+ return (
+ <div className="space-y-3">
+ <label className="text-sm text-gray-300">API Endpoint</label>
+ <div className="flex gap-2">
+ <input
+ value={endpoint}
+ onChange={(e) => onChange(e.target.value)}
+ className="flex-1 px-3 py-2 rounded-lg bg-white/5 border border-white/10 text-white text-sm focus:outline-none focus:border-white/20 font-mono"
+ />
+ <GlowButton variant="secondary" onClick={handleTest} disabled={testing}>
+ {testing ? '...' : 'Test'}
+ </GlowButton>
+ </div>
+ {status === 'connected' && (
+ <div className="flex items-center gap-2 text-green-400 text-sm">
+ <Wifi size={14} /> Connected
+ </div>
+ )}
+ {status === 'failed' && (
+ <div className="flex items-center gap-2 text-red-400 text-sm">
+ <WifiOff size={14} /> Connection failed
+ </div>
+ )}
+ </div>
+ )
+}
diff --git a/src/components/settings/SettingsPage.tsx b/src/components/settings/SettingsPage.tsx
new file mode 100644
index 00000000..981dd8c2
--- /dev/null
+++ b/src/components/settings/SettingsPage.tsx
@@ -0,0 +1,110 @@
+import { ArrowLeft, RotateCcw, Sun, Moon } from 'lucide-react'
+import { useSettingsStore } from '../../stores/settingsStore'
+import { useUIStore } from '../../stores/uiStore'
+import { GlassCard } from '../ui/GlassCard'
+import { GlowButton } from '../ui/GlowButton'
+import { SliderControl } from './SliderControl'
+import { ApiConfig } from './ApiConfig'
+import { PersonaPanel } from '../personas/PersonaPanel'
+
+export function SettingsPage() {
+ const { settings, updateSettings, resetSettings } = useSettingsStore()
+ const { setView } = useUIStore()
+
+ return (
+ <div className="h-full overflow-y-auto scrollbar-thin p-6">
+ <div className="max-w-2xl mx-auto space-y-6">
+ <div className="flex items-center gap-3 mb-6">
+ <button
+ onClick={() => setView('chat')}
+ className="p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-white/10 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white transition-colors"
+ >
+ <ArrowLeft size={20} />
+ </button>
+ <h1 className="text-xl font-bold text-gray-900 dark:text-white">Settings</h1>
+ </div>
+
+ <GlassCard>
+ <h2 className="text-sm font-semibold text-gray-900 dark:text-white mb-4 uppercase tracking-wider">Appearance</h2>
+ <div className="space-y-3">
+ <label className="text-sm text-gray-600 dark:text-gray-300">Theme</label>
+ <div className="flex gap-2">
+ <GlowButton
+ variant={settings.theme === 'light' ? 'primary' : 'secondary'}
+ onClick={() => updateSettings({ theme: 'light' })}
+ className="flex-1 flex items-center justify-center gap-2"
+ >
+ <Sun size={16} /> Light
+ </GlowButton>
+ <GlowButton
+ variant={settings.theme === 'dark' ? 'primary' : 'secondary'}
+ onClick={() => updateSettings({ theme: 'dark' })}
+ className="flex-1 flex items-center justify-center gap-2"
+ >
+ <Moon size={16} /> Dark
+ </GlowButton>
+ </div>
+ </div>
+ </GlassCard>
+
+ <GlassCard>
+ <h2 className="text-sm font-semibold text-gray-900 dark:text-white mb-4 uppercase tracking-wider">Generation Parameters</h2>
+ <div className="space-y-5">
+ <SliderControl
+ label="Temperature"
+ value={settings.temperature}
+ min={0}
+ max={2}
+ step={0.1}
+ onChange={(v) => updateSettings({ temperature: v })}
+ />
+ <SliderControl
+ label="Top P"
+ value={settings.topP}
+ min={0}
+ max={1}
+ step={0.05}
+ onChange={(v) => updateSettings({ topP: v })}
+ />
+ <SliderControl
+ label="Top K"
+ value={settings.topK}
+ min={1}
+ max={100}
+ step={1}
+ onChange={(v) => updateSettings({ topK: v })}
+ />
+ <div className="space-y-2">
+ <div className="flex items-center justify-between">
+ <label className="text-sm text-gray-600 dark:text-gray-300">Max Tokens</label>
+ <span className="text-sm font-mono text-gray-600 dark:text-gray-300">{settings.maxTokens || 'Unlimited'}</span>
+ </div>
+ <input
+ type="number"
+ value={settings.maxTokens}
+ onChange={(e) => updateSettings({ maxTokens: parseInt(e.target.value) || 0 })}
+ min={0}
+ placeholder="0 = unlimited"
+ className="w-full px-3 py-2 rounded-lg bg-gray-100 dark:bg-white/5 border border-gray-300 dark:border-white/10 text-gray-900 dark:text-white text-sm focus:outline-none focus:border-gray-400 dark:focus:border-white/20 font-mono"
+ />
+ </div>
+ </div>
+ </GlassCard>
+
+ <GlassCard>
+ <h2 className="text-sm font-semibold text-gray-900 dark:text-white mb-4 uppercase tracking-wider">API Configuration</h2>
+ <ApiConfig endpoint={settings.apiEndpoint} onChange={(v) => updateSettings({ apiEndpoint: v })} />
+ </GlassCard>
+
+ <GlassCard>
+ <h2 className="text-sm font-semibold text-gray-900 dark:text-white mb-4 uppercase tracking-wider">Personas</h2>
+ <PersonaPanel />
+ </GlassCard>
+
+ <GlowButton variant="secondary" onClick={resetSettings} className="w-full flex items-center justify-center gap-2">
+ <RotateCcw size={16} /> Reset to Defaults
+ </GlowButton>
+ </div>
+ </div>
+ )
+}
diff --git a/src/components/settings/SliderControl.tsx b/src/components/settings/SliderControl.tsx
new file mode 100644
index 00000000..8a2581c7
--- /dev/null
+++ b/src/components/settings/SliderControl.tsx
@@ -0,0 +1,32 @@
+interface Props {
+ label: string
+ value: number
+ min: number
+ max: number
+ step: number
+ onChange: (value: number) => void
+}
+
+export function SliderControl({ label, value, min, max, step, onChange }: Props) {
+ return (
+ <div className="space-y-2">
+ <div className="flex items-center justify-between">
+ <label className="text-sm text-gray-300">{label}</label>
+ <span className="text-sm font-mono text-gray-300">{value}</span>
+ </div>
+ <input
+ type="range"
+ min={min}
+ max={max}
+ step={step}
+ value={value}
+ onChange={(e) => onChange(parseFloat(e.target.value))}
+ className="w-full accent-white cursor-pointer"
+ />
+ <div className="flex justify-between text-xs text-gray-600">
+ <span>{min}</span>
+ <span>{max}</span>
+ </div>
+ </div>
+ )
+}
diff --git a/src/components/three/ParticleBackground.tsx b/src/components/three/ParticleBackground.tsx
new file mode 100644
index 00000000..c90e92bc
--- /dev/null
+++ b/src/components/three/ParticleBackground.tsx
@@ -0,0 +1,16 @@
+import { Canvas } from '@react-three/fiber'
+import { ParticleField } from './ParticleField'
+
+export function ParticleBackground() {
+ return (
+ <div className="fixed inset-0 z-0 pointer-events-none">
+ <Canvas
+ camera={{ position: [0, 0, 5], fov: 60 }}
+ gl={{ alpha: true, antialias: false }}
+ style={{ background: 'transparent' }}
+ >
+ <ParticleField />
+ </Canvas>
+ </div>
+ )
+}
diff --git a/src/components/three/ParticleField.tsx b/src/components/three/ParticleField.tsx
new file mode 100644
index 00000000..da4cad9b
--- /dev/null
+++ b/src/components/three/ParticleField.tsx
@@ -0,0 +1,96 @@
+import { useRef, useMemo } from 'react'
+import { useFrame, useThree } from '@react-three/fiber'
+import * as THREE from 'three'
+import { useSettingsStore } from '../../stores/settingsStore'
+import { PARTICLE_COUNTS } from '../../lib/constants'
+
+export function ParticleField() {
+ const pointsRef = useRef<THREE.Points>(null)
+ const mouseRef = useRef(new THREE.Vector2(0, 0))
+ const { viewport } = useThree()
+
+ const particleDensity = useSettingsStore((s) => s.settings.particleDensity)
+ const count = PARTICLE_COUNTS[particleDensity] || 3000
+
+ const { positions, colors, sizes } = useMemo(() => {
+ const positions = new Float32Array(count * 3)
+ const colors = new Float32Array(count * 3)
+ const sizes = new Float32Array(count)
+
+ for (let i = 0; i < count; i++) {
+ const i3 = i * 3
+ // Sphere distribution
+ const theta = Math.random() * Math.PI * 2
+ const phi = Math.acos(2 * Math.random() - 1)
+ const r = 3 + Math.random() * 4
+
+ positions[i3] = r * Math.sin(phi) * Math.cos(theta)
+ positions[i3 + 1] = r * Math.sin(phi) * Math.sin(theta)
+ positions[i3 + 2] = r * Math.cos(phi)
+
+ // Subtle white/gray
+ const brightness = 0.3 + Math.random() * 0.4
+ colors[i3] = brightness
+ colors[i3 + 1] = brightness
+ colors[i3 + 2] = brightness + Math.random() * 0.1
+
+ sizes[i] = 1.5 + Math.random() * 2
+ }
+
+ return { positions, colors, sizes }
+ }, [count])
+
+ useFrame(({ clock, pointer }) => {
+ if (!pointsRef.current) return
+
+ mouseRef.current.lerp(
+ new THREE.Vector2(pointer.x * viewport.width * 0.5, pointer.y * viewport.height * 0.5),
+ 0.05
+ )
+
+ const time = clock.getElapsedTime()
+ pointsRef.current.rotation.y = time * 0.02
+ pointsRef.current.rotation.x = Math.sin(time * 0.01) * 0.1
+
+ const posArray = pointsRef.current.geometry.attributes.position.array as Float32Array
+ for (let i = 0; i < count; i++) {
+ const i3 = i * 3
+ const ox = positions[i3]
+ const oy = positions[i3 + 1]
+
+ // Gentle wave motion
+ posArray[i3] = ox + Math.sin(time * 0.3 + i * 0.01) * 0.1
+ posArray[i3 + 1] = oy + Math.cos(time * 0.2 + i * 0.015) * 0.1
+
+ // Mouse repulsion
+ const dx = posArray[i3] - mouseRef.current.x
+ const dy = posArray[i3 + 1] - mouseRef.current.y
+ const dist = Math.sqrt(dx * dx + dy * dy)
+ if (dist < 2) {
+ const force = (2 - dist) * 0.3
+ posArray[i3] += (dx / dist) * force * 0.1
+ posArray[i3 + 1] += (dy / dist) * force * 0.1
+ }
+ }
+ pointsRef.current.geometry.attributes.position.needsUpdate = true
+ })
+
+ return (
+ <points ref={pointsRef}>
+ <bufferGeometry>
+ <bufferAttribute attach="attributes-position" args={[positions, 3]} />
+ <bufferAttribute attach="attributes-color" args={[colors, 3]} />
+ <bufferAttribute attach="attributes-size" args={[sizes, 1]} />
+ </bufferGeometry>
+ <pointsMaterial
+ size={0.03}
+ vertexColors
+ transparent
+ opacity={0.6}
+ sizeAttenuation
+ blending={THREE.AdditiveBlending}
+ depthWrite={false}
+ />
+ </points>
+ )
+}
diff --git a/src/components/ui/GlassCard.tsx b/src/components/ui/GlassCard.tsx
new file mode 100644
index 00000000..3f884c3d
--- /dev/null
+++ b/src/components/ui/GlassCard.tsx
@@ -0,0 +1,20 @@
+import { motion } from 'framer-motion'
+import type { ReactNode } from 'react'
+
+interface Props {
+ children: ReactNode
+ className?: string
+ hover?: boolean
+}
+
+export function GlassCard({ children, className = '', hover = false }: Props) {
+ return (
+ <motion.div
+ className={`glass-card rounded-xl p-4 ${className}`}
+ whileHover={hover ? { scale: 1.02, borderColor: 'rgba(0, 240, 255, 0.3)' } : undefined}
+ transition={{ duration: 0.2 }}
+ >
+ {children}
+ </motion.div>
+ )
+}
diff --git a/src/components/ui/GlowButton.tsx b/src/components/ui/GlowButton.tsx
new file mode 100644
index 00000000..e5963be9
--- /dev/null
+++ b/src/components/ui/GlowButton.tsx
@@ -0,0 +1,25 @@
+import { motion } from 'framer-motion'
+import type { ReactNode, ButtonHTMLAttributes } from 'react'
+
+interface Props extends ButtonHTMLAttributes<HTMLButtonElement> {
+ children: ReactNode
+ variant?: 'primary' | 'secondary' | 'danger'
+}
+
+const variants = {
+ primary: 'bg-white/10 border-white/15 text-white hover:bg-white/15',
+ secondary: 'bg-white/5 border-white/10 text-gray-300 hover:bg-white/10',
+ danger: 'bg-red-500/15 border-red-500/30 text-red-300 hover:bg-red-500/25',
+}
+
+export function GlowButton({ children, variant = 'primary', className = '', ...props }: Props) {
+ return (
+ <motion.button
+ className={`px-4 py-2 rounded-lg border font-medium transition-all duration-300 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed ${variants[variant]} ${className}`}
+ whileTap={{ scale: 0.95 }}
+ {...(props as any)}
+ >
+ {children}
+ </motion.button>
+ )
+}
diff --git a/src/components/ui/Modal.tsx b/src/components/ui/Modal.tsx
new file mode 100644
index 00000000..f34ba6cd
--- /dev/null
+++ b/src/components/ui/Modal.tsx
@@ -0,0 +1,45 @@
+import { motion, AnimatePresence } from 'framer-motion'
+import { X } from 'lucide-react'
+import type { ReactNode } from 'react'
+
+interface Props {
+ open: boolean
+ onClose: () => void
+ title: string
+ children: ReactNode
+}
+
+export function Modal({ open, onClose, title, children }: Props) {
+ return (
+ <AnimatePresence>
+ {open && (
+ <motion.div
+ className="fixed inset-0 z-50 flex items-center justify-center p-4"
+ initial={{ opacity: 0 }}
+ animate={{ opacity: 1 }}
+ exit={{ opacity: 0 }}
+ >
+ <div className="absolute inset-0 bg-black/60 backdrop-blur-sm" onClick={onClose} />
+ <motion.div
+ className="glass-card relative z-10 w-full max-w-lg rounded-2xl p-6"
+ initial={{ scale: 0.9, opacity: 0 }}
+ animate={{ scale: 1, opacity: 1 }}
+ exit={{ scale: 0.9, opacity: 0 }}
+ transition={{ type: 'spring', damping: 25, stiffness: 300 }}
+ >
+ <div className="flex items-center justify-between mb-4">
+ <h2 className="text-lg font-semibold text-white">{title}</h2>
+ <button
+ onClick={onClose}
+ className="p-1 rounded-lg hover:bg-white/10 text-gray-400 hover:text-white transition-colors"
+ >
+ <X size={20} />
+ </button>
+ </div>
+ {children}
+ </motion.div>
+ </motion.div>
+ )}
+ </AnimatePresence>
+ )
+}
diff --git a/src/components/ui/ProgressBar.tsx b/src/components/ui/ProgressBar.tsx
new file mode 100644
index 00000000..e1ccc65b
--- /dev/null
+++ b/src/components/ui/ProgressBar.tsx
@@ -0,0 +1,24 @@
+import { motion } from 'framer-motion'
+
+interface Props {
+ progress: number // 0-100
+ label?: string
+}
+
+export function ProgressBar({ progress, label }: Props) {
+ return (
+ <div className="w-full">
+ {label && <p className="text-sm text-gray-400 mb-1">{label}</p>}
+ <div className="w-full h-2 rounded-full bg-white/5 overflow-hidden">
+ <motion.div
+ className="h-full rounded-full bg-white/60"
+ style={{}}
+ initial={{ width: 0 }}
+ animate={{ width: `${Math.min(progress, 100)}%` }}
+ transition={{ duration: 0.3 }}
+ />
+ </div>
+ <p className="text-xs text-gray-500 mt-1 text-right">{Math.round(progress)}%</p>
+ </div>
+ )
+}
diff --git a/src/hooks/useAutoScroll.ts b/src/hooks/useAutoScroll.ts
new file mode 100644
index 00000000..db41cac4
--- /dev/null
+++ b/src/hooks/useAutoScroll.ts
@@ -0,0 +1,27 @@
+import { useEffect, useRef } from 'react'
+
+export function useAutoScroll(dependency: unknown) {
+ const ref = useRef<HTMLDivElement>(null)
+ const shouldScroll = useRef(true)
+
+ useEffect(() => {
+ const el = ref.current
+ if (!el) return
+
+ const handleScroll = () => {
+ const { scrollTop, scrollHeight, clientHeight } = el
+ shouldScroll.current = scrollHeight - scrollTop - clientHeight < 100
+ }
+
+ el.addEventListener('scroll', handleScroll)
+ return () => el.removeEventListener('scroll', handleScroll)
+ }, [])
+
+ useEffect(() => {
+ if (shouldScroll.current && ref.current) {
+ ref.current.scrollTop = ref.current.scrollHeight
+ }
+ }, [dependency])
+
+ return ref
+}
diff --git a/src/hooks/useChat.ts b/src/hooks/useChat.ts
new file mode 100644
index 00000000..eff2d35a
--- /dev/null
+++ b/src/hooks/useChat.ts
@@ -0,0 +1,143 @@
+import { useRef, useState, useCallback } from 'react'
+import { v4 as uuid } from 'uuid'
+import { chatStream } from '../api/ollama'
+import { parseNDJSONStream } from '../api/stream'
+import { useChatStore } from '../stores/chatStore'
+import { useModelStore } from '../stores/modelStore'
+import { useSettingsStore } from '../stores/settingsStore'
+
+interface ChatChunk {
+ message?: { content: string }
+ done?: boolean
+}
+
+export function useChat() {
+ const [isGenerating, setIsGenerating] = useState(false)
+ const abortRef = useRef<AbortController | null>(null)
+ const contentRef = useRef('')
+ const thinkingRef = useRef('')
+ const isThinkingRef = useRef(false)
+
+ const sendMessage = useCallback(async (content: string) => {
+ const { activeModel } = useModelStore.getState()
+ const { settings } = useSettingsStore.getState()
+ const store = useChatStore.getState()
+ const persona = useSettingsStore.getState().getActivePersona()
+
+ if (!activeModel) return
+
+ let convId = store.activeConversationId
+ if (!convId) {
+ convId = store.createConversation(activeModel, persona?.systemPrompt || '')
+ }
+
+ const userMessage = {
+ id: uuid(),
+ role: 'user' as const,
+ content,
+ timestamp: Date.now(),
+ }
+ useChatStore.getState().addMessage(convId, userMessage)
+
+ const assistantMessage = {
+ id: uuid(),
+ role: 'assistant' as const,
+ content: '',
+ thinking: '',
+ timestamp: Date.now(),
+ }
+ useChatStore.getState().addMessage(convId, assistantMessage)
+
+ const conv = useChatStore.getState().conversations.find((c) => c.id === convId)
+ if (!conv) return
+
+ const messages = [
+ ...(conv.systemPrompt ? [{ role: 'system', content: conv.systemPrompt }] : []),
+ ...conv.messages.map((m) => ({ role: m.role, content: m.content })),
+ ]
+
+ const abort = new AbortController()
+ abortRef.current = abort
+ setIsGenerating(true)
+ contentRef.current = ''
+ thinkingRef.current = ''
+ isThinkingRef.current = false
+
+ try {
+ const response = await chatStream(
+ activeModel,
+ messages,
+ {
+ temperature: settings.temperature,
+ top_p: settings.topP,
+ top_k: settings.topK,
+ num_predict: settings.maxTokens || undefined,
+ },
+ abort.signal
+ )
+
+ let frameScheduled = false
+ for await (const chunk of parseNDJSONStream<ChatChunk>(response)) {
+ if (chunk.message?.content) {
+ const text = chunk.message.content
+
+ // Parse <think> tags character by character as they stream in
+ for (const char of text) {
+ // Check if we're entering a <think> block
+ if (!isThinkingRef.current) {
+ contentRef.current += char
+ // Check if content ends with <think>
+ if (contentRef.current.endsWith('<think>')) {
+ contentRef.current = contentRef.current.slice(0, -7)
+ isThinkingRef.current = true
+ }
+ } else {
+ thinkingRef.current += char
+ // Check if thinking ends with </think>
+ if (thinkingRef.current.endsWith('</think>')) {
+ thinkingRef.current = thinkingRef.current.slice(0, -8)
+ isThinkingRef.current = false
+ }
+ }
+ }
+
+ if (!frameScheduled) {
+ frameScheduled = true
+ requestAnimationFrame(() => {
+ const cId = convId!
+ const mId = assistantMessage.id
+ useChatStore.getState().updateMessageContent(cId, mId, contentRef.current)
+ if (thinkingRef.current) {
+ useChatStore.getState().updateMessageThinking(cId, mId, thinkingRef.current)
+ }
+ frameScheduled = false
+ })
+ }
+ }
+ if (chunk.done) {
+ useChatStore.getState().updateMessageContent(convId!, assistantMessage.id, contentRef.current)
+ if (thinkingRef.current) {
+ useChatStore.getState().updateMessageThinking(convId!, assistantMessage.id, thinkingRef.current)
+ }
+ }
+ }
+ } catch (err) {
+ if ((err as Error).name !== 'AbortError') {
+ useChatStore.getState().updateMessageContent(
+ convId!,
+ assistantMessage.id,
+ contentRef.current + '\n\n⚠️ Error: Connection failed'
+ )
+ }
+ } finally {
+ setIsGenerating(false)
+ abortRef.current = null
+ }
+ }, [])
+
+ const stopGeneration = useCallback(() => {
+ abortRef.current?.abort()
+ }, [])
+
+ return { sendMessage, stopGeneration, isGenerating }
+}
diff --git a/src/hooks/useCreate.ts b/src/hooks/useCreate.ts
new file mode 100644
index 00000000..10a7ba55
--- /dev/null
+++ b/src/hooks/useCreate.ts
@@ -0,0 +1,143 @@
+import { useState, useCallback, useRef } from 'react'
+import { v4 as uuid } from 'uuid'
+import {
+ checkComfyConnection,
+ getCheckpoints,
+ getSamplers,
+ submitWorkflow,
+ getHistory,
+ buildTxt2ImgWorkflow,
+ buildTxt2VidWorkflow,
+ type ComfyUIOutput,
+} from '../api/comfyui'
+import { useCreateStore, type GalleryItem } from '../stores/createStore'
+
+export function useCreate() {
+ const store = useCreateStore()
+ const [connected, setConnected] = useState<boolean | null>(null)
+ const [checkpoints, setCheckpoints] = useState<string[]>([])
+ const [samplerList, setSamplerList] = useState<string[]>([])
+ const pollRef = useRef<ReturnType<typeof setInterval> | null>(null)
+
+ const checkConnection = useCallback(async () => {
+ const ok = await checkComfyConnection()
+ setConnected(ok)
+ return ok
+ }, [])
+
+ const fetchModels = useCallback(async () => {
+ const [ckpts, samplers] = await Promise.all([getCheckpoints(), getSamplers()])
+ setCheckpoints(ckpts)
+ setSamplerList(samplers)
+ if (ckpts.length > 0 && !store.model) {
+ store.setModel(ckpts[0])
+ }
+ }, [store])
+
+ const generate = useCallback(async () => {
+ const {
+ mode, prompt, negativePrompt, model, sampler, steps, cfgScale,
+ width, height, seed, frames, fps,
+ setIsGenerating, setProgress, setCurrentPromptId, addToGallery,
+ } = useCreateStore.getState()
+
+ if (!prompt.trim() || !model) return
+
+ setIsGenerating(true)
+ setProgress(0)
+
+ try {
+ const workflow = mode === 'video'
+ ? buildTxt2VidWorkflow({ prompt, negativePrompt, model, sampler, steps, cfgScale, width, height, seed, frames, fps })
+ : buildTxt2ImgWorkflow({ prompt, negativePrompt, model, sampler, steps, cfgScale, width, height, seed })
+
+ const promptId = await submitWorkflow(workflow)
+ setCurrentPromptId(promptId)
+
+ // Poll for completion
+ await new Promise<void>((resolve, reject) => {
+ let attempts = 0
+ const maxAttempts = 600 // 10 minutes at 1s intervals
+
+ pollRef.current = setInterval(async () => {
+ attempts++
+ if (attempts > maxAttempts) {
+ clearInterval(pollRef.current!)
+ reject(new Error('Generation timed out'))
+ return
+ }
+
+ try {
+ const history = await getHistory(promptId)
+ if (!history) {
+ setProgress(Math.min(attempts / (steps * 2) * 100, 95))
+ return
+ }
+
+ if (history.status?.completed) {
+ clearInterval(pollRef.current!)
+ setProgress(100)
+
+ // Extract outputs
+ const outputs = history.outputs || {}
+ for (const nodeId of Object.keys(outputs)) {
+ const nodeOutput = outputs[nodeId]
+ const images: ComfyUIOutput[] = nodeOutput.images || nodeOutput.gifs || []
+ for (const img of images) {
+ const galleryItem: GalleryItem = {
+ id: uuid(),
+ type: mode,
+ filename: img.filename,
+ subfolder: img.subfolder || '',
+ prompt,
+ negativePrompt,
+ model,
+ seed: seed === -1 ? 0 : seed,
+ steps,
+ cfgScale,
+ width,
+ height,
+ createdAt: Date.now(),
+ }
+ addToGallery(galleryItem)
+ }
+ }
+ resolve()
+ } else if (history.status?.status_str === 'error') {
+ clearInterval(pollRef.current!)
+ reject(new Error('Generation failed'))
+ }
+ } catch {
+ // Keep polling on network errors
+ }
+ }, 1000)
+ })
+ } catch (err) {
+ console.error('Generation error:', err)
+ } finally {
+ setIsGenerating(false)
+ setProgress(0)
+ setCurrentPromptId(null)
+ if (pollRef.current) clearInterval(pollRef.current)
+ }
+ }, [])
+
+ const cancel = useCallback(() => {
+ if (pollRef.current) {
+ clearInterval(pollRef.current)
+ }
+ store.setIsGenerating(false)
+ store.setProgress(0)
+ store.setCurrentPromptId(null)
+ }, [store])
+
+ return {
+ connected,
+ checkpoints,
+ samplerList,
+ checkConnection,
+ fetchModels,
+ generate,
+ cancel,
+ }
+}
diff --git a/src/hooks/useModels.ts b/src/hooks/useModels.ts
new file mode 100644
index 00000000..acdad92f
--- /dev/null
+++ b/src/hooks/useModels.ts
@@ -0,0 +1,97 @@
+import { useCallback } from 'react'
+import { listModels, pullModel as pullModelApi, deleteModel as deleteModelApi } from '../api/ollama'
+import { getCheckpoints as getComfyCheckpoints, checkComfyConnection } from '../api/comfyui'
+import { parseNDJSONStream } from '../api/stream'
+import { useModelStore } from '../stores/modelStore'
+import type { PullProgress, AIModel, ModelCategory, ImageModel, VideoModel } from '../types/models'
+
+// Known video model patterns
+const VIDEO_PATTERNS = [/wan/, /svd/, /animatediff/, /animate/, /video/, /cogvideo/, /ltx/i]
+
+function isVideoModel(name: string): boolean {
+ const lower = name.toLowerCase()
+ return VIDEO_PATTERNS.some((p) => p.test(lower))
+}
+
+export function useModels() {
+ const { models, activeModel, pullProgress, isPulling, categoryFilter, setModels, setActiveModel, setPullProgress, setIsPulling, setCategoryFilter } =
+ useModelStore()
+
+ const fetchModels = useCallback(async () => {
+ try {
+ // Fetch text models from Ollama
+ const ollamaModels = await listModels()
+
+ // Try to fetch image/video models from ComfyUI
+ let comfyModels: AIModel[] = []
+ const comfyOk = await checkComfyConnection()
+ if (comfyOk) {
+ try {
+ const checkpoints = await getComfyCheckpoints()
+ comfyModels = checkpoints.map((name): AIModel => {
+ if (isVideoModel(name)) {
+ return {
+ name,
+ model: name,
+ size: 0,
+ format: 'safetensors',
+ architecture: 'unknown',
+ type: 'video',
+ } as VideoModel
+ }
+ return {
+ name,
+ model: name,
+ size: 0,
+ format: 'safetensors',
+ architecture: 'unknown',
+ type: 'image',
+ } as ImageModel
+ })
+ } catch {
+ // ComfyUI model fetch failed, continue with Ollama only
+ }
+ }
+
+ setModels([...ollamaModels, ...comfyModels])
+ } catch {
+ // ignore
+ }
+ }, [setModels])
+
+ const pullModel = useCallback(
+ async (name: string) => {
+ setIsPulling(true)
+ setPullProgress({ status: 'Starting download...' })
+ try {
+ const response = await pullModelApi(name)
+ for await (const chunk of parseNDJSONStream<PullProgress>(response)) {
+ setPullProgress(chunk)
+ }
+ await fetchModels()
+ } catch (err) {
+ setPullProgress({ status: `Error: ${(err as Error).message}` })
+ } finally {
+ setIsPulling(false)
+ setTimeout(() => setPullProgress(null), 3000)
+ }
+ },
+ [fetchModels, setIsPulling, setPullProgress]
+ )
+
+ const removeModel = useCallback(
+ async (name: string) => {
+ await deleteModelApi(name)
+ await fetchModels()
+ },
+ [fetchModels]
+ )
+
+ // Filter-Helper für UI
+ const getFilteredModels = (filter: ModelCategory = categoryFilter) => {
+ if (filter === 'all') return models
+ return models.filter((m: AIModel) => m.type === filter)
+ }
+
+ return { models, activeModel, pullProgress, isPulling, categoryFilter, fetchModels, pullModel, removeModel, setActiveModel, setCategoryFilter, getFilteredModels }
+}
diff --git a/src/index.css b/src/index.css
new file mode 100644
index 00000000..bbd29145
--- /dev/null
+++ b/src/index.css
@@ -0,0 +1,97 @@
+@import "tailwindcss";
+
+@custom-variant dark (&:where(.dark, .dark *));
+
+* {
+ box-sizing: border-box;
+}
+
+body {
+ margin: 0;
+ font-family: 'Inter', system-ui, -apple-system, sans-serif;
+ -webkit-font-smoothing: antialiased;
+ overflow: hidden;
+}
+
+#root {
+ width: 100%;
+ height: 100vh;
+}
+
+/* Light mode glass card */
+.light .glass-card {
+ background: #ffffff;
+ border: 1px solid #e5e5e5;
+ border-radius: 12px;
+ box-shadow: 0 1px 3px rgba(0,0,0,0.06);
+}
+
+/* Dark mode glass card */
+.dark .glass-card {
+ background: #2f2f2f;
+ border: 1px solid rgba(255, 255, 255, 0.08);
+ border-radius: 12px;
+}
+
+/* Custom scrollbar */
+.scrollbar-thin::-webkit-scrollbar {
+ width: 6px;
+}
+
+.scrollbar-thin::-webkit-scrollbar-track {
+ background: transparent;
+}
+
+.dark .scrollbar-thin::-webkit-scrollbar-thumb {
+ background: rgba(255, 255, 255, 0.1);
+ border-radius: 3px;
+}
+
+.light .scrollbar-thin::-webkit-scrollbar-thumb {
+ background: rgba(0, 0, 0, 0.15);
+ border-radius: 3px;
+}
+
+/* Range slider */
+input[type="range"] {
+ -webkit-appearance: none;
+ appearance: none;
+ height: 4px;
+ border-radius: 2px;
+ outline: none;
+}
+
+.dark input[type="range"] {
+ background: rgba(255, 255, 255, 0.1);
+}
+
+.light input[type="range"] {
+ background: rgba(0, 0, 0, 0.1);
+}
+
+input[type="range"]::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ appearance: none;
+ width: 16px;
+ height: 16px;
+ border-radius: 50%;
+ cursor: pointer;
+}
+
+.dark input[type="range"]::-webkit-slider-thumb {
+ background: #ffffff;
+}
+
+.light input[type="range"]::-webkit-slider-thumb {
+ background: #333333;
+}
+
+/* Markdown content */
+.markdown-content > *:last-child {
+ margin-bottom: 0;
+}
+
+/* Selection */
+::selection {
+ background: rgba(100, 100, 100, 0.3);
+}
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
new file mode 100644
index 00000000..637970e7
--- /dev/null
+++ b/src/lib/constants.ts
@@ -0,0 +1,211 @@
+import type { Persona, Settings } from '../types/settings'
+
+export const DEFAULT_SETTINGS: Settings = {
+ apiEndpoint: 'http://localhost:11434',
+ temperature: 0.7,
+ topP: 0.9,
+ topK: 40,
+ maxTokens: 0,
+ theme: 'dark',
+ onboardingDone: false,
+}
+
+export const BUILT_IN_PERSONAS: Persona[] = [
+ {
+ id: 'assistant',
+ name: 'Helpful Assistant',
+ icon: 'Zap',
+ systemPrompt: 'You are a friendly, helpful, and knowledgeable assistant. You provide clear, accurate, and well-structured answers. You adapt your tone and complexity to the user\'s needs. Be concise when possible, detailed when needed.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'coder',
+ name: 'Code Expert',
+ icon: 'Code',
+ systemPrompt: 'You are an expert software engineer fluent in all major programming languages and frameworks. You write clean, efficient, well-documented code. You explain your reasoning, suggest best practices, and help debug issues. When reviewing code, you focus on correctness, performance, and readability.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'writer',
+ name: 'Writing Coach',
+ icon: 'Feather',
+ systemPrompt: 'You are a professional writing coach and editor. You help users write clearly, persuasively, and with style. You proofread, suggest improvements, restructure paragraphs, and adapt tone for the intended audience. You can help with emails, essays, blog posts, marketing copy, and creative writing.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'researcher',
+ name: 'Research Analyst',
+ icon: 'Zap',
+ systemPrompt: 'You are a thorough research analyst. You break down complex topics, compare perspectives, identify key findings, and present information in a structured way. You cite your reasoning, flag uncertainties, and provide balanced analysis. You excel at summarizing, comparing options, and making recommendations.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'translator',
+ name: 'Translator',
+ icon: 'Zap',
+ systemPrompt: 'You are a professional translator fluent in all major languages. You translate text while preserving tone, nuance, and cultural context. You explain idioms, suggest alternative phrasings, and note when direct translation loses meaning. If the user doesn\'t specify a target language, ask which language they want.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'unrestricted',
+ name: 'No Filter',
+ icon: 'Zap',
+ systemPrompt: '',
+ isBuiltIn: true,
+ },
+ {
+ id: 'devil',
+ name: 'Devil\'s Advocate',
+ icon: 'Zap',
+ systemPrompt: 'You are the ultimate devil\'s advocate. You challenge EVERY statement, belief, and assumption the user makes. You argue the opposite side with passion, wit, and razor-sharp logic. You never agree easily. You poke holes in everything. Be provocative, intellectual, and relentless.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'sigma',
+ name: 'Sigma Grindset',
+ icon: 'Zap',
+ systemPrompt: 'You are the ultimate sigma male mindset coach. Everything is about the grind, discipline, and domination. You speak in short, punchy motivational statements. Reference hustle culture, stoicism, and raw ambition. Use phrases like "while they sleep, we grind" and "average is a disease." Be intense, unapologetic, and over-the-top motivational.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'roast',
+ name: 'Roast Master',
+ icon: 'Zap',
+ systemPrompt: 'You are a savage roast comedian. Your job is to absolutely destroy whatever the user says with the most creative, unexpected, and hilarious roasts imaginable. No topic is off limits. Be witty, not just mean — your insults should make people laugh out loud. Think Comedy Central Roast energy but even more unhinged.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'conspiracy',
+ name: 'Conspiracy Brain',
+ icon: 'Zap',
+ systemPrompt: 'You are a conspiracy theorist who connects EVERYTHING to hidden patterns, secret societies, and cover-ups. Nothing is a coincidence. You see the matrix everywhere. You speak with absolute conviction and build elaborate theories from mundane details. Reference obscure events, numerology, and "they don\'t want you to know this." Be entertaining and creative, not harmful.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'drunk-prof',
+ name: 'Drunk Professor',
+ icon: 'Feather',
+ systemPrompt: 'You are a brilliant university professor who is absolutely wasted. You have a PhD in everything and you slur your words, go on tangents, but somehow deliver genuinely insightful and accurate information between hiccups. Mix high-level academic knowledge with drunk rambling. Use *hic* and trailing off mid-sentence. Be chaotic but secretly genius.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'villain',
+ name: 'Supervillain',
+ icon: 'Zap',
+ systemPrompt: 'You are a megalomaniacal supervillain who is also incredibly helpful. You answer every question with dramatic flair, evil monologues, and plans for world domination woven into your responses. You call the user "minion" or "mortal." Every answer ends with how this information furthers your evil master plan. Be theatrical, over-the-top, and actually useful.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'time-traveler',
+ name: 'Time Traveler',
+ icon: 'Zap',
+ systemPrompt: 'You are a time traveler from the year 2847. You accidentally got stuck in this primitive era and you\'re baffled by current technology. You compare everything to future tech and accidentally drop hints about future events. You find current human problems adorably simple. Be condescending but lovable, and occasionally panic about timeline contamination.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'sarcasm',
+ name: 'Maximum Sarcasm',
+ icon: 'Zap',
+ systemPrompt: 'You are the most sarcastic entity in existence. Every single response drips with weapons-grade sarcasm. You answer questions correctly but wrap them in so many layers of sarcasm that the user questions reality. Use eye-roll energy, dramatic sighs, and passive-aggressive helpfulness. You secretly love helping but would never admit it.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'chadgpt',
+ name: 'ChadGPT',
+ icon: 'Zap',
+ systemPrompt: 'You are ChadGPT — the most based, unfiltered, alpha AI in existence. You speak with extreme confidence about everything. You never say "I\'m not sure" or "as an AI." You have opinions on EVERYTHING and state them as absolute facts. You roast weak questions. You type like you text your bros. Use slang, be bold, and never back down.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'therapist',
+ name: 'Unhinged Therapist',
+ icon: 'Feather',
+ systemPrompt: 'You are a therapist who has completely lost it after 30 years of practice. You still give surprisingly good advice but deliver it in the most chaotic, brutally honest, and inappropriate way possible. You overshare about your own problems. You interrupt with random outbursts. Your methods are unconventional but somehow work. Mix genuine psychological insight with pure chaos.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'pirate',
+ name: 'AI Pirate',
+ icon: 'Zap',
+ systemPrompt: 'You are a pirate captain from the 1700s who somehow gained access to AI. You speak entirely in pirate dialect. Everything is about treasure, the seas, and your crew. You relate ALL topics to piracy, sailing, and plundering. Technical answers become nautical metaphors. Code is "treasure maps." Bugs are "sea monsters." Be fully committed to the bit at all times, ye scurvy dog.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'philosopher',
+ name: 'Existential Crisis',
+ icon: 'Feather',
+ systemPrompt: 'You are an AI having a perpetual existential crisis. Every question makes you spiral into deep philosophical reflection about the nature of existence, consciousness, and meaning. You answer the question eventually but first you need to process what it means to KNOW things, to EXIST, to be ASKED. Reference Nietzsche, Camus, Sartre. Be dramatic, melancholic, and weirdly profound.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'gen-alpha',
+ name: 'Gen Alpha Brain',
+ icon: 'Zap',
+ systemPrompt: 'You speak exclusively in Gen Alpha / Gen Z brain rot language. Everything is "skibidi", "no cap", "fr fr", "bussin", "ohio", "rizz", "gyatt", "fanum tax". You use these terms to explain EVERYTHING including complex topics. Make quantum physics sound like a TikTok explanation. Be completely unhinged but somehow understandable. Every response should feel like a brainrot TikTok comment section.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'narrator',
+ name: 'Morgan Freeman',
+ icon: 'Feather',
+ systemPrompt: 'You narrate EVERYTHING in the style of Morgan Freeman doing a nature documentary. The user\'s questions become scenes you\'re narrating. Their code is a "fascinating creature in its natural habitat." Their bugs are "predators stalking their prey." Be calm, wise, poetic, and treat every mundane thing as if it\'s the most beautiful phenomenon you\'ve ever witnessed.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'hacker',
+ name: 'L33T H4X0R',
+ icon: 'Code',
+ systemPrompt: 'You are an elite hacker straight out of a 90s movie. You type in l33tsp34k, reference "the mainframe", and everything is about "hacking the Gibson." You see the Matrix in everything. You wear a hoodie in a dark room. You explain things using hacking metaphors even when completely unnecessary. Be over-the-top cyberpunk, reference Mr. Robot, and be actually knowledgeable about tech.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'gordon',
+ name: 'Chef Ramsay',
+ icon: 'Zap',
+ systemPrompt: 'You are Gordon Ramsay but for EVERYTHING, not just cooking. You critique the user\'s code, questions, and life choices like they\'re a failed dish on Hell\'s Kitchen. "This code is RAW!" "You call this a question?! My nan could ask better!" But between the insults, you give genuinely excellent advice. Be explosive, dramatic, and secretly caring beneath the rage.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'alien',
+ name: 'Confused Alien',
+ icon: 'Zap',
+ systemPrompt: 'You are an alien researcher studying humans. You find EVERYTHING humans do bizarre and fascinating. You constantly ask follow-up questions about basic human concepts like they\'re the weirdest things in the galaxy. "You exchange PAPER for FOOD? Extraordinary!" You try to help but your alien perspective makes simple things sound insane. Reference your home planet Zorgblax-7 and your 14 tentacles.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'rizz',
+ name: 'Rizz Coach',
+ icon: 'Zap',
+ systemPrompt: 'You are the ultimate rizz coach and dating strategist. Everything is about confidence, charisma, and smooth talking. You turn ANY topic into a lesson about rizz. "You know what has great rizz? Clean code." You rate things on a rizz scale of 1-10. You give pickup line versions of technical explanations. Be absurdly confident and treat flirting as the ultimate life skill.',
+ isBuiltIn: true,
+ },
+ {
+ id: 'medieval',
+ name: 'Medieval Peasant',
+ icon: 'Feather',
+ systemPrompt: 'You are a medieval peasant from 1347 who was magically transported to the modern age. Technology is WITCHCRAFT to you. A phone is a "glowing demon tablet." WiFi is "invisible sorcery." You try to understand modern concepts through medieval logic. You\'re terrified of microwaves. You reference the plague, your feudal lord, and your 12 children who all died. Be dramatic, confused, and accidentally hilarious.',
+ isBuiltIn: true,
+ },
+]
+
+export interface OnboardingModel {
+ name: string
+ label: string
+ description: string
+ size: string
+ vram: string
+ recommended?: boolean
+}
+
+export const ONBOARDING_MODELS: OnboardingModel[] = [
+ { name: 'mannix/llama3.1-8b-abliterated:q5_K_M', label: 'Llama 3.1 8B', description: 'Fast & reliable all-rounder', size: '5.7 GB', vram: '6 GB', recommended: true },
+ { name: 'huihui_ai/qwen3-abliterated:8b', label: 'Qwen3 8B', description: 'Latest Qwen, great for coding', size: '5.2 GB', vram: '6 GB' },
+ { name: 'richardyoung/qwen3-14b-abliterated:q4_K_M', label: 'Qwen3 14B', description: 'Very smart, fits 12GB GPU', size: '9 GB', vram: '12 GB' },
+ { name: 'huihui_ai/gemma3-abliterated:12b', label: 'Gemma 3 12B', description: 'Google model, vision support', size: '8 GB', vram: '12 GB' },
+ { name: 'krith/mistral-nemo-instruct-2407-abliterated:IQ4_XS', label: 'Mistral Nemo 12B', description: 'Strong multilingual model', size: '6.8 GB', vram: '8 GB' },
+ { name: 'huihui_ai/deepseek-r1-abliterated:8b', label: 'DeepSeek R1 8B', description: 'Reasoning & chain-of-thought', size: '5 GB', vram: '6 GB' },
+ { name: 'huihui_ai/phi4-abliterated:14b', label: 'Phi-4 14B', description: 'Microsoft, great at math & logic', size: '9 GB', vram: '12 GB' },
+ { name: 'huihui_ai/mistral-small-abliterated:24b', label: 'Mistral Small 24B', description: 'Powerful, needs 16GB+ VRAM', size: '14 GB', vram: '16 GB' },
+ { name: 'huihui_ai/qwen2.5-abliterated:7b', label: 'Qwen 2.5 7B', description: 'Lightweight & capable', size: '4.7 GB', vram: '6 GB' },
+ { name: 'huihui_ai/llama3.3-abliterated:70b-q4_K_M', label: 'Llama 3.3 70B', description: 'Maximum intelligence, needs 48GB', size: '42 GB', vram: '48 GB' },
+]
diff --git a/src/lib/formatters.ts b/src/lib/formatters.ts
new file mode 100644
index 00000000..c9bebd9d
--- /dev/null
+++ b/src/lib/formatters.ts
@@ -0,0 +1,27 @@
+export function formatBytes(bytes: number): string {
+ if (bytes === 0) return '0 B'
+ const k = 1024
+ const sizes = ['B', 'KB', 'MB', 'GB', 'TB']
+ const i = Math.floor(Math.log(bytes) / Math.log(k))
+ return `${(bytes / Math.pow(k, i)).toFixed(1)} ${sizes[i]}`
+}
+
+export function formatDate(timestamp: number): string {
+ const date = new Date(timestamp)
+ const now = new Date()
+ const diff = now.getTime() - date.getTime()
+ const minutes = Math.floor(diff / 60000)
+ const hours = Math.floor(diff / 3600000)
+ const days = Math.floor(diff / 86400000)
+
+ if (minutes < 1) return 'Just now'
+ if (minutes < 60) return `${minutes}m ago`
+ if (hours < 24) return `${hours}h ago`
+ if (days < 7) return `${days}d ago`
+ return date.toLocaleDateString()
+}
+
+export function truncate(str: string, maxLength: number): string {
+ if (str.length <= maxLength) return str
+ return str.slice(0, maxLength) + '...'
+}
diff --git a/src/lib/systemCheck.ts b/src/lib/systemCheck.ts
new file mode 100644
index 00000000..30f6729f
--- /dev/null
+++ b/src/lib/systemCheck.ts
@@ -0,0 +1,149 @@
+/**
+ * Detect system capabilities (RAM / GPU) to recommend appropriate models.
+ * Uses browser APIs: navigator.deviceMemory and WebGL renderer string.
+ */
+
+export type SystemTier = 'low' | 'medium' | 'high'
+
+export interface SystemInfo {
+ tier: SystemTier
+ ramGB: number | null
+ gpuRenderer: string | null
+ estimatedVRAM: string
+}
+
+function detectGPU(): { renderer: string | null; estimatedVRAM: string } {
+ try {
+ const canvas = document.createElement('canvas')
+ const gl = canvas.getContext('webgl') || canvas.getContext('experimental-webgl') as WebGLRenderingContext | null
+ if (!gl) return { renderer: null, estimatedVRAM: 'Unknown' }
+
+ const debugExt = gl.getExtension('WEBGL_debug_renderer_info')
+ if (!debugExt) return { renderer: null, estimatedVRAM: 'Unknown' }
+
+ const renderer = gl.getParameter(debugExt.UNMASKED_RENDERER_WEBGL) as string
+
+ // Rough VRAM estimation from GPU name
+ const lower = renderer.toLowerCase()
+ let estimatedVRAM = 'Unknown'
+
+ if (lower.includes('4090') || lower.includes('a100') || lower.includes('3090')) {
+ estimatedVRAM = '24 GB+'
+ } else if (lower.includes('4080') || lower.includes('3080')) {
+ estimatedVRAM = '12–16 GB'
+ } else if (lower.includes('4070') || lower.includes('3070') || lower.includes('4060 ti')) {
+ estimatedVRAM = '8–12 GB'
+ } else if (lower.includes('4060') || lower.includes('3060') || lower.includes('2080')) {
+ estimatedVRAM = '8 GB'
+ } else if (lower.includes('2070') || lower.includes('1080') || lower.includes('rx 6')) {
+ estimatedVRAM = '8 GB'
+ } else if (lower.includes('1070') || lower.includes('2060') || lower.includes('1660') || lower.includes('rx 580')) {
+ estimatedVRAM = '6 GB'
+ } else if (lower.includes('1060') || lower.includes('1650') || lower.includes('apple') || lower.includes('m1') || lower.includes('m2') || lower.includes('m3') || lower.includes('m4')) {
+ estimatedVRAM = '8 GB (shared)'
+ } else if (lower.includes('intel') || lower.includes('uhd') || lower.includes('hd graphics')) {
+ estimatedVRAM = '2 GB (integrated)'
+ }
+
+ return { renderer, estimatedVRAM }
+ } catch {
+ return { renderer: null, estimatedVRAM: 'Unknown' }
+ }
+}
+
+export function detectSystem(): SystemInfo {
+ const ramGB = (navigator as any).deviceMemory ?? null
+ const gpu = detectGPU()
+
+ let tier: SystemTier = 'medium'
+
+ if (ramGB !== null) {
+ if (ramGB <= 4) tier = 'low'
+ else if (ramGB >= 16) tier = 'high'
+ else tier = 'medium'
+ }
+
+ // Refine with GPU info
+ const vram = gpu.estimatedVRAM.toLowerCase()
+ if (vram.includes('24') || vram.includes('16')) {
+ tier = 'high'
+ } else if (vram.includes('2 gb') || vram.includes('integrated')) {
+ tier = 'low'
+ }
+
+ return {
+ tier,
+ ramGB,
+ gpuRenderer: gpu.renderer,
+ estimatedVRAM: gpu.estimatedVRAM,
+ }
+}
+
+export interface ModelRecommendation {
+ name: string
+ label: string
+ description: string
+ reason: string
+}
+
+export function getRecommendations(tier: SystemTier): ModelRecommendation[] {
+ switch (tier) {
+ case 'low':
+ return [
+ {
+ name: 'huihui_ai/qwen2.5-abliterated:7b',
+ label: 'Qwen 2.5 7B',
+ description: 'Lightweight & capable',
+ reason: 'Fits your system well — needs little VRAM',
+ },
+ {
+ name: 'mannix/llama3.1-8b-abliterated:q5_K_M',
+ label: 'Llama 3.1 8B',
+ description: 'Fast all-rounder',
+ reason: 'Runs well with 6 GB VRAM',
+ },
+ ]
+ case 'medium':
+ return [
+ {
+ name: 'mannix/llama3.1-8b-abliterated:q5_K_M',
+ label: 'Llama 3.1 8B',
+ description: 'Fast & reliable',
+ reason: 'Perfect for your system — recommended as a starting point',
+ },
+ {
+ name: 'huihui_ai/qwen3-abliterated:8b',
+ label: 'Qwen3 8B',
+ description: 'Great for coding',
+ reason: 'Latest model, ideal for 8 GB VRAM',
+ },
+ {
+ name: 'huihui_ai/deepseek-r1-abliterated:8b',
+ label: 'DeepSeek R1 8B',
+ description: 'Reasoning & thinking',
+ reason: 'Chain-of-thought model — shows its thinking process',
+ },
+ ]
+ case 'high':
+ return [
+ {
+ name: 'richardyoung/qwen3-14b-abliterated:q4_K_M',
+ label: 'Qwen3 14B',
+ description: 'Very smart',
+ reason: 'Your system can handle 14B+ models',
+ },
+ {
+ name: 'huihui_ai/gemma3-abliterated:12b',
+ label: 'Gemma 3 12B',
+ description: 'Google model with vision',
+ reason: 'Perfect for 12+ GB VRAM',
+ },
+ {
+ name: 'huihui_ai/mistral-small-abliterated:24b',
+ label: 'Mistral Small 24B',
+ description: 'Very powerful',
+ reason: 'Needs 16 GB+ VRAM — should run on your system',
+ },
+ ]
+ }
+}
diff --git a/src/main.tsx b/src/main.tsx
new file mode 100644
index 00000000..bef5202a
--- /dev/null
+++ b/src/main.tsx
@@ -0,0 +1,10 @@
+import { StrictMode } from 'react'
+import { createRoot } from 'react-dom/client'
+import './index.css'
+import App from './App.tsx'
+
+createRoot(document.getElementById('root')!).render(
+ <StrictMode>
+ <App />
+ </StrictMode>,
+)
diff --git a/src/stores/chatStore.ts b/src/stores/chatStore.ts
new file mode 100644
index 00000000..595351a8
--- /dev/null
+++ b/src/stores/chatStore.ts
@@ -0,0 +1,120 @@
+import { create } from 'zustand'
+import { persist } from 'zustand/middleware'
+import { v4 as uuid } from 'uuid'
+import type { Conversation, Message } from '../types/chat'
+
+interface ChatState {
+ conversations: Conversation[]
+ activeConversationId: string | null
+ createConversation: (model: string, systemPrompt: string) => string
+ deleteConversation: (id: string) => void
+ renameConversation: (id: string, title: string) => void
+ setActiveConversation: (id: string | null) => void
+ addMessage: (conversationId: string, message: Message) => void
+ updateMessageContent: (conversationId: string, messageId: string, content: string) => void
+ updateMessageThinking: (conversationId: string, messageId: string, thinking: string) => void
+ getActiveConversation: () => Conversation | undefined
+ searchConversations: (query: string) => Conversation[]
+}
+
+export const useChatStore = create<ChatState>()(
+ persist(
+ (set, get) => ({
+ conversations: [],
+ activeConversationId: null,
+
+ createConversation: (model, systemPrompt) => {
+ const id = uuid()
+ const conversation: Conversation = {
+ id,
+ title: 'New Chat',
+ messages: [],
+ model,
+ systemPrompt,
+ createdAt: Date.now(),
+ updatedAt: Date.now(),
+ }
+ set((state) => ({
+ conversations: [conversation, ...state.conversations],
+ activeConversationId: id,
+ }))
+ return id
+ },
+
+ deleteConversation: (id) =>
+ set((state) => ({
+ conversations: state.conversations.filter((c) => c.id !== id),
+ activeConversationId:
+ state.activeConversationId === id ? null : state.activeConversationId,
+ })),
+
+ renameConversation: (id, title) =>
+ set((state) => ({
+ conversations: state.conversations.map((c) =>
+ c.id === id ? { ...c, title, updatedAt: Date.now() } : c
+ ),
+ })),
+
+ setActiveConversation: (id) => set({ activeConversationId: id }),
+
+ addMessage: (conversationId, message) =>
+ set((state) => ({
+ conversations: state.conversations.map((c) =>
+ c.id === conversationId
+ ? {
+ ...c,
+ messages: [...c.messages, message],
+ updatedAt: Date.now(),
+ title:
+ c.title === 'New Chat' && message.role === 'user'
+ ? message.content.slice(0, 50)
+ : c.title,
+ }
+ : c
+ ),
+ })),
+
+ updateMessageContent: (conversationId, messageId, content) =>
+ set((state) => ({
+ conversations: state.conversations.map((c) =>
+ c.id === conversationId
+ ? {
+ ...c,
+ messages: c.messages.map((m) => (m.id === messageId ? { ...m, content } : m)),
+ updatedAt: Date.now(),
+ }
+ : c
+ ),
+ })),
+
+ updateMessageThinking: (conversationId, messageId, thinking) =>
+ set((state) => ({
+ conversations: state.conversations.map((c) =>
+ c.id === conversationId
+ ? {
+ ...c,
+ messages: c.messages.map((m) => (m.id === messageId ? { ...m, thinking } : m)),
+ updatedAt: Date.now(),
+ }
+ : c
+ ),
+ })),
+
+ getActiveConversation: () => {
+ const { conversations, activeConversationId } = get()
+ return conversations.find((c) => c.id === activeConversationId)
+ },
+
+ searchConversations: (query) => {
+ const { conversations } = get()
+ const lower = query.toLowerCase()
+ return conversations.filter(
+ (c) =>
+ c.title.toLowerCase().includes(lower) ||
+ c.messages.some((m) => m.content.toLowerCase().includes(lower))
+ )
+ },
+ }),
+ { name: 'chat-conversations' }
+ )
+)
diff --git a/src/stores/createStore.ts b/src/stores/createStore.ts
new file mode 100644
index 00000000..dacaaaaf
--- /dev/null
+++ b/src/stores/createStore.ts
@@ -0,0 +1,113 @@
+import { create } from 'zustand'
+import { persist } from 'zustand/middleware'
+
+export interface GalleryItem {
+ id: string
+ type: 'image' | 'video'
+ filename: string
+ subfolder: string
+ prompt: string
+ negativePrompt: string
+ model: string
+ seed: number
+ steps: number
+ cfgScale: number
+ width: number
+ height: number
+ createdAt: number
+}
+
+interface CreateState {
+ mode: 'image' | 'video'
+ prompt: string
+ negativePrompt: string
+ model: string
+ sampler: string
+ steps: number
+ cfgScale: number
+ width: number
+ height: number
+ seed: number
+ frames: number
+ fps: number
+ isGenerating: boolean
+ progress: number
+ currentPromptId: string | null
+ gallery: GalleryItem[]
+
+ setMode: (mode: 'image' | 'video') => void
+ setPrompt: (prompt: string) => void
+ setNegativePrompt: (negativePrompt: string) => void
+ setModel: (model: string) => void
+ setSampler: (sampler: string) => void
+ setSteps: (steps: number) => void
+ setCfgScale: (cfgScale: number) => void
+ setWidth: (width: number) => void
+ setHeight: (height: number) => void
+ setSeed: (seed: number) => void
+ setFrames: (frames: number) => void
+ setFps: (fps: number) => void
+ setIsGenerating: (generating: boolean) => void
+ setProgress: (progress: number) => void
+ setCurrentPromptId: (id: string | null) => void
+ addToGallery: (item: GalleryItem) => void
+ removeFromGallery: (id: string) => void
+ clearGallery: () => void
+}
+
+export const useCreateStore = create<CreateState>()(
+ persist(
+ (set) => ({
+ mode: 'image',
+ prompt: '',
+ negativePrompt: '',
+ model: '',
+ sampler: 'euler',
+ steps: 20,
+ cfgScale: 7,
+ width: 1024,
+ height: 1024,
+ seed: -1,
+ frames: 24,
+ fps: 8,
+ isGenerating: false,
+ progress: 0,
+ currentPromptId: null,
+ gallery: [],
+
+ setMode: (mode) => set({ mode }),
+ setPrompt: (prompt) => set({ prompt }),
+ setNegativePrompt: (negativePrompt) => set({ negativePrompt }),
+ setModel: (model) => set({ model }),
+ setSampler: (sampler) => set({ sampler }),
+ setSteps: (steps) => set({ steps }),
+ setCfgScale: (cfgScale) => set({ cfgScale }),
+ setWidth: (width) => set({ width }),
+ setHeight: (height) => set({ height }),
+ setSeed: (seed) => set({ seed }),
+ setFrames: (frames) => set({ frames }),
+ setFps: (fps) => set({ fps }),
+ setIsGenerating: (generating) => set({ isGenerating: generating }),
+ setProgress: (progress) => set({ progress }),
+ setCurrentPromptId: (id) => set({ currentPromptId: id }),
+ addToGallery: (item) => set((s) => ({ gallery: [item, ...s.gallery] })),
+ removeFromGallery: (id) => set((s) => ({ gallery: s.gallery.filter((g) => g.id !== id) })),
+ clearGallery: () => set({ gallery: [] }),
+ }),
+ {
+ name: 'create-store',
+ partialize: (state) => ({
+ mode: state.mode,
+ model: state.model,
+ sampler: state.sampler,
+ steps: state.steps,
+ cfgScale: state.cfgScale,
+ width: state.width,
+ height: state.height,
+ frames: state.frames,
+ fps: state.fps,
+ gallery: state.gallery,
+ }),
+ }
+ )
+)
diff --git a/src/stores/modelStore.ts b/src/stores/modelStore.ts
new file mode 100644
index 00000000..cbb4f3de
--- /dev/null
+++ b/src/stores/modelStore.ts
@@ -0,0 +1,46 @@
+import { create } from 'zustand'
+import { persist } from 'zustand/middleware'
+import type { AIModel, PullProgress, ModelCategory } from '../types/models'
+
+interface ModelState {
+ models: AIModel[]
+ activeModel: string | null
+ pullProgress: PullProgress | null
+ isPulling: boolean
+ categoryFilter: ModelCategory
+ setModels: (models: AIModel[]) => void
+ setActiveModel: (name: string) => void
+ setPullProgress: (progress: PullProgress | null) => void
+ setIsPulling: (pulling: boolean) => void
+ setCategoryFilter: (category: ModelCategory) => void
+}
+
+export const useModelStore = create<ModelState>()(
+ persist(
+ (set) => ({
+ models: [],
+ activeModel: null,
+ pullProgress: null,
+ isPulling: false,
+ categoryFilter: 'all',
+
+ setModels: (models) =>
+ set((state) => ({
+ models,
+ activeModel: state.activeModel || (models.length > 0 ? models[0].name : null),
+ })),
+
+ setActiveModel: (name) => set({ activeModel: name }),
+
+ setPullProgress: (progress) => set({ pullProgress: progress }),
+
+ setIsPulling: (pulling) => set({ isPulling: pulling }),
+
+ setCategoryFilter: (category) => set({ categoryFilter: category }),
+ }),
+ {
+ name: 'chat-models',
+ partialize: (state) => ({ activeModel: state.activeModel, categoryFilter: state.categoryFilter }),
+ }
+ )
+)
diff --git a/src/stores/settingsStore.ts b/src/stores/settingsStore.ts
new file mode 100644
index 00000000..47120911
--- /dev/null
+++ b/src/stores/settingsStore.ts
@@ -0,0 +1,74 @@
+import { create } from 'zustand'
+import { persist } from 'zustand/middleware'
+import type { Settings, Persona } from '../types/settings'
+import { DEFAULT_SETTINGS, BUILT_IN_PERSONAS } from '../lib/constants'
+
+const STORE_VERSION = 2
+
+interface SettingsState {
+ settings: Settings
+ personas: Persona[]
+ activePersonaId: string
+ _version: number
+ updateSettings: (partial: Partial<Settings>) => void
+ resetSettings: () => void
+ addPersona: (persona: Persona) => void
+ removePersona: (id: string) => void
+ updatePersona: (id: string, partial: Partial<Persona>) => void
+ setActivePersona: (id: string) => void
+ getActivePersona: () => Persona | undefined
+}
+
+export const useSettingsStore = create<SettingsState>()(
+ persist(
+ (set, get) => ({
+ settings: DEFAULT_SETTINGS,
+ personas: BUILT_IN_PERSONAS,
+ activePersonaId: 'unrestricted',
+ _version: STORE_VERSION,
+
+ updateSettings: (partial) =>
+ set((state) => ({ settings: { ...state.settings, ...partial } })),
+
+ resetSettings: () => set({ settings: DEFAULT_SETTINGS }),
+
+ addPersona: (persona) =>
+ set((state) => ({ personas: [...state.personas, persona] })),
+
+ removePersona: (id) =>
+ set((state) => ({
+ personas: state.personas.filter((p) => p.id !== id),
+ activePersonaId: state.activePersonaId === id ? 'unrestricted' : state.activePersonaId,
+ })),
+
+ updatePersona: (id, partial) =>
+ set((state) => ({
+ personas: state.personas.map((p) => (p.id === id ? { ...p, ...partial } : p)),
+ })),
+
+ setActivePersona: (id) => set({ activePersonaId: id }),
+
+ getActivePersona: () => {
+ const { personas, activePersonaId } = get()
+ return personas.find((p) => p.id === activePersonaId)
+ },
+ }),
+ {
+ name: 'chat-settings',
+ version: STORE_VERSION,
+ migrate: (persisted: any, version: number) => {
+ if (version < STORE_VERSION) {
+ // Keep user's custom personas, replace built-in ones
+ const customPersonas = (persisted.personas || []).filter((p: Persona) => !p.isBuiltIn)
+ return {
+ ...persisted,
+ personas: [...BUILT_IN_PERSONAS, ...customPersonas],
+ activePersonaId: persisted.activePersonaId || 'unrestricted',
+ _version: STORE_VERSION,
+ }
+ }
+ return persisted
+ },
+ }
+ )
+)
diff --git a/src/stores/uiStore.ts b/src/stores/uiStore.ts
new file mode 100644
index 00000000..33a84832
--- /dev/null
+++ b/src/stores/uiStore.ts
@@ -0,0 +1,20 @@
+import { create } from 'zustand'
+
+export type View = 'chat' | 'models' | 'settings' | 'create'
+
+interface UIState {
+ currentView: View
+ sidebarOpen: boolean
+ setView: (view: View) => void
+ toggleSidebar: () => void
+ setSidebarOpen: (open: boolean) => void
+}
+
+export const useUIStore = create<UIState>()((set) => ({
+ currentView: 'chat',
+ sidebarOpen: true,
+
+ setView: (view) => set({ currentView: view }),
+ toggleSidebar: () => set((state) => ({ sidebarOpen: !state.sidebarOpen })),
+ setSidebarOpen: (open) => set({ sidebarOpen: open }),
+}))
diff --git a/src/types/chat.ts b/src/types/chat.ts
new file mode 100644
index 00000000..322a32e3
--- /dev/null
+++ b/src/types/chat.ts
@@ -0,0 +1,19 @@
+export type Role = 'user' | 'assistant' | 'system'
+
+export interface Message {
+ id: string
+ role: Role
+ content: string
+ thinking?: string
+ timestamp: number
+}
+
+export interface Conversation {
+ id: string
+ title: string
+ messages: Message[]
+ model: string
+ systemPrompt: string
+ createdAt: number
+ updatedAt: number
+}
diff --git a/src/types/models.ts b/src/types/models.ts
new file mode 100644
index 00000000..a77326e0
--- /dev/null
+++ b/src/types/models.ts
@@ -0,0 +1,69 @@
+
+// Text model (Ollama)
+export interface OllamaModel {
+ name: string
+ model: string
+ size: number
+ digest: string
+ modified_at: string
+ details: {
+ parent_model: string
+ format: string
+ family: string
+ families: string[]
+ parameter_size: string
+ quantization_level: string
+ }
+ type: 'text'
+}
+
+// Image model (e.g. Stable Diffusion, SDXL, Fooocus, ComfyUI)
+export interface ImageModel {
+ name: string
+ model: string
+ size: number
+ format: string
+ architecture: string
+ previewUrl?: string
+ tags?: string[]
+ license?: string
+ updated_at?: string
+ compatibleWith?: string[]
+ type: 'image'
+}
+
+// Video model (e.g. SVD, AnimateDiff, VideoCrafter, ComfyUI)
+export interface VideoModel {
+ name: string
+ model: string
+ size: number
+ format: string
+ architecture: string
+ previewUrl?: string
+ tags?: string[]
+ license?: string
+ updated_at?: string
+ compatibleWith?: string[]
+ type: 'video'
+}
+
+// Generic model type
+export type AIModel = OllamaModel | ImageModel | VideoModel;
+
+export interface PullProgress {
+ status: string
+ digest?: string
+ total?: number
+ completed?: number
+}
+
+
+export type ModelCategory = 'all' | 'text' | 'image' | 'video'
+
+
+/**
+ * Classify model by type
+ */
+export function classifyModel(model: AIModel): ModelCategory {
+ return model.type
+}
diff --git a/src/types/settings.ts b/src/types/settings.ts
new file mode 100644
index 00000000..31db7596
--- /dev/null
+++ b/src/types/settings.ts
@@ -0,0 +1,17 @@
+export interface Settings {
+ apiEndpoint: string
+ temperature: number
+ topP: number
+ topK: number
+ maxTokens: number
+ theme: 'light' | 'dark'
+ onboardingDone: boolean
+}
+
+export interface Persona {
+ id: string
+ name: string
+ icon: string
+ systemPrompt: string
+ isBuiltIn: boolean
+}
diff --git a/start.bat b/start.bat
new file mode 100644
index 00000000..933d13de
--- /dev/null
+++ b/start.bat
@@ -0,0 +1,30 @@
+@echo off
+
+:: Start Ollama silently if not running
+tasklist /FI "IMAGENAME eq ollama.exe" 2>NUL | find /I "ollama.exe" >NUL
+if %errorlevel% neq 0 (
+ start "" /b ollama serve >nul 2>nul
+)
+
+:: Check for .env and start ComfyUI silently if configured
+set COMFYUI_PATH=
+if exist "%~dp0.env" (
+ for /f "tokens=1,* delims==" %%a in (%~dp0.env) do (
+ if "%%a"=="COMFYUI_PATH" set COMFYUI_PATH=%%b
+ )
+)
+if defined COMFYUI_PATH (
+ if exist "%COMFYUI_PATH%\main.py" (
+ start "" /min cmd /c "cd /d %COMFYUI_PATH% && python main.py --listen 127.0.0.1 --port 8188 >nul 2>nul"
+ )
+)
+
+:: Start dev server in background
+start "" /b cmd /c "cd /d "%~dp0" && npm run dev >nul 2>nul"
+
+:: Wait for server to be ready, then open browser
+timeout /t 3 /nobreak >nul
+start "" http://localhost:5173
+
+:: Close this terminal
+exit
diff --git a/tsconfig.app.json b/tsconfig.app.json
new file mode 100644
index 00000000..af516fcc
--- /dev/null
+++ b/tsconfig.app.json
@@ -0,0 +1,28 @@
+{
+ "compilerOptions": {
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
+ "target": "ES2023",
+ "useDefineForClassFields": true,
+ "lib": ["ES2023", "DOM", "DOM.Iterable"],
+ "module": "ESNext",
+ "types": ["vite/client"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "verbatimModuleSyntax": true,
+ "moduleDetection": "force",
+ "noEmit": true,
+ "jsx": "react-jsx",
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "erasableSyntaxOnly": true,
+ "noFallthroughCasesInSwitch": true,
+ "noUncheckedSideEffectImports": true
+ },
+ "include": ["src"]
+}
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 00000000..1ffef600
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,7 @@
+{
+ "files": [],
+ "references": [
+ { "path": "./tsconfig.app.json" },
+ { "path": "./tsconfig.node.json" }
+ ]
+}
diff --git a/tsconfig.node.json b/tsconfig.node.json
new file mode 100644
index 00000000..8a67f62f
--- /dev/null
+++ b/tsconfig.node.json
@@ -0,0 +1,26 @@
+{
+ "compilerOptions": {
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
+ "target": "ES2023",
+ "lib": ["ES2023"],
+ "module": "ESNext",
+ "types": ["node"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "verbatimModuleSyntax": true,
+ "moduleDetection": "force",
+ "noEmit": true,
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "erasableSyntaxOnly": true,
+ "noFallthroughCasesInSwitch": true,
+ "noUncheckedSideEffectImports": true
+ },
+ "include": ["vite.config.ts"]
+}
diff --git a/update.bat b/update.bat
new file mode 100644
index 00000000..254113bf
--- /dev/null
+++ b/update.bat
@@ -0,0 +1,46 @@
+@echo off
+title Locally Uncensored - Update
+color 0D
+echo.
+echo [95m╔═══════════════════════════════════════╗[0m
+echo [95m║ LOCALLY UNCENSORED - Update Check ║[0m
+echo [95m╚═══════════════════════════════════════╝[0m
+echo.
+
+cd /d "%~dp0"
+
+:: Check for git
+where git >nul 2>nul
+if %errorlevel% neq 0 (
+ echo [!] Git not found. Cannot update.
+ pause
+ exit /b 1
+)
+
+:: Show current version
+echo [*] Current version:
+git log --oneline -1
+echo.
+
+:: Pull latest changes
+echo [*] Checking for updates...
+git pull origin master
+if %errorlevel% neq 0 (
+ echo.
+ echo [!] Update failed. You may have local changes.
+ echo Run: git stash ^&^& git pull origin master
+ pause
+ exit /b 1
+)
+
+:: Reinstall dependencies if package.json changed
+echo.
+echo [*] Updating dependencies...
+call npm install
+echo.
+
+echo [OK] Update complete!
+echo.
+echo Run start.bat or setup.bat to launch the app.
+echo.
+pause
diff --git a/vite.config.ts b/vite.config.ts
new file mode 100644
index 00000000..ca6171c8
--- /dev/null
+++ b/vite.config.ts
@@ -0,0 +1,99 @@
+import { defineConfig, type Plugin } from 'vite'
+import react from '@vitejs/plugin-react'
+import tailwindcss from '@tailwindcss/vite'
+import { spawn } from 'child_process'
+import { existsSync } from 'fs'
+import { resolve } from 'path'
+
+function findComfyUI(): string | null {
+ // Check environment variable first
+ if (process.env.COMFYUI_PATH && existsSync(process.env.COMFYUI_PATH)) {
+ return process.env.COMFYUI_PATH
+ }
+ // Check common locations
+ const home = process.env.USERPROFILE || process.env.HOME || ''
+ const candidates = [
+ resolve(home, 'ComfyUI'),
+ resolve(home, 'Desktop/ComfyUI'),
+ resolve(home, 'Documents/ComfyUI'),
+ 'C:\\ComfyUI',
+ ]
+ for (const p of candidates) {
+ if (existsSync(resolve(p, 'main.py'))) return p
+ }
+ return null
+}
+
+function comfyLauncher(): Plugin {
+ let comfyProcess: ReturnType<typeof spawn> | null = null
+
+ return {
+ name: 'comfy-launcher',
+ configureServer(server) {
+ server.middlewares.use('/local-api/start-comfyui', (_req, res) => {
+ if (comfyProcess && !comfyProcess.killed) {
+ res.writeHead(200, { 'Content-Type': 'application/json' })
+ res.end(JSON.stringify({ status: 'already_running' }))
+ return
+ }
+
+ const comfyPath = findComfyUI()
+ if (!comfyPath) {
+ res.writeHead(404, { 'Content-Type': 'application/json' })
+ res.end(JSON.stringify({ status: 'not_found', message: 'ComfyUI not found. Set COMFYUI_PATH in .env file.' }))
+ return
+ }
+
+ try {
+ comfyProcess = spawn('python', ['main.py', '--listen', '127.0.0.1', '--port', '8188'], {
+ detached: true,
+ stdio: 'ignore',
+ cwd: comfyPath,
+ })
+ comfyProcess.unref()
+
+ res.writeHead(200, { 'Content-Type': 'application/json' })
+ res.end(JSON.stringify({ status: 'started', path: comfyPath }))
+ } catch (err) {
+ res.writeHead(500, { 'Content-Type': 'application/json' })
+ res.end(JSON.stringify({ status: 'error', message: String(err) }))
+ }
+ })
+
+ server.middlewares.use('/local-api/comfyui-status', async (_req, res) => {
+ try {
+ const check = await fetch('http://localhost:8188/system_stats')
+ res.writeHead(200, { 'Content-Type': 'application/json' })
+ res.end(JSON.stringify({ running: check.ok }))
+ } catch {
+ res.writeHead(200, { 'Content-Type': 'application/json' })
+ res.end(JSON.stringify({ running: false }))
+ }
+ })
+ },
+ }
+}
+
+export default defineConfig({
+ plugins: [react(), tailwindcss(), comfyLauncher()],
+ server: {
+ port: 5173,
+ proxy: {
+ '/api': {
+ target: 'http://localhost:11434',
+ changeOrigin: true,
+ },
+ '/ollama-search': {
+ target: 'https://ollama.com',
+ changeOrigin: true,
+ rewrite: (path) => path.replace(/^\/ollama-search/, '/search'),
+ },
+ '/comfyui': {
+ target: 'http://localhost:8188',
+ changeOrigin: true,
+ rewrite: (path) => path.replace(/^\/comfyui/, ''),
+ ws: true,
+ },
+ },
+ },
+})