Showdex integration / local adaptation
Upstream: https://github.com/doshidak/showdex
Pinned commit: 165abdb05ad08c5b286f71e21cc1907852efd76f
License: AGPL-3.0-only (full text in LICENSE).
Original authors: Keith Choison and Showdex contributors.

This is a focused adaptation, not the full Showdex/Calcdex UI or an official Showdex release.
Original selected files are retained in upstream/*.ts.txt. adapter.ts adapts HP handling,
revealed-move filtering and authenticated-player detection to a dependency-free snapshot.
New integration code reads whitelisted Showdown state, transports snapshots locally, and
uses the existing Champions @smogon/calc engine. It excludes Showdex's remote sets service,
telemetry, account integrations and automatic OTS acceptance. No Showdown object is mutated.

Changes to this combined integration are distributed under AGPL-3.0-only, except existing
third-party dependencies/assets that retain their respective licenses. Corresponding source
and build instructions are included in the source ZIP offered inside the extension.
No source, battles or teams are published to a public repository by this adaptation.
