cursory-js, vendored into Camoufox
==================================

This directory is Camoufox's copy of cursory-js
(https://github.com/JWriter20/cursory-js), a TypeScript port of Cursory
(https://github.com/Vinyzu/cursory).

Original work © Vinyzu, licensed under the GNU Lesser General Public License
v3.0 or later. Cursory is retroactively dual-licensed under LGPLv3-or-later and
GPLv3-or-later; cursory-js is distributed under LGPLv3-or-later, and so is this
copy. The full licence text is in LICENSE next to this file.

The port © Jake Writer, likewise under LGPLv3-or-later.

Camoufox as a whole is MPL-2.0. These files are not: they remain LGPLv3-or-later
and are identified as such here, which is what section 4 of that licence asks of
a work that combines them.

Bundled data
------------

trajectories.json is the recorded-trajectory database from the original project,
redistributed under the same licence. Upstream ships it gzipped; it is stored
uncompressed here because omni.ja deflates it anyway. The parsed contents are
unchanged.

The recordings behind it are credited by the original author to:

  - Margit Antal, Norbert Fejer and Krisztian Buza, for SapiMouse
    (https://ieeexplore.ieee.org/document/9465583)
  - MIMIC-LOGICS, for Mouse-Synthesizer
    (https://github.com/MIMIC-LOGICS/Mouse-Synthesizer)

Derived from numpy
------------------

To reproduce the original's output for a given seed, this port reimplements the
parts of numpy that Cursory's results depend on: the PCG64 bit generator and
SeedSequence, the ziggurat normal sampler and its constant tables, Lemire's
bounded-integer method, and pairwise summation. Those algorithms and the
ziggurat tables come from numpy (https://github.com/numpy/numpy), © 2005-2025
NumPy Developers, BSD-3-Clause. numpy's PCG64 is itself © 2014 Melissa O'Neill
and © 2015 Robert Kern, MIT licensed.

math.hypot follows CPython's vector_norm (https://github.com/python/cpython),
© 2001-2025 Python Software Foundation, PSF License v2.
