diff --git a/docs/AGENTS.md b/docs/AGENTS.md new file mode 100644 index 0000000..2b579f9 --- /dev/null +++ b/docs/AGENTS.md @@ -0,0 +1,78 @@ +# AGENTS.md — Esiah's Universe + +## Core Rules + +- Never commit or push without explicit user request. +- Always respond in English. +- No automatic git operations (commit/push/amend/force). +- Keep changes minimal and scoped to request. +- Do not modify unrelated files. +- Ask for clarification if ambiguous. + +## Project Context + +Esiah's Universe is an interactive React/Vite portfolio (WebGL/GSAP). +Static site for showcase; projects data in `src/components/data/ProjectDetails.tsx`. +Navigation via CardNav/InfiniteMenu. Build with `npm run build`. + +## Git Workflow + +- Check `git status`/`git diff` before any git action. +- Only act on git when explicitly asked. +- Never push to remote unless explicitly requested. +- Use clear commit messages if asked to commit. + +## Code Conventions + +- TypeScript strict, React 18+, Vite +- Tailwind CSS +- GSAP for animations +- gl-matrix for WebGL/math +- Follow existing patterns, minimal diffs +- No secrets in code + +## Scroll System + +- A **region** is an element or a group of elements, not a page wrapper. +- Declare them in the markup, three levels of priority: + 1. `data-region` on the element: that element is exactly one region. + 2. `data-region-children` on a container: each **direct child** is one region. + 3. `.page-snap-section` is only a **fallback**: it counts as a region when it + contains no `data-region` / `data-region-children` marker. +- `data-no-region` excludes an element (and its subtree) from the regions: page + titles/heroes are not landing points, the first region is the one **below** the + title. Keep the hero excluded, otherwise the first scroll only moves a few + percent of the viewport. +- Every section must be covered: a section taller than its content creates an + empty zone where the scroll feels like a plain scroll. Sections hug their + content, and galleries expose one region per project (`data-region-children` + on the list holding the project cards). +- **The page never rests between two regions.** A gesture (wheel, swipe, arrow + key, Space) moves to the next/previous region: native scrolling is + neutralised (`wheel` / `touchmove` are `preventDefault`ed). +- Regions taller than the viewport are subdivided into screens, so their content + stays readable. Landing spots = region tops + screen offsets. +- The wheel threshold is proportional to the region being crossed (50–300px): + the pace follows the size of the content. +- Keyboard: Arrow/PageUp/PageDown/Space step one region, Home/End jump to the + first/last region. +- Region targets are measured on the **layout** (`offsetTop` chain, not + `getBoundingClientRect`) so entrance transforms (translate/scale) cannot offset + the landing position. Offset = `--nav-offset` (100px) + 2rem. +- Animation is a **time based rAF** loop (power3.out, 420–900ms), never a GSAP + tween: `ScrollTrigger.refresh()` (triggered by `AnimatedContent` resizing the + body) restores the scroll position and kills `ScrollToPlugin` tweens mid-flight. + An animation is interrupted only by a scroll that does not match the position + it just applied (compared to the last applied value, not to the interpolation). +- The hook publishes `--region-tail` on ``: the extra bottom padding needed (capped to 15vh) to align the last region without a large empty void + so the last region can still be aligned under the nav. +- Do NOT re-enable native `scroll-snap-type`: Chrome's proximity snap pulls the + page backwards and traps the user on the first region. +- Never put `overflow-x: hidden/clip` on `html`/`body`: it breaks the sticky nav. +- Immersive routes (`html.no-snap`) must stay scroll-free. + +## Before Finishing + +- Run `npm run build` if changes affect build +- Verify paths/imports +- Keep assets organized diff --git a/index.html b/index.html index 92c31c8..4bda027 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ property="og:description" content="A journey through code, design, and imagination. Explore my interactive creations." /> - + diff --git a/package-lock.json b/package-lock.json index 1e2db5a..e94067a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.4.24", "globals": "^16.5.0", - "shadcn": "^3.8.5", + "shadcn": "^1.0.0", "tw-animate-css": "^1.4.0", "vite": "^8.0.0-beta.13" } @@ -60,28 +60,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@antfu/ni": { - "version": "25.0.0", - "resolved": "https://registry.npmjs.org/@antfu/ni/-/ni-25.0.0.tgz", - "integrity": "sha512-9q/yCljni37pkMr4sPrI3G4jqdIk074+iukc5aFJl7kmDCCsiJrbZ6zKxnES1Gwg+i9RcDZwvktl23puGslmvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansis": "^4.0.0", - "fzf": "^0.5.2", - "package-manager-detector": "^1.3.0", - "tinyexec": "^1.0.1" - }, - "bin": { - "na": "bin/na.mjs", - "nci": "bin/nci.mjs", - "ni": "bin/ni.mjs", - "nlx": "bin/nlx.mjs", - "nr": "bin/nr.mjs", - "nun": "bin/nun.mjs", - "nup": "bin/nup.mjs" - } - }, "node_modules/@babel/code-frame": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", @@ -155,19 +133,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.27.3", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.27.3.tgz", - "integrity": "sha512-fXSwMQqitTGeHLBC08Eq5yXz2m37E4pJX1qAU1+2cNedz/ifv/bVXft90VeSav5nFO61EcNgwr0aJxbyPaWBPg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.27.3" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-compilation-targets": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", @@ -185,28 +150,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.28.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.28.6.tgz", - "integrity": "sha512-dTOdvsjnG3xNT9Y0AUg1wAl38y+4Rl4sf9caSQZOXdNqVn+H+HbbJ4IyyHaIqNR6SW9oJpA/RuRjsjCw2IdIow==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-member-expression-to-functions": "^7.28.5", - "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/helper-replace-supers": "^7.28.6", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/traverse": "^7.28.6", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, "node_modules/@babel/helper-globals": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", @@ -217,20 +160,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.28.5.tgz", - "integrity": "sha512-cwM7SBRZcPCLgl8a7cY0soT1SptSzAlMH39vwiRpOQkJlh53r5hdHwLSCZpQdVLT39sZt+CRpNwYG4Y2v77atg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.28.5", - "@babel/types": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-module-imports": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", @@ -263,19 +192,6 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.27.1.tgz", - "integrity": "sha512-URMGH08NzYFhubNSGJrpUEphGKQwMQYBySzat5cAByY1/YgIRkULnIy3tAMeszlL/so2HbeilYloUmSpd7GdVw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-plugin-utils": { "version": "7.28.6", "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.28.6.tgz", @@ -286,38 +202,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.28.6", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.28.6.tgz", - "integrity": "sha512-mq8e+laIk94/yFec3DxSjCRD2Z0TAjhVbEJY3UQrlwVo15Lmt7C2wAUbK4bjnTs4APkwsYLTahXRraQXhb1WCg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.28.5", - "@babel/helper-optimise-call-expression": "^7.27.1", - "@babel/traverse": "^7.28.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.27.1.tgz", - "integrity": "sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.27.1", - "@babel/types": "^7.27.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-string-parser": { "version": "7.29.7", "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", @@ -378,55 +262,6 @@ "node": ">=6.0.0" } }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.28.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.28.6.tgz", - "integrity": "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.28.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.28.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.28.6.tgz", - "integrity": "sha512-+nDNmQye7nlnuuHDboPbGm00Vqg3oO8niRRL27/4LYHUsHYh0zJ1xWOz0uRwNFmM1Avzk8wZbc6rdiYhomzv/A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.28.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.28.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.28.6.tgz", - "integrity": "sha512-jppVbf8IV9iWWwWTQIxJMAJCWBuuKx71475wHwYytrRGQ2CWiDvYlADQno3tcYpS/T2UUWFQp3nVtYfK/YBQrA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-module-transforms": "^7.28.6", - "@babel/helper-plugin-utils": "^7.28.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.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", @@ -459,46 +294,6 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.28.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.28.6.tgz", - "integrity": "sha512-0YWL2RFxOqEm9Efk5PvreamxPME8OyY0wM5wh5lHjF+VtVhdneCWGzZeSqzOfiobVqQaNCd2z0tQvnI9DaPWPw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.27.3", - "@babel/helper-create-class-features-plugin": "^7.28.6", - "@babel/helper-plugin-utils": "^7.28.6", - "@babel/helper-skip-transparent-expression-wrappers": "^7.27.1", - "@babel/plugin-syntax-typescript": "^7.28.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-typescript": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.28.5.tgz", - "integrity": "sha512-+bQy5WOI2V6LJZpPVxY+yp66XdZ2yifu0Mc1aP5CQKgjn4QM5IN2i5fAZ4xKop47pr8rpVhiAeu+nDQa12C8+g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/helper-plugin-utils": "^7.27.1", - "@babel/helper-validator-option": "^7.27.1", - "@babel/plugin-syntax-jsx": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.27.1", - "@babel/plugin-transform-typescript": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/runtime": { "version": "7.28.6", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.28.6.tgz", @@ -562,187 +357,6 @@ "integrity": "sha512-AZHL1jqUF55QJkJyU1yKeh4ImX2J93bVLIezT1+o0FZqTix6O06MOaqpKoJ4MmbDCsoZmwO+qc471/SDMDm2AA==", "license": "Apache-2.0" }, - "node_modules/@dotenvx/dotenvx": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/@dotenvx/dotenvx/-/dotenvx-1.52.0.tgz", - "integrity": "sha512-CaQcc8JvtzQhUSm9877b6V4Tb7HCotkcyud9X2YwdqtQKwgljkMRwU96fVYKnzN3V0Hj74oP7Es+vZ0mS+Aa1w==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "commander": "^11.1.0", - "dotenv": "^17.2.1", - "eciesjs": "^0.4.10", - "execa": "^5.1.1", - "fdir": "^6.2.0", - "ignore": "^5.3.0", - "object-treeify": "1.1.33", - "picomatch": "^4.0.2", - "which": "^4.0.0" - }, - "bin": { - "dotenvx": "src/cli/dotenvx.js" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/isexe": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-3.1.5.tgz", - "integrity": "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w==", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=18" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/@dotenvx/dotenvx/node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/@dotenvx/dotenvx/node_modules/which": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/which/-/which-4.0.0.tgz", - "integrity": "sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^3.1.1" - }, - "bin": { - "node-which": "bin/which.js" - }, - "engines": { - "node": "^16.13.0 || >=18.0.0" - } - }, - "node_modules/@ecies/ciphers": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@ecies/ciphers/-/ciphers-0.2.5.tgz", - "integrity": "sha512-GalEZH4JgOMHYYcYmVqnFirFsjZHeoGMDt9IxEnM9F7GRUUyUksJ7Ou53L83WHJq3RWKD3AcBpo0iQh0oMpf8A==", - "dev": true, - "license": "MIT", - "engines": { - "bun": ">=1", - "deno": ">=2", - "node": ">=16" - }, - "peerDependencies": { - "@noble/ciphers": "^1.0.0" - } - }, "node_modules/@emnapi/core": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz", @@ -969,43 +583,44 @@ "integrity": "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==", "license": "MIT" }, - "node_modules/@hono/node-server": { - "version": "1.19.14", - "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.14.tgz", - "integrity": "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18.14.1" - }, - "peerDependencies": { - "hono": "^4" - } - }, "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==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", "dev": true, "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.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==", + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@humanfs/core": "^0.19.1", + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", "@humanwhocodes/retry": "^0.4.0" }, "engines": { "node": ">=18.18.0" } }, + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", + "dev": true, + "license": "Apache-2.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", @@ -1034,94 +649,6 @@ "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@inquirer/ansi": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-1.0.2.tgz", - "integrity": "sha512-S8qNSZiYzFd0wAcyG5AXCvUHC5Sr7xpZ9wZ2py9XR88jUz8wooStVx5M6dRzczbBWjic9NP7+rY0Xi7qqK/aMQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/confirm": { - "version": "5.1.21", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.21.tgz", - "integrity": "sha512-KR8edRkIsUayMXV+o3Gv+q4jlhENF9nMYUZs9PA2HzrXeHI8M5uDag70U7RJn9yyiMZSbtF5/UexBtAVtZGSbQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^10.3.2", - "@inquirer/type": "^3.0.10" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/core": { - "version": "10.3.2", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.3.2.tgz", - "integrity": "sha512-43RTuEbfP8MbKzedNqBrlhhNKVwoK//vUFNW3Q3vZ88BLcrs4kYpGg+B2mm5p2K/HfygoCxuKwJJiv8PbGmE0A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/ansi": "^1.0.2", - "@inquirer/figures": "^1.0.15", - "@inquirer/type": "^3.0.10", - "cli-width": "^4.1.0", - "mute-stream": "^2.0.0", - "signal-exit": "^4.1.0", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.3" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@inquirer/figures": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.15.tgz", - "integrity": "sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/type": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.10.tgz", - "integrity": "sha512-BvziSRxfz5Ov8ch0z/n3oijRSEcEsHnhggm4xFZe93DHcUCTlutlq9Ox4SVENAfcRD22UQq7T/atg9Wr3k09eA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@types/node": ">=18" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.13", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", @@ -1173,71 +700,6 @@ "integrity": "sha512-CZWV/q6TTe8ta61cZXjfnnHsfWIdFhms03M9T7Cnd5y2mdpylJM0rF1qRq+wsQVRMLz1OYPVEBU9ph2Bx8cxrg==", "license": "Apache-2.0" }, - "node_modules/@modelcontextprotocol/sdk": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.26.0.tgz", - "integrity": "sha512-Y5RmPncpiDtTXDbLKswIJzTqu2hyBKxTNsgKqKclDbhIgg1wgtf1fRuvxgTnRfcnxtvvgbIEcqUOzZrJ6iSReg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@hono/node-server": "^1.19.9", - "ajv": "^8.17.1", - "ajv-formats": "^3.0.1", - "content-type": "^1.0.5", - "cors": "^2.8.5", - "cross-spawn": "^7.0.5", - "eventsource": "^3.0.2", - "eventsource-parser": "^3.0.0", - "express": "^5.2.1", - "express-rate-limit": "^8.2.1", - "hono": "^4.11.4", - "jose": "^6.1.3", - "json-schema-typed": "^8.0.2", - "pkce-challenge": "^5.0.0", - "raw-body": "^3.0.0", - "zod": "^3.25 || ^4.0", - "zod-to-json-schema": "^3.25.1" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@cfworker/json-schema": "^4.1.1", - "zod": "^3.25 || ^4.0" - }, - "peerDependenciesMeta": { - "@cfworker/json-schema": { - "optional": true - }, - "zod": { - "optional": false - } - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@modelcontextprotocol/sdk/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" - }, "node_modules/@monogrid/gainmap-js": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/@monogrid/gainmap-js/-/gainmap-js-3.4.0.tgz", @@ -1250,24 +712,6 @@ "three": ">= 0.159.0" } }, - "node_modules/@mswjs/interceptors": { - "version": "0.41.3", - "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.41.3.tgz", - "integrity": "sha512-cXu86tF4VQVfwz8W1SPbhoRyHJkti6mjH/XJIxp40jhO4j2k1m4KYrEykxqWPkFF3vrK4rgQppBh//AwyGSXPA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@open-draft/deferred-promise": "^2.2.0", - "@open-draft/logger": "^0.3.0", - "@open-draft/until": "^2.0.0", - "is-node-process": "^1.2.0", - "outvariant": "^1.4.3", - "strict-event-emitter": "^0.5.1" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@napi-rs/wasm-runtime": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.1.tgz", @@ -1284,111 +728,6 @@ "url": "https://github.com/sponsors/Brooooooklyn" } }, - "node_modules/@noble/ciphers": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz", - "integrity": "sha512-2I0gnIVPtfnMw9ee9h1dJG7tp81+8Ob3OJb3Mv37rx5L40/b0i7djjCVvGOVqc9AEIQyvyu1i6ypKdFw8R8gQw==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/curves": { - "version": "1.9.7", - "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.9.7.tgz", - "integrity": "sha512-gbKGcRUYIjA3/zCCNaWDciTMFI0dCkvou3TL8Zmy5Nc7sJ47a0jtOeZoTaMxkuqRo9cRhjOdZJXegxYE5FN/xw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@noble/hashes": "1.8.0" - }, - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "node_modules/@noble/hashes": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.8.0.tgz", - "integrity": "sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^14.21.3 || >=16" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - } - }, - "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/@open-draft/deferred-promise": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz", - "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==", - "dev": true, - "license": "MIT" - }, - "node_modules/@open-draft/logger": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@open-draft/logger/-/logger-0.3.0.tgz", - "integrity": "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-node-process": "^1.2.0", - "outvariant": "^1.4.0" - } - }, - "node_modules/@open-draft/until": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@open-draft/until/-/until-2.1.0.tgz", - "integrity": "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==", - "dev": true, - "license": "MIT" - }, "node_modules/@oxc-project/runtime": { "version": "0.113.0", "resolved": "https://registry.npmjs.org/@oxc-project/runtime/-/runtime-0.113.0.tgz", @@ -3238,26 +2577,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@sec-ant/readable-stream": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", - "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==", - "dev": true, - "license": "MIT" - }, - "node_modules/@sindresorhus/merge-streams": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", - "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@tailwindcss/node": { "version": "4.1.18", "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.1.18.tgz", @@ -3763,57 +3082,6 @@ "tailwindcss": "4.1.18" } }, - "node_modules/@ts-morph/common": { - "version": "0.27.0", - "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.27.0.tgz", - "integrity": "sha512-Wf29UqxWDpc+i61k3oIOzcUfQt79PIT9y/MWfAGlrkjg6lBC1hwDECLXPVJAhWjiGbfBCxZd65F/LIZF3+jeJQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-glob": "^3.3.3", - "minimatch": "^10.0.1", - "path-browserify": "^1.0.1" - } - }, - "node_modules/@ts-morph/common/node_modules/balanced-match": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", - "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/@ts-morph/common/node_modules/brace-expansion": { - "version": "5.0.6", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz", - "integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^4.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/@ts-morph/common/node_modules/minimatch": { - "version": "10.2.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", - "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "brace-expansion": "^5.0.5" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/@tweenjs/tween.js": { "version": "23.1.3", "resolved": "https://registry.npmjs.org/@tweenjs/tween.js/-/tween.js-23.1.3.tgz", @@ -3945,13 +3213,6 @@ "integrity": "sha512-jIBvWWShCvlBqBNIZt0KAshWpvSjhkwkEu4ZUcASoAvhmrgAUI2t1dXrjSL4xXVLB4FznPrIsX3nKXFl/Dt4vA==", "license": "MIT" }, - "node_modules/@types/statuses": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/statuses/-/statuses-2.0.6.tgz", - "integrity": "sha512-xMAgYwceFhRA2zY+XbEA7mxYbA093wdiW8Vu6gZPGWy9cmOyU9XesH1tNcEWsKFd5Vzrqx5T3D38PWx1FIIXkA==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/three": { "version": "0.182.0", "resolved": "https://registry.npmjs.org/@types/three/-/three-0.182.0.tgz", @@ -3973,13 +3234,6 @@ "integrity": "sha512-uekIGetywIgopfD97oDL5PfeezkFpNhwlzlaEYNOA0N6ghdsOvh/HYjSMek5Q2O1PYvRSDFcqFVJl4r4ZBwOow==", "license": "Apache-2.0" }, - "node_modules/@types/validate-npm-package-name": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@types/validate-npm-package-name/-/validate-npm-package-name-4.0.2.tgz", - "integrity": "sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/webxr": { "version": "0.5.24", "resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.24.tgz", @@ -4031,20 +3285,6 @@ "integrity": "sha512-RPmm6kgRbI8e98zSD3RVACvnuktIja5+yLgDAkTmxLr90BEwdTXRQWNLF3ETTTyH/8mKhznZuN5AveXYFEsMGQ==", "license": "BSD-3-Clause" }, - "node_modules/accepts": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", - "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-types": "^3.0.0", - "negotiator": "^1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/acorn": { "version": "8.15.0", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz", @@ -4068,16 +3308,6 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/agent-base": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", - "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 14" - } - }, "node_modules/ajv": { "version": "6.15.0", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", @@ -4095,61 +3325,6 @@ "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/ajv-formats": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", - "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats/node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "license": "MIT" - }, - "node_modules/ansi-regex": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", - "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, "node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -4166,16 +3341,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/ansis": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/ansis/-/ansis-4.2.0.tgz", - "integrity": "sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=14" - } - }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -4195,19 +3360,6 @@ "node": ">=10" } }, - "node_modules/ast-types": { - "version": "0.16.1", - "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz", - "integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==", - "dev": true, - "license": "MIT", - "dependencies": { - "tslib": "^2.0.1" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/autoprefixer": { "version": "10.4.24", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.24.tgz", @@ -4272,12 +3424,15 @@ "license": "MIT" }, "node_modules/baseline-browser-mapping": { - "version": "2.9.19", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.19.tgz", - "integrity": "sha512-ipDqC8FrAl/76p2SSWKSI+H9tFwm7vYqXQrItCuiVPt26Km0jS+NzSsBWAaBusvSbQcfJG+JitdMm+wZAgTYqg==", + "version": "2.11.30", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.30.tgz", + "integrity": "sha512-YJs6Pz17RMNv8HoyKREtCY38E3BV1nPkWVmIb+XN1uHC1Vqt3KZCH/uJH9ZKRoiKb/icZ6tvehyee6RZNbFfRA==", "license": "Apache-2.0", "bin": { - "baseline-browser-mapping": "dist/cli.js" + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" } }, "node_modules/bidi-js": { @@ -4289,35 +3444,10 @@ "require-from-string": "^2.0.2" } }, - "node_modules/body-parser": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.2.2.tgz", - "integrity": "sha512-oP5VkATKlNwcgvxi0vM0p/D3n2C3EReYVX+DNYs5TjZFn/oQt2j+4sVJtSMr18pdRr8wjTcBl6LoV+FUwzPmNA==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "^3.1.2", - "content-type": "^1.0.5", - "debug": "^4.4.3", - "http-errors": "^2.0.0", - "iconv-lite": "^0.7.0", - "on-finished": "^2.4.1", - "qs": "^6.14.1", - "raw-body": "^3.0.1", - "type-is": "^2.0.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, "node_modules/brace-expansion": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz", - "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==", + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", "dev": true, "license": "MIT", "dependencies": { @@ -4325,23 +3455,10 @@ "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.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz", - "integrity": "sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==", + "version": "4.29.4", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.4.tgz", + "integrity": "sha512-2TcbbiwXEq+N0kD36tykpCfyyQigUXmuwNQbnPp4Xk4PX9JOqVIKjJlIDjpH7uY6tmRGoAd+apeT1p60T8wsdA==", "funding": [ { "type": "opencollective", @@ -4358,11 +3475,11 @@ ], "license": "MIT", "dependencies": { - "baseline-browser-mapping": "^2.9.0", - "caniuse-lite": "^1.0.30001759", - "electron-to-chromium": "^1.5.263", - "node-releases": "^2.0.27", - "update-browserslist-db": "^1.2.0" + "baseline-browser-mapping": "^2.11.29", + "caniuse-lite": "^1.0.30001816", + "electron-to-chromium": "^1.5.459", + "node-releases": "^2.0.59", + "update-browserslist-db": "^1.3.4" }, "bin": { "browserslist": "cli.js" @@ -4395,63 +3512,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/bundle-name": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", - "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "run-applescript": "^7.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bytes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", - "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/call-bound": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", - "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bind-apply-helpers": "^1.0.2", - "get-intrinsic": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -4476,9 +3536,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001770", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001770.tgz", - "integrity": "sha512-x/2CLQ1jHENRbHg5PSId2sXq1CIO1CISvwWAj027ltMVG2UNgW+w9oH2+HzgEIRFembL8bUlXtfbBHR1fCg2xw==", + "version": "1.0.30001817", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001817.tgz", + "integrity": "sha512-uZ1JG80BwhtMalIAGPxPfmNhHyd/B/nTdr3hITWlRamSyAdUStP1Gop01e7SD5q6J90ixJvWDbvmiFVfDgn4bw==", "funding": [ { "type": "opencollective", @@ -4524,123 +3584,6 @@ "url": "https://polar.sh/cva" } }, - "node_modules/cli-cursor": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", - "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", - "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-width": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", - "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">= 12" - } - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/cliui/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, "node_modules/clsx": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", @@ -4650,13 +3593,6 @@ "node": ">=6" } }, - "node_modules/code-block-writer": { - "version": "13.0.3", - "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.3.tgz", - "integrity": "sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==", - "dev": true, - "license": "MIT" - }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -4677,16 +3613,6 @@ "dev": true, "license": "MIT" }, - "node_modules/commander": { - "version": "14.0.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.3.tgz", - "integrity": "sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - } - }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -4694,30 +3620,6 @@ "dev": true, "license": "MIT" }, - "node_modules/content-disposition": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.1.tgz", - "integrity": "sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/content-type": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", - "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/convert-source-map": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", @@ -4738,61 +3640,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/cookie-signature": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", - "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.6.0" - } - }, - "node_modules/cors": { - "version": "2.8.6", - "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.6.tgz", - "integrity": "sha512-tJtZBBHA6vjIAaF6EnIaq6laBBP9aq/Y3ouVJjEfoHbRBcHBAHYcMh/w8LDrk2PvIMMq8gmopa5D4V8RmbrxGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "object-assign": "^4", - "vary": "^1" - }, - "engines": { - "node": ">= 0.10" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/cosmiconfig": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", - "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", - "dev": true, - "license": "MIT", - "dependencies": { - "env-paths": "^2.2.1", - "import-fresh": "^3.3.0", - "js-yaml": "^4.1.0", - "parse-json": "^5.2.0" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/d-fischer" - }, - "peerDependencies": { - "typescript": ">=4.9.5" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, "node_modules/cross-env": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", @@ -4825,35 +3672,12 @@ "node": ">= 8" } }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "license": "MIT", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/csstype": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", "license": "MIT" }, - "node_modules/data-uri-to-buffer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", - "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, "node_modules/debug": { "version": "4.4.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", @@ -4872,21 +3696,6 @@ } } }, - "node_modules/dedent": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.1.tgz", - "integrity": "sha512-9JmrhGZpOlEgOLdQgSm0zxFaYoQon408V1v49aqTWuXENVlnCuY9JBZcXZiCsZQWDjTm5Qf/nIvAy77mXDAjEg==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - } - }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -4894,69 +3703,6 @@ "dev": true, "license": "MIT" }, - "node_modules/deepmerge": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/default-browser": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.5.0.tgz", - "integrity": "sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==", - "dev": true, - "license": "MIT", - "dependencies": { - "bundle-name": "^4.1.0", - "default-browser-id": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/default-browser-id": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.1.tgz", - "integrity": "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/define-lazy-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", - "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/depd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", - "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/detect-gpu": { "version": "5.0.70", "resolved": "https://registry.npmjs.org/detect-gpu/-/detect-gpu-5.0.70.tgz", @@ -4981,98 +3727,18 @@ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==", "license": "MIT" }, - "node_modules/diff": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/diff/-/diff-8.0.3.tgz", - "integrity": "sha512-qejHi7bcSD4hQAZE0tNAawRK1ZtafHDmMTMkrrIGgSLl7hTnQHmKCeB45xAcbfTqK2zowkM3j3bHt/4b/ARbYQ==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/dotenv": { - "version": "17.3.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.3.1.tgz", - "integrity": "sha512-IO8C/dzEb6O3F9/twg6ZLXz164a2fhTnEWb95H23Dm4OuN+92NmEAlTrupP9VW6Jm3sO26tQlqyvyi4CsnY9GA==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, "node_modules/draco3d": { "version": "1.5.7", "resolved": "https://registry.npmjs.org/draco3d/-/draco3d-1.5.7.tgz", "integrity": "sha512-m6WCKt/erDXcw+70IJXnG7M3awwQPAsZvJGX5zY7beBqpELw6RDGkYVU0W43AFxye4pDZ5i2Lbyc/NNGqwjUVQ==", "license": "Apache-2.0" }, - "node_modules/dunder-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", - "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", - "dev": true, - "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/eciesjs": { - "version": "0.4.17", - "resolved": "https://registry.npmjs.org/eciesjs/-/eciesjs-0.4.17.tgz", - "integrity": "sha512-TOOURki4G7sD1wDCjj7NfLaXZZ49dFOeEb5y39IXpb8p0hRzVvfvzZHOi5JcT+PpyAbi/Y+lxPb8eTag2WYH8w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@ecies/ciphers": "^0.2.5", - "@noble/ciphers": "^1.3.0", - "@noble/curves": "^1.9.7", - "@noble/hashes": "^1.8.0" - }, - "engines": { - "bun": ">=1", - "deno": ">=2", - "node": ">=16" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", - "dev": true, - "license": "MIT" - }, "node_modules/electron-to-chromium": { - "version": "1.5.286", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.286.tgz", - "integrity": "sha512-9tfDXhJ4RKFNerfjdCcZfufu49vg620741MNs26a9+bhLThdB+plgMeou98CAaHu/WATj2iHOOHTp1hWtABj2A==", + "version": "1.5.461", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.461.tgz", + "integrity": "sha512-3WZFARz1By+/rYcqQ0OLj4UcEdhd6tz2LEcDtKBUq7ey77EeJ1OtetY/5hjSUxw7dC5r5mA7FfkhRbqO9vnTCg==", "license": "ISC" }, - "node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true, - "license": "MIT" - }, - "node_modules/encodeurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", - "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/enhanced-resolve": { "version": "5.19.0", "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.19.0.tgz", @@ -5086,59 +3752,6 @@ "node": ">=10.13.0" } }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/error-ex": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", - "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "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==", - "dev": true, - "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==", - "dev": true, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", @@ -5148,13 +3761,6 @@ "node": ">=6" } }, - "node_modules/escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", - "dev": true, - "license": "MIT" - }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -5306,20 +3912,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "license": "BSD-2-Clause", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/esquery": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", @@ -5366,139 +3958,6 @@ "node": ">=0.10.0" } }, - "node_modules/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/eventsource": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz", - "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==", - "dev": true, - "license": "MIT", - "dependencies": { - "eventsource-parser": "^3.0.1" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/eventsource-parser": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.6.tgz", - "integrity": "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/execa": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-9.6.1.tgz", - "integrity": "sha512-9Be3ZoN4LmYR90tUoVu2te2BsbzHfhJyfEiAVfz7N5/zv+jduIfLrV2xdQXOHbaD6KgpGdO9PRPM1Y4Q9QkPkA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/merge-streams": "^4.0.0", - "cross-spawn": "^7.0.6", - "figures": "^6.1.0", - "get-stream": "^9.0.0", - "human-signals": "^8.0.1", - "is-plain-obj": "^4.1.0", - "is-stream": "^4.0.1", - "npm-run-path": "^6.0.0", - "pretty-ms": "^9.2.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^4.0.0", - "yoctocolors": "^2.1.1" - }, - "engines": { - "node": "^18.19.0 || >=20.5.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/express": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", - "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "accepts": "^2.0.0", - "body-parser": "^2.2.1", - "content-disposition": "^1.0.0", - "content-type": "^1.0.5", - "cookie": "^0.7.1", - "cookie-signature": "^1.2.1", - "debug": "^4.4.0", - "depd": "^2.0.0", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "etag": "^1.8.1", - "finalhandler": "^2.1.0", - "fresh": "^2.0.0", - "http-errors": "^2.0.0", - "merge-descriptors": "^2.0.0", - "mime-types": "^3.0.0", - "on-finished": "^2.4.1", - "once": "^1.4.0", - "parseurl": "^1.3.3", - "proxy-addr": "^2.0.7", - "qs": "^6.14.0", - "range-parser": "^1.2.1", - "router": "^2.2.0", - "send": "^1.1.0", - "serve-static": "^2.2.0", - "statuses": "^2.0.1", - "type-is": "^2.0.1", - "vary": "^1.1.2" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/express-rate-limit": { - "version": "8.5.2", - "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.5.2.tgz", - "integrity": "sha512-5Kb34ipNX694DH48vN9irak1Qx30nb0PLYHXfJgw4YEjiC3ZEmZJhwOp+VfiCYwFzvFTdB9QkArYS5kXa2cx2A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ip-address": "^10.2.0" - }, - "engines": { - "node": ">= 16" - }, - "funding": { - "url": "https://github.com/sponsors/express-rate-limit" - }, - "peerDependencies": { - "express": ">= 4.11" - } - }, - "node_modules/express/node_modules/cookie": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", - "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -5506,36 +3965,6 @@ "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", @@ -5550,33 +3979,6 @@ "dev": true, "license": "MIT" }, - "node_modules/fast-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.2.tgz", - "integrity": "sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/fastq": { - "version": "1.20.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz", - "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, "node_modules/fdir": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", @@ -5595,52 +3997,12 @@ } } }, - "node_modules/fetch-blob": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", - "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "paypal", - "url": "https://paypal.me/jimmywarting" - } - ], - "license": "MIT", - "dependencies": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - }, - "engines": { - "node": "^12.20 || >= 14.13" - } - }, "node_modules/fflate": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz", - "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==", + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.3.tgz", + "integrity": "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==", "license": "MIT" }, - "node_modules/figures": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", - "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-unicode-supported": "^2.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/file-entry-cache": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", @@ -5654,41 +4016,6 @@ "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/finalhandler": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.1.tgz", - "integrity": "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.4.0", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "on-finished": "^2.4.1", - "parseurl": "^1.3.3", - "statuses": "^2.0.1" - }, - "engines": { - "node": ">= 18.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -5727,29 +4054,6 @@ "dev": true, "license": "ISC" }, - "node_modules/formdata-polyfill": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", - "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", - "dev": true, - "license": "MIT", - "dependencies": { - "fetch-blob": "^3.1.2" - }, - "engines": { - "node": ">=12.20.0" - } - }, - "node_modules/forwarded": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", - "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/fraction.js": { "version": "5.3.4", "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz", @@ -5790,31 +4094,6 @@ } } }, - "node_modules/fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", - "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/fs-extra": { - "version": "11.3.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz", - "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, "node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -5830,30 +4109,6 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/fuzzysort": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/fuzzysort/-/fuzzysort-3.1.0.tgz", - "integrity": "sha512-sR9BNCjBg6LNgwvxlBd0sBABvQitkLzoVY9MYYROQVX/FvfJ4Mai9LsGhDgd8qYdds0bY77VzYd5iuB+v5rwQQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/fzf": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fzf/-/fzf-0.5.2.tgz", - "integrity": "sha512-Tt4kuxLXFKHy8KT40zwsUPUkg1CrsgY25FxA2U/j/0WgEDCk3ddc/zLTCCcbSHX9FcKtLuVaDGtGE/STWC+j3Q==", - "dev": true, - "license": "BSD-3-Clause" - }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -5864,54 +4119,6 @@ "node": ">=6.9.0" } }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-east-asian-width": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", - "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "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==", - "dev": true, - "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-nonce": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz", @@ -5921,50 +4128,6 @@ "node": ">=6" } }, - "node_modules/get-own-enumerable-keys": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-own-enumerable-keys/-/get-own-enumerable-keys-1.0.0.tgz", - "integrity": "sha512-PKsK2FSrQCyxcGHsGrLDcK0lx+0Ke+6e8KFFozA9/fIQLhQzPaRvJFdcz7+Axg3jUH/Mq+NI4xa5u/UT2tQskA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-object-atoms": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/get-stream": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", - "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sec-ant/readable-stream": "^0.4.1", - "is-stream": "^4.0.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/gl-matrix": { "version": "3.4.4", "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.4.4.tgz", @@ -6003,35 +4166,12 @@ "integrity": "sha512-b/ZCF6amfAUb7dJM/MxRs7AetQEahYzJ8PtgfrmEdtw6uyGOr+ZSGtgjFm6mfsBkxJ4d2W7kg+Nlqzqvn3Bc0w==", "license": "MIT" }, - "node_modules/gopd": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", - "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "license": "ISC" }, - "node_modules/graphql": { - "version": "16.12.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.12.0.tgz", - "integrity": "sha512-DKKrynuQRne0PNpEbzuEdHlYOMksHSUI8Zc9Unei5gTsMNA2/vMpoMz/yKba50pejK56qj98qM0SjYxAKi13gQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" - } - }, "node_modules/gsap": { "version": "3.14.2", "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.14.2.tgz", @@ -6048,39 +4188,6 @@ "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==", - "dev": true, - "license": "MIT", - "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==", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/headers-polyfill": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/headers-polyfill/-/headers-polyfill-4.0.3.tgz", - "integrity": "sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==", - "dev": true, - "license": "MIT" - }, "node_modules/hermes-estree": { "version": "0.25.1", "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", @@ -6104,78 +4211,6 @@ "integrity": "sha512-E3a5VwgXimGHwpRGV+WxRTKeSp2DW5DI5MWv34ulL3t5UNmyJWCQ1KmLEHbYzcfThfXG8amBL+fCYPneGHC4VA==", "license": "Apache-2.0" }, - "node_modules/hono": { - "version": "4.12.27", - "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.27.tgz", - "integrity": "sha512-1yrb/+w6HWQJrUCLkJ2IF5jNIPvvFkblV5RNOYl6bV+OA6p9GLcMpHFFGTosSvHvcAUibuUukRqhlYI4z32C7Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16.9.0" - } - }, - "node_modules/http-errors": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz", - "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "depd": "~2.0.0", - "inherits": "~2.0.4", - "setprototypeof": "~1.2.0", - "statuses": "~2.0.2", - "toidentifier": "~1.0.1" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/https-proxy-agent": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^7.1.2", - "debug": "4" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/human-signals": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", - "integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=18.18.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.2.tgz", - "integrity": "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, "node_modules/ieee754": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", @@ -6239,56 +4274,6 @@ "node": ">=0.8.19" } }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/ip-address": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz", - "integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true, - "license": "MIT" - }, - "node_modules/is-docker": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", - "dev": true, - "license": "MIT", - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -6299,16 +4284,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -6322,156 +4297,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-in-ssh": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-in-ssh/-/is-in-ssh-1.0.0.tgz", - "integrity": "sha512-jYa6Q9rH90kR1vKB6NM7qqd1mge3Fx4Dhw5TVlK1MUBqhEOuCagrEHMevNuCcbECmXZ0ThXkRm+Ymr51HwEPAw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-inside-container": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-docker": "^3.0.0" - }, - "bin": { - "is-inside-container": "cli.js" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-interactive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", - "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-node-process": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz", - "integrity": "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==", - "dev": true, - "license": "MIT" - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-obj": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-3.0.0.tgz", - "integrity": "sha512-IlsXEHOjtKhpN8r/tRFj2nDyTmHvcfNeu/nrRIcXE17ROeatXchkojffa1SpdqW4cr/Fj6QkEf/Gn4zf6KKvEQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-plain-obj": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", - "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-promise": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", - "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/is-regexp": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-3.1.0.tgz", - "integrity": "sha512-rbku49cWloU5bSMI+zaRaXdQHXnthP6DZ/vLnfdSKyL4zUzuWnomtOEiZZOd+ioQ+avFo/qau3KPTc7Fjy1uPA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-stream": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", - "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-unicode-supported": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", - "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-wsl": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.1.tgz", - "integrity": "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-inside-container": "^1.0.0" - }, - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -6499,16 +4324,6 @@ "jiti": "lib/jiti-cli.mjs" } }, - "node_modules/jose": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/jose/-/jose-6.1.3.tgz", - "integrity": "sha512-0TpaTfihd4QMNwrz/ob2Bp7X04yuxJkjRGi4aKmOqwhov54i6u79oCv7T+C7lo70MKH6BesI3vscD1yb/yzKXQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/panva" - } - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -6517,9 +4332,9 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.0.tgz", - "integrity": "sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", "dev": true, "funding": [ { @@ -6559,13 +4374,6 @@ "dev": true, "license": "MIT" }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "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", @@ -6573,13 +4381,6 @@ "dev": true, "license": "MIT" }, - "node_modules/json-schema-typed": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/json-schema-typed/-/json-schema-typed-8.0.2.tgz", - "integrity": "sha512-fQhoXdcvc3V28x7C7BMs4P5+kNlgUURe2jmUT1T//oBRMDrqy1QPelJimwZGo7Hg9VPV3EQV5Bnq4hbFy2vetA==", - "dev": true, - "license": "BSD-2-Clause" - }, "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", @@ -6600,19 +4401,6 @@ "node": ">=6" } }, - "node_modules/jsonfile": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz", - "integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, "node_modules/keyv": { "version": "4.5.4", "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", @@ -6623,16 +4411,6 @@ "json-buffer": "3.0.1" } }, - "node_modules/kleur": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz", - "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -6917,13 +4695,6 @@ "url": "https://opencollective.com/parcel" } }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true, - "license": "MIT" - }, "node_modules/locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -6947,49 +4718,6 @@ "dev": true, "license": "MIT" }, - "node_modules/log-symbols": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-6.0.0.tgz", - "integrity": "sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^5.3.0", - "is-unicode-supported": "^1.3.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/log-symbols/node_modules/is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -7028,56 +4756,6 @@ "@jridgewell/sourcemap-codec": "^1.5.5" } }, - "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==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/media-typer": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", - "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/merge-descriptors": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", - "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true, - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, "node_modules/meshline": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/meshline/-/meshline-3.3.1.tgz", @@ -7093,83 +4771,6 @@ "integrity": "sha512-IebiK79sqIy+E4EgOr+CAw+Ke8hAspXKzBd0JdgEmPHiAwmvEj2S4h1rfvo+o/BnfEYd/jAOg5IeeIjzlzSnDg==", "license": "MIT" }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/micromatch/node_modules/picomatch": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", - "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/mime-db": { - "version": "1.54.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz", - "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz", - "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "mime-db": "^1.54.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/mimic-function": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", - "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/minimatch": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", @@ -7183,16 +4784,6 @@ "node": "*" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/motion": { "version": "12.34.3", "resolved": "https://registry.npmjs.org/motion/-/motion-12.34.3.tgz", @@ -7241,65 +4832,10 @@ "dev": true, "license": "MIT" }, - "node_modules/msw": { - "version": "2.12.10", - "resolved": "https://registry.npmjs.org/msw/-/msw-2.12.10.tgz", - "integrity": "sha512-G3VUymSE0/iegFnuipujpwyTM2GuZAKXNeerUSrG2+Eg391wW63xFs5ixWsK9MWzr1AGoSkYGmyAzNgbR3+urw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "@inquirer/confirm": "^5.0.0", - "@mswjs/interceptors": "^0.41.2", - "@open-draft/deferred-promise": "^2.2.0", - "@types/statuses": "^2.0.6", - "cookie": "^1.0.2", - "graphql": "^16.12.0", - "headers-polyfill": "^4.0.2", - "is-node-process": "^1.2.0", - "outvariant": "^1.4.3", - "path-to-regexp": "^6.3.0", - "picocolors": "^1.1.1", - "rettime": "^0.10.1", - "statuses": "^2.0.2", - "strict-event-emitter": "^0.5.1", - "tough-cookie": "^6.0.0", - "type-fest": "^5.2.0", - "until-async": "^3.0.2", - "yargs": "^17.7.2" - }, - "bin": { - "msw": "cli/index.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/mswjs" - }, - "peerDependencies": { - "typescript": ">= 4.8.x" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/mute-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", - "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, "node_modules/nanoid": { - "version": "3.3.12", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz", - "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", "funding": [ { "type": "github", @@ -7321,123 +4857,13 @@ "dev": true, "license": "MIT" }, - "node_modules/negotiator": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", - "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/node-domexception": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", - "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==", - "deprecated": "Use your platform's native DOMException instead", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "github", - "url": "https://paypal.me/jimmywarting" - } - ], - "license": "MIT", - "engines": { - "node": ">=10.5.0" - } - }, - "node_modules/node-fetch": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", - "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", - "dev": true, - "license": "MIT", - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" - } - }, "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==", - "license": "MIT" - }, - "node_modules/npm-run-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", - "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", - "dev": true, + "version": "2.0.59", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.59.tgz", + "integrity": "sha512-5qr2okC4ItAI0hG5SaV0HoYMpnM/Y6+Oqr7AmPYy/2uEoGvS+GbSKLeRxSS1uAdu59yz0ouzcuXievSgg///WA==", "license": "MIT", - "dependencies": { - "path-key": "^4.0.0", - "unicorn-magic": "^0.3.0" - }, "engines": { "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm-run-path/node_modules/path-key": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", - "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.13.4", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", - "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-treeify": { - "version": "1.1.33", - "resolved": "https://registry.npmjs.org/object-treeify/-/object-treeify-1.1.33.tgz", - "integrity": "sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10" } }, "node_modules/ogl": { @@ -7446,66 +4872,6 @@ "integrity": "sha512-kUpC154AFfxi16pmZUK4jk3J+8zxwTWGPo03EoYA8QPbzikHoaC82n6pNTbd+oEaJonaE8aPWBlX7ad9zrqLsA==", "license": "Unlicense" }, - "node_modules/on-finished": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", - "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", - "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-function": "^5.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/open": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/open/-/open-11.0.0.tgz", - "integrity": "sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw==", - "dev": true, - "license": "MIT", - "dependencies": { - "default-browser": "^5.4.0", - "define-lazy-prop": "^3.0.0", - "is-in-ssh": "^1.0.0", - "is-inside-container": "^1.0.0", - "powershell-utils": "^0.1.0", - "wsl-utils": "^0.3.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/optionator": { "version": "0.9.4", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", @@ -7524,50 +4890,6 @@ "node": ">= 0.8.0" } }, - "node_modules/ora": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-8.2.0.tgz", - "integrity": "sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^5.3.0", - "cli-cursor": "^5.0.0", - "cli-spinners": "^2.9.2", - "is-interactive": "^2.0.0", - "is-unicode-supported": "^2.0.0", - "log-symbols": "^6.0.0", - "stdin-discarder": "^0.2.2", - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/chalk": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.6.2.tgz", - "integrity": "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.17.0 || ^14.13 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/outvariant": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.3.tgz", - "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==", - "dev": true, - "license": "MIT" - }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -7600,13 +4922,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/package-manager-detector": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.6.0.tgz", - "integrity": "sha512-61A5ThoTiDG/C8s8UMZwSorAGwMJ0ERVGj2OjoW5pAalsNOg15+iQiPzrLJ4jhZ1HJzmC2PIHT2oEiH3R5fzNA==", - "dev": true, - "license": "MIT" - }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -7620,55 +4935,6 @@ "node": ">=6" } }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parse-ms": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", - "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", - "dev": true, - "license": "MIT" - }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -7688,13 +4954,6 @@ "node": ">=8" } }, - "node_modules/path-to-regexp": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", - "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", - "dev": true, - "license": "MIT" - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -7714,20 +4973,10 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/pkce-challenge": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.1.tgz", - "integrity": "sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16.20.0" - } - }, "node_modules/postcss": { - "version": "8.5.15", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz", - "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==", + "version": "8.5.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.31.tgz", + "integrity": "sha512-YUbWYCgErwnMAVkjUnYa+KlMBzGpHwiIt/DE7f0G33AuX2LH9UcTk6KgWxd3zRU+pN3u/C+Xl3EnMLM4Hea7Sg==", "funding": [ { "type": "opencollective", @@ -7744,28 +4993,14 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.12", + "nanoid": "^3.3.20", "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" } }, - "node_modules/postcss-selector-parser": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.1.tgz", - "integrity": "sha512-orRsuYpJVw8LdAwqqLykBj9ecS5/cRHlI5+nvTo8LcCKmzDmqVORXtOIYEEQuL9D4BxtA1lm5isAqzQZCoQ6Eg==", - "dev": true, - "license": "MIT", - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/postcss-value-parser": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", @@ -7778,19 +5013,6 @@ "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==", "license": "ISC" }, - "node_modules/powershell-utils": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/powershell-utils/-/powershell-utils-0.1.0.tgz", - "integrity": "sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/prelude-ls": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", @@ -7801,22 +5023,6 @@ "node": ">= 0.8.0" } }, - "node_modules/pretty-ms": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.3.0.tgz", - "integrity": "sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "parse-ms": "^4.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/promise-worker-transferable": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/promise-worker-transferable/-/promise-worker-transferable-1.0.4.tgz", @@ -7833,44 +5039,6 @@ "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", "license": "MIT" }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/prompts/node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", - "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "forwarded": "0.2.0", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", @@ -7881,43 +5049,6 @@ "node": ">=6" } }, - "node_modules/qs": { - "version": "6.15.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz", - "integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "side-channel": "^1.1.0" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "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/radix-ui": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/radix-ui/-/radix-ui-1.4.3.tgz", @@ -7995,32 +5126,6 @@ } } }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz", - "integrity": "sha512-K5zQjDllxWkf7Z5xJdV0/B0WTNqx6vxG70zJE4N0kBs4LovmEYWJzQGxC9bS9RAKu3bgM40lrd5zoLJ12MQ5BA==", - "dev": true, - "license": "MIT", - "dependencies": { - "bytes": "~3.1.2", - "http-errors": "~2.0.1", - "iconv-lite": "~0.7.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.10" - } - }, "node_modules/react": { "version": "19.2.4", "resolved": "https://registry.npmjs.org/react/-/react-19.2.4.tgz", @@ -8109,9 +5214,9 @@ } }, "node_modules/react-router": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.17.0.tgz", - "integrity": "sha512-FDELK7rTMlCHO5+reyXsPlmfr7N1F91lPHsWYfMEGQm/KQ+F4JFM8jGoeQDmDvdTs93Fw9aSilH+uKRb4/jXvQ==", + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.18.4.tgz", + "integrity": "sha512-PUPQcMhMGRAslLcvtlPz/kmzBEWPhLdgLFrL7pLNepBL6dX0lWj4WD2cUYVgYCuT3jxvghYFg81cDTj44DhetQ==", "license": "MIT", "dependencies": { "cookie": "^1.0.1", @@ -8131,12 +5236,12 @@ } }, "node_modules/react-router-dom": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.17.0.tgz", - "integrity": "sha512-fyU2yjGups/hE6Xz0I5ZYbVL8Gx29eCjgpHaRaTaVU+OOAdfRX05KsvyRm0GO8YQwOkhpU3MurW1jyMUJn+zSw==", + "version": "7.18.4", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.18.4.tgz", + "integrity": "sha512-yrfmJHIpDG7taCpqKjT1G5B6q3O2K+RN8/fgNf0lTjCwiPbQ0ei6vXX9ZjQR+7ld8Tr7Z5xmyMnZ8YJrphWQUw==", "license": "MIT", "dependencies": { - "react-router": "7.17.0" + "react-router": "7.18.4" }, "engines": { "node": ">=20.0.0" @@ -8183,33 +5288,6 @@ } } }, - "node_modules/recast": { - "version": "0.23.11", - "resolved": "https://registry.npmjs.org/recast/-/recast-0.23.11.tgz", - "integrity": "sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ast-types": "^0.16.1", - "esprima": "~4.0.0", - "source-map": "~0.6.1", - "tiny-invariant": "^1.3.3", - "tslib": "^2.0.1" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/require-from-string": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", @@ -8229,41 +5307,6 @@ "node": ">=4" } }, - "node_modules/restore-cursor": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", - "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^7.0.0", - "signal-exit": "^4.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/rettime": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/rettime/-/rettime-0.10.1.tgz", - "integrity": "sha512-uyDrIlUEH37cinabq0AX4QbgV4HbFZ/gqoiunWQ1UqBtRvTTytwhNYjE++pO/MjPTZL5KQCf2bEoJ/BJNVQ5Kw==", - "dev": true, - "license": "MIT" - }, - "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/rolldown": { "version": "1.0.0-rc.4", "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.4.tgz", @@ -8303,78 +5346,6 @@ "dev": true, "license": "MIT" }, - "node_modules/router": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/router/-/router-2.2.0.tgz", - "integrity": "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.4.0", - "depd": "^2.0.0", - "is-promise": "^4.0.0", - "parseurl": "^1.3.3", - "path-to-regexp": "^8.0.0" - }, - "engines": { - "node": ">= 18" - } - }, - "node_modules/router/node_modules/path-to-regexp": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.4.2.tgz", - "integrity": "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA==", - "dev": true, - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/run-applescript": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.1.0.tgz", - "integrity": "sha512-DPe5pVFaAsinSaV6QjQ6gdiedWDcRCbUuiQfQa2wmWV7+xC9bGulGI8+TdRmoFkAPaBXk8CrAbnlY2ISniJ47Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "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/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true, - "license": "MIT" - }, "node_modules/scheduler": { "version": "0.27.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", @@ -8391,123 +5362,19 @@ "semver": "bin/semver.js" } }, - "node_modules/send": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz", - "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.4.3", - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "etag": "^1.8.1", - "fresh": "^2.0.0", - "http-errors": "^2.0.1", - "mime-types": "^3.0.2", - "ms": "^2.1.3", - "on-finished": "^2.4.1", - "range-parser": "^1.2.1", - "statuses": "^2.0.2" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, - "node_modules/serve-static": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz", - "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==", - "dev": true, - "license": "MIT", - "dependencies": { - "encodeurl": "^2.0.0", - "escape-html": "^1.0.3", - "parseurl": "^1.3.3", - "send": "^1.2.0" - }, - "engines": { - "node": ">= 18" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/express" - } - }, "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/setprototypeof": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", - "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", + "node_modules/shadcn": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shadcn/-/shadcn-1.0.0.tgz", + "integrity": "sha512-kCxBIBiPS83WxrWkOQHamWpr9XlLtOtOlJM6QX90h9A5xZCBMhxu4ibcNT2ZnzZLdexkYbQrnijfPKdOsZxOpA==", "dev": true, "license": "ISC" }, - "node_modules/shadcn": { - "version": "3.8.5", - "resolved": "https://registry.npmjs.org/shadcn/-/shadcn-3.8.5.tgz", - "integrity": "sha512-jPRx44e+eyeV7xwY3BLJXcfrks00+M0h5BGB9l6DdcBW4BpAj4x3lVmVy0TXPEs2iHEisxejr62sZAAw6B1EVA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@antfu/ni": "^25.0.0", - "@babel/core": "^7.28.0", - "@babel/parser": "^7.28.0", - "@babel/plugin-transform-typescript": "^7.28.0", - "@babel/preset-typescript": "^7.27.1", - "@dotenvx/dotenvx": "^1.48.4", - "@modelcontextprotocol/sdk": "^1.26.0", - "@types/validate-npm-package-name": "^4.0.2", - "browserslist": "^4.26.2", - "commander": "^14.0.0", - "cosmiconfig": "^9.0.0", - "dedent": "^1.6.0", - "deepmerge": "^4.3.1", - "diff": "^8.0.2", - "execa": "^9.6.0", - "fast-glob": "^3.3.3", - "fs-extra": "^11.3.1", - "fuzzysort": "^3.1.0", - "https-proxy-agent": "^7.0.6", - "kleur": "^4.1.5", - "msw": "^2.10.4", - "node-fetch": "^3.3.2", - "open": "^11.0.0", - "ora": "^8.2.0", - "postcss": "^8.5.6", - "postcss-selector-parser": "^7.1.0", - "prompts": "^2.4.2", - "recast": "^0.23.11", - "stringify-object": "^5.0.0", - "tailwind-merge": "^3.0.1", - "ts-morph": "^26.0.0", - "tsconfig-paths": "^4.2.0", - "validate-npm-package-name": "^7.0.1", - "zod": "^3.24.1", - "zod-to-json-schema": "^3.24.6" - }, - "bin": { - "shadcn": "dist/index.js" - } - }, - "node_modules/shadcn/node_modules/zod": { - "version": "3.25.76", - "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", - "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -8529,116 +5396,10 @@ "node": ">=8" } }, - "node_modules/side-channel": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", - "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.3", - "side-channel-list": "^1.0.0", - "side-channel-map": "^1.0.1", - "side-channel-weakmap": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-list": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", - "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "object-inspect": "^1.13.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-map": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", - "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel-weakmap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", - "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", - "dev": true, - "license": "MIT", - "dependencies": { - "call-bound": "^1.0.2", - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.5", - "object-inspect": "^1.13.3", - "side-channel-map": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true, - "license": "MIT" - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/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==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -8670,111 +5431,6 @@ "integrity": "sha512-hNKz8phvYLPEcRkeG1rsGmV5ChMjKDAWU7/OJJdDErPBNChQXxCo3WZurGpnWc6gZhAzEPFad1aVgyOANH1sMw==", "license": "MIT" }, - "node_modules/statuses": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz", - "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/stdin-discarder": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.2.2.tgz", - "integrity": "sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/strict-event-emitter": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz", - "integrity": "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==", - "dev": true, - "license": "MIT" - }, - "node_modules/string-width": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", - "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/stringify-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-5.0.0.tgz", - "integrity": "sha512-zaJYxz2FtcMb4f+g60KsRNFOpVMUyuJgA51Zi5Z1DOTC3S59+OQiVOzE9GZt0x72uBGWKsQIuBKeF9iusmKFsg==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "get-own-enumerable-keys": "^1.0.0", - "is-obj": "^3.0.0", - "is-regexp": "^3.1.0" - }, - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/yeoman/stringify-object?sponsor=1" - } - }, - "node_modules/strip-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", - "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-final-newline": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", - "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -8810,19 +5466,6 @@ "react": ">=17.0" } }, - "node_modules/tagged-tag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", - "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/tailwind-merge": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-3.4.1.tgz", @@ -8885,28 +5528,11 @@ } }, "node_modules/three-stdlib/node_modules/fflate": { - "version": "0.6.10", - "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.10.tgz", - "integrity": "sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg==", + "version": "0.6.11", + "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.11.tgz", + "integrity": "sha512-3JyEFWGjFn7zHmoa9+zG1BmW7X2okcmAB+0Cnu9UFbVs/jCBnl2A8o065ZlXiw145K3eBM3uLuzrYXC0RK7eDg==", "license": "MIT" }, - "node_modules/tiny-invariant": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", - "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", - "dev": true, - "license": "MIT" - }, - "node_modules/tinyexec": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.2.tgz", - "integrity": "sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, "node_modules/tinyglobby": { "version": "0.2.15", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", @@ -8924,62 +5550,6 @@ "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tldts": { - "version": "7.0.23", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-7.0.23.tgz", - "integrity": "sha512-ASdhgQIBSay0R/eXggAkQ53G4nTJqTXqC2kbaBbdDwM7SkjyZyO0OaaN1/FH7U/yCeqOHDwFO5j8+Os/IS1dXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "tldts-core": "^7.0.23" - }, - "bin": { - "tldts": "bin/cli.js" - } - }, - "node_modules/tldts-core": { - "version": "7.0.23", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-7.0.23.tgz", - "integrity": "sha512-0g9vrtDQLrNIiCj22HSe9d4mLVG3g5ph5DZ8zCKBr4OtrspmNB6ss7hVyzArAeE88ceZocIEGkyW1Ime7fxPtQ==", - "dev": true, - "license": "MIT" - }, - "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/toidentifier": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", - "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/tough-cookie": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-6.0.0.tgz", - "integrity": "sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "tldts": "^7.0.5" - }, - "engines": { - "node": ">=16" - } - }, "node_modules/troika-three-text": { "version": "0.52.4", "resolved": "https://registry.npmjs.org/troika-three-text/-/troika-three-text-0.52.4.tgz", @@ -9010,32 +5580,6 @@ "integrity": "sha512-W1CpvTHykaPH5brv5VHLfQo9D1OYuo0cSBEUQFFT/nBUzM8iD6Lq2/tgG/f1OelbAS1WtaTPQzE5uM49egnngw==", "license": "MIT" }, - "node_modules/ts-morph": { - "version": "26.0.0", - "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-26.0.0.tgz", - "integrity": "sha512-ztMO++owQnz8c/gIENcM9XfCEzgoGphTv+nKpYNM1bgsdOVC/jRZuEBf6N+mLLDNg68Kl+GgUZfOySaRiG1/Ug==", - "dev": true, - "license": "MIT", - "dependencies": { - "@ts-morph/common": "~0.27.0", - "code-block-writer": "^13.0.3" - } - }, - "node_modules/tsconfig-paths": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", - "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", - "dev": true, - "license": "MIT", - "dependencies": { - "json5": "^2.2.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", @@ -9102,37 +5646,6 @@ "node": ">= 0.8.0" } }, - "node_modules/type-fest": { - "version": "5.4.4", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.4.4.tgz", - "integrity": "sha512-JnTrzGu+zPV3aXIUhnyWJj4z/wigMsdYajGLIYakqyOW1nPllzXEJee0QQbHj+CTIQtXGlAjuK0UY+2xTyjVAw==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "dependencies": { - "tagged-tag": "^1.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/type-is": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz", - "integrity": "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw==", - "dev": true, - "license": "MIT", - "dependencies": { - "content-type": "^1.0.5", - "media-typer": "^1.1.0", - "mime-types": "^3.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/typescript": { "version": "5.9.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", @@ -9153,53 +5666,10 @@ "dev": true, "license": "MIT" }, - "node_modules/unicorn-magic": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", - "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/universalify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", - "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/until-async": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/until-async/-/until-async-3.0.2.tgz", - "integrity": "sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/kettanaito" - } - }, "node_modules/update-browserslist-db": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", - "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.4.tgz", + "integrity": "sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==", "funding": [ { "type": "opencollective", @@ -9288,13 +5758,6 @@ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true, - "license": "MIT" - }, "node_modules/utility-types": { "version": "3.11.0", "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz", @@ -9304,26 +5767,6 @@ "node": ">= 4" } }, - "node_modules/validate-npm-package-name": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-7.0.2.tgz", - "integrity": "sha512-hVDIBwsRruT73PbK7uP5ebUt+ezEtCmzZz3F59BSr2F6OVFnJ/6h8liuvdLrQ88Xmnk6/+xGGuq+pG9WwTuy3A==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.8" - } - }, "node_modules/vite": { "version": "8.0.0-beta.14", "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.0-beta.14.tgz", @@ -9404,16 +5847,6 @@ } } }, - "node_modules/web-streams-polyfill": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", - "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, "node_modules/webgl-constants": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/webgl-constants/-/webgl-constants-1.1.1.tgz", @@ -9450,100 +5883,6 @@ "node": ">=0.10.0" } }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true, - "license": "ISC" - }, - "node_modules/wsl-utils": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/wsl-utils/-/wsl-utils-0.3.1.tgz", - "integrity": "sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-wsl": "^3.1.0", - "powershell-utils": "^0.1.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, "node_modules/yallist": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", @@ -9551,80 +5890,6 @@ "dev": true, "license": "ISC" }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true, - "license": "MIT" - }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", @@ -9638,32 +5903,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/yoctocolors": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.2.tgz", - "integrity": "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/yoctocolors-cjs": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.3.tgz", - "integrity": "sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/zod": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", @@ -9674,16 +5913,6 @@ "url": "https://github.com/sponsors/colinhacks" } }, - "node_modules/zod-to-json-schema": { - "version": "3.25.1", - "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.1.tgz", - "integrity": "sha512-pM/SU9d3YAggzi6MtR4h7ruuQlqKtad8e9S0fmxcMi+ueAK5Korys/aWcV9LIIHTVbj01NdzxcnXSN+O74ZIVA==", - "dev": true, - "license": "ISC", - "peerDependencies": { - "zod": "^3.25 || ^4" - } - }, "node_modules/zod-validation-error": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", diff --git a/package.json b/package.json index aead2b7..492de4a 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "dev": "vite", "build": "vite build", "lint": "eslint .", + "typecheck": "tsc --noEmit", "preview": "vite preview" }, "dependencies": { @@ -45,7 +46,7 @@ "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-react-refresh": "^0.4.24", "globals": "^16.5.0", - "shadcn": "^3.8.5", + "shadcn": "^1.0.0", "tw-animate-css": "^1.4.0", "vite": "^8.0.0-beta.13" }, diff --git a/public/.htaccess b/public/.htaccess index db705b1..628801f 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -3,7 +3,9 @@ RewriteBase / RewriteCond %{HTTP_HOST} ^cohaise\.esiah\.dev$ [NC] - RewriteRule ^(.*)$ https://esiah.dev/cohaise$1 [L,R=301] + RewriteRule ^(.*)$ https://cohaise.dev$1 [L,R=301] + + RewriteRule ^cohaise(/.*)?$ https://cohaise.dev [L,R=301] RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f diff --git a/public/images/cohaise/customSoftware.webp b/public/images/cohaise/customSoftware.webp deleted file mode 100644 index 2a23c23..0000000 Binary files a/public/images/cohaise/customSoftware.webp and /dev/null differ diff --git a/public/images/cohaise/mobileApps.webp b/public/images/cohaise/mobileApps.webp deleted file mode 100644 index 84242fe..0000000 Binary files a/public/images/cohaise/mobileApps.webp and /dev/null differ diff --git a/public/images/cohaise/uxUI.webp b/public/images/cohaise/uxUI.webp deleted file mode 100644 index 1ab2166..0000000 Binary files a/public/images/cohaise/uxUI.webp and /dev/null differ diff --git a/public/images/cohaise/webDevelopment.webp b/public/images/cohaise/webDevelopment.webp deleted file mode 100644 index c9599aa..0000000 Binary files a/public/images/cohaise/webDevelopment.webp and /dev/null differ diff --git a/public/images/contact/email-prev.webp b/public/images/contact/email-prev.webp index f318bf3..cc440e2 100644 Binary files a/public/images/contact/email-prev.webp and b/public/images/contact/email-prev.webp differ diff --git a/public/images/contact/github-prev.webp b/public/images/contact/github-prev.webp index 0a46a16..cee54f3 100644 Binary files a/public/images/contact/github-prev.webp and b/public/images/contact/github-prev.webp differ diff --git a/public/images/contact/insta-prev.webp b/public/images/contact/insta-prev.webp index 7fd55ea..0077e61 100644 Binary files a/public/images/contact/insta-prev.webp and b/public/images/contact/insta-prev.webp differ diff --git a/public/images/projects/NTR.webp b/public/images/projects/NTR.webp deleted file mode 100644 index de0885b..0000000 Binary files a/public/images/projects/NTR.webp and /dev/null differ diff --git a/public/images/projects/PortfolioE1.webp b/public/images/projects/PortfolioE1.webp deleted file mode 100644 index ae98ef9..0000000 Binary files a/public/images/projects/PortfolioE1.webp and /dev/null differ diff --git a/public/images/projects/EotLS.webp b/public/images/projects/game-dev/eotls/EotLS.webp similarity index 100% rename from public/images/projects/EotLS.webp rename to public/images/projects/game-dev/eotls/EotLS.webp diff --git a/public/images/projects/Hinterraum-Cinematic.webp b/public/images/projects/game-dev/hinterraum/Hinterraum-Cinematic.webp similarity index 100% rename from public/images/projects/Hinterraum-Cinematic.webp rename to public/images/projects/game-dev/hinterraum/Hinterraum-Cinematic.webp diff --git a/public/images/projects/Hinterraum-Lvl.webp b/public/images/projects/game-dev/hinterraum/Hinterraum-Lvl.webp similarity index 100% rename from public/images/projects/Hinterraum-Lvl.webp rename to public/images/projects/game-dev/hinterraum/Hinterraum-Lvl.webp diff --git a/public/images/projects/Hinterraum-Menu.webp b/public/images/projects/game-dev/hinterraum/Hinterraum-Menu.webp similarity index 100% rename from public/images/projects/Hinterraum-Menu.webp rename to public/images/projects/game-dev/hinterraum/Hinterraum-Menu.webp diff --git a/public/images/projects/LesVoixDeLExil.webp b/public/images/projects/game-dev/lvel/LesVoixDeLExil.webp similarity index 100% rename from public/images/projects/LesVoixDeLExil.webp rename to public/images/projects/game-dev/lvel/LesVoixDeLExil.webp diff --git a/public/images/projects/NTR-Lvl.webp b/public/images/projects/game-dev/ntr/NTR-Lvl.webp similarity index 100% rename from public/images/projects/NTR-Lvl.webp rename to public/images/projects/game-dev/ntr/NTR-Lvl.webp diff --git a/public/images/projects/NTR-Menu.webp b/public/images/projects/game-dev/ntr/NTR-Menu.webp similarity index 100% rename from public/images/projects/NTR-Menu.webp rename to public/images/projects/game-dev/ntr/NTR-Menu.webp diff --git a/public/images/projects/OvUp-Lvl.webp b/public/images/projects/game-dev/ovup/OvUp-Lvl.webp similarity index 100% rename from public/images/projects/OvUp-Lvl.webp rename to public/images/projects/game-dev/ovup/OvUp-Lvl.webp diff --git a/public/images/projects/OvUp-Menu.webp b/public/images/projects/game-dev/ovup/OvUp-Menu.webp similarity index 100% rename from public/images/projects/OvUp-Menu.webp rename to public/images/projects/game-dev/ovup/OvUp-Menu.webp diff --git a/public/images/projects/SPRotD.webp b/public/images/projects/game-dev/sprot/SPRotD.webp similarity index 100% rename from public/images/projects/SPRotD.webp rename to public/images/projects/game-dev/sprot/SPRotD.webp diff --git a/public/images/projects/Coeur-UA-PAM.webp b/public/images/projects/static-sites/Coeur-UA-PAM.webp similarity index 100% rename from public/images/projects/Coeur-UA-PAM.webp rename to public/images/projects/static-sites/Coeur-UA-PAM.webp diff --git a/public/images/projects/Esiah-s-Universe.webp b/public/images/projects/static-sites/Esiah-s-Universe.webp similarity index 100% rename from public/images/projects/Esiah-s-Universe.webp rename to public/images/projects/static-sites/Esiah-s-Universe.webp diff --git a/public/images/projects/Metz-Campus.webp b/public/images/projects/static-sites/Metz-Campus.webp similarity index 100% rename from public/images/projects/Metz-Campus.webp rename to public/images/projects/static-sites/Metz-Campus.webp diff --git a/public/images/projects/Projects.webp b/public/images/projects/static-sites/Projects.webp similarity index 100% rename from public/images/projects/Projects.webp rename to public/images/projects/static-sites/Projects.webp diff --git a/public/images/projects/WaterDroneIoTHackathon.webp b/public/images/projects/static-sites/WaterDroneIoTHackathon.webp similarity index 100% rename from public/images/projects/WaterDroneIoTHackathon.webp rename to public/images/projects/static-sites/WaterDroneIoTHackathon.webp diff --git a/public/images/projects/web-applications/Gitea-Self-Hosted.webp b/public/images/projects/web-applications/Gitea-Self-Hosted.webp new file mode 100644 index 0000000..c33eddd Binary files /dev/null and b/public/images/projects/web-applications/Gitea-Self-Hosted.webp differ diff --git a/public/images/projects/WYG-TIWIF.webp b/public/images/projects/web-applications/WYG-TIWIF.webp similarity index 100% rename from public/images/projects/WYG-TIWIF.webp rename to public/images/projects/web-applications/WYG-TIWIF.webp diff --git a/public/images/projects/Zatyshok.webp b/public/images/projects/web-applications/Zatyshok.webp similarity index 100% rename from public/images/projects/Zatyshok.webp rename to public/images/projects/web-applications/Zatyshok.webp diff --git a/public/images/cohaise/cohaise.webp b/public/images/projects/web-applications/cohaise.webp similarity index 100% rename from public/images/cohaise/cohaise.webp rename to public/images/projects/web-applications/cohaise.webp diff --git a/public/images/projects/web-applications/j23/J23-CRM.webp b/public/images/projects/web-applications/j23/J23-CRM.webp new file mode 100644 index 0000000..be703ae Binary files /dev/null and b/public/images/projects/web-applications/j23/J23-CRM.webp differ diff --git a/public/images/projects/web-applications/j23/J23-Defi6e.webp b/public/images/projects/web-applications/j23/J23-Defi6e.webp new file mode 100644 index 0000000..c77791e Binary files /dev/null and b/public/images/projects/web-applications/j23/J23-Defi6e.webp differ diff --git a/public/images/projects/web-applications/j23/J23-Inventory.webp b/public/images/projects/web-applications/j23/J23-Inventory.webp new file mode 100644 index 0000000..67b2a93 Binary files /dev/null and b/public/images/projects/web-applications/j23/J23-Inventory.webp differ diff --git a/public/sitemap.xml b/public/sitemap.xml index f201877..43cfbda 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,11 +3,13 @@ https://esiah.dev/1.0 https://esiah.dev/projects0.8 https://esiah.dev/contact0.5 - https://esiah.dev/cohaise0.7 + https://esiah.dev/projects/hinterraum0.6 + https://esiah.dev/projects/overclock-uprising0.6 https://esiah.dev/projects/neo-tokyo-rush0.6 https://esiah.dev/projects/echoes-of-the-last-stop0.6 https://esiah.dev/projects/shadow-purge-rite-of-the-demon0.6 https://esiah.dev/projects/zatyshok0.6 https://esiah.dev/projects/wyg-tiwif0.6 + https://esiah.dev/projects/ensemble-scolaire-jean-xxiii0.6 https://esiah.dev/projects/les-voix-de-l-exil0.6 \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index fd95ca8..b9e84e3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,12 +11,15 @@ import LoadingScreen from "./components/LoadingScreen"; import ScrollToTop from "./components/ScrollToTop"; import CardNav from "./components/CardNav"; import NotFound from "./components/NotFound"; +import useRegionScroll from "./hooks/useRegionScroll"; const Home = lazy(() => import("./pages/Home")); const Contact = lazy(() => import("./pages/Contact")); const Projects = lazy(() => import("./pages/Projects")); -const Cohaise = lazy(() => import("./pages/Cohaise")); const Zatyshok = lazy(() => import("./pages/projects/Zatyshok")); +const EnsembleScolaireJeanXXIII = lazy( + () => import("./pages/projects/EnsembleScolaireJeanXXIII"), +); const NeoTokyoRush = lazy(() => import("./pages/projects/NeoTokyoRush")); const Hinterraum = lazy(() => import("./pages/projects/Hinterraum")); const OverclockUprising = lazy( @@ -39,19 +42,35 @@ function AppContent() { const isImmersive = immersivePages.includes(location.pathname); useEffect(() => { + document.documentElement.classList.toggle("no-snap", isImmersive); + }, [isImmersive]); + + useRegionScroll(); + + useEffect(() => { const handleGlobalClick = (e: MouseEvent) => { - const target = (e.target as HTMLElement).closest("a"); + const el = e.target as HTMLElement; + const target = el.closest("a, button") as HTMLElement | null; + + if (!target) return; + + if (target.hasAttribute("download")) return; + if (target.tagName === "BUTTON") { + // vérifie si c'est le bouton download + if (target.textContent?.includes("Download")) return; + } + + const anchor = target.tagName === "A" ? (target as HTMLAnchorElement) : null; + if (anchor) { + if (!anchor.href) return; + if (anchor.href.match(/\.(zip|exe|rar|7z|msi|dmg|apk|pdf)(\?|$)/i)) return; + if (anchor.target === "_blank") return; + if (anchor.origin !== window.location.origin) return; + if (e.ctrlKey || e.metaKey) return; + if (anchor.href.startsWith("mailto:") || anchor.href.startsWith("tel:")) return; - if ( - target && - target.href && - target.origin === window.location.origin && - target.target !== "_blank" && - !e.ctrlKey && - !e.metaKey - ) { const currentPath = window.location.pathname; - const targetPath = new URL(target.href).pathname; + const targetPath = new URL(anchor.href).pathname; if (currentPath !== targetPath) { setIsPageLoading(true); } @@ -82,7 +101,6 @@ function AppContent() { } /> } /> - } /> } /> } /> } /> @@ -100,6 +118,10 @@ function AppContent() { /> } /> } /> + } + /> } @@ -111,7 +133,13 @@ function AppContent() { {!isImmersive && (
-

© 2026 - Co Hai Se | All rights reserved.

+

+ © 2026 -{" "} + + Co Hai Se + {" "} + | All rights reserved. +

)} diff --git a/src/components/CardNav.css b/src/components/CardNav.css index 2e74161..5c20b7c 100644 --- a/src/components/CardNav.css +++ b/src/components/CardNav.css @@ -10,6 +10,8 @@ margin-bottom: 2em; margin-top: 2em; display: block; + align-self: center; + flex-shrink: 0; } .card-nav { diff --git a/src/components/CardNav.tsx b/src/components/CardNav.tsx index 8d681c2..4377150 100644 --- a/src/components/CardNav.tsx +++ b/src/components/CardNav.tsx @@ -16,7 +16,6 @@ import { mainMenuItems, projectMenuItems, MenuItem } from "./data/DataMenuItem"; const InfiniteMenu = lazy( () => import("./InfiniteMenu"), ) as React.ComponentType; -const Lanyard = lazy(() => import("./Lanyard")); interface CardNavProps { logo?: string; @@ -27,13 +26,12 @@ interface CardNavProps { const CardNav: React.FC = ({ logo = "/images/logo.webp", - logoAlt = "Esiah Logo", + logoAlt = "Co Hai Se", className = "", ease = "power3.out", }) => { const [isHamburgerOpen, setIsHamburgerOpen] = useState(false); const [isExpanded, setIsExpanded] = useState(false); - const [showLanyard, setShowLanyard] = useState(false); const navRef = useRef(null); const tlRef = useRef(null); @@ -72,14 +70,6 @@ const CardNav: React.FC = ({ closeMenuIfOpen(); }; - const handleCohaiseClick = () => { - closeMenuIfOpen(); - if (location.pathname === "/cohaise") { - setShowLanyard(true); - setTimeout(() => setShowLanyard(false), 5000); - } - }; - const menuItems: MenuItem[] = useMemo(() => { if (location.pathname.startsWith("/projects")) { return projectMenuItems; @@ -135,8 +125,7 @@ const CardNav: React.FC = ({ = ({ - - - - ); }; diff --git a/src/components/DiagonalImageStrip.tsx b/src/components/DiagonalImageStrip.tsx new file mode 100644 index 0000000..36d96a0 --- /dev/null +++ b/src/components/DiagonalImageStrip.tsx @@ -0,0 +1,43 @@ +interface DiagonalImageStripProps { + images: string[]; + className?: string; + diagonal?: string; +} + +const DiagonalImageStrip = ({ + images, + className = "", + diagonal = "clamp(0.75rem, 2vw, 2rem)", +}: DiagonalImageStripProps) => { + if (images.length === 0) return null; + + const clipPath = (index: number) => { + if (images.length === 1) return undefined; + if (index === 0) { + return `polygon(0 0, 100% 0, calc(100% - ${diagonal}) 100%, 0 100%)`; + } + if (index === images.length - 1) { + return `polygon(${diagonal} 0, 100% 0, 100% 100%, 0 100%)`; + } + return `polygon(${diagonal} 0, 100% 0, calc(100% - ${diagonal}) 100%, 0 100%)`; + }; + + return ( +
+ {images.map((src, index) => ( +
+
+
+ ))} +
+ ); +}; + +export default DiagonalImageStrip; diff --git a/src/components/DownloadButton.tsx b/src/components/DownloadButton.tsx index f4d8628..ddb2026 100644 --- a/src/components/DownloadButton.tsx +++ b/src/components/DownloadButton.tsx @@ -16,8 +16,9 @@ const DownloadButton: React.FC = ({ projectId }) => { projectData.downloadUrl !== "#" && projectData.downloadUrl !== ""; - const handleDownload = () => { + const handleDownload = (e: React.MouseEvent) => { if (!isAvailable) return; + e.stopPropagation(); const link = document.createElement("a"); link.href = projectData.downloadUrl; diff --git a/src/components/FlowingMenu.css b/src/components/FlowingMenu.css deleted file mode 100644 index b5246b0..0000000 --- a/src/components/FlowingMenu.css +++ /dev/null @@ -1,203 +0,0 @@ -:root { - --border-subtle: rgba(255, 255, 255, 0.15); - --text-dim: rgba(255, 255, 255, 0.5); -} - -.menu-wrap { - width: 100vw; - margin-left: calc(-50vw + 50%); - margin-right: calc(-50vw + 50%); - margin-top: 8rem; - margin-bottom: 8rem; - display: flex; - justify-content: center; - position: relative; - left: 0; - will-change: height; - pointer-events: none; -} - -.menu { - width: 100%; - max-width: 100%; - display: flex; - flex-direction: column; - padding: 0; - pointer-events: none; -} - -.menu__item { - position: relative; - overflow: hidden; - border-top: 1px solid var(--border-subtle); - transition: background-color 0.4s ease; - pointer-events: none; -} - -.menu__item:last-child { - border-bottom: 1px solid var(--border-subtle); -} - -.menu__item-link { - display: flex; - align-items: center; - justify-content: space-between; - height: 140px; - padding: 0 4vw; - position: relative; - z-index: 2; - cursor: pointer; - text-decoration: none; - font-weight: 300; - font-size: clamp(2rem, 4vw, 3.5rem); - letter-spacing: -1px; - color: #fff; - transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); - pointer-events: auto; -} - -.menu__item-link.link-active { - background-color: #0808083b; - backdrop-filter: blur(10px); - border-left: 4px solid var(--accent-red); - padding-left: 5vw; -} - -.menu__item-link:hover { - padding-left: 6vw; - opacity: 1; -} - -/* --- ACCORDÉON (DETAILS) --- */ -.service-details-wrapper { - width: 100%; - background-color: rgba(0, 0, 0, 0.4); - border-bottom: 1px solid var(--border-subtle); - min-height: 0; - pointer-events: auto; -} - -.details-inner { - padding: 4rem 4vw; - display: grid; - gap: 4rem; - align-items: start; -} - -@media (max-width: 768px) { - .details-inner { - gap: 2rem; - } -} - -.service-detail-content h3 { - font-size: 1.5rem; - font-weight: 400; - color: #fff; - margin-bottom: 1.5rem; - text-transform: uppercase; - letter-spacing: 2px; - opacity: 0.8; -} - -.service-detail-content p { - color: var(--text-dim); - font-size: 1.2rem; - line-height: 1.6; - max-width: 800px; -} - -.service-detail-content ul { - display: flex; - gap: 1rem; - margin-top: 3rem; - padding: 0; - list-style: none; - flex-wrap: wrap; -} - -.service-detail-content li { - padding: 10px 24px; - border: 1px solid var(--border-subtle); - border-radius: 50px; - font-size: 0.9rem; - text-transform: uppercase; - letter-spacing: 1px; - color: #fff; - background: transparent; - transition: all 0.3s ease; -} - -.service-detail-content li:hover { - background: #fff; - color: #000; - border-color: #fff; -} - -/* --- MARQUEE --- */ -.marquee { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - pointer-events: none; - - /* CORRECTIF FILTRE : Plus clair (0.4) pour plus de légèreté */ - background: rgba(10, 10, 10, 0.4); - backdrop-filter: blur(6px); - - transform: translate3d(0, 101%, 0); - border-bottom: 1px solid rgba(255, 255, 255, 0.3); -} - -.marquee__inner-wrap { - height: 100%; - width: 100%; - overflow: hidden; -} - -.marquee__inner { - display: flex; - align-items: center; - position: relative; - height: 100%; - width: fit-content; /* Laisse le contenu s'étendre */ - will-change: transform; - flex-wrap: nowrap; -} - -.marquee__part { - display: flex; - align-items: center; - flex-shrink: 0; /* Empêche l'écrasement */ - padding-right: 4vw; -} - -.marquee span { - font-size: clamp(2rem, 4vw, 3.5rem); - font-weight: 300; - padding: 0 2vw; - color: rgba(255, 255, 255, 0.6); -} - -.marquee__img { - width: 350px; - height: 100px; - margin: 0 3vw; - border-radius: 50px; - filter: grayscale(100%) contrast(1.2); - opacity: 0.8; - background-size: cover; - background-position: center; -} - -@media (pointer: coarse) { - .marquee { - display: none !important; - } - - .menu__item-link:hover { - padding-left: 4vw; - } -} diff --git a/src/components/FlowingMenu.tsx b/src/components/FlowingMenu.tsx deleted file mode 100644 index ac859cc..0000000 --- a/src/components/FlowingMenu.tsx +++ /dev/null @@ -1,266 +0,0 @@ -/* eslint-disable no-unused-vars */ -import React, { useRef, useEffect, useState } from "react"; -import { gsap } from "gsap"; -import { ScrollToPlugin } from "gsap/ScrollToPlugin"; -import "./FlowingMenu.css"; -import AnimatedContent from "./AnimatedContent"; - -gsap.registerPlugin(ScrollToPlugin); - -// --- Définition des Types pour éviter l'erreur 'never[]' --- -export interface FlowingMenuItem { - text: string; - image: string; - Component?: React.ComponentType; -} - -interface FlowingMenuProps { - items?: FlowingMenuItem[]; - speed?: number; - textColor?: string; - bgColor?: string; - marqueeBgColor?: string; - marqueeTextColor?: string; - borderColor?: string; -} - -const FlowingMenu: React.FC = ({ - items = [], - speed = 15, - textColor = "#fff", - bgColor = "transparent", - marqueeBgColor = "rgba(0,0,0,0.8)", - marqueeTextColor = "#fff", - borderColor = "rgba(255,255,255,0.1)", -}) => { - const [activeIdx, setActiveIdx] = useState(null); - const [isTransitioning, setIsTransitioning] = useState(false); - - const toggleItem = (idx: number) => { - if (isTransitioning) return; - if (activeIdx === idx) { - setActiveIdx(null); - return; - } - if (activeIdx !== null) { - setIsTransitioning(true); - setActiveIdx(null); - setTimeout(() => { - setActiveIdx(idx); - setIsTransitioning(false); - }, 500); - } else { - setActiveIdx(idx); - } - }; - - return ( -
- -
- ); -}; - -// --- Sous-composant MenuItem --- -interface MenuItemProps extends FlowingMenuItem { - speed: number; - textColor: string; - marqueeBgColor: string; - marqueeTextColor: string; - borderColor: string; - isOpen: boolean; - onClick: () => void; -} - -const MenuItem: React.FC = ({ - text, - image, - speed, - textColor, - marqueeBgColor, - marqueeTextColor, - borderColor, - isOpen, - onClick, - Component, -}) => { - const itemRef = useRef(null); - const marqueeRef = useRef(null); - const marqueeInnerRef = useRef(null); - const contentRef = useRef(null); - - const [repetitions, setRepetitions] = useState(2); - // État local pour retarder le montage du composant Masonry le temps que l'animation commence - const [shouldRenderContent, setShouldRenderContent] = useState(false); - - useEffect(() => { - if (isOpen) { - setShouldRenderContent(true); - } else { - // On attend la fin de l'animation de fermeture pour démonter - const timer = setTimeout(() => setShouldRenderContent(false), 500); - return () => clearTimeout(timer); - } - }, [isOpen]); - - useEffect(() => { - const calculateRepetitions = () => { - if (!marqueeInnerRef.current) return; - const singlePart = marqueeInnerRef.current.querySelector( - ".marquee__part", - ) as HTMLElement; - if (!singlePart) return; - const partWidth = singlePart.offsetWidth; - const windowWidth = window.innerWidth; - if (partWidth > 0) { - setRepetitions(Math.ceil(windowWidth / partWidth) + 4); - } - }; - calculateRepetitions(); - window.addEventListener("resize", calculateRepetitions); - return () => window.removeEventListener("resize", calculateRepetitions); - }, [text]); - - useEffect(() => { - if (!marqueeInnerRef.current) return; - const marqueeContent = marqueeInnerRef.current.querySelector( - ".marquee__part", - ) as HTMLElement; - if (!marqueeContent) return; - const contentWidth = marqueeContent.offsetWidth; - const tl = gsap.to(marqueeInnerRef.current, { - x: -contentWidth, - duration: speed, - ease: "none", - repeat: -1, - }); - return () => { - tl.kill(); - }; - }, [speed, repetitions]); - - useEffect(() => { - if (isOpen && itemRef.current) { - const isMobile = window.innerWidth < 768; - gsap.to(contentRef.current, { - height: "auto", - opacity: 1, - duration: 0.6, - ease: "power3.out", - }); - gsap.to(window, { - duration: isMobile ? 0.8 : 1, - delay: 0.1, - scrollTo: { - y: itemRef.current, - offsetY: isMobile ? 0 : 60, - autoKill: false, - }, - ease: "power3.inOut", - }); - gsap.to(marqueeRef.current, { - y: "101%", - duration: 0.4, - ease: "power2.out", - }); - } else { - gsap.to(contentRef.current, { - height: 0, - opacity: 0, - duration: 0.4, - ease: "power3.in", - }); - } - }, [isOpen]); - - return ( -
- -
- !isOpen && - gsap.to(marqueeRef.current, { - y: "0%", - duration: 0.6, - ease: "expo", - }) - } - onMouseLeave={() => - gsap.to(marqueeRef.current, { - y: "101%", - duration: 0.6, - ease: "expo", - }) - } - > - {text} -
-
-
-
- {shouldRenderContent && Component && } -
-
-
-
-
- {[...Array(repetitions)].map((_, idx) => ( -
- {text} -
-
- ))} -
-
-
-
- ); -}; - -export default FlowingMenu; diff --git a/src/components/HorizontalMotion.tsx b/src/components/HorizontalMotion.tsx index 97c4b59..90c7ff8 100644 --- a/src/components/HorizontalMotion.tsx +++ b/src/components/HorizontalMotion.tsx @@ -1,11 +1,13 @@ import { useEffect, useRef, FC } from "react"; import { gsap } from "gsap"; import SpotlightCard from "./SpotlightCard"; +import DiagonalImageStrip from "./DiagonalImageStrip"; import { useNavigate } from "react-router-dom"; export interface ProjectItem { id: string; img: string; + images?: string[]; link: string; title?: string; description?: string; @@ -87,7 +89,10 @@ const HorizontalMotion: FC = ({ background: `radial-gradient(circle, ${gradientColor} 0%, transparent 100%)`, }} > -
+
{items.map((item, index) => (
= ({ className="w-full h-full p-0! border border-white/5 rounded-xl md:rounded-3xl shadow-xl overflow-hidden" spotlightColor="rgba(255, 255, 255, 0.1)" > -
+ {item.images && item.images.length > 1 ? ( +
+ +
+ ) : ( +
+ )}
diff --git a/src/components/InfiniteMenu.css b/src/components/InfiniteMenu.css index b76d89d..d35b85e 100644 --- a/src/components/InfiniteMenu.css +++ b/src/components/InfiniteMenu.css @@ -12,11 +12,19 @@ cursor: grabbing; } +.infinite-menu-canvas { + cursor: grab; +} + +.infinite-menu-canvas:active { + cursor: grabbing; +} + .infinite-menu-overlay { position: absolute; inset: 0; pointer-events: none; - z-index: 2; + z-index: 5; } .infinite-menu-overlay::before { @@ -42,7 +50,7 @@ position: absolute; left: 50%; bottom: 8%; - z-index: 10; + z-index: 30; padding: 12px 32px; display: flex; align-items: center; @@ -97,6 +105,28 @@ pointer-events: none; } +.menu-drag-hint { + position: absolute; + top: 18%; + left: 50%; + transform: translateX(-50%); + color: rgba(255, 255, 255, 0.5); + font-size: 0.8rem; + text-transform: uppercase; + letter-spacing: 6px; + pointer-events: none; + opacity: 0; + transition: opacity 0.4s ease; +} + +.menu-drag-hint.active { + opacity: 1; +} + +.menu-drag-hint.inactive { + opacity: 0; +} + /* --- TITRE --- */ .face-title { position: absolute; @@ -121,7 +151,7 @@ .face-title.active { opacity: 1; - pointer-events: auto; + pointer-events: none; transition: 0.5s ease; } @@ -152,7 +182,7 @@ .face-description.active { opacity: 1; - pointer-events: auto; + pointer-events: none; transition: 0.5s ease; } diff --git a/src/components/InfiniteMenu.jsx b/src/components/InfiniteMenu.jsx index 299e41a..db4790e 100644 --- a/src/components/InfiniteMenu.jsx +++ b/src/components/InfiniteMenu.jsx @@ -389,17 +389,38 @@ class ArcballControl { this._combinedQuat = quat.create(); this.EPSILON = 0.1; this.IDENTITY_QUAT = quat.create(); + this.pointerId = null; canvas.addEventListener("pointerdown", (e) => { + this.pointerId = e.pointerId; + if (canvas.setPointerCapture) { + try { + canvas.setPointerCapture(e.pointerId); + } catch { + // Pointer capture can fail if the pointer is already released. + } + } vec2.set(this.pointerPos, e.clientX, e.clientY); vec2.copy(this.previousPointerPos, this.pointerPos); this.isPointerDown = true; }); - canvas.addEventListener("pointerup", () => (this.isPointerDown = false)); - canvas.addEventListener("pointerleave", () => (this.isPointerDown = false)); + const endPointer = () => { + this.isPointerDown = false; + if (this.pointerId !== null && canvas.releasePointerCapture) { + try { + canvas.releasePointerCapture(this.pointerId); + } catch { + // Ignore release errors. + } + this.pointerId = null; + } + }; + canvas.addEventListener("pointerup", endPointer); + canvas.addEventListener("pointercancel", endPointer); canvas.addEventListener("pointermove", (e) => { if (this.isPointerDown) vec2.set(this.pointerPos, e.clientX, e.clientY); }); canvas.style.touchAction = "none"; + canvas.style.userSelect = "none"; } update(deltaTime, targetFrameDuration = 16) { const timeScale = deltaTime / targetFrameDuration + 0.00001; @@ -958,7 +979,7 @@ const defaultItems = [ }, ]; -export default function InfiniteMenu({ items = [], scale = 1.0, onItemClick }) { +export default function InfiniteMenu({ items = [], scale = 1.0, onItemClick, onClose } = {}) { const canvasRef = useRef(null); const containerRef = useRef(null); const [activeItem, setActiveItem] = useState(null); @@ -997,11 +1018,20 @@ export default function InfiniteMenu({ items = [], scale = 1.0, onItemClick }) { }; }, [items, scale]); - const handleButtonClick = () => { + const handleButtonClick = (e) => { + if (e) e.stopPropagation(); if (!activeItem?.link) return; - if (onItemClick) { + if (typeof onItemClick === "function") { onItemClick(activeItem.link); + } else { + const link = activeItem.link; + if (link.includes("_blank") || link.startsWith("http")) { + window.open(link.replace("_blank","").trim(), "_blank", "noopener,noreferrer"); + } else { + window.location.href = link; + } } + if (typeof onClose === "function") onClose(); }; return ( @@ -1014,9 +1044,12 @@ export default function InfiniteMenu({ items = [], scale = 1.0, onItemClick }) { minHeight: "1px", }} > - + {activeItem && (
+
+ Drag to explore +

{activeItem.title}

diff --git a/src/components/Lanyard.tsx b/src/components/Lanyard.tsx deleted file mode 100644 index b0ca622..0000000 --- a/src/components/Lanyard.tsx +++ /dev/null @@ -1,311 +0,0 @@ -/* eslint-disable react/no-unknown-property */ -"use client"; -import React, { - useRef, - useState, - useMemo, - Suspense, - useEffect, - useSyncExternalStore, -} from "react"; -import { ThreeElement } from "@react-three/fiber"; -import { createPortal } from "react-dom"; -import { - Canvas, - extend, - useFrame, - useThree, - ThreeEvent, -} from "@react-three/fiber"; -import { - useGLTF, - useTexture, - Environment, - Lightformer, -} from "@react-three/drei"; -import { - BallCollider, - CuboidCollider, - Physics, - RigidBody, - useRopeJoint, - useSphericalJoint, - RigidBodyProps, -} from "@react-three/rapier"; -import { MeshLineGeometry, MeshLineMaterial } from "meshline"; -import * as THREE from "three"; - -extend({ MeshLineGeometry, MeshLineMaterial }); - -declare module "@react-three/fiber" { - interface ThreeElements { - meshLineGeometry: ThreeElement; - meshLineMaterial: ThreeElement; - } -} - -const subscribe = () => () => {}; -function useIsClient() { - return useSyncExternalStore( - subscribe, - () => true, - () => false, - ); -} - -interface LanyardProps { - show: boolean; - gravity?: [number, number, number]; - fov?: number; - transparent?: boolean; -} - -export default function Lanyard({ - show, - gravity = [0, -20, 0], - fov = 20, - transparent = true, -}: LanyardProps) { - const isClient = useIsClient(); - const [isMobile, setIsMobile] = useState(false); - - useEffect(() => { - if (typeof window !== "undefined") { - setIsMobile(window.innerWidth < 768); - const handleResize = () => setIsMobile(window.innerWidth < 768); - window.addEventListener("resize", handleResize); - return () => window.removeEventListener("resize", handleResize); - } - }, []); - - if (!show || !isClient) return null; - - return createPortal( -
- gl.setClearColor(new THREE.Color(0x000000), 0)} - className="block w-full h-full pointer-events-auto" - > - - - - - - - - - - -
, - document.body, - ); -} - -interface BandProps { - isMobile: boolean; -} - -function Band({ isMobile }: BandProps) { - const { size } = useThree(); - const band = useRef(null); - const fixed = useRef(null); - const j1 = useRef(null); - const j2 = useRef(null); - const j3 = useRef(null); - const card = useRef(null); - - const vec = new THREE.Vector3(); - const dir = new THREE.Vector3(); - const ang = new THREE.Vector3(); - const rot = new THREE.Vector3(); - - const { nodes, materials } = useGLTF("/3d/card.glb") as any; - const texture = useTexture("/3d/lanyard.webp"); - const badgeTexture = useTexture("/3d/badge_texture.webp"); - - const [curve] = useState( - () => - new THREE.CatmullRomCurve3( - new Array(4).fill(null).map(() => new THREE.Vector3()), - ), - ); - const [dragged, drag] = useState(false); - - useEffect(() => { - if (texture) { - texture.wrapS = texture.wrapT = THREE.RepeatWrapping; - texture.repeat.set(-4, 1); - texture.anisotropy = 16; - } - if (badgeTexture) { - badgeTexture.flipY = false; - badgeTexture.anisotropy = 16; - } - }, [texture, badgeTexture]); - - useRopeJoint(fixed, j1, [[0, 0, 0], [0, 0, 0], 1.2]); - useRopeJoint(j1, j2, [[0, 0, 0], [0, 0, 0], 1.2]); - useRopeJoint(j2, j3, [[0, 0, 0], [0, 0, 0], 1.2]); - useSphericalJoint(j3, card, [ - [0, 0, 0], - [0, 1.1, 0], - ]); - - useFrame((state, delta) => { - if (dragged && card.current) { - vec.set(state.pointer.x, state.pointer.y, 0.5).unproject(state.camera); - dir.copy(vec).sub(state.camera.position).normalize(); - vec.add(dir.multiplyScalar(state.camera.position.length())); - - [card, j1, j2, j3, fixed].forEach((ref) => ref.current?.wakeUp()); - - card.current.setNextKinematicTranslation({ - x: vec.x - dragged.x, - y: vec.y - dragged.y, - z: vec.z - dragged.z, - }); - } - - if ( - fixed.current && - card.current && - j1.current && - j2.current && - band.current - ) { - [j1, j2].forEach((ref) => { - if (!ref.current.lerped) - ref.current.lerped = new THREE.Vector3().copy( - ref.current.translation(), - ); - ref.current.lerped.lerp(ref.current.translation(), delta * 20); - }); - - const cardPos = card.current.translation(); - curve.points[0].set(cardPos.x, cardPos.y + 0.8, cardPos.z); - curve.points[1].copy(j2.current.lerped); - curve.points[2].copy(j1.current.lerped); - curve.points[3].copy(fixed.current.translation()); - band.current.geometry.setPoints(curve.getPoints(isMobile ? 16 : 32)); - - ang.copy(card.current.angvel()); - rot.copy(card.current.rotation()); - card.current.setAngvel({ x: ang.x, y: ang.y - rot.y * 0.25, z: ang.z }); - } - }); - - const physicsProps = { - linearDamping: 6, - angularDamping: 4, - friction: 0.5, - }; - - return ( - <> - - - - - - - - - - - - - - - ) => { - (e.target as HTMLElement).setPointerCapture(e.pointerId); - drag( - new THREE.Vector3() - .copy(e.point) - .sub(vec.copy(card.current.translation())), - ); - }} - onPointerUp={(e: ThreeEvent) => { - (e.target as HTMLElement).releasePointerCapture(e.pointerId); - drag(false); - }} - > - - - - {nodes.clip && ( - - )} - - - - - - - - - - ); -} diff --git a/src/components/LogoLoop.tsx b/src/components/LogoLoop.tsx deleted file mode 100644 index ab8fe0d..0000000 --- a/src/components/LogoLoop.tsx +++ /dev/null @@ -1,546 +0,0 @@ -import React, { - useCallback, - useEffect, - useMemo, - useRef, - useState, -} from "react"; - -export type LogoItem = - | { - node: React.ReactNode; - href?: string; - title?: string; - ariaLabel?: string; - } - | { - src: string; - alt?: string; - href?: string; - title?: string; - srcSet?: string; - sizes?: string; - width?: number; - height?: number; - }; - -export interface LogoLoopProps { - logos: LogoItem[]; - speed?: number; - direction?: "left" | "right" | "up" | "down"; - width?: number | string; - logoHeight?: number; - gap?: number; - pauseOnHover?: boolean; - hoverSpeed?: number; - fadeOut?: boolean; - fadeOutColor?: string; - scaleOnHover?: boolean; - renderItem?: (item: LogoItem, key: React.Key) => React.ReactNode; - ariaLabel?: string; - className?: string; - style?: React.CSSProperties; -} - -const ANIMATION_CONFIG = { - SMOOTH_TAU: 0.25, - MIN_COPIES: 2, - COPY_HEADROOM: 2, -} as const; - -const toCssLength = (value?: number | string): string | undefined => - typeof value === "number" ? `${value}px` : (value ?? undefined); - -const cx = (...parts: Array) => - parts.filter(Boolean).join(" "); - -const useResizeObserver = ( - callback: () => void, - elements: Array>, - dependencies: React.DependencyList, -) => { - useEffect(() => { - if (!window.ResizeObserver) { - const handleResize = () => callback(); - window.addEventListener("resize", handleResize); - callback(); - return () => window.removeEventListener("resize", handleResize); - } - - const observers = elements.map((ref) => { - if (!ref.current) return null; - const observer = new ResizeObserver(callback); - observer.observe(ref.current); - return observer; - }); - - callback(); - - return () => { - observers.forEach((observer) => observer?.disconnect()); - }; - }, dependencies); -}; - -const useImageLoader = ( - seqRef: React.RefObject, - onLoad: () => void, - dependencies: React.DependencyList, -) => { - useEffect(() => { - const images = seqRef.current?.querySelectorAll("img") ?? []; - - if (images.length === 0) { - onLoad(); - return; - } - - let remainingImages = images.length; - const handleImageLoad = () => { - remainingImages -= 1; - if (remainingImages === 0) { - onLoad(); - } - }; - - images.forEach((img) => { - const htmlImg = img as HTMLImageElement; - if (htmlImg.complete) { - handleImageLoad(); - } else { - htmlImg.addEventListener("load", handleImageLoad, { once: true }); - htmlImg.addEventListener("error", handleImageLoad, { once: true }); - } - }); - - return () => { - images.forEach((img) => { - img.removeEventListener("load", handleImageLoad); - img.removeEventListener("error", handleImageLoad); - }); - }; - }, dependencies); -}; - -const useAnimationLoop = ( - trackRef: React.RefObject, - targetVelocity: number, - seqWidth: number, - seqHeight: number, - isHovered: boolean, - hoverSpeed: number | undefined, - isVertical: boolean, -) => { - const rafRef = useRef(null); - const lastTimestampRef = useRef(null); - const offsetRef = useRef(0); - const velocityRef = useRef(0); - - useEffect(() => { - const track = trackRef.current; - if (!track) return; - - const prefersReduced = - typeof window !== "undefined" && - window.matchMedia && - window.matchMedia("(prefers-reduced-motion: reduce)").matches; - - const seqSize = isVertical ? seqHeight : seqWidth; - - if (seqSize > 0) { - offsetRef.current = ((offsetRef.current % seqSize) + seqSize) % seqSize; - const transformValue = isVertical - ? `translate3d(0, ${-offsetRef.current}px, 0)` - : `translate3d(${-offsetRef.current}px, 0, 0)`; - track.style.transform = transformValue; - } - - if (prefersReduced) { - track.style.transform = isVertical - ? "translate3d(0, 0, 0)" - : "translate3d(0, 0, 0)"; - return () => { - lastTimestampRef.current = null; - }; - } - - const animate = (timestamp: number) => { - if (lastTimestampRef.current === null) { - lastTimestampRef.current = timestamp; - } - - const deltaTime = - Math.max(0, timestamp - lastTimestampRef.current) / 1000; - lastTimestampRef.current = timestamp; - - const target = - isHovered && hoverSpeed !== undefined ? hoverSpeed : targetVelocity; - - const easingFactor = - 1 - Math.exp(-deltaTime / ANIMATION_CONFIG.SMOOTH_TAU); - velocityRef.current += (target - velocityRef.current) * easingFactor; - - if (seqSize > 0) { - let nextOffset = offsetRef.current + velocityRef.current * deltaTime; - nextOffset = ((nextOffset % seqSize) + seqSize) % seqSize; - offsetRef.current = nextOffset; - - const transformValue = isVertical - ? `translate3d(0, ${-offsetRef.current}px, 0)` - : `translate3d(${-offsetRef.current}px, 0, 0)`; - track.style.transform = transformValue; - } - - rafRef.current = requestAnimationFrame(animate); - }; - - rafRef.current = requestAnimationFrame(animate); - - return () => { - if (rafRef.current !== null) { - cancelAnimationFrame(rafRef.current); - rafRef.current = null; - } - lastTimestampRef.current = null; - }; - }, [targetVelocity, seqWidth, seqHeight, isHovered, hoverSpeed, isVertical]); -}; - -export const LogoLoop = React.memo( - ({ - logos, - speed = 120, - direction = "left", - width = "100%", - logoHeight = 28, - gap = 32, - pauseOnHover, - hoverSpeed, - fadeOut = false, - fadeOutColor, - scaleOnHover = false, - renderItem, - ariaLabel = "Partner logos", - className, - style, - }) => { - const containerRef = useRef(null); - const trackRef = useRef(null); - const seqRef = useRef(null); - - const [seqWidth, setSeqWidth] = useState(0); - const [seqHeight, setSeqHeight] = useState(0); - const [copyCount, setCopyCount] = useState( - ANIMATION_CONFIG.MIN_COPIES, - ); - const [isHovered, setIsHovered] = useState(false); - - const effectiveHoverSpeed = useMemo(() => { - if (hoverSpeed !== undefined) return hoverSpeed; - if (pauseOnHover === true) return 0; - if (pauseOnHover === false) return undefined; - return 0; - }, [hoverSpeed, pauseOnHover]); - - const isVertical = direction === "up" || direction === "down"; - - const targetVelocity = useMemo(() => { - const magnitude = Math.abs(speed); - let directionMultiplier: number; - if (isVertical) { - directionMultiplier = direction === "up" ? 1 : -1; - } else { - directionMultiplier = direction === "left" ? 1 : -1; - } - const speedMultiplier = speed < 0 ? -1 : 1; - return magnitude * directionMultiplier * speedMultiplier; - }, [speed, direction, isVertical]); - - const updateDimensions = useCallback(() => { - const containerWidth = containerRef.current?.clientWidth ?? 0; - const sequenceRect = seqRef.current?.getBoundingClientRect?.(); - const sequenceWidth = sequenceRect?.width ?? 0; - const sequenceHeight = sequenceRect?.height ?? 0; - if (isVertical) { - const parentHeight = - containerRef.current?.parentElement?.clientHeight ?? 0; - if (containerRef.current && parentHeight > 0) { - const targetHeight = Math.ceil(parentHeight); - if (containerRef.current.style.height !== `${targetHeight}px`) - containerRef.current.style.height = `${targetHeight}px`; - } - if (sequenceHeight > 0) { - setSeqHeight(Math.ceil(sequenceHeight)); - const viewport = - containerRef.current?.clientHeight ?? - parentHeight ?? - sequenceHeight; - const copiesNeeded = - Math.ceil(viewport / sequenceHeight) + - ANIMATION_CONFIG.COPY_HEADROOM; - setCopyCount(Math.max(ANIMATION_CONFIG.MIN_COPIES, copiesNeeded)); - } - } else if (sequenceWidth > 0) { - setSeqWidth(Math.ceil(sequenceWidth)); - const copiesNeeded = - Math.ceil(containerWidth / sequenceWidth) + - ANIMATION_CONFIG.COPY_HEADROOM; - setCopyCount(Math.max(ANIMATION_CONFIG.MIN_COPIES, copiesNeeded)); - } - }, [isVertical]); - - useResizeObserver( - updateDimensions, - [containerRef, seqRef], - [logos, gap, logoHeight, isVertical], - ); - - useImageLoader(seqRef, updateDimensions, [ - logos, - gap, - logoHeight, - isVertical, - ]); - - useAnimationLoop( - trackRef, - targetVelocity, - seqWidth, - seqHeight, - isHovered, - effectiveHoverSpeed, - isVertical, - ); - - const cssVariables = useMemo( - () => - ({ - "--logoloop-gap": `${gap}px`, - "--logoloop-logoHeight": `${logoHeight}px`, - ...(fadeOutColor && { "--logoloop-fadeColor": fadeOutColor }), - }) as React.CSSProperties, - [gap, logoHeight, fadeOutColor], - ); - - const rootClasses = useMemo( - () => - cx( - "relative group", - isVertical - ? "overflow-hidden h-full inline-block" - : "overflow-x-hidden", - "[--logoloop-gap:32px]", - "[--logoloop-logoHeight:28px]", - "[--logoloop-fadeColorAuto:#ffffff]", - "dark:[--logoloop-fadeColorAuto:#0b0b0b]", - scaleOnHover && "py-[calc(var(--logoloop-logoHeight)*0.1)]", - className, - ), - [isVertical, scaleOnHover, className], - ); - - const handleMouseEnter = useCallback(() => { - if (effectiveHoverSpeed !== undefined) setIsHovered(true); - }, [effectiveHoverSpeed]); - const handleMouseLeave = useCallback(() => { - if (effectiveHoverSpeed !== undefined) setIsHovered(false); - }, [effectiveHoverSpeed]); - - const renderLogoItem = useCallback( - (item: LogoItem, key: React.Key) => { - if (renderItem) { - return ( -
  • - {renderItem(item, key)} -
  • - ); - } - - const isNodeItem = "node" in item; - - const content = isNodeItem ? ( - - {(item as any).node} - - ) : ( - {(item - ); - - const itemAriaLabel = isNodeItem - ? ((item as any).ariaLabel ?? (item as any).title) - : ((item as any).alt ?? (item as any).title); - - const inner = (item as any).href ? ( - - {content} - - ) : ( - content - ); - - return ( -
  • - {inner} -
  • - ); - }, - [isVertical, scaleOnHover, renderItem], - ); - - const logoLists = useMemo( - () => - Array.from({ length: copyCount }, (_, copyIndex) => ( -
      0} - ref={copyIndex === 0 ? seqRef : undefined} - > - {logos.map((item, itemIndex) => - renderLogoItem(item, `${copyIndex}-${itemIndex}`), - )} -
    - )), - [copyCount, logos, renderLogoItem, isVertical], - ); - - const containerStyle = useMemo( - (): React.CSSProperties => ({ - width: isVertical - ? toCssLength(width) === "100%" - ? undefined - : toCssLength(width) - : (toCssLength(width) ?? "100%"), - ...cssVariables, - ...style, - }), - [width, cssVariables, style, isVertical], - ); - - return ( -
    - {fadeOut && ( - <> - {isVertical ? ( - <> -
    -
    - - ) : ( - <> -
    -
    - - )} - - )} - -
    - {logoLists} -
    -
    - ); - }, -); - -LogoLoop.displayName = "LogoLoop"; - -export default LogoLoop; diff --git a/src/components/MagicBento.tsx b/src/components/MagicBento.tsx index e6c3add..0027d8e 100644 --- a/src/components/MagicBento.tsx +++ b/src/components/MagicBento.tsx @@ -3,11 +3,13 @@ import React, { useRef, useEffect, useCallback } from "react"; import { useNavigate } from "react-router-dom"; import { gsap } from "gsap"; +import DiagonalImageStrip from "./DiagonalImageStrip"; // --- Interfaces --- export interface CardDataItem { title: string; - image: string; + image?: string; + images?: string[]; description: string; label: string; link: string; @@ -30,48 +32,53 @@ export interface MagicBentoProps { const DEFAULT_GLOW_COLOR = "183, 28, 28"; const cardData: CardDataItem[] = [ - { - title: "Metz Campus", - image: "/images/projects/Metz-Campus.webp", - description: "Web platform for students.", - label: "WordPress Web site", - link: "https://metzcampus.fr", - }, { title: "Coeur UA PAM", - image: "/images/projects/Coeur-UA-PAM.webp", + image: "/images/projects/static-sites/Coeur-UA-PAM.webp", description: "Web site of the Coeur UA PAM association.", - label: "React Web site", + label: "Static Website", link: "https://coeur-ua-pam.org/", }, + { + title: "Ensemble Scolaire Jean XXIII", + images: [ + "/images/projects/web-applications/j23/J23-Defi6e.webp", + "/images/projects/web-applications/j23/J23-CRM.webp", + "/images/projects/web-applications/j23/J23-Inventory.webp", + ], + description: "Three applications developed during my internship.", + label: "Web Application", + link: "/projects/ensemble-scolaire-jean-xxiii", + }, { title: "About Co Hai Se", - image: "/images/cohaise/cohaise.webp", + image: "/images/projects/web-applications/cohaise.webp", description: "Crafting the Web of Your Ambitions.", label: "Identity", - link: "/cohaise", + link: "https://cohaise.dev", }, { title: "Projects", - image: "/images/projects/Projects.webp", + image: "/images/projects/static-sites/Projects.webp", description: "Discover who am i by my creations.", label: "Identity", link: "/projects", }, { title: "Затишок", - image: "/images/projects/Zatyshok.webp", + image: "/images/projects/web-applications/Zatyshok.webp", description: "Moodboard/Planner highly customisable application developed with love !", - label: "Desktop App", + label: "Web Application", link: "/projects/zatyshok", }, { - title: "Shadow Purge", - image: "/images/projects/SPRotD.webp", - description: "Hack n'slash RPG.", + title: "Overclock//Uprising", + image: "/images/projects/game-dev/ovup/OvUp-Menu.webp", + description: + "Die & retry 3D platformer game in a cyberpunk aesthetic made with Unity.", label: "Gamedev", - link: "/projects/shadow-purge-rite-of-the-demon", + link: "/projects/overclock-uprising", }, ]; @@ -191,12 +198,21 @@ const ParticleCard: React.FC<{
    onClick(card.link)} - className={`cursor-target group relative flex flex-col justify-between aspect-4/3 min-h-55 w-full p-6 rounded-[20px] border border-[#1a0505] bg-[#050000] bg-cover bg-center overflow-hidden transition-all duration-300 z-10 hover:-translate-y-1 hover:shadow-[0_0_30px_rgba(183,28,28,0.2)] ${className}`} - style={{ - backgroundImage: `url(${card.image})`, - transformStyle: "preserve-3d", - }} + className={`cursor-target group relative flex flex-col justify-between aspect-4/3 min-h-55 w-full p-6 rounded-[20px] border border-[#1a0505] bg-[#050000] overflow-hidden transition-all duration-300 z-10 hover:-translate-y-1 hover:shadow-[0_0_30px_rgba(183,28,28,0.2)] ${className}`} + style={ + card.image && !card.images + ? { + backgroundImage: `url(${card.image})`, + backgroundSize: "cover", + backgroundPosition: "center", + transformStyle: "preserve-3d", + } + : { transformStyle: "preserve-3d" } + } > + {card.images ? ( + + ) : null}
    {enableBorderGlow && ( @@ -257,7 +273,7 @@ export default function MagicBento({ return (
    -
    +
    {cardData.map((card, i) => ( - - -
    -

    - 404 -

    -

    - Coordinates Not Found -

    + +
    + + You've reached the edge of the known universe. This page has drifted + away or never existed in this galaxy. + - - You've reached the edge of the known universe. This page has drifted - away or never existed in this galaxy. - - - - Back to Home - -
    - -
    + + Back to Home + +
    + ); } diff --git a/src/components/SEO.tsx b/src/components/SEO.tsx index 446295e..7c27fc3 100644 --- a/src/components/SEO.tsx +++ b/src/components/SEO.tsx @@ -12,7 +12,7 @@ interface SEOProps { const SEO: React.FC = ({ title, description, - image = "/images/Esiah-s-Universe.webp", + image = "/images/projects/static-sites/Esiah-s-Universe.webp", favicon = "/images/logo.webp", url = typeof window !== "undefined" ? window.location.href : "", type = "website", diff --git a/src/components/ScrollToTop.tsx b/src/components/ScrollToTop.tsx index d1adaa1..d502aa0 100644 --- a/src/components/ScrollToTop.tsx +++ b/src/components/ScrollToTop.tsx @@ -1,12 +1,43 @@ -import { useEffect } from "react"; -import { useLocation } from "react-router-dom"; +import { useEffect, useLayoutEffect } from "react"; +import { useLocation, useNavigationType } from "react-router-dom"; + +/* Saut instantané : un scroll animé est annulé par le refresh de ScrollTrigger + triggered par le changement de page, ce qui laissait la page à mi-hauteur. */ +const jumpToTop = () => { + const root = document.documentElement; + const previous = root.style.scrollBehavior; + + root.style.scrollBehavior = "auto"; + window.scrollTo(0, 0); + root.style.scrollBehavior = previous; +}; export default function ScrollToTop() { const { pathname } = useLocation(); + const navigationType = useNavigationType(); useEffect(() => { - window.scrollTo(0, 0); - }, [pathname]); + jumpToTop(); + }, []); + + useLayoutEffect(() => { + // Les navigations POP (retour/avance) gardent la position restaurée + // par le navigateur, les autres reviennent en haut de la page. + if (navigationType === "POP") return; + + jumpToTop(); + + const frame = requestAnimationFrame(() => { + jumpToTop(); + requestAnimationFrame(jumpToTop); + }); + const timer = window.setTimeout(jumpToTop, 120); + + return () => { + cancelAnimationFrame(frame); + window.clearTimeout(timer); + }; + }, [pathname, navigationType]); return null; } diff --git a/src/components/backgrounds/BackgroundWrapper.tsx b/src/components/backgrounds/BackgroundWrapper.tsx index 9cf4344..4354991 100644 --- a/src/components/backgrounds/BackgroundWrapper.tsx +++ b/src/components/backgrounds/BackgroundWrapper.tsx @@ -1,73 +1,45 @@ import { useLocation } from "react-router-dom"; import Galaxy from "./Galaxy"; -import LightPillar from "./LightPillar"; -import SplashCursor from "../cursors/SplashCursor"; import TargetCursor from "../cursors/TargetCursor"; export default function BackgroundWrapper() { const location = useLocation(); - const isCohaise = location.pathname === "/cohaise"; const isHome = location.pathname === "/"; return ( <>
    - {isCohaise ? ( - - ) : ( - - )} +
    - {isCohaise ? ( -
    - -
    - ) : ( -
    - -
    - )} +
    + +
    ); diff --git a/src/components/backgrounds/LightPillar.tsx b/src/components/backgrounds/LightPillar.tsx deleted file mode 100644 index ecb4161..0000000 --- a/src/components/backgrounds/LightPillar.tsx +++ /dev/null @@ -1,355 +0,0 @@ -import React, { useRef, useEffect, useState, CSSProperties } from "react"; -import * as THREE from "three"; - -interface LightPillarProps { - topColor?: string; - bottomColor?: string; - intensity?: number; - rotationSpeed?: number; - interactive?: boolean; - className?: string; - glowAmount?: number; - pillarWidth?: number; - pillarHeight?: number; - noiseIntensity?: number; - mixBlendMode?: CSSProperties["mixBlendMode"]; - pillarRotation?: number; - quality?: "low" | "medium" | "high"; -} - -const LightPillar: React.FC = ({ - topColor = "#5227FF", - bottomColor = "#FF9FFC", - intensity = 1.0, - rotationSpeed = 0.6, - interactive = true, - className = "", - glowAmount = 0.005, - pillarWidth = 3.0, - pillarHeight = 0.4, - noiseIntensity = 0.5, - mixBlendMode = "screen", - pillarRotation = 0, - quality = "high", -}) => { - const containerRef = useRef(null); - const rendererRef = useRef(null); - const materialRef = useRef(null); - const sceneRef = useRef(null); - const cameraRef = useRef(null); - const geometryRef = useRef(null); - const mouseRef = useRef(new THREE.Vector2(0, 0)); - const timeRef = useRef(0); - const rafRef = useRef(null); - const [opacity, setOpacity] = useState(0); - - const [webGLSupported, setWebGLSupported] = useState(() => { - try { - const canvas = document.createElement("canvas"); - return !!( - window.WebGLRenderingContext && - (canvas.getContext("webgl") || canvas.getContext("experimental-webgl")) - ); - } catch { - return false; - } - }); - - useEffect(() => { - if (!containerRef.current || !webGLSupported) return; - - const isMobile = - /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( - navigator.userAgent, - ); - const effectiveQuality = - isMobile && quality === "high" ? "medium" : quality; - const effectivelyInteractive = interactive && !isMobile; - - const container = containerRef.current; - const width = container.clientWidth; - const height = container.clientHeight; - - const scene = new THREE.Scene(); - sceneRef.current = scene; - const camera = new THREE.OrthographicCamera(-1, 1, 1, -1, 0, 1); - cameraRef.current = camera; - - type QualityConfig = { - iterations: number; - waveIterations: number; - pixelRatio: number; - precision: "mediump" | "highp"; - stepMultiplier: number; - }; - - const qualitySettings: Record<"low" | "medium" | "high", QualityConfig> = { - low: { - iterations: 24, - waveIterations: 1, - pixelRatio: 0.5, - precision: "mediump", - stepMultiplier: 1.5, - }, - medium: { - iterations: 40, - waveIterations: 3, - pixelRatio: 0.65, - precision: "highp", - stepMultiplier: 1.2, - }, - high: { - iterations: 70, - waveIterations: 4, - pixelRatio: Math.min(window.devicePixelRatio, 1.5), - precision: "highp", - stepMultiplier: 1.0, - }, - }; - - const settings = - qualitySettings[effectiveQuality] || qualitySettings.medium; - - let renderer: THREE.WebGLRenderer; - try { - renderer = new THREE.WebGLRenderer({ - antialias: false, - alpha: true, - powerPreference: - effectiveQuality === "high" ? "high-performance" : "low-power", - precision: settings.precision, - stencil: false, - depth: false, - }); - } catch { - setTimeout(() => setWebGLSupported(false), 0); - return; - } - setTimeout(() => setOpacity(1), 100); - - renderer.setSize(width, height); - renderer.setPixelRatio(settings.pixelRatio); - container.appendChild(renderer.domElement); - rendererRef.current = renderer; - - const parseColor = (hex: string) => { - const color = new THREE.Color(hex); - return new THREE.Vector3(color.r, color.g, color.b); - }; - - const vertexShader = ` - varying vec2 vUv; - void main() { - vUv = uv; - gl_Position = vec4(position, 1.0); - } - `; - - const fragmentShader = ` - precision ${settings.precision} float; - uniform float uTime; - uniform vec2 uResolution; - uniform vec2 uMouse; - uniform vec3 uTopColor; - uniform vec3 uBottomColor; - uniform float uIntensity; - uniform bool uInteractive; - uniform float uGlowAmount; - uniform float uPillarWidth; - uniform float uPillarHeight; - uniform float uNoiseIntensity; - uniform float uRotCos; - uniform float uRotSin; - uniform float uPillarRotCos; - uniform float uPillarRotSin; - uniform float uWaveSin; - uniform float uWaveCos; - varying vec2 vUv; - - const float STEP_MULT = ${settings.stepMultiplier.toFixed(1)}; - const int MAX_ITER = ${settings.iterations}; - const int WAVE_ITER = ${settings.waveIterations}; - - void main() { - vec2 uv = vUv * 2.0 - 1.0; - float aspect = uResolution.x / uResolution.y; - if (aspect > 1.0) uv.x *= aspect; else uv.y /= aspect; - - uv = vec2(uPillarRotCos * uv.x - uPillarRotSin * uv.y, uPillarRotSin * uv.x + uPillarRotCos * uv.y); - vec3 ro = vec3(0.0, 0.0, -10.0); - vec3 rd = normalize(vec3(uv, 1.0)); - - float rotC = uRotCos; - float rotS = uRotSin; - - if(uInteractive && (uMouse.x != 0.0 || uMouse.y != 0.0)) { - float a = uMouse.x * 3.14159; - rotC = cos(a); - rotS = sin(a); - } - - vec3 col = vec3(0.0); - float t = 0.1; - for(int i = 0; i < MAX_ITER; i++) { - vec3 p = ro + rd * t; - p.xz = vec2(rotC * p.x - rotS * p.z, rotS * p.x + rotC * p.z); - vec3 q = p; - q.y = p.y * uPillarHeight + uTime; - float freq = 1.0; float amp = 1.0; - for(int j = 0; j < WAVE_ITER; j++) { - q.xz = vec2(uWaveCos * q.x - uWaveSin * q.z, uWaveSin * q.x + uWaveCos * q.z); - q += cos(q.zxy * freq - uTime * float(j) * 2.0) * amp; - freq *= 2.0; amp *= 0.5; - } - float d = length(cos(q.xz)) - 0.2; - float bound = length(p.xz) - uPillarWidth; - float k = 4.0; - float h = max(k - abs(d - bound), 0.0); - d = max(d, bound) + h * h * 0.0625 / k; - d = abs(d) * 0.15 + 0.01; - float grad = clamp((15.0 - p.y) / 30.0, 0.0, 1.0); - col += mix(uBottomColor, uTopColor, grad) / d; - t += d * STEP_MULT; - if(t > 50.0) break; - } - float widthNorm = uPillarWidth / 3.0; - col = tanh(col * uGlowAmount / widthNorm); - col -= fract(sin(dot(gl_FragCoord.xy, vec2(12.9898, 78.233))) * 43758.5453) / 15.0 * uNoiseIntensity; - gl_FragColor = vec4(col * uIntensity, 1.0); - } - `; - - const pillarRotRad = (pillarRotation * Math.PI) / 180; - const material = new THREE.ShaderMaterial({ - vertexShader, - fragmentShader, - uniforms: { - uTime: { value: 0 }, - uResolution: { value: new THREE.Vector2(width, height) }, - uMouse: { value: mouseRef.current }, - uTopColor: { value: parseColor(topColor) }, - uBottomColor: { value: parseColor(bottomColor) }, - uIntensity: { value: intensity }, - uInteractive: { value: effectivelyInteractive }, - uGlowAmount: { value: glowAmount }, - uPillarWidth: { value: pillarWidth }, - uPillarHeight: { value: pillarHeight }, - uNoiseIntensity: { value: noiseIntensity }, - uRotCos: { value: 1.0 }, - uRotSin: { value: 0.0 }, - uPillarRotCos: { value: Math.cos(pillarRotRad) }, - uPillarRotSin: { value: Math.sin(pillarRotRad) }, - uWaveSin: { value: Math.sin(0.4) }, - uWaveCos: { value: Math.cos(0.4) }, - }, - transparent: true, - depthWrite: false, - depthTest: false, - }); - materialRef.current = material; - - const geometry = new THREE.PlaneGeometry(2, 2); - geometryRef.current = geometry; - const mesh = new THREE.Mesh(geometry, material); - scene.add(mesh); - - const handleMouseMove = (event: MouseEvent) => { - if (!effectivelyInteractive) return; - const x = (event.clientX / window.innerWidth) * 2 - 1; - const y = -(event.clientY / window.innerHeight) * 2 + 1; - mouseRef.current.set(x, y); - }; - - if (effectivelyInteractive) { - window.addEventListener("mousemove", handleMouseMove, { passive: true }); - } - - let lastTime = performance.now(); - const animate = (currentTime: number) => { - if ( - !materialRef.current || - !rendererRef.current || - !sceneRef.current || - !cameraRef.current - ) - return; - - const deltaTime = currentTime - lastTime; - if (deltaTime >= 16.6) { - timeRef.current += 0.016 * rotationSpeed; - const t = timeRef.current; - materialRef.current.uniforms.uTime.value = t; - if (!effectivelyInteractive) { - materialRef.current.uniforms.uRotCos.value = Math.cos(t * 0.6); - materialRef.current.uniforms.uRotSin.value = Math.sin(t * 0.6); - } - rendererRef.current.render(sceneRef.current, cameraRef.current); - lastTime = currentTime - (deltaTime % 16.6); - } - rafRef.current = requestAnimationFrame(animate); - }; - rafRef.current = requestAnimationFrame(animate); - - const handleResize = () => { - if (!rendererRef.current || !materialRef.current || !containerRef.current) - return; - const newWidth = containerRef.current.clientWidth; - const newHeight = containerRef.current.clientHeight; - rendererRef.current.setSize(newWidth, newHeight); - materialRef.current.uniforms.uResolution.value.set(newWidth, newHeight); - }; - - window.addEventListener("resize", handleResize, { passive: true }); - - return () => { - window.removeEventListener("resize", handleResize); - if (effectivelyInteractive) - window.removeEventListener("mousemove", handleMouseMove); - if (rafRef.current) cancelAnimationFrame(rafRef.current); - if (rendererRef.current) { - rendererRef.current.dispose(); - if (container.contains(rendererRef.current.domElement)) - container.removeChild(rendererRef.current.domElement); - } - if (materialRef.current) materialRef.current.dispose(); - if (geometryRef.current) geometryRef.current.dispose(); - }; - }, [ - topColor, - bottomColor, - intensity, - rotationSpeed, - interactive, - glowAmount, - pillarWidth, - pillarHeight, - noiseIntensity, - pillarRotation, - webGLSupported, - quality, - ]); - - if (!webGLSupported) - return ( -
    - WebGL not supported -
    - ); - - return ( -
    - ); -}; - -export default LightPillar; diff --git a/src/components/cursors/SplashCursor.tsx b/src/components/cursors/SplashCursor.tsx deleted file mode 100644 index 6d1610a..0000000 --- a/src/components/cursors/SplashCursor.tsx +++ /dev/null @@ -1,1521 +0,0 @@ -"use client"; -import React, { useEffect, useRef } from "react"; - -interface ColorRGB { - r: number; - g: number; - b: number; -} - -interface SplashCursorProps { - SIM_RESOLUTION?: number; - DYE_RESOLUTION?: number; - CAPTURE_RESOLUTION?: number; - DENSITY_DISSIPATION?: number; - VELOCITY_DISSIPATION?: number; - PRESSURE?: number; - PRESSURE_ITERATIONS?: number; - CURL?: number; - SPLAT_RADIUS?: number; - SPLAT_FORCE?: number; - SHADING?: boolean; - COLOR_UPDATE_SPEED?: number; - BACK_COLOR?: ColorRGB; - TRANSPARENT?: boolean; -} - -interface Pointer { - id: number; - texcoordX: number; - texcoordY: number; - prevTexcoordX: number; - prevTexcoordY: number; - deltaX: number; - deltaY: number; - down: boolean; - moved: boolean; - color: ColorRGB; -} - -function pointerPrototype(): Pointer { - return { - id: -1, - texcoordX: 0, - texcoordY: 0, - prevTexcoordX: 0, - prevTexcoordY: 0, - deltaX: 0, - deltaY: 0, - down: false, - moved: false, - color: { r: 0, g: 0, b: 0 }, - }; -} - -export default function SplashCursor({ - SIM_RESOLUTION = 128, - DYE_RESOLUTION = 1440, - CAPTURE_RESOLUTION = 512, - DENSITY_DISSIPATION = 3.5, - VELOCITY_DISSIPATION = 2, - PRESSURE = 0.1, - PRESSURE_ITERATIONS = 20, - CURL = 3, - SPLAT_RADIUS = 0.2, - SPLAT_FORCE = 6000, - SHADING = true, - COLOR_UPDATE_SPEED = 10, - BACK_COLOR = { r: 0.5, g: 0, b: 0 }, - TRANSPARENT = true, -}: SplashCursorProps) { - const canvasRef = useRef(null); - - useEffect(() => { - const canvas = canvasRef.current; - if (!canvas) return; - - let pointers: Pointer[] = [pointerPrototype()]; - - let config = { - SIM_RESOLUTION: SIM_RESOLUTION!, - DYE_RESOLUTION: DYE_RESOLUTION!, - CAPTURE_RESOLUTION: CAPTURE_RESOLUTION!, - DENSITY_DISSIPATION: DENSITY_DISSIPATION!, - VELOCITY_DISSIPATION: VELOCITY_DISSIPATION!, - PRESSURE: PRESSURE!, - PRESSURE_ITERATIONS: PRESSURE_ITERATIONS!, - CURL: CURL!, - SPLAT_RADIUS: SPLAT_RADIUS!, - SPLAT_FORCE: SPLAT_FORCE!, - SHADING, - COLOR_UPDATE_SPEED: COLOR_UPDATE_SPEED!, - PAUSED: false, - BACK_COLOR, - TRANSPARENT, - }; - - const { gl, ext } = getWebGLContext(canvas); - if (!gl || !ext) return; - - if (!ext.supportLinearFiltering) { - config.DYE_RESOLUTION = 256; - config.SHADING = false; - } - - function getWebGLContext(canvas: HTMLCanvasElement) { - const params = { - alpha: true, - depth: false, - stencil: false, - antialias: false, - preserveDrawingBuffer: false, - }; - - let gl = canvas.getContext( - "webgl2", - params, - ) as WebGL2RenderingContext | null; - - if (!gl) { - gl = (canvas.getContext("webgl", params) || - canvas.getContext( - "experimental-webgl", - params, - )) as WebGL2RenderingContext | null; - } - - if (!gl) { - throw new Error("Unable to initialize WebGL."); - } - - const isWebGL2 = "drawBuffers" in gl; - - let supportLinearFiltering = false; - let halfFloat = null; - - if (isWebGL2) { - (gl as WebGL2RenderingContext).getExtension("EXT_color_buffer_float"); - supportLinearFiltering = !!(gl as WebGL2RenderingContext).getExtension( - "OES_texture_float_linear", - ); - } else { - halfFloat = gl.getExtension("OES_texture_half_float"); - supportLinearFiltering = !!gl.getExtension( - "OES_texture_half_float_linear", - ); - } - - gl.clearColor(0, 0, 0, 1); - - const halfFloatTexType = isWebGL2 - ? (gl as WebGL2RenderingContext).HALF_FLOAT - : (halfFloat && (halfFloat as any).HALF_FLOAT_OES) || 0; - - let formatRGBA: any; - let formatRG: any; - let formatR: any; - - if (isWebGL2) { - formatRGBA = getSupportedFormat( - gl, - (gl as WebGL2RenderingContext).RGBA16F, - gl.RGBA, - halfFloatTexType, - ); - formatRG = getSupportedFormat( - gl, - (gl as WebGL2RenderingContext).RG16F, - (gl as WebGL2RenderingContext).RG, - halfFloatTexType, - ); - formatR = getSupportedFormat( - gl, - (gl as WebGL2RenderingContext).R16F, - (gl as WebGL2RenderingContext).RED, - halfFloatTexType, - ); - } else { - formatRGBA = getSupportedFormat(gl, gl.RGBA, gl.RGBA, halfFloatTexType); - formatRG = getSupportedFormat(gl, gl.RGBA, gl.RGBA, halfFloatTexType); - formatR = getSupportedFormat(gl, gl.RGBA, gl.RGBA, halfFloatTexType); - } - - return { - gl, - ext: { - formatRGBA, - formatRG, - formatR, - halfFloatTexType, - supportLinearFiltering, - }, - }; - } - - function getSupportedFormat( - gl: WebGLRenderingContext | WebGL2RenderingContext, - internalFormat: number, - format: number, - type: number, - ): { internalFormat: number; format: number } | null { - if (!supportRenderTextureFormat(gl, internalFormat, format, type)) { - if ("drawBuffers" in gl) { - const gl2 = gl as WebGL2RenderingContext; - switch (internalFormat) { - case gl2.R16F: - return getSupportedFormat(gl2, gl2.RG16F, gl2.RG, type); - case gl2.RG16F: - return getSupportedFormat(gl2, gl2.RGBA16F, gl2.RGBA, type); - default: - return null; - } - } - return null; - } - return { internalFormat, format }; - } - - function supportRenderTextureFormat( - gl: WebGLRenderingContext | WebGL2RenderingContext, - internalFormat: number, - format: number, - type: number, - ) { - const texture = gl.createTexture(); - if (!texture) return false; - - gl.bindTexture(gl.TEXTURE_2D, texture); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); - gl.texImage2D( - gl.TEXTURE_2D, - 0, - internalFormat, - 4, - 4, - 0, - format, - type, - null, - ); - - const fbo = gl.createFramebuffer(); - if (!fbo) return false; - - gl.bindFramebuffer(gl.FRAMEBUFFER, fbo); - gl.framebufferTexture2D( - gl.FRAMEBUFFER, - gl.COLOR_ATTACHMENT0, - gl.TEXTURE_2D, - texture, - 0, - ); - const status = gl.checkFramebufferStatus(gl.FRAMEBUFFER); - return status === gl.FRAMEBUFFER_COMPLETE; - } - - function hashCode(s: string) { - if (!s.length) return 0; - let hash = 0; - for (let i = 0; i < s.length; i++) { - hash = (hash << 5) - hash + s.charCodeAt(i); - hash |= 0; - } - return hash; - } - - function addKeywords(source: string, keywords: string[] | null) { - if (!keywords) return source; - let keywordsString = ""; - for (const keyword of keywords) { - keywordsString += `#define ${keyword}\n`; - } - return keywordsString + source; - } - - function compileShader( - type: number, - source: string, - keywords: string[] | null = null, - ): WebGLShader | null { - const shaderSource = addKeywords(source, keywords); - const shader = gl.createShader(type); - if (!shader) return null; - gl.shaderSource(shader, shaderSource); - gl.compileShader(shader); - if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) { - console.trace(gl.getShaderInfoLog(shader)); - } - return shader; - } - - function createProgram( - vertexShader: WebGLShader | null, - fragmentShader: WebGLShader | null, - ): WebGLProgram | null { - if (!vertexShader || !fragmentShader) return null; - const program = gl.createProgram(); - if (!program) return null; - gl.attachShader(program, vertexShader); - gl.attachShader(program, fragmentShader); - gl.linkProgram(program); - if (!gl.getProgramParameter(program, gl.LINK_STATUS)) { - console.trace(gl.getProgramInfoLog(program)); - } - return program; - } - - function getUniforms(program: WebGLProgram) { - let uniforms: Record = {}; - const uniformCount = gl.getProgramParameter(program, gl.ACTIVE_UNIFORMS); - for (let i = 0; i < uniformCount; i++) { - const uniformInfo = gl.getActiveUniform(program, i); - if (uniformInfo) { - uniforms[uniformInfo.name] = gl.getUniformLocation( - program, - uniformInfo.name, - ); - } - } - return uniforms; - } - - class Program { - program: WebGLProgram | null; - uniforms: Record; - - constructor( - vertexShader: WebGLShader | null, - fragmentShader: WebGLShader | null, - ) { - this.program = createProgram(vertexShader, fragmentShader); - this.uniforms = this.program ? getUniforms(this.program) : {}; - } - - bind() { - if (this.program) gl.useProgram(this.program); - } - } - - class Material { - vertexShader: WebGLShader | null; - fragmentShaderSource: string; - programs: Record; - activeProgram: WebGLProgram | null; - uniforms: Record; - - constructor( - vertexShader: WebGLShader | null, - fragmentShaderSource: string, - ) { - this.vertexShader = vertexShader; - this.fragmentShaderSource = fragmentShaderSource; - this.programs = {}; - this.activeProgram = null; - this.uniforms = {}; - } - - setKeywords(keywords: string[]) { - let hash = 0; - for (const kw of keywords) { - hash += hashCode(kw); - } - let program = this.programs[hash]; - if (program == null) { - const fragmentShader = compileShader( - gl.FRAGMENT_SHADER, - this.fragmentShaderSource, - keywords, - ); - program = createProgram(this.vertexShader, fragmentShader); - this.programs[hash] = program; - } - if (program === this.activeProgram) return; - if (program) { - this.uniforms = getUniforms(program); - } - this.activeProgram = program; - } - - bind() { - if (this.activeProgram) { - gl.useProgram(this.activeProgram); - } - } - } - - const baseVertexShader = compileShader( - gl.VERTEX_SHADER, - ` - precision highp float; - attribute vec2 aPosition; - varying vec2 vUv; - varying vec2 vL; - varying vec2 vR; - varying vec2 vT; - varying vec2 vB; - uniform vec2 texelSize; - - void main () { - vUv = aPosition * 0.5 + 0.5; - vL = vUv - vec2(texelSize.x, 0.0); - vR = vUv + vec2(texelSize.x, 0.0); - vT = vUv + vec2(0.0, texelSize.y); - vB = vUv - vec2(0.0, texelSize.y); - gl_Position = vec4(aPosition, 0.0, 1.0); - } - `, - ); - - const copyShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision mediump float; - precision mediump sampler2D; - varying highp vec2 vUv; - uniform sampler2D uTexture; - - void main () { - gl_FragColor = texture2D(uTexture, vUv); - } - `, - ); - - const clearShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision mediump float; - precision mediump sampler2D; - varying highp vec2 vUv; - uniform sampler2D uTexture; - uniform float value; - - void main () { - gl_FragColor = value * texture2D(uTexture, vUv); - } - `, - ); - - const displayShaderSource = ` - precision highp float; - precision highp sampler2D; - varying vec2 vUv; - varying vec2 vL; - varying vec2 vR; - varying vec2 vT; - varying vec2 vB; - uniform sampler2D uTexture; - uniform sampler2D uDithering; - uniform vec2 ditherScale; - uniform vec2 texelSize; - - vec3 linearToGamma (vec3 color) { - color = max(color, vec3(0)); - return max(1.055 * pow(color, vec3(0.416666667)) - 0.055, vec3(0)); - } - - void main () { - vec3 c = texture2D(uTexture, vUv).rgb; - #ifdef SHADING - vec3 lc = texture2D(uTexture, vL).rgb; - vec3 rc = texture2D(uTexture, vR).rgb; - vec3 tc = texture2D(uTexture, vT).rgb; - vec3 bc = texture2D(uTexture, vB).rgb; - - float dx = length(rc) - length(lc); - float dy = length(tc) - length(bc); - - vec3 n = normalize(vec3(dx, dy, length(texelSize))); - vec3 l = vec3(0.0, 0.0, 1.0); - - float diffuse = clamp(dot(n, l) + 0.7, 0.7, 1.0); - c *= diffuse; - #endif - - float a = max(c.r, max(c.g, c.b)); - gl_FragColor = vec4(c, a); - } - `; - - const splatShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision highp float; - precision highp sampler2D; - varying vec2 vUv; - uniform sampler2D uTarget; - uniform float aspectRatio; - uniform vec3 color; - uniform vec2 point; - uniform float radius; - - void main () { - vec2 p = vUv - point.xy; - p.x *= aspectRatio; - vec3 splat = exp(-dot(p, p) / radius) * color; - vec3 base = texture2D(uTarget, vUv).xyz; - gl_FragColor = vec4(base + splat, 1.0); - } - `, - ); - - const advectionShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision highp float; - precision highp sampler2D; - varying vec2 vUv; - uniform sampler2D uVelocity; - uniform sampler2D uSource; - uniform vec2 texelSize; - uniform vec2 dyeTexelSize; - uniform float dt; - uniform float dissipation; - - vec4 bilerp (sampler2D sam, vec2 uv, vec2 tsize) { - vec2 st = uv / tsize - 0.5; - vec2 iuv = floor(st); - vec2 fuv = fract(st); - - vec4 a = texture2D(sam, (iuv + vec2(0.5, 0.5)) * tsize); - vec4 b = texture2D(sam, (iuv + vec2(1.5, 0.5)) * tsize); - vec4 c = texture2D(sam, (iuv + vec2(0.5, 1.5)) * tsize); - vec4 d = texture2D(sam, (iuv + vec2(1.5, 1.5)) * tsize); - - return mix(mix(a, b, fuv.x), mix(c, d, fuv.x), fuv.y); - } - - void main () { - #ifdef MANUAL_FILTERING - vec2 coord = vUv - dt * bilerp(uVelocity, vUv, texelSize).xy * texelSize; - vec4 result = bilerp(uSource, coord, dyeTexelSize); - #else - vec2 coord = vUv - dt * texture2D(uVelocity, vUv).xy * texelSize; - vec4 result = texture2D(uSource, coord); - #endif - float decay = 1.0 + dissipation * dt; - gl_FragColor = result / decay; - } - `, - ext.supportLinearFiltering ? null : ["MANUAL_FILTERING"], - ); - - const divergenceShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision mediump float; - precision mediump sampler2D; - varying highp vec2 vUv; - varying highp vec2 vL; - varying highp vec2 vR; - varying highp vec2 vT; - varying highp vec2 vB; - uniform sampler2D uVelocity; - - void main () { - float L = texture2D(uVelocity, vL).x; - float R = texture2D(uVelocity, vR).x; - float T = texture2D(uVelocity, vT).y; - float B = texture2D(uVelocity, vB).y; - - vec2 C = texture2D(uVelocity, vUv).xy; - if (vL.x < 0.0) { L = -C.x; } - if (vR.x > 1.0) { R = -C.x; } - if (vT.y > 1.0) { T = -C.y; } - if (vB.y < 0.0) { B = -C.y; } - - float div = 0.5 * (R - L + T - B); - gl_FragColor = vec4(div, 0.0, 0.0, 1.0); - } - `, - ); - - const curlShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision mediump float; - precision mediump sampler2D; - varying highp vec2 vUv; - varying highp vec2 vL; - varying highp vec2 vR; - varying highp vec2 vT; - varying highp vec2 vB; - uniform sampler2D uVelocity; - - void main () { - float L = texture2D(uVelocity, vL).y; - float R = texture2D(uVelocity, vR).y; - float T = texture2D(uVelocity, vT).x; - float B = texture2D(uVelocity, vB).x; - float vorticity = R - L - T + B; - gl_FragColor = vec4(0.5 * vorticity, 0.0, 0.0, 1.0); - } - `, - ); - - const vorticityShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision highp float; - precision highp sampler2D; - varying vec2 vUv; - varying vec2 vL; - varying vec2 vR; - varying vec2 vT; - varying vec2 vB; - uniform sampler2D uVelocity; - uniform sampler2D uCurl; - uniform float curl; - uniform float dt; - - void main () { - float L = texture2D(uCurl, vL).x; - float R = texture2D(uCurl, vR).x; - float T = texture2D(uCurl, vT).x; - float B = texture2D(uCurl, vB).x; - float C = texture2D(uCurl, vUv).x; - - vec2 force = 0.5 * vec2(abs(T) - abs(B), abs(R) - abs(L)); - force /= length(force) + 0.0001; - force *= curl * C; - force.y *= -1.0; - - vec2 velocity = texture2D(uVelocity, vUv).xy; - velocity += force * dt; - velocity = min(max(velocity, -1000.0), 1000.0); - gl_FragColor = vec4(velocity, 0.0, 1.0); - } - `, - ); - - const pressureShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision mediump float; - precision mediump sampler2D; - varying highp vec2 vUv; - varying highp vec2 vL; - varying highp vec2 vR; - varying highp vec2 vT; - varying highp vec2 vB; - uniform sampler2D uPressure; - uniform sampler2D uDivergence; - - void main () { - float L = texture2D(uPressure, vL).x; - float R = texture2D(uPressure, vR).x; - float T = texture2D(uPressure, vT).x; - float B = texture2D(uPressure, vB).x; - float C = texture2D(uPressure, vUv).x; - float divergence = texture2D(uDivergence, vUv).x; - float pressure = (L + R + B + T - divergence) * 0.25; - gl_FragColor = vec4(pressure, 0.0, 0.0, 1.0); - } - `, - ); - - const gradientSubtractShader = compileShader( - gl.FRAGMENT_SHADER, - ` - precision mediump float; - precision mediump sampler2D; - varying highp vec2 vUv; - varying highp vec2 vL; - varying highp vec2 vR; - varying highp vec2 vT; - varying highp vec2 vB; - uniform sampler2D uPressure; - uniform sampler2D uVelocity; - - void main () { - float L = texture2D(uPressure, vL).x; - float R = texture2D(uPressure, vR).x; - float T = texture2D(uPressure, vT).x; - float B = texture2D(uPressure, vB).x; - vec2 velocity = texture2D(uVelocity, vUv).xy; - velocity.xy -= vec2(R - L, T - B); - gl_FragColor = vec4(velocity, 0.0, 1.0); - } - `, - ); - - const blit = (() => { - const buffer = gl.createBuffer()!; - gl.bindBuffer(gl.ARRAY_BUFFER, buffer); - gl.bufferData( - gl.ARRAY_BUFFER, - new Float32Array([-1, -1, -1, 1, 1, 1, 1, -1]), - gl.STATIC_DRAW, - ); - const elemBuffer = gl.createBuffer()!; - gl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, elemBuffer); - gl.bufferData( - gl.ELEMENT_ARRAY_BUFFER, - new Uint16Array([0, 1, 2, 0, 2, 3]), - gl.STATIC_DRAW, - ); - gl.vertexAttribPointer(0, 2, gl.FLOAT, false, 0, 0); - gl.enableVertexAttribArray(0); - - return (target: FBO | null, doClear = false) => { - if (!gl) return; - if (!target) { - gl.viewport(0, 0, gl.drawingBufferWidth, gl.drawingBufferHeight); - gl.bindFramebuffer(gl.FRAMEBUFFER, null); - } else { - gl.viewport(0, 0, target.width, target.height); - gl.bindFramebuffer(gl.FRAMEBUFFER, target.fbo); - } - if (doClear) { - gl.clearColor(0, 0, 0, 1); - gl.clear(gl.COLOR_BUFFER_BIT); - } - gl.drawElements(gl.TRIANGLES, 6, gl.UNSIGNED_SHORT, 0); - }; - })(); - - interface FBO { - texture: WebGLTexture; - fbo: WebGLFramebuffer; - width: number; - height: number; - texelSizeX: number; - texelSizeY: number; - attach: (id: number) => number; - } - - interface DoubleFBO { - width: number; - height: number; - texelSizeX: number; - texelSizeY: number; - read: FBO; - write: FBO; - swap: () => void; - } - - let dye: DoubleFBO; - let velocity: DoubleFBO; - let divergence: FBO; - let curl: FBO; - let pressure: DoubleFBO; - - const copyProgram = new Program(baseVertexShader, copyShader); - const clearProgram = new Program(baseVertexShader, clearShader); - const splatProgram = new Program(baseVertexShader, splatShader); - const advectionProgram = new Program(baseVertexShader, advectionShader); - const divergenceProgram = new Program(baseVertexShader, divergenceShader); - const curlProgram = new Program(baseVertexShader, curlShader); - const vorticityProgram = new Program(baseVertexShader, vorticityShader); - const pressureProgram = new Program(baseVertexShader, pressureShader); - const gradienSubtractProgram = new Program( - baseVertexShader, - gradientSubtractShader, - ); - const displayMaterial = new Material(baseVertexShader, displayShaderSource); - - function createFBO( - w: number, - h: number, - internalFormat: number, - format: number, - type: number, - param: number, - ): FBO { - gl.activeTexture(gl.TEXTURE0); - const texture = gl.createTexture()!; - gl.bindTexture(gl.TEXTURE_2D, texture); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, param); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, param); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); - gl.texImage2D( - gl.TEXTURE_2D, - 0, - internalFormat, - w, - h, - 0, - format, - type, - null, - ); - const fbo = gl.createFramebuffer()!; - gl.bindFramebuffer(gl.FRAMEBUFFER, fbo); - gl.framebufferTexture2D( - gl.FRAMEBUFFER, - gl.COLOR_ATTACHMENT0, - gl.TEXTURE_2D, - texture, - 0, - ); - gl.viewport(0, 0, w, h); - gl.clear(gl.COLOR_BUFFER_BIT); - - const texelSizeX = 1 / w; - const texelSizeY = 1 / h; - - return { - texture, - fbo, - width: w, - height: h, - texelSizeX, - texelSizeY, - attach(id: number) { - gl.activeTexture(gl.TEXTURE0 + id); - gl.bindTexture(gl.TEXTURE_2D, texture); - return id; - }, - }; - } - - function createDoubleFBO( - w: number, - h: number, - internalFormat: number, - format: number, - type: number, - param: number, - ): DoubleFBO { - const fbo1 = createFBO(w, h, internalFormat, format, type, param); - const fbo2 = createFBO(w, h, internalFormat, format, type, param); - return { - width: w, - height: h, - texelSizeX: fbo1.texelSizeX, - texelSizeY: fbo1.texelSizeY, - read: fbo1, - write: fbo2, - swap() { - const tmp = this.read; - this.read = this.write; - this.write = tmp; - }, - }; - } - - function resizeFBO( - target: FBO, - w: number, - h: number, - internalFormat: number, - format: number, - type: number, - param: number, - ) { - const newFBO = createFBO(w, h, internalFormat, format, type, param); - copyProgram.bind(); - if (copyProgram.uniforms.uTexture) - gl.uniform1i(copyProgram.uniforms.uTexture, target.attach(0)); - blit(newFBO, false); - return newFBO; - } - - function resizeDoubleFBO( - target: DoubleFBO, - w: number, - h: number, - internalFormat: number, - format: number, - type: number, - param: number, - ) { - if (target.width === w && target.height === h) return target; - target.read = resizeFBO( - target.read, - w, - h, - internalFormat, - format, - type, - param, - ); - target.write = createFBO(w, h, internalFormat, format, type, param); - target.width = w; - target.height = h; - target.texelSizeX = 1 / w; - target.texelSizeY = 1 / h; - return target; - } - - function initFramebuffers() { - const simRes = getResolution(config.SIM_RESOLUTION!); - const dyeRes = getResolution(config.DYE_RESOLUTION!); - - const texType = ext.halfFloatTexType; - const rgba = ext.formatRGBA; - const rg = ext.formatRG; - const r = ext.formatR; - const filtering = ext.supportLinearFiltering ? gl.LINEAR : gl.NEAREST; - gl.disable(gl.BLEND); - - if (!dye) { - dye = createDoubleFBO( - dyeRes.width, - dyeRes.height, - rgba.internalFormat, - rgba.format, - texType, - filtering, - ); - } else { - dye = resizeDoubleFBO( - dye, - dyeRes.width, - dyeRes.height, - rgba.internalFormat, - rgba.format, - texType, - filtering, - ); - } - - if (!velocity) { - velocity = createDoubleFBO( - simRes.width, - simRes.height, - rg.internalFormat, - rg.format, - texType, - filtering, - ); - } else { - velocity = resizeDoubleFBO( - velocity, - simRes.width, - simRes.height, - rg.internalFormat, - rg.format, - texType, - filtering, - ); - } - - divergence = createFBO( - simRes.width, - simRes.height, - r.internalFormat, - r.format, - texType, - gl.NEAREST, - ); - curl = createFBO( - simRes.width, - simRes.height, - r.internalFormat, - r.format, - texType, - gl.NEAREST, - ); - pressure = createDoubleFBO( - simRes.width, - simRes.height, - r.internalFormat, - r.format, - texType, - gl.NEAREST, - ); - } - - function updateKeywords() { - const displayKeywords: string[] = []; - if (config.SHADING) displayKeywords.push("SHADING"); - displayMaterial.setKeywords(displayKeywords); - } - - function getResolution(resolution: number) { - const w = gl.drawingBufferWidth; - const h = gl.drawingBufferHeight; - const aspectRatio = w / h; - let aspect = aspectRatio < 1 ? 1 / aspectRatio : aspectRatio; - const min = Math.round(resolution); - const max = Math.round(resolution * aspect); - if (w > h) { - return { width: max, height: min }; - } - return { width: min, height: max }; - } - - function scaleByPixelRatio(input: number) { - const pixelRatio = window.devicePixelRatio || 1; - return Math.floor(input * pixelRatio); - } - - updateKeywords(); - initFramebuffers(); - - let lastUpdateTime = Date.now(); - let colorUpdateTimer = 0.0; - - function updateFrame() { - const dt = calcDeltaTime(); - if (resizeCanvas()) initFramebuffers(); - updateColors(dt); - applyInputs(); - step(dt); - render(null); - requestAnimationFrame(updateFrame); - } - - function calcDeltaTime() { - const now = Date.now(); - let dt = (now - lastUpdateTime) / 1000; - dt = Math.min(dt, 0.016666); - lastUpdateTime = now; - return dt; - } - - function resizeCanvas() { - const width = scaleByPixelRatio(canvas!.clientWidth); - const height = scaleByPixelRatio(canvas!.clientHeight); - if (canvas!.width !== width || canvas!.height !== height) { - canvas!.width = width; - canvas!.height = height; - return true; - } - return false; - } - - function updateColors(dt: number) { - colorUpdateTimer += dt * config.COLOR_UPDATE_SPEED; - if (colorUpdateTimer >= 1) { - colorUpdateTimer = wrap(colorUpdateTimer, 0, 1); - pointers.forEach((p) => { - p.color = generateColor(); - }); - } - } - - function applyInputs() { - for (const p of pointers) { - if (p.moved) { - p.moved = false; - splatPointer(p); - } - } - } - - function step(dt: number) { - gl.disable(gl.BLEND); - - curlProgram.bind(); - if (curlProgram.uniforms.texelSize) { - gl.uniform2f( - curlProgram.uniforms.texelSize, - velocity.texelSizeX, - velocity.texelSizeY, - ); - } - if (curlProgram.uniforms.uVelocity) { - gl.uniform1i(curlProgram.uniforms.uVelocity, velocity.read.attach(0)); - } - blit(curl); - - vorticityProgram.bind(); - if (vorticityProgram.uniforms.texelSize) { - gl.uniform2f( - vorticityProgram.uniforms.texelSize, - velocity.texelSizeX, - velocity.texelSizeY, - ); - } - if (vorticityProgram.uniforms.uVelocity) { - gl.uniform1i( - vorticityProgram.uniforms.uVelocity, - velocity.read.attach(0), - ); - } - if (vorticityProgram.uniforms.uCurl) { - gl.uniform1i(vorticityProgram.uniforms.uCurl, curl.attach(1)); - } - if (vorticityProgram.uniforms.curl) { - gl.uniform1f(vorticityProgram.uniforms.curl, config.CURL); - } - if (vorticityProgram.uniforms.dt) { - gl.uniform1f(vorticityProgram.uniforms.dt, dt); - } - blit(velocity.write); - velocity.swap(); - - divergenceProgram.bind(); - if (divergenceProgram.uniforms.texelSize) { - gl.uniform2f( - divergenceProgram.uniforms.texelSize, - velocity.texelSizeX, - velocity.texelSizeY, - ); - } - if (divergenceProgram.uniforms.uVelocity) { - gl.uniform1i( - divergenceProgram.uniforms.uVelocity, - velocity.read.attach(0), - ); - } - blit(divergence); - - clearProgram.bind(); - if (clearProgram.uniforms.uTexture) { - gl.uniform1i(clearProgram.uniforms.uTexture, pressure.read.attach(0)); - } - if (clearProgram.uniforms.value) { - gl.uniform1f(clearProgram.uniforms.value, config.PRESSURE); - } - blit(pressure.write); - pressure.swap(); - - pressureProgram.bind(); - if (pressureProgram.uniforms.texelSize) { - gl.uniform2f( - pressureProgram.uniforms.texelSize, - velocity.texelSizeX, - velocity.texelSizeY, - ); - } - if (pressureProgram.uniforms.uDivergence) { - gl.uniform1i( - pressureProgram.uniforms.uDivergence, - divergence.attach(0), - ); - } - for (let i = 0; i < config.PRESSURE_ITERATIONS; i++) { - if (pressureProgram.uniforms.uPressure) { - gl.uniform1i( - pressureProgram.uniforms.uPressure, - pressure.read.attach(1), - ); - } - blit(pressure.write); - pressure.swap(); - } - - gradienSubtractProgram.bind(); - if (gradienSubtractProgram.uniforms.texelSize) { - gl.uniform2f( - gradienSubtractProgram.uniforms.texelSize, - velocity.texelSizeX, - velocity.texelSizeY, - ); - } - if (gradienSubtractProgram.uniforms.uPressure) { - gl.uniform1i( - gradienSubtractProgram.uniforms.uPressure, - pressure.read.attach(0), - ); - } - if (gradienSubtractProgram.uniforms.uVelocity) { - gl.uniform1i( - gradienSubtractProgram.uniforms.uVelocity, - velocity.read.attach(1), - ); - } - blit(velocity.write); - velocity.swap(); - - advectionProgram.bind(); - if (advectionProgram.uniforms.texelSize) { - gl.uniform2f( - advectionProgram.uniforms.texelSize, - velocity.texelSizeX, - velocity.texelSizeY, - ); - } - if ( - !ext.supportLinearFiltering && - advectionProgram.uniforms.dyeTexelSize - ) { - gl.uniform2f( - advectionProgram.uniforms.dyeTexelSize, - velocity.texelSizeX, - velocity.texelSizeY, - ); - } - const velocityId = velocity.read.attach(0); - if (advectionProgram.uniforms.uVelocity) { - gl.uniform1i(advectionProgram.uniforms.uVelocity, velocityId); - } - if (advectionProgram.uniforms.uSource) { - gl.uniform1i(advectionProgram.uniforms.uSource, velocityId); - } - if (advectionProgram.uniforms.dt) { - gl.uniform1f(advectionProgram.uniforms.dt, dt); - } - if (advectionProgram.uniforms.dissipation) { - gl.uniform1f( - advectionProgram.uniforms.dissipation, - config.VELOCITY_DISSIPATION, - ); - } - blit(velocity.write); - velocity.swap(); - - if ( - !ext.supportLinearFiltering && - advectionProgram.uniforms.dyeTexelSize - ) { - gl.uniform2f( - advectionProgram.uniforms.dyeTexelSize, - dye.texelSizeX, - dye.texelSizeY, - ); - } - if (advectionProgram.uniforms.uVelocity) { - gl.uniform1i( - advectionProgram.uniforms.uVelocity, - velocity.read.attach(0), - ); - } - if (advectionProgram.uniforms.uSource) { - gl.uniform1i(advectionProgram.uniforms.uSource, dye.read.attach(1)); - } - if (advectionProgram.uniforms.dissipation) { - gl.uniform1f( - advectionProgram.uniforms.dissipation, - config.DENSITY_DISSIPATION, - ); - } - blit(dye.write); - dye.swap(); - } - - function render(target: FBO | null) { - gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA); - gl.enable(gl.BLEND); - drawDisplay(target); - } - - function drawDisplay(target: FBO | null) { - const width = target ? target.width : gl.drawingBufferWidth; - const height = target ? target.height : gl.drawingBufferHeight; - displayMaterial.bind(); - if (config.SHADING && displayMaterial.uniforms.texelSize) { - gl.uniform2f(displayMaterial.uniforms.texelSize, 1 / width, 1 / height); - } - if (displayMaterial.uniforms.uTexture) { - gl.uniform1i(displayMaterial.uniforms.uTexture, dye.read.attach(0)); - } - blit(target, false); - } - - function splatPointer(pointer: Pointer) { - const dx = pointer.deltaX * config.SPLAT_FORCE; - const dy = pointer.deltaY * config.SPLAT_FORCE; - splat(pointer.texcoordX, pointer.texcoordY, dx, dy, pointer.color); - } - - function clickSplat(pointer: Pointer) { - const color = generateColor(); - color.r *= 10; - color.g *= 10; - color.b *= 10; - const dx = 10 * (Math.random() - 0.5); - const dy = 30 * (Math.random() - 0.5); - splat(pointer.texcoordX, pointer.texcoordY, dx, dy, color); - } - - function splat( - x: number, - y: number, - dx: number, - dy: number, - color: ColorRGB, - ) { - splatProgram.bind(); - if (splatProgram.uniforms.uTarget) { - gl.uniform1i(splatProgram.uniforms.uTarget, velocity.read.attach(0)); - } - if (splatProgram.uniforms.aspectRatio) { - gl.uniform1f( - splatProgram.uniforms.aspectRatio, - canvas!.width / canvas!.height, - ); - } - if (splatProgram.uniforms.point) { - gl.uniform2f(splatProgram.uniforms.point, x, y); - } - if (splatProgram.uniforms.color) { - gl.uniform3f(splatProgram.uniforms.color, dx, dy, 0); - } - if (splatProgram.uniforms.radius) { - gl.uniform1f( - splatProgram.uniforms.radius, - correctRadius(config.SPLAT_RADIUS / 100)!, - ); - } - blit(velocity.write); - velocity.swap(); - - if (splatProgram.uniforms.uTarget) { - gl.uniform1i(splatProgram.uniforms.uTarget, dye.read.attach(0)); - } - if (splatProgram.uniforms.color) { - gl.uniform3f(splatProgram.uniforms.color, color.r, color.g, color.b); - } - blit(dye.write); - dye.swap(); - } - - function correctRadius(radius: number) { - const aspectRatio = canvas!.width / canvas!.height; - if (aspectRatio > 1) radius *= aspectRatio; - return radius; - } - - function updatePointerDownData( - pointer: Pointer, - id: number, - posX: number, - posY: number, - ) { - pointer.id = id; - pointer.down = true; - pointer.moved = false; - pointer.texcoordX = posX / canvas!.width; - pointer.texcoordY = 1 - posY / canvas!.height; - pointer.prevTexcoordX = pointer.texcoordX; - pointer.prevTexcoordY = pointer.texcoordY; - pointer.deltaX = 0; - pointer.deltaY = 0; - pointer.color = generateColor(); - } - - function updatePointerMoveData( - pointer: Pointer, - posX: number, - posY: number, - color: ColorRGB, - ) { - pointer.prevTexcoordX = pointer.texcoordX; - pointer.prevTexcoordY = pointer.texcoordY; - pointer.texcoordX = posX / canvas!.width; - pointer.texcoordY = 1 - posY / canvas!.height; - pointer.deltaX = correctDeltaX( - pointer.texcoordX - pointer.prevTexcoordX, - )!; - pointer.deltaY = correctDeltaY( - pointer.texcoordY - pointer.prevTexcoordY, - )!; - pointer.moved = - Math.abs(pointer.deltaX) > 0 || Math.abs(pointer.deltaY) > 0; - pointer.color = color; - } - - function updatePointerUpData(pointer: Pointer) { - pointer.down = false; - } - - function correctDeltaX(delta: number) { - const aspectRatio = canvas!.width / canvas!.height; - if (aspectRatio < 1) delta *= aspectRatio; - return delta; - } - - function correctDeltaY(delta: number) { - const aspectRatio = canvas!.width / canvas!.height; - if (aspectRatio > 1) delta /= aspectRatio; - return delta; - } - - function generateColor(): ColorRGB { - const c = HSVtoRGB(Math.random(), 1.0, 1.0); - c.r *= 0.15; - c.g *= 0.15; - c.b *= 0.15; - return c; - } - - function HSVtoRGB(h: number, s: number, v: number): ColorRGB { - let r = 0, - g = 0, - b = 0; - const i = Math.floor(h * 6); - const f = h * 6 - i; - const p = v * (1 - s); - const q = v * (1 - f * s); - const t = v * (1 - (1 - f) * s); - - switch (i % 6) { - case 0: - r = v; - g = t; - b = p; - break; - case 1: - r = q; - g = v; - b = p; - break; - case 2: - r = p; - g = v; - b = t; - break; - case 3: - r = p; - g = q; - b = v; - break; - case 4: - r = t; - g = p; - b = v; - break; - case 5: - r = v; - g = p; - b = q; - break; - } - return { r, g, b }; - } - - function wrap(value: number, min: number, max: number) { - const range = max - min; - if (range === 0) return min; - return ((value - min) % range) + min; - } - - window.addEventListener("mousedown", (e) => { - const pointer = pointers[0]; - const posX = scaleByPixelRatio(e.clientX); - const posY = scaleByPixelRatio(e.clientY); - updatePointerDownData(pointer, -1, posX, posY); - clickSplat(pointer); - }); - - function handleFirstMouseMove(e: MouseEvent) { - const pointer = pointers[0]; - const posX = scaleByPixelRatio(e.clientX); - const posY = scaleByPixelRatio(e.clientY); - const color = generateColor(); - updateFrame(); - updatePointerMoveData(pointer, posX, posY, color); - document.body.removeEventListener("mousemove", handleFirstMouseMove); - } - document.body.addEventListener("mousemove", handleFirstMouseMove); - - window.addEventListener("mousemove", (e) => { - const pointer = pointers[0]; - const posX = scaleByPixelRatio(e.clientX); - const posY = scaleByPixelRatio(e.clientY); - const color = pointer.color; - updatePointerMoveData(pointer, posX, posY, color); - }); - - function handleFirstTouchStart(e: TouchEvent) { - const touches = e.targetTouches; - const pointer = pointers[0]; - for (let i = 0; i < touches.length; i++) { - const posX = scaleByPixelRatio(touches[i].clientX); - const posY = scaleByPixelRatio(touches[i].clientY); - updateFrame(); - updatePointerDownData(pointer, touches[i].identifier, posX, posY); - } - document.body.removeEventListener("touchstart", handleFirstTouchStart); - } - document.body.addEventListener("touchstart", handleFirstTouchStart); - - window.addEventListener( - "touchstart", - (e) => { - const touches = e.targetTouches; - const pointer = pointers[0]; - for (let i = 0; i < touches.length; i++) { - const posX = scaleByPixelRatio(touches[i].clientX); - const posY = scaleByPixelRatio(touches[i].clientY); - updatePointerDownData(pointer, touches[i].identifier, posX, posY); - } - }, - false, - ); - - window.addEventListener( - "touchmove", - (e) => { - const touches = e.targetTouches; - const pointer = pointers[0]; - for (let i = 0; i < touches.length; i++) { - const posX = scaleByPixelRatio(touches[i].clientX); - const posY = scaleByPixelRatio(touches[i].clientY); - updatePointerMoveData(pointer, posX, posY, pointer.color); - } - }, - false, - ); - - window.addEventListener("touchend", (e) => { - const touches = e.changedTouches; - const pointer = pointers[0]; - for (let i = 0; i < touches.length; i++) { - updatePointerUpData(pointer); - } - }); - }, [ - SIM_RESOLUTION, - DYE_RESOLUTION, - CAPTURE_RESOLUTION, - DENSITY_DISSIPATION, - VELOCITY_DISSIPATION, - PRESSURE, - PRESSURE_ITERATIONS, - CURL, - SPLAT_RADIUS, - SPLAT_FORCE, - SHADING, - COLOR_UPDATE_SPEED, - BACK_COLOR, - TRANSPARENT, - ]); - - return ( -
    - -
    - ); -} diff --git a/src/components/cursors/TargetCursor.tsx b/src/components/cursors/TargetCursor.tsx index 7e298ea..8939352 100644 --- a/src/components/cursors/TargetCursor.tsx +++ b/src/components/cursors/TargetCursor.tsx @@ -40,7 +40,7 @@ const TargetCursor: React.FC = ({ return (hasTouchScreen && isSmallScreen) || isMobileUserAgent; }, []); - const constants = useMemo(() => ({ borderWidth: 3, cornerSize: 12 }), []); + const constants = useMemo(() => ({ borderWidth: 3, cornerSize: 16 }), []); const moveCursor = useCallback((x: number, y: number) => { if (!cursorRef.current) return; @@ -190,16 +190,28 @@ const TargetCursor: React.FC = ({ const cursorX = gsap.getProperty(cursorRef.current, "x") as number; const cursorY = gsap.getProperty(cursorRef.current, "y") as number; + let r = rect; + if (target.classList && target.classList.contains("infinite-menu-canvas")) { + // Cadre agrandi : les angles restent hors du texte superposé au menu + const size = Math.min(rect.width, rect.height) * 0.7; + r = { + left: rect.left + (rect.width - size) / 2, + top: rect.top + (rect.height - size) / 2, + right: rect.left + (rect.width - size) / 2 + size, + bottom: rect.top + (rect.height - size) / 2 + size, + } as DOMRect; + } + targetCornerPositionsRef.current = [ - { x: rect.left - borderWidth, y: rect.top - borderWidth }, - { x: rect.right + borderWidth - cornerSize, y: rect.top - borderWidth }, + { x: r.left - borderWidth, y: r.top - borderWidth }, + { x: r.right + borderWidth - cornerSize, y: r.top - borderWidth }, { - x: rect.right + borderWidth - cornerSize, - y: rect.bottom + borderWidth - cornerSize, + x: r.right + borderWidth - cornerSize, + y: r.bottom + borderWidth - cornerSize, }, { - x: rect.left - borderWidth, - y: rect.bottom + borderWidth - cornerSize, + x: r.left - borderWidth, + y: r.bottom + borderWidth - cornerSize, }, ]; diff --git a/src/components/data/DataMenuItem.ts b/src/components/data/DataMenuItem.ts index bf5baa8..f1791cd 100644 --- a/src/components/data/DataMenuItem.ts +++ b/src/components/data/DataMenuItem.ts @@ -1,9 +1,7 @@ import { gameDevItems, - reactWebItems, - wordpressItems, - desktopAppItems, - angulartWebItems, + staticWebsiteItems, + webApplicationItems, } from "./ProjectDetails"; export interface MenuItem { @@ -14,16 +12,14 @@ export interface MenuItem { } const allDetailItems = [ + ...staticWebsiteItems, + ...webApplicationItems, ...gameDevItems, - ...reactWebItems, - ...wordpressItems, - ...desktopAppItems, - ...angulartWebItems, ]; export const projectMenuItems: MenuItem[] = [ { - image: "/images/projects/Projects.webp", + image: "/images/projects/static-sites/Projects.webp", link: "/projects", title: "All my Projects", description: "To discover all my creations", @@ -38,7 +34,7 @@ export const projectMenuItems: MenuItem[] = [ export const mainMenuItems: MenuItem[] = [ { - image: "/images/projects/Projects.webp", + image: "/images/projects/static-sites/Projects.webp", link: "/projects", title: "All my Projects", description: "To discover all my creations", @@ -50,8 +46,8 @@ export const mainMenuItems: MenuItem[] = [ description: "Any requests? Feel free to reach out!", }, { - image: "/images/cohaise/cohaise.webp", - link: "/cohaise", + image: "/images/projects/web-applications/cohaise.webp", + link: "https://cohaise.dev", title: "Co Hai Se", description: "About us", }, diff --git a/src/components/data/DownloadData.ts b/src/components/data/DownloadData.ts index 28d6ed3..f0a22e2 100644 --- a/src/components/data/DownloadData.ts +++ b/src/components/data/DownloadData.ts @@ -11,7 +11,7 @@ export const ProjectDownloads: Record = { SPRotD: { id: "SPRotD", downloadUrl: "" }, ZATYSHOK: { id: "ZATYSHOK", - downloadUrl: "https://github.com/xEsiah/zatyshok-frontend/releases", + downloadUrl: "https://github.com/xEsiah/Zatyshok/releases", }, EotLS: { id: "EotLS", downloadUrl: "" }, WYGTIWIF: { diff --git a/src/components/data/ProjectDetails.tsx b/src/components/data/ProjectDetails.tsx index e90006e..1a42688 100644 --- a/src/components/data/ProjectDetails.tsx +++ b/src/components/data/ProjectDetails.tsx @@ -1,81 +1,31 @@ -import React from "react"; import HorizontalMotion from "../HorizontalMotion"; -export const gameDevItems = [ - { - id: "6", - img: "/images/projects/Hinterraum-Cinematic.webp", - link: "/projects/hinterraum", - title: "Hinterraum", - description: - "Die & retry game where you have to escape backrooms. Project realized in 3 days for ESTIAM's 2026 GameJam.", - }, - { - id: "5", - img: "/images/projects/OvUp-Menu.webp", - link: "/projects/overclock-uprising", - title: "Overclock//Uprising", - description: - "Die & retry 3D platformer game in a cyberpunk aesthetic made with Unity.", - }, - { - id: "4", - img: "/images/projects/SPRotD.webp", - link: "/projects/shadow-purge-rite-of-the-demon", - title: "Shadow Purge : Rite of the Demon", - description: "Hack n'slash RPG made with Unity & Aseprite.", - }, - { - id: "3", - img: "/images/projects/EotLS.webp", - link: "/projects/echoes-of-the-last-stop", - title: "Echoes of the Last Stop", - description: - "Story-driven thriller game in collaboration with my partner made with Unity & Aseprite.", - }, - { - id: "2", - img: "/images/projects/NTR-Menu.webp", - link: "/projects/neo-tokyo-rush", - title: "Neo Tokyo Rush", - description: - "Cyberpunk-inspired beat 'em All game made with Unity & Aseprite.", - }, - { - id: "1", - img: "/images/projects/LesVoixDeLExil.webp", - link: "/projects/les-voix-de-l-exil", - title: "Les Voix de L'Exil", - description: - "An interactive visual novel where your choices shape the journey.", - }, -]; - -export const reactWebItems = [ - { - id: "101", - img: "/images/cohaise/cohaise.webp", - link: "/cohaise", - title: "Co Hai Se", - description: "Landing single page for my (fictionnal) compagny.", - }, - { - id: "102", - img: "/images/projects/Esiah-s-Universe.webp", - link: "/", - title: "Esiah's Universe", - description: "A journey through code, design, and imagination.", - }, +export const staticWebsiteItems = [ { id: "103", - img: "/images/projects/Coeur-UA-PAM.webp", + img: "/images/projects/static-sites/Coeur-UA-PAM.webp", link: "https://coeur-ua-pam.org/", title: "Coeur UA PAM", description: "Web site for Coeur UA PAM association.", }, + { + id: "102", + img: "/images/projects/static-sites/Esiah-s-Universe.webp", + link: "/", + title: "Esiah's Universe", + description: "A journey through code, design, and imagination.", + }, + { + id: "201", + img: "/images/projects/static-sites/Metz-Campus.webp", + link: "https://metzcampus.fr/", + title: "Metz Campus", + description: + "Website made during my 1st year internship for Metz Campus organisation.", + }, { id: "104", - img: "/images/projects/WaterDroneIoTHackathon.webp", + img: "/images/projects/static-sites/WaterDroneIoTHackathon.webp", link: "https://waterdrone.esiah.dev/", title: "WaterDrone", description: @@ -83,65 +33,118 @@ export const reactWebItems = [ }, ]; -export const wordpressItems = [ +export const webApplicationItems = [ { - id: "201", - img: "/images/projects/Metz-Campus.webp", - link: "https://metzcampus.fr/", - title: "Metz Campus", + id: "101", + img: "/images/projects/web-applications/cohaise.webp", + link: "https://cohaise.dev", + title: "Co Hai Se", description: - "Website made during my 1st year internship for Metz Campus organisation.", + "Discover the Co Hai Se organization and with us craft the web of your ambitions.", }, -]; - -export const desktopAppItems = [ { id: "301", - img: "/images/projects/Zatyshok.webp", + img: "/images/projects/web-applications/Zatyshok.webp", link: "/projects/zatyshok", title: "Затишок", description: "Moodboard/Planner highly customisable application with Spotify & meteo integrations !", }, -]; - -export const angulartWebItems = [ + { + id: "501", + img: "/images/projects/web-applications/Gitea-Self-Hosted.webp", + link: "https://git.cohaise.dev/explore/repos", + title: "Gitea Self-Hosted", + description: + "Self-hosted Git instance (Forgejo/Gitea) with runners for CI/CD.", + }, { id: "401", - img: "/images/projects/WYG-TIWIF.webp", + img: "/images/projects/web-applications/WYG-TIWIF.webp", link: "/projects/wyg-tiwif", title: "WYG-TIWIF", description: "Your social travel hub. A Full Stack (MEAN) application to build your travel wishlist and follow other users' journeys.", }, + { + id: "601", + img: "/images/projects/web-applications/j23/J23-Defi6e.webp", + images: [ + "/images/projects/web-applications/j23/J23-Defi6e.webp", + "/images/projects/web-applications/j23/J23-CRM.webp", + "/images/projects/web-applications/j23/J23-Inventory.webp", + ], + link: "/projects/ensemble-scolaire-jean-xxiii", + title: "Ensemble Scolaire Jean XXIII", + description: + "Three applications developed during my internship: Défi 6e, CRM and Inventory IT.", + }, ]; +export const gameDevItems = [ + { + id: "6", + img: "/images/projects/game-dev/hinterraum/Hinterraum-Cinematic.webp", + link: "/projects/hinterraum", + title: "Hinterraum", + description: + "Die & retry game where you have to escape backrooms. Project realized in 3 days for ESTIAM's 2026 GameJam.", + }, + { + id: "5", + img: "/images/projects/game-dev/ovup/OvUp-Menu.webp", + link: "/projects/overclock-uprising", + title: "Overclock//Uprising", + description: + "Die & retry 3D platformer game in a cyberpunk aesthetic made with Unity.", + }, + { + id: "4", + img: "/images/projects/game-dev/sprot/SPRotD.webp", + link: "/projects/shadow-purge-rite-of-the-demon", + title: "Shadow Purge : Rite of the Demon", + description: "Hack n'slash RPG made with Unity & Aseprite.", + }, + { + id: "3", + img: "/images/projects/game-dev/eotls/EotLS.webp", + link: "/projects/echoes-of-the-last-stop", + title: "Echoes of the Last Stop", + description: + "Story-driven thriller game in collaboration with my partner made with Unity & Aseprite.", + }, + { + id: "2", + img: "/images/projects/game-dev/ntr/NTR-Menu.webp", + link: "/projects/neo-tokyo-rush", + title: "Neo Tokyo Rush", + description: + "Cyberpunk-inspired beat 'em All game made with Unity & Aseprite.", + }, + { + id: "1", + img: "/images/projects/game-dev/lvel/LesVoixDeLExil.webp", + link: "/projects/les-voix-de-l-exil", + title: "Les Voix de L'Exil", + description: + "An interactive visual novel where your choices shape the journey.", + }, +]; + +export const StaticWebsiteGallery = () => ( +
    + +
    +); + +export const WebApplicationGallery = () => ( +
    + +
    +); + export const GameDevGallery = () => (
    ); - -export const ReactWebGallery = () => ( -
    - -
    -); - -export const WordpressGallery = () => ( -
    - -
    -); - -export const DesktopAppGallery = () => ( -
    - -
    -); - -export const AngulartWebGallery = () => ( -
    - -
    -); diff --git a/src/components/data/ServiceDetails.tsx b/src/components/data/ServiceDetails.tsx deleted file mode 100644 index acbd6a9..0000000 --- a/src/components/data/ServiceDetails.tsx +++ /dev/null @@ -1,76 +0,0 @@ -import React from "react"; - -const ServiceTag = ({ children }: { children: React.ReactNode }) => ( -
  • - {children} -
  • -); - -export const WebService = () => ( -
    -

    - Modern & Fast Websites -

    -

    - Building clean, responsive websites using Next.js and React. I focus on - speed, visibility, and converting visitors into clients. -

    -
      - Showcase Websites (Landing Pages) - SEO & Performance Optimization - CMS Integration (Content Management) -
    -
    -); - -export const MobileService = () => ( -
    -

    - iOS & Android Apps -

    -

    - Turning your ideas into real mobile apps. Using React Native to create - smooth experiences that work perfectly on all phones. -

    -
      - Cross-Platform Apps - App Store Submission Help - User-Friendly Interfaces -
    -
    -); - -export const DesignService = () => ( -
    -

    - UI/UX Design -

    -

    - Simple and effective designs. I create interfaces that look good and help - users find what they need effortlessly. -

    -
      - Wireframing & Prototyping - Mobile-First Design - Visual Identity Basics -
    -
    -); - -export const SoftwareService = () => ( -
    -

    - Custom Solutions -

    -

    - Need something specific? I build custom tools and dashboards to help - automate your daily tasks and save you time. -

    -
      - Custom Web Tools - Desktop Web App - Dashboard Creation - API Connections -
    -
    -); diff --git a/src/components/layout/PageShell.tsx b/src/components/layout/PageShell.tsx new file mode 100644 index 0000000..123ea2d --- /dev/null +++ b/src/components/layout/PageShell.tsx @@ -0,0 +1,77 @@ +import { ReactNode } from "react"; +import AnimatedContent from "../AnimatedContent"; +import SEO from "../SEO"; + +interface PageShellProps { + title: string; + subtitle?: string; + description?: string; + children: ReactNode; + className?: string; + headerDelay?: number; + childrenDelay?: number; + childrenScale?: number; + animateChildren?: boolean; +} + +const PageShell = ({ + title, + subtitle, + description, + children, + className = "", + headerDelay = 0.1, + childrenDelay = 0.2, + childrenScale = 1, + animateChildren = true, +}: PageShellProps) => { + return ( +
    + + +
    + +
    +

    {title}

    + {subtitle &&

    {subtitle}

    } +
    +
    +
    + + {animateChildren ? ( +
    + + {children} + +
    + ) : ( +
    {children}
    + )} +
    + ); +}; + +export default PageShell; diff --git a/src/components/layout/ProjectPage.tsx b/src/components/layout/ProjectPage.tsx new file mode 100644 index 0000000..4e42c42 --- /dev/null +++ b/src/components/layout/ProjectPage.tsx @@ -0,0 +1,156 @@ +import { ReactNode } from "react"; +import AnimatedContent from "../AnimatedContent"; +import SEO from "../SEO"; +import DownloadButton from "../DownloadButton"; + +export interface ProjectMedia { + src: string; + alt: string; + href?: string; +} + +interface ProjectPageProps { + title: string; + subtitle: string; + description: string; + media?: ProjectMedia[]; + downloadId?: string; + children?: ReactNode; + headerDelay?: number; +} + +const ProjectPage = ({ + title, + subtitle, + description, + media = [], + downloadId, + children, + headerDelay = 0.1, +}: ProjectPageProps) => { + return ( +
    + + +
    + +
    +

    {title}

    +

    {subtitle}

    +
    +
    +
    + + {children && ( +
    + + {children} + +
    + )} + + {media.length > 0 && ( +
    + +
    1 ? "" : "items-center" + }`} + > + {media.map((item, index) => { + const image = ( + {item.alt} + ); + + if (item.href) { + return ( + + {image} + + ); + } + + return ( +
    + {image} +
    + ); + })} +
    +
    +
    + )} + + {downloadId && ( +
    + + + +
    + )} +
    + ); +}; + +export default ProjectPage; diff --git a/src/hooks/useRegionScroll.ts b/src/hooks/useRegionScroll.ts new file mode 100644 index 0000000..945e0e5 --- /dev/null +++ b/src/hooks/useRegionScroll.ts @@ -0,0 +1,553 @@ +import { useEffect } from "react"; +import { useLocation } from "react-router-dom"; + +/* Scroll par région : la page ne s'arrête JAMAIS entre deux régions. + Chaque geste (molette, swipe, flèche, Espace) déplace la page vers la + région suivante ou précédente, avec une animation pilotée par le temps. + Les régions plus hautes que le viewport sont découpées en écrans afin que + leur contenu reste lisible. */ +const IDLE_DELAY_MS = 180; +const WHEEL_RATIO = 0.5; +const WHEEL_MIN = 50; +const WHEEL_MAX = 300; +const TOUCH_SLOP = 12; +const MIN_DURATION = 420; +const MAX_DURATION = 900; +const WARMUP_MS = 600; + +const getSnapOffset = () => { + const navOffset = + parseFloat( + getComputedStyle(document.documentElement).getPropertyValue( + "--nav-offset", + ), + ) || 0; + + return navOffset + 32; +}; + +export default function useRegionScroll() { + const { pathname } = useLocation(); + + useEffect(() => { + const root = document.documentElement; + + let idleTimer: number | undefined; + let animFrame = 0; + let lastY = window.scrollY; + let direction: 1 | -1 | 0 = 0; + let disposed = false; + let appliedTail = 0; + let tailFrame = 0; + let animFrom = 0; + let animTo = 0; + let animStart = 0; + let animDuration = 0; + let animExpected = 0; + let anchor = 0; + let wheelAcc = 0; + let wheelDir: 1 | -1 = 1; + let touchStartY = 0; + let touchLastY = 0; + let touchStartX = 0; + let touchLastX = 0; + let touchDir: 1 | -1 | 0 = 0; + let spots: number[] = []; + let spotsDirty = true; + + const isEnabled = () => !root.classList.contains("no-snap"); + + /* Position d'un élément dans le document, hors transformations CSS : + les animations d'entrée (translation/échelle) déplacent sinon les + régions pendant leur lecture. */ + const getDocumentTop = (element: HTMLElement): number => { + let top = 0; + let node: HTMLElement | null = element; + + while (node) { + top += node.offsetTop; + node = node.offsetParent as HTMLElement | null; + } + + return top; + }; + + /* Résolution des régions, du plus fin au plus large : + 1. [data-region] : l'élément est une région + 2. [data-region-children] : chaque enfant direct du conteneur est une région + 3. .page-snap-section : repli, une section sans marqueur reste une région + [data-no-region] exclut un élément (et sa descendance) des régions : + c'est le cas des titres de page, qui ne sont pas des points d'arrêt. */ + const collectRegions = (): number[] => { + const offset = getSnapOffset(); + const targets = new Set([0]); + + const add = (element: Element) => { + const rect = element.getBoundingClientRect(); + + if (rect.width === 0 && rect.height === 0) return; + + const y = Math.round(getDocumentTop(element as HTMLElement) - offset); + + if (y > 0) { + targets.add(y); + } + }; + + document.querySelectorAll("[data-region]").forEach((element) => { + if (element.closest("[data-no-region]")) return; + + add(element); + }); + + document.querySelectorAll("[data-region-children]").forEach((group) => { + if (group.closest("[data-no-region]")) return; + + Array.from(group.children).forEach((child) => add(child)); + }); + + document.querySelectorAll(".page-snap-section").forEach( + (section) => { + if (section.closest("[data-no-region]")) return; + if ( + section.querySelector("[data-region], [data-region-children]") + ) { + return; + } + + add(section); + }, + ); + + return [...targets].sort((a, b) => a - b); + }; + + /* Positions d'atterrissement : une par région, plus des écrans + supplémentaires pour les régions plus hautes que le viewport. */ + const computeSpots = (): number[] => { + const viewport = window.innerHeight; + const max = Math.max(0, root.scrollHeight - viewport); + const regions = collectRegions(); + const result = new Set([0]); + + regions.forEach((top, index) => { + result.add(top); + + const next = + index + 1 < regions.length ? regions[index + 1] : max + viewport; + const height = next - top; + + if (height > viewport * 1.1) { + const screens = Math.ceil(height / (viewport * 0.92)); + + for (let screen = 1; screen < screens; screen += 1) { + result.add(Math.round(top + (height * screen) / screens)); + } + } + }); + + return [...result] + .map((spot) => Math.min(Math.max(0, spot), max)) + .sort((a, b) => a - b); + }; + + const getSpots = (): number[] => { + if (spotsDirty) { + spots = computeSpots(); + spotsDirty = false; + } + + return spots; + }; + + const invalidateSpots = () => { + spotsDirty = true; + }; + + /* Index de la position d'atterrissement la plus proche du scroll courant. */ + const nearestIndex = (list: number[], y: number): number => { + let best = 0; + let bestDistance = Number.POSITIVE_INFINITY; + + list.forEach((spot, index) => { + const distance = Math.abs(spot - y); + + if (distance < bestDistance) { + bestDistance = distance; + best = index; + } + }); + + return best; + }; + + /* Réserve de scroll : sans elle, les dernières régions sont hors de + portée (la page est trop courte pour les aligner en haut du viewport) + et se retrouvent écrêtées sur la même position. */ + const updateTail = () => { + if (disposed) return; + + const regions = collectRegions(); + const last = regions.length > 0 ? regions[regions.length - 1] : 0; + const contentHeight = root.scrollHeight - appliedTail; + const need = Math.max( + 0, + Math.round(last + window.innerHeight - contentHeight), + ); + + if (need !== appliedTail) { + appliedTail = need; + root.style.setProperty("--region-tail", `${need}px`); + } + + invalidateSpots(); + }; + + const scheduleTail = () => { + window.cancelAnimationFrame(tailFrame); + tailFrame = window.requestAnimationFrame(updateTail); + }; + + const killAnimation = () => { + if (animFrame) { + window.cancelAnimationFrame(animFrame); + animFrame = 0; + } + + root.style.scrollBehavior = ""; + }; + + /* Déplacement animé vers une position d'atterrissement : boucle rAF + pilotée par le temps, l'animation reste correcte même quand le rendu + est lent et elle n'est pas interrompue par les refresh de ScrollTrigger + (qui restaurent la position de scroll). */ + const animateTo = (target: number) => { + const from = window.scrollY; + + killAnimation(); + + if (Math.abs(target - from) < 2) { + lastY = target; + return; + } + + root.style.scrollBehavior = "auto"; + + const reduceMotion = window.matchMedia( + "(prefers-reduced-motion: reduce)", + ).matches; + const distance = Math.abs(target - from); + + animDuration = reduceMotion + ? 0 + : Math.min( + MAX_DURATION, + Math.max(MIN_DURATION, (distance / 1600) * 620), + ); + animFrom = from; + animTo = target; + animStart = performance.now(); + + const tick = () => { + if (disposed) return; + + const elapsed = performance.now() - animStart; + const progress = + animDuration === 0 ? 1 : Math.min(1, elapsed / animDuration); + const eased = 1 - Math.pow(1 - progress, 3); + + window.scrollTo(0, Math.round(animFrom + (animTo - animFrom) * eased)); + + /* Position réellement appliquée (le navigateur peut écrêter la + valeur) : sert à distinguer notre scroll d'un scroll externe. */ + animExpected = window.scrollY; + + if (progress < 1) { + animFrame = window.requestAnimationFrame(tick); + } else { + animFrame = 0; + root.style.scrollBehavior = ""; + lastY = animTo; + } + }; + + animFrame = window.requestAnimationFrame(tick); + }; + + /* Une région = une position d'atterrissement : le geste avance d'une + région à la fois, dans le sens du geste. */ + const step = (dir: 1 | -1) => { + if (disposed || !isEnabled()) return; + + const list = getSpots(); + + if (list.length === 0) return; + + const base = animFrame + ? anchor + : nearestIndex(list, window.scrollY); + const next = Math.min(list.length - 1, Math.max(0, base + dir)); + + if (next === base) return; + + anchor = next; + animateTo(list[next]); + }; + + const goToIndex = (index: number) => { + const list = getSpots(); + + if (list.length === 0) return; + + const clamped = Math.min(list.length - 1, Math.max(0, index)); + + anchor = clamped; + animateTo(list[clamped]); + }; + + /* Distance de molette nécessaire pour franchir la prochaine région : + proportionnelle à la région traversée, pour que le défilement reste + naturel quelle que soit la taille des blocs. */ + const wheelNeeded = (dir: 1 | -1): number => { + const list = getSpots(); + + if (list.length === 0) return WHEEL_MAX; + + const base = animFrame ? anchor : nearestIndex(list, window.scrollY); + const next = Math.min(list.length - 1, Math.max(0, base + dir)); + + if (next === base) return WHEEL_MAX; + + const distance = Math.abs(list[next] - window.scrollY); + + return Math.min(WHEEL_MAX, Math.max(WHEEL_MIN, distance * WHEEL_RATIO)); + }; + + const isHorizontalScroller = (target: EventTarget | null) => { + const element = target as HTMLElement | null; + + if (!element || !element.closest) return false; + + const scroller = element.closest( + "[data-scroll-x], .overflow-x-auto, .overflow-x-scroll", + ) as HTMLElement | null; + + if (!scroller) return false; + + return scroller.scrollWidth > scroller.clientWidth + 1; + }; + + const isTypingTarget = (target: EventTarget | null) => { + const element = target as HTMLElement | null; + + if (!element) return false; + + const tag = element.tagName; + + return ( + tag === "INPUT" || + tag === "TEXTAREA" || + tag === "SELECT" || + element.isContentEditable + ); + }; + + const handleWheel = (event: WheelEvent) => { + if (!isEnabled()) return; + if (event.ctrlKey) return; + if (isHorizontalScroller(event.target)) return; + + const delta = event.deltaY; + + if (delta === 0) return; + + /* Le scroll natif est neutralisé : la page ne bouge que par région. */ + if (event.cancelable) event.preventDefault(); + + const dir: 1 | -1 = delta > 0 ? 1 : -1; + + if (dir !== wheelDir) { + wheelDir = dir; + wheelAcc = 0; + } + + wheelAcc += Math.abs(delta); + + if (wheelAcc >= wheelNeeded(dir)) { + wheelAcc = 0; + step(dir); + } + }; + + const handleTouchStart = (event: TouchEvent) => { + touchStartY = event.touches[0]?.clientY ?? 0; + touchLastY = touchStartY; + touchStartX = event.touches[0]?.clientX ?? 0; + touchLastX = touchStartX; + touchDir = 0; + wheelAcc = 0; + }; + + const handleTouchMove = (event: TouchEvent) => { + if (!isEnabled()) return; + + const touch = event.touches[0]; + + if (!touch) return; + + /* Déplacement incrémental : un swipe compte pour un seul geste. */ + const delta = touchLastY - touch.clientY; + const deltaX = touchLastX - touch.clientX; + + touchLastY = touch.clientY; + touchLastX = touch.clientX; + + /* Un geste horizontal reste au navigateur, un geste vertical est + entièrement piloté par les régions (dès le premier pixel, sinon le + scroll natif démarre et garde son élan). */ + if (Math.abs(delta) < 2) return; + if (Math.abs(deltaX) > Math.abs(delta)) return; + + if (event.cancelable) event.preventDefault(); + + if (Math.abs(delta) < TOUCH_SLOP) return; + + const dir: 1 | -1 = delta > 0 ? 1 : -1; + + if (dir !== touchDir) { + touchDir = dir; + wheelAcc = 0; + } + + wheelAcc += Math.abs(delta); + + if (wheelAcc >= wheelNeeded(dir)) { + wheelAcc = 0; + step(dir); + } + }; + + const handleKeyDown = (event: KeyboardEvent) => { + if (!isEnabled()) return; + if (event.metaKey || event.ctrlKey || event.altKey) return; + if (isTypingTarget(event.target)) return; + + switch (event.key) { + case "ArrowDown": + case "PageDown": + event.preventDefault(); + step(1); + break; + case "ArrowUp": + case "PageUp": + event.preventDefault(); + step(-1); + break; + case "Home": { + const list = getSpots(); + + event.preventDefault(); + goToIndex(0); + break; + } + case "End": { + const list = getSpots(); + + event.preventDefault(); + goToIndex(list.length - 1); + break; + } + case " ": { + const tag = (event.target as HTMLElement | null)?.tagName; + + if (tag === "BUTTON" || tag === "A") return; + + event.preventDefault(); + step(1); + break; + } + default: + break; + } + }; + + /* Scroll externe (barre de défilement, restauration du navigateur) : + on réaligne sur la position d'atterrissement la plus proche. */ + const alignToSpot = () => { + if (disposed || !isEnabled()) return; + + const list = getSpots(); + + if (list.length === 0) return; + + const index = nearestIndex(list, window.scrollY); + const target = list[index]; + + anchor = index; + + if (Math.abs(target - window.scrollY) < 2) return; + + animateTo(target); + }; + + const handleScroll = () => { + const y = window.scrollY; + + if (animFrame) { + /* Un scroll externe (glisser la barre, refresh de ScrollTrigger...) + interrompt l'animation. On compare à la dernière position + réellement appliquée : l'interpolation temporelle, elle, est trop + permissive quand le rendu est lent (un seul frame peut couvrir la + moitié du trajet). */ + if (Math.abs(y - animExpected) <= 8) { + return; + } + + killAnimation(); + } + + if (y !== lastY) { + direction = y > lastY ? 1 : -1; + lastY = y; + } + + window.clearTimeout(idleTimer); + idleTimer = window.setTimeout(alignToSpot, IDLE_DELAY_MS); + }; + + const warmupTimer = window.setTimeout(() => { + lastY = window.scrollY; + direction = 0; + }, WARMUP_MS); + + window.addEventListener("scroll", handleScroll, { passive: true }); + window.addEventListener("wheel", handleWheel, { passive: false }); + window.addEventListener("touchstart", handleTouchStart, { passive: true }); + window.addEventListener("touchmove", handleTouchMove, { passive: false }); + window.addEventListener("keydown", handleKeyDown); + window.addEventListener("resize", scheduleTail); + + const observer = new ResizeObserver(scheduleTail); + observer.observe(document.body); + + updateTail(); + const settleTimer = window.setTimeout(updateTail, 400); + + return () => { + disposed = true; + window.clearTimeout(idleTimer); + window.clearTimeout(warmupTimer); + window.clearTimeout(settleTimer); + window.cancelAnimationFrame(tailFrame); + window.removeEventListener("scroll", handleScroll); + window.removeEventListener("wheel", handleWheel); + window.removeEventListener("touchstart", handleTouchStart); + window.removeEventListener("touchmove", handleTouchMove); + window.removeEventListener("keydown", handleKeyDown); + window.removeEventListener("resize", scheduleTail); + observer.disconnect(); + killAnimation(); + root.style.removeProperty("--region-tail"); + }; + }, [pathname]); +} diff --git a/src/index.css b/src/index.css index 5846483..45b82f1 100644 --- a/src/index.css +++ b/src/index.css @@ -1,7 +1,6 @@ @import "tailwindcss"; @import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap"); @import "tw-animate-css"; -@import "shadcn/tailwind.css"; @custom-variant dark (&:is(.dark *)); @@ -15,6 +14,9 @@ --clr-accent-600: #8a1414; --clr-accent-300: #d32f2f; --clr-surface: #1a1a1a; + --nav-offset: 100px; + --page-gap: clamp(4rem, 8vw, 8rem); + --content-max: 1400px; --white: hsl(0, 0%, 100%); --purple-primary: rgba(183, 28, 28, 1); @@ -53,6 +55,16 @@ RESET & BASE ========================================================================== */ +html { + scroll-behavior: smooth; + scroll-padding-top: calc(var(--nav-offset) + 2rem); +} + +/* Pages immersives (plein écran) : pas de scroll smooth */ +html.no-snap { + scroll-behavior: auto; +} + body { background-color: var(--clr-bg); color: var(--clr-text); @@ -127,14 +139,32 @@ textarea { display: flex; flex-direction: column; align-items: center; - padding: 30vh 0px; - min-height: 120vh; + width: 100%; + padding-top: calc(var(--nav-offset) + 1rem); + /* --region-tail : réserve plafonnée (15vh) calculée par useRegionScroll, + pour aligner la dernière région sans laisser une grande zone vide. */ + padding-bottom: calc(12vh + var(--region-tail, 0px)); + min-height: 100vh; +} + +/* Les sections de page sont les conteneurs des régions : elles épousent + leur contenu, sans hauteur minimale, pour ne pas laisser de zones vides + entre deux régions (le scroll par région ne doit jamais traverser du vide). */ +.page-snap-section { + width: 100%; } .main-section { text-align: center; - margin-bottom: 4rem; + width: 100%; + max-width: var(--content-max); + margin: 0 auto; + padding: 8vh 1rem; min-height: 60vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; } .main-section .title { @@ -145,15 +175,11 @@ textarea { text-shadow: 0 0 20px rgba(183, 28, 28, 0.4); } -.main-section .cohaise-title { - font-size: clamp(2.5rem, 6vw, 5rem); - color: var(--clr-text); -} - .main-section .subtitle { font-size: clamp(0.9rem, 2vw, 1.2rem); color: #a6a6a9; letter-spacing: 2px; + max-width: 70ch; } .subtitle { diff --git a/src/pages/Cohaise.tsx b/src/pages/Cohaise.tsx deleted file mode 100644 index 1012a0f..0000000 --- a/src/pages/Cohaise.tsx +++ /dev/null @@ -1,127 +0,0 @@ -import LightPillar from "../components/backgrounds/LightPillar"; -import SplashCursor from "../components/cursors/SplashCursor"; -import LogoLoop from "../components/LogoLoop"; -import FlowingMenu from "../components/FlowingMenu"; -import AnimatedContent from "../components/AnimatedContent"; -import SEO from "@/components/SEO"; - -import { - WebService, - MobileService, - DesignService, - SoftwareService, -} from "../components/data/ServiceDetails"; - -import { - SiReact, - SiAngular, - SiElectron, - SiNodedotjs, - SiTailwindcss, - SiDotnet, - SiExpress, - SiMariadb, - SiFigma, - SiVercel, - SiGithub, - SiPostgresql, - SiDocker, -} from "react-icons/si"; - -const techLogos = [ - { node: , title: "React", href: "https://react.dev" }, - { node: , title: "Angular", href: "https://angular.io" }, - { - node: , - title: "Tailwind CSS", - href: "https://tailwindcss.com/", - }, - { node: , title: "Figma", href: "https://figma.com" }, - { node: , title: "Electron", href: "https://electronjs.org/" }, - { - node: , - title: "C/ / .NET", - href: "https://dotnet.microsoft.com/fr-fr/", - }, - { node: , title: "Node.js", href: "https://nodejs.org/en" }, - { node: , title: "Express", href: "https://expressjs.com/" }, - { node: , title: "MariaDB", href: "https://mariadb.com/" }, - { node: , title: "Docker", href: "https://www.docker.com/" }, - { - node: , - title: "PostgreSQL", - href: "https://www.postgresql.org/", - }, - { node: , title: "Vercel", href: "https://vercel.com" }, - { node: , title: "GitHub", href: "https://github.com/" }, -]; - -const serviceItems = [ - { - text: "Web Development", - image: "images/cohaise/webDevelopment.webp", - Component: WebService, - }, - { - text: "Mobile Apps", - image: "images/cohaise/mobileApps.webp", - Component: MobileService, - }, - { - text: "UI/UX Design", - image: "images/cohaise/uxUI.webp", - Component: DesignService, - }, - { - text: "Custom Software", - image: "images/cohaise/customSoftware.webp", - Component: SoftwareService, - }, -]; - -const Cohaise = () => { - return ( -
    - - -
    -

    Co Hai Se

    -

    - Your project starts with an idea. It comes to life with Cohaise. -

    -
    -
    - - -
    - ); -}; - -export default Cohaise; diff --git a/src/pages/Contact.tsx b/src/pages/Contact.tsx index 6a8ef08..2bf15b4 100644 --- a/src/pages/Contact.tsx +++ b/src/pages/Contact.tsx @@ -1,5 +1,4 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import SEO from "@/components/SEO"; +import PageShell from "../components/layout/PageShell"; import ScrollVelocity from "../components/ScrollVelocity"; import InfiniteCarousel from "../components/InfiniteCarousel"; @@ -38,54 +37,31 @@ export default function Contact() { ]; return ( -
    - - - +
    -
    -

    Contact

    -

    You can reach me there:

    -
    - + - -
    - + - - - -
    -
    -
    + +
    + ); } diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index b6c13a7..705a0a7 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,60 +1,30 @@ import MagicBento from "../components/MagicBento"; -import AnimatedContent from "../components/AnimatedContent"; -import SEO from "@/components/SEO"; +import PageShell from "../components/layout/PageShell"; export default function Home() { return ( -
    - - -
    -

    Esiah’s Universe

    -

    - A journey through code, design, and imagination. -

    -
    -
    - - -
    -

    Overview

    - -
    -
    -
    + +
    + +
    +
    ); } diff --git a/src/pages/Projects.tsx b/src/pages/Projects.tsx index 579da9b..61a3320 100644 --- a/src/pages/Projects.tsx +++ b/src/pages/Projects.tsx @@ -1,101 +1,58 @@ -import AnimatedContent from "../components/AnimatedContent"; -import SEO from "@/components/SEO"; +import PageShell from "../components/layout/PageShell"; import ScrollVelocity from "../components/ScrollVelocity"; import { GameDevGallery, - ReactWebGallery, - WordpressGallery, - DesktopAppGallery, - AngulartWebGallery, + StaticWebsiteGallery, + WebApplicationGallery, } from "../components/data/ProjectDetails"; const ProjectCategories = [ { - text: "Game Development", + text: "Static Website", + Component: StaticWebsiteGallery, + }, + { + text: "Web Application", + Component: WebApplicationGallery, + }, + { + text: "Game Dev", Component: GameDevGallery, }, - { - text: "React Websites", - Component: ReactWebGallery, - }, - { - text: "WordPress & Elementor", - Component: WordpressGallery, - }, - { - text: "Desktop Apps", - Component: DesktopAppGallery, - }, - { - text: "Angular Apps", - Component: AngulartWebGallery, - }, ]; export default function Projects() { return ( -
    - - -
    -

    Projects

    -

    Here you can find all my creations

    -
    -
    - -
    + + {/* overflow-x-clip : coupe visuellement sans créer de conteneur de défilement + (overflow:hidden le ferait et casserait le scroll-snap natif) */} +
    {ProjectCategories.map((category, index) => ( -
    - -
    - -
    -
    +
    +
    + +
    - -
    - -
    -
    +
    + +
    ))}
    -
    +
    ); } diff --git a/src/pages/projects/EchoesOfTheLastStop.tsx b/src/pages/projects/EchoesOfTheLastStop.tsx index dc6b6ed..99a526a 100644 --- a/src/pages/projects/EchoesOfTheLastStop.tsx +++ b/src/pages/projects/EchoesOfTheLastStop.tsx @@ -1,43 +1,18 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import SEO from "@/components/SEO"; -import DownloadButton from "@/components/DownloadButton"; +import ProjectPage from "@/components/layout/ProjectPage"; export default function EchoesOfTheLastStop() { return ( - - -
    -
    -

    Echoes of the Last Stop

    -

    - Story-driven thriller game in collaboration with my partner made - with Unity & Aseprite -

    -
    -
    - Preview of Echoes of the Last Stop game made with Unity & Aseprite -
    -
    -
    - -
    -
    + ); } diff --git a/src/pages/projects/EnsembleScolaireJeanXXIII.tsx b/src/pages/projects/EnsembleScolaireJeanXXIII.tsx new file mode 100644 index 0000000..05696d3 --- /dev/null +++ b/src/pages/projects/EnsembleScolaireJeanXXIII.tsx @@ -0,0 +1,66 @@ +import ProjectPage from "@/components/layout/ProjectPage"; + +const applications = [ + { + title: "Défi 6e - Class Life", + description: "Web application built to manage day-to-day class life", + image: "/images/projects/web-applications/j23/J23-Defi6e.webp", + link: "https://defi6e.jean23.com/", + linkLabel: "Open the application", + }, + { + title: "Jean XXIII CRM", + description: "CRM to manage applications and enrollments", + image: "/images/projects/web-applications/j23/J23-CRM.webp", + link: "https://github.com/Ensemble-Scolaire-Jean-XXIII/jeanxxiii-crm", + linkLabel: "View on GitHub", + }, + { + title: "Inventory IT", + description: "IT asset and inventory management", + image: "/images/projects/web-applications/j23/J23-Inventory.webp", + link: "https://github.com/Ensemble-Scolaire-Jean-XXIII/Inventory-IT", + linkLabel: "View on GitHub", + }, +]; + +export default function EnsembleScolaireJeanXXIII() { + return ( + +
    + {applications.map((app, index) => ( +
    + {app.title} +
    +
    +

    {app.title}

    +

    {app.description}

    +
    + + {app.linkLabel} + +
    +
    + ))} +
    +
    + ); +} diff --git a/src/pages/projects/Hinterraum.tsx b/src/pages/projects/Hinterraum.tsx index 05eaef9..53bc845 100644 --- a/src/pages/projects/Hinterraum.tsx +++ b/src/pages/projects/Hinterraum.tsx @@ -1,50 +1,22 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import SEO from "@/components/SEO"; -import DownloadButton from "@/components/DownloadButton"; +import ProjectPage from "@/components/layout/ProjectPage"; export default function Hinterraum() { return ( - - -
    -
    -

    Hinterraum

    -

    - Die & retry 3D game where you have to escape backrooms. Project - realized in 3 days for ESTIAM's 2026 GameJam. -

    - -
    - -
    -
    + ); } diff --git a/src/pages/projects/LesVoixDeLExil.tsx b/src/pages/projects/LesVoixDeLExil.tsx index 0c7a988..ac45181 100644 --- a/src/pages/projects/LesVoixDeLExil.tsx +++ b/src/pages/projects/LesVoixDeLExil.tsx @@ -84,7 +84,7 @@ export default function LesVoixDeLExil() { <> diff --git a/src/pages/projects/NeoTokyoRush.tsx b/src/pages/projects/NeoTokyoRush.tsx index bff1bc9..9db129a 100644 --- a/src/pages/projects/NeoTokyoRush.tsx +++ b/src/pages/projects/NeoTokyoRush.tsx @@ -1,47 +1,22 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import SEO from "@/components/SEO"; -import DownloadButton from "@/components/DownloadButton"; +import ProjectPage from "@/components/layout/ProjectPage"; export default function NeoTokyoRush() { return ( - - -
    -
    -

    Neo Tokyo Rush

    -

    Cyberpunk-inspired beat 'em All game

    - -
    - -
    -
    + ); } diff --git a/src/pages/projects/OverclockUprising.tsx b/src/pages/projects/OverclockUprising.tsx index ce5a1e2..7e6972d 100644 --- a/src/pages/projects/OverclockUprising.tsx +++ b/src/pages/projects/OverclockUprising.tsx @@ -1,54 +1,22 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import SEO from "@/components/SEO"; -import DownloadButton from "@/components/DownloadButton"; +import ProjectPage from "@/components/layout/ProjectPage"; export default function OverclockUprising() { return ( - - -
    -
    -

    Overclock // Uprising

    -

    - Embody Eixo & navigate through the Net in order to reach the - Blackwall and destroy it. -

    - - Die & retry 3D platformer game in a cyberpunk aesthetic made with - Unity. - - -
    - -
    -
    + ); } diff --git a/src/pages/projects/ShadowPurgeRiteOfTheDemon.tsx b/src/pages/projects/ShadowPurgeRiteOfTheDemon.tsx index 2fb3ca7..ce57ffe 100644 --- a/src/pages/projects/ShadowPurgeRiteOfTheDemon.tsx +++ b/src/pages/projects/ShadowPurgeRiteOfTheDemon.tsx @@ -1,40 +1,18 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import DownloadButton from "@/components/DownloadButton"; -import SEO from "@/components/SEO"; +import ProjectPage from "@/components/layout/ProjectPage"; export default function ShadowPurgeRiteOfTheDemon() { return ( - - -
    -
    -

    Shadow Purge : Rite of the Demon

    -

    Hack n'slash RPG

    -
    - - Preview of Shadow Purge : Rite of the Demon game made with Unity & Aseprite - -
    -
    - -
    -
    + ); } diff --git a/src/pages/projects/WYG-TIWIF.tsx b/src/pages/projects/WYG-TIWIF.tsx index 3185925..4ee7680 100644 --- a/src/pages/projects/WYG-TIWIF.tsx +++ b/src/pages/projects/WYG-TIWIF.tsx @@ -1,48 +1,19 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import SEO from "@/components/SEO"; -import DownloadButton from "@/components/DownloadButton"; +import ProjectPage from "@/components/layout/ProjectPage"; export default function WYGTIWIF() { return ( - - -
    -
    -

    WYG TIWIF

    -

    - Your social travel hub. A Full Stack (MEAN) application to build - your travel wishlist and follow other users' journeys. -

    -
    - - Preview of WYG-TIWIF app made with Angular - -
    -
    - -
    -
    + ); } diff --git a/src/pages/projects/Zatyshok.tsx b/src/pages/projects/Zatyshok.tsx index 49def1f..e553a4a 100644 --- a/src/pages/projects/Zatyshok.tsx +++ b/src/pages/projects/Zatyshok.tsx @@ -1,49 +1,19 @@ -import AnimatedContent from "@/components/AnimatedContent"; -import SEO from "@/components/SEO"; -import DownloadButton from "@/components/DownloadButton"; +import ProjectPage from "@/components/layout/ProjectPage"; export default function Zatyshok() { return ( - - -
    -
    -

    Затишок

    -

    - A desktop moodboard/planner application with Spotify and weather - integrations, built with Electron, deployed and hosted on my private - local server using Docker. -

    - - Preview of Zatyshok desktop app made with Electron - -
    - -
    -
    + ); } diff --git a/tsconfig.json b/tsconfig.json index 4993f55..5550d85 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,7 +14,7 @@ "allowJs": true, "checkJs": false, - "ignoreDeprecations": "6.0", + "ignoreDeprecations": "5.0", "baseUrl": ".", "paths": { "@/*": ["./src/*"]