commit b832ae06a3b2f1935886da2974f5c6d437945988 Author: Shawn Date: Fri Jun 12 18:03:27 2026 -0400 PEDAL-UI: Helix Stadium-style redesign — block chain, big touch sliders, footswitch bar with scribble strips diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/README.md b/README.md new file mode 100644 index 0000000..a36934d --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# React + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Oxc](https://oxc.rs) +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) + +## React Compiler + +The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation). + +## Expanding the ESLint configuration + +If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project. diff --git a/docs/helix-stadium-concept.html b/docs/helix-stadium-concept.html new file mode 100644 index 0000000..a18a008 --- /dev/null +++ b/docs/helix-stadium-concept.html @@ -0,0 +1,811 @@ + + + + + +NAM Pedal — Helix Stadium UX Concept + + + +
+ + +
+
+
+ CONNECTED + ● Plexi Crunch +
+
+
+ CPU 23% +
+
+ + +
+
Preset
Plexi Crunch
+
Bank
A · 01
+
Routing
MONO
+
Master
72%
+
+ + +
+
+
Plexi Crunch
+
01
+
+
+
Modern Hi-Gain
+
02
+
+
+
Clean Chime
+
03
+
+
+
Blues Drive
+
04
+
+
+ + +
+
+
IN
+
+ +
+
+
+
Dynamics
+
Noise Gate
+
Threshold 40%
+
+
+
+ +
+ +
+
+
+
Drive
+
OD-808
+
Drive 65%
+
+
+
+ +
+ +
+
+
+
Distortion
+
RAT
+
— Bypassed —
+
+
+
+ +
+ +
+
+
+
Modulation
+
Phase 90
+
Rate 35%
+
+
+
+ +
+ +
+
+
+
Delay
+
Digital Delay
+
450ms · 25%
+
+
+
+ +
+ +
+
+
+
Reverb
+
Hall Reverb
+
Decay 60%
+
+
+
+ +
+
OUT
+
+ + +
+
+

Noise Gate · Dynamics

+ + Active + +
+
+
+
+ Threshold + 40 +
+ +
+
+
+ Release + 25 +
+ +
+
+
+ Depth + 70 +
+ +
+
+
+ Mix + 100 +
+ +
+
+
+
+ + +
+
+ BANK + ▲ A + Bank Up +
+ +
+ GATE + Noise Gate + Threshold 40% +
+
+ +
+ DRIVE + OD-808 + Drive 65% +
+
+ +
+ DIST + RAT + Bypassed +
+
+ +
+ MOD + Phase 90 + Rate 35% +
+
+ +
+ BANK + ▼ A + Bank Down +
+
+
+ + + + diff --git a/docs/helix-stadium-mockup.html b/docs/helix-stadium-mockup.html new file mode 100644 index 0000000..55af646 --- /dev/null +++ b/docs/helix-stadium-mockup.html @@ -0,0 +1,617 @@ + + + + + +Pi Multi-FX — Helix Stadium Mockup + + + + +
+ + +
+
+
+ CONNECTED +
+
+ Plexi Crunch + CPU 12% + ▃▅▇█ +
+
+ + +
+ + +
+
Signal Chain
+
+
IN
+ +
+ +
+
+
+ Compressor + DYN +
+
+
+ +
+ +
+
+
+ Overdrive + DRV +
+
+
+ +
+ +
+
+
+ Chorus + MOD +
+
+
+ +
+ +
+
+
+ Delay + TIME +
+
+
+ +
+ +
+
+
+ Reverb + AMB +
+
+
+ +
+ +
OUT
+ +
+
+
+
+ + +
+
+
Parameters — Compressor
+
+
○ Bypass
+
✕ Delete
+
↻ Reset
+
+
+ +
+
+
+
+
+
+
-20
+
Threshold
+
+
+
+
+
+
+
3:1
+
Ratio
+
+
+
+
+
+
+
5
+
Attack
+
+
+
+
+
+
+
100
+
Release
+
+
+
+
+
+
+
1.0
+
Makeup
+
+
+ +
+
+ Mix + 65% +
+
+
+
+
+
+
+
+ + +
+
+ +
+
1
+
Plexi Crunch
+
Preset
+
+
+
2
+
Mod Hi-Gain
+
Preset
+
+
+
3
+
Clean Chimey
+
Preset
+
+
+
4
+
Soul Blues
+
Preset
+
+ +
+
+
+ + + + diff --git a/docs/helix-stadium-ux-spec.md b/docs/helix-stadium-ux-spec.md new file mode 100644 index 0000000..8d4f2c7 --- /dev/null +++ b/docs/helix-stadium-ux-spec.md @@ -0,0 +1,397 @@ +# Helix Stadium UX Redesign — Spec & Mockup + +> **Task:** Redesign the Pi Multi-FX Pedal UI from a mobile-first vertical tab layout to a +> Helix Stadium-style horizontal block chain with footswitch navigation. +> **Status:** Research / Spec Complete +> **Date:** 2026-06-12 + +--- + +## 1. Design Philosophy + +The Helix Stadium is designed for **stage use**: large touch targets, high contrast at +arm's length, minimal scrolling, instant access to block placement and parameters. +Our redesign translates this philosophy into a legally distinct UI using the existing +amber/blue/green palette and JetBrains Mono + Inter typography. + +### Key UX Principles + +| Principle | Application | +|-----------|-------------| +| One primary view | Block chain is the main screen — IN → blocks → OUT | +| Touch-first | 60-80px minimum tap targets, no hover-dependent controls | +| Context-sensitive | Select a block → knob/slider panel shows its params | +| Visual feedback | Bypass LED, bypassed opacity, active block highlight | +| No dead space | Every pixel is a control or shows status | + +--- + +## 2. Screen Layout (Top → Bottom) + +``` +┌─────────────────────────────────────────────┐ +│ STATUS BAR │ +│ ● CONNECTED Preset Name CPU 12% ▂▃▅▇ │ ~36px +├─────────────────────────────────────────────┤ +│ │ +│ BLOCK CHAIN (horizontal scroll) │ +│ │ ~80-100px +│ [IN] → [Comp] → [OD] → [Rev] → [OUT] │ +│ ↑ selected │ +│ ───────────────────────────────────── │ +│ ⬡ BYPASS ⬡ DRIVE ⬡ TONE ⬡ GAIN │ +│ PARAMETER KNOBS / SLIDERS │ flex +│ │ +├─────────────────────────────────────────────┤ +│ FOOTSWITCH BAR │ +│ [1 PlexiC] [2 ModHi] [3 Clean] [4 Soul] │ ~64-72px +│ [5 Metal] [6 Studio] [7 Acous] [8 Twang]│ +└─────────────────────────────────────────────┘ +``` + +### 2.1 Status Bar (36px) + +- **Left:** Green/red connection dot, "CONNECTED" / "OFFLINE" label +- **Right:** Current preset name (if loaded), CPU %, audio signal meter +- Background: `#141418` (panel) with `#2A2A32` bottom border +- Same as current, but more compact + +### 2.2 Block Chain (80-100px) + +- Horizontal scrolling flex container with overflow-x: auto +- Left terminators: **IN** chip (blue) — fixed, always first +- Right terminator: **OUT** chip (blue) — fixed, always last +- Blocks between: **amber** chips, min 48px height (target 64px) +- Gap between blocks shown as a connector line (`→` or border-based line) +- Scrollable via horizontal swipe or footswitch left/right buttons +- Visual distinction between bypassed (opacity 0.4) and active blocks + +**Block Chip Spec:** + +``` +┌─────────────────┐ +│ ██ Compressor │ ← green LED when active, dim when bypassed +│ ODRIVE │ ← subtype badge (small) +│ ▾ │ ← expand indicator (tap to select) +└─────────────────┘ +``` + +#### Interaction: +- **Tap:** Select block → parameter panel updates below +- **Long press / drag handle:** Reorder (drag-and-drop within chain) +- **Double tap:** Toggle bypass +- **Swipe left on block:** Delete (with undo toast) + +### 2.3 Parameters Panel (flex, fills remaining space) + +When a block is selected, the panel below the chain shows its editable parameters. +Each param renders as either a **big knob** (continuous, like drive, tone, rate) or +a **big slider** (linear range, like volume, mix, feedback) or a **toggle** (bypass, enable). + +``` +┌──────────────────────────────────────────────┐ +│ PARAMETERS — Compressor │ ~24px section label +│ │ +│ ┌──────┐ ┌──────┐ ┌──────┐ │ +│ │ ╭──╮ │ │ ╭──╮ │ │ ╭──╮ │ │ +│ │ ╰──╯ │ │ ╰──╯ │ │ ╰──╯ │ │ knobs 52-64px +│ │ -24 │ │ 3:1 │ │ 5ms │ │ +│ │THRESH│ │RATIO │ │ATTACK│ │ +│ └──────┘ └──────┘ └──────┘ │ +│ │ +│ ┌───────────────────────────────────────┐ │ +│ │ ○ MASTER VOLUME ▓▓▓▓░░│ │ slider +│ └───────────────────────────────────────┘ │ +│ │ +│ [○ BYPASS BLOCK] [✕ DELETE] [↻ RESET] │ action buttons +└──────────────────────────────────────────────┘ +``` + +When no block is selected, this panel shows **master volume**, **global bypass**, +and **active preset** info (like current RigScreen). + +### 2.4 Footswitch Bar (64-72px) + +- **Fixed at bottom** — never scrolls away +- **4 footswitch buttons** shown at a time (with bank left/right pagination for 8+) +- Each button = big rounded rect with **scribble strip** (number + short label) +- Colors match preset/bank colors (amber, red, blue, green) + +``` +┌──────────┬──────────┬──────────┬──────────┐ +│ 1 │ 2 │ 3 │ 4 │ +│ Plexi │ Modern │ Clean │ Southern │ ← scribble strip +│ Crunch │ Hi-Gain │ Chimey │ Blues │ +├──────────┼──────────┼──────────┼──────────┤ +│ ◀ │ │ │ ▶│ ← bank nav +└──────────┴──────────┴──────────┴──────────┘ +``` + +#### Footswitch Interactions: +- **Tap:** Load that preset +- **Long press:** Save current chain to that slot +- **Bank nav (◀ ▶):** Switch between banks (pages of 4) +- **Scribble strip:** Shows preset name (truncated to ~8-10 chars) rendered in amber/green + +--- + +## 3. Component Tree + +``` +App +├── +├── Shell (100vh, flex column) +│ ├── StatusBar +│ │ ├── ConnectionDot +│ │ ├── PresetLabel +│ │ └── SystemStats (CPU + signal) +│ ├── ChainPanel (flex: 1) +│ │ ├── BlockChain (horizontal scroll) +│ │ │ ├── ChainTerminator("IN", fixed, blue) +│ │ │ ├── BlockChip × N (draggable, amber) +│ │ │ │ ├── BypassLED +│ │ │ │ ├── BlockName +│ │ │ │ ├── TypeBadge +│ │ │ │ └── DragHandle +│ │ │ ├── ChainConnector × N-1 (→ line) +│ │ │ └── ChainTerminator("OUT", fixed, blue) +│ │ └── ParamsPanel +│ │ ├── (if block selected) KnobGrid +│ │ │ └── BigKnob × N +│ │ ├── (if block selected) SliderList +│ │ │ └── BigSlider × N +│ │ ├── (if block selected) BlockActions +│ │ │ └── BypassBtn / DeleteBtn / ResetBtn +│ │ └── (if none selected) MasterVolume + PresetInfo +│ │ ├── VolumeSlider (existing) +│ │ └── PresetSummary +│ └── FootswitchBar (fixed 64-72px) +│ ├── BankLeftBtn (◀) +│ ├── FootswitchBtn × 4 +│ │ └── ScribbleStrip (number + label) +│ └── BankRightBtn (▶) +``` + +### State Shape (React) + +```js +const [selectedBlock, setSelectedBlock] = useState(null); // block id or null +const [blocks, setBlocks] = useState([]); // current block chain +const [activePreset, setActivePreset] = useState(null); +const [footswitchBank, setFootswitchBank] = useState(0); // 0-based +const [params, setParams] = useState({}); // fetched from API when block selected +``` + +--- + +## 4. Color & Typography (Existing Design Tokens) + +Use the existing `T` object from App.jsx unchanged. No new colors needed — +the amber/blue/green palette maps directly to Helix-style needs: + +| Token | Hex | Usage | +|-------|-----|-------| +| `T.amber` | `#E8A030` | Active block, selected state, knobs, scribble strip text | +| `T.amberDim` | `#7A5218` | Block chip background | +| `T.blue` | `#3A7BA8` | IN/OUT terminators, connection dots | +| `T.blueDim` | `#1E4060` | Terminator backgrounds | +| `T.green` | `#3AB87A` | Bypass LED on, signal OK | +| `T.bg` | `#0A0A0C` | Page background | +| `T.panel` | `#141418` | Card/section backgrounds | +| `T.surface` | `#1C1C22` | Input fields, button surfaces | +| `T.border` | `#2A2A32` | Lines, dividers | + +Typography unchanged: **Inter** for body/UI text, **JetBrains Mono** for values/labels. + +--- + +## 5. API Integration + +### Data Flow + +``` +Mount → GET /api/state + ├── connected, master_volume, bypass + └── current_preset (name, bank, program) + +On mount of preset: GET /api/presets/{bank}/{program} + └── chain[].blocks → populates BlockChain + +On block select: GET /api/block-params/{fx_type} + └── params[] → renders knobs/sliders + +Param change: PATCH /api/block-params { id, key, value } +Toggle bypass: PATCH /api/blocks { id, enabled } +Master volume: POST /api/volume { volume } +Global bypass: POST /api/bypass/toggle +Load preset: POST /api/presets/{bank}/{program}/activate +Save preset: PUT /api/presets/{bank}/{program} +``` + +### Backend Gap: Blocks in `/api/state` + +The current `_gather_state()` does NOT return `blocks[]` — but the UI needs the +current block chain to render. Options ranked by preference: + +1. **Extend `/api/state` to include `blocks`** — Add the current preset's chain + to the state response. Most efficient: single fetch on mount + WebSocket push. + Requires adding ~5 lines to `_gather_state()`. +2. **Load preset chain separately** — On mount, fetch `GET /api/presets/{bank}/{program}` + to get the chain. Needs bank/program from state. Works without backend change + but adds an extra round trip. +3. **WebSocket-first** — `/ws` already pushes state on connect. Extend the push + to include blocks. + +**Recommendation:** Option 1 (backend change) — it's trivial and eliminates an +extra HTTP round trip on every page load. + +--- + +## 6. Drag-and-Drop Reordering + +For reordering blocks in the chain, use the **HTML5 Drag and Drop API** +(native, no library needed in modern React): + +```jsx +// BlockChip +
e.dataTransfer.setData('text/plain', blockId)} + onDragOver={(e) => e.preventDefault()} + onDrop={(e) => { + e.preventDefault(); + const draggedId = e.dataTransfer.getData('text/plain'); + reorderBlocks(draggedId, blockId); // swap or insert + }} +> +``` + +After reorder: `PATCH /api/blocks/reorder { ids: [new order] }` — a new endpoint +to persist the sequence. For MVP, keep the reorder local-only (state-only) and +save with the preset. + +--- + +## 7. Responsive Behavior + +| Viewport | Layout | +|----------|--------| +| < 480px (phone) | Single column, chain scrolls horizontally, param panel below, footswitch at bottom | +| 480-768px (tablet) | Same layout, more knobs visible per row | +| > 768px (desktop) | Optional: chain + params side-by-side. Footswitch always at bottom. | + +The current app is capped at `maxWidth: 440px` — Stage UI should use **full width** +on desktop (for the pedal's browser UI) while remaining touch-friendly on tablets. + +--- + +## 8. Implementation Phases + +### Phase 1: Block Chain View +- [ ] Extract block rendering into `ChainPanel` + `BlockChain` + `BlockChip` components +- [ ] Build horizontal scroll layout with IN/OUT terminators +- [ ] Wire block select → highlight state +- [ ] Bypass toggle on double-tap +- [ ] Fetch and display blocks from `/api/state` (requires backend change #1) + +### Phase 2: Parameters Panel +- [ ] Build `ParamsPanel` component with conditional rendering +- [ ] Adapt existing `Knob` component for bigger stage-friendly size +- [ ] Add `BigSlider` component for linear params +- [ ] Wire param change → `PATCH /api/block-params` +- [ ] Show master volume / preset info when no block selected + +### Phase 3: Footswitch Bar +- [ ] Build `FootswitchBar` component +- [ ] Scribble strip rendering (number + truncated name) +- [ ] Bank pagination (◀ ▶) +- [ ] Tap → load preset via API +- [ ] Long press → save current chain as preset + +### Phase 4: Drag-and-Drop Reorder +- [ ] Implement HTML5 DnD on `BlockChip` +- [ ] Reorder state on drop +- [ ] Persist to API + +### Phase 5: Polish & Legal Distinctiveness +- [ ] Custom block icon SVGs per FX type +- [ ] Scribble strip font rendering optimization +- [ ] Touch sensitivity tuning +- [ ] Build to `dist/` and verify backend serves at `/` + +--- + +## 9. Size & Layout Constants + +```css +:root { + --block-height: 64px; + --footswitch-height: 68px; + --statusbar-height: 36px; + --knob-size: 56px; + --slider-height: 36px; + --min-tap-target: 48px; + --border-radius-block: 8px; + --border-radius-footswitch: 6px; + --chain-gap: 8px; + --connector-width: 16px; +} +``` + +--- + +## 10. Existing Components to Reuse + +| Component | Status | Changes Needed | +|-----------|--------|----------------| +| `Knob` | Already exists (SVG arc, touch drag) | Increase default size to 56px, adjustable sizing | +| `VUMeter` | Already exists (vertical + horizontal) | None — fits in status bar | +| `FXBlock` | Currently vertical card | Rewrite as horizontal `BlockChip` | +| `T` design tokens | Already defined | Use unchanged | +| CSS styles | Currently in tagged template | Extract into separate `.module.css` or keep inline | + +--- + +## Appendix: Backend Changes Required + +### 1. Add `blocks` to `/api/state` + +In `_gather_state()`, add after line 1163: + +```python +# Current block chain from active preset +if preset: + state["blocks"] = [ + { + "id": f"block_{i}", + "fx_type": b.fx_type.value, + "name": b.fx_type.value.replace("_", " ").title(), + "enabled": b.enabled, + "bypass": b.bypass, + "params": dict(b.params), + "nam_model_path": b.nam_model_path, + "ir_file_path": b.ir_file_path, + } + for i, b in enumerate(preset.chain) + ] +else: + state["blocks"] = [] +``` + +### 2. (Optional) `/api/blocks/reorder` endpoint + +For persistable drag-and-drop ordering: + +```python +@app.put("/api/blocks/reorder") +async def reorder_blocks(data: dict): + """Reorder blocks in the current preset chain.""" + new_ids = data.get("ids", []) + # Map old block order to new order based on block ids + pm = self.deps.presets + ... +``` + +--- + +*End of spec. Ready for handoff to implementation.* diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..ea36dd3 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,21 @@ +import js from '@eslint/js' +import globals from 'globals' +import reactHooks from 'eslint-plugin-react-hooks' +import reactRefresh from 'eslint-plugin-react-refresh' +import { defineConfig, globalIgnores } from 'eslint/config' + +export default defineConfig([ + globalIgnores(['dist']), + { + files: ['**/*.{js,jsx}'], + extends: [ + js.configs.recommended, + reactHooks.configs.flat.recommended, + reactRefresh.configs.vite, + ], + languageOptions: { + globals: globals.browser, + parserOptions: { ecmaFeatures: { jsx: true } }, + }, + }, +]) diff --git a/index.html b/index.html new file mode 100644 index 0000000..2da1215 --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + NAM Pedal + + + +
+ + + diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..f172dc1 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,2424 @@ +{ + "name": "pi-multifx-pedal-ui", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "pi-multifx-pedal-ui", + "version": "0.0.0", + "dependencies": { + "react": "^19.2.6", + "react-dom": "^19.2.6" + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.1", + "eslint": "^10.3.0", + "eslint-plugin-react-hooks": "^7.1.1", + "eslint-plugin-react-refresh": "^0.5.2", + "globals": "^17.6.0", + "vite": "^8.0.12" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.7.tgz", + "integrity": "sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "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", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.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", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", + "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.7.tgz", + "integrity": "sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.7" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.7.tgz", + "integrity": "sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.7.tgz", + "integrity": "sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/config-array": { + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/object-schema": "^3.0.5", + "debug": "^4.3.1", + "minimatch": "^10.2.4" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.6.0.tgz", + "integrity": "sha512-ii6Bw9jJ2zi2cWA2Z+9/QZ/+3DX6kwaV5Q986D/CdP3Lap3w/pgQZ373FV7byY/i7L4IRH/G43I5dz1ClsCbpA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/js": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "eslint": "^10.0.0" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/@eslint/object-schema": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^1.2.1", + "levn": "^0.4.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + } + }, + "node_modules/@humanfs/core": { + "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.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.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", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", + "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.5.tgz", + "integrity": "sha512-AWPoBRJ9tsnVhor4sjO7rkni+7p+2IAEFj6cx06UgP10jkQHqay/36uRV/bFkgrh18D9vb4cr8Q0Pthskgzy+Q==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1", + "@emnapi/runtime": "^1.7.1" + } + }, + "node_modules/@oxc-project/types": { + "version": "0.133.0", + "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.133.0.tgz", + "integrity": "sha512-KzkdCd6Uxqnf6l3HOw1xfatAlUURA0g14cvBYFyJ5SaNOQbOUvBr9PKArcPcrNIeRsBdgcUzOGrhKveVpvOIGA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/Boshen" + } + }, + "node_modules/@rolldown/binding-android-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.3.tgz", + "integrity": "sha512-454rs7jHngixp/NMxd5srYD57OnzSlZ/eFTETjORQHLwJG1lRtmNOJcBerZlfu4GjKqeq8aCCIQrMdHyhI51Hw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.3.tgz", + "integrity": "sha512-PcAhP+ynjURNyy8SKGl5DQP94aGuB/7JrXJb/t7P+hanXvQVMWzUvRRhBAcg/lNRadBhoUPqSoP4xw5tR/KBEA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-darwin-x64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.3.tgz", + "integrity": "sha512-9YpfeUvSE2RS7wysJ81uOZkXJz7f7Q55H2Gvp3VEw/EsahqDtrphrZ0EwDLK5vvKOzaCrBsjF8JmnMLcUt78Gg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-freebsd-x64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.3.tgz", + "integrity": "sha512-yB1IlAsSNHncV6SCTL27/MVGR5htvQsoGxIv5KMGXALp+Ll1wYsn+x98M9MW7qa+NdSbvrrY7ANI4wLJ0n1e6g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm-gnueabihf": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.3.tgz", + "integrity": "sha512-Yi30IVAAfLUCy2MseFjbB1jAMDl1VMCAas5StnYp8da9+CKvMd2H2cbEjWcw5NPaPqzvYkVIaF1nNUG+b7u/sw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.3.tgz", + "integrity": "sha512-jsO7R8To+AdlYgUmN5sHSCZbfhtMBkO0WUx8iORQnPcMMdgr7qM2DQmMwgabs3GhNztdmoKkMKQFHD6DTMCIQw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-arm64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.3.tgz", + "integrity": "sha512-VWkUHwWriDciit80wleYwKILoR/KMvxh/IdwS/paX+ZgpuRpCrKLUdadJbc0NpBEiyhpYawsJ73j9aCvOH+f7Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-ppc64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.3.tgz", + "integrity": "sha512-5f1laC0SlIR0yDbFCd8acUhvJIag6N3zC5P7oUPN6wX0aOma+uKJ0wBDH5aq7I1PVI2ttTlhJwzwRIBnLiSGEg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-s390x-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.3.tgz", + "integrity": "sha512-Iq4ko0r4XsgbrF/LunNgHtAGLRRVE2kXonAXQ/MV0mC6jQpMOhW1SvtZja2EhC/kd05++bP78dsqBeIQyYJ6Yg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.3.tgz", + "integrity": "sha512-B8m6tD5+/N5FeNQFbKlLA/2yVq9ycQP1SeedyEYYKWBNR3ZQbkvIUcNnDNM03lO1l5F2roiiFJGgvoLLyZXtSg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-linux-x64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.3.tgz", + "integrity": "sha512-pSdpdUJHkuCxun9LE7jvgUB9qsRgaiyNNCX7m/AvHTcq67AiT/Yhoxvw5zPfhrM8k/BfP8ce/hMOpthKDpEUow==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-openharmony-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.3.tgz", + "integrity": "sha512-OXXS3RKJgX2uLwM+gYyuH5omcH8fL1LJs96pZGgtetVCahON57+d4SJHzTgZiOjxgGkSnpXpOsWuPDGAKAigEg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-wasm32-wasi": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.3.tgz", + "integrity": "sha512-JTtb8BWFynicNSoPrehsCzBtOKjZ6jhMiPFEmOiuXg1Fl8dn2KHQob+GuPSGR0dryQa1PQJbzjF3dqO/whhjLg==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.10.0", + "@emnapi/runtime": "1.10.0", + "@napi-rs/wasm-runtime": "^1.1.4" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-arm64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.3.tgz", + "integrity": "sha512-gEdFFEN70A/jxb2svrWsN3aDL7OUtmvlOy+6fa2jxG8K0wQ1ZbdeLGnidov6Yu5/733dI5ySfzFlQ/cb0bSz1g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/binding-win32-x64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.3.tgz", + "integrity": "sha512-eXB7CHuaQdqmJcc3koCNtNPmT/bj2gc999kUFgBxG8Ac0NdgXc4rkCHhqrgrhN3zddvvvrgzj1e90SuSfmyIXA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": "^20.19.0 || >=22.12.0" + } + }, + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.2", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.2.tgz", + "integrity": "sha512-RoBvJ2X0wuKlWFIjrwffGw1IqZHKQqzIchKaadZZfnNpsAYp2mM0h36JtPCjNDAHGgYez/15uMBpfGwchhiMgg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/react": { + "version": "19.2.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.17.tgz", + "integrity": "sha512-MXfmqaVPEVgkBT/aY0aGCkRWWtByiYQXo3xdQ8r5RzuFrPiRn8Gar2tQdXSUQ2GKV3bkXckek89V8wQBY2Q/Aw==", + "dev": true, + "license": "MIT", + "dependencies": { + "csstype": "^3.2.2" + } + }, + "node_modules/@types/react-dom": { + "version": "19.2.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", + "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@types/react": "^19.2.0" + } + }, + "node_modules/@vitejs/plugin-react": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.2.tgz", + "integrity": "sha512-DlSMqo4WhThw4vB8Mpn0Woe9J+Jfq1geJ61AKW0QEgLzGMNwtIMdxbDUzLxcun8W7NbJO0e2Jg/Nxm3cCSVzzg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@rolldown/pluginutils": "^1.0.0" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0", + "babel-plugin-react-compiler": "^1.0.0", + "vite": "^8.0.0" + }, + "peerDependenciesMeta": { + "@rolldown/plugin-babel": { + "optional": true + }, + "babel-plugin-react-compiler": { + "optional": true + } + } + }, + "node_modules/acorn": { + "version": "8.17.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz", + "integrity": "sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/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/baseline-browser-mapping": { + "version": "2.10.36", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.36.tgz", + "integrity": "sha512-lVq/Df7LXlO79MVaaUHztSwWiG9oXoWHlgvNS51v8Dpd4+G4/VIy6qYePTw31nAVls33nUtnfezYeLkYAak9dg==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "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/browserslist": { + "version": "4.28.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.28.2.tgz", + "integrity": "sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.10.12", + "caniuse-lite": "^1.0.30001782", + "electron-to-chromium": "^1.5.328", + "node-releases": "^2.0.36", + "update-browserslist-db": "^1.2.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001799", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001799.tgz", + "integrity": "sha512-hG1bReV+OUU+MOqK4t/ZWI0tZOyz3rqS9XuhOUz1cIcbwBKjOyJEJuw9ER5JuNyqxNk8u/JUVbGibBOL1yrjFw==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.5.372", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.372.tgz", + "integrity": "sha512-M3yhbAlilnwqC8D21t28UCDGHyitShTmmLRU/H+b74P6Ski16Nb9HONYEaVpMj/pwC7BEo5B95FpjODLCWbtfA==", + "dev": true, + "license": "ISC" + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.1.tgz", + "integrity": "sha512-AyIKhnOBuOAdueD7RB3xB+YeAWScb9jHsJBgH2Hcde8InP5JYhqrRR6iTMHyTEwgENK54Cp44e4v8BwNhsuHuw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.6.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.2", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "minimatch": "^10.2.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://eslint.org/donate" + }, + "peerDependencies": { + "jiti": "*" + }, + "peerDependenciesMeta": { + "jiti": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-react-hooks": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz", + "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.24.4", + "@babel/parser": "^7.24.4", + "hermes-parser": "^0.25.1", + "zod": "^3.25.0 || ^4.0.0", + "zod-validation-error": "^3.5.0 || ^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0" + } + }, + "node_modules/eslint-plugin-react-refresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.2.tgz", + "integrity": "sha512-hmgTH57GfzoTFjVN0yBwTggnsVUF2tcqi7RJZHqi9lIezSs4eFyAMktA68YD4r5kNw1mxyY4dmkyoFDb3FIqrA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "eslint": "^9 || ^10" + } + }, + "node_modules/eslint-scope": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.16.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^5.0.1" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "17.6.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-17.6.0.tgz", + "integrity": "sha512-sepffkT8stwnIYbsMBpoCHJuJM5l98FUF2AnE07hfvE0m/qp3R586hw4jF4uadbhvg1ooIdzuu7CsfD2jzCaNA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hermes-estree": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz", + "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==", + "dev": true, + "license": "MIT" + }, + "node_modules/hermes-parser": { + "version": "0.25.1", + "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz", + "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hermes-estree": "0.25.1" + } + }, + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "detect-libc": "^2.0.3" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/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/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz", + "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.47", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.47.tgz", + "integrity": "sha512-Uzmd6LXpouKo8EUK68IjH4+E01w/hXyV3R3g/geCJo+rXLNfh1xucB+LOzYEOQPSiUK3h/xZf0cQGcSsmyL2Og==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/postcss": { + "version": "8.5.15", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz", + "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.12", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/react": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react/-/react-19.2.7.tgz", + "integrity": "sha512-HNe9WslTbXmFK8o8cmwgAeJFSBvt1bPdHCVKtaaV+WlAN36mpT4hcRpwbf3fY56ar2oIXzsBpOAiIRHAdY0OlQ==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "19.2.7", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.7.tgz", + "integrity": "sha512-t0BRVXvbiE/o20Hfw669rLbMCDWtYZLvmJigy2f0MxsXF+71pxhR3xOkspmsO8h3ZlNzyibAmtCa3l4lYKk6gQ==", + "license": "MIT", + "dependencies": { + "scheduler": "^0.27.0" + }, + "peerDependencies": { + "react": "^19.2.7" + } + }, + "node_modules/rolldown": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.3.tgz", + "integrity": "sha512-i00lAJ2ks1BYr7rjNjKC7BcqAS7nVfiT3QX1SI5aY+AFHblCmaUf9OE9dbdzDvW6dJxbi2ZCZiy9v3CcwOiX3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@oxc-project/types": "=0.133.0", + "@rolldown/pluginutils": "^1.0.0" + }, + "bin": { + "rolldown": "bin/cli.mjs" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "optionalDependencies": { + "@rolldown/binding-android-arm64": "1.0.3", + "@rolldown/binding-darwin-arm64": "1.0.3", + "@rolldown/binding-darwin-x64": "1.0.3", + "@rolldown/binding-freebsd-x64": "1.0.3", + "@rolldown/binding-linux-arm-gnueabihf": "1.0.3", + "@rolldown/binding-linux-arm64-gnu": "1.0.3", + "@rolldown/binding-linux-arm64-musl": "1.0.3", + "@rolldown/binding-linux-ppc64-gnu": "1.0.3", + "@rolldown/binding-linux-s390x-gnu": "1.0.3", + "@rolldown/binding-linux-x64-gnu": "1.0.3", + "@rolldown/binding-linux-x64-musl": "1.0.3", + "@rolldown/binding-openharmony-arm64": "1.0.3", + "@rolldown/binding-wasm32-wasi": "1.0.3", + "@rolldown/binding-win32-arm64-msvc": "1.0.3", + "@rolldown/binding-win32-x64-msvc": "1.0.3" + } + }, + "node_modules/scheduler": { + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fdir": "^6.5.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD", + "optional": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", + "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/vite": { + "version": "8.0.16", + "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.16.tgz", + "integrity": "sha512-h9bXPmJichP5fLmVQo3PyaGSDE2n3aPuomeAlVRm0JLmt4rY6zmPKd59HYI4LNW8oTK7tlTsuC7l/m7awx9Jcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "lightningcss": "^1.32.0", + "picomatch": "^4.0.4", + "postcss": "^8.5.15", + "rolldown": "1.0.3", + "tinyglobby": "^0.2.17" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^20.19.0 || >=22.12.0", + "@vitejs/devtools": "^0.1.18", + "esbuild": "^0.27.0 || ^0.28.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "@vitejs/devtools": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jiti": { + "optional": true + }, + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "sass-embedded": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true + } + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", + "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, + "node_modules/zod-validation-error": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz", + "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "zod": "^3.25.0 || ^4.0.0" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..6cba6dd --- /dev/null +++ b/package.json @@ -0,0 +1,27 @@ +{ + "name": "pi-multifx-pedal-ui", + "private": true, + "version": "0.0.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "vite build", + "lint": "eslint .", + "preview": "vite preview" + }, + "dependencies": { + "react": "^19.2.6", + "react-dom": "^19.2.6" + }, + "devDependencies": { + "@eslint/js": "^10.0.1", + "@types/react": "^19.2.14", + "@types/react-dom": "^19.2.3", + "@vitejs/plugin-react": "^6.0.1", + "eslint": "^10.3.0", + "eslint-plugin-react-hooks": "^7.1.1", + "eslint-plugin-react-refresh": "^0.5.2", + "globals": "^17.6.0", + "vite": "^8.0.12" + } +} diff --git a/public/icons.svg b/public/icons.svg new file mode 100644 index 0000000..e952219 --- /dev/null +++ b/public/icons.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/App.jsx b/src/App.jsx new file mode 100644 index 0000000..1b812c9 --- /dev/null +++ b/src/App.jsx @@ -0,0 +1,813 @@ +import { useState, useRef, useEffect, useCallback, useMemo } from "react"; +import BlockChain from "./BlockChain.jsx"; +import FootswitchBar from "./FootswitchBar.jsx"; + +// ── API Layer ────────────────────────────────────────────────────── +const API_BASE = ""; + +async function api(method, path, body) { + const opts = { method, headers: { "Content-Type": "application/json" } }; + if (body) opts.body = JSON.stringify(body); + const res = await fetch(`${API_BASE}${path}`, opts); + if (!res.ok) throw new Error(`API ${method} ${path}: ${res.status}`); + return res.json(); +} + +const API = { + getState: () => api("GET", "/api/state"), + getVu: () => api("GET", "/api/vu"), + updateBlock: (id, params) => api("PATCH", "/api/block-params", { id, ...params }), + toggleBlock: (id, enabled) => api("PATCH", "/api/blocks", { id, enabled }), + bypassToggle: () => api("POST", "/api/bypass/toggle"), + masterVolume: (v) => api("POST", "/api/volume", { volume: v / 100 }), + listModels: () => api("GET", "/api/models"), + loadModel: (path) => api("POST", "/api/models/load", { path }), + listPresets: () => api("GET", "/api/presets"), + loadPreset: (bank, program) => api("GET", "/api/presets", { bank, program }), + savePreset: (bank, program, name, tags) => api("PUT", "/api/presets", { bank, program, name, tags }), + searchModels: (q) => api("GET", `/api/tonehub/search?q=${encodeURIComponent(q)}`), + searchIrs: (q) => api("GET", `/api/tonehub/search/irs?q=${encodeURIComponent(q)}`), + installModel: (url, name) => api("POST", "/api/models/tonedownload/install", { download_url: url, name }), + installIr: (url, name) => api("POST", "/api/irs/tonedownload/install", { download_url: url, name }), +}; + +// ── Design tokens ────────────────────────────────────────────── +const T = { + bg: "#0A0A0C", + panel: "#141418", + surface: "#1C1C22", + border: "#2A2A32", + amber: "#E8A030", + amberDim: "#7A5218", + blue: "#3A7BA8", + blueDim: "#1E4060", + green: "#3AB87A", + red: "#C84040", + textPrimary: "#F0EDE6", + textSec: "#8888A0", + textDim: "#444458", +}; + +// ── Block parameter definitions ───────────────────────────────── +const BLOCK_PARAMS = { + overdrive: [{ key:'drive', label:'Drive', min:0, max:100, def:30 }, { key:'tone', label:'Tone', min:0, max:100, def:50 }, { key:'level', label:'Level', min:0, max:100, def:70 }], + distortion: [{ key:'drive', label:'Drive', min:0, max:100, def:50 }, { key:'tone', label:'Tone', min:0, max:100, def:40 }, { key:'level', label:'Level', min:0, max:100, def:60 }], + fuzz: [{ key:'fuzz', label:'Fuzz', min:0, max:100, def:60 }, { key:'tone', label:'Tone', min:0, max:100, def:30 }, { key:'level', label:'Level', min:0, max:100, def:60 }], + delay: [{ key:'time', label:'Time', min:0, max:100, def:40 }, { key:'feedback', label:'Feedback', min:0, max:100, def:30 }, { key:'mix', label:'Mix', min:0, max:100, def:35 }], + echo: [{ key:'time', label:'Time', min:0, max:100, def:40 }, { key:'feedback', label:'Feedback', min:0, max:100, def:30 }, { key:'mix', label:'Mix', min:0, max:100, def:35 }], + reverb: [{ key:'decay', label:'Decay', min:0, max:100, def:50 }, { key:'mix', label:'Mix', min:0, max:100, def:30 }, { key:'tone', label:'Tone', min:0, max:100, def:50 }], + chorus: [{ key:'rate', label:'Rate', min:0, max:100, def:40 }, { key:'depth', label:'Depth', min:0, max:100, def:40 }, { key:'mix', label:'Mix', min:0, max:100, def:30 }], + flanger: [{ key:'rate', label:'Rate', min:0, max:100, def:30 }, { key:'depth', label:'Depth', min:0, max:100, def:50 }, { key:'feedback', label:'Feedback', min:0, max:100, def:40 }, { key:'mix', label:'Mix', min:0, max:100, def:30 }], + phaser: [{ key:'rate', label:'Rate', min:0, max:100, def:30 }, { key:'depth', label:'Depth', min:0, max:100, def:50 }, { key:'feedback', label:'Feedback', min:0, max:100, def:40 }, { key:'mix', label:'Mix', min:0, max:100, def:30 }], + compressor: [{ key:'threshold', label:'Thresh', min:0, max:100, def:50 }, { key:'ratio', label:'Ratio', min:1, max:20, def:4 }, { key:'gain', label:'Gain', min:0, max:100, def:50 }], + gate: [{ key:'threshold', label:'Thresh', min:0, max:100, def:30 }, { key:'release', label:'Release', min:0, max:100, def:50 }], + eq: [{ key:'low', label:'Low', min:-12, max:12, def:0 }, { key:'mid', label:'Mid', min:-12, max:12, def:0 }, { key:'high', label:'High', min:-12, max:12, def:0 }, { key:'level', label:'Level', min:0, max:100, def:70 }], + cabinet: [{ key:'level', label:'Level', min:0, max:100, def:75 }], + ir: [{ key:'level', label:'Level', min:0, max:100, def:75 }], +}; + +const BLOCK_COLORS = { + overdrive: T.amber, distortion: T.red, fuzz: '#C07030', + delay: T.blue, echo: T.blue, reverb: '#60B0D0', + chorus: T.green, flanger: '#50C080', phaser: '#80C050', + compressor: '#D09040', gate: T.textSec, eq: '#7080D0', + cabinet: '#D07090', ir: '#D07090', +}; + +function getBlockParams(type) { + return BLOCK_PARAMS[(type || '').toLowerCase()] || [{ key:'level', label:'Level', min:0, max:100, def:50 }]; +} +function getBlockColor(type) { + return BLOCK_COLORS[(type || '').toLowerCase()] || T.amber; +} + +// ── CSS (Helix Stadium theme) ───────────────────────────────── +const css = ` + @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@300;400;500;600&display=swap'); + * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; user-select: none; } + body { background: ${T.bg}; color: ${T.textPrimary}; font-family: 'Inter', sans-serif; } + + :root { --amber: ${T.amber}; --blue: ${T.blue}; --green: ${T.green}; } + .mono { font-family: 'JetBrains Mono', monospace; } + + ::-webkit-scrollbar { width: 4px; height: 4px; } + ::-webkit-scrollbar-track { background: ${T.panel}; } + ::-webkit-scrollbar-thumb { background: ${T.border}; border-radius: 2px; } + + /* ── Knob ── */ + .knob-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; } + .knob { border-radius: 50%; position: relative; touch-action: none; } + .knob-inner { border-radius: 50%; width: 100%; height: 100%; position: relative; + background: radial-gradient(circle at 35% 30%, #3A3A48, #1A1A22); + box-shadow: 0 2px 8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.07); } + .knob-dot { position: absolute; width: 3px; border-radius: 2px; background: var(--amber); + left: 50%; transform-origin: bottom center; box-shadow: 0 0 6px var(--amber); } + .knob-label { font-size: 10px; color: ${T.textSec}; letter-spacing: .06em; text-transform: uppercase; text-align: center; } + .knob-value { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: ${T.amber}; } + + /* ── Toggle ── */ + .toggle { display: flex; background: ${T.surface}; border-radius: 6px; border: 1px solid ${T.border}; overflow: hidden; } + .toggle-btn { flex: 1; padding: 7px 12px; font-size: 12px; font-weight: 500; letter-spacing: .04em; + background: none; border: none; color: ${T.textSec}; cursor: pointer; transition: all .15s; } + .toggle-btn.active { background: ${T.amber}; color: #000; } + + /* ── Buttons ── */ + .btn { padding: 10px 18px; border-radius: 7px; font-size: 13px; font-weight: 600; + letter-spacing: .04em; border: none; cursor: pointer; transition: all .12s; } + .btn-primary { background: ${T.amber}; color: #000; } + .btn-primary:active { filter: brightness(.85); transform: scale(.97); } + .btn-ghost { background: ${T.surface}; color: ${T.textPrimary}; border: 1px solid ${T.border}; } + .btn-ghost:active { background: ${T.border}; } + .btn-danger { background: rgba(200,64,64,.2); color: ${T.red}; border: 1px solid rgba(200,64,64,.3); } + .btn-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; + justify-content: center; background: ${T.surface}; border: 1px solid ${T.border}; cursor: pointer; + font-size: 16px; transition: all .12s; } + .btn-icon:active { transform: scale(.93); } + .btn-icon.active { background: rgba(232,160,48,.15); border-color: ${T.amber}; color: ${T.amber}; } + + /* ── Badge ── */ + .badge { display: inline-flex; align-items: center; justify-content: center; + padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; + letter-spacing: .06em; text-transform: uppercase; } + .badge-amber { background: rgba(232,160,48,.2); color: ${T.amber}; } + .badge-green { background: rgba(58,184,122,.2); color: ${T.green}; } + .badge-blue { background: rgba(58,123,168,.2); color: ${T.blue}; } + .badge-red { background: rgba(200,64,64,.2); color: ${T.red}; } + + /* ── Screen header (for overlay screens) ── */ + .screen-header { padding: 14px 16px 10px; display: flex; align-items: center; + justify-content: space-between; border-bottom: 1px solid ${T.border}; } + .screen-title { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: ${T.textSec}; } + .screen-body { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; + flex-direction: column; gap: 14px; } + + /* ── Param slider ── */ + .param-panel { background: ${T.surface}; border-radius: 12px 12px 0 0; padding: 10px 14px 8px; + flex-shrink: 0; overflow-y: auto; border-top: 1px solid ${T.border}; } + .param-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; } + .param-panel-title { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: ${T.textSec}; } + .param-row { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; } + .param-header { display: flex; justify-content: space-between; align-items: center; } + .param-label { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: ${T.textSec}; } + .param-val { font-family: 'JetBrains Mono',monospace; font-size: 12px; font-weight: 600; } + .param-track-wrap { position: relative; height: 38px; display: flex; align-items: center; cursor: pointer; touch-action: none; } + .param-track { width: 100%; height: 8px; background: ${T.border}; border-radius: 4px; position: relative; overflow: hidden; } + .param-fill { height: 100%; border-radius: 4px; position: absolute; top: 0; left: 0; transition: width .04s; } + .param-thumb { width: 26px; height: 26px; border-radius: 50%; position: absolute; top: 50%; + transform: translate(-50%,-50%); box-shadow: 0 1px 6px rgba(0,0,0,.6); pointer-events: none; + border: 3px solid ${T.bg}; } + .param-btn { width: 32px; height: 32px; border-radius: 50%; border: 1px solid ${T.border}; + background: ${T.panel}; color: ${T.textPrimary}; font-size: 15px; font-weight: 700; + display: flex; align-items: center; justify-content: center; cursor: pointer; line-height: 1; } + .param-btn:active { background: ${T.border}; transform: scale(.92); } + .param-knobs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 8px 0; } + + /* ── Preset chip ── */ + .preset-chip { padding: 5px 8px; border-radius: 6px; background: ${T.surface}; border: 1px solid ${T.border}; + display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: all .12s; flex: 1; + min-width: 0; } + .preset-chip.active { border-color: ${T.amber}; background: rgba(232,160,48,.08); } + .preset-chip .pc-name { font-size: 10px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } + .preset-chip .pc-num { font-family: 'JetBrains Mono', monospace; font-size: 8px; color: ${T.textDim}; margin-top: 1px; } + + /* ── Preset row (captures screen) ── */ + .preset-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; + border-radius: 8px; cursor: pointer; transition: background .12s; border: 1px solid transparent; } + .preset-row:active, .preset-row.active { background: rgba(232,160,48,.08); border-color: rgba(232,160,48,.25); } + .section-label { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; + color: ${T.textDim}; font-weight: 600; margin-bottom: 10px; } + + /* ── Card ── */ + .card { background: ${T.panel}; border: 1px solid ${T.border}; border-radius: 10px; padding: 16px; } + .card-sm { background: ${T.surface}; border: 1px solid ${T.border}; border-radius: 8px; padding: 12px; } +`; + +// ── Knob ────────────────────────────────────────────────────── +function Knob({ label, value = 50, onChange, size = 52, color = T.amber, min = 0, max = 100 }) { + const startRef = useRef(null); + const norm = (value - min) / (max - min); + const angle = -140 + norm * 280; + const dotH = size * 0.38; + const dotTop = size * 0.5 - dotH; + + const handleStart = (e) => { + e.preventDefault(); + const clientY = e.touches ? e.touches[0].clientY : e.clientY; + startRef.current = { y: clientY, val: value }; + const move = (ev) => { + const cy = ev.touches ? ev.touches[0].clientY : ev.clientY; + const delta = (startRef.current.y - cy) / 120; + const next = Math.max(min, Math.min(max, startRef.current.val + delta * (max - min))); + onChange?.(Math.round(next)); + }; + const up = () => { window.removeEventListener("mousemove", move); window.removeEventListener("mouseup", up); + window.removeEventListener("touchmove", move); window.removeEventListener("touchend", up); }; + window.addEventListener("mousemove", move); window.addEventListener("mouseup", up); + window.addEventListener("touchmove", move, { passive: false }); + window.addEventListener("touchend", up); + }; + + const svgSize = size + 12; + const cx = svgSize / 2, cy = svgSize / 2, r = size / 2 + 3; + const lx = cx + r * Math.cos((-140 - 90) * (Math.PI / 180)); + const ly = cy + r * Math.sin((-140 - 90) * (Math.PI / 180)); + const ex = cx + r * Math.cos((angle - 90) * (Math.PI / 180)); + const ey = cy + r * Math.sin((angle - 90) * (Math.PI / 180)); + const large = norm * 280 > 180 ? 1 : 0; + + return ( +
+
+ + + {norm > 0 && } + +
+
+
+
+
{value}
+
{label}
+
+ ); +} + +// ── Param Slider (big touch-friendly) ───────────────────────── +function ParamSlider({ label, value = 50, onChange, onChangeEnd, min = 0, max = 100, color = T.amber }) { + const trackRef = useRef(null); + const dragRef = useRef(false); + const lastValRef = useRef(value); + const onChangeRef = useRef(onChange); + const onChangeEndRef = useRef(onChangeEnd); + const pct = ((value - min) / (max - min)) * 100; + + useEffect(() => { onChangeRef.current = onChange; }, [onChange]); + useEffect(() => { onChangeEndRef.current = onChangeEnd; }, [onChangeEnd]); + + const valFromEvent = useCallback((e) => { + const t = trackRef.current; + if (!t) return value; + const r = t.getBoundingClientRect(); + const x = (e.touches ? e.touches[0].clientX : e.clientX) - r.left; + return Math.round(min + Math.max(0, Math.min(1, x / r.width)) * (max - min)); + }, [min, max, value]); + + useEffect(() => { + const move = (e) => { + if (!dragRef.current) return; + e.preventDefault(); + const v = valFromEvent(e); + lastValRef.current = v; + onChangeRef.current?.(v); + }; + const up = () => { + if (dragRef.current) { + onChangeEndRef.current?.(lastValRef.current); + dragRef.current = false; + } + }; + window.addEventListener('mousemove', move); + window.addEventListener('mouseup', up); + window.addEventListener('touchmove', move, { passive: false }); + window.addEventListener('touchend', up); + return () => { + window.removeEventListener('mousemove', move); + window.removeEventListener('mouseup', up); + window.removeEventListener('touchmove', move); + window.removeEventListener('touchend', up); + }; + }, [valFromEvent]); + + const handleStart = (e) => { + e.preventDefault(); + const v = valFromEvent(e); + lastValRef.current = v; + dragRef.current = true; + onChangeRef.current?.(v); + }; + + const quick = (delta) => (e) => { + e.preventDefault(); + e.stopPropagation(); + const next = Math.max(min, Math.min(max, value + delta)); + onChangeRef.current?.(next); + onChangeEndRef.current?.(next); + }; + + return ( +
+
+ {label} +
+ + {value} + +
+
+
+
+
+
+
+
+
+ ); +} + +// ── Parameter Panel ────────────────────────────────────────── +function ParameterPanel({ block, params, onParamChange, onParamChangeEnd, viewMode, onToggleView }) { + const defs = getBlockParams(block.type); + const color = getBlockColor(block.type); + const blockName = block.name || (block.type || '').toUpperCase(); + + return ( +
+
+ + {blockName} + + +
+ {viewMode === 'slider' ? ( + defs.map(p => ( + onParamChange?.(p.key, v)} + onChangeEnd={v => onParamChangeEnd?.(p.key, v)} + /> + )) + ) : ( +
+ {defs.map(p => ( + { + onParamChange?.(p.key, v); + onParamChangeEnd?.(p.key, v); + }} + /> + ))} +
+ )} +
+ ); +} + +// ── VU Meter ────────────────────────────────────────────────── +function VUMeter({ level = 0, height = 28, vertical = false }) { + const segs = 12; + const active = Math.round((level / 100) * segs); + const segColor = (i) => { + if (i >= 10) return T.red; + if (i >= 8) return "#E8C030"; + return T.green; + }; + if (vertical) return ( +
+ {Array.from({ length: segs }).map((_, i) => ( +
+ ))} +
+ ); + return ( +
+ {Array.from({ length: segs }).map((_, i) => ( +
+ ))} +
+ ); +} + +// ── Scribble Info Bar ────────────────────────────────────── +function ScribbleBar({ state }) { + const vol = state.master_volume != null ? Math.round(state.master_volume * 100) : 0; + return ( +
+ {[ + { label: "Preset", value: state.current_preset?.name || "—" }, + { label: "Routing", value: (state.routing_mode || "MONO").toUpperCase() }, + { label: "Volume", value: `${vol}%` }, + { label: "CPU", value: state.cpu_percent != null ? `${state.cpu_percent}%` : "—" }, + ].map(s => ( +
+
{s.label}
+
{s.value}
+
+ ))} +
+ ); +} + +// ── Captures Screen (Model/IR downloads) ────────────────────── +function CapturesScreen({ onClose }) { + const [tab, setTab] = useState("models"); + const [query, setQuery] = useState(""); + const [results, setResults] = useState(null); + const [models, setModels] = useState([]); + const [loading, setLoading] = useState(false); + + useEffect(() => { + API.listModels().then(d => setModels(d.models || [])).catch(()=>{}); + }, []); + + const doSearch = async () => { + if (!query.trim()) return; + setLoading(true); + try { + const data = tab === "models" + ? await API.searchModels(query) + : await API.searchIrs(query); + setResults(data.results || []); + } catch { setResults([]); } + setLoading(false); + }; + + const install = async (item) => { + try { + if (tab === "models") { + await API.installModel(item.download_url, item.name); + } else { + await API.installIr(item.download_url, item.name); + } + API.listModels().then(d => setModels(d.models || [])).catch(()=>{}); + } catch(e) { alert("Install failed: " + e.message); } + }; + + return ( +
+
+
Downloads
+ +
+
+
+ + +
+
+
+
+ 🔍 + setQuery(e.target.value)} + onKeyDown={e => e.key === "Enter" && doSearch()} + style={{ flex: 1, background: "none", border: "none", color: T.textPrimary, fontSize: 12, outline: "none" }} /> +
+ +
+
+ {results === null && models.length > 0 && ( + <> +
Installed Models
+ {models.map((m, i) => ( +
+
🎛
+
+
{m.name}
+
+ {m.architecture} · {m.size_mb}MB {m.loaded ? "· CURRENT" : ""} +
+
+
+ ))} + + )} + {results !== null && results.length === 0 && ( +
No results found
+ )} + {results !== null && results.map((r, i) => ( +
+
+
{r.name}
+
+ {r.author} · {r.size_display} +
+
+ +
+ ))} +
+
+ ); +} + +// ── Presets Screen ───────────────────────────────────────── +function PresetsScreen({ state, onClose, onLoadPreset }) { + const [activeIdx, setActiveIdx] = useState(0); + const samplePresets = [ + { num: 1, name: "Plexi Crunch", tags: ["Crunch", "Vintage"], color: T.amber }, + { num: 2, name: "Modern High Gain", tags: ["High Gain", "Lead"], color: T.red }, + { num: 3, name: "Clean Chimey", tags: ["Clean", "Sparkle"], color: T.blue }, + { num: 4, name: "Southern Blues", tags: ["Crunch", "Blues"], color: T.green }, + { num: 5, name: "Metal Djent", tags: ["High Gain", "Djent"], color: T.red }, + { num: 6, name: "Studio Direct", tags: ["Clean", "Studio"], color: T.blue }, + { num: 7, name: "Acoustic Sim", tags: ["Acoustic", "Clean"], color: "#A060E0" }, + { num: 8, name: "Nashville Twang", tags: ["Country", "Clean"], color: T.green }, + ]; + + return ( +
+
+
Presets
+ +
+
+
+ {["All", "Live", "Studio", "Practice"].map(t => ( + + ))} +
+ {samplePresets.map((p, i) => ( +
{ setActiveIdx(i); onLoadPreset?.(p.num); }}> +
{p.num}
+
+
{p.name}
+
+ {p.tags.map(t => ( + {t} + ))} +
+
+ {activeIdx === i && } +
+ ))} +
+
+ ); +} + +// ── App Shell — Helix Stadium Layout ────────────────────────── +const MOCK_BLOCKS = [ + { id: "gate", type: "gate", name: "Noise Gate", bypassed: false, params: { threshold: 40, release: 25, depth: 70, mix: 100 }}, + { id: "drive", type: "overdrive", name: "OD-808", bypassed: false, params: { drive: 65, tone: 55, level: 70 }}, + { id: "dist", type: "distortion", name: "RAT", bypassed: true, params: { drive: 75, filter: 50, level: 65 }}, + { id: "mod", type: "phaser", name: "Phase 90", bypassed: false, params: { rate: 35, depth: 60, feedback: 40, mix: 50 }}, + { id: "delay", type: "delay", name: "Digital Delay", bypassed: false, params: { time: 45, feedback: 25, mix: 40 }}, + { id: "reverb", type: "reverb", name: "Hall Reverb", bypassed: false, params: { decay: 60, mix: 35, tone: 50 }}, +]; + +const MOCK_PRESETS = [ + { num: 1, name: "Plexi Crunch" }, + { num: 2, name: "Modern Hi-Gain" }, + { num: 3, name: "Clean Chime" }, + { num: 4, name: "Blues Drive" }, +]; + +export default function App() { + // ── State ── + const [view, setView] = useState("main"); // "main" | "captures" | "presets" + const [state, setState] = useState({ connected: false, master_volume: 0.72, routing_mode: "mono", cpu_percent: 0 }); + const [blocks, setBlocks] = useState(MOCK_BLOCKS); + const [selectedBlockId, setSelectedBlockId] = useState("gate"); + const [blockParams, setBlockParams] = useState({}); + const [paramView, setParamView] = useState("slider"); + const [vuLevel, setVuLevel] = useState(0); + const [currentPreset, setCurrentPreset] = useState(1); + const [currentBank, setCurrentBank] = useState(1); + + // Poll pedal state + useEffect(() => { + const poll = async () => { + try { + const s = await API.getState(); + setState(s); + if (s.cpu_percent != null) setState(prev => ({ ...prev, cpu_percent: s.cpu_percent })); + if (s.input_level != null) setVuLevel(s.input_level); + } catch {} + }; + poll(); + const id = setInterval(poll, 3000); + return () => clearInterval(id); + }, []); + + // Mock VU animation when no real data + useEffect(() => { + const id = setInterval(() => { + setVuLevel(prev => Math.max(0, Math.min(100, prev + (Math.random() - 0.45) * 8))); + }, 150); + return () => clearInterval(id); + }, []); + + // Selected block + const selectedBlock = useMemo(() => blocks.find(b => b.id === selectedBlockId), [blocks, selectedBlockId]); + + // Initialize params when block is selected + useEffect(() => { + if (selectedBlock && blockParams[selectedBlockId] == null) { + const defs = getBlockParams(selectedBlock.type); + const init = {}; + defs.forEach(p => { + init[p.key] = (selectedBlock.params?.[p.key] != null) ? selectedBlock.params[p.key] : p.def; + }); + setBlockParams(prev => ({ ...prev, [selectedBlockId]: init })); + } + }, [selectedBlockId, selectedBlock, blockParams]); + + const handleSelectBlock = useCallback((id) => { + setSelectedBlockId(prev => prev === id ? null : id); + }, []); + + const handleToggleBlock = useCallback((id) => { + setBlocks(prev => prev.map(b => b.id === id ? { ...b, bypassed: !b.bypassed } : b)); + API.toggleBlock(id, false).catch(() => {}); + }, []); + + const handleParamChange = useCallback((id, key, value) => { + setBlockParams(prev => ({ ...prev, [id]: { ...(prev[id] || {}), [key]: value } })); + }, []); + + const handleParamChangeEnd = useCallback((id, key, value) => { + API.updateBlock(id, { [key]: value }).catch(() => {}); + }, []); + + const handleReorder = useCallback((fromIdx, toIdx) => { + setBlocks(prev => { + const arr = [...prev]; + const [moved] = arr.splice(fromIdx, 1); + arr.splice(toIdx, 0, moved); + return arr; + }); + }, []); + + const handleAddBlock = useCallback(() => { + const id = "block_" + Date.now(); + setBlocks(prev => [...prev, { id, type: "overdrive", name: "New Drive", bypassed: false, params: { drive: 30, tone: 50, level: 70 } }]); + }, []); + + const handleRemoveBlock = useCallback((id) => { + setBlocks(prev => prev.filter(b => b.id !== id)); + if (selectedBlockId === id) setSelectedBlockId(null); + }, [selectedBlockId]); + + const handleBankUp = useCallback(() => { + setCurrentBank(prev => Math.min(prev + 1, 8)); + }, []); + + const handleBankDown = useCallback(() => { + setCurrentBank(prev => Math.max(prev - 1, 1)); + }, []); + + // Convert bank number to letter (1=A, 2=B, etc.) + const bankLetter = String.fromCharCode(64 + currentBank); + + // ── Render ── + return ( + <> + +
+ {view === "main" && ( + <> + {/* ── Status Bar ── */} +
+
+
+ + {state.connected ? "CONNECTED" : "OFFLINE"} + + + {state.current_preset?.name || "Plexi Crunch"} + +
+
+ + + +
+
+ + {/* ── Scribble Info Bar ── */} + + + {/* ── Preset Strip ── */} +
+ {MOCK_PRESETS.map(p => ( +
setCurrentPreset(p.num)}> +
{p.name}
+
0{p.num}
+
+ ))} +
+ + {/* ── Block Chain + Params ── */} +
+
+ +
+ + {/* ── Parameter Panel ── */} + {selectedBlock && blockParams[selectedBlockId] && ( + setParamView(p => p === 'slider' ? 'knob' : 'slider')} + onParamChange={(key, value) => handleParamChange(selectedBlockId, key, value)} + onParamChangeEnd={(key, value) => handleParamChangeEnd(selectedBlockId, key, value)} + /> + )} + {!selectedBlock && ( +
+ Tap a block to edit its parameters +
+ )} +
+ + {/* ── Footswitch Bar ── */} + {}} + onBankDown={() => {}} + onGlobalBypass={() => setState(prev => ({ ...prev, bypass: !prev.bypass }))} + globalBypass={state.bypass} + /> + + )} + + {/* ── Overlay screens ── */} + {view === "captures" && ( + setView("main")} /> + )} + {view === "presets" && ( + setView("main")} + onLoadPreset={(num) => setCurrentPreset(num)} + /> + )} +
+ + ); +} diff --git a/src/BlockChain.jsx b/src/BlockChain.jsx new file mode 100644 index 0000000..ca9a2cc --- /dev/null +++ b/src/BlockChain.jsx @@ -0,0 +1,446 @@ +import { useState, useRef, useCallback } from "react"; + +// ── Design tokens (mirrored from App.jsx) ──────────────────── +const T = { + bg: "#0A0A0C", + panel: "#141418", + surface: "#1C1C22", + border: "#2A2A32", + amber: "#E8A030", + amberDim: "#7A5218", + blue: "#3A7BA8", + blueDim: "#1E4060", + green: "#3AB87A", + red: "#C84040", + textPrimary: "#F0EDE6", + textSec: "#8888A0", + textDim: "#444458", +}; + +// ── Type-to-color mapping for accent strips ───────────────── +const TYPE_COLORS = { + od: T.amber, + overdrive: T.amber, + drive: T.amber, + dist: T.red, + distortion: T.red, + fuzz: "#D060E0", + mod: T.blue, + chorus: T.blue, + flange: T.blue, + phaser: T.blue, + tremolo: T.blue, + vibrato: T.blue, + rotary: T.blue, + delay: "#60A0E0", + echo: "#60A0E0", + reverb: "#60C0D0", + pitch: "#A060E0", + comp: T.green, + compressor: T.green, + gate: T.green, + filter: "#D0A060", + wah: "#D0A060", + eq: "#80A0B0", + ir: T.green, + cab: T.green, + nam: "#E0A040", + volume: T.textSec, + boost: T.amber, +}; + +function getBlockColor(type) { + const key = (type || "").toLowerCase().trim(); + for (const [k, v] of Object.entries(TYPE_COLORS)) { + if (key === k || key.startsWith(k) || key.includes(k)) return v; + } + return T.amber; +} + +function getBlockIcon(type) { + const key = (type || "").toLowerCase(); + if (odMatch(key)) return "\uD83D\uDD25"; + if (key.includes("dist") || key.includes("gain")) return "\uD83D\uDCA5"; + if (key.includes("fuzz")) return "\u26A1"; + if (modMatch(key)) return "\uD83C\uDF00"; + if (key.includes("delay") || key.includes("echo")) return "\u23F3"; + if (key.includes("reverb")) return "\uD83C\uDF0A"; + if (key.includes("pitch") || key.includes("harm") || key.includes("shift")) return "\uD83C\uDFB5"; + if (key.includes("comp") || key.includes("limit")) return "\uD83D\uDCCA"; + if (key.includes("gate") || key.includes("noise")) return "\uD83D\uDD07"; + if (key.includes("filter") || key.includes("wah")) return "\uD83D\uDCC8"; + if (key.includes("eq")) return "\u2696\uFE0F"; + if (key.includes("ir") || key.includes("cab")) return "\uD83D\uDD0A"; + if (key.includes("nam") || key.includes("capture")) return "\uD83C\uDF9B"; + if (key.includes("volume") || key.includes("level") || key.includes("boost")) return "\uD83D\uDD08"; + if (key.includes("tuner")) return "\uD83C\uDFB9"; + return "\u25A3"; + function odMatch(k) { return k.includes("od") || k.includes("overdrive") || k.includes("drive") || k.includes("boost") && !k.includes("volume"); } + function modMatch(k) { return k.includes("mod") || k.includes("chorus") || k.includes("flange") || k.includes("phaser") || k.includes("trem") || k.includes("vibr") || k.includes("rotary"); } +} + +// ── Chain Arrow SVG ───────────────────────────────────────── +function ChainArrow() { + return ( + + + + + ); +} + +// ── IN / OUT Terminator ───────────────────────────────────── +function Terminator({ label, isLeft }) { + return ( +
+ {!isLeft && } +
+ {label} +
+ {isLeft && } +
+ ); +} + +// ── Block Tile ────────────────────────────────────────────── +function BlockTile({ block, selected, index, onSelect, onToggle }) { + const color = getBlockColor(block.type); + const enabled = !block.bypassed; + + return ( +
onSelect(block.id)} + style={{ + minWidth: 120, + width: 120, + height: 76, + borderRadius: 8, + background: T.panel, + border: `2px solid ${selected ? T.amber : T.border}`, + opacity: enabled ? 1 : 0.35, + cursor: "pointer", + display: "flex", + flexDirection: "column", + position: "relative", + overflow: "hidden", + transition: "all .15s ease", + flexShrink: 0, + boxShadow: selected + ? `0 0 16px ${T.amber}44, inset 0 0 0 1px ${T.amber}22` + : "none", + transform: selected ? "scale(1.05)" : "scale(1)", + }} + > + {/* Color accent strip at top (like Helix footswitch LCD bezel) */} +
+ + {/* Drag handle */} +
+ ⋮⋮ +
+ + {/* BYPASS LED - tap to toggle */} +
{ e.stopPropagation(); onToggle(block.id); }} + style={{ + position: "absolute", + top: 6, + right: 6, + width: 10, + height: 10, + borderRadius: "50%", + background: enabled ? T.green : T.textDim, + boxShadow: enabled ? `0 0 8px ${T.green}` : "none", + transition: "all .15s", + cursor: "pointer", + zIndex: 2, + border: `1px solid ${enabled ? `${T.green}88` : T.border}`, + }} + title={enabled ? "Active — tap to bypass" : "Bypassed — tap to enable"} + /> + + {/* Scribble strip — LCD-like display area */} +
+ {/* Block name */} +
+ {block.name || block.type || "FX"} +
+ {/* Type badge row */} +
+ {getBlockIcon(block.type)} + + {(block.type || "fx").replace(/_/g, " ").toUpperCase()} + +
+
+
+ ); +} + +// ── Simple parameter row (placeholder for child task) ──────── +function ParamRow({ label, value, color }) { + const numVal = typeof value === "number" ? value : 50; + return ( +
+
+ {label} +
+
+
+
+
+ {numVal} +
+
+ ); +} + +// ── Block Chain (exported) ────────────────────────────────── +export default function BlockChain({ blocks, selectedBlockId, onSelectBlock, onToggleBlock, onReorder, onAddBlock, onRemoveBlock }) { + const scrollRef = useRef(null); + const [dragIdx, setDragIdx] = useState(null); + const [scrollPos, setScrollPos] = useState(0); + + // ── HTML5 drag-to-reorder ── + const handleDragStart = useCallback((e, idx) => { + setDragIdx(idx); + e.dataTransfer.effectAllowed = "move"; + e.dataTransfer.setData("text/plain", String(idx)); + }, []); + + const handleDragOver = useCallback((e, _idx) => { + e.preventDefault(); + e.dataTransfer.dropEffect = "move"; + }, []); + + const handleDrop = useCallback((e, dropIdx) => { + e.preventDefault(); + if (dragIdx !== null && dragIdx !== dropIdx && onReorder) { + onReorder(dragIdx, dropIdx); + } + setDragIdx(null); + }, [dragIdx, onReorder]); + + const handleDragEnd = useCallback(() => { + setDragIdx(null); + }, []); + + // ── Auto-scroll selected block into view ── + const scrollToSelected = useCallback(() => { + if (!scrollRef.current || !selectedBlockId) return; + const idx = blocks.findIndex(b => b.id === selectedBlockId); + if (idx < 0) return; + const child = scrollRef.current.children[idx + 1]; // +1 for IN terminator + if (child) child.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" }); + }, [selectedBlockId, blocks]); + + // Scroll on selection change + const prevSelected = useRef(selectedBlockId); + if (selectedBlockId !== prevSelected.current) { + prevSelected.current = selectedBlockId; + setTimeout(scrollToSelected, 50); + } + + const selectedBlock = blocks.find(b => b.id === selectedBlockId); + + return ( +
+ {/* ── Horizontal scrollable chain ── */} +
setScrollPos(e.target.scrollLeft)} + style={{ + display: "flex", + alignItems: "center", + gap: 4, + padding: "10px 12px", + overflowX: "auto", + overflowY: "hidden", + minHeight: 96, + background: T.bg, + borderBottom: `1px solid ${T.border}`, + scrollBehavior: "smooth", + WebkitOverflowScrolling: "touch", + }} + > + {/* IN */} + + + {/* Blocks */} + {blocks.map((block, idx) => ( +
+ + +
+ ))} + + {/* Empty state */} + {blocks.length === 0 && ( +
+ No blocks in chain +
+ )} + + {/* OUT */} + +
+ + {/* ── Add/Remove bar ── */} +
+ + {selectedBlockId && ( + + )} +
+
+ ); +} diff --git a/src/FootswitchBar.jsx b/src/FootswitchBar.jsx new file mode 100644 index 0000000..4198597 --- /dev/null +++ b/src/FootswitchBar.jsx @@ -0,0 +1,265 @@ +import { useRef, useEffect } from "react"; + +// ── Design tokens ── +const T = { + bg: "#0A0A0C", panel: "#141418", surface: "#1C1C22", border: "#2A2A32", + amber: "#E8A030", amberDim: "#7A5218", blue: "#3A7BA8", blueDim: "#1E4060", + green: "#3AB87A", red: "#C84040", textPrimary: "#F0EDE6", textSec: "#8888A0", textDim: "#444458", +}; + +const TYPE_COLORS = { + overdrive: T.amber, drive: T.amber, distortion: T.red, fuzz: "#D060E0", + chorus: T.blue, flanger: T.blue, phaser: T.blue, tremolo: T.blue, + delay: "#60A0E0", echo: "#60A0E0", reverb: "#60C0D0", + compressor: T.green, gate: T.green, eq: "#80A0B0", + ir: T.green, cab: T.green, nam: "#E0A040", +}; + +function getBlockColor(type) { + return TYPE_COLORS[(type || "").toLowerCase()] || T.amber; +} + +// ── Single Footswitch with Scribble Strip ── +function Footswitch({ id, label, mainLabel, type, sub, active, enabled, onClick, onDoubleClick, isBank, bankDir }) { + const color = getBlockColor(type); + const tapRef = useRef(null); + + useEffect(() => { + const el = tapRef.current; + if (!el || !onDoubleClick) return; + let lastTap = 0; + const handler = () => { + const now = Date.now(); + if (now - lastTap < 300) { + onDoubleClick(id); + lastTap = 0; + } else { + lastTap = now; + } + }; + el.addEventListener("click", handler); + return () => el.removeEventListener("click", handler); + }, [id, onDoubleClick]); + + const isBypassSwitch = type === "bypass"; + const isBankSwitch = type === "bank"; + const isActive = active || (isBypassSwitch && !enabled); + + return ( +
onClick?.(id)} + style={{ + flex: 1, + minWidth: 0, + display: "flex", + flexDirection: "column", + alignItems: "center", + gap: 2, + padding: "6px 3px 8px", + borderRadius: 8, + border: `1px solid ${isActive ? T.amber : isBankSwitch ? T.blueDim : T.border}`, + background: isActive && !isBypassSwitch + ? `linear-gradient(180deg, ${T.amber + "15"} 0%, ${T.panel} 100%)` + : isBypassSwitch && !enabled + ? `linear-gradient(180deg, ${T.red + "15"} 0%, ${T.panel} 100%)` + : T.surface, + cursor: "pointer", + minHeight: 58, + position: "relative", + transition: "all .1s", + WebkitTapHighlightColor: "transparent", + boxShadow: isActive && !isBypassSwitch + ? `0 0 8px ${T.amber}33, inset 0 0 0 1px ${T.amber}22` + : isBypassSwitch && !enabled + ? `0 0 8px ${T.red}33` + : "none", + }} + > + {/* ── Scribble strip — LCD-like display ── */} +
+ + {label} + +
+ + {/* ── Main label ── */} +
+ {mainLabel || label || type || id || "FX"} +
+ + {/* ── Sub label (bypassed state / param value) ── */} + {sub && ( +
+ {sub} +
+ )} + + {/* ── Status LED ── */} + {!isBankSwitch && ( +
+ )} + + {/* ── Bank direction indicator ── */} + {isBankSwitch && ( +
+ {bankDir === "up" ? "▲" : "▼"} +
+ )} +
+ ); +} + +// ── Footswitch Bar ── +export default function FootswitchBar({ + blocks, + selectedBlockId, + currentBank = "A", + onSelectBlock, + onToggleBlock, + onBankUp, + onBankDown, + onGlobalBypass, + globalBypass, +}) { + // Build items: [bank_up, up_to_4_blocks, BYPASS, bank_down] + // Always reserve slots for BYPASS and bank controls by capping block count + const MAX_BLOCK_SWITCHES = 4; + + const blockSwitches = (blocks || []).slice(0, MAX_BLOCK_SWITCHES).map(b => ({ + id: b.id, + label: (b.name || b.type || "FX").toUpperCase(), + mainLabel: b.name || b.type || "FX", + type: b.type, + sub: b.bypassed ? "BYPASSED" : "", + enabled: !b.bypassed, + })); + + const items = [ + { + id: "bank_up", + type: "bank", + label: "BANK ▲", + mainLabel: `${currentBank} · 01`, + bankDir: "up", + enabled: true, + }, + ...blockSwitches, + { + id: "bypass", + type: "bypass", + label: globalBypass ? "MUTED" : "BYPASS", + mainLabel: "GLOBAL", + sub: globalBypass ? "" : "tap to mute", + enabled: !globalBypass, + }, + { + id: "bank_down", + type: "bank", + label: "BANK ▼", + mainLabel: `${currentBank} · 01`, + bankDir: "down", + enabled: true, + }, + ]; + + return ( +
+ {items.map(item => ( + { + if (id === "bank_up") onBankUp?.(); + else if (id === "bank_down") onBankDown?.(); + else if (id === "bypass") onGlobalBypass?.(); + else onSelectBlock?.(id); + }} + onDoubleClick={(id) => { + if (id !== "bank_up" && id !== "bank_down" && id !== "bypass") { + onToggleBlock?.(id); + } + }} + /> + ))} +
+ ); +} diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..06b3b30 --- /dev/null +++ b/src/index.css @@ -0,0 +1,4 @@ +/** + * Styles are embedded in App.jsx via CSS-in-JS template literal. + * This file intentionally left empty — remove default Vite styles. + */ diff --git a/src/main.jsx b/src/main.jsx new file mode 100644 index 0000000..b9a1a6d --- /dev/null +++ b/src/main.jsx @@ -0,0 +1,10 @@ +import { StrictMode } from 'react' +import { createRoot } from 'react-dom/client' +import './index.css' +import App from './App.jsx' + +createRoot(document.getElementById('root')).render( + + + , +) diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..c08c4cc --- /dev/null +++ b/vite.config.js @@ -0,0 +1,19 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +export default defineConfig({ + plugins: [react()], + base: '/ui/', + build: { + outDir: 'dist', + emptyOutDir: true, + }, + server: { + proxy: { + '/api': { + target: 'http://localhost:8000', + changeOrigin: true, + }, + }, + }, +})