# Third-party software and citation-style data

This browser application includes third-party source code and data. Their
licenses remain separate from the application's original parser, renderer,
worker and UI code. The browser bundle is source code, not a closed binary.

## citeproc-js

- Project: [citeproc-js](https://github.com/Juris-M/citeproc-js), Frank Bennett.
- Copyright (c) 2009–2019 Frank Bennett, as stated in the distributed source.
- npm package: `citeproc` **2.4.63**; internal `PROCESSOR_VERSION`: **1.4.61**.
- Source archive: <https://registry.npmjs.org/citeproc/-/citeproc-2.4.63.tgz>.
- Complete source: [`vendor/citeproc.mjs`](vendor/citeproc.mjs).
- Upstream offers CPAL 1.0 or later, **or** AGPL 3.0 or later. This application
  distributes the processor under the **Common Public Attribution License 1.0
  (CPAL)** option.
- The original notice remains in the processor source and in
  [`vendor/CITEPROC-LICENSE.txt`](vendor/CITEPROC-LICENSE.txt). The full CPAL text
  is included in [`vendor/CPAL-1.0.txt`](vendor/CPAL-1.0.txt).
- The only packaging change is an ES-module transport wrapper: a local
  `module = { exports: {} }` object is prepended, and `export default
  module.exports` is appended. The upstream processor source between them is
  unchanged. The wrapper and original source hashes are recorded in
  [`vendor/BROWSER-BUNDLE.json`](vendor/BROWSER-BUNDLE.json).
- The page displays **Citations powered by citeproc-js — Frank Bennett**, linked
  to the upstream project. Retain this attribution in redistributed interfaces.

The npm metadata lists `AGPL-1.0`, while the distributed LICENSE and source
header state **AGPL 3 or later**. The CPAL option above follows the distributed
source and license notice.

## BibTeX parser components

BibTeX grammar, names, TeX values and metadata mapping use selected modules
from [Citation.js](https://github.com/citation-js/citation-js), version **0.9.0**.
The local bundle includes `@citation-js/plugin-bibtex`, pure helpers from
`@citation-js/core`, `@citation-js/date` (MIT), and the `moo` lexer
(BSD 3-Clause). It excludes Citation.js's network helpers and automatic
URL/DOI import machinery.

Complete component license notices are retained in
[`vendor/bibtex-LICENSES.txt`](vendor/bibtex-LICENSES.txt). Exact package
versions, immutable archive integrity values, source-input hashes, bundle hash
and packaging changes are recorded in
[`vendor/bibtex-SOURCES.json`](vendor/bibtex-SOURCES.json). The application
adapter in `bibtex-parser.mjs` adds diagnostics, bounded expansion, metadata
normalization and protected-case handling; these changes are separate from
the bundled upstream source.
Bundle construction and compatibility notes are documented in
[`vendor/bibtex-README.md`](vendor/bibtex-README.md).

## Citation Style Language styles and locales

- Styles repository: <https://github.com/citation-style-language/styles>.
- Pinned styles revision: `8882d4481f611cf214a6113eb623b2800643063e`.
- Locales repository: <https://github.com/citation-style-language/locales>.
- Pinned locales revision: `e7f0c05a62d85819d669361e418ca6af617bf9db`.
- Bundled locales: `en-US` and `en-GB`.
- Retrieved: 2026-12-03.
- License: **Creative Commons Attribution-ShareAlike 3.0 Unported**, as specified
  by the source documents. Full text:
  [`vendor/CC-BY-SA-3.0.txt`](vendor/CC-BY-SA-3.0.txt).

All nine style XML documents and both locale XML documents are embedded
verbatim in [`citation-data.mjs`](citation-data.mjs), with JavaScript string
escaping only. Their original author, contributor, translator and rights
information remains in the XML. Runtime options modify working metadata or
rendered output; they do not modify the bundled definitions.

The style list and pinned source links are in [SOURCES.md](SOURCES.md).
[`vendor/SOURCES.json`](vendor/SOURCES.json) preserves the exact upstream URLs,
original names and SHA-256 hashes. The full unescaped XML can be recovered by
importing `STYLES` and `LOCALES` from `citation-data.mjs`.

## Python reference character tables

The named HTML-character table was generated from `html.entities.html5` in
Python 3.12.16. The RIS parser's supplementary case-fold and decimal-digit
tables were generated from Python's Unicode behavior. The JavaScript runtime
uses these reference tables without loading Python. The Python distribution's
complete license is included unmodified in
[`vendor/PYTHON-LICENSE.txt`](vendor/PYTHON-LICENSE.txt).

## License-text provenance

The CPAL and CC BY-SA license copies are verbatim license texts from SPDX
License List data:

- <https://github.com/spdx/license-list-data/blob/main/json/details/CPAL-1.0.json>
- <https://github.com/spdx/license-list-data/blob/main/json/details/CC-BY-SA-3.0.json>

The Python license is copied from the Python 3.12.16 distribution used to
generate the character tables. No third-party license text has been edited.

Publisher names and software names identify their respective style families
and projects. They do not imply endorsement of this application.
