diff --git a/README.md b/README.md
index 4dd4f02..6cb4252 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,10 @@ Application web moderne de gestion de notes et de tâches, Dockerisée, avec aut
- **Backend** : Node.js 20 + Express
- **Base de données** : SQLite3
- **Authentification** : JWT + bcrypt
-- **Frontend** : HTML5/CSS3/JavaScript vanilla
+- **Frontend** : React 19 + TypeScript + Vite
+- **UI Components** : shadcn/ui + Tailwind CSS
+- **Routing** : React Router v7
+- **State Management** : TanStack Query (React Query)
- **Sécurité** : Helmet.js, rate limiting, validation des entrées
- **Logging** : Winston
- **Upload** : Multer
diff --git a/client/.gitignore b/client/.gitignore
deleted file mode 100644
index a547bf3..0000000
--- a/client/.gitignore
+++ /dev/null
@@ -1,24 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-pnpm-debug.log*
-lerna-debug.log*
-
-node_modules
-dist
-dist-ssr
-*.local
-
-# Editor directories and files
-.vscode/*
-!.vscode/extensions.json
-.idea
-.DS_Store
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-*.sw?
diff --git a/client/README.md b/client/README.md
deleted file mode 100644
index d2e7761..0000000
--- a/client/README.md
+++ /dev/null
@@ -1,73 +0,0 @@
-# React + TypeScript + Vite
-
-This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
-
-Currently, two official plugins are available:
-
-- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
-- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
-
-## React Compiler
-
-The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
-
-## Expanding the ESLint configuration
-
-If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
-
-```js
-export default defineConfig([
- globalIgnores(['dist']),
- {
- files: ['**/*.{ts,tsx}'],
- extends: [
- // Other configs...
-
- // Remove tseslint.configs.recommended and replace with this
- tseslint.configs.recommendedTypeChecked,
- // Alternatively, use this for stricter rules
- tseslint.configs.strictTypeChecked,
- // Optionally, add this for stylistic rules
- tseslint.configs.stylisticTypeChecked,
-
- // Other configs...
- ],
- languageOptions: {
- parserOptions: {
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
- tsconfigRootDir: import.meta.dirname,
- },
- // other options...
- },
- },
-])
-```
-
-You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
-
-```js
-// eslint.config.js
-import reactX from 'eslint-plugin-react-x'
-import reactDom from 'eslint-plugin-react-dom'
-
-export default defineConfig([
- globalIgnores(['dist']),
- {
- files: ['**/*.{ts,tsx}'],
- extends: [
- // Other configs...
- // Enable lint rules for React
- reactX.configs['recommended-typescript'],
- // Enable lint rules for React DOM
- reactDom.configs.recommended,
- ],
- languageOptions: {
- parserOptions: {
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
- tsconfigRootDir: import.meta.dirname,
- },
- // other options...
- },
- },
-])
-```
diff --git a/client/eslint.config.js b/client/eslint.config.js
deleted file mode 100644
index b19330b..0000000
--- a/client/eslint.config.js
+++ /dev/null
@@ -1,23 +0,0 @@
-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['recommended-latest'],
- reactRefresh.configs.vite,
- ],
- languageOptions: {
- ecmaVersion: 2020,
- globals: globals.browser,
- },
- },
-])
diff --git a/client/index.html b/client/index.html
deleted file mode 100644
index a16cb6b..0000000
--- a/client/index.html
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
- client
-
-
-
-
-
-
diff --git a/client/package-lock.json b/client/package-lock.json
deleted file mode 100644
index ee243f6..0000000
--- a/client/package-lock.json
+++ /dev/null
@@ -1,3759 +0,0 @@
-{
- "name": "client",
- "version": "0.0.0",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {
- "": {
- "name": "client",
- "version": "0.0.0",
- "dependencies": {
- "axios": "^1.13.2",
- "react": "^19.2.0",
- "react-dom": "^19.2.0",
- "react-router-dom": "^7.9.5"
- },
- "devDependencies": {
- "@eslint/js": "^9.39.1",
- "@types/node": "^24.10.0",
- "@types/react": "^19.2.2",
- "@types/react-dom": "^19.2.2",
- "@vitejs/plugin-react": "^5.1.0",
- "eslint": "^9.39.1",
- "eslint-plugin-react-hooks": "^5.2.0",
- "eslint-plugin-react-refresh": "^0.4.24",
- "globals": "^16.5.0",
- "typescript": "~5.9.3",
- "typescript-eslint": "^8.46.3",
- "vite": "^7.2.2"
- }
- },
- "node_modules/@babel/code-frame": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz",
- "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-validator-identifier": "^7.27.1",
- "js-tokens": "^4.0.0",
- "picocolors": "^1.1.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/compat-data": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.28.5.tgz",
- "integrity": "sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/core": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.5.tgz",
- "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.27.1",
- "@babel/generator": "^7.28.5",
- "@babel/helper-compilation-targets": "^7.27.2",
- "@babel/helper-module-transforms": "^7.28.3",
- "@babel/helpers": "^7.28.4",
- "@babel/parser": "^7.28.5",
- "@babel/template": "^7.27.2",
- "@babel/traverse": "^7.28.5",
- "@babel/types": "^7.28.5",
- "@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.28.5",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.28.5.tgz",
- "integrity": "sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/parser": "^7.28.5",
- "@babel/types": "^7.28.5",
- "@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.27.2",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz",
- "integrity": "sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/compat-data": "^7.27.2",
- "@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.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz",
- "integrity": "sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/traverse": "^7.27.1",
- "@babel/types": "^7.27.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/helper-module-transforms": {
- "version": "7.28.3",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz",
- "integrity": "sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-module-imports": "^7.27.1",
- "@babel/helper-validator-identifier": "^7.27.1",
- "@babel/traverse": "^7.28.3"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
- }
- },
- "node_modules/@babel/helper-plugin-utils": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz",
- "integrity": "sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6.9.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.28.4",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.28.4.tgz",
- "integrity": "sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/template": "^7.27.2",
- "@babel/types": "^7.28.4"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/parser": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.28.5.tgz",
- "integrity": "sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/types": "^7.28.5"
- },
- "bin": {
- "parser": "bin/babel-parser.js"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
- "node_modules/@babel/plugin-transform-react-jsx-self": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.27.1.tgz",
- "integrity": "sha512-6UzkCs+ejGdZ5mFFC/OCUrv028ab2fp1znZmCZjAOBKiBK2jXD1O+BPSfX8X2qjJ75fZBMSnQn3Rq2mrBJK2mw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/plugin-transform-react-jsx-source": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.27.1.tgz",
- "integrity": "sha512-zbwoTsBruTeKB9hSq73ha66iFeJHuaFkUbwvqElnygoNbj/jHRsSeokowZFN3CZ64IvEqcmmkVe89OPXc7ldAw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/helper-plugin-utils": "^7.27.1"
- },
- "engines": {
- "node": ">=6.9.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
- }
- },
- "node_modules/@babel/template": {
- "version": "7.27.2",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.27.2.tgz",
- "integrity": "sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.27.1",
- "@babel/parser": "^7.27.2",
- "@babel/types": "^7.27.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/traverse": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.28.5.tgz",
- "integrity": "sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/code-frame": "^7.27.1",
- "@babel/generator": "^7.28.5",
- "@babel/helper-globals": "^7.28.0",
- "@babel/parser": "^7.28.5",
- "@babel/template": "^7.27.2",
- "@babel/types": "^7.28.5",
- "debug": "^4.3.1"
- },
- "engines": {
- "node": ">=6.9.0"
- }
- },
- "node_modules/@babel/types": {
- "version": "7.28.5",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.28.5.tgz",
- "integrity": "sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==",
- "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/@esbuild/aix-ppc64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.12.tgz",
- "integrity": "sha512-Hhmwd6CInZ3dwpuGTF8fJG6yoWmsToE+vYgD4nytZVxcu1ulHpUQRAB1UJ8+N1Am3Mz4+xOByoQoSZf4D+CpkA==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "aix"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/android-arm": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.12.tgz",
- "integrity": "sha512-VJ+sKvNA/GE7Ccacc9Cha7bpS8nyzVv0jdVgwNDaR4gDMC/2TTRc33Ip8qrNYUcpkOHUT5OZ0bUcNNVZQ9RLlg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/android-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.12.tgz",
- "integrity": "sha512-6AAmLG7zwD1Z159jCKPvAxZd4y/VTO0VkprYy+3N2FtJ8+BQWFXU+OxARIwA46c5tdD9SsKGZ/1ocqBS/gAKHg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/android-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.12.tgz",
- "integrity": "sha512-5jbb+2hhDHx5phYR2By8GTWEzn6I9UqR11Kwf22iKbNpYrsmRB18aX/9ivc5cabcUiAT/wM+YIZ6SG9QO6a8kg==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.12.tgz",
- "integrity": "sha512-N3zl+lxHCifgIlcMUP5016ESkeQjLj/959RxxNYIthIg+CQHInujFuXeWbWMgnTo4cp5XVHqFPmpyu9J65C1Yg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/darwin-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz",
- "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.12.tgz",
- "integrity": "sha512-gA0Bx759+7Jve03K1S0vkOu5Lg/85dou3EseOGUes8flVOGxbhDDh/iZaoek11Y8mtyKPGF3vP8XhnkDEAmzeg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.12.tgz",
- "integrity": "sha512-TGbO26Yw2xsHzxtbVFGEXBFH0FRAP7gtcPE7P5yP7wGy7cXK2oO7RyOhL5NLiqTlBh47XhmIUXuGciXEqYFfBQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-arm": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.12.tgz",
- "integrity": "sha512-lPDGyC1JPDou8kGcywY0YILzWlhhnRjdof3UlcoqYmS9El818LLfJJc3PXXgZHrHCAKs/Z2SeZtDJr5MrkxtOw==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.12.tgz",
- "integrity": "sha512-8bwX7a8FghIgrupcxb4aUmYDLp8pX06rGh5HqDT7bB+8Rdells6mHvrFHHW2JAOPZUbnjUpKTLg6ECyzvas2AQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-ia32": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.12.tgz",
- "integrity": "sha512-0y9KrdVnbMM2/vG8KfU0byhUN+EFCny9+8g202gYqSSVMonbsCfLjUO+rCci7pM0WBEtz+oK/PIwHkzxkyharA==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-loong64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.12.tgz",
- "integrity": "sha512-h///Lr5a9rib/v1GGqXVGzjL4TMvVTv+s1DPoxQdz7l/AYv6LDSxdIwzxkrPW438oUXiDtwM10o9PmwS/6Z0Ng==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.12.tgz",
- "integrity": "sha512-iyRrM1Pzy9GFMDLsXn1iHUm18nhKnNMWscjmp4+hpafcZjrr2WbT//d20xaGljXDBYHqRcl8HnxbX6uaA/eGVw==",
- "cpu": [
- "mips64el"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.12.tgz",
- "integrity": "sha512-9meM/lRXxMi5PSUqEXRCtVjEZBGwB7P/D4yT8UG/mwIdze2aV4Vo6U5gD3+RsoHXKkHCfSxZKzmDssVlRj1QQA==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.12.tgz",
- "integrity": "sha512-Zr7KR4hgKUpWAwb1f3o5ygT04MzqVrGEGXGLnj15YQDJErYu/BGg+wmFlIDOdJp0PmB0lLvxFIOXZgFRrdjR0w==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-s390x": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.12.tgz",
- "integrity": "sha512-MsKncOcgTNvdtiISc/jZs/Zf8d0cl/t3gYWX8J9ubBnVOwlk65UIEEvgBORTiljloIWnBzLs4qhzPkJcitIzIg==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/linux-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.12.tgz",
- "integrity": "sha512-uqZMTLr/zR/ed4jIGnwSLkaHmPjOjJvnm6TVVitAa08SLS9Z0VM8wIRx7gWbJB5/J54YuIMInDquWyYvQLZkgw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/netbsd-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.12.tgz",
- "integrity": "sha512-xXwcTq4GhRM7J9A8Gv5boanHhRa/Q9KLVmcyXHCTaM4wKfIpWkdXiMog/KsnxzJ0A1+nD+zoecuzqPmCRyBGjg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "netbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.12.tgz",
- "integrity": "sha512-Ld5pTlzPy3YwGec4OuHh1aCVCRvOXdH8DgRjfDy/oumVovmuSzWfnSJg+VtakB9Cm0gxNO9BzWkj6mtO1FMXkQ==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "netbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.12.tgz",
- "integrity": "sha512-fF96T6KsBo/pkQI950FARU9apGNTSlZGsv1jZBAlcLL1MLjLNIWPBkj5NlSz8aAzYKg+eNqknrUJ24QBybeR5A==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.12.tgz",
- "integrity": "sha512-MZyXUkZHjQxUvzK7rN8DJ3SRmrVrke8ZyRusHlP+kuwqTcfWLyqMOE3sScPPyeIXN/mDJIfGXvcMqCgYKekoQw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openbsd"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/openharmony-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.12.tgz",
- "integrity": "sha512-rm0YWsqUSRrjncSXGA7Zv78Nbnw4XL6/dzr20cyrQf7ZmRcsovpcRBdhD43Nuk3y7XIoW2OxMVvwuRvk9XdASg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openharmony"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/sunos-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.12.tgz",
- "integrity": "sha512-3wGSCDyuTHQUzt0nV7bocDy72r2lI33QL3gkDNGkod22EsYl04sMf0qLb8luNKTOmgF/eDEDP5BFNwoBKH441w==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "sunos"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/win32-arm64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.12.tgz",
- "integrity": "sha512-rMmLrur64A7+DKlnSuwqUdRKyd3UE7oPJZmnljqEptesKM8wx9J8gx5u0+9Pq0fQQW8vqeKebwNXdfOyP+8Bsg==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/win32-ia32": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.12.tgz",
- "integrity": "sha512-HkqnmmBoCbCwxUKKNPBixiWDGCpQGVsrQfJoVGYLPT41XWF8lHuE5N6WhVia2n4o5QK5M4tYr21827fNhi4byQ==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@esbuild/win32-x64": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.12.tgz",
- "integrity": "sha512-alJC0uCZpTFrSL0CCDjcgleBXPnCrEAhTBILpeAp7M/OFgoqtAetfBzX0xM00MUsVVPpVjlPuMbREqnZCXaTnA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ],
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/@eslint-community/eslint-utils": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz",
- "integrity": "sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==",
- "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.1",
- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.1.tgz",
- "integrity": "sha512-aw1gNayWpdI/jSYVgzN5pL0cfzU02GT3NBpeT/DXbx1/1x7ZKxFPd9bwrzygx/qiwIQiJ1sw/zD8qY/kRvlGHA==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "@eslint/object-schema": "^2.1.7",
- "debug": "^4.3.1",
- "minimatch": "^3.1.2"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- }
- },
- "node_modules/@eslint/config-helpers": {
- "version": "0.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.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.1.tgz",
- "integrity": "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ajv": "^6.12.4",
- "debug": "^4.3.2",
- "espree": "^10.0.1",
- "globals": "^14.0.0",
- "ignore": "^5.2.0",
- "import-fresh": "^3.2.1",
- "js-yaml": "^4.1.0",
- "minimatch": "^3.1.2",
- "strip-json-comments": "^3.1.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://opencollective.com/eslint"
- }
- },
- "node_modules/@eslint/eslintrc/node_modules/globals": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
- "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/@eslint/js": {
- "version": "9.39.1",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.1.tgz",
- "integrity": "sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==",
- "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==",
- "dev": true,
- "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==",
- "dev": true,
- "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==",
- "dev": true,
- "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==",
- "dev": true,
- "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==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jridgewell/resolve-uri": "^3.1.0",
- "@jridgewell/sourcemap-codec": "^1.4.14"
- }
- },
- "node_modules/@nodelib/fs.scandir": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
- "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "2.0.5",
- "run-parallel": "^1.1.9"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.stat": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
- "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@nodelib/fs.walk": {
- "version": "1.2.8",
- "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
- "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.scandir": "2.1.5",
- "fastq": "^1.6.0"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/@rolldown/pluginutils": {
- "version": "1.0.0-beta.43",
- "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.43.tgz",
- "integrity": "sha512-5Uxg7fQUCmfhax7FJke2+8B6cqgeUJUD9o2uXIKXhD+mG0mL6NObmVoi9wXEU1tY89mZKgAYA6fTbftx3q2ZPQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz",
- "integrity": "sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@rollup/rollup-android-arm64": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz",
- "integrity": "sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "android"
- ]
- },
- "node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz",
- "integrity": "sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz",
- "integrity": "sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ]
- },
- "node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz",
- "integrity": "sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
- },
- "node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz",
- "integrity": "sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "freebsd"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz",
- "integrity": "sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz",
- "integrity": "sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q==",
- "cpu": [
- "arm"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz",
- "integrity": "sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz",
- "integrity": "sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-loong64-gnu": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz",
- "integrity": "sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ==",
- "cpu": [
- "loong64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-ppc64-gnu": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz",
- "integrity": "sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g==",
- "cpu": [
- "ppc64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz",
- "integrity": "sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz",
- "integrity": "sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ==",
- "cpu": [
- "riscv64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz",
- "integrity": "sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w==",
- "cpu": [
- "s390x"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz",
- "integrity": "sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz",
- "integrity": "sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ]
- },
- "node_modules/@rollup/rollup-openharmony-arm64": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz",
- "integrity": "sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "openharmony"
- ]
- },
- "node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz",
- "integrity": "sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA==",
- "cpu": [
- "arm64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz",
- "integrity": "sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg==",
- "cpu": [
- "ia32"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-x64-gnu": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz",
- "integrity": "sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz",
- "integrity": "sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA==",
- "cpu": [
- "x64"
- ],
- "dev": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "win32"
- ]
- },
- "node_modules/@types/babel__core": {
- "version": "7.20.5",
- "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
- "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/parser": "^7.20.7",
- "@babel/types": "^7.20.7",
- "@types/babel__generator": "*",
- "@types/babel__template": "*",
- "@types/babel__traverse": "*"
- }
- },
- "node_modules/@types/babel__generator": {
- "version": "7.27.0",
- "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
- "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/types": "^7.0.0"
- }
- },
- "node_modules/@types/babel__template": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
- "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/parser": "^7.1.0",
- "@babel/types": "^7.0.0"
- }
- },
- "node_modules/@types/babel__traverse": {
- "version": "7.28.0",
- "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
- "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/types": "^7.28.2"
- }
- },
- "node_modules/@types/estree": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
- "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/json-schema": {
- "version": "7.0.15",
- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
- "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/node": {
- "version": "24.10.0",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.0.tgz",
- "integrity": "sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "undici-types": "~7.16.0"
- }
- },
- "node_modules/@types/react": {
- "version": "19.2.3",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.3.tgz",
- "integrity": "sha512-k5dJVszUiNr1DSe8Cs+knKR6IrqhqdhpUwzqhkS8ecQTSf3THNtbfIp/umqHMpX2bv+9dkx3fwDv/86LcSfvSg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "csstype": "^3.0.2"
- }
- },
- "node_modules/@types/react-dom": {
- "version": "19.2.2",
- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.2.tgz",
- "integrity": "sha512-9KQPoO6mZCi7jcIStSnlOWn2nEF3mNmyr3rIAsGnAbQKYbRLyqmeSc39EVgtxXVia+LMT8j3knZLAZAh+xLmrw==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "@types/react": "^19.2.0"
- }
- },
- "node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.46.4.tgz",
- "integrity": "sha512-R48VhmTJqplNyDxCyqqVkFSZIx1qX6PzwqgcXn1olLrzxcSBDlOsbtcnQuQhNtnNiJ4Xe5gREI1foajYaYU2Vg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.46.4",
- "@typescript-eslint/type-utils": "8.46.4",
- "@typescript-eslint/utils": "8.46.4",
- "@typescript-eslint/visitor-keys": "8.46.4",
- "graphemer": "^1.4.0",
- "ignore": "^7.0.0",
- "natural-compare": "^1.4.0",
- "ts-api-utils": "^2.1.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.46.4",
- "eslint": "^8.57.0 || ^9.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.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.46.4.tgz",
- "integrity": "sha512-tK3GPFWbirvNgsNKto+UmB/cRtn6TZfyw0D6IKrW55n6Vbs7KJoZtI//kpTKzE/DUmmnAFD8/Ca46s7Obs92/w==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/scope-manager": "8.46.4",
- "@typescript-eslint/types": "8.46.4",
- "@typescript-eslint/typescript-estree": "8.46.4",
- "@typescript-eslint/visitor-keys": "8.46.4",
- "debug": "^4.3.4"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/project-service": {
- "version": "8.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.46.4.tgz",
- "integrity": "sha512-nPiRSKuvtTN+no/2N1kt2tUh/HoFzeEgOm9fQ6XQk4/ApGqjx0zFIIaLJ6wooR1HIoozvj2j6vTi/1fgAz7UYQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/tsconfig-utils": "^8.46.4",
- "@typescript-eslint/types": "^8.46.4",
- "debug": "^4.3.4"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/scope-manager": {
- "version": "8.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.46.4.tgz",
- "integrity": "sha512-tMDbLGXb1wC+McN1M6QeDx7P7c0UWO5z9CXqp7J8E+xGcJuUuevWKxuG8j41FoweS3+L41SkyKKkia16jpX7CA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/types": "8.46.4",
- "@typescript-eslint/visitor-keys": "8.46.4"
- },
- "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.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.46.4.tgz",
- "integrity": "sha512-+/XqaZPIAk6Cjg7NWgSGe27X4zMGqrFqZ8atJsX3CWxH/jACqWnrWI68h7nHQld0y+k9eTTjb9r+KU4twLoo9A==",
- "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.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.46.4.tgz",
- "integrity": "sha512-V4QC8h3fdT5Wro6vANk6eojqfbv5bpwHuMsBcJUJkqs2z5XnYhJzyz9Y02eUmF9u3PgXEUiOt4w4KHR3P+z0PQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/types": "8.46.4",
- "@typescript-eslint/typescript-estree": "8.46.4",
- "@typescript-eslint/utils": "8.46.4",
- "debug": "^4.3.4",
- "ts-api-utils": "^2.1.0"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/types": {
- "version": "8.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.46.4.tgz",
- "integrity": "sha512-USjyxm3gQEePdUwJBFjjGNG18xY9A2grDVGuk7/9AkjIF1L+ZrVnwR5VAU5JXtUnBL/Nwt3H31KlRDaksnM7/w==",
- "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.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.46.4.tgz",
- "integrity": "sha512-7oV2qEOr1d4NWNmpXLR35LvCfOkTNymY9oyW+lUHkmCno7aOmIf/hMaydnJBUTBMRCOGZh8YjkFOc8dadEoNGA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/project-service": "8.46.4",
- "@typescript-eslint/tsconfig-utils": "8.46.4",
- "@typescript-eslint/types": "8.46.4",
- "@typescript-eslint/visitor-keys": "8.46.4",
- "debug": "^4.3.4",
- "fast-glob": "^3.3.2",
- "is-glob": "^4.0.3",
- "minimatch": "^9.0.4",
- "semver": "^7.6.0",
- "ts-api-utils": "^2.1.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/brace-expansion": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
- "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^1.0.0"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
- "version": "9.0.5",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
- "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^2.0.1"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
- "version": "7.7.3",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.3.tgz",
- "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
- "dev": true,
- "license": "ISC",
- "bin": {
- "semver": "bin/semver.js"
- },
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/@typescript-eslint/utils": {
- "version": "8.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.46.4.tgz",
- "integrity": "sha512-AbSv11fklGXV6T28dp2Me04Uw90R2iJ30g2bgLz529Koehrmkbs1r7paFqr1vPCZi7hHwYxYtxfyQMRC8QaVSg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.7.0",
- "@typescript-eslint/scope-manager": "8.46.4",
- "@typescript-eslint/types": "8.46.4",
- "@typescript-eslint/typescript-estree": "8.46.4"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <6.0.0"
- }
- },
- "node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.46.4",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.46.4.tgz",
- "integrity": "sha512-/++5CYLQqsO9HFGLI7APrxBJYo+5OCMpViuhV8q5/Qa3o5mMrF//eQHks+PXcsAVaLdn817fMuS7zqoXNNZGaw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/types": "8.46.4",
- "eslint-visitor-keys": "^4.2.1"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- }
- },
- "node_modules/@vitejs/plugin-react": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-5.1.0.tgz",
- "integrity": "sha512-4LuWrg7EKWgQaMJfnN+wcmbAW+VSsCmqGohftWjuct47bv8uE4n/nPpq4XjJPsxgq00GGG5J8dvBczp8uxScew==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@babel/core": "^7.28.4",
- "@babel/plugin-transform-react-jsx-self": "^7.27.1",
- "@babel/plugin-transform-react-jsx-source": "^7.27.1",
- "@rolldown/pluginutils": "1.0.0-beta.43",
- "@types/babel__core": "^7.20.5",
- "react-refresh": "^0.18.0"
- },
- "engines": {
- "node": "^20.19.0 || >=22.12.0"
- },
- "peerDependencies": {
- "vite": "^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0"
- }
- },
- "node_modules/acorn": {
- "version": "8.15.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
- "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "acorn": "bin/acorn"
- },
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/acorn-jsx": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
- "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
- }
- },
- "node_modules/ajv": {
- "version": "6.12.6",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
- "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fast-deep-equal": "^3.1.1",
- "fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.4.1",
- "uri-js": "^4.2.2"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/epoberezkin"
- }
- },
- "node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/argparse": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true,
- "license": "Python-2.0"
- },
- "node_modules/asynckit": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
- "license": "MIT"
- },
- "node_modules/axios": {
- "version": "1.13.2",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz",
- "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==",
- "license": "MIT",
- "dependencies": {
- "follow-redirects": "^1.15.6",
- "form-data": "^4.0.4",
- "proxy-from-env": "^1.1.0"
- }
- },
- "node_modules/balanced-match": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/baseline-browser-mapping": {
- "version": "2.8.26",
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.8.26.tgz",
- "integrity": "sha512-73lC1ugzwoaWCLJ1LvOgrR5xsMLTqSKIEoMHVtL9E/HNk0PXtTM76ZIm84856/SF7Nv8mPZxKoBsgpm0tR1u1Q==",
- "dev": true,
- "license": "Apache-2.0",
- "bin": {
- "baseline-browser-mapping": "dist/cli.js"
- }
- },
- "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/braces": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
- "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "fill-range": "^7.1.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/browserslist": {
- "version": "4.28.0",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.0.tgz",
- "integrity": "sha512-tbydkR/CxfMwelN0vwdP/pLkDwyAASZ+VfWm4EOwlB6SWhx1sYnWLqo8N5j0rAzPfzfRaxt0mM/4wPU/Su84RQ==",
- "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.8.25",
- "caniuse-lite": "^1.0.30001754",
- "electron-to-chromium": "^1.5.249",
- "node-releases": "^2.0.27",
- "update-browserslist-db": "^1.1.4"
- },
- "bin": {
- "browserslist": "cli.js"
- },
- "engines": {
- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- }
- },
- "node_modules/call-bind-apply-helpers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
- "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/callsites": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/caniuse-lite": {
- "version": "1.0.30001754",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001754.tgz",
- "integrity": "sha512-x6OeBXueoAceOmotzx3PO4Zpt4rzpeIFsSr6AAePTZxSkXiYDUmpypEl7e2+8NCd9bD7bXjqyef8CJYPC1jfxg==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "CC-BY-4.0"
- },
- "node_modules/chalk": {
- "version": "4.1.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
- }
- },
- "node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/combined-stream": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
- "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
- "license": "MIT",
- "dependencies": {
- "delayed-stream": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "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/cookie": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.2.tgz",
- "integrity": "sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==",
- "license": "MIT",
- "engines": {
- "node": ">=18"
- }
- },
- "node_modules/cross-spawn": {
- "version": "7.0.6",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "path-key": "^3.1.0",
- "shebang-command": "^2.0.0",
- "which": "^2.0.1"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/csstype": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz",
- "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/debug": {
- "version": "4.4.3",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
- "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "ms": "^2.1.3"
- },
- "engines": {
- "node": ">=6.0"
- },
- "peerDependenciesMeta": {
- "supports-color": {
- "optional": true
- }
- }
- },
- "node_modules/deep-is": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/delayed-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
- "license": "MIT",
- "engines": {
- "node": ">=0.4.0"
- }
- },
- "node_modules/dunder-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
- "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
- "license": "MIT",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.1",
- "es-errors": "^1.3.0",
- "gopd": "^1.2.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/electron-to-chromium": {
- "version": "1.5.250",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.250.tgz",
- "integrity": "sha512-/5UMj9IiGDMOFBnN4i7/Ry5onJrAGSbOGo3s9FEKmwobGq6xw832ccET0CE3CkkMBZ8GJSlUIesZofpyurqDXw==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/es-define-property": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
- "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-errors": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-object-atoms": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz",
- "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-set-tostringtag": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",
- "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.6",
- "has-tostringtag": "^1.0.2",
- "hasown": "^2.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/esbuild": {
- "version": "0.25.12",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz",
- "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
- "bin": {
- "esbuild": "bin/esbuild"
- },
- "engines": {
- "node": ">=18"
- },
- "optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.12",
- "@esbuild/android-arm": "0.25.12",
- "@esbuild/android-arm64": "0.25.12",
- "@esbuild/android-x64": "0.25.12",
- "@esbuild/darwin-arm64": "0.25.12",
- "@esbuild/darwin-x64": "0.25.12",
- "@esbuild/freebsd-arm64": "0.25.12",
- "@esbuild/freebsd-x64": "0.25.12",
- "@esbuild/linux-arm": "0.25.12",
- "@esbuild/linux-arm64": "0.25.12",
- "@esbuild/linux-ia32": "0.25.12",
- "@esbuild/linux-loong64": "0.25.12",
- "@esbuild/linux-mips64el": "0.25.12",
- "@esbuild/linux-ppc64": "0.25.12",
- "@esbuild/linux-riscv64": "0.25.12",
- "@esbuild/linux-s390x": "0.25.12",
- "@esbuild/linux-x64": "0.25.12",
- "@esbuild/netbsd-arm64": "0.25.12",
- "@esbuild/netbsd-x64": "0.25.12",
- "@esbuild/openbsd-arm64": "0.25.12",
- "@esbuild/openbsd-x64": "0.25.12",
- "@esbuild/openharmony-arm64": "0.25.12",
- "@esbuild/sunos-x64": "0.25.12",
- "@esbuild/win32-arm64": "0.25.12",
- "@esbuild/win32-ia32": "0.25.12",
- "@esbuild/win32-x64": "0.25.12"
- }
- },
- "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.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.1.tgz",
- "integrity": "sha512-BhHmn2yNOFA9H9JmmIVKJmd288g9hrVRDkdoIgRCRuSySRUHH7r/DI6aAXW9T1WwUuY3DFgrcaqB+deURBLR5g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@eslint-community/eslint-utils": "^4.8.0",
- "@eslint-community/regexpp": "^4.12.1",
- "@eslint/config-array": "^0.21.1",
- "@eslint/config-helpers": "^0.4.2",
- "@eslint/core": "^0.17.0",
- "@eslint/eslintrc": "^3.3.1",
- "@eslint/js": "9.39.1",
- "@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.12.4",
- "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.2",
- "natural-compare": "^1.4.0",
- "optionator": "^0.9.3"
- },
- "bin": {
- "eslint": "bin/eslint.js"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "url": "https://eslint.org/donate"
- },
- "peerDependencies": {
- "jiti": "*"
- },
- "peerDependenciesMeta": {
- "jiti": {
- "optional": true
- }
- }
- },
- "node_modules/eslint-plugin-react-hooks": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",
- "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=10"
- },
- "peerDependencies": {
- "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
- }
- },
- "node_modules/eslint-plugin-react-refresh": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.24.tgz",
- "integrity": "sha512-nLHIW7TEq3aLrEYWpVaJ1dRgFR+wLDPN8e8FpYAql/bMV2oBEfC37K0gLEGgv9fy66juNShSMV8OkTqzltcG/w==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "eslint": ">=8.40"
- }
- },
- "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.6.0",
- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
- "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
- "dev": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "estraverse": "^5.1.0"
- },
- "engines": {
- "node": ">=0.10"
- }
- },
- "node_modules/esrecurse": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "estraverse": "^5.2.0"
- },
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/estraverse": {
- "version": "5.3.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=4.0"
- }
- },
- "node_modules/esutils": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
- "license": "BSD-2-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/fast-deep-equal": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/fast-glob": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
- "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@nodelib/fs.stat": "^2.0.2",
- "@nodelib/fs.walk": "^1.2.3",
- "glob-parent": "^5.1.2",
- "merge2": "^1.3.0",
- "micromatch": "^4.0.8"
- },
- "engines": {
- "node": ">=8.6.0"
- }
- },
- "node_modules/fast-glob/node_modules/glob-parent": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.1"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/fast-json-stable-stringify": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/fast-levenshtein": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/fastq": {
- "version": "1.19.1",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
- "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "reusify": "^1.0.4"
- }
- },
- "node_modules/file-entry-cache": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
- "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "flat-cache": "^4.0.0"
- },
- "engines": {
- "node": ">=16.0.0"
- }
- },
- "node_modules/fill-range": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
- "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "to-regex-range": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/find-up": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
- "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "locate-path": "^6.0.0",
- "path-exists": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/flat-cache": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
- "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "flatted": "^3.2.9",
- "keyv": "^4.5.4"
- },
- "engines": {
- "node": ">=16"
- }
- },
- "node_modules/flatted": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/follow-redirects": {
- "version": "1.15.11",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz",
- "integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==",
- "funding": [
- {
- "type": "individual",
- "url": "https://github.com/sponsors/RubenVerborgh"
- }
- ],
- "license": "MIT",
- "engines": {
- "node": ">=4.0"
- },
- "peerDependenciesMeta": {
- "debug": {
- "optional": true
- }
- }
- },
- "node_modules/form-data": {
- "version": "4.0.4",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz",
- "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
- "license": "MIT",
- "dependencies": {
- "asynckit": "^0.4.0",
- "combined-stream": "^1.0.8",
- "es-set-tostringtag": "^2.1.0",
- "hasown": "^2.0.2",
- "mime-types": "^2.1.12"
- },
- "engines": {
- "node": ">= 6"
- }
- },
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "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/get-intrinsic": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
- "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
- "license": "MIT",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.2",
- "es-define-property": "^1.0.1",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.1.1",
- "function-bind": "^1.1.2",
- "get-proto": "^1.0.1",
- "gopd": "^1.2.0",
- "has-symbols": "^1.1.0",
- "hasown": "^2.0.2",
- "math-intrinsics": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
- "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
- "license": "MIT",
- "dependencies": {
- "dunder-proto": "^1.0.1",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/glob-parent": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
- "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
- }
- },
- "node_modules/globals": {
- "version": "16.5.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-16.5.0.tgz",
- "integrity": "sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/gopd": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
- "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/graphemer": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
- "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
- "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-tostringtag": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",
- "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",
- "license": "MIT",
- "dependencies": {
- "has-symbols": "^1.0.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/hasown": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
- "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
- "license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/ignore": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
- "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 4"
- }
- },
- "node_modules/import-fresh": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
- "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "parent-module": "^1.0.0",
- "resolve-from": "^4.0.0"
- },
- "engines": {
- "node": ">=6"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/imurmurhash": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.8.19"
- }
- },
- "node_modules/is-extglob": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-glob": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "is-extglob": "^2.1.1"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/is-number": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.12.0"
- }
- },
- "node_modules/isexe": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/js-tokens": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/js-yaml": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
- "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "argparse": "^2.0.1"
- },
- "bin": {
- "js-yaml": "bin/js-yaml.js"
- }
- },
- "node_modules/jsesc": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
- "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "jsesc": "bin/jsesc"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/json-buffer": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/json-schema-traverse": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/json-stable-stringify-without-jsonify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/json5": {
- "version": "2.2.3",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
- "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "json5": "lib/cli.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/keyv": {
- "version": "4.5.4",
- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "json-buffer": "3.0.1"
- }
- },
- "node_modules/levn": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "prelude-ls": "^1.2.1",
- "type-check": "~0.4.0"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/locate-path": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "p-locate": "^5.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/lodash.merge": {
- "version": "4.6.2",
- "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/lru-cache": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "yallist": "^3.0.2"
- }
- },
- "node_modules/math-intrinsics": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
- "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/merge2": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
- "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/micromatch": {
- "version": "4.0.8",
- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "braces": "^3.0.3",
- "picomatch": "^2.3.1"
- },
- "engines": {
- "node": ">=8.6"
- }
- },
- "node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
- "node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/nanoid": {
- "version": "3.3.11",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
- "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "bin": {
- "nanoid": "bin/nanoid.cjs"
- },
- "engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
- }
- },
- "node_modules/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.27",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz",
- "integrity": "sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/optionator": {
- "version": "0.9.4",
- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
- "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "deep-is": "^0.1.3",
- "fast-levenshtein": "^2.0.6",
- "levn": "^0.4.1",
- "prelude-ls": "^1.2.1",
- "type-check": "^0.4.0",
- "word-wrap": "^1.2.5"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/p-limit": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
- "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "yocto-queue": "^0.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/p-locate": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
- "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "p-limit": "^3.0.2"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/parent-module": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "callsites": "^3.0.0"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/path-key": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/picocolors": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
- "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/postcss": {
- "version": "8.5.6",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz",
- "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "nanoid": "^3.3.11",
- "picocolors": "^1.1.1",
- "source-map-js": "^1.2.1"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- }
- },
- "node_modules/prelude-ls": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/proxy-from-env": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
- "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
- "license": "MIT"
- },
- "node_modules/punycode": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
- "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/queue-microtask": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
- "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
- "node_modules/react": {
- "version": "19.2.0",
- "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz",
- "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/react-dom": {
- "version": "19.2.0",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.0.tgz",
- "integrity": "sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ==",
- "license": "MIT",
- "dependencies": {
- "scheduler": "^0.27.0"
- },
- "peerDependencies": {
- "react": "^19.2.0"
- }
- },
- "node_modules/react-refresh": {
- "version": "0.18.0",
- "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.18.0.tgz",
- "integrity": "sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/react-router": {
- "version": "7.9.5",
- "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.9.5.tgz",
- "integrity": "sha512-JmxqrnBZ6E9hWmf02jzNn9Jm3UqyeimyiwzD69NjxGySG6lIz/1LVPsoTCwN7NBX2XjCEa1LIX5EMz1j2b6u6A==",
- "license": "MIT",
- "dependencies": {
- "cookie": "^1.0.1",
- "set-cookie-parser": "^2.6.0"
- },
- "engines": {
- "node": ">=20.0.0"
- },
- "peerDependencies": {
- "react": ">=18",
- "react-dom": ">=18"
- },
- "peerDependenciesMeta": {
- "react-dom": {
- "optional": true
- }
- }
- },
- "node_modules/react-router-dom": {
- "version": "7.9.5",
- "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.9.5.tgz",
- "integrity": "sha512-mkEmq/K8tKN63Ae2M7Xgz3c9l9YNbY+NHH6NNeUmLA3kDkhKXRsNb/ZpxaEunvGo2/3YXdk5EJU3Hxp3ocaBPw==",
- "license": "MIT",
- "dependencies": {
- "react-router": "7.9.5"
- },
- "engines": {
- "node": ">=20.0.0"
- },
- "peerDependencies": {
- "react": ">=18",
- "react-dom": ">=18"
- }
- },
- "node_modules/resolve-from": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/reusify": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
- "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "iojs": ">=1.0.0",
- "node": ">=0.10.0"
- }
- },
- "node_modules/rollup": {
- "version": "4.53.2",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz",
- "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/estree": "1.0.8"
- },
- "bin": {
- "rollup": "dist/bin/rollup"
- },
- "engines": {
- "node": ">=18.0.0",
- "npm": ">=8.0.0"
- },
- "optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.53.2",
- "@rollup/rollup-android-arm64": "4.53.2",
- "@rollup/rollup-darwin-arm64": "4.53.2",
- "@rollup/rollup-darwin-x64": "4.53.2",
- "@rollup/rollup-freebsd-arm64": "4.53.2",
- "@rollup/rollup-freebsd-x64": "4.53.2",
- "@rollup/rollup-linux-arm-gnueabihf": "4.53.2",
- "@rollup/rollup-linux-arm-musleabihf": "4.53.2",
- "@rollup/rollup-linux-arm64-gnu": "4.53.2",
- "@rollup/rollup-linux-arm64-musl": "4.53.2",
- "@rollup/rollup-linux-loong64-gnu": "4.53.2",
- "@rollup/rollup-linux-ppc64-gnu": "4.53.2",
- "@rollup/rollup-linux-riscv64-gnu": "4.53.2",
- "@rollup/rollup-linux-riscv64-musl": "4.53.2",
- "@rollup/rollup-linux-s390x-gnu": "4.53.2",
- "@rollup/rollup-linux-x64-gnu": "4.53.2",
- "@rollup/rollup-linux-x64-musl": "4.53.2",
- "@rollup/rollup-openharmony-arm64": "4.53.2",
- "@rollup/rollup-win32-arm64-msvc": "4.53.2",
- "@rollup/rollup-win32-ia32-msvc": "4.53.2",
- "@rollup/rollup-win32-x64-gnu": "4.53.2",
- "@rollup/rollup-win32-x64-msvc": "4.53.2",
- "fsevents": "~2.3.2"
- }
- },
- "node_modules/run-parallel": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
- "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
- "dev": true,
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "queue-microtask": "^1.2.2"
- }
- },
- "node_modules/scheduler": {
- "version": "0.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/set-cookie-parser": {
- "version": "2.7.2",
- "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz",
- "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==",
- "license": "MIT"
- },
- "node_modules/shebang-command": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "shebang-regex": "^3.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/shebang-regex": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/source-map-js": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
- "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
- "dev": true,
- "license": "BSD-3-Clause",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/strip-json-comments": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "has-flag": "^4.0.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/tinyglobby": {
- "version": "0.2.15",
- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
- "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
- "dev": true,
- "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/tinyglobby/node_modules/fdir": {
- "version": "6.5.0",
- "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
- "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12.0.0"
- },
- "peerDependencies": {
- "picomatch": "^3 || ^4"
- },
- "peerDependenciesMeta": {
- "picomatch": {
- "optional": true
- }
- }
- },
- "node_modules/tinyglobby/node_modules/picomatch": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
- "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/to-regex-range": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "is-number": "^7.0.0"
- },
- "engines": {
- "node": ">=8.0"
- }
- },
- "node_modules/ts-api-utils": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
- "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=18.12"
- },
- "peerDependencies": {
- "typescript": ">=4.8.4"
- }
- },
- "node_modules/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.46.4",
- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.46.4.tgz",
- "integrity": "sha512-KALyxkpYV5Ix7UhvjTwJXZv76VWsHG+NjNlt/z+a17SOQSiOcBdUXdbJdyXi7RPxrBFECtFOiPwUJQusJuCqrg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@typescript-eslint/eslint-plugin": "8.46.4",
- "@typescript-eslint/parser": "8.46.4",
- "@typescript-eslint/typescript-estree": "8.46.4",
- "@typescript-eslint/utils": "8.46.4"
- },
- "engines": {
- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/typescript-eslint"
- },
- "peerDependencies": {
- "eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <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==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/update-browserslist-db": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz",
- "integrity": "sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/browserslist"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "escalade": "^3.2.0",
- "picocolors": "^1.1.1"
- },
- "bin": {
- "update-browserslist-db": "cli.js"
- },
- "peerDependencies": {
- "browserslist": ">= 4.21.0"
- }
- },
- "node_modules/uri-js": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
- "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
- "license": "BSD-2-Clause",
- "dependencies": {
- "punycode": "^2.1.0"
- }
- },
- "node_modules/vite": {
- "version": "7.2.2",
- "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.2.tgz",
- "integrity": "sha512-BxAKBWmIbrDgrokdGZH1IgkIk/5mMHDreLDmCJ0qpyJaAteP8NvMhkwr/ZCQNqNH97bw/dANTE9PDzqwJghfMQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "esbuild": "^0.25.0",
- "fdir": "^6.5.0",
- "picomatch": "^4.0.3",
- "postcss": "^8.5.6",
- "rollup": "^4.43.0",
- "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",
- "jiti": ">=1.21.0",
- "less": "^4.0.0",
- "lightningcss": "^1.21.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
- },
- "jiti": {
- "optional": true
- },
- "less": {
- "optional": true
- },
- "lightningcss": {
- "optional": true
- },
- "sass": {
- "optional": true
- },
- "sass-embedded": {
- "optional": true
- },
- "stylus": {
- "optional": true
- },
- "sugarss": {
- "optional": true
- },
- "terser": {
- "optional": true
- },
- "tsx": {
- "optional": true
- },
- "yaml": {
- "optional": true
- }
- }
- },
- "node_modules/vite/node_modules/fdir": {
- "version": "6.5.0",
- "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
- "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12.0.0"
- },
- "peerDependencies": {
- "picomatch": "^3 || ^4"
- },
- "peerDependenciesMeta": {
- "picomatch": {
- "optional": true
- }
- }
- },
- "node_modules/vite/node_modules/picomatch": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
- "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
- "node_modules/which": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "isexe": "^2.0.0"
- },
- "bin": {
- "node-which": "bin/node-which"
- },
- "engines": {
- "node": ">= 8"
- }
- },
- "node_modules/word-wrap": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
- "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/yallist": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",
- "dev": true,
- "license": "ISC"
- },
- "node_modules/yocto-queue": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- }
- }
-}
diff --git a/client/package.json b/client/package.json
deleted file mode 100644
index c9a3271..0000000
--- a/client/package.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "name": "client",
- "private": true,
- "version": "0.0.0",
- "type": "module",
- "scripts": {
- "dev": "vite",
- "build": "tsc -b && vite build",
- "lint": "eslint .",
- "preview": "vite preview"
- },
- "dependencies": {
- "axios": "^1.13.2",
- "react": "^19.2.0",
- "react-dom": "^19.2.0",
- "react-router-dom": "^7.9.5"
- },
- "devDependencies": {
- "@eslint/js": "^9.39.1",
- "@types/node": "^24.10.0",
- "@types/react": "^19.2.2",
- "@types/react-dom": "^19.2.2",
- "@vitejs/plugin-react": "^5.1.0",
- "eslint": "^9.39.1",
- "eslint-plugin-react-hooks": "^5.2.0",
- "eslint-plugin-react-refresh": "^0.4.24",
- "globals": "^16.5.0",
- "typescript": "~5.9.3",
- "typescript-eslint": "^8.46.3",
- "vite": "^7.2.2"
- }
-}
diff --git a/client/public/vite.svg b/client/public/vite.svg
deleted file mode 100644
index e7b8dfb..0000000
--- a/client/public/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/client/src/App.css b/client/src/App.css
deleted file mode 100644
index b9d355d..0000000
--- a/client/src/App.css
+++ /dev/null
@@ -1,42 +0,0 @@
-#root {
- max-width: 1280px;
- margin: 0 auto;
- padding: 2rem;
- text-align: center;
-}
-
-.logo {
- height: 6em;
- padding: 1.5em;
- will-change: filter;
- transition: filter 300ms;
-}
-.logo:hover {
- filter: drop-shadow(0 0 2em #646cffaa);
-}
-.logo.react:hover {
- filter: drop-shadow(0 0 2em #61dafbaa);
-}
-
-@keyframes logo-spin {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
-}
-
-@media (prefers-reduced-motion: no-preference) {
- a:nth-of-type(2) .logo {
- animation: logo-spin infinite 20s linear;
- }
-}
-
-.card {
- padding: 2em;
-}
-
-.read-the-docs {
- color: #888;
-}
diff --git a/client/src/App.tsx b/client/src/App.tsx
deleted file mode 100644
index dc91be6..0000000
--- a/client/src/App.tsx
+++ /dev/null
@@ -1,62 +0,0 @@
-import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
-import { AuthProvider, useAuth } from './contexts/AuthContext';
-import Login from './pages/Login';
-import Dashboard from './pages/Dashboard';
-
-// Protected Route Component
-function ProtectedRoute({ children }: { children: React.ReactNode }) {
- const { isAuthenticated } = useAuth();
-
- if (!isAuthenticated) {
- return ;
- }
-
- return <>{children}>;
-}
-
-// Public Route Component (redirect if already logged in)
-function PublicRoute({ children }: { children: React.ReactNode }) {
- const { isAuthenticated } = useAuth();
-
- if (isAuthenticated) {
- return ;
- }
-
- return <>{children}>;
-}
-
-function AppRoutes() {
- return (
-
-
-
-
- }
- />
-
-
-
- }
- />
- } />
-
- );
-}
-
-function App() {
- return (
-
-
-
-
-
- );
-}
-
-export default App;
diff --git a/client/src/assets/react.svg b/client/src/assets/react.svg
deleted file mode 100644
index 6c87de9..0000000
--- a/client/src/assets/react.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/client/src/contexts/AuthContext.tsx b/client/src/contexts/AuthContext.tsx
deleted file mode 100644
index ae1a345..0000000
--- a/client/src/contexts/AuthContext.tsx
+++ /dev/null
@@ -1,66 +0,0 @@
-import { createContext, useContext, useState, useEffect, ReactNode } from 'react';
-import { authApi } from '../services/api';
-import type { User, AuthContextType } from '../types';
-
-const AuthContext = createContext(null);
-
-export const AuthProvider = ({ children }: { children: ReactNode }) => {
- const [user, setUser] = useState(null);
- const [token, setToken] = useState(null);
- const [loading, setLoading] = useState(true);
-
- useEffect(() => {
- // Récupérer le token et user du localStorage au démarrage
- const storedToken = localStorage.getItem('token');
- const storedUser = localStorage.getItem('user');
-
- if (storedToken && storedUser) {
- setToken(storedToken);
- setUser(JSON.parse(storedUser));
- }
-
- setLoading(false);
- }, []);
-
- const login = async (username: string, password: string) => {
- const data = await authApi.login(username, password);
-
- setToken(data.token);
- setUser(data.user);
-
- localStorage.setItem('token', data.token);
- localStorage.setItem('user', JSON.stringify(data.user));
- };
-
- const logout = () => {
- setToken(null);
- setUser(null);
-
- localStorage.removeItem('token');
- localStorage.removeItem('user');
-
- authApi.logout().catch(() => {});
- };
-
- const value: AuthContextType = {
- user,
- token,
- login,
- logout,
- isAuthenticated: !!token,
- };
-
- if (loading) {
- return Chargement...
;
- }
-
- return {children} ;
-};
-
-export const useAuth = () => {
- const context = useContext(AuthContext);
- if (!context) {
- throw new Error('useAuth must be used within AuthProvider');
- }
- return context;
-};
diff --git a/client/src/index.css b/client/src/index.css
deleted file mode 100644
index 23f264b..0000000
--- a/client/src/index.css
+++ /dev/null
@@ -1,37 +0,0 @@
-* {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
-}
-
-body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
- sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- color: #1a202c;
- background: #f7fafc;
-}
-
-code {
- font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
- monospace;
-}
-
-:root {
- --color-primary: #667eea;
- --color-secondary: #764ba2;
- --color-text: #1a202c;
- --color-text-light: #718096;
- --color-border: #e2e8f0;
- --color-bg: #f7fafc;
- --color-card: #ffffff;
- --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
- --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
- --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
-}
-
-#root {
- min-height: 100vh;
-}
diff --git a/client/src/main.tsx b/client/src/main.tsx
deleted file mode 100644
index bef5202..0000000
--- a/client/src/main.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import { StrictMode } from 'react'
-import { createRoot } from 'react-dom/client'
-import './index.css'
-import App from './App.tsx'
-
-createRoot(document.getElementById('root')!).render(
-
-
- ,
-)
diff --git a/client/src/pages/Dashboard.css b/client/src/pages/Dashboard.css
deleted file mode 100644
index 149ec32..0000000
--- a/client/src/pages/Dashboard.css
+++ /dev/null
@@ -1,303 +0,0 @@
-.dashboard {
- min-height: 100vh;
- background: #f7fafc;
-}
-
-.dashboard-header {
- background: white;
- border-bottom: 1px solid #e2e8f0;
- padding: 16px 24px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- position: sticky;
- top: 0;
- z-index: 100;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
-}
-
-.header-left h1 {
- margin: 0;
- font-size: 24px;
- color: #1a202c;
-}
-
-.header-right {
- display: flex;
- align-items: center;
- gap: 16px;
-}
-
-.user-name {
- color: #4a5568;
- font-weight: 500;
-}
-
-.btn-logout {
- padding: 8px 16px;
- background: #e2e8f0;
- border: none;
- border-radius: 6px;
- cursor: pointer;
- transition: background 0.2s;
-}
-
-.btn-logout:hover {
- background: #cbd5e0;
-}
-
-.dashboard-main {
- padding: 24px;
- max-width: 1800px;
- margin: 0 auto;
-}
-
-.content-grid {
- display: grid;
- grid-template-columns: 1fr 320px 320px;
- gap: 24px;
- align-items: start;
-}
-
-.section-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20px;
-}
-
-.section-header h2 {
- margin: 0;
- font-size: 20px;
- font-weight: 600;
- color: #1a202c;
-}
-
-.btn-primary {
- padding: 8px 16px;
- background: #667eea;
- color: white;
- border: none;
- border-radius: 6px;
- cursor: pointer;
- font-weight: 500;
- transition: all 0.2s;
-}
-
-.btn-primary:hover {
- background: #5a67d8;
- transform: translateY(-1px);
-}
-
-/* Notes Section */
-.notes-section {
- background: transparent;
-}
-
-.notes-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
- gap: 16px;
-}
-
-.note-card {
- background: white;
- padding: 20px;
- border-radius: 12px;
- border: 1px solid #e2e8f0;
- cursor: pointer;
- transition: all 0.2s;
-}
-
-.note-card:hover {
- border-color: #667eea;
- box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
- transform: translateY(-2px);
-}
-
-.note-card h3 {
- margin: 0 0 12px 0;
- font-size: 16px;
- font-weight: 600;
- color: #1a202c;
-}
-
-.note-card p {
- margin: 0;
- color: #718096;
- font-size: 14px;
- line-height: 1.5;
-}
-
-.note-todos-preview {
- margin-top: 12px;
- padding-top: 12px;
- border-top: 1px solid #e2e8f0;
- font-size: 13px;
- color: #667eea;
- font-weight: 500;
-}
-
-/* Todos Sidebar */
-.todos-sidebar,
-.rss-sidebar {
- background: white;
- border-radius: 12px;
- border: 1px solid #e2e8f0;
- padding: 20px;
- position: sticky;
- top: 88px;
- max-height: calc(100vh - 112px);
- overflow-y: auto;
-}
-
-.todo-input-container {
- margin-bottom: 16px;
-}
-
-.todo-input-container input {
- width: 100%;
- padding: 10px 12px;
- border: 2px solid #e2e8f0;
- border-radius: 8px;
- font-size: 14px;
- transition: border-color 0.2s;
-}
-
-.todo-input-container input:focus {
- outline: none;
- border-color: #667eea;
-}
-
-.todos-list {
- display: flex;
- flex-direction: column;
- gap: 8px;
-}
-
-.todo-item {
- display: flex;
- align-items: center;
- gap: 10px;
- padding: 10px;
- background: #f7fafc;
- border-radius: 6px;
- transition: background 0.2s;
-}
-
-.todo-item:hover {
- background: #edf2f7;
-}
-
-.todo-item input[type="checkbox"] {
- cursor: pointer;
-}
-
-.todo-item span {
- flex: 1;
- font-size: 14px;
- color: #2d3748;
-}
-
-.todo-item span.completed {
- text-decoration: line-through;
- color: #a0aec0;
-}
-
-.btn-delete {
- padding: 4px 8px;
- background: transparent;
- border: none;
- color: #cbd5e0;
- cursor: pointer;
- border-radius: 4px;
- transition: all 0.2s;
-}
-
-.btn-delete:hover {
- background: #fed7d7;
- color: #c53030;
-}
-
-/* RSS Sidebar */
-.rss-content {
- display: flex;
- flex-direction: column;
- gap: 12px;
-}
-
-.rss-article,
-.rss-summary {
- padding: 12px;
- background: #f7fafc;
- border-radius: 8px;
- cursor: pointer;
- transition: all 0.2s;
- border: 1px solid transparent;
-}
-
-.rss-article:hover {
- background: #edf2f7;
- border-color: #667eea;
-}
-
-.rss-article h4,
-.rss-summary h4 {
- margin: 0 0 8px 0;
- font-size: 14px;
- font-weight: 600;
- color: #1a202c;
- line-height: 1.4;
-}
-
-.rss-article p,
-.rss-summary p {
- margin: 8px 0 0 0;
- font-size: 13px;
- color: #718096;
- line-height: 1.5;
-}
-
-.article-meta,
-.summary-meta {
- display: flex;
- justify-content: space-between;
- font-size: 12px;
- color: #a0aec0;
- margin-top: 8px;
-}
-
-.empty-state {
- text-align: center;
- color: #a0aec0;
- font-size: 14px;
- padding: 40px 20px;
-}
-
-.loading {
- display: flex;
- align-items: center;
- justify-content: center;
- min-height: 100vh;
- font-size: 18px;
- color: #667eea;
-}
-
-/* Responsive */
-@media (max-width: 1400px) {
- .content-grid {
- grid-template-columns: 1fr 280px 280px;
- }
-}
-
-@media (max-width: 1200px) {
- .content-grid {
- grid-template-columns: 1fr;
- }
-
- .todos-sidebar,
- .rss-sidebar {
- position: static;
- max-height: none;
- }
-}
diff --git a/client/src/pages/Dashboard.tsx b/client/src/pages/Dashboard.tsx
deleted file mode 100644
index 531d5aa..0000000
--- a/client/src/pages/Dashboard.tsx
+++ /dev/null
@@ -1,215 +0,0 @@
-import { useState, useEffect } from 'react';
-import { useAuth } from '../contexts/AuthContext';
-import { notesApi, todosApi, rssApi, settingsApi } from '../services/api';
-import type { Note, GlobalTodo, RssArticle, RssSummary } from '../types';
-import './Dashboard.css';
-
-export default function Dashboard() {
- const { user, logout } = useAuth();
- const [notes, setNotes] = useState([]);
- const [todos, setTodos] = useState([]);
- const [rssContent, setRssContent] = useState([]);
- const [showSummaries, setShowSummaries] = useState(false);
- const [loading, setLoading] = useState(true);
- const [lastUpdate, setLastUpdate] = useState(new Date());
-
- useEffect(() => {
- loadData();
-
- // Auto-refresh toutes les 30 secondes pour afficher les nouveaux articles RSS
- const interval = setInterval(() => {
- loadRssData();
- }, 30000); // 30 secondes
-
- return () => clearInterval(interval);
- }, []);
-
- const loadData = async () => {
- try {
- const [notesData, todosData] = await Promise.all([
- notesApi.getAll(false),
- todosApi.getAll(),
- ]);
-
- setNotes(notesData);
- setTodos(todosData);
- await loadRssData();
- } catch (error) {
- console.error('Erreur chargement données:', error);
- } finally {
- setLoading(false);
- }
- };
-
- const loadRssData = async () => {
- try {
- const settings = await settingsApi.getAll();
- const summaryEnabled = settings.rss_summary_enabled === '1';
- setShowSummaries(summaryEnabled);
-
- if (summaryEnabled) {
- const summaries = await rssApi.getSummaries();
- setRssContent(summaries);
- } else {
- const articles = await rssApi.getArticles();
- setRssContent(articles);
- }
- setLastUpdate(new Date());
- } catch (error) {
- console.error('Erreur chargement RSS:', error);
- }
- };
-
- const addTodo = async (text: string) => {
- if (!text.trim()) return;
- try {
- const newTodo = await todosApi.create(text);
- setTodos([...todos, newTodo]);
- } catch (error) {
- console.error('Erreur ajout todo:', error);
- }
- };
-
- const toggleTodo = async (id: number, completed: boolean) => {
- try {
- await todosApi.update(id, completed);
- setTodos(todos.map(t => t.id === id ? { ...t, completed } : t));
- } catch (error) {
- console.error('Erreur toggle todo:', error);
- }
- };
-
- const deleteTodo = async (id: number) => {
- if (!window.confirm('Supprimer cette tâche ?')) return;
- try {
- await todosApi.delete(id);
- setTodos(todos.filter(t => t.id !== id));
- } catch (error) {
- console.error('Erreur suppression todo:', error);
- }
- };
-
- if (loading) {
- return Chargement...
;
- }
-
- return (
-
- {/* Header */}
-
-
- {/* Main Content */}
-
-
- {/* Notes Section */}
-
-
-
Notes
- + Nouvelle note
-
-
- {notes.length === 0 ? (
-
Aucune note
- ) : (
- notes.map(note => (
-
-
{note.title}
- {note.content &&
{note.content.substring(0, 150)}...
}
- {note.todos && note.todos.length > 0 && (
-
- {note.todos_completed}/{note.todos_count} tâches
-
- )}
-
- ))
- )}
-
-
-
- {/* Todos Sidebar */}
-
-
- {/* RSS Sidebar */}
-
-
-
📰 Actualités
-
-
- {rssContent.length === 0 ? (
-
Aucun contenu
- ) : showSummaries ? (
- // Afficher les résumés
- (rssContent as RssSummary[]).map(summary => (
-
-
Résumé du {new Date(summary.created_at).toLocaleDateString('fr-FR')}
-
{summary.summary.substring(0, 200)}...
-
- {summary.articles_count} articles • {summary.model.split('/')[1] || summary.model}
-
-
- ))
- ) : (
- // Afficher les articles
- (rssContent as RssArticle[]).map(article => (
-
window.open(article.link, '_blank')}
- >
-
{article.title}
-
- {article.feed_title}
- {new Date(article.pub_date).toLocaleDateString('fr-FR')}
-
- {article.description &&
{article.description.substring(0, 100)}...
}
-
- ))
- )}
-
-
-
-
-
- );
-}
diff --git a/client/src/pages/Login.css b/client/src/pages/Login.css
deleted file mode 100644
index cc11a73..0000000
--- a/client/src/pages/Login.css
+++ /dev/null
@@ -1,120 +0,0 @@
-.login-page {
- min-height: 100vh;
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- padding: 20px;
-}
-
-.login-container {
- background: white;
- border-radius: 16px;
- padding: 40px;
- box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
- max-width: 420px;
- width: 100%;
-}
-
-.login-header {
- text-align: center;
- margin-bottom: 32px;
-}
-
-.login-header h1 {
- font-size: 32px;
- margin: 0 0 8px 0;
- color: #1a202c;
-}
-
-.login-header p {
- margin: 0;
- color: #718096;
- font-size: 14px;
-}
-
-.login-form {
- display: flex;
- flex-direction: column;
- gap: 20px;
-}
-
-.form-group {
- display: flex;
- flex-direction: column;
- gap: 8px;
-}
-
-.form-group label {
- font-size: 14px;
- font-weight: 600;
- color: #2d3748;
-}
-
-.form-group input {
- padding: 12px 16px;
- border: 2px solid #e2e8f0;
- border-radius: 8px;
- font-size: 15px;
- transition: all 0.2s;
-}
-
-.form-group input:focus {
- outline: none;
- border-color: #667eea;
- box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
-}
-
-.form-group input:disabled {
- opacity: 0.6;
- cursor: not-allowed;
-}
-
-.error-message {
- background: #fed7d7;
- color: #c53030;
- padding: 12px 16px;
- border-radius: 8px;
- font-size: 14px;
- border: 1px solid #fc8181;
-}
-
-.btn-login {
- padding: 14px;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- border: none;
- border-radius: 8px;
- font-size: 16px;
- font-weight: 600;
- cursor: pointer;
- transition: transform 0.2s, box-shadow 0.2s;
- margin-top: 8px;
-}
-
-.btn-login:hover:not(:disabled) {
- transform: translateY(-2px);
- box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
-}
-
-.btn-login:disabled {
- opacity: 0.6;
- cursor: not-allowed;
-}
-
-.login-footer {
- text-align: center;
- margin-top: 24px;
- padding-top: 24px;
- border-top: 1px solid #e2e8f0;
-}
-
-.login-footer p {
- margin: 0;
- font-size: 14px;
- color: #718096;
-}
-
-.login-footer strong {
- color: #2d3748;
-}
diff --git a/client/src/pages/Login.tsx b/client/src/pages/Login.tsx
deleted file mode 100644
index d4ab6f9..0000000
--- a/client/src/pages/Login.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-import { useState, FormEvent } from 'react';
-import { useNavigate } from 'react-router-dom';
-import { useAuth } from '../contexts/AuthContext';
-import './Login.css';
-
-export default function Login() {
- const [username, setUsername] = useState('');
- const [password, setPassword] = useState('');
- const [error, setError] = useState('');
- const [loading, setLoading] = useState(false);
-
- const { login } = useAuth();
- const navigate = useNavigate();
-
- const handleSubmit = async (e: FormEvent) => {
- e.preventDefault();
- setError('');
- setLoading(true);
-
- try {
- await login(username, password);
- navigate('/');
- } catch (err: any) {
- setError(err.response?.data?.error || 'Erreur de connexion');
- } finally {
- setLoading(false);
- }
- };
-
- return (
-
-
-
-
📝 NoteFlow
-
Connectez-vous pour accéder à vos notes
-
-
-
-
-
-
Compte par défaut : admin / admin
-
-
-
- );
-}
diff --git a/client/src/services/api.ts b/client/src/services/api.ts
deleted file mode 100644
index 9d13939..0000000
--- a/client/src/services/api.ts
+++ /dev/null
@@ -1,217 +0,0 @@
-import axios, { AxiosInstance, AxiosError } from 'axios';
-import type {
- User,
- Note,
- Todo,
- GlobalTodo,
- RssFeed,
- RssArticle,
- RssSummary,
- OpenRouterModel,
- Settings,
- NoteFile
-} from '../types';
-
-// Configuration Axios
-const api: AxiosInstance = axios.create({
- baseURL: '/api',
- headers: {
- 'Content-Type': 'application/json',
- },
-});
-
-// Intercepteur pour ajouter le token JWT
-api.interceptors.request.use((config) => {
- const token = localStorage.getItem('token');
- if (token) {
- config.headers.Authorization = `Bearer ${token}`;
- }
- return config;
-});
-
-// Intercepteur pour gérer les erreurs d'authentification
-api.interceptors.response.use(
- (response) => response,
- (error: AxiosError) => {
- if (error.response?.status === 401 || error.response?.status === 403) {
- localStorage.removeItem('token');
- localStorage.removeItem('user');
- window.location.href = '/login';
- }
- return Promise.reject(error);
- }
-);
-
-// === AUTH ===
-export const authApi = {
- login: async (username: string, password: string) => {
- const { data } = await api.post('/auth/login', { username, password });
- return data;
- },
- register: async (username: string, password: string) => {
- const { data } = await api.post('/auth/register', { username, password });
- return data;
- },
- logout: async () => {
- const { data } = await api.post('/auth/logout');
- return data;
- },
-};
-
-// === USERS ===
-export const usersApi = {
- getAll: async (): Promise => {
- const { data } = await api.get('/users');
- return data;
- },
- create: async (username: string, password: string, is_admin: boolean): Promise => {
- const { data } = await api.post('/users', { username, password, is_admin });
- return data;
- },
- update: async (id: number, password: string): Promise => {
- await api.put(`/users/${id}`, { password });
- },
- delete: async (id: number): Promise => {
- await api.delete(`/users/${id}`);
- },
-};
-
-// === NOTES ===
-export const notesApi = {
- getAll: async (archived: boolean = false): Promise => {
- const { data } = await api.get(`/notes?archived=${archived}`);
- return Array.isArray(data) ? data : [];
- },
- getOne: async (id: number): Promise => {
- const { data } = await api.get(`/notes/${id}`);
- return data;
- },
- create: async (note: Partial): Promise => {
- const { data } = await api.post('/notes', note);
- return data;
- },
- update: async (id: number, note: Partial): Promise => {
- await api.put(`/notes/${id}`, note);
- },
- delete: async (id: number): Promise => {
- await api.delete(`/notes/${id}`);
- },
- archive: async (id: number, archived: boolean): Promise => {
- await api.put(`/notes/${id}/archive`, { archived });
- },
- uploadImage: async (id: number, file: File): Promise<{ filename: string; url: string }> => {
- const formData = new FormData();
- formData.append('image', file);
- const { data } = await api.post(`/notes/${id}/image`, formData, {
- headers: { 'Content-Type': 'multipart/form-data' },
- });
- return data;
- },
- deleteImage: async (id: number): Promise => {
- await api.delete(`/notes/${id}/image`);
- },
- uploadFile: async (id: number, file: File): Promise => {
- const formData = new FormData();
- formData.append('file', file);
- const { data } = await api.post(`/notes/${id}/files`, formData, {
- headers: { 'Content-Type': 'multipart/form-data' },
- });
- return data;
- },
- downloadFile: async (fileId: number): Promise => {
- window.open(`/api/notes/files/${fileId}/download`, '_blank');
- },
- deleteFile: async (fileId: number): Promise => {
- await api.delete(`/api/notes/files/${fileId}`);
- },
-};
-
-// === NOTE TODOS ===
-export const noteTodosApi = {
- create: async (noteId: number, text: string): Promise => {
- const { data } = await api.post(`/notes/${noteId}/todos`, { text });
- return data;
- },
- update: async (id: number, completed: boolean): Promise => {
- await api.put(`/notes/todos/${id}`, { completed });
- },
- delete: async (id: number): Promise => {
- await api.delete(`/notes/todos/${id}`);
- },
-};
-
-// === GLOBAL TODOS ===
-export const todosApi = {
- getAll: async (): Promise => {
- const { data} = await api.get('/todos');
- return data;
- },
- create: async (text: string): Promise => {
- const { data } = await api.post('/todos', { text });
- return data;
- },
- update: async (id: number, completed: boolean): Promise => {
- await api.put(`/todos/${id}`, { completed });
- },
- delete: async (id: number): Promise => {
- await api.delete(`/todos/${id}`);
- },
-};
-
-// === RSS FEEDS ===
-export const rssApi = {
- getFeeds: async (): Promise => {
- const { data } = await api.get('/rss/feeds');
- return data;
- },
- addFeed: async (url: string): Promise => {
- const { data } = await api.post('/rss/feeds', { url });
- return data;
- },
- updateFeed: async (id: number, enabled: boolean): Promise => {
- await api.put(`/rss/feeds/${id}`, { enabled });
- },
- deleteFeed: async (id: number): Promise => {
- await api.delete(`/rss/feeds/${id}`);
- },
- fetchArticles: async (): Promise<{ message: string }> => {
- const { data } = await api.post('/rss/fetch');
- return data;
- },
- getArticles: async (): Promise => {
- const { data } = await api.get('/rss/articles');
- return data || [];
- },
- getSummaries: async (): Promise => {
- const { data } = await api.get('/rss/summaries');
- return data || [];
- },
- generateSummary: async (): Promise<{ summary: string; model: string; articles_count: number }> => {
- const { data } = await api.post('/rss/summarize');
- return data;
- },
- getModels: async (): Promise => {
- const { data } = await api.get('/rss/models');
- return data;
- },
-};
-
-// === SETTINGS ===
-export const settingsApi = {
- getAll: async (): Promise => {
- const { data } = await api.get('/settings');
- return data;
- },
- getOne: async (key: string): Promise<{ key: string; value: string }> => {
- const { data } = await api.get(`/settings/${key}`);
- return data;
- },
- update: async (key: string, value: string): Promise => {
- await api.put(`/settings/${key}`, { value });
- },
- delete: async (key: string): Promise => {
- await api.delete(`/settings/${key}`);
- },
-};
-
-export default api;
diff --git a/client/src/types/index.ts b/client/src/types/index.ts
deleted file mode 100644
index 961c85a..0000000
--- a/client/src/types/index.ts
+++ /dev/null
@@ -1,114 +0,0 @@
-// Types pour l'application NoteFlow
-
-export interface User {
- id: number;
- username: string;
- is_admin: boolean;
- created_at: string;
-}
-
-export interface Note {
- id: number;
- user_id: number;
- title: string;
- content: string;
- image_filename?: string;
- archived: boolean;
- created_at: string;
- updated_at: string;
- todos?: Todo[];
- files?: NoteFile[];
- todos_count?: number;
- todos_completed?: number;
-}
-
-export interface Todo {
- id: number;
- note_id: number;
- text: string;
- completed: boolean;
- position: number;
-}
-
-export interface GlobalTodo {
- id: number;
- user_id: number;
- text: string;
- completed: boolean;
- created_at: string;
-}
-
-export interface NoteFile {
- id: number;
- note_id: number;
- filename: string;
- original_name: string;
- file_size: number;
- mime_type: string;
- created_at: string;
-}
-
-export interface RssFeed {
- id: number;
- url: string;
- title: string;
- description: string;
- enabled: boolean;
- created_at: string;
- last_fetched_at?: string;
-}
-
-export interface RssArticle {
- id: number;
- feed_id: number;
- title: string;
- link: string;
- description?: string;
- pub_date: string;
- content?: string;
- feed_title: string;
- feed_url: string;
-}
-
-export interface RssSummary {
- id: number;
- summary: string;
- model: string;
- articles_count: number;
- created_at: string;
-}
-
-export interface OpenRouterModel {
- id: string;
- name: string;
- provider: string;
- context_length?: number;
- pricing?: {
- prompt: number;
- completion: number;
- };
-}
-
-export interface Settings {
- [key: string]: string;
- openrouter_api_key?: string;
- openrouter_model?: string;
- rss_summary_enabled?: string;
- rss_summary_prompt?: string;
-}
-
-export interface AuthContextType {
- user: User | null;
- token: string | null;
- login: (username: string, password: string) => Promise;
- logout: () => void;
- isAuthenticated: boolean;
-}
-
-export interface ApiError {
- error: string;
- details?: any;
-}
-
-export type NoteView = 'active' | 'archived';
-export type TodoFilter = 'all' | 'active' | 'completed';
diff --git a/client/tsconfig.app.json b/client/tsconfig.app.json
deleted file mode 100644
index a9b5a59..0000000
--- a/client/tsconfig.app.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "compilerOptions": {
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
- "target": "ES2022",
- "useDefineForClassFields": true,
- "lib": ["ES2022", "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/client/tsconfig.json b/client/tsconfig.json
deleted file mode 100644
index 1ffef60..0000000
--- a/client/tsconfig.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "files": [],
- "references": [
- { "path": "./tsconfig.app.json" },
- { "path": "./tsconfig.node.json" }
- ]
-}
diff --git a/client/tsconfig.node.json b/client/tsconfig.node.json
deleted file mode 100644
index 8a67f62..0000000
--- a/client/tsconfig.node.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "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/client/vite.config.ts b/client/vite.config.ts
deleted file mode 100644
index 32b7bcb..0000000
--- a/client/vite.config.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { defineConfig } from 'vite'
-import react from '@vitejs/plugin-react'
-
-// https://vite.dev/config/
-export default defineConfig({
- plugins: [react()],
- server: {
- port: 5173,
- proxy: {
- '/api': {
- target: 'http://localhost:3000',
- changeOrigin: true,
- },
- '/uploads': {
- target: 'http://localhost:3000',
- changeOrigin: true,
- },
- },
- },
- build: {
- outDir: '../public-react',
- },
-})
diff --git a/public/css/animations.css b/public/css/animations.css
deleted file mode 100644
index ad48812..0000000
--- a/public/css/animations.css
+++ /dev/null
@@ -1,154 +0,0 @@
-/* Animations CSS */
-
-/* Fade in */
-@keyframes fadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-/* Backdrop fade - GPU accelerated */
-@keyframes backdropFade {
- from {
- opacity: 0;
- backdrop-filter: blur(0px);
- }
- to {
- opacity: 1;
- backdrop-filter: blur(4px);
- }
-}
-
-/* Modal open animation - GPU accelerated */
-@keyframes modalOpen {
- from {
- opacity: 0;
- transform: scale3d(0.9, 0.9, 1) translateZ(0);
- }
- to {
- opacity: 1;
- transform: scale3d(1, 1, 1) translateZ(0);
- }
-}
-
-/* Slide in from bottom - GPU accelerated */
-@keyframes slideInUp {
- from {
- opacity: 0;
- transform: translate3d(0, 20px, 0);
- }
- to {
- opacity: 1;
- transform: translate3d(0, 0, 0);
- }
-}
-
-/* Slide in from right - GPU accelerated */
-@keyframes slideInRight {
- from {
- opacity: 0;
- transform: translate3d(20px, 0, 0);
- }
- to {
- opacity: 1;
- transform: translate3d(0, 0, 0);
- }
-}
-
-/* Card hover animation */
-@keyframes cardHover {
- from {
- transform: translateY(0);
- }
- to {
- transform: translateY(-4px);
- }
-}
-
-/* Pulse animation */
-@keyframes pulse {
- 0%, 100% {
- opacity: 1;
- }
- 50% {
- opacity: 0.5;
- }
-}
-
-/* Spin animation */
-@keyframes spin {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
-}
-
-/* Application des animations */
-.modal-backdrop {
- animation: backdropFade 0.25s ease-out;
- will-change: opacity, backdrop-filter;
-}
-
-.modal-content {
- animation: modalOpen 0.3s cubic-bezier(0.4, 0, 0.2, 1);
- will-change: transform, opacity;
- backface-visibility: hidden;
- perspective: 1000px;
-}
-
-.note-card {
- animation: slideInUp 0.25s ease-out;
- will-change: transform, opacity;
- backface-visibility: hidden;
-}
-
-.todo-item {
- animation: slideInRight 0.2s ease-out;
- will-change: transform, opacity;
- backface-visibility: hidden;
-}
-
-.user-dropdown {
- animation: slideInUp 0.2s ease-out;
- will-change: transform, opacity;
- backface-visibility: hidden;
-}
-
-/* Animation pour le modal image */
-.image-modal {
- will-change: opacity;
-}
-
-.image-modal-content {
- will-change: transform, opacity;
- backface-visibility: hidden;
-}
-
-/* Loading state */
-.loading {
- animation: pulse 1.5s ease-in-out infinite;
-}
-
-.spinning {
- animation: spin 1s linear infinite;
-}
-
-.spinner {
- animation: spin 1s linear infinite;
- width: 20px;
- height: 20px;
-}
-
-/* Smooth transitions */
-.smooth-transition {
- transition: all var(--transition-base);
-}
-
-.smooth-transition-slow {
- transition: all var(--transition-slow);
-}
diff --git a/public/css/components.css b/public/css/components.css
deleted file mode 100644
index c9c26aa..0000000
--- a/public/css/components.css
+++ /dev/null
@@ -1,1447 +0,0 @@
-/* Components - UI Elements modernes */
-
-/* ============================================
- NOTES CARDS
- ============================================ */
-
-.note-card {
- background: var(--color-card);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-lg);
- transition: all var(--transition-base);
- box-shadow: var(--shadow-sm);
-}
-
-.note-card-compact {
- padding: var(--spacing-lg);
- cursor: pointer;
-}
-
-.note-card-compact:hover {
- box-shadow: var(--shadow-hover);
- transform: translateY(-2px);
- border-color: var(--color-accent);
-}
-
-.note-card.expanded {
- grid-column: 1 / -1;
- cursor: default;
- box-shadow: var(--shadow-lg);
- border-color: var(--color-accent);
- overflow: hidden;
-}
-
-.note-card.expanded:hover {
- transform: none;
-}
-
-.note-card-title {
- font-size: var(--font-size-lg);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-sm);
- line-height: 1.4;
-}
-
-.note-card-preview {
- font-size: var(--font-size-sm);
- color: var(--color-text-secondary);
- line-height: 1.6;
- margin-bottom: var(--spacing-md);
- display: -webkit-box;
- -webkit-line-clamp: 3;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-
-.note-card-meta {
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
- padding-top: var(--spacing-sm);
- border-top: 1px solid var(--color-border);
-}
-
-.note-card-date {
- font-weight: var(--font-weight-medium);
-}
-
-.note-card-todos-count {
- display: flex;
- align-items: center;
- gap: 4px;
- padding: 2px 8px;
- background: var(--color-background);
- border-radius: var(--radius-full);
- font-weight: var(--font-weight-medium);
-}
-
-.note-card-image {
- width: 100%;
- height: 140px;
- object-fit: cover;
- border-radius: var(--radius-md);
- margin-bottom: var(--spacing-md);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.note-card-image:hover {
- opacity: 0.9;
- transform: scale(1.02);
-}
-
-.note-todos-preview {
- margin-top: var(--spacing-md);
- margin-bottom: var(--spacing-sm);
- display: flex;
- flex-direction: column;
- gap: var(--spacing-xs);
-}
-
-.todo-preview {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
-}
-
-.todo-preview.completed .todo-text-preview {
- text-decoration: line-through;
- opacity: 0.6;
-}
-
-.todo-checkbox-preview {
- font-size: var(--font-size-sm);
-}
-
-.todo-more {
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
- font-style: italic;
- margin-top: var(--spacing-xs);
-}
-
-/* Inline expansion styles */
-.note-card-header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: var(--spacing-md);
- padding: var(--spacing-lg);
- border-bottom: 1px solid var(--color-border);
-}
-
-.note-title-input-inline {
- flex: 1;
- border: none;
- font-size: var(--font-size-xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
- background: transparent;
- padding: var(--spacing-sm) 0;
-}
-
-.note-title-input-inline:focus {
- outline: none;
- background: var(--color-background);
- padding: var(--spacing-sm) var(--spacing-md);
- border-radius: var(--radius-sm);
-}
-
-.note-actions {
- display: flex;
- gap: var(--spacing-xs);
- flex-shrink: 0;
-}
-
-.btn-icon-small {
- width: 32px;
- height: 32px;
- padding: 6px;
- border: 1px solid var(--color-border);
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- transition: all var(--transition-fast);
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.btn-icon-small:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
- border-color: var(--color-accent);
-}
-
-.btn-icon-small svg {
- width: 100%;
- height: 100%;
-}
-
-.note-content-textarea-inline {
- width: 100%;
- min-height: 200px;
- padding: var(--spacing-lg);
- border: none;
- font-size: var(--font-size-base);
- color: var(--color-text-primary);
- line-height: 1.8;
- resize: vertical;
- font-family: var(--font-family);
- background: transparent;
-}
-
-.note-content-textarea-inline:focus {
- outline: none;
- background: var(--color-background);
-}
-
-.note-image-container-inline {
- padding: 0 var(--spacing-lg);
- position: relative;
- margin-bottom: var(--spacing-md);
-}
-
-.btn-remove-image-inline {
- position: absolute;
- top: var(--spacing-sm);
- right: calc(var(--spacing-lg) + var(--spacing-sm));
- width: 28px;
- height: 28px;
- padding: 4px;
- border: none;
- border-radius: var(--radius-full);
- background: rgba(0, 0, 0, 0.7);
- color: white;
- cursor: pointer;
- font-size: var(--font-size-lg);
- line-height: 1;
- transition: all var(--transition-fast);
-}
-
-.btn-remove-image-inline:hover {
- background: var(--color-danger);
-}
-
-.note-todos-inline {
- padding: var(--spacing-lg);
- border-top: 1px solid var(--color-border);
-}
-
-.note-todos-inline h4 {
- font-size: var(--font-size-base);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-md);
-}
-
-.todos-list-inline {
- display: flex;
- flex-direction: column;
- gap: var(--spacing-sm);
- margin-bottom: var(--spacing-md);
-}
-
-.todo-item-inline {
- display: flex;
- align-items: center;
- gap: var(--spacing-md);
- padding: var(--spacing-sm);
- background: var(--color-background);
- border-radius: var(--radius-sm);
- transition: all var(--transition-fast);
-}
-
-.todo-item-inline:hover {
- background: var(--color-hover);
-}
-
-.todo-checkbox-inline {
- width: 18px;
- height: 18px;
- border: 2px solid var(--color-border);
- border-radius: 4px;
- cursor: pointer;
- transition: all var(--transition-fast);
- flex-shrink: 0;
-}
-
-.todo-checkbox-inline:checked {
- background: var(--color-accent);
- border-color: var(--color-accent);
-}
-
-.todo-text-inline {
- flex: 1;
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- line-height: 1.5;
-}
-
-.todo-text-inline.completed {
- text-decoration: line-through;
- color: var(--color-text-secondary);
-}
-
-.todo-delete-inline {
- width: 24px;
- height: 24px;
- padding: 4px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- opacity: 0;
- transition: all var(--transition-fast);
- flex-shrink: 0;
-}
-
-.todo-item-inline:hover .todo-delete-inline {
- opacity: 1;
-}
-
-.todo-delete-inline:hover {
- background: var(--color-danger);
- color: white;
-}
-
-.no-todos {
- text-align: center;
- color: var(--color-text-secondary);
- font-size: var(--font-size-sm);
- padding: var(--spacing-md);
- font-style: italic;
-}
-
-.add-todo-inline-container {
- display: flex;
- gap: var(--spacing-sm);
- align-items: center;
-}
-
-.add-todo-inline-input {
- flex: 1;
- padding: var(--spacing-sm) var(--spacing-md);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-sm);
- background: var(--color-background);
- color: var(--color-text-primary);
- font-size: var(--font-size-sm);
- transition: all var(--transition-fast);
-}
-
-.add-todo-inline-input:focus {
- outline: none;
- border-color: var(--color-accent);
- background: var(--color-card);
-}
-
-.add-todo-inline-input::placeholder {
- color: var(--color-text-secondary);
-}
-
-.btn-add-todo-inline {
- padding: var(--spacing-sm) var(--spacing-md);
- border: 1px solid var(--color-accent);
- border-radius: var(--radius-sm);
- background: var(--color-accent);
- color: white;
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-medium);
- cursor: pointer;
- transition: all var(--transition-fast);
- white-space: nowrap;
-}
-
-.btn-add-todo-inline:hover {
- background: var(--color-accent-hover);
- box-shadow: var(--shadow-sm);
-}
-
-.btn-add-todo-inline:disabled {
- opacity: 0.5;
- cursor: not-allowed;
-}
-
-.note-footer-inline {
- display: flex;
- align-items: center;
- gap: var(--spacing-md);
- padding: var(--spacing-lg);
- border-top: 1px solid var(--color-border);
- background: var(--color-background);
-}
-
-.note-meta-inline {
- flex: 1;
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
-}
-
-.btn-add-image-inline {
- width: 36px;
- height: 36px;
- padding: 8px;
- border: 1px solid var(--color-border);
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- transition: all var(--transition-fast);
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.btn-add-image-inline:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
- border-color: var(--color-accent);
-}
-
-.btn-add-image-inline svg {
- width: 100%;
- height: 100%;
-}
-
-.btn-add-file-inline {
- width: 36px;
- height: 36px;
- padding: 8px;
- border: 1px solid var(--color-border);
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- transition: all var(--transition-fast);
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.btn-add-file-inline:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
- border-color: var(--color-accent);
-}
-
-.btn-add-file-inline svg {
- width: 100%;
- height: 100%;
-}
-
-.note-files-container-inline {
- padding: 0 var(--spacing-lg) var(--spacing-md);
-}
-
-.note-files-list {
- display: flex;
- flex-direction: column;
- gap: var(--spacing-xs);
-}
-
-.note-file-item {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
- padding: var(--spacing-sm) var(--spacing-md);
- background: var(--color-background);
- border-radius: var(--radius-sm);
- border: 1px solid var(--color-border);
- transition: all var(--transition-fast);
-}
-
-.note-file-item:hover {
- background: var(--color-hover);
- border-color: var(--color-accent);
-}
-
-.note-file-icon {
- width: 20px;
- height: 20px;
- flex-shrink: 0;
- color: var(--color-text-secondary);
-}
-
-.note-file-info {
- flex: 1;
- min-width: 0;
-}
-
-.note-file-name {
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- font-weight: var(--font-weight-medium);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.note-file-size {
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
-}
-
-.note-file-actions {
- display: flex;
- gap: var(--spacing-xs);
-}
-
-.btn-download-file,
-.btn-delete-file {
- width: 28px;
- height: 28px;
- padding: 6px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- transition: all var(--transition-fast);
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.btn-download-file:hover {
- background: var(--color-accent);
- color: white;
-}
-
-.btn-delete-file:hover {
- background: var(--color-danger);
- color: white;
-}
-
-.btn-download-file svg,
-.btn-delete-file svg {
- width: 100%;
- height: 100%;
-}
-
-/* ============================================
- TODO BOX
- ============================================ */
-
-.todo-input-wrapper {
- position: relative;
- margin-bottom: var(--spacing-lg);
-}
-
-.todo-input {
- width: 100%;
- padding: var(--spacing-md) 48px var(--spacing-md) var(--spacing-md);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- background: var(--color-background);
- transition: all var(--transition-base);
-}
-
-.todo-input:focus {
- outline: none;
- border-color: var(--color-accent);
- background: var(--color-card);
- box-shadow: var(--shadow-sm);
-}
-
-.btn-add-todo {
- position: absolute;
- right: var(--spacing-sm);
- top: 50%;
- transform: translateY(-50%);
- width: 32px;
- height: 32px;
- padding: 6px;
- border: none;
- border-radius: var(--radius-sm);
- background: var(--color-accent);
- color: white;
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.btn-add-todo:hover {
- background: var(--color-accent-hover);
- transform: translateY(-50%) scale(1.05);
-}
-
-.btn-add-todo svg {
- width: 100%;
- height: 100%;
-}
-
-/* Todo Filters */
-.todo-filters {
- display: flex;
- gap: var(--spacing-xs);
- margin-bottom: var(--spacing-lg);
-}
-
-.filter-btn {
- flex: 1;
- padding: var(--spacing-sm);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- font-size: var(--font-size-xs);
- font-weight: var(--font-weight-medium);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.filter-btn:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
-}
-
-.filter-btn.active {
- background: var(--color-accent);
- color: white;
- border-color: var(--color-accent);
-}
-
-/* Todo List */
-.todo-list {
- flex: 1;
- overflow-y: auto;
- display: flex;
- flex-direction: column;
- gap: var(--spacing-sm);
-}
-
-.todo-item {
- display: flex;
- align-items: center;
- gap: var(--spacing-md);
- padding: var(--spacing-md);
- background: var(--color-background);
- border-radius: var(--radius-md);
- transition: all var(--transition-fast);
-}
-
-.todo-item:hover {
- background: var(--color-hover);
-}
-
-.todo-checkbox {
- width: 18px;
- height: 18px;
- border: 2px solid var(--color-border);
- border-radius: 4px;
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.todo-checkbox:checked {
- background: var(--color-accent);
- border-color: var(--color-accent);
-}
-
-.todo-text {
- flex: 1;
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- line-height: 1.5;
-}
-
-.todo-item.completed .todo-text {
- text-decoration: line-through;
- color: var(--color-text-secondary);
-}
-
-.todo-delete {
- width: 24px;
- height: 24px;
- padding: 4px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- opacity: 0;
- transition: all var(--transition-fast);
-}
-
-.todo-item:hover .todo-delete {
- opacity: 1;
-}
-
-.todo-delete:hover {
- background: var(--color-danger);
- color: white;
-}
-
-/* ============================================
- NOTE EDITOR (EXPANDED)
- ============================================ */
-
-.note-editor-backdrop {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.5);
- z-index: var(--z-modal);
- display: flex;
- align-items: center;
- justify-content: center;
- padding: var(--spacing-xl);
- backdrop-filter: blur(4px);
- animation: fadeIn var(--transition-base);
-}
-
-@keyframes fadeIn {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
-}
-
-.note-editor {
- width: 100%;
- max-width: 800px;
- max-height: 90vh;
- background: var(--color-card);
- border-radius: var(--radius-xl);
- box-shadow: var(--shadow-2xl);
- display: flex;
- flex-direction: column;
- overflow: hidden;
- animation: slideUp var(--transition-base);
-}
-
-@keyframes slideUp {
- from {
- opacity: 0;
- transform: translateY(20px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-.note-editor-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--spacing-lg) var(--spacing-xl);
- border-bottom: 1px solid var(--color-border);
-}
-
-.btn-close-editor {
- width: 36px;
- height: 36px;
- padding: 8px;
- border: none;
- border-radius: var(--radius-md);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.btn-close-editor:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
-}
-
-.note-editor-actions {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
-}
-
-.btn-icon {
- width: 36px;
- height: 36px;
- padding: 8px;
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.btn-icon:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
- border-color: var(--color-accent);
-}
-
-.btn-primary {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
- padding: var(--spacing-sm) var(--spacing-lg);
- border: none;
- border-radius: var(--radius-md);
- background: var(--color-accent);
- color: white;
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- cursor: pointer;
- transition: all var(--transition-base);
-}
-
-.btn-primary:hover {
- background: var(--color-accent-hover);
- box-shadow: var(--shadow-md);
-}
-
-.btn-primary svg {
- width: 16px;
- height: 16px;
-}
-
-.note-title-input {
- width: 100%;
- padding: var(--spacing-lg) var(--spacing-xl);
- border: none;
- border-bottom: 1px solid var(--color-border);
- font-size: var(--font-size-2xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
- background: transparent;
-}
-
-.note-title-input:focus {
- outline: none;
- background: var(--color-background);
-}
-
-.note-content-textarea {
- flex: 1;
- min-height: 300px;
- padding: var(--spacing-xl);
- border: none;
- font-size: var(--font-size-base);
- color: var(--color-text-primary);
- line-height: 1.8;
- resize: none;
- font-family: var(--font-family);
-}
-
-.note-content-textarea:focus {
- outline: none;
-}
-
-.note-image-container {
- padding: 0 var(--spacing-xl) var(--spacing-lg);
- position: relative;
-}
-
-.note-image {
- width: 100%;
- max-height: 200px;
- object-fit: cover;
- border-radius: var(--radius-lg);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.note-image:hover {
- opacity: 0.9;
- transform: scale(1.02);
-}
-
-.btn-remove-image {
- position: absolute;
- top: var(--spacing-md);
- right: calc(var(--spacing-xl) + var(--spacing-md));
- width: 32px;
- height: 32px;
- padding: 6px;
- border: none;
- border-radius: var(--radius-full);
- background: rgba(0, 0, 0, 0.7);
- color: white;
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.btn-remove-image:hover {
- background: var(--color-danger);
-}
-
-.note-todos-section {
- padding: var(--spacing-lg) var(--spacing-xl);
- border-top: 1px solid var(--color-border);
-}
-
-.note-section-title {
- font-size: var(--font-size-base);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-md);
-}
-
-.note-todos-list {
- display: flex;
- flex-direction: column;
- gap: var(--spacing-sm);
- margin-bottom: var(--spacing-md);
-}
-
-.btn-add-note-todo {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
- padding: var(--spacing-sm) var(--spacing-md);
- border: 1px dashed var(--color-border);
- border-radius: var(--radius-md);
- background: transparent;
- color: var(--color-text-secondary);
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-medium);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.btn-add-note-todo:hover {
- background: var(--color-hover);
- border-color: var(--color-accent);
- color: var(--color-text-primary);
-}
-
-.btn-add-note-todo svg {
- width: 16px;
- height: 16px;
-}
-
-.note-editor-footer {
- display: flex;
- align-items: center;
- gap: var(--spacing-md);
- padding: var(--spacing-lg) var(--spacing-xl);
- border-top: 1px solid var(--color-border);
- background: var(--color-background);
-}
-
-.note-metadata {
- flex: 1;
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
-}
-
-/* ============================================
- MODALS (Admin & Confirm)
- ============================================ */
-
-.modal-backdrop {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.5);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: var(--z-modal);
- backdrop-filter: blur(4px);
-}
-
-.modal-content {
- background: var(--color-card);
- border-radius: var(--radius-xl);
- box-shadow: var(--shadow-2xl);
- max-width: 90vw;
- max-height: 90vh;
- overflow: hidden;
- animation: slideUp var(--transition-base);
-}
-
-.modal-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: var(--spacing-xl);
- border-bottom: 1px solid var(--color-border);
-}
-
-.modal-header h2 {
- font-size: var(--font-size-xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
-}
-
-.modal-close {
- width: 36px;
- height: 36px;
- padding: 8px;
- border: none;
- border-radius: var(--radius-md);
- background: transparent;
- color: var(--color-text-secondary);
- font-size: var(--font-size-xl);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.modal-close:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
-}
-
-/* Admin Modal */
-.admin-modal {
- min-width: 700px;
- max-width: 900px;
-}
-
-.admin-tabs {
- display: flex;
- gap: 0;
- border-bottom: 2px solid var(--color-border);
- padding: 0 var(--spacing-xl);
-}
-
-.admin-tab {
- padding: var(--spacing-md) var(--spacing-lg);
- border: none;
- background: transparent;
- color: var(--color-text-secondary);
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- cursor: pointer;
- transition: all var(--transition-fast);
- border-bottom: 2px solid transparent;
- margin-bottom: -2px;
-}
-
-.admin-tab:hover {
- color: var(--color-text-primary);
- background: var(--color-hover);
-}
-
-.admin-tab.active {
- color: var(--color-accent);
- border-bottom-color: var(--color-accent);
-}
-
-.admin-tab-content {
- max-height: 60vh;
- overflow-y: auto;
-}
-
-.admin-actions {
- padding: var(--spacing-lg) var(--spacing-xl);
- border-bottom: 1px solid var(--color-border);
- display: flex;
- gap: var(--spacing-md);
- align-items: center;
-}
-
-.action-btn {
- padding: var(--spacing-sm) var(--spacing-lg);
- border: none;
- border-radius: var(--radius-md);
- background: var(--color-accent);
- color: white;
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- cursor: pointer;
- transition: all var(--transition-base);
-}
-
-.action-btn:hover {
- background: var(--color-accent-hover);
- box-shadow: var(--shadow-md);
-}
-
-.action-btn.btn-secondary {
- background: var(--color-background);
- color: var(--color-text-primary);
- border: 1px solid var(--color-border);
-}
-
-.action-btn.btn-secondary:hover {
- background: var(--color-hover);
-}
-
-.rss-url-input {
- flex: 1;
- padding: var(--spacing-sm) var(--spacing-md);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- font-size: var(--font-size-sm);
- transition: all var(--transition-fast);
-}
-
-.rss-url-input:focus {
- outline: none;
- border-color: var(--color-accent);
- box-shadow: var(--shadow-sm);
-}
-
-.users-table-container {
- padding: var(--spacing-xl);
- overflow-x: auto;
-}
-
-.users-table {
- width: 100%;
- border-collapse: collapse;
-}
-
-.users-table th,
-.users-table td {
- padding: var(--spacing-md);
- text-align: left;
- border-bottom: 1px solid var(--color-border);
-}
-
-.users-table th {
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-secondary);
- background: var(--color-background);
-}
-
-.users-table tbody tr:hover {
- background: var(--color-hover);
-}
-
-.btn-edit-user,
-.btn-delete-user {
- padding: var(--spacing-sm) var(--spacing-md);
- border: none;
- border-radius: var(--radius-sm);
- font-size: var(--font-size-xs);
- font-weight: var(--font-weight-medium);
- cursor: pointer;
- transition: all var(--transition-fast);
- margin-right: var(--spacing-xs);
-}
-
-.btn-edit-user {
- background: var(--color-accent);
- color: white;
-}
-
-.btn-edit-user:hover {
- background: var(--color-accent-hover);
- box-shadow: var(--shadow-sm);
-}
-
-.btn-delete-user {
- background: var(--color-danger);
- color: white;
-}
-
-.btn-delete-user:hover {
- background: #c0392b;
- box-shadow: var(--shadow-sm);
-}
-
-/* Confirm Modal */
-.confirm-modal {
- max-width: 450px;
- padding: var(--spacing-2xl);
- text-align: center;
-}
-
-.confirm-icon {
- font-size: 3rem;
- margin-bottom: var(--spacing-md);
-}
-
-.confirm-title {
- font-size: var(--font-size-xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-md);
-}
-
-.confirm-message {
- font-size: var(--font-size-base);
- color: var(--color-text-secondary);
- line-height: 1.6;
- margin-bottom: var(--spacing-xl);
-}
-
-.confirm-actions {
- display: flex;
- gap: var(--spacing-md);
- justify-content: center;
-}
-
-.btn-cancel,
-.btn-confirm {
- padding: var(--spacing-md) var(--spacing-xl);
- border: none;
- border-radius: var(--radius-md);
- font-size: var(--font-size-base);
- font-weight: var(--font-weight-semibold);
- cursor: pointer;
- transition: all var(--transition-base);
- min-width: 120px;
-}
-
-.btn-cancel {
- background: var(--color-background);
- color: var(--color-text-primary);
- border: 1px solid var(--color-border);
-}
-
-.btn-cancel:hover {
- background: var(--color-hover);
-}
-
-.btn-confirm {
- background: var(--color-danger);
- color: white;
-}
-
-.btn-confirm:hover {
- background: #c0392b;
- box-shadow: var(--shadow-md);
-}
-
-/* RSS Feeds List */
-.rss-feeds-list {
- padding: var(--spacing-xl);
-}
-
-.rss-feed-item {
- padding: var(--spacing-md);
- background: var(--color-background);
- border-radius: var(--radius-md);
- border: 1px solid var(--color-border);
- margin-bottom: var(--spacing-md);
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: var(--spacing-md);
- transition: all var(--transition-fast);
-}
-
-.rss-feed-item:hover {
- background: var(--color-hover);
- border-color: var(--color-accent);
-}
-
-.rss-feed-info {
- flex: 1;
- min-width: 0;
-}
-
-.rss-feed-title {
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-xs);
-}
-
-.rss-feed-url {
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
-}
-
-.rss-feed-actions {
- display: flex;
- gap: var(--spacing-xs);
- align-items: center;
-}
-
-.rss-feed-toggle {
- position: relative;
- width: 44px;
- height: 24px;
-}
-
-.rss-feed-toggle input {
- opacity: 0;
- width: 0;
- height: 0;
-}
-
-.rss-toggle-slider {
- position: absolute;
- cursor: pointer;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: var(--color-border);
- transition: 0.3s;
- border-radius: 24px;
-}
-
-.rss-toggle-slider:before {
- position: absolute;
- content: "";
- height: 18px;
- width: 18px;
- left: 3px;
- bottom: 3px;
- background-color: white;
- transition: 0.3s;
- border-radius: 50%;
-}
-
-.rss-feed-toggle input:checked + .rss-toggle-slider {
- background-color: var(--color-accent);
-}
-
-.rss-feed-toggle input:checked + .rss-toggle-slider:before {
- transform: translateX(20px);
-}
-
-.btn-delete-feed {
- width: 32px;
- height: 32px;
- padding: 6px;
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.btn-delete-feed:hover {
- background: var(--color-danger);
- color: white;
-}
-
-/* OpenRouter Settings */
-.openrouter-settings {
- padding: var(--spacing-xl);
-}
-
-.setting-group {
- margin-bottom: var(--spacing-lg);
-}
-
-.setting-group label {
- display: block;
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-sm);
-}
-
-.setting-group small {
- display: block;
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
- margin-top: var(--spacing-xs);
-}
-
-.setting-group small a {
- color: var(--color-accent);
- text-decoration: none;
-}
-
-.setting-group small a:hover {
- text-decoration: underline;
-}
-
-.setting-input,
-.setting-select {
- width: 100%;
- padding: var(--spacing-sm) var(--spacing-md);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- background: var(--color-background);
- transition: all var(--transition-fast);
-}
-
-.setting-input:focus,
-.setting-select:focus {
- outline: none;
- border-color: var(--color-accent);
- box-shadow: var(--shadow-sm);
-}
-
-.setting-textarea {
- width: 100%;
- padding: var(--spacing-md);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- background: var(--color-background);
- font-family: var(--font-family);
- line-height: 1.6;
- resize: vertical;
- transition: all var(--transition-fast);
-}
-
-.setting-textarea:focus {
- outline: none;
- border-color: var(--color-accent);
- box-shadow: var(--shadow-sm);
-}
-
-.setting-group input[type="checkbox"] {
- width: 18px;
- height: 18px;
- margin-right: var(--spacing-sm);
- cursor: pointer;
-}
-
-/* Change Password Modal */
-.small-modal {
- max-width: 450px;
-}
-
-.modal-body {
- padding: var(--spacing-xl);
-}
-
-.form-group {
- margin-bottom: var(--spacing-lg);
-}
-
-.form-group label {
- display: block;
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-sm);
-}
-
-.form-input {
- width: 100%;
- padding: var(--spacing-sm) var(--spacing-md);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- background: var(--color-background);
- transition: all var(--transition-fast);
-}
-
-.form-input:focus {
- outline: none;
- border-color: var(--color-accent);
- box-shadow: var(--shadow-sm);
-}
-
-.modal-actions {
- display: flex;
- gap: var(--spacing-md);
- justify-content: flex-end;
-}
diff --git a/public/css/layout.css b/public/css/layout.css
deleted file mode 100644
index 2f1fbb7..0000000
--- a/public/css/layout.css
+++ /dev/null
@@ -1,630 +0,0 @@
-/* Layout - Structure principale */
-
-* {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
-}
-
-body {
- font-family: var(--font-family);
- font-size: var(--font-size-base);
- color: var(--color-text-primary);
- background: var(--color-background);
- line-height: 1.6;
- min-height: 100vh;
-}
-
-/* Header */
-.header {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- height: var(--header-height);
- background: var(--color-card);
- border-bottom: 1px solid var(--color-border);
- box-shadow: var(--shadow-sm);
- z-index: var(--z-header);
-}
-
-.header-container {
- max-width: var(--max-width);
- height: 100%;
- margin: 0 auto;
- padding: 0 var(--spacing-xl);
- display: flex;
- align-items: center;
- gap: var(--spacing-xl);
-}
-
-/* Logo */
-.logo {
- display: flex;
- align-items: center;
- gap: var(--spacing-md);
- flex-shrink: 0;
-}
-
-.logo-icon {
- width: 32px;
- height: 32px;
- color: var(--color-accent);
-}
-
-.logo-text {
- font-size: var(--font-size-xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-accent);
- letter-spacing: -0.5px;
-}
-
-/* Search */
-.search-container {
- flex: 1;
- max-width: 500px;
- position: relative;
-}
-
-.search-icon {
- position: absolute;
- left: var(--spacing-md);
- top: 50%;
- transform: translateY(-50%);
- width: 18px;
- height: 18px;
- color: var(--color-text-secondary);
- pointer-events: none;
-}
-
-.search-input {
- width: 100%;
- height: 44px;
- padding: 0 var(--spacing-xl) 0 44px;
- border: 1px solid var(--color-border);
- border-radius: var(--radius-full);
- font-size: var(--font-size-base);
- background: var(--color-background);
- color: var(--color-text-primary);
- transition: all var(--transition-base);
-}
-
-.search-input:focus {
- outline: none;
- border-color: var(--color-accent);
- background: var(--color-card);
- box-shadow: var(--shadow-sm);
-}
-
-.search-clear {
- position: absolute;
- right: var(--spacing-md);
- top: 50%;
- transform: translateY(-50%);
- width: 24px;
- height: 24px;
- padding: 4px;
- border: none;
- background: transparent;
- cursor: pointer;
- color: var(--color-text-secondary);
- border-radius: 50%;
- transition: all var(--transition-fast);
-}
-
-.search-clear:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
-}
-
-.search-clear svg {
- width: 100%;
- height: 100%;
-}
-
-/* User Menu */
-.user-menu {
- position: relative;
- flex-shrink: 0;
-}
-
-.user-button {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
- padding: var(--spacing-sm) var(--spacing-md);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-full);
- background: var(--color-card);
- color: var(--color-text-primary);
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-medium);
- cursor: pointer;
- transition: all var(--transition-base);
-}
-
-.user-button:hover {
- background: var(--color-hover);
- box-shadow: var(--shadow-sm);
-}
-
-.user-icon {
- width: 20px;
- height: 20px;
-}
-
-.dropdown-arrow {
- width: 16px;
- height: 16px;
- transition: transform var(--transition-base);
-}
-
-.user-menu:hover .dropdown-arrow {
- transform: rotate(180deg);
-}
-
-.user-dropdown {
- position: absolute;
- top: calc(100% + var(--spacing-sm));
- right: 0;
- min-width: 200px;
- background: var(--color-card);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- box-shadow: var(--shadow-lg);
- opacity: 0;
- visibility: hidden;
- transform: translateY(-10px);
- transition: all var(--transition-base);
- z-index: var(--z-dropdown);
-}
-
-.user-menu:hover .user-dropdown {
- opacity: 1;
- visibility: visible;
- transform: translateY(0);
-}
-
-.dropdown-item {
- display: flex;
- align-items: center;
- gap: var(--spacing-md);
- width: 100%;
- padding: var(--spacing-md) var(--spacing-lg);
- border: none;
- background: transparent;
- color: var(--color-text-primary);
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-medium);
- text-align: left;
- cursor: pointer;
- transition: background var(--transition-fast);
-}
-
-.dropdown-item:first-child {
- border-radius: var(--radius-md) var(--radius-md) 0 0;
-}
-
-.dropdown-item:last-child {
- border-radius: 0 0 var(--radius-md) var(--radius-md);
-}
-
-.dropdown-item:hover {
- background: var(--color-hover);
-}
-
-.dropdown-item svg {
- width: 18px;
- height: 18px;
-}
-
-/* Main Content */
-.main-content {
- margin-top: var(--header-height);
- min-height: calc(100vh - var(--header-height));
- padding: var(--spacing-2xl) var(--spacing-xl);
-}
-
-.content-container {
- max-width: var(--max-width);
- margin: 0 auto;
- display: grid;
- grid-template-columns: 1fr var(--todo-box-width) var(--todo-box-width);
- gap: var(--spacing-xl);
- align-items: start;
-}
-
-/* Notes Section */
-.notes-section {
- min-width: 0;
-}
-
-.section-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: var(--spacing-lg);
- gap: var(--spacing-lg);
- flex-wrap: wrap;
-}
-
-.section-title {
- font-size: var(--font-size-2xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
-}
-
-.section-actions {
- display: flex;
- align-items: center;
- gap: var(--spacing-md);
-}
-
-.view-filters {
- display: flex;
- gap: var(--spacing-xs);
- background: var(--color-background);
- border-radius: var(--radius-md);
- padding: 4px;
-}
-
-.view-filter {
- display: flex;
- align-items: center;
- gap: var(--spacing-xs);
- padding: var(--spacing-sm) var(--spacing-md);
- border: none;
- border-radius: var(--radius-sm);
- background: transparent;
- color: var(--color-text-secondary);
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-medium);
- cursor: pointer;
- transition: all var(--transition-fast);
-}
-
-.view-filter svg {
- width: 16px;
- height: 16px;
-}
-
-.view-filter:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
-}
-
-.view-filter.active {
- background: var(--color-card);
- color: var(--color-accent);
- box-shadow: var(--shadow-xs);
-}
-
-.btn-new-note {
- display: flex;
- align-items: center;
- gap: var(--spacing-sm);
- padding: var(--spacing-md) var(--spacing-lg);
- border: none;
- border-radius: var(--radius-md);
- background: var(--color-accent);
- color: white;
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- cursor: pointer;
- transition: all var(--transition-base);
- box-shadow: var(--shadow-sm);
-}
-
-.btn-new-note:hover {
- background: var(--color-accent-hover);
- box-shadow: var(--shadow-md);
- transform: translateY(-1px);
-}
-
-.btn-new-note svg {
- width: 18px;
- height: 18px;
-}
-
-.notes-grid {
- display: grid;
- grid-template-columns: repeat(auto-fill, minmax(var(--note-width), 1fr));
- gap: var(--spacing-lg);
-}
-
-/* Todo Box */
-.todo-box {
- position: sticky;
- top: calc(var(--header-height) + var(--spacing-xl));
- background: var(--color-card);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-lg);
- padding: var(--spacing-xl);
- box-shadow: var(--shadow-md);
- max-height: calc(100vh - var(--header-height) - var(--spacing-2xl) * 2);
- display: flex;
- flex-direction: column;
-}
-
-.todo-box-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: var(--spacing-lg);
-}
-
-.todo-box-title {
- font-size: var(--font-size-xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
-}
-
-.todo-counter {
- font-size: var(--font-size-sm);
- color: var(--color-text-secondary);
- font-weight: var(--font-weight-medium);
-}
-
-/* RSS Box */
-.rss-box {
- position: sticky;
- top: calc(var(--header-height) + var(--spacing-xl));
- background: var(--color-card);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-lg);
- padding: var(--spacing-xl);
- box-shadow: var(--shadow-md);
- max-height: calc(100vh - var(--header-height) - var(--spacing-2xl) * 2);
- display: flex;
- flex-direction: column;
-}
-
-.rss-box-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: var(--spacing-lg);
-}
-
-.rss-box-title {
- font-size: var(--font-size-xl);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
-}
-
-.btn-summarize {
- width: 36px;
- height: 36px;
- padding: 8px;
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- background: var(--color-accent);
- color: white;
- cursor: pointer;
- transition: all var(--transition-fast);
- display: flex;
- align-items: center;
- justify-content: center;
-}
-
-.btn-summarize:hover {
- background: var(--color-accent-hover);
- box-shadow: var(--shadow-md);
- transform: scale(1.05);
-}
-
-.btn-summarize svg {
- width: 100%;
- height: 100%;
-}
-
-.rss-articles-list {
- flex: 1;
- overflow-y: auto;
- display: flex;
- flex-direction: column;
- gap: var(--spacing-md);
-}
-
-.rss-empty {
- text-align: center;
- color: var(--color-text-secondary);
- font-size: var(--font-size-sm);
- padding: var(--spacing-2xl);
- font-style: italic;
-}
-
-.rss-article {
- padding: var(--spacing-md);
- background: var(--color-background);
- border-radius: var(--radius-md);
- border: 1px solid var(--color-border);
- transition: all var(--transition-fast);
- cursor: pointer;
-}
-
-.rss-article:hover {
- background: var(--color-hover);
- border-color: var(--color-accent);
- box-shadow: var(--shadow-sm);
-}
-
-.rss-article-title {
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-xs);
- line-height: 1.4;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-
-.rss-article-meta {
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
- margin-bottom: var(--spacing-xs);
-}
-
-.rss-article-source {
- font-weight: var(--font-weight-medium);
-}
-
-.rss-article-description {
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
- line-height: 1.5;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
-}
-
-.rss-summary {
- padding: var(--spacing-lg);
- background: var(--color-background);
- border-radius: var(--radius-md);
- border: 1px solid var(--color-border);
- margin-bottom: var(--spacing-md);
-}
-
-.rss-summary-header {
- margin-bottom: var(--spacing-md);
- padding-bottom: var(--spacing-sm);
- border-bottom: 1px solid var(--color-border);
-}
-
-.rss-summary-title {
- font-size: var(--font-size-base);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin-bottom: var(--spacing-xs);
-}
-
-.rss-summary-meta {
- display: flex;
- gap: var(--spacing-md);
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
-}
-
-.rss-summary-content {
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- line-height: 1.6;
-}
-
-.rss-summary-content h2 {
- font-size: var(--font-size-lg);
- font-weight: var(--font-weight-bold);
- color: var(--color-text-primary);
- margin: var(--spacing-md) 0 var(--spacing-sm) 0;
-}
-
-.rss-summary-content h3 {
- font-size: var(--font-size-base);
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
- margin: var(--spacing-sm) 0 var(--spacing-xs) 0;
-}
-
-.rss-summary-content ul,
-.rss-summary-content ol {
- margin: var(--spacing-sm) 0;
- padding-left: var(--spacing-xl);
-}
-
-.rss-summary-content li {
- margin-bottom: var(--spacing-xs);
-}
-
-.rss-summary-content strong {
- font-weight: var(--font-weight-semibold);
- color: var(--color-text-primary);
-}
-
-.rss-summary-content em {
- font-style: italic;
-}
-
-.rss-summary-content a.rss-link {
- color: var(--color-accent);
- text-decoration: none;
- font-weight: var(--font-weight-medium);
- transition: all var(--transition-fast);
- border-bottom: 1px solid transparent;
-}
-
-.rss-summary-content a.rss-link:hover {
- border-bottom-color: var(--color-accent);
- opacity: 0.8;
-}
-
-/* Nouveau style pour résumés par article */
-.rss-summary-article {
- padding: var(--spacing-md);
- background: var(--color-background);
- border-radius: var(--radius-md);
- border: 1px solid var(--color-border);
- margin-bottom: var(--spacing-md);
- transition: all var(--transition-fast);
-}
-
-.rss-summary-article:hover {
- border-color: var(--color-accent);
- box-shadow: var(--shadow-sm);
-}
-
-.rss-summary-article .rss-summary-content {
- font-size: var(--font-size-sm);
- line-height: 1.6;
-}
-
-.rss-summary-article .rss-summary-meta {
- margin-top: var(--spacing-sm);
- padding-top: var(--spacing-sm);
- border-top: 1px solid var(--color-border);
- display: flex;
- gap: var(--spacing-md);
- font-size: var(--font-size-xs);
- color: var(--color-text-secondary);
-}
-
-/* Responsive */
-@media (max-width: 1200px) {
- .content-container {
- grid-template-columns: 1fr;
- }
-
- .todo-box,
- .rss-box {
- position: static;
- max-height: none;
- }
-}
-
-@media (max-width: 768px) {
- .header-container {
- padding: 0 var(--spacing-md);
- }
-
- .search-container {
- max-width: 300px;
- }
-
- .logo-text {
- display: none;
- }
-
- .main-content {
- padding: var(--spacing-lg) var(--spacing-md);
- }
-
- .notes-grid {
- grid-template-columns: 1fr;
- }
-}
diff --git a/public/css/reset.css b/public/css/reset.css
deleted file mode 100644
index 501b75e..0000000
--- a/public/css/reset.css
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Reset CSS pour normaliser les styles entre navigateurs */
-
-*, *::before, *::after {
- box-sizing: border-box;
- margin: 0;
- padding: 0;
-}
-
-html {
- -webkit-text-size-adjust: 100%;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-body {
- min-height: 100vh;
- line-height: 1.5;
-}
-
-img, picture, video, canvas, svg {
- display: block;
- max-width: 100%;
-}
-
-input, button, textarea, select {
- font: inherit;
-}
-
-p, h1, h2, h3, h4, h5, h6 {
- overflow-wrap: break-word;
-}
-
-button {
- cursor: pointer;
- border: none;
- background: none;
-}
-
-ul, ol {
- list-style: none;
-}
-
-a {
- text-decoration: none;
- color: inherit;
-}
diff --git a/public/css/skeleton.css b/public/css/skeleton.css
deleted file mode 100644
index 87b79d3..0000000
--- a/public/css/skeleton.css
+++ /dev/null
@@ -1,381 +0,0 @@
-/* Skeleton Loaders pour améliorer la fluidité perçue */
-
-.skeleton {
- background: linear-gradient(
- 90deg,
- var(--color-border) 25%,
- #f0f0f0 50%,
- var(--color-border) 75%
- );
- background-size: 200% 100%;
- animation: loading 1.5s ease-in-out infinite;
- border-radius: var(--radius-md);
-}
-
-@keyframes loading {
- 0% {
- background-position: 200% 0;
- }
- 100% {
- background-position: -200% 0;
- }
-}
-
-.skeleton-note-card {
- height: 200px;
- margin-bottom: var(--spacing-lg);
-}
-
-.skeleton-todo {
- height: 40px;
- margin-bottom: var(--spacing-sm);
-}
-
-.skeleton-rss-article {
- height: 80px;
- margin-bottom: var(--spacing-md);
-}
-
-/* Loading indicators */
-.loading-spinner {
- display: inline-block;
- width: 20px;
- height: 20px;
- border: 3px solid rgba(102, 126, 234, 0.1);
- border-radius: 50%;
- border-top-color: var(--color-accent);
- animation: spinner 0.6s linear infinite;
-}
-
-@keyframes spinner {
- to {
- transform: rotate(360deg);
- }
-}
-
-.loading-overlay {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(255, 255, 255, 0.8);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 9999;
- opacity: 0;
- pointer-events: none;
- transition: opacity 0.2s;
-}
-
-.loading-overlay.active {
- opacity: 1;
- pointer-events: all;
-}
-
-.loading-content {
- text-align: center;
- padding: 30px;
- background: white;
- border-radius: var(--radius-lg);
- box-shadow: var(--shadow-lg);
-}
-
-.loading-content .loading-spinner {
- width: 50px;
- height: 50px;
- border-width: 4px;
- margin-bottom: 15px;
-}
-
-.loading-content p {
- margin: 0;
- color: var(--color-text-secondary);
- font-size: var(--font-size-sm);
-}
-
-/* Refresh indicator */
-.refresh-indicator {
- position: fixed;
- top: 80px;
- right: 20px;
- background: var(--color-accent);
- color: white;
- padding: 8px 16px;
- border-radius: var(--radius-lg);
- font-size: var(--font-size-xs);
- box-shadow: var(--shadow-md);
- display: flex;
- align-items: center;
- gap: 8px;
- opacity: 0;
- transform: translateY(-10px);
- transition: all 0.3s;
- pointer-events: none;
- z-index: 1000;
-}
-
-.refresh-indicator.active {
- opacity: 1;
- transform: translateY(0);
-}
-
-.refresh-indicator .loading-spinner {
- width: 14px;
- height: 14px;
- border-width: 2px;
- border-color: rgba(255, 255, 255, 0.3);
- border-top-color: white;
-}
-
-/* Optimistic UI */
-.optimistic-update {
- opacity: 0.6;
- pointer-events: none;
-}
-
-/* Smooth fade in */
-.fade-in {
- animation: fadeIn 0.3s ease-in;
-}
-
-@keyframes fadeIn {
- from {
- opacity: 0;
- transform: translateY(10px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-/* Empty state avec animation */
-.empty-state {
- text-align: center;
- padding: 60px 20px;
- color: var(--color-text-secondary);
- animation: fadeIn 0.5s ease-in;
-}
-
-.empty-state-icon {
- font-size: 48px;
- margin-bottom: 16px;
- opacity: 0.5;
-}
-
-.empty-state-text {
- font-size: var(--font-size-base);
- margin-bottom: 8px;
-}
-
-.empty-state-hint {
- font-size: var(--font-size-sm);
- opacity: 0.7;
-}
-
-/* Système de notifications */
-.notifications-container {
- position: fixed;
- top: calc(var(--header-height) + 20px);
- right: 20px;
- z-index: 300;
- display: flex;
- flex-direction: column;
- gap: 12px;
- max-width: 400px;
- pointer-events: none;
-}
-
-.notification {
- background: var(--color-card);
- border: 1px solid var(--color-border);
- border-radius: var(--radius-md);
- padding: 16px 20px;
- box-shadow: var(--shadow-lg);
- display: flex;
- align-items: center;
- gap: 12px;
- opacity: 0;
- transform: translate3d(400px, 0, 0);
- animation: slideInRight 0.3s ease-out forwards;
- pointer-events: auto;
- min-width: 300px;
- position: relative;
- will-change: transform, opacity;
- backface-visibility: hidden;
-}
-
-.notification.closing {
- animation: slideOutRight 0.3s ease-in forwards;
- will-change: transform, opacity;
-}
-
-.notification-icon {
- width: 24px;
- height: 24px;
- flex-shrink: 0;
-}
-
-.notification-success {
- border-left: 4px solid var(--color-success);
-}
-
-.notification-success .notification-icon {
- color: var(--color-success);
-}
-
-.notification-error {
- border-left: 4px solid var(--color-danger);
-}
-
-.notification-error .notification-icon {
- color: var(--color-danger);
-}
-
-.notification-warning {
- border-left: 4px solid var(--color-warning);
-}
-
-.notification-warning .notification-icon {
- color: var(--color-warning);
-}
-
-.notification-info {
- border-left: 4px solid var(--color-info);
-}
-
-.notification-info .notification-icon {
- color: var(--color-info);
-}
-
-.notification-content {
- flex: 1;
- font-size: var(--font-size-sm);
- color: var(--color-text-primary);
- line-height: 1.4;
-}
-
-.notification-close {
- width: 24px;
- height: 24px;
- padding: 4px;
- border: none;
- background: transparent;
- color: var(--color-text-secondary);
- cursor: pointer;
- border-radius: 50%;
- transition: all var(--transition-fast);
- flex-shrink: 0;
-}
-
-.notification-close:hover {
- background: var(--color-hover);
- color: var(--color-text-primary);
-}
-
-@keyframes slideInRight {
- from {
- opacity: 0;
- transform: translate3d(400px, 0, 0);
- }
- to {
- opacity: 1;
- transform: translate3d(0, 0, 0);
- }
-}
-
-@keyframes slideOutRight {
- from {
- opacity: 1;
- transform: translate3d(0, 0, 0);
- }
- to {
- opacity: 0;
- transform: translate3d(400px, 0, 0);
- }
-}
-
-/* Modal pour agrandir les images - GPU accelerated */
-.image-modal {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0);
- z-index: 400;
- display: none;
- align-items: center;
- justify-content: center;
- padding: 40px;
- cursor: pointer;
- transition: background 0.25s ease-out;
- will-change: background;
-}
-
-.image-modal.active {
- display: flex;
- background: rgba(0, 0, 0, 0.9);
- animation: fadeIn 0.25s ease-out;
-}
-
-.image-modal-content {
- position: relative;
- max-width: 90vw;
- max-height: 90vh;
- cursor: default;
- transform: scale3d(0.95, 0.95, 1);
- opacity: 0;
- transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out;
- will-change: transform, opacity;
- backface-visibility: hidden;
-}
-
-.image-modal.active .image-modal-content {
- transform: scale3d(1, 1, 1);
- opacity: 1;
-}
-
-.image-modal-img {
- max-width: 100%;
- max-height: 90vh;
- object-fit: contain;
- border-radius: var(--radius-md);
- box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
- transform: translateZ(0);
- backface-visibility: hidden;
-}
-
-.image-modal-close {
- position: fixed;
- top: 20px;
- right: 20px;
- width: 48px;
- height: 48px;
- border: none;
- background: rgba(255, 255, 255, 0.1);
- color: white;
- font-size: 32px;
- cursor: pointer;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: all var(--transition-fast);
- backdrop-filter: blur(10px);
- will-change: transform, background;
- backface-visibility: hidden;
- transform: translateZ(0);
-}
-
-.image-modal-close:hover {
- background: rgba(255, 255, 255, 0.2);
- transform: scale3d(1.1, 1.1, 1) translateZ(0);
-}
-
-.image-modal-close svg {
- width: 24px;
- height: 24px;
-}
diff --git a/public/css/styles.css b/public/css/styles.css
deleted file mode 100644
index 6791ad3..0000000
--- a/public/css/styles.css
+++ /dev/null
@@ -1,174 +0,0 @@
-@import 'tailwindcss/base';
-@import 'tailwindcss/components';
-@import 'tailwindcss/utilities';
-
-/* Base styles */
-@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
-
-:root {
- --primary-color: #3B82F6;
- --background-color: #FAFAFA;
- --card-background: #FFFFFF;
-}
-
-* {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
-}
-
-body {
- font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
- line-height: 1.5;
- color: #111827;
- background-color: var(--background-color);
-}
-
-/* Utility classes */
-.hidden {
- display: none !important;
-}
-
-/* Transitions */
-.transition {
- transition: all 200ms ease-in-out;
-}
-
-/* Form elements */
-input[type="text"],
-input[type="password"],
-textarea {
- width: 100%;
- padding: 0.5rem 0.75rem;
- border: 1px solid #E5E7EB;
- border-radius: 0.375rem;
- background-color: white;
-}
-
-input[type="text"]:focus,
-input[type="password"]:focus,
-textarea:focus {
- outline: none;
- border-color: var(--primary-color);
- ring: 2px var(--primary-color);
-}
-
-/* Buttons */
-.btn {
- padding: 0.5rem 1rem;
- border-radius: 0.375rem;
- font-weight: 500;
- cursor: pointer;
- transition: all 200ms;
-}
-
-.btn-primary {
- background-color: var(--primary-color);
- color: white;
-}
-
-.btn-primary:hover {
- background-color: #2563EB;
-}
-
-/* Note item in sidebar */
-.note-item {
- padding: 0.75rem;
- border-radius: 0.375rem;
- cursor: pointer;
- transition: background-color 200ms;
-}
-
-.note-item:hover {
- background-color: #F3F4F6;
-}
-
-.note-item.active {
- background-color: #EFF6FF;
- border-left: 3px solid var(--primary-color);
-}
-
-/* Todo items */
-.todo-item {
- display: flex;
- align-items: center;
- padding: 0.5rem;
- border-radius: 0.375rem;
- background-color: #F9FAFB;
-}
-
-.todo-item input[type="checkbox"] {
- margin-right: 0.75rem;
-}
-
-.todo-item.completed {
- text-decoration: line-through;
- color: #6B7280;
-}
-
-/* Image thumbnails */
-.image-thumbnail {
- position: relative;
- aspect-ratio: 1;
- border-radius: 0.375rem;
- overflow: hidden;
-}
-
-.image-thumbnail img {
- width: 100%;
- height: 100%;
- object-fit: cover;
-}
-
-.image-thumbnail .delete-btn {
- position: absolute;
- top: 0.25rem;
- right: 0.25rem;
- padding: 0.25rem;
- background-color: rgba(0, 0, 0, 0.5);
- border-radius: 9999px;
- color: white;
- cursor: pointer;
-}
-
-/* Admin panel styles */
-.user-item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0.75rem;
- background-color: #F9FAFB;
- border-radius: 0.375rem;
-}
-
-.user-item .actions {
- display: flex;
- gap: 0.5rem;
-}
-
-/* Animations */
-@keyframes fadeIn {
- from { opacity: 0; }
- to { opacity: 1; }
-}
-
-.fade-in {
- animation: fadeIn 200ms ease-in-out;
-}
-
-/* Responsive adjustments */
-@media (max-width: 768px) {
- aside {
- width: 100%;
- height: auto;
- position: relative;
- }
-
- main {
- margin-left: 0;
- }
-
- .note-editor {
- margin: 1rem;
- }
-}
\ No newline at end of file
diff --git a/public/css/variables.css b/public/css/variables.css
deleted file mode 100644
index fd73f82..0000000
--- a/public/css/variables.css
+++ /dev/null
@@ -1,82 +0,0 @@
-/* Variables CSS globales - Thème clair moderne */
-
-:root {
- /* Couleurs principales */
- --color-background: #F8F9FA;
- --color-card: #FFFFFF;
- --color-accent: #000000;
- --color-accent-hover: #333333;
- --color-text-primary: #000000;
- --color-text-secondary: #6C757D;
- --color-border: #DEE2E6;
- --color-success: #28A745;
- --color-danger: #DC3545;
- --color-warning: #FFC107;
- --color-info: #17A2B8;
-
- /* Couleurs spécifiques */
- --color-hover: #F1F3F5;
- --color-active: #E9ECEF;
- --color-disabled: #ADB5BD;
-
- /* Typographie */
- --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
- --font-size-xs: 11px;
- --font-size-sm: 13px;
- --font-size-base: 15px;
- --font-size-lg: 17px;
- --font-size-xl: 20px;
- --font-size-2xl: 28px;
- --font-size-3xl: 36px;
-
- --font-weight-normal: 400;
- --font-weight-medium: 500;
- --font-weight-semibold: 600;
- --font-weight-bold: 700;
-
- /* Spacing */
- --spacing-xs: 4px;
- --spacing-sm: 8px;
- --spacing-md: 16px;
- --spacing-lg: 24px;
- --spacing-xl: 32px;
- --spacing-2xl: 48px;
- --spacing-3xl: 64px;
-
- /* Border radius */
- --radius-sm: 6px;
- --radius-md: 10px;
- --radius-lg: 14px;
- --radius-xl: 20px;
- --radius-full: 9999px;
-
- /* Shadows - Style moderne élégant */
- --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
- --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
- --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
- --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.1);
- --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);
- --shadow-2xl: 0 24px 60px rgba(0, 0, 0, 0.15);
-
- /* Shadow hover effects */
- --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
- --shadow-active: 0 2px 8px rgba(0, 0, 0, 0.1);
-
- /* Transitions */
- --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
- --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
- --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
-
- /* Dimensions - Optimisé pour 1920x1080 */
- --header-height: 70px;
- --max-width: 1800px;
- --note-width: 320px;
- --note-expanded-width: 680px;
- --todo-box-width: 420px;
-
- /* Z-index */
- --z-header: 100;
- --z-modal: 200;
- --z-dropdown: 150;
- --z-tooltip: 250;
-}
diff --git a/public/index.html b/public/index.html
deleted file mode 100644
index d4376aa..0000000
--- a/public/index.html
+++ /dev/null
@@ -1,324 +0,0 @@
-
-
-
-
-
- NoteFlow - Notes & Tasks
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Toutes
- Actives
- Terminées
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 👥 Utilisateurs
- 📰 Flux RSS
- 🤖 OpenRouter
-
-
-
-
-
- + Créer un utilisateur
-
-
-
-
-
-
- ID
- Nom d'utilisateur
- Admin
- Créé le
- Actions
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Modèle
-
-
-
-
-
-
-
-
-
- Activer les résumés automatiques
-
-
-
-
- Prompt de résumé
-
-
-
-
💾 Sauvegarder les paramètres
-
-
-
-
-
-
-
-
-
-
-
-
- Nouveau mot de passe
-
-
-
- Confirmer le mot de passe
-
-
-
- Annuler
- Changer
-
-
-
-
-
-
-
-
-
⚠️
-
Confirmer l'action
-
Êtes-vous sûr de vouloir continuer ?
-
- Annuler
- Confirmer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/public/js/admin.js b/public/js/admin.js
deleted file mode 100644
index 4149579..0000000
--- a/public/js/admin.js
+++ /dev/null
@@ -1,169 +0,0 @@
-class AdminService {
- constructor() {
- // Check if auth exists and user is admin
- if (!window.auth || !window.auth.user || !window.auth.user.is_admin) return;
-
- this.adminPanel = document.getElementById('admin-panel');
- this.closeAdminBtn = document.getElementById('close-admin-btn');
- this.addUserBtn = document.getElementById('add-user-btn');
- this.usersList = document.getElementById('users-list');
- this.adminBtn = document.getElementById('admin-btn');
-
- if (this.adminPanel && this.closeAdminBtn && this.addUserBtn && this.usersList) {
- this.setupEventListeners();
- }
- }
-
- setupEventListeners() {
- if (this.closeAdminBtn) {
- this.closeAdminBtn.addEventListener('click', () => this.closePanel());
- }
- if (this.addUserBtn) {
- this.addUserBtn.addEventListener('click', () => this.showAddUserForm());
- }
- if (this.adminBtn) {
- this.adminBtn.addEventListener('click', () => {
- if (this.adminPanel) {
- this.adminPanel.classList.remove('hidden');
- }
- });
- }
- }
-
- async loadUsers() {
- if (!window.auth || !window.auth.getHeaders) return;
-
- try {
- const response = await fetch('/api/users', {
- headers: window.auth.getHeaders()
- });
- const users = await response.json();
- this.renderUsersList(users);
- } catch (error) {
- console.error('Error loading users:', error);
- }
- }
-
- renderUsersList(users) {
- if (!this.usersList || !Array.isArray(users)) return;
-
- this.usersList.innerHTML = '';
- users.forEach(user => {
- if (!user || typeof user !== 'object') return;
-
- const userElement = document.createElement('div');
- userElement.className = 'user-item';
- userElement.innerHTML = `
-
- ${user.username || 'Utilisateur'}
- ${user.is_admin ? 'Admin ' : ''}
-
-
- ${user.id !== 1 ? `
-
-
-
-
-
-
-
-
-
- ` : ''}
-
- `;
- this.usersList.appendChild(userElement);
- });
- }
-
- showAddUserForm() {
- const username = prompt('Nom d\'utilisateur:');
- if (!username) return;
-
- const password = prompt('Mot de passe:');
- if (!password) return;
-
- const isAdmin = confirm('Donner les droits administrateur ?');
-
- this.createUser(username, password, isAdmin);
- }
-
- async createUser(username, password, isAdmin) {
- if (!window.auth || !window.auth.getHeaders) return;
-
- try {
- const response = await fetch('/api/users', {
- method: 'POST',
- headers: window.auth.getHeaders(),
- body: JSON.stringify({ username, password, is_admin: isAdmin })
- });
-
- if (!response.ok) {
- const error = await response.json();
- throw new Error(error.message || 'Erreur lors de la création de l\'utilisateur');
- }
-
- this.loadUsers();
- } catch (error) {
- alert(error.message || 'Erreur lors de la création de l\'utilisateur');
- }
- }
-
- async changePassword(userId) {
- if (!window.auth || !window.auth.getHeaders) return;
-
- const password = prompt('Nouveau mot de passe:');
- if (!password) return;
-
- try {
- await fetch(`/api/users/${userId}`, {
- method: 'PUT',
- headers: window.auth.getHeaders(),
- body: JSON.stringify({ password })
- });
- alert('Mot de passe modifié');
- } catch (error) {
- console.error('Error changing password:', error);
- }
- }
-
- async toggleAdmin(userId, currentStatus) {
- if (!window.auth || !window.auth.getHeaders) return;
-
- try {
- await fetch(`/api/users/${userId}`, {
- method: 'PUT',
- headers: window.auth.getHeaders(),
- body: JSON.stringify({ is_admin: !currentStatus })
- });
- this.loadUsers();
- } catch (error) {
- console.error('Error toggling admin status:', error);
- }
- }
-
- async deleteUser(userId) {
- if (!window.auth || !window.auth.getHeaders) return;
-
- if (!confirm('Êtes-vous sûr de vouloir supprimer cet utilisateur ?')) return;
-
- try {
- await fetch(`/api/users/${userId}`, {
- method: 'DELETE',
- headers: window.auth.getHeaders()
- });
- this.loadUsers();
- } catch (error) {
- console.error('Error deleting user:', error);
- }
- }
-
- closePanel() {
- if (this.adminPanel) {
- this.adminPanel.classList.add('hidden');
- }
- }
-}
-
-// Initialize admin service
-window.admin = new AdminService();
\ No newline at end of file
diff --git a/public/js/app.js b/public/js/app.js
deleted file mode 100644
index 390f39f..0000000
--- a/public/js/app.js
+++ /dev/null
@@ -1,31 +0,0 @@
-class App {
- constructor() {
- // Initialize app components
- this.auth = window.auth;
- this.notes = window.notes;
- this.admin = window.admin;
- }
-
- init() {
- // Load initial data if authenticated
- if (this.auth && this.auth.token) {
- if (this.notes && typeof this.notes.loadNotes === 'function') {
- this.notes.loadNotes();
- }
-
- if (this.auth.user && this.auth.user.is_admin && this.admin && typeof this.admin.loadUsers === 'function') {
- this.admin.loadUsers();
- }
- }
- }
-}
-
-// Initialize main app
-window.app = new App();
-
-// Initialize app when DOM is loaded
-document.addEventListener('DOMContentLoaded', () => {
- if (window.app && typeof window.app.init === 'function') {
- window.app.init();
- }
-});
\ No newline at end of file
diff --git a/public/js/auth.js b/public/js/auth.js
deleted file mode 100644
index 640f9d5..0000000
--- a/public/js/auth.js
+++ /dev/null
@@ -1,106 +0,0 @@
-class AuthService {
- constructor() {
- this.token = localStorage.getItem('token');
- this.user = JSON.parse(localStorage.getItem('user') || 'null');
- this.loginForm = document.getElementById('login-form');
- this.logoutBtn = document.getElementById('logout-btn');
- this.userInfo = document.getElementById('user-info');
- this.adminPanel = document.getElementById('admin-panel');
-
- this.setupEventListeners();
- this.updateUI();
- }
-
- setupEventListeners() {
- if (this.loginForm) {
- this.loginForm.addEventListener('submit', (e) => this.handleLogin(e));
- }
- if (this.logoutBtn) {
- this.logoutBtn.addEventListener('click', () => this.handleLogout());
- }
- }
-
- async handleLogin(e) {
- e.preventDefault();
- const username = document.getElementById('username').value;
- const password = document.getElementById('password').value;
-
- try {
- const response = await fetch('/api/auth/login', {
- method: 'POST',
- headers: { 'Content-Type': 'application/json' },
- body: JSON.stringify({ username, password })
- });
-
- const data = await response.json();
-
- if (!response.ok) {
- throw new Error(data.message || 'Erreur de connexion');
- }
-
- this.token = data.token;
- this.user = data.user;
- localStorage.setItem('token', this.token);
- localStorage.setItem('user', JSON.stringify(this.user));
-
- this.updateUI();
- if (window.app && typeof window.app.init === 'function') {
- window.app.init(); // Initialize main app after login
- }
- } catch (error) {
- alert(error.message);
- }
- }
-
- handleLogout() {
- localStorage.removeItem('token');
- localStorage.removeItem('user');
- this.token = null;
- this.user = null;
- this.updateUI();
- window.location.reload();
- }
-
- updateUI() {
- const authContainer = document.getElementById('auth-container');
- const appContainer = document.getElementById('app-container');
-
- // S'assurer que le panneau d'administration est caché au démarrage
- if (this.adminPanel) {
- this.adminPanel.classList.add('hidden');
- }
-
- if (this.token && this.user) {
- if (authContainer) authContainer.classList.add('hidden');
- if (appContainer) appContainer.classList.remove('hidden');
- if (this.userInfo) this.userInfo.textContent = this.user.username;
-
- // Show admin panel button if user is admin
- if (this.user.is_admin) {
- const adminBtnExists = document.querySelector('.admin-btn');
- if (!adminBtnExists && this.userInfo && this.userInfo.parentNode) {
- const adminBtn = document.createElement('button');
- adminBtn.className = 'admin-btn ml-4 text-sm text-gray-600 hover:text-gray-900';
- adminBtn.textContent = 'Admin';
- adminBtn.onclick = () => {
- if (this.adminPanel) this.adminPanel.classList.remove('hidden');
- };
- this.userInfo.parentNode.insertBefore(adminBtn, this.logoutBtn);
- }
- }
- } else {
- if (authContainer) authContainer.classList.remove('hidden');
- if (appContainer) appContainer.classList.add('hidden');
- }
- }
-
- getHeaders() {
- return {
- 'Authorization': `Bearer ${this.token || ''}`,
- 'Content-Type': 'application/json'
- };
- }
-}
-
-// Initialize auth service
-window.auth = new AuthService();
\ No newline at end of file
diff --git a/public/js/complete-app.js b/public/js/complete-app.js
deleted file mode 100644
index ce009c9..0000000
--- a/public/js/complete-app.js
+++ /dev/null
@@ -1,2331 +0,0 @@
-// Application NoteFlow - JavaScript complet
-// Ce fichier regroupe toute la logique de l'application pour simplifier le déploiement
-
-// ==================== UTILS ====================
-const utils = {
- formatDate(dateString) {
- const date = new Date(dateString);
- const now = new Date();
- const diff = now - date;
- const days = Math.floor(diff / (1000 * 60 * 60 * 24));
-
- if (days === 0) return 'Aujourd\'hui';
- if (days === 1) return 'Hier';
- if (days < 7) return `Il y a ${days} jours`;
-
- return date.toLocaleDateString('fr-FR', {
- day: 'numeric',
- month: 'short',
- year: date.getFullYear() !== now.getFullYear() ? 'numeric' : undefined
- });
- },
-
- truncate(text, length = 150) {
- if (!text || text.length <= length) return text;
- return text.substring(0, length) + '...';
- },
-
- debounce(func, wait) {
- let timeout;
- return function executedFunction(...args) {
- const later = () => {
- clearTimeout(timeout);
- func(...args);
- };
- clearTimeout(timeout);
- timeout = setTimeout(later, wait);
- };
- }
-};
-
-// ==================== MODAL DE CONFIRMATION ====================
-const confirmDialog = {
- show(options = {}) {
- return new Promise((resolve) => {
- const modal = document.getElementById('confirmModal');
- const icon = document.getElementById('confirmIcon');
- const title = document.getElementById('confirmTitle');
- const message = document.getElementById('confirmMessage');
- const cancelBtn = document.getElementById('confirmCancel');
- const okBtn = document.getElementById('confirmOk');
-
- // Configurer le contenu
- icon.textContent = options.icon || '⚠️';
- title.textContent = options.title || 'Confirmer l\'action';
- message.textContent = options.message || 'Êtes-vous sûr de vouloir continuer ?';
- cancelBtn.textContent = options.cancelText || 'Annuler';
- okBtn.textContent = options.okText || 'Confirmer';
-
- // Gérer les clics
- const handleCancel = () => {
- cleanup();
- resolve(false);
- };
-
- const handleConfirm = () => {
- cleanup();
- resolve(true);
- };
-
- const handleEscape = (e) => {
- if (e.key === 'Escape') {
- handleCancel();
- }
- };
-
- const cleanup = () => {
- modal.classList.remove('active');
- setTimeout(() => {
- modal.style.display = 'none';
- }, 300);
- cancelBtn.removeEventListener('click', handleCancel);
- okBtn.removeEventListener('click', handleConfirm);
- document.removeEventListener('keydown', handleEscape);
- };
-
- // Ajouter les écouteurs
- cancelBtn.addEventListener('click', handleCancel);
- okBtn.addEventListener('click', handleConfirm);
- document.addEventListener('keydown', handleEscape);
-
- // Afficher le modal
- modal.style.display = 'flex';
- setTimeout(() => modal.classList.add('active'), 10);
- });
- }
-};
-
-// ==================== API ====================
-const api = {
- async request(url, options = {}) {
- const token = localStorage.getItem('token');
- const headers = {
- 'Content-Type': 'application/json',
- ...(token && { 'Authorization': `Bearer ${token}` }),
- ...options.headers
- };
-
- const config = {
- ...options,
- headers
- };
-
- const response = await fetch(url, config);
-
- if (response.status === 401 || response.status === 403) {
- localStorage.removeItem('token');
- localStorage.removeItem('user');
- window.location.href = '/login.html';
- throw new Error('Non authentifié');
- }
-
- return response;
- },
-
- async get(url) {
- const response = await this.request(url);
- return response.json();
- },
-
- async post(url, data) {
- const response = await this.request(url, {
- method: 'POST',
- body: JSON.stringify(data)
- });
- return response.json();
- },
-
- async put(url, data) {
- const response = await this.request(url, {
- method: 'PUT',
- body: JSON.stringify(data)
- });
- return response.json();
- },
-
- async delete(url) {
- const response = await this.request(url, {
- method: 'DELETE'
- });
- return response.json();
- },
-
- async uploadFile(url, formData) {
- const token = localStorage.getItem('token');
- const response = await fetch(url, {
- method: 'POST',
- headers: {
- 'Authorization': `Bearer ${token}`
- },
- body: formData
- });
-
- if (response.status === 401) {
- window.location.href = '/login.html';
- throw new Error('Non authentifié');
- }
-
- return response.json();
- }
-};
-
-// ==================== STATE ====================
-const state = {
- notes: [],
- todos: [],
- currentNote: null,
- expandedNoteId: null,
- filter: 'active',
- searchQuery: '',
- view: 'active',
- user: null
-};
-
-// ==================== AUTH ====================
-function checkAuth() {
- const token = localStorage.getItem('token');
- if (!token) {
- window.location.href = '/login.html';
- return false;
- }
-
- const userStr = localStorage.getItem('user');
- if (userStr) {
- state.user = JSON.parse(userStr);
- }
-
- return true;
-}
-
-async function initAuth() {
- if (!checkAuth()) return;
-
- // Afficher le nom d'utilisateur
- const userNameEl = document.getElementById('userName');
- if (userNameEl && state.user) {
- userNameEl.textContent = state.user.username;
- }
-
- // Afficher le bouton admin si nécessaire
- const adminBtn = document.getElementById('adminBtn');
- if (adminBtn && state.user && state.user.is_admin) {
- adminBtn.style.display = 'block';
- }
-
- // Gérer la déconnexion
- const logoutBtn = document.getElementById('logoutBtn');
- if (logoutBtn) {
- logoutBtn.addEventListener('click', async () => {
- try {
- await api.post('/api/auth/logout', {});
- } catch (e) {}
- localStorage.removeItem('token');
- localStorage.removeItem('user');
- window.location.href = '/login.html';
- });
- }
-
- // Toggle user dropdown
- const userInfo = document.getElementById('userInfo');
- const userDropdown = document.getElementById('userDropdown');
- if (userInfo && userDropdown) {
- userInfo.addEventListener('click', (e) => {
- e.stopPropagation();
- userDropdown.classList.toggle('show');
- });
-
- document.addEventListener('click', () => {
- userDropdown.classList.remove('show');
- });
- }
-}
-
-// ==================== NOTES ====================
-async function loadNotes() {
- try {
- const archived = state.view === 'archived';
- const response = await api.get(`/api/notes?archived=${archived}`);
- // S'assurer que response est un tableau
- state.notes = Array.isArray(response) ? response : [];
- renderNotes();
- } catch (error) {
- console.error('Erreur chargement notes:', error);
- state.notes = [];
- renderNotes();
- }
-}
-
-function renderNotes() {
- const notesGrid = document.getElementById('notesGrid');
- if (!notesGrid) return;
-
- // S'assurer que state.notes est toujours un tableau
- if (!Array.isArray(state.notes)) {
- state.notes = [];
- }
-
- let filtered = state.notes;
-
- // Filtre de recherche
- if (state.searchQuery) {
- const query = state.searchQuery.toLowerCase();
- filtered = filtered.filter(note =>
- note.title.toLowerCase().includes(query) ||
- (note.content && note.content.toLowerCase().includes(query))
- );
- }
-
- notesGrid.innerHTML = '';
-
- if (filtered.length === 0) {
- notesGrid.innerHTML = 'Aucune note trouvée
';
- return;
- }
-
- filtered.forEach(note => {
- const card = createNoteCard(note);
- notesGrid.appendChild(card);
- });
-}
-
-function createNoteCard(note) {
- const card = document.createElement('div');
- const isExpanded = state.expandedNoteId === note.id;
- card.className = `note-card ${isExpanded ? 'expanded' : ''}`;
- card.dataset.noteId = note.id;
-
- if (isExpanded) {
- // Mode édition inline
- card.innerHTML = `
-
-
- ${note.image_filename ? `
-
-
-
✕
-
- ` : ''}
- ${note.files && note.files.length > 0 ? `
-
-
- ${renderInlineFiles(note.files || [])}
-
-
- ` : ''}
-
-
Todos
-
- ${renderInlineTodos(note.todos || [])}
-
-
-
- Ajouter
-
-
-
- `;
-
- // Auto-save sur changement
- setTimeout(() => {
- const titleInput = card.querySelector('.note-title-input-inline');
- const contentTextarea = card.querySelector('.note-content-textarea-inline');
- if (titleInput) titleInput.oninput = utils.debounce(() => saveNoteInline(note.id), 1000);
- if (contentTextarea) contentTextarea.oninput = utils.debounce(() => saveNoteInline(note.id), 1000);
- }, 0);
- } else {
- // Mode compact
- let html = `
-
-
${escapeHtml(note.title)}
- `;
-
- if (note.content) {
- html += `
${escapeHtml(utils.truncate(note.content, 100))}
`;
- }
-
- if (note.image_filename) {
- html += `
`;
- }
-
- // Afficher les todos
- if (note.todos && note.todos.length > 0) {
- const displayTodos = note.todos.slice(0, 3);
- html += `
`;
- displayTodos.forEach(todo => {
- html += `
- ${todo.completed ? '☑' : '☐'}
- ${escapeHtml(todo.text)}
-
`;
- });
- if (note.todos.length > 3) {
- html += `
+${note.todos.length - 3} autre(s)
`;
- }
- html += `
`;
- }
-
- html += `
-
- ${utils.formatDate(note.updated_at)}
- ${note.todos_count > 0 ? `${note.todos_completed}/${note.todos_count} ` : ''}
-
-
- `;
-
- card.innerHTML = html;
- }
-
- return card;
-}
-
-function renderInlineTodos(todos) {
- if (!todos || todos.length === 0) return 'Aucune tâche
';
- return todos.map(todo => `
-
-
- ${escapeHtml(todo.text)}
- ✕
-
- `).join('');
-}
-
-function renderInlineFiles(files) {
- if (!files || files.length === 0) return '';
-
- return files.map(file => {
- const sizeStr = formatFileSize(file.file_size);
- return `
-
-
-
-
-
-
-
${escapeHtml(file.original_name)}
-
${sizeStr}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- `;
- }).join('');
-}
-
-function formatFileSize(bytes) {
- if (!bytes) return '0 B';
- const k = 1024;
- const sizes = ['B', 'KB', 'MB', 'GB'];
- const i = Math.floor(Math.log(bytes) / Math.log(k));
- return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
-}
-
-function escapeHtml(text) {
- const div = document.createElement('div');
- div.textContent = text;
- return div.innerHTML;
-}
-
-// Système de notifications internes
-function showNotification(message, type = 'info', duration = 4000) {
- const container = document.getElementById('notificationsContainer');
- if (!container) return;
-
- // Créer la notification
- const notification = document.createElement('div');
- notification.className = `notification notification-${type}`;
-
- // Icône selon le type
- let iconSvg = '';
- switch (type) {
- case 'success':
- iconSvg = ' ';
- break;
- case 'error':
- iconSvg = ' ';
- break;
- case 'warning':
- iconSvg = ' ';
- break;
- default: // info
- iconSvg = ' ';
- }
-
- notification.innerHTML = `
- ${iconSvg}
- ${escapeHtml(message)}
-
-
-
-
-
-
- `;
-
- // Bouton de fermeture
- const closeBtn = notification.querySelector('.notification-close');
- closeBtn.addEventListener('click', () => {
- closeNotification(notification);
- });
-
- // Ajouter au container
- container.appendChild(notification);
-
- // Auto-fermeture
- if (duration > 0) {
- setTimeout(() => {
- closeNotification(notification);
- }, duration);
- }
-}
-
-function closeNotification(notification) {
- notification.classList.add('closing');
- setTimeout(() => {
- notification.remove();
- }, 300);
-}
-
-// ==================== MODAL IMAGE ====================
-function openImageModal(imageSrc) {
- const modal = document.getElementById('imageModal');
- const img = document.getElementById('imageModalImg');
-
- if (modal && img) {
- img.src = imageSrc;
- modal.classList.add('active');
- document.body.style.overflow = 'hidden'; // Désactiver le scroll
- }
-}
-
-function closeImageModal() {
- const modal = document.getElementById('imageModal');
-
- if (modal) {
- modal.classList.remove('active');
- document.body.style.overflow = ''; // Réactiver le scroll
- }
-}
-
-// ==================== INLINE NOTE EXPANSION ====================
-function expandNote(noteId) {
- state.expandedNoteId = noteId;
- renderNotes();
-}
-
-function collapseNote() {
- state.expandedNoteId = null;
- renderNotes();
-}
-
-async function saveNoteInline(noteId) {
- const card = document.querySelector(`.note-card[data-note-id="${noteId}"]`);
- if (!card) return;
-
- const titleInput = card.querySelector('.note-title-input-inline');
- const contentTextarea = card.querySelector('.note-content-textarea-inline');
-
- if (!titleInput) return;
-
- try {
- await api.put(`/api/notes/${noteId}`, {
- title: titleInput.value,
- content: contentTextarea ? contentTextarea.value : ''
- });
-
- // Update state without full reload
- const noteIndex = state.notes.findIndex(n => n.id === noteId);
- if (noteIndex !== -1) {
- state.notes[noteIndex].title = titleInput.value;
- state.notes[noteIndex].content = contentTextarea ? contentTextarea.value : '';
- state.notes[noteIndex].updated_at = new Date().toISOString();
- }
- } catch (error) {
- console.error('Erreur sauvegarde note:', error);
- }
-}
-
-async function archiveNote(noteId, archived) {
- try {
- await api.put(`/api/notes/${noteId}/archive`, { archived });
- collapseNote();
- await loadNotes();
- } catch (error) {
- console.error('Erreur archivage note:', error);
- showNotification('Erreur lors de l\'archivage de la note');
- }
-}
-
-async function deleteNoteInline(noteId) {
- const confirmed = await confirmDialog.show({
- icon: '🗑️',
- title: 'Supprimer cette note',
- message: 'Êtes-vous sûr de vouloir supprimer cette note ?\n\nTous les todos associés seront également supprimés.',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/notes/${noteId}`);
- collapseNote();
- await loadNotes();
- } catch (error) {
- console.error('Erreur suppression note:', error);
- showNotification('Erreur lors de la suppression de la note', 'error');
- }
-}
-
-async function addNoteTodoInline(noteId, inputElement) {
- const text = inputElement.value.trim();
- if (!text) return;
-
- try {
- await api.post(`/api/notes/${noteId}/todos`, { text });
-
- // Recharger seulement cette note
- const note = await api.get(`/api/notes/${noteId}`);
- const noteIndex = state.notes.findIndex(n => n.id === noteId);
- if (noteIndex !== -1) {
- state.notes[noteIndex] = note;
- }
-
- // Re-render la liste des todos inline
- const todosList = document.getElementById(`todos-${noteId}`);
- if (todosList) {
- todosList.innerHTML = renderInlineTodos(note.todos || []);
- }
-
- // Clear input
- inputElement.value = '';
- inputElement.focus();
- } catch (error) {
- console.error('Erreur ajout todo:', error);
- showNotification('Erreur lors de l\'ajout du todo');
- }
-}
-
-async function toggleNoteTodoInline(todoId, completed) {
- try {
- await api.put(`/api/notes/todos/${todoId}`, { completed });
- // Update UI optimistically
- const todoItem = document.querySelector(`.todo-item-inline[data-todo-inline-id="${todoId}"]`);
- if (todoItem) {
- const textSpan = todoItem.querySelector('.todo-text-inline');
- if (textSpan) {
- if (completed) {
- textSpan.classList.add('completed');
- } else {
- textSpan.classList.remove('completed');
- }
- }
- }
- } catch (error) {
- console.error('Erreur toggle todo:', error);
- }
-}
-
-async function deleteNoteTodoInline(todoId) {
- const confirmed = await confirmDialog.show({
- icon: '🗑️',
- title: 'Supprimer ce todo',
- message: 'Êtes-vous sûr de vouloir supprimer ce todo ?',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/notes/todos/${todoId}`);
- // Remove from DOM
- const todoItem = document.querySelector(`.todo-item-inline[data-todo-inline-id="${todoId}"]`);
- if (todoItem) {
- todoItem.remove();
- }
- } catch (error) {
- console.error('Erreur suppression todo:', error);
- }
-}
-
-function triggerImageUpload(noteId) {
- const imageInput = document.getElementById('imageInput');
- if (imageInput) {
- imageInput.dataset.noteId = noteId;
- imageInput.click();
- }
-}
-
-function triggerFileUpload(noteId) {
- const fileInput = document.getElementById('fileInput');
- if (fileInput) {
- fileInput.dataset.noteId = noteId;
- fileInput.click();
- }
-}
-
-async function removeImageInline(noteId) {
- const confirmed = await confirmDialog.show({
- icon: '🖼️',
- title: 'Supprimer l\'image',
- message: 'Êtes-vous sûr de vouloir supprimer cette image ?',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/notes/${noteId}/image`);
-
- // Update state
- const noteIndex = state.notes.findIndex(n => n.id === noteId);
- if (noteIndex !== -1) {
- state.notes[noteIndex].image_filename = null;
- }
-
- // Re-render expanded card
- renderNotes();
- } catch (error) {
- console.error('Erreur suppression image:', error);
- showNotification('Erreur lors de la suppression de l\'image');
- }
-}
-
-async function handleImageUploadInline(event) {
- const file = event.target.files[0];
- const noteId = event.target.dataset.noteId;
-
- if (!file || !noteId) return;
-
- const formData = new FormData();
- formData.append('image', file);
-
- try {
- const result = await api.uploadFile(`/api/notes/${noteId}/image`, formData);
-
- // Update state
- const noteIndex = state.notes.findIndex(n => n.id === parseInt(noteId));
- if (noteIndex !== -1) {
- state.notes[noteIndex].image_filename = result.filename;
- }
-
- // Re-render expanded card
- renderNotes();
- } catch (error) {
- console.error('Erreur upload image:', error);
- showNotification('Erreur lors de l\'upload de l\'image');
- }
-
- // Reset input
- event.target.value = '';
- event.target.dataset.noteId = '';
-}
-
-async function handleFileUploadInline(event) {
- const file = event.target.files[0];
- const noteId = event.target.dataset.noteId;
-
- if (!file || !noteId) return;
-
- const formData = new FormData();
- formData.append('file', file);
-
- try {
- const result = await api.uploadFile(`/api/notes/${noteId}/files`, formData);
-
- // Reload notes to get updated files list
- await loadNotes();
-
- // Keep the note expanded
- state.expandedNoteId = parseInt(noteId);
- renderNotes();
- } catch (error) {
- console.error('Erreur upload fichier:', error);
- showNotification('Erreur lors de l\'upload du fichier: ' + (error.message || 'Erreur inconnue'));
- }
-
- // Reset input
- event.target.value = '';
- event.target.dataset.noteId = '';
-}
-
-async function downloadFile(fileId) {
- try {
- // Ouvrir le lien de téléchargement dans un nouvel onglet
- window.open(`/api/notes/files/${fileId}/download`, '_blank');
- } catch (error) {
- console.error('Erreur téléchargement fichier:', error);
- showNotification('Erreur lors du téléchargement du fichier', 'error');
- }
-}
-
-async function deleteFile(fileId) {
- const confirmed = await confirmDialog.show({
- icon: '📎',
- title: 'Supprimer ce fichier',
- message: 'Êtes-vous sûr de vouloir supprimer ce fichier ?',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/notes/files/${fileId}`);
-
- // Reload notes to get updated files list
- await loadNotes();
-
- // Keep the note expanded
- if (state.expandedNoteId) {
- renderNotes();
- }
- } catch (error) {
- console.error('Erreur suppression fichier:', error);
- showNotification('Erreur lors de la suppression du fichier', 'error');
- }
-}
-
-async function createNewNote() {
- try {
- const newNote = await api.post('/api/notes', {
- title: 'Nouvelle note',
- content: ''
- });
-
- // Reload notes
- await loadNotes();
-
- // Expand the new note
- state.expandedNoteId = newNote.id;
- renderNotes();
-
- // Focus title input
- setTimeout(() => {
- const titleInput = document.querySelector('.note-title-input-inline');
- if (titleInput) {
- titleInput.focus();
- titleInput.select();
- }
- }, 100);
- } catch (error) {
- console.error('Erreur création note:', error);
- showNotification('Erreur lors de la création de la note', 'error');
- }
-}
-
-function setNoteView(view) {
- state.view = view;
- document.querySelectorAll('.view-filter').forEach(btn => {
- btn.classList.toggle('active', btn.dataset.view === view);
- });
- loadNotes();
-}
-
-// ==================== MODAL (OLD - DEPRECATED) ====================
-let saveTimeout;
-let currentNoteId = null;
-
-async function openNoteModal(noteId = null) {
- currentNoteId = noteId;
- const modal = document.getElementById('noteEditorBackdrop');
- const titleInput = document.getElementById('noteTitle');
- const contentTextarea = document.getElementById('noteContent');
- const imageContainer = document.getElementById('noteImageContainer');
- const noteImage = document.getElementById('noteImage');
- const noteTodosList = document.getElementById('noteTodosList');
- const metadata = document.getElementById('noteMetadata');
-
- if (noteId) {
- // Charger la note existante
- try {
- const note = await api.get(`/api/notes/${noteId}`);
- state.currentNote = note;
-
- titleInput.value = note.title;
- contentTextarea.value = note.content || '';
-
- if (note.image_filename) {
- noteImage.src = `/uploads/${note.image_filename}`;
- imageContainer.style.display = 'block';
- } else {
- imageContainer.style.display = 'none';
- }
-
- renderNoteTodos(note.todos || []);
- metadata.textContent = `Créée ${utils.formatDate(note.created_at)} • Modifiée ${utils.formatDate(note.updated_at)}`;
- } catch (error) {
- console.error('Erreur chargement note:', error);
- return;
- }
- } else {
- // Nouvelle note
- try {
- const newNote = await api.post('/api/notes', {
- title: 'Nouvelle note',
- content: ''
- });
-
- currentNoteId = newNote.id;
- state.currentNote = newNote;
-
- titleInput.value = newNote.title;
- contentTextarea.value = '';
- imageContainer.style.display = 'none';
- noteTodosList.innerHTML = '';
- metadata.textContent = 'Nouvelle note';
-
- // Rafraîchir la liste
- await loadNotes();
- } catch (error) {
- console.error('Erreur création note:', error);
- return;
- }
- }
-
- modal.style.display = 'flex';
- titleInput.focus();
- titleInput.select();
-
- // Auto-save sur les modifications
- setupAutoSave();
-}
-
-function setupAutoSave() {
- const titleInput = document.getElementById('noteTitle');
- const contentTextarea = document.getElementById('noteContent');
-
- const saveNote = async () => {
- if (!currentNoteId) return;
-
- try {
- await api.put(`/api/notes/${currentNoteId}`, {
- title: titleInput.value,
- content: contentTextarea.value
- });
-
- // Rafraîchir la liste
- await loadNotes();
- } catch (error) {
- console.error('Erreur sauvegarde:', error);
- }
- };
-
- const debouncedSave = utils.debounce(saveNote, 1000);
-
- titleInput.oninput = debouncedSave;
- contentTextarea.oninput = debouncedSave;
-}
-
-function renderNoteTodos(todos) {
- const list = document.getElementById('noteTodosList');
- list.innerHTML = '';
-
- todos.forEach(todo => {
- const item = document.createElement('div');
- item.className = 'todo-item';
- item.innerHTML = `
-
- ${escapeHtml(todo.text)}
- ✕
- `;
- if (todo.completed) item.classList.add('completed');
- list.appendChild(item);
- });
-}
-
-async function addNoteTodo() {
- if (!currentNoteId) return;
-
- const text = prompt('Texte du todo:');
- if (!text) return;
-
- try {
- await api.post(`/api/notes/${currentNoteId}/todos`, { text });
- const note = await api.get(`/api/notes/${currentNoteId}`);
- renderNoteTodos(note.todos || []);
- await loadNotes();
- } catch (error) {
- console.error('Erreur ajout todo:', error);
- }
-}
-
-async function toggleNoteTodo(todoId, completed) {
- try {
- await api.put(`/api/notes/todos/${todoId}`, { completed });
- const note = await api.get(`/api/notes/${currentNoteId}`);
- renderNoteTodos(note.todos || []);
- await loadNotes();
- } catch (error) {
- console.error('Erreur toggle todo:', error);
- }
-}
-
-async function deleteNoteTodo(todoId) {
- const confirmed = await confirmDialog.show({
- icon: '🗑️',
- title: 'Supprimer ce todo',
- message: 'Êtes-vous sûr de vouloir supprimer ce todo ?',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/notes/todos/${todoId}`);
- const note = await api.get(`/api/notes/${currentNoteId}`);
- renderNoteTodos(note.todos || []);
- await loadNotes();
- } catch (error) {
- console.error('Erreur suppression todo:', error);
- }
-}
-
-function closeNoteModal() {
- document.getElementById('noteEditorBackdrop').style.display = 'none';
- currentNoteId = null;
- state.currentNote = null;
-}
-
-async function saveCurrentNote() {
- if (!currentNoteId) return;
-
- const titleInput = document.getElementById('noteTitle');
- const contentTextarea = document.getElementById('noteContent');
-
- try {
- await api.put(`/api/notes/${currentNoteId}`, {
- title: titleInput.value,
- content: contentTextarea.value
- });
-
- await loadNotes();
- } catch (error) {
- console.error('Erreur sauvegarde:', error);
- throw error;
- }
-}
-
-async function deleteCurrentNote() {
- if (!currentNoteId) return;
-
- const confirmed = await confirmDialog.show({
- icon: '🗑️',
- title: 'Supprimer cette note',
- message: 'Êtes-vous sûr de vouloir supprimer cette note ?\n\nTous les todos associés seront également supprimés.',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/notes/${currentNoteId}`);
- closeNoteModal();
- await loadNotes();
- } catch (error) {
- console.error('Erreur suppression note:', error);
- }
-}
-
-async function addNoteImage() {
- document.getElementById('imageInput').click();
-}
-
-async function handleImageUpload(event) {
- const file = event.target.files[0];
- if (!file || !currentNoteId) return;
-
- const formData = new FormData();
- formData.append('image', file);
-
- try {
- const result = await api.uploadFile(`/api/notes/${currentNoteId}/image`, formData);
- document.getElementById('noteImage').src = result.url;
- document.getElementById('noteImageContainer').style.display = 'block';
- await loadNotes();
- } catch (error) {
- console.error('Erreur upload image:', error);
- showNotification('Erreur lors de l\'upload de l\'image');
- }
-}
-
-async function removeNoteImage() {
- if (!currentNoteId) return;
-
- const confirmed = await confirmDialog.show({
- icon: '🖼️',
- title: 'Supprimer l\'image',
- message: 'Êtes-vous sûr de vouloir supprimer cette image ?',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/notes/${currentNoteId}/image`);
- document.getElementById('noteImageContainer').style.display = 'none';
- await loadNotes();
- } catch (error) {
- console.error('Erreur suppression image:', error);
- }
-}
-
-// ==================== TODOS GLOBAUX ====================
-async function loadTodos() {
- try {
- state.todos = await api.get('/api/todos');
- renderTodos();
- } catch (error) {
- console.error('Erreur chargement todos:', error);
- }
-}
-
-function renderTodos() {
- const todoList = document.getElementById('todoList');
- if (!todoList) return;
-
- todoList.innerHTML = '';
-
- const filtered = state.todos.filter(todo => {
- if (state.filter === 'active') return !todo.completed;
- if (state.filter === 'completed') return todo.completed;
- return true;
- });
-
- // Tri : actives en premier, puis complétées
- filtered.sort((a, b) => {
- // Les actives (completed = false) avant les complétées (completed = true)
- if (a.completed !== b.completed) {
- return a.completed ? 1 : -1;
- }
- // Si même statut, tri par ID décroissant (plus récentes en premier)
- return b.id - a.id;
- });
-
- filtered.forEach(todo => {
- const item = document.createElement('div');
- item.className = 'todo-item' + (todo.completed ? ' completed' : '');
- item.innerHTML = `
-
- ${escapeHtml(todo.text)}
- ✕
- `;
- todoList.appendChild(item);
- });
-
- updateTodoCounter();
-}
-
-async function addTodo() {
- const input = document.getElementById('todoInput');
- const text = input.value.trim();
-
- if (!text) return;
-
- try {
- await api.post('/api/todos', { text });
- input.value = '';
- await loadTodos();
- } catch (error) {
- console.error('Erreur ajout todo:', error);
- }
-}
-
-async function toggleTodo(id, completed) {
- try {
- await api.put(`/api/todos/${id}`, { completed });
- await loadTodos();
- } catch (error) {
- console.error('Erreur toggle todo:', error);
- }
-}
-
-async function deleteTodo(id) {
- const confirmed = await confirmDialog.show({
- icon: '🗑️',
- title: 'Supprimer cette tâche',
- message: 'Êtes-vous sûr de vouloir supprimer cette tâche ?',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/todos/${id}`);
- await loadTodos();
- } catch (error) {
- console.error('Erreur suppression todo:', error);
- }
-}
-
-function setTodoFilter(filter) {
- state.filter = filter;
- document.querySelectorAll('.filter-btn').forEach(btn => {
- btn.classList.toggle('active', btn.dataset.filter === filter);
- });
- renderTodos();
-}
-
-function updateTodoCounter() {
- const counter = document.getElementById('todoCounter');
- if (!counter) return;
-
- const remaining = state.todos.filter(t => !t.completed).length;
- counter.textContent = `${remaining} tâche${remaining > 1 ? 's' : ''} restante${remaining > 1 ? 's' : ''}`;
-}
-
-// ==================== SEARCH ====================
-function setupSearch() {
- const searchInput = document.getElementById('searchInput');
- const searchClear = document.getElementById('searchClear');
-
- if (!searchInput) return;
-
- const performSearch = utils.debounce(() => {
- state.searchQuery = searchInput.value.trim();
- renderNotes();
-
- if (state.searchQuery) {
- searchClear.style.display = 'block';
- } else {
- searchClear.style.display = 'none';
- }
- }, 300);
-
- searchInput.addEventListener('input', performSearch);
-
- if (searchClear) {
- searchClear.addEventListener('click', () => {
- searchInput.value = '';
- state.searchQuery = '';
- searchClear.style.display = 'none';
- renderNotes();
- });
- }
-}
-
-// ==================== ADMIN ====================
-
-// Tab switching
-function switchAdminTab(tabName) {
- // Update tab buttons
- document.querySelectorAll('.admin-tab').forEach(btn => {
- btn.classList.toggle('active', btn.dataset.tab === tabName);
- });
-
- // Update tab content
- document.querySelectorAll('.admin-tab-content').forEach(content => {
- content.style.display = 'none';
- });
-
- const targetTab = document.getElementById(`tab-${tabName}`);
- if (targetTab) {
- targetTab.style.display = 'block';
- }
-
- // Load data for the selected tab
- if (tabName === 'users') {
- loadUsers();
- } else if (tabName === 'rss') {
- loadRssFeeds();
- } else if (tabName === 'openrouter') {
- loadOpenRouterSettings();
- }
-}
-
-async function loadUsers() {
- try {
- const users = await api.get('/api/users');
- renderUsersTable(users);
- } catch (error) {
- console.error('Erreur chargement utilisateurs:', error);
- showNotification('Erreur lors du chargement des utilisateurs', 'error');
- }
-}
-
-function renderUsersTable(users) {
- const tbody = document.getElementById('usersTableBody');
- if (!tbody) return;
-
- tbody.innerHTML = users.map(user => `
-
- ${user.id}
- ${user.username}
- ${user.is_admin ? '✓ Oui' : '✗ Non'}
- ${new Date(user.created_at).toLocaleDateString('fr-FR')}
-
-
- 🔑 Mot de passe
-
- ${user.id !== state.user.id ? `
-
- 🗑️ Supprimer
-
- ` : ''}
-
-
- `).join('');
-}
-
-async function openAdminModal() {
- const modal = document.getElementById('adminModal');
- if (!modal) return;
-
- modal.style.display = 'flex';
- setTimeout(() => modal.classList.add('active'), 10);
-
- // Switch to users tab by default
- switchAdminTab('users');
-}
-
-function closeAdminModal() {
- const modal = document.getElementById('adminModal');
- if (!modal) return;
-
- modal.classList.remove('active');
- setTimeout(() => {
- modal.style.display = 'none';
- }, 300);
-}
-
-async function createUser() {
- const username = prompt('Nom d\'utilisateur:');
- if (!username || username.trim().length < 3) {
- showNotification('Le nom d\'utilisateur doit contenir au moins 3 caractères');
- return;
- }
-
- const password = prompt('Mot de passe:');
- if (!password || password.length < 4) {
- showNotification('Le mot de passe doit contenir au moins 4 caractères', 'warning');
- return;
- }
-
- const isAdmin = await confirmDialog.show({
- icon: '👤',
- title: 'Droits administrateur',
- message: `Créer "${username}" en tant qu'administrateur ?`,
- okText: 'Oui, admin',
- cancelText: 'Non, utilisateur'
- });
-
- try {
- await api.post('/api/users', {
- username: username.trim(),
- password,
- is_admin: isAdmin
- });
- showNotification('Utilisateur créé avec succès', 'success');
- await loadUsers();
- } catch (error) {
- console.error('Erreur création utilisateur:', error);
- showNotification('Erreur lors de la création de l\'utilisateur. Il existe peut-être déjà.');
- }
-}
-
-// Password Change Modal
-let currentPasswordChangeUserId = null;
-let currentPasswordChangeUsername = null;
-
-function openPasswordChangeModal(userId, username) {
- currentPasswordChangeUserId = userId;
- currentPasswordChangeUsername = username;
-
- const modal = document.getElementById('changePasswordModal');
- const usernameDisplay = document.getElementById('changePasswordUsername');
- const newPasswordInput = document.getElementById('newPassword');
- const confirmPasswordInput = document.getElementById('confirmPassword');
-
- if (usernameDisplay) {
- usernameDisplay.textContent = `Modifier le mot de passe de "${username}"`;
- }
-
- if (newPasswordInput) newPasswordInput.value = '';
- if (confirmPasswordInput) confirmPasswordInput.value = '';
-
- modal.style.display = 'flex';
- setTimeout(() => modal.classList.add('active'), 10);
-
- if (newPasswordInput) newPasswordInput.focus();
-}
-
-function closePasswordChangeModal() {
- const modal = document.getElementById('changePasswordModal');
- modal.classList.remove('active');
- setTimeout(() => {
- modal.style.display = 'none';
- }, 300);
-
- currentPasswordChangeUserId = null;
- currentPasswordChangeUsername = null;
-}
-
-async function confirmPasswordChange() {
- const newPasswordInput = document.getElementById('newPassword');
- const confirmPasswordInput = document.getElementById('confirmPassword');
-
- const newPassword = newPasswordInput.value;
- const confirmPassword = confirmPasswordInput.value;
-
- if (!newPassword || newPassword.length < 6) {
- showNotification('Le mot de passe doit contenir au moins 6 caractères', 'warning');
- return;
- }
-
- if (newPassword !== confirmPassword) {
- showNotification('Les mots de passe ne correspondent pas', 'warning');
- return;
- }
-
- try {
- await api.put(`/api/users/${currentPasswordChangeUserId}`, { password: newPassword });
- showNotification('Mot de passe modifié avec succès', 'success');
- closePasswordChangeModal();
- } catch (error) {
- console.error('Erreur modification mot de passe:', error);
- showNotification('Erreur lors de la modification du mot de passe', 'error');
- }
-}
-
-async function changeUserPassword(id, username) {
- openPasswordChangeModal(id, username);
-}
-
-async function deleteUser(id, username) {
- const confirmed = await confirmDialog.show({
- icon: '⚠️',
- title: 'Supprimer cet utilisateur',
- message: `Êtes-vous sûr de vouloir supprimer l'utilisateur "${username}" ?\n\nToutes ses notes et todos seront également supprimés définitivement.`,
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/users/${id}`);
- showNotification('Utilisateur supprimé avec succès', 'success');
- await loadUsers();
- } catch (error) {
- console.error('Erreur suppression utilisateur:', error);
- showNotification('Erreur lors de la suppression de l\'utilisateur');
- }
-}
-
-// ==================== RSS FEEDS ====================
-async function loadRssFeeds() {
- try {
- const feeds = await api.get('/api/rss/feeds');
- renderRssFeeds(feeds);
- } catch (error) {
- console.error('Erreur chargement flux RSS:', error);
- showNotification('Erreur lors du chargement des flux RSS', 'error');
- }
-}
-
-function renderRssFeeds(feeds) {
- const container = document.getElementById('rssFeedsList');
- if (!container) return;
-
- if (feeds.length === 0) {
- container.innerHTML = 'Aucun flux RSS configuré
';
- return;
- }
-
- container.innerHTML = feeds.map(feed => `
-
- `).join('');
-}
-
-async function addRssFeed() {
- const input = document.getElementById('rssUrlInput');
- const url = input.value.trim();
-
- if (!url) {
- showNotification('Veuillez entrer une URL de flux RSS', 'warning');
- return;
- }
-
- if (!url.startsWith('http://') && !url.startsWith('https://')) {
- showNotification('L\'URL doit commencer par http:// ou https://', 'warning');
- return;
- }
-
- try {
- await api.post('/api/rss/feeds', { url });
- input.value = '';
- showNotification('Flux RSS ajouté avec succès', 'success');
- await loadRssFeeds();
- } catch (error) {
- console.error('Erreur ajout flux RSS:', error);
- showNotification('Erreur lors de l\'ajout du flux RSS. Vérifiez l\'URL.');
- }
-}
-
-async function toggleRssFeed(feedId, enabled) {
- try {
- await api.put(`/api/rss/feeds/${feedId}`, { enabled });
- } catch (error) {
- console.error('Erreur toggle flux RSS:', error);
- showNotification('Erreur lors de la modification du flux RSS', 'error');
- }
-}
-
-async function deleteRssFeed(feedId) {
- const confirmed = await confirmDialog.show({
- icon: '📰',
- title: 'Supprimer ce flux RSS',
- message: 'Êtes-vous sûr de vouloir supprimer ce flux RSS ?\n\nTous les articles associés seront également supprimés.',
- okText: 'Supprimer'
- });
-
- if (!confirmed) return;
-
- try {
- await api.delete(`/api/rss/feeds/${feedId}`);
- showNotification('Flux RSS supprimé avec succès', 'success');
- await loadRssFeeds();
- } catch (error) {
- console.error('Erreur suppression flux RSS:', error);
- showNotification('Erreur lors de la suppression du flux RSS', 'error');
- }
-}
-
-async function fetchRssArticles() {
- const btn = document.getElementById('fetchRssBtn');
- if (!btn) return;
-
- const originalText = btn.textContent;
- btn.disabled = true;
- btn.textContent = '🔄 Récupération en cours...';
-
- try {
- const result = await api.post('/api/rss/fetch', {});
- showNotification(result.message || 'Articles récupérés avec succès', 'success');
- await loadRssArticles();
- } catch (error) {
- console.error('Erreur fetch articles RSS:', error);
- showNotification('Erreur lors de la récupération des articles RSS', 'error');
- } finally {
- btn.disabled = false;
- btn.textContent = originalText;
- }
-}
-
-// Cache des settings pour optimiser les performances
-let settingsCache = null;
-let settingsCacheTime = 0;
-const SETTINGS_CACHE_DURATION = 60000; // 1 minute
-
-// Fonction pour afficher/cacher l'indicateur de refresh
-function showRefreshIndicator() {
- const indicator = document.getElementById('refreshIndicator');
- if (indicator) {
- indicator.classList.add('active');
- }
-}
-
-function hideRefreshIndicator() {
- const indicator = document.getElementById('refreshIndicator');
- if (indicator) {
- indicator.classList.remove('active');
- }
-}
-
-async function loadRssArticles(showIndicator = false) {
- try {
- if (showIndicator) {
- showRefreshIndicator();
- }
-
- // Vérifier si les résumés sont activés (avec cache)
- const now = Date.now();
- if (!settingsCache || (now - settingsCacheTime) > SETTINGS_CACHE_DURATION) {
- settingsCache = await api.get('/api/settings');
- settingsCacheTime = now;
- }
-
- const summaryEnabled = settingsCache.rss_summary_enabled === '1' || settingsCache.rss_summary_enabled === 'true';
-
- if (summaryEnabled) {
- // Charger les résumés
- const summaries = await api.get('/api/rss/summaries');
- renderRssSummaries(summaries);
- } else {
- // Charger les articles normaux
- const articles = await api.get('/api/rss/articles');
- renderRssArticles(articles);
- }
-
- if (showIndicator) {
- // Cacher l'indicateur après un court délai pour que l'utilisateur le voie
- setTimeout(hideRefreshIndicator, 500);
- }
- } catch (error) {
- console.error('Erreur chargement articles RSS:', error);
- hideRefreshIndicator();
- }
-}
-
-function renderRssArticles(articles) {
- const container = document.getElementById('rssArticlesList');
- if (!container) return;
-
- if (!articles || articles.length === 0) {
- container.innerHTML = '';
- return;
- }
-
- container.innerHTML = articles.map(article => `
-
-
${escapeHtml(article.title)}
-
- ${escapeHtml(article.feed_title)}
- ${new Date(article.pub_date).toLocaleDateString('fr-FR')}
-
- ${article.description ? `
${escapeHtml(article.description)}
` : ''}
-
- `).join('');
-}
-
-function renderRssSummaries(summaries) {
- const container = document.getElementById('rssArticlesList');
- if (!container) return;
-
- if (!summaries || summaries.length === 0) {
- container.innerHTML = '';
- return;
- }
-
- // Nouvelle structure : afficher les résumés PAR ARTICLE avec titre + résumé + lien
- container.innerHTML = summaries.map(summary => {
- // Le résumé peut être soit l'ancien format (global) soit le nouveau (par article depuis DB)
- // Si c'est un résumé DB, il contient déjà le titre et le lien formatés
- if (summary.summary && summary.summary.includes('🔗')) {
- // Nouveau format : résumé par article avec titre et lien
- return `
-
-
-
-
- `;
- } else {
- // Ancien format (résumé global)
- return `
-
- `;
- }
- }).join('');
-}
-
-function formatSummary(summary) {
- // Convertir le Markdown de base en HTML
- let html = escapeHtml(summary);
-
- // Titres
- html = html.replace(/\n## (.*?)\n/g, '$1 ');
- html = html.replace(/\n# (.*?)\n/g, '$1 ');
-
- // Listes à puces
- html = html.replace(/\n- (.*?)(?=\n|$)/g, '$1 ');
- html = html.replace(/(.*<\/li>)/s, '');
-
- // Listes numérotées
- html = html.replace(/\n\d+\. (.*?)(?=\n|$)/g, ' $1 ');
-
- // Gras (avant les liens pour éviter les conflits)
- html = html.replace(/\*\*(.*?)\*\*/g, '$1 ');
-
- // Italique
- html = html.replace(/\*(.*?)\*/g, '$1 ');
-
- // Liens markdown [texte](url) - convertir en liens cliquables
- html = html.replace(/\[([^\]]+)\]\(([^)]+)\)/g, '');
-
- // Emoji lien avec texte - gérer 🔗 suivi d'espace
- html = html.replace(/🔗\s*/g, '🔗 ');
-
- // Sauts de ligne
- html = html.replace(/\n\n/g, ' ');
- html = html.replace(/\n/g, ' ');
-
- return html;
-}
-
-async function summarizeRss() {
- const btn = document.getElementById('summarizeRssBtn');
- if (!btn) return;
-
- const originalHTML = btn.innerHTML;
- btn.disabled = true;
- btn.innerHTML = ' ';
-
- try {
- const result = await api.post('/api/rss/summarize', {});
-
- // Vérifier si les résumés sont activés
- const settings = await api.get('/api/settings');
- const summaryEnabled = settings.rss_summary_enabled === '1' || settings.rss_summary_enabled === 'true';
-
- if (summaryEnabled) {
- // Si les résumés sont activés, juste recharger le bloc RSS
- showNotification(`${result.articles_count} résumés générés avec succès !`, 'success');
- await loadRssArticles();
- } else {
- // Sinon créer une note avec TOUS les résumés par article
- if (result.summaries && result.summaries.length > 0) {
- const allSummaries = result.summaries.map(s =>
- `**${s.title}**\n_${s.feed_title} - ${new Date(s.pub_date).toLocaleDateString('fr-FR')}_\n\n${s.summary}\n\n🔗 [Lire l'article](${s.link})`
- ).join('\n\n---\n\n');
-
- const newNote = await api.post('/api/notes', {
- title: `📰 Résumés RSS - ${new Date().toLocaleDateString('fr-FR')}`,
- content: allSummaries
- });
-
- showNotification(`${result.articles_count} résumés générés et sauvegardés dans une nouvelle note !`, 'success');
- await loadNotes();
-
- // Expand the new note
- state.expandedNoteId = newNote.id;
- renderNotes();
- } else {
- showNotification('Aucun résumé généré', 'warning');
- }
- }
- } catch (error) {
- console.error('Erreur génération résumé RSS:', error);
- if (error.message && error.message.includes('400')) {
- showNotification('Veuillez configurer votre clé API OpenRouter dans l\'administration');
- } else {
- showNotification('Erreur lors de la génération du résumé RSS', 'error');
- }
- } finally {
- btn.disabled = false;
- btn.innerHTML = originalHTML;
- }
-}
-
-// ==================== OPENROUTER ====================
-let allModels = [];
-
-async function loadOpenRouterSettings() {
- try {
- const settings = await api.get('/api/settings');
- const models = await api.get('/api/rss/models');
-
- allModels = models;
-
- // Populate form
- const apiKeyInput = document.getElementById('openrouterApiKey');
- const modelSelect = document.getElementById('openrouterModel');
- const summaryEnabled = document.getElementById('rssSummaryEnabled');
- const summaryPrompt = document.getElementById('rssSummaryPrompt');
-
- if (apiKeyInput) {
- apiKeyInput.value = settings.openrouter_api_key || '';
- }
-
- if (summaryEnabled) {
- summaryEnabled.checked = settings.rss_summary_enabled === 'true' || settings.rss_summary_enabled === '1';
- }
-
- if (summaryPrompt) {
- summaryPrompt.value = settings.rss_summary_prompt || `Tu es un assistant spécialisé dans la synthèse d'actualités. Analyse les articles suivants et crée un résumé structuré et informatif.
-
-Pour chaque article, identifie:
-- Le sujet principal
-- Les points clés
-- L'importance de l'information
-
-Ensuite, génère un résumé global qui:
-1. Regroupe les thèmes communs
-2. Hiérarchise les informations par importance
-3. Présente une vue d'ensemble claire et concise
-4. Utilise un style professionnel mais accessible
-
-Format de sortie en Markdown avec des sections claires.`;
- }
-
- // Populate model selector
- renderModelSelect(models, settings.openrouter_model);
-
- } catch (error) {
- console.error('Erreur chargement paramètres OpenRouter:', error);
- }
-}
-
-function renderModelSelect(models, selectedModel) {
- const select = document.getElementById('openrouterModel');
- if (!select) return;
-
- select.innerHTML = models.map(model => `
-
- ${escapeHtml(model.name)} (${escapeHtml(model.provider)})
-
- `).join('');
-}
-
-function filterModels() {
- const searchInput = document.getElementById('modelSearch');
- const select = document.getElementById('openrouterModel');
-
- if (!searchInput || !select) return;
-
- const query = searchInput.value.toLowerCase();
-
- if (!query) {
- renderModelSelect(allModels, select.value);
- return;
- }
-
- const filtered = allModels.filter(model =>
- model.name.toLowerCase().includes(query) ||
- model.provider.toLowerCase().includes(query) ||
- model.id.toLowerCase().includes(query)
- );
-
- renderModelSelect(filtered, select.value);
-}
-
-async function saveOpenRouterSettings() {
- const apiKeyInput = document.getElementById('openrouterApiKey');
- const modelSelect = document.getElementById('openrouterModel');
- const summaryEnabled = document.getElementById('rssSummaryEnabled');
- const summaryPrompt = document.getElementById('rssSummaryPrompt');
-
- try {
- // Save all settings
- await api.put('/api/settings/openrouter_api_key', { value: apiKeyInput.value });
- await api.put('/api/settings/openrouter_model', { value: modelSelect.value });
- await api.put('/api/settings/rss_summary_enabled', { value: summaryEnabled.checked ? '1' : '0' });
- await api.put('/api/settings/rss_summary_prompt', { value: summaryPrompt.value });
-
- showNotification('Paramètres OpenRouter sauvegardés avec succès', 'success');
- } catch (error) {
- console.error('Erreur sauvegarde paramètres OpenRouter:', error);
- showNotification('Erreur lors de la sauvegarde des paramètres', 'error');
- }
-}
-
-// ==================== INIT ====================
-async function init() {
- // Vérifier l'authentification
- await initAuth();
-
- // Charger les données
- await Promise.all([loadNotes(), loadTodos(), loadRssArticles()]);
-
- // Setup search
- setupSearch();
-
- // Auto-refresh RSS toutes les 30 secondes pour synchroniser avec le scheduler serveur
- setInterval(() => {
- loadRssArticles().catch(err => {
- console.debug('Erreur auto-refresh RSS:', err);
- });
- }, 30000); // 30 secondes
-
- // Event listeners
- const newNoteBtn = document.getElementById('newNoteBtn');
- if (newNoteBtn) {
- newNoteBtn.addEventListener('click', createNewNote);
- }
-
- // View filters (Active/Archived)
- document.querySelectorAll('.view-filter').forEach(btn => {
- btn.addEventListener('click', () => setNoteView(btn.dataset.view));
- });
-
- // Admin button
- const adminBtn = document.getElementById('adminBtn');
- if (adminBtn) {
- adminBtn.addEventListener('click', openAdminModal);
- }
-
- const closeAdminModalBtn = document.getElementById('closeAdminModal');
- if (closeAdminModalBtn) {
- closeAdminModalBtn.addEventListener('click', closeAdminModal);
- }
-
- const createUserBtn = document.getElementById('createUserBtn');
- if (createUserBtn) {
- createUserBtn.addEventListener('click', createUser);
- }
-
- const adminModalBackdrop = document.getElementById('adminModal');
- if (adminModalBackdrop) {
- adminModalBackdrop.addEventListener('click', (e) => {
- if (e.target === adminModalBackdrop) closeAdminModal();
- });
- }
-
- const closeEditor = document.getElementById('closeEditor');
- if (closeEditor) {
- closeEditor.addEventListener('click', closeNoteModal);
- }
-
- const saveNoteBtn = document.getElementById('saveNote');
- if (saveNoteBtn) {
- saveNoteBtn.addEventListener('click', async () => {
- if (currentNoteId) {
- await saveCurrentNote();
- showNotification('Note enregistrée !', 'success');
- }
- });
- }
-
- const deleteNote = document.getElementById('deleteNote');
- if (deleteNote) {
- deleteNote.addEventListener('click', deleteCurrentNote);
- }
-
- const addImageBtn = document.getElementById('addImageBtn');
- if (addImageBtn) {
- addImageBtn.addEventListener('click', addNoteImage);
- }
-
- const imageInput = document.getElementById('imageInput');
- if (imageInput) {
- imageInput.addEventListener('change', handleImageUploadInline);
- }
-
- const fileInput = document.getElementById('fileInput');
- if (fileInput) {
- fileInput.addEventListener('change', handleFileUploadInline);
- }
-
- const removeImage = document.getElementById('removeImage');
- if (removeImage) {
- removeImage.addEventListener('click', removeNoteImage);
- }
-
- const addNoteTodoBtn = document.getElementById('addNoteTodo');
- if (addNoteTodoBtn) {
- addNoteTodoBtn.addEventListener('click', addNoteTodo);
- }
-
- const addTodoBtn = document.getElementById('addTodoBtn');
- if (addTodoBtn) {
- addTodoBtn.addEventListener('click', addTodo);
- }
-
- const todoInput = document.getElementById('todoInput');
- if (todoInput) {
- todoInput.addEventListener('keypress', (e) => {
- if (e.key === 'Enter') addTodo();
- });
- }
-
- // Todo filters
- document.querySelectorAll('.filter-btn').forEach(btn => {
- btn.addEventListener('click', () => setTodoFilter(btn.dataset.filter));
- });
-
- // Event delegation pour les todos de la sidebar
- const todoList = document.getElementById('todoList');
- if (todoList) {
- todoList.addEventListener('change', (e) => {
- if (e.target.classList.contains('todo-checkbox')) {
- const todoId = parseInt(e.target.dataset.todoId);
- toggleTodo(todoId, e.target.checked);
- }
- });
-
- todoList.addEventListener('click', (e) => {
- if (e.target.classList.contains('todo-delete')) {
- const todoId = parseInt(e.target.dataset.todoId);
- deleteTodo(todoId);
- }
- });
- }
-
- // Event delegation pour les todos des notes
- const noteTodosList = document.getElementById('noteTodosList');
- if (noteTodosList) {
- noteTodosList.addEventListener('change', (e) => {
- if (e.target.classList.contains('todo-checkbox')) {
- const todoId = parseInt(e.target.dataset.noteTodoId);
- toggleNoteTodo(todoId, e.target.checked);
- }
- });
-
- noteTodosList.addEventListener('click', (e) => {
- if (e.target.classList.contains('todo-delete')) {
- const todoId = parseInt(e.target.dataset.noteTodoId);
- deleteNoteTodo(todoId);
- }
- });
- }
-
- // Event delegation pour les boutons d'administration des utilisateurs
- const usersTableBody = document.getElementById('usersTableBody');
- if (usersTableBody) {
- usersTableBody.addEventListener('click', (e) => {
- // Bouton changer mot de passe
- if (e.target.classList.contains('btn-edit-user') || e.target.closest('.btn-edit-user')) {
- const btn = e.target.classList.contains('btn-edit-user') ? e.target : e.target.closest('.btn-edit-user');
- const userId = parseInt(btn.dataset.userId);
- const username = btn.dataset.username;
- changeUserPassword(userId, username);
- }
- // Bouton supprimer utilisateur
- else if (e.target.classList.contains('btn-delete-user') || e.target.closest('.btn-delete-user')) {
- const btn = e.target.classList.contains('btn-delete-user') ? e.target : e.target.closest('.btn-delete-user');
- const userId = parseInt(btn.dataset.userId);
- const username = btn.dataset.username;
- deleteUser(userId, username);
- }
- });
- }
-
- // Close editor on backdrop click
- const noteEditorBackdrop = document.getElementById('noteEditorBackdrop');
- if (noteEditorBackdrop) {
- noteEditorBackdrop.addEventListener('click', (e) => {
- if (e.target === noteEditorBackdrop) closeNoteModal();
- });
- }
-
- // Event delegation for notes grid
- const notesGrid = document.getElementById('notesGrid');
- if (notesGrid) {
- // Click on compact note to expand
- notesGrid.addEventListener('click', (e) => {
- const compactNote = e.target.closest('.note-card-compact');
- if (compactNote) {
- const noteId = parseInt(compactNote.dataset.noteId);
- expandNote(noteId);
- return;
- }
-
- // Collapse note button
- if (e.target.closest('.btn-collapse-note')) {
- collapseNote();
- return;
- }
-
- // Archive note button
- const archiveBtn = e.target.closest('.btn-archive-note');
- if (archiveBtn) {
- const noteId = parseInt(archiveBtn.dataset.noteId);
- const archived = archiveBtn.dataset.archived === 'true';
- archiveNote(noteId, !archived);
- return;
- }
-
- // Delete note button
- const deleteBtn = e.target.closest('.btn-delete-note-inline');
- if (deleteBtn) {
- const noteId = parseInt(deleteBtn.dataset.noteId);
- deleteNoteInline(noteId);
- return;
- }
-
- // Add image button
- const addImageBtn = e.target.closest('.btn-add-image-inline');
- if (addImageBtn) {
- const noteId = parseInt(addImageBtn.dataset.noteId);
- triggerImageUpload(noteId);
- return;
- }
-
- // Remove image button
- const removeImageBtn = e.target.closest('.btn-remove-image-inline');
- if (removeImageBtn) {
- const noteId = parseInt(removeImageBtn.dataset.noteId);
- removeImageInline(noteId);
- return;
- }
-
- // Add todo button
- const addTodoBtn = e.target.closest('.btn-add-todo-inline');
- if (addTodoBtn) {
- const noteId = parseInt(addTodoBtn.dataset.noteId);
- const inputElement = document.querySelector(`.add-todo-inline-input[data-note-id="${noteId}"]`);
- if (inputElement) {
- addNoteTodoInline(noteId, inputElement);
- }
- return;
- }
-
- // Add file button
- const addFileBtn = e.target.closest('.btn-add-file-inline');
- if (addFileBtn) {
- const noteId = parseInt(addFileBtn.dataset.noteId);
- triggerFileUpload(noteId);
- return;
- }
-
- // Delete todo inline button
- if (e.target.classList.contains('todo-delete-inline')) {
- const todoId = parseInt(e.target.dataset.todoInlineId);
- deleteNoteTodoInline(todoId);
- return;
- }
-
- // Download file button
- const downloadBtn = e.target.closest('.btn-download-file');
- if (downloadBtn) {
- const fileId = parseInt(downloadBtn.dataset.fileId);
- downloadFile(fileId);
- return;
- }
-
- // Delete file button
- const deleteFileBtn = e.target.closest('.btn-delete-file');
- if (deleteFileBtn) {
- const fileId = parseInt(deleteFileBtn.dataset.fileId);
- deleteFile(fileId);
- return;
- }
- });
-
- // Checkbox change for inline todos
- notesGrid.addEventListener('change', (e) => {
- if (e.target.classList.contains('todo-checkbox-inline')) {
- const todoId = parseInt(e.target.dataset.todoInlineId);
- toggleNoteTodoInline(todoId, e.target.checked);
- }
- });
-
- // Enter key on add todo input
- notesGrid.addEventListener('keypress', (e) => {
- if (e.target.classList.contains('add-todo-inline-input') && e.key === 'Enter') {
- const noteId = parseInt(e.target.dataset.noteId);
- addNoteTodoInline(noteId, e.target);
- }
- });
- }
-
- // Close modal on Escape
- document.addEventListener('keydown', (e) => {
- if (e.key === 'Escape') {
- if (state.expandedNoteId) {
- collapseNote();
- } else {
- closeNoteModal();
- closeAdminModal();
- closePasswordChangeModal();
- }
- }
- });
-
- // ==================== ADMIN TAB SWITCHING ====================
- document.querySelectorAll('.admin-tab').forEach(tab => {
- tab.addEventListener('click', () => {
- switchAdminTab(tab.dataset.tab);
- });
- });
-
- // ==================== PASSWORD CHANGE MODAL ====================
- const closePasswordModal = document.getElementById('closeChangePasswordModal');
- if (closePasswordModal) {
- closePasswordModal.addEventListener('click', closePasswordChangeModal);
- }
-
- const cancelPasswordChange = document.getElementById('cancelChangePassword');
- if (cancelPasswordChange) {
- cancelPasswordChange.addEventListener('click', closePasswordChangeModal);
- }
-
- const confirmPasswordBtn = document.getElementById('confirmChangePassword');
- if (confirmPasswordBtn) {
- confirmPasswordBtn.addEventListener('click', confirmPasswordChange);
- }
-
- // Enter key to confirm password change
- const newPasswordInput = document.getElementById('newPassword');
- const confirmPasswordInput = document.getElementById('confirmPassword');
- if (newPasswordInput && confirmPasswordInput) {
- [newPasswordInput, confirmPasswordInput].forEach(input => {
- input.addEventListener('keypress', (e) => {
- if (e.key === 'Enter') confirmPasswordChange();
- });
- });
- }
-
- // ==================== RSS FEEDS ====================
- const addRssFeedBtn = document.getElementById('addRssFeedBtn');
- if (addRssFeedBtn) {
- addRssFeedBtn.addEventListener('click', addRssFeed);
- }
-
- const rssUrlInput = document.getElementById('rssUrlInput');
- if (rssUrlInput) {
- rssUrlInput.addEventListener('keypress', (e) => {
- if (e.key === 'Enter') addRssFeed();
- });
- }
-
- const fetchRssBtn = document.getElementById('fetchRssBtn');
- if (fetchRssBtn) {
- fetchRssBtn.addEventListener('click', fetchRssArticles);
- }
-
- // Event delegation for RSS feeds list
- const rssFeedsList = document.getElementById('rssFeedsList');
- if (rssFeedsList) {
- rssFeedsList.addEventListener('change', (e) => {
- if (e.target.type === 'checkbox' && e.target.dataset.feedId) {
- const feedId = parseInt(e.target.dataset.feedId);
- toggleRssFeed(feedId, e.target.checked);
- }
- });
-
- rssFeedsList.addEventListener('click', (e) => {
- const deleteBtn = e.target.closest('.btn-delete-feed');
- if (deleteBtn) {
- const feedId = parseInt(deleteBtn.dataset.feedId);
- deleteRssFeed(feedId);
- }
- });
- }
-
- // RSS articles click to open in new tab
- const rssArticlesList = document.getElementById('rssArticlesList');
- if (rssArticlesList) {
- rssArticlesList.addEventListener('click', (e) => {
- const article = e.target.closest('.rss-article');
- if (article && article.dataset.link) {
- window.open(article.dataset.link, '_blank');
- }
- });
- }
-
- // RSS summarize button
- const summarizeRssBtn = document.getElementById('summarizeRssBtn');
- if (summarizeRssBtn) {
- summarizeRssBtn.addEventListener('click', summarizeRss);
- }
-
- // ==================== OPENROUTER ====================
- const modelSearch = document.getElementById('modelSearch');
- if (modelSearch) {
- modelSearch.addEventListener('input', utils.debounce(filterModels, 300));
- }
-
- const saveOpenRouterBtn = document.getElementById('saveOpenRouterSettings');
- if (saveOpenRouterBtn) {
- saveOpenRouterBtn.addEventListener('click', saveOpenRouterSettings);
- }
-
- // ==================== MODAL IMAGE ====================
- // Fermer le modal avec le bouton X
- const imageModalClose = document.getElementById('imageModalClose');
- if (imageModalClose) {
- imageModalClose.addEventListener('click', closeImageModal);
- }
-
- // Fermer le modal en cliquant sur le fond
- const imageModal = document.getElementById('imageModal');
- if (imageModal) {
- imageModal.addEventListener('click', (e) => {
- if (e.target === imageModal) {
- closeImageModal();
- }
- });
- }
-
- // Fermer le modal avec la touche Escape
- document.addEventListener('keydown', (e) => {
- if (e.key === 'Escape') {
- closeImageModal();
- }
- });
-
- // Délégation d'événements pour les clics sur les images
- // Cela permettra de gérer les images même après un re-render
- document.addEventListener('click', (e) => {
- const target = e.target;
-
- // Si on clique sur une image de note (miniature)
- if (target.classList.contains('note-card-image') || target.classList.contains('note-image')) {
- e.preventDefault();
- e.stopPropagation();
- openImageModal(target.src);
- }
- });
-}
-
-// Démarrer l'application
-if (document.readyState === 'loading') {
- document.addEventListener('DOMContentLoaded', init);
-} else {
- init();
-}
diff --git a/public/js/lucide.min.js b/public/js/lucide.min.js
deleted file mode 100644
index d1c2eaf..0000000
--- a/public/js/lucide.min.js
+++ /dev/null
@@ -1 +0,0 @@
-// Fichier vide pour éviter les erreurs - les icônes sont maintenant directement intégrées en SVG
\ No newline at end of file
diff --git a/public/js/notes.js b/public/js/notes.js
deleted file mode 100644
index eac8488..0000000
--- a/public/js/notes.js
+++ /dev/null
@@ -1,364 +0,0 @@
-class NotesService {
- constructor() {
- this.currentNote = null;
- this.notes = [];
-
- // DOM Elements
- this.notesList = document.getElementById('notes-list');
- this.noteEditor = document.getElementById('note-editor');
- this.noteTitle = document.getElementById('note-title');
- this.noteContent = document.getElementById('note-content');
- this.todosList = document.getElementById('todos-list');
- this.imagesList = document.getElementById('images-list');
- this.searchInput = document.getElementById('search-notes');
- this.newNoteBtn = document.getElementById('new-note-btn');
- this.archiveNoteBtn = document.getElementById('archive-note-btn');
- this.deleteNoteBtn = document.getElementById('delete-note-btn');
- this.addTodoBtn = document.getElementById('add-todo-btn');
- this.imageUpload = document.getElementById('image-upload');
-
- this.setupEventListeners();
- }
-
- setupEventListeners() {
- if (this.newNoteBtn) {
- this.newNoteBtn.addEventListener('click', () => this.createNewNote());
- }
- if (this.archiveNoteBtn) {
- this.archiveNoteBtn.addEventListener('click', () => this.toggleArchiveNote());
- }
- if (this.deleteNoteBtn) {
- this.deleteNoteBtn.addEventListener('click', () => this.deleteNote());
- }
- if (this.addTodoBtn) {
- this.addTodoBtn.addEventListener('click', () => this.addTodo());
- }
- if (this.imageUpload) {
- this.imageUpload.addEventListener('change', (e) => this.handleImageUpload(e));
- }
- if (this.searchInput) {
- this.searchInput.addEventListener('input', (e) => this.handleSearch(e));
- }
-
- // Auto-save on content changes
- if (this.noteTitle) {
- this.noteTitle.addEventListener('input', () => this.autoSave());
- }
- if (this.noteContent) {
- this.noteContent.addEventListener('input', () => this.autoSave());
- }
- }
-
- async loadNotes() {
- if (!window.auth || !window.auth.token) {
- console.log('Not authenticated, skipping notes loading');
- return;
- }
-
- try {
- const response = await fetch('/api/notes', {
- headers: window.auth.getHeaders()
- });
-
- if (!response.ok) {
- throw new Error(`Failed to load notes: ${response.status}`);
- }
-
- this.notes = await response.json();
- this.renderNotesList();
- } catch (error) {
- console.error('Error loading notes:', error);
- }
- }
-
- renderNotesList(searchTerm = '') {
- if (!this.notesList) return;
-
- this.notesList.innerHTML = '';
-
- if (!this.notes || !this.notes.length) {
- this.notesList.innerHTML = 'Aucune note
';
- return;
- }
-
- const filteredNotes = searchTerm
- ? this.notes.filter(note =>
- (note.title && note.title.toLowerCase().includes(searchTerm.toLowerCase())) ||
- (note.content && note.content.toLowerCase().includes(searchTerm.toLowerCase()))
- )
- : this.notes;
-
- filteredNotes.forEach(note => {
- if (!note) return;
-
- const noteElement = document.createElement('div');
- noteElement.className = `note-item ${note.id === (this.currentNote && this.currentNote.id) ? 'active' : ''}`;
- noteElement.innerHTML = `
- ${note.title || 'Sans titre'}
- ${note.content || ''}
- `;
- noteElement.addEventListener('click', () => this.selectNote(note));
- this.notesList.appendChild(noteElement);
- });
- }
-
- selectNote(note) {
- if (!note) return;
-
- this.currentNote = note;
- if (this.noteTitle) this.noteTitle.value = note.title || '';
- if (this.noteContent) this.noteContent.innerHTML = note.content || '';
- this.renderTodos();
- this.renderImages();
- this.renderNotesList(); // Update active state
- }
-
- renderTodos() {
- if (!this.todosList || !this.currentNote) return;
-
- const todos = this.currentNote.todos || [];
-
- this.todosList.innerHTML = '';
- todos.forEach((todo, index) => {
- if (!todo) return;
-
- const todoElement = document.createElement('div');
- todoElement.className = `todo-item ${todo.completed ? 'completed' : ''}`;
- todoElement.innerHTML = `
-
- ${todo.text || ''}
-
-
-
- `;
-
- const checkbox = todoElement.querySelector('input');
- if (checkbox) {
- checkbox.addEventListener('change', () => this.toggleTodo(index));
- }
-
- const deleteBtn = todoElement.querySelector('button');
- if (deleteBtn) {
- deleteBtn.addEventListener('click', () => this.deleteTodo(index));
- }
-
- this.todosList.appendChild(todoElement);
- });
- }
-
- renderImages() {
- if (!this.imagesList || !this.currentNote) return;
-
- const images = this.currentNote.images || [];
-
- this.imagesList.innerHTML = '';
- images.forEach((image, index) => {
- if (!image || !image.filename) return;
-
- const imageElement = document.createElement('div');
- imageElement.className = 'image-thumbnail';
- imageElement.innerHTML = `
-
-
-
-
- `;
-
- const deleteBtn = imageElement.querySelector('button');
- if (deleteBtn) {
- deleteBtn.addEventListener('click', () => this.deleteImage(image.id));
- }
-
- this.imagesList.appendChild(imageElement);
- });
- }
-
- async createNewNote() {
- if (!window.auth || !window.auth.getHeaders) return;
-
- try {
- const response = await fetch('/api/notes', {
- method: 'POST',
- headers: window.auth.getHeaders(),
- body: JSON.stringify({
- title: 'Nouvelle note',
- content: '',
- todos: []
- })
- });
-
- const newNote = await response.json();
- if (newNote) {
- this.notes.unshift(newNote);
- this.renderNotesList();
- this.selectNote(newNote);
- }
- } catch (error) {
- console.error('Error creating note:', error);
- }
- }
-
- async autoSave() {
- if (!this.currentNote || !window.auth || !window.auth.getHeaders) return;
-
- clearTimeout(this.saveTimeout);
- this.saveTimeout = setTimeout(async () => {
- try {
- if (!this.noteTitle || !this.noteContent) return;
-
- await fetch(`/api/notes/${this.currentNote.id}`, {
- method: 'PUT',
- headers: window.auth.getHeaders(),
- body: JSON.stringify({
- title: this.noteTitle.value || '',
- content: this.noteContent.innerHTML || '',
- todos: this.currentNote.todos || []
- })
- });
-
- // Update local note
- this.currentNote.title = this.noteTitle.value || '';
- this.currentNote.content = this.noteContent.innerHTML || '';
- this.renderNotesList();
- } catch (error) {
- console.error('Error saving note:', error);
- }
- }, 1000);
- }
-
- async toggleArchiveNote() {
- if (!this.currentNote || !window.auth || !window.auth.getHeaders) return;
-
- try {
- await fetch(`/api/notes/${this.currentNote.id}`, {
- method: 'PUT',
- headers: window.auth.getHeaders(),
- body: JSON.stringify({
- ...this.currentNote,
- archived: !this.currentNote.archived
- })
- });
-
- this.currentNote.archived = !this.currentNote.archived;
- this.renderNotesList();
- } catch (error) {
- console.error('Error archiving note:', error);
- }
- }
-
- async deleteNote() {
- if (!this.currentNote || !window.auth || !window.auth.getHeaders) return;
- if (!confirm('Êtes-vous sûr de vouloir supprimer cette note ?')) return;
-
- try {
- await fetch(`/api/notes/${this.currentNote.id}`, {
- method: 'DELETE',
- headers: window.auth.getHeaders()
- });
-
- const index = this.notes.findIndex(n => n.id === this.currentNote.id);
- if (index !== -1) {
- this.notes.splice(index, 1);
- }
- this.currentNote = null;
- this.renderNotesList();
- if (this.noteTitle) this.noteTitle.value = '';
- if (this.noteContent) this.noteContent.innerHTML = '';
- if (this.todosList) this.todosList.innerHTML = '';
- if (this.imagesList) this.imagesList.innerHTML = '';
- } catch (error) {
- console.error('Error deleting note:', error);
- }
- }
-
- async addTodo() {
- if (!this.currentNote) return;
-
- const text = prompt('Nouveau todo:');
- if (!text) return;
-
- if (!this.currentNote.todos) {
- this.currentNote.todos = [];
- }
-
- this.currentNote.todos.push({ text, completed: false });
- this.renderTodos();
- this.autoSave();
- }
-
- async toggleTodo(index) {
- if (!this.currentNote || !this.currentNote.todos) return;
- if (index < 0 || index >= this.currentNote.todos.length) return;
-
- this.currentNote.todos[index].completed = !this.currentNote.todos[index].completed;
- this.renderTodos();
- this.autoSave();
- }
-
- async deleteTodo(index) {
- if (!this.currentNote || !this.currentNote.todos) return;
- if (index < 0 || index >= this.currentNote.todos.length) return;
-
- this.currentNote.todos.splice(index, 1);
- this.renderTodos();
- this.autoSave();
- }
-
- async handleImageUpload(event) {
- if (!this.currentNote || !event.target || !event.target.files || !event.target.files.length) return;
- if (!window.auth || !window.auth.getHeaders) return;
-
- const formData = new FormData();
- formData.append('image', event.target.files[0]);
-
- try {
- const response = await fetch(`/api/notes/${this.currentNote.id}/images`, {
- method: 'POST',
- headers: { 'Authorization': window.auth.getHeaders().Authorization },
- body: formData
- });
-
- const image = await response.json();
- if (!this.currentNote.images) {
- this.currentNote.images = [];
- }
- this.currentNote.images.push(image);
- this.renderImages();
- } catch (error) {
- console.error('Error uploading image:', error);
- }
-
- if (event.target) {
- event.target.value = ''; // Reset input
- }
- }
-
- async deleteImage(imageId) {
- if (!this.currentNote || !this.currentNote.images) return;
- if (!window.auth || !window.auth.getHeaders) return;
- if (!confirm('Supprimer cette image ?')) return;
-
- try {
- await fetch(`/api/notes/${this.currentNote.id}/images/${imageId}`, {
- method: 'DELETE',
- headers: window.auth.getHeaders()
- });
-
- const index = this.currentNote.images.findIndex(img => img.id === imageId);
- if (index !== -1) {
- this.currentNote.images.splice(index, 1);
- }
- this.renderImages();
- } catch (error) {
- console.error('Error deleting image:', error);
- }
- }
-
- handleSearch(event) {
- if (!event || !event.target) return;
- this.renderNotesList(event.target.value || '');
- }
-}
-
-// Initialize notes service
-window.notes = new NotesService();
\ No newline at end of file
diff --git a/public/login.html b/public/login.html
deleted file mode 100644
index f5dae31..0000000
--- a/public/login.html
+++ /dev/null
@@ -1,222 +0,0 @@
-
-
-
-
-
- Connexion - NoteFlow
-
-
-
-
-
-
-
📝 NoteFlow
-
Gérez vos notes et tâches efficacement
-
-
-
-
-
-
-
- Identifiants par défaut:
- Username: admin
- Password: admin
-
-
-
-
-
-