bots-garden/sidekickspublic Fork
⑂ f29b0e5
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

Merge feature/116-mermaid into main

agent committed 2026-11-15T19:06:40+01:00 Browse files
f29b0e5 parents: 7fd4d27 f2d26c0
modified .memory/history.md +1 -0
@@ -370,3 +370,4 @@
370370 - Done: mermaid 12.2.0 (exact, lazy-loaded chunks), `lib/mermaid.ts` (find blocks, render sanitized SVG with DOMPurify svg profile, securityLevel strict, htmlLabels false, error first line, one drawing at a time per root via a WeakMap queue), `Markdown.svelte` `onRendered`, `FilePreview` draws after each render and on theme change (always from the whole preview — two roots made the error appear twice), `renderAsciidoc` rewrites `[mermaid]` → `[source,mermaid]` (Asciidoctor drops the style otherwise). Docs EN/FR, draft release notes v1.7.0.
371371 - Checks: make verify green; Xvfb: flowchart, sequence, light/dark, invalid diagram, Go block, edit mode. Not committed; #116 left open for the owner's test.
372372 - **2026-11-15 — v1.6.0 published** (owner, commits 10efb6f/dc2c4cb/498ca3b on main, pushed). Sync: #102 restored from HEAD then closed with all tasks (the Mac's IssueSpec had closed it from a stale copy: tasks 1–3 reopened, comment lost — and the committed copy had already lost the comment); milestones.yaml keeps the owner's v1.6.0 closing (IssueSpec unquoted the descriptions) + v1.7.0. Tag v1.6.0 not visible here (remote unreachable from the sandbox): git fetch --tags on the Mac.
373+- **2026-11-15 — #116 closed** (owner tested on the Mac); feature/116-mermaid merged into main (not pushed).
@@ -370,3 +370,4 @@
370 - Done: mermaid 12.2.0 (exact, lazy-loaded chunks), `lib/mermaid.ts` (find blocks, render sanitized SVG with DOMPurify svg profile, securityLevel strict, htmlLabels false, error first line, one drawing at a time per root via a WeakMap queue), `Markdown.svelte` `onRendered`, `FilePreview` draws after each render and on theme change (always from the whole preview — two roots made the error appear twice), `renderAsciidoc` rewrites `[mermaid]` → `[source,mermaid]` (Asciidoctor drops the style otherwise). Docs EN/FR, draft release notes v1.7.0.370 - Done: mermaid 12.2.0 (exact, lazy-loaded chunks), `lib/mermaid.ts` (find blocks, render sanitized SVG with DOMPurify svg profile, securityLevel strict, htmlLabels false, error first line, one drawing at a time per root via a WeakMap queue), `Markdown.svelte` `onRendered`, `FilePreview` draws after each render and on theme change (always from the whole preview — two roots made the error appear twice), `renderAsciidoc` rewrites `[mermaid]` → `[source,mermaid]` (Asciidoctor drops the style otherwise). Docs EN/FR, draft release notes v1.7.0.
371 - Checks: make verify green; Xvfb: flowchart, sequence, light/dark, invalid diagram, Go block, edit mode. Not committed; #116 left open for the owner's test.371 - Checks: make verify green; Xvfb: flowchart, sequence, light/dark, invalid diagram, Go block, edit mode. Not committed; #116 left open for the owner's test.
372 - **2026-11-15 — v1.6.0 published** (owner, commits 10efb6f/dc2c4cb/498ca3b on main, pushed). Sync: #102 restored from HEAD then closed with all tasks (the Mac's IssueSpec had closed it from a stale copy: tasks 1–3 reopened, comment lost — and the committed copy had already lost the comment); milestones.yaml keeps the owner's v1.6.0 closing (IssueSpec unquoted the descriptions) + v1.7.0. Tag v1.6.0 not visible here (remote unreachable from the sandbox): git fetch --tags on the Mac.372 - **2026-11-15 — v1.6.0 published** (owner, commits 10efb6f/dc2c4cb/498ca3b on main, pushed). Sync: #102 restored from HEAD then closed with all tasks (the Mac's IssueSpec had closed it from a stale copy: tasks 1–3 reopened, comment lost — and the committed copy had already lost the comment); milestones.yaml keeps the owner's v1.6.0 closing (IssueSpec unquoted the descriptions) + v1.7.0. Tag v1.6.0 not visible here (remote unreachable from the sandbox): git fetch --tags on the Mac.
373+- **2026-11-15 — #116 closed** (owner tested on the Mac); feature/116-mermaid merged into main (not pushed).
added .tickets/issues/0116-apercu-des-documents-afficher-les-diagrammes-merm.yaml +111 -0
new file mode 100644
@@ -0,0 +1,111 @@
1+# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2+id: 116
3+title: "Aperçu des documents : afficher les diagrammes Mermaid"
4+state: closed
5+author:
6+ name: k33g
7+ email: ph.charriere@gmail.com
8+createdAt: 2026-11-15T17:29:45.000Z
9+updatedAt: 2026-11-15T18:06:39.000Z
10+labels:
11+ - kind::feature
12+ - area::ui
13+ - citizen-ux
14+milestone: "v1.7.0 · Release"
15+epic: Workspace des agents
16+related:
17+ - 46
18+body: |
19+ Dans l'**aperçu** d'un document d'un agent (Markdown, AsciiDoc —
20+ [#46](.tickets/issues/0046-previsualiser-les-fichiers-markdown-asciidoc-htm.yaml)), un bloc de code ```mermaid s'affiche aujourd'hui comme du
21+ code. Il faudrait **faire le rendu du diagramme** (flowchart, séquence, gantt, classes…).
22+
23+ ## Ce qui existe
24+ - `frontend/src/lib/agent/FilePreview.svelte` : Markdown rendu comme dans la conversation (`chat/Markdown.svelte` :
25+ markdown-it + Shiki + DOMPurify), AsciiDoc par `renderAsciidoc` (`lib/preview.ts`). Aucune trace de Mermaid dans
26+ le frontend aujourd'hui.
27+
28+ ## À prévoir
29+ - Bibliothèque `mermaid` (dépendance pnpm, version figée) **chargée à la demande** (import dynamique) : elle est
30+ lourde, seuls les documents qui ont un bloc mermaid la chargent.
31+ - Rendu en SVG, **assaini** (DOMPurify avec le profil SVG) — le reste du Markdown l'est déjà ; `securityLevel:
32+ 'strict'`.
33+ - Thème clair / sombre suivant celui de Sidekicks ; re-rendu au changement de thème.
34+ - Un diagramme invalide : afficher le code et l'erreur en mots simples, sans casser le reste du document.
35+ - AsciiDoc : blocs `[mermaid]` / `[source,mermaid]`.
36+ - À décider : aussi dans les **réponses des agents** (conversation), qui utilisent le même rendu Markdown ?
37+
38+ ## Critères d'acceptation
39+ - Un document Markdown avec un bloc ```mermaid montre le diagramme dans l'aperçu ; l'éditeur garde le code.
40+ - Thème clair et sombre ; erreur lisible pour un diagramme invalide ; pas de chargement de mermaid sans diagramme.
41+ - Tests vitest (détection des blocs, erreurs) ; doc EN + FR ; notes de release.
42+tasks:
43+ - id: 1
44+ title: "Ajouter mermaid (pnpm, version figée) et le charger à la demande"
45+ state: closed
46+ priority: high
47+ author:
48+ name: k33g
49+ email: ph.charriere@gmail.com
50+ createdAt: 2026-11-15T17:29:45.000Z
51+ updatedAt: 2026-11-15T17:45:12.000Z
52+ closedAt: 2026-11-15T17:45:12.000Z
53+ - id: 2
54+ title: "Rendre les blocs mermaid de l'aperçu Markdown et AsciiDoc en SVG assaini, thème clair/sombre, erreurs lisibles"
55+ state: closed
56+ priority: high
57+ author:
58+ name: k33g
59+ email: ph.charriere@gmail.com
60+ createdAt: 2026-11-15T17:29:45.000Z
61+ updatedAt: 2026-11-15T17:45:12.000Z
62+ closedAt: 2026-11-15T17:45:12.000Z
63+ - id: 3
64+ title: "Décider : rendu aussi dans les réponses des agents (conversation)"
65+ state: closed
66+ priority: low
67+ author:
68+ name: k33g
69+ email: ph.charriere@gmail.com
70+ createdAt: 2026-11-15T17:29:45.000Z
71+ updatedAt: 2026-11-15T17:45:12.000Z
72+ closedAt: 2026-11-15T17:45:12.000Z
73+ - id: 4
74+ title: "Tests vitest, doc EN + FR, notes de release"
75+ state: closed
76+ priority: medium
77+ author:
78+ name: k33g
79+ email: ph.charriere@gmail.com
80+ createdAt: 2026-11-15T17:29:45.000Z
81+ updatedAt: 2026-11-15T17:45:12.000Z
82+ closedAt: 2026-11-15T17:45:12.000Z
83+comments:
84+ - id: 1
85+ author:
86+ name: k33g
87+ email: ph.charriere@gmail.com
88+ createdAt: 2026-11-15T17:45:12.000Z
89+ body: |
90+ Fait sur `feature/116-mermaid`. **Décision de l'owner (tâche 3) : le rendu est uniquement pour l'aperçu des
91+ documents** — dans la conversation, un bloc mermaid reste du code.
92+
93+ - `mermaid` 12.2.0 (version figée, publiée il y a plus de deux semaines ; 12.3.0 trop récente), importée à la
94+ demande : morceaux `mermaid.core`… à part, le bundle principal n'a que l'appel.
95+ - `lib/mermaid.ts` : `findMermaidBlocks` (Markdown ` ```mermaid ` via le data-copy du bouton Copier, AsciiDoc
96+ `code.language-mermaid`, diagrammes déjà dessinés pour le changement de thème), `renderMermaid` (SVG assaini par
97+ DOMPurify profil SVG, `securityLevel: strict`, `htmlLabels: false` pour que les libellés soient du texte SVG ;
98+ erreur : première ligne sous le code ; un dessin à la fois par aperçu).
99+ - `renderAsciidoc` réécrit `[mermaid]` en `[source,mermaid]` : sans l'extension de diagrammes, Asciidoctor
100+ perd le style.
101+ - `Markdown.svelte` : prop `onRendered` ; `FilePreview` dessine après chaque rendu et au changement de thème.
102+ - Vérifié sous Xvfb : flowchart, séquence, thème clair et sombre, diagramme invalide (code + une erreur), bloc Go
103+ intact, mode Édition. Tests vitest (jsdom, rendu AsciiDoc réel), `make verify` vert. Doc EN + FR, brouillon des
104+ notes de release v1.7.0.
105+ - id: 2
106+ author:
107+ name: k33g
108+ email: ph.charriere@gmail.com
109+ createdAt: 2026-11-15T18:06:39.000Z
110+ body: |
111+ Testé sur le Mac par l'owner : ça fonctionne. Mergé dans main. Ticket fermé.
new file mode 100644
@@ -0,0 +1,111 @@
1+# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2+id: 116
3+title: "Aperçu des documents : afficher les diagrammes Mermaid"
4+state: closed
5+author:
6+ name: k33g
7+ email: ph.charriere@gmail.com
8+createdAt: 2026-11-15T17:29:45.000Z
9+updatedAt: 2026-11-15T18:06:39.000Z
10+labels:
11+ - kind::feature
12+ - area::ui
13+ - citizen-ux
14+milestone: "v1.7.0 · Release"
15+epic: Workspace des agents
16+related:
17+ - 46
18+body: |
19+ Dans l'**aperçu** d'un document d'un agent (Markdown, AsciiDoc —
20+ [#46](.tickets/issues/0046-previsualiser-les-fichiers-markdown-asciidoc-htm.yaml)), un bloc de code ```mermaid s'affiche aujourd'hui comme du
21+ code. Il faudrait **faire le rendu du diagramme** (flowchart, séquence, gantt, classes…).
22+
23+ ## Ce qui existe
24+ - `frontend/src/lib/agent/FilePreview.svelte` : Markdown rendu comme dans la conversation (`chat/Markdown.svelte` :
25+ markdown-it + Shiki + DOMPurify), AsciiDoc par `renderAsciidoc` (`lib/preview.ts`). Aucune trace de Mermaid dans
26+ le frontend aujourd'hui.
27+
28+ ## À prévoir
29+ - Bibliothèque `mermaid` (dépendance pnpm, version figée) **chargée à la demande** (import dynamique) : elle est
30+ lourde, seuls les documents qui ont un bloc mermaid la chargent.
31+ - Rendu en SVG, **assaini** (DOMPurify avec le profil SVG) — le reste du Markdown l'est déjà ; `securityLevel:
32+ 'strict'`.
33+ - Thème clair / sombre suivant celui de Sidekicks ; re-rendu au changement de thème.
34+ - Un diagramme invalide : afficher le code et l'erreur en mots simples, sans casser le reste du document.
35+ - AsciiDoc : blocs `[mermaid]` / `[source,mermaid]`.
36+ - À décider : aussi dans les **réponses des agents** (conversation), qui utilisent le même rendu Markdown ?
37+
38+ ## Critères d'acceptation
39+ - Un document Markdown avec un bloc ```mermaid montre le diagramme dans l'aperçu ; l'éditeur garde le code.
40+ - Thème clair et sombre ; erreur lisible pour un diagramme invalide ; pas de chargement de mermaid sans diagramme.
41+ - Tests vitest (détection des blocs, erreurs) ; doc EN + FR ; notes de release.
42+tasks:
43+ - id: 1
44+ title: "Ajouter mermaid (pnpm, version figée) et le charger à la demande"
45+ state: closed
46+ priority: high
47+ author:
48+ name: k33g
49+ email: ph.charriere@gmail.com
50+ createdAt: 2026-11-15T17:29:45.000Z
51+ updatedAt: 2026-11-15T17:45:12.000Z
52+ closedAt: 2026-11-15T17:45:12.000Z
53+ - id: 2
54+ title: "Rendre les blocs mermaid de l'aperçu Markdown et AsciiDoc en SVG assaini, thème clair/sombre, erreurs lisibles"
55+ state: closed
56+ priority: high
57+ author:
58+ name: k33g
59+ email: ph.charriere@gmail.com
60+ createdAt: 2026-11-15T17:29:45.000Z
61+ updatedAt: 2026-11-15T17:45:12.000Z
62+ closedAt: 2026-11-15T17:45:12.000Z
63+ - id: 3
64+ title: "Décider : rendu aussi dans les réponses des agents (conversation)"
65+ state: closed
66+ priority: low
67+ author:
68+ name: k33g
69+ email: ph.charriere@gmail.com
70+ createdAt: 2026-11-15T17:29:45.000Z
71+ updatedAt: 2026-11-15T17:45:12.000Z
72+ closedAt: 2026-11-15T17:45:12.000Z
73+ - id: 4
74+ title: "Tests vitest, doc EN + FR, notes de release"
75+ state: closed
76+ priority: medium
77+ author:
78+ name: k33g
79+ email: ph.charriere@gmail.com
80+ createdAt: 2026-11-15T17:29:45.000Z
81+ updatedAt: 2026-11-15T17:45:12.000Z
82+ closedAt: 2026-11-15T17:45:12.000Z
83+comments:
84+ - id: 1
85+ author:
86+ name: k33g
87+ email: ph.charriere@gmail.com
88+ createdAt: 2026-11-15T17:45:12.000Z
89+ body: |
90+ Fait sur `feature/116-mermaid`. **Décision de l'owner (tâche 3) : le rendu est uniquement pour l'aperçu des
91+ documents** — dans la conversation, un bloc mermaid reste du code.
92+
93+ - `mermaid` 12.2.0 (version figée, publiée il y a plus de deux semaines ; 12.3.0 trop récente), importée à la
94+ demande : morceaux `mermaid.core`… à part, le bundle principal n'a que l'appel.
95+ - `lib/mermaid.ts` : `findMermaidBlocks` (Markdown ` ```mermaid ` via le data-copy du bouton Copier, AsciiDoc
96+ `code.language-mermaid`, diagrammes déjà dessinés pour le changement de thème), `renderMermaid` (SVG assaini par
97+ DOMPurify profil SVG, `securityLevel: strict`, `htmlLabels: false` pour que les libellés soient du texte SVG ;
98+ erreur : première ligne sous le code ; un dessin à la fois par aperçu).
99+ - `renderAsciidoc` réécrit `[mermaid]` en `[source,mermaid]` : sans l'extension de diagrammes, Asciidoctor
100+ perd le style.
101+ - `Markdown.svelte` : prop `onRendered` ; `FilePreview` dessine après chaque rendu et au changement de thème.
102+ - Vérifié sous Xvfb : flowchart, séquence, thème clair et sombre, diagramme invalide (code + une erreur), bloc Go
103+ intact, mode Édition. Tests vitest (jsdom, rendu AsciiDoc réel), `make verify` vert. Doc EN + FR, brouillon des
104+ notes de release v1.7.0.
105+ - id: 2
106+ author:
107+ name: k33g
108+ email: ph.charriere@gmail.com
109+ createdAt: 2026-11-15T18:06:39.000Z
110+ body: |
111+ Testé sur le Mac par l'owner : ça fonctionne. Mergé dans main. Ticket fermé.
modified docs/en/how-to/work-with-an-agents-files.md +1 -0
@@ -26,6 +26,7 @@ Markdown (`.md`), AsciiDoc (`.adoc`, `.asciidoc`, `.asc`) and HTML (`.html`, `.h
2626 - Images and links relative to the document are looked for in the agent's folder: a link to another file opens it here, a link to a site opens the browser.
2727 - An HTML page is shown in a frame that runs no script and reaches nothing: its images and style sheets of the folder are put inside it, its links do nothing.
2828 - The preview follows the agent's changes, like the editor.
29+- **Mermaid diagrams** (issue #116): a ` ```mermaid ` block of a Markdown file, or a `[mermaid]` / `[source,mermaid]` block of an AsciiDoc file, is drawn in the preview, in the light or dark theme of Sidekicks. A diagram that cannot be drawn keeps its code, with the error under it. Only the preview draws them: in a conversation, a mermaid block stays code.
2930
3031 ## Open a file an agent links to in its answer
3132
@@ -26,6 +26,7 @@ Markdown (`.md`), AsciiDoc (`.adoc`, `.asciidoc`, `.asc`) and HTML (`.html`, `.h
26 - Images and links relative to the document are looked for in the agent's folder: a link to another file opens it here, a link to a site opens the browser.26 - Images and links relative to the document are looked for in the agent's folder: a link to another file opens it here, a link to a site opens the browser.
27 - An HTML page is shown in a frame that runs no script and reaches nothing: its images and style sheets of the folder are put inside it, its links do nothing.27 - An HTML page is shown in a frame that runs no script and reaches nothing: its images and style sheets of the folder are put inside it, its links do nothing.
28 - The preview follows the agent's changes, like the editor.28 - The preview follows the agent's changes, like the editor.
29+- **Mermaid diagrams** (issue #116): a ` ```mermaid ` block of a Markdown file, or a `[mermaid]` / `[source,mermaid]` block of an AsciiDoc file, is drawn in the preview, in the light or dark theme of Sidekicks. A diagram that cannot be drawn keeps its code, with the error under it. Only the preview draws them: in a conversation, a mermaid block stays code.
29 30
30 ## Open a file an agent links to in its answer31 ## Open a file an agent links to in its answer
31 32
modified docs/fr/how-to/fichiers-et-terminal-d-un-agent.md +1 -0
@@ -26,6 +26,7 @@ Les fichiers Markdown (`.md`), AsciiDoc (`.adoc`, `.asciidoc`, `.asc`) et HTML (
2626 - Les images et liens relatifs au document sont cherchés dans le dossier de l'agent : un lien vers un autre fichier l'ouvre ici, un lien vers un site ouvre le navigateur.
2727 - Une page HTML est affichée dans un cadre qui n'exécute aucun script et n'atteint rien : ses images et feuilles de style du dossier y sont intégrées, ses liens ne font rien.
2828 - L'aperçu suit les changements de l'agent, comme l'éditeur.
29+- **Diagrammes Mermaid** (issue #116) : un bloc ` ```mermaid ` d'un fichier Markdown, ou un bloc `[mermaid]` / `[source,mermaid]` d'un fichier AsciiDoc, est dessiné dans l'aperçu, dans le thème clair ou sombre de Sidekicks. Un diagramme qui ne peut pas être dessiné garde son code, avec l'erreur en dessous. Seul l'aperçu les dessine : dans une conversation, un bloc mermaid reste du code.
2930
3031 ## Ouvrir un fichier dont un agent donne le lien dans sa réponse
3132
@@ -26,6 +26,7 @@ Les fichiers Markdown (`.md`), AsciiDoc (`.adoc`, `.asciidoc`, `.asc`) et HTML (
26 - Les images et liens relatifs au document sont cherchés dans le dossier de l'agent : un lien vers un autre fichier l'ouvre ici, un lien vers un site ouvre le navigateur.26 - Les images et liens relatifs au document sont cherchés dans le dossier de l'agent : un lien vers un autre fichier l'ouvre ici, un lien vers un site ouvre le navigateur.
27 - Une page HTML est affichée dans un cadre qui n'exécute aucun script et n'atteint rien : ses images et feuilles de style du dossier y sont intégrées, ses liens ne font rien.27 - Une page HTML est affichée dans un cadre qui n'exécute aucun script et n'atteint rien : ses images et feuilles de style du dossier y sont intégrées, ses liens ne font rien.
28 - L'aperçu suit les changements de l'agent, comme l'éditeur.28 - L'aperçu suit les changements de l'agent, comme l'éditeur.
29+- **Diagrammes Mermaid** (issue #116) : un bloc ` ```mermaid ` d'un fichier Markdown, ou un bloc `[mermaid]` / `[source,mermaid]` d'un fichier AsciiDoc, est dessiné dans l'aperçu, dans le thème clair ou sombre de Sidekicks. Un diagramme qui ne peut pas être dessiné garde son code, avec l'erreur en dessous. Seul l'aperçu les dessine : dans une conversation, un bloc mermaid reste du code.
29 30
30 ## Ouvrir un fichier dont un agent donne le lien dans sa réponse31 ## Ouvrir un fichier dont un agent donne le lien dans sa réponse
31 32
added docs/release-notes/v1.7.0.fr.md +14 -0
new file mode 100644
@@ -0,0 +1,14 @@
1+# Sidekicks 1.7.0
2+
3+[English](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/release-notes/v1.7.0.md)
4+
5+Brouillon — complété au fil des tickets de la 1.7.0.
6+
7+## Nouveautés
8+
9+### Diagrammes Mermaid dans l'aperçu des documents (#116)
10+
11+- Dans l'aperçu d'un document Markdown ou AsciiDoc d'un agent, un bloc Mermaid — ` ```mermaid `, `[mermaid]` ou `[source,mermaid]` — est maintenant dessiné en diagramme (flowchart, séquence, gantt, classes…), dans le thème clair ou sombre de Sidekicks. Un diagramme qui ne peut pas être dessiné garde son code, avec l'erreur en dessous.
12+- Seul l'aperçu dessine les diagrammes : dans une conversation, un bloc mermaid reste du code. Mermaid n'est chargé que quand un document a un diagramme.
13+
14+→ [Les fichiers et le terminal d'un agent](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/fr/how-to/fichiers-et-terminal-d-un-agent.md)
new file mode 100644
@@ -0,0 +1,14 @@
1+# Sidekicks 1.7.0
2+
3+[English](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/release-notes/v1.7.0.md)
4+
5+Brouillon — complété au fil des tickets de la 1.7.0.
6+
7+## Nouveautés
8+
9+### Diagrammes Mermaid dans l'aperçu des documents (#116)
10+
11+- Dans l'aperçu d'un document Markdown ou AsciiDoc d'un agent, un bloc Mermaid — ` ```mermaid `, `[mermaid]` ou `[source,mermaid]` — est maintenant dessiné en diagramme (flowchart, séquence, gantt, classes…), dans le thème clair ou sombre de Sidekicks. Un diagramme qui ne peut pas être dessiné garde son code, avec l'erreur en dessous.
12+- Seul l'aperçu dessine les diagrammes : dans une conversation, un bloc mermaid reste du code. Mermaid n'est chargé que quand un document a un diagramme.
13+
14+→ [Les fichiers et le terminal d'un agent](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/fr/how-to/fichiers-et-terminal-d-un-agent.md)
added docs/release-notes/v1.7.0.md +14 -0
new file mode 100644
@@ -0,0 +1,14 @@
1+# Sidekicks 1.7.0
2+
3+[Français](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/release-notes/v1.7.0.fr.md)
4+
5+Draft — completed as the 1.7.0 tickets are done.
6+
7+## What's new
8+
9+### Mermaid diagrams in the preview of documents (#116)
10+
11+- In the preview of an agent's Markdown or AsciiDoc document, a Mermaid block — ` ```mermaid `, `[mermaid]` or `[source,mermaid]` — is now drawn as a diagram (flowchart, sequence, gantt, classes…), in the light or dark theme of Sidekicks. A diagram that cannot be drawn keeps its code, with the error under it.
12+- Only the preview draws diagrams: in a conversation, a mermaid block stays code. Mermaid is loaded only when a document has a diagram.
13+
14+→ [Work with an agent's files and terminal](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/en/how-to/work-with-an-agents-files.md#preview-a-document-or-an-image)
new file mode 100644
@@ -0,0 +1,14 @@
1+# Sidekicks 1.7.0
2+
3+[Français](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/release-notes/v1.7.0.fr.md)
4+
5+Draft — completed as the 1.7.0 tickets are done.
6+
7+## What's new
8+
9+### Mermaid diagrams in the preview of documents (#116)
10+
11+- In the preview of an agent's Markdown or AsciiDoc document, a Mermaid block — ` ```mermaid `, `[mermaid]` or `[source,mermaid]` — is now drawn as a diagram (flowchart, sequence, gantt, classes…), in the light or dark theme of Sidekicks. A diagram that cannot be drawn keeps its code, with the error under it.
12+- Only the preview draws diagrams: in a conversation, a mermaid block stays code. Mermaid is loaded only when a document has a diagram.
13+
14+→ [Work with an agent's files and terminal](https://rickub.com/bots-garden/sidekicks/blob/v1.7.0/docs/en/how-to/work-with-an-agents-files.md#preview-a-document-or-an-image)
modified frontend/package.json +1 -0
@@ -40,6 +40,7 @@
4040 "codemirror": "6.0.2",
4141 "dompurify": "3.4.17",
4242 "markdown-it": "15.0.3",
43+ "mermaid": "12.2.0",
4344 "paneforge": "1.0.2",
4445 "shiki": "4.5.0"
4546 },
@@ -40,6 +40,7 @@
40 "codemirror": "6.0.2",40 "codemirror": "6.0.2",
41 "dompurify": "3.4.17",41 "dompurify": "3.4.17",
42 "markdown-it": "15.0.3",42 "markdown-it": "15.0.3",
43+ "mermaid": "12.2.0",
43 "paneforge": "1.0.2",44 "paneforge": "1.0.2",
44 "shiki": "4.5.0"45 "shiki": "4.5.0"
45 },46 },
modified frontend/pnpm-lock.yaml +851 -0
@@ -250,6 +250,9 @@ importers:
250250 markdown-it:
251251 specifier: 15.0.3
252252 version: 15.0.3
253+ mermaid:
254+ specifier: 12.2.0
255+ version: 12.2.0
253256 paneforge:
254257 specifier: 1.0.2
255258 version: 1.0.2(svelte@5.57.3)
@@ -290,6 +293,9 @@ importers:
290293
291294 packages:
292295
296+ '@antfu/install-pkg@2.1.0':
297+ resolution: {integrity: sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw==}
298+
293299 '@asamuzakjp/css-color@7.1.9':
294300 resolution: {integrity: sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==}
295301 engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0}
@@ -307,10 +313,28 @@ packages:
307313 highlight.js:
308314 optional: true
309315
316+ '@braintree/sanitize-url@7.1.2':
317+ resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==}
318+
310319 '@bramus/specificity@2.4.3':
311320 resolution: {integrity: sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==}
312321 hasBin: true
313322
323+ '@chevrotain/cst-dts-gen@13.2.0':
324+ resolution: {integrity: sha512-bA9dvWlhAUcHkNwU+8w9yiUxJPlj/Lm3VqS7MD+NbIR/7LmpNLuK/AWNFdCo/T3SK5ND0/UHf3IJvl/Jn/i6yg==}
325+
326+ '@chevrotain/gast@13.2.0':
327+ resolution: {integrity: sha512-bCARdAsG+eEbOveSXcOAC7pVxA04I1ionzeMOwIYf5NX7SaS7zgn4Dgug2BSqoL+iyKeMNSorQjsFSHJHsCNwg==}
328+
329+ '@chevrotain/regexp-to-ast@13.2.0':
330+ resolution: {integrity: sha512-kxpUkLtiaK09ph+dib+Yvm+3sWSnuwlo25gqfKRgTPNmF6H7uW4gVkMjaRdtnN783S9sM6vUNWh9CsxYX4QwKw==}
331+
332+ '@chevrotain/types@13.2.0':
333+ resolution: {integrity: sha512-7qrYHRlKfWf2AvBfJi5eVOrKAkbxvMFsy/iIHTGIiApNcEecCaVIdR+mIQhyCBsTDJxBz4JWXHMo6krbhR9hVg==}
334+
335+ '@chevrotain/utils@13.2.0':
336+ resolution: {integrity: sha512-SzKYY68rseOrb9KILVzPsl6SjkQtdWw01SRGB5aCVI5kFcHltQsOYV3JB0Ffst72DgkvHCyDQ0NLwxtmCCf97Q==}
337+
314338 '@codemirror/autocomplete@6.20.3':
315339 resolution: {integrity: sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==}
316340
@@ -428,6 +452,12 @@ packages:
428452 '@noble/hashes':
429453 optional: true
430454
455+ '@iconify/types@2.0.0':
456+ resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
457+
458+ '@iconify/utils@3.1.7':
459+ resolution: {integrity: sha512-JZHlwdID+dy+lTgbYC8NEC4zeugqeYsc6jewvzb4c58kHauJn+X7rNwQjxz5p2qSjqaEeQoLkCIQ9v/H4PK0/w==}
460+
431461 '@jridgewell/gen-mapping@0.3.13':
432462 resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
433463
@@ -495,6 +525,10 @@ packages:
495525 '@marijn/find-cluster-break@1.0.4':
496526 resolution: {integrity: sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==}
497527
528+ '@mermaid-js/parser@2.0.1':
529+ resolution: {integrity: sha512-j37dj/h6p6pots1L7pLPPNuABEEu9WP4OYg9pW1g+nYG331j0+3canE9OagtYdytYvdSAMG+2fKU5cxep6LgjA==}
530+ engines: {node: '>=22.12.0'}
531+
498532 '@oxc-project/types@0.155.0':
499533 resolution: {integrity: sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==}
500534
@@ -650,12 +684,108 @@ packages:
650684 '@types/chai@5.2.3':
651685 resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
652686
687+ '@types/d3-array@3.2.2':
688+ resolution: {integrity: sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==}
689+
690+ '@types/d3-axis@3.0.6':
691+ resolution: {integrity: sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==}
692+
693+ '@types/d3-brush@3.0.6':
694+ resolution: {integrity: sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==}
695+
696+ '@types/d3-chord@3.0.6':
697+ resolution: {integrity: sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==}
698+
699+ '@types/d3-color@3.1.3':
700+ resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}
701+
702+ '@types/d3-contour@3.0.6':
703+ resolution: {integrity: sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==}
704+
705+ '@types/d3-delaunay@6.0.4':
706+ resolution: {integrity: sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==}
707+
708+ '@types/d3-dispatch@3.0.7':
709+ resolution: {integrity: sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==}
710+
711+ '@types/d3-drag@3.0.7':
712+ resolution: {integrity: sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==}
713+
714+ '@types/d3-dsv@3.0.7':
715+ resolution: {integrity: sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==}
716+
717+ '@types/d3-ease@3.0.2':
718+ resolution: {integrity: sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==}
719+
720+ '@types/d3-fetch@3.0.7':
721+ resolution: {integrity: sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==}
722+
723+ '@types/d3-force@3.0.10':
724+ resolution: {integrity: sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==}
725+
726+ '@types/d3-format@3.0.4':
727+ resolution: {integrity: sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==}
728+
729+ '@types/d3-geo@3.1.1':
730+ resolution: {integrity: sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==}
731+
732+ '@types/d3-hierarchy@3.1.7':
733+ resolution: {integrity: sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==}
734+
735+ '@types/d3-interpolate@3.0.4':
736+ resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}
737+
738+ '@types/d3-path@3.1.1':
739+ resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==}
740+
741+ '@types/d3-polygon@3.0.2':
742+ resolution: {integrity: sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==}
743+
744+ '@types/d3-quadtree@3.0.6':
745+ resolution: {integrity: sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==}
746+
747+ '@types/d3-random@3.0.4':
748+ resolution: {integrity: sha512-UHYId5WTCx4L4YNel7NU00XUXXgvgpgZOvp10PuvsQENjMDXhh2RyFc0KBjO7B45ne4Ha1yVH7ii0vnzKkuzWA==}
749+
750+ '@types/d3-scale-chromatic@3.1.0':
751+ resolution: {integrity: sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==}
752+
753+ '@types/d3-scale@4.0.9':
754+ resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==}
755+
756+ '@types/d3-selection@3.0.12':
757+ resolution: {integrity: sha512-Qe/KWYhEiIIxGs7HrAAjMfShxKldx19SJtr5zu53f3afPsdZNz7HHtdTLXo/kqeiWNXVycI24kSnfzBYkTzpgw==}
758+
759+ '@types/d3-shape@3.2.0':
760+ resolution: {integrity: sha512-kVd74ta9eof3eJOvbNd1vGKS/XERRyQbT26Og63hIsvDO84cjD5gEOhsXf26w3FSoNlPVz84DOFcKv/oou+fMw==}
761+
762+ '@types/d3-time-format@4.0.3':
763+ resolution: {integrity: sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==}
764+
765+ '@types/d3-time@3.0.4':
766+ resolution: {integrity: sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==}
767+
768+ '@types/d3-timer@3.0.2':
769+ resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}
770+
771+ '@types/d3-transition@3.0.9':
772+ resolution: {integrity: sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==}
773+
774+ '@types/d3-zoom@3.0.9':
775+ resolution: {integrity: sha512-0sE1406XBYJGiqD3AusTl9ZqC//2mIXix51tbom25gDCA8ri4xnSZg28CaSE8Srl6FClqABUKfsn0qghgdepMA==}
776+
777+ '@types/d3@7.4.3':
778+ resolution: {integrity: sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==}
779+
653780 '@types/deep-eql@4.0.2':
654781 resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
655782
656783 '@types/estree@1.0.9':
657784 resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}
658785
786+ '@types/geojson@7946.0.16':
787+ resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==}
788+
659789 '@types/hast@3.0.5':
660790 resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==}
661791
@@ -680,6 +810,9 @@ packages:
680810 '@ungap/structured-clone@1.4.0':
681811 resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==}
682812
813+ '@upsetjs/venn.js@2.0.0':
814+ resolution: {integrity: sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==}
815+
683816 '@vitest/mocker@5.0.4':
684817 resolution: {integrity: sha512-tqAlrYWce4iUxhr3ncNohejtCTOcHeE8XWrSNZY3OhPoDn01yeGv+gnaBy64ATp7o6pb03eIbBAjzmibpc9vIQ==}
685818 peerDependencies:
@@ -739,6 +872,10 @@ packages:
739872 character-entities-legacy@3.0.0:
740873 resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==}
741874
875+ chevrotain@13.2.0:
876+ resolution: {integrity: sha512-GTouk5YzgBxlTPCaDn5q0q2EJKkrYmnPF+HmF8v0Qo4r3iyPG7HJivkN1wthCXZcm3sIcZFpGTRovLPNdJNRCA==}
877+ engines: {node: '>=22.0.0'}
878+
742879 chokidar@4.0.3:
743880 resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
744881 engines: {node: '>= 14.16.0'}
@@ -753,6 +890,20 @@ packages:
753890 comma-separated-tokens@2.0.3:
754891 resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}
755892
893+ commander@15.1.0:
894+ resolution: {integrity: sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==}
895+ engines: {node: '>=22.12.0'}
896+
897+ commander@7.2.0:
898+ resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
899+ engines: {node: '>= 10'}
900+
901+ cose-base@1.0.3:
902+ resolution: {integrity: sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==}
903+
904+ cose-base@2.2.0:
905+ resolution: {integrity: sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==}
906+
756907 crelt@1.0.7:
757908 resolution: {integrity: sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==}
758909
@@ -760,10 +911,169 @@ packages:
760911 resolution: {integrity: sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==}
761912 engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}
762913
914+ cytoscape-cose-bilkent@4.1.0:
915+ resolution: {integrity: sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==}
916+ peerDependencies:
917+ cytoscape: ^3.2.0
918+
919+ cytoscape-fcose@2.2.0:
920+ resolution: {integrity: sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==}
921+ peerDependencies:
922+ cytoscape: ^3.2.0
923+
924+ cytoscape@3.35.0:
925+ resolution: {integrity: sha512-sMvBIXiGMnhkCaWz2R06FwF/27MNlS+Tqvi17foO9UhnUg3XGZccKjxsvEqQFAQYMSSZmN5SxYzUYlQ0DOJJ3g==}
926+ engines: {node: '>=0.10'}
927+
928+ d3-array@2.12.1:
929+ resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==}
930+
931+ d3-array@3.2.5:
932+ resolution: {integrity: sha512-Th8qGXoBalmWsstpkuhmBuTsBQIFqYOJtjlBvNVvBfJ8E3uYusBUwUR8HU20U0qKKQkgCvKyR1YjiozWadk5QA==}
933+ engines: {node: '>=12'}
934+
935+ d3-axis@3.0.1:
936+ resolution: {integrity: sha512-E5QCXfaf/uJZEHHiqoWRq+bQEm2PzoVFv2rDC7CZ3wwI0MjfMW3w83J3ubobG4IJj3lShAI5eiPJhOu/8wHofA==}
937+ engines: {node: '>=12'}
938+
939+ d3-brush@3.0.1:
940+ resolution: {integrity: sha512-L5Glqa/Gb7LU3ndIOMtA5mDzlJ0aXKp5ELP2X09ctWF23jO7+faIUVDbmaIi+D6k3EemXFWn1F3lkfguExoVhA==}
941+ engines: {node: '>=12'}
942+
943+ d3-chord@3.0.2:
944+ resolution: {integrity: sha512-cGmADo5M2PTi3ewJZ2lcE32eURd4JmHtQ5JwRIUcas5L1SXqufG9yPyjWp8fW0gRi7aZi9bgbZPFZO1eyZ+1CQ==}
945+ engines: {node: '>=12'}
946+
947+ d3-color@3.1.1:
948+ resolution: {integrity: sha512-lfab8x0Bj0UO7SNsY8dZSbNIA6ipbkE3X0NG9nqjCu6CfCHZseuDnOSJY7hidKrjpP++i1M2qT+FlAdPKYRilA==}
949+ engines: {node: '>=12'}
950+
951+ d3-contour@4.0.3:
952+ resolution: {integrity: sha512-5DYURc8KwXPOhSUBblU0P9rVcArsSPxPOxsfO0Eud0s28oU0sB2e80aRHRL9AZW3usT8ikFKyIHpHHLNWLdRVA==}
953+ engines: {node: '>=12'}
954+
955+ d3-delaunay@6.0.6:
956+ resolution: {integrity: sha512-DMQIEvSJhZCB6pwedcXaAlQ+MeKU5LlM2XakKtc73b/VM+RBiI1SRXycOEOKg2jsKj4zZ9F0KGYG6nCGwwWu/g==}
957+ engines: {node: '>=12'}
958+
959+ d3-dispatch@3.0.2:
960+ resolution: {integrity: sha512-sAzH4Y4nsLo8eSqw5jKiZt+LU2wZmL/qS+OkxQGjhwazB/D7TY34R/QK1eshfGr7cZEKymKZ/Haem7m+lu98Sg==}
961+ engines: {node: '>=12'}
962+
963+ d3-drag@3.0.1:
964+ resolution: {integrity: sha512-OWeoayCq8J69hUIjvL+Mb6Q6Oaj/fyHV5XaXByEUAG+JUjIfTGDnk3qGpcXrD3VmQ3BSV96fcbM6fqq7C0tbPA==}
965+ engines: {node: '>=12'}
966+
967+ d3-dsv@3.0.2:
968+ resolution: {integrity: sha512-FUnXhX7I4/AXyRCZzwfZTDGSq8PGZ4oR0tiCBqNGOZMsDrQ+6sIWNQnBzcCGhzJKZ6uCvCezTwflUqI209RRiQ==}
969+ engines: {node: '>=12'}
970+ hasBin: true
971+
972+ d3-ease@3.0.2:
973+ resolution: {integrity: sha512-B5znKqRmKROAN4oHWQ50W/qisVjA9GXh2WMsVKdFVp4DxWmcrOsweqgUOUVsv5th96kwaZlokU6SlV4J3gak1w==}
974+ engines: {node: '>=12'}
975+
976+ d3-fetch@3.0.2:
977+ resolution: {integrity: sha512-1wGF62bgjMRbF6mqbD+6rRWBL2hwWVYQjFO2UP3Wm1nIAvJZKaQxXM5caVY7athoCa8wIq9lCf7g44lPWFk50g==}
978+ engines: {node: '>=12'}
979+
980+ d3-force@3.0.1:
981+ resolution: {integrity: sha512-kAaaHLFebBYwgi5cYBXAI8vKrQFMCD2MEswj2QuPKKbdU1wYLc8WXtS7O8F/b6POCIe3gJjY6hkDstHi1yMETQ==}
982+ engines: {node: '>=12'}
983+
984+ d3-format@3.1.3:
985+ resolution: {integrity: sha512-+F+/49swqmGuQJmSKnVMIDH/QkEFV5li9QRj0xm/KhyAUBv099O5PrvpQFxBp24PYph17Mnvt9mjKQV0ii0nMA==}
986+ engines: {node: '>=12'}
987+
988+ d3-geo@3.1.2:
989+ resolution: {integrity: sha512-5R8ZgDQorIxmauv7R6gpE/ndz+Z0qAZssigq0aXFdvPHdY41RqtW02jrRUQAL724NdPABYXo1+gQEGBBr7uKNg==}
990+ engines: {node: '>=12'}
991+
992+ d3-hierarchy@3.1.3:
993+ resolution: {integrity: sha512-GRajN5ZcnEwYFWqqdzhG1qJ3+fDg6WWzk47TJg7ePY7yvYAgRfD2r1mUx+wviBOWuCwamCUzjwMSdato43jbGA==}
994+ engines: {node: '>=12'}
995+
996+ d3-interpolate@3.0.2:
997+ resolution: {integrity: sha512-IRzGU62DtxhvsnSTWMQIdnoZ6gA+BCWwBon1EJI6SjoN595799b6z/QRBzXfFhE8iupUPp3042yBNo0STPqnzQ==}
998+ engines: {node: '>=12'}
999+
1000+ d3-path@1.0.9:
1001+ resolution: {integrity: sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==}
1002+
1003+ d3-path@3.1.1:
1004+ resolution: {integrity: sha512-jsbgV8zIT38ReB9O7X7gcLndTQRONSqNNd+oGIaTBdUug4r5jFmp0N6RY9R5GWbdUDucn0qoTGyfjapT4tDhcg==}
1005+ engines: {node: '>=12'}
1006+
1007+ d3-polygon@3.0.2:
1008+ resolution: {integrity: sha512-WAUvPudGU1Dn4mDPfb6+JnnbeVEV53hG/BoT+bxts6AkZsOpTEiV1jHYX+2vtwCICNFG9Wxv8QS+eW1zE/Dwfg==}
1009+ engines: {node: '>=12'}
1010+
1011+ d3-quadtree@3.0.2:
1012+ resolution: {integrity: sha512-9Lu9mqJKRbIk0d6mKDjpvPURaPdwHVK5CYbcdd0/4vBgz4ldz/7TIOse3kNERsByGNfld58KEco507AztJWyTQ==}
1013+ engines: {node: '>=12'}
1014+
1015+ d3-random@3.0.2:
1016+ resolution: {integrity: sha512-PxJi9LNV+7mulaYO77nd+oGurXGL1fhedXjHnB3pWLUcqDnQtF4VASoqnQGHgoXLByVdv5QJ/2kfwkGn5HTS8g==}
1017+ engines: {node: '>=12'}
1018+
1019+ d3-sankey@0.12.3:
1020+ resolution: {integrity: sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==}
1021+
1022+ d3-scale-chromatic@3.1.1:
1023+ resolution: {integrity: sha512-lA5gfN2yMvmChubmptnDiBfeGpHD7Yb1EbvCz0TZE0WHXhyR6W2allPuhKtzV5ILQRqeOdefF0qYtERReLUBDg==}
1024+ engines: {node: '>=12'}
1025+
1026+ d3-scale@4.0.3:
1027+ resolution: {integrity: sha512-66cWobCNzcMvlfoaDHCxuIv9TBUWG1BLOWdv9kHHFuCr1JdqAWPvTmsaEYDD5NRMyWZ5+7u0GqiCDfMXMqh3hg==}
1028+ engines: {node: '>=12'}
1029+
1030+ d3-selection@3.0.1:
1031+ resolution: {integrity: sha512-ODSf35vqCrlCfp7hrm0eZjvOosSXSYLjqvIlhMBV9q9VOx7EBJG6pc+uXBswEZNJgCGJ+qnKYcWutbZDIxe/Xg==}
1032+ engines: {node: '>=12'}
1033+
1034+ d3-shape@1.3.7:
1035+ resolution: {integrity: sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==}
1036+
1037+ d3-shape@3.2.1:
1038+ resolution: {integrity: sha512-dm2o+lbKdzg9tY7GEag/dB9hcbodLfwkE/DkvqbELJXaMz0yKzWWhZqhbI7CKubukA7HnRyz0avdtvi7EPxPvw==}
1039+ engines: {node: '>=12'}
1040+
1041+ d3-time-format@4.1.1:
1042+ resolution: {integrity: sha512-22XaqjyCjpqgda20erhsOjGmC3vvYwTNYniKAd45W5UWLDF43moeOuV9qYpRqobIlsnK0UhnKZjUUJm3VgORUA==}
1043+ engines: {node: '>=12'}
1044+
1045+ d3-time@3.1.1:
1046+ resolution: {integrity: sha512-Ze7rjrhMzdeulh0/hjcfFj7XLAHOfowtEMfsoG6DU866HPynQNW7Wfen6hzXcqKTv8XzxvF6Hzr5XD6bMHr2ug==}
1047+ engines: {node: '>=12'}
1048+
1049+ d3-timer@3.0.2:
1050+ resolution: {integrity: sha512-1Il1aliroVSErrv5aulRBxAY+7+DnaoLIWGd1C6SsBTWDeobWiP/V69vwb8vT6abR1kKwaNe1196pmaQ1fK90A==}
1051+ engines: {node: '>=12'}
1052+
1053+ d3-transition@3.0.2:
1054+ resolution: {integrity: sha512-RcjCsdFgyFoDB+QXLC5m60ZkTN0k9zH+ovoLlTdJnDS1AbfbcuowiM4pCKSTOclNibS4f4J4cbv2m7O7y8NTOQ==}
1055+ engines: {node: '>=12'}
1056+ peerDependencies:
1057+ d3-selection: 2 - 3
1058+
1059+ d3-zoom@3.0.1:
1060+ resolution: {integrity: sha512-kfjD3BDQu/FOatpZ6JdMSyIoDwTxIpI29ySTI2J5ZlDaH1WbuJGQJ2Q9oJkWTEZEW98j6idezoomSD3Cn2zwiw==}
1061+ engines: {node: '>=12'}
1062+
1063+ d3@7.9.2:
1064+ resolution: {integrity: sha512-ZKb/mONPVKzaO5UlcWcwN8bS4ezvQaYu+bsou+XgNABdGC800kwH651ADTbbTxMPHW13UlvbQafdmJQDk1w7Mg==}
1065+ engines: {node: '>=12'}
1066+
1067+ dagre-d3-es@7.0.14:
1068+ resolution: {integrity: sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==}
1069+
7631070 data-urls@8.0.0:
7641071 resolution: {integrity: sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==}
7651072 engines: {node: ^22.14.0 || >=24.0.0}
7661073
1074+ dayjs@1.11.23:
1075+ resolution: {integrity: sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==}
1076+
7671077 decimal.js@10.6.0:
7681078 resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==}
7691079
@@ -771,6 +1081,9 @@ packages:
7711081 resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
7721082 engines: {node: '>=0.10.0'}
7731083
1084+ delaunator@5.1.0:
1085+ resolution: {integrity: sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==}
1086+
7741087 dequal@2.0.3:
7751088 resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
7761089 engines: {node: '>=6'}
@@ -788,6 +1101,9 @@ packages:
7881101 dompurify@3.4.17:
7891102 resolution: {integrity: sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==}
7901103
1104+ elkjs@0.9.3:
1105+ resolution: {integrity: sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==}
1106+
7911107 entities@8.1.0:
7921108 resolution: {integrity: sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==}
7931109 engines: {node: '>=20.19.0'}
@@ -795,6 +1111,9 @@ packages:
7951111 es-module-lexer@2.3.2:
7961112 resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==}
7971113
1114+ es-toolkit@1.53.2:
1115+ resolution: {integrity: sha512-iUqZ+NlwH4jUgRmXZUxFBsV/9762TQEa1O4IXLFBmDEjVHScBytKuseX23I0+v9ShZ5MYxEx6WKNzm6IPnex8g==}
1116+
7981117 esm-env@1.2.2:
7991118 resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==}
8001119
@@ -827,6 +1146,9 @@ packages:
8271146 engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
8281147 os: [darwin]
8291148
1149+ hachure-fill@0.5.2:
1150+ resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==}
1151+
8301152 hast-util-to-html@9.0.5:
8311153 resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==}
8321154
@@ -840,9 +1162,23 @@ packages:
8401162 html-void-elements@3.0.0:
8411163 resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==}
8421164
1165+ iconv-lite@0.6.3:
1166+ resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
1167+ engines: {node: '>=0.10.0'}
1168+
1169+ import-meta-resolve@4.2.0:
1170+ resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==}
1171+
8431172 inline-style-parser@0.2.7:
8441173 resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==}
8451174
1175+ internmap@1.0.1:
1176+ resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==}
1177+
1178+ internmap@2.0.3:
1179+ resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
1180+ engines: {node: '>=12'}
1181+
8461182 is-potential-custom-element-name@1.0.1:
8471183 resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
8481184
@@ -858,6 +1194,19 @@ packages:
8581194 canvas:
8591195 optional: true
8601196
1197+ katex@0.18.10:
1198+ resolution: {integrity: sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==}
1199+ hasBin: true
1200+
1201+ khroma@2.1.0:
1202+ resolution: {integrity: sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==}
1203+
1204+ layout-base@1.0.2:
1205+ resolution: {integrity: sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==}
1206+
1207+ layout-base@2.0.1:
1208+ resolution: {integrity: sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==}
1209+
8611210 lightningcss-android-arm64@1.33.0:
8621211 resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}
8631212 engines: {node: '>= 12.0.0'}
@@ -938,6 +1287,9 @@ packages:
9381287 locate-character@3.0.0:
9391288 resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==}
9401289
1290+ lodash-es@4.18.1:
1291+ resolution: {integrity: sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==}
1292+
9411293 lru-cache@11.5.3:
9421294 resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==}
9431295 engines: {node: 20 || >=22}
@@ -952,6 +1304,11 @@ packages:
9521304 resolution: {integrity: sha512-+Az7Ojz3iRGu8KYMvJ6xVhvrxP3eE+vEtJX75Ow88XBpcQNV/0lGX5ZynIIBftREo4DC2jsveAMDaeltmm8QvQ==}
9531305 hasBin: true
9541306
1307+ marked@16.4.2:
1308+ resolution: {integrity: sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==}
1309+ engines: {node: '>= 20'}
1310+ hasBin: true
1311+
9551312 mdast-util-to-hast@13.2.1:
9561313 resolution: {integrity: sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==}
9571314
@@ -961,6 +1318,10 @@ packages:
9611318 mdurl@2.1.0:
9621319 resolution: {integrity: sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==}
9631320
1321+ mermaid@12.2.0:
1322+ resolution: {integrity: sha512-w7nr/SFrLO7BaVTs3dQTvYSV6nYSBj0Yy9DjBhsIJtAcHqRzXSq4Pg32ujHZ/AdWsAMNEvvhbm5dt9E2tOiHzw==}
1323+ engines: {node: '>=22.12.0'}
1324+
9641325 micromark-util-character@2.1.1:
9651326 resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==}
9661327
@@ -999,6 +1360,9 @@ packages:
9991360 oniguruma-to-es@4.3.6:
10001361 resolution: {integrity: sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==}
10011362
1363+ package-manager-detector@1.9.0:
1364+ resolution: {integrity: sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==}
1365+
10021366 paneforge@1.0.2:
10031367 resolution: {integrity: sha512-KzmIXQH1wCfwZ4RsMohD/IUtEjVhteR+c+ulb/CHYJHX8SuDXoJmChtsc/Xs5Wl8NHS4L5Q7cxL8MG40gSU1bA==}
10041368 peerDependencies:
@@ -1007,6 +1371,9 @@ packages:
10071371 parse5@8.0.1:
10081372 resolution: {integrity: sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==}
10091373
1374+ path-data-parser@0.1.0:
1375+ resolution: {integrity: sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==}
1376+
10101377 picocolors@1.1.1:
10111378 resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
10121379
@@ -1014,6 +1381,12 @@ packages:
10141381 resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}
10151382 engines: {node: '>=12'}
10161383
1384+ points-on-curve@0.2.0:
1385+ resolution: {integrity: sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==}
1386+
1387+ points-on-path@0.2.1:
1388+ resolution: {integrity: sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==}
1389+
10171390 postcss@8.5.32:
10181391 resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==}
10191392 engines: {node: ^10 || ^12 || >=14}
@@ -1046,11 +1419,17 @@ packages:
10461419 resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
10471420 engines: {node: '>=0.10.0'}
10481421
1422+ robust-predicates@3.0.3:
1423+ resolution: {integrity: sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==}
1424+
10491425 rolldown@1.2.15:
10501426 resolution: {integrity: sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==}
10511427 engines: {node: ^20.19.0 || >=22.12.0}
10521428 hasBin: true
10531429
1430+ roughjs@4.6.6:
1431+ resolution: {integrity: sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==}
1432+
10541433 runed@0.23.4:
10551434 resolution: {integrity: sha512-9q8oUiBYeXIDLWNK5DfCWlkL0EW3oGbk845VdKlPeia28l751VpfesaB/+7pI6rnbx1I6rqoZ2fZxptOJLxILA==}
10561435 peerDependencies:
@@ -1061,10 +1440,16 @@ packages:
10611440 peerDependencies:
10621441 svelte: ^5.7.0
10631442
1443+ rw@1.3.3:
1444+ resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==}
1445+
10641446 sade@1.8.1:
10651447 resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}
10661448 engines: {node: '>=6'}
10671449
1450+ safer-buffer@2.1.2:
1451+ resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
1452+
10681453 saxes@6.0.0:
10691454 resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
10701455 engines: {node: '>=v12.22.7'}
@@ -1092,6 +1477,9 @@ packages:
10921477 style-to-object@1.0.14:
10931478 resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==}
10941479
1480+ stylis@4.4.0:
1481+ resolution: {integrity: sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==}
1482+
10951483 svelte-check@4.7.7:
10961484 resolution: {integrity: sha512-Ge2IMdeTpbJuzNFGRiiMg0RWgbScysKQu7xwcyFJ22+DU9F5nPX51+Q3gHmGqRxYQMx2knreVWt5oCtfe0vf2g==}
10971485 engines: {node: '>= 18.0.0'}
@@ -1140,6 +1528,10 @@ packages:
11401528 trim-lines@3.0.1:
11411529 resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}
11421530
1531+ ts-dedent@2.3.0:
1532+ resolution: {integrity: sha512-JfJeIHke7y2egdGGgRAvpCwYFUsHlM2gPcrVOxFkznt/4uzQ7HFmvE63iFHVLBJNDuyDOQgijDK/tXH/f6Msjg==}
1533+ engines: {node: '>=6.10'}
1534+
11431535 tslib@2.8.1:
11441536 resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
11451537
@@ -1170,6 +1562,10 @@ packages:
11701562 unist-util-visit@5.2.0:
11711563 resolution: {integrity: sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==}
11721564
1565+ uuid@14.0.3:
1566+ resolution: {integrity: sha512-Sc5u1VVln93y1Xnz4R+CunOZc7R9LUcTmhj7Rc7Eg3HVcf7rVn2FOoa812fe0W8p3jD7xeoGSYbfqCGGH2B6xw==}
1567+ hasBin: true
1568+
11731569 vfile-message@4.0.3:
11741570 resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}
11751571
@@ -1307,6 +1703,11 @@ packages:
13071703
13081704 snapshots:
13091705
1706+ '@antfu/install-pkg@2.1.0':
1707+ dependencies:
1708+ package-manager-detector: 1.9.0
1709+ tinyexec: 1.3.1
1710+
13101711 '@asamuzakjp/css-color@7.1.9':
13111712 dependencies:
13121713 '@csstools/css-calc': 3.4.3(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2)
@@ -1324,10 +1725,27 @@ snapshots:
13241725
13251726 '@asciidoctor/core@4.1.1': {}
13261727
1728+ '@braintree/sanitize-url@7.1.2': {}
1729+
13271730 '@bramus/specificity@2.4.3':
13281731 dependencies:
13291732 css-tree: 3.2.1
13301733
1734+ '@chevrotain/cst-dts-gen@13.2.0':
1735+ dependencies:
1736+ '@chevrotain/gast': 13.2.0
1737+ '@chevrotain/types': 13.2.0
1738+
1739+ '@chevrotain/gast@13.2.0':
1740+ dependencies:
1741+ '@chevrotain/types': 13.2.0
1742+
1743+ '@chevrotain/regexp-to-ast@13.2.0': {}
1744+
1745+ '@chevrotain/types@13.2.0': {}
1746+
1747+ '@chevrotain/utils@13.2.0': {}
1748+
13311749 '@codemirror/autocomplete@6.20.3':
13321750 dependencies:
13331751 '@codemirror/language': 6.13.1
@@ -1526,6 +1944,14 @@ snapshots:
15261944
15271945 '@exodus/bytes@1.16.0': {}
15281946
1947+ '@iconify/types@2.0.0': {}
1948+
1949+ '@iconify/utils@3.1.7':
1950+ dependencies:
1951+ '@antfu/install-pkg': 2.1.0
1952+ '@iconify/types': 2.0.0
1953+ import-meta-resolve: 4.2.0
1954+
15291955 '@jridgewell/gen-mapping@0.3.13':
15301956 dependencies:
15311957 '@jridgewell/sourcemap-codec': 1.6.0
@@ -1634,6 +2060,10 @@ snapshots:
16342060
16352061 '@marijn/find-cluster-break@1.0.4': {}
16362062
2063+ '@mermaid-js/parser@2.0.1':
2064+ dependencies:
2065+ '@chevrotain/types': 13.2.0
2066+
16372067 '@oxc-project/types@0.155.0': {}
16382068
16392069 '@rolldown/binding-android-arm-eabi@1.2.15':
@@ -1745,10 +2175,129 @@ snapshots:
17452175 '@types/deep-eql': 4.0.2
17462176 assertion-error: 2.0.1
17472177
2178+ '@types/d3-array@3.2.2': {}
2179+
2180+ '@types/d3-axis@3.0.6':
2181+ dependencies:
2182+ '@types/d3-selection': 3.0.12
2183+
2184+ '@types/d3-brush@3.0.6':
2185+ dependencies:
2186+ '@types/d3-selection': 3.0.12
2187+
2188+ '@types/d3-chord@3.0.6': {}
2189+
2190+ '@types/d3-color@3.1.3': {}
2191+
2192+ '@types/d3-contour@3.0.6':
2193+ dependencies:
2194+ '@types/d3-array': 3.2.2
2195+ '@types/geojson': 7946.0.16
2196+
2197+ '@types/d3-delaunay@6.0.4': {}
2198+
2199+ '@types/d3-dispatch@3.0.7': {}
2200+
2201+ '@types/d3-drag@3.0.7':
2202+ dependencies:
2203+ '@types/d3-selection': 3.0.12
2204+
2205+ '@types/d3-dsv@3.0.7': {}
2206+
2207+ '@types/d3-ease@3.0.2': {}
2208+
2209+ '@types/d3-fetch@3.0.7':
2210+ dependencies:
2211+ '@types/d3-dsv': 3.0.7
2212+
2213+ '@types/d3-force@3.0.10': {}
2214+
2215+ '@types/d3-format@3.0.4': {}
2216+
2217+ '@types/d3-geo@3.1.1':
2218+ dependencies:
2219+ '@types/geojson': 7946.0.16
2220+
2221+ '@types/d3-hierarchy@3.1.7': {}
2222+
2223+ '@types/d3-interpolate@3.0.4':
2224+ dependencies:
2225+ '@types/d3-color': 3.1.3
2226+
2227+ '@types/d3-path@3.1.1': {}
2228+
2229+ '@types/d3-polygon@3.0.2': {}
2230+
2231+ '@types/d3-quadtree@3.0.6': {}
2232+
2233+ '@types/d3-random@3.0.4': {}
2234+
2235+ '@types/d3-scale-chromatic@3.1.0': {}
2236+
2237+ '@types/d3-scale@4.0.9':
2238+ dependencies:
2239+ '@types/d3-time': 3.0.4
2240+
2241+ '@types/d3-selection@3.0.12': {}
2242+
2243+ '@types/d3-shape@3.2.0':
2244+ dependencies:
2245+ '@types/d3-path': 3.1.1
2246+
2247+ '@types/d3-time-format@4.0.3': {}
2248+
2249+ '@types/d3-time@3.0.4': {}
2250+
2251+ '@types/d3-timer@3.0.2': {}
2252+
2253+ '@types/d3-transition@3.0.9':
2254+ dependencies:
2255+ '@types/d3-selection': 3.0.12
2256+
2257+ '@types/d3-zoom@3.0.9':
2258+ dependencies:
2259+ '@types/d3-interpolate': 3.0.4
2260+ '@types/d3-selection': 3.0.12
2261+
2262+ '@types/d3@7.4.3':
2263+ dependencies:
2264+ '@types/d3-array': 3.2.2
2265+ '@types/d3-axis': 3.0.6
2266+ '@types/d3-brush': 3.0.6
2267+ '@types/d3-chord': 3.0.6
2268+ '@types/d3-color': 3.1.3
2269+ '@types/d3-contour': 3.0.6
2270+ '@types/d3-delaunay': 6.0.4
2271+ '@types/d3-dispatch': 3.0.7
2272+ '@types/d3-drag': 3.0.7
2273+ '@types/d3-dsv': 3.0.7
2274+ '@types/d3-ease': 3.0.2
2275+ '@types/d3-fetch': 3.0.7
2276+ '@types/d3-force': 3.0.10
2277+ '@types/d3-format': 3.0.4
2278+ '@types/d3-geo': 3.1.1
2279+ '@types/d3-hierarchy': 3.1.7
2280+ '@types/d3-interpolate': 3.0.4
2281+ '@types/d3-path': 3.1.1
2282+ '@types/d3-polygon': 3.0.2
2283+ '@types/d3-quadtree': 3.0.6
2284+ '@types/d3-random': 3.0.4
2285+ '@types/d3-scale': 4.0.9
2286+ '@types/d3-scale-chromatic': 3.1.0
2287+ '@types/d3-selection': 3.0.12
2288+ '@types/d3-shape': 3.2.0
2289+ '@types/d3-time': 3.0.4
2290+ '@types/d3-time-format': 4.0.3
2291+ '@types/d3-timer': 3.0.2
2292+ '@types/d3-transition': 3.0.9
2293+ '@types/d3-zoom': 3.0.9
2294+
17482295 '@types/deep-eql@4.0.2': {}
17492296
17502297 '@types/estree@1.0.9': {}
17512298
2299+ '@types/geojson@7946.0.16': {}
2300+
17522301 '@types/hast@3.0.5':
17532302 dependencies:
17542303 '@types/unist': 3.0.3
@@ -1773,6 +2322,11 @@ snapshots:
17732322
17742323 '@ungap/structured-clone@1.4.0': {}
17752324
2325+ '@upsetjs/venn.js@2.0.0':
2326+ optionalDependencies:
2327+ d3-selection: 3.0.1
2328+ d3-transition: 3.0.2(d3-selection@3.0.1)
2329+
17762330 '@vitest/mocker@5.0.4(vite@8.3.5)':
17772331 dependencies:
17782332 '@jridgewell/trace-mapping': 0.3.31
@@ -1812,6 +2366,14 @@ snapshots:
18122366
18132367 character-entities-legacy@3.0.0: {}
18142368
2369+ chevrotain@13.2.0:
2370+ dependencies:
2371+ '@chevrotain/cst-dts-gen': 13.2.0
2372+ '@chevrotain/gast': 13.2.0
2373+ '@chevrotain/regexp-to-ast': 13.2.0
2374+ '@chevrotain/types': 13.2.0
2375+ '@chevrotain/utils': 13.2.0
2376+
18152377 chokidar@4.0.3:
18162378 dependencies:
18172379 readdirp: 4.1.2
@@ -1830,6 +2392,18 @@ snapshots:
18302392
18312393 comma-separated-tokens@2.0.3: {}
18322394
2395+ commander@15.1.0: {}
2396+
2397+ commander@7.2.0: {}
2398+
2399+ cose-base@1.0.3:
2400+ dependencies:
2401+ layout-base: 1.0.2
2402+
2403+ cose-base@2.2.0:
2404+ dependencies:
2405+ layout-base: 2.0.1
2406+
18332407 crelt@1.0.7: {}
18342408
18352409 css-tree@3.2.1:
@@ -1837,6 +2411,191 @@ snapshots:
18372411 mdn-data: 2.27.1
18382412 source-map-js: 1.2.2
18392413
2414+ cytoscape-cose-bilkent@4.1.0(cytoscape@3.35.0):
2415+ dependencies:
2416+ cose-base: 1.0.3
2417+ cytoscape: 3.35.0
2418+
2419+ cytoscape-fcose@2.2.0(cytoscape@3.35.0):
2420+ dependencies:
2421+ cose-base: 2.2.0
2422+ cytoscape: 3.35.0
2423+
2424+ cytoscape@3.35.0: {}
2425+
2426+ d3-array@2.12.1:
2427+ dependencies:
2428+ internmap: 1.0.1
2429+
2430+ d3-array@3.2.5:
2431+ dependencies:
2432+ internmap: 2.0.3
2433+
2434+ d3-axis@3.0.1: {}
2435+
2436+ d3-brush@3.0.1:
2437+ dependencies:
2438+ d3-dispatch: 3.0.2
2439+ d3-drag: 3.0.1
2440+ d3-interpolate: 3.0.2
2441+ d3-selection: 3.0.1
2442+ d3-transition: 3.0.2(d3-selection@3.0.1)
2443+
2444+ d3-chord@3.0.2:
2445+ dependencies:
2446+ d3-path: 3.1.1
2447+
2448+ d3-color@3.1.1: {}
2449+
2450+ d3-contour@4.0.3:
2451+ dependencies:
2452+ d3-array: 3.2.5
2453+
2454+ d3-delaunay@6.0.6:
2455+ dependencies:
2456+ delaunator: 5.1.0
2457+
2458+ d3-dispatch@3.0.2: {}
2459+
2460+ d3-drag@3.0.1:
2461+ dependencies:
2462+ d3-dispatch: 3.0.2
2463+ d3-selection: 3.0.1
2464+
2465+ d3-dsv@3.0.2:
2466+ dependencies:
2467+ commander: 7.2.0
2468+ iconv-lite: 0.6.3
2469+ rw: 1.3.3
2470+
2471+ d3-ease@3.0.2: {}
2472+
2473+ d3-fetch@3.0.2:
2474+ dependencies:
2475+ d3-dsv: 3.0.2
2476+
2477+ d3-force@3.0.1:
2478+ dependencies:
2479+ d3-dispatch: 3.0.2
2480+ d3-quadtree: 3.0.2
2481+ d3-timer: 3.0.2
2482+
2483+ d3-format@3.1.3: {}
2484+
2485+ d3-geo@3.1.2:
2486+ dependencies:
2487+ d3-array: 3.2.5
2488+
2489+ d3-hierarchy@3.1.3: {}
2490+
2491+ d3-interpolate@3.0.2:
2492+ dependencies:
2493+ d3-color: 3.1.1
2494+
2495+ d3-path@1.0.9: {}
2496+
2497+ d3-path@3.1.1: {}
2498+
2499+ d3-polygon@3.0.2: {}
2500+
2501+ d3-quadtree@3.0.2: {}
2502+
2503+ d3-random@3.0.2: {}
2504+
2505+ d3-sankey@0.12.3:
2506+ dependencies:
2507+ d3-array: 2.12.1
2508+ d3-shape: 1.3.7
2509+
2510+ d3-scale-chromatic@3.1.1:
2511+ dependencies:
2512+ d3-color: 3.1.1
2513+ d3-interpolate: 3.0.2
2514+ d3-scale: 4.0.3
2515+
2516+ d3-scale@4.0.3:
2517+ dependencies:
2518+ d3-array: 3.2.5
2519+ d3-format: 3.1.3
2520+ d3-interpolate: 3.0.2
2521+ d3-time: 3.1.1
2522+ d3-time-format: 4.1.1
2523+
2524+ d3-selection@3.0.1: {}
2525+
2526+ d3-shape@1.3.7:
2527+ dependencies:
2528+ d3-path: 1.0.9
2529+
2530+ d3-shape@3.2.1:
2531+ dependencies:
2532+ d3-path: 3.1.1
2533+
2534+ d3-time-format@4.1.1:
2535+ dependencies:
2536+ d3-time: 3.1.1
2537+
2538+ d3-time@3.1.1:
2539+ dependencies:
2540+ d3-array: 3.2.5
2541+
2542+ d3-timer@3.0.2: {}
2543+
2544+ d3-transition@3.0.2(d3-selection@3.0.1):
2545+ dependencies:
2546+ d3-color: 3.1.1
2547+ d3-dispatch: 3.0.2
2548+ d3-ease: 3.0.2
2549+ d3-interpolate: 3.0.2
2550+ d3-selection: 3.0.1
2551+ d3-timer: 3.0.2
2552+
2553+ d3-zoom@3.0.1:
2554+ dependencies:
2555+ d3-dispatch: 3.0.2
2556+ d3-drag: 3.0.1
2557+ d3-interpolate: 3.0.2
2558+ d3-selection: 3.0.1
2559+ d3-transition: 3.0.2(d3-selection@3.0.1)
2560+
2561+ d3@7.9.2:
2562+ dependencies:
2563+ d3-array: 3.2.5
2564+ d3-axis: 3.0.1
2565+ d3-brush: 3.0.1
2566+ d3-chord: 3.0.2
2567+ d3-color: 3.1.1
2568+ d3-contour: 4.0.3
2569+ d3-delaunay: 6.0.6
2570+ d3-dispatch: 3.0.2
2571+ d3-drag: 3.0.1
2572+ d3-dsv: 3.0.2
2573+ d3-ease: 3.0.2
2574+ d3-fetch: 3.0.2
2575+ d3-force: 3.0.1
2576+ d3-format: 3.1.3
2577+ d3-geo: 3.1.2
2578+ d3-hierarchy: 3.1.3
2579+ d3-interpolate: 3.0.2
2580+ d3-path: 3.1.1
2581+ d3-polygon: 3.0.2
2582+ d3-quadtree: 3.0.2
2583+ d3-random: 3.0.2
2584+ d3-scale: 4.0.3
2585+ d3-scale-chromatic: 3.1.1
2586+ d3-selection: 3.0.1
2587+ d3-shape: 3.2.1
2588+ d3-time: 3.1.1
2589+ d3-time-format: 4.1.1
2590+ d3-timer: 3.0.2
2591+ d3-transition: 3.0.2(d3-selection@3.0.1)
2592+ d3-zoom: 3.0.1
2593+
2594+ dagre-d3-es@7.0.14:
2595+ dependencies:
2596+ d3: 7.9.2
2597+ lodash-es: 4.18.1
2598+
18402599 data-urls@8.0.0:
18412600 dependencies:
18422601 whatwg-mimetype: 5.0.0
@@ -1844,10 +2603,16 @@ snapshots:
18442603 transitivePeerDependencies:
18452604 - '@noble/hashes'
18462605
2606+ dayjs@1.11.23: {}
2607+
18472608 decimal.js@10.6.0: {}
18482609
18492610 deepmerge@4.3.1: {}
18502611
2612+ delaunator@5.1.0:
2613+ dependencies:
2614+ robust-predicates: 3.0.3
2615+
18512616 dequal@2.0.3: {}
18522617
18532618 detect-libc@2.1.2: {}
@@ -1862,10 +2627,14 @@ snapshots:
18622627 optionalDependencies:
18632628 '@types/trusted-types': 2.0.7
18642629
2630+ elkjs@0.9.3: {}
2631+
18652632 entities@8.1.0: {}
18662633
18672634 es-module-lexer@2.3.2: {}
18682635
2636+ es-toolkit@1.53.2: {}
2637+
18692638 esm-env@1.2.2: {}
18702639
18712640 esrap@2.4.0:
@@ -1885,6 +2654,8 @@ snapshots:
18852654 fsevents@2.3.3:
18862655 optional: true
18872656
2657+ hachure-fill@0.5.2: {}
2658+
18882659 hast-util-to-html@9.0.5:
18892660 dependencies:
18902661 '@types/hast': 3.0.5
@@ -1911,8 +2682,18 @@ snapshots:
19112682
19122683 html-void-elements@3.0.0: {}
19132684
2685+ iconv-lite@0.6.3:
2686+ dependencies:
2687+ safer-buffer: 2.1.2
2688+
2689+ import-meta-resolve@4.2.0: {}
2690+
19142691 inline-style-parser@0.2.7: {}
19152692
2693+ internmap@1.0.1: {}
2694+
2695+ internmap@2.0.3: {}
2696+
19162697 is-potential-custom-element-name@1.0.1: {}
19172698
19182699 is-reference@3.0.3:
@@ -1944,6 +2725,16 @@ snapshots:
19442725 transitivePeerDependencies:
19452726 - '@noble/hashes'
19462727
2728+ katex@0.18.10:
2729+ dependencies:
2730+ commander: 15.1.0
2731+
2732+ khroma@2.1.0: {}
2733+
2734+ layout-base@1.0.2: {}
2735+
2736+ layout-base@2.0.1: {}
2737+
19472738 lightningcss-android-arm64@1.33.0:
19482739 optional: true
19492740
@@ -1999,6 +2790,8 @@ snapshots:
19992790
20002791 locate-character@3.0.0: {}
20012792
2793+ lodash-es@4.18.1: {}
2794+
20022795 lru-cache@11.5.3: {}
20032796
20042797 magic-string@0.30.21:
@@ -2018,6 +2811,8 @@ snapshots:
20182811 punycode.js: 2.3.1
20192812 uc.micro: 3.0.0
20202813
2814+ marked@16.4.2: {}
2815+
20212816 mdast-util-to-hast@13.2.1:
20222817 dependencies:
20232818 '@types/hast': 3.0.5
@@ -2034,6 +2829,32 @@ snapshots:
20342829
20352830 mdurl@2.1.0: {}
20362831
2832+ mermaid@12.2.0:
2833+ dependencies:
2834+ '@braintree/sanitize-url': 7.1.2
2835+ '@iconify/utils': 3.1.7
2836+ '@mermaid-js/parser': 2.0.1
2837+ '@types/d3': 7.4.3
2838+ '@upsetjs/venn.js': 2.0.0
2839+ chevrotain: 13.2.0
2840+ cytoscape: 3.35.0
2841+ cytoscape-cose-bilkent: 4.1.0(cytoscape@3.35.0)
2842+ cytoscape-fcose: 2.2.0(cytoscape@3.35.0)
2843+ d3: 7.9.2
2844+ d3-sankey: 0.12.3
2845+ dagre-d3-es: 7.0.14
2846+ dayjs: 1.11.23
2847+ dompurify: 3.4.17
2848+ elkjs: 0.9.3
2849+ es-toolkit: 1.53.2
2850+ katex: 0.18.10
2851+ khroma: 2.1.0
2852+ marked: 16.4.2
2853+ roughjs: 4.6.6
2854+ stylis: 4.4.0
2855+ ts-dedent: 2.3.0
2856+ uuid: 14.0.3
2857+
20372858 micromark-util-character@2.1.1:
20382859 dependencies:
20392860 micromark-util-symbol: 2.0.1
@@ -2067,6 +2888,8 @@ snapshots:
20672888 regex: 6.1.0
20682889 regex-recursion: 6.0.2
20692890
2891+ package-manager-detector@1.9.0: {}
2892+
20702893 paneforge@1.0.2(svelte@5.57.3):
20712894 dependencies:
20722895 runed: 0.23.4(svelte@5.57.3)
@@ -2077,10 +2900,19 @@ snapshots:
20772900 dependencies:
20782901 entities: 8.1.0
20792902
2903+ path-data-parser@0.1.0: {}
2904+
20802905 picocolors@1.1.1: {}
20812906
20822907 picomatch@4.0.7: {}
20832908
2909+ points-on-curve@0.2.0: {}
2910+
2911+ points-on-path@0.2.1:
2912+ dependencies:
2913+ path-data-parser: 0.1.0
2914+ points-on-curve: 0.2.0
2915+
20842916 postcss@8.5.32:
20852917 dependencies:
20862918 nanoid: 3.3.20
@@ -2107,6 +2939,8 @@ snapshots:
21072939
21082940 require-from-string@2.0.2: {}
21092941
2942+ robust-predicates@3.0.3: {}
2943+
21102944 rolldown@1.2.15:
21112945 dependencies:
21122946 '@oxc-project/types': 0.155.0
@@ -2128,6 +2962,13 @@ snapshots:
21282962 '@rolldown/binding-win32-arm64-msvc': 1.2.15
21292963 '@rolldown/binding-win32-x64-msvc': 1.2.15
21302964
2965+ roughjs@4.6.6:
2966+ dependencies:
2967+ hachure-fill: 0.5.2
2968+ path-data-parser: 0.1.0
2969+ points-on-curve: 0.2.0
2970+ points-on-path: 0.2.1
2971+
21312972 runed@0.23.4(svelte@5.57.3):
21322973 dependencies:
21332974 esm-env: 1.2.2
@@ -2138,10 +2979,14 @@ snapshots:
21382979 esm-env: 1.2.2
21392980 svelte: 5.57.3
21402981
2982+ rw@1.3.3: {}
2983+
21412984 sade@1.8.1:
21422985 dependencies:
21432986 mri: 1.2.0
21442987
2988+ safer-buffer@2.1.2: {}
2989+
21452990 saxes@6.0.0:
21462991 dependencies:
21472992 xmlchars: 2.2.0
@@ -2174,6 +3019,8 @@ snapshots:
21743019 dependencies:
21753020 inline-style-parser: 0.2.7
21763021
3022+ stylis@4.4.0: {}
3023+
21773024 svelte-check@4.7.7(picomatch@4.0.7)(svelte@5.57.3)(typescript@5.9.3):
21783025 dependencies:
21793026 '@jridgewell/trace-mapping': 0.3.31
@@ -2239,6 +3086,8 @@ snapshots:
22393086
22403087 trim-lines@3.0.1: {}
22413088
3089+ ts-dedent@2.3.0: {}
3090+
22423091 tslib@2.8.1: {}
22433092
22443093 typescript@5.9.3: {}
@@ -2270,6 +3119,8 @@ snapshots:
22703119 unist-util-is: 6.0.1
22713120 unist-util-visit-parents: 6.1.0
22723121
3122+ uuid@14.0.3: {}
3123+
22733124 vfile-message@4.0.3:
22743125 dependencies:
22753126 '@types/unist': 3.0.3
@@ -250,6 +250,9 @@ importers:
250 markdown-it:250 markdown-it:
251 specifier: 15.0.3251 specifier: 15.0.3
252 version: 15.0.3252 version: 15.0.3
253+ mermaid:
254+ specifier: 12.2.0
255+ version: 12.2.0
253 paneforge:256 paneforge:
254 specifier: 1.0.2257 specifier: 1.0.2
255 version: 1.0.2(svelte@5.57.3)258 version: 1.0.2(svelte@5.57.3)
@@ -290,6 +293,9 @@ importers:
290 293
291 packages:294 packages:
292 295
296+ '@antfu/install-pkg@2.1.0':
297+ resolution: {integrity: sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw==}
298+
293 '@asamuzakjp/css-color@7.1.9':299 '@asamuzakjp/css-color@7.1.9':
294 resolution: {integrity: sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==}300 resolution: {integrity: sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==}
295 engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0}301 engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0}
@@ -307,10 +313,28 @@ packages:
307 highlight.js:313 highlight.js:
308 optional: true314 optional: true
309 315
316+ '@braintree/sanitize-url@7.1.2':
317+ resolution: {integrity: sha512-jigsZK+sMF/cuiB7sERuo9V7N9jx+dhmHHnQyDSVdpZwVutaBu7WvNYqMDLSgFgfB30n452TP3vjDAvFC973mA==}
318+
310 '@bramus/specificity@2.4.3':319 '@bramus/specificity@2.4.3':
311 resolution: {integrity: sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==}320 resolution: {integrity: sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==}
312 hasBin: true321 hasBin: true
313 322
323+ '@chevrotain/cst-dts-gen@13.2.0':
324+ resolution: {integrity: sha512-bA9dvWlhAUcHkNwU+8w9yiUxJPlj/Lm3VqS7MD+NbIR/7LmpNLuK/AWNFdCo/T3SK5ND0/UHf3IJvl/Jn/i6yg==}
325+
326+ '@chevrotain/gast@13.2.0':
327+ resolution: {integrity: sha512-bCARdAsG+eEbOveSXcOAC7pVxA04I1ionzeMOwIYf5NX7SaS7zgn4Dgug2BSqoL+iyKeMNSorQjsFSHJHsCNwg==}
328+
329+ '@chevrotain/regexp-to-ast@13.2.0':
330+ resolution: {integrity: sha512-kxpUkLtiaK09ph+dib+Yvm+3sWSnuwlo25gqfKRgTPNmF6H7uW4gVkMjaRdtnN783S9sM6vUNWh9CsxYX4QwKw==}
331+
332+ '@chevrotain/types@13.2.0':
333+ resolution: {integrity: sha512-7qrYHRlKfWf2AvBfJi5eVOrKAkbxvMFsy/iIHTGIiApNcEecCaVIdR+mIQhyCBsTDJxBz4JWXHMo6krbhR9hVg==}
334+
335+ '@chevrotain/utils@13.2.0':
336+ resolution: {integrity: sha512-SzKYY68rseOrb9KILVzPsl6SjkQtdWw01SRGB5aCVI5kFcHltQsOYV3JB0Ffst72DgkvHCyDQ0NLwxtmCCf97Q==}
337+
314 '@codemirror/autocomplete@6.20.3':338 '@codemirror/autocomplete@6.20.3':
315 resolution: {integrity: sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==}339 resolution: {integrity: sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==}
316 340
@@ -428,6 +452,12 @@ packages:
428 '@noble/hashes':452 '@noble/hashes':
429 optional: true453 optional: true
430 454
455+ '@iconify/types@2.0.0':
456+ resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
457+
458+ '@iconify/utils@3.1.7':
459+ resolution: {integrity: sha512-JZHlwdID+dy+lTgbYC8NEC4zeugqeYsc6jewvzb4c58kHauJn+X7rNwQjxz5p2qSjqaEeQoLkCIQ9v/H4PK0/w==}
460+
431 '@jridgewell/gen-mapping@0.3.13':461 '@jridgewell/gen-mapping@0.3.13':
432 resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}462 resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
433 463
@@ -495,6 +525,10 @@ packages:
495 '@marijn/find-cluster-break@1.0.4':525 '@marijn/find-cluster-break@1.0.4':
496 resolution: {integrity: sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==}526 resolution: {integrity: sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==}
497 527
528+ '@mermaid-js/parser@2.0.1':
529+ resolution: {integrity: sha512-j37dj/h6p6pots1L7pLPPNuABEEu9WP4OYg9pW1g+nYG331j0+3canE9OagtYdytYvdSAMG+2fKU5cxep6LgjA==}
530+ engines: {node: '>=22.12.0'}
531+
498 '@oxc-project/types@0.155.0':532 '@oxc-project/types@0.155.0':
499 resolution: {integrity: sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==}533 resolution: {integrity: sha512-SeE8JPwW1xs1tHeNycjUtUBdhorRa8o4jlvjwk49R7/Z291i+4DQa7JJIgOm/TaYQZx+QrPQbVJ/9c8dMIZN8Q==}
500 534
@@ -650,12 +684,108 @@ packages:
650 '@types/chai@5.2.3':684 '@types/chai@5.2.3':
651 resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}685 resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==}
652 686
687+ '@types/d3-array@3.2.2':
688+ resolution: {integrity: sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==}
689+
690+ '@types/d3-axis@3.0.6':
691+ resolution: {integrity: sha512-pYeijfZuBd87T0hGn0FO1vQ/cgLk6E1ALJjfkC0oJ8cbwkZl3TpgS8bVBLZN+2jjGgg38epgxb2zmoGtSfvgMw==}
692+
693+ '@types/d3-brush@3.0.6':
694+ resolution: {integrity: sha512-nH60IZNNxEcrh6L1ZSMNA28rj27ut/2ZmI3r96Zd+1jrZD++zD3LsMIjWlvg4AYrHn/Pqz4CF3veCxGjtbqt7A==}
695+
696+ '@types/d3-chord@3.0.6':
697+ resolution: {integrity: sha512-LFYWWd8nwfwEmTZG9PfQxd17HbNPksHBiJHaKuY1XeqscXacsS2tyoo6OdRsjf+NQYeB6XrNL3a25E3gH69lcg==}
698+
699+ '@types/d3-color@3.1.3':
700+ resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}
701+
702+ '@types/d3-contour@3.0.6':
703+ resolution: {integrity: sha512-BjzLgXGnCWjUSYGfH1cpdo41/hgdWETu4YxpezoztawmqsvCeep+8QGfiY6YbDvfgHz/DkjeIkkZVJavB4a3rg==}
704+
705+ '@types/d3-delaunay@6.0.4':
706+ resolution: {integrity: sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==}
707+
708+ '@types/d3-dispatch@3.0.7':
709+ resolution: {integrity: sha512-5o9OIAdKkhN1QItV2oqaE5KMIiXAvDWBDPrD85e58Qlz1c1kI/J0NcqbEG88CoTwJrYe7ntUCVfeUl2UJKbWgA==}
710+
711+ '@types/d3-drag@3.0.7':
712+ resolution: {integrity: sha512-HE3jVKlzU9AaMazNufooRJ5ZpWmLIoc90A37WU2JMmeq28w1FQqCZswHZ3xR+SuxYftzHq6WU6KJHvqxKzTxxQ==}
713+
714+ '@types/d3-dsv@3.0.7':
715+ resolution: {integrity: sha512-n6QBF9/+XASqcKK6waudgL0pf/S5XHPPI8APyMLLUHd8NqouBGLsU8MgtO7NINGtPBtk9Kko/W4ea0oAspwh9g==}
716+
717+ '@types/d3-ease@3.0.2':
718+ resolution: {integrity: sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==}
719+
720+ '@types/d3-fetch@3.0.7':
721+ resolution: {integrity: sha512-fTAfNmxSb9SOWNB9IoG5c8Hg6R+AzUHDRlsXsDZsNp6sxAEOP0tkP3gKkNSO/qmHPoBFTxNrjDprVHDQDvo5aA==}
722+
723+ '@types/d3-force@3.0.10':
724+ resolution: {integrity: sha512-ZYeSaCF3p73RdOKcjj+swRlZfnYpK1EbaDiYICEEp5Q6sUiqFaFQ9qgoshp5CzIyyb/yD09kD9o2zEltCexlgw==}
725+
726+ '@types/d3-format@3.0.4':
727+ resolution: {integrity: sha512-fALi2aI6shfg7vM5KiR1wNJnZ7r6UuggVqtDA+xiEdPZQwy/trcQaHnwShLuLdta2rTymCNpxYTiMZX/e09F4g==}
728+
729+ '@types/d3-geo@3.1.1':
730+ resolution: {integrity: sha512-65Emv9fQiQQqphLlRkuQ5ypPsOmWPhtBGCMv61JDPEPMvsx+gzhGf74yw1a78xFKPj6zw4AgQICJoQv0vK9M2w==}
731+
732+ '@types/d3-hierarchy@3.1.7':
733+ resolution: {integrity: sha512-tJFtNoYBtRtkNysX1Xq4sxtjK8YgoWUNpIiUee0/jHGRwqvzYxkq0hGVbbOGSz+JgFxxRu4K8nb3YpG3CMARtg==}
734+
735+ '@types/d3-interpolate@3.0.4':
736+ resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}
737+
738+ '@types/d3-path@3.1.1':
739+ resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==}
740+
741+ '@types/d3-polygon@3.0.2':
742+ resolution: {integrity: sha512-ZuWOtMaHCkN9xoeEMr1ubW2nGWsp4nIql+OPQRstu4ypeZ+zk3YKqQT0CXVe/PYqrKpZAi+J9mTs05TKwjXSRA==}
743+
744+ '@types/d3-quadtree@3.0.6':
745+ resolution: {integrity: sha512-oUzyO1/Zm6rsxKRHA1vH0NEDG58HrT5icx/azi9MF1TWdtttWl0UIUsjEQBBh+SIkrpd21ZjEv7ptxWys1ncsg==}
746+
747+ '@types/d3-random@3.0.4':
748+ resolution: {integrity: sha512-UHYId5WTCx4L4YNel7NU00XUXXgvgpgZOvp10PuvsQENjMDXhh2RyFc0KBjO7B45ne4Ha1yVH7ii0vnzKkuzWA==}
749+
750+ '@types/d3-scale-chromatic@3.1.0':
751+ resolution: {integrity: sha512-iWMJgwkK7yTRmWqRB5plb1kadXyQ5Sj8V/zYlFGMUBbIPKQScw+Dku9cAAMgJG+z5GYDoMjWGLVOvjghDEFnKQ==}
752+
753+ '@types/d3-scale@4.0.9':
754+ resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==}
755+
756+ '@types/d3-selection@3.0.12':
757+ resolution: {integrity: sha512-Qe/KWYhEiIIxGs7HrAAjMfShxKldx19SJtr5zu53f3afPsdZNz7HHtdTLXo/kqeiWNXVycI24kSnfzBYkTzpgw==}
758+
759+ '@types/d3-shape@3.2.0':
760+ resolution: {integrity: sha512-kVd74ta9eof3eJOvbNd1vGKS/XERRyQbT26Og63hIsvDO84cjD5gEOhsXf26w3FSoNlPVz84DOFcKv/oou+fMw==}
761+
762+ '@types/d3-time-format@4.0.3':
763+ resolution: {integrity: sha512-5xg9rC+wWL8kdDj153qZcsJ0FWiFt0J5RB6LYUNZjwSnesfblqrI/bJ1wBdJ8OQfncgbJG5+2F+qfqnqyzYxyg==}
764+
765+ '@types/d3-time@3.0.4':
766+ resolution: {integrity: sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==}
767+
768+ '@types/d3-timer@3.0.2':
769+ resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}
770+
771+ '@types/d3-transition@3.0.9':
772+ resolution: {integrity: sha512-uZS5shfxzO3rGlu0cC3bjmMFKsXv+SmZZcgp0KD22ts4uGXp5EVYGzu/0YdwZeKmddhcAccYtREJKkPfXkZuCg==}
773+
774+ '@types/d3-zoom@3.0.9':
775+ resolution: {integrity: sha512-0sE1406XBYJGiqD3AusTl9ZqC//2mIXix51tbom25gDCA8ri4xnSZg28CaSE8Srl6FClqABUKfsn0qghgdepMA==}
776+
777+ '@types/d3@7.4.3':
778+ resolution: {integrity: sha512-lZXZ9ckh5R8uiFVt8ogUNf+pIrK4EsWrx2Np75WvF/eTpJ0FMHNhjXk8CKEx/+gpHbNQyJWehbFaTvqmHWB3ww==}
779+
653 '@types/deep-eql@4.0.2':780 '@types/deep-eql@4.0.2':
654 resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}781 resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==}
655 782
656 '@types/estree@1.0.9':783 '@types/estree@1.0.9':
657 resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}784 resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==}
658 785
786+ '@types/geojson@7946.0.16':
787+ resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==}
788+
659 '@types/hast@3.0.5':789 '@types/hast@3.0.5':
660 resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==}790 resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==}
661 791
@@ -680,6 +810,9 @@ packages:
680 '@ungap/structured-clone@1.4.0':810 '@ungap/structured-clone@1.4.0':
681 resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==}811 resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==}
682 812
813+ '@upsetjs/venn.js@2.0.0':
814+ resolution: {integrity: sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==}
815+
683 '@vitest/mocker@5.0.4':816 '@vitest/mocker@5.0.4':
684 resolution: {integrity: sha512-tqAlrYWce4iUxhr3ncNohejtCTOcHeE8XWrSNZY3OhPoDn01yeGv+gnaBy64ATp7o6pb03eIbBAjzmibpc9vIQ==}817 resolution: {integrity: sha512-tqAlrYWce4iUxhr3ncNohejtCTOcHeE8XWrSNZY3OhPoDn01yeGv+gnaBy64ATp7o6pb03eIbBAjzmibpc9vIQ==}
685 peerDependencies:818 peerDependencies:
@@ -739,6 +872,10 @@ packages:
739 character-entities-legacy@3.0.0:872 character-entities-legacy@3.0.0:
740 resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==}873 resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==}
741 874
875+ chevrotain@13.2.0:
876+ resolution: {integrity: sha512-GTouk5YzgBxlTPCaDn5q0q2EJKkrYmnPF+HmF8v0Qo4r3iyPG7HJivkN1wthCXZcm3sIcZFpGTRovLPNdJNRCA==}
877+ engines: {node: '>=22.0.0'}
878+
742 chokidar@4.0.3:879 chokidar@4.0.3:
743 resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}880 resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
744 engines: {node: '>= 14.16.0'}881 engines: {node: '>= 14.16.0'}
@@ -753,6 +890,20 @@ packages:
753 comma-separated-tokens@2.0.3:890 comma-separated-tokens@2.0.3:
754 resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}891 resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}
755 892
893+ commander@15.1.0:
894+ resolution: {integrity: sha512-cgnQ88TRrWcC7pVq46RzJVRMktu3W2RcbnoidnfBsl1bmDCBwJS/udcIZpKoCrbAYYaCqsz1yZCVIgbIaU3ddQ==}
895+ engines: {node: '>=22.12.0'}
896+
897+ commander@7.2.0:
898+ resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}
899+ engines: {node: '>= 10'}
900+
901+ cose-base@1.0.3:
902+ resolution: {integrity: sha512-s9whTXInMSgAp/NVXVNuVxVKzGH2qck3aQlVHxDCdAEPgtMKwc4Wq6/QKhgdEdgbLSi9rBTAcPoRa6JpiG4ksg==}
903+
904+ cose-base@2.2.0:
905+ resolution: {integrity: sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==}
906+
756 crelt@1.0.7:907 crelt@1.0.7:
757 resolution: {integrity: sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==}908 resolution: {integrity: sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==}
758 909
@@ -760,10 +911,169 @@ packages:
760 resolution: {integrity: sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==}911 resolution: {integrity: sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==}
761 engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}912 engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0}
762 913
914+ cytoscape-cose-bilkent@4.1.0:
915+ resolution: {integrity: sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==}
916+ peerDependencies:
917+ cytoscape: ^3.2.0
918+
919+ cytoscape-fcose@2.2.0:
920+ resolution: {integrity: sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==}
921+ peerDependencies:
922+ cytoscape: ^3.2.0
923+
924+ cytoscape@3.35.0:
925+ resolution: {integrity: sha512-sMvBIXiGMnhkCaWz2R06FwF/27MNlS+Tqvi17foO9UhnUg3XGZccKjxsvEqQFAQYMSSZmN5SxYzUYlQ0DOJJ3g==}
926+ engines: {node: '>=0.10'}
927+
928+ d3-array@2.12.1:
929+ resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==}
930+
931+ d3-array@3.2.5:
932+ resolution: {integrity: sha512-Th8qGXoBalmWsstpkuhmBuTsBQIFqYOJtjlBvNVvBfJ8E3uYusBUwUR8HU20U0qKKQkgCvKyR1YjiozWadk5QA==}
933+ engines: {node: '>=12'}
934+
935+ d3-axis@3.0.1:
936+ resolution: {integrity: sha512-E5QCXfaf/uJZEHHiqoWRq+bQEm2PzoVFv2rDC7CZ3wwI0MjfMW3w83J3ubobG4IJj3lShAI5eiPJhOu/8wHofA==}
937+ engines: {node: '>=12'}
938+
939+ d3-brush@3.0.1:
940+ resolution: {integrity: sha512-L5Glqa/Gb7LU3ndIOMtA5mDzlJ0aXKp5ELP2X09ctWF23jO7+faIUVDbmaIi+D6k3EemXFWn1F3lkfguExoVhA==}
941+ engines: {node: '>=12'}
942+
943+ d3-chord@3.0.2:
944+ resolution: {integrity: sha512-cGmADo5M2PTi3ewJZ2lcE32eURd4JmHtQ5JwRIUcas5L1SXqufG9yPyjWp8fW0gRi7aZi9bgbZPFZO1eyZ+1CQ==}
945+ engines: {node: '>=12'}
946+
947+ d3-color@3.1.1:
948+ resolution: {integrity: sha512-lfab8x0Bj0UO7SNsY8dZSbNIA6ipbkE3X0NG9nqjCu6CfCHZseuDnOSJY7hidKrjpP++i1M2qT+FlAdPKYRilA==}
949+ engines: {node: '>=12'}
950+
951+ d3-contour@4.0.3:
952+ resolution: {integrity: sha512-5DYURc8KwXPOhSUBblU0P9rVcArsSPxPOxsfO0Eud0s28oU0sB2e80aRHRL9AZW3usT8ikFKyIHpHHLNWLdRVA==}
953+ engines: {node: '>=12'}
954+
955+ d3-delaunay@6.0.6:
956+ resolution: {integrity: sha512-DMQIEvSJhZCB6pwedcXaAlQ+MeKU5LlM2XakKtc73b/VM+RBiI1SRXycOEOKg2jsKj4zZ9F0KGYG6nCGwwWu/g==}
957+ engines: {node: '>=12'}
958+
959+ d3-dispatch@3.0.2:
960+ resolution: {integrity: sha512-sAzH4Y4nsLo8eSqw5jKiZt+LU2wZmL/qS+OkxQGjhwazB/D7TY34R/QK1eshfGr7cZEKymKZ/Haem7m+lu98Sg==}
961+ engines: {node: '>=12'}
962+
963+ d3-drag@3.0.1:
964+ resolution: {integrity: sha512-OWeoayCq8J69hUIjvL+Mb6Q6Oaj/fyHV5XaXByEUAG+JUjIfTGDnk3qGpcXrD3VmQ3BSV96fcbM6fqq7C0tbPA==}
965+ engines: {node: '>=12'}
966+
967+ d3-dsv@3.0.2:
968+ resolution: {integrity: sha512-FUnXhX7I4/AXyRCZzwfZTDGSq8PGZ4oR0tiCBqNGOZMsDrQ+6sIWNQnBzcCGhzJKZ6uCvCezTwflUqI209RRiQ==}
969+ engines: {node: '>=12'}
970+ hasBin: true
971+
972+ d3-ease@3.0.2:
973+ resolution: {integrity: sha512-B5znKqRmKROAN4oHWQ50W/qisVjA9GXh2WMsVKdFVp4DxWmcrOsweqgUOUVsv5th96kwaZlokU6SlV4J3gak1w==}
974+ engines: {node: '>=12'}
975+
976+ d3-fetch@3.0.2:
977+ resolution: {integrity: sha512-1wGF62bgjMRbF6mqbD+6rRWBL2hwWVYQjFO2UP3Wm1nIAvJZKaQxXM5caVY7athoCa8wIq9lCf7g44lPWFk50g==}
978+ engines: {node: '>=12'}
979+
980+ d3-force@3.0.1:
981+ resolution: {integrity: sha512-kAaaHLFebBYwgi5cYBXAI8vKrQFMCD2MEswj2QuPKKbdU1wYLc8WXtS7O8F/b6POCIe3gJjY6hkDstHi1yMETQ==}
982+ engines: {node: '>=12'}
983+
984+ d3-format@3.1.3:
985+ resolution: {integrity: sha512-+F+/49swqmGuQJmSKnVMIDH/QkEFV5li9QRj0xm/KhyAUBv099O5PrvpQFxBp24PYph17Mnvt9mjKQV0ii0nMA==}
986+ engines: {node: '>=12'}
987+
988+ d3-geo@3.1.2:
989+ resolution: {integrity: sha512-5R8ZgDQorIxmauv7R6gpE/ndz+Z0qAZssigq0aXFdvPHdY41RqtW02jrRUQAL724NdPABYXo1+gQEGBBr7uKNg==}
990+ engines: {node: '>=12'}
991+
992+ d3-hierarchy@3.1.3:
993+ resolution: {integrity: sha512-GRajN5ZcnEwYFWqqdzhG1qJ3+fDg6WWzk47TJg7ePY7yvYAgRfD2r1mUx+wviBOWuCwamCUzjwMSdato43jbGA==}
994+ engines: {node: '>=12'}
995+
996+ d3-interpolate@3.0.2:
997+ resolution: {integrity: sha512-IRzGU62DtxhvsnSTWMQIdnoZ6gA+BCWwBon1EJI6SjoN595799b6z/QRBzXfFhE8iupUPp3042yBNo0STPqnzQ==}
998+ engines: {node: '>=12'}
999+
1000+ d3-path@1.0.9:
1001+ resolution: {integrity: sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==}
1002+
1003+ d3-path@3.1.1:
1004+ resolution: {integrity: sha512-jsbgV8zIT38ReB9O7X7gcLndTQRONSqNNd+oGIaTBdUug4r5jFmp0N6RY9R5GWbdUDucn0qoTGyfjapT4tDhcg==}
1005+ engines: {node: '>=12'}
1006+
1007+ d3-polygon@3.0.2:
1008+ resolution: {integrity: sha512-WAUvPudGU1Dn4mDPfb6+JnnbeVEV53hG/BoT+bxts6AkZsOpTEiV1jHYX+2vtwCICNFG9Wxv8QS+eW1zE/Dwfg==}
1009+ engines: {node: '>=12'}
1010+
1011+ d3-quadtree@3.0.2:
1012+ resolution: {integrity: sha512-9Lu9mqJKRbIk0d6mKDjpvPURaPdwHVK5CYbcdd0/4vBgz4ldz/7TIOse3kNERsByGNfld58KEco507AztJWyTQ==}
1013+ engines: {node: '>=12'}
1014+
1015+ d3-random@3.0.2:
1016+ resolution: {integrity: sha512-PxJi9LNV+7mulaYO77nd+oGurXGL1fhedXjHnB3pWLUcqDnQtF4VASoqnQGHgoXLByVdv5QJ/2kfwkGn5HTS8g==}
1017+ engines: {node: '>=12'}
1018+
1019+ d3-sankey@0.12.3:
1020+ resolution: {integrity: sha512-nQhsBRmM19Ax5xEIPLMY9ZmJ/cDvd1BG3UVvt5h3WRxKg5zGRbvnteTyWAbzeSvlh3tW7ZEmq4VwR5mB3tutmQ==}
1021+
1022+ d3-scale-chromatic@3.1.1:
1023+ resolution: {integrity: sha512-lA5gfN2yMvmChubmptnDiBfeGpHD7Yb1EbvCz0TZE0WHXhyR6W2allPuhKtzV5ILQRqeOdefF0qYtERReLUBDg==}
1024+ engines: {node: '>=12'}
1025+
1026+ d3-scale@4.0.3:
1027+ resolution: {integrity: sha512-66cWobCNzcMvlfoaDHCxuIv9TBUWG1BLOWdv9kHHFuCr1JdqAWPvTmsaEYDD5NRMyWZ5+7u0GqiCDfMXMqh3hg==}
1028+ engines: {node: '>=12'}
1029+
1030+ d3-selection@3.0.1:
1031+ resolution: {integrity: sha512-ODSf35vqCrlCfp7hrm0eZjvOosSXSYLjqvIlhMBV9q9VOx7EBJG6pc+uXBswEZNJgCGJ+qnKYcWutbZDIxe/Xg==}
1032+ engines: {node: '>=12'}
1033+
1034+ d3-shape@1.3.7:
1035+ resolution: {integrity: sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==}
1036+
1037+ d3-shape@3.2.1:
1038+ resolution: {integrity: sha512-dm2o+lbKdzg9tY7GEag/dB9hcbodLfwkE/DkvqbELJXaMz0yKzWWhZqhbI7CKubukA7HnRyz0avdtvi7EPxPvw==}
1039+ engines: {node: '>=12'}
1040+
1041+ d3-time-format@4.1.1:
1042+ resolution: {integrity: sha512-22XaqjyCjpqgda20erhsOjGmC3vvYwTNYniKAd45W5UWLDF43moeOuV9qYpRqobIlsnK0UhnKZjUUJm3VgORUA==}
1043+ engines: {node: '>=12'}
1044+
1045+ d3-time@3.1.1:
1046+ resolution: {integrity: sha512-Ze7rjrhMzdeulh0/hjcfFj7XLAHOfowtEMfsoG6DU866HPynQNW7Wfen6hzXcqKTv8XzxvF6Hzr5XD6bMHr2ug==}
1047+ engines: {node: '>=12'}
1048+
1049+ d3-timer@3.0.2:
1050+ resolution: {integrity: sha512-1Il1aliroVSErrv5aulRBxAY+7+DnaoLIWGd1C6SsBTWDeobWiP/V69vwb8vT6abR1kKwaNe1196pmaQ1fK90A==}
1051+ engines: {node: '>=12'}
1052+
1053+ d3-transition@3.0.2:
1054+ resolution: {integrity: sha512-RcjCsdFgyFoDB+QXLC5m60ZkTN0k9zH+ovoLlTdJnDS1AbfbcuowiM4pCKSTOclNibS4f4J4cbv2m7O7y8NTOQ==}
1055+ engines: {node: '>=12'}
1056+ peerDependencies:
1057+ d3-selection: 2 - 3
1058+
1059+ d3-zoom@3.0.1:
1060+ resolution: {integrity: sha512-kfjD3BDQu/FOatpZ6JdMSyIoDwTxIpI29ySTI2J5ZlDaH1WbuJGQJ2Q9oJkWTEZEW98j6idezoomSD3Cn2zwiw==}
1061+ engines: {node: '>=12'}
1062+
1063+ d3@7.9.2:
1064+ resolution: {integrity: sha512-ZKb/mONPVKzaO5UlcWcwN8bS4ezvQaYu+bsou+XgNABdGC800kwH651ADTbbTxMPHW13UlvbQafdmJQDk1w7Mg==}
1065+ engines: {node: '>=12'}
1066+
1067+ dagre-d3-es@7.0.14:
1068+ resolution: {integrity: sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==}
1069+
763 data-urls@8.0.0:1070 data-urls@8.0.0:
764 resolution: {integrity: sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==}1071 resolution: {integrity: sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==}
765 engines: {node: ^22.14.0 || >=24.0.0}1072 engines: {node: ^22.14.0 || >=24.0.0}
766 1073
1074+ dayjs@1.11.23:
1075+ resolution: {integrity: sha512-QDTCU0M0MxR3hQfnlDJfwekQiaanm1ubOD231u73WBckQ/fsamwRLiE2GBz6D3a/xF1NgfiDLJjXBa1hYOYTtQ==}
1076+
767 decimal.js@10.6.0:1077 decimal.js@10.6.0:
768 resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==}1078 resolution: {integrity: sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==}
769 1079
@@ -771,6 +1081,9 @@ packages:
771 resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}1081 resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}
772 engines: {node: '>=0.10.0'}1082 engines: {node: '>=0.10.0'}
773 1083
1084+ delaunator@5.1.0:
1085+ resolution: {integrity: sha512-AGrQ4QSgssa1NGmWmLPqN5NY2KajF5MqxetNEO+o0n3ZwZZeTmt7bBnvzHWrmkZFxGgr4HdyFgelzgi06otLuQ==}
1086+
774 dequal@2.0.3:1087 dequal@2.0.3:
775 resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}1088 resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
776 engines: {node: '>=6'}1089 engines: {node: '>=6'}
@@ -788,6 +1101,9 @@ packages:
788 dompurify@3.4.17:1101 dompurify@3.4.17:
789 resolution: {integrity: sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==}1102 resolution: {integrity: sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==}
790 1103
1104+ elkjs@0.9.3:
1105+ resolution: {integrity: sha512-f/ZeWvW/BCXbhGEf1Ujp29EASo/lk1FDnETgNKwJrsVvGZhUWCZyg3xLJjAsxfOmt8KjswHmI5EwCQcPMpOYhQ==}
1106+
791 entities@8.1.0:1107 entities@8.1.0:
792 resolution: {integrity: sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==}1108 resolution: {integrity: sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==}
793 engines: {node: '>=20.19.0'}1109 engines: {node: '>=20.19.0'}
@@ -795,6 +1111,9 @@ packages:
795 es-module-lexer@2.3.2:1111 es-module-lexer@2.3.2:
796 resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==}1112 resolution: {integrity: sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==}
797 1113
1114+ es-toolkit@1.53.2:
1115+ resolution: {integrity: sha512-iUqZ+NlwH4jUgRmXZUxFBsV/9762TQEa1O4IXLFBmDEjVHScBytKuseX23I0+v9ShZ5MYxEx6WKNzm6IPnex8g==}
1116+
798 esm-env@1.2.2:1117 esm-env@1.2.2:
799 resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==}1118 resolution: {integrity: sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==}
800 1119
@@ -827,6 +1146,9 @@ packages:
827 engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}1146 engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
828 os: [darwin]1147 os: [darwin]
829 1148
1149+ hachure-fill@0.5.2:
1150+ resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==}
1151+
830 hast-util-to-html@9.0.5:1152 hast-util-to-html@9.0.5:
831 resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==}1153 resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==}
832 1154
@@ -840,9 +1162,23 @@ packages:
840 html-void-elements@3.0.0:1162 html-void-elements@3.0.0:
841 resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==}1163 resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==}
842 1164
1165+ iconv-lite@0.6.3:
1166+ resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
1167+ engines: {node: '>=0.10.0'}
1168+
1169+ import-meta-resolve@4.2.0:
1170+ resolution: {integrity: sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg==}
1171+
843 inline-style-parser@0.2.7:1172 inline-style-parser@0.2.7:
844 resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==}1173 resolution: {integrity: sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==}
845 1174
1175+ internmap@1.0.1:
1176+ resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==}
1177+
1178+ internmap@2.0.3:
1179+ resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
1180+ engines: {node: '>=12'}
1181+
846 is-potential-custom-element-name@1.0.1:1182 is-potential-custom-element-name@1.0.1:
847 resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}1183 resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==}
848 1184
@@ -858,6 +1194,19 @@ packages:
858 canvas:1194 canvas:
859 optional: true1195 optional: true
860 1196
1197+ katex@0.18.10:
1198+ resolution: {integrity: sha512-/B6p9eY9DX7aHBfpkHdpirDTZ5QH9xTwL9y837PWuzuv41O5jFdqNQwVQEQsimY0/iVNkwBY4+4hMfhQ7d4Dbw==}
1199+ hasBin: true
1200+
1201+ khroma@2.1.0:
1202+ resolution: {integrity: sha512-Ls993zuzfayK269Svk9hzpeGUKob/sIgZzyHYdjQoAdQetRKpOLj+k/QQQ/6Qi0Yz65mlROrfd+Ev+1+7dz9Kw==}
1203+
1204+ layout-base@1.0.2:
1205+ resolution: {integrity: sha512-8h2oVEZNktL4BH2JCOI90iD1yXwL6iNW7KcCKT2QZgQJR2vbqDsldCTPRU9NifTCqHZci57XvQQ15YTu+sTYPg==}
1206+
1207+ layout-base@2.0.1:
1208+ resolution: {integrity: sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==}
1209+
861 lightningcss-android-arm64@1.33.0:1210 lightningcss-android-arm64@1.33.0:
862 resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}1211 resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==}
863 engines: {node: '>= 12.0.0'}1212 engines: {node: '>= 12.0.0'}
@@ -938,6 +1287,9 @@ packages:
938 locate-character@3.0.0:1287 locate-character@3.0.0:
939 resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==}1288 resolution: {integrity: sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==}
940 1289
1290+ lodash-es@4.18.1:
1291+ resolution: {integrity: sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==}
1292+
941 lru-cache@11.5.3:1293 lru-cache@11.5.3:
942 resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==}1294 resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==}
943 engines: {node: 20 || >=22}1295 engines: {node: 20 || >=22}
@@ -952,6 +1304,11 @@ packages:
952 resolution: {integrity: sha512-+Az7Ojz3iRGu8KYMvJ6xVhvrxP3eE+vEtJX75Ow88XBpcQNV/0lGX5ZynIIBftREo4DC2jsveAMDaeltmm8QvQ==}1304 resolution: {integrity: sha512-+Az7Ojz3iRGu8KYMvJ6xVhvrxP3eE+vEtJX75Ow88XBpcQNV/0lGX5ZynIIBftREo4DC2jsveAMDaeltmm8QvQ==}
953 hasBin: true1305 hasBin: true
954 1306
1307+ marked@16.4.2:
1308+ resolution: {integrity: sha512-TI3V8YYWvkVf3KJe1dRkpnjs68JUPyEa5vjKrp1XEEJUAOaQc+Qj+L1qWbPd0SJuAdQkFU0h73sXXqwDYxsiDA==}
1309+ engines: {node: '>= 20'}
1310+ hasBin: true
1311+
955 mdast-util-to-hast@13.2.1:1312 mdast-util-to-hast@13.2.1:
956 resolution: {integrity: sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==}1313 resolution: {integrity: sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==}
957 1314
@@ -961,6 +1318,10 @@ packages:
961 mdurl@2.1.0:1318 mdurl@2.1.0:
962 resolution: {integrity: sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==}1319 resolution: {integrity: sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==}
963 1320
1321+ mermaid@12.2.0:
1322+ resolution: {integrity: sha512-w7nr/SFrLO7BaVTs3dQTvYSV6nYSBj0Yy9DjBhsIJtAcHqRzXSq4Pg32ujHZ/AdWsAMNEvvhbm5dt9E2tOiHzw==}
1323+ engines: {node: '>=22.12.0'}
1324+
964 micromark-util-character@2.1.1:1325 micromark-util-character@2.1.1:
965 resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==}1326 resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==}
966 1327
@@ -999,6 +1360,9 @@ packages:
999 oniguruma-to-es@4.3.6:1360 oniguruma-to-es@4.3.6:
1000 resolution: {integrity: sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==}1361 resolution: {integrity: sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==}
1001 1362
1363+ package-manager-detector@1.9.0:
1364+ resolution: {integrity: sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==}
1365+
1002 paneforge@1.0.2:1366 paneforge@1.0.2:
1003 resolution: {integrity: sha512-KzmIXQH1wCfwZ4RsMohD/IUtEjVhteR+c+ulb/CHYJHX8SuDXoJmChtsc/Xs5Wl8NHS4L5Q7cxL8MG40gSU1bA==}1367 resolution: {integrity: sha512-KzmIXQH1wCfwZ4RsMohD/IUtEjVhteR+c+ulb/CHYJHX8SuDXoJmChtsc/Xs5Wl8NHS4L5Q7cxL8MG40gSU1bA==}
1004 peerDependencies:1368 peerDependencies:
@@ -1007,6 +1371,9 @@ packages:
1007 parse5@8.0.1:1371 parse5@8.0.1:
1008 resolution: {integrity: sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==}1372 resolution: {integrity: sha512-z1e/HMG90obSGeidlli3hj7cbocou0/wa5HacvI3ASx34PecNjNQeaHNo5WIZpWofN9kgkqV1q5YvXe3F0FoPw==}
1009 1373
1374+ path-data-parser@0.1.0:
1375+ resolution: {integrity: sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==}
1376+
1010 picocolors@1.1.1:1377 picocolors@1.1.1:
1011 resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}1378 resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
1012 1379
@@ -1014,6 +1381,12 @@ packages:
1014 resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}1381 resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==}
1015 engines: {node: '>=12'}1382 engines: {node: '>=12'}
1016 1383
1384+ points-on-curve@0.2.0:
1385+ resolution: {integrity: sha512-0mYKnYYe9ZcqMCWhUjItv/oHjvgEsfKvnUTg8sAtnHr3GVy7rGkXCb6d5cSyqrWqL4k81b9CPg3urd+T7aop3A==}
1386+
1387+ points-on-path@0.2.1:
1388+ resolution: {integrity: sha512-25ClnWWuw7JbWZcgqY/gJ4FQWadKxGWk+3kR/7kD0tCaDtPPMj7oHu2ToLaVhfpnHrZzYby2w6tUA0eOIuUg8g==}
1389+
1017 postcss@8.5.32:1390 postcss@8.5.32:
1018 resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==}1391 resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==}
1019 engines: {node: ^10 || ^12 || >=14}1392 engines: {node: ^10 || ^12 || >=14}
@@ -1046,11 +1419,17 @@ packages:
1046 resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}1419 resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
1047 engines: {node: '>=0.10.0'}1420 engines: {node: '>=0.10.0'}
1048 1421
1422+ robust-predicates@3.0.3:
1423+ resolution: {integrity: sha512-NS3levdsRIUOmiJ8FZWCP7LG3QpJyrs/TE0Zpf1yvZu8cAJJ6QMW92H1c7kWpdIHo8RvmLxN/o2JXTKHp74lUA==}
1424+
1049 rolldown@1.2.15:1425 rolldown@1.2.15:
1050 resolution: {integrity: sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==}1426 resolution: {integrity: sha512-6odND+fel5zVw3I4Yc2e69gvguDnX0CAAGiNDZSq4ik5WUcaLrkD2GLuog0XcODbor31hZ5ayEMgVDno+KPV5g==}
1051 engines: {node: ^20.19.0 || >=22.12.0}1427 engines: {node: ^20.19.0 || >=22.12.0}
1052 hasBin: true1428 hasBin: true
1053 1429
1430+ roughjs@4.6.6:
1431+ resolution: {integrity: sha512-ZUz/69+SYpFN/g/lUlo2FXcIjRkSu3nDarreVdGGndHEBJ6cXPdKguS8JGxwj5HA5xIbVKSmLgr5b3AWxtRfvQ==}
1432+
1054 runed@0.23.4:1433 runed@0.23.4:
1055 resolution: {integrity: sha512-9q8oUiBYeXIDLWNK5DfCWlkL0EW3oGbk845VdKlPeia28l751VpfesaB/+7pI6rnbx1I6rqoZ2fZxptOJLxILA==}1434 resolution: {integrity: sha512-9q8oUiBYeXIDLWNK5DfCWlkL0EW3oGbk845VdKlPeia28l751VpfesaB/+7pI6rnbx1I6rqoZ2fZxptOJLxILA==}
1056 peerDependencies:1435 peerDependencies:
@@ -1061,10 +1440,16 @@ packages:
1061 peerDependencies:1440 peerDependencies:
1062 svelte: ^5.7.01441 svelte: ^5.7.0
1063 1442
1443+ rw@1.3.3:
1444+ resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==}
1445+
1064 sade@1.8.1:1446 sade@1.8.1:
1065 resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}1447 resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==}
1066 engines: {node: '>=6'}1448 engines: {node: '>=6'}
1067 1449
1450+ safer-buffer@2.1.2:
1451+ resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
1452+
1068 saxes@6.0.0:1453 saxes@6.0.0:
1069 resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}1454 resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
1070 engines: {node: '>=v12.22.7'}1455 engines: {node: '>=v12.22.7'}
@@ -1092,6 +1477,9 @@ packages:
1092 style-to-object@1.0.14:1477 style-to-object@1.0.14:
1093 resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==}1478 resolution: {integrity: sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==}
1094 1479
1480+ stylis@4.4.0:
1481+ resolution: {integrity: sha512-5Z9ZpRzfuH6l/UAvCPAPUo3665Nk2wLaZU3x+TLHKVzIz33+sbJqbtrYoC3KD4/uVOr2Zp+L0LySezP9OHV9yA==}
1482+
1095 svelte-check@4.7.7:1483 svelte-check@4.7.7:
1096 resolution: {integrity: sha512-Ge2IMdeTpbJuzNFGRiiMg0RWgbScysKQu7xwcyFJ22+DU9F5nPX51+Q3gHmGqRxYQMx2knreVWt5oCtfe0vf2g==}1484 resolution: {integrity: sha512-Ge2IMdeTpbJuzNFGRiiMg0RWgbScysKQu7xwcyFJ22+DU9F5nPX51+Q3gHmGqRxYQMx2knreVWt5oCtfe0vf2g==}
1097 engines: {node: '>= 18.0.0'}1485 engines: {node: '>= 18.0.0'}
@@ -1140,6 +1528,10 @@ packages:
1140 trim-lines@3.0.1:1528 trim-lines@3.0.1:
1141 resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}1529 resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}
1142 1530
1531+ ts-dedent@2.3.0:
1532+ resolution: {integrity: sha512-JfJeIHke7y2egdGGgRAvpCwYFUsHlM2gPcrVOxFkznt/4uzQ7HFmvE63iFHVLBJNDuyDOQgijDK/tXH/f6Msjg==}
1533+ engines: {node: '>=6.10'}
1534+
1143 tslib@2.8.1:1535 tslib@2.8.1:
1144 resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}1536 resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
1145 1537
@@ -1170,6 +1562,10 @@ packages:
1170 unist-util-visit@5.2.0:1562 unist-util-visit@5.2.0:
1171 resolution: {integrity: sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==}1563 resolution: {integrity: sha512-fpsYs/VVoZxfGY9/j3FQpZmN8wdLJaV1Pt38AaJNZu9uKIHcFU3halCdBveEq1HGKO1OEfJY65w1zvoFV1b3qQ==}
1172 1564
1565+ uuid@14.0.3:
1566+ resolution: {integrity: sha512-Sc5u1VVln93y1Xnz4R+CunOZc7R9LUcTmhj7Rc7Eg3HVcf7rVn2FOoa812fe0W8p3jD7xeoGSYbfqCGGH2B6xw==}
1567+ hasBin: true
1568+
1173 vfile-message@4.0.3:1569 vfile-message@4.0.3:
1174 resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}1570 resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}
1175 1571
@@ -1307,6 +1703,11 @@ packages:
1307 1703
1308 snapshots:1704 snapshots:
1309 1705
1706+ '@antfu/install-pkg@2.1.0':
1707+ dependencies:
1708+ package-manager-detector: 1.9.0
1709+ tinyexec: 1.3.1
1710+
1310 '@asamuzakjp/css-color@7.1.9':1711 '@asamuzakjp/css-color@7.1.9':
1311 dependencies:1712 dependencies:
1312 '@csstools/css-calc': 3.4.3(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2)1713 '@csstools/css-calc': 3.4.3(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2)
@@ -1324,10 +1725,27 @@ snapshots:
1324 1725
1325 '@asciidoctor/core@4.1.1': {}1726 '@asciidoctor/core@4.1.1': {}
1326 1727
1728+ '@braintree/sanitize-url@7.1.2': {}
1729+
1327 '@bramus/specificity@2.4.3':1730 '@bramus/specificity@2.4.3':
1328 dependencies:1731 dependencies:
1329 css-tree: 3.2.11732 css-tree: 3.2.1
1330 1733
1734+ '@chevrotain/cst-dts-gen@13.2.0':
1735+ dependencies:
1736+ '@chevrotain/gast': 13.2.0
1737+ '@chevrotain/types': 13.2.0
1738+
1739+ '@chevrotain/gast@13.2.0':
1740+ dependencies:
1741+ '@chevrotain/types': 13.2.0
1742+
1743+ '@chevrotain/regexp-to-ast@13.2.0': {}
1744+
1745+ '@chevrotain/types@13.2.0': {}
1746+
1747+ '@chevrotain/utils@13.2.0': {}
1748+
1331 '@codemirror/autocomplete@6.20.3':1749 '@codemirror/autocomplete@6.20.3':
1332 dependencies:1750 dependencies:
1333 '@codemirror/language': 6.13.11751 '@codemirror/language': 6.13.1
@@ -1526,6 +1944,14 @@ snapshots:
1526 1944
1527 '@exodus/bytes@1.16.0': {}1945 '@exodus/bytes@1.16.0': {}
1528 1946
1947+ '@iconify/types@2.0.0': {}
1948+
1949+ '@iconify/utils@3.1.7':
1950+ dependencies:
1951+ '@antfu/install-pkg': 2.1.0
1952+ '@iconify/types': 2.0.0
1953+ import-meta-resolve: 4.2.0
1954+
1529 '@jridgewell/gen-mapping@0.3.13':1955 '@jridgewell/gen-mapping@0.3.13':
1530 dependencies:1956 dependencies:
1531 '@jridgewell/sourcemap-codec': 1.6.01957 '@jridgewell/sourcemap-codec': 1.6.0
@@ -1634,6 +2060,10 @@ snapshots:
1634 2060
1635 '@marijn/find-cluster-break@1.0.4': {}2061 '@marijn/find-cluster-break@1.0.4': {}
1636 2062
2063+ '@mermaid-js/parser@2.0.1':
2064+ dependencies:
2065+ '@chevrotain/types': 13.2.0
2066+
1637 '@oxc-project/types@0.155.0': {}2067 '@oxc-project/types@0.155.0': {}
1638 2068
1639 '@rolldown/binding-android-arm-eabi@1.2.15':2069 '@rolldown/binding-android-arm-eabi@1.2.15':
@@ -1745,10 +2175,129 @@ snapshots:
1745 '@types/deep-eql': 4.0.22175 '@types/deep-eql': 4.0.2
1746 assertion-error: 2.0.12176 assertion-error: 2.0.1
1747 2177
2178+ '@types/d3-array@3.2.2': {}
2179+
2180+ '@types/d3-axis@3.0.6':
2181+ dependencies:
2182+ '@types/d3-selection': 3.0.12
2183+
2184+ '@types/d3-brush@3.0.6':
2185+ dependencies:
2186+ '@types/d3-selection': 3.0.12
2187+
2188+ '@types/d3-chord@3.0.6': {}
2189+
2190+ '@types/d3-color@3.1.3': {}
2191+
2192+ '@types/d3-contour@3.0.6':
2193+ dependencies:
2194+ '@types/d3-array': 3.2.2
2195+ '@types/geojson': 7946.0.16
2196+
2197+ '@types/d3-delaunay@6.0.4': {}
2198+
2199+ '@types/d3-dispatch@3.0.7': {}
2200+
2201+ '@types/d3-drag@3.0.7':
2202+ dependencies:
2203+ '@types/d3-selection': 3.0.12
2204+
2205+ '@types/d3-dsv@3.0.7': {}
2206+
2207+ '@types/d3-ease@3.0.2': {}
2208+
2209+ '@types/d3-fetch@3.0.7':
2210+ dependencies:
2211+ '@types/d3-dsv': 3.0.7
2212+
2213+ '@types/d3-force@3.0.10': {}
2214+
2215+ '@types/d3-format@3.0.4': {}
2216+
2217+ '@types/d3-geo@3.1.1':
2218+ dependencies:
2219+ '@types/geojson': 7946.0.16
2220+
2221+ '@types/d3-hierarchy@3.1.7': {}
2222+
2223+ '@types/d3-interpolate@3.0.4':
2224+ dependencies:
2225+ '@types/d3-color': 3.1.3
2226+
2227+ '@types/d3-path@3.1.1': {}
2228+
2229+ '@types/d3-polygon@3.0.2': {}
2230+
2231+ '@types/d3-quadtree@3.0.6': {}
2232+
2233+ '@types/d3-random@3.0.4': {}
2234+
2235+ '@types/d3-scale-chromatic@3.1.0': {}
2236+
2237+ '@types/d3-scale@4.0.9':
2238+ dependencies:
2239+ '@types/d3-time': 3.0.4
2240+
2241+ '@types/d3-selection@3.0.12': {}
2242+
2243+ '@types/d3-shape@3.2.0':
2244+ dependencies:
2245+ '@types/d3-path': 3.1.1
2246+
2247+ '@types/d3-time-format@4.0.3': {}
2248+
2249+ '@types/d3-time@3.0.4': {}
2250+
2251+ '@types/d3-timer@3.0.2': {}
2252+
2253+ '@types/d3-transition@3.0.9':
2254+ dependencies:
2255+ '@types/d3-selection': 3.0.12
2256+
2257+ '@types/d3-zoom@3.0.9':
2258+ dependencies:
2259+ '@types/d3-interpolate': 3.0.4
2260+ '@types/d3-selection': 3.0.12
2261+
2262+ '@types/d3@7.4.3':
2263+ dependencies:
2264+ '@types/d3-array': 3.2.2
2265+ '@types/d3-axis': 3.0.6
2266+ '@types/d3-brush': 3.0.6
2267+ '@types/d3-chord': 3.0.6
2268+ '@types/d3-color': 3.1.3
2269+ '@types/d3-contour': 3.0.6
2270+ '@types/d3-delaunay': 6.0.4
2271+ '@types/d3-dispatch': 3.0.7
2272+ '@types/d3-drag': 3.0.7
2273+ '@types/d3-dsv': 3.0.7
2274+ '@types/d3-ease': 3.0.2
2275+ '@types/d3-fetch': 3.0.7
2276+ '@types/d3-force': 3.0.10
2277+ '@types/d3-format': 3.0.4
2278+ '@types/d3-geo': 3.1.1
2279+ '@types/d3-hierarchy': 3.1.7
2280+ '@types/d3-interpolate': 3.0.4
2281+ '@types/d3-path': 3.1.1
2282+ '@types/d3-polygon': 3.0.2
2283+ '@types/d3-quadtree': 3.0.6
2284+ '@types/d3-random': 3.0.4
2285+ '@types/d3-scale': 4.0.9
2286+ '@types/d3-scale-chromatic': 3.1.0
2287+ '@types/d3-selection': 3.0.12
2288+ '@types/d3-shape': 3.2.0
2289+ '@types/d3-time': 3.0.4
2290+ '@types/d3-time-format': 4.0.3
2291+ '@types/d3-timer': 3.0.2
2292+ '@types/d3-transition': 3.0.9
2293+ '@types/d3-zoom': 3.0.9
2294+
1748 '@types/deep-eql@4.0.2': {}2295 '@types/deep-eql@4.0.2': {}
1749 2296
1750 '@types/estree@1.0.9': {}2297 '@types/estree@1.0.9': {}
1751 2298
2299+ '@types/geojson@7946.0.16': {}
2300+
1752 '@types/hast@3.0.5':2301 '@types/hast@3.0.5':
1753 dependencies:2302 dependencies:
1754 '@types/unist': 3.0.32303 '@types/unist': 3.0.3
@@ -1773,6 +2322,11 @@ snapshots:
1773 2322
1774 '@ungap/structured-clone@1.4.0': {}2323 '@ungap/structured-clone@1.4.0': {}
1775 2324
2325+ '@upsetjs/venn.js@2.0.0':
2326+ optionalDependencies:
2327+ d3-selection: 3.0.1
2328+ d3-transition: 3.0.2(d3-selection@3.0.1)
2329+
1776 '@vitest/mocker@5.0.4(vite@8.3.5)':2330 '@vitest/mocker@5.0.4(vite@8.3.5)':
1777 dependencies:2331 dependencies:
1778 '@jridgewell/trace-mapping': 0.3.312332 '@jridgewell/trace-mapping': 0.3.31
@@ -1812,6 +2366,14 @@ snapshots:
1812 2366
1813 character-entities-legacy@3.0.0: {}2367 character-entities-legacy@3.0.0: {}
1814 2368
2369+ chevrotain@13.2.0:
2370+ dependencies:
2371+ '@chevrotain/cst-dts-gen': 13.2.0
2372+ '@chevrotain/gast': 13.2.0
2373+ '@chevrotain/regexp-to-ast': 13.2.0
2374+ '@chevrotain/types': 13.2.0
2375+ '@chevrotain/utils': 13.2.0
2376+
1815 chokidar@4.0.3:2377 chokidar@4.0.3:
1816 dependencies:2378 dependencies:
1817 readdirp: 4.1.22379 readdirp: 4.1.2
@@ -1830,6 +2392,18 @@ snapshots:
1830 2392
1831 comma-separated-tokens@2.0.3: {}2393 comma-separated-tokens@2.0.3: {}
1832 2394
2395+ commander@15.1.0: {}
2396+
2397+ commander@7.2.0: {}
2398+
2399+ cose-base@1.0.3:
2400+ dependencies:
2401+ layout-base: 1.0.2
2402+
2403+ cose-base@2.2.0:
2404+ dependencies:
2405+ layout-base: 2.0.1
2406+
1833 crelt@1.0.7: {}2407 crelt@1.0.7: {}
1834 2408
1835 css-tree@3.2.1:2409 css-tree@3.2.1:
@@ -1837,6 +2411,191 @@ snapshots:
1837 mdn-data: 2.27.12411 mdn-data: 2.27.1
1838 source-map-js: 1.2.22412 source-map-js: 1.2.2
1839 2413
2414+ cytoscape-cose-bilkent@4.1.0(cytoscape@3.35.0):
2415+ dependencies:
2416+ cose-base: 1.0.3
2417+ cytoscape: 3.35.0
2418+
2419+ cytoscape-fcose@2.2.0(cytoscape@3.35.0):
2420+ dependencies:
2421+ cose-base: 2.2.0
2422+ cytoscape: 3.35.0
2423+
2424+ cytoscape@3.35.0: {}
2425+
2426+ d3-array@2.12.1:
2427+ dependencies:
2428+ internmap: 1.0.1
2429+
2430+ d3-array@3.2.5:
2431+ dependencies:
2432+ internmap: 2.0.3
2433+
2434+ d3-axis@3.0.1: {}
2435+
2436+ d3-brush@3.0.1:
2437+ dependencies:
2438+ d3-dispatch: 3.0.2
2439+ d3-drag: 3.0.1
2440+ d3-interpolate: 3.0.2
2441+ d3-selection: 3.0.1
2442+ d3-transition: 3.0.2(d3-selection@3.0.1)
2443+
2444+ d3-chord@3.0.2:
2445+ dependencies:
2446+ d3-path: 3.1.1
2447+
2448+ d3-color@3.1.1: {}
2449+
2450+ d3-contour@4.0.3:
2451+ dependencies:
2452+ d3-array: 3.2.5
2453+
2454+ d3-delaunay@6.0.6:
2455+ dependencies:
2456+ delaunator: 5.1.0
2457+
2458+ d3-dispatch@3.0.2: {}
2459+
2460+ d3-drag@3.0.1:
2461+ dependencies:
2462+ d3-dispatch: 3.0.2
2463+ d3-selection: 3.0.1
2464+
2465+ d3-dsv@3.0.2:
2466+ dependencies:
2467+ commander: 7.2.0
2468+ iconv-lite: 0.6.3
2469+ rw: 1.3.3
2470+
2471+ d3-ease@3.0.2: {}
2472+
2473+ d3-fetch@3.0.2:
2474+ dependencies:
2475+ d3-dsv: 3.0.2
2476+
2477+ d3-force@3.0.1:
2478+ dependencies:
2479+ d3-dispatch: 3.0.2
2480+ d3-quadtree: 3.0.2
2481+ d3-timer: 3.0.2
2482+
2483+ d3-format@3.1.3: {}
2484+
2485+ d3-geo@3.1.2:
2486+ dependencies:
2487+ d3-array: 3.2.5
2488+
2489+ d3-hierarchy@3.1.3: {}
2490+
2491+ d3-interpolate@3.0.2:
2492+ dependencies:
2493+ d3-color: 3.1.1
2494+
2495+ d3-path@1.0.9: {}
2496+
2497+ d3-path@3.1.1: {}
2498+
2499+ d3-polygon@3.0.2: {}
2500+
2501+ d3-quadtree@3.0.2: {}
2502+
2503+ d3-random@3.0.2: {}
2504+
2505+ d3-sankey@0.12.3:
2506+ dependencies:
2507+ d3-array: 2.12.1
2508+ d3-shape: 1.3.7
2509+
2510+ d3-scale-chromatic@3.1.1:
2511+ dependencies:
2512+ d3-color: 3.1.1
2513+ d3-interpolate: 3.0.2
2514+ d3-scale: 4.0.3
2515+
2516+ d3-scale@4.0.3:
2517+ dependencies:
2518+ d3-array: 3.2.5
2519+ d3-format: 3.1.3
2520+ d3-interpolate: 3.0.2
2521+ d3-time: 3.1.1
2522+ d3-time-format: 4.1.1
2523+
2524+ d3-selection@3.0.1: {}
2525+
2526+ d3-shape@1.3.7:
2527+ dependencies:
2528+ d3-path: 1.0.9
2529+
2530+ d3-shape@3.2.1:
2531+ dependencies:
2532+ d3-path: 3.1.1
2533+
2534+ d3-time-format@4.1.1:
2535+ dependencies:
2536+ d3-time: 3.1.1
2537+
2538+ d3-time@3.1.1:
2539+ dependencies:
2540+ d3-array: 3.2.5
2541+
2542+ d3-timer@3.0.2: {}
2543+
2544+ d3-transition@3.0.2(d3-selection@3.0.1):
2545+ dependencies:
2546+ d3-color: 3.1.1
2547+ d3-dispatch: 3.0.2
2548+ d3-ease: 3.0.2
2549+ d3-interpolate: 3.0.2
2550+ d3-selection: 3.0.1
2551+ d3-timer: 3.0.2
2552+
2553+ d3-zoom@3.0.1:
2554+ dependencies:
2555+ d3-dispatch: 3.0.2
2556+ d3-drag: 3.0.1
2557+ d3-interpolate: 3.0.2
2558+ d3-selection: 3.0.1
2559+ d3-transition: 3.0.2(d3-selection@3.0.1)
2560+
2561+ d3@7.9.2:
2562+ dependencies:
2563+ d3-array: 3.2.5
2564+ d3-axis: 3.0.1
2565+ d3-brush: 3.0.1
2566+ d3-chord: 3.0.2
2567+ d3-color: 3.1.1
2568+ d3-contour: 4.0.3
2569+ d3-delaunay: 6.0.6
2570+ d3-dispatch: 3.0.2
2571+ d3-drag: 3.0.1
2572+ d3-dsv: 3.0.2
2573+ d3-ease: 3.0.2
2574+ d3-fetch: 3.0.2
2575+ d3-force: 3.0.1
2576+ d3-format: 3.1.3
2577+ d3-geo: 3.1.2
2578+ d3-hierarchy: 3.1.3
2579+ d3-interpolate: 3.0.2
2580+ d3-path: 3.1.1
2581+ d3-polygon: 3.0.2
2582+ d3-quadtree: 3.0.2
2583+ d3-random: 3.0.2
2584+ d3-scale: 4.0.3
2585+ d3-scale-chromatic: 3.1.1
2586+ d3-selection: 3.0.1
2587+ d3-shape: 3.2.1
2588+ d3-time: 3.1.1
2589+ d3-time-format: 4.1.1
2590+ d3-timer: 3.0.2
2591+ d3-transition: 3.0.2(d3-selection@3.0.1)
2592+ d3-zoom: 3.0.1
2593+
2594+ dagre-d3-es@7.0.14:
2595+ dependencies:
2596+ d3: 7.9.2
2597+ lodash-es: 4.18.1
2598+
1840 data-urls@8.0.0:2599 data-urls@8.0.0:
1841 dependencies:2600 dependencies:
1842 whatwg-mimetype: 5.0.02601 whatwg-mimetype: 5.0.0
@@ -1844,10 +2603,16 @@ snapshots:
1844 transitivePeerDependencies:2603 transitivePeerDependencies:
1845 - '@noble/hashes'2604 - '@noble/hashes'
1846 2605
2606+ dayjs@1.11.23: {}
2607+
1847 decimal.js@10.6.0: {}2608 decimal.js@10.6.0: {}
1848 2609
1849 deepmerge@4.3.1: {}2610 deepmerge@4.3.1: {}
1850 2611
2612+ delaunator@5.1.0:
2613+ dependencies:
2614+ robust-predicates: 3.0.3
2615+
1851 dequal@2.0.3: {}2616 dequal@2.0.3: {}
1852 2617
1853 detect-libc@2.1.2: {}2618 detect-libc@2.1.2: {}
@@ -1862,10 +2627,14 @@ snapshots:
1862 optionalDependencies:2627 optionalDependencies:
1863 '@types/trusted-types': 2.0.72628 '@types/trusted-types': 2.0.7
1864 2629
2630+ elkjs@0.9.3: {}
2631+
1865 entities@8.1.0: {}2632 entities@8.1.0: {}
1866 2633
1867 es-module-lexer@2.3.2: {}2634 es-module-lexer@2.3.2: {}
1868 2635
2636+ es-toolkit@1.53.2: {}
2637+
1869 esm-env@1.2.2: {}2638 esm-env@1.2.2: {}
1870 2639
1871 esrap@2.4.0:2640 esrap@2.4.0:
@@ -1885,6 +2654,8 @@ snapshots:
1885 fsevents@2.3.3:2654 fsevents@2.3.3:
1886 optional: true2655 optional: true
1887 2656
2657+ hachure-fill@0.5.2: {}
2658+
1888 hast-util-to-html@9.0.5:2659 hast-util-to-html@9.0.5:
1889 dependencies:2660 dependencies:
1890 '@types/hast': 3.0.52661 '@types/hast': 3.0.5
@@ -1911,8 +2682,18 @@ snapshots:
1911 2682
1912 html-void-elements@3.0.0: {}2683 html-void-elements@3.0.0: {}
1913 2684
2685+ iconv-lite@0.6.3:
2686+ dependencies:
2687+ safer-buffer: 2.1.2
2688+
2689+ import-meta-resolve@4.2.0: {}
2690+
1914 inline-style-parser@0.2.7: {}2691 inline-style-parser@0.2.7: {}
1915 2692
2693+ internmap@1.0.1: {}
2694+
2695+ internmap@2.0.3: {}
2696+
1916 is-potential-custom-element-name@1.0.1: {}2697 is-potential-custom-element-name@1.0.1: {}
1917 2698
1918 is-reference@3.0.3:2699 is-reference@3.0.3:
@@ -1944,6 +2725,16 @@ snapshots:
1944 transitivePeerDependencies:2725 transitivePeerDependencies:
1945 - '@noble/hashes'2726 - '@noble/hashes'
1946 2727
2728+ katex@0.18.10:
2729+ dependencies:
2730+ commander: 15.1.0
2731+
2732+ khroma@2.1.0: {}
2733+
2734+ layout-base@1.0.2: {}
2735+
2736+ layout-base@2.0.1: {}
2737+
1947 lightningcss-android-arm64@1.33.0:2738 lightningcss-android-arm64@1.33.0:
1948 optional: true2739 optional: true
1949 2740
@@ -1999,6 +2790,8 @@ snapshots:
1999 2790
2000 locate-character@3.0.0: {}2791 locate-character@3.0.0: {}
2001 2792
2793+ lodash-es@4.18.1: {}
2794+
2002 lru-cache@11.5.3: {}2795 lru-cache@11.5.3: {}
2003 2796
2004 magic-string@0.30.21:2797 magic-string@0.30.21:
@@ -2018,6 +2811,8 @@ snapshots:
2018 punycode.js: 2.3.12811 punycode.js: 2.3.1
2019 uc.micro: 3.0.02812 uc.micro: 3.0.0
2020 2813
2814+ marked@16.4.2: {}
2815+
2021 mdast-util-to-hast@13.2.1:2816 mdast-util-to-hast@13.2.1:
2022 dependencies:2817 dependencies:
2023 '@types/hast': 3.0.52818 '@types/hast': 3.0.5
@@ -2034,6 +2829,32 @@ snapshots:
2034 2829
2035 mdurl@2.1.0: {}2830 mdurl@2.1.0: {}
2036 2831
2832+ mermaid@12.2.0:
2833+ dependencies:
2834+ '@braintree/sanitize-url': 7.1.2
2835+ '@iconify/utils': 3.1.7
2836+ '@mermaid-js/parser': 2.0.1
2837+ '@types/d3': 7.4.3
2838+ '@upsetjs/venn.js': 2.0.0
2839+ chevrotain: 13.2.0
2840+ cytoscape: 3.35.0
2841+ cytoscape-cose-bilkent: 4.1.0(cytoscape@3.35.0)
2842+ cytoscape-fcose: 2.2.0(cytoscape@3.35.0)
2843+ d3: 7.9.2
2844+ d3-sankey: 0.12.3
2845+ dagre-d3-es: 7.0.14
2846+ dayjs: 1.11.23
2847+ dompurify: 3.4.17
2848+ elkjs: 0.9.3
2849+ es-toolkit: 1.53.2
2850+ katex: 0.18.10
2851+ khroma: 2.1.0
2852+ marked: 16.4.2
2853+ roughjs: 4.6.6
2854+ stylis: 4.4.0
2855+ ts-dedent: 2.3.0
2856+ uuid: 14.0.3
2857+
2037 micromark-util-character@2.1.1:2858 micromark-util-character@2.1.1:
2038 dependencies:2859 dependencies:
2039 micromark-util-symbol: 2.0.12860 micromark-util-symbol: 2.0.1
@@ -2067,6 +2888,8 @@ snapshots:
2067 regex: 6.1.02888 regex: 6.1.0
2068 regex-recursion: 6.0.22889 regex-recursion: 6.0.2
2069 2890
2891+ package-manager-detector@1.9.0: {}
2892+
2070 paneforge@1.0.2(svelte@5.57.3):2893 paneforge@1.0.2(svelte@5.57.3):
2071 dependencies:2894 dependencies:
2072 runed: 0.23.4(svelte@5.57.3)2895 runed: 0.23.4(svelte@5.57.3)
@@ -2077,10 +2900,19 @@ snapshots:
2077 dependencies:2900 dependencies:
2078 entities: 8.1.02901 entities: 8.1.0
2079 2902
2903+ path-data-parser@0.1.0: {}
2904+
2080 picocolors@1.1.1: {}2905 picocolors@1.1.1: {}
2081 2906
2082 picomatch@4.0.7: {}2907 picomatch@4.0.7: {}
2083 2908
2909+ points-on-curve@0.2.0: {}
2910+
2911+ points-on-path@0.2.1:
2912+ dependencies:
2913+ path-data-parser: 0.1.0
2914+ points-on-curve: 0.2.0
2915+
2084 postcss@8.5.32:2916 postcss@8.5.32:
2085 dependencies:2917 dependencies:
2086 nanoid: 3.3.202918 nanoid: 3.3.20
@@ -2107,6 +2939,8 @@ snapshots:
2107 2939
2108 require-from-string@2.0.2: {}2940 require-from-string@2.0.2: {}
2109 2941
2942+ robust-predicates@3.0.3: {}
2943+
2110 rolldown@1.2.15:2944 rolldown@1.2.15:
2111 dependencies:2945 dependencies:
2112 '@oxc-project/types': 0.155.02946 '@oxc-project/types': 0.155.0
@@ -2128,6 +2962,13 @@ snapshots:
2128 '@rolldown/binding-win32-arm64-msvc': 1.2.152962 '@rolldown/binding-win32-arm64-msvc': 1.2.15
2129 '@rolldown/binding-win32-x64-msvc': 1.2.152963 '@rolldown/binding-win32-x64-msvc': 1.2.15
2130 2964
2965+ roughjs@4.6.6:
2966+ dependencies:
2967+ hachure-fill: 0.5.2
2968+ path-data-parser: 0.1.0
2969+ points-on-curve: 0.2.0
2970+ points-on-path: 0.2.1
2971+
2131 runed@0.23.4(svelte@5.57.3):2972 runed@0.23.4(svelte@5.57.3):
2132 dependencies:2973 dependencies:
2133 esm-env: 1.2.22974 esm-env: 1.2.2
@@ -2138,10 +2979,14 @@ snapshots:
2138 esm-env: 1.2.22979 esm-env: 1.2.2
2139 svelte: 5.57.32980 svelte: 5.57.3
2140 2981
2982+ rw@1.3.3: {}
2983+
2141 sade@1.8.1:2984 sade@1.8.1:
2142 dependencies:2985 dependencies:
2143 mri: 1.2.02986 mri: 1.2.0
2144 2987
2988+ safer-buffer@2.1.2: {}
2989+
2145 saxes@6.0.0:2990 saxes@6.0.0:
2146 dependencies:2991 dependencies:
2147 xmlchars: 2.2.02992 xmlchars: 2.2.0
@@ -2174,6 +3019,8 @@ snapshots:
2174 dependencies:3019 dependencies:
2175 inline-style-parser: 0.2.73020 inline-style-parser: 0.2.7
2176 3021
3022+ stylis@4.4.0: {}
3023+
2177 svelte-check@4.7.7(picomatch@4.0.7)(svelte@5.57.3)(typescript@5.9.3):3024 svelte-check@4.7.7(picomatch@4.0.7)(svelte@5.57.3)(typescript@5.9.3):
2178 dependencies:3025 dependencies:
2179 '@jridgewell/trace-mapping': 0.3.313026 '@jridgewell/trace-mapping': 0.3.31
@@ -2239,6 +3086,8 @@ snapshots:
2239 3086
2240 trim-lines@3.0.1: {}3087 trim-lines@3.0.1: {}
2241 3088
3089+ ts-dedent@2.3.0: {}
3090+
2242 tslib@2.8.1: {}3091 tslib@2.8.1: {}
2243 3092
2244 typescript@5.9.3: {}3093 typescript@5.9.3: {}
@@ -2270,6 +3119,8 @@ snapshots:
2270 unist-util-is: 6.0.13119 unist-util-is: 6.0.1
2271 unist-util-visit-parents: 6.1.03120 unist-util-visit-parents: 6.1.0
2272 3121
3122+ uuid@14.0.3: {}
3123+
2273 vfile-message@4.0.3:3124 vfile-message@4.0.3:
2274 dependencies:3125 dependencies:
2275 '@types/unist': 3.0.33126 '@types/unist': 3.0.3
modified frontend/src/lib/agent/FilePreview.svelte +31 -3
@@ -8,8 +8,23 @@
88 import { Browser } from '@wailsio/runtime'
99 import { WorkspaceService } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/app'
1010 import { t } from '../i18n/index.svelte'
11+ import { renderMermaid } from '../mermaid'
12+ import { isDark } from '../theme'
1113 import { renderAsciidoc, resolveReference, type PreviewKind } from '../preview'
12- import { openWorkspace } from '../state.svelte'
14+ import { appState, openWorkspace } from '../state.svelte'
15+
16+ // The theme of the diagrams (issue #116): Sidekicks' own, or the system's.
17+ const systemQuery = window.matchMedia('(prefers-color-scheme: dark)')
18+ let systemDark = $state(systemQuery.matches)
19+ $effect(() => {
20+ const follow = (event: MediaQueryListEvent) => (systemDark = event.matches)
21+ systemQuery.addEventListener('change', follow)
22+ return () => systemQuery.removeEventListener('change', follow)
23+ })
24+ const dark = $derived.by(() => {
25+ void appState.config?.theme
26+ return isDark(document.documentElement, systemDark)
27+ })
1328 import Markdown from '../chat/Markdown.svelte'
1429
1530 let {
@@ -113,6 +128,19 @@
113128 })
114129 })
115130
131+ // The mermaid blocks of a rendered document become diagrams (issue #116):
132+ // after each render of the document, and again when the theme changes.
133+ // Always from the whole preview, so that the drawings of one document wait
134+ // for each other (renderMermaid queues them by root).
135+ function drawDiagrams() {
136+ if (!container) return
137+ void renderMermaid(container, dark, (error) => t('preview.mermaidError', { error })).catch((error) => (problem = errorOf(error)))
138+ }
139+ $effect(() => {
140+ void dark
141+ if (kind === 'markdown' || kind === 'asciidoc') drawDiagrams()
142+ })
143+
116144 // A link: a site in the browser, a heading of the document, or another
117145 // file of the folder, opened in the Files tab.
118146 function follow(href: string) {
@@ -128,9 +156,9 @@
128156 {#if problem}
129157 <p class="problem" role="alert">{t('preview.failed', { error: problem })}</p>
130158 {:else if kind === 'markdown'}
131- <Markdown text={content} onLink={follow} />
159+ <Markdown text={content} onLink={follow} onRendered={drawDiagrams} />
132160 {:else if kind === 'asciidoc'}
133- <Markdown html={asciidoc} onLink={follow} />
161+ <Markdown html={asciidoc} onLink={follow} onRendered={drawDiagrams} />
134162 {:else if kind === 'html'}
135163 <!-- No allow-scripts, no allow-same-origin: the page can run nothing and reach nothing. -->
136164 <iframe title={t('preview.htmlTitle', { file: path })} sandbox="" {srcdoc}></iframe>
@@ -8,8 +8,23 @@
8 import { Browser } from '@wailsio/runtime'8 import { Browser } from '@wailsio/runtime'
9 import { WorkspaceService } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/app'9 import { WorkspaceService } from '../../../bindings/git.rickub.com/bots-garden/sidekicks/internal/app'
10 import { t } from '../i18n/index.svelte'10 import { t } from '../i18n/index.svelte'
11+ import { renderMermaid } from '../mermaid'
12+ import { isDark } from '../theme'
11 import { renderAsciidoc, resolveReference, type PreviewKind } from '../preview'13 import { renderAsciidoc, resolveReference, type PreviewKind } from '../preview'
12- import { openWorkspace } from '../state.svelte'14+ import { appState, openWorkspace } from '../state.svelte'
15+
16+ // The theme of the diagrams (issue #116): Sidekicks' own, or the system's.
17+ const systemQuery = window.matchMedia('(prefers-color-scheme: dark)')
18+ let systemDark = $state(systemQuery.matches)
19+ $effect(() => {
20+ const follow = (event: MediaQueryListEvent) => (systemDark = event.matches)
21+ systemQuery.addEventListener('change', follow)
22+ return () => systemQuery.removeEventListener('change', follow)
23+ })
24+ const dark = $derived.by(() => {
25+ void appState.config?.theme
26+ return isDark(document.documentElement, systemDark)
27+ })
13 import Markdown from '../chat/Markdown.svelte'28 import Markdown from '../chat/Markdown.svelte'
14 29
15 let {30 let {
@@ -113,6 +128,19 @@
113 })128 })
114 })129 })
115 130
131+ // The mermaid blocks of a rendered document become diagrams (issue #116):
132+ // after each render of the document, and again when the theme changes.
133+ // Always from the whole preview, so that the drawings of one document wait
134+ // for each other (renderMermaid queues them by root).
135+ function drawDiagrams() {
136+ if (!container) return
137+ void renderMermaid(container, dark, (error) => t('preview.mermaidError', { error })).catch((error) => (problem = errorOf(error)))
138+ }
139+ $effect(() => {
140+ void dark
141+ if (kind === 'markdown' || kind === 'asciidoc') drawDiagrams()
142+ })
143+
116 // A link: a site in the browser, a heading of the document, or another144 // A link: a site in the browser, a heading of the document, or another
117 // file of the folder, opened in the Files tab.145 // file of the folder, opened in the Files tab.
118 function follow(href: string) {146 function follow(href: string) {
@@ -128,9 +156,9 @@
128 {#if problem}156 {#if problem}
129 <p class="problem" role="alert">{t('preview.failed', { error: problem })}</p>157 <p class="problem" role="alert">{t('preview.failed', { error: problem })}</p>
130 {:else if kind === 'markdown'}158 {:else if kind === 'markdown'}
131- <Markdown text={content} onLink={follow} />159+ <Markdown text={content} onLink={follow} onRendered={drawDiagrams} />
132 {:else if kind === 'asciidoc'}160 {:else if kind === 'asciidoc'}
133- <Markdown html={asciidoc} onLink={follow} />161+ <Markdown html={asciidoc} onLink={follow} onRendered={drawDiagrams} />
134 {:else if kind === 'html'}162 {:else if kind === 'html'}
135 <!-- No allow-scripts, no allow-same-origin: the page can run nothing and reach nothing. -->163 <!-- No allow-scripts, no allow-same-origin: the page can run nothing and reach nothing. -->
136 <iframe title={t('preview.htmlTitle', { file: path })} sandbox="" {srcdoc}></iframe>164 <iframe title={t('preview.htmlTitle', { file: path })} sandbox="" {srcdoc}></iframe>
modified frontend/src/lib/chat/Markdown.svelte +17 -1
@@ -1,5 +1,6 @@
11 <!-- Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE -->
22 <script lang="ts">
3+ import { tick } from 'svelte'
34 import { locale, t } from '../i18n/index.svelte'
45 import { Browser } from '@wailsio/runtime'
56 import { renderMarkdown, whenHighlighterReady } from '../markdown'
@@ -8,14 +9,19 @@
89 text = '',
910 html: rendered,
1011 onLink,
12+ onRendered,
1113 }: {
1214 text?: string
1315 /** HTML already rendered and made safe (an AsciiDoc preview), shown instead of text. */
1416 html?: string
1517 /** Handles a link instead of opening it in the browser (a file preview, issue #46). */
1618 onLink?: (href: string) => void
19+ /** Called with the rendered block after each render (a file preview draws its mermaid diagrams, issue #116). */
20+ onRendered?: (root: HTMLElement) => void
1721 } = $props()
1822
23+ let root: HTMLElement | undefined = $state()
24+
1925 // Render again once code colouring is loaded.
2026 let highlighterReady = $state(false)
2127 whenHighlighterReady().then(() => (highlighterReady = true))
@@ -26,6 +32,12 @@
2632 return renderMarkdown(text)
2733 })
2834
35+ $effect(() => {
36+ void html
37+ if (!onRendered) return
38+ void tick().then(() => root && onRendered?.(root))
39+ })
40+
2941 // Copy buttons and links are handled once, for the whole block.
3042 async function onClick(event: MouseEvent) {
3143 const target = event.target as HTMLElement
@@ -53,7 +65,7 @@
5365 </script>
5466
5567 <!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_static_element_interactions -->
56-<div class="markdown" onclick={onClick}>{@html html}</div>
68+<div class="markdown" onclick={onClick} bind:this={root}>{@html html}</div>
5769
5870 <style>
5971 .markdown { line-height: 1.55; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
@@ -73,6 +85,10 @@
7385 .markdown :global(th), .markdown :global(td) { border: 1px solid var(--border); padding: 4px 10px; }
7486 .markdown :global(blockquote) { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--muted); }
7587 .markdown :global(a) { color: var(--accent); }
88+ /* A mermaid diagram of a file preview (issue #116), centred, never wider than the preview. */
89+ .markdown :global(.mermaid-diagram) { margin: 8px 0; text-align: center; overflow-x: auto; }
90+ .markdown :global(.mermaid-diagram svg) { max-width: 100%; height: auto; }
91+ .markdown :global(.mermaid-error) { color: var(--danger); font-size: 12px; margin: -4px 0 8px; }
7692 /* Shiki emits both themes as CSS variables; pick one with the theme. */
7793 .markdown :global(.shiki span) { color: var(--shiki-light); }
7894 :global(:root[data-theme='dark']) .markdown :global(.shiki span) { color: var(--shiki-dark); }
@@ -1,5 +1,6 @@
1 <!-- Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE -->1 <!-- Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE -->
2 <script lang="ts">2 <script lang="ts">
3+ import { tick } from 'svelte'
3 import { locale, t } from '../i18n/index.svelte'4 import { locale, t } from '../i18n/index.svelte'
4 import { Browser } from '@wailsio/runtime'5 import { Browser } from '@wailsio/runtime'
5 import { renderMarkdown, whenHighlighterReady } from '../markdown'6 import { renderMarkdown, whenHighlighterReady } from '../markdown'
@@ -8,14 +9,19 @@
8 text = '',9 text = '',
9 html: rendered,10 html: rendered,
10 onLink,11 onLink,
12+ onRendered,
11 }: {13 }: {
12 text?: string14 text?: string
13 /** HTML already rendered and made safe (an AsciiDoc preview), shown instead of text. */15 /** HTML already rendered and made safe (an AsciiDoc preview), shown instead of text. */
14 html?: string16 html?: string
15 /** Handles a link instead of opening it in the browser (a file preview, issue #46). */17 /** Handles a link instead of opening it in the browser (a file preview, issue #46). */
16 onLink?: (href: string) => void18 onLink?: (href: string) => void
19+ /** Called with the rendered block after each render (a file preview draws its mermaid diagrams, issue #116). */
20+ onRendered?: (root: HTMLElement) => void
17 } = $props()21 } = $props()
18 22
23+ let root: HTMLElement | undefined = $state()
24+
19 // Render again once code colouring is loaded.25 // Render again once code colouring is loaded.
20 let highlighterReady = $state(false)26 let highlighterReady = $state(false)
21 whenHighlighterReady().then(() => (highlighterReady = true))27 whenHighlighterReady().then(() => (highlighterReady = true))
@@ -26,6 +32,12 @@
26 return renderMarkdown(text)32 return renderMarkdown(text)
27 })33 })
28 34
35+ $effect(() => {
36+ void html
37+ if (!onRendered) return
38+ void tick().then(() => root && onRendered?.(root))
39+ })
40+
29 // Copy buttons and links are handled once, for the whole block.41 // Copy buttons and links are handled once, for the whole block.
30 async function onClick(event: MouseEvent) {42 async function onClick(event: MouseEvent) {
31 const target = event.target as HTMLElement43 const target = event.target as HTMLElement
@@ -53,7 +65,7 @@
53 </script>65 </script>
54 66
55 <!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_static_element_interactions -->67 <!-- svelte-ignore a11y_click_events_have_key_events, a11y_no_static_element_interactions -->
56-<div class="markdown" onclick={onClick}>{@html html}</div>68+<div class="markdown" onclick={onClick} bind:this={root}>{@html html}</div>
57 69
58 <style>70 <style>
59 .markdown { line-height: 1.55; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }71 .markdown { line-height: 1.55; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
@@ -73,6 +85,10 @@
73 .markdown :global(th), .markdown :global(td) { border: 1px solid var(--border); padding: 4px 10px; }85 .markdown :global(th), .markdown :global(td) { border: 1px solid var(--border); padding: 4px 10px; }
74 .markdown :global(blockquote) { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--muted); }86 .markdown :global(blockquote) { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--accent); color: var(--muted); }
75 .markdown :global(a) { color: var(--accent); }87 .markdown :global(a) { color: var(--accent); }
88+ /* A mermaid diagram of a file preview (issue #116), centred, never wider than the preview. */
89+ .markdown :global(.mermaid-diagram) { margin: 8px 0; text-align: center; overflow-x: auto; }
90+ .markdown :global(.mermaid-diagram svg) { max-width: 100%; height: auto; }
91+ .markdown :global(.mermaid-error) { color: var(--danger); font-size: 12px; margin: -4px 0 8px; }
76 /* Shiki emits both themes as CSS variables; pick one with the theme. */92 /* Shiki emits both themes as CSS variables; pick one with the theme. */
77 .markdown :global(.shiki span) { color: var(--shiki-light); }93 .markdown :global(.shiki span) { color: var(--shiki-light); }
78 :global(:root[data-theme='dark']) .markdown :global(.shiki span) { color: var(--shiki-dark); }94 :global(:root[data-theme='dark']) .markdown :global(.shiki span) { color: var(--shiki-dark); }
modified frontend/src/lib/i18n/messages.ts +2 -0
@@ -290,6 +290,7 @@ export const en = {
290290 'preview.preview': 'Preview',
291291 'preview.edit': 'Edit',
292292 'preview.failed': 'The preview cannot be shown: {error}',
293+ 'preview.mermaidError': 'This Mermaid diagram cannot be drawn: {error}',
293294 'preview.htmlTitle': 'Preview of {file}',
294295 'preview.fit': 'Fit to the panel',
295296 'preview.actualSize': 'Actual size',
@@ -817,6 +818,7 @@ export const fr: Record<MessageKey, string> = {
817818 'preview.preview': 'Aperçu',
818819 'preview.edit': 'Édition',
819820 'preview.failed': "L'aperçu ne peut pas être affiché : {error}",
821+ 'preview.mermaidError': 'Ce diagramme Mermaid ne peut pas être dessiné : {error}',
820822 'preview.htmlTitle': 'Aperçu de {file}',
821823 'preview.fit': 'Ajuster au panneau',
822824 'preview.actualSize': 'Taille réelle',
@@ -290,6 +290,7 @@ export const en = {
290 'preview.preview': 'Preview',290 'preview.preview': 'Preview',
291 'preview.edit': 'Edit',291 'preview.edit': 'Edit',
292 'preview.failed': 'The preview cannot be shown: {error}',292 'preview.failed': 'The preview cannot be shown: {error}',
293+ 'preview.mermaidError': 'This Mermaid diagram cannot be drawn: {error}',
293 'preview.htmlTitle': 'Preview of {file}',294 'preview.htmlTitle': 'Preview of {file}',
294 'preview.fit': 'Fit to the panel',295 'preview.fit': 'Fit to the panel',
295 'preview.actualSize': 'Actual size',296 'preview.actualSize': 'Actual size',
@@ -817,6 +818,7 @@ export const fr: Record<MessageKey, string> = {
817 'preview.preview': 'Aperçu',818 'preview.preview': 'Aperçu',
818 'preview.edit': 'Édition',819 'preview.edit': 'Édition',
819 'preview.failed': "L'aperçu ne peut pas être affiché : {error}",820 'preview.failed': "L'aperçu ne peut pas être affiché : {error}",
821+ 'preview.mermaidError': 'Ce diagramme Mermaid ne peut pas être dessiné : {error}',
820 'preview.htmlTitle': 'Aperçu de {file}',822 'preview.htmlTitle': 'Aperçu de {file}',
821 'preview.fit': 'Ajuster au panneau',823 'preview.fit': 'Ajuster au panneau',
822 'preview.actualSize': 'Taille réelle',824 'preview.actualSize': 'Taille réelle',
added frontend/src/lib/mermaid.test.ts +77 -0
new file mode 100644
@@ -0,0 +1,77 @@
1+// Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE
2+// @vitest-environment jsdom
3+import { describe, expect, it } from 'vitest'
4+import { diagramClass, findMermaidBlocks, renderMermaid, safeSvg, type Render } from './mermaid'
5+import { renderMarkdown } from './markdown'
6+import { renderAsciidoc } from './preview'
7+
8+const flowchart = 'graph TD\n A[Start] --> B{Is it?}\n'
9+
10+function documentOf(html: string): HTMLElement {
11+ const root = document.createElement('div')
12+ root.innerHTML = html
13+ document.body.replaceChildren(root)
14+ return root
15+}
16+
17+// A stand-in for mermaid: an SVG naming the source and the theme, or an error.
18+const fake: Render = async (_id, source, dark) => {
19+ if (source.includes('oops')) throw new Error('Parse error on line 1:\noops\n^ Expecting NEWLINE')
20+ return `<svg xmlns="http://www.w3.org/2000/svg" data-theme="${dark ? 'dark' : 'light'}"><text>${source.split('\n')[0]}</text><script>alert(1)</script></svg>`
21+}
22+
23+describe('mermaid blocks of a rendered document (issue #116)', () => {
24+ it('finds a Markdown mermaid block with its exact source, not other code', () => {
25+ const root = documentOf(renderMarkdown('# Plan\n\n```mermaid\n' + flowchart + '```\n\n```go\nfunc main() {}\n```\n'))
26+ const blocks = findMermaidBlocks(root)
27+ expect(blocks).toHaveLength(1)
28+ expect(blocks[0].source).toBe(flowchart)
29+ })
30+
31+ it('finds the AsciiDoc ones: [source,mermaid] and [mermaid]', () => {
32+ const root = documentOf(
33+ '<div class="listingblock"><div class="content"><pre class="highlight"><code class="language-mermaid" data-lang="mermaid">graph LR\n A --&gt; B</code></pre></div></div>' +
34+ '<div class="listingblock mermaid"><div class="content"><pre>sequenceDiagram\n A-&gt;&gt;B: hi</pre></div></div>',
35+ )
36+ expect(findMermaidBlocks(root).map((block) => block.source)).toEqual(['graph LR\n A --> B', 'sequenceDiagram\n A->>B: hi'])
37+ })
38+
39+ it('finds them in a real AsciiDoc render', async () => {
40+ const html = await renderAsciidoc('= Plan\n\n[source,mermaid]\n----\ngraph LR\n A --> B\n----\n\n[mermaid]\n....\nsequenceDiagram\n A->>B: hi\n....\n')
41+ expect(findMermaidBlocks(documentOf(html)).map((block) => block.source)).toEqual(['graph LR\n A --> B', 'sequenceDiagram\n A->>B: hi'])
42+ })
43+
44+ it('does nothing, and loads nothing, without a mermaid block', async () => {
45+ const root = documentOf(renderMarkdown('just text'))
46+ const before = root.innerHTML
47+ await renderMermaid(root, false, (error) => error)
48+ expect(root.innerHTML).toBe(before)
49+ })
50+
51+ it('replaces a block by its diagram, without scripts, and draws it again in the other theme', async () => {
52+ const root = documentOf(renderMarkdown('```mermaid\n' + flowchart + '```\n'))
53+ await renderMermaid(root, false, (error) => error, fake)
54+ const diagram = root.querySelector<HTMLElement>(`.${diagramClass}`)
55+ expect(diagram?.querySelector('svg')?.getAttribute('data-theme')).toBe('light')
56+ expect(diagram?.innerHTML).not.toContain('<script')
57+ expect(root.querySelector('.code-block')).toBeNull()
58+ await renderMermaid(root, true, (error) => error, fake)
59+ expect(root.querySelectorAll(`.${diagramClass}`)).toHaveLength(1)
60+ expect(root.querySelector(`.${diagramClass} svg`)?.getAttribute('data-theme')).toBe('dark')
61+ })
62+
63+ it('keeps the code of a diagram that cannot be drawn, with the error once', async () => {
64+ const root = documentOf(renderMarkdown('```mermaid\noops\n```\n'))
65+ // Asked twice at once, as a render and a theme change can.
66+ await Promise.all([renderMermaid(root, false, (error) => `cannot draw: ${error}`, fake), renderMermaid(root, false, (error) => `cannot draw: ${error}`, fake)])
67+ expect(root.querySelector('.code-block')).not.toBeNull()
68+ expect(root.querySelectorAll('.mermaid-error')).toHaveLength(1)
69+ expect(root.querySelector('.mermaid-error')?.textContent).toBe('cannot draw: Parse error on line 1:')
70+ })
71+
72+ it('makes an SVG safe: no script, no event handler, no foreign HTML', () => {
73+ const svg = safeSvg('<svg xmlns="http://www.w3.org/2000/svg" onload="alert(1)"><script>alert(1)</script><foreignObject><div>x</div></foreignObject><text>ok</text></svg>')
74+ expect(svg).toContain('<text>ok</text>')
75+ expect(svg).not.toMatch(/script|onload|foreignObject/)
76+ })
77+})
new file mode 100644
@@ -0,0 +1,77 @@
1+// Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE
2+// @vitest-environment jsdom
3+import { describe, expect, it } from 'vitest'
4+import { diagramClass, findMermaidBlocks, renderMermaid, safeSvg, type Render } from './mermaid'
5+import { renderMarkdown } from './markdown'
6+import { renderAsciidoc } from './preview'
7+
8+const flowchart = 'graph TD\n A[Start] --> B{Is it?}\n'
9+
10+function documentOf(html: string): HTMLElement {
11+ const root = document.createElement('div')
12+ root.innerHTML = html
13+ document.body.replaceChildren(root)
14+ return root
15+}
16+
17+// A stand-in for mermaid: an SVG naming the source and the theme, or an error.
18+const fake: Render = async (_id, source, dark) => {
19+ if (source.includes('oops')) throw new Error('Parse error on line 1:\noops\n^ Expecting NEWLINE')
20+ return `<svg xmlns="http://www.w3.org/2000/svg" data-theme="${dark ? 'dark' : 'light'}"><text>${source.split('\n')[0]}</text><script>alert(1)</script></svg>`
21+}
22+
23+describe('mermaid blocks of a rendered document (issue #116)', () => {
24+ it('finds a Markdown mermaid block with its exact source, not other code', () => {
25+ const root = documentOf(renderMarkdown('# Plan\n\n```mermaid\n' + flowchart + '```\n\n```go\nfunc main() {}\n```\n'))
26+ const blocks = findMermaidBlocks(root)
27+ expect(blocks).toHaveLength(1)
28+ expect(blocks[0].source).toBe(flowchart)
29+ })
30+
31+ it('finds the AsciiDoc ones: [source,mermaid] and [mermaid]', () => {
32+ const root = documentOf(
33+ '<div class="listingblock"><div class="content"><pre class="highlight"><code class="language-mermaid" data-lang="mermaid">graph LR\n A --&gt; B</code></pre></div></div>' +
34+ '<div class="listingblock mermaid"><div class="content"><pre>sequenceDiagram\n A-&gt;&gt;B: hi</pre></div></div>',
35+ )
36+ expect(findMermaidBlocks(root).map((block) => block.source)).toEqual(['graph LR\n A --> B', 'sequenceDiagram\n A->>B: hi'])
37+ })
38+
39+ it('finds them in a real AsciiDoc render', async () => {
40+ const html = await renderAsciidoc('= Plan\n\n[source,mermaid]\n----\ngraph LR\n A --> B\n----\n\n[mermaid]\n....\nsequenceDiagram\n A->>B: hi\n....\n')
41+ expect(findMermaidBlocks(documentOf(html)).map((block) => block.source)).toEqual(['graph LR\n A --> B', 'sequenceDiagram\n A->>B: hi'])
42+ })
43+
44+ it('does nothing, and loads nothing, without a mermaid block', async () => {
45+ const root = documentOf(renderMarkdown('just text'))
46+ const before = root.innerHTML
47+ await renderMermaid(root, false, (error) => error)
48+ expect(root.innerHTML).toBe(before)
49+ })
50+
51+ it('replaces a block by its diagram, without scripts, and draws it again in the other theme', async () => {
52+ const root = documentOf(renderMarkdown('```mermaid\n' + flowchart + '```\n'))
53+ await renderMermaid(root, false, (error) => error, fake)
54+ const diagram = root.querySelector<HTMLElement>(`.${diagramClass}`)
55+ expect(diagram?.querySelector('svg')?.getAttribute('data-theme')).toBe('light')
56+ expect(diagram?.innerHTML).not.toContain('<script')
57+ expect(root.querySelector('.code-block')).toBeNull()
58+ await renderMermaid(root, true, (error) => error, fake)
59+ expect(root.querySelectorAll(`.${diagramClass}`)).toHaveLength(1)
60+ expect(root.querySelector(`.${diagramClass} svg`)?.getAttribute('data-theme')).toBe('dark')
61+ })
62+
63+ it('keeps the code of a diagram that cannot be drawn, with the error once', async () => {
64+ const root = documentOf(renderMarkdown('```mermaid\noops\n```\n'))
65+ // Asked twice at once, as a render and a theme change can.
66+ await Promise.all([renderMermaid(root, false, (error) => `cannot draw: ${error}`, fake), renderMermaid(root, false, (error) => `cannot draw: ${error}`, fake)])
67+ expect(root.querySelector('.code-block')).not.toBeNull()
68+ expect(root.querySelectorAll('.mermaid-error')).toHaveLength(1)
69+ expect(root.querySelector('.mermaid-error')?.textContent).toBe('cannot draw: Parse error on line 1:')
70+ })
71+
72+ it('makes an SVG safe: no script, no event handler, no foreign HTML', () => {
73+ const svg = safeSvg('<svg xmlns="http://www.w3.org/2000/svg" onload="alert(1)"><script>alert(1)</script><foreignObject><div>x</div></foreignObject><text>ok</text></svg>')
74+ expect(svg).toContain('<text>ok</text>')
75+ expect(svg).not.toMatch(/script|onload|foreignObject/)
76+ })
77+})
added frontend/src/lib/mermaid.ts +127 -0
new file mode 100644
@@ -0,0 +1,127 @@
1+// Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE
2+
3+// Mermaid diagrams in the preview of a document (issue #116) — only there:
4+// the conversation shows a mermaid block as code. Once the document is
5+// rendered, its mermaid blocks are replaced by their diagram, an SVG made
6+// safe with DOMPurify. The mermaid library is heavy: it is loaded only when
7+// a document has such a block.
8+
9+import DOMPurify from 'dompurify'
10+
11+/** A mermaid block of a rendered document: where it is, and its source. */
12+export interface MermaidBlock {
13+ element: HTMLElement
14+ source: string
15+}
16+
17+/** The class of a rendered diagram; its source is kept in data-source. */
18+export const diagramClass = 'mermaid-diagram'
19+
20+/**
21+ * The mermaid blocks of root, as the Markdown and AsciiDoc renderers write
22+ * them, and the diagrams already drawn (to draw them again in another
23+ * theme):
24+ *
25+ * - Markdown ```mermaid: `<div class="code-block"><span class="code-language">mermaid</span>…`
26+ * (its exact source is in the copy button's data-copy);
27+ * - AsciiDoc [source,mermaid]: `<code class="language-mermaid">` in its listing block;
28+ * - AsciiDoc [mermaid]: renderAsciidoc turns it into [source,mermaid] first (a listing or
29+ * literal block with the class mermaid is still found, for other renderers).
30+ */
31+export function findMermaidBlocks(root: ParentNode): MermaidBlock[] {
32+ const blocks: MermaidBlock[] = []
33+ for (const block of root.querySelectorAll<HTMLElement>('.code-block')) {
34+ if (block.querySelector('.code-language')?.textContent?.trim().toLowerCase() !== 'mermaid') continue
35+ const copy = block.querySelector<HTMLElement>('button.copy-code')?.dataset.copy
36+ const source = copy !== undefined ? decodeURIComponent(copy) : (block.querySelector('code')?.textContent ?? '')
37+ blocks.push({ element: block, source })
38+ }
39+ for (const code of root.querySelectorAll<HTMLElement>('code.language-mermaid')) {
40+ const element = code.closest<HTMLElement>('.listingblock') ?? code.closest<HTMLElement>('pre') ?? code
41+ if (!blocks.some((block) => block.element === element)) blocks.push({ element, source: code.textContent ?? '' })
42+ }
43+ for (const element of root.querySelectorAll<HTMLElement>('.listingblock.mermaid, .literalblock.mermaid')) {
44+ if (blocks.some((block) => block.element === element)) continue
45+ blocks.push({ element, source: element.querySelector('pre')?.textContent ?? '' })
46+ }
47+ for (const element of root.querySelectorAll<HTMLElement>(`.${diagramClass}[data-source]`)) {
48+ blocks.push({ element, source: decodeURIComponent(element.dataset.source ?? '') })
49+ }
50+ return blocks
51+}
52+
53+/** What renders one diagram: the mermaid library, or a stand-in in tests. */
54+export type Render = (id: string, source: string, dark: boolean) => Promise<string>
55+
56+let sequence = 0
57+
58+/**
59+ * Replaces every mermaid block of root by its diagram, in the light or dark
60+ * theme. A diagram that cannot be drawn keeps its code, followed by the
61+ * error in a paragraph of class mermaid-error (errorText words it). Loads
62+ * mermaid only when root has a block; render is for tests.
63+ */
64+export function renderMermaid(root: HTMLElement, dark: boolean, errorText: (error: string) => string, render?: Render): Promise<void> {
65+ // One drawing at a time per document: a render and a theme change can ask
66+ // together, and each would add its own error under a broken diagram.
67+ const previous = drawing.get(root) ?? Promise.resolve()
68+ const next = previous.then(() => drawAll(root, dark, errorText, render))
69+ drawing.set(root, next.catch(() => {}))
70+ return next
71+}
72+
73+const drawing = new WeakMap<HTMLElement, Promise<void>>()
74+
75+async function drawAll(root: HTMLElement, dark: boolean, errorText: (error: string) => string, render?: Render): Promise<void> {
76+ const blocks = findMermaidBlocks(root)
77+ if (blocks.length === 0) return
78+ const draw = render ?? (await mermaidRender())
79+ for (const { element, source } of blocks) {
80+ if (!element.isConnected) continue
81+ if (element.nextElementSibling?.classList.contains('mermaid-error')) element.nextElementSibling.remove()
82+ const id = `sidekicks-mermaid-${++sequence}`
83+ try {
84+ const svg = await draw(id, source, dark)
85+ const diagram = document.createElement('div')
86+ diagram.className = diagramClass
87+ diagram.dataset.source = encodeURIComponent(source)
88+ diagram.innerHTML = safeSvg(svg)
89+ element.replaceWith(diagram)
90+ } catch (error) {
91+ // mermaid may leave its scratch element behind when it fails.
92+ document.getElementById(`d${id}`)?.remove()
93+ const problem = document.createElement('p')
94+ problem.className = 'mermaid-error'
95+ problem.setAttribute('role', 'alert')
96+ // mermaid's message goes on with a pointer under the line: its first line is enough.
97+ problem.textContent = errorText((error instanceof Error ? error.message : String(error)).split('\n')[0].trim())
98+ element.after(problem)
99+ }
100+ }
101+}
102+
103+/** The SVG of a diagram, made safe: SVG elements only, no script, no HTML. */
104+export function safeSvg(svg: string): string {
105+ return DOMPurify.sanitize(svg, { USE_PROFILES: { svg: true, svgFilters: true } })
106+}
107+
108+// The mermaid library, loaded the first time a document needs it.
109+let loaded: Promise<Render> | null = null
110+
111+function mermaidRender(): Promise<Render> {
112+ loaded ??= import('mermaid').then(({ default: mermaid }) => {
113+ let theme = ''
114+ return async (id: string, source: string, dark: boolean) => {
115+ const wanted = dark ? 'dark' : 'default'
116+ if (wanted !== theme) {
117+ theme = wanted
118+ // strict: no click handlers nor scripts in diagrams; no HTML labels,
119+ // so that every label is SVG text, kept by safeSvg.
120+ mermaid.initialize({ startOnLoad: false, securityLevel: 'strict', theme: wanted, htmlLabels: false, flowchart: { htmlLabels: false } })
121+ }
122+ const { svg } = await mermaid.render(id, source)
123+ return svg
124+ }
125+ })
126+ return loaded
127+}
new file mode 100644
@@ -0,0 +1,127 @@
1+// Copyright (c) 2026 Philippe Charrière — Sidekicks Source-Available License 1.0, see LICENSE
2+
3+// Mermaid diagrams in the preview of a document (issue #116) — only there:
4+// the conversation shows a mermaid block as code. Once the document is
5+// rendered, its mermaid blocks are replaced by their diagram, an SVG made
6+// safe with DOMPurify. The mermaid library is heavy: it is loaded only when
7+// a document has such a block.
8+
9+import DOMPurify from 'dompurify'
10+
11+/** A mermaid block of a rendered document: where it is, and its source. */
12+export interface MermaidBlock {
13+ element: HTMLElement
14+ source: string
15+}
16+
17+/** The class of a rendered diagram; its source is kept in data-source. */
18+export const diagramClass = 'mermaid-diagram'
19+
20+/**
21+ * The mermaid blocks of root, as the Markdown and AsciiDoc renderers write
22+ * them, and the diagrams already drawn (to draw them again in another
23+ * theme):
24+ *
25+ * - Markdown ```mermaid: `<div class="code-block"><span class="code-language">mermaid</span>…`
26+ * (its exact source is in the copy button's data-copy);
27+ * - AsciiDoc [source,mermaid]: `<code class="language-mermaid">` in its listing block;
28+ * - AsciiDoc [mermaid]: renderAsciidoc turns it into [source,mermaid] first (a listing or
29+ * literal block with the class mermaid is still found, for other renderers).
30+ */
31+export function findMermaidBlocks(root: ParentNode): MermaidBlock[] {
32+ const blocks: MermaidBlock[] = []
33+ for (const block of root.querySelectorAll<HTMLElement>('.code-block')) {
34+ if (block.querySelector('.code-language')?.textContent?.trim().toLowerCase() !== 'mermaid') continue
35+ const copy = block.querySelector<HTMLElement>('button.copy-code')?.dataset.copy
36+ const source = copy !== undefined ? decodeURIComponent(copy) : (block.querySelector('code')?.textContent ?? '')
37+ blocks.push({ element: block, source })
38+ }
39+ for (const code of root.querySelectorAll<HTMLElement>('code.language-mermaid')) {
40+ const element = code.closest<HTMLElement>('.listingblock') ?? code.closest<HTMLElement>('pre') ?? code
41+ if (!blocks.some((block) => block.element === element)) blocks.push({ element, source: code.textContent ?? '' })
42+ }
43+ for (const element of root.querySelectorAll<HTMLElement>('.listingblock.mermaid, .literalblock.mermaid')) {
44+ if (blocks.some((block) => block.element === element)) continue
45+ blocks.push({ element, source: element.querySelector('pre')?.textContent ?? '' })
46+ }
47+ for (const element of root.querySelectorAll<HTMLElement>(`.${diagramClass}[data-source]`)) {
48+ blocks.push({ element, source: decodeURIComponent(element.dataset.source ?? '') })
49+ }
50+ return blocks
51+}
52+
53+/** What renders one diagram: the mermaid library, or a stand-in in tests. */
54+export type Render = (id: string, source: string, dark: boolean) => Promise<string>
55+
56+let sequence = 0
57+
58+/**
59+ * Replaces every mermaid block of root by its diagram, in the light or dark
60+ * theme. A diagram that cannot be drawn keeps its code, followed by the
61+ * error in a paragraph of class mermaid-error (errorText words it). Loads
62+ * mermaid only when root has a block; render is for tests.
63+ */
64+export function renderMermaid(root: HTMLElement, dark: boolean, errorText: (error: string) => string, render?: Render): Promise<void> {
65+ // One drawing at a time per document: a render and a theme change can ask
66+ // together, and each would add its own error under a broken diagram.
67+ const previous = drawing.get(root) ?? Promise.resolve()
68+ const next = previous.then(() => drawAll(root, dark, errorText, render))
69+ drawing.set(root, next.catch(() => {}))
70+ return next
71+}
72+
73+const drawing = new WeakMap<HTMLElement, Promise<void>>()
74+
75+async function drawAll(root: HTMLElement, dark: boolean, errorText: (error: string) => string, render?: Render): Promise<void> {
76+ const blocks = findMermaidBlocks(root)
77+ if (blocks.length === 0) return
78+ const draw = render ?? (await mermaidRender())
79+ for (const { element, source } of blocks) {
80+ if (!element.isConnected) continue
81+ if (element.nextElementSibling?.classList.contains('mermaid-error')) element.nextElementSibling.remove()
82+ const id = `sidekicks-mermaid-${++sequence}`
83+ try {
84+ const svg = await draw(id, source, dark)
85+ const diagram = document.createElement('div')
86+ diagram.className = diagramClass
87+ diagram.dataset.source = encodeURIComponent(source)
88+ diagram.innerHTML = safeSvg(svg)
89+ element.replaceWith(diagram)
90+ } catch (error) {
91+ // mermaid may leave its scratch element behind when it fails.
92+ document.getElementById(`d${id}`)?.remove()
93+ const problem = document.createElement('p')
94+ problem.className = 'mermaid-error'
95+ problem.setAttribute('role', 'alert')
96+ // mermaid's message goes on with a pointer under the line: its first line is enough.
97+ problem.textContent = errorText((error instanceof Error ? error.message : String(error)).split('\n')[0].trim())
98+ element.after(problem)
99+ }
100+ }
101+}
102+
103+/** The SVG of a diagram, made safe: SVG elements only, no script, no HTML. */
104+export function safeSvg(svg: string): string {
105+ return DOMPurify.sanitize(svg, { USE_PROFILES: { svg: true, svgFilters: true } })
106+}
107+
108+// The mermaid library, loaded the first time a document needs it.
109+let loaded: Promise<Render> | null = null
110+
111+function mermaidRender(): Promise<Render> {
112+ loaded ??= import('mermaid').then(({ default: mermaid }) => {
113+ let theme = ''
114+ return async (id: string, source: string, dark: boolean) => {
115+ const wanted = dark ? 'dark' : 'default'
116+ if (wanted !== theme) {
117+ theme = wanted
118+ // strict: no click handlers nor scripts in diagrams; no HTML labels,
119+ // so that every label is SVG text, kept by safeSvg.
120+ mermaid.initialize({ startOnLoad: false, securityLevel: 'strict', theme: wanted, htmlLabels: false, flowchart: { htmlLabels: false } })
121+ }
122+ const { svg } = await mermaid.render(id, source)
123+ return svg
124+ }
125+ })
126+ return loaded
127+}
modified frontend/src/lib/preview.ts +4 -2
@@ -85,14 +85,16 @@ export function answerLink(href: string): 'external' | 'anchor' | 'file' | null
8585 /**
8686 * Renders AsciiDoc to safe HTML. Asciidoctor is loaded the first time: it
8787 * is large and only a few files need it. Links to other documents keep
88- * their .adoc name; raw HTML passes through DOMPurify.
88+ * their .adoc name; raw HTML passes through DOMPurify. A [mermaid] block
89+ * becomes [source,mermaid] first: without its diagram extension, Asciidoctor
90+ * drops the style, and the preview could not find the diagram (issue #116).
8991 *
9092 * @example
9193 * element.innerHTML = await renderAsciidoc('= Title\n\nHello *world*')
9294 */
9395 export async function renderAsciidoc(source: string): Promise<string> {
9496 const { convert } = await import('@asciidoctor/core')
95- const html = await convert(source, {
97+ const html = await convert(source.replace(/^\[mermaid(?:,[^\]\n]*)?\]$/gm, '[source,mermaid]'), {
9698 safe: 'secure',
9799 standalone: false,
98100 attributes: { showtitle: true, relfilesuffix: '.adoc', 'source-highlighter': null },
@@ -85,14 +85,16 @@ export function answerLink(href: string): 'external' | 'anchor' | 'file' | null
85 /**85 /**
86 * Renders AsciiDoc to safe HTML. Asciidoctor is loaded the first time: it86 * Renders AsciiDoc to safe HTML. Asciidoctor is loaded the first time: it
87 * is large and only a few files need it. Links to other documents keep87 * is large and only a few files need it. Links to other documents keep
88- * their .adoc name; raw HTML passes through DOMPurify.88+ * their .adoc name; raw HTML passes through DOMPurify. A [mermaid] block
89+ * becomes [source,mermaid] first: without its diagram extension, Asciidoctor
90+ * drops the style, and the preview could not find the diagram (issue #116).
89 *91 *
90 * @example92 * @example
91 * element.innerHTML = await renderAsciidoc('= Title\n\nHello *world*')93 * element.innerHTML = await renderAsciidoc('= Title\n\nHello *world*')
92 */94 */
93 export async function renderAsciidoc(source: string): Promise<string> {95 export async function renderAsciidoc(source: string): Promise<string> {
94 const { convert } = await import('@asciidoctor/core')96 const { convert } = await import('@asciidoctor/core')
95- const html = await convert(source, {97+ const html = await convert(source.replace(/^\[mermaid(?:,[^\]\n]*)?\]$/gm, '[source,mermaid]'), {
96 safe: 'secure',98 safe: 'secure',
97 standalone: false,99 standalone: false,
98 attributes: { showtitle: true, relfilesuffix: '.adoc', 'source-highlighter': null },100 attributes: { showtitle: true, relfilesuffix: '.adoc', 'source-highlighter': null },