diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000000000000000000000000000000000000..57fb40eaa680ab39a1192cdd3f74804022796dff
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,12 @@
+.git
+.gitignore
+venv
+__pycache__
+*.pyc
+.env
+reports
+resume
+dashboard/node_modules
+dashboard/dist
+dashboard/.vite
+reports
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000000000000000000000000000000000000..92355197cc3f0d8f801eed63625dba043399ebe1
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,11 @@
+DATABASE_URL=postgresql://username:password@hostname:6543/postgres
+CORS_ORIGINS=http://127.0.0.1:5173,http://localhost:5173
+ENABLE_LLM_REPORTS=true
+LLM_PROVIDER=ollama
+OLLAMA_BASE_URL=http://127.0.0.1:11434
+OLLAMA_MODEL=llama3
+OLLAMA_TIMEOUT_SECONDS=6
+HF_TOKEN=
+HF_CHAT_MODEL=meta-llama/Llama-3.1-8B-Instruct:cerebras
+HF_ROUTER_BASE_URL=https://router.huggingface.co/v1
+MAX_UPLOAD_SIZE_MB=8
diff --git a/.gitattributes b/.gitattributes
index a6344aac8c09253b3b630fb776ae94478aa0275b..df047a952532b09034d6e0ec23b942de20ee6c4f 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
+test_images/0002cc93b.jpg filter=lfs diff=lfs merge=lfs -text
+test_images/000418bfc.jpg filter=lfs diff=lfs merge=lfs -text
+test_images/000789191.jpg filter=lfs diff=lfs merge=lfs -text
+test_images/006f39c41.jpg filter=lfs diff=lfs merge=lfs -text
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..361121300824a5f47e94a0bb982f0f9e7207cd74
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,26 @@
+.DS_Store
+.env
+.env.local
+.python-version
+__pycache__/
+*.py[cod]
+*.so
+.pytest_cache/
+.mypy_cache/
+.ruff_cache/
+
+venv/
+.venv/
+
+reports/
+*.log
+
+.idea/
+.vscode/
+
+dashboard/node_modules/
+dashboard/dist/
+dashboard/.vite/
+
+*.swp
+*.swo
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..2aaa151138a31afe2cd2d71200a94da018eeceae
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,42 @@
+FROM node:20-alpine AS frontend-builder
+
+WORKDIR /frontend
+
+COPY dashboard/package*.json ./
+RUN npm install
+
+COPY dashboard ./
+RUN npm run build
+
+FROM python:3.11-slim
+
+ENV PYTHONDONTWRITEBYTECODE=1
+ENV PYTHONUNBUFFERED=1
+ENV PORT=7860
+
+WORKDIR /app
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ libgl1 \
+ libglib2.0-0 \
+ libgomp1 \
+ && rm -rf /var/lib/apt/lists/*
+
+COPY requirements.txt ./
+RUN pip install --no-cache-dir -r requirements.txt
+
+COPY api ./api
+COPY agent ./agent
+COPY core ./core
+COPY inspection ./inspection
+COPY dashboard ./dashboard
+COPY models ./models
+COPY main.py ./main.py
+COPY live_camera.py ./live_camera.py
+COPY .env.example ./.env.example
+COPY README.md ./README.md
+COPY --from=frontend-builder /frontend/dist ./dashboard/dist
+
+EXPOSE 7860
+
+CMD ["sh", "-c", "uvicorn api.main:app --host 0.0.0.0 --port ${PORT:-7860}"]
diff --git a/README.md b/README.md
index 50b3db2901e7e71cd6533dc3ed2481bf8aff1bd2..236ecfb1e48a6840e8590c4b4e909387167da75c 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,183 @@
---
title: Manufacturing Monitoring System
-emoji: ๐จ
-colorFrom: purple
-colorTo: blue
+emoji: ๐ญ
+colorFrom: blue
+colorTo: gray
sdk: docker
-pinned: false
+app_port: 7860
---
-Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
+# Manufacturing Monitoring System
+
+Manufacturing Monitoring System is a full-stack industrial monitoring platform for steel surface inspection. It combines AI-based defect detection, automated report generation, WebSocket-driven live updates, analytics, and a modern operator dashboard built for real-time manufacturing visibility.
+
+## Highlights
+
+- Real-time defect detection for steel surface images
+- Browser camera inspection and uploaded image inspection
+- Fast real-time inspection mode with optional deep AI analysis
+- Ollama or Hugging Face-powered manufacturing recommendations and defect summaries
+- FastAPI backend with REST and WebSocket streaming
+- Local JSON report persistence with optional PostgreSQL logging
+- React + Vite + Tailwind monitoring dashboard
+- Analytics, history, alerts, and live command center views
+
+## Tech Stack
+
+- Backend: FastAPI, Uvicorn, OpenCV, Ultralytics YOLO
+- LLM: LangGraph + LangChain with Ollama or Hugging Face Inference Providers
+- Frontend: React, Vite, Tailwind CSS, Recharts
+- Realtime: WebSocket broadcast pipeline
+- Storage: Local reports plus optional PostgreSQL or Supabase
+
+## Project Structure
+
+```text
+api/ FastAPI app and WebSocket server
+agent/ Recommendation and decision helpers
+core/ Config, logging, constants, database access
+inspection/ Inference, formatting, reporting, service layer
+dashboard/ React monitoring dashboard
+models/ Trained defect detection model
+test_images/ Sample images for local testing
+live_camera.py Simulation runner for offline inspection playback
+main.py Python entry point
+```
+
+## Features
+
+### Dashboard
+
+- Live decision status and connection health
+- Inspection KPIs and critical alert banners
+- Organized architecture and backend overview panels
+
+### Live Monitoring
+
+- Upload an image and run inspection
+- Use browser camera feed for auto or manual live inspection
+- Annotated preview output for every inspected frame
+- Fast mode for real-time inspection and optional deep AI analysis toggle
+- PASS, REVIEW, and FAIL guidance with visible operator feedback
+
+### History
+
+- Searchable inspection log
+- Decision filtering
+- Defect-level report detail view
+
+### Analytics
+
+- Severity distribution
+- Decision distribution
+- Defect-type frequency
+- Timeline charts for inspection trends
+
+## Backend API
+
+### Main endpoints
+
+- `GET /health`
+- `GET /reports`
+- `GET /reports/latest`
+- `GET /analytics/summary`
+- `POST /inspect/image`
+- `POST /inspect/frame`
+- `WS /ws`
+
+## Environment Setup
+
+Copy `.env.example` to `.env` if you want to configure PostgreSQL logging.
+
+```env
+DATABASE_URL=postgresql://username:password@hostname:6543/postgres
+CORS_ORIGINS=http://127.0.0.1:5173,http://localhost:5173
+ENABLE_LLM_REPORTS=true
+LLM_PROVIDER=ollama
+OLLAMA_BASE_URL=http://127.0.0.1:11434
+OLLAMA_MODEL=llama3
+OLLAMA_TIMEOUT_SECONDS=6
+HF_TOKEN=
+HF_CHAT_MODEL=meta-llama/Llama-3.1-8B-Instruct:cerebras
+HF_ROUTER_BASE_URL=https://router.huggingface.co/v1
+MAX_UPLOAD_SIZE_MB=8
+```
+
+`DATABASE_URL` is optional. If it is not set, the system still works and stores reports locally inside `reports/`.
+
+If `ENABLE_LLM_REPORTS=true`, the system can use:
+
+- `LLM_PROVIDER=ollama` for local development with Ollama
+- `LLM_PROVIDER=huggingface` for cloud deployment with `HF_TOKEN`
+
+If the configured provider is unavailable, the app falls back to a rule-based recommendation path automatically.
+
+## Deployment
+
+For a single public URL without needing any local computer:
+
+- Deploy the whole app as one Docker service
+- The included [Dockerfile](/Users/ravindranadhm/Documents/Projects/steel-surface-inspection copy/Dockerfile) builds the React frontend and serves it from FastAPI
+- Best free option: Hugging Face Docker Spaces
+- Best frontend-only option: Vercel, if you later want a split architecture
+
+Recommended Hugging Face Space environment variables:
+
+```env
+ENABLE_LLM_REPORTS=true
+LLM_PROVIDER=huggingface
+HF_TOKEN=your_huggingface_token
+HF_CHAT_MODEL=meta-llama/Llama-3.1-8B-Instruct:cerebras
+```
+
+In deployed mode, keep deep AI analysis off for continuous live camera monitoring and enable it only for manual review or uploaded images.
+
+## Local Run
+
+### 1. Backend
+
+```bash
+cd "/Users/ravindranadhm/Documents/Projects/steel-surface-inspection copy"
+python3 -m venv venv
+source venv/bin/activate
+pip install -r requirements.txt
+venv/bin/uvicorn api.main:app --host 127.0.0.1 --port 8000
+```
+
+### 2. Frontend
+
+```bash
+cd "/Users/ravindranadhm/Documents/Projects/steel-surface-inspection copy/dashboard"
+npm install
+npm run dev -- --host 127.0.0.1 --port 5173
+```
+
+### 3. Open the app
+
+- Frontend: `http://127.0.0.1:5173`
+- Backend health: `http://127.0.0.1:8000/health`
+
+## Verification
+
+Recommended checks:
+
+```bash
+python -m compileall api core inspection agent live_camera.py main.py
+```
+
+```bash
+cd dashboard
+npm run lint
+npm run build
+```
+
+## Notes
+
+- The provided model file `models/steel_inspection.pt` is included in the project and is small enough for a standard GitHub repository.
+- Browser camera inspection requires camera permission in your browser.
+- Live camera mode is optimized to always return a visible inspection result, even when no defects are found.
+- The frontend automatically uses the same origin as the backend when deployed as a single Docker service.
+
+## Resume-Friendly Summary
+
+Built an AI-powered manufacturing monitoring system for steel surface inspection using FastAPI, React, WebSocket streaming, OpenCV, Ultralytics YOLO, analytics dashboards, and live browser camera inspection.
diff --git a/agent/langgraph_agent.py b/agent/langgraph_agent.py
new file mode 100644
index 0000000000000000000000000000000000000000..c22a186e361f92b0fd131241283b99e341050ec7
--- /dev/null
+++ b/agent/langgraph_agent.py
@@ -0,0 +1,333 @@
+from typing import TypedDict, Dict, Any
+import json
+from urllib.error import URLError
+from urllib.request import Request, urlopen
+
+from core.config import settings
+from core.logger import logger
+
+try:
+ from langgraph.graph import StateGraph, END
+ from langchain_ollama import OllamaLLM
+except Exception: # pragma: no cover - optional dependency safety
+ StateGraph = None
+ END = None
+ OllamaLLM = None
+
+
+# -----------------------------
+# STATE DEFINITION
+# -----------------------------
+
+class InspectionState(TypedDict):
+ input_data: Dict[str, Any]
+ summary: str
+ decision: str
+ recommendation: str
+
+
+# -----------------------------
+# LLM FACTORY (IMPORTANT)
+# -----------------------------
+
+def get_llm():
+ """Create LLM instance (better than global init)."""
+ if OllamaLLM is None:
+ raise RuntimeError("LLM dependencies are not installed")
+ return OllamaLLM(
+ model=settings.OLLAMA_MODEL,
+ base_url=settings.OLLAMA_BASE_URL,
+ timeout=settings.OLLAMA_TIMEOUT_SECONDS,
+ )
+
+
+def is_ollama_available() -> bool:
+ try:
+ with urlopen(
+ f"{settings.OLLAMA_BASE_URL}/api/tags",
+ timeout=settings.OLLAMA_TIMEOUT_SECONDS,
+ ) as response:
+ return response.status == 200
+ except (URLError, ValueError, TimeoutError):
+ return False
+
+
+def is_huggingface_available() -> bool:
+ return bool(settings.HF_TOKEN and settings.HF_CHAT_MODEL and settings.HF_ROUTER_BASE_URL)
+
+
+def request_huggingface_recommendation(prompt: str) -> str:
+ if not is_huggingface_available():
+ raise RuntimeError("Hugging Face Inference Providers is not configured")
+
+ payload = json.dumps({
+ "model": settings.HF_CHAT_MODEL,
+ "messages": [
+ {
+ "role": "user",
+ "content": prompt,
+ }
+ ],
+ "max_tokens": 220,
+ "response_format": {"type": "text"},
+ }).encode("utf-8")
+
+ request = Request(
+ f"{settings.HF_ROUTER_BASE_URL.rstrip('/')}/chat/completions",
+ data=payload,
+ headers={
+ "Authorization": f"Bearer {settings.HF_TOKEN}",
+ "Content-Type": "application/json",
+ },
+ method="POST",
+ )
+
+ with urlopen(request, timeout=settings.OLLAMA_TIMEOUT_SECONDS) as response:
+ body = json.loads(response.read().decode("utf-8"))
+
+ choices = body.get("choices") or []
+ if not choices:
+ raise RuntimeError("No choices were returned by Hugging Face")
+
+ message = choices[0].get("message") or {}
+ content = message.get("content", "")
+
+ if isinstance(content, str):
+ return content
+
+ if isinstance(content, list):
+ text_parts: list[str] = []
+ for item in content:
+ if isinstance(item, dict) and item.get("type") == "text":
+ text_parts.append(str(item.get("text", "")))
+ if text_parts:
+ return "\n".join(part for part in text_parts if part)
+
+ raise RuntimeError("Unable to extract recommendation content from Hugging Face response")
+
+
+# -----------------------------
+# NODE 1: SUMMARY
+# -----------------------------
+
+def summarize_node(state: InspectionState) -> Dict[str, str]:
+
+ data = state["input_data"]
+
+ summary = (
+ f"Detected defects:\n"
+ f"- Minor: {data['summary'].get('Minor', 0)}\n"
+ f"- Moderate: {data['summary'].get('Moderate', 0)}\n"
+ f"- Critical: {data['summary'].get('Critical', 0)}\n"
+ )
+
+ return {"summary": summary}
+
+
+# -----------------------------
+# NODE 2: RULE-BASED DECISION
+# -----------------------------
+
+def decision_node(state: InspectionState) -> Dict[str, str]:
+
+ data = state["input_data"]
+
+ critical = data["summary"].get("Critical", 0)
+ moderate = data["summary"].get("Moderate", 0)
+
+ if critical > 0:
+ decision = "FAIL"
+ elif moderate > 0:
+ decision = "REVIEW"
+ else:
+ decision = "PASS"
+
+ return {"decision": decision}
+
+
+# -----------------------------
+# NODE 3: LLM RECOMMENDATION
+# -----------------------------
+
+def recommendation_node(state: InspectionState) -> Dict[str, str]:
+
+ defects = state["input_data"].get("defects", [])
+
+ prompt = f"""
+You are a senior steel quality control engineer working in a manufacturing plant.
+
+Inspection Summary:
+{state['summary']}
+
+Detected Defects (detailed):
+{defects}
+
+Final Decision: {state['decision']}
+
+Give a STRICTLY INDUSTRIAL RESPONSE:
+
+1. Defect-wise Analysis
+2. Severity Impact
+3. Action Plan (Accept / Rework / Downgrade / Reject)
+4. Process Improvement Suggestions
+
+Rules:
+- Be specific to EACH defect type
+- Avoid generic advice
+- Be practical and engineering-focused
+"""
+
+ try:
+ if settings.LLM_PROVIDER.strip().lower() == "huggingface":
+ response = request_huggingface_recommendation(prompt)
+ else:
+ llm = get_llm()
+ response = llm.invoke(prompt)
+
+ except Exception as e:
+ logger.error(f"LLM failed: {e}")
+ response = "LLM failed to generate recommendation. Please review manually."
+
+ return {"recommendation": response}
+
+
+# -----------------------------
+# BUILD GRAPH (ONCE)
+# -----------------------------
+
+def build_agent():
+ if StateGraph is None or END is None:
+ raise RuntimeError("LangGraph dependencies are not installed")
+
+ builder = StateGraph(InspectionState)
+
+ builder.add_node("summarize", summarize_node)
+ builder.add_node("decision", decision_node)
+ builder.add_node("recommendation", recommendation_node)
+
+ builder.set_entry_point("summarize")
+
+ builder.add_edge("summarize", "decision")
+ builder.add_edge("decision", "recommendation")
+ builder.add_edge("recommendation", END)
+
+ return builder.compile()
+
+
+AGENT = None
+
+
+def _build_fallback_response(input_data: Dict[str, Any]) -> Dict[str, Any]:
+ summary = (
+ f"Detected defects:\n"
+ f"- Minor: {input_data.get('summary', {}).get('Minor', 0)}\n"
+ f"- Moderate: {input_data.get('summary', {}).get('Moderate', 0)}\n"
+ f"- Critical: {input_data.get('summary', {}).get('Critical', 0)}\n"
+ )
+
+ critical = input_data.get("summary", {}).get("Critical", 0)
+ moderate = input_data.get("summary", {}).get("Moderate", 0)
+ minor = input_data.get("summary", {}).get("Minor", 0)
+
+ if critical > 0:
+ decision = "FAIL"
+ recommendation = (
+ "Critical surface damage detected. Stop automatic acceptance, isolate the coil or sheet, "
+ "and route the material for immediate engineering review or rejection."
+ )
+ elif moderate > 0:
+ decision = "REVIEW"
+ recommendation = (
+ "Moderate defects detected. Hold the batch for operator review, confirm defect spread, "
+ "and schedule corrective process checks before release."
+ )
+ elif minor > 0:
+ decision = "PASS"
+ recommendation = (
+ "Only minor defects were detected. Material can proceed with monitoring and a short-term "
+ "process capability check to prevent escalation."
+ )
+ else:
+ decision = "PASS"
+ recommendation = (
+ "No actionable defects were detected. Continue production and keep the inspection line active "
+ "for routine monitoring."
+ )
+
+ return {
+ "summary": summary,
+ "decision": decision,
+ "recommendation": recommendation,
+ "agent_mode": "heuristic",
+ "agent_provider": "Rule-Based Safety Engine",
+ "agent_model": "fallback",
+ }
+
+
+def _normalize_llm_mode(llm_mode: str | None) -> str:
+ normalized = (llm_mode or "auto").strip().lower()
+ if normalized in {"off", "auto", "always"}:
+ return normalized
+ return "auto"
+
+
+# -----------------------------
+# RUN AGENT
+# -----------------------------
+
+def run_agent(input_data: Dict[str, Any], *, llm_mode: str = "auto") -> Dict[str, Any]:
+ fallback = _build_fallback_response(input_data)
+ normalized_mode = _normalize_llm_mode(llm_mode)
+
+ if normalized_mode == "off":
+ return fallback
+
+ if normalized_mode == "auto":
+ source = str(input_data.get("source", "")).strip().lower()
+ metadata = input_data.get("metadata") or {}
+ persist_requested = bool(metadata.get("persist", True))
+
+ if source in {"camera", "live", "stream"} or not persist_requested:
+ return fallback
+
+ if not settings.ENABLE_LLM_REPORTS:
+ return fallback
+
+ provider = settings.LLM_PROVIDER.strip().lower()
+
+ if StateGraph is None or END is None:
+ logger.warning("LLM report generation is enabled, but LangGraph dependencies are unavailable.")
+ return fallback
+
+ if provider == "huggingface":
+ if not is_huggingface_available():
+ logger.warning("Hugging Face Inference Providers is unavailable. Using fallback inspection recommendation.")
+ return fallback
+ else:
+ if OllamaLLM is None:
+ logger.warning("Ollama dependencies are unavailable. Using fallback inspection recommendation.")
+ return fallback
+ if not is_ollama_available():
+ logger.warning("Ollama server is unavailable. Using fallback inspection recommendation.")
+ return fallback
+
+ try:
+ global AGENT
+
+ if AGENT is None:
+ AGENT = build_agent()
+
+ result = AGENT.invoke({
+ "input_data": input_data
+ })
+
+ return {
+ **result,
+ "agent_mode": "llm",
+ "agent_provider": "Hugging Face Inference Providers" if provider == "huggingface" else "Ollama",
+ "agent_model": settings.HF_CHAT_MODEL if provider == "huggingface" else settings.OLLAMA_MODEL,
+ }
+
+ except Exception as e:
+ logger.error(f"Agent execution failed: {e}")
+ return fallback
diff --git a/api/main.py b/api/main.py
new file mode 100644
index 0000000000000000000000000000000000000000..7cb5fa6bbbd5f31042df79a8e6a4f15a5deb3064
--- /dev/null
+++ b/api/main.py
@@ -0,0 +1,196 @@
+from typing import Literal
+
+import json
+from datetime import datetime, timezone
+from pathlib import Path
+
+from fastapi import FastAPI, HTTPException, Query, WebSocket, WebSocketDisconnect
+from fastapi.middleware.cors import CORSMiddleware
+from pydantic import BaseModel, Field
+from fastapi.responses import FileResponse
+from fastapi.staticfiles import StaticFiles
+from starlette.concurrency import run_in_threadpool
+
+from core.config import settings
+from core.logger import logger, setup_logger
+from api.realtime import manager
+from inspection.report_repository import (
+ get_analytics_summary,
+ get_latest_report,
+ list_reports,
+)
+from inspection.service import inspect_base64_image
+
+
+class InspectionRequest(BaseModel):
+ image_base64: str = Field(..., min_length=10)
+ filename: str | None = None
+ source: str = "upload"
+ persist: bool = True
+ llm_mode: Literal["off", "auto", "always"] = "off"
+
+
+setup_logger()
+
+FRONTEND_DIST_DIR = Path(settings.FRONTEND_DIST)
+FRONTEND_INDEX = FRONTEND_DIST_DIR / "index.html"
+
+
+app = FastAPI(
+ title="Manufacturing Monitoring System API",
+ version="2.0.0",
+)
+
+# -----------------------------
+# CORS (IMPORTANT)
+# -----------------------------
+app.add_middleware(
+ CORSMiddleware,
+ allow_origins=list(settings.CORS_ORIGINS),
+ allow_credentials=False,
+ allow_methods=["*"],
+ allow_headers=["*"],
+)
+
+# -----------------------------
+# ROOT
+# -----------------------------
+@app.get("/")
+def root():
+ if FRONTEND_INDEX.exists():
+ return FileResponse(FRONTEND_INDEX)
+ return {
+ "message": "Manufacturing Monitoring System API running",
+ "timestamp": datetime.now(timezone.utc).isoformat(),
+ "origins": list(settings.CORS_ORIGINS),
+ }
+
+
+@app.get("/health")
+def health():
+ return {
+ "status": "ok",
+ "timestamp": datetime.now(timezone.utc).isoformat(),
+ }
+
+
+# -----------------------------
+# GET ALL REPORTS
+# -----------------------------
+@app.get("/reports")
+def get_reports(limit: int = Query(default=settings.REPORT_FETCH_LIMIT, ge=1, le=200)):
+ return list_reports(limit=limit)
+
+
+# -----------------------------
+# GET LATEST REPORT
+# -----------------------------
+@app.get("/reports/latest")
+def get_latest():
+ latest_report = get_latest_report()
+ return latest_report or {}
+
+
+@app.get("/analytics/summary")
+def analytics_summary(limit: int = Query(default=120, ge=1, le=500)):
+ return get_analytics_summary(limit=limit)
+
+
+@app.post("/inspect/image")
+async def inspect_image(payload: InspectionRequest):
+ try:
+ return await run_in_threadpool(
+ inspect_base64_image,
+ payload.image_base64,
+ source=payload.source or "upload",
+ metadata={"filename": payload.filename},
+ persist=payload.persist,
+ llm_mode=payload.llm_mode,
+ )
+ except ValueError as exc:
+ raise HTTPException(status_code=400, detail=str(exc)) from exc
+ except Exception as exc:
+ logger.exception("Image inspection failed")
+ raise HTTPException(status_code=500, detail="Image inspection failed") from exc
+
+
+@app.post("/inspect/frame")
+async def inspect_frame(payload: InspectionRequest):
+ try:
+ return await run_in_threadpool(
+ inspect_base64_image,
+ payload.image_base64,
+ source=payload.source or "camera",
+ metadata={"filename": payload.filename},
+ persist=payload.persist,
+ llm_mode=payload.llm_mode,
+ )
+ except ValueError as exc:
+ raise HTTPException(status_code=400, detail=str(exc)) from exc
+ except Exception as exc:
+ logger.exception("Camera frame inspection failed")
+ raise HTTPException(status_code=500, detail="Camera frame inspection failed") from exc
+
+
+# -----------------------------
+# WEBSOCKET ENDPOINT
+# -----------------------------
+@app.websocket("/ws")
+async def websocket_endpoint(websocket: WebSocket):
+ await manager.connect(websocket)
+ latest_report = await run_in_threadpool(get_latest_report)
+
+ if latest_report:
+ await manager.send_json(
+ websocket,
+ {
+ "type": "inspection.snapshot",
+ **latest_report,
+ },
+ )
+ else:
+ await manager.send_json(
+ websocket,
+ {
+ "type": "connection.ready",
+ "timestamp": datetime.now(timezone.utc).isoformat(),
+ },
+ )
+
+ try:
+ while True:
+ message = await websocket.receive_text()
+
+ try:
+ payload = json.loads(message)
+ except json.JSONDecodeError:
+ payload = {"type": message}
+
+ if payload.get("type") == "ping":
+ await manager.send_json(
+ websocket,
+ {
+ "type": "pong",
+ "timestamp": datetime.now(timezone.utc).isoformat(),
+ },
+ )
+ except WebSocketDisconnect:
+ await manager.disconnect(websocket)
+ except Exception as exc:
+ logger.warning(f"WebSocket connection closed unexpectedly: {exc}")
+ await manager.disconnect(websocket)
+
+
+if FRONTEND_DIST_DIR.exists():
+ assets_dir = FRONTEND_DIST_DIR / "assets"
+ if assets_dir.exists():
+ app.mount("/assets", StaticFiles(directory=assets_dir), name="frontend-assets")
+
+ @app.get("/{full_path:path}", include_in_schema=False)
+ async def frontend_routes(full_path: str):
+ candidate = FRONTEND_DIST_DIR / full_path
+ if candidate.is_file():
+ return FileResponse(candidate)
+ if FRONTEND_INDEX.exists():
+ return FileResponse(FRONTEND_INDEX)
+ raise HTTPException(status_code=404, detail="Not found")
diff --git a/api/realtime.py b/api/realtime.py
new file mode 100644
index 0000000000000000000000000000000000000000..5a40b45536acfd57e941259773d769b88aba088a
--- /dev/null
+++ b/api/realtime.py
@@ -0,0 +1,46 @@
+import asyncio
+from typing import Any
+
+from fastapi import WebSocket
+
+from core.logger import logger
+
+
+class ConnectionManager:
+ def __init__(self):
+ self._connections: set[WebSocket] = set()
+ self._lock = asyncio.Lock()
+
+ async def connect(self, websocket: WebSocket) -> None:
+ await websocket.accept()
+
+ async with self._lock:
+ self._connections.add(websocket)
+
+ async def disconnect(self, websocket: WebSocket) -> None:
+ async with self._lock:
+ self._connections.discard(websocket)
+
+ async def send_json(self, websocket: WebSocket, payload: dict[str, Any]) -> None:
+ await websocket.send_json(payload)
+
+ async def broadcast(self, payload: dict[str, Any]) -> None:
+ async with self._lock:
+ connections = list(self._connections)
+
+ stale_connections: list[WebSocket] = []
+
+ for connection in connections:
+ try:
+ await connection.send_json(payload)
+ except Exception as exc:
+ logger.warning(f"WebSocket broadcast failed: {exc}")
+ stale_connections.append(connection)
+
+ if stale_connections:
+ async with self._lock:
+ for connection in stale_connections:
+ self._connections.discard(connection)
+
+
+manager = ConnectionManager()
diff --git a/core/config.py b/core/config.py
new file mode 100644
index 0000000000000000000000000000000000000000..a610254bb4e6135870ad98535db28a953e6fff0f
--- /dev/null
+++ b/core/config.py
@@ -0,0 +1,130 @@
+import os
+from dataclasses import dataclass, field
+from pathlib import Path
+
+from dotenv import load_dotenv
+
+
+BASE_DIR = Path(__file__).resolve().parent.parent
+load_dotenv(BASE_DIR / ".env")
+
+
+def _resolve_path(env_name: str, default_relative_path: str) -> str:
+ raw_value = os.getenv(env_name)
+ path = Path(raw_value) if raw_value else BASE_DIR / default_relative_path
+ return str(path if path.is_absolute() else (BASE_DIR / path).resolve())
+
+
+def _parse_origins() -> tuple[str, ...]:
+ raw_origins = os.getenv(
+ "CORS_ORIGINS",
+ "http://127.0.0.1:5173,http://localhost:5173",
+ )
+ return tuple(
+ origin.strip()
+ for origin in raw_origins.split(",")
+ if origin.strip()
+ )
+
+
+def _parse_bool(name: str, default: bool) -> bool:
+ raw_value = os.getenv(name)
+ if raw_value is None:
+ return default
+ return raw_value.strip().lower() in {"1", "true", "yes", "on"}
+
+
+@dataclass(frozen=True)
+class Settings:
+ """
+ Central configuration for the inspection system.
+ """
+
+ # -----------------------------
+ # PATHS
+ # -----------------------------
+ BASE_DIR: str = str(BASE_DIR)
+ MODEL_PATH: str = field(
+ default_factory=lambda: _resolve_path("MODEL_PATH", "models/steel_inspection.pt")
+ )
+ IMAGE_FOLDER: str = field(
+ default_factory=lambda: _resolve_path("IMAGE_FOLDER", "test_images")
+ )
+ REPORT_FOLDER: str = field(
+ default_factory=lambda: _resolve_path("REPORT_FOLDER", "reports")
+ )
+ FRONTEND_DIST: str = field(
+ default_factory=lambda: _resolve_path("FRONTEND_DIST", "dashboard/dist")
+ )
+
+ # -----------------------------
+ # DEMO / SIMULATION SETTINGS
+ # -----------------------------
+ IMAGE_REPEAT: int = field(default_factory=lambda: int(os.getenv("IMAGE_REPEAT", "5")))
+ BLANK_FRAMES: int = field(default_factory=lambda: int(os.getenv("BLANK_FRAMES", "3")))
+
+ # -----------------------------
+ # TRACKING / LIFECYCLE
+ # -----------------------------
+ MAX_MISSING_FRAMES: int = field(
+ default_factory=lambda: int(os.getenv("MAX_MISSING_FRAMES", "5"))
+ )
+
+ # -----------------------------
+ # MODEL / INFERENCE SETTINGS
+ # -----------------------------
+ CONF_THRESHOLD: float = field(default_factory=lambda: float(os.getenv("CONF_THRESHOLD", "0.20")))
+ SECONDARY_CONF_THRESHOLD: float = field(
+ default_factory=lambda: float(os.getenv("SECONDARY_CONF_THRESHOLD", "0.25"))
+ )
+ IMAGE_SIZE: int = field(default_factory=lambda: int(os.getenv("IMAGE_SIZE", "896")))
+ MIN_DEFECT_AREA: int = field(default_factory=lambda: int(os.getenv("MIN_DEFECT_AREA", "120")))
+ MAX_AREA_RATIO: float = field(default_factory=lambda: float(os.getenv("MAX_AREA_RATIO", "0.12")))
+
+ # -----------------------------
+ # API / UI
+ # -----------------------------
+ CORS_ORIGINS: tuple[str, ...] = field(default_factory=_parse_origins)
+ REPORT_FETCH_LIMIT: int = field(
+ default_factory=lambda: int(os.getenv("REPORT_FETCH_LIMIT", "50"))
+ )
+ MAX_UPLOAD_SIZE_MB: int = field(
+ default_factory=lambda: int(os.getenv("MAX_UPLOAD_SIZE_MB", "8"))
+ )
+ WEBSOCKET_HEARTBEAT_SECONDS: int = field(
+ default_factory=lambda: int(os.getenv("WEBSOCKET_HEARTBEAT_SECONDS", "20"))
+ )
+ ENABLE_LLM_REPORTS: bool = field(
+ default_factory=lambda: _parse_bool("ENABLE_LLM_REPORTS", True)
+ )
+ LLM_PROVIDER: str = field(
+ default_factory=lambda: os.getenv("LLM_PROVIDER", "ollama")
+ )
+ OLLAMA_BASE_URL: str = field(
+ default_factory=lambda: os.getenv("OLLAMA_BASE_URL", "http://127.0.0.1:11434")
+ )
+ OLLAMA_MODEL: str = field(
+ default_factory=lambda: os.getenv("OLLAMA_MODEL", "llama3")
+ )
+ OLLAMA_TIMEOUT_SECONDS: float = field(
+ default_factory=lambda: float(os.getenv("OLLAMA_TIMEOUT_SECONDS", "6"))
+ )
+ HF_TOKEN: str | None = field(default_factory=lambda: os.getenv("HF_TOKEN"))
+ HF_CHAT_MODEL: str = field(
+ default_factory=lambda: os.getenv("HF_CHAT_MODEL", "meta-llama/Llama-3.1-8B-Instruct:cerebras")
+ )
+ HF_ROUTER_BASE_URL: str = field(
+ default_factory=lambda: os.getenv("HF_ROUTER_BASE_URL", "https://router.huggingface.co/v1")
+ )
+
+ # -----------------------------
+ # DATABASE
+ # -----------------------------
+ DATABASE_URL: str | None = field(default_factory=lambda: os.getenv("DATABASE_URL"))
+
+ @property
+ def max_upload_bytes(self) -> int:
+ return self.MAX_UPLOAD_SIZE_MB * 1024 * 1024
+
+
+settings = Settings()
diff --git a/core/constants.py b/core/constants.py
new file mode 100644
index 0000000000000000000000000000000000000000..2e4251ee0c27a83a1bb7a154bd7228657ecf9891
--- /dev/null
+++ b/core/constants.py
@@ -0,0 +1,16 @@
+"""
+Project-wide constants (no logic here).
+"""
+
+SEVERITY_SCORE = {
+ "Minor": 1,
+ "Moderate": 2,
+ "Critical": 3
+}
+
+
+DECISION_COLOR = {
+ "PASS": (0, 255, 0),
+ "REVIEW": (0, 165, 255),
+ "FAIL": (0, 0, 255)
+}
\ No newline at end of file
diff --git a/core/database.py b/core/database.py
new file mode 100644
index 0000000000000000000000000000000000000000..78700fabe8aaa980c70c476dfaa3e075fd12cc80
--- /dev/null
+++ b/core/database.py
@@ -0,0 +1,88 @@
+from contextlib import contextmanager
+from typing import Any, Iterator
+
+try:
+ import psycopg2
+ from psycopg2.extras import RealDictCursor
+except Exception: # pragma: no cover - optional dependency safety
+ psycopg2 = None
+ RealDictCursor = None
+
+from core.config import settings
+from core.logger import logger
+
+
+class Database:
+ def is_configured(self) -> bool:
+ return bool(settings.DATABASE_URL)
+
+ def connect(self):
+ if psycopg2 is None or RealDictCursor is None:
+ raise RuntimeError("psycopg2 is not installed in the active Python environment")
+
+ if not self.is_configured():
+ raise RuntimeError("DATABASE_URL is not configured")
+
+ return psycopg2.connect(
+ settings.DATABASE_URL,
+ cursor_factory=RealDictCursor,
+ )
+
+ @contextmanager
+ def cursor(self) -> Iterator[Any]:
+ connection = None
+ cursor = None
+
+ try:
+ connection = self.connect()
+ cursor = connection.cursor()
+ yield cursor
+ connection.commit()
+ except Exception:
+ if connection is not None:
+ connection.rollback()
+ raise
+ finally:
+ if cursor is not None:
+ cursor.close()
+ if connection is not None:
+ connection.close()
+
+ def fetch_all(self, query: str, params: tuple[Any, ...] | None = None) -> list[dict[str, Any]]:
+ if not self.is_configured():
+ return []
+
+ try:
+ with self.cursor() as cursor:
+ cursor.execute(query, params or ())
+ return list(cursor.fetchall())
+ except Exception as exc:
+ logger.warning(f"Database fetch_all failed: {exc}")
+ return []
+
+ def fetch_one(self, query: str, params: tuple[Any, ...] | None = None) -> dict[str, Any] | None:
+ if not self.is_configured():
+ return None
+
+ try:
+ with self.cursor() as cursor:
+ cursor.execute(query, params or ())
+ return cursor.fetchone()
+ except Exception as exc:
+ logger.warning(f"Database fetch_one failed: {exc}")
+ return None
+
+ def execute(self, query: str, params: tuple[Any, ...] | None = None) -> bool:
+ if not self.is_configured():
+ return False
+
+ try:
+ with self.cursor() as cursor:
+ cursor.execute(query, params or ())
+ return True
+ except Exception as exc:
+ logger.warning(f"Database execute failed: {exc}")
+ return False
+
+
+db = Database()
diff --git a/core/logger.py b/core/logger.py
new file mode 100644
index 0000000000000000000000000000000000000000..f18863393013353ed6639c262607c000d8350028
--- /dev/null
+++ b/core/logger.py
@@ -0,0 +1,15 @@
+import logging
+
+
+def setup_logger():
+ """
+ Configure global logging settings.
+ """
+
+ logging.basicConfig(
+ level=logging.INFO,
+ format="%(asctime)s | %(levelname)s | %(message)s"
+ )
+
+
+logger = logging.getLogger("inspection_system")
\ No newline at end of file
diff --git a/dashboard/.gitignore b/dashboard/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..a547bf36d8d11a4f89c59c144f24795749086dd1
--- /dev/null
+++ b/dashboard/.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/dashboard/README.md b/dashboard/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..a36934d874c7fbc51aecd1c66dffc106f60693a9
--- /dev/null
+++ b/dashboard/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/dashboard/eslint.config.js b/dashboard/eslint.config.js
new file mode 100644
index 0000000000000000000000000000000000000000..4fa125da29e01fa85529cfa06a83a7c0ce240d55
--- /dev/null
+++ b/dashboard/eslint.config.js
@@ -0,0 +1,29 @@
+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: {
+ ecmaVersion: 2020,
+ globals: globals.browser,
+ parserOptions: {
+ ecmaVersion: 'latest',
+ ecmaFeatures: { jsx: true },
+ sourceType: 'module',
+ },
+ },
+ rules: {
+ 'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
+ },
+ },
+])
diff --git a/dashboard/index.html b/dashboard/index.html
new file mode 100644
index 0000000000000000000000000000000000000000..52b86d9e672d6b0a5e3be8c4977e51f4a6030733
--- /dev/null
+++ b/dashboard/index.html
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+ Manufacturing Monitoring System
+
+
+
+
+
+
diff --git a/dashboard/package-lock.json b/dashboard/package-lock.json
new file mode 100644
index 0000000000000000000000000000000000000000..bb118eb6653b2dcec33af7d0d663773becc6ea5b
--- /dev/null
+++ b/dashboard/package-lock.json
@@ -0,0 +1,4346 @@
+{
+ "name": "dashboard",
+ "version": "0.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "dashboard",
+ "version": "0.0.0",
+ "dependencies": {
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1",
+ "react-router-dom": "^7.13.2",
+ "recharts": "^3.8.1"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.39.4",
+ "@tailwindcss/postcss": "^4.2.2",
+ "@types/react": "^19.2.14",
+ "@types/react-dom": "^19.2.3",
+ "@vitejs/plugin-react": "^6.0.1",
+ "autoprefixer": "^10.4.27",
+ "eslint": "^9.39.4",
+ "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-refresh": "^0.5.2",
+ "globals": "^17.4.0",
+ "postcss": "^8.5.8",
+ "tailwindcss": "^3.4.19",
+ "vite": "^8.0.1"
+ }
+ },
+ "node_modules/@alloc/quick-lru": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@babel/code-frame": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz",
+ "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "js-tokens": "^4.0.0",
+ "picocolors": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/compat-data": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.0.tgz",
+ "integrity": "sha512-T1NCJqT/j9+cn8fvkt7jtwbLBfLC/1y1c7NtCeXFRgzGTsafi68MRv8yzkYSapBnFA6L3U2VSc02ciDzoAJhJg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/core": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.0.tgz",
+ "integrity": "sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-compilation-targets": "^7.28.6",
+ "@babel/helper-module-transforms": "^7.28.6",
+ "@babel/helpers": "^7.28.6",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/traverse": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/remapping": "^2.3.5",
+ "convert-source-map": "^2.0.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.2.3",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/babel"
+ }
+ },
+ "node_modules/@babel/generator": {
+ "version": "7.29.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.1.tgz",
+ "integrity": "sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/parser": "^7.29.0",
+ "@babel/types": "^7.29.0",
+ "@jridgewell/gen-mapping": "^0.3.12",
+ "@jridgewell/trace-mapping": "^0.3.28",
+ "jsesc": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-compilation-targets": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.28.6.tgz",
+ "integrity": "sha512-JYtls3hqi15fcx5GaSNL7SCTJ2MNmjrkHXg4FSpOA/grxK8KwyZ5bubHsCq8FXCkua6xhuaaBit+3b7+VZRfcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/compat-data": "^7.28.6",
+ "@babel/helper-validator-option": "^7.27.1",
+ "browserslist": "^4.24.0",
+ "lru-cache": "^5.1.1",
+ "semver": "^6.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-globals": {
+ "version": "7.28.0",
+ "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.28.0.tgz",
+ "integrity": "sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-imports": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.28.6.tgz",
+ "integrity": "sha512-l5XkZK7r7wa9LucGw9LwZyyCUscb4x37JWTPz7swwFE/0FMQAGpiWUZn8u9DzkSBWEcK25jmvubfpw2dnAMdbw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/traverse": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-module-transforms": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.28.6.tgz",
+ "integrity": "sha512-67oXFAYr2cDLDVGLXTEABjdBJZ6drElUSI7WKp70NrpyISso3plG9SAGEF6y7zbha/wOzUByWWTJvEDVNIUGcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-module-imports": "^7.28.6",
+ "@babel/helper-validator-identifier": "^7.28.5",
+ "@babel/traverse": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0"
+ }
+ },
+ "node_modules/@babel/helper-string-parser": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz",
+ "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-identifier": {
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helper-validator-option": {
+ "version": "7.27.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz",
+ "integrity": "sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/helpers": {
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.2.tgz",
+ "integrity": "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/parser": {
+ "version": "7.29.2",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.2.tgz",
+ "integrity": "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/types": "^7.29.0"
+ },
+ "bin": {
+ "parser": "bin/babel-parser.js"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@babel/template": {
+ "version": "7.28.6",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.28.6.tgz",
+ "integrity": "sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.28.6",
+ "@babel/parser": "^7.28.6",
+ "@babel/types": "^7.28.6"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/traverse": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.0.tgz",
+ "integrity": "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/code-frame": "^7.29.0",
+ "@babel/generator": "^7.29.0",
+ "@babel/helper-globals": "^7.28.0",
+ "@babel/parser": "^7.29.0",
+ "@babel/template": "^7.28.6",
+ "@babel/types": "^7.29.0",
+ "debug": "^4.3.1"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@babel/types": {
+ "version": "7.29.0",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz",
+ "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/helper-string-parser": "^7.27.1",
+ "@babel/helper-validator-identifier": "^7.28.5"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/@emnapi/core": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.9.1.tgz",
+ "integrity": "sha512-mukuNALVsoix/w1BJwFzwXBN/dHeejQtuVzcDsfOEsdpCumXb/E9j8w11h5S54tT1xhifGfbbSm/ICrObRb3KA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.2.0",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.9.1.tgz",
+ "integrity": "sha512-VYi5+ZVLhpgK4hQ0TAjiQiZ6ol0oe4mBx7mVv7IflsiEp0OWoVsp/+f9Vc1hOhE0TtkORVrI1GvzyreqpgWtkA==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.0.tgz",
+ "integrity": "sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg==",
+ "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.21.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",
+ "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.7",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.5"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-helpers": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",
+ "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",
+ "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "3.3.5",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz",
+ "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ajv": "^6.14.0",
+ "debug": "^4.3.2",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.1",
+ "minimatch": "^3.1.5",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/eslintrc/node_modules/globals": {
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz",
+ "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ }
+ },
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",
+ "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",
+ "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.17.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanfs/node": {
+ "version": "0.16.7",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz",
+ "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.4.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@jridgewell/gen-mapping": {
+ "version": "0.3.13",
+ "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
+ "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",
+ "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.2",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.1.2.tgz",
+ "integrity": "sha512-sNXv5oLJ7ob93xkZ1XnxisYhGYXfaG9f65/ZgYuAu3qt7b3NadcOEhLvx28hv31PgX8SZJRYrAIPQilQmFpLVw==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@tybys/wasm-util": "^0.10.1"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ },
+ "peerDependencies": {
+ "@emnapi/core": "^1.7.1",
+ "@emnapi/runtime": "^1.7.1"
+ }
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@oxc-project/types": {
+ "version": "0.122.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.122.0.tgz",
+ "integrity": "sha512-oLAl5kBpV4w69UtFZ9xqcmTi+GENWOcPF7FCrczTiBbmC0ibXxCwyvZGbO39rCVEuLGAZM84DH0pUIyyv/YJzA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/Boshen"
+ }
+ },
+ "node_modules/@reduxjs/toolkit": {
+ "version": "2.11.2",
+ "resolved": "https://registry.npmjs.org/@reduxjs/toolkit/-/toolkit-2.11.2.tgz",
+ "integrity": "sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@standard-schema/spec": "^1.0.0",
+ "@standard-schema/utils": "^0.3.0",
+ "immer": "^11.0.0",
+ "redux": "^5.0.1",
+ "redux-thunk": "^3.1.0",
+ "reselect": "^5.1.0"
+ },
+ "peerDependencies": {
+ "react": "^16.9.0 || ^17.0.0 || ^18 || ^19",
+ "react-redux": "^7.2.1 || ^8.1.3 || ^9.0.0"
+ },
+ "peerDependenciesMeta": {
+ "react": {
+ "optional": true
+ },
+ "react-redux": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@reduxjs/toolkit/node_modules/immer": {
+ "version": "11.1.4",
+ "resolved": "https://registry.npmjs.org/immer/-/immer-11.1.4.tgz",
+ "integrity": "sha512-XREFCPo6ksxVzP4E0ekD5aMdf8WMwmdNaz6vuvxgI40UaEiu6q3p8X52aU6GdyvLY3XXX/8R7JOTXStz/nBbRw==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/immer"
+ }
+ },
+ "node_modules/@rolldown/binding-android-arm64": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.0.0-rc.12.tgz",
+ "integrity": "sha512-pv1y2Fv0JybcykuiiD3qBOBdz6RteYojRFY1d+b95WVuzx211CRh+ytI/+9iVyWQ6koTh5dawe4S/yRfOFjgaA==",
+ "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.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.0.0-rc.12.tgz",
+ "integrity": "sha512-cFYr6zTG/3PXXF3pUO+umXxt1wkRK/0AYT8lDwuqvRC+LuKYWSAQAQZjCWDQpAH172ZV6ieYrNnFzVVcnSflAg==",
+ "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.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.0.0-rc.12.tgz",
+ "integrity": "sha512-ZCsYknnHzeXYps0lGBz8JrF37GpE9bFVefrlmDrAQhOEi4IOIlcoU1+FwHEtyXGx2VkYAvhu7dyBf75EJQffBw==",
+ "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.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.0.0-rc.12.tgz",
+ "integrity": "sha512-dMLeprcVsyJsKolRXyoTH3NL6qtsT0Y2xeuEA8WQJquWFXkEC4bcu1rLZZSnZRMtAqwtrF/Ib9Ddtpa/Gkge9Q==",
+ "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.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.0.0-rc.12.tgz",
+ "integrity": "sha512-YqWjAgGC/9M1lz3GR1r1rP79nMgo3mQiiA+Hfo+pvKFK1fAJ1bCi0ZQVh8noOqNacuY1qIcfyVfP6HoyBRZ85Q==",
+ "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.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.0.0-rc.12.tgz",
+ "integrity": "sha512-/I5AS4cIroLpslsmzXfwbe5OmWvSsrFuEw3mwvbQ1kDxJ822hFHIx+vsN/TAzNVyepI/j/GSzrtCIwQPeKCLIg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-arm64-musl": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.0.0-rc.12.tgz",
+ "integrity": "sha512-V6/wZztnBqlx5hJQqNWwFdxIKN0m38p8Jas+VoSfgH54HSj9tKTt1dZvG6JRHcjh6D7TvrJPWFGaY9UBVOaWPw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-ppc64-gnu": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.0.0-rc.12.tgz",
+ "integrity": "sha512-AP3E9BpcUYliZCxa3w5Kwj9OtEVDYK6sVoUzy4vTOJsjPOgdaJZKFmN4oOlX0Wp0RPV2ETfmIra9x1xuayFB7g==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-s390x-gnu": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.0.0-rc.12.tgz",
+ "integrity": "sha512-nWwpvUSPkoFmZo0kQazZYOrT7J5DGOJ/+QHHzjvNlooDZED8oH82Yg67HvehPPLAg5fUff7TfWFHQS8IV1n3og==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-x64-gnu": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.0.0-rc.12.tgz",
+ "integrity": "sha512-RNrafz5bcwRy+O9e6P8Z/OCAJW/A+qtBczIqVYwTs14pf4iV1/+eKEjdOUta93q2TsT/FI0XYDP3TCky38LMAg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-linux-x64-musl": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.0.0-rc.12.tgz",
+ "integrity": "sha512-Jpw/0iwoKWx3LJ2rc1yjFrj+T7iHZn2JDg1Yny1ma0luviFS4mhAIcd1LFNxK3EYu3DHWCps0ydXQ5i/rrJ2ig==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/binding-openharmony-arm64": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.0.0-rc.12.tgz",
+ "integrity": "sha512-vRugONE4yMfVn0+7lUKdKvN4D5YusEiPilaoO2sgUWpCvrncvWgPMzK00ZFFJuiPgLwgFNP5eSiUlv2tfc+lpA==",
+ "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.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-wasm32-wasi/-/binding-wasm32-wasi-1.0.0-rc.12.tgz",
+ "integrity": "sha512-ykGiLr/6kkiHc0XnBfmFJuCjr5ZYKKofkx+chJWDjitX+KsJuAmrzWhwyOMSHzPhzOHOy7u9HlFoa5MoAOJ/Zg==",
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@napi-rs/wasm-runtime": "^1.1.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@rolldown/binding-win32-arm64-msvc": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.0.0-rc.12.tgz",
+ "integrity": "sha512-5eOND4duWkwx1AzCxadcOrNeighiLwMInEADT0YM7xeEOOFcovWZCq8dadXgcRHSf3Ulh1kFo/qvzoFiCLOL1Q==",
+ "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.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.12.tgz",
+ "integrity": "sha512-PyqoipaswDLAZtot351MLhrlrh6lcZPo2LSYE+VDxbVk24LVKAGOuE4hb8xZQmrPAuEtTZW8E6D2zc5EUZX4Lw==",
+ "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.0-rc.7",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.7.tgz",
+ "integrity": "sha512-qujRfC8sFVInYSPPMLQByRh7zhwkGFS4+tyMQ83srV1qrxL4g8E2tyxVVyxd0+8QeBM1mIk9KbWxkegRr76XzA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@standard-schema/spec": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
+ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
+ "license": "MIT"
+ },
+ "node_modules/@standard-schema/utils": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/@standard-schema/utils/-/utils-0.3.0.tgz",
+ "integrity": "sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==",
+ "license": "MIT"
+ },
+ "node_modules/@tailwindcss/node": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.2.2.tgz",
+ "integrity": "sha512-pXS+wJ2gZpVXqFaUEjojq7jzMpTGf8rU6ipJz5ovJV6PUGmlJ+jvIwGrzdHdQ80Sg+wmQxUFuoW1UAAwHNEdFA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/remapping": "^2.3.5",
+ "enhanced-resolve": "^5.19.0",
+ "jiti": "^2.6.1",
+ "lightningcss": "1.32.0",
+ "magic-string": "^0.30.21",
+ "source-map-js": "^1.2.1",
+ "tailwindcss": "4.2.2"
+ }
+ },
+ "node_modules/@tailwindcss/node/node_modules/tailwindcss": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.2.2.tgz",
+ "integrity": "sha512-KWBIxs1Xb6NoLdMVqhbhgwZf2PGBpPEiwOqgI4pFIYbNTfBXiKYyWoTsXgBQ9WFg/OlhnvHaY+AEpW7wSmFo2Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.2.2.tgz",
+ "integrity": "sha512-qEUA07+E5kehxYp9BVMpq9E8vnJuBHfJEC0vPC5e7iL/hw7HR61aDKoVoKzrG+QKp56vhNZe4qwkRmMC0zDLvg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 20"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.2.2",
+ "@tailwindcss/oxide-darwin-arm64": "4.2.2",
+ "@tailwindcss/oxide-darwin-x64": "4.2.2",
+ "@tailwindcss/oxide-freebsd-x64": "4.2.2",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.2.2",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.2.2",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.2.2",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.2.2",
+ "@tailwindcss/oxide-linux-x64-musl": "4.2.2",
+ "@tailwindcss/oxide-wasm32-wasi": "4.2.2",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.2.2",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.2.2"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-android-arm64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.2.2.tgz",
+ "integrity": "sha512-dXGR1n+P3B6748jZO/SvHZq7qBOqqzQ+yFrXpoOWWALWndF9MoSKAT3Q0fYgAzYzGhxNYOoysRvYlpixRBBoDg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.2.2.tgz",
+ "integrity": "sha512-iq9Qjr6knfMpZHj55/37ouZeykwbDqF21gPFtfnhCCKGDcPI/21FKC9XdMO/XyBM7qKORx6UIhGgg6jLl7BZlg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-x64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.2.2.tgz",
+ "integrity": "sha512-BlR+2c3nzc8f2G639LpL89YY4bdcIdUmiOOkv2GQv4/4M0vJlpXEa0JXNHhCHU7VWOKWT/CjqHdTP8aUuDJkuw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-freebsd-x64": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.2.2.tgz",
+ "integrity": "sha512-YUqUgrGMSu2CDO82hzlQ5qSb5xmx3RUrke/QgnoEx7KvmRJHQuZHZmZTLSuuHwFf0DJPybFMXMYf+WJdxHy/nQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.2.2.tgz",
+ "integrity": "sha512-FPdhvsW6g06T9BWT0qTwiVZYE2WIFo2dY5aCSpjG/S/u1tby+wXoslXS0kl3/KXnULlLr1E3NPRRw0g7t2kgaQ==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.2.2.tgz",
+ "integrity": "sha512-4og1V+ftEPXGttOO7eCmW7VICmzzJWgMx+QXAJRAhjrSjumCwWqMfkDrNu1LXEQzNAwz28NCUpucgQPrR4S2yw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.2.2.tgz",
+ "integrity": "sha512-oCfG/mS+/+XRlwNjnsNLVwnMWYH7tn/kYPsNPh+JSOMlnt93mYNCKHYzylRhI51X+TbR+ufNhhKKzm6QkqX8ag==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.2.2.tgz",
+ "integrity": "sha512-rTAGAkDgqbXHNp/xW0iugLVmX62wOp2PoE39BTCGKjv3Iocf6AFbRP/wZT/kuCxC9QBh9Pu8XPkv/zCZB2mcMg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "glibc"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.2.2.tgz",
+ "integrity": "sha512-XW3t3qwbIwiSyRCggeO2zxe3KWaEbM0/kW9e8+0XpBgyKU4ATYzcVSMKteZJ1iukJ3HgHBjbg9P5YPRCVUxlnQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "libc": [
+ "musl"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.2.2.tgz",
+ "integrity": "sha512-eKSztKsmEsn1O5lJ4ZAfyn41NfG7vzCg496YiGtMDV86jz1q/irhms5O0VrY6ZwTUkFy/EKG3RfWgxSI3VbZ8Q==",
+ "bundleDependencies": [
+ "@napi-rs/wasm-runtime",
+ "@emnapi/core",
+ "@emnapi/runtime",
+ "@tybys/wasm-util",
+ "@emnapi/wasi-threads",
+ "tslib"
+ ],
+ "cpu": [
+ "wasm32"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.8.1",
+ "@emnapi/runtime": "^1.8.1",
+ "@emnapi/wasi-threads": "^1.1.0",
+ "@napi-rs/wasm-runtime": "^1.1.1",
+ "@tybys/wasm-util": "^0.10.1",
+ "tslib": "^2.8.1"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.2.tgz",
+ "integrity": "sha512-qPmaQM4iKu5mxpsrWZMOZRgZv1tOZpUm+zdhhQP0VhJfyGGO3aUKdbh3gDZc/dPLQwW4eSqWGrrcWNBZWUWaXQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.2.2.tgz",
+ "integrity": "sha512-1T/37VvI7WyH66b+vqHj/cLwnCxt7Qt3WFu5Q8hk65aOvlwAhs7rAp1VkulBJw/N4tMirXjVnylTR72uI0HGcA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 20"
+ }
+ },
+ "node_modules/@tailwindcss/postcss": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.2.2.tgz",
+ "integrity": "sha512-n4goKQbW8RVXIbNKRB/45LzyUqN451deQK0nzIeauVEqjlI49slUlgKYJM2QyUzap/PcpnS7kzSUmPb1sCRvYQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "@tailwindcss/node": "4.2.2",
+ "@tailwindcss/oxide": "4.2.2",
+ "postcss": "^8.5.6",
+ "tailwindcss": "4.2.2"
+ }
+ },
+ "node_modules/@tailwindcss/postcss/node_modules/tailwindcss": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.2.2.tgz",
+ "integrity": "sha512-KWBIxs1Xb6NoLdMVqhbhgwZf2PGBpPEiwOqgI4pFIYbNTfBXiKYyWoTsXgBQ9WFg/OlhnvHaY+AEpW7wSmFo2Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz",
+ "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==",
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@types/d3-array": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-3.2.2.tgz",
+ "integrity": "sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-color": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-3.1.3.tgz",
+ "integrity": "sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-ease": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-3.0.2.tgz",
+ "integrity": "sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-interpolate": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-3.0.4.tgz",
+ "integrity": "sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-color": "*"
+ }
+ },
+ "node_modules/@types/d3-path": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-3.1.1.tgz",
+ "integrity": "sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-scale": {
+ "version": "4.0.9",
+ "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-4.0.9.tgz",
+ "integrity": "sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-time": "*"
+ }
+ },
+ "node_modules/@types/d3-shape": {
+ "version": "3.1.8",
+ "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-3.1.8.tgz",
+ "integrity": "sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/d3-path": "*"
+ }
+ },
+ "node_modules/@types/d3-time": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-3.0.4.tgz",
+ "integrity": "sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==",
+ "license": "MIT"
+ },
+ "node_modules/@types/d3-timer": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-3.0.2.tgz",
+ "integrity": "sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==",
+ "license": "MIT"
+ },
+ "node_modules/@types/estree": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz",
+ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",
+ "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.14",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.14.tgz",
+ "integrity": "sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==",
+ "devOptional": 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/@types/use-sync-external-store": {
+ "version": "0.0.6",
+ "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz",
+ "integrity": "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==",
+ "license": "MIT"
+ },
+ "node_modules/@vitejs/plugin-react": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.0.1.tgz",
+ "integrity": "sha512-l9X/E3cDb+xY3SWzlG1MOGt2usfEHGMNIaegaUGFsLkb3RCn/k8/TOXBcab+OndDI4TBtktT8/9BwwW8Vi9KUQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@rolldown/pluginutils": "1.0.0-rc.7"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "peerDependencies": {
+ "@rolldown/plugin-babel": "^0.1.7 || ^0.2.0",
+ "babel-plugin-react-compiler": "^1.0.0",
+ "vite": "^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@rolldown/plugin-babel": {
+ "optional": true
+ },
+ "babel-plugin-react-compiler": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/acorn": {
+ "version": "8.16.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
+ "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "acorn": "bin/acorn"
+ },
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.14.0",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
+ "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/any-promise": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
+ "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/anymatch": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",
+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/anymatch/node_modules/picomatch": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/arg": {
+ "version": "5.0.2",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz",
+ "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true,
+ "license": "Python-2.0"
+ },
+ "node_modules/autoprefixer": {
+ "version": "10.4.27",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.27.tgz",
+ "integrity": "sha512-NP9APE+tO+LuJGn7/9+cohklunJsXWiaWEfV3si4Gi/XHDwVNgkwr1J3RQYFIvPy76GmJ9/bW8vyoU1LcxwKHA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/autoprefixer"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "browserslist": "^4.28.1",
+ "caniuse-lite": "^1.0.30001774",
+ "fraction.js": "^5.3.4",
+ "picocolors": "^1.1.1",
+ "postcss-value-parser": "^4.2.0"
+ },
+ "bin": {
+ "autoprefixer": "bin/autoprefixer"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ },
+ "peerDependencies": {
+ "postcss": "^8.1.0"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/baseline-browser-mapping": {
+ "version": "2.10.13",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.13.tgz",
+ "integrity": "sha512-BL2sTuHOdy0YT1lYieUxTw/QMtPBC3pmlJC6xk8BBYVv6vcw3SGdKemQ+Xsx9ik2F/lYDO9tqsFQH1r9PFuHKw==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "baseline-browser-mapping": "dist/cli.cjs"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz",
+ "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.13.tgz",
+ "integrity": "sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",
+ "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fill-range": "^7.1.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/browserslist": {
+ "version": "4.28.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/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/camelcase-css": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/camelcase-css/-/camelcase-css-2.0.1.tgz",
+ "integrity": "sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/caniuse-lite": {
+ "version": "1.0.30001784",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001784.tgz",
+ "integrity": "sha512-WU346nBTklUV9YfUl60fqRbU5ZqyXlqvo1SgigE1OAXK5bFL8LL9q1K7aap3N739l4BvNqnkm3YrGHiY9sfUQw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/browserslist"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/caniuse-lite"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "CC-BY-4.0"
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/chokidar": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz",
+ "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chokidar/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/clsx": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",
+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/convert-source-map": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",
+ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/cookie": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.1.1.tgz",
+ "integrity": "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
+ }
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
+ "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "cssesc": "bin/cssesc"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/csstype": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",
+ "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",
+ "devOptional": true,
+ "license": "MIT"
+ },
+ "node_modules/d3-array": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-3.2.4.tgz",
+ "integrity": "sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==",
+ "license": "ISC",
+ "dependencies": {
+ "internmap": "1 - 2"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-color": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-3.1.0.tgz",
+ "integrity": "sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-ease": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-3.0.1.tgz",
+ "integrity": "sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-format": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-3.1.2.tgz",
+ "integrity": "sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-interpolate": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-3.0.1.tgz",
+ "integrity": "sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-color": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-path": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-scale": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-4.0.2.tgz",
+ "integrity": "sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "2.10.0 - 3",
+ "d3-format": "1 - 3",
+ "d3-interpolate": "1.2.0 - 3",
+ "d3-time": "2.1.1 - 3",
+ "d3-time-format": "2 - 4"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-shape": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-path": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-time": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-3.1.0.tgz",
+ "integrity": "sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "2 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-time-format": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-4.1.0.tgz",
+ "integrity": "sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-time": "1 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/d3-timer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-3.0.1.tgz",
+ "integrity": "sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "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/decimal.js-light": {
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.1.tgz",
+ "integrity": "sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==",
+ "license": "MIT"
+ },
+ "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/didyoumean": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz",
+ "integrity": "sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "node_modules/dlv": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz",
+ "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/electron-to-chromium": {
+ "version": "1.5.330",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.330.tgz",
+ "integrity": "sha512-jFNydB5kFtYUobh4IkWUnXeyDbjf/r9gcUEXe1xcrcUxIGfTdzPXA+ld6zBRbwvgIGVzDll/LTIiDztEtckSnA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/enhanced-resolve": {
+ "version": "5.20.1",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.20.1.tgz",
+ "integrity": "sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.3.0"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/es-toolkit": {
+ "version": "1.45.1",
+ "resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.45.1.tgz",
+ "integrity": "sha512-/jhoOj/Fx+A+IIyDNOvO3TItGmlMKhtX8ISAHKE90c4b/k1tqaqEZ+uUqfpU8DMnW5cgNJv606zS55jGvza0Xw==",
+ "license": "MIT",
+ "workspaces": [
+ "docs",
+ "benchmarks"
+ ]
+ },
+ "node_modules/escalade": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "9.39.4",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz",
+ "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.8.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.21.2",
+ "@eslint/config-helpers": "^0.4.2",
+ "@eslint/core": "^0.17.0",
+ "@eslint/eslintrc": "^3.3.5",
+ "@eslint/js": "9.39.4",
+ "@eslint/plugin-kit": "^0.4.1",
+ "@humanfs/node": "^0.16.6",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "ajv": "^6.14.0",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.6",
+ "debug": "^4.3.2",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^8.4.0",
+ "eslint-visitor-keys": "^4.2.1",
+ "espree": "^10.4.0",
+ "esquery": "^1.5.0",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^8.0.0",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.5",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-plugin-react-hooks": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz",
+ "integrity": "sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@babel/core": "^7.24.4",
+ "@babel/parser": "^7.24.4",
+ "hermes-parser": "^0.25.1",
+ "zod": "^3.25.0 || ^4.0.0",
+ "zod-validation-error": "^3.5.0 || ^4.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-react-refresh": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.5.2.tgz",
+ "integrity": "sha512-hmgTH57GfzoTFjVN0yBwTggnsVUF2tcqi7RJZHqi9lIezSs4eFyAMktA68YD4r5kNw1mxyY4dmkyoFDb3FIqrA==",
+ "dev": true,
+ "license": "MIT",
+ "peerDependencies": {
+ "eslint": "^9 || ^10"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "8.4.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",
+ "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
+ "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",
+ "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "acorn": "^8.15.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^4.2.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",
+ "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "license": "BSD-2-Clause",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/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/eventemitter3": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz",
+ "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==",
+ "license": "MIT"
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
+ "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.8"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/fastq": {
+ "version": "1.20.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
+ "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "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/fill-range": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",
+ "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.4"
+ },
+ "engines": {
+ "node": ">=16"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz",
+ "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/fraction.js": {
+ "version": "5.3.4",
+ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz",
+ "integrity": "sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/rawify"
+ }
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/gensync": {
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6.9.0"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/globals": {
+ "version": "17.4.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-17.4.0.tgz",
+ "integrity": "sha512-hjrNztw/VajQwOLsMNT1cbJiH2muO3OROCHnbehc8eY5JyD2gqz4AcMHPqgaOR59DjgUjYAYLeH699g/eWi2jw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/graceful-fs": {
+ "version": "4.2.11",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+ "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/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/immer": {
+ "version": "10.2.0",
+ "resolved": "https://registry.npmjs.org/immer/-/immer-10.2.0.tgz",
+ "integrity": "sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==",
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/immer"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
+ "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/internmap": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/internmap/-/internmap-2.0.3.tgz",
+ "integrity": "sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.16.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
+ "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "hasown": "^2.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/jiti": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.6.1.tgz",
+ "integrity": "sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jiti": "lib/jiti-cli.mjs"
+ }
+ },
+ "node_modules/js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "license": "MIT"
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/jsesc": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",
+ "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jsesc": "bin/jsesc"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/json5": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "json5": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/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,
+ "libc": [
+ "glibc"
+ ],
+ "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,
+ "libc": [
+ "musl"
+ ],
+ "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,
+ "libc": [
+ "glibc"
+ ],
+ "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,
+ "libc": [
+ "musl"
+ ],
+ "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/lilconfig": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
+ "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=14"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/antonk52"
+ }
+ },
+ "node_modules/lines-and-columns": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
+ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ },
+ "bin": {
+ "loose-envify": "cli.js"
+ }
+ },
+ "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/magic-string": {
+ "version": "0.30.21",
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
+ "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/sourcemap-codec": "^1.5.5"
+ }
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.8",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "braces": "^3.0.3",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/micromatch/node_modules/picomatch": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
+ "dev": true,
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/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/mz": {
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
+ "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0",
+ "object-assign": "^4.0.1",
+ "thenify-all": "^1.0.0"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.11",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz",
+ "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/node-releases": {
+ "version": "2.0.36",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.36.tgz",
+ "integrity": "sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/object-hash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-3.0.0.tgz",
+ "integrity": "sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.4",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
+ "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0",
+ "word-wrap": "^1.2.5"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.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/pify": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/pirates": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz",
+ "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.8",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.8.tgz",
+ "integrity": "sha512-OW/rX8O/jXnm82Ey1k44pObPtdblfiuWnrd8X7GJ7emImCOstunGbXUpp7HdBrFQX6rJzn3sPT397Wp5aCwCHg==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/postcss-import": {
+ "version": "15.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-15.1.0.tgz",
+ "integrity": "sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "postcss-value-parser": "^4.0.0",
+ "read-cache": "^1.0.0",
+ "resolve": "^1.1.7"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.0.0"
+ }
+ },
+ "node_modules/postcss-js": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/postcss-js/-/postcss-js-4.1.0.tgz",
+ "integrity": "sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "camelcase-css": "^2.0.1"
+ },
+ "engines": {
+ "node": "^12 || ^14 || >= 16"
+ },
+ "peerDependencies": {
+ "postcss": "^8.4.21"
+ }
+ },
+ "node_modules/postcss-load-config": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz",
+ "integrity": "sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "lilconfig": "^3.1.1"
+ },
+ "engines": {
+ "node": ">= 18"
+ },
+ "peerDependencies": {
+ "jiti": ">=1.21.0",
+ "postcss": ">=8.0.9",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ },
+ "postcss": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/postcss-nested": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
+ "integrity": "sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "postcss-selector-parser": "^6.1.1"
+ },
+ "engines": {
+ "node": ">=12.0"
+ },
+ "peerDependencies": {
+ "postcss": "^8.2.14"
+ }
+ },
+ "node_modules/postcss-selector-parser": {
+ "version": "6.1.2",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz",
+ "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ },
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/postcss-value-parser": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz",
+ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "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/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
+ "node_modules/react": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
+ "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/react-dom": {
+ "version": "18.3.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
+ "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "scheduler": "^0.23.2"
+ },
+ "peerDependencies": {
+ "react": "^18.3.1"
+ }
+ },
+ "node_modules/react-is": {
+ "version": "19.2.4",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.2.4.tgz",
+ "integrity": "sha512-W+EWGn2v0ApPKgKKCy/7s7WHXkboGcsrXE+2joLyVxkbyVQfO3MUEaUQDHoSmb8TFFrSKYa9mw64WZHNHSDzYA==",
+ "license": "MIT",
+ "peer": true
+ },
+ "node_modules/react-redux": {
+ "version": "9.2.0",
+ "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-9.2.0.tgz",
+ "integrity": "sha512-ROY9fvHhwOD9ySfrF0wmvu//bKCQ6AeZZq1nJNtbDC+kk5DuSuNX/n6YWYF/SYy7bSba4D4FSz8DJeKY/S/r+g==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/use-sync-external-store": "^0.0.6",
+ "use-sync-external-store": "^1.4.0"
+ },
+ "peerDependencies": {
+ "@types/react": "^18.2.25 || ^19",
+ "react": "^18.0 || ^19",
+ "redux": "^5.0.0"
+ },
+ "peerDependenciesMeta": {
+ "@types/react": {
+ "optional": true
+ },
+ "redux": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-router": {
+ "version": "7.13.2",
+ "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.13.2.tgz",
+ "integrity": "sha512-tX1Aee+ArlKQP+NIUd7SE6Li+CiGKwQtbS+FfRxPX6Pe4vHOo6nr9d++u5cwg+Z8K/x8tP+7qLmujDtfrAoUJA==",
+ "license": "MIT",
+ "dependencies": {
+ "cookie": "^1.0.1",
+ "set-cookie-parser": "^2.6.0"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=18",
+ "react-dom": ">=18"
+ },
+ "peerDependenciesMeta": {
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/react-router-dom": {
+ "version": "7.13.2",
+ "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.13.2.tgz",
+ "integrity": "sha512-aR7SUORwTqAW0JDeiWF07e9SBE9qGpByR9I8kJT5h/FrBKxPMS6TiC7rmVO+gC0q52Bx7JnjWe8Z1sR9faN4YA==",
+ "license": "MIT",
+ "dependencies": {
+ "react-router": "7.13.2"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ },
+ "peerDependencies": {
+ "react": ">=18",
+ "react-dom": ">=18"
+ }
+ },
+ "node_modules/read-cache": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
+ "integrity": "sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "pify": "^2.3.0"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
+ "node_modules/readdirp/node_modules/picomatch": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/recharts": {
+ "version": "3.8.1",
+ "resolved": "https://registry.npmjs.org/recharts/-/recharts-3.8.1.tgz",
+ "integrity": "sha512-mwzmO1s9sFL0TduUpwndxCUNoXsBw3u3E/0+A+cLcrSfQitSG62L32N69GhqUrrT5qKcAE3pCGVINC6pqkBBQg==",
+ "license": "MIT",
+ "workspaces": [
+ "www"
+ ],
+ "dependencies": {
+ "@reduxjs/toolkit": "^1.9.0 || 2.x.x",
+ "clsx": "^2.1.1",
+ "decimal.js-light": "^2.5.1",
+ "es-toolkit": "^1.39.3",
+ "eventemitter3": "^5.0.1",
+ "immer": "^10.1.1",
+ "react-redux": "8.x.x || 9.x.x",
+ "reselect": "5.1.1",
+ "tiny-invariant": "^1.3.3",
+ "use-sync-external-store": "^1.2.2",
+ "victory-vendor": "^37.0.2"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
+ "react-is": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/redux": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz",
+ "integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==",
+ "license": "MIT"
+ },
+ "node_modules/redux-thunk": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz",
+ "integrity": "sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "redux": "^5.0.0"
+ }
+ },
+ "node_modules/reselect": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/reselect/-/reselect-5.1.1.tgz",
+ "integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==",
+ "license": "MIT"
+ },
+ "node_modules/resolve": {
+ "version": "1.22.11",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.11.tgz",
+ "integrity": "sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-core-module": "^2.16.1",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
+ "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rolldown": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.12.tgz",
+ "integrity": "sha512-yP4USLIMYrwpPHEFB5JGH1uxhcslv6/hL0OyvTuY+3qlOSJvZ7ntYnoWpehBxufkgN0cvXxppuTu5hHa/zPh+A==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@oxc-project/types": "=0.122.0",
+ "@rolldown/pluginutils": "1.0.0-rc.12"
+ },
+ "bin": {
+ "rolldown": "bin/cli.mjs"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "optionalDependencies": {
+ "@rolldown/binding-android-arm64": "1.0.0-rc.12",
+ "@rolldown/binding-darwin-arm64": "1.0.0-rc.12",
+ "@rolldown/binding-darwin-x64": "1.0.0-rc.12",
+ "@rolldown/binding-freebsd-x64": "1.0.0-rc.12",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.12",
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.12",
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.12",
+ "@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.12",
+ "@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.12",
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.12",
+ "@rolldown/binding-linux-x64-musl": "1.0.0-rc.12",
+ "@rolldown/binding-openharmony-arm64": "1.0.0-rc.12",
+ "@rolldown/binding-wasm32-wasi": "1.0.0-rc.12",
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.12",
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.12"
+ }
+ },
+ "node_modules/rolldown/node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-rc.12",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.12.tgz",
+ "integrity": "sha512-HHMwmarRKvoFsJorqYlFeFRzXZqCt2ETQlEDOb9aqssrnVBB1/+xgTGtuTrIk5vzLNX1MjMtTf7W9z3tsSbrxw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/scheduler": {
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0"
+ }
+ },
+ "node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/set-cookie-parser": {
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.2.tgz",
+ "integrity": "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==",
+ "license": "MIT"
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/sucrase": {
+ "version": "3.35.1",
+ "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz",
+ "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@jridgewell/gen-mapping": "^0.3.2",
+ "commander": "^4.0.0",
+ "lines-and-columns": "^1.1.6",
+ "mz": "^2.7.0",
+ "pirates": "^4.0.1",
+ "tinyglobby": "^0.2.11",
+ "ts-interface-checker": "^0.1.9"
+ },
+ "bin": {
+ "sucrase": "bin/sucrase",
+ "sucrase-node": "bin/sucrase-node"
+ },
+ "engines": {
+ "node": ">=16 || 14 >=14.17"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/tailwindcss": {
+ "version": "3.4.19",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.19.tgz",
+ "integrity": "sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "arg": "^5.0.2",
+ "chokidar": "^3.6.0",
+ "didyoumean": "^1.2.2",
+ "dlv": "^1.1.3",
+ "fast-glob": "^3.3.2",
+ "glob-parent": "^6.0.2",
+ "is-glob": "^4.0.3",
+ "jiti": "^1.21.7",
+ "lilconfig": "^3.1.3",
+ "micromatch": "^4.0.8",
+ "normalize-path": "^3.0.0",
+ "object-hash": "^3.0.0",
+ "picocolors": "^1.1.1",
+ "postcss": "^8.4.47",
+ "postcss-import": "^15.1.0",
+ "postcss-js": "^4.0.1",
+ "postcss-load-config": "^4.0.2 || ^5.0 || ^6.0",
+ "postcss-nested": "^6.2.0",
+ "postcss-selector-parser": "^6.1.2",
+ "resolve": "^1.22.8",
+ "sucrase": "^3.35.0"
+ },
+ "bin": {
+ "tailwind": "lib/cli.js",
+ "tailwindcss": "lib/cli.js"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/tailwindcss/node_modules/jiti": {
+ "version": "1.21.7",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz",
+ "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==",
+ "dev": true,
+ "license": "MIT",
+ "bin": {
+ "jiti": "bin/jiti.js"
+ }
+ },
+ "node_modules/tapable": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.2.tgz",
+ "integrity": "sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/webpack"
+ }
+ },
+ "node_modules/thenify": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz",
+ "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "any-promise": "^1.0.0"
+ }
+ },
+ "node_modules/thenify-all": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz",
+ "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "thenify": ">= 3.1.0 < 4"
+ },
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
+ "node_modules/tiny-invariant": {
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz",
+ "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==",
+ "license": "MIT"
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.15",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz",
+ "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/ts-interface-checker": {
+ "version": "0.1.13",
+ "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz",
+ "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==",
+ "dev": true,
+ "license": "Apache-2.0"
+ },
+ "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/use-sync-external-store": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz",
+ "integrity": "sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==",
+ "license": "MIT",
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/victory-vendor": {
+ "version": "37.3.6",
+ "resolved": "https://registry.npmjs.org/victory-vendor/-/victory-vendor-37.3.6.tgz",
+ "integrity": "sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ==",
+ "license": "MIT AND ISC",
+ "dependencies": {
+ "@types/d3-array": "^3.0.3",
+ "@types/d3-ease": "^3.0.0",
+ "@types/d3-interpolate": "^3.0.1",
+ "@types/d3-scale": "^4.0.2",
+ "@types/d3-shape": "^3.1.0",
+ "@types/d3-time": "^3.0.0",
+ "@types/d3-timer": "^3.0.0",
+ "d3-array": "^3.1.6",
+ "d3-ease": "^3.0.1",
+ "d3-interpolate": "^3.0.1",
+ "d3-scale": "^4.0.2",
+ "d3-shape": "^3.1.0",
+ "d3-time": "^3.0.0",
+ "d3-timer": "^3.0.1"
+ }
+ },
+ "node_modules/vite": {
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.3.tgz",
+ "integrity": "sha512-B9ifbFudT1TFhfltfaIPgjo9Z3mDynBTJSUYxTjOQruf/zHH+ezCQKcoqO+h7a9Pw9Nm/OtlXAiGT1axBgwqrQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "lightningcss": "^1.32.0",
+ "picomatch": "^4.0.4",
+ "postcss": "^8.5.8",
+ "rolldown": "1.0.0-rc.12",
+ "tinyglobby": "^0.2.15"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "@vitejs/devtools": "^0.1.0",
+ "esbuild": "^0.27.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "@vitejs/devtools": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/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.3.6",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
+ "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
+ }
+ },
+ "node_modules/zod-validation-error": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",
+ "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "peerDependencies": {
+ "zod": "^3.25.0 || ^4.0.0"
+ }
+ }
+ }
+}
diff --git a/dashboard/package.json b/dashboard/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..9a9174c376b8fbf22c3b7317bc8af622f56eb076
--- /dev/null
+++ b/dashboard/package.json
@@ -0,0 +1,33 @@
+{
+ "name": "dashboard",
+ "private": true,
+ "version": "0.0.0",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "vite build",
+ "lint": "eslint .",
+ "preview": "vite preview"
+ },
+ "dependencies": {
+ "react": "^18.3.1",
+ "react-dom": "^18.3.1",
+ "react-router-dom": "^7.13.2",
+ "recharts": "^3.8.1"
+ },
+ "devDependencies": {
+ "@eslint/js": "^9.39.4",
+ "@tailwindcss/postcss": "^4.2.2",
+ "@types/react": "^19.2.14",
+ "@types/react-dom": "^19.2.3",
+ "@vitejs/plugin-react": "^6.0.1",
+ "autoprefixer": "^10.4.27",
+ "eslint": "^9.39.4",
+ "eslint-plugin-react-hooks": "^7.0.1",
+ "eslint-plugin-react-refresh": "^0.5.2",
+ "globals": "^17.4.0",
+ "postcss": "^8.5.8",
+ "tailwindcss": "^3.4.19",
+ "vite": "^8.0.1"
+ }
+}
diff --git a/dashboard/postcss.config.js b/dashboard/postcss.config.js
new file mode 100644
index 0000000000000000000000000000000000000000..e99ebc2c0e00cc37de4cefee2bf2a332abb73d8d
--- /dev/null
+++ b/dashboard/postcss.config.js
@@ -0,0 +1,6 @@
+export default {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {},
+ },
+}
\ No newline at end of file
diff --git a/dashboard/public/favicon.svg b/dashboard/public/favicon.svg
new file mode 100644
index 0000000000000000000000000000000000000000..6893eb13237060adc0c968a690149a49faa2d7d3
--- /dev/null
+++ b/dashboard/public/favicon.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/dashboard/public/icons.svg b/dashboard/public/icons.svg
new file mode 100644
index 0000000000000000000000000000000000000000..e9522193d9f796a9748e9ad8c952a5df73c87db9
--- /dev/null
+++ b/dashboard/public/icons.svg
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dashboard/src/App.css b/dashboard/src/App.css
new file mode 100644
index 0000000000000000000000000000000000000000..f90339d8f765fa2c69d9a341959a8ddb9fff5720
--- /dev/null
+++ b/dashboard/src/App.css
@@ -0,0 +1,184 @@
+.counter {
+ font-size: 16px;
+ padding: 5px 10px;
+ border-radius: 5px;
+ color: var(--accent);
+ background: var(--accent-bg);
+ border: 2px solid transparent;
+ transition: border-color 0.3s;
+ margin-bottom: 24px;
+
+ &:hover {
+ border-color: var(--accent-border);
+ }
+ &:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+ }
+}
+
+.hero {
+ position: relative;
+
+ .base,
+ .framework,
+ .vite {
+ inset-inline: 0;
+ margin: 0 auto;
+ }
+
+ .base {
+ width: 170px;
+ position: relative;
+ z-index: 0;
+ }
+
+ .framework,
+ .vite {
+ position: absolute;
+ }
+
+ .framework {
+ z-index: 1;
+ top: 34px;
+ height: 28px;
+ transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
+ scale(1.4);
+ }
+
+ .vite {
+ z-index: 0;
+ top: 107px;
+ height: 26px;
+ width: auto;
+ transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
+ scale(0.8);
+ }
+}
+
+#center {
+ display: flex;
+ flex-direction: column;
+ gap: 25px;
+ place-content: center;
+ place-items: center;
+ flex-grow: 1;
+
+ @media (max-width: 1024px) {
+ padding: 32px 20px 24px;
+ gap: 18px;
+ }
+}
+
+#next-steps {
+ display: flex;
+ border-top: 1px solid var(--border);
+ text-align: left;
+
+ & > div {
+ flex: 1 1 0;
+ padding: 32px;
+ @media (max-width: 1024px) {
+ padding: 24px 20px;
+ }
+ }
+
+ .icon {
+ margin-bottom: 16px;
+ width: 22px;
+ height: 22px;
+ }
+
+ @media (max-width: 1024px) {
+ flex-direction: column;
+ text-align: center;
+ }
+}
+
+#docs {
+ border-right: 1px solid var(--border);
+
+ @media (max-width: 1024px) {
+ border-right: none;
+ border-bottom: 1px solid var(--border);
+ }
+}
+
+#next-steps ul {
+ list-style: none;
+ padding: 0;
+ display: flex;
+ gap: 8px;
+ margin: 32px 0 0;
+
+ .logo {
+ height: 18px;
+ }
+
+ a {
+ color: var(--text-h);
+ font-size: 16px;
+ border-radius: 6px;
+ background: var(--social-bg);
+ display: flex;
+ padding: 6px 12px;
+ align-items: center;
+ gap: 8px;
+ text-decoration: none;
+ transition: box-shadow 0.3s;
+
+ &:hover {
+ box-shadow: var(--shadow);
+ }
+ .button-icon {
+ height: 18px;
+ width: 18px;
+ }
+ }
+
+ @media (max-width: 1024px) {
+ margin-top: 20px;
+ flex-wrap: wrap;
+ justify-content: center;
+
+ li {
+ flex: 1 1 calc(50% - 8px);
+ }
+
+ a {
+ width: 100%;
+ justify-content: center;
+ box-sizing: border-box;
+ }
+ }
+}
+
+#spacer {
+ height: 88px;
+ border-top: 1px solid var(--border);
+ @media (max-width: 1024px) {
+ height: 48px;
+ }
+}
+
+.ticks {
+ position: relative;
+ width: 100%;
+
+ &::before,
+ &::after {
+ content: '';
+ position: absolute;
+ top: -4.5px;
+ border: 5px solid transparent;
+ }
+
+ &::before {
+ left: 0;
+ border-left-color: var(--border);
+ }
+ &::after {
+ right: 0;
+ border-right-color: var(--border);
+ }
+}
diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..2ddc858e40c461de6be7a7b0692100e6ac0a6d15
--- /dev/null
+++ b/dashboard/src/App.jsx
@@ -0,0 +1,35 @@
+import { Suspense, lazy } from "react"
+import { BrowserRouter, Routes, Route } from "react-router-dom"
+import AppShell from "./components/AppShell"
+
+const Dashboard = lazy(() => import("./pages/Dashboard"))
+const History = lazy(() => import("./pages/History"))
+const Live = lazy(() => import("./pages/Live"))
+const Analytics = lazy(() => import("./pages/Analytics"))
+
+function App() {
+ return (
+
+
+
+
+ Loading inspection workspace...
+
+ }
+ >
+
+ } />
+ } />
+ } />
+ } />
+
+
+
+
+
+ )
+}
+
+export default App
diff --git a/dashboard/src/assets/hero.png b/dashboard/src/assets/hero.png
new file mode 100644
index 0000000000000000000000000000000000000000..cc51a3d20ad4bc961b596a6adfd686685cd84bb0
Binary files /dev/null and b/dashboard/src/assets/hero.png differ
diff --git a/dashboard/src/assets/react.svg b/dashboard/src/assets/react.svg
new file mode 100644
index 0000000000000000000000000000000000000000..6c87de9bb3358469122cc991d5cf578927246184
--- /dev/null
+++ b/dashboard/src/assets/react.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/dashboard/src/assets/vite.svg b/dashboard/src/assets/vite.svg
new file mode 100644
index 0000000000000000000000000000000000000000..5101b674df391399da71c767aa5c976426c9dc7a
--- /dev/null
+++ b/dashboard/src/assets/vite.svg
@@ -0,0 +1 @@
+Vite
diff --git a/dashboard/src/components/AppShell.jsx b/dashboard/src/components/AppShell.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..02d10e8dc5c63f5fef65a71b2a93b9db2c77075f
--- /dev/null
+++ b/dashboard/src/components/AppShell.jsx
@@ -0,0 +1,75 @@
+import { useState } from "react"
+import { useLocation } from "react-router-dom"
+import Sidebar from "./Sidebar"
+
+const PAGE_COPY = {
+ "/": {
+ label: "Command Center",
+ subtitle: "Real-time manufacturing quality monitoring, reporting, and plant visibility.",
+ },
+ "/live": {
+ label: "Live Monitoring",
+ subtitle: "Choose uploaded images or browser camera feed for inspection and monitoring.",
+ },
+ "/history": {
+ label: "Inspection History",
+ subtitle: "Trace reports, decisions, and defect signatures over time.",
+ },
+ "/analytics": {
+ label: "Analytics",
+ subtitle: "Trend performance, defect mix, and production quality signals.",
+ },
+}
+
+function formatHeaderTime() {
+ return new Intl.DateTimeFormat("en-IN", {
+ weekday: "short",
+ month: "short",
+ day: "numeric",
+ hour: "numeric",
+ minute: "2-digit",
+ }).format(new Date())
+}
+
+export default function AppShell({ children }) {
+ const { pathname } = useLocation()
+ const [mobileOpen, setMobileOpen] = useState(false)
+ const headerCopy = PAGE_COPY[pathname] || PAGE_COPY["/"]
+
+ return (
+
+
+
setMobileOpen(false)} />
+
+
+
+
+
+
setMobileOpen(true)}
+ aria-label="Open navigation"
+ >
+ โก
+
+
+
+
Manufacturing Monitoring System
+
{headerCopy.label}
+
{headerCopy.subtitle}
+
+
+
+
+ {formatHeaderTime()}
+
+
+
+
+
{children}
+
+
+
+ )
+}
diff --git a/dashboard/src/components/MetricCard.jsx b/dashboard/src/components/MetricCard.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..e219a7590733081e2bf9bf3b737bf5dd34e25980
--- /dev/null
+++ b/dashboard/src/components/MetricCard.jsx
@@ -0,0 +1,25 @@
+export default function MetricCard({ label, value, detail, tone = "steel" }) {
+ const toneClasses = {
+ steel: "from-slate-200/10 to-transparent text-slate-100",
+ success: "from-emerald-300/[0.15] to-transparent text-emerald-100",
+ warning: "from-amber-300/[0.15] to-transparent text-amber-100",
+ danger: "from-rose-300/[0.15] to-transparent text-rose-100",
+ accent: "from-cyan-300/[0.15] to-transparent text-cyan-100",
+ }
+
+ return (
+
+
+
+
{label}
+
+ {detail ?
{detail}
: null}
+
+
+ )
+}
diff --git a/dashboard/src/components/ProcessFlow.jsx b/dashboard/src/components/ProcessFlow.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..752c8e23e991cb0c7aeca11cdfef7434349d615a
--- /dev/null
+++ b/dashboard/src/components/ProcessFlow.jsx
@@ -0,0 +1,21 @@
+export default function ProcessFlow({ steps, compact = false }) {
+ return (
+
+ {steps.map((step, index) => (
+
+
+
+ {String(index + 1).padStart(2, "0")}
+
+
+
+ {step.title}
+
+
{step.detail}
+
+
+
+ ))}
+
+ )
+}
diff --git a/dashboard/src/components/Sidebar.jsx b/dashboard/src/components/Sidebar.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..29ed0c4f51c1e098ade81c96dff74a232fbb7571
--- /dev/null
+++ b/dashboard/src/components/Sidebar.jsx
@@ -0,0 +1,93 @@
+import { NavLink } from "react-router-dom"
+import { systemBrief } from "../content/systemBrief"
+import ProcessFlow from "./ProcessFlow"
+
+const NAV_ITEMS = [
+ { to: "/", label: "Dashboard", kicker: "Plant status" },
+ { to: "/live", label: "Live Monitor", kicker: "Camera and upload" },
+ { to: "/history", label: "History", kicker: "Inspection logs" },
+ { to: "/analytics", label: "Analytics", kicker: "Trends and charts" },
+]
+
+function navClasses(isActive) {
+ return [
+ "group relative overflow-hidden rounded-3xl border px-4 py-4 transition duration-300",
+ isActive
+ ? "border-cyan-300/50 bg-cyan-400/10 shadow-[0_16px_40px_rgba(34,211,238,0.12)]"
+ : "border-white/[0.08] bg-white/[0.04] hover:border-white/20 hover:bg-white/[0.07]",
+ ].join(" ")
+}
+
+export default function Sidebar({ mobileOpen, onClose }) {
+ return (
+ <>
+
+
+
+
+
+
+
Factory Quality Ops
+
Manufacturing Monitoring System
+
+
+
+ ร
+
+
+
+
+ AI-based inspection, automated reporting, live dashboard monitoring, database logging,
+ and WebSocket-driven real-time streaming for steel surface quality operations.
+
+
+
+
+ {NAV_ITEMS.map((item, index) => (
+ navClasses(isActive)}>
+ {({ isActive }) => (
+
+
+ {String(index + 1).padStart(2, "0")}
+
+
+
+
{item.label}
+
{item.kicker}
+
+
+ )}
+
+ ))}
+
+
+
+
System Architecture
+
+
+
+ >
+ )
+}
diff --git a/dashboard/src/components/StatusBadge.jsx b/dashboard/src/components/StatusBadge.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..6125877b4cbd9639e676eb5cc87627700f4e52f0
--- /dev/null
+++ b/dashboard/src/components/StatusBadge.jsx
@@ -0,0 +1,20 @@
+const TONE_CLASSES = {
+ neutral: "border-white/10 bg-white/5 text-slate-200",
+ success: "border-emerald-300/30 bg-emerald-400/10 text-emerald-100",
+ warning: "border-amber-300/30 bg-amber-400/10 text-amber-100",
+ danger: "border-rose-300/30 bg-rose-400/10 text-rose-100",
+ info: "border-cyan-300/30 bg-cyan-400/10 text-cyan-100",
+}
+
+export default function StatusBadge({ label, tone = "neutral", pulse = false }) {
+ return (
+
+
+ {label}
+
+ )
+}
diff --git a/dashboard/src/content/systemBrief.js b/dashboard/src/content/systemBrief.js
new file mode 100644
index 0000000000000000000000000000000000000000..7a0bb694c582c6bc8a333820094949198e8e2066
--- /dev/null
+++ b/dashboard/src/content/systemBrief.js
@@ -0,0 +1,181 @@
+export const systemBrief = {
+ title: "Manufacturing Monitoring System",
+ goal:
+ "A real-time industrial monitoring platform for steel surface quality with AI-based inspection, automated reporting, live dashboard monitoring, database logging, and WebSocket-driven streaming.",
+ architectureFlow: [
+ {
+ title: "Camera and Image Intake",
+ detail: "Collect uploaded inspection images or live browser camera frames from the shop floor.",
+ },
+ {
+ title: "AI Detection Engine",
+ detail: "Run the steel defect model to identify surface anomalies, geometry, and severity.",
+ },
+ {
+ title: "Inspection Formatter",
+ detail: "Normalize decisions, recommendations, defect summaries, and annotated preview output.",
+ },
+ {
+ title: "Operational Data Layer",
+ detail: "Store JSON reports locally and persist inspection records to PostgreSQL when configured.",
+ },
+ {
+ title: "FastAPI Control Layer",
+ detail: "Expose REST endpoints for reports, analytics, uploads, camera frames, and system health.",
+ },
+ {
+ title: "WebSocket Event Stream",
+ detail: "Broadcast inspection snapshots and live updates to all connected operator dashboards.",
+ },
+ {
+ title: "React Monitoring Console",
+ detail: "Present live status, history, analytics, and camera-based inspection in a clean UI.",
+ },
+ ],
+ backend: {
+ responsibilities: [
+ "Serve inspection data through REST endpoints.",
+ "Push real-time updates through WebSocket connections.",
+ "Connect to PostgreSQL through Supabase or fall back to local report storage.",
+ ],
+ files: [
+ {
+ title: "api/main.py",
+ detail: "FastAPI app, REST endpoints, and /ws WebSocket entry point.",
+ },
+ {
+ title: "core/database.py",
+ detail: "Safe database access layer with optional runtime fallback.",
+ },
+ {
+ title: "core/config.py",
+ detail: "Environment-backed application settings and path configuration.",
+ },
+ {
+ title: "core/logger.py",
+ detail: "Structured logging for debugging and operational tracing.",
+ },
+ ],
+ },
+ aiPipeline: {
+ files: [
+ {
+ title: "live_camera.py",
+ detail: "Simulated camera loop for offline inspection playback with the trained model.",
+ },
+ {
+ title: "inspection/service.py",
+ detail: "Unified runtime service for upload inspection, camera-frame inference, and preview overlays.",
+ },
+ {
+ title: "inspection/output_formatter.py",
+ detail: "Formats defect data, writes reports, stores records, and triggers live broadcasts.",
+ },
+ ],
+ flow: [
+ {
+ title: "Capture",
+ detail: "Acquire a shop-floor image from upload, live camera, or the simulation loop.",
+ },
+ {
+ title: "Infer",
+ detail: "Run segmentation and extract contours, bounding boxes, severity, and geometry.",
+ },
+ {
+ title: "Decide",
+ detail: "Generate PASS, REVIEW, or FAIL decisions with operational recommendations.",
+ },
+ {
+ title: "Persist",
+ detail: "Save reports locally and write to PostgreSQL when a database is configured.",
+ },
+ {
+ title: "Broadcast",
+ detail: "Stream the inspection event to dashboards through WebSocket updates.",
+ },
+ ],
+ },
+ database: {
+ table: "inspections",
+ columns: [
+ "id",
+ "timestamp",
+ "total_defects",
+ "minor",
+ "moderate",
+ "critical",
+ "decision",
+ "raw_data (JSON)",
+ ],
+ },
+ frontend: {
+ structure: [
+ "src/components/Sidebar.jsx",
+ "src/pages/Dashboard.jsx",
+ "src/pages/History.jsx",
+ "src/pages/Live.jsx",
+ "src/pages/Analytics.jsx",
+ "src/App.jsx",
+ ],
+ routing: [
+ "/ -> Dashboard",
+ "/history -> Inspection logs",
+ "/live -> Live monitoring",
+ "/analytics -> Charts and insights",
+ ],
+ features: [
+ "Dashboard -> live status, defect counts, active alerts, and WebSocket updates.",
+ "History -> searchable inspection logs with report detail selection.",
+ "Live -> upload detection and browser camera inspection with annotated output.",
+ "Analytics -> Recharts-based trends, defect mix, and source usage.",
+ ],
+ },
+ realtime: {
+ flow: [
+ "New inspection captured",
+ "Inspection formatted",
+ "Local and DB storage written",
+ "WebSocket event broadcast",
+ "Dashboard, history, and analytics refresh",
+ ],
+ },
+ currentState: {
+ working: [
+ "AI detection pipeline",
+ "Local report persistence",
+ "REST API",
+ "Frontend routing",
+ "Dashboard UI",
+ "WebSocket live updates",
+ "Upload and camera inspection endpoints",
+ ],
+ inProgress: [
+ "Database configuration per deployment",
+ "Factory-floor data source integration",
+ ],
+ },
+ improvements: {
+ backend: [
+ "Async-safe WebSocket broadcasting.",
+ "Dropped-connection handling.",
+ "Graceful database fallback.",
+ ],
+ frontend: [
+ "Organized industrial dashboard layout.",
+ "Clear loading and empty states.",
+ "Live connection feedback and camera workflow polish.",
+ ],
+ realtime: [
+ "WebSocket-first streaming.",
+ "Heartbeat and reconnect handling.",
+ "Inspection preview return for live camera frames.",
+ ],
+ features: [
+ "Live monitoring with upload and camera options.",
+ "Analytics with inspection trends.",
+ "Alerts with visual and audio cues.",
+ ],
+ },
+ finalSummary:
+ "This is a full-stack AI-powered manufacturing monitoring system that detects steel surface defects in real time, stores inspection data, and visualizes live operations through a responsive monitoring dashboard.",
+}
diff --git a/dashboard/src/hooks/useRealtimeInspection.js b/dashboard/src/hooks/useRealtimeInspection.js
new file mode 100644
index 0000000000000000000000000000000000000000..09e7330450f720ea3df0355e39831c9964029ea2
--- /dev/null
+++ b/dashboard/src/hooks/useRealtimeInspection.js
@@ -0,0 +1,112 @@
+import { useEffect, useState } from "react"
+import { fetchLatestReport, getWebSocketUrl } from "../lib/api"
+
+export default function useRealtimeInspection() {
+ const [latestInspection, setLatestInspection] = useState(null)
+ const [connectionState, setConnectionState] = useState("connecting")
+ const [lastEventAt, setLastEventAt] = useState(null)
+ const [streamError, setStreamError] = useState("")
+
+ useEffect(() => {
+ let socket
+ let reconnectTimer
+ let heartbeatTimer
+ let refreshTimer
+ let active = true
+ let retryCount = 0
+
+ async function hydrateLatest() {
+ try {
+ const latest = await fetchLatestReport()
+ if (active && latest?.timestamp) {
+ setLatestInspection((current) => {
+ if (!current || current.timestamp !== latest.timestamp) {
+ return latest
+ }
+ return current
+ })
+ setLastEventAt(latest.timestamp)
+ }
+ } catch {
+ if (active) {
+ setStreamError("Latest inspection snapshot is unavailable right now.")
+ }
+ }
+ }
+
+ function scheduleReconnect() {
+ if (!active) return
+
+ setConnectionState("reconnecting")
+ const delay = Math.min(8000, 1200 * 2 ** retryCount)
+ retryCount += 1
+ reconnectTimer = window.setTimeout(connect, delay)
+ }
+
+ function connect() {
+ if (!active) return
+
+ setConnectionState("connecting")
+ socket = new WebSocket(getWebSocketUrl("/ws"))
+
+ socket.onopen = () => {
+ retryCount = 0
+ setConnectionState("connected")
+ setStreamError("")
+
+ heartbeatTimer = window.setInterval(() => {
+ if (socket?.readyState === WebSocket.OPEN) {
+ socket.send(JSON.stringify({ type: "ping" }))
+ }
+ }, 15000)
+ }
+
+ socket.onmessage = (event) => {
+ const payload = JSON.parse(event.data)
+
+ if (payload.type === "inspection.update" || payload.type === "inspection.snapshot") {
+ setLatestInspection(payload)
+ setLastEventAt(payload.timestamp)
+ return
+ }
+
+ if (payload.type === "pong") {
+ setConnectionState("connected")
+ }
+ }
+
+ socket.onerror = () => {
+ setStreamError("Live stream interrupted. Reconnecting to the inspection server.")
+ }
+
+ socket.onclose = () => {
+ window.clearInterval(heartbeatTimer)
+ if (active) {
+ scheduleReconnect()
+ }
+ }
+ }
+
+ hydrateLatest()
+ connect()
+ refreshTimer = window.setInterval(hydrateLatest, 6000)
+
+ return () => {
+ active = false
+ window.clearTimeout(reconnectTimer)
+ window.clearInterval(heartbeatTimer)
+ window.clearInterval(refreshTimer)
+
+ if (socket) {
+ socket.close()
+ }
+ }
+ }, [])
+
+ return {
+ latestInspection,
+ connectionState,
+ lastEventAt,
+ streamError,
+ }
+}
diff --git a/dashboard/src/index.css b/dashboard/src/index.css
new file mode 100644
index 0000000000000000000000000000000000000000..ceb9f4d4bf915a36e331ea4be99e853941cb80fb
--- /dev/null
+++ b/dashboard/src/index.css
@@ -0,0 +1,110 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+@layer base {
+ :root {
+ color-scheme: dark;
+ --font-display: "Avenir Next Condensed", "Avenir Next", "Trebuchet MS", sans-serif;
+ --font-body: "Avenir Next", "Segoe UI", sans-serif;
+ --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
+ }
+
+ * {
+ box-sizing: border-box;
+ }
+
+ html {
+ min-height: 100%;
+ scroll-behavior: smooth;
+ }
+
+ body {
+ min-height: 100vh;
+ background:
+ radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 24%),
+ radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.11), transparent 24%),
+ linear-gradient(180deg, #07111d 0%, #050a12 42%, #02060d 100%);
+ color: #e2e8f0;
+ font-family: var(--font-body);
+ }
+
+ body::before {
+ content: "";
+ position: fixed;
+ inset: 0;
+ background-image:
+ linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
+ linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
+ background-size: 120px 120px;
+ opacity: 0.18;
+ pointer-events: none;
+ }
+
+ #root {
+ min-height: 100vh;
+ position: relative;
+ z-index: 1;
+ }
+}
+
+@layer components {
+ .surface-card {
+ @apply relative overflow-hidden rounded-[32px] border border-white/10 bg-slate-950/70 shadow-[0_24px_90px_rgba(2,6,23,0.5)] backdrop-blur-xl;
+ }
+
+ .surface-card::after {
+ content: "";
+ position: absolute;
+ inset: 0;
+ background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent 65%, rgba(56, 189, 248, 0.05));
+ pointer-events: none;
+ }
+
+ .eyebrow {
+ @apply text-[0.72rem] font-medium uppercase tracking-[0.34em] text-cyan-100/70;
+ }
+
+ .hero-title {
+ font-family: var(--font-display);
+ @apply text-4xl font-semibold leading-tight tracking-tight text-slate-50 md:text-5xl;
+ }
+
+ .section-title {
+ font-family: var(--font-display);
+ @apply text-2xl font-semibold tracking-tight text-slate-50;
+ }
+
+ .body-copy {
+ @apply text-sm leading-8 text-slate-300 md:text-base;
+ }
+
+ .primary-btn {
+ @apply inline-flex items-center justify-center rounded-full border border-cyan-300/30 bg-cyan-400/10 px-5 py-3 text-sm font-medium text-cyan-50 transition hover:border-cyan-200/40 hover:bg-cyan-400/20 disabled:cursor-not-allowed disabled:opacity-60;
+ }
+
+ .secondary-btn {
+ @apply inline-flex items-center justify-center rounded-full border border-white/10 bg-white/5 px-5 py-3 text-sm font-medium text-slate-100 transition hover:border-white/20 hover:bg-white/10 disabled:cursor-not-allowed disabled:opacity-60;
+ }
+
+ .chip {
+ @apply inline-flex items-center rounded-full border border-white/10 bg-white/5 px-3 py-2 text-xs uppercase tracking-[0.22em] text-slate-200;
+ }
+
+ .chip-success {
+ @apply inline-flex items-center rounded-full border border-emerald-300/25 bg-emerald-400/10 px-3 py-2 text-xs uppercase tracking-[0.22em] text-emerald-100;
+ }
+
+ .chip-warning {
+ @apply inline-flex items-center rounded-full border border-amber-300/25 bg-amber-400/10 px-3 py-2 text-xs uppercase tracking-[0.22em] text-amber-100;
+ }
+
+ .font-display {
+ font-family: var(--font-display);
+ }
+
+ .glow-divider {
+ height: 1px;
+ background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.35), transparent);
+ }
+}
diff --git a/dashboard/src/lib/api.js b/dashboard/src/lib/api.js
new file mode 100644
index 0000000000000000000000000000000000000000..2022c1999a2a441d09e67f44e8c29ebd93b1e6b5
--- /dev/null
+++ b/dashboard/src/lib/api.js
@@ -0,0 +1,65 @@
+const isLocalhost = typeof window !== "undefined" && ["127.0.0.1", "localhost"].includes(window.location.hostname)
+const defaultApiBaseUrl = typeof window !== "undefined"
+ ? (isLocalhost ? "http://127.0.0.1:8000" : window.location.origin)
+ : "http://127.0.0.1:8000"
+
+const API_BASE_URL = (import.meta.env.VITE_API_BASE_URL || defaultApiBaseUrl).replace(/\/$/, "")
+const WS_BASE_URL = (
+ import.meta.env.VITE_WS_BASE_URL ||
+ API_BASE_URL.replace(/^http/, "ws")
+).replace(/\/$/, "")
+
+async function request(path, options = {}) {
+ const response = await fetch(`${API_BASE_URL}${path}`, {
+ headers: {
+ "Content-Type": "application/json",
+ ...(options.headers || {}),
+ },
+ ...options,
+ })
+
+ if (!response.ok) {
+ let detail = "Request failed"
+
+ try {
+ const payload = await response.json()
+ detail = payload.detail || detail
+ } catch {
+ detail = response.statusText || detail
+ }
+
+ throw new Error(detail)
+ }
+
+ return response.json()
+}
+
+export function getWebSocketUrl(path = "/ws") {
+ return `${WS_BASE_URL}${path}`
+}
+
+export function fetchReports(limit = 50) {
+ return request(`/reports?limit=${limit}`)
+}
+
+export function fetchLatestReport() {
+ return request("/reports/latest")
+}
+
+export function fetchAnalyticsSummary(limit = 120) {
+ return request(`/analytics/summary?limit=${limit}`)
+}
+
+export function inspectImage(payload) {
+ return request("/inspect/image", {
+ method: "POST",
+ body: JSON.stringify(payload),
+ })
+}
+
+export function inspectFrame(payload) {
+ return request("/inspect/frame", {
+ method: "POST",
+ body: JSON.stringify(payload),
+ })
+}
diff --git a/dashboard/src/lib/formatters.js b/dashboard/src/lib/formatters.js
new file mode 100644
index 0000000000000000000000000000000000000000..5dbc3b1b10b3aabfa39e5e0ae6f5df84eb088694
--- /dev/null
+++ b/dashboard/src/lib/formatters.js
@@ -0,0 +1,42 @@
+export function formatDateTime(value) {
+ if (!value) return "Waiting for signal"
+
+ const parsed = new Date(value)
+ if (Number.isNaN(parsed.getTime())) return value
+
+ return new Intl.DateTimeFormat("en-IN", {
+ year: "numeric",
+ month: "short",
+ day: "numeric",
+ hour: "numeric",
+ minute: "2-digit",
+ second: "2-digit",
+ }).format(parsed)
+}
+
+export function formatShortTime(value) {
+ if (!value) return "--"
+
+ const parsed = new Date(value)
+ if (Number.isNaN(parsed.getTime())) return value
+
+ return new Intl.DateTimeFormat("en-IN", {
+ month: "short",
+ day: "numeric",
+ hour: "numeric",
+ minute: "2-digit",
+ }).format(parsed)
+}
+
+export function titleCase(value) {
+ if (!value) return "Unknown"
+
+ return value
+ .replace(/_/g, " ")
+ .replace(/\b\w/g, (letter) => letter.toUpperCase())
+}
+
+export function truncateText(value, maxLength = 140) {
+ if (!value || value.length <= maxLength) return value
+ return `${value.slice(0, maxLength - 1)}โฆ`
+}
diff --git a/dashboard/src/lib/status.js b/dashboard/src/lib/status.js
new file mode 100644
index 0000000000000000000000000000000000000000..da24d564d94c03163a6a235f651b5f59ded66f7c
--- /dev/null
+++ b/dashboard/src/lib/status.js
@@ -0,0 +1,13 @@
+export function getDecisionTone(decision) {
+ if (decision === "FAIL") return "danger"
+ if (decision === "REVIEW") return "warning"
+ if (decision === "PASS") return "success"
+ return "neutral"
+}
+
+export function getConnectionTone(state) {
+ if (state === "connected") return "success"
+ if (state === "reconnecting" || state === "connecting") return "warning"
+ if (state === "error") return "danger"
+ return "neutral"
+}
diff --git a/dashboard/src/main.jsx b/dashboard/src/main.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..b9a1a6deac8775b5598874b2bc3c7971d82cf211
--- /dev/null
+++ b/dashboard/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/dashboard/src/pages/Analytics.jsx b/dashboard/src/pages/Analytics.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..05f680a799bb8e2f9e93f0063c8f10da608fce89
--- /dev/null
+++ b/dashboard/src/pages/Analytics.jsx
@@ -0,0 +1,264 @@
+import { useEffect, useState } from "react"
+import {
+ Area,
+ AreaChart,
+ Bar,
+ BarChart,
+ CartesianGrid,
+ Cell,
+ Pie,
+ PieChart,
+ ResponsiveContainer,
+ Tooltip,
+ XAxis,
+ YAxis,
+} from "recharts"
+import MetricCard from "../components/MetricCard"
+import { systemBrief } from "../content/systemBrief"
+import { fetchAnalyticsSummary } from "../lib/api"
+import { formatShortTime, titleCase } from "../lib/formatters"
+
+const CHART_COLORS = ["#38bdf8", "#f59e0b", "#f43f5e", "#22c55e", "#94a3b8", "#a855f7"]
+
+export default function Analytics() {
+ const [analytics, setAnalytics] = useState(null)
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState("")
+
+ useEffect(() => {
+ let active = true
+
+ fetchAnalyticsSummary(120)
+ .then((payload) => {
+ if (active) {
+ setAnalytics(payload)
+ }
+ })
+ .catch((requestError) => {
+ if (active) {
+ setError(requestError.message)
+ }
+ })
+ .finally(() => {
+ if (active) {
+ setLoading(false)
+ }
+ })
+
+ return () => {
+ active = false
+ }
+ }, [])
+
+ const decisionData = analytics
+ ? Object.entries(analytics.decision_breakdown).map(([name, value]) => ({ name, value }))
+ : []
+ const severityData = analytics
+ ? Object.entries(analytics.severity_totals).map(([name, value]) => ({ name, value }))
+ : []
+ const sourceData = analytics
+ ? Object.entries(analytics.source_breakdown).map(([name, value]) => ({ name: titleCase(name), value }))
+ : []
+ const defectData = analytics
+ ? Object.entries(analytics.defect_breakdown)
+ .map(([name, value]) => ({ name: titleCase(name), value }))
+ .sort((left, right) => right.value - left.value)
+ .slice(0, 6)
+ : []
+ const timeline = analytics
+ ? analytics.timeline.map((entry) => ({
+ ...entry,
+ label: formatShortTime(entry.timestamp),
+ }))
+ : []
+
+ return (
+
+
+
+
+
Analytics Page
+
Charts, trend monitoring, and quality insights for the Manufacturing Monitoring System.
+
+ This view turns saved inspections into trend signals so operators and engineers can understand defect mix,
+ decision rates, and monitoring behavior over time.
+
+
+
+
+
+
+
+
+
+
+
+ {loading ? (
+
+ ) : error ? (
+
+ ) : (
+ <>
+
+
+
Trend Over Time
+
Defect volume per inspection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Decision Mix
+
PASS, REVIEW, and FAIL distribution
+
+
+
+
+
+ {decisionData.map((entry, index) => (
+ |
+ ))}
+
+
+
+
+
+
+
+
+
+
Severity Totals
+
Minor, moderate, and critical volume
+
+
+
+
+
+
+
+
+ {severityData.map((entry, index) => (
+ |
+ ))}
+
+
+
+
+
+
+
+
Defect Types
+
Most frequent defect categories
+
+
+
+
+
+
+
+
+ {defectData.map((entry, index) => (
+ |
+ ))}
+
+
+
+
+
+
+
+
+
+
Capture Sources
+
Which input modes are being used
+
+ {sourceData.length ? (
+ sourceData.map((entry, index) => (
+
+ ))
+ ) : (
+
+ Source analytics will appear once reports are available.
+
+ )}
+
+
+
+
+
What Needs Improvement
+
Roadmap aligned to the project brief
+
+ {Object.entries(systemBrief.improvements).map(([section, items]) => (
+
+
+ {titleCase(section)}
+
+
+ {items.map((item) => (
+
+ {item}
+
+ ))}
+
+
+ ))}
+
+
+
+ >
+ )}
+
+ )
+}
diff --git a/dashboard/src/pages/Dashboard.jsx b/dashboard/src/pages/Dashboard.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..59dedb05a1dcbb4f9691e799c6127ebbc59898da
--- /dev/null
+++ b/dashboard/src/pages/Dashboard.jsx
@@ -0,0 +1,265 @@
+import { useEffect, useState } from "react"
+import { Link } from "react-router-dom"
+import MetricCard from "../components/MetricCard"
+import ProcessFlow from "../components/ProcessFlow"
+import StatusBadge from "../components/StatusBadge"
+import { systemBrief } from "../content/systemBrief"
+import useRealtimeInspection from "../hooks/useRealtimeInspection"
+import { fetchAnalyticsSummary } from "../lib/api"
+import { formatDateTime, titleCase, truncateText } from "../lib/formatters"
+import { getConnectionTone, getDecisionTone } from "../lib/status"
+
+const FALLBACK_INSPECTION = {
+ total_defects: 0,
+ minor: 0,
+ moderate: 0,
+ critical: 0,
+ decision: "PASS",
+ recommendation: "Waiting for the first inspection event.",
+ summary_text: "AI copilot analysis will appear after the first completed inspection.",
+ agent_mode: "heuristic",
+ agent_provider: "Rule-Based Safety Engine",
+ agent_model: "fallback",
+ defects: [],
+ source: "system",
+ timestamp: null,
+}
+
+export default function Dashboard() {
+ const { latestInspection, connectionState, lastEventAt, streamError } = useRealtimeInspection()
+ const [analytics, setAnalytics] = useState(null)
+ const inspection = latestInspection || FALLBACK_INSPECTION
+ const isCritical = inspection.critical > 0
+
+ useEffect(() => {
+ let active = true
+
+ fetchAnalyticsSummary(60)
+ .then((payload) => {
+ if (active) {
+ setAnalytics(payload)
+ }
+ })
+ .catch(() => {
+ if (active) {
+ setAnalytics(null)
+ }
+ })
+
+ return () => {
+ active = false
+ }
+ }, [])
+
+ return (
+
+
+
+
+
{systemBrief.title}
+
+ Real-time manufacturing monitoring, reporting, and industrial-grade visibility for steel surface quality.
+
+
{systemBrief.goal}
+
+
+
+
+
+ Last event: {formatDateTime(lastEventAt || inspection.timestamp)}
+
+
+
+
+
+ Start live detection
+
+
+ Review inspection logs
+
+
+
+ {streamError ? (
+
+ {streamError}
+
+ ) : null}
+
+
+
+
Current State
+
+
+
Working
+
+ {systemBrief.currentState.working.map((item) => (
+
+ {item}
+
+ ))}
+
+
+
+
+
In Progress
+
+ {systemBrief.currentState.inProgress.map((item) => (
+
+ {item}
+
+ ))}
+
+
+
+
{systemBrief.finalSummary}
+
+
+
+
+
+
+
+ {isCritical ? (
+
+
+
+
Critical Alert
+
Critical defect detected in the live inspection stream.
+
+ The latest inspection result is a FAIL state. Hold release, isolate the material, and trigger immediate engineering review.
+
+
+
+
+ Open live console
+
+
+
+ ) : null}
+
+
+
+
+
+
Live Decision Center
+
Inspection recommendation and defect trace
+
+
+
+
+
{inspection.recommendation}
+
+
+
+
+
+ {inspection.agent_provider} {inspection.agent_model && inspection.agent_model !== "fallback" ? `ยท ${inspection.agent_model}` : ""}
+
+
+
+ {inspection.summary_text || "AI copilot analysis will appear after the next completed inspection."}
+
+
+
+
+
+
+
+
Detected Defects
+ {inspection.defects?.length ? (
+ inspection.defects.slice(0, 6).map((defect, index) => (
+
+
+
{titleCase(defect.type)}
+
+
+
+ Confidence {defect.confidence ?? "--"} | Area ratio {defect.area_ratio} | Length {defect.length}
+
+
+ ))
+ ) : (
+
+ No defects are in the latest payload yet. Start the live monitor or upload an image to populate this panel.
+
+ )}
+
+
+
+
Program Architecture
+
+
+
+
+
+
+
+
Backend
+
FastAPI, storage, and live event responsibilities
+
+ {systemBrief.backend.responsibilities.map((item) => (
+
+ {item}
+
+ ))}
+
+
+ {systemBrief.backend.files.map((item) => (
+
+ {item.title}
+
+ ))}
+
+
+
+
+
System Performance
+
Recent report volume
+
+
+
+ "), 42)}
+ tone="warning"
+ />
+
+
+
+
+
+ )
+}
diff --git a/dashboard/src/pages/History.jsx b/dashboard/src/pages/History.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..401387e32e505ea135e6f2ca7ee987e5de375099
--- /dev/null
+++ b/dashboard/src/pages/History.jsx
@@ -0,0 +1,231 @@
+import { useEffect, useState } from "react"
+import MetricCard from "../components/MetricCard"
+import StatusBadge from "../components/StatusBadge"
+import { fetchReports } from "../lib/api"
+import { formatDateTime, titleCase, truncateText } from "../lib/formatters"
+import { getDecisionTone } from "../lib/status"
+
+export default function History() {
+ const [reports, setReports] = useState([])
+ const [selectedId, setSelectedId] = useState(null)
+ const [decisionFilter, setDecisionFilter] = useState("ALL")
+ const [searchText, setSearchText] = useState("")
+ const [loading, setLoading] = useState(true)
+ const [error, setError] = useState("")
+
+ useEffect(() => {
+ let active = true
+
+ fetchReports(80)
+ .then((data) => {
+ if (!active) return
+ setReports(data)
+ setSelectedId(data[0]?.id || null)
+ })
+ .catch((requestError) => {
+ if (active) {
+ setError(requestError.message)
+ }
+ })
+ .finally(() => {
+ if (active) {
+ setLoading(false)
+ }
+ })
+
+ return () => {
+ active = false
+ }
+ }, [])
+
+ const filteredReports = reports.filter((report) => {
+ const matchesDecision = decisionFilter === "ALL" || report.decision === decisionFilter
+ const searchTarget = `${report.source} ${report.recommendation} ${report.summary_text || ""} ${report.agent_provider || ""} ${(report.defects || [])
+ .map((defect) => defect.type)
+ .join(" ")}`
+ .toLowerCase()
+
+ const matchesSearch = !searchText || searchTarget.includes(searchText.toLowerCase())
+ return matchesDecision && matchesSearch
+ })
+
+ const selectedReport =
+ filteredReports.find((report) => report.id === selectedId) ||
+ filteredReports[0] ||
+ reports[0] ||
+ null
+
+ const failCount = reports.filter((report) => report.decision === "FAIL").length
+ const reviewCount = reports.filter((report) => report.decision === "REVIEW").length
+ const averageDefects = reports.length
+ ? (reports.reduce((sum, report) => sum + report.total_defects, 0) / reports.length).toFixed(1)
+ : "0.0"
+
+ return (
+
+
+
+
+
Inspection Logs
+
Trace each inspection event, defect mix, and final decision in one organized log.
+
+ History is pulled from the reporting layer and shows timestamp, severity counts, defect classes, and decision context for every saved inspection.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Saved Reports
+
Inspection history table
+
+
+
+ setDecisionFilter(event.target.value)}
+ className="rounded-full border border-white/10 bg-white/5 px-4 py-3 text-sm text-slate-100 outline-none transition focus:border-cyan-300/40"
+ >
+ All decisions
+ PASS
+ REVIEW
+ FAIL
+
+
+ setSearchText(event.target.value)}
+ placeholder="Search defect types or notes"
+ className="rounded-full border border-white/10 bg-white/5 px-4 py-3 text-sm text-slate-100 outline-none transition placeholder:text-slate-500 focus:border-cyan-300/40"
+ />
+
+
+
+
+ {loading ? (
+
Loading inspection history...
+ ) : error ? (
+
{error}
+ ) : filteredReports.length === 0 ? (
+
No inspection reports match the current filters.
+ ) : (
+
+
+
+
+ Timestamp
+ Source
+ Total
+ Minor
+ Moderate
+ Critical
+ Decision
+
+
+
+ {filteredReports.map((report) => (
+ setSelectedId(report.id)}
+ >
+ {formatDateTime(report.timestamp)}
+ {titleCase(report.source)}
+ {report.total_defects}
+ {report.minor}
+ {report.moderate}
+ {report.critical}
+
+
+
+
+ ))}
+
+
+
+ )}
+
+
+
+
Selected Report
+
Recommendation and defect breakdown
+
+ {selectedReport ? (
+
+
+
+
+ {formatDateTime(selectedReport.timestamp)}
+
+
+
+
+ {selectedReport.recommendation || "No recommendation text was stored for this report."}
+
+
+
+
+
+
+ {selectedReport.agent_provider} {selectedReport.agent_model && selectedReport.agent_model !== "fallback" ? `ยท ${selectedReport.agent_model}` : ""}
+
+
+
+ {selectedReport.summary_text || "No AI copilot summary was stored for this inspection."}
+
+
+
+
+
+
+
+
+
+ {(selectedReport.defects || []).length ? (
+ selectedReport.defects.map((defect, index) => (
+
+
+
{titleCase(defect.type)}
+
+
+
+ {truncateText(
+ `Confidence ${defect.confidence ?? "--"} | Area ratio ${defect.area_ratio} | Length ${defect.length}`,
+ 96,
+ )}
+
+
+ ))
+ ) : (
+
+ This report did not include detailed defect metadata.
+
+ )}
+
+
+ ) : (
+
+ Select a report to inspect its recommendation and defect details.
+
+ )}
+
+
+
+ )
+}
diff --git a/dashboard/src/pages/Live.jsx b/dashboard/src/pages/Live.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..4fa94caa53b1031483663556b22dfd5a5d28f90c
--- /dev/null
+++ b/dashboard/src/pages/Live.jsx
@@ -0,0 +1,531 @@
+import { useCallback, useEffect, useRef, useState } from "react"
+import MetricCard from "../components/MetricCard"
+import ProcessFlow from "../components/ProcessFlow"
+import StatusBadge from "../components/StatusBadge"
+import { systemBrief } from "../content/systemBrief"
+import { inspectFrame, inspectImage } from "../lib/api"
+import { formatDateTime, titleCase } from "../lib/formatters"
+import { getDecisionTone } from "../lib/status"
+
+function fileToDataUrl(file) {
+ return new Promise((resolve, reject) => {
+ const reader = new FileReader()
+ reader.onload = () => resolve(reader.result)
+ reader.onerror = () => reject(new Error("Unable to read the selected image"))
+ reader.readAsDataURL(file)
+ })
+}
+
+function playAlertTone() {
+ const AudioContextRef = window.AudioContext || window.webkitAudioContext
+ if (!AudioContextRef) return
+
+ const audioContext = new AudioContextRef()
+ const oscillator = audioContext.createOscillator()
+ const gainNode = audioContext.createGain()
+
+ oscillator.type = "triangle"
+ oscillator.frequency.setValueAtTime(880, audioContext.currentTime)
+ gainNode.gain.setValueAtTime(0.0001, audioContext.currentTime)
+ gainNode.gain.exponentialRampToValueAtTime(0.08, audioContext.currentTime + 0.02)
+ gainNode.gain.exponentialRampToValueAtTime(0.0001, audioContext.currentTime + 0.28)
+
+ oscillator.connect(gainNode)
+ gainNode.connect(audioContext.destination)
+ oscillator.start()
+ oscillator.stop(audioContext.currentTime + 0.3)
+}
+
+export default function Live() {
+ const [mode, setMode] = useState("upload")
+ const [selectedFile, setSelectedFile] = useState(null)
+ const [imagePreview, setImagePreview] = useState("")
+ const [inspectionResult, setInspectionResult] = useState(null)
+ const [isInspecting, setIsInspecting] = useState(false)
+ const [error, setError] = useState("")
+ const [cameraReady, setCameraReady] = useState(false)
+ const [streaming, setStreaming] = useState(false)
+ const [autoInspect, setAutoInspect] = useState(true)
+ const [persistLive, setPersistLive] = useState(false)
+ const [deepAnalysisEnabled, setDeepAnalysisEnabled] = useState(false)
+ const [alertsEnabled, setAlertsEnabled] = useState(true)
+ const [cameraStatus, setCameraStatus] = useState("Camera offline")
+ const [lastInspectedAt, setLastInspectedAt] = useState("")
+
+ const videoRef = useRef(null)
+ const canvasRef = useRef(null)
+ const streamRef = useRef(null)
+ const requestInFlight = useRef(false)
+ const lastAlertDecision = useRef("")
+
+ async function handleImageSelection(event) {
+ const file = event.target.files?.[0]
+
+ if (!file) return
+
+ setError("")
+ setSelectedFile(file)
+
+ try {
+ const previewUrl = await fileToDataUrl(file)
+ setImagePreview(previewUrl)
+ } catch (selectionError) {
+ setError(selectionError.message)
+ }
+ }
+
+ async function handleImageInspection() {
+ if (!selectedFile) {
+ setError("Select an image to run inspection.")
+ return
+ }
+
+ setIsInspecting(true)
+ setError("")
+
+ try {
+ const imageBase64 = await fileToDataUrl(selectedFile)
+ const result = await inspectImage({
+ image_base64: imageBase64,
+ filename: selectedFile.name,
+ source: "upload",
+ persist: true,
+ llm_mode: deepAnalysisEnabled ? "always" : "off",
+ })
+
+ setInspectionResult(result)
+ setLastInspectedAt(result.timestamp)
+ if (alertsEnabled && result.decision === "FAIL" && lastAlertDecision.current !== "FAIL") {
+ playAlertTone()
+ }
+ lastAlertDecision.current = result.decision
+ } catch (inspectionError) {
+ setError(inspectionError.message)
+ } finally {
+ setIsInspecting(false)
+ }
+ }
+
+ async function startCamera() {
+ try {
+ const stream = await navigator.mediaDevices.getUserMedia({
+ video: {
+ facingMode: "environment",
+ width: { ideal: 1280 },
+ height: { ideal: 720 },
+ },
+ audio: false,
+ })
+
+ streamRef.current = stream
+
+ if (videoRef.current) {
+ videoRef.current.srcObject = stream
+ await videoRef.current.play()
+ }
+
+ setCameraReady(true)
+ setStreaming(true)
+ setCameraStatus("Camera active and scanning live frames")
+ setError("")
+ } catch {
+ setError("Camera access was blocked or unavailable.")
+ }
+ }
+
+ function stopCamera() {
+ if (streamRef.current) {
+ streamRef.current.getTracks().forEach((track) => track.stop())
+ streamRef.current = null
+ }
+
+ if (videoRef.current) {
+ videoRef.current.srcObject = null
+ }
+
+ requestInFlight.current = false
+ setStreaming(false)
+ setCameraReady(false)
+ setCameraStatus("Camera offline")
+ }
+
+ const captureAndInspectFrame = useCallback(async ({ persist = false } = {}) => {
+ if (!videoRef.current || !canvasRef.current || requestInFlight.current) return
+ if (videoRef.current.readyState < 2) return
+
+ const canvas = canvasRef.current
+ const videoWidth = videoRef.current.videoWidth || 1280
+ const videoHeight = videoRef.current.videoHeight || 720
+ const targetWidth = Math.min(768, videoWidth)
+ const targetHeight = Math.round((videoHeight / videoWidth) * targetWidth)
+
+ canvas.width = targetWidth
+ canvas.height = targetHeight
+
+ const context = canvas.getContext("2d")
+ if (!context) {
+ setError("Unable to capture the current camera frame.")
+ return
+ }
+
+ context.drawImage(videoRef.current, 0, 0, targetWidth, targetHeight)
+
+ requestInFlight.current = true
+ setIsInspecting(true)
+ setCameraStatus("Inspecting live frame")
+ setError("")
+
+ try {
+ const result = await inspectFrame({
+ image_base64: canvas.toDataURL("image/jpeg", 0.82),
+ source: "camera",
+ persist,
+ llm_mode: deepAnalysisEnabled ? "always" : "off",
+ })
+
+ setInspectionResult(result)
+ setLastInspectedAt(result.timestamp)
+ setCameraStatus(
+ result.total_defects > 0
+ ? `Detected ${result.total_defects} defect${result.total_defects > 1 ? "s" : ""} in the latest frame`
+ : "No actionable defects detected in the latest frame"
+ )
+
+ if (alertsEnabled && result.decision === "FAIL" && lastAlertDecision.current !== "FAIL") {
+ playAlertTone()
+ }
+ lastAlertDecision.current = result.decision
+ } catch (inspectionError) {
+ setError(inspectionError.message)
+ setCameraStatus("Camera active, waiting for a successful inspection response")
+ } finally {
+ requestInFlight.current = false
+ setIsInspecting(false)
+ }
+ }, [alertsEnabled, deepAnalysisEnabled])
+
+ useEffect(() => {
+ return () => {
+ stopCamera()
+ }
+ }, [])
+
+ useEffect(() => {
+ if (mode !== "camera" || !streaming || !cameraReady || !autoInspect) return undefined
+
+ const interval = window.setInterval(() => {
+ captureAndInspectFrame({ persist: persistLive })
+ }, 2000)
+
+ return () => {
+ window.clearInterval(interval)
+ }
+ }, [autoInspect, cameraReady, captureAndInspectFrame, mode, persistLive, streaming])
+
+ useEffect(() => {
+ if (!cameraReady || mode !== "camera") return
+
+ const timer = window.setTimeout(() => {
+ captureAndInspectFrame({ persist: persistLive })
+ }, 500)
+
+ return () => {
+ window.clearTimeout(timer)
+ }
+ }, [cameraReady, captureAndInspectFrame, mode, persistLive])
+
+ useEffect(() => {
+ if (mode === "camera") {
+ setSelectedFile(null)
+ setImagePreview("")
+ return
+ }
+
+ setStreaming(false)
+ setCameraStatus("Camera offline")
+ }, [mode])
+
+ return (
+
+
+
+
+
Live Monitoring Page
+
Upload images or use the browser camera for organized, real-time manufacturing inspection.
+
+ The live workspace below lets operators analyze still images, stream camera frames for continuous
+ detection, and capture both AI inspection decisions and LLM-assisted manufacturing recommendations.
+
+
+
+ setMode("upload")}
+ >
+ Upload images
+
+ setMode("camera")}
+ >
+ Live camera feed
+
+
+
+
+
+
Inspection Workflow
+
+
+
+
+
+
+
+
+
+
Detection Workspace
+
+ {mode === "upload" ? "Image-based inspection" : "Camera-based live detection"}
+
+
+ {inspectionResult ? (
+
+ ) : null}
+
+
+ {mode === "upload" ? (
+
+
+
+ Drop or choose a steel surface image
+
+ Use this mode to inspect saved surface samples, log a full report, and broadcast the result to the dashboard and history views.
+
+
+
+ {imagePreview ? (
+
+
+
+ ) : null}
+
+
+
+ {isInspecting ? "Inspecting image..." : "Run image inspection"}
+
+
+ Uploaded inspections are saved as reports automatically.
+
+
+
+
+ Enable GenAI deep analysis (slower response)
+ setDeepAnalysisEnabled(event.target.checked)}
+ className="h-5 w-5 accent-cyan-300"
+ />
+
+
+
+ Fast mode is optimized for real-time detection. Turn on deep analysis only when you want the slower Ollama-based recommendation layer.
+
+
+ ) : (
+
+
+
+
+
+
+
+
Camera Controls
+
+ {!cameraReady ? (
+
+ Enable camera
+
+ ) : (
+ <>
+ setStreaming((current) => !current)}
+ >
+ {streaming ? "Pause live inspection" : "Start live inspection"}
+
+ captureAndInspectFrame({ persist: persistLive })}
+ >
+ Inspect current frame
+
+
+ Stop camera
+
+ >
+ )}
+
+
+
+
+ Auto inspect every few seconds
+ setAutoInspect(event.target.checked)}
+ className="h-5 w-5 accent-cyan-300"
+ />
+
+
+ Log live detections to reports and database
+ setPersistLive(event.target.checked)}
+ className="h-5 w-5 accent-cyan-300"
+ />
+
+
+ Enable GenAI deep analysis (slower response)
+ setDeepAnalysisEnabled(event.target.checked)}
+ className="h-5 w-5 accent-cyan-300"
+ />
+
+
+ Play alert tone on FAIL states
+ setAlertsEnabled(event.target.checked)}
+ className="h-5 w-5 accent-cyan-300"
+ />
+
+
+
+
+
Live Status
+
{cameraStatus}
+
+ {lastInspectedAt ? `Last inspection: ${formatDateTime(lastInspectedAt)}` : "Waiting for the first live inspection result."}
+
+
+
+ Keep deep analysis off during continuous monitoring for the fastest real-time response. Turn it on only when you want a slower GenAI explanation for a specific frame.
+
+
+
+
+
+
+ )}
+
+ {error ? (
+
+ {error}
+
+ ) : null}
+
+
+
+
+
Inspection Result
+
Annotated output and operator guidance
+
+ {inspectionResult?.annotated_image ? (
+
+
+
+ ) : (
+
+ Run an inspection to see the AI overlay, severity callouts, and decision banner.
+
+ )}
+
+ {inspectionResult ? (
+
+
+
+
+ {formatDateTime(inspectionResult.timestamp)}
+
+
+
+
{inspectionResult.recommendation}
+
+
+
+
+
+ {inspectionResult.agent_provider} {inspectionResult.agent_model && inspectionResult.agent_model !== "fallback" ? `ยท ${inspectionResult.agent_model}` : ""}
+
+
+
+ {inspectionResult.summary_text || "AI copilot summary is not available for this inspection yet."}
+
+
+
+
+
+
+
+
+
+
+ {(inspectionResult.defects || []).length ? (
+ (inspectionResult.defects || []).map((defect, index) => (
+
+
+
{titleCase(defect.type)}
+
+
+
+ Confidence {defect.confidence ?? "--"} | Area ratio {defect.area_ratio} | Length {defect.length}
+
+
+ ))
+ ) : (
+
+ The latest frame is clear. The system still inspected the image and returned a PASS result with no actionable defects detected.
+
+ )}
+
+
+ ) : null}
+
+
+
+
Real-time System
+
Streaming flow and operating assumptions
+
+
({
+ title: step,
+ detail: "This stage keeps operators, reports, and dashboards synchronized with the latest inspection state.",
+ }))}
+ compact
+ />
+
+
+
+
+
+ )
+}
diff --git a/dashboard/tailwind.config.js b/dashboard/tailwind.config.js
new file mode 100644
index 0000000000000000000000000000000000000000..b61e931b7deea3afaefd03c33fdb8583286a0aa4
--- /dev/null
+++ b/dashboard/tailwind.config.js
@@ -0,0 +1,10 @@
+export default {
+ content: [
+ "./index.html",
+ "./src/**/*.{js,jsx}",
+ ],
+ theme: {
+ extend: {},
+ },
+ plugins: [],
+}
\ No newline at end of file
diff --git a/dashboard/vercel.json b/dashboard/vercel.json
new file mode 100644
index 0000000000000000000000000000000000000000..1323cdac34c6ae8f7e1f8a2f3adc299eae7bdcea
--- /dev/null
+++ b/dashboard/vercel.json
@@ -0,0 +1,8 @@
+{
+ "rewrites": [
+ {
+ "source": "/(.*)",
+ "destination": "/index.html"
+ }
+ ]
+}
diff --git a/dashboard/vite.config.js b/dashboard/vite.config.js
new file mode 100644
index 0000000000000000000000000000000000000000..8b0f57b91aeb45c54467e29f983a0893dc83c4d9
--- /dev/null
+++ b/dashboard/vite.config.js
@@ -0,0 +1,7 @@
+import { defineConfig } from 'vite'
+import react from '@vitejs/plugin-react'
+
+// https://vite.dev/config/
+export default defineConfig({
+ plugins: [react()],
+})
diff --git a/inspection/class_map.py b/inspection/class_map.py
new file mode 100644
index 0000000000000000000000000000000000000000..f8f7e9100545421afd7da1f1f552539a3a615daa
--- /dev/null
+++ b/inspection/class_map.py
@@ -0,0 +1,28 @@
+from typing import Dict
+
+
+# Forward mapping: model class ID โ defect name
+CLASS_MAP: Dict[int, str] = {
+ 0: "crazing",
+ 1: "patches",
+ 2: "rolled_in_scale",
+ 3: "pitted_surface",
+}
+
+
+# Reverse mapping: defect name โ class ID
+REVERSE_CLASS_MAP: Dict[str, int] = {v: k for k, v in CLASS_MAP.items()}
+
+
+def get_class_name(class_id: int) -> str:
+ """
+ Safely get class name from class ID.
+ """
+ return CLASS_MAP.get(class_id, "unknown")
+
+
+def get_class_id(class_name: str) -> int:
+ """
+ Safely get class ID from class name.
+ """
+ return REVERSE_CLASS_MAP.get(class_name, -1)
\ No newline at end of file
diff --git a/inspection/geometry.py b/inspection/geometry.py
new file mode 100644
index 0000000000000000000000000000000000000000..99704e468f8541f679a12e92668cc8c5e0b85cb9
--- /dev/null
+++ b/inspection/geometry.py
@@ -0,0 +1,49 @@
+import cv2
+import numpy as np
+from typing import Dict, Tuple
+
+
+def analyze_defect(contour: np.ndarray, image_shape: Tuple[int, int, int]) -> Dict:
+ """
+ Analyze geometric properties of a defect contour.
+
+ Args:
+ contour: Contour of detected defect
+ image_shape: Shape of the image (H, W, C)
+
+ Returns:
+ Dictionary containing geometric features
+ """
+
+ if contour is None or len(contour) == 0:
+ return {
+ "area_pixels": 0.0,
+ "length_pixels": 0.0,
+ "width_pixels": 0.0,
+ "area_ratio": 0.0,
+ "angle": 0.0
+ }
+
+ # Area
+ area = float(cv2.contourArea(contour))
+
+ # Rotated bounding box (better than axis-aligned)
+ rect = cv2.minAreaRect(contour)
+ (cx, cy), (w, h), angle = rect
+
+ length = float(max(w, h))
+ width = float(min(w, h))
+
+ # Image area
+ height, width_img = image_shape[:2]
+ image_area = height * width_img
+
+ area_ratio = (area / image_area) if image_area > 0 else 0.0
+
+ return {
+ "area_pixels": area,
+ "length_pixels": length,
+ "width_pixels": width,
+ "area_ratio": area_ratio,
+ "angle": float(angle)
+ }
\ No newline at end of file
diff --git a/inspection/inference.py b/inspection/inference.py
new file mode 100644
index 0000000000000000000000000000000000000000..c9d29c48100a8c48dc1bf90aea93c147bd8e3225
--- /dev/null
+++ b/inspection/inference.py
@@ -0,0 +1,111 @@
+from ultralytics import YOLO
+import cv2
+import numpy as np
+
+from core.config import settings
+from core.logger import logger
+
+
+class DefectInspector:
+ """
+ Handles model inference and defect extraction.
+ """
+
+ def __init__(self, model_path: str):
+ self.model = YOLO(model_path)
+ logger.info(f"Model loaded from: {model_path}")
+
+ def inspect_image(self, image: np.ndarray):
+ """
+ Run inference and extract defect information.
+ """
+
+ try:
+ results = self.model(
+ image,
+ conf=settings.CONF_THRESHOLD,
+ imgsz=settings.IMAGE_SIZE,
+ verbose=False
+ )
+
+ result = results[0]
+ defects = []
+
+ if result.masks is None:
+ return defects
+
+ masks = result.masks.data.cpu().numpy()
+ classes = result.boxes.cls.cpu().numpy()
+ confidences = result.boxes.conf.cpu().numpy()
+
+ height, width = image.shape[:2]
+ image_area = height * width
+
+ for i, (mask, cls_id) in enumerate(zip(masks, classes)):
+
+ confidence = float(confidences[i])
+
+ if confidence < settings.SECONDARY_CONF_THRESHOLD:
+ continue
+
+ # -------------------------
+ # MASK PROCESSING
+ # -------------------------
+ mask = cv2.resize(mask, (width, height))
+ mask = (mask > 0.3).astype("uint8") * 255
+
+ kernel = np.ones((3, 3), np.uint8)
+ mask = cv2.morphologyEx(mask, cv2.MORPH_OPEN, kernel)
+
+ # -------------------------
+ # CONTOUR EXTRACTION
+ # -------------------------
+ contours, _ = cv2.findContours(
+ mask,
+ cv2.RETR_EXTERNAL,
+ cv2.CHAIN_APPROX_SIMPLE
+ )
+
+ if not contours:
+ continue
+
+ # โ
PICK LARGEST CONTOUR (FIX)
+ largest_contour = max(contours, key=cv2.contourArea)
+
+ # Optional smoothing
+ epsilon = 0.01 * cv2.arcLength(largest_contour, True)
+ largest_contour = cv2.approxPolyDP(largest_contour, epsilon, True)
+
+ cnt = largest_contour
+
+ area = cv2.contourArea(cnt)
+
+ if area < settings.MIN_DEFECT_AREA:
+ continue
+
+ x, y, w, h = cv2.boundingRect(cnt)
+
+ length = max(w, h)
+ width_def = min(w, h)
+
+ area_ratio = area / image_area
+
+ if area_ratio > settings.MAX_AREA_RATIO:
+ continue
+
+ defects.append({
+ "class_id": int(cls_id),
+ "confidence": confidence,
+ "area_pixels": float(area),
+ "length_pixels": float(length),
+ "width_pixels": float(width_def),
+ "area_ratio": float(area_ratio),
+ "bbox": (x, y, w, h),
+ "contour": cnt
+ })
+
+ return defects
+
+ except Exception as e:
+ logger.error(f"Inference failed: {e}")
+ return []
\ No newline at end of file
diff --git a/inspection/lifecycle.py b/inspection/lifecycle.py
new file mode 100644
index 0000000000000000000000000000000000000000..7e4aeed5668d616fcc01ee8cde5d3a5d51c976d5
--- /dev/null
+++ b/inspection/lifecycle.py
@@ -0,0 +1,100 @@
+from typing import Dict, List, Optional
+
+
+class DefectLifecycleManager:
+ """
+ Tracks lifecycle of defects across frames.
+
+ A defect is:
+ - CREATED when first detected
+ - UPDATED when seen again
+ - FINALIZED when it disappears for a threshold
+ """
+
+ def __init__(self, max_missing_frames: int = 5, match_threshold: int = 50):
+ self.active_defects: Dict[int, Dict] = {}
+ self.next_id: int = 0
+
+ self.max_missing_frames = max_missing_frames
+ self.match_threshold = match_threshold
+
+ def _is_match(self, bbox1, bbox2) -> bool:
+ """Check if two bounding boxes belong to same defect."""
+ x1, y1, _, _ = bbox1
+ x2, y2, _, _ = bbox2
+
+ return (
+ abs(x1 - x2) < self.match_threshold and
+ abs(y1 - y2) < self.match_threshold
+ )
+
+ def _find_match(self, detection: Dict) -> Optional[int]:
+ """Find matching defect ID for a detection."""
+ for defect_id, data in self.active_defects.items():
+ if self._is_match(detection["bbox"], data["bbox"]):
+ return defect_id
+ return None
+
+ def update(self, detections: List[Dict], frame_id: int) -> List[Dict]:
+ """
+ Update lifecycle with new detections.
+
+ Args:
+ detections: List of processed defects
+ frame_id: Current frame number
+
+ Returns:
+ List of finalized defects
+ """
+
+ finalized: List[Dict] = []
+
+ # Step 1: Mark all as unseen
+ for defect in self.active_defects.values():
+ defect["seen"] = False
+
+ # Step 2: Match detections
+ for d in detections:
+
+ matched_id = self._find_match(d)
+
+ if matched_id is not None:
+ data = self.active_defects[matched_id]
+
+ data["bbox"] = d["bbox"]
+ data["last_seen"] = frame_id
+ data["frames_seen"] += 1
+ data["seen"] = True
+
+ # Update max severity
+ if d["severity_score"] > data["max_severity"]:
+ data["max_severity"] = d["severity_score"]
+ data["final_defect"] = d
+
+ else:
+ # Create new defect
+ self.active_defects[self.next_id] = {
+ "bbox": d["bbox"],
+ "last_seen": frame_id,
+ "frames_seen": 1,
+ "max_severity": d.get("severity_score", 0),
+ "final_defect": d,
+ "seen": True
+ }
+ self.next_id += 1
+
+ # Step 3: Finalize disappeared defects
+ to_delete = []
+
+ for defect_id, data in self.active_defects.items():
+
+ if not data["seen"]:
+ if frame_id - data["last_seen"] > self.max_missing_frames:
+ finalized.append(data["final_defect"])
+ to_delete.append(defect_id)
+
+ # Step 4: Cleanup
+ for defect_id in to_delete:
+ del self.active_defects[defect_id]
+
+ return finalized
\ No newline at end of file
diff --git a/inspection/output_formatter.py b/inspection/output_formatter.py
new file mode 100644
index 0000000000000000000000000000000000000000..cb7ebbc74bdb5baed00758b69a1e5128726d5c73
--- /dev/null
+++ b/inspection/output_formatter.py
@@ -0,0 +1,200 @@
+import json
+from datetime import datetime, timezone
+from pathlib import Path
+from typing import Any
+import asyncio
+
+from core.config import settings
+from core.logger import logger
+from core.database import db
+from api.realtime import manager
+
+
+SEVERITY_KEYS = ("Minor", "Moderate", "Critical")
+
+
+def build_summary(defects: list[dict[str, Any]]) -> dict[str, int]:
+ summary = {key: 0 for key in SEVERITY_KEYS}
+
+ for defect in defects:
+ severity = defect.get("severity")
+ if severity in summary:
+ summary[severity] += 1
+
+ return summary
+
+
+def determine_decision(summary: dict[str, int]) -> str:
+ if summary.get("Critical", 0) > 0:
+ return "FAIL"
+ if summary.get("Moderate", 0) > 0:
+ return "REVIEW"
+ return "PASS"
+
+
+def build_recommendation(summary: dict[str, int], defects: list[dict[str, Any]]) -> str:
+ defect_types = sorted({defect.get("type", "unknown") for defect in defects if defect.get("type")})
+ defect_text = ", ".join(defect_types) if defect_types else "no visible defect classes"
+
+ if summary.get("Critical", 0) > 0:
+ return (
+ f"Critical anomalies detected in {defect_text}. Stop automatic acceptance, hold the material, "
+ "and trigger immediate engineering review before release."
+ )
+ if summary.get("Moderate", 0) > 0:
+ return (
+ f"Moderate anomalies detected in {defect_text}. Route the material for manual inspection or rework "
+ "and verify upstream process stability."
+ )
+ if summary.get("Minor", 0) > 0:
+ return (
+ f"Minor anomalies detected in {defect_text}. Continue production with heightened monitoring and a short-term "
+ "process quality check."
+ )
+ return "No visible defects detected. Continue production and keep the inspection line under routine monitoring."
+
+
+def flatten_report(
+ output: dict[str, Any],
+ *,
+ report_id: str | int | None = None,
+ include_raw: bool = False,
+) -> dict[str, Any]:
+ summary = output.get("summary") or {}
+ defects = output.get("defects") or []
+
+ flattened = {
+ "id": report_id or output.get("id") or output.get("report_id") or output.get("timestamp"),
+ "timestamp": output.get("timestamp"),
+ "source": output.get("source", "simulation"),
+ "total_defects": int(output.get("total_defects", len(defects))),
+ "minor": int(summary.get("Minor", output.get("minor", 0) or 0)),
+ "moderate": int(summary.get("Moderate", output.get("moderate", 0) or 0)),
+ "critical": int(summary.get("Critical", output.get("critical", 0) or 0)),
+ "decision": output.get("decision") or determine_decision(summary),
+ "recommendation": output.get("recommendation", ""),
+ "summary_text": output.get("summary_text", ""),
+ "agent_mode": output.get("agent_mode", "heuristic"),
+ "agent_provider": output.get("agent_provider", "Rule-Based Safety Engine"),
+ "agent_model": output.get("agent_model", "fallback"),
+ "defects": defects,
+ "metadata": output.get("metadata", {}),
+ }
+
+ if include_raw:
+ flattened["raw_data"] = output
+
+ return flattened
+
+
+# -----------------------------
+# FORMAT OUTPUT
+# -----------------------------
+def format_inspection_output(
+ defects: list[dict[str, Any]],
+ *,
+ source: str = "simulation",
+ metadata: dict[str, Any] | None = None,
+ decision: str | None = None,
+ recommendation: str | None = None,
+ timestamp: str | None = None,
+) -> dict[str, Any]:
+ summary = build_summary(defects)
+ resolved_decision = decision or determine_decision(summary)
+
+ return {
+ "timestamp": timestamp or datetime.now(timezone.utc).isoformat(),
+ "source": source,
+ "total_defects": len(defects),
+ "summary": summary,
+ "decision": resolved_decision,
+ "recommendation": recommendation or build_recommendation(summary, defects),
+ "metadata": metadata or {},
+ "defects": defects,
+ }
+
+
+# -----------------------------
+# SAVE JSON FILE
+# -----------------------------
+def sanitize_output_for_storage(output: dict[str, Any]) -> dict[str, Any]:
+ return {
+ key: value
+ for key, value in output.items()
+ if key not in {"annotated_image"}
+ }
+
+
+def save_output(output: dict[str, Any]) -> str:
+ Path(settings.REPORT_FOLDER).mkdir(parents=True, exist_ok=True)
+
+ timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
+ filename = Path(settings.REPORT_FOLDER) / f"report_{timestamp}.json"
+
+ with filename.open("w", encoding="utf-8") as file_handle:
+ json.dump(sanitize_output_for_storage(output), file_handle, indent=4)
+
+ logger.info(f"Report saved: {filename}")
+ return str(filename)
+
+
+# -----------------------------
+# SAVE TO DATABASE + WEBSOCKET
+# -----------------------------
+def build_realtime_event(output: dict[str, Any], *, persisted: bool) -> dict[str, Any]:
+ event = flatten_report(output)
+ event["type"] = "inspection.update"
+ event["persisted"] = persisted
+ return event
+
+
+def emit_realtime_update(output: dict[str, Any], *, persisted: bool = True) -> None:
+ event = build_realtime_event(output, persisted=persisted)
+
+ try:
+ loop = asyncio.get_running_loop()
+ loop.create_task(manager.broadcast(event))
+ except RuntimeError:
+ asyncio.run(manager.broadcast(event))
+
+
+def save_to_database(output: dict[str, Any], decision: str | None = None) -> bool:
+ resolved_decision = decision or output.get("decision") or determine_decision(output.get("summary", {}))
+ flattened = flatten_report(output)
+
+ saved = db.execute(
+ """
+ INSERT INTO inspections (
+ total_defects,
+ minor,
+ moderate,
+ critical,
+ decision,
+ raw_data
+ )
+ VALUES (%s, %s, %s, %s, %s, %s)
+ """,
+ (
+ flattened["total_defects"],
+ flattened["minor"],
+ flattened["moderate"],
+ flattened["critical"],
+ resolved_decision,
+ json.dumps(sanitize_output_for_storage(output)),
+ ),
+ )
+
+ if saved:
+ logger.info("Saved inspection to database")
+ return saved
+
+
+def persist_inspection(output: dict[str, Any], *, persist_to_database: bool = True) -> dict[str, Any]:
+ storage_payload = sanitize_output_for_storage(output)
+ file_path = save_output(storage_payload)
+
+ if persist_to_database:
+ save_to_database(storage_payload)
+
+ emit_realtime_update(storage_payload, persisted=True)
+ return {"file_path": file_path}
diff --git a/inspection/report_repository.py b/inspection/report_repository.py
new file mode 100644
index 0000000000000000000000000000000000000000..8fb72c32cdd3b1fa1e0e0aaa783674c4b2a12b0e
--- /dev/null
+++ b/inspection/report_repository.py
@@ -0,0 +1,160 @@
+import json
+from datetime import datetime
+from pathlib import Path
+from typing import Any
+
+from core.config import settings
+from core.database import db
+from core.logger import logger
+from inspection.output_formatter import determine_decision, flatten_report
+
+
+def _parse_timestamp(timestamp: Any) -> str | None:
+ if timestamp is None:
+ return None
+
+ if isinstance(timestamp, datetime):
+ return timestamp.isoformat()
+
+ return str(timestamp)
+
+
+def _timestamp_from_filename(path: Path) -> str | None:
+ try:
+ timestamp_text = path.stem.replace("report_", "")
+ return datetime.strptime(timestamp_text, "%Y%m%d_%H%M%S").isoformat()
+ except ValueError:
+ return None
+
+
+def _normalize_payload(
+ payload: dict[str, Any],
+ *,
+ report_id: str | int | None = None,
+ timestamp: Any = None,
+ source: str | None = None,
+) -> dict[str, Any]:
+ summary = payload.get("summary") or {}
+ normalized = {
+ **payload,
+ "timestamp": payload.get("timestamp") or _parse_timestamp(timestamp),
+ "source": payload.get("source") or source or "simulation",
+ "decision": payload.get("decision") or determine_decision(summary),
+ }
+ return flatten_report(normalized, report_id=report_id, include_raw=True)
+
+
+def _load_local_reports(limit: int) -> list[dict[str, Any]]:
+ report_dir = Path(settings.REPORT_FOLDER)
+
+ if not report_dir.exists():
+ return []
+
+ reports: list[dict[str, Any]] = []
+
+ for file_path in sorted(report_dir.glob("report_*.json"), reverse=True)[:limit]:
+ try:
+ payload = json.loads(file_path.read_text(encoding="utf-8"))
+ reports.append(
+ _normalize_payload(
+ payload,
+ report_id=file_path.stem,
+ timestamp=_timestamp_from_filename(file_path),
+ )
+ )
+ except Exception as exc:
+ logger.warning(f"Failed to read local report {file_path.name}: {exc}")
+
+ return reports
+
+
+def list_reports(limit: int = settings.REPORT_FETCH_LIMIT) -> list[dict[str, Any]]:
+ normalized_limit = max(1, min(limit, 200))
+
+ rows = db.fetch_all(
+ """
+ SELECT id, timestamp, total_defects, minor, moderate, critical, decision, raw_data
+ FROM inspections
+ ORDER BY timestamp DESC
+ LIMIT %s
+ """,
+ (normalized_limit,),
+ )
+
+ if rows:
+ reports: list[dict[str, Any]] = []
+ for row in rows:
+ payload = row.get("raw_data")
+ if isinstance(payload, str):
+ try:
+ payload = json.loads(payload)
+ except json.JSONDecodeError:
+ payload = {}
+
+ reports.append(
+ _normalize_payload(
+ payload or {},
+ report_id=row.get("id"),
+ timestamp=row.get("timestamp"),
+ )
+ )
+ return reports
+
+ return _load_local_reports(normalized_limit)
+
+
+def get_latest_report() -> dict[str, Any] | None:
+ reports = list_reports(limit=1)
+ return reports[0] if reports else None
+
+
+def get_analytics_summary(limit: int = 120) -> dict[str, Any]:
+ reports = list_reports(limit=limit)
+
+ severity_totals = {"Minor": 0, "Moderate": 0, "Critical": 0}
+ decision_breakdown = {"PASS": 0, "REVIEW": 0, "FAIL": 0}
+ source_breakdown: dict[str, int] = {}
+ defect_breakdown: dict[str, int] = {}
+ timeline: list[dict[str, Any]] = []
+
+ for report in reversed(reports):
+ severity_totals["Minor"] += report["minor"]
+ severity_totals["Moderate"] += report["moderate"]
+ severity_totals["Critical"] += report["critical"]
+
+ decision_breakdown[report["decision"]] = decision_breakdown.get(report["decision"], 0) + 1
+ source_breakdown[report["source"]] = source_breakdown.get(report["source"], 0) + 1
+
+ for defect in report.get("defects", []):
+ defect_type = defect.get("type", "unknown")
+ defect_breakdown[defect_type] = defect_breakdown.get(defect_type, 0) + 1
+
+ timeline.append(
+ {
+ "timestamp": report["timestamp"],
+ "total_defects": report["total_defects"],
+ "minor": report["minor"],
+ "moderate": report["moderate"],
+ "critical": report["critical"],
+ "decision": report["decision"],
+ }
+ )
+
+ report_count = len(reports)
+ average_total_defects = round(
+ sum(report["total_defects"] for report in reports) / report_count,
+ 2,
+ ) if report_count else 0.0
+
+ recent_decisions = [report["decision"] for report in reports[:10]]
+
+ return {
+ "report_count": report_count,
+ "average_total_defects": average_total_defects,
+ "severity_totals": severity_totals,
+ "decision_breakdown": decision_breakdown,
+ "source_breakdown": source_breakdown,
+ "defect_breakdown": defect_breakdown,
+ "timeline": timeline,
+ "recent_decisions": recent_decisions,
+ }
diff --git a/inspection/service.py b/inspection/service.py
new file mode 100644
index 0000000000000000000000000000000000000000..7ef437cbc106571b7f5d82b1d0e642fd2ba6e9da
--- /dev/null
+++ b/inspection/service.py
@@ -0,0 +1,224 @@
+import base64
+import binascii
+from typing import Any
+
+import cv2
+import numpy as np
+
+from agent.langgraph_agent import run_agent
+from core.constants import DECISION_COLOR, SEVERITY_SCORE
+from core.config import settings
+from inspection.class_map import CLASS_MAP
+from inspection.geometry import analyze_defect
+from inspection.inference import DefectInspector
+from inspection.output_formatter import (
+ emit_realtime_update,
+ format_inspection_output,
+ persist_inspection,
+)
+from inspection.severity import classify_defect
+
+
+SEVERITY_COLOR = {
+ "Minor": (67, 196, 113),
+ "Moderate": (39, 166, 255),
+ "Critical": (66, 79, 245),
+}
+
+_INSPECTOR: DefectInspector | None = None
+
+
+def get_inspector() -> DefectInspector:
+ global _INSPECTOR
+
+ if _INSPECTOR is None:
+ _INSPECTOR = DefectInspector(settings.MODEL_PATH)
+
+ return _INSPECTOR
+
+
+def decode_base64_image(data_url: str) -> np.ndarray:
+ encoded = data_url.split(",", 1)[1] if "," in data_url else data_url
+
+ try:
+ image_bytes = base64.b64decode(encoded, validate=True)
+ except (ValueError, binascii.Error) as exc:
+ raise ValueError("Invalid base64 image payload") from exc
+
+ if len(image_bytes) > settings.max_upload_bytes:
+ raise ValueError(
+ f"Image exceeds the {settings.MAX_UPLOAD_SIZE_MB} MB upload limit"
+ )
+
+ image_array = np.frombuffer(image_bytes, dtype=np.uint8)
+ image = cv2.imdecode(image_array, cv2.IMREAD_COLOR)
+
+ if image is None:
+ raise ValueError("Uploaded data is not a supported image")
+
+ return image
+
+
+def encode_image_to_data_url(image: np.ndarray) -> str:
+ success, buffer = cv2.imencode(".jpg", image)
+
+ if not success:
+ raise ValueError("Unable to encode inspection preview")
+
+ encoded = base64.b64encode(buffer.tobytes()).decode("utf-8")
+ return f"data:image/jpeg;base64,{encoded}"
+
+
+def _build_serializable_defects(detections: list[dict[str, Any]], image_shape: tuple[int, ...]):
+ public_defects: list[dict[str, Any]] = []
+ drawable_defects: list[dict[str, Any]] = []
+
+ for detection in detections:
+ geometry = analyze_defect(detection["contour"], image_shape)
+ classification = classify_defect(
+ geometry["area_pixels"],
+ geometry["length_pixels"],
+ geometry["area_ratio"],
+ )
+
+ defect = {
+ "type": CLASS_MAP.get(detection["class_id"], "unknown"),
+ "severity": classification["severity"],
+ "decision": classification["decision"],
+ "confidence": round(float(detection["confidence"]), 3),
+ "area_ratio": round(geometry["area_ratio"], 5),
+ "length": round(geometry["length_pixels"], 2),
+ "bbox": [int(value) for value in detection["bbox"]],
+ "severity_score": SEVERITY_SCORE[classification["severity"]],
+ }
+
+ public_defects.append(defect)
+ drawable_defects.append({
+ **defect,
+ "bbox": tuple(detection["bbox"]),
+ "contour": detection["contour"],
+ })
+
+ return public_defects, drawable_defects
+
+
+def annotate_image(
+ image: np.ndarray,
+ defects: list[dict[str, Any]],
+ decision: str,
+) -> np.ndarray:
+ annotated = image.copy()
+
+ for defect in defects:
+ x, y, w, h = defect["bbox"]
+ color = SEVERITY_COLOR.get(defect["severity"], (122, 122, 122))
+
+ overlay = annotated.copy()
+ cv2.drawContours(overlay, [defect["contour"]], -1, color, -1)
+ cv2.addWeighted(overlay, 0.22, annotated, 0.78, 0, annotated)
+
+ cv2.rectangle(annotated, (x, y), (x + w, y + h), color, 2)
+ label = f"{defect['type']} | {defect['severity']} | {defect['confidence']:.2f}"
+ cv2.putText(
+ annotated,
+ label,
+ (x, max(30, y - 10)),
+ cv2.FONT_HERSHEY_SIMPLEX,
+ 0.55,
+ color,
+ 2,
+ )
+
+ status_color = DECISION_COLOR.get(decision, (255, 255, 255))
+ cv2.rectangle(annotated, (18, 18), (350, 96), (18, 24, 37), -1)
+ cv2.rectangle(annotated, (18, 18), (350, 96), status_color, 2)
+ cv2.putText(
+ annotated,
+ f"Inspection Decision: {decision}",
+ (34, 62),
+ cv2.FONT_HERSHEY_SIMPLEX,
+ 0.72,
+ status_color,
+ 2,
+ )
+
+ if not defects:
+ cv2.putText(
+ annotated,
+ "No actionable defects detected in current frame",
+ (34, 132),
+ cv2.FONT_HERSHEY_SIMPLEX,
+ 0.58,
+ (225, 232, 240),
+ 2,
+ )
+
+ return annotated
+
+
+def inspect_image_array(
+ image: np.ndarray,
+ *,
+ source: str,
+ metadata: dict[str, Any] | None = None,
+ persist: bool = True,
+ llm_mode: str = "auto",
+) -> dict[str, Any]:
+ inspector = get_inspector()
+ detections = inspector.inspect_image(image)
+ public_defects, drawable_defects = _build_serializable_defects(detections, image.shape)
+ resolved_metadata = {
+ **(metadata or {}),
+ "persist": persist,
+ "llm_mode": llm_mode,
+ }
+
+ output = format_inspection_output(
+ public_defects,
+ source=source,
+ metadata=resolved_metadata,
+ )
+
+ agent_result = run_agent(output, llm_mode=llm_mode)
+ output["decision"] = agent_result.get("decision", output["decision"])
+ output["recommendation"] = agent_result.get("recommendation", output["recommendation"])
+ output["summary_text"] = agent_result.get("summary", "")
+ output["agent_mode"] = agent_result.get("agent_mode", "heuristic")
+ output["agent_provider"] = agent_result.get("agent_provider", "Rule-Based Safety Engine")
+ output["agent_model"] = agent_result.get("agent_model", "fallback")
+
+ annotated_image = annotate_image(image, drawable_defects, output["decision"])
+
+ if persist:
+ persist_inspection(output)
+ else:
+ emit_realtime_update(output, persisted=False)
+
+ return {
+ **output,
+ "minor": output["summary"]["Minor"],
+ "moderate": output["summary"]["Moderate"],
+ "critical": output["summary"]["Critical"],
+ "inspection_state": (
+ "defects_detected" if output["total_defects"] > 0 else "clear_frame"
+ ),
+ "annotated_image": encode_image_to_data_url(annotated_image),
+ }
+
+
+def inspect_base64_image(
+ data_url: str,
+ *,
+ source: str,
+ metadata: dict[str, Any] | None = None,
+ persist: bool = True,
+ llm_mode: str = "auto",
+) -> dict[str, Any]:
+ image = decode_base64_image(data_url)
+ return inspect_image_array(
+ image,
+ source=source,
+ metadata=metadata,
+ persist=persist,
+ llm_mode=llm_mode,
+ )
diff --git a/inspection/severity.py b/inspection/severity.py
new file mode 100644
index 0000000000000000000000000000000000000000..11151cf452f7b5db2b3d9a5fa89018e2f1bf6c91
--- /dev/null
+++ b/inspection/severity.py
@@ -0,0 +1,43 @@
+from typing import Dict
+from core.config import settings
+
+
+def classify_defect(area: float, length: float, area_ratio: float) -> Dict[str, str]:
+ """
+ Classify defect severity based on geometric features.
+
+ Args:
+ area: Pixel area of defect
+ length: Contour length of defect
+ area_ratio: Area relative to image
+
+ Returns:
+ Dictionary with severity and decision
+ """
+
+ # Thresholds (move to config later if needed)
+ CRITICAL_AREA_RATIO = 0.01
+ CRITICAL_LENGTH = 180
+
+ MODERATE_AREA_RATIO = 0.003
+ MODERATE_LENGTH = 60
+
+ # Critical defects
+ if area_ratio > CRITICAL_AREA_RATIO or length > CRITICAL_LENGTH:
+ severity = "Critical"
+ decision = "FAIL"
+
+ # Moderate defects
+ elif area_ratio > MODERATE_AREA_RATIO or length > MODERATE_LENGTH:
+ severity = "Moderate"
+ decision = "REVIEW"
+
+ # Minor defects
+ else:
+ severity = "Minor"
+ decision = "PASS"
+
+ return {
+ "severity": severity,
+ "decision": decision
+ }
\ No newline at end of file
diff --git a/inspection/tracker.py b/inspection/tracker.py
new file mode 100644
index 0000000000000000000000000000000000000000..d29d19aba50e183e394e1b23b098914af86c91f4
--- /dev/null
+++ b/inspection/tracker.py
@@ -0,0 +1,81 @@
+import numpy as np
+from typing import List, Dict, Tuple
+
+
+class DefectTracker:
+ """
+ Tracks detected defects across frames using centroid distance.
+
+ Attributes:
+ max_distance: Maximum distance to consider a match
+ confirm_frames: Frames required to confirm a detection
+ """
+
+ def __init__(self, max_distance: int = 60, confirm_frames: int = 3):
+ self.max_distance = max_distance
+ self.confirm_frames = confirm_frames
+
+ self.tracks: List[Dict] = []
+
+ def _compute_center(self, bbox: Tuple[int, int, int, int]) -> Tuple[float, float]:
+ """Compute center of bounding box."""
+ x, y, w, h = bbox
+ return x + w / 2, y + h / 2
+
+ def update(self, detections: List[Dict]) -> List[Dict]:
+ """
+ Update tracker with new detections.
+
+ Args:
+ detections: List of detection dictionaries
+
+ Returns:
+ List of confirmed detections
+ """
+
+ confirmed: List[Dict] = []
+
+ # Mark all tracks as not updated
+ for track in self.tracks:
+ track["updated"] = False
+
+ for det in detections:
+
+ center = self._compute_center(det["bbox"])
+ matched = False
+
+ for track in self.tracks:
+
+ tx, ty = track["center"]
+ dist = np.sqrt((center[0] - tx) ** 2 + (center[1] - ty) ** 2)
+
+ if dist < self.max_distance:
+
+ # Update track
+ track["center"] = center
+ track["count"] += 1
+ track["data"] = det
+ track["updated"] = True
+
+ matched = True
+
+ # Confirm detection after enough frames
+ if track["count"] >= self.confirm_frames:
+ confirmed.append(det)
+
+ break
+
+ if not matched:
+ self.tracks.append({
+ "center": center,
+ "count": 1,
+ "data": det,
+ "updated": True
+ })
+
+ # ๐งน Cleanup stale tracks (IMPORTANT for long runs)
+ self.tracks = [
+ t for t in self.tracks if t["updated"] or t["count"] < self.confirm_frames
+ ]
+
+ return confirmed
\ No newline at end of file
diff --git a/live_camera.py b/live_camera.py
new file mode 100644
index 0000000000000000000000000000000000000000..0ccbbc11f4f1a695bb2b665eab65e54962cce602
--- /dev/null
+++ b/live_camera.py
@@ -0,0 +1,182 @@
+import cv2
+import os
+import numpy as np
+
+from core.config import settings
+from core.constants import SEVERITY_SCORE
+from core.logger import setup_logger, logger
+
+from inspection.inference import DefectInspector
+from inspection.geometry import analyze_defect
+from inspection.severity import classify_defect
+from inspection.tracker import DefectTracker
+from inspection.lifecycle import DefectLifecycleManager
+from inspection.output_formatter import (
+ format_inspection_output,
+ persist_inspection,
+)
+from inspection.class_map import CLASS_MAP
+
+from agent.langgraph_agent import run_agent
+
+
+setup_logger()
+
+
+def main():
+
+ inspector = DefectInspector(settings.MODEL_PATH)
+ tracker = DefectTracker()
+ lifecycle = DefectLifecycleManager(settings.MAX_MISSING_FRAMES)
+
+ image_files = sorted([
+ f for f in os.listdir(settings.IMAGE_FOLDER)
+ if f.lower().endswith((".jpg", ".png", ".jpeg"))
+ ])
+
+ index = 0
+ repeat_count = 0
+ frame_count = 0
+ last_agent_result = None
+ display_cycles = 0
+
+ logger.info("Starting AI Inspection System...")
+
+ while True:
+
+ img_path = os.path.join(settings.IMAGE_FOLDER, image_files[index])
+ frame = cv2.imread(img_path)
+
+ if frame is None:
+ continue
+
+ # ---------------- SIMULATION ----------------
+ if repeat_count < settings.IMAGE_REPEAT:
+ display_frame = frame.copy()
+ repeat_count += 1
+ else:
+ if repeat_count < settings.IMAGE_REPEAT + settings.BLANK_FRAMES:
+ display_frame = np.zeros_like(frame)
+ repeat_count += 1
+ else:
+ index = (index + 1) % len(image_files)
+ repeat_count = 0
+ continue
+
+ frame_count += 1
+
+ # ---------------- DETECTION ----------------
+ detections = inspector.inspect_image(frame)
+ defects = tracker.update(detections)
+
+ annotated = display_frame.copy()
+ processed_defects = []
+
+ # ---------------- PROCESS DEFECTS ----------------
+ for d in defects:
+
+ geometry = analyze_defect(d["contour"], display_frame.shape)
+
+ decision = classify_defect(
+ geometry["area_pixels"],
+ geometry["length_pixels"],
+ geometry["area_ratio"]
+ )
+
+ x, y, w, h = d["bbox"]
+
+ color = (
+ (0, 0, 255) if decision["decision"] == "FAIL"
+ else (0, 165, 255) if decision["decision"] == "REVIEW"
+ else (0, 255, 0)
+ )
+
+ # Bounding box
+ cv2.rectangle(annotated, (x, y), (x+w, y+h), color, 2)
+
+ # ---------------- SEGMENTATION MASK (FIX) ----------------
+ # Filled overlay
+ overlay = annotated.copy()
+ cv2.drawContours(overlay, [d["contour"]], -1, color, -1)
+ cv2.addWeighted(overlay, 0.3, annotated, 0.7, 0, annotated)
+
+ # Outline
+ cv2.drawContours(annotated, [d["contour"]], -1, color, 2)
+
+ severity_score = SEVERITY_SCORE[decision["severity"]]
+
+ processed_defects.append({
+ "type": CLASS_MAP.get(d["class_id"], "unknown"),
+ "severity": decision["severity"],
+ "area_ratio": round(geometry["area_ratio"], 5),
+ "length": round(geometry["length_pixels"], 2),
+ "bbox": d["bbox"],
+ "severity_score": severity_score
+ })
+
+ # ---------------- LIFECYCLE ----------------
+ finalized = lifecycle.update(processed_defects, frame_count)
+
+ if finalized:
+ logger.info(f"Finalized {len(finalized)} defect(s)")
+
+ output = format_inspection_output(finalized, source="simulation")
+
+ try:
+ last_agent_result = run_agent(output)
+ output["decision"] = last_agent_result["decision"]
+ output["recommendation"] = last_agent_result["recommendation"]
+ output["summary_text"] = last_agent_result["summary"]
+ output["agent_mode"] = last_agent_result.get("agent_mode", "heuristic")
+ output["agent_provider"] = last_agent_result.get("agent_provider", "Rule-Based Safety Engine")
+ output["agent_model"] = last_agent_result.get("agent_model", "fallback")
+ logger.info("AI report generated")
+
+ persist_inspection(output)
+
+ # Show result for limited time
+ display_cycles = 10
+
+ except Exception as e:
+ logger.error(f"Agent failed: {e}")
+
+ # ---------------- UI STATUS (FIX) ----------------
+ if processed_defects:
+ text = "Processing..."
+ color = (255, 255, 0)
+
+ elif last_agent_result and display_cycles > 0:
+ text = f"FINAL: {last_agent_result['decision']}"
+ color = (
+ (0, 0, 255) if text.endswith("FAIL")
+ else (0, 165, 255) if text.endswith("REVIEW")
+ else (0, 255, 0)
+ )
+ display_cycles -= 1
+
+ else:
+ text = "Idle"
+ color = (255, 255, 255)
+
+ cv2.putText(
+ annotated,
+ text,
+ (30, 100),
+ cv2.FONT_HERSHEY_SIMPLEX,
+ 0.8,
+ color,
+ 2
+ )
+
+ cv2.imshow("Inspection System", annotated)
+
+ key = cv2.waitKey(500) & 0xFF
+ if key == 27 or key == ord('q'):
+ logger.info("Exit signal received")
+ break
+
+ cv2.destroyAllWindows()
+
+
+if __name__ == "__main__":
+ main()
diff --git a/main.py b/main.py
new file mode 100644
index 0000000000000000000000000000000000000000..f1bceeff7922a403ecc4f6e8a47d3e0c4543566c
--- /dev/null
+++ b/main.py
@@ -0,0 +1,26 @@
+from core.logger import setup_logger, logger
+
+
+def main():
+ """
+ Entry point of the application.
+ """
+
+ setup_logger()
+ logger.info("Starting Manufacturing Monitoring System...")
+
+ try:
+ # Import here to avoid circular dependencies
+ from live_camera import main as run_system
+
+ run_system()
+
+ except Exception as e:
+ logger.error(f"Application failed: {e}")
+
+ finally:
+ logger.info("System shutdown complete.")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/models/steel_inspection.pt b/models/steel_inspection.pt
new file mode 100644
index 0000000000000000000000000000000000000000..03c99dd78db11a552ca3140b88e2e330f81a9b86
--- /dev/null
+++ b/models/steel_inspection.pt
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7a734ea1ded2fc1e8000e7f57d6707f9891a1b48d48c8264acbd3ebe01bbd507
+size 6732980
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bc3b6d95e4ac962778f68de57c6c8fc4fee23bbd
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,10 @@
+fastapi
+uvicorn
+websockets
+psycopg2-binary
+numpy
+opencv-python
+ultralytics
+langgraph
+langchain-ollama
+python-dotenv
diff --git a/test_images/0002cc93b.jpg b/test_images/0002cc93b.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4fb93d9fee48f923a00c958d729be8a669b41cac
--- /dev/null
+++ b/test_images/0002cc93b.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dbfc6c8c3a382f438b73aa9f19a7f64081b5d43a42b9f1a6142ea244a07b8e37
+size 115633
diff --git a/test_images/00031f466.jpg b/test_images/00031f466.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2141e0dbaacac86d61248eff5a19f42f903324a0
Binary files /dev/null and b/test_images/00031f466.jpg differ
diff --git a/test_images/000418bfc.jpg b/test_images/000418bfc.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d229dcf2780ee29a43ebb5da12baccce2058c44d
--- /dev/null
+++ b/test_images/000418bfc.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fb2526b83b3a533c02c096a7874efce4b57fbb30ecb620009a4009f5ac2be261
+size 141355
diff --git a/test_images/000789191.jpg b/test_images/000789191.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d83a12a3b9ac5b982a5099adce8868db01ed0d11
--- /dev/null
+++ b/test_images/000789191.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:49d473c245106cb61a32179d7606a6d72c92ee4e49c4989ea54b168f5a348fb5
+size 102844
diff --git a/test_images/0007a71bf.jpg b/test_images/0007a71bf.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..24943ec733fb98bc0f46867357b3aa803e9ccb0d
Binary files /dev/null and b/test_images/0007a71bf.jpg differ
diff --git a/test_images/006f39c41.jpg b/test_images/006f39c41.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..447c35959b1b083445fbf97697c2019597cf1bb6
--- /dev/null
+++ b/test_images/006f39c41.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3fe0cddb4b6caf9a6cc29141f9fb3f3ecd14b612429deff3142f6c95cc8c1ba9
+size 114569