# Third-party bundles (optional)

## Mermaid (Visual Command Center)

`chain138-command-center.html` loads Mermaid from jsDelivr by default. If your explorer host blocks external script origins (CSP) or you need a fully offline doc path:

1. From repo root:
   ```bash
   bash explorer-monorepo/scripts/vendor-mermaid-for-command-center.sh
   ```
2. Edit `chain138-command-center.html` and change the Mermaid `<script src="...">` line to:
   ```html
   <script src="/thirdparty/mermaid.min.js"></script>
   ```
3. Deploy with `deploy-frontend-to-vmid5000.sh` — it copies `thirdparty/mermaid.min.js` when the file exists.

The minified file is gitignored (~3.3 MB); do not commit it.
